@via-profit/ui-kit 0.1.0-rc.1

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 (171) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/CONTRIBUTING.md +0 -0
  3. package/LICENSE +21 -0
  4. package/README.md +17 -0
  5. package/dist/Autocomplete/index.d.ts +46 -0
  6. package/dist/Autocomplete/index.js +187 -0
  7. package/dist/Autocomplete/popper-options.d.ts +4 -0
  8. package/dist/Autocomplete/popper-options.js +33 -0
  9. package/dist/Button/ButtonAccent.d.ts +10 -0
  10. package/dist/Button/ButtonAccent.js +48 -0
  11. package/dist/Button/ButtonBase.d.ts +4 -0
  12. package/dist/Button/ButtonBase.js +38 -0
  13. package/dist/Button/ButtonStandard.d.ts +19 -0
  14. package/dist/Button/ButtonStandard.js +50 -0
  15. package/dist/Button/index.d.ts +9 -0
  16. package/dist/Button/index.js +27 -0
  17. package/dist/Calendar/CalendarBottomBar.d.ts +4 -0
  18. package/dist/Calendar/CalendarBottomBar.js +28 -0
  19. package/dist/Calendar/CalendarCell.d.ts +8 -0
  20. package/dist/Calendar/CalendarCell.js +61 -0
  21. package/dist/Calendar/CalendarDateContainer.d.ts +6 -0
  22. package/dist/Calendar/CalendarDateContainer.js +13 -0
  23. package/dist/Calendar/CalendarEmptyCell.d.ts +4 -0
  24. package/dist/Calendar/CalendarEmptyCell.js +29 -0
  25. package/dist/Calendar/CalendarMonthControl.d.ts +6 -0
  26. package/dist/Calendar/CalendarMonthControl.js +49 -0
  27. package/dist/Calendar/CalendarPaper.d.ts +6 -0
  28. package/dist/Calendar/CalendarPaper.js +20 -0
  29. package/dist/Calendar/CalendarTopBar.d.ts +4 -0
  30. package/dist/Calendar/CalendarTopBar.js +30 -0
  31. package/dist/Calendar/CalendarWeekDayLabel.d.ts +6 -0
  32. package/dist/Calendar/CalendarWeekDayLabel.js +17 -0
  33. package/dist/Calendar/CalendarWeekDaysBar.d.ts +10 -0
  34. package/dist/Calendar/CalendarWeekDaysBar.js +32 -0
  35. package/dist/Calendar/CalendarWeekRow.d.ts +6 -0
  36. package/dist/Calendar/CalendarWeekRow.js +14 -0
  37. package/dist/Calendar/IconChevronLeft.d.ts +3 -0
  38. package/dist/Calendar/IconChevronLeft.js +9 -0
  39. package/dist/Calendar/IconChevronRight.d.ts +3 -0
  40. package/dist/Calendar/IconChevronRight.js +9 -0
  41. package/dist/Calendar/index.d.ts +18 -0
  42. package/dist/Calendar/index.js +166 -0
  43. package/dist/Calendar/use-calendar.d.ts +50 -0
  44. package/dist/Calendar/use-calendar.js +197 -0
  45. package/dist/DatePicker/index.d.ts +3 -0
  46. package/dist/DatePicker/index.js +8 -0
  47. package/dist/ErrorBoundary/index.d.ts +19 -0
  48. package/dist/ErrorBoundary/index.js +78 -0
  49. package/dist/Image/index.d.ts +7 -0
  50. package/dist/Image/index.js +45 -0
  51. package/dist/MaskedField/index.d.ts +33 -0
  52. package/dist/MaskedField/index.js +63 -0
  53. package/dist/MaskedField/templates.d.ts +11 -0
  54. package/dist/MaskedField/templates.js +81 -0
  55. package/dist/MaskedField/useMasked.d.ts +18 -0
  56. package/dist/MaskedField/useMasked.js +96 -0
  57. package/dist/Menu/MenuItem.d.ts +10 -0
  58. package/dist/Menu/MenuItem.js +47 -0
  59. package/dist/Menu/MenuItemInner.d.ts +7 -0
  60. package/dist/Menu/MenuItemInner.js +48 -0
  61. package/dist/Menu/MenuWrapper.d.ts +10 -0
  62. package/dist/Menu/MenuWrapper.js +77 -0
  63. package/dist/Menu/index.d.ts +196 -0
  64. package/dist/Menu/index.js +452 -0
  65. package/dist/Menu/popper-options.d.ts +4 -0
  66. package/dist/Menu/popper-options.js +33 -0
  67. package/dist/Menu/reducer.d.ts +14 -0
  68. package/dist/Menu/reducer.js +19 -0
  69. package/dist/Modal/CloseIcon.d.ts +3 -0
  70. package/dist/Modal/CloseIcon.js +37 -0
  71. package/dist/Modal/ModalConfirmBox.d.ts +9 -0
  72. package/dist/Modal/ModalConfirmBox.js +148 -0
  73. package/dist/Modal/ModalDialog.d.ts +7 -0
  74. package/dist/Modal/ModalDialog.js +99 -0
  75. package/dist/Modal/ModalDrawer.d.ts +11 -0
  76. package/dist/Modal/ModalDrawer.js +150 -0
  77. package/dist/Modal/ModalMessageBox.d.ts +8 -0
  78. package/dist/Modal/ModalMessageBox.js +147 -0
  79. package/dist/Modal/index.d.ts +12 -0
  80. package/dist/Modal/index.js +54 -0
  81. package/dist/NoSSR/index.d.ts +7 -0
  82. package/dist/NoSSR/index.js +15 -0
  83. package/dist/PhoneField/CountryFlag.d.ts +6 -0
  84. package/dist/PhoneField/CountryFlag.js +52 -0
  85. package/dist/PhoneField/flags/BYFlag.d.ts +3 -0
  86. package/dist/PhoneField/flags/BYFlag.js +44 -0
  87. package/dist/PhoneField/flags/JPFlag.d.ts +3 -0
  88. package/dist/PhoneField/flags/JPFlag.js +34 -0
  89. package/dist/PhoneField/flags/KZFlag.d.ts +3 -0
  90. package/dist/PhoneField/flags/KZFlag.js +45 -0
  91. package/dist/PhoneField/flags/RUFlag.d.ts +3 -0
  92. package/dist/PhoneField/flags/RUFlag.js +32 -0
  93. package/dist/PhoneField/flags/UAFlag.d.ts +3 -0
  94. package/dist/PhoneField/flags/UAFlag.js +31 -0
  95. package/dist/PhoneField/flags/USFlag.d.ts +3 -0
  96. package/dist/PhoneField/flags/USFlag.js +34 -0
  97. package/dist/PhoneField/flags/UnknownFlag.d.ts +3 -0
  98. package/dist/PhoneField/flags/UnknownFlag.js +34 -0
  99. package/dist/PhoneField/index.d.ts +49 -0
  100. package/dist/PhoneField/index.js +82 -0
  101. package/dist/PhoneField/templates.d.ts +3 -0
  102. package/dist/PhoneField/templates.js +18 -0
  103. package/dist/PhoneField/usePhoneUtils.d.ts +65 -0
  104. package/dist/PhoneField/usePhoneUtils.js +157 -0
  105. package/dist/SelectBox/IconChevronDown.d.ts +3 -0
  106. package/dist/SelectBox/IconChevronDown.js +9 -0
  107. package/dist/SelectBox/SelectButton.d.ts +10 -0
  108. package/dist/SelectBox/SelectButton.js +80 -0
  109. package/dist/SelectBox/index.d.ts +40 -0
  110. package/dist/SelectBox/index.js +188 -0
  111. package/dist/SelectBox/popper-options.d.ts +4 -0
  112. package/dist/SelectBox/popper-options.js +33 -0
  113. package/dist/TextField/TextFieldContainer.d.ts +7 -0
  114. package/dist/TextField/TextFieldContainer.js +52 -0
  115. package/dist/TextField/TextFieldErrorText.d.ts +8 -0
  116. package/dist/TextField/TextFieldErrorText.js +75 -0
  117. package/dist/TextField/TextFieldIconWrapper.d.ts +8 -0
  118. package/dist/TextField/TextFieldIconWrapper.js +73 -0
  119. package/dist/TextField/TextFieldInput.d.ts +7 -0
  120. package/dist/TextField/TextFieldInput.js +60 -0
  121. package/dist/TextField/TextFieldLabel.d.ts +7 -0
  122. package/dist/TextField/TextFieldLabel.js +50 -0
  123. package/dist/TextField/TextFieldLabelAsterisk.d.ts +7 -0
  124. package/dist/TextField/TextFieldLabelAsterisk.js +51 -0
  125. package/dist/TextField/TextFieldWrapper.d.ts +14 -0
  126. package/dist/TextField/TextFieldWrapper.js +76 -0
  127. package/dist/TextField/index.d.ts +14 -0
  128. package/dist/TextField/index.js +93 -0
  129. package/dist/ThemeProvider/createTheme.d.ts +36 -0
  130. package/dist/ThemeProvider/createTheme.js +34 -0
  131. package/dist/ThemeProvider/index.d.ts +8 -0
  132. package/dist/ThemeProvider/index.js +12 -0
  133. package/dist/Typography/Base.d.ts +6 -0
  134. package/dist/Typography/Base.js +11 -0
  135. package/dist/Typography/Blockquote.d.ts +6 -0
  136. package/dist/Typography/Blockquote.js +23 -0
  137. package/dist/Typography/Del.d.ts +6 -0
  138. package/dist/Typography/Del.js +10 -0
  139. package/dist/Typography/Em.d.ts +6 -0
  140. package/dist/Typography/Em.js +10 -0
  141. package/dist/Typography/H1.d.ts +6 -0
  142. package/dist/Typography/H1.js +11 -0
  143. package/dist/Typography/H2.d.ts +6 -0
  144. package/dist/Typography/H2.js +11 -0
  145. package/dist/Typography/H3.d.ts +6 -0
  146. package/dist/Typography/H3.js +11 -0
  147. package/dist/Typography/H4.d.ts +6 -0
  148. package/dist/Typography/H4.js +11 -0
  149. package/dist/Typography/H5.d.ts +6 -0
  150. package/dist/Typography/H5.js +11 -0
  151. package/dist/Typography/List.d.ts +14 -0
  152. package/dist/Typography/List.js +17 -0
  153. package/dist/Typography/Paragraph.d.ts +6 -0
  154. package/dist/Typography/Paragraph.js +11 -0
  155. package/dist/Typography/SectionDescription.d.ts +8 -0
  156. package/dist/Typography/SectionDescription.js +17 -0
  157. package/dist/Typography/SectionTitle.d.ts +8 -0
  158. package/dist/Typography/SectionTitle.js +31 -0
  159. package/dist/Typography/Span.d.ts +6 -0
  160. package/dist/Typography/Span.js +10 -0
  161. package/dist/Typography/Strong.d.ts +6 -0
  162. package/dist/Typography/Strong.js +10 -0
  163. package/dist/Typography/U.d.ts +6 -0
  164. package/dist/Typography/U.js +10 -0
  165. package/dist/color/Color.d.ts +44 -0
  166. package/dist/color/Color.js +346 -0
  167. package/dist/color/index.d.ts +3 -0
  168. package/dist/color/index.js +22 -0
  169. package/dist/index.d.ts +4 -0
  170. package/dist/index.js +23 -0
  171. package/package.json +113 -0
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const react_1 = __importDefault(require("react"));
18
+ const styled_1 = __importDefault(require("@emotion/styled"));
19
+ const UnknownFlag_1 = __importDefault(require("./flags/UnknownFlag"));
20
+ const BYFlag_1 = __importDefault(require("./flags/BYFlag"));
21
+ const JPFlag_1 = __importDefault(require("./flags/JPFlag"));
22
+ const KZFlag_1 = __importDefault(require("./flags/KZFlag"));
23
+ const RUFlag_1 = __importDefault(require("./flags/RUFlag"));
24
+ const UAFlag_1 = __importDefault(require("./flags/UAFlag"));
25
+ const USFlag_1 = __importDefault(require("./flags/USFlag"));
26
+ const CountryFlagContainer = styled_1.default.span `
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ font-size: 1.2em;
31
+ border-radius: 100%;
32
+ overflow: hidden;
33
+ margin-left: 0.5em;
34
+ margin-right: 0.5em;
35
+ border: 1px solid ${({ theme }) => theme.colors.textPrimary().alpha(0.8).toString()};
36
+ `;
37
+ const CountryFlag = props => {
38
+ const { countryCode } = props, otherProps = __rest(props, ["countryCode"]);
39
+ const renderFlag = react_1.default.useMemo(() => {
40
+ const flagMap = {
41
+ RU: react_1.default.createElement(RUFlag_1.default, null),
42
+ KZ: react_1.default.createElement(KZFlag_1.default, null),
43
+ UA: react_1.default.createElement(UAFlag_1.default, null),
44
+ JP: react_1.default.createElement(JPFlag_1.default, null),
45
+ US: react_1.default.createElement(USFlag_1.default, null),
46
+ BY: react_1.default.createElement(BYFlag_1.default, null),
47
+ };
48
+ return countryCode && flagMap[countryCode] ? flagMap[countryCode] : react_1.default.createElement(UnknownFlag_1.default, null);
49
+ }, [countryCode]);
50
+ return react_1.default.createElement(CountryFlagContainer, Object.assign({}, otherProps), renderFlag);
51
+ };
52
+ exports.default = CountryFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const RUFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("defs", null,
29
+ React.createElement("clipPath", { id: "a" },
30
+ React.createElement("path", { fillOpacity: ".7", d: "M0 0h496v496H0z" }))),
31
+ React.createElement("g", { fillRule: "evenodd", clipPath: "url(#a)", transform: "scale(1.032)" },
32
+ React.createElement("path", { fill: "#b20000", d: "M0 0h992.1v329.5H0z" }),
33
+ React.createElement("path", { fill: "#429f00", d: "M0 329.5h992.1v166.6H0z" }),
34
+ React.createElement("path", { fill: "#fff", d: "M0 0h109.8v496H0z" }),
35
+ React.createElement("g", { fill: "#b20000", strokeWidth: "1pt" },
36
+ React.createElement("path", { d: "M5.2 8.4h5.3v8.4H5.2zm15.7 0h15.7v8.4H21zM26.1 0h5.3v8.4H26zm26.2 0h5.2v8.4h-5.2zm21 8.4h15.6v8.4H73.2zM78.4 0h5.2v8.4h-5.2zM15.7 16.8h10.5v8.4H15.7zm15.7 0h10.5v8.4H31.4zm36.6 0h10.5v8.4H68zm15.7 0H94v8.4H83.8zm-73.2 8.4h10.4v8.4H10.5zm26.1 0h10.5v8.4H36.6zm26.2 0h10.4v8.4H62.8zm26.1 0h10.5v8.4H88.9zM99.4 8.4h5.2v8.4h-5.2zM5.2 33.6h10.5V42H5.2zm36.6 0h10.5V42H41.8zm52.4 0h10.4V42H94.2zM10.5 59h10.4v8.4H10.5zm5.2 8.4h10.5v8.4H15.7zm21-8.4H47v8.4H36.6zm-5.3 8.4h10.4v8.4H31.4zm-10.5 8.4h15.7V84H21zm5.2 8.2h5.3v8.5H26zm36.7-25.2h10.4v8.5H62.8zm5.2 8.5h10.5v8.4H68zm21-8.4h10.4v8.4H88.9zm-5.3 8.4H94v8.4H83.8zm-10.5 8.4H89V84H73.2zm5.3 8.3h5.2v8.5h-5.2zm-26.2-8.3h5.2V84h-5.2zM0 75.7h5.2V84H0zm104.6 0h5.2V84h-5.2zm-78.5 42h5.3v8.4H26zm-5.2 8.4h15.7v8.4H21zm-5.2 8.4h26.2v8.4H15.7zm62.8-16.8h5.2v8.4h-5.2z" }),
37
+ React.createElement("path", { d: "M73.2 126.1H89v8.4H73.2zm-5.2 8.4h26.1v8.4H68zm5.2 42h26.2v8.5H73.2zM62.8 143h36.6v8.4H62.8zm-52.3 0H47v8.4H10.5zm5.2 42h15.7v8.5H15.7zm-5.2-8.3h26.1v8.4H10.5zm73.2-16.9h26.1v8.5h-26zM78.5 185h15.7v8.4H78.5zm-57.6 8.4h5.3v8.4h-5.3zm62.8 0h5.2v8.4h-5.2zM0 159.7h26.2v8.5H0zm47 16.9h15.8v8.4H47zm5.3 8.4h5.2v8.4h-5.2zm-15.7-25.3h36.6v8.5H36.6zm21-126H68V42H57.5zM47 42h15.7v8.4H47zm-5.3 8.4h10.5v8.4H41.8zm15.7 0H68v8.4H57.5zM0 42h10.5v8.4H0zm5.2 8.4h10.5v8.4H5.2zM99.4 42h10.4v8.4H99.4zM94 50.4h10.5v8.4H94.2zM0 126.1h5.2v8.4H0zm104.6 0h5.2v8.4h-5.2zm-57.5 67.3h15.7v8.4H47zm-5.3 8.4h10.5v8.4H41.8zm15.7 0H68v8.4H57.5zm-20.9 8.4h10.5v8.4H36.6zm26.2 0h10.4v8.4H62.8zm-31.4 8.4h10.5v8.4H31.4zm36.6 0h10.5v8.4H68zM26.1 227h10.5v8.4H26.1zm47.1 0h10.5v8.4H73.2zm-57.5 8.4h15.7v8.4H15.7zm62.8 0h15.7v8.4H78.5zm10.4-8.4h10.5v8.4H88.9zm5.3-8.4h10.4v8.4H94.2zm5.2-8.4h10.4v8.4H99.4zm-89 16.8H21v8.4H10.5zm-5.2-8.4h10.5v8.4H5.2z" }),
38
+ React.createElement("path", { d: "M0 210.2h10.5v8.4H0zm21 33.6h5.2v8.4h-5.3zm62.7 0h5.2v8.4h-5.2zm-31.4-25.2h5.2v8.4h-5.2zm-15.7 25.2h5.2v8.4h-5.2zm31.4 0h5.2v8.4H68zm-15.7 0h5.2v8.4h-5.2zm-52.3 0h5.2v8.4H0zm104.6 0h5.2v8.4h-5.2zM52.3 126.1h5.2v8.4h-5.2zm-26.1-84h5.2v8.3h-5.2zm52.3 0h5.2v8.3h-5.2zM47 100.8h15.7v8.4H47zm-10.4 8.5h15.7v8.4H36.6z" }),
39
+ React.createElement("path", { d: "M41.8 117.7h5.3v8.4h-5.3zm-10.4-16.8h10.5v8.4H31.4zm5.2-8.4h15.7v8.4H36.6zm5.2-8.4h5.3v8.4h-5.3zm15.7 8.4h15.7v8.4H57.5zm5.3-8.4H68v8.4h-5.2zm5.2 16.8h10.5v8.4H68zm-10.5 8.4h15.7v8.4H57.5zm5.3 8.4H68v8.4h-5.2zm20.9-16.8h10.5v8.4H83.7zm5.2-8.4h15.7v8.4H89zm10.5 8.4h10.4v8.4H99.4z" }),
40
+ React.createElement("path", { d: "M89 109.3h15.6v8.4H89zm5.2 8.4h5.2v8.4h-5.2zm0-33.6h5.2v8.4h-5.2zM0 100.9h10.5v8.4H0zm5.2-8.4H21v8.4H5.2zm10.5 8.4h10.5v8.4H15.7z" }),
41
+ React.createElement("path", { d: "M5.2 109.3H21v8.4H5.2zm5.3 8.4h5.2v8.4h-5.2zm0-33.6h5.2v8.4h-5.2zm-5.3 67.2h21v8.4h-21zm26.2 0h21v8.4h-21zm26.1 0h21v8.4h-21zm26.2 0h21v8.4h-21zm-41.9 16.8H68v8.5H41.8zm-36.6 0h26.2v8.5H5.2zm73.3 0h26.1v8.5H78.5zm26.1 33.7h5.2v8.4h-5.2zM0 201.8h5.2v8.4H0zm5.2 285.9h5.3v-8.5H5.2zm15.7 0h15.7v-8.5H21zm5.2 8.3h5.3v-8.3H26zm26.2 0h5.2v-8.3h-5.2zm21-8.3h15.6v-8.4H73.2zm5.2 8.3h5.2v-8.3h-5.2zm-62.8-16.8h10.5v-8.4H15.7zm15.7 0h10.5v-8.4H31.4zm36.6 0h10.5v-8.4H68zm15.7 0H94v-8.4H83.8zm-47-8.4H47v-8.4H36.6zm26 0h10.5v-8.4H62.8zm26.2 0h10.5v-8.4H88.9zm10.5 16.9h5.2v-8.5h-5.2zM5.2 462.4h10.5V454H5.2zm36.6 0h10.5V454H41.8zm52.4 0h10.4V454H94.2zm-83.7-25.2h10.4v-8.4H10.5zm5.2-8.4h10.5v-8.4H15.7zm21 8.4H47v-8.4H36.6zm-5.3-8.4h10.4v-8.4H31.4zm-10.5-8.4h15.7V412H21zm5.2-8.4h5.3v-8.4H26zm36.7 25.2h10.4v-8.4H62.8zm5.2-8.4h10.5v-8.4H68zm21 8.4h10.4v-8.4H88.9zm-5.3-8.4H94v-8.4H83.8zm-10.5-8.4H89V412H73.2zm5.3-8.4h5.2v-8.4h-5.2zm-26.2 8.4h5.2V412h-5.2zm-52.3 0h5.2V412H0zm104.6 0h5.2V412h-5.2zm-78.4-42h5.2v-8.5h-5.2z" }),
42
+ React.createElement("path", { d: "M21 370h15.6v-8.5H21zm-5.3-8.5h26.2v-8.4H15.7zm62.8 16.8h5.2V370h-5.2zm-5.3-8.3H89v-8.5H73.2zm-5.2-8.5h26.1v-8.4H68zm5.2-42h26.2v-8.4H73.2zm-10.4 33.6h36.6v-8.4H62.8zm-52.3 0H47v-8.4H10.5zm5.2-42h15.7v-8.4H15.7zm-5.2 8.4h26.1v-8.4H10.5zm73.2 16.8h26.1V328h-26zm-5.2-25.2h15.7v-8.4H78.5zM0 336.3h26.2V328H0zm47-16.8h15.8v-8.4H47zm5.3-8.4h5.2v-8.4h-5.2zm-15.7 25.2h36.6V328H36.6zm21 126.1H68V454H57.5zM47 454h15.7v-8.4H47zm-5.3-8.4h10.5v-8.4H41.8zm15.7 0H68v-8.4H57.5zM0 454h10.5v-8.4H0zm5.2-8.4h10.5v-8.4H5.2zm94.2 8.4h10.4v-8.4H99.4zm-5.3-8.4h10.5v-8.4H94.2zM0 370h5.2v-8.4H0zm104.6 0h5.2v-8.4h-5.2zm-62.8-75.6h10.5V286H41.8zm15.7 0H68V286H57.5zM36.6 286h10.5v-8.4H36.6zm26.2 0h10.4v-8.4H62.8zm-31.4-8.5h10.4V269H31.4zm36.6 0h10.5V269H68zM26.1 269h10.5v-8.3H26.1zm47.1 0h10.5v-8.3H73.2zm-57.5-8.3h15.7v-8.5H15.7zm62.8 0h15.7v-8.5H78.5zm10.4 8.4h10.5v-8.5H88.9zm5.3 8.3h10.4v-8.3H94.2zm5.2 8.5h10.4v-8.4H99.4zm-89-16.8H21v-8.5H10.5zm-5.2 8.3h10.5v-8.3H5.2zM0 286h10.5v-8.4H0zm21-33.7h5.2v-8.4h-5.3zm31.3 25.3h5.2V269h-5.2zm0 92.5h5.2v-8.5h-5.2zm-26.1 84h5.2v-8.4h-5.2zm52.3 0h5.2v-8.4h-5.2zM47 395.2h15.7v-8.4H47zm-10.5-8.4h15.7v-8.4H36.6zm5.2-8.5H47V370h-5.3zm-10.4 16.9h10.4v-8.4H31.4zm5.3 8.4h15.7v-8.4H36.6zm5.2 8.4h5.3v-8.4h-5.3zm15.7-8.4h15.7v-8.4H57.5zm5.3 8.4H68v-8.4h-5.2zm5.2-16.8h10.5v-8.4H68zm-10.5-8.4h15.7v-8.4H57.5zm5.3-8.5H68V370h-5.2zm20.9 16.9H94v-8.4H83.8zm5.2 8.4h15.7v-8.4H89zm10.5-8.4h10.4v-8.4H99.4zm-10.5-8.4h15.7v-8.4H89zm5.3-8.5h5.2V370h-5.2zm0 33.7h5.2v-8.4h-5.2zM0 395.2h10.5v-8.4H0z" }),
43
+ React.createElement("path", { d: "M5.2 403.6H21v-8.4H5.2zm10.5-8.4h10.5v-8.4H15.7zm-10.5-8.4H21v-8.4H5.2zm5.3-8.5h5.2V370h-5.2zm0 33.7h5.2v-8.4h-5.2zm-5.3-67.3h21v-8.4h-21zm26.2 0h21v-8.4h-21zm26.1 0h21v-8.4h-21zm26.2 0h21v-8.4h-21zM41.8 328H68v-8.4H41.8zm-36.6 0h26.2v-8.4H5.2zm73.3 0h26.1v-8.4H78.5zm26.1-33.6h5.2V286h-5.2zM0 294.3h5.2v-8.4H0zm47-42h5.3v8.3h-5.2zm10.5 0h5.3v8.3h-5.3zm0-16.9h5.3v8.4h-5.3zm-10.4 0h5.2v8.4h-5.2zm-36.6 227h10.4v8.4H10.5zm73.2-159.7h5.2v-8.4h-5.2zm-62.8 0h5.2v-8.4H21zm26.2-8.4h15.7v8.4H47z" })))));
44
+ exports.default = React.forwardRef(RUFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const JPFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("defs", null,
29
+ React.createElement("clipPath", { id: "a" },
30
+ React.createElement("path", { fillOpacity: ".7", d: "M177.2 0h708.6v708.7H177.2z" }))),
31
+ React.createElement("g", { fillRule: "evenodd", strokeWidth: "1pt", clipPath: "url(#a)", transform: "translate(-128) scale(.72249)" },
32
+ React.createElement("path", { fill: "#fff", d: "M0 0h1063v708.7H0z" }),
33
+ React.createElement("circle", { cx: "523.1", cy: "344.1", r: "194.9", fill: "#bc002d", transform: "translate(-59.7 -34.5) scale(1.1302)" }))));
34
+ exports.default = React.forwardRef(JPFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const KZFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("g", { fillRule: "evenodd" },
29
+ React.createElement("path", { fill: "#00abc2", d: "M0 0h512v512H0z" }),
30
+ React.createElement("g", { fill: "#ffec2d" },
31
+ React.createElement("path", { d: "M43 498c3.5 3.3 2.3 9 12 8.3 14.7 0 15.1-9 15.1-15.3 0-6.3-22-15-23-24.3s5.1-11.8 10.2-11.8c5 0 8.6 3 8.6 5.5s-2.5 3.3-6 3.3 1.5-1.8-1.6-3.3-5 2.2-5 4.5c0 2.2 7.6 2.9 12.6 1.3 1 5 1.6 5.3-5.6 13.8 5.1-3.3 5.6-4 11.2-2.2-5.6-4.8-1.4-14.6-1.2-17.1s-1-5.5-3.3-7c-4.1-3.6-13-3.8-18.3-1.4-7.8 3.4-8.2 13.6-6.1 17l21.5 22c1.5 2.6 2 9.8-7.1 10.2-9.7.7-13-12.4-14.7-16.8-2.3 4.8-4.8 18-14.5 17.2-9.1-.3-10.9-7.5-9.4-10.1l22.1-22.5c2-3.4 1.7-13.6-6-17-5.4-2.4-14.3-2.2-18.4 1.5-2.2 1.4-3.5 4.4-3.3 6.9s4.4 12.3-1.2 17c5.6-1.8 6-1 11.1 2.3-7-8.5-6.6-8.9-5.5-13.9 5 1.7 12.7 1 12.7-1.2 0-2.3-2-6-5.1-4.5-3 1.5 2 3.3-1.5 3.3-3.6 0-6.1-.7-6.1-3.3s3.5-5.5 8.6-5.5 11.2 2.6 10.1 11.8c-1 9.2-23.5 19.3-23.5 25.6 0 6.3 1.6 14 16.3 14 9.7.7 10.8-5 14.3-8.4z" }),
32
+ React.createElement("path", { d: "M41.8 366c3.5-3.4 6.3-13.5 16-12.7 14.7 0 20.3 8.1 20.3 14.4 0 6.3-30 57.7-31 67-1 9.2 5.1 11.8 10.2 11.8 5 0 8.6-3 8.6-5.6s-2.5-3.3-6-3.3 1.4 1.8-1.6 3.3-5-2.2-5-4.4c0-2.3 7.5-3 12.6-1.3 1-5 1.5-5.4-5.6-13.9 5.1 3.3 5.6 4 11.2 2.2-5.6 4.8-1.4 14.6-1.2 17.1s-1 5.5-3.4 7c-4 3.7-13 3.8-18.2 1.4-7.8-3.4-8.2-13.6-6.1-17l28.9-62.5c1.5-2.6-2.5-11-11.7-11.4-9.6-.8-13 9.3-14.6 13.7l13.1-1s.5 2 0 3.4c-6.8.4-13.1 1.7-13.1 1.7l-.5 6.6h6.5l-.6 3s-5.4-.4-6 0c-.5.4-1 6.7-1 6.7s-1 .3-2 .3c-1.2 0-2.2-.3-2.2-.3s-.5-6.3-1-6.7c-.5-.4-6 0-6 0l-.5-3h6.5l-.5-6.6s-6.4-1.3-13.2-1.7c-.5-1.3 0-3.3 0-3.3l13.2 1c-1.7-4.5-5-14.6-14.7-13.8-9.1.3-13.2 8.8-11.7 11.4l29 62.5c2 3.4 1.6 13.6-6.1 17-5.3 2.4-14.2 2.3-18.3-1.4-2.3-1.5-3.5-4.5-3.3-7s4.3-12.3-1.3-17c5.6 1.8 6.1 1 11.2-2.3-7 8.5-6.6 8.9-5.6 13.9 5.1-1.7 12.7-1 12.7 1.3 0 2.2-2 5.9-5 4.4-3.1-1.5 2-3.3-1.6-3.3-3.5 0-6 .7-6 3.3s3.5 5.6 8.6 5.6 11.1-2.6 10.1-11.9c-1-9.2-31-60.6-31-67 0-6.2 5.6-14.3 20.3-14.3 9.7-.8 13.1 9.3 16.6 12.7z" }),
33
+ React.createElement("path", { d: "M41.8 340.5c3.5 3.4 6.3 13.5 16 12.7 14.7 0 20.3-8.1 20.3-14.4 0-6.3-30-57.7-31-67-1-9.2 5.1-11.8 10.2-11.8 5 0 8.6 3 8.6 5.6s-2.5 3.3-6 3.3 1.5-1.8-1.6-3.3-5 2.2-5 4.4c0 2.3 7.5 3 12.6 1.3 1 5 1.5 5.4-5.6 13.9 5.1-3.3 5.6-4 11.2-2.2-5.6-4.8-1.4-14.6-1.2-17.1s-1-5.5-3.4-7c-4-3.7-13-3.8-18.2-1.4-7.8 3.4-8.2 13.6-6.1 17L71.5 337c1.5 2.6-2.5 11-11.7 11.4-9.6.8-13-9.3-14.6-13.7l13.1 1s.5-2 0-3.4c-6.8-.5-13.1-1.7-13.1-1.7l-.5-6.6H51l-.5-3s-5.4.4-6 0c-.4-.4-1-6.7-1-6.7s-1-.3-2-.3c-1.2 0-2.2.3-2.2.3s-.5 6.3-1 6.7c-.5.4-6 0-6 0l-.5 3h6.5l-.5 6.6s-6.4 1.2-13.2 1.7c-.5 1.3 0 3.3 0 3.3l13.2-1c-1.7 4.5-5 14.6-14.7 13.8-9.1-.3-13.2-8.8-11.6-11.4l28.9-62.5c2-3.4 1.6-13.6-6.1-17-5.3-2.4-14.2-2.3-18.3 1.4-2.3 1.5-3.5 4.5-3.3 7s4.3 12.3-1.3 17c5.6-1.8 6.1-1 11.2 2.3-7.1-8.5-6.6-8.9-5.6-13.9 5.1 1.7 12.7 1 12.7-1.3s-2-5.9-5-4.4 2 3.3-1.6 3.3c-3.5 0-6-.7-6-3.3s3.5-5.5 8.6-5.5 11.1 2.5 10.1 11.8c-1 9.2-31 60.6-31 67 0 6.2 5.6 14.3 20.3 14.3 9.7.8 13.1-9.3 16.6-12.7z" }),
34
+ React.createElement("path", { d: "M41.8 171.2c3.5-3.4 6.3-13.5 16-12.8 14.7 0 20.3 8.2 20.3 14.5 0 6.2-30 57.6-31 66.9-1 9.2 5.1 11.8 10.2 11.8 5 0 8.6-3 8.6-5.5s-2.5-3.4-6-3.4 1.4 1.9-1.6 3.4-5-2.2-5-4.5c0-2.2 7.5-3 12.6-1.3 1-5 1.5-5.3-5.6-13.8 5.1 3.3 5.6 4 11.2 2.2-5.6 4.8-1.4 14.6-1.2 17s-1 5.5-3.4 7c-4 3.7-13 3.9-18.2 1.5-7.8-3.5-8.2-13.7-6.1-17l28.9-62.5c1.5-2.6-2.5-11.1-11.7-11.5-9.6-.7-13 9.4-14.6 13.8l13.1-1s.5 2 0 3.4c-6.8.4-13.1 1.6-13.1 1.6l-.5 6.7h6.5l-.6 3s-5.4-.4-6 0c-.5.3-1 6.6-1 6.6s-1 .4-2 .4c-1.2 0-2.2-.4-2.2-.4s-.5-6.3-1-6.6c-.5-.4-6 0-6 0l-.5-3h6.5l-.5-6.7s-6.4-1.2-13.2-1.6c-.5-1.3 0-3.4 0-3.4l13.2 1c-1.7-4.4-5-14.5-14.7-13.8-9.1.4-13.2 8.9-11.7 11.5l29 62.5c2 3.3 1.6 13.5-6.1 17-5.3 2.4-14.2 2.2-18.3-1.5-2.3-1.4-3.5-4.4-3.3-7s4.3-12.2-1.3-17c5.6 1.8 6.1 1.1 11.2-2.2-7 8.5-6.6 8.9-5.6 13.8 5.1-1.6 12.7-.9 12.7 1.3s-2 6-5 4.5c-3.1-1.5 2-3.4-1.6-3.4-3.5 0-6 .8-6 3.4s3.5 5.5 8.6 5.5 11.1-2.6 10.1-11.8c-1-9.3-31-60.7-31-67 0-6.2 5.6-14.4 20.3-14.4 9.7-.7 13.1 9.4 16.6 12.8z" }),
35
+ React.createElement("path", { d: "M41.8 145.7c3.5 3.4 6.3 13.4 16 12.7 14.7 0 20.3-8.1 20.3-14.4 0-6.3-30-57.7-31-67-1-9.2 5.1-11.8 10.2-11.8 5 0 8.6 3 8.6 5.5s-2.5 3.4-6 3.4 1.5-1.9-1.6-3.4-5 2.3-5 4.5 7.5 3 12.6 1.3c1 5 1.5 5.3-5.6 13.8 5.1-3.3 5.6-4 11.2-2.2-5.6-4.8-1.4-14.6-1.2-17s-1-5.5-3.4-7c-4-3.7-13-3.9-18.2-1.5-7.8 3.5-8.2 13.7-6.1 17l28.9 62.5c1.5 2.6-2.5 11.1-11.7 11.5-9.6.7-13-9.4-14.6-13.8l13.1 1s.5-2 0-3.4a117 117 0 0 1-13.1-1.6l-.5-6.7H51l-.5-3s-5.4.4-6 0c-.4-.3-1-6.6-1-6.6s-1-.4-2-.4c-1.2 0-2.2.4-2.2.4s-.5 6.3-1 6.7c-.5.3-6 0-6 0l-.5 3h6.5l-.5 6.6s-6.4 1.2-13.2 1.6a7 7 0 0 0 0 3.4l13.2-1c-1.7 4.4-5 14.5-14.7 13.8-9.1-.4-13.2-8.9-11.6-11.5l28.9-62.5c2-3.3 1.6-13.5-6.1-17-5.3-2.4-14.2-2.2-18.3 1.5-2.3 1.5-3.5 4.4-3.3 7s4.3 12.2-1.3 17c5.6-1.8 6.1-1 11.2 2.2-7.1-8.5-6.6-8.8-5.6-13.8 5.1 1.6 12.7 1 12.7-1.3s-2-6-5-4.5 2 3.4-1.6 3.4c-3.5 0-6-.8-6-3.4s3.5-5.5 8.6-5.5S36.9 67.8 35.9 77c-1 9.3-31 60.7-31 67 0 6.3 5.6 14.4 20.3 14.4 9.7.7 13.1-9.3 16.6-12.7z" }),
36
+ React.createElement("path", { d: "M43 13.7c3.5-3.4 2.3-9 12-8.4 14.7 0 15.1 9 15.1 15.3 0 6.3-22 15.1-23 24.3-1 9.3 5.1 11.9 10.2 11.9 5 0 8.6-3 8.6-5.6S63.4 48 60 48s1.5 1.9-1.6 3.3-5-2.2-5-4.4 7.6-3 12.6-1.3c1-5 1.6-5.4-5.6-13.9 5 3.3 5.6 4 11.1 2.3-5.6 4.8-1.4 14.6-1.2 17s-1 5.5-3.3 7c-4.1 3.7-13 3.9-18.3 1.5-7.8-3.5-8.2-13.7-6.1-17l21.5-22c1.5-2.7 2-9.9-7.1-10.3-9.7-.7-13 12.5-14.7 16.8C40 22.2 37.5 9 27.8 9.7c-9.1.4-10.9 7.6-9.4 10.2l22.1 22.5c2 3.3 1.7 13.5-6 17-5.4 2.4-14.3 2.2-18.4-1.5-2.2-1.5-3.5-4.4-3.3-7s4.4-12.2-1.2-17c5.6 1.8 6 1 11.1-2.3-7 8.5-6.6 9-5.5 13.9 5-1.7 12.7-1 12.7 1.3 0 2.2-2 6-5.1 4.4-3-1.4 2-3.3-1.5-3.3-3.6 0-6.1.8-6.1 3.3s3.5 5.6 8.6 5.6S37 54.2 35.9 44.9c-1-9.2-23.5-19.3-23.5-25.6 0-6.3 1.6-14 16.3-14 9.7-.7 10.8 5 14.3 8.4z" })),
37
+ React.createElement("g", { fill: "#ffec2d", transform: "translate(-220 40)" },
38
+ React.createElement("rect", { width: "170.2", height: "161.3", x: "425.9", y: "104.5", rx: "85.1", ry: "80.7" }),
39
+ React.createElement("path", { d: "M507 56.4c-.8 0-4.6 26.8-6 32.8-1.4 13.5 18 13 14.8-.5L507 56.3zm6.8 259.8c.7 0 6.5-26.5 8.4-32.4 2.3-13.3-17.1-14-15-.4l6.6 32.8zM378.2 184.6c0 .7 27.9 6.3 34.1 8.1 14 2.3 15-16 .6-14l-34.7 6zm271.7 3.2c0-.7-28.2-5.3-34.5-6.9-14.1-1.7-14.2 16.6 0 14.1l34.5-7.2zM406.8 99.6c-.5.5 17.9 21.3 21.6 26.4 9.6 10 22.3-4 9.6-10.8l-31.2-15.5zm211.1 171c.5-.5-19.7-19.7-23.9-24.4-10.5-9.2-21.8 5.7-8.6 11.5l32.5 13zm-169-200c-.6.3 8 26.1 9.4 32.2 4.8 12.7 22.2 4.4 13.2-6.5L449 70.6zM572 303c.7-.3-6-26.6-6.9-32.7-3.9-13-21.8-6-13.7 5.6l20.7 27zm30.3-214.4c-.6-.5-22.8 16.6-28.2 20-10.7 9 3.8 21.2 11.2 9.3l17-29.3zm-183 193.7c.5.5 24-15 29.6-18.1 11.3-8.2-2.2-21.4-10.5-10l-19 28.1zm-35-144.1c-.3.6 24 14.7 29.3 18.4 12.5 6.5 19.8-10.5 5.5-13.2l-34.8-5.2zM638 236.6c.3-.6-23-16.3-28-20.3-12-7.4-20.5 9.1-6.4 12.7l34.4 7.6zM557.4 63.7c-.7-.2-14.6 23.4-18.3 28.5a7.8 7.8 0 0 0 14 4.7l4.3-33.2zM463.5 308c.7.3 16.3-22.4 20.3-27.3 7.3-11.6-10.4-19-13.7-5.6l-6.6 32.9zM386 238.7c.3.6 28-6 34.5-7 13.6-3.8 6-20.6-6-12.8L386 238.7zM638.1 136c-.2-.6-28.3 4.1-34.8 4.7-14 2.9-7.5 20.2 5 13.2l29.8-17.9z" }),
40
+ React.createElement("path", { d: "M534.6 58.1c-.7-.1-10.1 25.4-12.9 31-4.1 13 15 16.2 14.7 2.4L534.7 58zM486.1 314c.7.2 12-24.7 15.2-30.2 5-12.6-13.8-17-14.5-3.3L486 314zm-9.7-253.4c-.7.2 1.9 27.2 1.9 33.4 1.9 13.3 20.6 8.7 14.4-3.7l-16.3-29.7zm68 251.9c.7-.1 0-27.2.5-33.4-.9-13.5-20-10.1-14.6 2.7l14 30.7zM428.2 83c-.6.4 12.7 24.3 15.2 30 7.2 11.7 22.7.7 11.8-8.6l-27-21.4zM593 290.9c.6-.4-11-25.2-13-31-6.3-12.1-22.5-2.1-12.4 7.8l25.4 23.2zM393 116.6c-.4.6 21.1 18.4 25.6 23 11.1 8.4 21.4-7.2 7.8-12.1L393 116.6zm234.2 139.7c.4-.6-19.7-19.8-23.9-24.6-10.4-9.1-21.8 5.8-8.6 11.6l32.5 13zm-249.6-97.8c-.2.7 26.3 10.8 32.1 13.7 13.4 4.5 17.7-13.4 3.1-13.8l-35.2.1zM645 216.3c.3-.6-25.4-12.4-31-15.7-13-5.4-18.7 12.2-4.2 13.6l35.2 2.1zM376.7 210c.1.6 28.7.2 35.2.7 14.2-.7 10.8-18.8-2.8-13.9L376.7 210zm270.2-45c0-.7-28.6-2.2-35-3.1-14.3-.2-12.2 18.1 1.7 14l33.3-11zm-245.7 98.4c.4.6 26-11.6 32-13.9 12.4-6.5 1-21.4-8.9-11.3l-23.1 25.2zm222.3-152.3c-.4-.6-26.7 9.9-33 11.8-12.9 5.7-2.6 21.3 8 11.9l25-23.7zM442.8 298.8c.6.3 18.9-20.5 23.5-24.9 8.7-10.7-8-20-12.9-7l-10.6 31.9zM582.5 75c-.5-.4-20.3 19.1-25.2 23.2-9.4 10.1 6.6 20.5 12.4 7.9L582.4 75z" }),
41
+ React.createElement("g", { transform: "matrix(2.1824 0 0 2.0629 -405 -272.6)" },
42
+ React.createElement("path", { d: "M360.1 247.9c.7 2.5.8 16.5 14.9 30 14 13.4 38 16.4 38 16.4s.1 1.9-1.6 2c-1.7.2-9.9-1.5-14-2.8-4-1.2-7.6-3.4-8-3.3-.5.2-1.3 1.6-2.5 1.4s-7-6.2-9.6-7.8a80.6 80.6 0 0 1-13.7-15.3c-2.8-4.5-3.5-7.5-4.4-7.5s-4.2 2.2-4.2 2.2-3-4.5-5.6-11.7c-2.7-7.2-2.4-11.4-1.8-11.7.7-.3.7 5.3 2.7 10.4 2 5.2 4.8 6.8 4.8 6.8s-1.8-2.7-3.2-9.4-2-13.2-1-15.2 1.9-2.6 2-2.5c.2.2-1.7 3.1-.4 10.8s4.8 14.2 5.6 13.9c.8-.3-.5-1.9-1-6.4s.5-7.3 1.6-7.7c.5-.4 1.3 5 1.4 7.4zm-9.8 12.8c-2.7-2.5-6.9-11.2-7.8-10.8-1 .5 6.8 13 7 14 .2 1.2 1.9 4.6.6 4.1s-10.6-10.3-9.5-8.4 8.1 10.5 7.7 11-5.8-4.8-6-4.1c-.1.6 5.3 5.8 5.2 6.4s-3.5-3.3-3.5-2.5 3.5 4.7 3.5 5.3-3-2.8-2-1c.9 2 3.5 3.7 3.4 4.3s-2.2-.8-2.2-.5c0 .3 3.9 1.7 4.8 2.8 1 1.1 7.4 8.5 12.2 12.2s18.6 10.2 19.6 10.2c.9 0 2.3-2 2-2.8-.3-.8-13.8-5.4-17.5-8.8-3.8-3.4-13-11.6-13.8-12-.7-.5-2.8-.3-2.8-.8s2.7.3 2.5 0c-.1-.3-3.7-1.9-3.6-2.2.2-.3 2.5.6 2.5.3s-4.2-2.6-4-3.1c.1-.5 3.1 1.4 3.1 1 0-.2-4-3-3.9-3.5.1-.5 3.1 2.2 3 1.6s-2.4-4-2.4-4.4c0-.5 3.6 3.4 4 2.6.2-.7-1.3-7.2-1.2-7.3s2.7 1.4 3.1.5c.5-1-1.8-2.3-4-4.1zm46.1 49.2c-1.9.3-2.8-.4-1.7-2 1.5 0 5.5-1.3 6.9-1.9s2.9-1.4 4.1-2.5c1.2-1.3 2 .7 1.3 1.8-.5.7-2.8 2-4.5 2.7-2.5.8-4.7 2-6.1 1.9zm12.5-5.1c-1.3-1.4-.2-2.4 1.7-3.5 2.8-1.5 2-3.6 5.6-5.3 1.6-1 24-10 31.3-14.8s27.8-20.3 33.3-31c5.4-10.6 2.8-11.4 3.6-11.8.7-.5 1.5 1.5 1.4 3.9-.2 2.3-2 9.3-1.4 10s8.2-5.5 11.4-13 5.6-15.3 7.1-15.3c1.6 0-2.6 12.8-5.3 17.8-2.6 5-5.7 7.5-5 8.6.8 1 8.6-5.5 11.3-10.3 2.6-4.9 5.1-9.2 5.6-8.3a34 34 0 0 1-6.7 16.1c-4.2 4.8-9.2 8.3-8.4 9 .7.8 6.4 1.6 12.3-2.4 6-4.1 6.6-10 7.3-9.7.8.3-.7 8.4-6.4 13.4s-13.2 5.5-13 6.6c.4 1 16.3-4.6 16-3.3-.3 1.2-20.6 9.2-20.8 10 0 .6 3.5.8 9-.5 5.4-1.2 10.6-5.5 11.3-4.5.2 1.4-3.9 4.8-10.1 6.4-6.3 1.6-9.4 3.7-9.6 4.2-.1.5 11.2-1.4 11.2-.8s-14.8 3.5-14.9 4.3c-.2.7 14-2.9 13.8-2-.4.7-19.3 6.3-19.1 6.6.1.4 15.8-3.4 15.5-2.8-.4.7-26.4 8-26.6 8.5-.2.4 23-5.2 22.8-4.7s-12 3.4-12 3.7c0 .3 9.5-1.5 9.3-1-.1.4-24 6.5-24.5 7.4-.5 1 12.4-2.5 12.2-.7s-27.7 11-27.8 9.3c-.2-1.7 16.7-6 16.6-6.5-.2-.5-9.7 1-9.9.1-.1-1 6.3-3 5.8-3.4-.5-.5-5.3 1.4-4.9.3.5-1.1 9.6-5.3 9.4-5.6-.1-.3-3.3 1-3 0 .4-1.1 19.7-6.7 19.4-7.4-.3-.6-8.9 1.4-9.7 1.6-.3-.6 12-5.2 11.8-6-.4-.7-6.6 2.7-7 1.8-.2-1 10.9-5.3 10.2-6s-5.7 1.8-6.4 1.1 10.5-8.4 8.8-8.6c-1.7-.1-3.8 2.4-4 .8.2-2 8.7-5.3 6.8-6.9-3-.9-13.1.7-17.3 3.2s-18.2 16.4-21.6 18.6c-3.4 2.1-15 7-17.2 8-3.4 1.2-4 3-7.5 4.8-6.3 1.7-6.2 3.6-9.2 4.7-1.1.3-12.4 5.7-12.5 5.3zm-15.8 7c-1.9 1-3.6 3.4-2.5 4.4.6 1.2 2.5-2.7 4-2.5l8 .4c4.3.3 6.4-.9 8.8-.7s7.7-1.3 10.2-1.3 3 .3 3.2-.8c.3-1-7.8-.3-11.4-.4-3.6-.2-8.1.7-10.8.7-2.5-.1-6.8-.9-9.5.2z" }),
43
+ React.createElement("rect", { width: "3.4", height: "3", x: "401.7", y: "309.1", rx: "1.7", ry: "1.5" }),
44
+ React.createElement("path", { d: "M445 307.7c1.7-.3 6.3 1.3 9.5 2 5.8 2.3 16.6 1.2 16.6 2.3s-.7 2.4-3.2 2.6-8.8-1-8.6-1 5 2.3 3.6 2.9-5.5-1.3-6.2-.8 3.8 1.4 3 1.7c-.6.3-3.7-.4-4.7-.3-1 .2.8 1.3-.4 1.7-1.2.5-3.2-.6-4-.3-.9.3 1.8 2 .6 2.2-1.2.2-4-.8-5.6-1-1.6 0 1.5 1.6.5 1.8-1 .1-3.8-1.3-4.5-1.3s0 2-1 2-2.2-1.7-2.8-1.7 0 2-1 2-1.4-2.1-2.2-2c-1 .2 0 2.7-1.4 2.5-1.3-.1-1.5-2.6-2.6-2.5-1 .2.2 2.5-.8 2.5s-1.2-2.3-2.2-2.5c-1-.1-.6 2.2-1.2 2.2s-1.2-2.2-1.6-2.2c-.3 0 0 2.2-1.2 2s-1.2-2.4-1.5-2.3c-.4.2-.4 1.8-1.2 1.8s-.9-1.6-1.2-1.4c-.4.1-1.6 2.1-2.4 1.8-.9-.3.2-1.9-.2-1.9s-1.4 1.1-2 1 0-1.4-.2-1.4-1.7.8-2.4.8-2.6 1-3.1.1c-.5-1 1.3-1 1.7-1.9.3-.9-1-3.6.4-4.5 1.3-1 5.6 1.3 12-.3 11.6-3.1 20.6-6.7 21.5-6.6z" }))))));
45
+ exports.default = React.forwardRef(KZFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const RUFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("g", { fillRule: "evenodd", strokeWidth: "1pt" },
29
+ React.createElement("path", { fill: "#fff", d: "M0 0h512v512H0z" }),
30
+ React.createElement("path", { fill: "#0039a6", d: "M0 170.7h512V512H0z" }),
31
+ React.createElement("path", { fill: "#d52b1e", d: "M0 341.3h512V512H0z" }))));
32
+ exports.default = React.forwardRef(RUFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const UAFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("g", { fillRule: "evenodd", strokeWidth: "1pt" },
29
+ React.createElement("path", { fill: "gold", d: "M0 0h512v512H0z" }),
30
+ React.createElement("path", { fill: "#0057b8", d: "M0 0h512v256H0z" }))));
31
+ exports.default = React.forwardRef(UAFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const RUFlag = (props, ref) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
28
+ React.createElement("g", { fillRule: "evenodd" },
29
+ React.createElement("g", { strokeWidth: "1pt" },
30
+ React.createElement("path", { fill: "#bd3d44", d: "M0 0h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.7h972.8V197H0zm0 78.8h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.7h972.8v39.4H0zm0 78.8h972.8V512H0z" }),
31
+ React.createElement("path", { fill: "#fff", d: "M0 39.4h972.8v39.4H0zm0 78.8h972.8v39.3H0zm0 78.7h972.8v39.4H0zm0 78.8h972.8V315H0zm0 78.8h972.8v39.3H0zm0 78.7h972.8v39.4H0z" })),
32
+ React.createElement("path", { fill: "#192f5d", d: "M0 0h389.1v275.7H0z" }),
33
+ React.createElement("path", { fill: "#fff", d: "m32.3 11.8 4 11h11l-9.1 6.7 3.5 10.7-9.4-6.7-8.7 6.7 3.6-10.7-9.5-6.7h11.8zm65 0 3.5 11h11.4l-9.4 6.7 4 10.7-9.5-6.7-9.5 6.7 4-10.7-9.5-6.7h11.4zm65 0 3.5 11h11.4l-9.4 6.7 4 10.7-9.5-6.7-9.5 6.7 4-10.7-9.5-6.7h11.4zm64.6 0 3.9 11h11l-9 6.7 3.5 10.7-9.4-6.7-9.1 6.7 3.5-10.7-9.4-6.7h11.8zm65 0 3.5 11h11.4l-9.4 6.7 3.9 10.7-9.9-6.7-9 6.7 3.5-10.7-9.4-6.7h11.4zm65 0 3.5 11h11.4l-9.5 6.7 4 10.7-9.5-6.7-9.4 6.7 4-10.7-9.5-6.7h11.4zm-292 27.6 3.6 11H80l-9.5 6.7 4 10.6L65 61l-9.5 6.7 4-10.6-9.5-6.7h11.4zm64.7 0 4 11h11l-9.1 6.7 3.5 10.6-9.4-6.7-9 6.7 3.5-10.6-9.5-6.7h11.8zm65 0 3.5 11h11.4l-9.4 6.7 4 10.6-9.5-6.7-9.5 6.7 4-10.6-9.5-6.7H191zm65 0 3.5 11h11.4l-9.4 6.7 3.9 10.6-9.5-6.7-9.4 6.7 4-10.6-9.5-6.7H256zm64.5 0 4 11h10.6l-9 6.7 3.5 10.6-9.5-6.7-9 6.7 3.5-10.6-9.4-6.7h11.8zM32.7 67l3.1 11h11.9l-9.5 6.7 3.5 10.6-9.4-6.7-8.7 6.7 3.6-10.6-9.5-6.7h11.8zm64.6 0 3.5 11h11.4l-9 6.7 3.5 10.6-9.4-6.7-9 6.7 3.5-10.6-9.5-6.7h11.4zm65 0 3.5 11h11.4l-9.4 6.7 4 10.6-9.5-6.7-9.5 6.7 4-10.6-9.5-6.7h11.4zm64.6 0 3.9 11h11l-9 6.7 3.5 10.6-9.4-6.7-9.1 6.7 3.5-10.6L212 78h11.8zm65 0 3.5 11h11.4l-9 6.7 3.5 10.6-9.5-6.7-9 6.7 3.5-10.6L277 78h11.4zm65 0 3.5 11h11.4l-9.5 6.7 4 10.6-9.5-6.7-9.4 6.7 4-10.6-9.5-6.7h11.4zm-292 27.5 3.6 11H80l-9.5 6.7 4 10.7-9.5-6.7-9.5 6.7 4-10.7-9.5-6.6h11.4zm64.7 0 4 11h11l-9.1 6.7L139 123l-9.4-6.7-9 6.7 3.5-10.7-9.5-6.6h11.8zm65 0 3.5 11h11.4l-9 6.7L204 123l-9.4-6.7-9.1 6.7 3.5-10.7-9.4-6.6H191zm65 0 3.5 11h11.4l-9.4 6.7L269 123l-9.5-6.7-9.4 6.7 4-10.7-9.5-6.6H256zm64.5 0 4 11h10.6l-9 6.7 3.5 10.7-9.5-6.7-9 6.7 3.5-10.7-9.4-6.6h11.8zM32.7 122.1l3.1 11h11.9l-9.5 6.7 3.5 10.7-9.4-6.7-8.7 6.7 3.6-10.7-9.5-6.7h11.8zm64.6 0 3.5 11h11.4l-9 6.7 3.5 10.7-9.4-6.7-9 6.7 3.5-10.7-9.5-6.7h11.4zm65 0 3.5 11h11.4l-9.4 6.7 4 10.7-9.5-6.7-9.5 6.7 4-10.7-9.5-6.7h11.4zm64.6 0 3.9 11h11l-9 6.7 3.5 10.7-9.4-6.7-9.1 6.7 3.5-10.7-9.4-6.7h11.8zm65 0 3.5 11h11.4l-9 6.7 3.5 10.7-9.5-6.7-9 6.7 3.5-10.7-9.4-6.7h11.4zm65 0 3.5 11h11.4l-9.5 6.7 4 10.7-9.5-6.7-9.4 6.7 4-10.7-9.5-6.7h11.4zm-292 27.6 3.6 11H80l-9.5 6.7 4 10.6-9.5-6.7-9.5 6.7 4-10.6-9.5-6.7h11.4zm64.7 0 4 11h11l-9.1 6.7L139 178l-9.4-6.7-9 6.7 3.5-10.6-9.5-6.7h11.8zm65 0 3.5 11h11.4l-9 6.7L204 178l-9.4-6.7-9.1 6.7 3.5-10.6-9.4-6.7H191zm65 0 3.5 11h11.4l-9.4 6.7L269 178l-9.5-6.7-9.4 6.7 4-10.6-9.5-6.7H256zm64.5 0 4 11h10.6l-9 6.7 3.5 10.6-9.5-6.7-9 6.7 3.5-10.6-9.4-6.7h11.8zM32.7 177.2l3.1 11h11.9l-9.5 6.8 3.5 10.6-9.4-6.7-8.7 6.7 3.6-10.6-9.5-6.7h11.8zm64.6 0 3.5 11h11.4l-9 6.8 3.5 10.6-9.4-6.7-9 6.7 3.5-10.6-9.5-6.7h11.4zm65 0 3.5 11h11.4l-9.4 6.8 4 10.6-9.5-6.7-9.5 6.7 4-10.6-9.5-6.7h11.4zm64.6 0 3.9 11h11l-9 6.8 3.5 10.6-9.4-6.7-9.1 6.7 3.5-10.6-9.4-6.7h11.8zm65 0 3.5 11h11.4l-9 6.8 3.5 10.6-9.5-6.7-9 6.7 3.5-10.6-9.4-6.7h11.4zm65 0 3.5 11h11.4l-9.5 6.8 4 10.6-9.5-6.7-9.4 6.7 4-10.6-9.5-6.7h11.4zm-292 27.6 3.6 11H80l-9.5 6.7 4 10.7-9.5-6.7-9.5 6.7 4-10.7-9.5-6.7h11.4zm64.7 0 4 11h11l-9.1 6.7 3.5 10.7-9.4-6.7-9 6.7 3.5-10.7-9.5-6.7h11.8zm65 0 3.5 11h11.4l-9 6.7 3.5 10.7-9.4-6.7-9.1 6.7 3.5-10.7-9.4-6.7H191zm65 0 3.5 11h11.4l-9.4 6.7 3.9 10.7-9.5-6.7-9.4 6.7 4-10.7-9.5-6.7H256zm64.5 0 4 11h10.6l-9 6.7 3.5 10.7-9.5-6.7-9 6.7 3.5-10.7-9.4-6.7h11.8zM32.7 232.4l3.1 11h11.9l-9.5 6.7 3.5 10.6-9.4-6.7-8.7 6.7 3.6-10.6-9.5-6.7h11.8zm64.6 0 3.5 11h11.4l-9 6.7 3.5 10.6-9.4-6.7-9 6.7 3.5-10.6-9.5-6.7h11.4zm65 0 3.5 11h11.4l-9.4 6.7 4 10.6-9.5-6.7-9.5 6.7 4-10.6-9.5-6.7h11.4zm64.6 0 3.9 11h11l-9 6.7 3.5 10.6-9.4-6.7-9.1 6.7 3.5-10.6-9.4-6.7h11.8zm65 0 3.5 11h11.4l-9 6.7 3.5 10.6-9.5-6.7-9 6.7 3.5-10.6-9.4-6.7h11.4zm65 0 3.5 11h11.4l-9.5 6.7 4 10.6-9.5-6.7-9.4 6.7 4-10.6-9.5-6.7h11.4z" }))));
34
+ exports.default = React.forwardRef(RUFlag);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const React = __importStar(require("react"));
27
+ const react_1 = require("@emotion/react");
28
+ const UnknownFlag = (props, ref) => {
29
+ const { colors } = (0, react_1.useTheme)();
30
+ return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 512 512", ref: ref }, props),
31
+ React.createElement("path", { transform: "translate(78.682 31.951)", d: "m-78.682-31.951h512v512h-512z", fill: colors.backgroundPrimary().toString(), strokeLinejoin: "round", strokeWidth: "2.176" }),
32
+ React.createElement("path", { transform: "translate(78.682 31.951)", d: "m177.32 288.09q-4.915 0-8.0953-3.1803-3.1803-3.4694-3.1803-8.3844 0-11.854 5.7824-25.153 5.7823-13.299 15.612-22.551l7.2279-6.6497q9.83-9.2518 15.323-15.323 5.4932-6.3606 8.9626-15.034 3.7585-8.9626 3.7585-20.527 0-11.276-5.4932-20.527-5.4932-9.5409-15.612-15.034-10.119-5.4932-23.129-5.4932-21.395 0-34.116 13.01-12.432 12.721-12.432 33.248 0 4.915-3.1803 8.0953-2.8912 2.8912-7.8062 2.8912t-8.0953-2.8912q-3.1803-3.1803-3.1803-8.0953 0-19.66 8.6735-34.983 8.6735-15.323 24.286-23.997 15.612-8.6735 35.851-8.6735 19.082 0 34.116 8.3844 15.323 8.0953 23.708 22.551 8.6735 14.456 8.6735 32.67 0 14.167-4.6259 24.864-4.6259 10.408-11.854 18.503-6.9388 8.0953-19.949 19.949l-5.2041 4.6259q-8.0953 7.2279-11.565 17.058-3.1803 9.5409-3.1803 19.082 0 4.915-3.1803 8.3844-3.1803 3.1803-8.0953 3.1803zm0 51.174q-7.2279 0-12.143-4.915-4.6259-4.915-4.6259-11.854 0-7.2279 4.915-12.143 4.915-4.915 11.854-4.915t11.854 4.915q5.2041 4.915 5.2041 12.143 0 6.9388-5.2041 11.854-4.915 4.915-11.854 4.915z", fill: colors.textPrimary().toString(), strokeWidth: ".72279" })));
33
+ };
34
+ exports.default = React.forwardRef(UnknownFlag);
@@ -0,0 +1,49 @@
1
+ import React from 'react';
2
+ import { TextFieldProps } from '../TextField';
3
+ import { usePhoneUtils } from './usePhoneUtils';
4
+ import templates, { CountryCode } from './templates';
5
+ export interface PhoneFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
6
+ /**
7
+ * Phone string format 79876543210 or +7 (987) 654-32-10
8
+ */
9
+ readonly value: string;
10
+ readonly defaultCountry?: CountryCode | null;
11
+ readonly onChange: (payload: PhonePayload) => void;
12
+ }
13
+ export interface PhonePayload {
14
+ /**
15
+ * Phone formatted string, e.g.: +7 (987) 654-32-10
16
+ */
17
+ readonly value: string;
18
+ /**
19
+ * Country code (ISO 3166-1 alpha-2), e.g.: RU
20
+ */
21
+ readonly countryCode: string | null;
22
+ /**
23
+ * Phone template, e.g.: +7 (xxx) xxx-xx-xx. The symbol «x» - is a digit
24
+ */
25
+ readonly template: string;
26
+ /**
27
+ * Phone placeholder, e.g.: +7 (999) 999-99-99
28
+ */
29
+ readonly placeholder: string;
30
+ /**
31
+ * Country calling code, e.g.: 7
32
+ */
33
+ readonly callingCode: string | null;
34
+ /**
35
+ * Phone number without calling code and formatters
36
+ */
37
+ readonly number: string;
38
+ /**
39
+ * Phone number with calling code
40
+ */
41
+ readonly combined: string;
42
+ /**
43
+ * Phone validation status
44
+ */
45
+ readonly isValid: boolean;
46
+ }
47
+ export { usePhoneUtils, templates };
48
+ declare const _default: React.ForwardRefExoticComponent<PhoneFieldProps & React.RefAttributes<HTMLDivElement>>;
49
+ export default _default;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.templates = exports.usePhoneUtils = void 0;
18
+ const react_1 = __importDefault(require("react"));
19
+ const TextField_1 = __importDefault(require("../TextField"));
20
+ const usePhoneUtils_1 = require("./usePhoneUtils");
21
+ Object.defineProperty(exports, "usePhoneUtils", { enumerable: true, get: function () { return usePhoneUtils_1.usePhoneUtils; } });
22
+ const templates_1 = __importDefault(require("./templates"));
23
+ exports.templates = templates_1.default;
24
+ const CountryFlag_1 = __importDefault(require("./CountryFlag"));
25
+ const PhoneField = (props, ref) => {
26
+ const { value, defaultCountry, onChange, inputRef } = props, textFieldProps = __rest(props, ["value", "defaultCountry", "onChange", "inputRef"]);
27
+ const { formatParsedInput, parseInput, parseAndFormat } = (0, usePhoneUtils_1.usePhoneUtils)();
28
+ const textInputRef = react_1.default.useRef(null);
29
+ const initialValue = react_1.default.useRef(value);
30
+ const [state, setState] = react_1.default.useState(() => {
31
+ const { text, countryCode, placeholder, number } = parseAndFormat(String(initialValue.current));
32
+ return {
33
+ currentValue: text,
34
+ number,
35
+ countryCode,
36
+ placeholder,
37
+ };
38
+ });
39
+ const { countryCode, currentValue, placeholder } = state;
40
+ react_1.default.useEffect(() => {
41
+ if (initialValue.current !== value) {
42
+ initialValue.current = value;
43
+ const formatted = parseAndFormat(String(value));
44
+ if (formatted.text !== currentValue) {
45
+ setState(prev => (Object.assign(Object.assign({}, prev), { currentValue: formatted.text, countryCode: formatted.countryCode, placeholder: formatted.placeholder })));
46
+ }
47
+ }
48
+ }, [countryCode, currentValue, parseAndFormat, placeholder, value]);
49
+ const handleChange = event => {
50
+ var _a;
51
+ const parsed = parseInput(String(event.currentTarget.value), ((_a = textInputRef.current) === null || _a === void 0 ? void 0 : _a.selectionStart) || 0);
52
+ const { caret, text, template, placeholder, countryCode, callingCode, number, isValid } = formatParsedInput(parsed.text, parsed.caret);
53
+ onChange({
54
+ value: text,
55
+ placeholder,
56
+ template,
57
+ countryCode,
58
+ callingCode,
59
+ number,
60
+ isValid,
61
+ combined: `${callingCode}${number}`,
62
+ });
63
+ setState(prev => (Object.assign(Object.assign({}, prev), { currentValue: text, countryCode,
64
+ placeholder })));
65
+ setTimeout(() => {
66
+ var _a;
67
+ (_a = textInputRef.current) === null || _a === void 0 ? void 0 : _a.setSelectionRange(caret, caret);
68
+ }, 15);
69
+ };
70
+ return (react_1.default.createElement(TextField_1.default, Object.assign({ ref: ref }, textFieldProps, { startIcon: react_1.default.createElement(CountryFlag_1.default, { countryCode: countryCode, onClick: () => {
71
+ if (textInputRef.current) {
72
+ textInputRef.current.select();
73
+ textInputRef.current.focus();
74
+ }
75
+ } }), value: currentValue, placeholder: placeholder, onChange: handleChange, inputRef: input => {
76
+ textInputRef.current = input;
77
+ if (inputRef && typeof inputRef === 'object') {
78
+ inputRef.current = input;
79
+ }
80
+ } })));
81
+ };
82
+ exports.default = react_1.default.forwardRef(PhoneField);
@@ -0,0 +1,3 @@
1
+ export type CountryCode = 'RU' | 'KZ' | 'UA' | 'JP' | 'US' | 'BY';
2
+ declare const templates: [CountryCode | null, string | null, string, string, RegExp][];
3
+ export default templates;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const templates = [
4
+ // Russian template
5
+ ['RU', '7', '+x (xxx) xxx-xx-xx', '+7 (987) 654-32-10', /^\+$/],
6
+ ['RU', '7', '8 (xxx) xxx-xx-xx', '8 (987) 654-32-10', /^8[^1]{0,}/],
7
+ ['RU', '7', '+7 (xxx) xxx-xx-xx', '+7 (987) 654-32-10', /^\+{0,1}7{0,1}9/],
8
+ ['RU', '7', '+7 (xxx) xxx-xx-xx', '+7 (987) 654-32-10', /^\+{0,1}7([0-5]|[8-9])[0-9][0-9]/],
9
+ // Other fucking countries
10
+ ['BY', '375', '+375 (xx) xxx-xx-xx', '+375 (98) 765-43-21', /^\+{0,1}375/],
11
+ ['KZ', '7', '+997 (xx) xxx-xx-xx', '+997 (98) 765-43-21', /^\+{0,1}997/],
12
+ ['KZ', '7', '+7 (xxx) xxx-xx-xx', '+7 (600) 765-43-21', /^\+{0,1}7[6-7][0-9][0-9]/],
13
+ ['UA', '380', '+380 (xx) xxx-xxxx', '+380 (98) 765-4321', /^\+{0,1}380/],
14
+ ['JP', '81', '+81 (xx) xxx-xxxx', '+81 (98) 765-4321', /^\+{0,1}81/],
15
+ ['US', '1', '+1 xxx xxx-xx-xx', '+1 987 654-32-10', /^\+{0,1}1/],
16
+ [null, null, '+x xxx xxx-xx-xx', '+30 987 654-32-10', /^\+{0,1}.*/], // must be at last
17
+ ];
18
+ exports.default = templates;
@@ -0,0 +1,65 @@
1
+ import { CountryCode } from './templates';
2
+ export interface Formatted {
3
+ readonly text: string;
4
+ readonly caret: number;
5
+ readonly countryCode: CountryCode | null;
6
+ readonly callingCode: string | null;
7
+ readonly number: string;
8
+ readonly template: string;
9
+ readonly placeholder: string;
10
+ readonly isValid: boolean;
11
+ }
12
+ type Parse = (text: string, caret?: number) => {
13
+ readonly text: string;
14
+ readonly caret: number;
15
+ };
16
+ type GetTemplateInfo = (parsedValue: string) => {
17
+ readonly countryCode: CountryCode | null;
18
+ readonly callingCode: string | null;
19
+ readonly template: string;
20
+ readonly placeholder: string;
21
+ readonly regexp: RegExp;
22
+ };
23
+ type Validate = (inputValue: string, template: string) => boolean;
24
+ type Format = (text: string, caret: number, defaultCountry?: string | null) => Formatted;
25
+ type ParseAndValidate = (inputValue: string) => boolean;
26
+ type ParseAndFormat = (inputValue: string, caret?: number) => Formatted;
27
+ export declare const usePhoneUtils: () => {
28
+ /**
29
+ * Validate parsed phone string by template\
30
+ * ```js
31
+ * // Example:
32
+ * validateParsedInput('79129876543', '7 (xxx) xxx-xx-xx'); // true
33
+ * validateParsedInput('79129876', '7 (xxx) xxx-xx-xx'); // false
34
+ * ```
35
+ */
36
+ validateParsedInput: Validate;
37
+ getTemplateInfo: GetTemplateInfo;
38
+ /**
39
+ * Parse plain phone string and validate result\
40
+ * ```js
41
+ * // Example:
42
+ * parseAndValidate('+7 912 659-99-88'); // true
43
+ * parseAndValidate('+7 912 659-99-'); // false
44
+ * ```
45
+ */
46
+ parseAndValidate: ParseAndValidate;
47
+ parseAndFormat: ParseAndFormat;
48
+ /**
49
+ * Format phone string by template\
50
+ * ```js
51
+ * // Example:
52
+ * format('')
53
+ * ```
54
+ */
55
+ formatParsedInput: Format;
56
+ /**
57
+ * Parse input phone string\
58
+ * ```js
59
+ * // Example:
60
+ * const { text, caret } = parseInput('+7 (912', 7); // { '7912', 4 }
61
+ * ```
62
+ */
63
+ parseInput: Parse;
64
+ };
65
+ export {};