intelicoreact 1.3.37 → 1.3.39

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.
Files changed (252) hide show
  1. package/dist/Atomic/FormElements/ActionAlert/ActionAlert.js +1 -9
  2. package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.js +1 -10
  3. package/dist/Atomic/FormElements/Calendar/Calendar.js +4 -24
  4. package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.js +1 -10
  5. package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.js +2 -14
  6. package/dist/Atomic/FormElements/Datepicker/Datepicker.js +5 -54
  7. package/dist/Atomic/FormElements/Datepicker/components/Calendar.js +3 -21
  8. package/dist/Atomic/FormElements/Dropdown/Dropdown.js +54 -145
  9. package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.js +1 -7
  10. package/dist/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.js +9 -47
  11. package/dist/Atomic/FormElements/FileLoader/FileLoader.js +3 -15
  12. package/dist/Atomic/FormElements/FileLoader/partial/LoadZone.js +15 -29
  13. package/dist/Atomic/FormElements/FileLoader/partial/LoadedContent.js +5 -15
  14. package/dist/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.js +6 -26
  15. package/dist/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.js +19 -35
  16. package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.js +9 -38
  17. package/dist/Atomic/FormElements/Input/Input.js +24 -57
  18. package/dist/Atomic/FormElements/InputCalendar/InputCalendar.js +4 -31
  19. package/dist/Atomic/FormElements/InputColor/InputColor.js +4 -14
  20. package/dist/Atomic/FormElements/InputCurrency/InputCurrency.js +6 -27
  21. package/dist/Atomic/FormElements/InputDateRange/InputDateRange.js +7 -42
  22. package/dist/Atomic/FormElements/InputDateRange/components/DateInput.js +3 -21
  23. package/dist/Atomic/FormElements/InputDateRange/components/Datepicker.js +58 -81
  24. package/dist/Atomic/FormElements/InputDateRange/components/OpenedPart.js +6 -41
  25. package/dist/Atomic/FormElements/InputDateRange/components/SelectItem.js +1 -8
  26. package/dist/Atomic/FormElements/InputDateRange/dependencies.js +14 -44
  27. package/dist/Atomic/FormElements/InputLink/InputLink.js +6 -23
  28. package/dist/Atomic/FormElements/InputMask/InputCarretPosition.js +0 -4
  29. package/dist/Atomic/FormElements/InputMask/InputMask.js +77 -208
  30. package/dist/Atomic/FormElements/InputMask/functions.js +2 -28
  31. package/dist/Atomic/FormElements/InputMask2/InputMask2.js +43 -119
  32. package/dist/Atomic/FormElements/InputMask2/functions.js +2 -28
  33. package/dist/Atomic/FormElements/InputMask3/InputMask3.js +44 -137
  34. package/dist/Atomic/FormElements/InputMask3/functions.js +2 -28
  35. package/dist/Atomic/FormElements/InputWithAction/InputWithAction.js +3 -17
  36. package/dist/Atomic/FormElements/InputsRow/InputsRow.js +5 -24
  37. package/dist/Atomic/FormElements/Label/Label.js +1 -9
  38. package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.js +35 -73
  39. package/dist/Atomic/FormElements/MultiSelect/MultiSelect.js +3 -15
  40. package/dist/Atomic/FormElements/NumericInput/NumericInput.js +23 -44
  41. package/dist/Atomic/FormElements/RadioGroup/RadioGroup.js +7 -17
  42. package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +3 -14
  43. package/dist/Atomic/FormElements/RadioInput/RadioInput.js +1 -10
  44. package/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.js +3 -14
  45. package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.js +3 -23
  46. package/dist/Atomic/FormElements/RangeInputs/RangeInputs.js +17 -34
  47. package/dist/Atomic/FormElements/RangeList/RangeList.js +6 -25
  48. package/dist/Atomic/FormElements/RangeList/partial/RangeListRow.js +1 -11
  49. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.js +14 -72
  50. package/dist/Atomic/FormElements/RangeSlider2/RangeSlider2.js +40 -124
  51. package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.js +1 -10
  52. package/dist/Atomic/FormElements/Switcher/Switcher.js +1 -10
  53. package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.js +1 -13
  54. package/dist/Atomic/FormElements/SwitcherHide/SwitcherHide.js +1 -10
  55. package/dist/Atomic/FormElements/SwitcherRadio/SwitcherRadio.js +2 -17
  56. package/dist/Atomic/FormElements/SwitcherRange/SwitcherRange.js +3 -17
  57. package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +1 -11
  58. package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +6 -29
  59. package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +2 -3
  60. package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +1 -12
  61. package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +53 -145
  62. package/dist/Atomic/FormElements/Text/Text.js +10 -16
  63. package/dist/Atomic/FormElements/TextSwitcher/TextSwitcher.js +1 -9
  64. package/dist/Atomic/FormElements/Textarea/Textarea.js +8 -12
  65. package/dist/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.js +6 -35
  66. package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +4 -13
  67. package/dist/Atomic/FormElements/TimeRange/TimeRange.js +7 -21
  68. package/dist/Atomic/FormElements/UserContacts/UserContacts.js +8 -35
  69. package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.js +5 -18
  70. package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +3 -10
  71. package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +3 -11
  72. package/dist/Atomic/FormElements/WidgetPseudoTable/partial/constructor.js +1 -2
  73. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +5 -12
  74. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.js +3 -3
  75. package/dist/Atomic/Layout/Header/Header.js +3 -15
  76. package/dist/Atomic/Layout/MainMenu/MainMenu.js +3 -20
  77. package/dist/Atomic/Layout/Spinner/Spinner.js +1 -8
  78. package/dist/Atomic/UI/Accordion/Accordion.js +3 -19
  79. package/dist/Atomic/UI/Accordion/AccordionItem.js +9 -23
  80. package/dist/Atomic/UI/AccordionTable/AccordionTable.js +7 -32
  81. package/dist/Atomic/UI/AccordionText/AccordionText.js +3 -15
  82. package/dist/Atomic/UI/AdvancedTag/AdvTag.js +4 -21
  83. package/dist/Atomic/UI/AdvancedTag/AdvancedTags.js +3 -15
  84. package/dist/Atomic/UI/Alert/Alert.js +3 -16
  85. package/dist/Atomic/UI/Arrow/Arrow.js +3 -16
  86. package/dist/Atomic/UI/Box/Box.js +3 -9
  87. package/dist/Atomic/UI/Button/Button.js +2 -11
  88. package/dist/Atomic/UI/ButtonsBar/ButtonsBar.js +1 -10
  89. package/dist/Atomic/UI/Chart/Chart.js +4 -29
  90. package/dist/Atomic/UI/Chart/partial/Chart.constants.js +11 -19
  91. package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +1 -12
  92. package/dist/Atomic/UI/Chart/partial/datasetSetters.js +11 -34
  93. package/dist/Atomic/UI/Chart/partial/optionsConstructor.js +82 -56
  94. package/dist/Atomic/UI/Chart/partial/optionsSetters.js +15 -19
  95. package/dist/Atomic/UI/Chart/partial/utils.js +6 -20
  96. package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.js +3 -13
  97. package/dist/Atomic/UI/DateTime/DateTime.js +3 -14
  98. package/dist/Atomic/UI/DebugContainer/DebugContainer.js +4 -16
  99. package/dist/Atomic/UI/DebugContainer/useDebugContainer.js +3 -11
  100. package/dist/Atomic/UI/DoubleString/DoubleString.js +5 -17
  101. package/dist/Atomic/UI/DynamicIcon/DynamicIcon.js +3 -10
  102. package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +17 -52
  103. package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.js +1 -29
  104. package/dist/Atomic/UI/Hint/Hint.js +5 -30
  105. package/dist/Atomic/UI/Modal/Modal.js +6 -29
  106. package/dist/Atomic/UI/Modal/ModalHOC.js +4 -9
  107. package/dist/Atomic/UI/Modal/partials/ModalFooter.js +1 -7
  108. package/dist/Atomic/UI/Modal/partials/ModalTitle.js +1 -8
  109. package/dist/Atomic/UI/Modal/partials/useMobileModal.js +32 -49
  110. package/dist/Atomic/UI/ModalBackup/Modal.js +65 -90
  111. package/dist/Atomic/UI/ModalBackup/ModalHOC.js +12 -21
  112. package/dist/Atomic/UI/ModalBackup/partials/ModalFooter.js +6 -11
  113. package/dist/Atomic/UI/ModalBackup/partials/ModalTitle.js +15 -19
  114. package/dist/Atomic/UI/MonoAccordion/MonoAccordion.js +6 -21
  115. package/dist/Atomic/UI/NavLine/NavLine.js +26 -55
  116. package/dist/Atomic/UI/NavLine/Tabs.js +2 -3
  117. package/dist/Atomic/UI/PageTitle/PageTitle.js +2 -10
  118. package/dist/Atomic/UI/PieChart/PieChart.js +1 -10
  119. package/dist/Atomic/UI/Price/Price.js +3 -8
  120. package/dist/Atomic/UI/PriceRange/PriceRange.js +1 -7
  121. package/dist/Atomic/UI/ProgressLine/ProgressLine.js +1 -16
  122. package/dist/Atomic/UI/Status/Status.js +1 -8
  123. package/dist/Atomic/UI/Table/Partials/TdCell.js +5 -29
  124. package/dist/Atomic/UI/Table/Partials/TdHeader.js +1 -11
  125. package/dist/Atomic/UI/Table/Partials/TdRow.js +5 -17
  126. package/dist/Atomic/UI/Table/Partials/TdTitle.js +3 -14
  127. package/dist/Atomic/UI/Table/Table.js +1 -12
  128. package/dist/Atomic/UI/Table/TdTypes/TdActions.js +2 -18
  129. package/dist/Atomic/UI/Table/TdTypes/TdPriority.js +1 -9
  130. package/dist/Atomic/UI/Table/TdTypes/TdRange.js +1 -4
  131. package/dist/Atomic/UI/Table/TdTypes/TdWeight.js +1 -13
  132. package/dist/Atomic/UI/Tag/Tag.js +3 -14
  133. package/dist/Atomic/UI/TagList/TagList.js +19 -35
  134. package/dist/Atomic/UI/UserBox/UserBox.js +1 -13
  135. package/dist/Classes/AbortableFetch.js +36 -93
  136. package/dist/Classes/AnimatedHandler.js +3 -7
  137. package/dist/Classes/RESTAPI/index.js +39 -43
  138. package/dist/Classes/RESTAPI/partials/AbortableFetch.js +35 -93
  139. package/dist/Classes/RESTAPI/partials/ApiBase.js +1 -9
  140. package/dist/Classes/RESTAPI/partials/ApiRequestCreators.js +7 -19
  141. package/dist/Classes/RESTAPI/partials/ApiUtils.js +28 -35
  142. package/dist/Classes/RESTAPI/partials/CredentialsProcessing.js +21 -44
  143. package/dist/Classes/RESTAPI/partials/Utils.js +6 -19
  144. package/dist/Classes/RESTAPI/partials/_outerDependencies.js +2 -6
  145. package/dist/Classes/RESTAPI/partials/_utils.js +13 -36
  146. package/dist/Constants/index.constants.js +8 -15
  147. package/dist/Functions/Portal.js +5 -16
  148. package/dist/Functions/customEventListener.js +4 -17
  149. package/dist/Functions/fieldValueFormatters.js +43 -83
  150. package/dist/Functions/hooks/useFormFieldsChangesManager.js +23 -26
  151. package/dist/Functions/locale/createTranslator.js +4 -9
  152. package/dist/Functions/operations.js +12 -22
  153. package/dist/Functions/presets/inputMaskPresets.js +9 -11
  154. package/dist/Functions/presets/inputPresets.js +8 -11
  155. package/dist/Functions/presets/mobileKeyboardTypesPresets.js +7 -9
  156. package/dist/Functions/schemas.js +6 -13
  157. package/dist/Functions/useBodyScrollLock.js +1 -6
  158. package/dist/Functions/useClickOutside.js +0 -4
  159. package/dist/Functions/useDebounce.js +2 -7
  160. package/dist/Functions/useFieldFocus.js +6 -18
  161. package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.js +0 -9
  162. package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.js +12 -23
  163. package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.js +6 -15
  164. package/dist/Functions/useFormTools/functions/General.js +18 -28
  165. package/dist/Functions/useFormTools/functions/RenderFields.js +2 -11
  166. package/dist/Functions/useFormTools/functions/usePrevious.js +1 -5
  167. package/dist/Functions/useFormTools/index.js +85 -144
  168. package/dist/Functions/useInputHighlightError.js +3 -12
  169. package/dist/Functions/useIsMobile.js +7 -12
  170. package/dist/Functions/useKeyPress/useHandleKeyPress.js +1 -7
  171. package/dist/Functions/useKeyPress/useKeyPress.js +1 -9
  172. package/dist/Functions/useLocalStorage.js +1 -9
  173. package/dist/Functions/useLocationParams.js +4 -5
  174. package/dist/Functions/useMetaInfo.js +3 -10
  175. package/dist/Functions/useMouseUpOutside.js +0 -3
  176. package/dist/Functions/useOnlineStatus.js +1 -9
  177. package/dist/Functions/usePasswordChecker.js +4 -20
  178. package/dist/Functions/usePrevious.js +1 -5
  179. package/dist/Functions/useResize.js +2 -10
  180. package/dist/Functions/useScrollTo.js +2 -7
  181. package/dist/Functions/useToggle.js +1 -5
  182. package/dist/Functions/utils.js +49 -127
  183. package/dist/Molecular/CustomIcons/components/AffiliateNetworks.js +2 -9
  184. package/dist/Molecular/CustomIcons/components/AlertCircle.js +2 -9
  185. package/dist/Molecular/CustomIcons/components/AppStore.js +2 -9
  186. package/dist/Molecular/CustomIcons/components/Arrow.js +2 -9
  187. package/dist/Molecular/CustomIcons/components/ArrowDown.js +2 -9
  188. package/dist/Molecular/CustomIcons/components/ArrowLeft.js +2 -9
  189. package/dist/Molecular/CustomIcons/components/ArrowRight.js +2 -9
  190. package/dist/Molecular/CustomIcons/components/ArrowUp.js +2 -9
  191. package/dist/Molecular/CustomIcons/components/Bell.js +2 -9
  192. package/dist/Molecular/CustomIcons/components/Button.js +2 -9
  193. package/dist/Molecular/CustomIcons/components/Campaigns.js +2 -9
  194. package/dist/Molecular/CustomIcons/components/Check.js +2 -9
  195. package/dist/Molecular/CustomIcons/components/Check2.js +2 -9
  196. package/dist/Molecular/CustomIcons/components/ChevronDown.js +2 -9
  197. package/dist/Molecular/CustomIcons/components/ChevronDownDisabled.js +2 -9
  198. package/dist/Molecular/CustomIcons/components/ChevronLeft.js +2 -9
  199. package/dist/Molecular/CustomIcons/components/ChevronRight.js +2 -9
  200. package/dist/Molecular/CustomIcons/components/ChevronUp.js +2 -9
  201. package/dist/Molecular/CustomIcons/components/ChevronUpDown.js +2 -9
  202. package/dist/Molecular/CustomIcons/components/Close.js +2 -9
  203. package/dist/Molecular/CustomIcons/components/ColumnsOrder.js +2 -9
  204. package/dist/Molecular/CustomIcons/components/Delete.js +2 -9
  205. package/dist/Molecular/CustomIcons/components/Edit.js +2 -9
  206. package/dist/Molecular/CustomIcons/components/Email.js +2 -9
  207. package/dist/Molecular/CustomIcons/components/FinturfLogo.js +2 -9
  208. package/dist/Molecular/CustomIcons/components/FinturfLogo2.js +2 -9
  209. package/dist/Molecular/CustomIcons/components/Flows.js +2 -9
  210. package/dist/Molecular/CustomIcons/components/Gift.js +2 -9
  211. package/dist/Molecular/CustomIcons/components/GoogleAuth.js +2 -9
  212. package/dist/Molecular/CustomIcons/components/GooglePlay.js +2 -9
  213. package/dist/Molecular/CustomIcons/components/HelpCircle.js +2 -9
  214. package/dist/Molecular/CustomIcons/components/HelpCircle2.js +2 -9
  215. package/dist/Molecular/CustomIcons/components/HelpCircleFilled.js +2 -9
  216. package/dist/Molecular/CustomIcons/components/Home.js +2 -9
  217. package/dist/Molecular/CustomIcons/components/Home2.js +2 -9
  218. package/dist/Molecular/CustomIcons/components/Key.js +2 -9
  219. package/dist/Molecular/CustomIcons/components/Landers.js +2 -9
  220. package/dist/Molecular/CustomIcons/components/Lock.js +2 -9
  221. package/dist/Molecular/CustomIcons/components/Mail.js +2 -9
  222. package/dist/Molecular/CustomIcons/components/Mastercard.js +2 -9
  223. package/dist/Molecular/CustomIcons/components/Minus.js +2 -9
  224. package/dist/Molecular/CustomIcons/components/Offers.js +2 -9
  225. package/dist/Molecular/CustomIcons/components/Pause.js +2 -9
  226. package/dist/Molecular/CustomIcons/components/PayPal.js +2 -9
  227. package/dist/Molecular/CustomIcons/components/PayPalLightLarge.js +2 -9
  228. package/dist/Molecular/CustomIcons/components/Phone.js +2 -9
  229. package/dist/Molecular/CustomIcons/components/Play.js +2 -9
  230. package/dist/Molecular/CustomIcons/components/Plus.js +2 -9
  231. package/dist/Molecular/CustomIcons/components/Profile.js +2 -9
  232. package/dist/Molecular/CustomIcons/components/QRCode.js +2 -9
  233. package/dist/Molecular/CustomIcons/components/Rectangle.js +2 -9
  234. package/dist/Molecular/CustomIcons/components/Revert.js +2 -9
  235. package/dist/Molecular/CustomIcons/components/Star.js +2 -9
  236. package/dist/Molecular/CustomIcons/components/Star2.js +2 -9
  237. package/dist/Molecular/CustomIcons/components/TrafficSources.js +2 -9
  238. package/dist/Molecular/CustomIcons/components/Trash.js +2 -9
  239. package/dist/Molecular/CustomIcons/components/TrashRed.js +2 -9
  240. package/dist/Molecular/CustomIcons/components/Triggers.js +2 -9
  241. package/dist/Molecular/CustomIcons/components/User.js +2 -9
  242. package/dist/Molecular/CustomIcons/components/Visa.js +2 -9
  243. package/dist/Molecular/CustomIcons/components/X.js +2 -9
  244. package/dist/Molecular/CustomIcons/index.js +0 -122
  245. package/dist/Molecular/FormElement/FormElement.js +1 -12
  246. package/dist/Molecular/FormWithDependOn/FormWithDependOn.js +30 -31
  247. package/dist/Molecular/FormWithDependOn/partials/_utils.js +9 -12
  248. package/dist/Molecular/InputAddress/InputAddress.js +65 -114
  249. package/dist/Molecular/InputPassword/InputPassword.js +5 -19
  250. package/dist/index.js +0 -2
  251. package/package.json +1 -1
  252. package/dist/Atomic/FormElements/UserContacts/partial/defaultIcons.js +0 -91
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -13,28 +12,20 @@ exports.transformDateOrTimeOrTogetherToFormattedLocal = transformDateOrTimeOrTog
13
12
  exports.transformUTCHoursToLocal = transformUTCHoursToLocal;
