@uzum-tech/ui 1.12.4 → 1.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -15436,7 +15436,159 @@
15436
15436
  }
15437
15437
  };
15438
15438
 
15439
- var formatDistanceLocale = {
15439
+ const ruRu = {
15440
+ name: "ru-RU",
15441
+ global: {
15442
+ undo: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
15443
+ redo: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C",
15444
+ confirm: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",
15445
+ clear: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C"
15446
+ },
15447
+ Popconfirm: {
15448
+ positiveText: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",
15449
+ negativeText: "\u041E\u0442\u043C\u0435\u043D\u0430"
15450
+ },
15451
+ Cascader: {
15452
+ placeholder: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C",
15453
+ loading: "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",
15454
+ loadingRequiredMessage: label => `\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0432\u0441\u0435 \u0434\u043E\u0447\u0435\u0440\u043D\u0438\u0435 \u0443\u0437\u043B\u044B ${label} \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u0443\u0442 \u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u043C\u0438`
15455
+ },
15456
+ Time: {
15457
+ dateFormat: "yyyy-MM-dd",
15458
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss"
15459
+ },
15460
+ DatePicker: {
15461
+ yearFormat: "yyyy",
15462
+ monthFormat: "MMM",
15463
+ dayFormat: "eeeeee",
15464
+ yearTypeFormat: "yyyy",
15465
+ monthTypeFormat: "yyyy-MM",
15466
+ dateFormat: "yyyy-MM-dd",
15467
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss",
15468
+ quarterFormat: "yyyy-qqq",
15469
+ clear: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",
15470
+ now: "\u0421\u0435\u0439\u0447\u0430\u0441",
15471
+ confirm: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",
15472
+ selectTime: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F",
15473
+ selectDate: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443",
15474
+ datePlaceholder: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443",
15475
+ datetimePlaceholder: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F",
15476
+ monthPlaceholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043C\u0435\u0441\u044F\u0446",
15477
+ // FIXME: translation needed
15478
+ yearPlaceholder: "Select Year",
15479
+ quarterPlaceholder: "Select Quarter",
15480
+ startDatePlaceholder: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",
15481
+ endDatePlaceholder: "\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",
15482
+ startDatetimePlaceholder: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",
15483
+ endDatetimePlaceholder: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",
15484
+ // FIXME: translation needed
15485
+ startMonthPlaceholder: "Start Month",
15486
+ endMonthPlaceholder: "End Month",
15487
+ monthBeforeYear: true,
15488
+ firstDayOfWeek: 0,
15489
+ today: "\u0421\u0435\u0433\u043E\u0434\u043D\u044F"
15490
+ },
15491
+ DataTable: {
15492
+ checkTableAll: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435",
15493
+ uncheckTableAll: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435",
15494
+ confirm: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",
15495
+ clear: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C"
15496
+ },
15497
+ LegacyTransfer: {
15498
+ sourceTitle: "\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A",
15499
+ targetTitle: "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"
15500
+ },
15501
+ // TODO: translation
15502
+ Transfer: {
15503
+ selectAll: "Select all",
15504
+ unselectAll: "Unselect all",
15505
+ clearAll: "Clear",
15506
+ total: num => `Total ${num} items`,
15507
+ selected: num => `${num} items selected`
15508
+ },
15509
+ Empty: {
15510
+ title: "\u041D\u0435\u0442 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439",
15511
+ description: "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A\u043E\u0432\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441"
15512
+ },
15513
+ Select: {
15514
+ placeholder: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C"
15515
+ },
15516
+ TimePicker: {
15517
+ placeholder: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F",
15518
+ positiveText: "OK",
15519
+ negativeText: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
15520
+ now: "\u0421\u0435\u0439\u0447\u0430\u0441"
15521
+ },
15522
+ Pagination: {
15523
+ goto: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438",
15524
+ selectionSuffix: "\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430"
15525
+ },
15526
+ DynamicTags: {
15527
+ add: "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C"
15528
+ },
15529
+ Log: {
15530
+ loading: "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430"
15531
+ },
15532
+ Input: {
15533
+ placeholder: "\u0412\u0432\u0435\u0441\u0442\u0438",
15534
+ copied: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E"
15535
+ },
15536
+ InputNumber: {
15537
+ placeholder: "\u0412\u0432\u0435\u0441\u0442\u0438"
15538
+ },
15539
+ DynamicInput: {
15540
+ create: "\u0421\u043E\u0437\u0434\u0430\u0442\u044C"
15541
+ },
15542
+ ThemeEditor: {
15543
+ title: "\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0442\u0435\u043C\u044B",
15544
+ clearAllVars: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435",
15545
+ clearSearch: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",
15546
+ filterCompName: "\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E \u0438\u043C\u0435\u043D\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430",
15547
+ filterVarName: "\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043C\u0435\u043D\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445",
15548
+ import: "\u0418\u043C\u043F\u043E\u0440\u0442",
15549
+ export: "\u042D\u043A\u0441\u043F\u043E\u0440\u0442",
15550
+ restore: "\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C"
15551
+ },
15552
+ // TODO: translation
15553
+ Image: {
15554
+ tipPrevious: "Previous picture (\u2190)",
15555
+ tipNext: "Next picture (\u2192)",
15556
+ tipCounterclockwise: "Counterclockwise",
15557
+ tipClockwise: "Clockwise",
15558
+ tipZoomOut: "Zoom out",
15559
+ tipZoomIn: "Zoom in",
15560
+ tipDownload: "Download",
15561
+ tipClose: "Close (Esc)",
15562
+ // TODO: translation
15563
+ tipOriginalSize: "Zoom to original size"
15564
+ },
15565
+ Upload: {
15566
+ title: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044E\u0434\u0430",
15567
+ subtitle: "PDF, PNG, JPEG \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 100 MB",
15568
+ uploading: "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F"
15569
+ },
15570
+ Chat: {
15571
+ inputPlaceholder: "\u041D\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435...",
15572
+ typingText: "\u041F\u0435\u0447\u0430\u0442\u0430\u0435\u0442...",
15573
+ retryText: "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",
15574
+ closeButtonText: "\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0447\u0430\u0442",
15575
+ shareButtonTooltip: "\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0447\u0430\u0442\u043E\u043C",
15576
+ profileButtonTooltip: "\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u0440\u043E\u0444\u0438\u043B\u044C",
15577
+ unreadNotificationText: "\u043D\u043E\u0432\u044B\u0445 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439",
15578
+ editText: "\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
15579
+ copyText: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
15580
+ deleteText: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
15581
+ editingTitle: "\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435"
15582
+ },
15583
+ Header: {
15584
+ desktopSearchTitle: "\u041F\u043E\u0438\u0441\u043A",
15585
+ searchPlaceholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443",
15586
+ primaryActionText: "\u0421\u0442\u0430\u0442\u044C \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C",
15587
+ secondaryActionText: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435"
15588
+ }
15589
+ };
15590
+
15591
+ var formatDistanceLocale$1 = {
15440
15592
  lessThanXSeconds: {
15441
15593
  one: 'less than a second',
15442
15594
  other: 'less than {{count}} seconds'
@@ -15499,9 +15651,9 @@
15499
15651
  other: 'almost {{count}} years'
15500
15652
  }
15501
15653
  };
15502
- var formatDistance$1 = function (token, count, options) {
15654
+ var formatDistance$2 = function (token, count, options) {
15503
15655
  var result;
15504
- var tokenValue = formatDistanceLocale[token];
15656
+ var tokenValue = formatDistanceLocale$1[token];
15505
15657
  if (typeof tokenValue === 'string') {
15506
15658
  result = tokenValue;
15507
15659
  } else if (count === 1) {
@@ -15529,40 +15681,40 @@
15529
15681
  };
15530
15682
  }
15531
15683
 
15532
- var dateFormats = {
15684
+ var dateFormats$1 = {
15533
15685
  full: 'EEEE, MMMM do, y',
15534
15686
  long: 'MMMM do, y',
15535
15687
  medium: 'MMM d, y',
15536
15688
  short: 'MM/dd/yyyy'
15537
15689
  };
15538
- var timeFormats = {
15690
+ var timeFormats$1 = {
15539
15691
  full: 'h:mm:ss a zzzz',
15540
15692
  long: 'h:mm:ss a z',
15541
15693
  medium: 'h:mm:ss a',
15542
15694
  short: 'h:mm a'
15543
15695
  };
15544
- var dateTimeFormats = {
15696
+ var dateTimeFormats$1 = {
15545
15697
  full: "{{date}} 'at' {{time}}",
15546
15698
  long: "{{date}} 'at' {{time}}",
15547
15699
  medium: '{{date}}, {{time}}',
15548
15700
  short: '{{date}}, {{time}}'
15549
15701
  };
15550
- var formatLong$1 = {
15702
+ var formatLong$2 = {
15551
15703
  date: buildFormatLongFn$1({
15552
- formats: dateFormats,
15704
+ formats: dateFormats$1,
15553
15705
  defaultWidth: 'full'
15554
15706
  }),
15555
15707
  time: buildFormatLongFn$1({
15556
- formats: timeFormats,
15708
+ formats: timeFormats$1,
15557
15709
  defaultWidth: 'full'
15558
15710
  }),
15559
15711
  dateTime: buildFormatLongFn$1({
15560
- formats: dateTimeFormats,
15712
+ formats: dateTimeFormats$1,
15561
15713
  defaultWidth: 'full'
15562
15714
  })
15563
15715
  };
15564
15716
 
15565
- var formatRelativeLocale = {
15717
+ var formatRelativeLocale$1 = {
15566
15718
  lastWeek: "'last' eeee 'at' p",
15567
15719
  yesterday: "'yesterday at' p",
15568
15720
  today: "'today at' p",
@@ -15570,8 +15722,8 @@
15570
15722
  nextWeek: "eeee 'at' p",
15571
15723
  other: 'P'
15572
15724
  };
15573
- var formatRelative$1 = function (token, _date, _baseDate, _options) {
15574
- return formatRelativeLocale[token];
15725
+ var formatRelative$2 = function (token, _date, _baseDate, _options) {
15726
+ return formatRelativeLocale$1[token];
15575
15727
  };
15576
15728
 
15577
15729
  function buildLocalizeFn$1(args) {
@@ -15594,12 +15746,12 @@
15594
15746
  };
15595
15747
  }
15596
15748
 
15597
- var eraValues = {
15749
+ var eraValues$1 = {
15598
15750
  narrow: ['B', 'A'],
15599
15751
  abbreviated: ['BC', 'AD'],
15600
15752
  wide: ['Before Christ', 'Anno Domini']
15601
15753
  };
15602
- var quarterValues = {
15754
+ var quarterValues$1 = {
15603
15755
  narrow: ['1', '2', '3', '4'],
15604
15756
  abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
15605
15757
  wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']
@@ -15608,18 +15760,18 @@
15608
15760
  // Generally, formatted dates should look like they are in the middle of a sentence,
15609
15761
  // e.g. in Spanish language the weekdays and months should be in the lowercase.
15610
15762
 
15611
- var monthValues = {
15763
+ var monthValues$1 = {
15612
15764
  narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
15613
15765
  abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
15614
15766
  wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
15615
15767
  };
15616
- var dayValues = {
15768
+ var dayValues$1 = {
15617
15769
  narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
15618
15770
  short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
15619
15771
  abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
15620
15772
  wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
15621
15773
  };
15622
- var dayPeriodValues = {
15774
+ var dayPeriodValues$1 = {
15623
15775
  narrow: {
15624
15776
  am: 'a',
15625
15777
  pm: 'p',
@@ -15651,7 +15803,7 @@
15651
15803
  night: 'night'
15652
15804
  }
15653
15805
  };
15654
- var formattingDayPeriodValues = {
15806
+ var formattingDayPeriodValues$1 = {
15655
15807
  narrow: {
15656
15808
  am: 'a',
15657
15809
  pm: 'p',
@@ -15683,7 +15835,7 @@
15683
15835
  night: 'at night'
15684
15836
  }
15685
15837
  };
15686
- var ordinalNumber = function (dirtyNumber, _options) {
15838
+ var ordinalNumber$1 = function (dirtyNumber, _options) {
15687
15839
  var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,
15688
15840
  // if they are different for different grammatical genders,
15689
15841
  // use `options.unit`.
@@ -15704,31 +15856,31 @@
15704
15856
  }
15705
15857
  return number + 'th';
15706
15858
  };
15707
- var localize$1 = {
15708
- ordinalNumber: ordinalNumber,
15859
+ var localize$2 = {
15860
+ ordinalNumber: ordinalNumber$1,
15709
15861
  era: buildLocalizeFn$1({
15710
- values: eraValues,
15862
+ values: eraValues$1,
15711
15863
  defaultWidth: 'wide'
15712
15864
  }),
15713
15865
  quarter: buildLocalizeFn$1({
15714
- values: quarterValues,
15866
+ values: quarterValues$1,
15715
15867
  defaultWidth: 'wide',
15716
15868
  argumentCallback: function (quarter) {
15717
15869
  return quarter - 1;
15718
15870
  }
15719
15871
  }),
15720
15872
  month: buildLocalizeFn$1({
15721
- values: monthValues,
15873
+ values: monthValues$1,
15722
15874
  defaultWidth: 'wide'
15723
15875
  }),
15724
15876
  day: buildLocalizeFn$1({
15725
- values: dayValues,
15877
+ values: dayValues$1,
15726
15878
  defaultWidth: 'wide'
15727
15879
  }),
15728
15880
  dayPeriod: buildLocalizeFn$1({
15729
- values: dayPeriodValues,
15881
+ values: dayPeriodValues$1,
15730
15882
  defaultWidth: 'wide',
15731
- formattingValues: formattingDayPeriodValues,
15883
+ formattingValues: formattingDayPeriodValues$1,
15732
15884
  defaultFormattingWidth: 'wide'
15733
15885
  })
15734
15886
  };
@@ -15794,48 +15946,48 @@
15794
15946
  };
15795
15947
  }
15796
15948
 
15797
- var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
15798
- var parseOrdinalNumberPattern = /\d+/i;
15799
- var matchEraPatterns = {
15949
+ var matchOrdinalNumberPattern$1 = /^(\d+)(th|st|nd|rd)?/i;
15950
+ var parseOrdinalNumberPattern$1 = /\d+/i;
15951
+ var matchEraPatterns$1 = {
15800
15952
  narrow: /^(b|a)/i,
15801
15953
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
15802
15954
  wide: /^(before christ|before common era|anno domini|common era)/i
15803
15955
  };
15804
- var parseEraPatterns = {
15956
+ var parseEraPatterns$1 = {
15805
15957
  any: [/^b/i, /^(a|c)/i]
15806
15958
  };
15807
- var matchQuarterPatterns = {
15959
+ var matchQuarterPatterns$1 = {
15808
15960
  narrow: /^[1234]/i,
15809
15961
  abbreviated: /^q[1234]/i,
15810
15962
  wide: /^[1234](th|st|nd|rd)? quarter/i
15811
15963
  };
15812
- var parseQuarterPatterns = {
15964
+ var parseQuarterPatterns$1 = {
15813
15965
  any: [/1/i, /2/i, /3/i, /4/i]
15814
15966
  };
15815
- var matchMonthPatterns = {
15967
+ var matchMonthPatterns$1 = {
15816
15968
  narrow: /^[jfmasond]/i,
15817
15969
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
15818
15970
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
15819
15971
  };
15820
- var parseMonthPatterns = {
15972
+ var parseMonthPatterns$1 = {
15821
15973
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
15822
15974
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
15823
15975
  };
15824
- var matchDayPatterns = {
15976
+ var matchDayPatterns$1 = {
15825
15977
  narrow: /^[smtwf]/i,
15826
15978
  short: /^(su|mo|tu|we|th|fr|sa)/i,
15827
15979
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
15828
15980
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
15829
15981
  };
15830
- var parseDayPatterns = {
15982
+ var parseDayPatterns$1 = {
15831
15983
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
15832
15984
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
15833
15985
  };
15834
- var matchDayPeriodPatterns = {
15986
+ var matchDayPeriodPatterns$1 = {
15835
15987
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
15836
15988
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
15837
15989
  };
15838
- var parseDayPeriodPatterns = {
15990
+ var parseDayPeriodPatterns$1 = {
15839
15991
  any: {
15840
15992
  am: /^a/i,
15841
15993
  pm: /^p/i,
@@ -15847,6 +15999,687 @@
15847
15999
  night: /night/i
15848
16000
  }
15849
16001
  };
16002
+ var match$2 = {
16003
+ ordinalNumber: buildMatchPatternFn$1({
16004
+ matchPattern: matchOrdinalNumberPattern$1,
16005
+ parsePattern: parseOrdinalNumberPattern$1,
16006
+ valueCallback: function (value) {
16007
+ return parseInt(value, 10);
16008
+ }
16009
+ }),
16010
+ era: buildMatchFn$1({
16011
+ matchPatterns: matchEraPatterns$1,
16012
+ defaultMatchWidth: 'wide',
16013
+ parsePatterns: parseEraPatterns$1,
16014
+ defaultParseWidth: 'any'
16015
+ }),
16016
+ quarter: buildMatchFn$1({
16017
+ matchPatterns: matchQuarterPatterns$1,
16018
+ defaultMatchWidth: 'wide',
16019
+ parsePatterns: parseQuarterPatterns$1,
16020
+ defaultParseWidth: 'any',
16021
+ valueCallback: function (index) {
16022
+ return index + 1;
16023
+ }
16024
+ }),
16025
+ month: buildMatchFn$1({
16026
+ matchPatterns: matchMonthPatterns$1,
16027
+ defaultMatchWidth: 'wide',
16028
+ parsePatterns: parseMonthPatterns$1,
16029
+ defaultParseWidth: 'any'
16030
+ }),
16031
+ day: buildMatchFn$1({
16032
+ matchPatterns: matchDayPatterns$1,
16033
+ defaultMatchWidth: 'wide',
16034
+ parsePatterns: parseDayPatterns$1,
16035
+ defaultParseWidth: 'any'
16036
+ }),
16037
+ dayPeriod: buildMatchFn$1({
16038
+ matchPatterns: matchDayPeriodPatterns$1,
16039
+ defaultMatchWidth: 'any',
16040
+ parsePatterns: parseDayPeriodPatterns$1,
16041
+ defaultParseWidth: 'any'
16042
+ })
16043
+ };
16044
+
16045
+ /**
16046
+ * @type {Locale}
16047
+ * @category Locales
16048
+ * @summary English locale (United States).
16049
+ * @language English
16050
+ * @iso-639-2 eng
16051
+ * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}
16052
+ * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}
16053
+ */
16054
+ var locale$1 = {
16055
+ code: 'en-US',
16056
+ formatDistance: formatDistance$2,
16057
+ formatLong: formatLong$2,
16058
+ formatRelative: formatRelative$2,
16059
+ localize: localize$2,
16060
+ match: match$2,
16061
+ options: {
16062
+ weekStartsOn: 0
16063
+ /* Sunday */,
16064
+
16065
+ firstWeekContainsDate: 1
16066
+ }
16067
+ };
16068
+
16069
+ const dateEnUs = {
16070
+ name: "en-US",
16071
+ locale: locale$1
16072
+ };
16073
+
16074
+ function declension(scheme, count) {
16075
+ // scheme for count=1 exists
16076
+ if (scheme.one !== undefined && count === 1) {
16077
+ return scheme.one;
16078
+ }
16079
+ var rem10 = count % 10;
16080
+ var rem100 = count % 100; // 1, 21, 31, ...
16081
+
16082
+ if (rem10 === 1 && rem100 !== 11) {
16083
+ return scheme.singularNominative.replace('{{count}}', count); // 2, 3, 4, 22, 23, 24, 32 ...
16084
+ } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {
16085
+ return scheme.singularGenitive.replace('{{count}}', count); // 5, 6, 7, 8, 9, 10, 11, ...
16086
+ } else {
16087
+ return scheme.pluralGenitive.replace('{{count}}', count);
16088
+ }
16089
+ }
16090
+ function buildLocalizeTokenFn(scheme) {
16091
+ return function (count, options) {
16092
+ if (options.addSuffix) {
16093
+ if (options.comparison > 0) {
16094
+ if (scheme.future) {
16095
+ return declension(scheme.future, count);
16096
+ } else {
16097
+ return 'через ' + declension(scheme.regular, count);
16098
+ }
16099
+ } else {
16100
+ if (scheme.past) {
16101
+ return declension(scheme.past, count);
16102
+ } else {
16103
+ return declension(scheme.regular, count) + ' назад';
16104
+ }
16105
+ }
16106
+ } else {
16107
+ return declension(scheme.regular, count);
16108
+ }
16109
+ };
16110
+ }
16111
+ var formatDistanceLocale = {
16112
+ lessThanXSeconds: buildLocalizeTokenFn({
16113
+ regular: {
16114
+ one: 'меньше секунды',
16115
+ singularNominative: 'меньше {{count}} секунды',
16116
+ singularGenitive: 'меньше {{count}} секунд',
16117
+ pluralGenitive: 'меньше {{count}} секунд'
16118
+ },
16119
+ future: {
16120
+ one: 'меньше, чем через секунду',
16121
+ singularNominative: 'меньше, чем через {{count}} секунду',
16122
+ singularGenitive: 'меньше, чем через {{count}} секунды',
16123
+ pluralGenitive: 'меньше, чем через {{count}} секунд'
16124
+ }
16125
+ }),
16126
+ xSeconds: buildLocalizeTokenFn({
16127
+ regular: {
16128
+ singularNominative: '{{count}} секунда',
16129
+ singularGenitive: '{{count}} секунды',
16130
+ pluralGenitive: '{{count}} секунд'
16131
+ },
16132
+ past: {
16133
+ singularNominative: '{{count}} секунду назад',
16134
+ singularGenitive: '{{count}} секунды назад',
16135
+ pluralGenitive: '{{count}} секунд назад'
16136
+ },
16137
+ future: {
16138
+ singularNominative: 'через {{count}} секунду',
16139
+ singularGenitive: 'через {{count}} секунды',
16140
+ pluralGenitive: 'через {{count}} секунд'
16141
+ }
16142
+ }),
16143
+ halfAMinute: function (_, options) {
16144
+ if (options.addSuffix) {
16145
+ if (options.comparison > 0) {
16146
+ return 'через полминуты';
16147
+ } else {
16148
+ return 'полминуты назад';
16149
+ }
16150
+ }
16151
+ return 'полминуты';
16152
+ },
16153
+ lessThanXMinutes: buildLocalizeTokenFn({
16154
+ regular: {
16155
+ one: 'меньше минуты',
16156
+ singularNominative: 'меньше {{count}} минуты',
16157
+ singularGenitive: 'меньше {{count}} минут',
16158
+ pluralGenitive: 'меньше {{count}} минут'
16159
+ },
16160
+ future: {
16161
+ one: 'меньше, чем через минуту',
16162
+ singularNominative: 'меньше, чем через {{count}} минуту',
16163
+ singularGenitive: 'меньше, чем через {{count}} минуты',
16164
+ pluralGenitive: 'меньше, чем через {{count}} минут'
16165
+ }
16166
+ }),
16167
+ xMinutes: buildLocalizeTokenFn({
16168
+ regular: {
16169
+ singularNominative: '{{count}} минута',
16170
+ singularGenitive: '{{count}} минуты',
16171
+ pluralGenitive: '{{count}} минут'
16172
+ },
16173
+ past: {
16174
+ singularNominative: '{{count}} минуту назад',
16175
+ singularGenitive: '{{count}} минуты назад',
16176
+ pluralGenitive: '{{count}} минут назад'
16177
+ },
16178
+ future: {
16179
+ singularNominative: 'через {{count}} минуту',
16180
+ singularGenitive: 'через {{count}} минуты',
16181
+ pluralGenitive: 'через {{count}} минут'
16182
+ }
16183
+ }),
16184
+ aboutXHours: buildLocalizeTokenFn({
16185
+ regular: {
16186
+ singularNominative: 'около {{count}} часа',
16187
+ singularGenitive: 'около {{count}} часов',
16188
+ pluralGenitive: 'около {{count}} часов'
16189
+ },
16190
+ future: {
16191
+ singularNominative: 'приблизительно через {{count}} час',
16192
+ singularGenitive: 'приблизительно через {{count}} часа',
16193
+ pluralGenitive: 'приблизительно через {{count}} часов'
16194
+ }
16195
+ }),
16196
+ xHours: buildLocalizeTokenFn({
16197
+ regular: {
16198
+ singularNominative: '{{count}} час',
16199
+ singularGenitive: '{{count}} часа',
16200
+ pluralGenitive: '{{count}} часов'
16201
+ }
16202
+ }),
16203
+ xDays: buildLocalizeTokenFn({
16204
+ regular: {
16205
+ singularNominative: '{{count}} день',
16206
+ singularGenitive: '{{count}} дня',
16207
+ pluralGenitive: '{{count}} дней'
16208
+ }
16209
+ }),
16210
+ aboutXWeeks: buildLocalizeTokenFn({
16211
+ regular: {
16212
+ singularNominative: 'около {{count}} недели',
16213
+ singularGenitive: 'около {{count}} недель',
16214
+ pluralGenitive: 'около {{count}} недель'
16215
+ },
16216
+ future: {
16217
+ singularNominative: 'приблизительно через {{count}} неделю',
16218
+ singularGenitive: 'приблизительно через {{count}} недели',
16219
+ pluralGenitive: 'приблизительно через {{count}} недель'
16220
+ }
16221
+ }),
16222
+ xWeeks: buildLocalizeTokenFn({
16223
+ regular: {
16224
+ singularNominative: '{{count}} неделя',
16225
+ singularGenitive: '{{count}} недели',
16226
+ pluralGenitive: '{{count}} недель'
16227
+ }
16228
+ }),
16229
+ aboutXMonths: buildLocalizeTokenFn({
16230
+ regular: {
16231
+ singularNominative: 'около {{count}} месяца',
16232
+ singularGenitive: 'около {{count}} месяцев',
16233
+ pluralGenitive: 'около {{count}} месяцев'
16234
+ },
16235
+ future: {
16236
+ singularNominative: 'приблизительно через {{count}} месяц',
16237
+ singularGenitive: 'приблизительно через {{count}} месяца',
16238
+ pluralGenitive: 'приблизительно через {{count}} месяцев'
16239
+ }
16240
+ }),
16241
+ xMonths: buildLocalizeTokenFn({
16242
+ regular: {
16243
+ singularNominative: '{{count}} месяц',
16244
+ singularGenitive: '{{count}} месяца',
16245
+ pluralGenitive: '{{count}} месяцев'
16246
+ }
16247
+ }),
16248
+ aboutXYears: buildLocalizeTokenFn({
16249
+ regular: {
16250
+ singularNominative: 'около {{count}} года',
16251
+ singularGenitive: 'около {{count}} лет',
16252
+ pluralGenitive: 'около {{count}} лет'
16253
+ },
16254
+ future: {
16255
+ singularNominative: 'приблизительно через {{count}} год',
16256
+ singularGenitive: 'приблизительно через {{count}} года',
16257
+ pluralGenitive: 'приблизительно через {{count}} лет'
16258
+ }
16259
+ }),
16260
+ xYears: buildLocalizeTokenFn({
16261
+ regular: {
16262
+ singularNominative: '{{count}} год',
16263
+ singularGenitive: '{{count}} года',
16264
+ pluralGenitive: '{{count}} лет'
16265
+ }
16266
+ }),
16267
+ overXYears: buildLocalizeTokenFn({
16268
+ regular: {
16269
+ singularNominative: 'больше {{count}} года',
16270
+ singularGenitive: 'больше {{count}} лет',
16271
+ pluralGenitive: 'больше {{count}} лет'
16272
+ },
16273
+ future: {
16274
+ singularNominative: 'больше, чем через {{count}} год',
16275
+ singularGenitive: 'больше, чем через {{count}} года',
16276
+ pluralGenitive: 'больше, чем через {{count}} лет'
16277
+ }
16278
+ }),
16279
+ almostXYears: buildLocalizeTokenFn({
16280
+ regular: {
16281
+ singularNominative: 'почти {{count}} год',
16282
+ singularGenitive: 'почти {{count}} года',
16283
+ pluralGenitive: 'почти {{count}} лет'
16284
+ },
16285
+ future: {
16286
+ singularNominative: 'почти через {{count}} год',
16287
+ singularGenitive: 'почти через {{count}} года',
16288
+ pluralGenitive: 'почти через {{count}} лет'
16289
+ }
16290
+ })
16291
+ };
16292
+ function formatDistance$1(token, count, options) {
16293
+ options = options || {};
16294
+ return formatDistanceLocale[token](count, options);
16295
+ }
16296
+
16297
+ var dateFormats = {
16298
+ full: "EEEE, d MMMM y 'г.'",
16299
+ long: "d MMMM y 'г.'",
16300
+ medium: "d MMM y 'г.'",
16301
+ short: 'dd.MM.y'
16302
+ };
16303
+ var timeFormats = {
16304
+ full: 'H:mm:ss zzzz',
16305
+ long: 'H:mm:ss z',
16306
+ medium: 'H:mm:ss',
16307
+ short: 'H:mm'
16308
+ };
16309
+ var dateTimeFormats = {
16310
+ any: '{{date}}, {{time}}'
16311
+ };
16312
+ var formatLong$1 = {
16313
+ date: buildFormatLongFn$1({
16314
+ formats: dateFormats,
16315
+ defaultWidth: 'full'
16316
+ }),
16317
+ time: buildFormatLongFn$1({
16318
+ formats: timeFormats,
16319
+ defaultWidth: 'full'
16320
+ }),
16321
+ dateTime: buildFormatLongFn$1({
16322
+ formats: dateTimeFormats,
16323
+ defaultWidth: 'any'
16324
+ })
16325
+ };
16326
+
16327
+ function requiredArgs$1(required, args) {
16328
+ if (args.length < required) {
16329
+ throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
16330
+ }
16331
+ }
16332
+
16333
+ /**
16334
+ * @name toDate
16335
+ * @category Common Helpers
16336
+ * @summary Convert the given argument to an instance of Date.
16337
+ *
16338
+ * @description
16339
+ * Convert the given argument to an instance of Date.
16340
+ *
16341
+ * If the argument is an instance of Date, the function returns its clone.
16342
+ *
16343
+ * If the argument is a number, it is treated as a timestamp.
16344
+ *
16345
+ * If the argument is none of the above, the function returns Invalid Date.
16346
+ *
16347
+ * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
16348
+ *
16349
+ * @param {Date|Number} argument - the value to convert
16350
+ * @returns {Date} the parsed date in the local time zone
16351
+ * @throws {TypeError} 1 argument required
16352
+ *
16353
+ * @example
16354
+ * // Clone the date:
16355
+ * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
16356
+ * //=> Tue Feb 11 2014 11:30:30
16357
+ *
16358
+ * @example
16359
+ * // Convert the timestamp to date:
16360
+ * const result = toDate(1392098430000)
16361
+ * //=> Tue Feb 11 2014 11:30:30
16362
+ */
16363
+
16364
+ function toDate$2(argument) {
16365
+ requiredArgs$1(1, arguments);
16366
+ var argStr = Object.prototype.toString.call(argument); // Clone the date
16367
+
16368
+ if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
16369
+ // Prevent the date to lose the milliseconds when passed to new Date() in IE10
16370
+ return new Date(argument.getTime());
16371
+ } else if (typeof argument === 'number' || argStr === '[object Number]') {
16372
+ return new Date(argument);
16373
+ } else {
16374
+ if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
16375
+ // eslint-disable-next-line no-console
16376
+ console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
16377
+
16378
+ console.warn(new Error().stack);
16379
+ }
16380
+ return new Date(NaN);
16381
+ }
16382
+ }
16383
+
16384
+ function toInteger$3(dirtyNumber) {
16385
+ if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
16386
+ return NaN;
16387
+ }
16388
+ var number = Number(dirtyNumber);
16389
+ if (isNaN(number)) {
16390
+ return number;
16391
+ }
16392
+ return number < 0 ? Math.ceil(number) : Math.floor(number);
16393
+ }
16394
+
16395
+ // See issue: https://github.com/date-fns/date-fns/issues/376
16396
+
16397
+ function startOfUTCWeek$1(dirtyDate, dirtyOptions) {
16398
+ requiredArgs$1(1, arguments);
16399
+ var options = dirtyOptions || {};
16400
+ var locale = options.locale;
16401
+ var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
16402
+ var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger$3(localeWeekStartsOn);
16403
+ var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger$3(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
16404
+
16405
+ if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
16406
+ throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
16407
+ }
16408
+ var date = toDate$2(dirtyDate);
16409
+ var day = date.getUTCDay();
16410
+ var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
16411
+ date.setUTCDate(date.getUTCDate() - diff);
16412
+ date.setUTCHours(0, 0, 0, 0);
16413
+ return date;
16414
+ }
16415
+
16416
+ // See issue: https://github.com/date-fns/date-fns/issues/376
16417
+
16418
+ function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) {
16419
+ requiredArgs$1(2, arguments);
16420
+ var dateLeftStartOfWeek = startOfUTCWeek$1(dirtyDateLeft, options);
16421
+ var dateRightStartOfWeek = startOfUTCWeek$1(dirtyDateRight, options);
16422
+ return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();
16423
+ }
16424
+
16425
+ var accusativeWeekdays = ['воскресенье', 'понедельник', 'вторник', 'среду', 'четверг', 'пятницу', 'субботу'];
16426
+ function lastWeek(day) {
16427
+ var weekday = accusativeWeekdays[day];
16428
+ switch (day) {
16429
+ case 0:
16430
+ return "'в прошлое " + weekday + " в' p";
16431
+ case 1:
16432
+ case 2:
16433
+ case 4:
16434
+ return "'в прошлый " + weekday + " в' p";
16435
+ case 3:
16436
+ case 5:
16437
+ case 6:
16438
+ return "'в прошлую " + weekday + " в' p";
16439
+ }
16440
+ }
16441
+ function thisWeek(day) {
16442
+ var weekday = accusativeWeekdays[day];
16443
+ if (day === 2
16444
+ /* Tue */) {
16445
+ return "'во " + weekday + " в' p";
16446
+ } else {
16447
+ return "'в " + weekday + " в' p";
16448
+ }
16449
+ }
16450
+ function nextWeek(day) {
16451
+ var weekday = accusativeWeekdays[day];
16452
+ switch (day) {
16453
+ case 0:
16454
+ return "'в следующее " + weekday + " в' p";
16455
+ case 1:
16456
+ case 2:
16457
+ case 4:
16458
+ return "'в следующий " + weekday + " в' p";
16459
+ case 3:
16460
+ case 5:
16461
+ case 6:
16462
+ return "'в следующую " + weekday + " в' p";
16463
+ }
16464
+ }
16465
+ var formatRelativeLocale = {
16466
+ lastWeek: function (date, baseDate, options) {
16467
+ var day = date.getUTCDay();
16468
+ if (isSameUTCWeek(date, baseDate, options)) {
16469
+ return thisWeek(day);
16470
+ } else {
16471
+ return lastWeek(day);
16472
+ }
16473
+ },
16474
+ yesterday: "'вчера в' p",
16475
+ today: "'сегодня в' p",
16476
+ tomorrow: "'завтра в' p",
16477
+ nextWeek: function (date, baseDate, options) {
16478
+ var day = date.getUTCDay();
16479
+ if (isSameUTCWeek(date, baseDate, options)) {
16480
+ return thisWeek(day);
16481
+ } else {
16482
+ return nextWeek(day);
16483
+ }
16484
+ },
16485
+ other: 'P'
16486
+ };
16487
+ function formatRelative$1(token, date, baseDate, options) {
16488
+ var format = formatRelativeLocale[token];
16489
+ if (typeof format === 'function') {
16490
+ return format(date, baseDate, options);
16491
+ }
16492
+ return format;
16493
+ }
16494
+
16495
+ var eraValues = {
16496
+ narrow: ['до н.э.', 'н.э.'],
16497
+ abbreviated: ['до н. э.', 'н. э.'],
16498
+ wide: ['до нашей эры', 'нашей эры']
16499
+ };
16500
+ var quarterValues = {
16501
+ narrow: ['1', '2', '3', '4'],
16502
+ abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'],
16503
+ wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал']
16504
+ };
16505
+ var monthValues = {
16506
+ narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
16507
+ abbreviated: ['янв.', 'фев.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'],
16508
+ wide: ['январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь']
16509
+ };
16510
+ var formattingMonthValues = {
16511
+ narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
16512
+ abbreviated: ['янв.', 'фев.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'],
16513
+ wide: ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря']
16514
+ };
16515
+ var dayValues = {
16516
+ narrow: ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'],
16517
+ short: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
16518
+ abbreviated: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'суб'],
16519
+ wide: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота']
16520
+ };
16521
+ var dayPeriodValues = {
16522
+ narrow: {
16523
+ am: 'ДП',
16524
+ pm: 'ПП',
16525
+ midnight: 'полн.',
16526
+ noon: 'полд.',
16527
+ morning: 'утро',
16528
+ afternoon: 'день',
16529
+ evening: 'веч.',
16530
+ night: 'ночь'
16531
+ },
16532
+ abbreviated: {
16533
+ am: 'ДП',
16534
+ pm: 'ПП',
16535
+ midnight: 'полн.',
16536
+ noon: 'полд.',
16537
+ morning: 'утро',
16538
+ afternoon: 'день',
16539
+ evening: 'веч.',
16540
+ night: 'ночь'
16541
+ },
16542
+ wide: {
16543
+ am: 'ДП',
16544
+ pm: 'ПП',
16545
+ midnight: 'полночь',
16546
+ noon: 'полдень',
16547
+ morning: 'утро',
16548
+ afternoon: 'день',
16549
+ evening: 'вечер',
16550
+ night: 'ночь'
16551
+ }
16552
+ };
16553
+ var formattingDayPeriodValues = {
16554
+ narrow: {
16555
+ am: 'ДП',
16556
+ pm: 'ПП',
16557
+ midnight: 'полн.',
16558
+ noon: 'полд.',
16559
+ morning: 'утра',
16560
+ afternoon: 'дня',
16561
+ evening: 'веч.',
16562
+ night: 'ночи'
16563
+ },
16564
+ abbreviated: {
16565
+ am: 'ДП',
16566
+ pm: 'ПП',
16567
+ midnight: 'полн.',
16568
+ noon: 'полд.',
16569
+ morning: 'утра',
16570
+ afternoon: 'дня',
16571
+ evening: 'веч.',
16572
+ night: 'ночи'
16573
+ },
16574
+ wide: {
16575
+ am: 'ДП',
16576
+ pm: 'ПП',
16577
+ midnight: 'полночь',
16578
+ noon: 'полдень',
16579
+ morning: 'утра',
16580
+ afternoon: 'дня',
16581
+ evening: 'вечера',
16582
+ night: 'ночи'
16583
+ }
16584
+ };
16585
+ function ordinalNumber(dirtyNumber, dirtyOptions) {
16586
+ var options = dirtyOptions || {};
16587
+ var unit = String(options.unit);
16588
+ var suffix;
16589
+ if (unit === 'date') {
16590
+ suffix = '-е';
16591
+ } else if (unit === 'week' || unit === 'minute' || unit === 'second') {
16592
+ suffix = '-я';
16593
+ } else {
16594
+ suffix = '-й';
16595
+ }
16596
+ return dirtyNumber + suffix;
16597
+ }
16598
+ var localize$1 = {
16599
+ ordinalNumber: ordinalNumber,
16600
+ era: buildLocalizeFn$1({
16601
+ values: eraValues,
16602
+ defaultWidth: 'wide'
16603
+ }),
16604
+ quarter: buildLocalizeFn$1({
16605
+ values: quarterValues,
16606
+ defaultWidth: 'wide',
16607
+ argumentCallback: function (quarter) {
16608
+ return Number(quarter) - 1;
16609
+ }
16610
+ }),
16611
+ month: buildLocalizeFn$1({
16612
+ values: monthValues,
16613
+ defaultWidth: 'wide',
16614
+ formattingValues: formattingMonthValues,
16615
+ defaultFormattingWidth: 'wide'
16616
+ }),
16617
+ day: buildLocalizeFn$1({
16618
+ values: dayValues,
16619
+ defaultWidth: 'wide'
16620
+ }),
16621
+ dayPeriod: buildLocalizeFn$1({
16622
+ values: dayPeriodValues,
16623
+ defaultWidth: 'any',
16624
+ formattingValues: formattingDayPeriodValues,
16625
+ defaultFormattingWidth: 'wide'
16626
+ })
16627
+ };
16628
+
16629
+ var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i;
16630
+ var parseOrdinalNumberPattern = /\d+/i;
16631
+ var matchEraPatterns = {
16632
+ narrow: /^((до )?н\.?\s?э\.?)/i,
16633
+ abbreviated: /^((до )?н\.?\s?э\.?)/i,
16634
+ wide: /^(до нашей эры|нашей эры|наша эра)/i
16635
+ };
16636
+ var parseEraPatterns = {
16637
+ any: [/^д/i, /^н/i]
16638
+ };
16639
+ var matchQuarterPatterns = {
16640
+ narrow: /^[1234]/i,
16641
+ abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i,
16642
+ wide: /^[1234](-?[ыои]?й?)? квартал/i
16643
+ };
16644
+ var parseQuarterPatterns = {
16645
+ any: [/1/i, /2/i, /3/i, /4/i]
16646
+ };
16647
+ var matchMonthPatterns = {
16648
+ narrow: /^[яфмаисонд]/i,
16649
+ abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,
16650
+ wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i
16651
+ };
16652
+ var parseMonthPatterns = {
16653
+ narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^я/i],
16654
+ any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i]
16655
+ };
16656
+ var matchDayPatterns = {
16657
+ narrow: /^[впсч]/i,
16658
+ short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,
16659
+ abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,
16660
+ wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i
16661
+ };
16662
+ var parseDayPatterns = {
16663
+ narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],
16664
+ any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]
16665
+ };
16666
+ var matchDayPeriodPatterns = {
16667
+ narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,
16668
+ abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,
16669
+ wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i
16670
+ };
16671
+ var parseDayPeriodPatterns = {
16672
+ any: {
16673
+ am: /^дп/i,
16674
+ pm: /^пп/i,
16675
+ midnight: /^полн/i,
16676
+ noon: /^полд/i,
16677
+ morning: /^у/i,
16678
+ afternoon: /^д[ен]/i,
16679
+ evening: /^в/i,
16680
+ night: /^н/i
16681
+ }
16682
+ };
15850
16683
  var match$1 = {
15851
16684
  ordinalNumber: buildMatchPatternFn$1({
15852
16685
  matchPattern: matchOrdinalNumberPattern,
@@ -15884,7 +16717,7 @@
15884
16717
  }),
15885
16718
  dayPeriod: buildMatchFn$1({
15886
16719
  matchPatterns: matchDayPeriodPatterns,
15887
- defaultMatchWidth: 'any',
16720
+ defaultMatchWidth: 'wide',
15888
16721
  parsePatterns: parseDayPeriodPatterns,
15889
16722
  defaultParseWidth: 'any'
15890
16723
  })
@@ -15893,29 +16726,30 @@
15893
16726
  /**
15894
16727
  * @type {Locale}
15895
16728
  * @category Locales
15896
- * @summary English locale (United States).
15897
- * @language English
15898
- * @iso-639-2 eng
16729
+ * @summary Russian locale.
16730
+ * @language Russian
16731
+ * @iso-639-2 rus
15899
16732
  * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}
15900
16733
  * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}
15901
16734
  */
16735
+
15902
16736
  var locale = {
15903
- code: 'en-US',
16737
+ code: 'ru',
15904
16738
  formatDistance: formatDistance$1,
15905
16739
  formatLong: formatLong$1,
15906
16740
  formatRelative: formatRelative$1,
15907
16741
  localize: localize$1,
15908
16742
  match: match$1,
15909
16743
  options: {
15910
- weekStartsOn: 0
15911
- /* Sunday */,
16744
+ weekStartsOn: 1
16745
+ /* Monday */,
15912
16746
 
15913
16747
  firstWeekContainsDate: 1
15914
16748
  }
15915
16749
  };
15916
16750
 
15917
- const dateEnUs = {
15918
- name: "en-US",
16751
+ const dateRuRU = {
16752
+ name: "ru-RU",
15919
16753
  locale: locale
15920
16754
  };
15921
16755
 
@@ -26299,41 +27133,63 @@
26299
27133
  }
26300
27134
  }
26301
27135
  };
26302
- const variantWeights = {
26303
- display: ["", "medium", "semi-bold", "bold"],
26304
- heading: ["medium", "semi-bold", "bold"],
26305
- title: ["medium", "semi-bold", "bold"],
26306
- body: ["medium", "semi-bold", "bold"]
26307
- };
27136
+ const weightOrder = ["", "thin", "extra-light", "light", "normal", "medium", "semi-bold", "bold", "extra-bold", "black"];
26308
27137
  const fontWeights = {
27138
+ thin: {
27139
+ weight: "100",
27140
+ style: "normal"
27141
+ },
27142
+ "extra-light": {
27143
+ weight: "200",
27144
+ style: "normal"
27145
+ },
27146
+ light: {
27147
+ weight: "300",
27148
+ style: "normal"
27149
+ },
27150
+ normal: {
27151
+ weight: "400",
27152
+ style: "normal"
27153
+ },
26309
27154
  medium: {
26310
27155
  weight: "500",
26311
- style: "medium"
27156
+ style: "normal"
26312
27157
  },
26313
27158
  "semi-bold": {
26314
27159
  weight: "600",
26315
- style: "semibold"
27160
+ style: "normal"
26316
27161
  },
26317
27162
  bold: {
26318
27163
  weight: "700",
26319
- style: "bold"
27164
+ style: "normal"
27165
+ },
27166
+ "extra-bold": {
27167
+ weight: "800",
27168
+ style: "normal"
27169
+ },
27170
+ black: {
27171
+ weight: "900",
27172
+ style: "normal"
26320
27173
  },
26321
27174
  "": {
26322
27175
  weight: "700",
26323
- style: "bold"
27176
+ style: "normal"
26324
27177
  }
26325
27178
  };
26326
27179
  function createVariant(options, category, size, weight) {
26327
27180
  const base = options?.[category]?.[size] ?? defaultVariantOptions[category]?.[size];
27181
+ const effectiveWeight = weight === "" ? base?.defaultFontWeight ?? "" : weight;
26328
27182
  const {
26329
27183
  weight: fontWeight,
26330
27184
  style: fontStyle
26331
- } = fontWeights[weight];
27185
+ } = fontWeights[effectiveWeight] || fontWeights[""];
27186
+ const resolvedFontFamily = base.fontFamily ?? fontFamily;
27187
+ const resolvedFontStyle = base.fontStyle ?? fontStyle;
26332
27188
  return {
26333
- fontFamily,
27189
+ fontFamily: resolvedFontFamily,
26334
27190
  fontSize: base.fontSize,
26335
27191
  fontWeight,
26336
- fontStyle,
27192
+ fontStyle: resolvedFontStyle,
26337
27193
  lineHeight: base.lineHeight,
26338
27194
  letterSpacing: base.letterSpacing,
26339
27195
  tag: base.tag
@@ -26352,30 +27208,11 @@
26352
27208
  });
26353
27209
  return mergedOptions;
26354
27210
  }
26355
- function mergeVariantWeights(variantWeightsOptions) {
26356
- if (!variantWeightsOptions) return variantWeights;
26357
- const mergedWeights = {};
26358
- const categories = /* @__PURE__ */new Set([...Object.keys(variantWeights), ...Object.keys(variantWeightsOptions)]);
26359
- categories.forEach(category => {
26360
- const defaultWeights = variantWeights[category] || [];
26361
- const customWeights = variantWeightsOptions[category] || [];
26362
- const combined = [...defaultWeights];
26363
- customWeights.forEach(weight => {
26364
- if (!combined.includes(weight)) {
26365
- combined.push(weight);
26366
- }
26367
- });
26368
- mergedWeights[category] = combined;
26369
- });
26370
- return mergedWeights;
26371
- }
26372
- function createVariantToCssVars(variantOptions, variantWeightsOptions) {
27211
+ function createVariantToCssVars(variantOptions) {
26373
27212
  const configs = {};
26374
- const mergedWeights = mergeVariantWeights(variantWeightsOptions);
26375
27213
  Object.entries(variantOptions).forEach(([category, sizes]) => {
26376
- const weights = mergedWeights[category] || [];
26377
27214
  Object.keys(sizes).forEach(size => {
26378
- weights.forEach(weight => {
27215
+ weightOrder.forEach(weight => {
26379
27216
  const variantKey = `${category}-${size}${weight ? `-${weight}` : ""}`;
26380
27217
  configs[variantKey] = createVariant(variantOptions, category, size, weight);
26381
27218
  });
@@ -26383,16 +27220,16 @@
26383
27220
  });
26384
27221
  return configs;
26385
27222
  }
26386
- function resolveVariantConfigs(variantOptions, variantWeightsOptions) {
27223
+ function resolveVariantConfigs(variantOptions) {
26387
27224
  const hasCustomOptions = variantOptions && Object.keys(variantOptions).length > 0;
26388
- const hasCustomWeights = variantWeightsOptions && Object.keys(variantWeightsOptions).length > 0;
26389
- if (!hasCustomOptions && !hasCustomWeights) {
27225
+ if (!hasCustomOptions) {
26390
27226
  return variantToCssVars;
26391
27227
  }
26392
- return createVariantToCssVars(mergeVariantOptions(variantOptions), variantWeightsOptions);
27228
+ const mergedOptions = mergeVariantOptions(variantOptions);
27229
+ return createVariantToCssVars(mergedOptions);
26393
27230
  }
26394
- function getVariantCssVars(variant, baseVars, fontFamilyVariant, variantOptions, variantWeightsOptions) {
26395
- const variantStyles = variant ? resolveVariantConfigs(variantOptions, variantWeightsOptions)[variant] : void 0;
27231
+ function getVariantCssVars(variant, baseVars, fontFamilyVariant, variantOptions) {
27232
+ const variantStyles = variant ? resolveVariantConfigs(variantOptions)[variant] : void 0;
26396
27233
  if (!variantStyles) {
26397
27234
  return baseVars;
26398
27235
  }
@@ -26407,10 +27244,10 @@
26407
27244
  "--u-variant-letter-spacing": variantStyles.letterSpacing
26408
27245
  };
26409
27246
  }
26410
- function getVariantTag(variant, variantOptions, variantWeightsOptions) {
26411
- return resolveVariantConfigs(variantOptions, variantWeightsOptions)[variant]?.tag;
27247
+ function getVariantTag(variant, variantOptions) {
27248
+ return resolveVariantConfigs(variantOptions)[variant]?.tag;
26412
27249
  }
26413
- const variantToCssVars = createVariantToCssVars(defaultVariantOptions, variantWeights);
27250
+ const variantToCssVars = createVariantToCssVars(defaultVariantOptions);
26414
27251
 
26415
27252
  const internalTextProps = {
26416
27253
  ...useTheme.props,
@@ -26438,6 +27275,9 @@
26438
27275
  type: Object,
26439
27276
  default: () => ({})
26440
27277
  },
27278
+ /**
27279
+ * @deprecated Weight options are fixed internally; kept for backwards compatibility.
27280
+ */
26441
27281
  variantWeightsOptions: {
26442
27282
  type: Object,
26443
27283
  default: () => ({})
@@ -26502,8 +27342,7 @@
26502
27342
  variant,
26503
27343
  baseVars,
26504
27344
  fontFamilyWixMadeforDisplay,
26505
- props.variantOptions,
26506
- props.variantWeightsOptions
27345
+ props.variantOptions
26507
27346
  );
26508
27347
  });
26509
27348
  const themeClassHandle = inlineThemeDisabled ? useThemeClass(
@@ -26512,11 +27351,7 @@
26512
27351
  cssVarsRef,
26513
27352
  props
26514
27353
  ) : void 0;
26515
- const tagToRender = props.tag || props.variant && getVariantTag(
26516
- props.variant,
26517
- props.variantOptions,
26518
- props.variantWeightsOptions
26519
- ) || "span";
27354
+ const tagToRender = props.tag || props.variant && getVariantTag(props.variant, props.variantOptions) || "span";
26520
27355
  return {
26521
27356
  mergedClsPrefix: mergedClsPrefixRef,
26522
27357
  tagToRender,
@@ -33793,74 +34628,6 @@
33793
34628
  }
33794
34629
  });
33795
34630
 
33796
- function toInteger$3(dirtyNumber) {
33797
- if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
33798
- return NaN;
33799
- }
33800
- var number = Number(dirtyNumber);
33801
- if (isNaN(number)) {
33802
- return number;
33803
- }
33804
- return number < 0 ? Math.ceil(number) : Math.floor(number);
33805
- }
33806
-
33807
- function requiredArgs$1(required, args) {
33808
- if (args.length < required) {
33809
- throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
33810
- }
33811
- }
33812
-
33813
- /**
33814
- * @name toDate
33815
- * @category Common Helpers
33816
- * @summary Convert the given argument to an instance of Date.
33817
- *
33818
- * @description
33819
- * Convert the given argument to an instance of Date.
33820
- *
33821
- * If the argument is an instance of Date, the function returns its clone.
33822
- *
33823
- * If the argument is a number, it is treated as a timestamp.
33824
- *
33825
- * If the argument is none of the above, the function returns Invalid Date.
33826
- *
33827
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
33828
- *
33829
- * @param {Date|Number} argument - the value to convert
33830
- * @returns {Date} the parsed date in the local time zone
33831
- * @throws {TypeError} 1 argument required
33832
- *
33833
- * @example
33834
- * // Clone the date:
33835
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
33836
- * //=> Tue Feb 11 2014 11:30:30
33837
- *
33838
- * @example
33839
- * // Convert the timestamp to date:
33840
- * const result = toDate(1392098430000)
33841
- * //=> Tue Feb 11 2014 11:30:30
33842
- */
33843
-
33844
- function toDate$2(argument) {
33845
- requiredArgs$1(1, arguments);
33846
- var argStr = Object.prototype.toString.call(argument); // Clone the date
33847
-
33848
- if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
33849
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
33850
- return new Date(argument.getTime());
33851
- } else if (typeof argument === 'number' || argStr === '[object Number]') {
33852
- return new Date(argument);
33853
- } else {
33854
- if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
33855
- // eslint-disable-next-line no-console
33856
- console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
33857
-
33858
- console.warn(new Error().stack);
33859
- }
33860
- return new Date(NaN);
33861
- }
33862
- }
33863
-
33864
34631
  /**
33865
34632
  * @name addDays
33866
34633
  * @category Day Helpers
@@ -34589,27 +35356,6 @@
34589
35356
 
34590
35357
  // See issue: https://github.com/date-fns/date-fns/issues/376
34591
35358
 
34592
- function startOfUTCWeek$1(dirtyDate, dirtyOptions) {
34593
- requiredArgs$1(1, arguments);
34594
- var options = dirtyOptions || {};
34595
- var locale = options.locale;
34596
- var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
34597
- var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger$3(localeWeekStartsOn);
34598
- var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger$3(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
34599
-
34600
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
34601
- throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
34602
- }
34603
- var date = toDate$2(dirtyDate);
34604
- var day = date.getUTCDay();
34605
- var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
34606
- date.setUTCDate(date.getUTCDate() - diff);
34607
- date.setUTCHours(0, 0, 0, 0);
34608
- return date;
34609
- }
34610
-
34611
- // See issue: https://github.com/date-fns/date-fns/issues/376
34612
-
34613
35359
  function getUTCWeekYear$1(dirtyDate, dirtyOptions) {
34614
35360
  requiredArgs$1(1, arguments);
34615
35361
  var date = toDate$2(dirtyDate);
@@ -35997,25 +36743,25 @@
35997
36743
  requiredArgs$1(2, arguments);
35998
36744
  var formatStr = String(dirtyFormatStr);
35999
36745
  var options = dirtyOptions || {};
36000
- var locale$1 = options.locale || locale;
36001
- var localeFirstWeekContainsDate = locale$1.options && locale$1.options.firstWeekContainsDate;
36746
+ var locale = options.locale || locale$1;
36747
+ var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
36002
36748
  var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger$3(localeFirstWeekContainsDate);
36003
36749
  var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger$3(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
36004
36750
 
36005
36751
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
36006
36752
  throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
36007
36753
  }
36008
- var localeWeekStartsOn = locale$1.options && locale$1.options.weekStartsOn;
36754
+ var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
36009
36755
  var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger$3(localeWeekStartsOn);
36010
36756
  var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger$3(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
36011
36757
 
36012
36758
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
36013
36759
  throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
36014
36760
  }
36015
- if (!locale$1.localize) {
36761
+ if (!locale.localize) {
36016
36762
  throw new RangeError('locale must contain localize property');
36017
36763
  }
36018
- if (!locale$1.formatLong) {
36764
+ if (!locale.formatLong) {
36019
36765
  throw new RangeError('locale must contain formatLong property');
36020
36766
  }
36021
36767
  var originalDate = toDate$2(dirtyDate);
@@ -36030,14 +36776,14 @@
36030
36776
  var formatterOptions = {
36031
36777
  firstWeekContainsDate: firstWeekContainsDate,
36032
36778
  weekStartsOn: weekStartsOn,
36033
- locale: locale$1,
36779
+ locale: locale,
36034
36780
  _originalDate: originalDate
36035
36781
  };
36036
36782
  var result = formatStr.match(longFormattingTokensRegExp$1).map(function (substring) {
36037
36783
  var firstCharacter = substring[0];
36038
36784
  if (firstCharacter === 'p' || firstCharacter === 'P') {
36039
36785
  var longFormatter = longFormatters$1[firstCharacter];
36040
- return longFormatter(substring, locale$1.formatLong, formatterOptions);
36786
+ return longFormatter(substring, locale.formatLong, formatterOptions);
36041
36787
  }
36042
36788
  return substring;
36043
36789
  }).join('').match(formattingTokensRegExp$1).map(function (substring) {
@@ -36057,7 +36803,7 @@
36057
36803
  if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken$1(substring)) {
36058
36804
  throwProtectedError$1(substring, dirtyFormatStr, dirtyDate);
36059
36805
  }
36060
- return formatter(utcDate, substring, locale$1.localize, formatterOptions);
36806
+ return formatter(utcDate, substring, locale.localize, formatterOptions);
36061
36807
  }
36062
36808
  if (firstCharacter.match(unescapedLatinCharacterRegExp$1)) {
36063
36809
  throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
@@ -36245,8 +36991,8 @@
36245
36991
  function formatDistanceStrict(dirtyDate, dirtyBaseDate) {
36246
36992
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
36247
36993
  requiredArgs$1(2, arguments);
36248
- var locale$1 = options.locale || locale;
36249
- if (!locale$1.formatDistance) {
36994
+ var locale = options.locale || locale$1;
36995
+ if (!locale.formatDistance) {
36250
36996
  throw new RangeError('locale must contain localize.formatDistance property');
36251
36997
  }
36252
36998
  var comparison = compareAsc(dirtyDate, dirtyBaseDate);
@@ -36303,22 +37049,22 @@
36303
37049
 
36304
37050
  if (unit === 'second') {
36305
37051
  var seconds = roundingMethodFn(milliseconds / 1000);
36306
- return locale$1.formatDistance('xSeconds', seconds, localizeOptions); // 1 up to 60 mins
37052
+ return locale.formatDistance('xSeconds', seconds, localizeOptions); // 1 up to 60 mins
36307
37053
  } else if (unit === 'minute') {
36308
37054
  var roundedMinutes = roundingMethodFn(minutes);
36309
- return locale$1.formatDistance('xMinutes', roundedMinutes, localizeOptions); // 1 up to 24 hours
37055
+ return locale.formatDistance('xMinutes', roundedMinutes, localizeOptions); // 1 up to 24 hours
36310
37056
  } else if (unit === 'hour') {
36311
37057
  var hours = roundingMethodFn(minutes / 60);
36312
- return locale$1.formatDistance('xHours', hours, localizeOptions); // 1 up to 30 days
37058
+ return locale.formatDistance('xHours', hours, localizeOptions); // 1 up to 30 days
36313
37059
  } else if (unit === 'day') {
36314
37060
  var days = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_DAY);
36315
- return locale$1.formatDistance('xDays', days, localizeOptions); // 1 up to 12 months
37061
+ return locale.formatDistance('xDays', days, localizeOptions); // 1 up to 12 months
36316
37062
  } else if (unit === 'month') {
36317
37063
  var months = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_MONTH);
36318
- return months === 12 && options.unit !== 'month' ? locale$1.formatDistance('xYears', 1, localizeOptions) : locale$1.formatDistance('xMonths', months, localizeOptions); // 1 year up to max Date
37064
+ return months === 12 && options.unit !== 'month' ? locale.formatDistance('xYears', 1, localizeOptions) : locale.formatDistance('xMonths', months, localizeOptions); // 1 year up to max Date
36319
37065
  } else if (unit === 'year') {
36320
37066
  var years = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_YEAR);
36321
- return locale$1.formatDistance('xYears', years, localizeOptions);
37067
+ return locale.formatDistance('xYears', years, localizeOptions);
36322
37068
  }
36323
37069
  throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
36324
37070
  }
@@ -38428,18 +39174,18 @@
38428
39174
  var dateString = String(dirtyDateString);
38429
39175
  var formatString = String(dirtyFormatString);
38430
39176
  var options = dirtyOptions || {};
38431
- var locale$1 = options.locale || locale;
38432
- if (!locale$1.match) {
39177
+ var locale = options.locale || locale$1;
39178
+ if (!locale.match) {
38433
39179
  throw new RangeError('locale must contain match property');
38434
39180
  }
38435
- var localeFirstWeekContainsDate = locale$1.options && locale$1.options.firstWeekContainsDate;
39181
+ var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
38436
39182
  var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger$3(localeFirstWeekContainsDate);
38437
39183
  var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger$3(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
38438
39184
 
38439
39185
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
38440
39186
  throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
38441
39187
  }
38442
- var localeWeekStartsOn = locale$1.options && locale$1.options.weekStartsOn;
39188
+ var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
38443
39189
  var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger$3(localeWeekStartsOn);
38444
39190
  var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger$3(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
38445
39191
 
@@ -38456,7 +39202,7 @@
38456
39202
  var subFnOptions = {
38457
39203
  firstWeekContainsDate: firstWeekContainsDate,
38458
39204
  weekStartsOn: weekStartsOn,
38459
- locale: locale$1
39205
+ locale: locale
38460
39206
  }; // If timezone isn't specified, it will be set to the system timezone
38461
39207
 
38462
39208
  var setters = [{
@@ -38470,7 +39216,7 @@
38470
39216
  var firstCharacter = substring[0];
38471
39217
  if (firstCharacter === 'p' || firstCharacter === 'P') {
38472
39218
  var longFormatter = longFormatters$1[firstCharacter];
38473
- return longFormatter(substring, locale$1.formatLong, subFnOptions);
39219
+ return longFormatter(substring, locale.formatLong, subFnOptions);
38474
39220
  }
38475
39221
  return substring;
38476
39222
  }).join('').match(formattingTokensRegExp);
@@ -38506,7 +39252,7 @@
38506
39252
  token: firstCharacter,
38507
39253
  fullToken: token
38508
39254
  });
38509
- var parseResult = parser.parse(dateString, token, locale$1.match, subFnOptions);
39255
+ var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);
38510
39256
  if (!parseResult) {
38511
39257
  return new Date(NaN);
38512
39258
  }
@@ -55890,7 +56636,7 @@
55890
56636
  multiple: true,
55891
56637
  defaultUpload: false,
55892
56638
  fileList: attachmentFileList.value,
55893
- onUpdateFileList: handleFileListUpdate,
56639
+ onUpdateFileList: !handleOnChange() ? handleFileListUpdate : void 0,
55894
56640
  ...footerUploadPropsRef.value,
55895
56641
  onChange: handleOnChange()
55896
56642
  },
@@ -127799,7 +128545,7 @@
127799
128545
  watermarkProps: watermarkProps
127800
128546
  });
127801
128547
 
127802
- var version = "1.12.4";
128548
+ var version = "1.12.6";
127803
128549
 
127804
128550
  function create({
127805
128551
  componentPrefix = "U",
@@ -128887,6 +129633,7 @@
128887
129633
  exports.dateEnUS = dateEnUs;
128888
129634
  exports.datePickerDark = datePickerDark;
128889
129635
  exports.datePickerProps = datePickerProps;
129636
+ exports.dateRuRU = dateRuRU;
128890
129637
  exports.default = uzumUi;
128891
129638
  exports.descriptionsDark = descriptionsDark;
128892
129639
  exports.descriptionsItemProps = descriptionsItemProps;
@@ -129015,6 +129762,7 @@
129015
129762
  exports.resultDark = resultDark;
129016
129763
  exports.resultProps = resultProps;
129017
129764
  exports.rowProps = rowProps;
129765
+ exports.ruRU = ruRu;
129018
129766
  exports.safeTopScrollbarProps = safeTopScrollbarProps;
129019
129767
  exports.scrollbarDark = scrollbarDark;
129020
129768
  exports.scrollbarProps = scrollbarProps;