@native-systems/utility 2.2.1 → 2.3.0

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.cjs CHANGED
@@ -358,7 +358,7 @@ function _call_super$1(_this, derived, args) {
358
358
  : derived.apply(_this, args)
359
359
  );
360
360
  }
361
- function _class_call_check$6(instance, Constructor) {
361
+ function _class_call_check$a(instance, Constructor) {
362
362
  if (!(instance instanceof Constructor)) {
363
363
  throw new TypeError('Cannot call a class as a function');
364
364
  }
@@ -479,7 +479,7 @@ function _is_native_reflect_construct$1() {
479
479
  var NativeException = /*#__PURE__*/ (function (Error1) {
480
480
  _inherits$1(NativeException, Error1);
481
481
  function NativeException(code, message) {
482
- _class_call_check$6(this, NativeException);
482
+ _class_call_check$a(this, NativeException);
483
483
  var _this;
484
484
  (_this = _call_super$1(this, NativeException, [message])),
485
485
  _define_property$5(_this, 'code', void 0);
@@ -511,7 +511,7 @@ function _call_super(_this, derived, args) {
511
511
  : derived.apply(_this, args)
512
512
  );
513
513
  }
514
- function _class_call_check$5(instance, Constructor) {
514
+ function _class_call_check$9(instance, Constructor) {
515
515
  if (!(instance instanceof Constructor)) {
516
516
  throw new TypeError('Cannot call a class as a function');
517
517
  }
@@ -531,7 +531,7 @@ function _construct(Parent, args, Class) {
531
531
  }
532
532
  return _construct.apply(null, arguments);
533
533
  }
534
- function _defineProperties$5(target, props) {
534
+ function _defineProperties$9(target, props) {
535
535
  for (var i = 0; i < props.length; i++) {
536
536
  var descriptor = props[i];
537
537
  descriptor.enumerable = descriptor.enumerable || false;
@@ -540,8 +540,8 @@ function _defineProperties$5(target, props) {
540
540
  Object.defineProperty(target, descriptor.key, descriptor);
541
541
  }
542
542
  }
543
- function _create_class$5(Constructor, protoProps, staticProps) {
544
- if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
543
+ function _create_class$9(Constructor, protoProps, staticProps) {
544
+ if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
545
545
  return Constructor;
546
546
  }
547
547
  function _define_property$4(obj, key, value) {
@@ -641,7 +641,7 @@ function _is_native_reflect_construct() {
641
641
  var PgException = /*#__PURE__*/ (function (Error1) {
642
642
  _inherits(PgException, Error1);
643
643
  function PgException(err, message, specific) {
644
- _class_call_check$5(this, PgException);
644
+ _class_call_check$9(this, PgException);
645
645
  var _this;
646
646
  (_this = _call_super(this, PgException, [message])),
647
647
  _define_property$4(_this, 'err', void 0),
@@ -651,7 +651,7 @@ var PgException = /*#__PURE__*/ (function (Error1) {
651
651
  _this.specific = specific;
652
652
  return _this;
653
653
  }
654
- _create_class$5(PgException, [
654
+ _create_class$9(PgException, [
655
655
  {
656
656
  key: 'getStatus',
657
657
  value: function getStatus() {
@@ -687,12 +687,12 @@ var PgException = /*#__PURE__*/ (function (Error1) {
687
687
  return PgException;
688
688
  })(_wrap_native_super(Error));
689
689
 
690
- function _class_call_check$4(instance, Constructor) {
690
+ function _class_call_check$8(instance, Constructor) {
691
691
  if (!(instance instanceof Constructor)) {
692
692
  throw new TypeError('Cannot call a class as a function');
693
693
  }
694
694
  }
695
- function _defineProperties$4(target, props) {
695
+ function _defineProperties$8(target, props) {
696
696
  for (var i = 0; i < props.length; i++) {
697
697
  var descriptor = props[i];
698
698
  descriptor.enumerable = descriptor.enumerable || false;
@@ -701,8 +701,8 @@ function _defineProperties$4(target, props) {
701
701
  Object.defineProperty(target, descriptor.key, descriptor);
702
702
  }
703
703
  }
704
- function _create_class$4(Constructor, protoProps, staticProps) {
705
- if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
704
+ function _create_class$8(Constructor, protoProps, staticProps) {
705
+ if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
706
706
  return Constructor;
707
707
  }
708
708
  function _define_property$3(obj, key, value) {
@@ -733,7 +733,7 @@ var NO_OP = function (_message) {
733
733
  };
734
734
  var ConsoleLogger = /*#__PURE__*/ (function () {
735
735
  function ConsoleLogger(options) {
736
- _class_call_check$4(this, ConsoleLogger);
736
+ _class_call_check$8(this, ConsoleLogger);
737
737
  _define_property$3(this, 'log', void 0);
738
738
  _define_property$3(this, 'warn', void 0);
739
739
  _define_property$3(this, 'error', void 0);
@@ -758,7 +758,7 @@ var ConsoleLogger = /*#__PURE__*/ (function () {
758
758
  : NO_OP;
759
759
  this.debug = process.env.DEBUG === '1' ? console.log.bind(console) : NO_OP;
760
760
  }
761
- _create_class$4(ConsoleLogger, [
761
+ _create_class$8(ConsoleLogger, [
762
762
  {
763
763
  key: 'disable',
764
764
  value: function disable() {
@@ -809,12 +809,12 @@ var logger = new ConsoleLogger({
809
809
  level: LOG_LEVEL,
810
810
  });
811
811
 
812
- function _class_call_check$3(instance, Constructor) {
812
+ function _class_call_check$7(instance, Constructor) {
813
813
  if (!(instance instanceof Constructor)) {
814
814
  throw new TypeError('Cannot call a class as a function');
815
815
  }
816
816
  }
817
- function _defineProperties$3(target, props) {
817
+ function _defineProperties$7(target, props) {
818
818
  for (var i = 0; i < props.length; i++) {
819
819
  var descriptor = props[i];
820
820
  descriptor.enumerable = descriptor.enumerable || false;
@@ -823,15 +823,15 @@ function _defineProperties$3(target, props) {
823
823
  Object.defineProperty(target, descriptor.key, descriptor);
824
824
  }
825
825
  }
826
- function _create_class$3(Constructor, protoProps, staticProps) {
827
- if (staticProps) _defineProperties$3(Constructor, staticProps);
826
+ function _create_class$7(Constructor, protoProps, staticProps) {
827
+ if (staticProps) _defineProperties$7(Constructor, staticProps);
828
828
  return Constructor;
829
829
  }
830
830
  var HttpHandler = /*#__PURE__*/ (function () {
831
831
  function HttpHandler() {
832
- _class_call_check$3(this, HttpHandler);
832
+ _class_call_check$7(this, HttpHandler);
833
833
  }
834
- _create_class$3(HttpHandler, null, [
834
+ _create_class$7(HttpHandler, null, [
835
835
  {
836
836
  key: 'response',
837
837
  value: function response(response) {
@@ -875,12 +875,12 @@ var HttpHandler = /*#__PURE__*/ (function () {
875
875
  return HttpHandler;
876
876
  })();
877
877
 
878
- function _class_call_check$2(instance, Constructor) {
878
+ function _class_call_check$6(instance, Constructor) {
879
879
  if (!(instance instanceof Constructor)) {
880
880
  throw new TypeError('Cannot call a class as a function');
881
881
  }
882
882
  }
883
- function _defineProperties$2(target, props) {
883
+ function _defineProperties$6(target, props) {
884
884
  for (var i = 0; i < props.length; i++) {
885
885
  var descriptor = props[i];
886
886
  descriptor.enumerable = descriptor.enumerable || false;
@@ -889,8 +889,8 @@ function _defineProperties$2(target, props) {
889
889
  Object.defineProperty(target, descriptor.key, descriptor);
890
890
  }
891
891
  }
892
- function _create_class$2(Constructor, protoProps, staticProps) {
893
- if (staticProps) _defineProperties$2(Constructor, staticProps);
892
+ function _create_class$6(Constructor, protoProps, staticProps) {
893
+ if (staticProps) _defineProperties$6(Constructor, staticProps);
894
894
  return Constructor;
895
895
  }
896
896
  function _define_property$2(obj, key, value) {
@@ -908,9 +908,9 @@ function _define_property$2(obj, key, value) {
908
908
  }
909
909
  var CookieHelper = /*#__PURE__*/ (function () {
910
910
  function CookieHelper() {
911
- _class_call_check$2(this, CookieHelper);
911
+ _class_call_check$6(this, CookieHelper);
912
912
  }
913
- _create_class$2(CookieHelper, null, [
913
+ _create_class$6(CookieHelper, null, [
914
914
  {
915
915
  key: 'isProduction',
916
916
  value: function isProduction() {
@@ -1089,12 +1089,12 @@ function parseTemplate(template) {
1089
1089
  };
1090
1090
  }
1091
1091
 
1092
- function _class_call_check$1(instance, Constructor) {
1092
+ function _class_call_check$5(instance, Constructor) {
1093
1093
  if (!(instance instanceof Constructor)) {
1094
1094
  throw new TypeError('Cannot call a class as a function');
1095
1095
  }
1096
1096
  }
1097
- function _defineProperties$1(target, props) {
1097
+ function _defineProperties$5(target, props) {
1098
1098
  for (var i = 0; i < props.length; i++) {
1099
1099
  var descriptor = props[i];
1100
1100
  descriptor.enumerable = descriptor.enumerable || false;
@@ -1103,9 +1103,9 @@ function _defineProperties$1(target, props) {
1103
1103
  Object.defineProperty(target, descriptor.key, descriptor);
1104
1104
  }
1105
1105
  }
1106
- function _create_class$1(Constructor, protoProps, staticProps) {
1107
- if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
1108
- if (staticProps) _defineProperties$1(Constructor, staticProps);
1106
+ function _create_class$5(Constructor, protoProps, staticProps) {
1107
+ if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
1108
+ if (staticProps) _defineProperties$5(Constructor, staticProps);
1109
1109
  return Constructor;
1110
1110
  }
1111
1111
  function _define_property$1(obj, key, value) {
@@ -1140,14 +1140,14 @@ function _object_spread(target) {
1140
1140
  }
1141
1141
  var PatternCompiler = /*#__PURE__*/ (function () {
1142
1142
  function PatternCompiler(defaultView, installPlugins) {
1143
- _class_call_check$1(this, PatternCompiler);
1143
+ _class_call_check$5(this, PatternCompiler);
1144
1144
  _define_property$1(this, 'defaultView', void 0);
1145
1145
  _define_property$1(this, 'handlebars', void 0);
1146
1146
  this.defaultView = defaultView;
1147
1147
  this.handlebars = Handlebars.create();
1148
1148
  installPlugins(this.handlebars);
1149
1149
  }
1150
- _create_class$1(
1150
+ _create_class$5(
1151
1151
  PatternCompiler,
1152
1152
  [
1153
1153
  {
@@ -1204,12 +1204,12 @@ var stringPlugin = function (handlebars) {
1204
1204
  });
1205
1205
  };
1206
1206
 
1207
- function _class_call_check(instance, Constructor) {
1207
+ function _class_call_check$4(instance, Constructor) {
1208
1208
  if (!(instance instanceof Constructor)) {
1209
1209
  throw new TypeError('Cannot call a class as a function');
1210
1210
  }
1211
1211
  }
1212
- function _defineProperties(target, props) {
1212
+ function _defineProperties$4(target, props) {
1213
1213
  for (var i = 0; i < props.length; i++) {
1214
1214
  var descriptor = props[i];
1215
1215
  descriptor.enumerable = descriptor.enumerable || false;
@@ -1218,8 +1218,8 @@ function _defineProperties(target, props) {
1218
1218
  Object.defineProperty(target, descriptor.key, descriptor);
1219
1219
  }
1220
1220
  }
1221
- function _create_class(Constructor, protoProps, staticProps) {
1222
- if (staticProps) _defineProperties(Constructor, staticProps);
1221
+ function _create_class$4(Constructor, protoProps, staticProps) {
1222
+ if (staticProps) _defineProperties$4(Constructor, staticProps);
1223
1223
  return Constructor;
1224
1224
  }
1225
1225
  function _define_property(obj, key, value) {
@@ -1248,9 +1248,9 @@ function _instanceof(left, right) {
1248
1248
  }
1249
1249
  var DateFormatter = /*#__PURE__*/ (function () {
1250
1250
  function DateFormatter() {
1251
- _class_call_check(this, DateFormatter);
1251
+ _class_call_check$4(this, DateFormatter);
1252
1252
  }
1253
- _create_class(DateFormatter, null, [
1253
+ _create_class$4(DateFormatter, null, [
1254
1254
  {
1255
1255
  key: 'format',
1256
1256
  value: function format(date) {
@@ -1474,15 +1474,4432 @@ var userTimezonePlugin = function (handlebars, param) {
1474
1474
  );
1475
1475
  };
1476
1476
 
1477
+ function _array_like_to_array(arr, len) {
1478
+ if (len == null || len > arr.length) len = arr.length;
1479
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1480
+ return arr2;
1481
+ }
1482
+ function _array_with_holes(arr) {
1483
+ if (Array.isArray(arr)) return arr;
1484
+ }
1485
+ function _iterable_to_array_limit(arr, i) {
1486
+ var _i =
1487
+ arr == null
1488
+ ? null
1489
+ : (typeof Symbol !== 'undefined' && arr[Symbol.iterator]) ||
1490
+ arr['@@iterator'];
1491
+ if (_i == null) return;
1492
+ var _arr = [];
1493
+ var _n = true;
1494
+ var _d = false;
1495
+ var _s, _e;
1496
+ try {
1497
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
1498
+ _arr.push(_s.value);
1499
+ if (i && _arr.length === i) break;
1500
+ }
1501
+ } catch (err) {
1502
+ _d = true;
1503
+ _e = err;
1504
+ } finally {
1505
+ try {
1506
+ if (!_n && _i['return'] != null) _i['return']();
1507
+ } finally {
1508
+ if (_d) throw _e;
1509
+ }
1510
+ }
1511
+ return _arr;
1512
+ }
1513
+ function _non_iterable_rest() {
1514
+ throw new TypeError(
1515
+ 'Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
1516
+ );
1517
+ }
1518
+ function _sliced_to_array(arr, i) {
1519
+ return (
1520
+ _array_with_holes(arr) ||
1521
+ _iterable_to_array_limit(arr, i) ||
1522
+ _unsupported_iterable_to_array(arr, i) ||
1523
+ _non_iterable_rest()
1524
+ );
1525
+ }
1526
+ function _unsupported_iterable_to_array(o, minLen) {
1527
+ if (!o) return;
1528
+ if (typeof o === 'string') return _array_like_to_array(o, minLen);
1529
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1530
+ if (n === 'Object' && o.constructor) n = o.constructor.name;
1531
+ if (n === 'Map' || n === 'Set') return Array.from(n);
1532
+ if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
1533
+ return _array_like_to_array(o, minLen);
1534
+ }
1535
+ function splitCamelCase(value) {
1536
+ var _value_match;
1537
+ return (_value_match = value.match(/[A-Z]+(?![a-z])|[A-Z]?[a-z]+/g)) !==
1538
+ null && _value_match !== void 0
1539
+ ? _value_match
1540
+ : [];
1541
+ }
1542
+ function sanitizeFallback(fallback) {
1543
+ var cleaned = (fallback !== null && fallback !== void 0 ? fallback : 'org')
1544
+ .toLowerCase()
1545
+ .replace(/[^a-z0-9-]/g, '');
1546
+ return cleaned.length > 0 ? cleaned : 'org';
1547
+ }
1548
+ function buildPrefixFromSegments(segments, useShortSuffixRule) {
1549
+ if (segments.length === 0) return '';
1550
+ if (useShortSuffixRule && segments.length === 2) {
1551
+ var _segments = _sliced_to_array(segments, 2),
1552
+ first = _segments[0],
1553
+ second = _segments[1];
1554
+ if (second.length <= 2 && first.length >= 2) {
1555
+ return ''
1556
+ .concat(first[0])
1557
+ .concat(first[1])
1558
+ .concat(second[0])
1559
+ .toLowerCase();
1560
+ }
1561
+ }
1562
+ return segments
1563
+ .map(function (segment) {
1564
+ return segment[0];
1565
+ })
1566
+ .join('')
1567
+ .toLowerCase();
1568
+ }
1569
+ function generatePrefix(name, fallback) {
1570
+ var safeFallback = sanitizeFallback(fallback);
1571
+ if (!name) return safeFallback;
1572
+ var words = name
1573
+ .replace(/[^a-zA-Z0-9]+/g, ' ')
1574
+ .trim()
1575
+ .split(/\s+/)
1576
+ .filter(Boolean);
1577
+ if (words.length === 0) return safeFallback;
1578
+ if (words.length === 1) {
1579
+ var lettersOnly = words[0].replace(/[^a-zA-Z]/g, '');
1580
+ if (!lettersOnly) return safeFallback;
1581
+ if (lettersOnly === lettersOnly.toLowerCase()) {
1582
+ return lettersOnly;
1583
+ }
1584
+ if (lettersOnly === lettersOnly.toUpperCase()) {
1585
+ return lettersOnly.toLowerCase();
1586
+ }
1587
+ var segments = splitCamelCase(lettersOnly);
1588
+ var prefix = buildPrefixFromSegments(segments, true);
1589
+ return prefix.length > 0 ? prefix : safeFallback;
1590
+ }
1591
+ var segments1 = words.flatMap(function (word) {
1592
+ var lettersOnly = word.replace(/[^a-zA-Z]/g, '');
1593
+ if (!lettersOnly) return [];
1594
+ return splitCamelCase(lettersOnly);
1595
+ });
1596
+ var prefix1 = buildPrefixFromSegments(segments1, false);
1597
+ return prefix1.length > 0 ? prefix1 : safeFallback;
1598
+ }
1599
+
1600
+ function _class_call_check$3(instance, Constructor) {
1601
+ if (!(instance instanceof Constructor)) {
1602
+ throw new TypeError('Cannot call a class as a function');
1603
+ }
1604
+ }
1605
+ function _defineProperties$3(target, props) {
1606
+ for (var i = 0; i < props.length; i++) {
1607
+ var descriptor = props[i];
1608
+ descriptor.enumerable = descriptor.enumerable || false;
1609
+ descriptor.configurable = true;
1610
+ if ('value' in descriptor) descriptor.writable = true;
1611
+ Object.defineProperty(target, descriptor.key, descriptor);
1612
+ }
1613
+ }
1614
+ function _create_class$3(Constructor, protoProps, staticProps) {
1615
+ if (staticProps) _defineProperties$3(Constructor, staticProps);
1616
+ return Constructor;
1617
+ }
1618
+ var LabelMapper = /*#__PURE__*/ (function () {
1619
+ function LabelMapper() {
1620
+ _class_call_check$3(this, LabelMapper);
1621
+ }
1622
+ _create_class$3(LabelMapper, null, [
1623
+ {
1624
+ key: 'intLabel',
1625
+ value: function intLabel(v, suffix) {
1626
+ var fallback =
1627
+ arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : '–';
1628
+ if (typeof v !== 'number' || !Number.isFinite(v)) return fallback;
1629
+ return ''
1630
+ .concat(new Intl.NumberFormat('de-DE').format(v))
1631
+ .concat(suffix);
1632
+ },
1633
+ },
1634
+ ]);
1635
+ return LabelMapper;
1636
+ })();
1637
+
1638
+ function _class_call_check$2(instance, Constructor) {
1639
+ if (!(instance instanceof Constructor)) {
1640
+ throw new TypeError('Cannot call a class as a function');
1641
+ }
1642
+ }
1643
+ function _defineProperties$2(target, props) {
1644
+ for (var i = 0; i < props.length; i++) {
1645
+ var descriptor = props[i];
1646
+ descriptor.enumerable = descriptor.enumerable || false;
1647
+ descriptor.configurable = true;
1648
+ if ('value' in descriptor) descriptor.writable = true;
1649
+ Object.defineProperty(target, descriptor.key, descriptor);
1650
+ }
1651
+ }
1652
+ function _create_class$2(Constructor, protoProps, staticProps) {
1653
+ if (staticProps) _defineProperties$2(Constructor, staticProps);
1654
+ return Constructor;
1655
+ }
1656
+ var FormSanitizer = /*#__PURE__*/ (function () {
1657
+ function FormSanitizer() {
1658
+ _class_call_check$2(this, FormSanitizer);
1659
+ }
1660
+ _create_class$2(FormSanitizer, null, [
1661
+ {
1662
+ key: 'formHoldsNewData',
1663
+ value: function formHoldsNewData(localData, data) {
1664
+ var formDataKeys = Object.keys(data);
1665
+ var _iteratorNormalCompletion = true,
1666
+ _didIteratorError = false,
1667
+ _iteratorError = undefined;
1668
+ try {
1669
+ for (
1670
+ var _iterator = formDataKeys[Symbol.iterator](), _step;
1671
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
1672
+ _iteratorNormalCompletion = true
1673
+ ) {
1674
+ var key = _step.value;
1675
+ var formDataValue = data[key];
1676
+ if (formDataValue !== localData[key]) {
1677
+ return true;
1678
+ }
1679
+ }
1680
+ } catch (err) {
1681
+ _didIteratorError = true;
1682
+ _iteratorError = err;
1683
+ } finally {
1684
+ try {
1685
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
1686
+ _iterator.return();
1687
+ }
1688
+ } finally {
1689
+ if (_didIteratorError) {
1690
+ throw _iteratorError;
1691
+ }
1692
+ }
1693
+ }
1694
+ return false;
1695
+ },
1696
+ },
1697
+ ]);
1698
+ return FormSanitizer;
1699
+ })();
1700
+
1701
+ var commonjsGlobal =
1702
+ typeof globalThis !== 'undefined'
1703
+ ? globalThis
1704
+ : typeof window !== 'undefined'
1705
+ ? window
1706
+ : typeof global !== 'undefined'
1707
+ ? global
1708
+ : typeof self !== 'undefined'
1709
+ ? self
1710
+ : {};
1711
+
1712
+ var colornames = { exports: {} };
1713
+
1714
+ var colors = [
1715
+ {
1716
+ value: '#B0171F',
1717
+ name: 'indian red',
1718
+ },
1719
+ {
1720
+ value: '#DC143C',
1721
+ css: true,
1722
+ name: 'crimson',
1723
+ },
1724
+ {
1725
+ value: '#FFB6C1',
1726
+ css: true,
1727
+ name: 'lightpink',
1728
+ },
1729
+ {
1730
+ value: '#FFAEB9',
1731
+ name: 'lightpink 1',
1732
+ },
1733
+ {
1734
+ value: '#EEA2AD',
1735
+ name: 'lightpink 2',
1736
+ },
1737
+ {
1738
+ value: '#CD8C95',
1739
+ name: 'lightpink 3',
1740
+ },
1741
+ {
1742
+ value: '#8B5F65',
1743
+ name: 'lightpink 4',
1744
+ },
1745
+ {
1746
+ value: '#FFC0CB',
1747
+ css: true,
1748
+ name: 'pink',
1749
+ },
1750
+ {
1751
+ value: '#FFB5C5',
1752
+ name: 'pink 1',
1753
+ },
1754
+ {
1755
+ value: '#EEA9B8',
1756
+ name: 'pink 2',
1757
+ },
1758
+ {
1759
+ value: '#CD919E',
1760
+ name: 'pink 3',
1761
+ },
1762
+ {
1763
+ value: '#8B636C',
1764
+ name: 'pink 4',
1765
+ },
1766
+ {
1767
+ value: '#DB7093',
1768
+ css: true,
1769
+ name: 'palevioletred',
1770
+ },
1771
+ {
1772
+ value: '#FF82AB',
1773
+ name: 'palevioletred 1',
1774
+ },
1775
+ {
1776
+ value: '#EE799F',
1777
+ name: 'palevioletred 2',
1778
+ },
1779
+ {
1780
+ value: '#CD6889',
1781
+ name: 'palevioletred 3',
1782
+ },
1783
+ {
1784
+ value: '#8B475D',
1785
+ name: 'palevioletred 4',
1786
+ },
1787
+ {
1788
+ value: '#FFF0F5',
1789
+ name: 'lavenderblush 1',
1790
+ },
1791
+ {
1792
+ value: '#FFF0F5',
1793
+ css: true,
1794
+ name: 'lavenderblush',
1795
+ },
1796
+ {
1797
+ value: '#EEE0E5',
1798
+ name: 'lavenderblush 2',
1799
+ },
1800
+ {
1801
+ value: '#CDC1C5',
1802
+ name: 'lavenderblush 3',
1803
+ },
1804
+ {
1805
+ value: '#8B8386',
1806
+ name: 'lavenderblush 4',
1807
+ },
1808
+ {
1809
+ value: '#FF3E96',
1810
+ name: 'violetred 1',
1811
+ },
1812
+ {
1813
+ value: '#EE3A8C',
1814
+ name: 'violetred 2',
1815
+ },
1816
+ {
1817
+ value: '#CD3278',
1818
+ name: 'violetred 3',
1819
+ },
1820
+ {
1821
+ value: '#8B2252',
1822
+ name: 'violetred 4',
1823
+ },
1824
+ {
1825
+ value: '#FF69B4',
1826
+ css: true,
1827
+ name: 'hotpink',
1828
+ },
1829
+ {
1830
+ value: '#FF6EB4',
1831
+ name: 'hotpink 1',
1832
+ },
1833
+ {
1834
+ value: '#EE6AA7',
1835
+ name: 'hotpink 2',
1836
+ },
1837
+ {
1838
+ value: '#CD6090',
1839
+ name: 'hotpink 3',
1840
+ },
1841
+ {
1842
+ value: '#8B3A62',
1843
+ name: 'hotpink 4',
1844
+ },
1845
+ {
1846
+ value: '#872657',
1847
+ name: 'raspberry',
1848
+ },
1849
+ {
1850
+ value: '#FF1493',
1851
+ name: 'deeppink 1',
1852
+ },
1853
+ {
1854
+ value: '#FF1493',
1855
+ css: true,
1856
+ name: 'deeppink',
1857
+ },
1858
+ {
1859
+ value: '#EE1289',
1860
+ name: 'deeppink 2',
1861
+ },
1862
+ {
1863
+ value: '#CD1076',
1864
+ name: 'deeppink 3',
1865
+ },
1866
+ {
1867
+ value: '#8B0A50',
1868
+ name: 'deeppink 4',
1869
+ },
1870
+ {
1871
+ value: '#FF34B3',
1872
+ name: 'maroon 1',
1873
+ },
1874
+ {
1875
+ value: '#EE30A7',
1876
+ name: 'maroon 2',
1877
+ },
1878
+ {
1879
+ value: '#CD2990',
1880
+ name: 'maroon 3',
1881
+ },
1882
+ {
1883
+ value: '#8B1C62',
1884
+ name: 'maroon 4',
1885
+ },
1886
+ {
1887
+ value: '#C71585',
1888
+ css: true,
1889
+ name: 'mediumvioletred',
1890
+ },
1891
+ {
1892
+ value: '#D02090',
1893
+ name: 'violetred',
1894
+ },
1895
+ {
1896
+ value: '#DA70D6',
1897
+ css: true,
1898
+ name: 'orchid',
1899
+ },
1900
+ {
1901
+ value: '#FF83FA',
1902
+ name: 'orchid 1',
1903
+ },
1904
+ {
1905
+ value: '#EE7AE9',
1906
+ name: 'orchid 2',
1907
+ },
1908
+ {
1909
+ value: '#CD69C9',
1910
+ name: 'orchid 3',
1911
+ },
1912
+ {
1913
+ value: '#8B4789',
1914
+ name: 'orchid 4',
1915
+ },
1916
+ {
1917
+ value: '#D8BFD8',
1918
+ css: true,
1919
+ name: 'thistle',
1920
+ },
1921
+ {
1922
+ value: '#FFE1FF',
1923
+ name: 'thistle 1',
1924
+ },
1925
+ {
1926
+ value: '#EED2EE',
1927
+ name: 'thistle 2',
1928
+ },
1929
+ {
1930
+ value: '#CDB5CD',
1931
+ name: 'thistle 3',
1932
+ },
1933
+ {
1934
+ value: '#8B7B8B',
1935
+ name: 'thistle 4',
1936
+ },
1937
+ {
1938
+ value: '#FFBBFF',
1939
+ name: 'plum 1',
1940
+ },
1941
+ {
1942
+ value: '#EEAEEE',
1943
+ name: 'plum 2',
1944
+ },
1945
+ {
1946
+ value: '#CD96CD',
1947
+ name: 'plum 3',
1948
+ },
1949
+ {
1950
+ value: '#8B668B',
1951
+ name: 'plum 4',
1952
+ },
1953
+ {
1954
+ value: '#DDA0DD',
1955
+ css: true,
1956
+ name: 'plum',
1957
+ },
1958
+ {
1959
+ value: '#EE82EE',
1960
+ css: true,
1961
+ name: 'violet',
1962
+ },
1963
+ {
1964
+ value: '#FF00FF',
1965
+ vga: true,
1966
+ name: 'magenta',
1967
+ },
1968
+ {
1969
+ value: '#FF00FF',
1970
+ vga: true,
1971
+ css: true,
1972
+ name: 'fuchsia',
1973
+ },
1974
+ {
1975
+ value: '#EE00EE',
1976
+ name: 'magenta 2',
1977
+ },
1978
+ {
1979
+ value: '#CD00CD',
1980
+ name: 'magenta 3',
1981
+ },
1982
+ {
1983
+ value: '#8B008B',
1984
+ name: 'magenta 4',
1985
+ },
1986
+ {
1987
+ value: '#8B008B',
1988
+ css: true,
1989
+ name: 'darkmagenta',
1990
+ },
1991
+ {
1992
+ value: '#800080',
1993
+ vga: true,
1994
+ css: true,
1995
+ name: 'purple',
1996
+ },
1997
+ {
1998
+ value: '#BA55D3',
1999
+ css: true,
2000
+ name: 'mediumorchid',
2001
+ },
2002
+ {
2003
+ value: '#E066FF',
2004
+ name: 'mediumorchid 1',
2005
+ },
2006
+ {
2007
+ value: '#D15FEE',
2008
+ name: 'mediumorchid 2',
2009
+ },
2010
+ {
2011
+ value: '#B452CD',
2012
+ name: 'mediumorchid 3',
2013
+ },
2014
+ {
2015
+ value: '#7A378B',
2016
+ name: 'mediumorchid 4',
2017
+ },
2018
+ {
2019
+ value: '#9400D3',
2020
+ css: true,
2021
+ name: 'darkviolet',
2022
+ },
2023
+ {
2024
+ value: '#9932CC',
2025
+ css: true,
2026
+ name: 'darkorchid',
2027
+ },
2028
+ {
2029
+ value: '#BF3EFF',
2030
+ name: 'darkorchid 1',
2031
+ },
2032
+ {
2033
+ value: '#B23AEE',
2034
+ name: 'darkorchid 2',
2035
+ },
2036
+ {
2037
+ value: '#9A32CD',
2038
+ name: 'darkorchid 3',
2039
+ },
2040
+ {
2041
+ value: '#68228B',
2042
+ name: 'darkorchid 4',
2043
+ },
2044
+ {
2045
+ value: '#4B0082',
2046
+ css: true,
2047
+ name: 'indigo',
2048
+ },
2049
+ {
2050
+ value: '#8A2BE2',
2051
+ css: true,
2052
+ name: 'blueviolet',
2053
+ },
2054
+ {
2055
+ value: '#9B30FF',
2056
+ name: 'purple 1',
2057
+ },
2058
+ {
2059
+ value: '#912CEE',
2060
+ name: 'purple 2',
2061
+ },
2062
+ {
2063
+ value: '#7D26CD',
2064
+ name: 'purple 3',
2065
+ },
2066
+ {
2067
+ value: '#551A8B',
2068
+ name: 'purple 4',
2069
+ },
2070
+ {
2071
+ value: '#9370DB',
2072
+ css: true,
2073
+ name: 'mediumpurple',
2074
+ },
2075
+ {
2076
+ value: '#AB82FF',
2077
+ name: 'mediumpurple 1',
2078
+ },
2079
+ {
2080
+ value: '#9F79EE',
2081
+ name: 'mediumpurple 2',
2082
+ },
2083
+ {
2084
+ value: '#8968CD',
2085
+ name: 'mediumpurple 3',
2086
+ },
2087
+ {
2088
+ value: '#5D478B',
2089
+ name: 'mediumpurple 4',
2090
+ },
2091
+ {
2092
+ value: '#483D8B',
2093
+ css: true,
2094
+ name: 'darkslateblue',
2095
+ },
2096
+ {
2097
+ value: '#8470FF',
2098
+ name: 'lightslateblue',
2099
+ },
2100
+ {
2101
+ value: '#7B68EE',
2102
+ css: true,
2103
+ name: 'mediumslateblue',
2104
+ },
2105
+ {
2106
+ value: '#6A5ACD',
2107
+ css: true,
2108
+ name: 'slateblue',
2109
+ },
2110
+ {
2111
+ value: '#836FFF',
2112
+ name: 'slateblue 1',
2113
+ },
2114
+ {
2115
+ value: '#7A67EE',
2116
+ name: 'slateblue 2',
2117
+ },
2118
+ {
2119
+ value: '#6959CD',
2120
+ name: 'slateblue 3',
2121
+ },
2122
+ {
2123
+ value: '#473C8B',
2124
+ name: 'slateblue 4',
2125
+ },
2126
+ {
2127
+ value: '#F8F8FF',
2128
+ css: true,
2129
+ name: 'ghostwhite',
2130
+ },
2131
+ {
2132
+ value: '#E6E6FA',
2133
+ css: true,
2134
+ name: 'lavender',
2135
+ },
2136
+ {
2137
+ value: '#0000FF',
2138
+ vga: true,
2139
+ css: true,
2140
+ name: 'blue',
2141
+ },
2142
+ {
2143
+ value: '#0000EE',
2144
+ name: 'blue 2',
2145
+ },
2146
+ {
2147
+ value: '#0000CD',
2148
+ name: 'blue 3',
2149
+ },
2150
+ {
2151
+ value: '#0000CD',
2152
+ css: true,
2153
+ name: 'mediumblue',
2154
+ },
2155
+ {
2156
+ value: '#00008B',
2157
+ name: 'blue 4',
2158
+ },
2159
+ {
2160
+ value: '#00008B',
2161
+ css: true,
2162
+ name: 'darkblue',
2163
+ },
2164
+ {
2165
+ value: '#000080',
2166
+ vga: true,
2167
+ css: true,
2168
+ name: 'navy',
2169
+ },
2170
+ {
2171
+ value: '#191970',
2172
+ css: true,
2173
+ name: 'midnightblue',
2174
+ },
2175
+ {
2176
+ value: '#3D59AB',
2177
+ name: 'cobalt',
2178
+ },
2179
+ {
2180
+ value: '#4169E1',
2181
+ css: true,
2182
+ name: 'royalblue',
2183
+ },
2184
+ {
2185
+ value: '#4876FF',
2186
+ name: 'royalblue 1',
2187
+ },
2188
+ {
2189
+ value: '#436EEE',
2190
+ name: 'royalblue 2',
2191
+ },
2192
+ {
2193
+ value: '#3A5FCD',
2194
+ name: 'royalblue 3',
2195
+ },
2196
+ {
2197
+ value: '#27408B',
2198
+ name: 'royalblue 4',
2199
+ },
2200
+ {
2201
+ value: '#6495ED',
2202
+ css: true,
2203
+ name: 'cornflowerblue',
2204
+ },
2205
+ {
2206
+ value: '#B0C4DE',
2207
+ css: true,
2208
+ name: 'lightsteelblue',
2209
+ },
2210
+ {
2211
+ value: '#CAE1FF',
2212
+ name: 'lightsteelblue 1',
2213
+ },
2214
+ {
2215
+ value: '#BCD2EE',
2216
+ name: 'lightsteelblue 2',
2217
+ },
2218
+ {
2219
+ value: '#A2B5CD',
2220
+ name: 'lightsteelblue 3',
2221
+ },
2222
+ {
2223
+ value: '#6E7B8B',
2224
+ name: 'lightsteelblue 4',
2225
+ },
2226
+ {
2227
+ value: '#778899',
2228
+ css: true,
2229
+ name: 'lightslategray',
2230
+ },
2231
+ {
2232
+ value: '#708090',
2233
+ css: true,
2234
+ name: 'slategray',
2235
+ },
2236
+ {
2237
+ value: '#C6E2FF',
2238
+ name: 'slategray 1',
2239
+ },
2240
+ {
2241
+ value: '#B9D3EE',
2242
+ name: 'slategray 2',
2243
+ },
2244
+ {
2245
+ value: '#9FB6CD',
2246
+ name: 'slategray 3',
2247
+ },
2248
+ {
2249
+ value: '#6C7B8B',
2250
+ name: 'slategray 4',
2251
+ },
2252
+ {
2253
+ value: '#1E90FF',
2254
+ name: 'dodgerblue 1',
2255
+ },
2256
+ {
2257
+ value: '#1E90FF',
2258
+ css: true,
2259
+ name: 'dodgerblue',
2260
+ },
2261
+ {
2262
+ value: '#1C86EE',
2263
+ name: 'dodgerblue 2',
2264
+ },
2265
+ {
2266
+ value: '#1874CD',
2267
+ name: 'dodgerblue 3',
2268
+ },
2269
+ {
2270
+ value: '#104E8B',
2271
+ name: 'dodgerblue 4',
2272
+ },
2273
+ {
2274
+ value: '#F0F8FF',
2275
+ css: true,
2276
+ name: 'aliceblue',
2277
+ },
2278
+ {
2279
+ value: '#4682B4',
2280
+ css: true,
2281
+ name: 'steelblue',
2282
+ },
2283
+ {
2284
+ value: '#63B8FF',
2285
+ name: 'steelblue 1',
2286
+ },
2287
+ {
2288
+ value: '#5CACEE',
2289
+ name: 'steelblue 2',
2290
+ },
2291
+ {
2292
+ value: '#4F94CD',
2293
+ name: 'steelblue 3',
2294
+ },
2295
+ {
2296
+ value: '#36648B',
2297
+ name: 'steelblue 4',
2298
+ },
2299
+ {
2300
+ value: '#87CEFA',
2301
+ css: true,
2302
+ name: 'lightskyblue',
2303
+ },
2304
+ {
2305
+ value: '#B0E2FF',
2306
+ name: 'lightskyblue 1',
2307
+ },
2308
+ {
2309
+ value: '#A4D3EE',
2310
+ name: 'lightskyblue 2',
2311
+ },
2312
+ {
2313
+ value: '#8DB6CD',
2314
+ name: 'lightskyblue 3',
2315
+ },
2316
+ {
2317
+ value: '#607B8B',
2318
+ name: 'lightskyblue 4',
2319
+ },
2320
+ {
2321
+ value: '#87CEFF',
2322
+ name: 'skyblue 1',
2323
+ },
2324
+ {
2325
+ value: '#7EC0EE',
2326
+ name: 'skyblue 2',
2327
+ },
2328
+ {
2329
+ value: '#6CA6CD',
2330
+ name: 'skyblue 3',
2331
+ },
2332
+ {
2333
+ value: '#4A708B',
2334
+ name: 'skyblue 4',
2335
+ },
2336
+ {
2337
+ value: '#87CEEB',
2338
+ css: true,
2339
+ name: 'skyblue',
2340
+ },
2341
+ {
2342
+ value: '#00BFFF',
2343
+ name: 'deepskyblue 1',
2344
+ },
2345
+ {
2346
+ value: '#00BFFF',
2347
+ css: true,
2348
+ name: 'deepskyblue',
2349
+ },
2350
+ {
2351
+ value: '#00B2EE',
2352
+ name: 'deepskyblue 2',
2353
+ },
2354
+ {
2355
+ value: '#009ACD',
2356
+ name: 'deepskyblue 3',
2357
+ },
2358
+ {
2359
+ value: '#00688B',
2360
+ name: 'deepskyblue 4',
2361
+ },
2362
+ {
2363
+ value: '#33A1C9',
2364
+ name: 'peacock',
2365
+ },
2366
+ {
2367
+ value: '#ADD8E6',
2368
+ css: true,
2369
+ name: 'lightblue',
2370
+ },
2371
+ {
2372
+ value: '#BFEFFF',
2373
+ name: 'lightblue 1',
2374
+ },
2375
+ {
2376
+ value: '#B2DFEE',
2377
+ name: 'lightblue 2',
2378
+ },
2379
+ {
2380
+ value: '#9AC0CD',
2381
+ name: 'lightblue 3',
2382
+ },
2383
+ {
2384
+ value: '#68838B',
2385
+ name: 'lightblue 4',
2386
+ },
2387
+ {
2388
+ value: '#B0E0E6',
2389
+ css: true,
2390
+ name: 'powderblue',
2391
+ },
2392
+ {
2393
+ value: '#98F5FF',
2394
+ name: 'cadetblue 1',
2395
+ },
2396
+ {
2397
+ value: '#8EE5EE',
2398
+ name: 'cadetblue 2',
2399
+ },
2400
+ {
2401
+ value: '#7AC5CD',
2402
+ name: 'cadetblue 3',
2403
+ },
2404
+ {
2405
+ value: '#53868B',
2406
+ name: 'cadetblue 4',
2407
+ },
2408
+ {
2409
+ value: '#00F5FF',
2410
+ name: 'turquoise 1',
2411
+ },
2412
+ {
2413
+ value: '#00E5EE',
2414
+ name: 'turquoise 2',
2415
+ },
2416
+ {
2417
+ value: '#00C5CD',
2418
+ name: 'turquoise 3',
2419
+ },
2420
+ {
2421
+ value: '#00868B',
2422
+ name: 'turquoise 4',
2423
+ },
2424
+ {
2425
+ value: '#5F9EA0',
2426
+ css: true,
2427
+ name: 'cadetblue',
2428
+ },
2429
+ {
2430
+ value: '#00CED1',
2431
+ css: true,
2432
+ name: 'darkturquoise',
2433
+ },
2434
+ {
2435
+ value: '#F0FFFF',
2436
+ name: 'azure 1',
2437
+ },
2438
+ {
2439
+ value: '#F0FFFF',
2440
+ css: true,
2441
+ name: 'azure',
2442
+ },
2443
+ {
2444
+ value: '#E0EEEE',
2445
+ name: 'azure 2',
2446
+ },
2447
+ {
2448
+ value: '#C1CDCD',
2449
+ name: 'azure 3',
2450
+ },
2451
+ {
2452
+ value: '#838B8B',
2453
+ name: 'azure 4',
2454
+ },
2455
+ {
2456
+ value: '#E0FFFF',
2457
+ name: 'lightcyan 1',
2458
+ },
2459
+ {
2460
+ value: '#E0FFFF',
2461
+ css: true,
2462
+ name: 'lightcyan',
2463
+ },
2464
+ {
2465
+ value: '#D1EEEE',
2466
+ name: 'lightcyan 2',
2467
+ },
2468
+ {
2469
+ value: '#B4CDCD',
2470
+ name: 'lightcyan 3',
2471
+ },
2472
+ {
2473
+ value: '#7A8B8B',
2474
+ name: 'lightcyan 4',
2475
+ },
2476
+ {
2477
+ value: '#BBFFFF',
2478
+ name: 'paleturquoise 1',
2479
+ },
2480
+ {
2481
+ value: '#AEEEEE',
2482
+ name: 'paleturquoise 2',
2483
+ },
2484
+ {
2485
+ value: '#AEEEEE',
2486
+ css: true,
2487
+ name: 'paleturquoise',
2488
+ },
2489
+ {
2490
+ value: '#96CDCD',
2491
+ name: 'paleturquoise 3',
2492
+ },
2493
+ {
2494
+ value: '#668B8B',
2495
+ name: 'paleturquoise 4',
2496
+ },
2497
+ {
2498
+ value: '#2F4F4F',
2499
+ css: true,
2500
+ name: 'darkslategray',
2501
+ },
2502
+ {
2503
+ value: '#97FFFF',
2504
+ name: 'darkslategray 1',
2505
+ },
2506
+ {
2507
+ value: '#8DEEEE',
2508
+ name: 'darkslategray 2',
2509
+ },
2510
+ {
2511
+ value: '#79CDCD',
2512
+ name: 'darkslategray 3',
2513
+ },
2514
+ {
2515
+ value: '#528B8B',
2516
+ name: 'darkslategray 4',
2517
+ },
2518
+ {
2519
+ value: '#00FFFF',
2520
+ name: 'cyan',
2521
+ },
2522
+ {
2523
+ value: '#00FFFF',
2524
+ css: true,
2525
+ name: 'aqua',
2526
+ },
2527
+ {
2528
+ value: '#00EEEE',
2529
+ name: 'cyan 2',
2530
+ },
2531
+ {
2532
+ value: '#00CDCD',
2533
+ name: 'cyan 3',
2534
+ },
2535
+ {
2536
+ value: '#008B8B',
2537
+ name: 'cyan 4',
2538
+ },
2539
+ {
2540
+ value: '#008B8B',
2541
+ css: true,
2542
+ name: 'darkcyan',
2543
+ },
2544
+ {
2545
+ value: '#008080',
2546
+ vga: true,
2547
+ css: true,
2548
+ name: 'teal',
2549
+ },
2550
+ {
2551
+ value: '#48D1CC',
2552
+ css: true,
2553
+ name: 'mediumturquoise',
2554
+ },
2555
+ {
2556
+ value: '#20B2AA',
2557
+ css: true,
2558
+ name: 'lightseagreen',
2559
+ },
2560
+ {
2561
+ value: '#03A89E',
2562
+ name: 'manganeseblue',
2563
+ },
2564
+ {
2565
+ value: '#40E0D0',
2566
+ css: true,
2567
+ name: 'turquoise',
2568
+ },
2569
+ {
2570
+ value: '#808A87',
2571
+ name: 'coldgrey',
2572
+ },
2573
+ {
2574
+ value: '#00C78C',
2575
+ name: 'turquoiseblue',
2576
+ },
2577
+ {
2578
+ value: '#7FFFD4',
2579
+ name: 'aquamarine 1',
2580
+ },
2581
+ {
2582
+ value: '#7FFFD4',
2583
+ css: true,
2584
+ name: 'aquamarine',
2585
+ },
2586
+ {
2587
+ value: '#76EEC6',
2588
+ name: 'aquamarine 2',
2589
+ },
2590
+ {
2591
+ value: '#66CDAA',
2592
+ name: 'aquamarine 3',
2593
+ },
2594
+ {
2595
+ value: '#66CDAA',
2596
+ css: true,
2597
+ name: 'mediumaquamarine',
2598
+ },
2599
+ {
2600
+ value: '#458B74',
2601
+ name: 'aquamarine 4',
2602
+ },
2603
+ {
2604
+ value: '#00FA9A',
2605
+ css: true,
2606
+ name: 'mediumspringgreen',
2607
+ },
2608
+ {
2609
+ value: '#F5FFFA',
2610
+ css: true,
2611
+ name: 'mintcream',
2612
+ },
2613
+ {
2614
+ value: '#00FF7F',
2615
+ css: true,
2616
+ name: 'springgreen',
2617
+ },
2618
+ {
2619
+ value: '#00EE76',
2620
+ name: 'springgreen 1',
2621
+ },
2622
+ {
2623
+ value: '#00CD66',
2624
+ name: 'springgreen 2',
2625
+ },
2626
+ {
2627
+ value: '#008B45',
2628
+ name: 'springgreen 3',
2629
+ },
2630
+ {
2631
+ value: '#3CB371',
2632
+ css: true,
2633
+ name: 'mediumseagreen',
2634
+ },
2635
+ {
2636
+ value: '#54FF9F',
2637
+ name: 'seagreen 1',
2638
+ },
2639
+ {
2640
+ value: '#4EEE94',
2641
+ name: 'seagreen 2',
2642
+ },
2643
+ {
2644
+ value: '#43CD80',
2645
+ name: 'seagreen 3',
2646
+ },
2647
+ {
2648
+ value: '#2E8B57',
2649
+ name: 'seagreen 4',
2650
+ },
2651
+ {
2652
+ value: '#2E8B57',
2653
+ css: true,
2654
+ name: 'seagreen',
2655
+ },
2656
+ {
2657
+ value: '#00C957',
2658
+ name: 'emeraldgreen',
2659
+ },
2660
+ {
2661
+ value: '#BDFCC9',
2662
+ name: 'mint',
2663
+ },
2664
+ {
2665
+ value: '#3D9140',
2666
+ name: 'cobaltgreen',
2667
+ },
2668
+ {
2669
+ value: '#F0FFF0',
2670
+ name: 'honeydew 1',
2671
+ },
2672
+ {
2673
+ value: '#F0FFF0',
2674
+ css: true,
2675
+ name: 'honeydew',
2676
+ },
2677
+ {
2678
+ value: '#E0EEE0',
2679
+ name: 'honeydew 2',
2680
+ },
2681
+ {
2682
+ value: '#C1CDC1',
2683
+ name: 'honeydew 3',
2684
+ },
2685
+ {
2686
+ value: '#838B83',
2687
+ name: 'honeydew 4',
2688
+ },
2689
+ {
2690
+ value: '#8FBC8F',
2691
+ css: true,
2692
+ name: 'darkseagreen',
2693
+ },
2694
+ {
2695
+ value: '#C1FFC1',
2696
+ name: 'darkseagreen 1',
2697
+ },
2698
+ {
2699
+ value: '#B4EEB4',
2700
+ name: 'darkseagreen 2',
2701
+ },
2702
+ {
2703
+ value: '#9BCD9B',
2704
+ name: 'darkseagreen 3',
2705
+ },
2706
+ {
2707
+ value: '#698B69',
2708
+ name: 'darkseagreen 4',
2709
+ },
2710
+ {
2711
+ value: '#98FB98',
2712
+ css: true,
2713
+ name: 'palegreen',
2714
+ },
2715
+ {
2716
+ value: '#9AFF9A',
2717
+ name: 'palegreen 1',
2718
+ },
2719
+ {
2720
+ value: '#90EE90',
2721
+ name: 'palegreen 2',
2722
+ },
2723
+ {
2724
+ value: '#90EE90',
2725
+ css: true,
2726
+ name: 'lightgreen',
2727
+ },
2728
+ {
2729
+ value: '#7CCD7C',
2730
+ name: 'palegreen 3',
2731
+ },
2732
+ {
2733
+ value: '#548B54',
2734
+ name: 'palegreen 4',
2735
+ },
2736
+ {
2737
+ value: '#32CD32',
2738
+ css: true,
2739
+ name: 'limegreen',
2740
+ },
2741
+ {
2742
+ value: '#228B22',
2743
+ css: true,
2744
+ name: 'forestgreen',
2745
+ },
2746
+ {
2747
+ value: '#00FF00',
2748
+ vga: true,
2749
+ name: 'green 1',
2750
+ },
2751
+ {
2752
+ value: '#00FF00',
2753
+ vga: true,
2754
+ css: true,
2755
+ name: 'lime',
2756
+ },
2757
+ {
2758
+ value: '#00EE00',
2759
+ name: 'green 2',
2760
+ },
2761
+ {
2762
+ value: '#00CD00',
2763
+ name: 'green 3',
2764
+ },
2765
+ {
2766
+ value: '#008B00',
2767
+ name: 'green 4',
2768
+ },
2769
+ {
2770
+ value: '#008000',
2771
+ vga: true,
2772
+ css: true,
2773
+ name: 'green',
2774
+ },
2775
+ {
2776
+ value: '#006400',
2777
+ css: true,
2778
+ name: 'darkgreen',
2779
+ },
2780
+ {
2781
+ value: '#308014',
2782
+ name: 'sapgreen',
2783
+ },
2784
+ {
2785
+ value: '#7CFC00',
2786
+ css: true,
2787
+ name: 'lawngreen',
2788
+ },
2789
+ {
2790
+ value: '#7FFF00',
2791
+ name: 'chartreuse 1',
2792
+ },
2793
+ {
2794
+ value: '#7FFF00',
2795
+ css: true,
2796
+ name: 'chartreuse',
2797
+ },
2798
+ {
2799
+ value: '#76EE00',
2800
+ name: 'chartreuse 2',
2801
+ },
2802
+ {
2803
+ value: '#66CD00',
2804
+ name: 'chartreuse 3',
2805
+ },
2806
+ {
2807
+ value: '#458B00',
2808
+ name: 'chartreuse 4',
2809
+ },
2810
+ {
2811
+ value: '#ADFF2F',
2812
+ css: true,
2813
+ name: 'greenyellow',
2814
+ },
2815
+ {
2816
+ value: '#CAFF70',
2817
+ name: 'darkolivegreen 1',
2818
+ },
2819
+ {
2820
+ value: '#BCEE68',
2821
+ name: 'darkolivegreen 2',
2822
+ },
2823
+ {
2824
+ value: '#A2CD5A',
2825
+ name: 'darkolivegreen 3',
2826
+ },
2827
+ {
2828
+ value: '#6E8B3D',
2829
+ name: 'darkolivegreen 4',
2830
+ },
2831
+ {
2832
+ value: '#556B2F',
2833
+ css: true,
2834
+ name: 'darkolivegreen',
2835
+ },
2836
+ {
2837
+ value: '#6B8E23',
2838
+ css: true,
2839
+ name: 'olivedrab',
2840
+ },
2841
+ {
2842
+ value: '#C0FF3E',
2843
+ name: 'olivedrab 1',
2844
+ },
2845
+ {
2846
+ value: '#B3EE3A',
2847
+ name: 'olivedrab 2',
2848
+ },
2849
+ {
2850
+ value: '#9ACD32',
2851
+ name: 'olivedrab 3',
2852
+ },
2853
+ {
2854
+ value: '#9ACD32',
2855
+ css: true,
2856
+ name: 'yellowgreen',
2857
+ },
2858
+ {
2859
+ value: '#698B22',
2860
+ name: 'olivedrab 4',
2861
+ },
2862
+ {
2863
+ value: '#FFFFF0',
2864
+ name: 'ivory 1',
2865
+ },
2866
+ {
2867
+ value: '#FFFFF0',
2868
+ css: true,
2869
+ name: 'ivory',
2870
+ },
2871
+ {
2872
+ value: '#EEEEE0',
2873
+ name: 'ivory 2',
2874
+ },
2875
+ {
2876
+ value: '#CDCDC1',
2877
+ name: 'ivory 3',
2878
+ },
2879
+ {
2880
+ value: '#8B8B83',
2881
+ name: 'ivory 4',
2882
+ },
2883
+ {
2884
+ value: '#F5F5DC',
2885
+ css: true,
2886
+ name: 'beige',
2887
+ },
2888
+ {
2889
+ value: '#FFFFE0',
2890
+ name: 'lightyellow 1',
2891
+ },
2892
+ {
2893
+ value: '#FFFFE0',
2894
+ css: true,
2895
+ name: 'lightyellow',
2896
+ },
2897
+ {
2898
+ value: '#EEEED1',
2899
+ name: 'lightyellow 2',
2900
+ },
2901
+ {
2902
+ value: '#CDCDB4',
2903
+ name: 'lightyellow 3',
2904
+ },
2905
+ {
2906
+ value: '#8B8B7A',
2907
+ name: 'lightyellow 4',
2908
+ },
2909
+ {
2910
+ value: '#FAFAD2',
2911
+ css: true,
2912
+ name: 'lightgoldenrodyellow',
2913
+ },
2914
+ {
2915
+ value: '#FFFF00',
2916
+ vga: true,
2917
+ name: 'yellow 1',
2918
+ },
2919
+ {
2920
+ value: '#FFFF00',
2921
+ vga: true,
2922
+ css: true,
2923
+ name: 'yellow',
2924
+ },
2925
+ {
2926
+ value: '#EEEE00',
2927
+ name: 'yellow 2',
2928
+ },
2929
+ {
2930
+ value: '#CDCD00',
2931
+ name: 'yellow 3',
2932
+ },
2933
+ {
2934
+ value: '#8B8B00',
2935
+ name: 'yellow 4',
2936
+ },
2937
+ {
2938
+ value: '#808069',
2939
+ name: 'warmgrey',
2940
+ },
2941
+ {
2942
+ value: '#808000',
2943
+ vga: true,
2944
+ css: true,
2945
+ name: 'olive',
2946
+ },
2947
+ {
2948
+ value: '#BDB76B',
2949
+ css: true,
2950
+ name: 'darkkhaki',
2951
+ },
2952
+ {
2953
+ value: '#FFF68F',
2954
+ name: 'khaki 1',
2955
+ },
2956
+ {
2957
+ value: '#EEE685',
2958
+ name: 'khaki 2',
2959
+ },
2960
+ {
2961
+ value: '#CDC673',
2962
+ name: 'khaki 3',
2963
+ },
2964
+ {
2965
+ value: '#8B864E',
2966
+ name: 'khaki 4',
2967
+ },
2968
+ {
2969
+ value: '#F0E68C',
2970
+ css: true,
2971
+ name: 'khaki',
2972
+ },
2973
+ {
2974
+ value: '#EEE8AA',
2975
+ css: true,
2976
+ name: 'palegoldenrod',
2977
+ },
2978
+ {
2979
+ value: '#FFFACD',
2980
+ name: 'lemonchiffon 1',
2981
+ },
2982
+ {
2983
+ value: '#FFFACD',
2984
+ css: true,
2985
+ name: 'lemonchiffon',
2986
+ },
2987
+ {
2988
+ value: '#EEE9BF',
2989
+ name: 'lemonchiffon 2',
2990
+ },
2991
+ {
2992
+ value: '#CDC9A5',
2993
+ name: 'lemonchiffon 3',
2994
+ },
2995
+ {
2996
+ value: '#8B8970',
2997
+ name: 'lemonchiffon 4',
2998
+ },
2999
+ {
3000
+ value: '#FFEC8B',
3001
+ name: 'lightgoldenrod 1',
3002
+ },
3003
+ {
3004
+ value: '#EEDC82',
3005
+ name: 'lightgoldenrod 2',
3006
+ },
3007
+ {
3008
+ value: '#CDBE70',
3009
+ name: 'lightgoldenrod 3',
3010
+ },
3011
+ {
3012
+ value: '#8B814C',
3013
+ name: 'lightgoldenrod 4',
3014
+ },
3015
+ {
3016
+ value: '#E3CF57',
3017
+ name: 'banana',
3018
+ },
3019
+ {
3020
+ value: '#FFD700',
3021
+ name: 'gold 1',
3022
+ },
3023
+ {
3024
+ value: '#FFD700',
3025
+ css: true,
3026
+ name: 'gold',
3027
+ },
3028
+ {
3029
+ value: '#EEC900',
3030
+ name: 'gold 2',
3031
+ },
3032
+ {
3033
+ value: '#CDAD00',
3034
+ name: 'gold 3',
3035
+ },
3036
+ {
3037
+ value: '#8B7500',
3038
+ name: 'gold 4',
3039
+ },
3040
+ {
3041
+ value: '#FFF8DC',
3042
+ name: 'cornsilk 1',
3043
+ },
3044
+ {
3045
+ value: '#FFF8DC',
3046
+ css: true,
3047
+ name: 'cornsilk',
3048
+ },
3049
+ {
3050
+ value: '#EEE8CD',
3051
+ name: 'cornsilk 2',
3052
+ },
3053
+ {
3054
+ value: '#CDC8B1',
3055
+ name: 'cornsilk 3',
3056
+ },
3057
+ {
3058
+ value: '#8B8878',
3059
+ name: 'cornsilk 4',
3060
+ },
3061
+ {
3062
+ value: '#DAA520',
3063
+ css: true,
3064
+ name: 'goldenrod',
3065
+ },
3066
+ {
3067
+ value: '#FFC125',
3068
+ name: 'goldenrod 1',
3069
+ },
3070
+ {
3071
+ value: '#EEB422',
3072
+ name: 'goldenrod 2',
3073
+ },
3074
+ {
3075
+ value: '#CD9B1D',
3076
+ name: 'goldenrod 3',
3077
+ },
3078
+ {
3079
+ value: '#8B6914',
3080
+ name: 'goldenrod 4',
3081
+ },
3082
+ {
3083
+ value: '#B8860B',
3084
+ css: true,
3085
+ name: 'darkgoldenrod',
3086
+ },
3087
+ {
3088
+ value: '#FFB90F',
3089
+ name: 'darkgoldenrod 1',
3090
+ },
3091
+ {
3092
+ value: '#EEAD0E',
3093
+ name: 'darkgoldenrod 2',
3094
+ },
3095
+ {
3096
+ value: '#CD950C',
3097
+ name: 'darkgoldenrod 3',
3098
+ },
3099
+ {
3100
+ value: '#8B6508',
3101
+ name: 'darkgoldenrod 4',
3102
+ },
3103
+ {
3104
+ value: '#FFA500',
3105
+ name: 'orange 1',
3106
+ },
3107
+ {
3108
+ value: '#FF8000',
3109
+ css: true,
3110
+ name: 'orange',
3111
+ },
3112
+ {
3113
+ value: '#EE9A00',
3114
+ name: 'orange 2',
3115
+ },
3116
+ {
3117
+ value: '#CD8500',
3118
+ name: 'orange 3',
3119
+ },
3120
+ {
3121
+ value: '#8B5A00',
3122
+ name: 'orange 4',
3123
+ },
3124
+ {
3125
+ value: '#FFFAF0',
3126
+ css: true,
3127
+ name: 'floralwhite',
3128
+ },
3129
+ {
3130
+ value: '#FDF5E6',
3131
+ css: true,
3132
+ name: 'oldlace',
3133
+ },
3134
+ {
3135
+ value: '#F5DEB3',
3136
+ css: true,
3137
+ name: 'wheat',
3138
+ },
3139
+ {
3140
+ value: '#FFE7BA',
3141
+ name: 'wheat 1',
3142
+ },
3143
+ {
3144
+ value: '#EED8AE',
3145
+ name: 'wheat 2',
3146
+ },
3147
+ {
3148
+ value: '#CDBA96',
3149
+ name: 'wheat 3',
3150
+ },
3151
+ {
3152
+ value: '#8B7E66',
3153
+ name: 'wheat 4',
3154
+ },
3155
+ {
3156
+ value: '#FFE4B5',
3157
+ css: true,
3158
+ name: 'moccasin',
3159
+ },
3160
+ {
3161
+ value: '#FFEFD5',
3162
+ css: true,
3163
+ name: 'papayawhip',
3164
+ },
3165
+ {
3166
+ value: '#FFEBCD',
3167
+ css: true,
3168
+ name: 'blanchedalmond',
3169
+ },
3170
+ {
3171
+ value: '#FFDEAD',
3172
+ name: 'navajowhite 1',
3173
+ },
3174
+ {
3175
+ value: '#FFDEAD',
3176
+ css: true,
3177
+ name: 'navajowhite',
3178
+ },
3179
+ {
3180
+ value: '#EECFA1',
3181
+ name: 'navajowhite 2',
3182
+ },
3183
+ {
3184
+ value: '#CDB38B',
3185
+ name: 'navajowhite 3',
3186
+ },
3187
+ {
3188
+ value: '#8B795E',
3189
+ name: 'navajowhite 4',
3190
+ },
3191
+ {
3192
+ value: '#FCE6C9',
3193
+ name: 'eggshell',
3194
+ },
3195
+ {
3196
+ value: '#D2B48C',
3197
+ css: true,
3198
+ name: 'tan',
3199
+ },
3200
+ {
3201
+ value: '#9C661F',
3202
+ name: 'brick',
3203
+ },
3204
+ {
3205
+ value: '#FF9912',
3206
+ name: 'cadmiumyellow',
3207
+ },
3208
+ {
3209
+ value: '#FAEBD7',
3210
+ css: true,
3211
+ name: 'antiquewhite',
3212
+ },
3213
+ {
3214
+ value: '#FFEFDB',
3215
+ name: 'antiquewhite 1',
3216
+ },
3217
+ {
3218
+ value: '#EEDFCC',
3219
+ name: 'antiquewhite 2',
3220
+ },
3221
+ {
3222
+ value: '#CDC0B0',
3223
+ name: 'antiquewhite 3',
3224
+ },
3225
+ {
3226
+ value: '#8B8378',
3227
+ name: 'antiquewhite 4',
3228
+ },
3229
+ {
3230
+ value: '#DEB887',
3231
+ css: true,
3232
+ name: 'burlywood',
3233
+ },
3234
+ {
3235
+ value: '#FFD39B',
3236
+ name: 'burlywood 1',
3237
+ },
3238
+ {
3239
+ value: '#EEC591',
3240
+ name: 'burlywood 2',
3241
+ },
3242
+ {
3243
+ value: '#CDAA7D',
3244
+ name: 'burlywood 3',
3245
+ },
3246
+ {
3247
+ value: '#8B7355',
3248
+ name: 'burlywood 4',
3249
+ },
3250
+ {
3251
+ value: '#FFE4C4',
3252
+ name: 'bisque 1',
3253
+ },
3254
+ {
3255
+ value: '#FFE4C4',
3256
+ css: true,
3257
+ name: 'bisque',
3258
+ },
3259
+ {
3260
+ value: '#EED5B7',
3261
+ name: 'bisque 2',
3262
+ },
3263
+ {
3264
+ value: '#CDB79E',
3265
+ name: 'bisque 3',
3266
+ },
3267
+ {
3268
+ value: '#8B7D6B',
3269
+ name: 'bisque 4',
3270
+ },
3271
+ {
3272
+ value: '#E3A869',
3273
+ name: 'melon',
3274
+ },
3275
+ {
3276
+ value: '#ED9121',
3277
+ name: 'carrot',
3278
+ },
3279
+ {
3280
+ value: '#FF8C00',
3281
+ css: true,
3282
+ name: 'darkorange',
3283
+ },
3284
+ {
3285
+ value: '#FF7F00',
3286
+ name: 'darkorange 1',
3287
+ },
3288
+ {
3289
+ value: '#EE7600',
3290
+ name: 'darkorange 2',
3291
+ },
3292
+ {
3293
+ value: '#CD6600',
3294
+ name: 'darkorange 3',
3295
+ },
3296
+ {
3297
+ value: '#8B4500',
3298
+ name: 'darkorange 4',
3299
+ },
3300
+ {
3301
+ value: '#FFA54F',
3302
+ name: 'tan 1',
3303
+ },
3304
+ {
3305
+ value: '#EE9A49',
3306
+ name: 'tan 2',
3307
+ },
3308
+ {
3309
+ value: '#CD853F',
3310
+ name: 'tan 3',
3311
+ },
3312
+ {
3313
+ value: '#CD853F',
3314
+ css: true,
3315
+ name: 'peru',
3316
+ },
3317
+ {
3318
+ value: '#8B5A2B',
3319
+ name: 'tan 4',
3320
+ },
3321
+ {
3322
+ value: '#FAF0E6',
3323
+ css: true,
3324
+ name: 'linen',
3325
+ },
3326
+ {
3327
+ value: '#FFDAB9',
3328
+ name: 'peachpuff 1',
3329
+ },
3330
+ {
3331
+ value: '#FFDAB9',
3332
+ css: true,
3333
+ name: 'peachpuff',
3334
+ },
3335
+ {
3336
+ value: '#EECBAD',
3337
+ name: 'peachpuff 2',
3338
+ },
3339
+ {
3340
+ value: '#CDAF95',
3341
+ name: 'peachpuff 3',
3342
+ },
3343
+ {
3344
+ value: '#8B7765',
3345
+ name: 'peachpuff 4',
3346
+ },
3347
+ {
3348
+ value: '#FFF5EE',
3349
+ name: 'seashell 1',
3350
+ },
3351
+ {
3352
+ value: '#FFF5EE',
3353
+ css: true,
3354
+ name: 'seashell',
3355
+ },
3356
+ {
3357
+ value: '#EEE5DE',
3358
+ name: 'seashell 2',
3359
+ },
3360
+ {
3361
+ value: '#CDC5BF',
3362
+ name: 'seashell 3',
3363
+ },
3364
+ {
3365
+ value: '#8B8682',
3366
+ name: 'seashell 4',
3367
+ },
3368
+ {
3369
+ value: '#F4A460',
3370
+ css: true,
3371
+ name: 'sandybrown',
3372
+ },
3373
+ {
3374
+ value: '#C76114',
3375
+ name: 'rawsienna',
3376
+ },
3377
+ {
3378
+ value: '#D2691E',
3379
+ css: true,
3380
+ name: 'chocolate',
3381
+ },
3382
+ {
3383
+ value: '#FF7F24',
3384
+ name: 'chocolate 1',
3385
+ },
3386
+ {
3387
+ value: '#EE7621',
3388
+ name: 'chocolate 2',
3389
+ },
3390
+ {
3391
+ value: '#CD661D',
3392
+ name: 'chocolate 3',
3393
+ },
3394
+ {
3395
+ value: '#8B4513',
3396
+ name: 'chocolate 4',
3397
+ },
3398
+ {
3399
+ value: '#8B4513',
3400
+ css: true,
3401
+ name: 'saddlebrown',
3402
+ },
3403
+ {
3404
+ value: '#292421',
3405
+ name: 'ivoryblack',
3406
+ },
3407
+ {
3408
+ value: '#FF7D40',
3409
+ name: 'flesh',
3410
+ },
3411
+ {
3412
+ value: '#FF6103',
3413
+ name: 'cadmiumorange',
3414
+ },
3415
+ {
3416
+ value: '#8A360F',
3417
+ name: 'burntsienna',
3418
+ },
3419
+ {
3420
+ value: '#A0522D',
3421
+ css: true,
3422
+ name: 'sienna',
3423
+ },
3424
+ {
3425
+ value: '#FF8247',
3426
+ name: 'sienna 1',
3427
+ },
3428
+ {
3429
+ value: '#EE7942',
3430
+ name: 'sienna 2',
3431
+ },
3432
+ {
3433
+ value: '#CD6839',
3434
+ name: 'sienna 3',
3435
+ },
3436
+ {
3437
+ value: '#8B4726',
3438
+ name: 'sienna 4',
3439
+ },
3440
+ {
3441
+ value: '#FFA07A',
3442
+ name: 'lightsalmon 1',
3443
+ },
3444
+ {
3445
+ value: '#FFA07A',
3446
+ css: true,
3447
+ name: 'lightsalmon',
3448
+ },
3449
+ {
3450
+ value: '#EE9572',
3451
+ name: 'lightsalmon 2',
3452
+ },
3453
+ {
3454
+ value: '#CD8162',
3455
+ name: 'lightsalmon 3',
3456
+ },
3457
+ {
3458
+ value: '#8B5742',
3459
+ name: 'lightsalmon 4',
3460
+ },
3461
+ {
3462
+ value: '#FF7F50',
3463
+ css: true,
3464
+ name: 'coral',
3465
+ },
3466
+ {
3467
+ value: '#FF4500',
3468
+ name: 'orangered 1',
3469
+ },
3470
+ {
3471
+ value: '#FF4500',
3472
+ css: true,
3473
+ name: 'orangered',
3474
+ },
3475
+ {
3476
+ value: '#EE4000',
3477
+ name: 'orangered 2',
3478
+ },
3479
+ {
3480
+ value: '#CD3700',
3481
+ name: 'orangered 3',
3482
+ },
3483
+ {
3484
+ value: '#8B2500',
3485
+ name: 'orangered 4',
3486
+ },
3487
+ {
3488
+ value: '#5E2612',
3489
+ name: 'sepia',
3490
+ },
3491
+ {
3492
+ value: '#E9967A',
3493
+ css: true,
3494
+ name: 'darksalmon',
3495
+ },
3496
+ {
3497
+ value: '#FF8C69',
3498
+ name: 'salmon 1',
3499
+ },
3500
+ {
3501
+ value: '#EE8262',
3502
+ name: 'salmon 2',
3503
+ },
3504
+ {
3505
+ value: '#CD7054',
3506
+ name: 'salmon 3',
3507
+ },
3508
+ {
3509
+ value: '#8B4C39',
3510
+ name: 'salmon 4',
3511
+ },
3512
+ {
3513
+ value: '#FF7256',
3514
+ name: 'coral 1',
3515
+ },
3516
+ {
3517
+ value: '#EE6A50',
3518
+ name: 'coral 2',
3519
+ },
3520
+ {
3521
+ value: '#CD5B45',
3522
+ name: 'coral 3',
3523
+ },
3524
+ {
3525
+ value: '#8B3E2F',
3526
+ name: 'coral 4',
3527
+ },
3528
+ {
3529
+ value: '#8A3324',
3530
+ name: 'burntumber',
3531
+ },
3532
+ {
3533
+ value: '#FF6347',
3534
+ name: 'tomato 1',
3535
+ },
3536
+ {
3537
+ value: '#FF6347',
3538
+ css: true,
3539
+ name: 'tomato',
3540
+ },
3541
+ {
3542
+ value: '#EE5C42',
3543
+ name: 'tomato 2',
3544
+ },
3545
+ {
3546
+ value: '#CD4F39',
3547
+ name: 'tomato 3',
3548
+ },
3549
+ {
3550
+ value: '#8B3626',
3551
+ name: 'tomato 4',
3552
+ },
3553
+ {
3554
+ value: '#FA8072',
3555
+ css: true,
3556
+ name: 'salmon',
3557
+ },
3558
+ {
3559
+ value: '#FFE4E1',
3560
+ name: 'mistyrose 1',
3561
+ },
3562
+ {
3563
+ value: '#FFE4E1',
3564
+ css: true,
3565
+ name: 'mistyrose',
3566
+ },
3567
+ {
3568
+ value: '#EED5D2',
3569
+ name: 'mistyrose 2',
3570
+ },
3571
+ {
3572
+ value: '#CDB7B5',
3573
+ name: 'mistyrose 3',
3574
+ },
3575
+ {
3576
+ value: '#8B7D7B',
3577
+ name: 'mistyrose 4',
3578
+ },
3579
+ {
3580
+ value: '#FFFAFA',
3581
+ name: 'snow 1',
3582
+ },
3583
+ {
3584
+ value: '#FFFAFA',
3585
+ css: true,
3586
+ name: 'snow',
3587
+ },
3588
+ {
3589
+ value: '#EEE9E9',
3590
+ name: 'snow 2',
3591
+ },
3592
+ {
3593
+ value: '#CDC9C9',
3594
+ name: 'snow 3',
3595
+ },
3596
+ {
3597
+ value: '#8B8989',
3598
+ name: 'snow 4',
3599
+ },
3600
+ {
3601
+ value: '#BC8F8F',
3602
+ css: true,
3603
+ name: 'rosybrown',
3604
+ },
3605
+ {
3606
+ value: '#FFC1C1',
3607
+ name: 'rosybrown 1',
3608
+ },
3609
+ {
3610
+ value: '#EEB4B4',
3611
+ name: 'rosybrown 2',
3612
+ },
3613
+ {
3614
+ value: '#CD9B9B',
3615
+ name: 'rosybrown 3',
3616
+ },
3617
+ {
3618
+ value: '#8B6969',
3619
+ name: 'rosybrown 4',
3620
+ },
3621
+ {
3622
+ value: '#F08080',
3623
+ css: true,
3624
+ name: 'lightcoral',
3625
+ },
3626
+ {
3627
+ value: '#CD5C5C',
3628
+ css: true,
3629
+ name: 'indianred',
3630
+ },
3631
+ {
3632
+ value: '#FF6A6A',
3633
+ name: 'indianred 1',
3634
+ },
3635
+ {
3636
+ value: '#EE6363',
3637
+ name: 'indianred 2',
3638
+ },
3639
+ {
3640
+ value: '#8B3A3A',
3641
+ name: 'indianred 4',
3642
+ },
3643
+ {
3644
+ value: '#CD5555',
3645
+ name: 'indianred 3',
3646
+ },
3647
+ {
3648
+ value: '#A52A2A',
3649
+ css: true,
3650
+ name: 'brown',
3651
+ },
3652
+ {
3653
+ value: '#FF4040',
3654
+ name: 'brown 1',
3655
+ },
3656
+ {
3657
+ value: '#EE3B3B',
3658
+ name: 'brown 2',
3659
+ },
3660
+ {
3661
+ value: '#CD3333',
3662
+ name: 'brown 3',
3663
+ },
3664
+ {
3665
+ value: '#8B2323',
3666
+ name: 'brown 4',
3667
+ },
3668
+ {
3669
+ value: '#B22222',
3670
+ css: true,
3671
+ name: 'firebrick',
3672
+ },
3673
+ {
3674
+ value: '#FF3030',
3675
+ name: 'firebrick 1',
3676
+ },
3677
+ {
3678
+ value: '#EE2C2C',
3679
+ name: 'firebrick 2',
3680
+ },
3681
+ {
3682
+ value: '#CD2626',
3683
+ name: 'firebrick 3',
3684
+ },
3685
+ {
3686
+ value: '#8B1A1A',
3687
+ name: 'firebrick 4',
3688
+ },
3689
+ {
3690
+ value: '#FF0000',
3691
+ vga: true,
3692
+ name: 'red 1',
3693
+ },
3694
+ {
3695
+ value: '#FF0000',
3696
+ vga: true,
3697
+ css: true,
3698
+ name: 'red',
3699
+ },
3700
+ {
3701
+ value: '#EE0000',
3702
+ name: 'red 2',
3703
+ },
3704
+ {
3705
+ value: '#CD0000',
3706
+ name: 'red 3',
3707
+ },
3708
+ {
3709
+ value: '#8B0000',
3710
+ name: 'red 4',
3711
+ },
3712
+ {
3713
+ value: '#8B0000',
3714
+ css: true,
3715
+ name: 'darkred',
3716
+ },
3717
+ {
3718
+ value: '#800000',
3719
+ vga: true,
3720
+ css: true,
3721
+ name: 'maroon',
3722
+ },
3723
+ {
3724
+ value: '#8E388E',
3725
+ name: 'sgi beet',
3726
+ },
3727
+ {
3728
+ value: '#7171C6',
3729
+ name: 'sgi slateblue',
3730
+ },
3731
+ {
3732
+ value: '#7D9EC0',
3733
+ name: 'sgi lightblue',
3734
+ },
3735
+ {
3736
+ value: '#388E8E',
3737
+ name: 'sgi teal',
3738
+ },
3739
+ {
3740
+ value: '#71C671',
3741
+ name: 'sgi chartreuse',
3742
+ },
3743
+ {
3744
+ value: '#8E8E38',
3745
+ name: 'sgi olivedrab',
3746
+ },
3747
+ {
3748
+ value: '#C5C1AA',
3749
+ name: 'sgi brightgray',
3750
+ },
3751
+ {
3752
+ value: '#C67171',
3753
+ name: 'sgi salmon',
3754
+ },
3755
+ {
3756
+ value: '#555555',
3757
+ name: 'sgi darkgray',
3758
+ },
3759
+ {
3760
+ value: '#1E1E1E',
3761
+ name: 'sgi gray 12',
3762
+ },
3763
+ {
3764
+ value: '#282828',
3765
+ name: 'sgi gray 16',
3766
+ },
3767
+ {
3768
+ value: '#515151',
3769
+ name: 'sgi gray 32',
3770
+ },
3771
+ {
3772
+ value: '#5B5B5B',
3773
+ name: 'sgi gray 36',
3774
+ },
3775
+ {
3776
+ value: '#848484',
3777
+ name: 'sgi gray 52',
3778
+ },
3779
+ {
3780
+ value: '#8E8E8E',
3781
+ name: 'sgi gray 56',
3782
+ },
3783
+ {
3784
+ value: '#AAAAAA',
3785
+ name: 'sgi lightgray',
3786
+ },
3787
+ {
3788
+ value: '#B7B7B7',
3789
+ name: 'sgi gray 72',
3790
+ },
3791
+ {
3792
+ value: '#C1C1C1',
3793
+ name: 'sgi gray 76',
3794
+ },
3795
+ {
3796
+ value: '#EAEAEA',
3797
+ name: 'sgi gray 92',
3798
+ },
3799
+ {
3800
+ value: '#F4F4F4',
3801
+ name: 'sgi gray 96',
3802
+ },
3803
+ {
3804
+ value: '#FFFFFF',
3805
+ vga: true,
3806
+ css: true,
3807
+ name: 'white',
3808
+ },
3809
+ {
3810
+ value: '#F5F5F5',
3811
+ name: 'white smoke',
3812
+ },
3813
+ {
3814
+ value: '#F5F5F5',
3815
+ name: 'gray 96',
3816
+ },
3817
+ {
3818
+ value: '#DCDCDC',
3819
+ css: true,
3820
+ name: 'gainsboro',
3821
+ },
3822
+ {
3823
+ value: '#D3D3D3',
3824
+ css: true,
3825
+ name: 'lightgrey',
3826
+ },
3827
+ {
3828
+ value: '#C0C0C0',
3829
+ vga: true,
3830
+ css: true,
3831
+ name: 'silver',
3832
+ },
3833
+ {
3834
+ value: '#A9A9A9',
3835
+ css: true,
3836
+ name: 'darkgray',
3837
+ },
3838
+ {
3839
+ value: '#808080',
3840
+ vga: true,
3841
+ css: true,
3842
+ name: 'gray',
3843
+ },
3844
+ {
3845
+ value: '#696969',
3846
+ css: true,
3847
+ name: 'dimgray',
3848
+ },
3849
+ {
3850
+ value: '#696969',
3851
+ name: 'gray 42',
3852
+ },
3853
+ {
3854
+ value: '#000000',
3855
+ vga: true,
3856
+ css: true,
3857
+ name: 'black',
3858
+ },
3859
+ {
3860
+ value: '#FCFCFC',
3861
+ name: 'gray 99',
3862
+ },
3863
+ {
3864
+ value: '#FAFAFA',
3865
+ name: 'gray 98',
3866
+ },
3867
+ {
3868
+ value: '#F7F7F7',
3869
+ name: 'gray 97',
3870
+ },
3871
+ {
3872
+ value: '#F2F2F2',
3873
+ name: 'gray 95',
3874
+ },
3875
+ {
3876
+ value: '#F0F0F0',
3877
+ name: 'gray 94',
3878
+ },
3879
+ {
3880
+ value: '#EDEDED',
3881
+ name: 'gray 93',
3882
+ },
3883
+ {
3884
+ value: '#EBEBEB',
3885
+ name: 'gray 92',
3886
+ },
3887
+ {
3888
+ value: '#E8E8E8',
3889
+ name: 'gray 91',
3890
+ },
3891
+ {
3892
+ value: '#E5E5E5',
3893
+ name: 'gray 90',
3894
+ },
3895
+ {
3896
+ value: '#E3E3E3',
3897
+ name: 'gray 89',
3898
+ },
3899
+ {
3900
+ value: '#E0E0E0',
3901
+ name: 'gray 88',
3902
+ },
3903
+ {
3904
+ value: '#DEDEDE',
3905
+ name: 'gray 87',
3906
+ },
3907
+ {
3908
+ value: '#DBDBDB',
3909
+ name: 'gray 86',
3910
+ },
3911
+ {
3912
+ value: '#D9D9D9',
3913
+ name: 'gray 85',
3914
+ },
3915
+ {
3916
+ value: '#D6D6D6',
3917
+ name: 'gray 84',
3918
+ },
3919
+ {
3920
+ value: '#D4D4D4',
3921
+ name: 'gray 83',
3922
+ },
3923
+ {
3924
+ value: '#D1D1D1',
3925
+ name: 'gray 82',
3926
+ },
3927
+ {
3928
+ value: '#CFCFCF',
3929
+ name: 'gray 81',
3930
+ },
3931
+ {
3932
+ value: '#CCCCCC',
3933
+ name: 'gray 80',
3934
+ },
3935
+ {
3936
+ value: '#C9C9C9',
3937
+ name: 'gray 79',
3938
+ },
3939
+ {
3940
+ value: '#C7C7C7',
3941
+ name: 'gray 78',
3942
+ },
3943
+ {
3944
+ value: '#C4C4C4',
3945
+ name: 'gray 77',
3946
+ },
3947
+ {
3948
+ value: '#C2C2C2',
3949
+ name: 'gray 76',
3950
+ },
3951
+ {
3952
+ value: '#BFBFBF',
3953
+ name: 'gray 75',
3954
+ },
3955
+ {
3956
+ value: '#BDBDBD',
3957
+ name: 'gray 74',
3958
+ },
3959
+ {
3960
+ value: '#BABABA',
3961
+ name: 'gray 73',
3962
+ },
3963
+ {
3964
+ value: '#B8B8B8',
3965
+ name: 'gray 72',
3966
+ },
3967
+ {
3968
+ value: '#B5B5B5',
3969
+ name: 'gray 71',
3970
+ },
3971
+ {
3972
+ value: '#B3B3B3',
3973
+ name: 'gray 70',
3974
+ },
3975
+ {
3976
+ value: '#B0B0B0',
3977
+ name: 'gray 69',
3978
+ },
3979
+ {
3980
+ value: '#ADADAD',
3981
+ name: 'gray 68',
3982
+ },
3983
+ {
3984
+ value: '#ABABAB',
3985
+ name: 'gray 67',
3986
+ },
3987
+ {
3988
+ value: '#A8A8A8',
3989
+ name: 'gray 66',
3990
+ },
3991
+ {
3992
+ value: '#A6A6A6',
3993
+ name: 'gray 65',
3994
+ },
3995
+ {
3996
+ value: '#A3A3A3',
3997
+ name: 'gray 64',
3998
+ },
3999
+ {
4000
+ value: '#A1A1A1',
4001
+ name: 'gray 63',
4002
+ },
4003
+ {
4004
+ value: '#9E9E9E',
4005
+ name: 'gray 62',
4006
+ },
4007
+ {
4008
+ value: '#9C9C9C',
4009
+ name: 'gray 61',
4010
+ },
4011
+ {
4012
+ value: '#999999',
4013
+ name: 'gray 60',
4014
+ },
4015
+ {
4016
+ value: '#969696',
4017
+ name: 'gray 59',
4018
+ },
4019
+ {
4020
+ value: '#949494',
4021
+ name: 'gray 58',
4022
+ },
4023
+ {
4024
+ value: '#919191',
4025
+ name: 'gray 57',
4026
+ },
4027
+ {
4028
+ value: '#8F8F8F',
4029
+ name: 'gray 56',
4030
+ },
4031
+ {
4032
+ value: '#8C8C8C',
4033
+ name: 'gray 55',
4034
+ },
4035
+ {
4036
+ value: '#8A8A8A',
4037
+ name: 'gray 54',
4038
+ },
4039
+ {
4040
+ value: '#878787',
4041
+ name: 'gray 53',
4042
+ },
4043
+ {
4044
+ value: '#858585',
4045
+ name: 'gray 52',
4046
+ },
4047
+ {
4048
+ value: '#828282',
4049
+ name: 'gray 51',
4050
+ },
4051
+ {
4052
+ value: '#7F7F7F',
4053
+ name: 'gray 50',
4054
+ },
4055
+ {
4056
+ value: '#7D7D7D',
4057
+ name: 'gray 49',
4058
+ },
4059
+ {
4060
+ value: '#7A7A7A',
4061
+ name: 'gray 48',
4062
+ },
4063
+ {
4064
+ value: '#787878',
4065
+ name: 'gray 47',
4066
+ },
4067
+ {
4068
+ value: '#757575',
4069
+ name: 'gray 46',
4070
+ },
4071
+ {
4072
+ value: '#737373',
4073
+ name: 'gray 45',
4074
+ },
4075
+ {
4076
+ value: '#707070',
4077
+ name: 'gray 44',
4078
+ },
4079
+ {
4080
+ value: '#6E6E6E',
4081
+ name: 'gray 43',
4082
+ },
4083
+ {
4084
+ value: '#666666',
4085
+ name: 'gray 40',
4086
+ },
4087
+ {
4088
+ value: '#636363',
4089
+ name: 'gray 39',
4090
+ },
4091
+ {
4092
+ value: '#616161',
4093
+ name: 'gray 38',
4094
+ },
4095
+ {
4096
+ value: '#5E5E5E',
4097
+ name: 'gray 37',
4098
+ },
4099
+ {
4100
+ value: '#5C5C5C',
4101
+ name: 'gray 36',
4102
+ },
4103
+ {
4104
+ value: '#595959',
4105
+ name: 'gray 35',
4106
+ },
4107
+ {
4108
+ value: '#575757',
4109
+ name: 'gray 34',
4110
+ },
4111
+ {
4112
+ value: '#545454',
4113
+ name: 'gray 33',
4114
+ },
4115
+ {
4116
+ value: '#525252',
4117
+ name: 'gray 32',
4118
+ },
4119
+ {
4120
+ value: '#4F4F4F',
4121
+ name: 'gray 31',
4122
+ },
4123
+ {
4124
+ value: '#4D4D4D',
4125
+ name: 'gray 30',
4126
+ },
4127
+ {
4128
+ value: '#4A4A4A',
4129
+ name: 'gray 29',
4130
+ },
4131
+ {
4132
+ value: '#474747',
4133
+ name: 'gray 28',
4134
+ },
4135
+ {
4136
+ value: '#454545',
4137
+ name: 'gray 27',
4138
+ },
4139
+ {
4140
+ value: '#424242',
4141
+ name: 'gray 26',
4142
+ },
4143
+ {
4144
+ value: '#404040',
4145
+ name: 'gray 25',
4146
+ },
4147
+ {
4148
+ value: '#3D3D3D',
4149
+ name: 'gray 24',
4150
+ },
4151
+ {
4152
+ value: '#3B3B3B',
4153
+ name: 'gray 23',
4154
+ },
4155
+ {
4156
+ value: '#383838',
4157
+ name: 'gray 22',
4158
+ },
4159
+ {
4160
+ value: '#363636',
4161
+ name: 'gray 21',
4162
+ },
4163
+ {
4164
+ value: '#333333',
4165
+ name: 'gray 20',
4166
+ },
4167
+ {
4168
+ value: '#303030',
4169
+ name: 'gray 19',
4170
+ },
4171
+ {
4172
+ value: '#2E2E2E',
4173
+ name: 'gray 18',
4174
+ },
4175
+ {
4176
+ value: '#2B2B2B',
4177
+ name: 'gray 17',
4178
+ },
4179
+ {
4180
+ value: '#292929',
4181
+ name: 'gray 16',
4182
+ },
4183
+ {
4184
+ value: '#262626',
4185
+ name: 'gray 15',
4186
+ },
4187
+ {
4188
+ value: '#242424',
4189
+ name: 'gray 14',
4190
+ },
4191
+ {
4192
+ value: '#212121',
4193
+ name: 'gray 13',
4194
+ },
4195
+ {
4196
+ value: '#1F1F1F',
4197
+ name: 'gray 12',
4198
+ },
4199
+ {
4200
+ value: '#1C1C1C',
4201
+ name: 'gray 11',
4202
+ },
4203
+ {
4204
+ value: '#1A1A1A',
4205
+ name: 'gray 10',
4206
+ },
4207
+ {
4208
+ value: '#171717',
4209
+ name: 'gray 9',
4210
+ },
4211
+ {
4212
+ value: '#141414',
4213
+ name: 'gray 8',
4214
+ },
4215
+ {
4216
+ value: '#121212',
4217
+ name: 'gray 7',
4218
+ },
4219
+ {
4220
+ value: '#0F0F0F',
4221
+ name: 'gray 6',
4222
+ },
4223
+ {
4224
+ value: '#0D0D0D',
4225
+ name: 'gray 5',
4226
+ },
4227
+ {
4228
+ value: '#0A0A0A',
4229
+ name: 'gray 4',
4230
+ },
4231
+ {
4232
+ value: '#080808',
4233
+ name: 'gray 3',
4234
+ },
4235
+ {
4236
+ value: '#050505',
4237
+ name: 'gray 2',
4238
+ },
4239
+ {
4240
+ value: '#030303',
4241
+ name: 'gray 1',
4242
+ },
4243
+ {
4244
+ value: '#F5F5F5',
4245
+ css: true,
4246
+ name: 'whitesmoke',
4247
+ },
4248
+ ];
4249
+
4250
+ /**
4251
+ * Module dependencies
4252
+ */
4253
+
4254
+ (function (module) {
4255
+ var colors$1 = colors;
4256
+
4257
+ var cssColors = colors$1.filter(function (color) {
4258
+ return !!color.css;
4259
+ });
4260
+
4261
+ var vgaColors = colors$1.filter(function (color) {
4262
+ return !!color.vga;
4263
+ });
4264
+
4265
+ /**
4266
+ * Get color value for a certain name.
4267
+ * @param name {String}
4268
+ * @return {String} Hex color value
4269
+ * @api public
4270
+ */
4271
+
4272
+ module.exports = function (name) {
4273
+ var color = module.exports.get(name);
4274
+ return color && color.value;
4275
+ };
4276
+
4277
+ /**
4278
+ * Get color object.
4279
+ *
4280
+ * @param name {String}
4281
+ * @return {Object} Color object
4282
+ * @api public
4283
+ */
4284
+
4285
+ module.exports.get = function (name) {
4286
+ name = name || '';
4287
+ name = name.trim().toLowerCase();
4288
+ return colors$1
4289
+ .filter(function (color) {
4290
+ return color.name.toLowerCase() === name;
4291
+ })
4292
+ .pop();
4293
+ };
4294
+
4295
+ /**
4296
+ * Get all color object.
4297
+ *
4298
+ * @return {Array}
4299
+ * @api public
4300
+ */
4301
+
4302
+ module.exports.all = module.exports.get.all = function () {
4303
+ return colors$1;
4304
+ };
4305
+
4306
+ /**
4307
+ * Get color object compatible with CSS.
4308
+ *
4309
+ * @return {Array}
4310
+ * @api public
4311
+ */
4312
+
4313
+ module.exports.get.css = function (name) {
4314
+ if (!name) return cssColors;
4315
+ name = name || '';
4316
+ name = name.trim().toLowerCase();
4317
+ return cssColors
4318
+ .filter(function (color) {
4319
+ return color.name.toLowerCase() === name;
4320
+ })
4321
+ .pop();
4322
+ };
4323
+
4324
+ module.exports.get.vga = function (name) {
4325
+ if (!name) return vgaColors;
4326
+ name = name || '';
4327
+ name = name.trim().toLowerCase();
4328
+ return vgaColors
4329
+ .filter(function (color) {
4330
+ return color.name.toLowerCase() === name;
4331
+ })
4332
+ .pop();
4333
+ };
4334
+ })(colornames);
4335
+
4336
+ /**
4337
+ * lodash (Custom Build) <https://lodash.com/>
4338
+ * Build: `lodash modularize exports="npm" -o ./`
4339
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
4340
+ * Released under MIT license <https://lodash.com/license>
4341
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
4342
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
4343
+ */
4344
+
4345
+ /** `Object#toString` result references. */
4346
+ var symbolTag$2 = '[object Symbol]';
4347
+
4348
+ /** Used to match words composed of alphanumeric characters. */
4349
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
4350
+
4351
+ /** Used to compose unicode character classes. */
4352
+ var rsAstralRange$2 = '\\ud800-\\udfff',
4353
+ rsComboMarksRange$2 = '\\u0300-\\u036f\\ufe20-\\ufe23',
4354
+ rsComboSymbolsRange$2 = '\\u20d0-\\u20f0',
4355
+ rsDingbatRange = '\\u2700-\\u27bf',
4356
+ rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
4357
+ rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
4358
+ rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
4359
+ rsPunctuationRange = '\\u2000-\\u206f',
4360
+ rsSpaceRange =
4361
+ ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
4362
+ rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
4363
+ rsVarRange$2 = '\\ufe0e\\ufe0f',
4364
+ rsBreakRange =
4365
+ rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
4366
+
4367
+ /** Used to compose unicode capture groups. */
4368
+ var rsApos = "['\u2019]",
4369
+ rsBreak = '[' + rsBreakRange + ']',
4370
+ rsCombo$2 = '[' + rsComboMarksRange$2 + rsComboSymbolsRange$2 + ']',
4371
+ rsDigits = '\\d+',
4372
+ rsDingbat = '[' + rsDingbatRange + ']',
4373
+ rsLower = '[' + rsLowerRange + ']',
4374
+ rsMisc =
4375
+ '[^' +
4376
+ rsAstralRange$2 +
4377
+ rsBreakRange +
4378
+ rsDigits +
4379
+ rsDingbatRange +
4380
+ rsLowerRange +
4381
+ rsUpperRange +
4382
+ ']',
4383
+ rsFitz$2 = '\\ud83c[\\udffb-\\udfff]',
4384
+ rsModifier$2 = '(?:' + rsCombo$2 + '|' + rsFitz$2 + ')',
4385
+ rsNonAstral$2 = '[^' + rsAstralRange$2 + ']',
4386
+ rsRegional$2 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
4387
+ rsSurrPair$2 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
4388
+ rsUpper = '[' + rsUpperRange + ']',
4389
+ rsZWJ$2 = '\\u200d';
4390
+
4391
+ /** Used to compose unicode regexes. */
4392
+ var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',
4393
+ rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',
4394
+ rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
4395
+ rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
4396
+ reOptMod$2 = rsModifier$2 + '?',
4397
+ rsOptVar$2 = '[' + rsVarRange$2 + ']?',
4398
+ rsOptJoin$2 =
4399
+ '(?:' +
4400
+ rsZWJ$2 +
4401
+ '(?:' +
4402
+ [rsNonAstral$2, rsRegional$2, rsSurrPair$2].join('|') +
4403
+ ')' +
4404
+ rsOptVar$2 +
4405
+ reOptMod$2 +
4406
+ ')*',
4407
+ rsSeq$2 = rsOptVar$2 + reOptMod$2 + rsOptJoin$2,
4408
+ rsEmoji =
4409
+ '(?:' + [rsDingbat, rsRegional$2, rsSurrPair$2].join('|') + ')' + rsSeq$2;
4410
+
4411
+ /** Used to match complex or compound words. */
4412
+ var reUnicodeWord = RegExp(
4413
+ [
4414
+ rsUpper +
4415
+ '?' +
4416
+ rsLower +
4417
+ '+' +
4418
+ rsOptLowerContr +
4419
+ '(?=' +
4420
+ [rsBreak, rsUpper, '$'].join('|') +
4421
+ ')',
4422
+ rsUpperMisc +
4423
+ '+' +
4424
+ rsOptUpperContr +
4425
+ '(?=' +
4426
+ [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') +
4427
+ ')',
4428
+ rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,
4429
+ rsUpper + '+' + rsOptUpperContr,
4430
+ rsDigits,
4431
+ rsEmoji,
4432
+ ].join('|'),
4433
+ 'g'
4434
+ );
4435
+
4436
+ /** Used to detect strings that need a more robust regexp to match words. */
4437
+ var reHasUnicodeWord =
4438
+ /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
4439
+
4440
+ /** Detect free variable `global` from Node.js. */
4441
+ var freeGlobal$2 =
4442
+ typeof commonjsGlobal == 'object' &&
4443
+ commonjsGlobal &&
4444
+ commonjsGlobal.Object === Object &&
4445
+ commonjsGlobal;
4446
+
4447
+ /** Detect free variable `self`. */
4448
+ var freeSelf$2 =
4449
+ typeof self == 'object' && self && self.Object === Object && self;
4450
+
4451
+ /** Used as a reference to the global object. */
4452
+ var root$2 = freeGlobal$2 || freeSelf$2 || Function('return this')();
4453
+
4454
+ /**
4455
+ * Splits an ASCII `string` into an array of its words.
4456
+ *
4457
+ * @private
4458
+ * @param {string} The string to inspect.
4459
+ * @returns {Array} Returns the words of `string`.
4460
+ */
4461
+ function asciiWords(string) {
4462
+ return string.match(reAsciiWord) || [];
4463
+ }
4464
+
4465
+ /**
4466
+ * Checks if `string` contains a word composed of Unicode symbols.
4467
+ *
4468
+ * @private
4469
+ * @param {string} string The string to inspect.
4470
+ * @returns {boolean} Returns `true` if a word is found, else `false`.
4471
+ */
4472
+ function hasUnicodeWord(string) {
4473
+ return reHasUnicodeWord.test(string);
4474
+ }
4475
+
4476
+ /**
4477
+ * Splits a Unicode `string` into an array of its words.
4478
+ *
4479
+ * @private
4480
+ * @param {string} The string to inspect.
4481
+ * @returns {Array} Returns the words of `string`.
4482
+ */
4483
+ function unicodeWords(string) {
4484
+ return string.match(reUnicodeWord) || [];
4485
+ }
4486
+
4487
+ /** Used for built-in method references. */
4488
+ var objectProto$2 = Object.prototype;
4489
+
4490
+ /**
4491
+ * Used to resolve the
4492
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4493
+ * of values.
4494
+ */
4495
+ var objectToString$2 = objectProto$2.toString;
4496
+
4497
+ /** Built-in value references. */
4498
+ var Symbol$3 = root$2.Symbol;
4499
+
4500
+ /** Used to convert symbols to primitives and strings. */
4501
+ var symbolProto$2 = Symbol$3 ? Symbol$3.prototype : undefined,
4502
+ symbolToString$2 = symbolProto$2 ? symbolProto$2.toString : undefined;
4503
+
4504
+ /**
4505
+ * The base implementation of `_.toString` which doesn't convert nullish
4506
+ * values to empty strings.
4507
+ *
4508
+ * @private
4509
+ * @param {*} value The value to process.
4510
+ * @returns {string} Returns the string.
4511
+ */
4512
+ function baseToString$2(value) {
4513
+ // Exit early for strings to avoid a performance hit in some environments.
4514
+ if (typeof value == 'string') {
4515
+ return value;
4516
+ }
4517
+ if (isSymbol$2(value)) {
4518
+ return symbolToString$2 ? symbolToString$2.call(value) : '';
4519
+ }
4520
+ var result = value + '';
4521
+ return result == '0' && 1 / value == -Infinity ? '-0' : result;
4522
+ }
4523
+
4524
+ /**
4525
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
4526
+ * and has a `typeof` result of "object".
4527
+ *
4528
+ * @static
4529
+ * @memberOf _
4530
+ * @since 4.0.0
4531
+ * @category Lang
4532
+ * @param {*} value The value to check.
4533
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4534
+ * @example
4535
+ *
4536
+ * _.isObjectLike({});
4537
+ * // => true
4538
+ *
4539
+ * _.isObjectLike([1, 2, 3]);
4540
+ * // => true
4541
+ *
4542
+ * _.isObjectLike(_.noop);
4543
+ * // => false
4544
+ *
4545
+ * _.isObjectLike(null);
4546
+ * // => false
4547
+ */
4548
+ function isObjectLike$2(value) {
4549
+ return !!value && typeof value == 'object';
4550
+ }
4551
+
4552
+ /**
4553
+ * Checks if `value` is classified as a `Symbol` primitive or object.
4554
+ *
4555
+ * @static
4556
+ * @memberOf _
4557
+ * @since 4.0.0
4558
+ * @category Lang
4559
+ * @param {*} value The value to check.
4560
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
4561
+ * @example
4562
+ *
4563
+ * _.isSymbol(Symbol.iterator);
4564
+ * // => true
4565
+ *
4566
+ * _.isSymbol('abc');
4567
+ * // => false
4568
+ */
4569
+ function isSymbol$2(value) {
4570
+ return (
4571
+ typeof value == 'symbol' ||
4572
+ (isObjectLike$2(value) && objectToString$2.call(value) == symbolTag$2)
4573
+ );
4574
+ }
4575
+
4576
+ /**
4577
+ * Converts `value` to a string. An empty string is returned for `null`
4578
+ * and `undefined` values. The sign of `-0` is preserved.
4579
+ *
4580
+ * @static
4581
+ * @memberOf _
4582
+ * @since 4.0.0
4583
+ * @category Lang
4584
+ * @param {*} value The value to process.
4585
+ * @returns {string} Returns the string.
4586
+ * @example
4587
+ *
4588
+ * _.toString(null);
4589
+ * // => ''
4590
+ *
4591
+ * _.toString(-0);
4592
+ * // => '-0'
4593
+ *
4594
+ * _.toString([1, 2, 3]);
4595
+ * // => '1,2,3'
4596
+ */
4597
+ function toString$2(value) {
4598
+ return value == null ? '' : baseToString$2(value);
4599
+ }
4600
+
4601
+ /**
4602
+ * Splits `string` into an array of its words.
4603
+ *
4604
+ * @static
4605
+ * @memberOf _
4606
+ * @since 3.0.0
4607
+ * @category String
4608
+ * @param {string} [string=''] The string to inspect.
4609
+ * @param {RegExp|string} [pattern] The pattern to match words.
4610
+ * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
4611
+ * @returns {Array} Returns the words of `string`.
4612
+ * @example
4613
+ *
4614
+ * _.words('fred, barney, & pebbles');
4615
+ * // => ['fred', 'barney', 'pebbles']
4616
+ *
4617
+ * _.words('fred, barney, & pebbles', /[^, ]+/g);
4618
+ * // => ['fred', 'barney', '&', 'pebbles']
4619
+ */
4620
+ function words(string, pattern, guard) {
4621
+ string = toString$2(string);
4622
+ pattern = guard ? undefined : pattern;
4623
+
4624
+ if (pattern === undefined) {
4625
+ return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
4626
+ }
4627
+ return string.match(pattern) || [];
4628
+ }
4629
+
4630
+ var lodash_words = words;
4631
+
4632
+ /**
4633
+ * lodash (Custom Build) <https://lodash.com/>
4634
+ * Build: `lodash modularize exports="npm" -o ./`
4635
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
4636
+ * Released under MIT license <https://lodash.com/license>
4637
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
4638
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
4639
+ */
4640
+
4641
+ /** `Object#toString` result references. */
4642
+ var symbolTag$1 = '[object Symbol]';
4643
+
4644
+ /** Used to match leading and trailing whitespace. */
4645
+ var reTrimStart = /^\s+/;
4646
+
4647
+ /** Used to compose unicode character classes. */
4648
+ var rsAstralRange$1 = '\\ud800-\\udfff',
4649
+ rsComboMarksRange$1 = '\\u0300-\\u036f\\ufe20-\\ufe23',
4650
+ rsComboSymbolsRange$1 = '\\u20d0-\\u20f0',
4651
+ rsVarRange$1 = '\\ufe0e\\ufe0f';
4652
+
4653
+ /** Used to compose unicode capture groups. */
4654
+ var rsAstral$1 = '[' + rsAstralRange$1 + ']',
4655
+ rsCombo$1 = '[' + rsComboMarksRange$1 + rsComboSymbolsRange$1 + ']',
4656
+ rsFitz$1 = '\\ud83c[\\udffb-\\udfff]',
4657
+ rsModifier$1 = '(?:' + rsCombo$1 + '|' + rsFitz$1 + ')',
4658
+ rsNonAstral$1 = '[^' + rsAstralRange$1 + ']',
4659
+ rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
4660
+ rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
4661
+ rsZWJ$1 = '\\u200d';
4662
+
4663
+ /** Used to compose unicode regexes. */
4664
+ var reOptMod$1 = rsModifier$1 + '?',
4665
+ rsOptVar$1 = '[' + rsVarRange$1 + ']?',
4666
+ rsOptJoin$1 =
4667
+ '(?:' +
4668
+ rsZWJ$1 +
4669
+ '(?:' +
4670
+ [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') +
4671
+ ')' +
4672
+ rsOptVar$1 +
4673
+ reOptMod$1 +
4674
+ ')*',
4675
+ rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1,
4676
+ rsSymbol$1 =
4677
+ '(?:' +
4678
+ [
4679
+ rsNonAstral$1 + rsCombo$1 + '?',
4680
+ rsCombo$1,
4681
+ rsRegional$1,
4682
+ rsSurrPair$1,
4683
+ rsAstral$1,
4684
+ ].join('|') +
4685
+ ')';
4686
+
4687
+ /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
4688
+ var reUnicode$1 = RegExp(
4689
+ rsFitz$1 + '(?=' + rsFitz$1 + ')|' + rsSymbol$1 + rsSeq$1,
4690
+ 'g'
4691
+ );
4692
+
4693
+ /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
4694
+ var reHasUnicode$1 = RegExp(
4695
+ '[' +
4696
+ rsZWJ$1 +
4697
+ rsAstralRange$1 +
4698
+ rsComboMarksRange$1 +
4699
+ rsComboSymbolsRange$1 +
4700
+ rsVarRange$1 +
4701
+ ']'
4702
+ );
4703
+
4704
+ /** Detect free variable `global` from Node.js. */
4705
+ var freeGlobal$1 =
4706
+ typeof commonjsGlobal == 'object' &&
4707
+ commonjsGlobal &&
4708
+ commonjsGlobal.Object === Object &&
4709
+ commonjsGlobal;
4710
+
4711
+ /** Detect free variable `self`. */
4712
+ var freeSelf$1 =
4713
+ typeof self == 'object' && self && self.Object === Object && self;
4714
+
4715
+ /** Used as a reference to the global object. */
4716
+ var root$1 = freeGlobal$1 || freeSelf$1 || Function('return this')();
4717
+
4718
+ /**
4719
+ * Converts an ASCII `string` to an array.
4720
+ *
4721
+ * @private
4722
+ * @param {string} string The string to convert.
4723
+ * @returns {Array} Returns the converted array.
4724
+ */
4725
+ function asciiToArray$1(string) {
4726
+ return string.split('');
4727
+ }
4728
+
4729
+ /**
4730
+ * The base implementation of `_.findIndex` and `_.findLastIndex` without
4731
+ * support for iteratee shorthands.
4732
+ *
4733
+ * @private
4734
+ * @param {Array} array The array to inspect.
4735
+ * @param {Function} predicate The function invoked per iteration.
4736
+ * @param {number} fromIndex The index to search from.
4737
+ * @param {boolean} [fromRight] Specify iterating from right to left.
4738
+ * @returns {number} Returns the index of the matched value, else `-1`.
4739
+ */
4740
+ function baseFindIndex(array, predicate, fromIndex, fromRight) {
4741
+ var length = array.length,
4742
+ index = fromIndex + -1;
4743
+
4744
+ while (++index < length) {
4745
+ if (predicate(array[index], index, array)) {
4746
+ return index;
4747
+ }
4748
+ }
4749
+ return -1;
4750
+ }
4751
+
4752
+ /**
4753
+ * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
4754
+ *
4755
+ * @private
4756
+ * @param {Array} array The array to inspect.
4757
+ * @param {*} value The value to search for.
4758
+ * @param {number} fromIndex The index to search from.
4759
+ * @returns {number} Returns the index of the matched value, else `-1`.
4760
+ */
4761
+ function baseIndexOf(array, value, fromIndex) {
4762
+ if (value !== value) {
4763
+ return baseFindIndex(array, baseIsNaN, fromIndex);
4764
+ }
4765
+ var index = fromIndex - 1,
4766
+ length = array.length;
4767
+
4768
+ while (++index < length) {
4769
+ if (array[index] === value) {
4770
+ return index;
4771
+ }
4772
+ }
4773
+ return -1;
4774
+ }
4775
+
4776
+ /**
4777
+ * The base implementation of `_.isNaN` without support for number objects.
4778
+ *
4779
+ * @private
4780
+ * @param {*} value The value to check.
4781
+ * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
4782
+ */
4783
+ function baseIsNaN(value) {
4784
+ return value !== value;
4785
+ }
4786
+
4787
+ /**
4788
+ * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
4789
+ * that is not found in the character symbols.
4790
+ *
4791
+ * @private
4792
+ * @param {Array} strSymbols The string symbols to inspect.
4793
+ * @param {Array} chrSymbols The character symbols to find.
4794
+ * @returns {number} Returns the index of the first unmatched string symbol.
4795
+ */
4796
+ function charsStartIndex(strSymbols, chrSymbols) {
4797
+ var index = -1,
4798
+ length = strSymbols.length;
4799
+
4800
+ while (
4801
+ ++index < length &&
4802
+ baseIndexOf(chrSymbols, strSymbols[index], 0) > -1
4803
+ ) {}
4804
+ return index;
4805
+ }
4806
+
4807
+ /**
4808
+ * Checks if `string` contains Unicode symbols.
4809
+ *
4810
+ * @private
4811
+ * @param {string} string The string to inspect.
4812
+ * @returns {boolean} Returns `true` if a symbol is found, else `false`.
4813
+ */
4814
+ function hasUnicode$1(string) {
4815
+ return reHasUnicode$1.test(string);
4816
+ }
4817
+
4818
+ /**
4819
+ * Converts `string` to an array.
4820
+ *
4821
+ * @private
4822
+ * @param {string} string The string to convert.
4823
+ * @returns {Array} Returns the converted array.
4824
+ */
4825
+ function stringToArray$1(string) {
4826
+ return hasUnicode$1(string)
4827
+ ? unicodeToArray$1(string)
4828
+ : asciiToArray$1(string);
4829
+ }
4830
+
4831
+ /**
4832
+ * Converts a Unicode `string` to an array.
4833
+ *
4834
+ * @private
4835
+ * @param {string} string The string to convert.
4836
+ * @returns {Array} Returns the converted array.
4837
+ */
4838
+ function unicodeToArray$1(string) {
4839
+ return string.match(reUnicode$1) || [];
4840
+ }
4841
+
4842
+ /** Used for built-in method references. */
4843
+ var objectProto$1 = Object.prototype;
4844
+
4845
+ /**
4846
+ * Used to resolve the
4847
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4848
+ * of values.
4849
+ */
4850
+ var objectToString$1 = objectProto$1.toString;
4851
+
4852
+ /** Built-in value references. */
4853
+ var Symbol$2 = root$1.Symbol;
4854
+
4855
+ /** Used to convert symbols to primitives and strings. */
4856
+ var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : undefined,
4857
+ symbolToString$1 = symbolProto$1 ? symbolProto$1.toString : undefined;
4858
+
4859
+ /**
4860
+ * The base implementation of `_.slice` without an iteratee call guard.
4861
+ *
4862
+ * @private
4863
+ * @param {Array} array The array to slice.
4864
+ * @param {number} [start=0] The start position.
4865
+ * @param {number} [end=array.length] The end position.
4866
+ * @returns {Array} Returns the slice of `array`.
4867
+ */
4868
+ function baseSlice$1(array, start, end) {
4869
+ var index = -1,
4870
+ length = array.length;
4871
+
4872
+ if (start < 0) {
4873
+ start = -start > length ? 0 : length + start;
4874
+ }
4875
+ end = end > length ? length : end;
4876
+ if (end < 0) {
4877
+ end += length;
4878
+ }
4879
+ length = start > end ? 0 : (end - start) >>> 0;
4880
+ start >>>= 0;
4881
+
4882
+ var result = Array(length);
4883
+ while (++index < length) {
4884
+ result[index] = array[index + start];
4885
+ }
4886
+ return result;
4887
+ }
4888
+
4889
+ /**
4890
+ * The base implementation of `_.toString` which doesn't convert nullish
4891
+ * values to empty strings.
4892
+ *
4893
+ * @private
4894
+ * @param {*} value The value to process.
4895
+ * @returns {string} Returns the string.
4896
+ */
4897
+ function baseToString$1(value) {
4898
+ // Exit early for strings to avoid a performance hit in some environments.
4899
+ if (typeof value == 'string') {
4900
+ return value;
4901
+ }
4902
+ if (isSymbol$1(value)) {
4903
+ return symbolToString$1 ? symbolToString$1.call(value) : '';
4904
+ }
4905
+ var result = value + '';
4906
+ return result == '0' && 1 / value == -Infinity ? '-0' : result;
4907
+ }
4908
+
4909
+ /**
4910
+ * Casts `array` to a slice if it's needed.
4911
+ *
4912
+ * @private
4913
+ * @param {Array} array The array to inspect.
4914
+ * @param {number} start The start position.
4915
+ * @param {number} [end=array.length] The end position.
4916
+ * @returns {Array} Returns the cast slice.
4917
+ */
4918
+ function castSlice$1(array, start, end) {
4919
+ var length = array.length;
4920
+ end = end === undefined ? length : end;
4921
+ return !start && end >= length ? array : baseSlice$1(array, start, end);
4922
+ }
4923
+
4924
+ /**
4925
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
4926
+ * and has a `typeof` result of "object".
4927
+ *
4928
+ * @static
4929
+ * @memberOf _
4930
+ * @since 4.0.0
4931
+ * @category Lang
4932
+ * @param {*} value The value to check.
4933
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4934
+ * @example
4935
+ *
4936
+ * _.isObjectLike({});
4937
+ * // => true
4938
+ *
4939
+ * _.isObjectLike([1, 2, 3]);
4940
+ * // => true
4941
+ *
4942
+ * _.isObjectLike(_.noop);
4943
+ * // => false
4944
+ *
4945
+ * _.isObjectLike(null);
4946
+ * // => false
4947
+ */
4948
+ function isObjectLike$1(value) {
4949
+ return !!value && typeof value == 'object';
4950
+ }
4951
+
4952
+ /**
4953
+ * Checks if `value` is classified as a `Symbol` primitive or object.
4954
+ *
4955
+ * @static
4956
+ * @memberOf _
4957
+ * @since 4.0.0
4958
+ * @category Lang
4959
+ * @param {*} value The value to check.
4960
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
4961
+ * @example
4962
+ *
4963
+ * _.isSymbol(Symbol.iterator);
4964
+ * // => true
4965
+ *
4966
+ * _.isSymbol('abc');
4967
+ * // => false
4968
+ */
4969
+ function isSymbol$1(value) {
4970
+ return (
4971
+ typeof value == 'symbol' ||
4972
+ (isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1)
4973
+ );
4974
+ }
4975
+
4976
+ /**
4977
+ * Converts `value` to a string. An empty string is returned for `null`
4978
+ * and `undefined` values. The sign of `-0` is preserved.
4979
+ *
4980
+ * @static
4981
+ * @memberOf _
4982
+ * @since 4.0.0
4983
+ * @category Lang
4984
+ * @param {*} value The value to process.
4985
+ * @returns {string} Returns the string.
4986
+ * @example
4987
+ *
4988
+ * _.toString(null);
4989
+ * // => ''
4990
+ *
4991
+ * _.toString(-0);
4992
+ * // => '-0'
4993
+ *
4994
+ * _.toString([1, 2, 3]);
4995
+ * // => '1,2,3'
4996
+ */
4997
+ function toString$1(value) {
4998
+ return value == null ? '' : baseToString$1(value);
4999
+ }
5000
+
5001
+ /**
5002
+ * Removes leading whitespace or specified characters from `string`.
5003
+ *
5004
+ * @static
5005
+ * @memberOf _
5006
+ * @since 4.0.0
5007
+ * @category String
5008
+ * @param {string} [string=''] The string to trim.
5009
+ * @param {string} [chars=whitespace] The characters to trim.
5010
+ * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
5011
+ * @returns {string} Returns the trimmed string.
5012
+ * @example
5013
+ *
5014
+ * _.trimStart(' abc ');
5015
+ * // => 'abc '
5016
+ *
5017
+ * _.trimStart('-_-abc-_-', '_-');
5018
+ * // => 'abc-_-'
5019
+ */
5020
+ function trimStart$1(string, chars, guard) {
5021
+ string = toString$1(string);
5022
+ if (string && (guard || chars === undefined)) {
5023
+ return string.replace(reTrimStart, '');
5024
+ }
5025
+ if (!string || !(chars = baseToString$1(chars))) {
5026
+ return string;
5027
+ }
5028
+ var strSymbols = stringToArray$1(string),
5029
+ start = charsStartIndex(strSymbols, stringToArray$1(chars));
5030
+
5031
+ return castSlice$1(strSymbols, start).join('');
5032
+ }
5033
+
5034
+ var lodash_trimstart = trimStart$1;
5035
+
5036
+ /**
5037
+ * lodash (Custom Build) <https://lodash.com/>
5038
+ * Build: `lodash modularize exports="npm" -o ./`
5039
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
5040
+ * Released under MIT license <https://lodash.com/license>
5041
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
5042
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
5043
+ */
5044
+
5045
+ /** Used as references for various `Number` constants. */
5046
+ var INFINITY = 1 / 0,
5047
+ MAX_SAFE_INTEGER = 9007199254740991,
5048
+ MAX_INTEGER = 1.7976931348623157e308,
5049
+ NAN = 0 / 0;
5050
+
5051
+ /** `Object#toString` result references. */
5052
+ var symbolTag = '[object Symbol]';
5053
+
5054
+ /** Used to match leading and trailing whitespace. */
5055
+ var reTrim = /^\s+|\s+$/g;
5056
+
5057
+ /** Used to detect bad signed hexadecimal string values. */
5058
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5059
+
5060
+ /** Used to detect binary string values. */
5061
+ var reIsBinary = /^0b[01]+$/i;
5062
+
5063
+ /** Used to detect octal string values. */
5064
+ var reIsOctal = /^0o[0-7]+$/i;
5065
+
5066
+ /** Used to compose unicode character classes. */
5067
+ var rsAstralRange = '\\ud800-\\udfff',
5068
+ rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
5069
+ rsComboSymbolsRange = '\\u20d0-\\u20f0',
5070
+ rsVarRange = '\\ufe0e\\ufe0f';
5071
+
5072
+ /** Used to compose unicode capture groups. */
5073
+ var rsAstral = '[' + rsAstralRange + ']',
5074
+ rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
5075
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
5076
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
5077
+ rsNonAstral = '[^' + rsAstralRange + ']',
5078
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
5079
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
5080
+ rsZWJ = '\\u200d';
5081
+
5082
+ /** Used to compose unicode regexes. */
5083
+ var reOptMod = rsModifier + '?',
5084
+ rsOptVar = '[' + rsVarRange + ']?',
5085
+ rsOptJoin =
5086
+ '(?:' +
5087
+ rsZWJ +
5088
+ '(?:' +
5089
+ [rsNonAstral, rsRegional, rsSurrPair].join('|') +
5090
+ ')' +
5091
+ rsOptVar +
5092
+ reOptMod +
5093
+ ')*',
5094
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
5095
+ rsSymbol =
5096
+ '(?:' +
5097
+ [
5098
+ rsNonAstral + rsCombo + '?',
5099
+ rsCombo,
5100
+ rsRegional,
5101
+ rsSurrPair,
5102
+ rsAstral,
5103
+ ].join('|') +
5104
+ ')';
5105
+
5106
+ /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
5107
+ var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
5108
+
5109
+ /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
5110
+ var reHasUnicode = RegExp(
5111
+ '[' +
5112
+ rsZWJ +
5113
+ rsAstralRange +
5114
+ rsComboMarksRange +
5115
+ rsComboSymbolsRange +
5116
+ rsVarRange +
5117
+ ']'
5118
+ );
5119
+
5120
+ /** Built-in method references without a dependency on `root`. */
5121
+ var freeParseInt = parseInt;
5122
+
5123
+ /** Detect free variable `global` from Node.js. */
5124
+ var freeGlobal =
5125
+ typeof commonjsGlobal == 'object' &&
5126
+ commonjsGlobal &&
5127
+ commonjsGlobal.Object === Object &&
5128
+ commonjsGlobal;
5129
+
5130
+ /** Detect free variable `self`. */
5131
+ var freeSelf =
5132
+ typeof self == 'object' && self && self.Object === Object && self;
5133
+
5134
+ /** Used as a reference to the global object. */
5135
+ var root = freeGlobal || freeSelf || Function('return this')();
5136
+
5137
+ /**
5138
+ * Gets the size of an ASCII `string`.
5139
+ *
5140
+ * @private
5141
+ * @param {string} string The string inspect.
5142
+ * @returns {number} Returns the string size.
5143
+ */
5144
+ var asciiSize = baseProperty('length');
5145
+
5146
+ /**
5147
+ * Converts an ASCII `string` to an array.
5148
+ *
5149
+ * @private
5150
+ * @param {string} string The string to convert.
5151
+ * @returns {Array} Returns the converted array.
5152
+ */
5153
+ function asciiToArray(string) {
5154
+ return string.split('');
5155
+ }
5156
+
5157
+ /**
5158
+ * The base implementation of `_.property` without support for deep paths.
5159
+ *
5160
+ * @private
5161
+ * @param {string} key The key of the property to get.
5162
+ * @returns {Function} Returns the new accessor function.
5163
+ */
5164
+ function baseProperty(key) {
5165
+ return function (object) {
5166
+ return object == null ? undefined : object[key];
5167
+ };
5168
+ }
5169
+
5170
+ /**
5171
+ * Checks if `string` contains Unicode symbols.
5172
+ *
5173
+ * @private
5174
+ * @param {string} string The string to inspect.
5175
+ * @returns {boolean} Returns `true` if a symbol is found, else `false`.
5176
+ */
5177
+ function hasUnicode(string) {
5178
+ return reHasUnicode.test(string);
5179
+ }
5180
+
5181
+ /**
5182
+ * Gets the number of symbols in `string`.
5183
+ *
5184
+ * @private
5185
+ * @param {string} string The string to inspect.
5186
+ * @returns {number} Returns the string size.
5187
+ */
5188
+ function stringSize(string) {
5189
+ return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);
5190
+ }
5191
+
5192
+ /**
5193
+ * Converts `string` to an array.
5194
+ *
5195
+ * @private
5196
+ * @param {string} string The string to convert.
5197
+ * @returns {Array} Returns the converted array.
5198
+ */
5199
+ function stringToArray(string) {
5200
+ return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
5201
+ }
5202
+
5203
+ /**
5204
+ * Gets the size of a Unicode `string`.
5205
+ *
5206
+ * @private
5207
+ * @param {string} string The string inspect.
5208
+ * @returns {number} Returns the string size.
5209
+ */
5210
+ function unicodeSize(string) {
5211
+ var result = (reUnicode.lastIndex = 0);
5212
+ while (reUnicode.test(string)) {
5213
+ result++;
5214
+ }
5215
+ return result;
5216
+ }
5217
+
5218
+ /**
5219
+ * Converts a Unicode `string` to an array.
5220
+ *
5221
+ * @private
5222
+ * @param {string} string The string to convert.
5223
+ * @returns {Array} Returns the converted array.
5224
+ */
5225
+ function unicodeToArray(string) {
5226
+ return string.match(reUnicode) || [];
5227
+ }
5228
+
5229
+ /** Used for built-in method references. */
5230
+ var objectProto = Object.prototype;
5231
+
5232
+ /**
5233
+ * Used to resolve the
5234
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5235
+ * of values.
5236
+ */
5237
+ var objectToString = objectProto.toString;
5238
+
5239
+ /** Built-in value references. */
5240
+ var Symbol$1 = root.Symbol;
5241
+
5242
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5243
+ var nativeCeil = Math.ceil,
5244
+ nativeFloor = Math.floor;
5245
+
5246
+ /** Used to convert symbols to primitives and strings. */
5247
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
5248
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
5249
+
5250
+ /**
5251
+ * The base implementation of `_.repeat` which doesn't coerce arguments.
5252
+ *
5253
+ * @private
5254
+ * @param {string} string The string to repeat.
5255
+ * @param {number} n The number of times to repeat the string.
5256
+ * @returns {string} Returns the repeated string.
5257
+ */
5258
+ function baseRepeat(string, n) {
5259
+ var result = '';
5260
+ if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
5261
+ return result;
5262
+ }
5263
+ // Leverage the exponentiation by squaring algorithm for a faster repeat.
5264
+ // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
5265
+ do {
5266
+ if (n % 2) {
5267
+ result += string;
5268
+ }
5269
+ n = nativeFloor(n / 2);
5270
+ if (n) {
5271
+ string += string;
5272
+ }
5273
+ } while (n);
5274
+
5275
+ return result;
5276
+ }
5277
+
5278
+ /**
5279
+ * The base implementation of `_.slice` without an iteratee call guard.
5280
+ *
5281
+ * @private
5282
+ * @param {Array} array The array to slice.
5283
+ * @param {number} [start=0] The start position.
5284
+ * @param {number} [end=array.length] The end position.
5285
+ * @returns {Array} Returns the slice of `array`.
5286
+ */
5287
+ function baseSlice(array, start, end) {
5288
+ var index = -1,
5289
+ length = array.length;
5290
+
5291
+ if (start < 0) {
5292
+ start = -start > length ? 0 : length + start;
5293
+ }
5294
+ end = end > length ? length : end;
5295
+ if (end < 0) {
5296
+ end += length;
5297
+ }
5298
+ length = start > end ? 0 : (end - start) >>> 0;
5299
+ start >>>= 0;
5300
+
5301
+ var result = Array(length);
5302
+ while (++index < length) {
5303
+ result[index] = array[index + start];
5304
+ }
5305
+ return result;
5306
+ }
5307
+
5308
+ /**
5309
+ * The base implementation of `_.toString` which doesn't convert nullish
5310
+ * values to empty strings.
5311
+ *
5312
+ * @private
5313
+ * @param {*} value The value to process.
5314
+ * @returns {string} Returns the string.
5315
+ */
5316
+ function baseToString(value) {
5317
+ // Exit early for strings to avoid a performance hit in some environments.
5318
+ if (typeof value == 'string') {
5319
+ return value;
5320
+ }
5321
+ if (isSymbol(value)) {
5322
+ return symbolToString ? symbolToString.call(value) : '';
5323
+ }
5324
+ var result = value + '';
5325
+ return result == '0' && 1 / value == -INFINITY ? '-0' : result;
5326
+ }
5327
+
5328
+ /**
5329
+ * Casts `array` to a slice if it's needed.
5330
+ *
5331
+ * @private
5332
+ * @param {Array} array The array to inspect.
5333
+ * @param {number} start The start position.
5334
+ * @param {number} [end=array.length] The end position.
5335
+ * @returns {Array} Returns the cast slice.
5336
+ */
5337
+ function castSlice(array, start, end) {
5338
+ var length = array.length;
5339
+ end = end === undefined ? length : end;
5340
+ return !start && end >= length ? array : baseSlice(array, start, end);
5341
+ }
5342
+
5343
+ /**
5344
+ * Creates the padding for `string` based on `length`. The `chars` string
5345
+ * is truncated if the number of characters exceeds `length`.
5346
+ *
5347
+ * @private
5348
+ * @param {number} length The padding length.
5349
+ * @param {string} [chars=' '] The string used as padding.
5350
+ * @returns {string} Returns the padding for `string`.
5351
+ */
5352
+ function createPadding(length, chars) {
5353
+ chars = chars === undefined ? ' ' : baseToString(chars);
5354
+
5355
+ var charsLength = chars.length;
5356
+ if (charsLength < 2) {
5357
+ return charsLength ? baseRepeat(chars, length) : chars;
5358
+ }
5359
+ var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
5360
+ return hasUnicode(chars)
5361
+ ? castSlice(stringToArray(result), 0, length).join('')
5362
+ : result.slice(0, length);
5363
+ }
5364
+
5365
+ /**
5366
+ * Checks if `value` is the
5367
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
5368
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
5369
+ *
5370
+ * @static
5371
+ * @memberOf _
5372
+ * @since 0.1.0
5373
+ * @category Lang
5374
+ * @param {*} value The value to check.
5375
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
5376
+ * @example
5377
+ *
5378
+ * _.isObject({});
5379
+ * // => true
5380
+ *
5381
+ * _.isObject([1, 2, 3]);
5382
+ * // => true
5383
+ *
5384
+ * _.isObject(_.noop);
5385
+ * // => true
5386
+ *
5387
+ * _.isObject(null);
5388
+ * // => false
5389
+ */
5390
+ function isObject(value) {
5391
+ var type = typeof value;
5392
+ return !!value && (type == 'object' || type == 'function');
5393
+ }
5394
+
5395
+ /**
5396
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
5397
+ * and has a `typeof` result of "object".
5398
+ *
5399
+ * @static
5400
+ * @memberOf _
5401
+ * @since 4.0.0
5402
+ * @category Lang
5403
+ * @param {*} value The value to check.
5404
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5405
+ * @example
5406
+ *
5407
+ * _.isObjectLike({});
5408
+ * // => true
5409
+ *
5410
+ * _.isObjectLike([1, 2, 3]);
5411
+ * // => true
5412
+ *
5413
+ * _.isObjectLike(_.noop);
5414
+ * // => false
5415
+ *
5416
+ * _.isObjectLike(null);
5417
+ * // => false
5418
+ */
5419
+ function isObjectLike(value) {
5420
+ return !!value && typeof value == 'object';
5421
+ }
5422
+
5423
+ /**
5424
+ * Checks if `value` is classified as a `Symbol` primitive or object.
5425
+ *
5426
+ * @static
5427
+ * @memberOf _
5428
+ * @since 4.0.0
5429
+ * @category Lang
5430
+ * @param {*} value The value to check.
5431
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
5432
+ * @example
5433
+ *
5434
+ * _.isSymbol(Symbol.iterator);
5435
+ * // => true
5436
+ *
5437
+ * _.isSymbol('abc');
5438
+ * // => false
5439
+ */
5440
+ function isSymbol(value) {
5441
+ return (
5442
+ typeof value == 'symbol' ||
5443
+ (isObjectLike(value) && objectToString.call(value) == symbolTag)
5444
+ );
5445
+ }
5446
+
5447
+ /**
5448
+ * Converts `value` to a finite number.
5449
+ *
5450
+ * @static
5451
+ * @memberOf _
5452
+ * @since 4.12.0
5453
+ * @category Lang
5454
+ * @param {*} value The value to convert.
5455
+ * @returns {number} Returns the converted number.
5456
+ * @example
5457
+ *
5458
+ * _.toFinite(3.2);
5459
+ * // => 3.2
5460
+ *
5461
+ * _.toFinite(Number.MIN_VALUE);
5462
+ * // => 5e-324
5463
+ *
5464
+ * _.toFinite(Infinity);
5465
+ * // => 1.7976931348623157e+308
5466
+ *
5467
+ * _.toFinite('3.2');
5468
+ * // => 3.2
5469
+ */
5470
+ function toFinite(value) {
5471
+ if (!value) {
5472
+ return value === 0 ? value : 0;
5473
+ }
5474
+ value = toNumber(value);
5475
+ if (value === INFINITY || value === -INFINITY) {
5476
+ var sign = value < 0 ? -1 : 1;
5477
+ return sign * MAX_INTEGER;
5478
+ }
5479
+ return value === value ? value : 0;
5480
+ }
5481
+
5482
+ /**
5483
+ * Converts `value` to an integer.
5484
+ *
5485
+ * **Note:** This method is loosely based on
5486
+ * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
5487
+ *
5488
+ * @static
5489
+ * @memberOf _
5490
+ * @since 4.0.0
5491
+ * @category Lang
5492
+ * @param {*} value The value to convert.
5493
+ * @returns {number} Returns the converted integer.
5494
+ * @example
5495
+ *
5496
+ * _.toInteger(3.2);
5497
+ * // => 3
5498
+ *
5499
+ * _.toInteger(Number.MIN_VALUE);
5500
+ * // => 0
5501
+ *
5502
+ * _.toInteger(Infinity);
5503
+ * // => 1.7976931348623157e+308
5504
+ *
5505
+ * _.toInteger('3.2');
5506
+ * // => 3
5507
+ */
5508
+ function toInteger(value) {
5509
+ var result = toFinite(value),
5510
+ remainder = result % 1;
5511
+
5512
+ return result === result ? (remainder ? result - remainder : result) : 0;
5513
+ }
5514
+
5515
+ /**
5516
+ * Converts `value` to a number.
5517
+ *
5518
+ * @static
5519
+ * @memberOf _
5520
+ * @since 4.0.0
5521
+ * @category Lang
5522
+ * @param {*} value The value to process.
5523
+ * @returns {number} Returns the number.
5524
+ * @example
5525
+ *
5526
+ * _.toNumber(3.2);
5527
+ * // => 3.2
5528
+ *
5529
+ * _.toNumber(Number.MIN_VALUE);
5530
+ * // => 5e-324
5531
+ *
5532
+ * _.toNumber(Infinity);
5533
+ * // => Infinity
5534
+ *
5535
+ * _.toNumber('3.2');
5536
+ * // => 3.2
5537
+ */
5538
+ function toNumber(value) {
5539
+ if (typeof value == 'number') {
5540
+ return value;
5541
+ }
5542
+ if (isSymbol(value)) {
5543
+ return NAN;
5544
+ }
5545
+ if (isObject(value)) {
5546
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
5547
+ value = isObject(other) ? other + '' : other;
5548
+ }
5549
+ if (typeof value != 'string') {
5550
+ return value === 0 ? value : +value;
5551
+ }
5552
+ value = value.replace(reTrim, '');
5553
+ var isBinary = reIsBinary.test(value);
5554
+ return isBinary || reIsOctal.test(value)
5555
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
5556
+ : reIsBadHex.test(value)
5557
+ ? NAN
5558
+ : +value;
5559
+ }
5560
+
5561
+ /**
5562
+ * Converts `value` to a string. An empty string is returned for `null`
5563
+ * and `undefined` values. The sign of `-0` is preserved.
5564
+ *
5565
+ * @static
5566
+ * @memberOf _
5567
+ * @since 4.0.0
5568
+ * @category Lang
5569
+ * @param {*} value The value to process.
5570
+ * @returns {string} Returns the string.
5571
+ * @example
5572
+ *
5573
+ * _.toString(null);
5574
+ * // => ''
5575
+ *
5576
+ * _.toString(-0);
5577
+ * // => '-0'
5578
+ *
5579
+ * _.toString([1, 2, 3]);
5580
+ * // => '1,2,3'
5581
+ */
5582
+ function toString(value) {
5583
+ return value == null ? '' : baseToString(value);
5584
+ }
5585
+
5586
+ /**
5587
+ * Pads `string` on the right side if it's shorter than `length`. Padding
5588
+ * characters are truncated if they exceed `length`.
5589
+ *
5590
+ * @static
5591
+ * @memberOf _
5592
+ * @since 4.0.0
5593
+ * @category String
5594
+ * @param {string} [string=''] The string to pad.
5595
+ * @param {number} [length=0] The padding length.
5596
+ * @param {string} [chars=' '] The string used as padding.
5597
+ * @returns {string} Returns the padded string.
5598
+ * @example
5599
+ *
5600
+ * _.padEnd('abc', 6);
5601
+ * // => 'abc '
5602
+ *
5603
+ * _.padEnd('abc', 6, '_-');
5604
+ * // => 'abc_-_'
5605
+ *
5606
+ * _.padEnd('abc', 3);
5607
+ * // => 'abc'
5608
+ */
5609
+ function padEnd$1(string, length, chars) {
5610
+ string = toString(string);
5611
+ length = toInteger(length);
5612
+
5613
+ var strLength = length ? stringSize(string) : 0;
5614
+ return length && strLength < length
5615
+ ? string + createPadding(length - strLength, chars)
5616
+ : string;
5617
+ }
5618
+
5619
+ var lodash_padend = padEnd$1;
5620
+
5621
+ /* eslint-disable no-mixed-operators */
5622
+ var rgbHex$1 = (red, green, blue, alpha) => {
5623
+ const isPercent = (red + (alpha || '')).toString().includes('%');
5624
+
5625
+ if (typeof red === 'string') {
5626
+ [red, green, blue, alpha] = red.match(/(0?\.?\d{1,3})%?\b/g).map(Number);
5627
+ } else if (alpha !== undefined) {
5628
+ alpha = parseFloat(alpha);
5629
+ }
5630
+
5631
+ if (
5632
+ typeof red !== 'number' ||
5633
+ typeof green !== 'number' ||
5634
+ typeof blue !== 'number' ||
5635
+ red > 255 ||
5636
+ green > 255 ||
5637
+ blue > 255
5638
+ ) {
5639
+ throw new TypeError('Expected three numbers below 256');
5640
+ }
5641
+
5642
+ if (typeof alpha === 'number') {
5643
+ if (!isPercent && alpha >= 0 && alpha <= 1) {
5644
+ alpha = Math.round(255 * alpha);
5645
+ } else if (isPercent && alpha >= 0 && alpha <= 100) {
5646
+ alpha = Math.round((255 * alpha) / 100);
5647
+ } else {
5648
+ throw new TypeError(
5649
+ `Expected alpha value (${alpha}) as a fraction or percentage`
5650
+ );
5651
+ }
5652
+
5653
+ alpha = (alpha | (1 << 8)).toString(16).slice(1);
5654
+ } else {
5655
+ alpha = '';
5656
+ }
5657
+
5658
+ return (
5659
+ (blue | (green << 8) | (red << 16) | (1 << 24)).toString(16).slice(1) +
5660
+ alpha
5661
+ );
5662
+ };
5663
+
5664
+ const hexCharacters = 'a-f\\d';
5665
+ const match3or4Hex = `#?[${hexCharacters}]{3}[${hexCharacters}]?`;
5666
+ const match6or8Hex = `#?[${hexCharacters}]{6}([${hexCharacters}]{2})?`;
5667
+ const nonHexChars = new RegExp(`[^#${hexCharacters}]`, 'gi');
5668
+ const validHexSize = new RegExp(`^${match3or4Hex}$|^${match6or8Hex}$`, 'i');
5669
+
5670
+ var hexRgb$1 = (hex, options = {}) => {
5671
+ if (
5672
+ typeof hex !== 'string' ||
5673
+ nonHexChars.test(hex) ||
5674
+ !validHexSize.test(hex)
5675
+ ) {
5676
+ throw new TypeError('Expected a valid hex string');
5677
+ }
5678
+
5679
+ hex = hex.replace(/^#/, '');
5680
+ let alphaFromHex = 1;
5681
+
5682
+ if (hex.length === 8) {
5683
+ alphaFromHex = Number.parseInt(hex.slice(6, 8), 16) / 255;
5684
+ hex = hex.slice(0, 6);
5685
+ }
5686
+
5687
+ if (hex.length === 4) {
5688
+ alphaFromHex = Number.parseInt(hex.slice(3, 4).repeat(2), 16) / 255;
5689
+ hex = hex.slice(0, 3);
5690
+ }
5691
+
5692
+ if (hex.length === 3) {
5693
+ hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
5694
+ }
5695
+
5696
+ const number = Number.parseInt(hex, 16);
5697
+ const red = number >> 16;
5698
+ const green = (number >> 8) & 255;
5699
+ const blue = number & 255;
5700
+ const alpha =
5701
+ typeof options.alpha === 'number' ? options.alpha : alphaFromHex;
5702
+
5703
+ if (options.format === 'array') {
5704
+ return [red, green, blue, alpha];
5705
+ }
5706
+
5707
+ if (options.format === 'css') {
5708
+ const alphaString =
5709
+ alpha === 1 ? '' : ` / ${Number((alpha * 100).toFixed(2))}%`;
5710
+ return `rgb(${red} ${green} ${blue}${alphaString})`;
5711
+ }
5712
+
5713
+ return { red, green, blue, alpha };
5714
+ };
5715
+
5716
+ var toHex = colornames.exports;
5717
+ var _words = lodash_words;
5718
+ var trimStart = lodash_trimstart;
5719
+ var padEnd = lodash_padend;
5720
+ var rgbHex = rgbHex$1;
5721
+ var hexRgb = hexRgb$1;
5722
+
5723
+ const MIXED_WEIGHT = 0.75;
5724
+ const TEXT_WEIGHT = 0.25;
5725
+ const SEED = 16777215;
5726
+ const FACTOR = 49979693;
5727
+
5728
+ var stringToColor = function (object) {
5729
+ return '#' + generateColor(String(JSON.stringify(object)));
5730
+ };
5731
+
5732
+ function getColors(text) {
5733
+ var words = _words(text);
5734
+ var colors = [];
5735
+ words.forEach(function (word) {
5736
+ var color = toHex(word);
5737
+ if (color) colors.push(hexRgb(trimStart(color, '#'), { format: 'array' }));
5738
+ });
5739
+ return colors;
5740
+ }
5741
+
5742
+ function mixColors(colors) {
5743
+ var mixed = [0, 0, 0];
5744
+ colors.forEach(function (value) {
5745
+ for (var i = 0; i < 3; i++) mixed[i] += value[i];
5746
+ });
5747
+ return [
5748
+ mixed[0] / colors.length,
5749
+ mixed[1] / colors.length,
5750
+ mixed[2] / colors.length,
5751
+ ];
5752
+ }
5753
+
5754
+ function generateColor(text) {
5755
+ var mixed;
5756
+ var colors = getColors(text);
5757
+ if (colors.length > 0) mixed = mixColors(colors);
5758
+ var b = 1;
5759
+ var d = 0;
5760
+ var f = 1;
5761
+ if (text.length > 0) {
5762
+ for (var i = 0; i < text.length; i++)
5763
+ text[i].charCodeAt(0) > d && (d = text[i].charCodeAt(0)),
5764
+ (f = parseInt(SEED / d)),
5765
+ (b = (b + text[i].charCodeAt(0) * f * FACTOR) % SEED);
5766
+ }
5767
+ var hex = ((b * text.length) % SEED).toString(16);
5768
+ hex = padEnd(hex, 6, hex);
5769
+ var rgb = hexRgb(hex, { format: 'array' });
5770
+ if (mixed)
5771
+ return rgbHex(
5772
+ TEXT_WEIGHT * rgb[0] + MIXED_WEIGHT * mixed[0],
5773
+ TEXT_WEIGHT * rgb[1] + MIXED_WEIGHT * mixed[1],
5774
+ TEXT_WEIGHT * rgb[2] + MIXED_WEIGHT * mixed[2]
5775
+ );
5776
+ return hex;
5777
+ }
5778
+
5779
+ function _class_call_check$1(instance, Constructor) {
5780
+ if (!(instance instanceof Constructor)) {
5781
+ throw new TypeError('Cannot call a class as a function');
5782
+ }
5783
+ }
5784
+ function _defineProperties$1(target, props) {
5785
+ for (var i = 0; i < props.length; i++) {
5786
+ var descriptor = props[i];
5787
+ descriptor.enumerable = descriptor.enumerable || false;
5788
+ descriptor.configurable = true;
5789
+ if ('value' in descriptor) descriptor.writable = true;
5790
+ Object.defineProperty(target, descriptor.key, descriptor);
5791
+ }
5792
+ }
5793
+ function _create_class$1(Constructor, protoProps, staticProps) {
5794
+ if (staticProps) _defineProperties$1(Constructor, staticProps);
5795
+ return Constructor;
5796
+ }
5797
+ var InfoFormatter = /*#__PURE__*/ (function () {
5798
+ function InfoFormatter() {
5799
+ _class_call_check$1(this, InfoFormatter);
5800
+ }
5801
+ _create_class$1(InfoFormatter, null, [
5802
+ {
5803
+ key: 'getName',
5804
+ value: function getName(firstName, lastName, email) {
5805
+ if (firstName && lastName) {
5806
+ return ''.concat(firstName, ' ').concat(lastName);
5807
+ }
5808
+ if (firstName) {
5809
+ return firstName;
5810
+ }
5811
+ if (lastName) {
5812
+ return lastName;
5813
+ }
5814
+ if (email) {
5815
+ return email;
5816
+ }
5817
+ return 'Nutzer';
5818
+ },
5819
+ },
5820
+ {
5821
+ key: 'getEmail',
5822
+ value: function getEmail(email) {
5823
+ if (email) {
5824
+ return email;
5825
+ }
5826
+ return;
5827
+ },
5828
+ },
5829
+ {
5830
+ key: 'getLetter',
5831
+ value: function getLetter(name) {
5832
+ if (!name) return null;
5833
+ return name.charAt(0).toUpperCase();
5834
+ },
5835
+ },
5836
+ {
5837
+ key: 'getBackgroundColor',
5838
+ value: function getBackgroundColor(email) {
5839
+ return stringToColor(email);
5840
+ },
5841
+ },
5842
+ {
5843
+ key: 'getInitial',
5844
+ value: function getInitial(name) {
5845
+ return name.slice(0, 1).toUpperCase();
5846
+ },
5847
+ },
5848
+ ]);
5849
+ return InfoFormatter;
5850
+ })();
5851
+
5852
+ function _class_call_check(instance, Constructor) {
5853
+ if (!(instance instanceof Constructor)) {
5854
+ throw new TypeError('Cannot call a class as a function');
5855
+ }
5856
+ }
5857
+ function _defineProperties(target, props) {
5858
+ for (var i = 0; i < props.length; i++) {
5859
+ var descriptor = props[i];
5860
+ descriptor.enumerable = descriptor.enumerable || false;
5861
+ descriptor.configurable = true;
5862
+ if ('value' in descriptor) descriptor.writable = true;
5863
+ Object.defineProperty(target, descriptor.key, descriptor);
5864
+ }
5865
+ }
5866
+ function _create_class(Constructor, protoProps, staticProps) {
5867
+ if (staticProps) _defineProperties(Constructor, staticProps);
5868
+ return Constructor;
5869
+ }
5870
+ var LanguageHandler = /*#__PURE__*/ (function () {
5871
+ function LanguageHandler() {
5872
+ _class_call_check(this, LanguageHandler);
5873
+ }
5874
+ _create_class(LanguageHandler, null, [
5875
+ {
5876
+ key: 'langFromLocale',
5877
+ value: function langFromLocale(locale) {
5878
+ try {
5879
+ return new Intl.Locale(locale).language;
5880
+ } catch (e) {
5881
+ return locale.split(/[-_]/)[0].toLowerCase();
5882
+ }
5883
+ },
5884
+ },
5885
+ ]);
5886
+ return LanguageHandler;
5887
+ })();
5888
+
1477
5889
  exports.CookieHelper = CookieHelper;
1478
5890
  exports.DateFormatter = DateFormatter;
5891
+ exports.FormSanitizer = FormSanitizer;
1479
5892
  exports.HttpHandler = HttpHandler;
1480
5893
  exports.HttpStatus = HttpStatus;
5894
+ exports.InfoFormatter = InfoFormatter;
5895
+ exports.LabelMapper = LabelMapper;
5896
+ exports.LanguageHandler = LanguageHandler;
1481
5897
  exports.NativeException = NativeException;
1482
5898
  exports.PatternCompiler = PatternCompiler;
1483
5899
  exports.PgException = PgException;
1484
5900
  exports.PostgresError = PostgresError;
1485
5901
  exports.eqPlugin = eqPlugin;
5902
+ exports.generatePrefix = generatePrefix;
1486
5903
  exports.logger = logger;
1487
5904
  exports.markdownPlugin = markdownPlugin;
1488
5905
  exports.parseTemplate = parseTemplate;