14
13
  exports.transformUTCTimeToLocal = transformUTCTimeToLocal;
15
14
  exports.useOutsideToggle = void 0;
16
-
17
15
  var _react = require("react");
18
-
19
16
  var _momentTimezone = _interopRequireDefault(require("moment-timezone"));
20
-
21
17
  var _index = require("../Constants/index.constants");
22
-
23
18
  const getIsOnlyAnObject = input => typeof input === "object" && input instanceof Object && !Array.isArray(input);
24
- /* eslint-disable guard-for-in, no-unused-vars */
25
-
26
19
 
20
+ /* eslint-disable guard-for-in, no-unused-vars */
27
21
  exports.getIsOnlyAnObject = getIsOnlyAnObject;
28
-
29
22
  const handleObjectChange = (updateObject, updateFunction) => function (data) {
30
23
  let prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
31
24
  let isNumber = arguments.length > 2 ? arguments[2] : undefined;
32
25
  let value;
33
-
34
26
  if (data !== null && data !== void 0 && data.target) {
35
27
  value = data.target.type === "checkbox" ? data.target.checked : data.target.value;
36
28
  } else value = data;
37
-
38
29
  value = isNumber ? Number(value) : value;
39
30
  const props = prop.split(".");
40
31
  const currentObject = props.reduce((res, chapter, index) => {
@@ -44,16 +35,13 @@ const handleObjectChange = (updateObject, updateFunction) => function (data) {
44
35
  currentObject[props.pop()] = value;
45
36
  updateFunction();
46
37
  };
47
-
48
38
  exports.handleObjectChange = handleObjectChange;
49
-
50
39
  const useOutsideToggle = (ref, setOut, open) => {
51
40
  function handleClickOutside(event) {
52
41
  if (ref.current && !ref.current.contains(event.target)) {
53
42
  setOut(open);
54
43
  }
55
44
  }
56
-
57
45
  (0, _react.useEffect)(() => {
58
46
  document.addEventListener("mouseup", handleClickOutside);
59
47
  return () => {
@@ -61,41 +49,32 @@ const useOutsideToggle = (ref, setOut, open) => {
61
49
  document.removeEventListener("mouseup", handleClickOutside);
62
50
  };
63
51
  }, [ref]);
64
- }; // export const clone = obj => {
52
+ };
53
+
54
+ // export const clone = obj => {
65
55
  // const data = obj instanceof Array ? [] : {};
66
56
  // for (const i in obj) data[i] = typeof obj[i] === 'object' && obj[i] != null ? clone(obj[i]) : obj[i];
67
57
  // return data;
68
58
  // };
69
59
  // ! Этот правильнее
70
-
71
-
72
60
  exports.useOutsideToggle = useOutsideToggle;
73
-
74
61
  const clone = input => {
75
62
  if (input === null || typeof input !== "object") return input;
76
63
  const data = input instanceof Array ? [] : {};
77
-
78
64
  for (const i in input) data[i] = clone(input[i]);
79
-
80
65
  return data;
81
66
  };
82
-
83
67
  exports.clone = clone;
68
+ const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res));
84
69
 
85
- const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res)); //TimeUtils
86
-
87
-
70
+ //TimeUtils
88
71
  exports.getResponseClone = getResponseClone;
