test-stpr-ui-kit 0.5.88 → 0.5.90

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.
@@ -77,7 +77,7 @@ const Ne = (n) => {
77
77
  spAccordion__childrenWrapper_open: Rl,
78
78
  spAccordion__content: Ol,
79
79
  spAccordion__content_open: Ll
80
- }, sw = (n) => {
80
+ }, lw = (n) => {
81
81
  const {
82
82
  name: r,
83
83
  children: t,
@@ -289,7 +289,7 @@ const Ne = (n) => {
289
289
  }
290
290
  )
291
291
  ] });
292
- }, lw = (n = {}) => {
292
+ }, cw = (n = {}) => {
293
293
  const { initialValue: r = null } = n, [t, e] = Ce(r);
294
294
  return {
295
295
  isOpen: !!t,
@@ -538,7 +538,7 @@ const oc = "_modalWrapper_6v2ua_43", ic = "_modalWrapper__modal_6v2ua_76", sc =
538
538
  ) : null
539
539
  }
540
540
  );
541
- }, cw = (n) => {
541
+ }, pw = (n) => {
542
542
  const {
543
543
  children: r,
544
544
  isNeedAuthorized: t,
@@ -597,7 +597,7 @@ const _c = "_spBreadcrumb_141ke_43", gc = "_spBreadcrumb__list_141ke_46", bc = "
597
597
  spBreadcrumb__listItem__separator: wc,
598
598
  spBreadcrumb__listItem__text: xc,
599
599
  spBreadcrumb__listItem_active: yc
600
- }, pw = (n) => {
600
+ }, uw = (n) => {
601
601
  const {
602
602
  classNameRoot: r,
603
603
  classNameListRoot: t,
@@ -794,7 +794,7 @@ const Sr = (n) => {
794
794
  spCheckbox__tooltip: Oc,
795
795
  spCheckbox__required: Lc,
796
796
  spCheckbox__error: Fc
797
- }, uw = (n) => {
797
+ }, dw = (n) => {
798
798
  const {
799
799
  size: r = "lg",
800
800
  checked: t,
@@ -862,7 +862,7 @@ const Sr = (n) => {
862
862
  spContextMenu: Ac,
863
863
  spContextMenu__item: Wc,
864
864
  spContextMenu__item_deleteItem: Bc
865
- }, dw = (n) => {
865
+ }, fw = (n) => {
866
866
  const { onClickItem: r, options: t, classNameRoot: e } = n, a = T({
867
867
  [$r.spContextMenu]: !0,
868
868
  ...e && { [e]: !0 }
@@ -2974,7 +2974,7 @@ class Pu extends ge {
2974
2974
  }
2975
2975
  incompatibleTokens = ["R", "u", "t", "T"];
2976
2976
  }
2977
- const Re = {
2977
+ const Oe = {
2978
2978
  month: /^(1[0-2]|0?\d)/,
2979
2979
  // 0 to 12
2980
2980
  date: /^(3[0-1]|[0-2]?\d)/,
@@ -3019,7 +3019,7 @@ const Re = {
3019
3019
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
3020
3020
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
3021
3021
  };
3022
- function Oe(n, r) {
3022
+ function Le(n, r) {
3023
3023
  return n && {
3024
3024
  value: r(n.value),
3025
3025
  rest: n.rest
@@ -3048,18 +3048,18 @@ function wt(n, r) {
3048
3048
  };
3049
3049
  }
3050
3050
  function Ui(n) {
3051
- return Te(Re.anyDigitsSigned, n);
3051
+ return Te(Oe.anyDigitsSigned, n);
3052
3052
  }
3053
3053
  function Pe(n, r) {
3054
3054
  switch (n) {
3055
3055
  case 1:
3056
- return Te(Re.singleDigit, r);
3056
+ return Te(Oe.singleDigit, r);
3057
3057
  case 2:
3058
- return Te(Re.twoDigits, r);
3058
+ return Te(Oe.twoDigits, r);
3059
3059
  case 3:
3060
- return Te(Re.threeDigits, r);
3060
+ return Te(Oe.threeDigits, r);
3061
3061
  case 4:
3062
- return Te(Re.fourDigits, r);
3062
+ return Te(Oe.fourDigits, r);
3063
3063
  default:
3064
3064
  return Te(new RegExp("^\\d{1," + n + "}"), r);
3065
3065
  }
@@ -3067,13 +3067,13 @@ function Pe(n, r) {
3067
3067
  function mr(n, r) {
3068
3068
  switch (n) {
3069
3069
  case 1:
3070
- return Te(Re.singleDigitSigned, r);
3070
+ return Te(Oe.singleDigitSigned, r);
3071
3071
  case 2:
3072
- return Te(Re.twoDigitsSigned, r);
3072
+ return Te(Oe.twoDigitsSigned, r);
3073
3073
  case 3:
3074
- return Te(Re.threeDigitsSigned, r);
3074
+ return Te(Oe.threeDigitsSigned, r);
3075
3075
  case 4:
3076
- return Te(Re.fourDigitsSigned, r);
3076
+ return Te(Oe.fourDigitsSigned, r);
3077
3077
  default:
3078
3078
  return Te(new RegExp("^-?\\d{1," + n + "}"), r);
3079
3079
  }
@@ -3119,16 +3119,16 @@ class Iu extends ge {
3119
3119
  });
3120
3120
  switch (t) {
3121
3121
  case "y":
3122
- return Oe(Pe(4, r), a);
3122
+ return Le(Pe(4, r), a);
3123
3123
  case "yo":
3124
- return Oe(
3124
+ return Le(
3125
3125
  e.ordinalNumber(r, {
3126
3126
  unit: "year"
3127
3127
  }),
3128
3128
  a
3129
3129
  );
3130
3130
  default:
3131
- return Oe(Pe(t.length, r), a);
3131
+ return Le(Pe(t.length, r), a);
3132
3132
  }
3133
3133
  }
3134
3134
  validate(r, t) {
@@ -3156,16 +3156,16 @@ class Ru extends ge {
3156
3156
  });
3157
3157
  switch (t) {
3158
3158
  case "Y":
3159
- return Oe(Pe(4, r), a);
3159
+ return Le(Pe(4, r), a);
3160
3160
  case "Yo":
3161
- return Oe(
3161
+ return Le(
3162
3162
  e.ordinalNumber(r, {
3163
3163
  unit: "year"
3164
3164
  }),
3165
3165
  a
3166
3166
  );
3167
3167
  default:
3168
- return Oe(Pe(t.length, r), a);
3168
+ return Le(Pe(t.length, r), a);
3169
3169
  }
3170
3170
  }
3171
3171
  validate(r, t) {
@@ -3390,16 +3390,16 @@ class Wu extends ge {
3390
3390
  switch (t) {
3391
3391
  // 1, 2, ..., 12
3392
3392
  case "M":
3393
- return Oe(
3394
- Te(Re.month, r),
3393
+ return Le(
3394
+ Te(Oe.month, r),
3395
3395
  a
3396
3396
  );
3397
3397
  // 01, 02, ..., 12
3398
3398
  case "MM":
3399
- return Oe(Pe(2, r), a);
3399
+ return Le(Pe(2, r), a);
3400
3400
  // 1st, 2nd, ..., 12th
3401
3401
  case "Mo":
3402
- return Oe(
3402
+ return Le(
3403
3403
  e.ordinalNumber(r, {
3404
3404
  unit: "month"
3405
3405
  }),
@@ -3440,16 +3440,16 @@ class Bu extends ge {
3440
3440
  switch (t) {
3441
3441
  // 1, 2, ..., 12
3442
3442
  case "L":
3443
- return Oe(
3444
- Te(Re.month, r),
3443
+ return Le(
3444
+ Te(Oe.month, r),
3445
3445
  a
3446
3446
  );
3447
3447
  // 01, 02, ..., 12
3448
3448
  case "LL":
3449
- return Oe(Pe(2, r), a);
3449
+ return Le(Pe(2, r), a);
3450
3450
  // 1st, 2nd, ..., 12th
3451
3451
  case "Lo":
3452
- return Oe(
3452
+ return Le(
3453
3453
  e.ordinalNumber(r, {
3454
3454
  unit: "month"
3455
3455
  }),
@@ -3507,7 +3507,7 @@ class ju extends ge {
3507
3507
  parse(r, t, e) {
3508
3508
  switch (t) {
3509
3509
  case "w":
3510
- return Te(Re.week, r);
3510
+ return Te(Oe.week, r);
3511
3511
  case "wo":
3512
3512
  return e.ordinalNumber(r, { unit: "week" });
3513
3513
  default:
@@ -3545,7 +3545,7 @@ class zu extends ge {
3545
3545
  parse(r, t, e) {
3546
3546
  switch (t) {
3547
3547
  case "I":
3548
- return Te(Re.week, r);
3548
+ return Te(Oe.week, r);
3549
3549
  case "Io":
3550
3550
  return e.ordinalNumber(r, { unit: "week" });
3551
3551
  default:
@@ -3595,7 +3595,7 @@ class Uu extends ge {
3595
3595
  parse(r, t, e) {
3596
3596
  switch (t) {
3597
3597
  case "d":
3598
- return Te(Re.date, r);
3598
+ return Te(Oe.date, r);
3599
3599
  case "do":
3600
3600
  return e.ordinalNumber(r, { unit: "date" });
3601
3601
  default:
@@ -3631,7 +3631,7 @@ class $u extends ge {
3631
3631
  switch (t) {
3632
3632
  case "D":
3633
3633
  case "DD":
3634
- return Te(Re.dayOfYear, r);
3634
+ return Te(Oe.dayOfYear, r);
3635
3635
  case "Do":
3636
3636
  return e.ordinalNumber(r, { unit: "date" });
3637
3637
  default:
@@ -3716,10 +3716,10 @@ class Gu extends ge {
3716
3716
  // 3
3717
3717
  case "e":
3718
3718
  case "ee":
3719
- return Oe(Pe(t.length, r), o);
3719
+ return Le(Pe(t.length, r), o);
3720
3720
  // 3rd
3721
3721
  case "eo":
3722
- return Oe(
3722
+ return Le(
3723
3723
  e.ordinalNumber(r, {
3724
3724
  unit: "day"
3725
3725
  }),
@@ -3784,10 +3784,10 @@ class Ku extends ge {
3784
3784
  // 3
3785
3785
  case "c":
3786
3786
  case "cc":
3787
- return Oe(Pe(t.length, r), o);
3787
+ return Le(Pe(t.length, r), o);
3788
3788
  // 3rd
3789
3789
  case "co":
3790
- return Oe(
3790
+ return Le(
3791
3791
  e.ordinalNumber(r, {
3792
3792
  unit: "day"
3793
3793
  }),
@@ -3859,7 +3859,7 @@ class Zu extends ge {
3859
3859
  return e.ordinalNumber(r, { unit: "day" });
3860
3860
  // Tue
3861
3861
  case "iii":
3862
- return Oe(
3862
+ return Le(
3863
3863
  e.day(r, {
3864
3864
  width: "abbreviated",
3865
3865
  context: "formatting"
@@ -3874,7 +3874,7 @@ class Zu extends ge {
3874
3874
  );
3875
3875
  // T
3876
3876
  case "iiiii":
3877
- return Oe(
3877
+ return Le(
3878
3878
  e.day(r, {
3879
3879
  width: "narrow",
3880
3880
  context: "formatting"
@@ -3883,7 +3883,7 @@ class Zu extends ge {
3883
3883
  );
3884
3884
  // Tu
3885
3885
  case "iiiiii":
3886
- return Oe(
3886
+ return Le(
3887
3887
  e.day(r, {
3888
3888
  width: "short",
3889
3889
  context: "formatting"
@@ -3896,7 +3896,7 @@ class Zu extends ge {
3896
3896
  // Tuesday
3897
3897
  case "iiii":
3898
3898
  default:
3899
- return Oe(
3899
+ return Le(
3900
3900
  e.day(r, {
3901
3901
  width: "wide",
3902
3902
  context: "formatting"
@@ -4057,7 +4057,7 @@ class nd extends ge {
4057
4057
  parse(r, t, e) {
4058
4058
  switch (t) {
4059
4059
  case "h":
4060
- return Te(Re.hour12h, r);
4060
+ return Te(Oe.hour12h, r);
4061
4061
  case "ho":
4062
4062
  return e.ordinalNumber(r, { unit: "hour" });
4063
4063
  default:
@@ -4078,7 +4078,7 @@ class rd extends ge {
4078
4078
  parse(r, t, e) {
4079
4079
  switch (t) {
4080
4080
  case "H":
4081
- return Te(Re.hour23h, r);
4081
+ return Te(Oe.hour23h, r);
4082
4082
  case "Ho":
4083
4083
  return e.ordinalNumber(r, { unit: "hour" });
4084
4084
  default:
@@ -4098,7 +4098,7 @@ class ad extends ge {
4098
4098
  parse(r, t, e) {
4099
4099
  switch (t) {
4100
4100
  case "K":
4101
- return Te(Re.hour11h, r);
4101
+ return Te(Oe.hour11h, r);
4102
4102
  case "Ko":
4103
4103
  return e.ordinalNumber(r, { unit: "hour" });
4104
4104
  default:
@@ -4118,7 +4118,7 @@ class od extends ge {
4118
4118
  parse(r, t, e) {
4119
4119
  switch (t) {
4120
4120
  case "k":
4121
- return Te(Re.hour24h, r);
4121
+ return Te(Oe.hour24h, r);
4122
4122
  case "ko":
4123
4123
  return e.ordinalNumber(r, { unit: "hour" });
4124
4124
  default:
@@ -4139,7 +4139,7 @@ class id extends ge {
4139
4139
  parse(r, t, e) {
4140
4140
  switch (t) {
4141
4141
  case "m":
4142
- return Te(Re.minute, r);
4142
+ return Te(Oe.minute, r);
4143
4143
  case "mo":
4144
4144
  return e.ordinalNumber(r, { unit: "minute" });
4145
4145
  default:
@@ -4159,7 +4159,7 @@ class sd extends ge {
4159
4159
  parse(r, t, e) {
4160
4160
  switch (t) {
4161
4161
  case "s":
4162
- return Te(Re.second, r);
4162
+ return Te(Oe.second, r);
4163
4163
  case "so":
4164
4164
  return e.ordinalNumber(r, { unit: "second" });
4165
4165
  default:
@@ -4178,7 +4178,7 @@ class ld extends ge {
4178
4178
  priority = 30;
4179
4179
  parse(r, t) {
4180
4180
  const e = (a) => Math.trunc(a * Math.pow(10, -t.length + 3));
4181
- return Oe(Pe(t.length, r), e);
4181
+ return Le(Pe(t.length, r), e);
4182
4182
  }
4183
4183
  set(r, t, e) {
4184
4184
  return r.setMilliseconds(e), r;
@@ -8844,24 +8844,24 @@ function ih() {
8844
8844
  }, c.onChange = function(G) {
8845
8845
  var N = s(s(c)).beforePasteState, Q = s(s(c)).previousSelection, ie = c.props.beforeMaskedValueChange, ae = c.getInputValue(), ue = c.value, de = c.getSelection();
8846
8846
  c.isInputAutofilled(ae, de, ue, Q) && (ue = C(c.maskOptions, ""), Q = { start: 0, end: 0, length: 0 }), N && (Q = N.selection, ue = N.value, de = { start: Q.start + ae.length, end: Q.start + ae.length, length: 0 }, ae = ue.slice(0, Q.start) + ae + ue.slice(Q.end), c.beforePasteState = null);
8847
- var ve = re(c.maskOptions, ae, de, ue, Q), We = ve.enteredString, Le = ve.selection, Be = ve.value;
8847
+ var ve = re(c.maskOptions, ae, de, ue, Q), We = ve.enteredString, Fe = ve.selection, Be = ve.value;
8848
8848
  if (X(ie)) {
8849
- var Z = ie({ value: Be, selection: Le }, { value: ue, selection: Q }, We, c.getBeforeMaskedValueChangeConfig());
8850
- Be = Z.value, Le = Z.selection;
8849
+ var Z = ie({ value: Be, selection: Fe }, { value: ue, selection: Q }, We, c.getBeforeMaskedValueChangeConfig());
8850
+ Be = Z.value, Fe = Z.selection;
8851
8851
  }
8852
- c.setInputValue(Be), X(c.props.onChange) && c.props.onChange(G), c.isWindowsPhoneBrowser ? c.setSelection(Le.start, Le.end, { deferred: !0 }) : c.setSelection(Le.start, Le.end);
8852
+ c.setInputValue(Be), X(c.props.onChange) && c.props.onChange(G), c.isWindowsPhoneBrowser ? c.setSelection(Fe.start, Fe.end, { deferred: !0 }) : c.setSelection(Fe.start, Fe.end);
8853
8853
  }, c.onFocus = function(G) {
8854
8854
  var N = c.props.beforeMaskedValueChange, Q = c.maskOptions, ie = Q.mask, ae = Q.prefix;
8855
8855
  if (c.focused = !0, c.mounted = !0, ie) {
8856
8856
  if (c.value) E(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
8857
8857
  else {
8858
- var ue = C(c.maskOptions, ae), de = C(c.maskOptions, ue), ve = E(c.maskOptions, de), We = H(c.maskOptions, ve), Le = { start: We, end: We };
8858
+ var ue = C(c.maskOptions, ae), de = C(c.maskOptions, ue), ve = E(c.maskOptions, de), We = H(c.maskOptions, ve), Fe = { start: We, end: We };
8859
8859
  if (X(N)) {
8860
- var Be = N({ value: de, selection: Le }, { value: c.value, selection: null }, null, c.getBeforeMaskedValueChangeConfig());
8861
- de = Be.value, Le = Be.selection;
8860
+ var Be = N({ value: de, selection: Fe }, { value: c.value, selection: null }, null, c.getBeforeMaskedValueChangeConfig());
8861
+ de = Be.value, Fe = Be.selection;
8862
8862
  }
8863
8863
  var Z = de !== c.getInputValue();
8864
- Z && c.setInputValue(de), Z && X(c.props.onChange) && c.props.onChange(G), c.setSelection(Le.start, Le.end);
8864
+ Z && c.setInputValue(de), Z && X(c.props.onChange) && c.props.onChange(G), c.setSelection(Fe.start, Fe.end);
8865
8865
  }
8866
8866
  c.runSaveSelectionLoop();
8867
8867
  }
@@ -9311,17 +9311,17 @@ function ch() {
9311
9311
  }
9312
9312
  return c.focused ? ae.end < ie.length && Q.end === N.length : !0;
9313
9313
  }, c.onChange = function(N) {
9314
- var Q = p(p(c)), ie = Q.beforePasteState, ae = p(p(c)), ue = ae.previousSelection, de = c.props.beforeMaskedValueChange, ve = c.getInputValue(), We = c.value, Le = c.getSelection();
9315
- c.isInputAutofilled(ve, Le, We, ue) && (We = C(c.maskOptions, ""), ue = {
9314
+ var Q = p(p(c)), ie = Q.beforePasteState, ae = p(p(c)), ue = ae.previousSelection, de = c.props.beforeMaskedValueChange, ve = c.getInputValue(), We = c.value, Fe = c.getSelection();
9315
+ c.isInputAutofilled(ve, Fe, We, ue) && (We = C(c.maskOptions, ""), ue = {
9316
9316
  start: 0,
9317
9317
  end: 0,
9318
9318
  length: 0
9319
- }), ie && (ue = ie.selection, We = ie.value, Le = {
9319
+ }), ie && (ue = ie.selection, We = ie.value, Fe = {
9320
9320
  start: ue.start + ve.length,
9321
9321
  end: ue.start + ve.length,
9322
9322
  length: 0
9323
9323
  }, ve = We.slice(0, ue.start) + ve + We.slice(ue.end), c.beforePasteState = null);
9324
- var Be = re(c.maskOptions, ve, Le, We, ue), Z = Be.enteredString, se = Be.selection, Se = Be.value;
9324
+ var Be = re(c.maskOptions, ve, Fe, We, ue), Z = Be.enteredString, se = Be.selection, Se = Be.value;
9325
9325
  if (X(de)) {
9326
9326
  var Ie = de({
9327
9327
  value: Se,
@@ -9341,9 +9341,9 @@ function ch() {
9341
9341
  if (c.value)
9342
9342
  E(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
9343
9343
  else {
9344
- var de = C(c.maskOptions, ue), ve = C(c.maskOptions, de), We = E(c.maskOptions, ve), Le = H(c.maskOptions, We), Be = {
9345
- start: Le,
9346
- end: Le
9344
+ var de = C(c.maskOptions, ue), ve = C(c.maskOptions, de), We = E(c.maskOptions, ve), Fe = H(c.maskOptions, We), Be = {
9345
+ start: Fe,
9346
+ end: Fe
9347
9347
  };
9348
9348
  if (X(Q)) {
9349
9349
  var Z = Q({
@@ -9656,7 +9656,7 @@ const Sh = "_datePicker_10jdk_43", Mh = "_datePicker_relative_10jdk_49", Th = "_
9656
9656
  datePicker__footerActions_done: Fh,
9657
9657
  datePicker__customContainer: Ah,
9658
9658
  datePickerPortal: Wh
9659
- }, fw = (n) => {
9659
+ }, mw = (n) => {
9660
9660
  const {
9661
9661
  variant: r = "outlined",
9662
9662
  placeholderText: t = "дд.мм.гггг",
@@ -9853,7 +9853,7 @@ const Sh = "_datePicker_10jdk_43", Mh = "_datePicker_relative_10jdk_49", Th = "_
9853
9853
  spDropdown__dopdownListItem: Vh,
9854
9854
  spDropdown__dopdownListItem_textCenter: Uh,
9855
9855
  spDropdown__downloadListItemDescription: $h
9856
- }, mw = (n) => {
9856
+ }, hw = (n) => {
9857
9857
  const {
9858
9858
  labelText: r = "Выпадающий список",
9859
9859
  listName: t,
@@ -9980,7 +9980,7 @@ const Sh = "_datePicker_10jdk_43", Mh = "_datePicker_relative_10jdk_49", Th = "_
9980
9980
  "spForm--size-lg": "_spForm--size-lg_xaxnr_51",
9981
9981
  "spForm--size-md": "_spForm--size-md_xaxnr_60",
9982
9982
  spForm_withSeparator: Jh
9983
- }, hw = (n) => {
9983
+ }, vw = (n) => {
9984
9984
  const {
9985
9985
  size: r = "lg",
9986
9986
  children: t,
@@ -10950,7 +10950,7 @@ const le = /* @__PURE__ */ Wr(Ev), Ke = le.oneOfType([le.string, le.number]), ks
10950
10950
  monochrome: le.bool,
10951
10951
  resolution: Ke,
10952
10952
  type: Object.keys(ks)
10953
- }, { type: vw, ...Pv } = Nv, Iv = {
10953
+ }, { type: _w, ...Pv } = Nv, Iv = {
10954
10954
  minAspectRatio: le.string,
10955
10955
  maxAspectRatio: le.string,
10956
10956
  minDeviceAspectRatio: le.string,
@@ -11040,7 +11040,7 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11040
11040
  isMobile: i
11041
11041
  }
11042
11042
  };
11043
- }, _w = (n) => {
11043
+ }, gw = (n) => {
11044
11044
  const {
11045
11045
  breakpoints: r = {
11046
11046
  desktop: { minWidth: 1440 },
@@ -11091,7 +11091,7 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11091
11091
  "progressWrapper--animated-backgroundProgress": "_progressWrapper--animated-backgroundProgress_1k8c2_58",
11092
11092
  progressWrapper__progressBadge: Xv,
11093
11093
  progressWrapper__progressBadge_loading: Zv
11094
- }, gw = (n) => {
11094
+ }, bw = (n) => {
11095
11095
  const {
11096
11096
  value: r,
11097
11097
  classNameRoot: t,
@@ -11132,7 +11132,7 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11132
11132
  ]
11133
11133
  }
11134
11134
  );
11135
- }, Jv = 180, e_ = "_spSelect_1sw9j_43", t_ = "_spSelect_error_1sw9j_49", n_ = "_spSelect__control_1sw9j_49", r_ = "_spSelect__value_empty_1sw9j_53", a_ = "_spSelect__icon_1sw9j_56", o_ = "_spSelect_absolutePositionError_1sw9j_59", i_ = "_spSelect__container_1sw9j_62", s_ = "_spSelect__control_filled_1sw9j_81", l_ = "_spSelect__control_outlined_1sw9j_85", c_ = "_spSelect__control_disabled_1sw9j_104", p_ = "_spSelect__value_1sw9j_53", u_ = "_spSelect__list_1sw9j_135", d_ = "_spSelect__list_scrollable_1sw9j_143", f_ = "_spSelect__list_withSearch_1sw9j_146", m_ = "_spSelect__emptyOptions_1sw9j_162", h_ = "_spSelect__option_1sw9j_174", v_ = "_spSelect__error_1sw9j_190", __ = "_spSelect__error_absolutePosition_1sw9j_197", g_ = "_spSelect__search_1sw9j_206", b_ = "_spSelect__searchInput_1sw9j_212", w_ = "_spSelect__searchIcon_1sw9j_227", x_ = "_spSelect__searchClearIcon_1sw9j_236", Fe = {
11135
+ }, Jv = 180, e_ = "_spSelect_1ph83_43", t_ = "_spSelect_error_1ph83_49", n_ = "_spSelect__control_1ph83_49", r_ = "_spSelect__value_empty_1ph83_53", a_ = "_spSelect__icon_1ph83_56", o_ = "_spSelect_absolutePositionError_1ph83_59", i_ = "_spSelect__container_1ph83_62", s_ = "_spSelect__control_filled_1ph83_81", l_ = "_spSelect__control_outlined_1ph83_85", c_ = "_spSelect__control_disabled_1ph83_104", p_ = "_spSelect__value_1ph83_53", u_ = "_spSelect__listWrapper_1ph83_135", d_ = "_spSelect__list_1ph83_135", f_ = "_spSelect__list_scrollable_1ph83_148", m_ = "_spSelect__list_withSearch_1ph83_151", h_ = "_spSelect__emptyOptions_1ph83_167", v_ = "_spSelect__option_1ph83_179", __ = "_spSelect__error_1ph83_195", g_ = "_spSelect__error_absolutePosition_1ph83_202", b_ = "_spSelect__search_1ph83_211", w_ = "_spSelect__searchInput_1ph83_217", x_ = "_spSelect__searchIcon_1ph83_232", y_ = "_spSelect__searchClearIcon_1ph83_241", Re = {
11136
11136
  spSelect: e_,
11137
11137
  spSelect_error: t_,
11138
11138
  spSelect__control: n_,
@@ -11144,18 +11144,19 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11144
11144
  spSelect__control_outlined: l_,
11145
11145
  spSelect__control_disabled: c_,
11146
11146
  spSelect__value: p_,
11147
- spSelect__list: u_,
11148
- spSelect__list_scrollable: d_,
11149
- spSelect__list_withSearch: f_,
11150
- spSelect__emptyOptions: m_,
11151
- spSelect__option: h_,
11152
- spSelect__error: v_,
11153
- spSelect__error_absolutePosition: __,
11154
- spSelect__search: g_,
11155
- spSelect__searchInput: b_,
11156
- spSelect__searchIcon: w_,
11157
- spSelect__searchClearIcon: x_
11158
- }, bw = (n) => {
11147
+ spSelect__listWrapper: u_,
11148
+ spSelect__list: d_,
11149
+ spSelect__list_scrollable: f_,
11150
+ spSelect__list_withSearch: m_,
11151
+ spSelect__emptyOptions: h_,
11152
+ spSelect__option: v_,
11153
+ spSelect__error: __,
11154
+ spSelect__error_absolutePosition: g_,
11155
+ spSelect__search: b_,
11156
+ spSelect__searchInput: w_,
11157
+ spSelect__searchIcon: x_,
11158
+ spSelect__searchClearIcon: y_
11159
+ }, ww = (n) => {
11159
11160
  const {
11160
11161
  options: r = [],
11161
11162
  placeholder: t = "Выберите из списка...",
@@ -11206,31 +11207,31 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11206
11207
  }, g = (N) => {
11207
11208
  N.stopPropagation();
11208
11209
  }, _ = T({
11209
- [Fe.spSelect]: !0,
11210
- [Fe.spSelect_error]: !!p,
11211
- [Fe.spSelect_absolutePositionError]: E,
11210
+ [Re.spSelect]: !0,
11211
+ [Re.spSelect_error]: !!p,
11212
+ [Re.spSelect_absolutePositionError]: E,
11212
11213
  ...k && { [k]: !0 }
11213
11214
  }), c = T({
11214
- [Fe.spSelect__container]: !0
11215
+ [Re.spSelect__container]: !0
11215
11216
  }), S = T({
11216
- [Fe.spSelect__control]: !0,
11217
- [Fe[`spSelect__control_${o}`]]: o,
11218
- [Fe.spSelect__control_disabled]: v
11217
+ [Re.spSelect__control]: !0,
11218
+ [Re[`spSelect__control_${o}`]]: o,
11219
+ [Re.spSelect__control_disabled]: v
11219
11220
  }), z = T({
11220
- [Fe.spSelect__value]: !0,
11221
- [Fe.spSelect__value_empty]: !W
11221
+ [Re.spSelect__value]: !0,
11222
+ [Re.spSelect__value_empty]: !W
11222
11223
  }), q = T({
11223
- [Fe.spSelect__icon]: !0
11224
+ [Re.spSelect__icon]: !0
11224
11225
  }), I = T({
11225
- [Fe.spSelect__list]: !0,
11226
- [Fe.spSelect__list_scrollable]: y
11226
+ [Re.spSelect__list]: !0,
11227
+ [Re.spSelect__list_scrollable]: y
11227
11228
  }), L = T({
11228
- [Fe.spSelect__search]: !0
11229
+ [Re.spSelect__search]: !0
11229
11230
  }), B = T({
11230
11231
  ...j && { [j]: !0 }
11231
11232
  }), A = T({
11232
- [Fe.spSelect__error]: !0,
11233
- [Fe.spSelect__error_absolutePosition]: E,
11233
+ [Re.spSelect__error]: !0,
11234
+ [Re.spSelect__error_absolutePosition]: E,
11234
11235
  ...F && { [F]: !0 }
11235
11236
  }), U = () => /* @__PURE__ */ pe(
11236
11237
  "div",
@@ -11252,7 +11253,7 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11252
11253
  ]
11253
11254
  }
11254
11255
  ), O = () => D ? /* @__PURE__ */ pe("div", { className: L, onClick: g, children: [
11255
- /* @__PURE__ */ M(Ne, { name: ce.Search, className: Fe.spSelect__searchIcon }),
11256
+ /* @__PURE__ */ M(Ne, { name: ce.Search, className: Re.spSelect__searchIcon }),
11256
11257
  /* @__PURE__ */ M(
11257
11258
  "input",
11258
11259
  {
@@ -11261,31 +11262,31 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11261
11262
  placeholder: C,
11262
11263
  value: re,
11263
11264
  onChange: m,
11264
- className: Fe.spSelect__searchInput
11265
+ className: Re.spSelect__searchInput
11265
11266
  }
11266
11267
  ),
11267
11268
  re && /* @__PURE__ */ M(
11268
11269
  Ne,
11269
11270
  {
11270
11271
  name: ce.Trash,
11271
- className: Fe.spSelect__searchClearIcon,
11272
+ className: Re.spSelect__searchClearIcon,
11272
11273
  onClick: () => ne("")
11273
11274
  }
11274
11275
  )
11275
- ] }) : null, G = () => /* @__PURE__ */ pe(
11276
- "div",
11277
- {
11278
- className: I,
11279
- style: y ? { maxHeight: `${w}px` } : {},
11280
- children: [
11281
- O(),
11282
- Y.length > 0 ? Y.map((N) => {
11276
+ ] }) : null, G = () => /* @__PURE__ */ pe("div", { className: Re.spSelect__listWrapper, children: [
11277
+ O(),
11278
+ /* @__PURE__ */ M(
11279
+ "div",
11280
+ {
11281
+ className: I,
11282
+ style: y ? { maxHeight: `${w}px` } : {},
11283
+ children: Y.length > 0 ? Y.map((N) => {
11283
11284
  const Q = N.value === e;
11284
11285
  return /* @__PURE__ */ pe(
11285
11286
  "div",
11286
11287
  {
11287
11288
  className: T({
11288
- [Fe.spSelect__option]: !0
11289
+ [Re.spSelect__option]: !0
11289
11290
  }),
11290
11291
  onClick: (ie) => {
11291
11292
  $(ie, {
@@ -11303,14 +11304,14 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11303
11304
  "div",
11304
11305
  {
11305
11306
  className: T({
11306
- [Fe.spSelect__emptyOptions]: !0
11307
+ [Re.spSelect__emptyOptions]: !0
11307
11308
  }),
11308
11309
  children: re ? "Ничего не найдено" : "Нет доступных вариантов выбора..."
11309
11310
  }
11310
11311
  )
11311
- ]
11312
- }
11313
- );
11312
+ }
11313
+ )
11314
+ ] });
11314
11315
  return /* @__PURE__ */ pe("div", { className: _, ref: X, children: [
11315
11316
  u && /* @__PURE__ */ M(
11316
11317
  en,
@@ -11329,12 +11330,12 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11329
11330
  ] }),
11330
11331
  p && /* @__PURE__ */ M("div", { className: A, children: p })
11331
11332
  ] });
11332
- }, y_ = "_skeleton_1qn9g_43", k_ = "_skeleton_circle_1qn9g_52", C_ = "_skeleton_customStart_1qn9g_55", D_ = "_skeleton_customEnd_1qn9g_58", Zn = {
11333
- skeleton: y_,
11334
- skeleton_circle: k_,
11335
- skeleton_customStart: C_,
11336
- skeleton_customEnd: D_
11337
- }, ww = (n) => {
11333
+ }, k_ = "_skeleton_1qn9g_43", C_ = "_skeleton_circle_1qn9g_52", D_ = "_skeleton_customStart_1qn9g_55", S_ = "_skeleton_customEnd_1qn9g_58", Zn = {
11334
+ skeleton: k_,
11335
+ skeleton_circle: C_,
11336
+ skeleton_customStart: D_,
11337
+ skeleton_customEnd: S_
11338
+ }, xw = (n) => {
11338
11339
  const {
11339
11340
  startColor: r,
11340
11341
  endColor: t,
@@ -11365,20 +11366,20 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11365
11366
  }
11366
11367
  }
11367
11368
  );
11368
- }, S_ = "_spTable_1d7j2_43", M_ = "_spTable__tdContentCopyIcon_1d7j2_62", T_ = "_spTable__tdContent_1d7j2_62", E_ = "_spTable__tdColorContent_1d7j2_72", N_ = "_spTable__tdContentCopyIcon_copied_1d7j2_85", P_ = "_spTable__emptyPage_1d7j2_89", I_ = "_spStringsGroup_1d7j2_105", R_ = "_spStringsGroup__groupItem_1d7j2_119", O_ = "_spStringsGroup__groupItemHeader_1d7j2_134", L_ = "_spStringsGroup__groupItemContent_1d7j2_138", F_ = "_spStringsGroup__groupItemContentCopyIcon_1d7j2_144", A_ = "_spStringsGroup__groupItemContentCopyIcon_copied_1d7j2_151", nt = {
11369
- spTable: S_,
11370
- spTable__tdContentCopyIcon: M_,
11371
- spTable__tdContent: T_,
11372
- spTable__tdColorContent: E_,
11373
- spTable__tdContentCopyIcon_copied: N_,
11374
- spTable__emptyPage: P_,
11375
- spStringsGroup: I_,
11376
- spStringsGroup__groupItem: R_,
11377
- spStringsGroup__groupItemHeader: O_,
11378
- spStringsGroup__groupItemContent: L_,
11379
- spStringsGroup__groupItemContentCopyIcon: F_,
11380
- spStringsGroup__groupItemContentCopyIcon_copied: A_
11381
- }, xw = (n) => {
11369
+ }, M_ = "_spTable_1d7j2_43", T_ = "_spTable__tdContentCopyIcon_1d7j2_62", E_ = "_spTable__tdContent_1d7j2_62", N_ = "_spTable__tdColorContent_1d7j2_72", P_ = "_spTable__tdContentCopyIcon_copied_1d7j2_85", I_ = "_spTable__emptyPage_1d7j2_89", R_ = "_spStringsGroup_1d7j2_105", O_ = "_spStringsGroup__groupItem_1d7j2_119", L_ = "_spStringsGroup__groupItemHeader_1d7j2_134", F_ = "_spStringsGroup__groupItemContent_1d7j2_138", A_ = "_spStringsGroup__groupItemContentCopyIcon_1d7j2_144", W_ = "_spStringsGroup__groupItemContentCopyIcon_copied_1d7j2_151", nt = {
11370
+ spTable: M_,
11371
+ spTable__tdContentCopyIcon: T_,
11372
+ spTable__tdContent: E_,
11373
+ spTable__tdColorContent: N_,
11374
+ spTable__tdContentCopyIcon_copied: P_,
11375
+ spTable__emptyPage: I_,
11376
+ spStringsGroup: R_,
11377
+ spStringsGroup__groupItem: O_,
11378
+ spStringsGroup__groupItemHeader: L_,
11379
+ spStringsGroup__groupItemContent: F_,
11380
+ spStringsGroup__groupItemContentCopyIcon: A_,
11381
+ spStringsGroup__groupItemContentCopyIcon_copied: W_
11382
+ }, yw = (n) => {
11382
11383
  const {
11383
11384
  columns: r,
11384
11385
  data: t,
@@ -11525,18 +11526,18 @@ const Lv = (n) => `not ${n}`, Fv = (n, r) => {
11525
11526
  }
11526
11527
  ) : w();
11527
11528
  return e ? a ? y() : E() : y();
11528
- }, W_ = "_spTabs_2hqgq_43", B_ = "_spTabs_separated_2hqgq_48", Y_ = "_spTabs__tabElement_2hqgq_48", j_ = "_spTabs__tabElement_active_2hqgq_85", H_ = "_spTabs__tooltip_2hqgq_92", Ht = {
11529
- spTabs: W_,
11530
- spTabs_separated: B_,
11529
+ }, B_ = "_spTabs_2hqgq_43", Y_ = "_spTabs_separated_2hqgq_48", j_ = "_spTabs__tabElement_2hqgq_48", H_ = "_spTabs__tabElement_active_2hqgq_85", z_ = "_spTabs__tooltip_2hqgq_92", Ht = {
11530
+ spTabs: B_,
11531
+ spTabs_separated: Y_,
11531
11532
  "spTabs--size-md": "_spTabs--size-md_2hqgq_48",
11532
- spTabs__tabElement: Y_,
11533
+ spTabs__tabElement: j_,
11533
11534
  "spTabs--size-lg": "_spTabs--size-lg_2hqgq_51",
11534
11535
  "spTabs--variant-contained": "_spTabs--variant-contained_2hqgq_54",
11535
- spTabs__tabElement_active: j_,
11536
- spTabs__tooltip: H_,
11536
+ spTabs__tabElement_active: H_,
11537
+ spTabs__tooltip: z_,
11537
11538
  "spTabs--variant-outlined": "_spTabs--variant-outlined_2hqgq_95",
11538
11539
  "spTabs--variant-filled": "_spTabs--variant-filled_2hqgq_114"
11539
- }, yw = (n) => {
11540
+ }, kw = (n) => {
11540
11541
  const {
11541
11542
  panes: r,
11542
11543
  isSeparated: t = !1,
@@ -11591,7 +11592,7 @@ function Ta() {
11591
11592
  return n;
11592
11593
  }, Ta.apply(null, arguments);
11593
11594
  }
11594
- function z_(n, r) {
11595
+ function q_(n, r) {
11595
11596
  if (n == null) return {};
11596
11597
  var t = {};
11597
11598
  for (var e in n) if ({}.hasOwnProperty.call(n, e)) {
@@ -11600,9 +11601,9 @@ function z_(n, r) {
11600
11601
  }
11601
11602
  return t;
11602
11603
  }
11603
- var q_ = Cr, V_ = function(r) {
11604
+ var V_ = Cr, U_ = function(r) {
11604
11605
  var t = P.useRef(r);
11605
- return q_(function() {
11606
+ return V_(function() {
11606
11607
  t.current = r;
11607
11608
  }), t;
11608
11609
  }, ii = function(r, t) {
@@ -11611,7 +11612,7 @@ var q_ = Cr, V_ = function(r) {
11611
11612
  return;
11612
11613
  }
11613
11614
  r.current = t;
11614
- }, U_ = function(r, t) {
11615
+ }, $_ = function(r, t) {
11615
11616
  var e = P.useRef();
11616
11617
  return P.useCallback(function(a) {
11617
11618
  r.current = a, e.current && ii(e.current, null), e.current = t, t && ii(t, a);
@@ -11627,15 +11628,15 @@ var q_ = Cr, V_ = function(r) {
11627
11628
  top: "0",
11628
11629
  right: "0",
11629
11630
  display: "block"
11630
- }, $_ = function(r) {
11631
+ }, Q_ = function(r) {
11631
11632
  Object.keys(si).forEach(function(t) {
11632
11633
  r.style.setProperty(t, si[t], "important");
11633
11634
  });
11634
- }, li = $_, Qe = null, ci = function(r, t) {
11635
+ }, li = Q_, Qe = null, ci = function(r, t) {
11635
11636
  var e = r.scrollHeight;
11636
11637
  return t.sizingStyle.boxSizing === "border-box" ? e + t.borderSize : e - t.paddingSize;
11637
11638
  };
11638
- function Q_(n, r, t, e) {
11639
+ function G_(n, r, t, e) {
11639
11640
  t === void 0 && (t = 1), e === void 0 && (e = 1 / 0), Qe || (Qe = document.createElement("textarea"), Qe.setAttribute("tabindex", "-1"), Qe.setAttribute("aria-hidden", "true"), li(Qe)), Qe.parentNode === null && document.body.appendChild(Qe);
11640
11641
  var a = n.paddingSize, o = n.borderSize, i = n.sizingStyle, s = i.boxSizing;
11641
11642
  Object.keys(i).forEach(function(f) {
@@ -11650,11 +11651,11 @@ function Q_(n, r, t, e) {
11650
11651
  return s === "border-box" && (d = d + a + o), l = Math.min(d, l), [l, p];
11651
11652
  }
11652
11653
  var pi = function() {
11653
- }, G_ = function(r, t) {
11654
+ }, K_ = function(r, t) {
11654
11655
  return r.reduce(function(e, a) {
11655
11656
  return e[a] = t[a], e;
11656
11657
  }, {});
11657
- }, K_ = [
11658
+ }, X_ = [
11658
11659
  "borderBottomWidth",
11659
11660
  "borderLeftWidth",
11660
11661
  "borderRightWidth",
@@ -11680,23 +11681,23 @@ var pi = function() {
11680
11681
  "wordBreak",
11681
11682
  "wordSpacing",
11682
11683
  "scrollbarGutter"
11683
- ], X_ = !!document.documentElement.currentStyle, Z_ = function(r) {
11684
+ ], Z_ = !!document.documentElement.currentStyle, J_ = function(r) {
11684
11685
  var t = window.getComputedStyle(r);
11685
11686
  if (t === null)
11686
11687
  return null;
11687
- var e = G_(K_, t), a = e.boxSizing;
11688
+ var e = K_(X_, t), a = e.boxSizing;
11688
11689
  if (a === "")
11689
11690
  return null;
11690
- X_ && a === "border-box" && (e.width = parseFloat(e.width) + parseFloat(e.borderRightWidth) + parseFloat(e.borderLeftWidth) + parseFloat(e.paddingRight) + parseFloat(e.paddingLeft) + "px");
11691
+ Z_ && a === "border-box" && (e.width = parseFloat(e.width) + parseFloat(e.borderRightWidth) + parseFloat(e.borderLeftWidth) + parseFloat(e.paddingRight) + parseFloat(e.paddingLeft) + "px");
11691
11692
  var o = parseFloat(e.paddingBottom) + parseFloat(e.paddingTop), i = parseFloat(e.borderBottomWidth) + parseFloat(e.borderTopWidth);
11692
11693
  return {
11693
11694
  sizingStyle: e,
11694
11695
  paddingSize: o,
11695
11696
  borderSize: i
11696
11697
  };
11697
- }, J_ = Z_;
11698
+ }, eg = J_;
11698
11699
  function Ka(n, r, t) {
11699
- var e = V_(t);
11700
+ var e = U_(t);
11700
11701
  R.useLayoutEffect(function() {
11701
11702
  var a = function(i) {
11702
11703
  return e.current(i);
@@ -11707,20 +11708,20 @@ function Ka(n, r, t) {
11707
11708
  };
11708
11709
  }, []);
11709
11710
  }
11710
- var eg = function(r, t) {
11711
+ var tg = function(r, t) {
11711
11712
  Ka(document.body, "reset", function(e) {
11712
11713
  r.current.form === e.target && t(e);
11713
11714
  });
11714
- }, tg = function(r) {
11715
- Ka(window, "resize", r);
11716
11715
  }, ng = function(r) {
11716
+ Ka(window, "resize", r);
11717
+ }, rg = function(r) {
11717
11718
  Ka(document.fonts, "loadingdone", r);
11718
- }, rg = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], ag = function(r, t) {
11719
- var e = r.cacheMeasurements, a = r.maxRows, o = r.minRows, i = r.onChange, s = i === void 0 ? pi : i, l = r.onHeightChange, p = l === void 0 ? pi : l, u = z_(r, rg), d = u.value !== void 0, f = R.useRef(null), v = U_(f, t), x = R.useRef(0), w = R.useRef(), b = function() {
11720
- var D = f.current, C = e && w.current ? w.current : J_(D);
11719
+ }, ag = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], og = function(r, t) {
11720
+ var e = r.cacheMeasurements, a = r.maxRows, o = r.minRows, i = r.onChange, s = i === void 0 ? pi : i, l = r.onHeightChange, p = l === void 0 ? pi : l, u = q_(r, ag), d = u.value !== void 0, f = R.useRef(null), v = $_(f, t), x = R.useRef(0), w = R.useRef(), b = function() {
11721
+ var D = f.current, C = e && w.current ? w.current : eg(D);
11721
11722
  if (C) {
11722
11723
  w.current = C;
11723
- var k = Q_(C, D.value || D.placeholder || "x", o, a), F = k[0], j = k[1];
11724
+ var k = G_(C, D.value || D.placeholder || "x", o, a), F = k[0], j = k[1];
11724
11725
  x.current !== F && (x.current = F, D.style.setProperty("height", F + "px", "important"), p(F, {
11725
11726
  rowHeight: j
11726
11727
  }));
@@ -11728,7 +11729,7 @@ var eg = function(r, t) {
11728
11729
  }, y = function(D) {
11729
11730
  d || b(), s(D);
11730
11731
  };
11731
- return R.useLayoutEffect(b), eg(f, function() {
11732
+ return R.useLayoutEffect(b), tg(f, function() {
11732
11733
  if (!d) {
11733
11734
  var E = f.current.value;
11734
11735
  requestAnimationFrame(function() {
@@ -11736,28 +11737,28 @@ var eg = function(r, t) {
11736
11737
  D && E !== D.value && b();
11737
11738
  });
11738
11739
  }
11739
- }), tg(b), ng(b), /* @__PURE__ */ R.createElement("textarea", Ta({}, u, {
11740
+ }), ng(b), rg(b), /* @__PURE__ */ R.createElement("textarea", Ta({}, u, {
11740
11741
  onChange: y,
11741
11742
  ref: v
11742
11743
  }));
11743
- }, og = /* @__PURE__ */ R.forwardRef(ag);
11744
- const ig = "_spTextarea_18zsl_43", sg = "_spTextarea_fluidHeight_18zsl_47", lg = "_spTextarea__container_18zsl_51", cg = "_spTextarea__control_18zsl_51", pg = "_spTextarea_absolutePositionError_18zsl_54", ug = "_spTextarea_error_18zsl_57", dg = "_spTextarea__control_filled_18zsl_97", fg = "_spTextarea__control_outlined_18zsl_101", mg = "_spTextarea__control_resize_none_18zsl_105", hg = "_spTextarea__control_resize_both_18zsl_108", vg = "_spTextarea__control_resize_horizontal_18zsl_111", _g = "_spTextarea__control_resize_vertical_18zsl_114", gg = "_spTextarea__control_disabled_18zsl_117", bg = "_spTextarea__error_18zsl_139", wg = "_spTextarea__error_absolutePosition_18zsl_146", rt = {
11745
- spTextarea: ig,
11746
- spTextarea_fluidHeight: sg,
11747
- spTextarea__container: lg,
11748
- spTextarea__control: cg,
11749
- spTextarea_absolutePositionError: pg,
11750
- spTextarea_error: ug,
11751
- spTextarea__control_filled: dg,
11752
- spTextarea__control_outlined: fg,
11753
- spTextarea__control_resize_none: mg,
11754
- spTextarea__control_resize_both: hg,
11755
- spTextarea__control_resize_horizontal: vg,
11756
- spTextarea__control_resize_vertical: _g,
11757
- spTextarea__control_disabled: gg,
11758
- spTextarea__error: bg,
11759
- spTextarea__error_absolutePosition: wg
11760
- }, xg = P.forwardRef((n, r) => {
11744
+ }, ig = /* @__PURE__ */ R.forwardRef(og);
11745
+ const sg = "_spTextarea_18zsl_43", lg = "_spTextarea_fluidHeight_18zsl_47", cg = "_spTextarea__container_18zsl_51", pg = "_spTextarea__control_18zsl_51", ug = "_spTextarea_absolutePositionError_18zsl_54", dg = "_spTextarea_error_18zsl_57", fg = "_spTextarea__control_filled_18zsl_97", mg = "_spTextarea__control_outlined_18zsl_101", hg = "_spTextarea__control_resize_none_18zsl_105", vg = "_spTextarea__control_resize_both_18zsl_108", _g = "_spTextarea__control_resize_horizontal_18zsl_111", gg = "_spTextarea__control_resize_vertical_18zsl_114", bg = "_spTextarea__control_disabled_18zsl_117", wg = "_spTextarea__error_18zsl_139", xg = "_spTextarea__error_absolutePosition_18zsl_146", rt = {
11746
+ spTextarea: sg,
11747
+ spTextarea_fluidHeight: lg,
11748
+ spTextarea__container: cg,
11749
+ spTextarea__control: pg,
11750
+ spTextarea_absolutePositionError: ug,
11751
+ spTextarea_error: dg,
11752
+ spTextarea__control_filled: fg,
11753
+ spTextarea__control_outlined: mg,
11754
+ spTextarea__control_resize_none: hg,
11755
+ spTextarea__control_resize_both: vg,
11756
+ spTextarea__control_resize_horizontal: _g,
11757
+ spTextarea__control_resize_vertical: gg,
11758
+ spTextarea__control_disabled: bg,
11759
+ spTextarea__error: wg,
11760
+ spTextarea__error_absolutePosition: xg
11761
+ }, yg = P.forwardRef((n, r) => {
11761
11762
  const {
11762
11763
  value: t,
11763
11764
  onChange: e,
@@ -11829,7 +11830,7 @@ const ig = "_spTextarea_18zsl_43", sg = "_spTextarea_fluidHeight_18zsl_47", lg =
11829
11830
  }
11830
11831
  ),
11831
11832
  /* @__PURE__ */ M("div", { onMouseEnter: f, className: m, children: s && !y ? /* @__PURE__ */ M(
11832
- og,
11833
+ ig,
11833
11834
  {
11834
11835
  placeholder: b,
11835
11836
  disabled: i,
@@ -11879,11 +11880,11 @@ const ig = "_spTextarea_18zsl_43", sg = "_spTextarea_fluidHeight_18zsl_47", lg =
11879
11880
  p && /* @__PURE__ */ M("div", { className: c, children: p })
11880
11881
  ] });
11881
11882
  });
11882
- xg.displayName = "Textarea";
11883
- const yg = "_spTextWithLabel_18nkl_1", kg = "_spTextWithLabel_ellipsis_18nkl_4", ui = {
11884
- spTextWithLabel: yg,
11885
- spTextWithLabel_ellipsis: kg
11886
- }, kw = (n) => {
11883
+ yg.displayName = "Textarea";
11884
+ const kg = "_spTextWithLabel_18nkl_1", Cg = "_spTextWithLabel_ellipsis_18nkl_4", ui = {
11885
+ spTextWithLabel: kg,
11886
+ spTextWithLabel_ellipsis: Cg
11887
+ }, Cw = (n) => {
11887
11888
  const {
11888
11889
  label: r,
11889
11890
  required: t,
@@ -11941,7 +11942,7 @@ function tn(n, r, t, e) {
11941
11942
  p((e = e.apply(n, r || [])).next());
11942
11943
  });
11943
11944
  }
11944
- const Cg = /* @__PURE__ */ new Map([
11945
+ const Dg = /* @__PURE__ */ new Map([
11945
11946
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
11946
11947
  ["1km", "application/vnd.1000minds.decision-model+xml"],
11947
11948
  ["3dml", "text/vnd.in3d.3dml"],
@@ -13145,13 +13146,13 @@ const Cg = /* @__PURE__ */ new Map([
13145
13146
  ["zsh", "text/x-scriptzsh"]
13146
13147
  ]);
13147
13148
  function gn(n, r, t) {
13148
- const e = Dg(n), { webkitRelativePath: a } = n, o = typeof r == "string" ? r : typeof a == "string" && a.length > 0 ? a : `./${n.name}`;
13149
+ const e = Sg(n), { webkitRelativePath: a } = n, o = typeof r == "string" ? r : typeof a == "string" && a.length > 0 ? a : `./${n.name}`;
13149
13150
  return typeof e.path != "string" && di(e, "path", o), di(e, "relativePath", o), e;
13150
13151
  }
13151
- function Dg(n) {
13152
+ function Sg(n) {
13152
13153
  const { name: r } = n;
13153
13154
  if (r && r.lastIndexOf(".") !== -1 && !n.type) {
13154
- const e = r.split(".").pop().toLowerCase(), a = Cg.get(e);
13155
+ const e = r.split(".").pop().toLowerCase(), a = Dg.get(e);
13155
13156
  a && Object.defineProperty(n, "type", {
13156
13157
  value: a,
13157
13158
  writable: !1,
@@ -13169,49 +13170,49 @@ function di(n, r, t) {
13169
13170
  enumerable: !0
13170
13171
  });
13171
13172
  }
13172
- const Sg = [
13173
+ const Mg = [
13173
13174
  // Thumbnail cache files for macOS and Windows
13174
13175
  ".DS_Store",
13175
13176
  // macOs
13176
13177
  "Thumbs.db"
13177
13178
  // Windows
13178
13179
  ];
13179
- function Mg(n) {
13180
+ function Tg(n) {
13180
13181
  return tn(this, void 0, void 0, function* () {
13181
- return xr(n) && Tg(n.dataTransfer) ? Ig(n.dataTransfer, n.type) : Eg(n) ? Ng(n) : Array.isArray(n) && n.every((r) => "getFile" in r && typeof r.getFile == "function") ? Pg(n) : [];
13182
+ return xr(n) && Eg(n.dataTransfer) ? Rg(n.dataTransfer, n.type) : Ng(n) ? Pg(n) : Array.isArray(n) && n.every((r) => "getFile" in r && typeof r.getFile == "function") ? Ig(n) : [];
13182
13183
  });
13183
13184
  }
13184
- function Tg(n) {
13185
+ function Eg(n) {
13185
13186
  return xr(n);
13186
13187
  }
13187
- function Eg(n) {
13188
+ function Ng(n) {
13188
13189
  return xr(n) && xr(n.target);
13189
13190
  }
13190
13191
  function xr(n) {
13191
13192
  return typeof n == "object" && n !== null;
13192
13193
  }
13193
- function Ng(n) {
13194
+ function Pg(n) {
13194
13195
  return Ea(n.target.files).map((r) => gn(r));
13195
13196
  }
13196
- function Pg(n) {
13197
+ function Ig(n) {
13197
13198
  return tn(this, void 0, void 0, function* () {
13198
13199
  return (yield Promise.all(n.map((t) => t.getFile()))).map((t) => gn(t));
13199
13200
  });
13200
13201
  }
13201
- function Ig(n, r) {
13202
+ function Rg(n, r) {
13202
13203
  return tn(this, void 0, void 0, function* () {
13203
13204
  if (n.items) {
13204
13205
  const t = Ea(n.items).filter((a) => a.kind === "file");
13205
13206
  if (r !== "drop")
13206
13207
  return t;
13207
- const e = yield Promise.all(t.map(Rg));
13208
+ const e = yield Promise.all(t.map(Og));
13208
13209
  return fi(Ds(e));
13209
13210
  }
13210
13211
  return fi(Ea(n.files).map((t) => gn(t)));
13211
13212
  });
13212
13213
  }
13213
13214
  function fi(n) {
13214
- return n.filter((r) => Sg.indexOf(r.name) === -1);
13215
+ return n.filter((r) => Mg.indexOf(r.name) === -1);
13215
13216
  }
13216
13217
  function Ea(n) {
13217
13218
  if (n === null)
@@ -13223,7 +13224,7 @@ function Ea(n) {
13223
13224
  }
13224
13225
  return r;
13225
13226
  }
13226
- function Rg(n) {
13227
+ function Og(n) {
13227
13228
  if (typeof n.webkitGetAsEntry != "function")
13228
13229
  return mi(n);
13229
13230
  const r = n.webkitGetAsEntry();
@@ -13253,9 +13254,9 @@ function mi(n, r) {
13253
13254
  return gn(e, (t = r?.fullPath) !== null && t !== void 0 ? t : void 0);
13254
13255
  });
13255
13256
  }
13256
- function Og(n) {
13257
+ function Lg(n) {
13257
13258
  return tn(this, void 0, void 0, function* () {
13258
- return n.isDirectory ? Ss(n) : Lg(n);
13259
+ return n.isDirectory ? Ss(n) : Fg(n);
13259
13260
  });
13260
13261
  }
13261
13262
  function Ss(n) {
@@ -13265,7 +13266,7 @@ function Ss(n) {
13265
13266
  function o() {
13266
13267
  r.readEntries((i) => tn(this, void 0, void 0, function* () {
13267
13268
  if (i.length) {
13268
- const s = Promise.all(i.map(Og));
13269
+ const s = Promise.all(i.map(Lg));
13269
13270
  a.push(s), o();
13270
13271
  } else
13271
13272
  try {
@@ -13281,7 +13282,7 @@ function Ss(n) {
13281
13282
  o();
13282
13283
  });
13283
13284
  }
13284
- function Lg(n) {
13285
+ function Fg(n) {
13285
13286
  return tn(this, void 0, void 0, function* () {
13286
13287
  return new Promise((r, t) => {
13287
13288
  n.file((e) => {
@@ -13294,7 +13295,7 @@ function Lg(n) {
13294
13295
  });
13295
13296
  }
13296
13297
  var Jn = {}, hi;
13297
- function Fg() {
13298
+ function Ag() {
13298
13299
  return hi || (hi = 1, Jn.__esModule = !0, Jn.default = function(n, r) {
13299
13300
  if (n && r) {
13300
13301
  var t = Array.isArray(r) ? r : r.split(",");
@@ -13309,19 +13310,19 @@ function Fg() {
13309
13310
  return !0;
13310
13311
  }), Jn;
13311
13312
  }
13312
- var Ag = Fg();
13313
- const _a = /* @__PURE__ */ Wr(Ag);
13313
+ var Wg = Ag();
13314
+ const _a = /* @__PURE__ */ Wr(Wg);
13314
13315
  function vi(n) {
13315
- return Yg(n) || Bg(n) || Ts(n) || Wg();
13316
+ return jg(n) || Yg(n) || Ts(n) || Bg();
13316
13317
  }
13317
- function Wg() {
13318
+ function Bg() {
13318
13319
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
13319
13320
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13320
13321
  }
13321
- function Bg(n) {
13322
+ function Yg(n) {
13322
13323
  if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
13323
13324
  }
13324
- function Yg(n) {
13325
+ function jg(n) {
13325
13326
  if (Array.isArray(n)) return Na(n);
13326
13327
  }
13327
13328
  function _i(n, r) {
@@ -13349,9 +13350,9 @@ function Ms(n, r, t) {
13349
13350
  return r in n ? Object.defineProperty(n, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[r] = t, n;
13350
13351
  }
13351
13352
  function Rn(n, r) {
13352
- return zg(n) || Hg(n, r) || Ts(n, r) || jg();
13353
+ return qg(n) || zg(n, r) || Ts(n, r) || Hg();
13353
13354
  }
13354
- function jg() {
13355
+ function Hg() {
13355
13356
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13356
13357
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13357
13358
  }
@@ -13369,7 +13370,7 @@ function Na(n, r) {
13369
13370
  e[t] = n[t];
13370
13371
  return e;
13371
13372
  }
13372
- function Hg(n, r) {
13373
+ function zg(n, r) {
13373
13374
  var t = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
13374
13375
  if (t != null) {
13375
13376
  var e = [], a = !0, o = !1, i, s;
@@ -13388,14 +13389,14 @@ function Hg(n, r) {
13388
13389
  return e;
13389
13390
  }
13390
13391
  }
13391
- function zg(n) {
13392
+ function qg(n) {
13392
13393
  if (Array.isArray(n)) return n;
13393
13394
  }
13394
- var qg = typeof _a == "function" ? _a : _a.default, Es = "file-invalid-type", Ns = "file-too-large", Ps = "file-too-small", Vg = "too-many-files", ga = {
13395
+ var Vg = typeof _a == "function" ? _a : _a.default, Es = "file-invalid-type", Ns = "file-too-large", Ps = "file-too-small", Ug = "too-many-files", ga = {
13395
13396
  FileInvalidType: Es,
13396
13397
  FileTooLarge: Ns,
13397
13398
  FileTooSmall: Ps
13398
- }, Ug = function() {
13399
+ }, $g = function() {
13399
13400
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = r.split(","), e = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
13400
13401
  return {
13401
13402
  code: Es,
@@ -13411,13 +13412,13 @@ var qg = typeof _a == "function" ? _a : _a.default, Es = "file-invalid-type", Ns
13411
13412
  code: Ps,
13412
13413
  message: "File is smaller than ".concat(r, " ").concat(r === 1 ? "byte" : "bytes")
13413
13414
  };
13414
- }, $g = {
13415
- code: Vg,
13415
+ }, Qg = {
13416
+ code: Ug,
13416
13417
  message: "Too many files"
13417
13418
  };
13418
13419
  function Is(n, r) {
13419
- var t = n.type === "application/x-moz-file" || qg(n, r);
13420
- return [t, t ? null : Ug(r)];
13420
+ var t = n.type === "application/x-moz-file" || Vg(n, r);
13421
+ return [t, t ? null : $g(r)];
13421
13422
  }
13422
13423
  function Rs(n, r, t) {
13423
13424
  if (Vt(n.size))
@@ -13433,7 +13434,7 @@ function Rs(n, r, t) {
13433
13434
  function Vt(n) {
13434
13435
  return n != null;
13435
13436
  }
13436
- function Qg(n) {
13437
+ function Gg(n) {
13437
13438
  var r = n.files, t = n.accept, e = n.minSize, a = n.maxSize, o = n.multiple, i = n.maxFiles, s = n.validator;
13438
13439
  return !o && r.length > 1 || o && i >= 1 && r.length > i ? !1 : r.every(function(l) {
13439
13440
  var p = Is(l, t), u = Rn(p, 1), d = u[0], f = Rs(l, e, a), v = Rn(f, 1), x = v[0], w = s ? s(l) : null;
@@ -13451,15 +13452,15 @@ function er(n) {
13451
13452
  function xi(n) {
13452
13453
  n.preventDefault();
13453
13454
  }
13454
- function Gg(n) {
13455
+ function Kg(n) {
13455
13456
  return n.indexOf("MSIE") !== -1 || n.indexOf("Trident/") !== -1;
13456
13457
  }
13457
- function Kg(n) {
13458
+ function Xg(n) {
13458
13459
  return n.indexOf("Edge/") !== -1;
13459
13460
  }
13460
- function Xg() {
13461
+ function Zg() {
13461
13462
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
13462
- return Gg(n) || Kg(n);
13463
+ return Kg(n) || Xg(n);
13463
13464
  }
13464
13465
  function mt() {
13465
13466
  for (var n = arguments.length, r = new Array(n), t = 0; t < n; t++)
@@ -13472,10 +13473,10 @@ function mt() {
13472
13473
  });
13473
13474
  };
13474
13475
  }
13475
- function Zg() {
13476
+ function Jg() {
13476
13477
  return "showOpenFilePicker" in window;
13477
13478
  }
13478
- function Jg(n) {
13479
+ function eb(n) {
13479
13480
  if (Vt(n)) {
13480
13481
  var r = Object.entries(n).filter(function(t) {
13481
13482
  var e = Rn(t, 2), a = e[0], o = e[1], i = !0;
@@ -13492,7 +13493,7 @@ function Jg(n) {
13492
13493
  }
13493
13494
  return n;
13494
13495
  }
13495
- function eb(n) {
13496
+ function tb(n) {
13496
13497
  if (Vt(n))
13497
13498
  return Object.entries(n).reduce(function(r, t) {
13498
13499
  var e = Rn(t, 2), a = e[0], o = e[1];
@@ -13501,10 +13502,10 @@ function eb(n) {
13501
13502
  return Os(r) || Ls(r);
13502
13503
  }).join(",");
13503
13504
  }
13504
- function tb(n) {
13505
+ function nb(n) {
13505
13506
  return n instanceof DOMException && (n.name === "AbortError" || n.code === n.ABORT_ERR);
13506
13507
  }
13507
- function nb(n) {
13508
+ function rb(n) {
13508
13509
  return n instanceof DOMException && (n.name === "SecurityError" || n.code === n.SECURITY_ERR);
13509
13510
  }
13510
13511
  function Os(n) {
@@ -13513,24 +13514,24 @@ function Os(n) {
13513
13514
  function Ls(n) {
13514
13515
  return /^.*\.[\w]+$/.test(n);
13515
13516
  }
13516
- var rb = ["children"], ab = ["open"], ob = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ib = ["refKey", "onChange", "onClick"];
13517
- function sb(n) {
13518
- return pb(n) || cb(n) || Fs(n) || lb();
13517
+ var ab = ["children"], ob = ["open"], ib = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], sb = ["refKey", "onChange", "onClick"];
13518
+ function lb(n) {
13519
+ return ub(n) || pb(n) || Fs(n) || cb();
13519
13520
  }
13520
- function lb() {
13521
+ function cb() {
13521
13522
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
13522
13523
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13523
13524
  }
13524
- function cb(n) {
13525
+ function pb(n) {
13525
13526
  if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
13526
13527
  }
13527
- function pb(n) {
13528
+ function ub(n) {
13528
13529
  if (Array.isArray(n)) return Pa(n);
13529
13530
  }
13530
13531
  function ba(n, r) {
13531
- return fb(n) || db(n, r) || Fs(n, r) || ub();
13532
+ return mb(n) || fb(n, r) || Fs(n, r) || db();
13532
13533
  }
13533
- function ub() {
13534
+ function db() {
13534
13535
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13535
13536
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13536
13537
  }
@@ -13548,7 +13549,7 @@ function Pa(n, r) {
13548
13549
  e[t] = n[t];
13549
13550
  return e;
13550
13551
  }
13551
- function db(n, r) {
13552
+ function fb(n, r) {
13552
13553
  var t = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
13553
13554
  if (t != null) {
13554
13555
  var e = [], a = !0, o = !1, i, s;
@@ -13567,7 +13568,7 @@ function db(n, r) {
13567
13568
  return e;
13568
13569
  }
13569
13570
  }
13570
- function fb(n) {
13571
+ function mb(n) {
13571
13572
  if (Array.isArray(n)) return n;
13572
13573
  }
13573
13574
  function yi(n, r) {
@@ -13596,7 +13597,7 @@ function Ia(n, r, t) {
13596
13597
  }
13597
13598
  function kr(n, r) {
13598
13599
  if (n == null) return {};
13599
- var t = mb(n, r), e, a;
13600
+ var t = hb(n, r), e, a;
13600
13601
  if (Object.getOwnPropertySymbols) {
13601
13602
  var o = Object.getOwnPropertySymbols(n);
13602
13603
  for (a = 0; a < o.length; a++)
@@ -13604,7 +13605,7 @@ function kr(n, r) {
13604
13605
  }
13605
13606
  return t;
13606
13607
  }
13607
- function mb(n, r) {
13608
+ function hb(n, r) {
13608
13609
  if (n == null) return {};
13609
13610
  var t = {}, e = Object.keys(n), a, o;
13610
13611
  for (o = 0; o < e.length; o++)
@@ -13612,7 +13613,7 @@ function mb(n, r) {
13612
13613
  return t;
13613
13614
  }
13614
13615
  var Xa = /* @__PURE__ */ Di(function(n, r) {
13615
- var t = n.children, e = kr(n, rb), a = Ws(e), o = a.open, i = kr(a, ab);
13616
+ var t = n.children, e = kr(n, ab), a = Ws(e), o = a.open, i = kr(a, ob);
13616
13617
  return zs(r, function() {
13617
13618
  return {
13618
13619
  open: o
@@ -13624,7 +13625,7 @@ var Xa = /* @__PURE__ */ Di(function(n, r) {
13624
13625
  Xa.displayName = "Dropzone";
13625
13626
  var As = {
13626
13627
  disabled: !1,
13627
- getFilesFromEvent: Mg,
13628
+ getFilesFromEvent: Tg,
13628
13629
  maxSize: 1 / 0,
13629
13630
  minSize: 0,
13630
13631
  multiple: !0,
@@ -13818,14 +13819,14 @@ var Ra = {
13818
13819
  };
13819
13820
  function Ws() {
13820
13821
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = Me(Me({}, As), n), t = r.accept, e = r.disabled, a = r.getFilesFromEvent, o = r.maxSize, i = r.minSize, s = r.multiple, l = r.maxFiles, p = r.onDragEnter, u = r.onDragLeave, d = r.onDragOver, f = r.onDrop, v = r.onDropAccepted, x = r.onDropRejected, w = r.onFileDialogCancel, b = r.onFileDialogOpen, y = r.useFsAccessApi, E = r.autoFocus, D = r.preventDropOnDocument, C = r.noClick, k = r.noKeyboard, F = r.noDrag, j = r.noDragEventsBubbling, V = r.onError, H = r.validator, J = rn(function() {
13821
- return eb(t);
13822
+ return tb(t);
13822
13823
  }, [t]), re = rn(function() {
13823
- return Jg(t);
13824
+ return eb(t);
13824
13825
  }, [t]), ne = rn(function() {
13825
13826
  return typeof b == "function" ? b : ki;
13826
13827
  }, [b]), X = rn(function() {
13827
13828
  return typeof w == "function" ? w : ki;
13828
- }, [w]), te = Ae(null), W = Ae(null), Y = Hs(hb, Ra), $ = ba(Y, 2), K = $[0], h = $[1], m = K.isFocused, g = K.isFileDialogActive, _ = Ae(typeof window < "u" && window.isSecureContext && y && Zg()), c = function() {
13829
+ }, [w]), te = Ae(null), W = Ae(null), Y = Hs(vb, Ra), $ = ba(Y, 2), K = $[0], h = $[1], m = K.isFocused, g = K.isFileDialogActive, _ = Ae(typeof window < "u" && window.isSecureContext && y && Jg()), c = function() {
13829
13830
  !_.current && g && setTimeout(function() {
13830
13831
  if (W.current) {
13831
13832
  var se = W.current.files;
@@ -13854,9 +13855,9 @@ function Ws() {
13854
13855
  var q = Ge(function(Z) {
13855
13856
  V ? V(Z) : console.error(Z);
13856
13857
  }, [V]), I = Ge(function(Z) {
13857
- Z.preventDefault(), Z.persist(), ve(Z), S.current = [].concat(sb(S.current), [Z.target]), er(Z) && Promise.resolve(a(Z)).then(function(se) {
13858
+ Z.preventDefault(), Z.persist(), ve(Z), S.current = [].concat(lb(S.current), [Z.target]), er(Z) && Promise.resolve(a(Z)).then(function(se) {
13858
13859
  if (!(yr(Z) && !j)) {
13859
- var Se = se.length, Ie = Se > 0 && Qg({
13860
+ var Se = se.length, Ie = Se > 0 && Gg({
13860
13861
  files: se,
13861
13862
  accept: J,
13862
13863
  minSize: i,
@@ -13913,7 +13914,7 @@ function Ws() {
13913
13914
  }), (!s && Se.length > 1 || s && l >= 1 && Se.length > l) && (Se.forEach(function(Je) {
13914
13915
  Ie.push({
13915
13916
  file: Je,
13916
- errors: [$g]
13917
+ errors: [Qg]
13917
13918
  });
13918
13919
  }), Se.splice(0)), h({
13919
13920
  acceptedFiles: Se,
@@ -13945,9 +13946,9 @@ function Ws() {
13945
13946
  type: "closeDialog"
13946
13947
  });
13947
13948
  }).catch(function(se) {
13948
- tb(se) ? (X(se), h({
13949
+ nb(se) ? (X(se), h({
13949
13950
  type: "closeDialog"
13950
- })) : nb(se) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) : q(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."))) : q(se);
13951
+ })) : rb(se) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) : q(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."))) : q(se);
13951
13952
  });
13952
13953
  return;
13953
13954
  }
@@ -13965,7 +13966,7 @@ function Ws() {
13965
13966
  type: "blur"
13966
13967
  });
13967
13968
  }, []), ie = Ge(function() {
13968
- C || (Xg() ? setTimeout(O, 0) : O());
13969
+ C || (Zg() ? setTimeout(O, 0) : O());
13969
13970
  }, [C, O]), ae = function(se) {
13970
13971
  return e ? null : se;
13971
13972
  }, ue = function(se) {
@@ -13976,7 +13977,7 @@ function Ws() {
13976
13977
  j && se.stopPropagation();
13977
13978
  }, We = rn(function() {
13978
13979
  return function() {
13979
- var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Ie = Z.role, Je = Z.onKeyDown, wn = Z.onFocus, nn = Z.onBlur, Br = Z.onClick, Yr = Z.onDragEnter, jr = Z.onDragOver, Wn = Z.onDragLeave, Hr = Z.onDrop, zr = kr(Z, ob);
13980
+ var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Ie = Z.role, Je = Z.onKeyDown, wn = Z.onFocus, nn = Z.onBlur, Br = Z.onClick, Yr = Z.onDragEnter, jr = Z.onDragOver, Wn = Z.onDragLeave, Hr = Z.onDrop, zr = kr(Z, ib);
13980
13981
  return Me(Me(Ia({
13981
13982
  onKeyDown: ue(mt(Je, G)),
13982
13983
  onFocus: ue(mt(wn, N)),
@@ -13991,11 +13992,11 @@ function Ws() {
13991
13992
  tabIndex: 0
13992
13993
  } : {}), zr);
13993
13994
  };
13994
- }, [te, G, N, Q, ie, I, L, B, U, k, F, e]), Le = Ge(function(Z) {
13995
+ }, [te, G, N, Q, ie, I, L, B, U, k, F, e]), Fe = Ge(function(Z) {
13995
13996
  Z.stopPropagation();
13996
13997
  }, []), Be = rn(function() {
13997
13998
  return function() {
13998
- var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Ie = Z.onChange, Je = Z.onClick, wn = kr(Z, ib), nn = Ia({
13999
+ var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Ie = Z.onChange, Je = Z.onClick, wn = kr(Z, sb), nn = Ia({
13999
14000
  accept: J,
14000
14001
  multiple: s,
14001
14002
  type: "file",
@@ -14012,7 +14013,7 @@ function Ws() {
14012
14013
  whiteSpace: "nowrap"
14013
14014
  },
14014
14015
  onChange: ae(mt(Ie, U)),
14015
- onClick: ae(mt(Je, Le)),
14016
+ onClick: ae(mt(Je, Fe)),
14016
14017
  tabIndex: -1
14017
14018
  }, Se, W);
14018
14019
  return Me(Me({}, nn), wn);
@@ -14027,7 +14028,7 @@ function Ws() {
14027
14028
  open: ae(O)
14028
14029
  });
14029
14030
  }
14030
- function hb(n, r) {
14031
+ function vb(n, r) {
14031
14032
  switch (r.type) {
14032
14033
  case "focus":
14033
14034
  return Me(Me({}, n), {}, {
@@ -14065,42 +14066,42 @@ function hb(n, r) {
14065
14066
  }
14066
14067
  function ki() {
14067
14068
  }
14068
- const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_error_az1bh_51", bb = "_spUploadFiles__control_az1bh_51", wb = "_spUploadFiles__fileNameContainer_az1bh_55", xb = "_spUploadFiles__fileName_dragError_az1bh_59", yb = "_spUploadFiles__startIcon_error_az1bh_62", kb = "_spUploadFiles__placeholderContainer_az1bh_65", Cb = "_spUploadFiles__placeholderContainer_withUloadTooltip_az1bh_75", Db = "_spUploadFiles__placeholder_az1bh_65", Sb = "_spUploadFiles__control_loading_az1bh_107", Mb = "_shimmer_az1bh_1", Tb = "_spUploadFiles__fileName_az1bh_55", Eb = "_spUploadFiles_fileUploaded_az1bh_154", Nb = "_spUploadFiles_disabled_az1bh_154", Pb = "_spUploadFiles__fileNamesList_az1bh_165", Ib = "_spUploadFiles__fileNamesList_loading_az1bh_176", Rb = "_spUploadFiles__fileNamesListItem_az1bh_181", Ob = "_spUploadFiles__fileNamesListItem__iconContainer_az1bh_218", Lb = "_spUploadFiles__fileNamesListItem__iconContainer_error_az1bh_227", Fb = "_spUploadFiles__fileNamesListItem__mainContent_az1bh_232", Ab = "_spUploadFiles__fileNamesListItem__fileNameWrapper_az1bh_239", Wb = "_spUploadFiles__fileNamesListItem__fileName_az1bh_239", Bb = "_spUploadFiles__fileNamesListItem__fileNameTooltip_az1bh_246", Yb = "_spUploadFiles__fileNamesListItem__description_az1bh_249", jb = "_spUploadFiles__fileNamesListItem__description__tooltipContent_az1bh_254", Hb = "_spUploadFiles__fileNamesListItem__description_error_az1bh_257", zb = "_spUploadFiles__fileNamesListItemDelete_az1bh_260", qb = "_spUploadFiles__fileNamesListItemDelete_error_az1bh_277", Vb = "_spUploadFiles__tooltip_az1bh_287", Ub = "_spUploadFiles__delete_az1bh_290", $b = "_spUploadFiles__delete_loading_az1bh_294", Qb = "_spUploadFiles__error_az1bh_303", _e = {
14069
- spUploadFiles: _b,
14070
- spUploadFiles_error: gb,
14071
- spUploadFiles__control: bb,
14072
- spUploadFiles__fileNameContainer: wb,
14073
- spUploadFiles__fileName_dragError: xb,
14074
- spUploadFiles__startIcon_error: yb,
14075
- spUploadFiles__placeholderContainer: kb,
14069
+ const _b = (n) => Ws(n), gb = "_spUploadFiles_az1bh_43", bb = "_spUploadFiles_error_az1bh_51", wb = "_spUploadFiles__control_az1bh_51", xb = "_spUploadFiles__fileNameContainer_az1bh_55", yb = "_spUploadFiles__fileName_dragError_az1bh_59", kb = "_spUploadFiles__startIcon_error_az1bh_62", Cb = "_spUploadFiles__placeholderContainer_az1bh_65", Db = "_spUploadFiles__placeholderContainer_withUloadTooltip_az1bh_75", Sb = "_spUploadFiles__placeholder_az1bh_65", Mb = "_spUploadFiles__control_loading_az1bh_107", Tb = "_shimmer_az1bh_1", Eb = "_spUploadFiles__fileName_az1bh_55", Nb = "_spUploadFiles_fileUploaded_az1bh_154", Pb = "_spUploadFiles_disabled_az1bh_154", Ib = "_spUploadFiles__fileNamesList_az1bh_165", Rb = "_spUploadFiles__fileNamesList_loading_az1bh_176", Ob = "_spUploadFiles__fileNamesListItem_az1bh_181", Lb = "_spUploadFiles__fileNamesListItem__iconContainer_az1bh_218", Fb = "_spUploadFiles__fileNamesListItem__iconContainer_error_az1bh_227", Ab = "_spUploadFiles__fileNamesListItem__mainContent_az1bh_232", Wb = "_spUploadFiles__fileNamesListItem__fileNameWrapper_az1bh_239", Bb = "_spUploadFiles__fileNamesListItem__fileName_az1bh_239", Yb = "_spUploadFiles__fileNamesListItem__fileNameTooltip_az1bh_246", jb = "_spUploadFiles__fileNamesListItem__description_az1bh_249", Hb = "_spUploadFiles__fileNamesListItem__description__tooltipContent_az1bh_254", zb = "_spUploadFiles__fileNamesListItem__description_error_az1bh_257", qb = "_spUploadFiles__fileNamesListItemDelete_az1bh_260", Vb = "_spUploadFiles__fileNamesListItemDelete_error_az1bh_277", Ub = "_spUploadFiles__tooltip_az1bh_287", $b = "_spUploadFiles__delete_az1bh_290", Qb = "_spUploadFiles__delete_loading_az1bh_294", Gb = "_spUploadFiles__error_az1bh_303", _e = {
14070
+ spUploadFiles: gb,
14071
+ spUploadFiles_error: bb,
14072
+ spUploadFiles__control: wb,
14073
+ spUploadFiles__fileNameContainer: xb,
14074
+ spUploadFiles__fileName_dragError: yb,
14075
+ spUploadFiles__startIcon_error: kb,
14076
+ spUploadFiles__placeholderContainer: Cb,
14076
14077
  "spUploadFiles--variant-input": "_spUploadFiles--variant-input_az1bh_68",
14077
- spUploadFiles__placeholderContainer_withUloadTooltip: Cb,
14078
- spUploadFiles__placeholder: Db,
14078
+ spUploadFiles__placeholderContainer_withUloadTooltip: Db,
14079
+ spUploadFiles__placeholder: Sb,
14079
14080
  "spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_az1bh_90",
14080
- spUploadFiles__control_loading: Sb,
14081
- shimmer: Mb,
14082
- spUploadFiles__fileName: Tb,
14083
- spUploadFiles_fileUploaded: Eb,
14084
- spUploadFiles_disabled: Nb,
14085
- spUploadFiles__fileNamesList: Pb,
14086
- spUploadFiles__fileNamesList_loading: Ib,
14087
- spUploadFiles__fileNamesListItem: Rb,
14088
- spUploadFiles__fileNamesListItem__iconContainer: Ob,
14089
- spUploadFiles__fileNamesListItem__iconContainer_error: Lb,
14090
- spUploadFiles__fileNamesListItem__mainContent: Fb,
14091
- spUploadFiles__fileNamesListItem__fileNameWrapper: Ab,
14092
- spUploadFiles__fileNamesListItem__fileName: Wb,
14093
- spUploadFiles__fileNamesListItem__fileNameTooltip: Bb,
14094
- spUploadFiles__fileNamesListItem__description: Yb,
14095
- spUploadFiles__fileNamesListItem__description__tooltipContent: jb,
14096
- spUploadFiles__fileNamesListItem__description_error: Hb,
14097
- spUploadFiles__fileNamesListItemDelete: zb,
14098
- spUploadFiles__fileNamesListItemDelete_error: qb,
14099
- spUploadFiles__tooltip: Vb,
14100
- spUploadFiles__delete: Ub,
14101
- spUploadFiles__delete_loading: $b,
14102
- spUploadFiles__error: Qb
14103
- }, Gb = (n) => {
14081
+ spUploadFiles__control_loading: Mb,
14082
+ shimmer: Tb,
14083
+ spUploadFiles__fileName: Eb,
14084
+ spUploadFiles_fileUploaded: Nb,
14085
+ spUploadFiles_disabled: Pb,
14086
+ spUploadFiles__fileNamesList: Ib,
14087
+ spUploadFiles__fileNamesList_loading: Rb,
14088
+ spUploadFiles__fileNamesListItem: Ob,
14089
+ spUploadFiles__fileNamesListItem__iconContainer: Lb,
14090
+ spUploadFiles__fileNamesListItem__iconContainer_error: Fb,
14091
+ spUploadFiles__fileNamesListItem__mainContent: Ab,
14092
+ spUploadFiles__fileNamesListItem__fileNameWrapper: Wb,
14093
+ spUploadFiles__fileNamesListItem__fileName: Bb,
14094
+ spUploadFiles__fileNamesListItem__fileNameTooltip: Yb,
14095
+ spUploadFiles__fileNamesListItem__description: jb,
14096
+ spUploadFiles__fileNamesListItem__description__tooltipContent: Hb,
14097
+ spUploadFiles__fileNamesListItem__description_error: zb,
14098
+ spUploadFiles__fileNamesListItemDelete: qb,
14099
+ spUploadFiles__fileNamesListItemDelete_error: Vb,
14100
+ spUploadFiles__tooltip: Ub,
14101
+ spUploadFiles__delete: $b,
14102
+ spUploadFiles__delete_loading: Qb,
14103
+ spUploadFiles__error: Gb
14104
+ }, Kb = (n) => {
14104
14105
  switch (n.code) {
14105
14106
  case ga.FileInvalidType:
14106
14107
  return "Неверный формат файла";
@@ -14110,12 +14111,12 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14110
14111
  default:
14111
14112
  return "";
14112
14113
  }
14113
- }, Kb = (n, r = {}) => {
14114
+ }, Xb = (n, r = {}) => {
14114
14115
  const { decimals: t = 1, space: e = !0 } = r;
14115
14116
  if (n === 0) return "0" + (e ? " " : "") + "B";
14116
14117
  const a = 1024, o = ["B", "KB", "MB", "GB", "TB"], i = Math.floor(Math.log(n) / Math.log(a)), s = i === 0 ? 0 : t, l = e ? " " : "";
14117
14118
  return parseFloat((n / Math.pow(a, i)).toFixed(s)) + l + o[i];
14118
- }, Cw = (n) => {
14119
+ }, Dw = (n) => {
14119
14120
  const {
14120
14121
  placeholder: r = "Загрузите файл",
14121
14122
  variant: t = "input",
@@ -14148,7 +14149,7 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14148
14149
  D([...B, ...E]), i(A, e);
14149
14150
  },
14150
14151
  [E, u, p, e, i]
14151
- ), { getRootProps: k, getInputProps: F } = vb({
14152
+ ), { getRootProps: k, getInputProps: F } = _b({
14152
14153
  accept: s,
14153
14154
  onDrop: C,
14154
14155
  multiple: p,
@@ -14209,7 +14210,7 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14209
14210
  }
14210
14211
  );
14211
14212
  }, _ = () => /* @__PURE__ */ M("ul", { className: te, children: V.map(({ file: I, errors: L }, B) => {
14212
- const A = L ? L?.length > 0 : void 0, U = () => L ? L?.map(Gb).join(", ") : "";
14213
+ const A = L ? L?.length > 0 : void 0, U = () => L ? L?.map(Kb).join(", ") : "";
14213
14214
  return /* @__PURE__ */ pe(
14214
14215
  "li",
14215
14216
  {
@@ -14246,7 +14247,7 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14246
14247
  /* @__PURE__ */ M(
14247
14248
  Dn,
14248
14249
  {
14249
- text: A ? U() : Kb(I.size),
14250
+ text: A ? U() : Xb(I.size),
14250
14251
  classNameBaseTooltipRoot: _e.spUploadFiles__fileNamesListItem__description__tooltipContent,
14251
14252
  classNameRoot: T(
14252
14253
  _e.spUploadFiles__fileNamesListItem__description,
@@ -14325,15 +14326,15 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14325
14326
  ),
14326
14327
  x && /* @__PURE__ */ M("div", { className: _e.spUploadFiles__error, children: x })
14327
14328
  ] });
14328
- }, Xb = "_viewImageModal_1m9ko_43", Zb = "_viewImageModal__img_1m9ko_66", Jb = "_viewImageModal__img_loading_1m9ko_79", ew = "_viewImageModal__img_error_1m9ko_82", tw = "_viewImageModal__spinner_1m9ko_85", nw = "_viewImageModal__layer_1m9ko_112", rw = "_viewImageModal__closeButton_1m9ko_117", Tt = {
14329
- viewImageModal: Xb,
14330
- viewImageModal__img: Zb,
14331
- viewImageModal__img_loading: Jb,
14332
- viewImageModal__img_error: ew,
14333
- viewImageModal__spinner: tw,
14334
- viewImageModal__layer: nw,
14335
- viewImageModal__closeButton: rw
14336
- }, Dw = (n) => {
14329
+ }, Zb = "_viewImageModal_1m9ko_43", Jb = "_viewImageModal__img_1m9ko_66", ew = "_viewImageModal__img_loading_1m9ko_79", tw = "_viewImageModal__img_error_1m9ko_82", nw = "_viewImageModal__spinner_1m9ko_85", rw = "_viewImageModal__layer_1m9ko_112", aw = "_viewImageModal__closeButton_1m9ko_117", Tt = {
14330
+ viewImageModal: Zb,
14331
+ viewImageModal__img: Jb,
14332
+ viewImageModal__img_loading: ew,
14333
+ viewImageModal__img_error: tw,
14334
+ viewImageModal__spinner: nw,
14335
+ viewImageModal__layer: rw,
14336
+ viewImageModal__closeButton: aw
14337
+ }, Sw = (n) => {
14337
14338
  const {
14338
14339
  classNameRoot: r,
14339
14340
  classNameImageRoot: t,
@@ -14393,44 +14394,44 @@ const vb = (n) => Ws(n), _b = "_spUploadFiles_az1bh_43", gb = "_spUploadFiles_er
14393
14394
  ] });
14394
14395
  };
14395
14396
  export {
14396
- sw as Accordion,
14397
+ lw as Accordion,
14397
14398
  Jl as ApplyButtons,
14398
- cw as AuthProtected,
14399
+ pw as AuthProtected,
14399
14400
  Pi as BaseTooltip,
14400
- pw as Breadcrumb,
14401
+ uw as Breadcrumb,
14401
14402
  sr as Button,
14402
- uw as Checkbox,
14403
+ dw as Checkbox,
14403
14404
  fc as Confirm,
14404
- dw as ContextMenu,
14405
- fw as DatePicker,
14405
+ fw as ContextMenu,
14406
+ mw as DatePicker,
14406
14407
  bs as DatePickerInput,
14407
14408
  Bh as DefaultDropzone,
14408
- mw as Dropdown,
14409
+ hw as Dropdown,
14409
14410
  ce as EIconName,
14410
14411
  Ye as ETooltipPosition,
14411
14412
  Dn as EllipsisTextWithTooltip,
14412
- hw as Form,
14413
+ vw as Form,
14413
14414
  Ne as Icon,
14414
14415
  Mr as InfoTooltip,
14415
14416
  dv as Input,
14416
14417
  en as Label,
14417
14418
  Ni as Layer,
14418
14419
  fv as MediaContext,
14419
- _w as MediaContextProvider,
14420
+ gw as MediaContextProvider,
14420
14421
  dc as Modal,
14421
14422
  Ei as Portal,
14422
- gw as ProgressWrapper,
14423
- bw as Select,
14424
- ww as Skeleton,
14423
+ bw as ProgressWrapper,
14424
+ ww as Select,
14425
+ xw as Skeleton,
14425
14426
  Oa as Spinner,
14426
- xw as Table,
14427
- yw as Tabs,
14427
+ yw as Table,
14428
+ kw as Tabs,
14428
14429
  st as Text,
14429
- kw as TextWithLabel,
14430
- xg as Textarea,
14430
+ Cw as TextWithLabel,
14431
+ yg as Textarea,
14431
14432
  Sr as Tooltip,
14432
- Cw as UploadFiles,
14433
- Dw as ViewImageModal,
14433
+ Dw as UploadFiles,
14434
+ Sw as ViewImageModal,
14434
14435
  $v as useAnimatedValue,
14435
- lw as useModal
14436
+ cw as useModal
14436
14437
  };