89
-
90
72
  function transformUTCTimeToLocal(date) {
91
73
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YYYY-MM-DD HH:mm:ss";
92
74
  if (!date) return;
93
-
94
75
  const utcDate = _momentTimezone.default.utc(date).toDate();
95
-
96
76
  return (0, _momentTimezone.default)(utcDate, format).local().format(format);
97
77
  }
98
-
99
78
  function transformUTCHoursToLocal(time) {
100
79
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm:ss";
101
80
  if (!time) return;
@@ -105,24 +84,20 @@ function transformUTCHoursToLocal(time) {
105
84
  let mm = Number(splitedTime[1]);
106
85
  const ss = splitedTime[2];
107
86
  mm = mm + offset;
108
-
109
87
  while (mm > 59) {
110
88
  mm -= 60;
111
89
  HH += 1;
112
90
  }
113
-
114
91
  if (HH > 23) HH -= 24;
115
-
116
92
  while (mm < 0) {
117
93
  mm += 60;
118
94
  HH -= 1;
119
95
  }
120
-
121
96
  if (HH < 0) HH += 24;
122
97
  return "".concat(HH, ":").concat(mm, ":").concat(ss);
123
- } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
124
-
98
+ }
125
99
 
100
+ //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
126
101
  function transformDateOrTimeOrTogetherToFormat(data) {
127
102
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
128
103
  let additional = arguments.length > 2 ? arguments[2] : undefined;
@@ -132,22 +107,24 @@ function transformDateOrTimeOrTogetherToFormat(data) {
132
107
  parseFormat,
133
108
  isReturnAsMomentInstance
134
109
  } = getIsOnlyAnObject(additional) ? additional : {};
135
-
136
110
  if (typeof data !== "string" && typeof data !== "number") {
137
111
  return isReturnAsMomentInstance ? (0, _momentTimezone.default)("error") : ERROR_MESSGE;
138
- } //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
139
-
112
+ }
140
113
 
141
- const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])]; //? Задача получить moment-экземпляр, валидный либо невалидный
114
+ //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
115
+ const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])];
142
116
 
117
+ //? Задача получить moment-экземпляр, валидный либо невалидный
143
118
  const momentInstance = (() => {
144
- let instance = (0, _momentTimezone.default)(...momentArgs); //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
119
+ let instance = (0, _momentTimezone.default)(...momentArgs);
120
+
121
+ //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
145
122
  //? Попадем в этот кейс если
146
123
  //? - data это timestamp
147
124
  //? - data это строка в формате date-time
148
125
  //? - data это строка в формате date (в этом случае время выставится 00:00:00)
149
-
150
- if (instance.format(outputFormat) !== ERROR_VALUE) return instance; //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
126
+ if (instance.format(outputFormat) !== ERROR_VALUE) return instance;
127
+ //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
151
128
  //? В этом случае создадим объект от текущей даты, распарсим data и установим время
152
129
  //? Корректно обработаются паттерны: 'HH*mm', 'HH*mm*ss', 'HH*mm*ss*любое_количество_ms', где * - любой разделитель
153
130
  else if (/^\d\d.\d\d/.test(data)) {
@@ -158,13 +135,13 @@ function transformDateOrTimeOrTogetherToFormat(data) {
158
135
  if (acc.group) acc.result.push(acc.group);
159
136
  acc.group = "";
160
137
  } else acc.group = "".concat(acc.group).concat(symbol);
161
-
162
138
  if (idx === symbols.length - 1 && acc.group) acc.result.push(acc.group);
163
139
  return acc;
164
140
  }, {
165
141
  result: [],
166
142
  group: ""
167
- }) //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
143
+ })
144
+ //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
168
145
  //? т.к. методы добавления/извлечения относительно конца массива работают быстрее,
169
146
  //? чем аналогичные относительно начала массива
170
147
  .result.reverse();
@@ -176,34 +153,32 @@ function transformDateOrTimeOrTogetherToFormat(data) {
176
153
 
177
154
  return instance;
178
155
  })();
179
-
180
156
  if (isReturnAsMomentInstance) return momentInstance;
181
157
  const output = momentInstance.format(outputFormat);
182
158
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
183
- } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
184
-
159
+ }
185
160
 
161
+ //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
186
162
  function transformDateOrTimeOrTogetherToFormattedLocal(data) {
187
163
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
188
164
  let additional = arguments.length > 2 ? arguments[2] : undefined;
189
165
  const ERROR_VALUE = "Invalid date";
190
166
  const ERROR_MESSGE = "Invalid input data for ".concat(outputFormat, " format");
191
-
192
167
  if (additional && !getIsOnlyAnObject(additional)) {
193
168
  throw new Error("Bad additional [transformDateOrTimeOrTogetherToFormattedLocal]");
194
169
  }
195
-
196
- const compositeAdditional = { ...(additional || {}),
170
+ const compositeAdditional = {
171
+ ...(additional || {}),
197
172
  isReturnAsMomentInstance: true
198
173
  };
199
174
  const date = transformDateOrTimeOrTogetherToFormat(data, outputFormat, compositeAdditional);
200
175
  const dateWithLocale = date.add((0, _momentTimezone.default)().utcOffset(), "minutes");
201
176
  const output = dateWithLocale.format(outputFormat);
202
177
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
203
- } //принимает обьект и массив ключей обьекта
204
- //возвращает обьект с теми полями, которых нет в массиве ключей
205
-
178
+ }
206
179
 
180
+ //принимает обьект и массив ключей обьекта
181
+ //возвращает обьект с теми полями, которых нет в массиве ключей
207
182
  const omitKeys = function () {
208
183
  let obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
209
184
  let keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
@@ -215,25 +190,19 @@ const omitKeys = function () {
215
190
  return rest;
216
191
  }, obj);
217
192
  };
218
-
219
193
  exports.omitKeys = omitKeys;
220
-
221
194
  const logout = () => {
222
195
  window.localStorage.removeItem("accessToken");
223
196
  window.localStorage.removeItem("tokenExpires");
224
197
  window.location.reload();
225
198
  };
226
-
227
199
  exports.logout = logout;
228
-
229
200
  const getStyles = (el, prop) => {
230
201
  if (!el) return null;
231
202
  if (!prop) return window.getComputedStyle(el);
232
203
  return window.getComputedStyle(el).getPropertyValue(prop);
233
204
  };
234
-
235
205
  exports.getStyles = getStyles;
236
-
237
206
  const getColorById = (id, colors) => {
238
207
  if (!id) return "#FF7D00";
239
208
  const idToArr = Array.from(id);
@@ -242,26 +211,20 @@ const getColorById = (id, colors) => {
242
211
  if (Number(item)) {
243
212
  return acc + Number(item);
244
213
  }
245
-
246
214
  return acc;
247
215
  }, 0);
248
-
249
216
  while (number >= colorsArr.length) {
250
217
  number -= colorsArr.length;
251
218
  }
252
-
253
219
  return colorsArr[number];
254
220
  };
255
-
256
221
  exports.getColorById = getColorById;
257
-
258
222
  const debounce = (fn, ms) => {
259
223
  let id = null;
260
224
  return function () {
261
225
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
262
226
  args[_key] = arguments[_key];
263
227
  }
264
-
265
228
  clearTimeout(id);
266
229
  id = setTimeout(() => {
267
230
  clearTimeout(id);
@@ -269,9 +232,7 @@ const debounce = (fn, ms) => {
269
232
  }, ms);
270
233
  };
271
234
  };
272
-
273
235
  exports.debounce = debounce;
274
-
275
236
  const throttle = (fn, ms) => {
276
237
  let id = null;
277
238
  return function () {
@@ -283,57 +244,47 @@ const throttle = (fn, ms) => {
283
244
  }, ms);
284
245
  };
285
246
  };
286
-
287
247
  exports.throttle = throttle;
288
-
289
248
  const addBitDepthPoints = function (value) {
290
249
  let step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
291
250
  //содержит ли value точку
292
- const isFraction = value === null || value === void 0 ? void 0 : value.includes("."); //взять строку до точки
251
+ const isFraction = value === null || value === void 0 ? void 0 : value.includes(".");
293
252
 
294
- const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value; //расстановка запятых после каждой 3й цифры с конца
253
+ //взять строку до точки
254
+ const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value;
295
255
 
256
+ //расстановка запятых после каждой 3й цифры с конца
296
257
  const intPart = valueBeforeDot.split("").reverse().reduce((acc, item, idx) => idx % step === 0 && idx !== 0 ? [...acc, ",", item] : [...acc, item], []).reverse().join("");
297
258
  return isFraction ? intPart + (value === null || value === void 0 ? void 0 : value.slice(value === null || value === void 0 ? void 0 : value.indexOf("."))) : intPart;
298
259
  };
299
-
300
260
  exports.addBitDepthPoints = addBitDepthPoints;
301
-
302
261
  const changeMeta = function (key) {
303
262
  let items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
304
263
  const defaultMeta = items.find(i => i.key === "default");
305
-
306
264
  if (key) {
307
265
  var _item$title, _item$description;
308
-
309
266
  const item = items.find(i => i.key === key);
310
267
  document.title = (_item$title = item === null || item === void 0 ? void 0 : item.title) !== null && _item$title !== void 0 ? _item$title : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.title;
311
268
  document.querySelector('meta[name="description"]').setAttribute("content", (_item$description = item === null || item === void 0 ? void 0 : item.description) !== null && _item$description !== void 0 ? _item$description : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.description);
312
269
  }
313
270
  };
314
-
315
271
  exports.changeMeta = changeMeta;
316
-
317
272
  const firstLetterCapital = str => typeof str === "string" ? "".concat(str.charAt(0).toUpperCase()).concat(str.slice(1)) : str;
318
-
319
273
  exports.firstLetterCapital = firstLetterCapital;
320
- const capitalized = firstLetterCapital;
321
- exports.capitalized = capitalized;
322
-
274
+ const capitalized = exports.capitalized = firstLetterCapital;
323
275
  const checkedRef = ref => ref ? typeof ref === "function" ? node => ref(node) : ref : null;
324
-
325
276
  exports.checkedRef = checkedRef;
326
-
327
277
  function downloadEmulation(data, filename) {
328
278
  let type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "image/*";
329
279
  const file = new Blob([data], {
330
280
  type
331
281
  });
332
- if (window.navigator.msSaveOrOpenBlob) // IE10+
282
+ if (window.navigator.msSaveOrOpenBlob)
283
+ // IE10+
333
284
  window.navigator.msSaveOrOpenBlob(file, filename);else {
334
285
  // Others
335
286
  const a = document.createElement("a"),
336
- url = URL.createObjectURL(file);
287
+ url = URL.createObjectURL(file);
337
288
  a.href = url;
338
289
  a.download = filename;
339
290
  document.body.appendChild(a);
@@ -344,7 +295,6 @@ function downloadEmulation(data, filename) {
344
295
  }, 0);
345
296
  }
346
297
  }
347
-
348
298
  const downloadFile = async _ref => {
349
299
  let {
350
300
  url,
@@ -357,20 +307,16 @@ const downloadFile = async _ref => {
357
307
  }));
358
308
  downloadEmulation(response.data, name, response.type);
359
309
  };
360
-
361
310
  exports.downloadFile = downloadFile;
362
-
363
311
  const compare = function (a, b) {
364
312
  var _a$sort, _b$sort, _Object$entries$sort, _Object$entries, _Object$entries$sort2, _Object$entries2;
365
-
366
313
  let keys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
367
- if (Array.isArray(a), Array.isArray(b)) return JSON.stringify(a === null || a === void 0 ? void 0 : (_a$sort = a.sort) === null || _a$sort === void 0 ? void 0 : _a$sort.call(a)) === JSON.stringify(b === null || b === void 0 ? void 0 : (_b$sort = b.sort) === null || _b$sort === void 0 ? void 0 : _b$sort.call(b));else if (Array.isArray(a) || Array.isArray(b)) throw new Error("Different types detected!");
314
+ if (Array.isArray(a), Array.isArray(b)) return JSON.stringify(a === null || a === void 0 || (_a$sort = a.sort) === null || _a$sort === void 0 ? void 0 : _a$sort.call(a)) === JSON.stringify(b === null || b === void 0 || (_b$sort = b.sort) === null || _b$sort === void 0 ? void 0 : _b$sort.call(b));else if (Array.isArray(a) || Array.isArray(b)) throw new Error("Different types detected!");
368
315
  return JSON.stringify((_Object$entries$sort = (_Object$entries = Object.entries(omitKeys(a, keys))).sort) === null || _Object$entries$sort === void 0 ? void 0 : _Object$entries$sort.call(_Object$entries)) === JSON.stringify((_Object$entries$sort2 = (_Object$entries2 = Object.entries(omitKeys(b, keys))).sort) === null || _Object$entries$sort2 === void 0 ? void 0 : _Object$entries$sort2.call(_Object$entries2));
369
- }; // Set Carret to the End of Input
370
-
316
+ };
371
317
 
318
+ // Set Carret to the End of Input
372
319
  exports.compare = compare;
373
-
374
320
  const setCarretToEnd = input => {
375
321
  setTimeout(() => {
376
322
  const tmp = input.value;
@@ -378,47 +324,35 @@ const setCarretToEnd = input => {
378
324
  input.value = tmp;
379
325
  }, 10);
380
326
  };
381
-
382
327
  exports.setCarretToEnd = setCarretToEnd;
383
-
384
328
  const compareAlphabetical = function (a, b) {
385
329
  var _item, _item2;
386
-
387
330
  let key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "label";
388
331
  let item1 = a === null || a === void 0 ? void 0 : a[key];
389
332
  let item2 = b === null || b === void 0 ? void 0 : b[key];
390
333
  if (typeof item1 !== "string" || typeof item2 !== "string") return 0;
391
334
  item1 = (_item = item1) === null || _item === void 0 ? void 0 : _item.toLowerCase();
392
335
  item2 = (_item2 = item2) === null || _item2 === void 0 ? void 0 : _item2.toLowerCase();
393
-
394
336
  if (item1 < item2) {
395
337
  return -1;
396
338
  }
397
-
398
339
  if (item1 > item2) {
399
340
  return 1;
400
341
  }
401
-
402
342
  return 0;
403
343
  };
404
-
405
344
  exports.compareAlphabetical = compareAlphabetical;
406
-
407
345
  const getBase64 = file => {
408
346
  if (file) {
409
347
  return new Promise(function (resolve, reject) {
410
348
  const reader = new FileReader();
411
349
  reader.readAsDataURL(file);
412
-
413
350
  reader.onload = () => resolve(reader.result);
414
-
415
351
  reader.onerror = error => reject("Error: ", error);
416
352
  });
417
353
  }
418
354
  };
419
-
420
355
  exports.getBase64 = getBase64;
421
-
422
356
  const renderFileSize = function (bytes) {
423
357
  let decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
424
358
  if (!Number(bytes)) return "0 Bytes";
@@ -428,30 +362,26 @@ const renderFileSize = function (bytes) {
428
362
  const i = Math.floor(Math.log(bytes) / Math.log(k));
429
363
  return "".concat(parseFloat((bytes / Math.pow(k, i)).toFixed(dm)), " ").concat(sizes[i]);
430
364
  };
431
-
432
365
  exports.renderFileSize = renderFileSize;
433
-
434
366
  const getUniqueFileExtensions = extListString => {
435
367
  // Split the extensions list into an array
436
- const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase()); // Remove duplicates using a Set
368
+ const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase());
437
369
 
438
- const uniqueExts = [...new Set(extArray)]; // Join the unique extensions into a string
370
+ // Remove duplicates using a Set
371
+ const uniqueExts = [...new Set(extArray)];
439
372
 
373
+ // Join the unique extensions into a string
440
374
  return uniqueExts.join(", ");
441
375
  };
442
-
443
376
  exports.getUniqueFileExtensions = getUniqueFileExtensions;
444
-
445
377
  const getOS = () => {
446
- var _window$navigator, _window$navigator$use;
447
-
378
+ var _window$navigator;
448
379
  let userAgent = window.navigator.userAgent,
449
- platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 ? void 0 : (_window$navigator$use = _window$navigator.userAgentData) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.platform) || window.navigator.platform,
450
- macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
451
- windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
452
- iosPlatforms = ["iPhone", "iPad", "iPod"],
453
- os = _index.OS.Unknown;
454
-
380
+ platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 || (_window$navigator = _window$navigator.userAgentData) === null || _window$navigator === void 0 ? void 0 : _window$navigator.platform) || window.navigator.platform,
381
+ macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
382
+ windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
383
+ iosPlatforms = ["iPhone", "iPad", "iPod"],
384
+ os = _index.OS.Unknown;
455
385
  if (macosPlatforms.indexOf(platform) !== -1) {
456
386
  os = _index.OS.MacOS;
457
387
  } else if (iosPlatforms.indexOf(platform) !== -1) {
@@ -463,27 +393,20 @@ const getOS = () => {
463
393
  } else if (/Linux/.test(platform)) {
464
394
  os = _index.OS.Linux;
465
395
  }
466
-
467
396
  return os;
468
397
  };
469
-
470
398
  exports.getOS = getOS;
471
-
472
399
  const disableDefaultBehavior = e => {
473
- e === null || e === void 0 ? void 0 : e.preventDefault();
474
- e === null || e === void 0 ? void 0 : e.stopPropagation();
400
+ e === null || e === void 0 || e.preventDefault();
401
+ e === null || e === void 0 || e.stopPropagation();
475
402
  };
476
-
477
403
  exports.disableDefaultBehavior = disableDefaultBehavior;
478
-
479
404
  String.prototype.longerThan = function (compareWith) {
480
405
  return (this === null || this === void 0 ? void 0 : this.length) > (compareWith === null || compareWith === void 0 ? void 0 : compareWith.length);
481
406
  };
482
-
483
407
  String.prototype.lastIndexEqualsTo = function (index) {
484
408
  return (this === null || this === void 0 ? void 0 : this.length) - 1 === index;
485
409
  };
486
-
487
410
  const getCorrectTestId = _ref2 => {
488
411
  let {
489
412
  testId = "",
@@ -491,5 +414,4 @@ const getCorrectTestId = _ref2 => {
491
414
  } = _ref2;
492
415
  return testId && testId !== undefined ? "".concat(withTier ? "-" : "").concat(testId) : "";
493
416
  };
494
-
495
417
  exports.getCorrectTestId = getCorrectTestId;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AffiliateNetworks = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlSpace: "preserve",
@@ -34,5 +28,4 @@ const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _
34
28
  stroke: "#9AA0B9",
35
29
  d: "M23 21v-2c0-1.8-1.2-3.4-3-3.9M16 3.1c2.1.5 3.4 2.7 2.9 4.9-.4 1.4-1.5 2.5-2.9 2.9"
36
30
  }));
37
-
38
31
  exports.AffiliateNetworks = AffiliateNetworks;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AlertCircle = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlSpace: "preserve",
@@ -34,5 +28,4 @@ const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extend
34
28
  d: "M12 8v4M12 16",
35
29
  className: "st0"
36
30
  }));
37
-
38
31
  exports.AlertCircle = AlertCircle;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AppStore = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlnsXlink: "http://www.w3.org/1999/xlink",
@@ -38,5 +32,4 @@ const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.
38
32
  width: 260,
39
33
  height: 90
40
34
  })));
41
-
42
35
  exports.AppStore = AppStore;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.Arrow = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  width: 16,
@@ -44,5 +38,4 @@ const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.def
44
38
  fill: "#fff",
45
39
  d: "M-533-86H491v424H-533z"
46
40
  }))));
47
-
48
41
  exports.Arrow = Arrow;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.ArrowDown = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const ArrowDown = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  width: 6,
@@ -26,5 +20,4 @@ const ArrowDown = props => /*#__PURE__*/React.createElement("svg", (0, _extends2
26
20
  d: "M3.598 0h-2v3.5H0L2.598 7l2.598-3.5H3.598V0Z",
27
21
  clipRule: "evenodd"
28
22
  }));
29
-
30
23
  exports.ArrowDown = ArrowDown;