chop-logic-components 3.7.3 → 4.0.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 (238) hide show
  1. package/README.md +5 -4
  2. package/dist/components/atoms/button/Button.css +1 -0
  3. package/dist/components/atoms/button/Button.js +66 -0
  4. package/dist/components/atoms/button/icon-button/IconButton.css +1 -0
  5. package/dist/components/atoms/button/icon-button/IconButton.js +15 -0
  6. package/dist/components/atoms/button/icon-button/index.js +3 -0
  7. package/dist/components/atoms/button/index.js +3 -0
  8. package/dist/components/atoms/button/inner-button/InnerButton.css +1 -0
  9. package/dist/components/atoms/button/inner-button/InnerButton.js +28 -0
  10. package/dist/components/atoms/button/inner-button/index.js +3 -0
  11. package/dist/components/atoms/button/primary-button/PrimaryButton.css +1 -0
  12. package/dist/components/atoms/button/primary-button/PrimaryButton.js +18 -0
  13. package/dist/components/atoms/button/primary-button/index.js +3 -0
  14. package/dist/components/atoms/button/secondary-button/SecondaryButton.css +1 -0
  15. package/dist/components/atoms/button/secondary-button/SecondaryButton.js +18 -0
  16. package/dist/components/atoms/button/secondary-button/index.js +3 -0
  17. package/dist/components/atoms/editable-text/EditView.js +37 -0
  18. package/dist/components/atoms/editable-text/EditableText.css +1 -0
  19. package/dist/components/atoms/editable-text/EditableText.js +71 -0
  20. package/dist/components/atoms/editable-text/ReadView.js +25 -0
  21. package/dist/components/atoms/editable-text/index.js +3 -0
  22. package/dist/components/atoms/editable-text/useEditModeState.js +17 -0
  23. package/dist/components/atoms/editable-text/useInputFocus.js +9 -0
  24. package/dist/components/atoms/editable-text/useValueState.js +21 -0
  25. package/dist/components/atoms/error-message/ErrorMessage.css +1 -0
  26. package/dist/components/atoms/error-message/ErrorMessage.js +30 -0
  27. package/dist/components/atoms/error-message/index.js +3 -0
  28. package/dist/components/atoms/header/Header.css +1 -0
  29. package/dist/components/atoms/header/Header.js +22 -0
  30. package/dist/components/atoms/header/index.js +3 -0
  31. package/dist/components/atoms/icon/Icon.css +1 -0
  32. package/dist/components/atoms/icon/Icon.js +31 -0
  33. package/dist/components/atoms/icon/index.js +3 -0
  34. package/dist/components/atoms/image/BasicImage.js +27 -0
  35. package/dist/components/atoms/image/FallBackImage.js +10 -0
  36. package/dist/components/atoms/image/Image.css +1 -0
  37. package/dist/components/atoms/image/Image.js +24 -0
  38. package/dist/components/atoms/image/ResponsivePicture.js +17 -0
  39. package/dist/components/atoms/image/index.js +3 -0
  40. package/dist/components/atoms/input/Input.css +1 -0
  41. package/dist/components/atoms/input/Input.js +10 -0
  42. package/dist/components/atoms/input/index.js +3 -0
  43. package/dist/components/atoms/label/Label.css +1 -0
  44. package/dist/components/atoms/label/Label.js +30 -0
  45. package/dist/components/atoms/label/index.js +3 -0
  46. package/dist/components/atoms/link/Link.css +1 -0
  47. package/dist/components/atoms/link/Link.js +39 -0
  48. package/dist/components/atoms/link/index.js +3 -0
  49. package/dist/components/atoms/portal/Portal.js +11 -0
  50. package/dist/components/atoms/portal/index.js +2 -0
  51. package/dist/components/atoms/tooltip/Tooltip.controller.js +35 -0
  52. package/dist/components/atoms/tooltip/Tooltip.css +1 -0
  53. package/dist/components/atoms/tooltip/Tooltip.js +70 -0
  54. package/dist/components/atoms/tooltip/index.js +3 -0
  55. package/dist/components/contexts/form/FormContext.js +5 -0
  56. package/dist/components/contexts/theme/ThemeContext.js +11 -0
  57. package/dist/components/contexts/theme/ThemeProvider.js +21 -0
  58. package/dist/components/hocs/with-figure-caption/Figure.css +1 -0
  59. package/dist/components/hocs/with-figure-caption/index.js +2 -0
  60. package/dist/components/hocs/with-figure-caption/with-figure-caption.js +11 -0
  61. package/dist/components/hocs/with-tooltip/index.js +2 -0
  62. package/dist/components/hocs/with-tooltip/with-tooltip.js +8 -0
  63. package/dist/components/molecules/accordion/Accordion.css +1 -0
  64. package/dist/components/molecules/accordion/Accordion.js +11 -0
  65. package/dist/components/molecules/accordion/AccordionItem.css +1 -0
  66. package/dist/components/molecules/accordion/AccordionItem.js +24 -0
  67. package/dist/components/molecules/accordion/index.js +3 -0
  68. package/dist/components/molecules/alert/Alert.css +1 -0
  69. package/dist/components/molecules/alert/Alert.helpers.js +41 -0
  70. package/dist/components/molecules/alert/Alert.js +60 -0
  71. package/dist/components/molecules/alert/AlertProgressBar.js +13 -0
  72. package/dist/components/molecules/alert/index.js +3 -0
  73. package/dist/components/molecules/breadcrumbs/BreadcrumbItem.js +27 -0
  74. package/dist/components/molecules/breadcrumbs/BreadcrumbList.js +6 -0
  75. package/dist/components/molecules/breadcrumbs/Breadcrumbs.css +1 -0
  76. package/dist/components/molecules/breadcrumbs/Breadcrumbs.js +31 -0
  77. package/dist/components/molecules/breadcrumbs/index.js +3 -0
  78. package/dist/components/molecules/checkbox/Checkbox.controller.js +25 -0
  79. package/dist/components/molecules/checkbox/Checkbox.css +1 -0
  80. package/dist/components/molecules/checkbox/Checkbox.helpers.js +10 -0
  81. package/dist/components/molecules/checkbox/Checkbox.js +7 -0
  82. package/dist/components/molecules/checkbox/CheckboxStateful.js +61 -0
  83. package/dist/components/molecules/checkbox/CheckboxStateless.js +59 -0
  84. package/dist/components/molecules/checkbox/index.js +3 -0
  85. package/dist/components/molecules/multi-select/MultiSelect.Combobox.js +47 -0
  86. package/dist/components/molecules/multi-select/MultiSelect.Dropdown.js +31 -0
  87. package/dist/components/molecules/multi-select/MultiSelect.controller.js +37 -0
  88. package/dist/components/molecules/multi-select/MultiSelect.helpers.js +22 -0
  89. package/dist/components/molecules/multi-select/MultiSelect.js +61 -0
  90. package/dist/components/molecules/multi-select/MultiSelectComboboxSelectedValues.js +8 -0
  91. package/dist/components/molecules/multi-select/Option.js +40 -0
  92. package/dist/components/molecules/multi-select/index.js +2 -0
  93. package/dist/components/molecules/numeric-input/NumericInput.controller.js +45 -0
  94. package/dist/components/molecules/numeric-input/NumericInput.css +1 -0
  95. package/dist/components/molecules/numeric-input/NumericInput.helpers.js +20 -0
  96. package/dist/components/molecules/numeric-input/NumericInput.js +7 -0
  97. package/dist/components/molecules/numeric-input/NumericInputStateful.js +108 -0
  98. package/dist/components/molecules/numeric-input/NumericInputStateless.js +96 -0
  99. package/dist/components/molecules/numeric-input/index.js +3 -0
  100. package/dist/components/molecules/search/Search.controller.js +42 -0
  101. package/dist/components/molecules/search/Search.css +1 -0
  102. package/dist/components/molecules/search/Search.js +112 -0
  103. package/dist/components/molecules/search/index.js +3 -0
  104. package/dist/components/molecules/select/Select.controller.js +32 -0
  105. package/dist/components/molecules/select/Select.css +1 -0
  106. package/dist/components/molecules/select/Select.helpers.js +16 -0
  107. package/dist/components/molecules/select/Select.js +64 -0
  108. package/dist/components/molecules/select/combobox/Combobox.css +1 -0
  109. package/dist/components/molecules/select/combobox/Combobox.js +46 -0
  110. package/dist/components/molecules/select/combobox/index.js +3 -0
  111. package/dist/components/molecules/select/dropdown/Dropdown.css +1 -0
  112. package/dist/components/molecules/select/dropdown/Dropdown.js +46 -0
  113. package/dist/components/molecules/select/dropdown/index.js +3 -0
  114. package/dist/components/molecules/select/index.js +3 -0
  115. package/dist/components/molecules/select/option/Option.css +1 -0
  116. package/dist/components/molecules/select/option/Option.js +38 -0
  117. package/dist/components/molecules/select/option/index.js +3 -0
  118. package/dist/components/molecules/switch/Switch.controller.js +33 -0
  119. package/dist/components/molecules/switch/Switch.css +1 -0
  120. package/dist/components/molecules/switch/Switch.helpers.js +10 -0
  121. package/dist/components/molecules/switch/Switch.js +68 -0
  122. package/dist/components/molecules/switch/index.js +3 -0
  123. package/dist/components/molecules/text-input/TextInput.controller.js +36 -0
  124. package/dist/components/molecules/text-input/TextInput.css +1 -0
  125. package/dist/components/molecules/text-input/TextInput.helpers.js +18 -0
  126. package/dist/components/molecules/text-input/TextInput.js +7 -0
  127. package/dist/components/molecules/text-input/TextInputButtons.js +37 -0
  128. package/dist/components/molecules/text-input/TextInputStateful.js +92 -0
  129. package/dist/components/molecules/text-input/TextInputStateless.js +89 -0
  130. package/dist/components/molecules/text-input/index.js +3 -0
  131. package/dist/components/organisms/dialog/Dialog.css +1 -0
  132. package/dist/components/organisms/dialog/Dialog.js +32 -0
  133. package/dist/components/organisms/dialog/index.js +3 -0
  134. package/dist/components/organisms/form/Form.controller.js +29 -0
  135. package/dist/components/organisms/form/Form.css +1 -0
  136. package/dist/components/organisms/form/Form.helpers.js +14 -0
  137. package/dist/components/organisms/form/Form.js +48 -0
  138. package/dist/components/organisms/form/index.js +3 -0
  139. package/dist/components/organisms/grid/Grid.controller.js +34 -0
  140. package/dist/components/organisms/grid/Grid.css +1 -0
  141. package/dist/components/organisms/grid/Grid.helpers.js +15 -0
  142. package/dist/components/organisms/grid/Grid.js +60 -0
  143. package/dist/components/organisms/grid/body/GridBody.css +1 -0
  144. package/dist/components/organisms/grid/body/GridBody.js +31 -0
  145. package/dist/components/organisms/grid/checkbox/GridCheckbox.css +1 -0
  146. package/dist/components/organisms/grid/checkbox/GridCheckbox.js +52 -0
  147. package/dist/components/organisms/grid/column-group/GridColumnGroup.css +1 -0
  148. package/dist/components/organisms/grid/column-group/GridColumnGroup.js +26 -0
  149. package/dist/components/organisms/grid/data-cell/GridDataCell.js +5 -0
  150. package/dist/components/organisms/grid/grid-row/GridRow.css +1 -0
  151. package/dist/components/organisms/grid/grid-row/GridRow.js +35 -0
  152. package/dist/components/organisms/grid/grid-row/index.js +3 -0
  153. package/dist/components/organisms/grid/head/GridHead.css +1 -0
  154. package/dist/components/organisms/grid/head/GridHead.js +35 -0
  155. package/dist/components/organisms/grid/header-cell/HeaderCell.js +8 -0
  156. package/dist/components/organisms/grid/header-cell/index.js +2 -0
  157. package/dist/components/organisms/grid/index.js +3 -0
  158. package/dist/components/organisms/grid/select-all-grid-rows-cell/SelectAllGridRowsCell.js +24 -0
  159. package/dist/components/organisms/grid/select-all-grid-rows-cell/index.js +2 -0
  160. package/dist/components/organisms/grid/select-grid-row-cell/SelectGridRowCell.js +24 -0
  161. package/dist/components/organisms/grid/select-grid-row-cell/index.js +2 -0
  162. package/dist/components/organisms/menu/Menu.css +1 -0
  163. package/dist/components/organisms/menu/Menu.js +22 -0
  164. package/dist/components/organisms/menu/index.js +3 -0
  165. package/dist/components/organisms/menu/leaf/MenuLeaf.css +1 -0
  166. package/dist/components/organisms/menu/leaf/MenuLeaf.js +28 -0
  167. package/dist/components/organisms/menu/list-item/MenuListItem.css +1 -0
  168. package/dist/components/organisms/menu/list-item/MenuListItem.js +35 -0
  169. package/dist/components/organisms/menu/sub-menu/SubMenu.css +1 -0
  170. package/dist/components/organisms/menu/sub-menu/SubMenu.js +67 -0
  171. package/dist/components/organisms/menu/sub-menu/index.js +3 -0
  172. package/dist/components/organisms/tabs/Tabs.css +1 -0
  173. package/dist/components/organisms/tabs/Tabs.js +80 -0
  174. package/dist/components/organisms/tabs/button/TabButton.css +1 -0
  175. package/dist/components/organisms/tabs/button/TabButton.js +111 -0
  176. package/dist/components/organisms/tabs/content/TabContent.css +1 -0
  177. package/dist/components/organisms/tabs/content/TabContent.js +19 -0
  178. package/dist/components/organisms/tabs/edit-input/TabEditInput.css +1 -0
  179. package/dist/components/organisms/tabs/edit-input/TabEditInput.js +64 -0
  180. package/dist/components/organisms/tabs/index.js +3 -0
  181. package/dist/components/organisms/tabs/list/TabList.css +1 -0
  182. package/dist/components/organisms/tabs/list/TabList.js +67 -0
  183. package/dist/enums/alert-mode.js +4 -0
  184. package/dist/enums/button-view.js +4 -0
  185. package/dist/enums/element-size.js +4 -0
  186. package/dist/enums/icon-name.js +4 -0
  187. package/dist/enums/index.js +8 -0
  188. package/dist/enums/loader-view.js +4 -0
  189. package/dist/enums/orientation-mode.js +4 -0
  190. package/dist/enums/semantic-color.js +4 -0
  191. package/dist/enums/tooltip-container.js +4 -0
  192. package/dist/hooks/index.js +15 -0
  193. package/dist/hooks/use-auto-close/index.js +2 -0
  194. package/dist/hooks/use-auto-close/use-auto-close.js +18 -0
  195. package/dist/hooks/use-click-outside/index.js +2 -0
  196. package/dist/hooks/use-click-outside/use-click-outside.js +19 -0
  197. package/dist/hooks/use-container-dimensions/index.js +2 -0
  198. package/dist/hooks/use-container-dimensions/use-container-dimensions.js +16 -0
  199. package/dist/hooks/use-debounce/index.js +2 -0
  200. package/dist/hooks/use-debounce/use-debounce.js +15 -0
  201. package/dist/hooks/use-element-ids/index.js +2 -0
  202. package/dist/hooks/use-element-ids/use-element-ids.js +12 -0
  203. package/dist/hooks/use-is-hovered/index.js +2 -0
  204. package/dist/hooks/use-is-hovered/use-is-hovered.js +15 -0
  205. package/dist/hooks/use-is-mounted/index.js +2 -0
  206. package/dist/hooks/use-is-mounted/use-is-mounted.js +15 -0
  207. package/dist/hooks/use-is-overflow/index.js +2 -0
  208. package/dist/hooks/use-is-overflow/use-is-overflow.js +27 -0
  209. package/dist/hooks/use-key-press/index.js +2 -0
  210. package/dist/hooks/use-key-press/use-key-press.js +14 -0
  211. package/dist/hooks/use-modal-focus-trap/index.js +2 -0
  212. package/dist/hooks/use-modal-focus-trap/use-modal-focus-trap.js +20 -0
  213. package/dist/hooks/use-remaining-timer/index.js +2 -0
  214. package/dist/hooks/use-remaining-timer/use-remaining-timer.js +38 -0
  215. package/dist/hooks/use-reset-form-input/index.js +2 -0
  216. package/dist/hooks/use-reset-form-input/use-reset-form-input.js +11 -0
  217. package/dist/hooks/use-theme/index.js +2 -0
  218. package/dist/hooks/use-theme/use-theme.js +6 -0
  219. package/dist/hooks/use-tooltip-position/index.js +2 -0
  220. package/dist/hooks/use-tooltip-position/use-tooltip-position.js +31 -0
  221. package/dist/hooks/use-window-dimensions/index.js +2 -0
  222. package/dist/hooks/use-window-dimensions/use-window-dimensions.js +17 -0
  223. package/dist/index.d.ts +327 -70
  224. package/dist/index.es.js +109 -4591
  225. package/dist/styles/icons.css +1 -0
  226. package/dist/styles/main.css +1 -0
  227. package/dist/utils/get-class-name.js +16 -0
  228. package/dist/utils/handle-dropdown-list-key-press.js +32 -0
  229. package/dist/utils/index.js +3 -0
  230. package/dist/utils/move-focus-on-element-by-id.js +7 -0
  231. package/package.json +75 -22
  232. package/dist/favicon.ico +0 -0
  233. package/dist/index.cjs.js +0 -7
  234. package/dist/index.cjs.js.map +0 -1
  235. package/dist/index.css +0 -1
  236. package/dist/index.es.js.map +0 -1
  237. package/dist/logo.jpeg +0 -0
  238. package/dist/logo.png +0 -0
package/dist/index.es.js CHANGED
@@ -1,4594 +1,112 @@
1
- import './index.css';var S1 = Object.defineProperty, L1 = Object.defineProperties;
2
- var A1 = Object.getOwnPropertyDescriptors;
3
- var be = Object.getOwnPropertySymbols;
4
- var Ge = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? S1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, w = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Ge.call(t, r) && Ue(e, r, t[r]);
8
- if (be)
9
- for (var r of be(t))
10
- Ye.call(t, r) && Ue(e, r, t[r]);
11
- return e;
12
- }, b = (e, t) => L1(e, A1(t));
13
- var g = (e, t) => {
14
- var r = {};
15
- for (var n in e)
16
- Ge.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
- if (e != null && be)
18
- for (var n of be(e))
19
- t.indexOf(n) < 0 && Ye.call(e, n) && (r[n] = e[n]);
20
- return r;
21
- };
22
- import R1, { useCallback as G, useState as L, useEffect as P, useRef as R, forwardRef as B1, useId as u1, createContext as h1, useMemo as _1, useContext as le } from "react";
23
- import $1 from "react-dom";
24
- var ge = { exports: {} }, xe = {};
25
- var Ze;
26
- function T1() {
27
- if (Ze) return xe;
28
- Ze = 1;
29
- var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
30
- function r(n, o, l) {
31
- var c = null;
32
- if (l !== void 0 && (c = "" + l), o.key !== void 0 && (c = "" + o.key), "key" in o) {
33
- l = {};
34
- for (var a in o)
35
- a !== "key" && (l[a] = o[a]);
36
- } else l = o;
37
- return o = l.ref, {
38
- $$typeof: e,
39
- type: n,
40
- key: c,
41
- ref: o !== void 0 ? o : null,
42
- props: l
43
- };
44
- }
45
- return xe.Fragment = t, xe.jsx = r, xe.jsxs = r, xe;
46
- }
47
- var fe = {};
48
- var Je;
49
- function N1() {
50
- return Je || (Je = 1, process.env.NODE_ENV !== "production" && (function() {
51
- function e(x) {
52
- if (x == null) return null;
53
- if (typeof x == "function")
54
- return x.$$typeof === T ? null : x.displayName || x.name || null;
55
- if (typeof x == "string") return x;
56
- switch (x) {
57
- case m:
58
- return "Fragment";
59
- case k:
60
- return "Profiler";
61
- case j:
62
- return "StrictMode";
63
- case A:
64
- return "Suspense";
65
- case B:
66
- return "SuspenseList";
67
- case z:
68
- return "Activity";
69
- }
70
- if (typeof x == "object")
71
- switch (typeof x.tag == "number" && console.error(
72
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
73
- ), x.$$typeof) {
74
- case v:
75
- return "Portal";
76
- case y:
77
- return x.displayName || "Context";
78
- case I:
79
- return (x._context.displayName || "Context") + ".Consumer";
80
- case M:
81
- var S = x.render;
82
- return x = x.displayName, x || (x = S.displayName || S.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
83
- case $:
84
- return S = x.displayName || null, S !== null ? S : e(x.type) || "Memo";
85
- case W:
86
- S = x._payload, x = x._init;
87
- try {
88
- return e(x(S));
89
- } catch (D) {
90
- }
91
- }
92
- return null;
93
- }
94
- function t(x) {
95
- return "" + x;
96
- }
97
- function r(x) {
98
- try {
99
- t(x);
100
- var S = !1;
101
- } catch (ve) {
102
- S = !0;
103
- }
104
- if (S) {
105
- S = console;
106
- var D = S.error, O = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
107
- return D.call(
108
- S,
109
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
- O
111
- ), t(x);
112
- }
113
- }
114
- function n(x) {
115
- if (x === m) return "<>";
116
- if (typeof x == "object" && x !== null && x.$$typeof === W)
117
- return "<...>";
118
- try {
119
- var S = e(x);
120
- return S ? "<" + S + ">" : "<...>";
121
- } catch (D) {
122
- return "<...>";
123
- }
124
- }
125
- function o() {
126
- var x = F.A;
127
- return x === null ? null : x.getOwner();
128
- }
129
- function l() {
130
- return Error("react-stack-top-frame");
131
- }
132
- function c(x) {
133
- if (V.call(x, "key")) {
134
- var S = Object.getOwnPropertyDescriptor(x, "key").get;
135
- if (S && S.isReactWarning) return !1;
136
- }
137
- return x.key !== void 0;
138
- }
139
- function a(x, S) {
140
- function D() {
141
- Z || (Z = !0, console.error(
142
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
143
- S
144
- ));
145
- }
146
- D.isReactWarning = !0, Object.defineProperty(x, "key", {
147
- get: D,
148
- configurable: !0
149
- });
150
- }
151
- function i() {
152
- var x = e(this.type);
153
- return U[x] || (U[x] = !0, console.error(
154
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
155
- )), x = this.props.ref, x !== void 0 ? x : null;
156
- }
157
- function d(x, S, D, O, ve, ze) {
158
- var q = D.ref;
159
- return x = {
160
- $$typeof: f,
161
- type: x,
162
- key: S,
163
- props: D,
164
- _owner: O
165
- }, (q !== void 0 ? q : null) !== null ? Object.defineProperty(x, "ref", {
166
- enumerable: !1,
167
- get: i
168
- }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
169
- configurable: !1,
170
- enumerable: !1,
171
- writable: !0,
172
- value: 0
173
- }), Object.defineProperty(x, "_debugInfo", {
174
- configurable: !1,
175
- enumerable: !1,
176
- writable: !0,
177
- value: null
178
- }), Object.defineProperty(x, "_debugStack", {
179
- configurable: !1,
180
- enumerable: !1,
181
- writable: !0,
182
- value: ve
183
- }), Object.defineProperty(x, "_debugTask", {
184
- configurable: !1,
185
- enumerable: !1,
186
- writable: !0,
187
- value: ze
188
- }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
189
- }
190
- function u(x, S, D, O, ve, ze) {
191
- var q = S.children;
192
- if (q !== void 0)
193
- if (O)
194
- if (J(q)) {
195
- for (O = 0; O < q.length; O++)
196
- p(q[O]);
197
- Object.freeze && Object.freeze(q);
198
- } else
199
- console.error(
200
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
- );
202
- else p(q);
203
- if (V.call(S, "key")) {
204
- q = e(x);
205
- var de = Object.keys(S).filter(function(E1) {
206
- return E1 !== "key";
207
- });
208
- O = 0 < de.length ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}", Ke[q + O] || (de = 0 < de.length ? "{" + de.join(": ..., ") + ": ...}" : "{}", console.error(
209
- `A props object containing a "key" prop is being spread into JSX:
210
- let props = %s;
211
- <%s {...props} />
212
- React keys must be passed directly to JSX without using spread:
213
- let props = %s;
214
- <%s key={someKey} {...props} />`,
215
- O,
216
- q,
217
- de,
218
- q
219
- ), Ke[q + O] = !0);
220
- }
221
- if (q = null, D !== void 0 && (r(D), q = "" + D), c(S) && (r(S.key), q = "" + S.key), "key" in S) {
222
- D = {};
223
- for (var De in S)
224
- De !== "key" && (D[De] = S[De]);
225
- } else D = S;
226
- return q && a(
227
- D,
228
- typeof x == "function" ? x.displayName || x.name || "Unknown" : x
229
- ), d(
230
- x,
231
- q,
232
- D,
233
- o(),
234
- ve,
235
- ze
236
- );
237
- }
238
- function p(x) {
239
- h(x) ? x._store && (x._store.validated = 1) : typeof x == "object" && x !== null && x.$$typeof === W && (x._payload.status === "fulfilled" ? h(x._payload.value) && x._payload.value._store && (x._payload.value._store.validated = 1) : x._store && (x._store.validated = 1));
240
- }
241
- function h(x) {
242
- return typeof x == "object" && x !== null && x.$$typeof === f;
243
- }
244
- var _ = R1, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), j = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), y = /* @__PURE__ */ Symbol.for("react.context"), M = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), F = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, J = Array.isArray, N = console.createTask ? console.createTask : function() {
245
- return null;
246
- };
247
- _ = {
248
- react_stack_bottom_frame: function(x) {
249
- return x();
250
- }
251
- };
252
- var Z, U = {}, X = _.react_stack_bottom_frame.bind(
253
- _,
254
- l
255
- )(), Fe = N(n(l)), Ke = {};
256
- fe.Fragment = m, fe.jsx = function(x, S, D) {
257
- var O = 1e4 > F.recentlyCreatedOwnerStacks++;
258
- return u(
259
- x,
260
- S,
261
- D,
262
- !1,
263
- O ? Error("react-stack-top-frame") : X,
264
- O ? N(n(x)) : Fe
265
- );
266
- }, fe.jsxs = function(x, S, D) {
267
- var O = 1e4 > F.recentlyCreatedOwnerStacks++;
268
- return u(
269
- x,
270
- S,
271
- D,
272
- !0,
273
- O ? Error("react-stack-top-frame") : X,
274
- O ? N(n(x)) : Fe
275
- );
276
- };
277
- })()), fe;
278
- }
279
- var Xe;
280
- function z1() {
281
- return Xe || (Xe = 1, process.env.NODE_ENV === "production" ? ge.exports = T1() : ge.exports = N1()), ge.exports;
282
- }
283
- var s = z1(), Q = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Warning = "warning", e.Info = "info", e.Help = "help", e))(Q || {}), H = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Icon = "icon", e.Inner = "inner", e))(H || {}), C = /* @__PURE__ */ ((e) => (e.ArrowDown = "arrow-down", e.ArrowUp = "arrow-up", e.Back = "back", e.Cancel = "cancel", e.CheckboxChecked = "checkbox-checked", e.CheckboxUnchecked = "checkbox-unchecked", e.CheckMark = "check-mark", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.ChopLogic = "chop-logic", e.Clear = "clear", e.Copy = "copy", e.Cut = "cut", e.Delete = "delete", e.Documents = "documents", e.Download = "download", e.Edit = "edit", e.Email = "email", e.Error = "error", e.Forward = "forward", e.Graduate = "graduate", e.Help = "help", e.Hide = "hide", e.Home = "home", e.Image = "image", e.Info = "info", e.Login = "login", e.Paste = "paste", e.Phone = "phone", e.PlusCircle = "plus-circle", e.Projects = "projects", e.Question = "question", e.Save = "save", e.Search = "search", e.Settings = "settings", e.Show = "show", e.Upload = "upload", e.Warning = "warning", e.Remove = "remove", e))(C || {}), ee = /* @__PURE__ */ ((e) => (e.Dots = "dots", e.Brackets = "brackets", e.Linear = "linear", e.Square = "square", e.Circle = "circle", e.Pulse = "pulse", e.Arrow = "arrow", e.Filler = "filler", e.Rotation = "rotation", e))(ee || {}), te = /* @__PURE__ */ ((e) => (e.Vertical = "vertical", e.Horizontal = "horizontal", e))(te || {}), ie = /* @__PURE__ */ ((e) => (e.Light = "cl-components-light-theme", e.Dark = "cl-components-dark-theme", e))(ie || {}), x1 = /* @__PURE__ */ ((e) => (e.Span = "span", e.Div = "div", e.P = "p", e.Strong = "strong", e.Em = "em", e))(x1 || {});
284
- function E(e) {
285
- return e.map((r) => {
286
- if (typeof r == "string")
287
- return r.trim();
288
- if (typeof r == "object") {
289
- const n = [];
290
- for (const o in r)
291
- r[o] && n.push(o.trim());
292
- return n.join(" ");
293
- }
294
- return "";
295
- }).filter((r) => !!r).join(" ");
296
- }
297
- function Se(e) {
298
- const t = document.getElementById(e);
299
- t && t.focus();
300
- }
301
- function f1({
302
- e,
303
- options: t,
304
- onClose: r
305
- }) {
306
- let n = "";
307
- for (const l of t)
308
- document.getElementById(l.id) === document.activeElement && (n = l.id);
309
- const o = t.findIndex((l) => l.id === n);
310
- switch (e.key) {
311
- case "Escape":
312
- e.preventDefault(), r();
313
- break;
314
- case "ArrowUp": {
315
- e.preventDefault();
316
- const l = o - 1 >= 0 ? o - 1 : t.length - 1, c = t[l];
317
- c && Se(c.id);
318
- break;
319
- }
320
- case "ArrowDown":
321
- case "Tab": {
322
- e.preventDefault();
323
- const l = o === t.length - 1 ? 0 : o + 1, c = t[l];
324
- c && Se(c.id);
325
- break;
326
- }
327
- }
328
- }
329
- const D1 = "_figure_6etdm_2", H1 = "_figure_caption_6etdm_6", Qe = {
330
- figure: D1,
331
- figure_caption: H1
332
- };
333
- function P1(e) {
334
- return (n) => {
335
- var o = n, { caption: t } = o, r = g(o, ["caption"]);
336
- var l;
337
- return (l = t == null ? void 0 : t.trim()) != null && l.length ? /* @__PURE__ */ s.jsxs("figure", { className: Qe.figure, children: [
338
- /* @__PURE__ */ s.jsx(e, w({}, r)),
339
- /* @__PURE__ */ s.jsx("figcaption", { className: Qe.figure_caption, children: t })
340
- ] }) : /* @__PURE__ */ s.jsx(e, w({}, r));
341
- };
342
- }
343
- function V1(e) {
344
- return (o) => {
345
- var l = o, { tooltip: t, visibleOn: r } = l, n = g(l, ["tooltip", "visibleOn"]);
346
- return t != null && t.length ? /* @__PURE__ */ s.jsx(rr, { tooltipContent: t, visibleOn: r, children: /* @__PURE__ */ s.jsx(e, w({}, n)) }) : /* @__PURE__ */ s.jsx(e, w({}, n));
347
- };
348
- }
349
- const O1 = "_extended_1i1tp_1", q1 = {
350
- extended: O1
351
- }, W1 = "_button_5g8op_3", F1 = {
352
- button: W1
353
- }, K1 = (n) => {
354
- var o = n, { children: e, className: t } = o, r = g(o, ["children", "className"]);
355
- return /* @__PURE__ */ s.jsx("button", b(w({}, r), { className: E([F1.button, t]), children: e }));
356
- }, U1 = "_button_1hyki_51", G1 = {
357
- button: U1
358
- }, Y1 = (c) => {
359
- var a = c, { onClick: e, label: t, icon: r, disabled: n, className: o } = a, l = g(a, ["onClick", "label", "icon", "disabled", "className"]);
360
- return /* @__PURE__ */ s.jsx(
361
- "button",
362
- b(w({
363
- className: E([G1.button, o]),
364
- onClick: e,
365
- "aria-label": t,
366
- type: "button",
367
- disabled: n
368
- }, l), {
369
- children: /* @__PURE__ */ s.jsx(Y, { name: r })
370
- })
371
- );
372
- }, Z1 = "_button_f0p0n_3", J1 = "_button_shadow_f0p0n_17", X1 = "_button_edge_f0p0n_29", Q1 = "_button_front_f0p0n_38", je = {
373
- button: Z1,
374
- button_shadow: J1,
375
- button_edge: X1,
376
- button_front: Q1
377
- }, et = (n) => {
378
- var o = n, { children: e, className: t } = o, r = g(o, ["children", "className"]);
379
- return /* @__PURE__ */ s.jsxs("button", b(w({}, r), { className: E([je.button, t]), children: [
380
- /* @__PURE__ */ s.jsx("span", { className: je.button_shadow }),
381
- /* @__PURE__ */ s.jsx("span", { className: je.button_edge }),
382
- /* @__PURE__ */ s.jsx("span", { className: je.button_front, children: e })
383
- ] }));
384
- }, tt = "_button_65c4f_3", nt = {
385
- button: tt
386
- }, rt = (n) => {
387
- var o = n, { children: e, className: t } = o, r = g(o, ["children", "className"]);
388
- return /* @__PURE__ */ s.jsx("button", b(w({}, r), { className: E([nt.button, t]), children: e }));
389
- }, st = (u) => {
390
- var p = u, {
391
- onClick: e,
392
- text: t,
393
- icon: r,
394
- label: n,
395
- disabled: o = !1,
396
- extended: l = !1,
397
- type: c = "button",
398
- view: a = H.Primary,
399
- className: i
400
- } = p, d = g(p, [
401
- "onClick",
402
- "text",
403
- "icon",
404
- "label",
405
- "disabled",
406
- "extended",
407
- "type",
408
- "view",
409
- "className"
410
- ]);
411
- const h = E([i, { [q1.extended]: l }]);
412
- switch (a) {
413
- case H.Primary:
414
- return /* @__PURE__ */ s.jsxs(
415
- et,
416
- b(w({
417
- "aria-label": n,
418
- type: c,
419
- onClick: e,
420
- disabled: o,
421
- className: h
422
- }, d), {
423
- children: [
424
- /* @__PURE__ */ s.jsx(Y, { name: r }),
425
- t
426
- ]
427
- })
428
- );
429
- case H.Secondary:
430
- return /* @__PURE__ */ s.jsxs(
431
- rt,
432
- b(w({
433
- "aria-label": n,
434
- type: c,
435
- onClick: e,
436
- disabled: o,
437
- className: h
438
- }, d), {
439
- children: [
440
- /* @__PURE__ */ s.jsx(Y, { name: r }),
441
- t
442
- ]
443
- })
444
- );
445
- case H.Icon:
446
- return /* @__PURE__ */ s.jsx(
447
- K1,
448
- b(w({
449
- "aria-label": n,
450
- type: c,
451
- onClick: e,
452
- disabled: o
453
- }, d), {
454
- className: i,
455
- children: /* @__PURE__ */ s.jsx(Y, { name: r })
456
- })
457
- );
458
- case H.Inner:
459
- return /* @__PURE__ */ s.jsx(
460
- Y1,
461
- b(w({
462
- label: n,
463
- icon: r,
464
- onClick: e,
465
- disabled: o
466
- }, d), {
467
- className: i
468
- })
469
- );
470
- default:
471
- return null;
472
- }
473
- }, K = V1(st), ot = "_editableText_1l2ot_2", ct = "_editableText__editMode_1l2ot_28", lt = "_editableText__readOnly_1l2ot_34", at = "_editableText__empty_1l2ot_37", ke = {
474
- editableText: ot,
475
- editableText__editMode: ct,
476
- editableText__readOnly: lt,
477
- editableText__empty: at
478
- }, it = (d) => {
479
- var u = d, {
480
- multiline: e,
481
- value: t,
482
- placeholder: r,
483
- onChange: n,
484
- onBlur: o,
485
- onKeyDown: l,
486
- className: c,
487
- inputRef: a
488
- } = u, i = g(u, [
489
- "multiline",
490
- "value",
491
- "placeholder",
492
- "onChange",
493
- "onBlur",
494
- "onKeyDown",
495
- "className",
496
- "inputRef"
497
- ]);
498
- const p = e ? "textarea" : "input", h = G(
499
- (_) => {
500
- n(_.target.value);
501
- },
502
- [n]
503
- );
504
- return /* @__PURE__ */ s.jsx(
505
- p,
506
- w({
507
- ref: a,
508
- value: t,
509
- onChange: h,
510
- onBlur: o,
511
- onKeyDown: l,
512
- placeholder: r,
513
- className: c,
514
- rows: e ? 3 : void 0
515
- }, i)
516
- );
517
- }, dt = (l) => {
518
- var c = l, {
519
- value: e,
520
- placeholder: t,
521
- onClick: r,
522
- className: n
523
- } = c, o = g(c, [
524
- "value",
525
- "placeholder",
526
- "onClick",
527
- "className"
528
- ]);
529
- const a = (i) => {
530
- (i.key === "Enter" || i.key === " ") && (i.preventDefault(), r(i));
531
- };
532
- return /* @__PURE__ */ s.jsx(
533
- "span",
534
- b(w({
535
- onClick: r,
536
- className: n,
537
- role: "button",
538
- tabIndex: 0,
539
- onKeyDown: a,
540
- "aria-label": "Editable text"
541
- }, o), {
542
- children: e || t
543
- })
544
- );
545
- }, ut = (e, t) => {
546
- const [r, n] = L(!1), [o] = L(e !== void 0);
547
- return {
548
- editMode: o ? !!e : r,
549
- enterEditMode: () => {
550
- !o && !t && n(!0);
551
- },
552
- exitEditMode: () => {
553
- o || n(!1);
554
- },
555
- isControlled: o
556
- };
557
- }, ht = (e, t, r, n) => {
558
- P(() => {
559
- t && e.current && !n && (e.current.focus(), r && e.current.select());
560
- }, [t, r, n, e]);
561
- }, _t = (e, t) => {
562
- const [r, n] = L(e);
563
- return P(() => {
564
- n(e);
565
- }, [e]), {
566
- internalValue: r,
567
- updateValue: (a) => {
568
- n(a);
569
- },
570
- commitValue: () => {
571
- r !== e && (t == null || t(r));
572
- },
573
- resetValue: () => {
574
- n(e);
575
- }
576
- };
577
- }, K0 = (u) => {
578
- var p = u, {
579
- value: e,
580
- isEditMode: t,
581
- onChange: r,
582
- onClick: n,
583
- className: o,
584
- autoSelectTextOnEditMode: l = !1,
585
- multiline: c = !1,
586
- placeholder: a = "Click to edit...",
587
- readOnly: i = !1
588
- } = p, d = g(p, [
589
- "value",
590
- "isEditMode",
591
- "onChange",
592
- "onClick",
593
- "className",
594
- "autoSelectTextOnEditMode",
595
- "multiline",
596
- "placeholder",
597
- "readOnly"
598
- ]);
599
- const h = R(null), { editMode: _, enterEditMode: f, exitEditMode: v } = ut(t, i), { internalValue: m, updateValue: j, commitValue: k, resetValue: I } = _t(e, r);
600
- ht(h, _, l, i);
601
- const y = G(
602
- ($) => {
603
- n == null || n($), f();
604
- },
605
- [n, f]
606
- ), M = G(() => {
607
- v(), k();
608
- }, [v, k]), A = G(
609
- ($) => {
610
- $.key === "Enter" && !c && ($.preventDefault(), M()), $.key === "Escape" && (I(), v());
611
- },
612
- [c, M, I, v]
613
- ), B = E([
614
- ke.editableText,
615
- o,
616
- {
617
- [ke.editableText__editMode]: _,
618
- [ke.editableText__readOnly]: i,
619
- [ke.editableText__empty]: !m
620
- }
621
- ]);
622
- return _ && !i ? /* @__PURE__ */ s.jsx(
623
- it,
624
- w({
625
- multiline: c,
626
- value: m,
627
- placeholder: a,
628
- onChange: j,
629
- onBlur: M,
630
- onKeyDown: A,
631
- className: B,
632
- inputRef: h
633
- }, d)
634
- ) : /* @__PURE__ */ s.jsx(
635
- dt,
636
- w({
637
- value: m,
638
- placeholder: a,
639
- onClick: y,
640
- className: B
641
- }, d)
642
- );
643
- }, xt = "_errorMessage_ubp7o_50", ft = "_errorMessage__visible_ubp7o_82", e1 = {
644
- errorMessage: xt,
645
- errorMessage__visible: ft
646
- }, $e = ({
647
- errorId: e,
648
- testId: t,
649
- message: r = "Error!",
650
- visible: n = !1,
651
- className: o
652
- }) => {
653
- const l = E([
654
- e1.errorMessage,
655
- o,
656
- { [e1.errorMessage__visible]: n }
657
- ]);
658
- return /* @__PURE__ */ s.jsx("span", { id: e, className: l, "data-testid": t, "aria-hidden": !n, children: r });
659
- }, pt = "_header_148qy_2", wt = "_header_icon_148qy_6", mt = "_header__h1_148qy_10", Ct = "_header__h2_148qy_30", vt = "_header__h3_148qy_50", bt = "_header__h4_148qy_70", gt = "_header__h5_148qy_89", jt = "_header__h6_148qy_108", oe = {
660
- header: pt,
661
- header_icon: wt,
662
- header__h1: mt,
663
- header__h2: Ct,
664
- header__h3: vt,
665
- header__h4: bt,
666
- header__h5: gt,
667
- header__h6: jt
668
- }, p1 = (l) => {
669
- var c = l, { as: e = "h1", icon: t, children: r, className: n } = c, o = g(c, ["as", "icon", "children", "className"]);
670
- const a = e, i = E([
671
- n,
672
- oe.header,
673
- {
674
- [oe.header__h1]: e === "h1",
675
- [oe.header__h2]: e === "h2",
676
- [oe.header__h3]: e === "h3",
677
- [oe.header__h4]: e === "h4",
678
- [oe.header__h5]: e === "h5",
679
- [oe.header__h6]: e === "h6"
680
- }
681
- ]);
682
- return /* @__PURE__ */ s.jsxs(a, b(w({ className: i }, o), { children: [
683
- t && /* @__PURE__ */ s.jsx(Y, { name: t, className: oe.header_icon }),
684
- " ",
685
- r
686
- ] }));
687
- };
688
- function Oe(r) {
689
- var n = r, { title: e } = n, t = g(n, ["title"]);
690
- return /* @__PURE__ */ s.jsxs(
691
- "svg",
692
- b(w({
693
- xmlns: "http://www.w3.org/2000/svg",
694
- viewBox: "0 0 24 24",
695
- fill: "currentColor",
696
- height: "1em",
697
- width: "1em",
698
- "aria-hidden": "true"
699
- }, t), {
700
- children: [
701
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
702
- /* @__PURE__ */ s.jsx("path", { d: "M21.886 5.536A1.002 1.002 0 0021 5H3a1.002 1.002 0 00-.822 1.569l9 13a.998.998 0 001.644 0l9-13a.998.998 0 00.064-1.033zM12 17.243L4.908 7h14.184L12 17.243z" })
703
- ]
704
- })
705
- );
706
- }
707
- function qe(r) {
708
- var n = r, { title: e } = n, t = g(n, ["title"]);
709
- return /* @__PURE__ */ s.jsxs(
710
- "svg",
711
- b(w({
712
- xmlns: "http://www.w3.org/2000/svg",
713
- viewBox: "0 0 24 24",
714
- fill: "currentColor",
715
- height: "1em",
716
- width: "1em",
717
- "aria-hidden": "true"
718
- }, t), {
719
- children: [
720
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
721
- /* @__PURE__ */ s.jsx("path", { d: "M3 19h18a1.002 1.002 0 00.823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 003 19zm9-12.243L19.092 17H4.908L12 6.757z" })
722
- ]
723
- })
724
- );
725
- }
726
- function kt(r) {
727
- var n = r, { title: e } = n, t = g(n, ["title"]);
728
- return /* @__PURE__ */ s.jsxs(
729
- "svg",
730
- b(w({
731
- xmlns: "http://www.w3.org/2000/svg",
732
- viewBox: "0 0 512 512",
733
- fill: "currentColor",
734
- height: "1em",
735
- width: "1em",
736
- "aria-hidden": "true"
737
- }, t), {
738
- children: [
739
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
740
- /* @__PURE__ */ s.jsx(
741
- "path",
742
- {
743
- fill: "none",
744
- stroke: "currentColor",
745
- strokeLinecap: "round",
746
- strokeLinejoin: "round",
747
- strokeWidth: 48,
748
- d: "M328 112L184 256l144 144"
749
- }
750
- )
751
- ]
752
- })
753
- );
754
- }
755
- function yt(r) {
756
- var n = r, { title: e } = n, t = g(n, ["title"]);
757
- return /* @__PURE__ */ s.jsxs(
758
- "svg",
759
- b(w({
760
- xmlns: "http://www.w3.org/2000/svg",
761
- viewBox: "0 0 470 1000",
762
- fill: "currentColor",
763
- height: "1em",
764
- width: "1em",
765
- "aria-hidden": "true"
766
- }, t), {
767
- children: [
768
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
769
- /* @__PURE__ */ s.jsx("path", { d: "M452 656c12 12 18 26.333 18 43s-6 31-18 43c-12 10.667-26.333 16-43 16s-31-5.333-43-16L234 590 102 742c-12 10.667-26.333 16-43 16s-31-5.333-43-16C5.333 730 0 715.667 0 699s5.333-31 16-43l138-156L16 342C5.333 330 0 315.667 0 299s5.333-31 16-43c12-10.667 26.333-16 43-16s31 5.333 43 16l132 152 132-152c12-10.667 26.333-16 43-16s31 5.333 43 16c12 12 18 26.333 18 43s-6 31-18 43L314 500l138 156" })
770
- ]
771
- })
772
- );
773
- }
774
- function w1(r) {
775
- var n = r, { title: e } = n, t = g(n, ["title"]);
776
- return /* @__PURE__ */ s.jsxs(
777
- "svg",
778
- b(w({
779
- xmlns: "http://www.w3.org/2000/svg",
780
- viewBox: "0 0 16 16",
781
- fill: "currentColor",
782
- height: "1em",
783
- width: "1em",
784
- "aria-hidden": "true"
785
- }, t), {
786
- children: [
787
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
788
- /* @__PURE__ */ s.jsx(
789
- "path",
790
- {
791
- fill: "currentColor",
792
- d: "M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zM7 12.414L3.293 8.707l1.414-1.414L7 9.586l4.793-4.793 1.414 1.414L7 12.414z"
793
- }
794
- )
795
- ]
796
- })
797
- );
798
- }
799
- function m1(r) {
800
- var n = r, { title: e } = n, t = g(n, ["title"]);
801
- return /* @__PURE__ */ s.jsxs(
802
- "svg",
803
- b(w({
804
- xmlns: "http://www.w3.org/2000/svg",
805
- viewBox: "0 0 16 16",
806
- fill: "currentColor",
807
- height: "1em",
808
- width: "1em",
809
- "aria-hidden": "true"
810
- }, t), {
811
- children: [
812
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
813
- /* @__PURE__ */ s.jsx(
814
- "path",
815
- {
816
- fill: "currentColor",
817
- d: "M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h12v12z"
818
- }
819
- )
820
- ]
821
- })
822
- );
823
- }
824
- function C1(r) {
825
- var n = r, { title: e } = n, t = g(n, ["title"]);
826
- return /* @__PURE__ */ s.jsxs(
827
- "svg",
828
- b(w({
829
- xmlns: "http://www.w3.org/2000/svg",
830
- viewBox: "0 0 512 512",
831
- fill: "currentColor",
832
- height: "1em",
833
- width: "1em",
834
- "aria-hidden": "true"
835
- }, t), {
836
- children: [
837
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
838
- /* @__PURE__ */ s.jsx("path", { d: "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z" })
839
- ]
840
- })
841
- );
842
- }
843
- function It(r) {
844
- var n = r, { title: e } = n, t = g(n, ["title"]);
845
- return /* @__PURE__ */ s.jsxs(
846
- "svg",
847
- b(w({
848
- xmlns: "http://www.w3.org/2000/svg",
849
- fill: "currentColor",
850
- viewBox: "0 0 16 16",
851
- height: "1em",
852
- width: "1em",
853
- "aria-hidden": "true"
854
- }, t), {
855
- children: [
856
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
857
- /* @__PURE__ */ s.jsx(
858
- "path",
859
- {
860
- fillRule: "evenodd",
861
- d: "M1.553 6.776a.5.5 0 01.67-.223L8 9.44l5.776-2.888a.5.5 0 11.448.894l-6 3a.5.5 0 01-.448 0l-6-3a.5.5 0 01-.223-.67z"
862
- }
863
- )
864
- ]
865
- })
866
- );
867
- }
868
- function Mt(r) {
869
- var n = r, { title: e } = n, t = g(n, ["title"]);
870
- return /* @__PURE__ */ s.jsxs(
871
- "svg",
872
- b(w({
873
- xmlns: "http://www.w3.org/2000/svg",
874
- fill: "currentColor",
875
- viewBox: "0 0 16 16",
876
- height: "1em",
877
- width: "1em",
878
- "aria-hidden": "true"
879
- }, t), {
880
- children: [
881
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
882
- /* @__PURE__ */ s.jsx(
883
- "path",
884
- {
885
- fillRule: "evenodd",
886
- d: "M9.224 1.553a.5.5 0 01.223.67L6.56 8l2.888 5.776a.5.5 0 11-.894.448l-3-6a.5.5 0 010-.448l3-6a.5.5 0 01.67-.223z"
887
- }
888
- )
889
- ]
890
- })
891
- );
892
- }
893
- function Et(r) {
894
- var n = r, { title: e } = n, t = g(n, ["title"]);
895
- return /* @__PURE__ */ s.jsxs(
896
- "svg",
897
- b(w({
898
- xmlns: "http://www.w3.org/2000/svg",
899
- fill: "currentColor",
900
- viewBox: "0 0 16 16",
901
- height: "1em",
902
- width: "1em",
903
- "aria-hidden": "true"
904
- }, t), {
905
- children: [
906
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
907
- /* @__PURE__ */ s.jsx(
908
- "path",
909
- {
910
- fillRule: "evenodd",
911
- d: "M6.776 1.553a.5.5 0 01.671.223l3 6a.5.5 0 010 .448l-3 6a.5.5 0 11-.894-.448L9.44 8 6.553 2.224a.5.5 0 01.223-.671z"
912
- }
913
- )
914
- ]
915
- })
916
- );
917
- }
918
- function St(r) {
919
- var n = r, { title: e } = n, t = g(n, ["title"]);
920
- return /* @__PURE__ */ s.jsxs(
921
- "svg",
922
- b(w({
923
- xmlns: "http://www.w3.org/2000/svg",
924
- fill: "currentColor",
925
- viewBox: "0 0 16 16",
926
- height: "1em",
927
- width: "1em",
928
- "aria-hidden": "true"
929
- }, t), {
930
- children: [
931
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
932
- /* @__PURE__ */ s.jsx(
933
- "path",
934
- {
935
- fillRule: "evenodd",
936
- d: "M7.776 5.553a.5.5 0 01.448 0l6 3a.5.5 0 11-.448.894L8 6.56 2.224 9.447a.5.5 0 11-.448-.894l6-3z"
937
- }
938
- )
939
- ]
940
- })
941
- );
942
- }
943
- function Lt(r) {
944
- var n = r, { title: e } = n, t = g(n, ["title"]);
945
- return /* @__PURE__ */ s.jsxs(
946
- "svg",
947
- b(w({
948
- version: "1.1",
949
- xmlns: "http://www.w3.org/2000/svg",
950
- viewBox: "0 0 280 256",
951
- height: "1em",
952
- width: "1em",
953
- fill: "currentColor",
954
- "aria-hidden": "true"
955
- }, t), {
956
- children: [
957
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
958
- /* @__PURE__ */ s.jsx(
959
- "path",
960
- {
961
- d: "M0 0 C4.76230855 3.36266518 7.81320428 7.46188181 11.1875 12.125 C12.24216337 13.5660757 13.29809698 15.00622287 14.35546875 16.4453125 C14.81590576 17.07969238 15.27634277 17.71407227 15.75073242 18.36767578 C17.04425721 20.13210596 17.04425721 20.13210596 19 22 C21.45691736 22.27137994 23.80831694 22.41876229 26.27270508 22.48095703 C27.39761856 22.51994614 27.39761856 22.51994614 28.54525757 22.5597229 C36.42406694 22.81416493 44.30721179 22.92686954 52.18920898 23.02978516 C55.92081633 23.08308458 59.64724321 23.1801945 63.37670898 23.31689453 C84.35655583 25.26105467 84.35655583 25.26105467 103.23583984 18.56933594 C106.18414756 15.35782641 108.22633024 11.93677559 110.01620483 7.97698975 C111.55419162 4.88632188 113.69974387 2.55774185 116 0 C128.83036971 4.78249141 141.56100107 9.79362247 154.25 14.9375 C154.97388916 15.22998627 155.69777832 15.52247253 156.44360352 15.82382202 C158.51045901 16.65962063 160.57579006 17.49906768 162.640625 18.33984375 C163.84235352 18.82831787 165.04408203 19.31679199 166.28222656 19.82006836 C169 21 169 21 170 22 C170.09558036 23.44213999 170.12188394 24.88894079 170.12025452 26.33424377 C170.12231651 27.73726242 170.12231651 27.73726242 170.12442017 29.16862488 C170.12082489 30.20296158 170.11722961 31.23729828 170.11352539 32.30297852 C170.11367142 33.38577087 170.11381744 34.46856323 170.1139679 35.58416748 C170.11326823 39.18243374 170.10547333 42.78064897 170.09765625 46.37890625 C170.09579226 48.86612418 170.09436827 51.35334248 170.09336853 53.84056091 C170.0899335 59.73021191 170.08204277 65.6198439 170.07201904 71.50948709 C170.05976246 78.87025374 170.05437791 86.23102264 170.04882812 93.59179688 C170.03808815 106.72787398 170.02120089 119.86393583 170 133 C151.06967744 140.89236866 132.13863614 148.78270747 113.1875 156.625 C103.33382546 160.7031227 93.48307564 164.78720661 83.65625 168.9296875 C82.56465324 169.38947495 82.56465324 169.38947495 81.45100403 169.85855103 C78.06157766 171.28664398 74.67354342 172.71788404 71.2878418 174.15478516 C70.11390869 174.65026855 68.93997559 175.14575195 67.73046875 175.65625 C66.71364014 176.08744141 65.69681152 176.51863281 64.64916992 176.96289062 C59.63254723 178.92682143 57.51480259 179.10005466 52.39282227 176.90434265 C51.65604248 176.57497208 50.9192627 176.2456015 50.16015625 175.90625 C49.37882324 175.56837967 48.59749023 175.23050934 47.79248047 174.88240051 C46.09962676 174.14923864 44.40895601 173.41102041 42.72024536 172.66836548 C38.18822062 170.67605224 33.64005534 168.72116956 29.09375 166.76171875 C27.69915306 166.15894356 27.69915306 166.15894356 26.27638245 165.54399109 C16.58944702 161.36752317 6.81871302 157.40760927 -2.97848511 153.49804688 C-19.43689165 146.93011567 -35.67735138 139.92476002 -52 133 C-52 96.37 -52 59.74 -52 22 C-42.9998755 17.49993775 -42.9998755 17.49993775 -39.59106445 16.10888672 C-38.82699783 15.79531219 -38.06293121 15.48173767 -37.27571106 15.15866089 C-36.47960922 14.83559967 -35.68350739 14.51253845 -34.86328125 14.1796875 C-34.02081345 13.83495392 -33.17834564 13.49022034 -32.31034851 13.13504028 C-29.64557853 12.04544558 -26.97907277 10.96017414 -24.3125 9.875 C-22.51225488 9.13960416 -20.71212362 8.40392953 -18.91210938 7.66796875 C-5.6596176 2.2530978 -5.6596176 2.2530978 0 0 Z M-11.94140625 21.80859375 C-12.62428207 22.09477066 -13.3071579 22.38094757 -14.01072693 22.67579651 C-15.4547304 23.28190678 -16.89799559 23.88977849 -18.34057617 24.49926758 C-20.5552334 25.4344316 -22.77251816 26.36313281 -24.99023438 27.29101562 C-26.39078607 27.87982536 -27.79118209 28.46900555 -29.19140625 29.05859375 C-29.85805801 29.3377916 -30.52470978 29.61698944 -31.21156311 29.90464783 C-34.33446734 31.08413857 -34.33446734 31.08413857 -37 33 C-37.09517803 35.76938966 -37.12554265 38.51377159 -37.11352539 41.28344727 C-37.11367142 42.15166107 -37.11381744 43.01987488 -37.1139679 43.91439819 C-37.11326846 46.79842586 -37.10547463 49.6823898 -37.09765625 52.56640625 C-37.09579218 54.56037867 -37.09436823 56.55435155 -37.09336853 58.54832458 C-37.08954248 63.80745702 -37.07971145 69.06656203 -37.06866455 74.32568359 C-37.0584523 79.68782175 -37.05387131 85.04996431 -37.04882812 90.41210938 C-37.03808926 100.94141833 -37.0210118 111.47070689 -37 122 C-30.10706527 125.17474994 -23.18230671 128.23050018 -16.1640625 131.1171875 C-15.25796234 131.49173065 -14.35186218 131.8662738 -13.41830444 132.25216675 C-5.33942155 135.5889415 2.74673128 138.90819752 10.83319092 142.2265625 C16.69302415 144.63296073 22.54439783 147.05816673 28.3866272 149.50698853 C31.78903654 150.93109541 35.19613923 152.34371057 38.60430908 153.75396729 C40.19171829 154.41394871 41.7770079 155.07905331 43.36004639 155.74945068 C45.54712904 156.67477955 47.74104616 157.58156378 49.9375 158.484375 C50.88600327 158.89379837 50.88600327 158.89379837 51.85366821 159.31149292 C58.87051259 162.14601756 64.04211534 159.78832833 70.67578125 157 C71.42210312 156.69226151 72.16842499 156.38452301 72.93736267 156.06745911 C75.39827919 155.05098432 77.8553738 154.02559934 80.3125 153 C82.03656097 152.28551337 83.76084883 151.57157402 85.48535156 150.8581543 C89.11681978 149.35463918 92.74669848 147.84737004 96.37548828 146.33740234 C102.01544909 143.99156272 107.66164636 141.66099081 113.30859375 139.33203125 C116.06455595 138.1941379 118.82034641 137.05583016 121.57601929 135.91723633 C123.34102778 135.18803548 125.10618192 134.45918704 126.87149048 133.73071289 C129.35786966 132.70398863 131.8431374 131.67461825 134.328125 130.64453125 C135.04443588 130.34924026 135.76074677 130.05394928 136.49876404 129.74971008 C142.4035322 127.29711676 148.16835556 124.65074747 154 122 C154 92.63 154 63.26 154 33 C146.86813137 29.43406569 139.90410754 26.1471377 132.5625 23.125 C131.58345703 22.70992187 130.60441406 22.29484375 129.59570312 21.8671875 C128.65791016 21.48046875 127.72011719 21.09375 126.75390625 20.6953125 C125.91158447 20.34484863 125.0692627 19.99438477 124.20141602 19.63330078 C121.85568739 18.7335591 121.85568739 18.7335591 119 20 C117.73316561 21.76857094 117.73316561 21.76857094 116.61845398 23.95852661 C109.35331607 36.44201687 109.35331607 36.44201687 103.70349503 39.06697845 C97.40299026 40.67302839 90.96927829 40.37348111 84.51953125 40.1796875 C82.45456456 40.1765686 80.38957996 40.17970302 78.32463074 40.18875122 C74.01617145 40.1882156 69.71451501 40.12628301 65.4074707 40.01708984 C59.90742961 39.88065187 54.4172597 39.87775323 48.91598988 39.91819572 C44.65900498 39.93831649 40.4042422 39.89831762 36.14768028 39.83942032 C34.1213617 39.81646278 32.09479489 39.80935492 30.06836891 39.81893539 C13.53070111 39.8320163 13.53070111 39.8320163 8.57943726 35.35797119 C5.9608611 32.49535312 3.95664251 29.34854046 2 26 C0.36731927 23.6394595 -1.31177381 21.32131102 -3 19 C-6.22619879 19 -9.00894647 20.56778986 -11.94140625 21.80859375 Z ",
962
- transform: "translate(81,71)"
963
- }
964
- ),
965
- /* @__PURE__ */ s.jsx(
966
- "path",
967
- {
968
- d: "M0 0 C6.66413509 4.53970493 11.15858821 11.11190897 13.74609375 18.71484375 C15.37449208 27.9465155 15.20981593 36.68733928 10.453125 44.96484375 C4.96449589 52.73427048 -1.87012365 58.49368244 -11.25390625 60.71484375 C-21.57017363 61.80427716 -30.10474226 60.99853102 -38.6875 55.01953125 C-45.22231262 49.71871444 -48.62063638 43.61465336 -51.25390625 35.71484375 C-52.05352095 24.16631015 -51.55581187 14.79022661 -44.06640625 5.40234375 C-40.3282064 1.43150914 -36.18304357 -1.03053233 -31.25390625 -3.28515625 C-30.32578125 -3.71828125 -29.39765625 -4.15140625 -28.44140625 -4.59765625 C-18.1791078 -6.81109317 -9.06907914 -5.17110405 0 0 Z M-34.25390625 11.71484375 C-34.25390625 14.02484375 -34.25390625 16.33484375 -34.25390625 18.71484375 C-30.62390625 18.71484375 -26.99390625 18.71484375 -23.25390625 18.71484375 C-23.25390625 27.62484375 -23.25390625 36.53484375 -23.25390625 45.71484375 C-20.61390625 45.71484375 -17.97390625 45.71484375 -15.25390625 45.71484375 C-15.25390625 36.80484375 -15.25390625 27.89484375 -15.25390625 18.71484375 C-11.62390625 18.71484375 -7.99390625 18.71484375 -4.25390625 18.71484375 C-4.25390625 16.40484375 -4.25390625 14.09484375 -4.25390625 11.71484375 C-14.15390625 11.71484375 -24.05390625 11.71484375 -34.25390625 11.71484375 Z ",
969
- transform: "translate(108.25390625,124.28515625)"
970
- }
971
- ),
972
- /* @__PURE__ */ s.jsx(
973
- "path",
974
- {
975
- d: "M0 0 C7.28899191 5.85069584 12.11411313 14.09184168 13.5234375 23.375 C14.17280025 32.95310053 11.58701319 41.84832271 5.5234375 49.375 C-0.91929658 56.33164866 -6.57686846 59.86226531 -16.02734375 60.68359375 C-26.61118107 61.03461549 -34.03011216 59.44937844 -42.2890625 52.75 C-49.52351892 45.91247836 -52.56537761 37.64931478 -52.8515625 27.875 C-52.75423034 18.51164591 -50.1863564 10.87979663 -43.7890625 3.9375 C-31.41135254 -7.33631553 -14.14669134 -9.28237161 0 0 Z M-29.4765625 11.375 C-29.4765625 22.595 -29.4765625 33.815 -29.4765625 45.375 C-27.1665625 45.375 -24.8565625 45.375 -22.4765625 45.375 C-21.19043574 44.31521067 -21.19043574 44.31521067 -21.37890625 41.87109375 C-21.39050781 40.86175781 -21.40210938 39.85242188 -21.4140625 38.8125 C-21.4346875 37.018125 -21.4553125 35.22375 -21.4765625 33.375 C-16.1965625 33.375 -10.9165625 33.375 -5.4765625 33.375 C-5.4765625 31.065 -5.4765625 28.755 -5.4765625 26.375 C-10.7565625 26.375 -16.0365625 26.375 -21.4765625 26.375 C-21.4765625 23.405 -21.4765625 20.435 -21.4765625 17.375 C-15.8665625 17.375 -10.2565625 17.375 -4.4765625 17.375 C-4.1465625 15.395 -3.8165625 13.415 -3.4765625 11.375 C-12.0565625 11.375 -20.6365625 11.375 -29.4765625 11.375 Z ",
976
- transform: "translate(209.4765625,124.625)"
977
- }
978
- ),
979
- /* @__PURE__ */ s.jsx(
980
- "path",
981
- {
982
- d: "M0 0 C1.91997055 -0.00539545 3.83993576 -0.01316497 5.7598877 -0.02319336 C9.77486435 -0.03495827 13.7884127 -0.0179448 17.80322266 0.01953125 C22.93531222 0.06511636 28.06405513 0.03885564 33.19602203 -0.00904846 C37.15807048 -0.0380368 41.11933277 -0.02872102 45.08140564 -0.00802612 C46.97273663 -0.00271115 48.86414034 -0.00916239 50.75538635 -0.02786255 C65.52784388 -0.14189377 65.52784388 -0.14189377 70.45336914 2.91455078 C72.4251995 4.86722043 74.00815204 6.7100503 75.46875 9.0625 C75.1749646 9.63486389 74.8811792 10.20722778 74.57849121 10.79693604 C73.88126797 12.22033442 73.22408479 13.6647897 72.62756348 15.13323975 C69.89839905 21.63271587 66.47455294 27.17838591 60.46875 31.0625 C50.3378657 34.13473359 39.49797675 33.66866543 29.01318359 33.40917969 C24.807035 33.30646394 20.62133496 33.36718056 16.41589355 33.47126007 C-8.01514819 33.98318435 -8.01514819 33.98318435 -15.34326172 29.24389648 C-20.17939244 24.59052352 -23.03088459 19.21762243 -25.53125 13.0625 C-26.18700248 11.72376519 -26.85052634 10.38871172 -27.53125 9.0625 C-20.96578654 -1.51188323 -11.08200882 -0.10957611 0 0 Z ",
983
- transform: "translate(115.53125,56.9375)"
984
- }
985
- ),
986
- /* @__PURE__ */ s.jsx(
987
- "path",
988
- {
989
- d: "M0 0 C5.57894737 3.15789474 5.57894737 3.15789474 7 6 C7.42038217 14.68789809 7.42038217 14.68789809 5 18 C4.01 18.66 3.02 19.32 2 20 C1.55305285 22.23452637 1.55305285 22.23452637 1.63923645 24.87210083 C1.63305046 26.41601501 1.63305046 26.41601501 1.6267395 27.99111938 C1.63752533 29.12471893 1.64831116 30.25831848 1.65942383 31.42626953 C1.65898575 32.61649719 1.65854767 33.80672485 1.65809631 35.03302002 C1.65983133 38.30154545 1.67490236 41.56968823 1.69581819 44.83813715 C1.71454041 48.25209047 1.7163319 51.66605087 1.71989441 55.08004761 C1.72922803 61.54700949 1.75385947 68.01381967 1.78394288 74.48071468 C1.81744606 81.84214735 1.83396259 89.20358717 1.84902918 96.56507707 C1.880408 111.71013598 1.93319392 126.85505284 2 142 C0.4042311 141.88029377 -1.19068411 141.74917295 -2.78515625 141.61328125 C-4.11752319 141.50560425 -4.11752319 141.50560425 -5.47680664 141.39575195 C-10.02082425 140.68304247 -12.84941699 138.30928411 -15.8125 134.9375 C-17.78350736 131.72164588 -18.13303222 129.04889908 -18.17700195 125.36425781 C-18.18983719 124.42608215 -18.20267242 123.48790649 -18.21589661 122.52130127 C-18.22328354 121.5088031 -18.23067047 120.49630493 -18.23828125 119.453125 C-18.246353 118.4085614 -18.25442474 117.3639978 -18.26274109 116.28778076 C-18.27657636 114.07533424 -18.287301 111.86286642 -18.29516602 109.65039062 C-18.31236273 106.27692898 -18.35625297 102.90445148 -18.40039062 99.53125 C-18.41051925 97.38021553 -18.41903482 95.22917274 -18.42578125 93.078125 C-18.44328934 92.07372375 -18.46079742 91.06932251 -18.47883606 90.03448486 C-18.4596453 83.79765276 -17.8402306 80.00000499 -14 75 C-12.41481567 74.14414307 -12.41481567 74.14414307 -10.79760742 73.27099609 C-7.84048174 71.33801424 -7.84048174 71.33801424 -7.44497681 68.73126221 C-7.21974518 65.69296018 -7.19501625 62.71051727 -7.23828125 59.6640625 C-7.23322823 57.99589981 -7.23322823 57.99589981 -7.22807312 56.29403687 C-7.22837206 53.94207129 -7.24362904 51.59006711 -7.27270508 49.23828125 C-7.31228395 45.64461704 -7.29344465 42.05466005 -7.26757812 38.4609375 C-7.27513968 36.17446488 -7.28609558 33.88800046 -7.30078125 31.6015625 C-7.29379715 30.52951569 -7.28681305 29.45746887 -7.27961731 28.35293579 C-7.40487217 21.70582531 -8.19326878 18.64167911 -13 14 C-13.89117557 10.93900566 -13.47019022 9.29133151 -13 6 C-9.63548925 0.54717224 -6.28548686 -0.6162242 0 0 Z ",
990
- transform: "translate(19,46)"
991
- }
992
- ),
993
- /* @__PURE__ */ s.jsx(
994
- "path",
995
- {
996
- d: "M0 0 C2.80703896 1.34040619 3.86054551 2.54745461 6 5 C7.28998174 9.17347032 7.29348391 11.22226764 5.75 15.3125 C4 18 4 18 1 20 C0.52850692 22.13856067 0.52850692 22.13856067 0.58007812 24.64575195 C0.56416626 25.61047928 0.54825439 26.5752066 0.53186035 27.56916809 C0.53165894 28.61497543 0.53145752 29.66078278 0.53125 30.73828125 C0.52363647 31.81119919 0.51602295 32.88411713 0.50817871 33.98954773 C0.49735683 36.26343455 0.49453303 38.53737116 0.49902344 40.8112793 C0.49999329 44.28844557 0.45844462 47.76338844 0.4140625 51.24023438 C0.40885389 53.44791206 0.40616733 55.65559742 0.40625 57.86328125 C0.38985474 58.9030159 0.37345947 59.94275055 0.35656738 61.01399231 C0.35637177 66.87403859 0.35637177 66.87403859 3.22460938 71.82104492 C4.14048828 72.5401001 5.05636719 73.25915527 6 74 C10.68564469 78.47439303 11.59366408 81.34706517 11.79589844 87.79293823 C11.80137695 88.78681549 11.80685547 89.78069275 11.8125 90.8046875 C11.83473633 91.84263458 11.85697266 92.88058167 11.87988281 93.94998169 C11.92135268 96.14012976 11.95088514 98.33053234 11.96923828 100.52099609 C11.99984142 103.85771015 12.07309395 107.19146843 12.15234375 110.52734375 C12.18743858 112.66141803 12.22007163 114.79553451 12.25 116.9296875 C12.27167236 117.9195163 12.29334473 118.90934509 12.31567383 119.9291687 C12.34219703 126.00356707 11.61891432 130.48923818 9 136 C4.7301903 140.0615263 2.17235676 141.12991113 -3.625 141.0625 C-4.62789063 141.05347656 -5.63078125 141.04445312 -6.6640625 141.03515625 C-7.82035156 141.01775391 -7.82035156 141.01775391 -9 141 C-9.02318444 131.82910742 -9.04094622 122.65822496 -9.05181217 113.48730946 C-9.05702764 109.2287524 -9.06410104 104.97021542 -9.07543945 100.71166992 C-9.0863158 96.60088084 -9.09228691 92.49011106 -9.09487724 88.3793087 C-9.09672293 86.81205631 -9.10032707 85.24480497 -9.10573006 83.67756081 C-9.11300348 81.4800858 -9.11398828 79.28269021 -9.11352539 77.08520508 C-9.115746 75.83500076 -9.11796661 74.58479645 -9.12025452 73.29670715 C-9.01388081 70.3805343 -8.61123855 67.83960969 -8 65 C-7.89603332 63.46245586 -7.83275609 61.92170145 -7.80712891 60.38085938 C-7.79106598 59.49644165 -7.77500305 58.61202393 -7.75845337 57.70080566 C-7.71369546 53.69101093 -7.67299487 49.6813727 -7.64990234 45.67138672 C-7.6332999 43.55701728 -7.60595404 41.44270492 -7.56787109 39.32861328 C-7.51314096 36.27086462 -7.49124047 33.21442221 -7.4765625 30.15625 C-7.45389313 29.21342163 -7.43122375 28.27059326 -7.40786743 27.29919434 C-7.42598698 21.67120672 -7.42598698 21.67120672 -10.47021484 16.99023438 C-11.30504395 16.33345703 -12.13987305 15.67667969 -13 15 C-14.43304064 12.13391871 -14.30644155 10.18699217 -14 7 C-10.39201991 0.62590184 -7.36619305 -1.18897736 0 0 Z ",
997
- transform: "translate(267,46)"
998
- }
999
- ),
1000
- /* @__PURE__ */ s.jsx(
1001
- "path",
1002
- {
1003
- d: "M0 0 C1.68647082 -0.04657255 3.37393806 -0.06316166 5.06103516 -0.05566406 C6.4019371 -0.06995453 6.4019371 -0.06995453 7.76992798 -0.08453369 C9.66119547 -0.09670016 11.55258467 -0.09585607 13.44384766 -0.08300781 C16.33404026 -0.07135381 19.21835942 -0.12348428 22.10791016 -0.18066406 C23.94644772 -0.18455023 25.78499786 -0.18467369 27.62353516 -0.18066406 C28.48514252 -0.20110779 29.34674988 -0.22155151 30.23446655 -0.24261475 C36.06705214 -0.13032286 36.06705214 -0.13032286 38.68292236 2.20031738 C40.04072076 3.99811851 41.12728332 5.59102188 41.97509766 7.67871094 C41.47509766 10.36621094 41.47509766 10.36621094 39.97509766 12.67871094 C39.46837524 13.72164307 39.46837524 13.72164307 38.95141602 14.78564453 C35.73917522 17.86257043 32.14010974 17.28926612 27.85400391 17.28027344 C26.9576976 17.28884369 26.0613913 17.29741394 25.13792419 17.3062439 C23.24245584 17.31772877 21.34689932 17.3187321 19.45141602 17.31005859 C16.55087864 17.30373987 13.65442658 17.35063202 10.75439453 17.40136719 C8.91260281 17.40591356 7.0708001 17.40731998 5.22900391 17.40527344 C3.92885094 17.43290268 3.92885094 17.43290268 2.60243225 17.46109009 C0.24298836 17.42484122 -1.75627718 17.33006886 -4.02490234 16.67871094 C-6.6553077 13.73967998 -8.0597361 12.10689478 -7.96240234 8.11621094 C-7.65302734 7.31183594 -7.34365234 6.50746094 -7.02490234 5.67871094 C-6.69796387 4.81858398 -6.37102539 3.95845703 -6.03417969 3.07226562 C-3.7470591 0.34772975 -3.36586368 0.29521357 0 0 Z ",
1004
- transform: "translate(123.02490234375,191.3212890625)"
1005
- }
1006
- )
1007
- ]
1008
- })
1009
- );
1010
- }
1011
- function At(r) {
1012
- var n = r, { title: e } = n, t = g(n, ["title"]);
1013
- return /* @__PURE__ */ s.jsxs(
1014
- "svg",
1015
- b(w({
1016
- xmlns: "http://www.w3.org/2000/svg",
1017
- viewBox: "0 0 1024 1024",
1018
- fill: "currentColor",
1019
- height: "1em",
1020
- width: "1em",
1021
- "aria-hidden": "true"
1022
- }, t), {
1023
- children: [
1024
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1025
- /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("style", {}) }),
1026
- /* @__PURE__ */ s.jsx("path", { d: "M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4 0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4 14.2-2.4 23.7-15.9 21.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" })
1027
- ]
1028
- })
1029
- );
1030
- }
1031
- function Rt(r) {
1032
- var n = r, { title: e } = n, t = g(n, ["title"]);
1033
- return /* @__PURE__ */ s.jsxs(
1034
- "svg",
1035
- b(w({
1036
- xmlns: "http://www.w3.org/2000/svg",
1037
- fill: "none",
1038
- stroke: "currentColor",
1039
- strokeLinecap: "round",
1040
- strokeLinejoin: "round",
1041
- strokeWidth: 2,
1042
- viewBox: "0 0 24 24",
1043
- height: "1em",
1044
- width: "1em",
1045
- "aria-hidden": "true"
1046
- }, t), {
1047
- children: [
1048
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1049
- /* @__PURE__ */ s.jsx("path", { d: "M11 9 H20 A2 2 0 0 1 22 11 V20 A2 2 0 0 1 20 22 H11 A2 2 0 0 1 9 20 V11 A2 2 0 0 1 11 9 z" }),
1050
- /* @__PURE__ */ s.jsx("path", { d: "M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1" })
1051
- ]
1052
- })
1053
- );
1054
- }
1055
- function Bt(r) {
1056
- var n = r, { title: e } = n, t = g(n, ["title"]);
1057
- return /* @__PURE__ */ s.jsxs(
1058
- "svg",
1059
- b(w({
1060
- xmlns: "http://www.w3.org/2000/svg",
1061
- fill: "none",
1062
- stroke: "currentColor",
1063
- strokeLinecap: "round",
1064
- strokeLinejoin: "round",
1065
- strokeWidth: 2,
1066
- viewBox: "0 0 24 24",
1067
- height: "1em",
1068
- width: "1em",
1069
- "aria-hidden": "true"
1070
- }, t), {
1071
- children: [
1072
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1073
- /* @__PURE__ */ s.jsx("path", { stroke: "none", d: "M0 0h24v24H0z" }),
1074
- /* @__PURE__ */ s.jsx("path", { d: "M10 17 A3 3 0 0 1 7 20 A3 3 0 0 1 4 17 A3 3 0 0 1 10 17 z" }),
1075
- /* @__PURE__ */ s.jsx("path", { d: "M20 17 A3 3 0 0 1 17 20 A3 3 0 0 1 14 17 A3 3 0 0 1 20 17 z" }),
1076
- /* @__PURE__ */ s.jsx("path", { d: "M9.15 14.85L18 4M6 4l8.85 10.85" })
1077
- ]
1078
- })
1079
- );
1080
- }
1081
- function $t(r) {
1082
- var n = r, { title: e } = n, t = g(n, ["title"]);
1083
- return /* @__PURE__ */ s.jsxs(
1084
- "svg",
1085
- b(w({
1086
- xmlns: "http://www.w3.org/2000/svg",
1087
- viewBox: "0 0 1024 1024",
1088
- fill: "currentColor",
1089
- height: "1em",
1090
- width: "1em",
1091
- "aria-hidden": "true"
1092
- }, t), {
1093
- children: [
1094
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1095
- /* @__PURE__ */ s.jsx("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })
1096
- ]
1097
- })
1098
- );
1099
- }
1100
- function Tt(r) {
1101
- var n = r, { title: e } = n, t = g(n, ["title"]);
1102
- return /* @__PURE__ */ s.jsxs(
1103
- "svg",
1104
- b(w({
1105
- xmlns: "http://www.w3.org/2000/svg",
1106
- viewBox: "0 0 24 24",
1107
- width: "1em",
1108
- height: "1em",
1109
- "aria-hidden": "true"
1110
- }, t), {
1111
- children: [
1112
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1113
- /* @__PURE__ */ s.jsx(
1114
- "path",
1115
- {
1116
- fill: "currentColor",
1117
- fillRule: "evenodd",
1118
- d: "M10.945 1.25h2.11c1.367 0 2.47 0 3.337.117c.9.12 1.658.38 2.26.981c.298.299.512.636.667 1.01c.932.116 1.715.372 2.333.99c.602.602.86 1.36.982 2.26c.116.867.116 1.97.116 3.337v4.11c0 1.367 0 2.47-.116 3.337c-.122.9-.38 1.658-.982 2.26c-.618.618-1.4.874-2.333.991c-.155.373-.369.71-.667 1.009c-.602.602-1.36.86-2.26.982c-.867.116-1.97.116-3.337.116h-2.11c-1.367 0-2.47 0-3.337-.116c-.9-.122-1.658-.38-2.26-.982a3.1 3.1 0 0 1-.667-1.009c-.932-.117-1.715-.373-2.333-.991c-.602-.602-.86-1.36-.981-2.26c-.117-.867-.117-1.97-.117-3.337v-4.11c0-1.367 0-2.47.117-3.337c.12-.9.38-1.658.981-2.26c.618-.618 1.4-.874 2.333-.99a3.1 3.1 0 0 1 .667-1.01c.602-.602 1.36-.86 2.26-.981c.867-.117 1.97-.117 3.337-.117M4.328 4.94c-.437.106-.71.26-.919.47c-.277.276-.457.664-.556 1.398c-.101.756-.103 1.757-.103 3.192v4c0 1.435.002 2.437.103 3.192c.099.734.28 1.122.556 1.399c.209.209.482.363.92.469c-.079-.812-.079-1.806-.079-3.005v-8.11c0-1.198 0-2.193.078-3.005m15.344 14.12c.437-.106.71-.26.919-.469c.277-.277.457-.665.556-1.4c.101-.754.103-1.755.103-3.19v-4c0-1.436-.002-2.437-.103-3.193c-.099-.734-.28-1.122-.556-1.399c-.209-.209-.482-.363-.92-.469c.079.812.079 1.807.079 3.005v8.11c0 1.198 0 2.193-.078 3.005M7.808 2.853c-.734.099-1.122.28-1.399.556c-.277.277-.457.665-.556 1.4C5.752 5.562 5.75 6.564 5.75 8v8c0 1.435.002 2.436.103 3.192c.099.734.28 1.122.556 1.399c.277.277.665.457 1.4.556c.754.101 1.756.103 3.191.103h2c1.435 0 2.437-.002 3.192-.103c.734-.099 1.122-.28 1.399-.556c.277-.277.457-.665.556-1.4c.101-.755.103-1.756.103-3.191V8c0-1.435-.002-2.437-.103-3.192c-.099-.734-.28-1.122-.556-1.399c-.277-.277-.665-.457-1.4-.556c-.754-.101-1.756-.103-3.191-.103h-2c-1.435 0-2.437.002-3.192.103M8.25 9A.75.75 0 0 1 9 8.25h6a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 9m0 4a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75m0 4a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75",
1119
- clipRule: "evenodd"
1120
- }
1121
- )
1122
- ]
1123
- })
1124
- );
1125
- }
1126
- function Nt(r) {
1127
- var n = r, { title: e } = n, t = g(n, ["title"]);
1128
- return /* @__PURE__ */ s.jsxs(
1129
- "svg",
1130
- b(w({
1131
- xmlns: "http://www.w3.org/2000/svg",
1132
- viewBox: "0 0 1024 1024",
1133
- fill: "currentColor",
1134
- height: "1em",
1135
- width: "1em",
1136
- "aria-hidden": "true"
1137
- }, t), {
1138
- children: [
1139
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1140
- /* @__PURE__ */ s.jsx("path", { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" })
1141
- ]
1142
- })
1143
- );
1144
- }
1145
- function zt(r) {
1146
- var n = r, { title: e } = n, t = g(n, ["title"]);
1147
- return /* @__PURE__ */ s.jsxs(
1148
- "svg",
1149
- b(w({
1150
- xmlns: "http://www.w3.org/2000/svg",
1151
- viewBox: "0 0 24 24",
1152
- width: "1em",
1153
- height: "1em",
1154
- "aria-hidden": "true"
1155
- }, t), {
1156
- children: [
1157
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1158
- /* @__PURE__ */ s.jsx(
1159
- "path",
1160
- {
1161
- fill: "none",
1162
- stroke: "currentColor",
1163
- strokeLinecap: "round",
1164
- strokeLinejoin: "round",
1165
- strokeWidth: "1.5",
1166
- d: "M3 21h18M12.222 5.828L15.05 3L20 7.95l-2.828 2.828m-4.95-4.95l-5.607 5.607a1 1 0 0 0-.293.707v4.536h4.536a1 1 0 0 0 .707-.293l5.607-5.607m-4.95-4.95l4.95 4.95"
1167
- }
1168
- )
1169
- ]
1170
- })
1171
- );
1172
- }
1173
- function Dt(r) {
1174
- var n = r, { title: e } = n, t = g(n, ["title"]);
1175
- return /* @__PURE__ */ s.jsxs(
1176
- "svg",
1177
- b(w({
1178
- xmlns: "http://www.w3.org/2000/svg",
1179
- viewBox: "0 0 24 24",
1180
- width: "1em",
1181
- height: "1em",
1182
- "aria-hidden": "true"
1183
- }, t), {
1184
- children: [
1185
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1186
- /* @__PURE__ */ s.jsx(
1187
- "path",
1188
- {
1189
- fill: "currentColor",
1190
- d: "m16.484 11.976l6.151-5.344v10.627zm-7.926.905l2.16 1.875c.339.288.781.462 1.264.462h.017h-.001h.014c.484 0 .926-.175 1.269-.465l-.003.002l2.16-1.875l6.566 5.639H1.995zM1.986 5.365h20.03l-9.621 8.356a.6.6 0 0 1-.38.132h-.014h.001h-.014a.6.6 0 0 1-.381-.133l.001.001zm-.621 1.266l6.15 5.344l-6.15 5.28zm21.6-2.441c-.24-.12-.522-.19-.821-.19H1.859a1.9 1.9 0 0 0-.835.197l.011-.005A1.86 1.86 0 0 0 0 5.855v12.172a1.86 1.86 0 0 0 1.858 1.858h20.283a1.86 1.86 0 0 0 1.858-1.858V5.855c0-.727-.419-1.357-1.029-1.66l-.011-.005z"
1191
- }
1192
- )
1193
- ]
1194
- })
1195
- );
1196
- }
1197
- function Ht(r) {
1198
- var n = r, { title: e } = n, t = g(n, ["title"]);
1199
- return /* @__PURE__ */ s.jsxs(
1200
- "svg",
1201
- b(w({
1202
- xmlns: "http://www.w3.org/2000/svg",
1203
- viewBox: "0 0 24 24",
1204
- fill: "currentColor",
1205
- height: "1em",
1206
- width: "1em",
1207
- "aria-hidden": "true"
1208
- }, t), {
1209
- children: [
1210
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1211
- /* @__PURE__ */ s.jsx("path", { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }),
1212
- /* @__PURE__ */ s.jsx("path", { d: "M21.707 7.293l-5-5A.996.996 0 0016 2H8a.996.996 0 00-.707.293l-5 5A.996.996 0 002 8v8c0 .266.105.52.293.707l5 5A.996.996 0 008 22h8c.266 0 .52-.105.707-.293l5-5A.996.996 0 0022 16V8a.996.996 0 00-.293-.707zM20 15.586L15.586 20H8.414L4 15.586V8.414L8.414 4h7.172L20 8.414v7.172z" })
1213
- ]
1214
- })
1215
- );
1216
- }
1217
- function Pt(r) {
1218
- var n = r, { title: e } = n, t = g(n, ["title"]);
1219
- return /* @__PURE__ */ s.jsxs(
1220
- "svg",
1221
- b(w({
1222
- xmlns: "http://www.w3.org/2000/svg",
1223
- viewBox: "0 0 512 512",
1224
- fill: "currentColor",
1225
- height: "1em",
1226
- width: "1em",
1227
- "aria-hidden": "true"
1228
- }, t), {
1229
- children: [
1230
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1231
- /* @__PURE__ */ s.jsx(
1232
- "path",
1233
- {
1234
- fill: "none",
1235
- stroke: "currentColor",
1236
- strokeLinecap: "round",
1237
- strokeLinejoin: "round",
1238
- strokeWidth: 48,
1239
- d: "M184 112l144 144-144 144"
1240
- }
1241
- )
1242
- ]
1243
- })
1244
- );
1245
- }
1246
- const Vt = (r) => {
1247
- var n = r, { title: e } = n, t = g(n, ["title"]);
1248
- return /* @__PURE__ */ s.jsxs(
1249
- "svg",
1250
- b(w({
1251
- xmlns: "http://www.w3.org/2000/svg",
1252
- width: "1em",
1253
- height: "1em",
1254
- fill: "currentColor",
1255
- viewBox: "0 0 448 512",
1256
- "aria-hidden": "true"
1257
- }, t), {
1258
- children: [
1259
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1260
- /* @__PURE__ */ s.jsx("path", { d: "M219.3.5c3.1-.6 6.3-.6 9.4 0l200 40C439.9 42.7 448 52.6 448 64s-8.1 21.3-19.3 23.5L352 102.9V160c0 70.7-57.3 128-128 128S96 230.7 96 160v-57.1l-48-9.6v65.1l15.7 78.4c.9 4.7-.3 9.6-3.3 13.3S52.8 256 48 256H16c-4.8 0-9.3-2.1-12.4-5.9s-4.3-8.6-3.3-13.3L16 158.4V86.6C6.5 83.3 0 74.3 0 64c0-11.4 8.1-21.3 19.3-23.5l200-40zM111.9 327.7c10.5-3.4 21.8.4 29.4 8.5l71 75.5c6.3 6.7 17 6.7 23.3 0l71-75.5c7.6-8.1 18.9-11.9 29.4-8.5 65 20.9 112 81.7 112 153.6 0 17-13.8 30.7-30.7 30.7H30.7C13.8 512 0 498.2 0 481.3c0-71.9 47-132.7 111.9-153.6z" })
1261
- ]
1262
- })
1263
- );
1264
- };
1265
- function Ot(r) {
1266
- var n = r, { title: e } = n, t = g(n, ["title"]);
1267
- return /* @__PURE__ */ s.jsxs(
1268
- "svg",
1269
- b(w({
1270
- xmlns: "http://www.w3.org/2000/svg",
1271
- viewBox: "0 0 512 512",
1272
- fill: "currentColor",
1273
- height: "1em",
1274
- width: "1em",
1275
- "aria-hidden": "true"
1276
- }, t), {
1277
- children: [
1278
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1279
- /* @__PURE__ */ s.jsx("path", { d: "M414.39 97.61A224 224 0 1097.61 414.39 224 224 0 10414.39 97.61zM192.13 260.18a64 64 0 1159.69 59.69 64.07 64.07 0 01-59.69-59.69zm240-66.64l-96.37 5.84a4.06 4.06 0 01-3.44-1.59 96 96 0 00-18.07-18.07 4.06 4.06 0 01-1.59-3.44l5.84-96.37a4 4 0 015.42-3.51A193 193 0 01435.6 188.12a4 4 0 01-3.51 5.42zM193.54 79.91l5.84 96.37a4.06 4.06 0 01-1.59 3.44 96 96 0 00-18.07 18.07 4.06 4.06 0 01-3.44 1.59l-96.37-5.84a4 4 0 01-3.51-5.42A193 193 0 01188.12 76.4a4 4 0 015.42 3.51zM79.91 318.46l96.37-5.84a4.06 4.06 0 013.44 1.59 96 96 0 0018.07 18.07 4.06 4.06 0 011.59 3.44l-5.84 96.37a4 4 0 01-5.42 3.51A193 193 0 0176.4 323.88a4 4 0 013.51-5.42zm238.55 113.63l-5.84-96.37a4.06 4.06 0 011.59-3.44 96 96 0 0018.07-18.07 4.06 4.06 0 013.44-1.59l96.37 5.84a4 4 0 013.51 5.42A193 193 0 01323.88 435.6a4 4 0 01-5.42-3.51z" })
1280
- ]
1281
- })
1282
- );
1283
- }
1284
- function qt(r) {
1285
- var n = r, { title: e } = n, t = g(n, ["title"]);
1286
- return /* @__PURE__ */ s.jsxs(
1287
- "svg",
1288
- b(w({
1289
- xmlns: "http://www.w3.org/2000/svg",
1290
- viewBox: "0 0 24 24",
1291
- fill: "currentColor",
1292
- height: "1em",
1293
- width: "1em",
1294
- "aria-hidden": "true"
1295
- }, t), {
1296
- children: [
1297
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1298
- /* @__PURE__ */ s.jsx("path", { d: "M12 19c.946 0 1.81-.103 2.598-.281l-1.757-1.757c-.273.021-.55.038-.841.038-5.351 0-7.424-3.846-7.926-5a8.642 8.642 0 011.508-2.297L4.184 8.305c-1.538 1.667-2.121 3.346-2.132 3.379a.994.994 0 000 .633C2.073 12.383 4.367 19 12 19zm0-14c-1.837 0-3.346.396-4.604.981L3.707 2.293 2.293 3.707l18 18 1.414-1.414-3.319-3.319c2.614-1.951 3.547-4.615 3.561-4.657a.994.994 0 000-.633C21.927 11.617 19.633 5 12 5zm4.972 10.558l-2.28-2.28c.19-.39.308-.819.308-1.278 0-1.641-1.359-3-3-3-.459 0-.888.118-1.277.309L8.915 7.501A9.26 9.26 0 0112 7c5.351 0 7.424 3.846 7.926 5-.302.692-1.166 2.342-2.954 3.558z" })
1299
- ]
1300
- })
1301
- );
1302
- }
1303
- const Wt = (r) => {
1304
- var n = r, { title: e } = n, t = g(n, ["title"]);
1305
- return /* @__PURE__ */ s.jsxs(
1306
- "svg",
1307
- b(w({
1308
- xmlns: "http://www.w3.org/2000/svg",
1309
- width: "1em",
1310
- height: "1em",
1311
- fill: "currentColor",
1312
- viewBox: "0 0 1024 1024",
1313
- "aria-hidden": "true"
1314
- }, t), {
1315
- children: [
1316
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1317
- /* @__PURE__ */ s.jsx("path", { d: "M946.5 505 560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" })
1318
- ]
1319
- })
1320
- );
1321
- };
1322
- function Ft(r) {
1323
- var n = r, { title: e } = n, t = g(n, ["title"]);
1324
- return /* @__PURE__ */ s.jsxs(
1325
- "svg",
1326
- b(w({
1327
- xmlns: "http://www.w3.org/2000/svg",
1328
- viewBox: "0 0 24 24",
1329
- width: "1em",
1330
- height: "1em",
1331
- "aria-hidden": "true"
1332
- }, t), {
1333
- children: [
1334
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1335
- /* @__PURE__ */ s.jsx(
1336
- "path",
1337
- {
1338
- fill: "currentColor",
1339
- d: "M18.435 3.06H5.565a2.5 2.5 0 0 0-2.5 2.5v12.88a2.507 2.507 0 0 0 2.5 2.5h12.87a2.507 2.507 0 0 0 2.5-2.5V5.56a2.5 2.5 0 0 0-2.5-2.5m-14.37 2.5a1.5 1.5 0 0 1 1.5-1.5h12.87a1.5 1.5 0 0 1 1.5 1.5v8.66l-3.88-3.88a1.51 1.51 0 0 0-2.12 0l-4.56 4.57a.513.513 0 0 1-.71 0l-.56-.56a1.52 1.52 0 0 0-2.12 0l-1.92 1.92Zm15.87 12.88a1.5 1.5 0 0 1-1.5 1.5H5.565a1.5 1.5 0 0 1-1.5-1.5v-.75L6.7 15.06a.5.5 0 0 1 .35-.14a.52.52 0 0 1 .36.14l.55.56a1.51 1.51 0 0 0 2.12 0l4.57-4.57a.5.5 0 0 1 .71 0l4.58 4.58Z"
1340
- }
1341
- ),
1342
- /* @__PURE__ */ s.jsx(
1343
- "path",
1344
- {
1345
- fill: "currentColor",
1346
- d: "M8.062 10.565a2.5 2.5 0 1 1 2.5-2.5a2.5 2.5 0 0 1-2.5 2.5m0-4a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5"
1347
- }
1348
- )
1349
- ]
1350
- })
1351
- );
1352
- }
1353
- function Kt(r) {
1354
- var n = r, { title: e } = n, t = g(n, ["title"]);
1355
- return /* @__PURE__ */ s.jsxs(
1356
- "svg",
1357
- b(w({
1358
- xmlns: "http://www.w3.org/2000/svg",
1359
- viewBox: "0 0 1024 1024",
1360
- fill: "currentColor",
1361
- height: "1em",
1362
- width: "1em",
1363
- "aria-hidden": "true"
1364
- }, t), {
1365
- children: [
1366
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1367
- /* @__PURE__ */ s.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" }),
1368
- /* @__PURE__ */ s.jsx("path", { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" })
1369
- ]
1370
- })
1371
- );
1372
- }
1373
- const Ut = (r) => {
1374
- var n = r, { title: e } = n, t = g(n, ["title"]);
1375
- return /* @__PURE__ */ s.jsxs(
1376
- "svg",
1377
- b(w({
1378
- xmlns: "http://www.w3.org/2000/svg",
1379
- width: "1em",
1380
- height: "1em",
1381
- fill: "currentColor",
1382
- viewBox: "0 0 1024 1024",
1383
- "aria-hidden": "true"
1384
- }, t), {
1385
- children: [
1386
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1387
- /* @__PURE__ */ s.jsx("path", { d: "M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 0 1 520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 0 1 270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 0 1 0 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z" })
1388
- ]
1389
- })
1390
- );
1391
- };
1392
- function Gt(r) {
1393
- var n = r, { title: e } = n, t = g(n, ["title"]);
1394
- return /* @__PURE__ */ s.jsxs(
1395
- "svg",
1396
- b(w({
1397
- xmlns: "http://www.w3.org/2000/svg",
1398
- viewBox: "0 0 24 24",
1399
- fill: "currentColor",
1400
- height: "1em",
1401
- width: "1em",
1402
- "aria-hidden": "true"
1403
- }, t), {
1404
- children: [
1405
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1406
- /* @__PURE__ */ s.jsx("path", { d: "M20 11V5c0-1.103-.897-2-2-2h-3a1 1 0 00-1-1H8a1 1 0 00-1 1H4c-1.103 0-2 .897-2 2v13c0 1.103.897 2 2 2h7c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2v-7c0-1.103-.897-2-2-2zm-9 2v5H4V5h3v2h8V5h3v6h-5c-1.103 0-2 .897-2 2zm2 7v-7h7l.001 7H13z" })
1407
- ]
1408
- })
1409
- );
1410
- }
1411
- function Yt(r) {
1412
- var n = r, { title: e } = n, t = g(n, ["title"]);
1413
- return /* @__PURE__ */ s.jsxs(
1414
- "svg",
1415
- b(w({
1416
- xmlns: "http://www.w3.org/2000/svg",
1417
- viewBox: "0 0 24 24",
1418
- width: "1em",
1419
- height: "1em",
1420
- "aria-hidden": "true"
1421
- }, t), {
1422
- children: [
1423
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1424
- /* @__PURE__ */ s.jsx(
1425
- "path",
1426
- {
1427
- fill: "none",
1428
- stroke: "currentColor",
1429
- strokeLinecap: "round",
1430
- strokeMiterlimit: "10",
1431
- strokeWidth: "1.5",
1432
- d: "M12.735 20.191a15 15 0 0 1-.92-.447a19 19 0 0 1-4.1-3.12A18 18 0 0 1 3.88 11.42a11.3 11.3 0 0 1-1.022-3.325a5.93 5.93 0 0 1 .37-3.465c.289-.47.637-.9 1.035-1.279a1.8 1.8 0 0 1 1.278-.601c.505.076.962.34 1.278.742c.69.767 1.43 1.457 2.159 2.186c.287.246.466.595.498.972c-.012.317-.134.62-.345.857c-.242.307-.536.588-.817.882a1.54 1.54 0 0 0-.46 1.279a3.7 3.7 0 0 0 .881 1.457c.486.665.971 1.28 1.52 1.931a13.6 13.6 0 0 0 3.463 2.865a1.28 1.28 0 0 0 1.278.153a4 4 0 0 0 1.137-.946c.275-.335.669-.55 1.099-.601c.383.02.744.184 1.01.46c.344.294.638.64.958.959c.319.32.575.55.843.844q.482.425.907.908c.22.284.324.64.294.997a2.1 2.1 0 0 1-.703 1.087a4.78 4.78 0 0 1-3.756 1.458a10.7 10.7 0 0 1-4.05-1.049Z"
1433
- }
1434
- )
1435
- ]
1436
- })
1437
- );
1438
- }
1439
- function Zt(r) {
1440
- var n = r, { title: e } = n, t = g(n, ["title"]);
1441
- return /* @__PURE__ */ s.jsxs(
1442
- "svg",
1443
- b(w({
1444
- xmlns: "http://www.w3.org/2000/svg",
1445
- viewBox: "0 0 24 24",
1446
- width: "1em",
1447
- height: "1em",
1448
- "aria-hidden": "true"
1449
- }, t), {
1450
- children: [
1451
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1452
- /* @__PURE__ */ s.jsx(
1453
- "path",
1454
- {
1455
- fill: "none",
1456
- stroke: "currentColor",
1457
- strokeLinecap: "round",
1458
- strokeLinejoin: "round",
1459
- strokeWidth: "1.5",
1460
- d: "M12 6.722v10.556M17.278 12H6.722M12 21.5a9.5 9.5 0 1 0 0-19a9.5 9.5 0 0 0 0 19"
1461
- }
1462
- )
1463
- ]
1464
- })
1465
- );
1466
- }
1467
- function Jt(r) {
1468
- var n = r, { title: e } = n, t = g(n, ["title"]);
1469
- return /* @__PURE__ */ s.jsxs(
1470
- "svg",
1471
- b(w({
1472
- xmlns: "http://www.w3.org/2000/svg",
1473
- viewBox: "0 0 24 24",
1474
- width: "1em",
1475
- height: "1em",
1476
- "aria-hidden": "true"
1477
- }, t), {
1478
- children: [
1479
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1480
- /* @__PURE__ */ s.jsx(
1481
- "path",
1482
- {
1483
- fill: "none",
1484
- stroke: "currentColor",
1485
- strokeLinecap: "round",
1486
- strokeLinejoin: "round",
1487
- strokeMiterlimit: "10",
1488
- strokeWidth: "1.5",
1489
- d: "M10 21V3m-7 7h18M5.4 3h13.2A2.4 2.4 0 0 1 21 5.4v13.2a2.4 2.4 0 0 1-2.4 2.4H5.4A2.4 2.4 0 0 1 3 18.6V5.4A2.4 2.4 0 0 1 5.4 3"
1490
- }
1491
- )
1492
- ]
1493
- })
1494
- );
1495
- }
1496
- function Xt(r) {
1497
- var n = r, { title: e } = n, t = g(n, ["title"]);
1498
- return /* @__PURE__ */ s.jsxs(
1499
- "svg",
1500
- b(w({
1501
- xmlns: "http://www.w3.org/2000/svg",
1502
- viewBox: "0 0 512 512",
1503
- fill: "currentColor",
1504
- height: "1em",
1505
- width: "1em",
1506
- "aria-hidden": "true"
1507
- }, t), {
1508
- children: [
1509
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1510
- /* @__PURE__ */ s.jsx(
1511
- "path",
1512
- {
1513
- fill: "none",
1514
- stroke: "currentColor",
1515
- strokeMiterlimit: 10,
1516
- strokeWidth: 32,
1517
- d: "M256 80a176 176 0 10176 176A176 176 0 00256 80z"
1518
- }
1519
- ),
1520
- /* @__PURE__ */ s.jsx(
1521
- "path",
1522
- {
1523
- fill: "none",
1524
- stroke: "currentColor",
1525
- strokeLinecap: "round",
1526
- strokeMiterlimit: 10,
1527
- strokeWidth: 28,
1528
- d: "M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296"
1529
- }
1530
- ),
1531
- /* @__PURE__ */ s.jsx("path", { d: "M270 348 A20 20 0 0 1 250 368 A20 20 0 0 1 230 348 A20 20 0 0 1 270 348 z" })
1532
- ]
1533
- })
1534
- );
1535
- }
1536
- function Qt(r) {
1537
- var n = r, { title: e } = n, t = g(n, ["title"]);
1538
- return /* @__PURE__ */ s.jsxs(
1539
- "svg",
1540
- b(w({
1541
- xmlns: "http://www.w3.org/2000/svg",
1542
- viewBox: "0 0 512 512",
1543
- fill: "currentColor",
1544
- height: "1em",
1545
- width: "1em",
1546
- "aria-hidden": "true"
1547
- }, t), {
1548
- children: [
1549
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1550
- /* @__PURE__ */ s.jsx(
1551
- "path",
1552
- {
1553
- fill: "none",
1554
- stroke: "currentColor",
1555
- strokeLinejoin: "round",
1556
- strokeWidth: 32,
1557
- d: "M135.19 390.14a28.79 28.79 0 0021.68 9.86h246.26A29 29 0 00432 371.13V140.87A29 29 0 00403.13 112H156.87a28.84 28.84 0 00-21.67 9.84v0L46.33 256l88.86 134.11z"
1558
- }
1559
- ),
1560
- /* @__PURE__ */ s.jsx(
1561
- "path",
1562
- {
1563
- fill: "none",
1564
- stroke: "currentColor",
1565
- strokeLinecap: "round",
1566
- strokeLinejoin: "round",
1567
- strokeWidth: 32,
1568
- d: "M336.67 192.33L206.66 322.34M336.67 322.34L206.66 192.33M336.67 192.33L206.66 322.34M336.67 322.34L206.66 192.33"
1569
- }
1570
- )
1571
- ]
1572
- })
1573
- );
1574
- }
1575
- function en(r) {
1576
- var n = r, { title: e } = n, t = g(n, ["title"]);
1577
- return /* @__PURE__ */ s.jsxs(
1578
- "svg",
1579
- b(w({
1580
- xmlns: "http://www.w3.org/2000/svg",
1581
- viewBox: "0 0 1024 1024",
1582
- fill: "currentColor",
1583
- height: "1em",
1584
- width: "1em",
1585
- "aria-hidden": "true"
1586
- }, t), {
1587
- children: [
1588
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1589
- /* @__PURE__ */ s.jsx("path", { d: "M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" })
1590
- ]
1591
- })
1592
- );
1593
- }
1594
- function tn(r) {
1595
- var n = r, { title: e } = n, t = g(n, ["title"]);
1596
- return /* @__PURE__ */ s.jsxs(
1597
- "svg",
1598
- b(w({
1599
- xmlns: "http://www.w3.org/2000/svg",
1600
- viewBox: "0 0 24 24",
1601
- width: "1em",
1602
- height: "1em",
1603
- "aria-hidden": "true"
1604
- }, t), {
1605
- children: [
1606
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1607
- /* @__PURE__ */ s.jsx(
1608
- "path",
1609
- {
1610
- fill: "none",
1611
- stroke: "currentColor",
1612
- strokeLinecap: "round",
1613
- strokeLinejoin: "round",
1614
- strokeWidth: "1.5",
1615
- d: "M15.553 15.553a7.06 7.06 0 1 0-9.985-9.985a7.06 7.06 0 0 0 9.985 9.985m0 0L20 20"
1616
- }
1617
- )
1618
- ]
1619
- })
1620
- );
1621
- }
1622
- function nn(r) {
1623
- var n = r, { title: e } = n, t = g(n, ["title"]);
1624
- return /* @__PURE__ */ s.jsxs(
1625
- "svg",
1626
- b(w({
1627
- xmlns: "http://www.w3.org/2000/svg",
1628
- viewBox: "0 0 14 14",
1629
- width: "1em",
1630
- height: "1em",
1631
- "aria-hidden": "true"
1632
- }, t), {
1633
- children: [
1634
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1635
- /* @__PURE__ */ s.jsx(
1636
- "path",
1637
- {
1638
- fill: "none",
1639
- stroke: "currentColor",
1640
- strokeLinecap: "round",
1641
- strokeLinejoin: "round",
1642
- d: "m5.23 2.25l.43-1.11A1 1 0 0 1 6.59.5h.82a1 1 0 0 1 .93.64l.43 1.11l1.46.84l1.18-.18a1 1 0 0 1 1 .49l.4.7a1 1 0 0 1-.08 1.13l-.73.93v1.68l.75.93a1 1 0 0 1 .08 1.13l-.4.7a1 1 0 0 1-1 .49l-1.18-.18l-1.46.84l-.43 1.11a1 1 0 0 1-.93.64h-.84a1 1 0 0 1-.93-.64l-.43-1.11l-1.46-.84l-1.18.18a1 1 0 0 1-1-.49l-.4-.7a1 1 0 0 1 .08-1.13L2 7.84V6.16l-.75-.93a1 1 0 0 1-.08-1.13l.4-.7a1 1 0 0 1 1-.49l1.18.18ZM5 7a2 2 0 1 0 2-2a2 2 0 0 0-2 2Z"
1643
- }
1644
- )
1645
- ]
1646
- })
1647
- );
1648
- }
1649
- function rn(r) {
1650
- var n = r, { title: e } = n, t = g(n, ["title"]);
1651
- return /* @__PURE__ */ s.jsxs(
1652
- "svg",
1653
- b(w({
1654
- xmlns: "http://www.w3.org/2000/svg",
1655
- viewBox: "0 0 24 24",
1656
- fill: "currentColor",
1657
- height: "1em",
1658
- width: "1em",
1659
- "aria-hidden": "true"
1660
- }, t), {
1661
- children: [
1662
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1663
- /* @__PURE__ */ s.jsx("path", { d: "M12 9a3.02 3.02 0 00-3 3c0 1.642 1.358 3 3 3 1.641 0 3-1.358 3-3 0-1.641-1.359-3-3-3z" }),
1664
- /* @__PURE__ */ s.jsx("path", { d: "M12 5c-7.633 0-9.927 6.617-9.948 6.684L1.946 12l.105.316C2.073 12.383 4.367 19 12 19s9.927-6.617 9.948-6.684l.106-.316-.105-.316C21.927 11.617 19.633 5 12 5zm0 12c-5.351 0-7.424-3.846-7.926-5C4.578 10.842 6.652 7 12 7c5.351 0 7.424 3.846 7.926 5-.504 1.158-2.578 5-7.926 5z" })
1665
- ]
1666
- })
1667
- );
1668
- }
1669
- function sn(r) {
1670
- var n = r, { title: e } = n, t = g(n, ["title"]);
1671
- return /* @__PURE__ */ s.jsxs(
1672
- "svg",
1673
- b(w({
1674
- xmlns: "http://www.w3.org/2000/svg",
1675
- fill: "currentColor",
1676
- viewBox: "0 0 16 16",
1677
- height: "1em",
1678
- width: "1em",
1679
- "aria-hidden": "true"
1680
- }, t), {
1681
- children: [
1682
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1683
- /* @__PURE__ */ s.jsx("path", { d: "M.5 9.9a.5.5 0 01.5.5v2.5a1 1 0 001 1h12a1 1 0 001-1v-2.5a.5.5 0 011 0v2.5a2 2 0 01-2 2H2a2 2 0 01-2-2v-2.5a.5.5 0 01.5-.5z" }),
1684
- /* @__PURE__ */ s.jsx("path", { d: "M7.646 1.146a.5.5 0 01.708 0l3 3a.5.5 0 01-.708.708L8.5 2.707V11.5a.5.5 0 01-1 0V2.707L5.354 4.854a.5.5 0 11-.708-.708l3-3z" })
1685
- ]
1686
- })
1687
- );
1688
- }
1689
- function on(r) {
1690
- var n = r, { title: e } = n, t = g(n, ["title"]);
1691
- return /* @__PURE__ */ s.jsxs(
1692
- "svg",
1693
- b(w({
1694
- xmlns: "http://www.w3.org/2000/svg",
1695
- viewBox: "0 0 24 24",
1696
- fill: "currentColor",
1697
- height: "1em",
1698
- width: "1em",
1699
- "aria-hidden": "true"
1700
- }, t), {
1701
- children: [
1702
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1703
- /* @__PURE__ */ s.jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
1704
- /* @__PURE__ */ s.jsx("path", { d: "M4 20v-6a8 8 0 1116 0v6h1v2H3v-2h1zm2 0h12v-6a6 6 0 10-12 0v6zm5-18h2v3h-2V2zm8.778 2.808l1.414 1.414-2.12 2.121-1.415-1.414 2.121-2.121zM2.808 6.222l1.414-1.414 2.121 2.12L4.93 8.344 2.808 6.222zM7 14a5 5 0 015-5v2a3 3 0 00-3 3H7z" })
1705
- ]
1706
- })
1707
- );
1708
- }
1709
- const cn = {
1710
- [C.ArrowDown]: Oe,
1711
- [C.ArrowUp]: qe,
1712
- [C.Back]: kt,
1713
- [C.Cancel]: yt,
1714
- [C.CheckboxChecked]: w1,
1715
- [C.CheckboxUnchecked]: m1,
1716
- [C.CheckMark]: C1,
1717
- [C.ChevronDown]: It,
1718
- [C.ChevronUp]: St,
1719
- [C.ChevronLeft]: Mt,
1720
- [C.ChevronRight]: Et,
1721
- [C.ChopLogic]: Lt,
1722
- [C.Clear]: At,
1723
- [C.Copy]: Rt,
1724
- [C.Cut]: Bt,
1725
- [C.Delete]: $t,
1726
- [C.Documents]: Tt,
1727
- [C.Download]: Nt,
1728
- [C.Edit]: zt,
1729
- [C.Email]: Dt,
1730
- [C.Error]: Ht,
1731
- [C.Forward]: Pt,
1732
- [C.Graduate]: Vt,
1733
- [C.Help]: Ot,
1734
- [C.Hide]: qt,
1735
- [C.Home]: Wt,
1736
- [C.Image]: Ft,
1737
- [C.Info]: Kt,
1738
- [C.Login]: Ut,
1739
- [C.Paste]: Gt,
1740
- [C.Phone]: Yt,
1741
- [C.PlusCircle]: Zt,
1742
- [C.Projects]: Jt,
1743
- [C.Question]: Xt,
1744
- [C.Save]: en,
1745
- [C.Search]: tn,
1746
- [C.Settings]: nn,
1747
- [C.Show]: rn,
1748
- [C.Upload]: sn,
1749
- [C.Warning]: on,
1750
- [C.Remove]: Qt
1751
- }, ln = "_icon_1a3u5_1", an = {
1752
- icon: ln
1753
- }, Y = (l) => {
1754
- var c = l, { name: e, testId: t, className: r, hidden: n } = c, o = g(c, ["name", "testId", "className", "hidden"]);
1755
- if (!e) return null;
1756
- const a = cn[e], i = E([r, an.icon]);
1757
- return /* @__PURE__ */ s.jsx(a, w({ "data-testid": t, className: i, "aria-hidden": n }, o));
1758
- }, dn = "_image_gxqs2_2", un = "_img_gxqs2_7", hn = "_picture_gxqs2_13", _n = "_fallback_gxqs2_19", xn = "_fallback_icon_gxqs2_25", fn = "_fallback_text_gxqs2_29", ue = {
1759
- image: dn,
1760
- img: un,
1761
- picture: hn,
1762
- fallback: _n,
1763
- fallback_icon: xn,
1764
- fallback_text: fn
1765
- }, v1 = ({
1766
- src: e,
1767
- alt: t,
1768
- width: r,
1769
- height: n,
1770
- sizes: o,
1771
- loading: l = "lazy",
1772
- decoding: c = "async",
1773
- onError: a
1774
- }) => /* @__PURE__ */ s.jsx(
1775
- "img",
1776
- {
1777
- src: e,
1778
- alt: t,
1779
- width: r,
1780
- height: n,
1781
- loading: l,
1782
- decoding: c,
1783
- sizes: o,
1784
- className: ue.img,
1785
- onError: a
1786
- }
1787
- ), pn = () => /* @__PURE__ */ s.jsxs("div", { className: ue.fallback, children: [
1788
- /* @__PURE__ */ s.jsx(Y, { name: C.Image, className: ue.fallback_icon }),
1789
- /* @__PURE__ */ s.jsx("span", { className: ue.fallback_text, children: "Image not available" })
1790
- ] }), wn = (r) => {
1791
- var n = r, { sources: e = [] } = n, t = g(n, ["sources"]);
1792
- return /* @__PURE__ */ s.jsxs("picture", { className: ue.picture, children: [
1793
- e.map((o, l) => /* @__PURE__ */ s.jsx(
1794
- "source",
1795
- {
1796
- srcSet: o.descriptor ? `${o.src} ${o.descriptor}` : o.src,
1797
- media: o.media,
1798
- type: o.type
1799
- },
1800
- `${o.src}-${l}`
1801
- )),
1802
- /* @__PURE__ */ s.jsx(v1, w({}, t))
1803
- ] });
1804
- }, mn = (c) => {
1805
- var a = c, {
1806
- alt: e,
1807
- sources: t = [],
1808
- className: r,
1809
- decorative: n = !1,
1810
- onError: o
1811
- } = a, l = g(a, [
1812
- "alt",
1813
- "sources",
1814
- "className",
1815
- "decorative",
1816
- "onError"
1817
- ]);
1818
- const [i, d] = L(!1), u = E([ue.image, r]), p = t.length > 0, h = n ? "" : e, _ = (f) => {
1819
- d(!0), o == null || o(f);
1820
- };
1821
- return i ? /* @__PURE__ */ s.jsx(pn, {}) : p ? /* @__PURE__ */ s.jsx(wn, w({ alt: h, sources: t, onError: _ }, l)) : /* @__PURE__ */ s.jsx("div", { className: u, children: /* @__PURE__ */ s.jsx(v1, w({ alt: h, onError: _ }, l)) });
1822
- }, U0 = P1(mn), Cn = "_wrapper_ay8ic_3", vn = "_input_ay8ic_29", t1 = {
1823
- wrapper: Cn,
1824
- input: vn
1825
- }, bn = (n, r) => {
1826
- var o = n, { children: e } = o, t = g(o, ["children"]);
1827
- return /* @__PURE__ */ s.jsxs("div", { className: t1.wrapper, children: [
1828
- /* @__PURE__ */ s.jsx("input", b(w({}, t), { className: t1.input, ref: r })),
1829
- e
1830
- ] });
1831
- }, Ce = B1(bn), gn = "_label_1x8vn_2", jn = {
1832
- label: gn
1833
- }, ne = ({
1834
- label: e,
1835
- required: t,
1836
- inputId: r,
1837
- icon: n,
1838
- iconPosition: o,
1839
- isTextHidden: l = !1
1840
- }) => {
1841
- const c = !!n && o === "left", a = !!n && o === "right";
1842
- return /* @__PURE__ */ s.jsxs("label", { className: jn.label, htmlFor: r, children: [
1843
- c && /* @__PURE__ */ s.jsx(Y, { name: n }),
1844
- !l && /* @__PURE__ */ s.jsxs("span", { children: [
1845
- e,
1846
- t && /* @__PURE__ */ s.jsx("abbr", { title: "required", children: "*" })
1847
- ] }),
1848
- a && /* @__PURE__ */ s.jsx(Y, { name: n })
1849
- ] });
1850
- }, kn = "_link_15o0l_3", yn = "_link__disabled_15o0l_23", In = "_link_text_15o0l_27", Mn = "_link_icon_15o0l_46", ye = {
1851
- link: kn,
1852
- link__disabled: yn,
1853
- link_text: In,
1854
- link_icon: Mn
1855
- }, En = (d) => {
1856
- var u = d, {
1857
- href: e,
1858
- children: t,
1859
- icon: r,
1860
- iconPosition: n = "left",
1861
- external: o = !1,
1862
- disabled: l = !1,
1863
- className: c,
1864
- target: a
1865
- } = u, i = g(u, [
1866
- "href",
1867
- "children",
1868
- "icon",
1869
- "iconPosition",
1870
- "external",
1871
- "disabled",
1872
- "className",
1873
- "target"
1874
- ]);
1875
- const p = E([ye.link, c, { [ye.link__disabled]: l }]), h = o || e.startsWith("http") || e.startsWith("//"), _ = h ? a || "_blank" : a, f = r ? /* @__PURE__ */ s.jsx(Y, { name: r, className: ye.link_icon, "aria-hidden": "true" }) : null, v = r && n === "left", m = r && n === "right";
1876
- return /* @__PURE__ */ s.jsxs(
1877
- "a",
1878
- b(w(b(w({
1879
- href: e,
1880
- className: p,
1881
- target: _
1882
- }, h && {
1883
- "aria-label": typeof t == "string" ? `${t} (opens in new window)` : "Opens in new window"
1884
- }), {
1885
- "aria-disabled": l
1886
- }), i), {
1887
- children: [
1888
- v && f,
1889
- /* @__PURE__ */ s.jsx("span", { className: ye.link_text, children: t }),
1890
- m && f
1891
- ]
1892
- })
1893
- );
1894
- }, Sn = "_loader_1dxge_1", Ln = {
1895
- loader: Sn
1896
- }, An = "_loader_3e90z_1", Rn = {
1897
- loader: An
1898
- }, Bn = "_loader_151n3_1", $n = {
1899
- loader: Bn
1900
- }, Tn = "_loader_noiz1_1", Nn = {
1901
- loader: Tn
1902
- }, zn = "_loader_1hqei_1", Dn = {
1903
- loader: zn
1904
- }, Hn = "_loader_o5l8l_1", Pn = {
1905
- loader: Hn
1906
- }, Vn = "_loader_pukbl_1", On = {
1907
- loader: Vn
1908
- }, qn = "_loader_zl0tq_1", Wn = {
1909
- loader: qn
1910
- }, Fn = "_loader_1alvx_1", Kn = {
1911
- loader: Fn
1912
- }, G0 = (r) => {
1913
- var n = r, { view: e = ee.Circle } = n, t = g(n, ["view"]);
1914
- const o = E([
1915
- {
1916
- [Ln.loader]: e === ee.Arrow,
1917
- [Rn.loader]: e === ee.Brackets,
1918
- [$n.loader]: e === ee.Circle,
1919
- [Nn.loader]: e === ee.Dots,
1920
- [Dn.loader]: e === ee.Filler,
1921
- [On.loader]: e === ee.Pulse,
1922
- [Pn.loader]: e === ee.Linear,
1923
- [Wn.loader]: e === ee.Rotation,
1924
- [Kn.loader]: e === ee.Square
1925
- }
1926
- ]);
1927
- return /* @__PURE__ */ s.jsx("span", w({ className: o }, t));
1928
- }, We = ({ children: e }) => {
1929
- const [t] = L(() => document.createElement("div"));
1930
- return P(() => (document.body.appendChild(t), () => {
1931
- t.remove();
1932
- }), [t]), $1.createPortal(e, t);
1933
- }, Un = ({
1934
- isOpened: e,
1935
- onClose: t,
1936
- autoClose: r = !0,
1937
- autoCloseDelay: n = 3e3
1938
- }) => {
1939
- P(() => {
1940
- if (!e || !r) return;
1941
- const o = setTimeout(() => {
1942
- t();
1943
- }, n);
1944
- return () => clearTimeout(o);
1945
- }, [e, r, n, t]);
1946
- }, Te = ({
1947
- ref: e,
1948
- onClickOutsideHandler: t,
1949
- dependentRef: r
1950
- }) => {
1951
- P(() => {
1952
- const n = (o) => {
1953
- var i;
1954
- const l = (e == null ? void 0 : e.current) && !e.current.contains(o.target), a = !(r != null && r.current) ? !0 : !((i = r == null ? void 0 : r.current) != null && i.contains(o.target));
1955
- l && a && t();
1956
- };
1957
- return document.addEventListener("mousedown", n), () => {
1958
- document.removeEventListener("mousedown", n);
1959
- };
1960
- }, [e, r, t]);
1961
- }, Gn = ({
1962
- ref: e,
1963
- isVisible: t
1964
- }) => {
1965
- const [r, n] = L({ width: 0, height: 0 });
1966
- return P(() => {
1967
- e != null && e.current && t && n({
1968
- width: e.current.offsetWidth,
1969
- height: e.current.offsetHeight
1970
- });
1971
- }, [e, t]), r;
1972
- }, Yn = (e, t) => {
1973
- const [r, n] = L(e);
1974
- return P(() => {
1975
- const o = setTimeout(() => {
1976
- n(e);
1977
- }, t);
1978
- return () => {
1979
- clearTimeout(o);
1980
- };
1981
- }, [e, t]), r;
1982
- };
1983
- function se(e) {
1984
- const t = u1(), r = e != null ? e : t, n = `${r}_error`, o = `${r}_dropdown`;
1985
- return {
1986
- elementId: r,
1987
- errorId: n,
1988
- dropdownId: o
1989
- };
1990
- }
1991
- function Zn(e, t = !0) {
1992
- const [r, n] = L(!1);
1993
- return P(() => {
1994
- const o = e.current;
1995
- if (!o || !t) return;
1996
- const l = () => n(!0), c = () => n(!1);
1997
- return o.addEventListener("mouseenter", l), o.addEventListener("mouseleave", c), () => {
1998
- o.removeEventListener("mouseenter", l), o.removeEventListener("mouseleave", c);
1999
- };
2000
- }, [e, t]), r;
2001
- }
2002
- const b1 = (e, t = 300) => {
2003
- const [r, n] = L(!1);
2004
- return P(() => {
2005
- let o;
2006
- return e ? n(!0) : o = setTimeout(() => {
2007
- n(!1);
2008
- }, t), () => {
2009
- o && clearTimeout(o);
2010
- };
2011
- }, [e, t]), r;
2012
- }, Y0 = ({
2013
- ref: e,
2014
- dimension: t,
2015
- isMounted: r
2016
- }) => {
2017
- const [n, o] = L(!1);
2018
- return P(() => {
2019
- const l = () => {
2020
- const { current: c } = e;
2021
- if (c) {
2022
- if (t === "width") {
2023
- const { scrollWidth: a = 0, clientWidth: i = 0 } = c;
2024
- o(a > i);
2025
- }
2026
- if (t === "height") {
2027
- const { scrollHeight: a = 0, clientHeight: i = 0 } = c;
2028
- o(a > i);
2029
- }
2030
- }
2031
- };
2032
- return r && l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
2033
- }, [e, t, r]), n;
2034
- }, Ne = ({ ref: e, keyCode: t, onKeyPress: r }) => {
2035
- P(() => {
2036
- const n = (o) => {
2037
- (o == null ? void 0 : o.code) === t && (e != null && e.current) && r();
2038
- };
2039
- return document.addEventListener("keydown", n, !1), () => {
2040
- document.removeEventListener("keydown", n, !1);
2041
- };
2042
- }, [e, t, r]);
2043
- }, Jn = ({ modalRef: e, isOpened: t }) => {
2044
- P(() => {
2045
- const r = e.current;
2046
- if (!t || !r) return;
2047
- const n = Array.from(
2048
- r.querySelectorAll(
2049
- 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
2050
- )
2051
- ), o = n[0], l = n.at(-1), c = (a) => {
2052
- a.key === "Tab" && (a.shiftKey && document.activeElement === o ? (a.preventDefault(), l.focus()) : !a.shiftKey && document.activeElement === l && (a.preventDefault(), o.focus()));
2053
- };
2054
- return r.addEventListener("keydown", c), () => {
2055
- r.removeEventListener("keydown", c);
2056
- };
2057
- }, [e, t]);
2058
- };
2059
- function Xn({
2060
- isOpened: e,
2061
- isHovered: t,
2062
- onClose: r,
2063
- autoClose: n = !0,
2064
- autoCloseDelay: o = 3e3
2065
- }) {
2066
- const [l, c] = L(100), a = R(0), i = R(0), d = R(0);
2067
- return P(() => {
2068
- if (!n) return;
2069
- if (!e) {
2070
- c(100), i.current = 0, d.current && cancelAnimationFrame(d.current);
2071
- return;
2072
- }
2073
- if (t) {
2074
- d.current && cancelAnimationFrame(d.current);
2075
- return;
2076
- }
2077
- a.current = Date.now() - i.current;
2078
- const u = () => {
2079
- const p = Date.now() - a.current;
2080
- i.current = p;
2081
- const h = Math.max(0, 100 - p / o * 100);
2082
- if (c(h), p >= o) {
2083
- r();
2084
- return;
2085
- }
2086
- d.current = requestAnimationFrame(u);
2087
- };
2088
- return d.current = requestAnimationFrame(u), () => {
2089
- d.current && cancelAnimationFrame(d.current);
2090
- };
2091
- }, [e, t, r, o, n]), l;
2092
- }
2093
- const ae = h1({}), g1 = h1({
2094
- mode: ie.Light,
2095
- setMode: () => {
2096
- }
2097
- }), Z0 = ({
2098
- children: e,
2099
- injectedMode: t
2100
- }) => {
2101
- const [r, n] = L(ie.Light);
2102
- P(() => {
2103
- r && typeof r == "string" && (document.body.classList.remove(ie.Light, ie.Dark), document.body.classList.add(r));
2104
- }, [r]), P(() => {
2105
- t && typeof t == "string" && (document.body.classList.remove(ie.Light, ie.Dark), document.body.classList.add(t));
2106
- }, [t]);
2107
- const o = _1(() => ({ mode: r, setMode: n }), [r]);
2108
- return /* @__PURE__ */ s.jsx(g1.Provider, { value: o, children: e });
2109
- }, _e = (e) => {
2110
- const { resetSignal: t } = le(ae);
2111
- P(() => {
2112
- t && e();
2113
- }, [t, e]);
2114
- }, J0 = () => le(g1), Qn = ({
2115
- wrapperRef: e,
2116
- tooltipRef: t,
2117
- isOpened: r,
2118
- spacing: n = 4
2119
- }) => {
2120
- const [o, l] = L({ top: 0, left: 0 }), { width: c, height: a } = Gn({
2121
- ref: t,
2122
- isVisible: r
2123
- });
2124
- return P(() => {
2125
- if (!r || !(e != null && e.current))
2126
- return;
2127
- const i = () => {
2128
- var _;
2129
- const u = (_ = e.current) == null ? void 0 : _.getBoundingClientRect();
2130
- if (!u) return;
2131
- let p = Math.round(u.bottom + n), h = Math.round(u.left);
2132
- p + a > window.innerHeight && (p = Math.round(u.top - a - n)), h + c > window.innerWidth && (h = Math.round(window.innerWidth - c - n)), h < 0 && (h = n), l({ top: p, left: h });
2133
- };
2134
- i();
2135
- const d = new ResizeObserver(i);
2136
- return d.observe(document.documentElement), () => {
2137
- d.disconnect();
2138
- };
2139
- }, [r, e, a, c, n]), o;
2140
- };
2141
- function n1() {
2142
- const { innerWidth: e, innerHeight: t } = globalThis;
2143
- return { width: e, height: t };
2144
- }
2145
- function X0() {
2146
- const [e, t] = L(n1());
2147
- return P(() => {
2148
- function r() {
2149
- t(n1());
2150
- }
2151
- return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
2152
- }, []), e;
2153
- }
2154
- const er = ({ id: e, autoClose: t, autoCloseDelay: r }) => {
2155
- const [n, o] = L(!1), l = R(null), c = R(null), { top: a, left: i } = Qn({ wrapperRef: l, tooltipRef: c, isOpened: n }), { elementId: d } = se(e), u = () => o(!1), p = () => o(!0), h = () => o(!n), _ = (f) => {
2156
- f.preventDefault(), h();
2157
- };
2158
- return Ne({ keyCode: "Escape", ref: c, onKeyPress: u }), Te({
2159
- ref: c,
2160
- onClickOutsideHandler: u,
2161
- dependentRef: l
2162
- }), Un({
2163
- isOpened: n,
2164
- onClose: u,
2165
- autoClose: t,
2166
- autoCloseDelay: r
2167
- }), {
2168
- elementId: d,
2169
- openTooltip: p,
2170
- closeTooltip: u,
2171
- toggleTooltip: h,
2172
- handleContextMenu: _,
2173
- top: a,
2174
- left: i,
2175
- isOpened: n,
2176
- wrapperRef: l,
2177
- tooltipRef: c
2178
- };
2179
- }, tr = "_tooltip_xbsir_50", nr = {
2180
- tooltip: tr
2181
- }, rr = (u) => {
2182
- var p = u, {
2183
- children: e,
2184
- tooltipContent: t,
2185
- id: r,
2186
- style: n,
2187
- className: o,
2188
- containerTag: l = x1.Span,
2189
- visibleOn: c = "hover",
2190
- autoClose: a = !1,
2191
- autoCloseDelay: i = 3e3
2192
- } = p, d = g(p, [
2193
- "children",
2194
- "tooltipContent",
2195
- "id",
2196
- "style",
2197
- "className",
2198
- "containerTag",
2199
- "visibleOn",
2200
- "autoClose",
2201
- "autoCloseDelay"
2202
- ]);
2203
- const h = l, {
2204
- openTooltip: _,
2205
- closeTooltip: f,
2206
- toggleTooltip: v,
2207
- handleContextMenu: m,
2208
- elementId: j,
2209
- top: k,
2210
- left: I,
2211
- isOpened: y,
2212
- wrapperRef: M,
2213
- tooltipRef: A
2214
- } = er({ id: r, autoClose: a, autoCloseDelay: i }), B = E([nr.tooltip, o]);
2215
- return /* @__PURE__ */ s.jsxs(
2216
- h,
2217
- {
2218
- style: { position: "relative", cursor: "pointer" },
2219
- onClick: c === "click" ? v : void 0,
2220
- onMouseOver: c === "hover" ? _ : void 0,
2221
- onMouseLeave: c === "hover" ? f : void 0,
2222
- onFocus: c === "focus" ? _ : void 0,
2223
- onBlur: c === "focus" ? f : void 0,
2224
- onContextMenu: c === "contextmenu" ? ($) => m($) : void 0,
2225
- tabIndex: -1,
2226
- ref: M,
2227
- "aria-describedby": j,
2228
- children: [
2229
- e,
2230
- y && /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx(
2231
- "div",
2232
- b(w({
2233
- style: b(w({}, n), { top: k, left: I }),
2234
- ref: A,
2235
- role: "tooltip",
2236
- id: j
2237
- }, d), {
2238
- className: B,
2239
- children: t
2240
- })
2241
- ) })
2242
- ]
2243
- }
2244
- );
2245
- }, sr = "_accordion_b776v_1", or = {
2246
- accordion: sr
2247
- }, cr = "_details_6n14v_2", lr = "_details_summary_6n14v_6", ar = "_details_content_6n14v_44", ir = "_details_icon_6n14v_67", Ie = {
2248
- details: cr,
2249
- details_summary: lr,
2250
- details_content: ar,
2251
- details_icon: ir
2252
- }, dr = ({ summary: e, children: t }) => /* @__PURE__ */ s.jsxs("details", { className: Ie.details, children: [
2253
- /* @__PURE__ */ s.jsxs("summary", { className: Ie.details_summary, children: [
2254
- e,
2255
- /* @__PURE__ */ s.jsx(
2256
- Y,
2257
- {
2258
- name: C.ChevronDown,
2259
- className: Ie.details_icon,
2260
- "aria-label": "Toggle Details",
2261
- testId: "accordion-icon"
2262
- }
2263
- )
2264
- ] }),
2265
- /* @__PURE__ */ s.jsx("div", { className: Ie.details_content, children: t })
2266
- ] }), Q0 = ({ items: e, className: t }) => {
2267
- const r = E([or.accordion, t]);
2268
- return /* @__PURE__ */ s.jsx("div", { className: r, children: e.map((n) => /* @__PURE__ */ s.jsx(dr, w({}, n), n.summary)) });
2269
- };
2270
- function ur(e, t) {
2271
- if (t) return t;
2272
- switch (e) {
2273
- case Q.Info:
2274
- return "For your information";
2275
- case Q.Warning:
2276
- return "Please pay attention";
2277
- case Q.Error:
2278
- return "Something went wrong";
2279
- case Q.Success:
2280
- return "Everything is okay";
2281
- case Q.Help:
2282
- return "Useful tip";
2283
- default:
2284
- return "Alert";
2285
- }
2286
- }
2287
- function hr(e, t) {
2288
- if (t)
2289
- return t;
2290
- switch (e) {
2291
- case Q.Info:
2292
- return C.Info;
2293
- case Q.Warning:
2294
- return C.Warning;
2295
- case Q.Error:
2296
- return C.Error;
2297
- case Q.Success:
2298
- return C.CheckboxChecked;
2299
- case Q.Help:
2300
- return C.Help;
2301
- default:
2302
- return;
2303
- }
2304
- }
2305
- const _r = "_wrapper_1umrr_50", xr = "_wrapper__closing_1umrr_74", fr = "_content_1umrr_80", pr = "_content_button_1umrr_109", wr = "_progress_1umrr_115", we = {
2306
- wrapper: _r,
2307
- wrapper__closing: xr,
2308
- content: fr,
2309
- content_button: pr,
2310
- progress: wr
2311
- }, mr = ({ remainingPercentage: e }) => /* @__PURE__ */ s.jsx(
2312
- "progress",
2313
- {
2314
- className: we.progress,
2315
- value: e,
2316
- max: 100,
2317
- style: { width: "100%" }
2318
- }
2319
- ), e2 = (d) => {
2320
- var u = d, {
2321
- isOpened: e,
2322
- onClose: t,
2323
- title: r,
2324
- message: n,
2325
- mode: o = Q.Info,
2326
- icon: l,
2327
- autoClose: c = !1,
2328
- autoCloseDelay: a = 3e3
2329
- } = u, i = g(u, [
2330
- "isOpened",
2331
- "onClose",
2332
- "title",
2333
- "message",
2334
- "mode",
2335
- "icon",
2336
- "autoClose",
2337
- "autoCloseDelay"
2338
- ]);
2339
- const p = b1(e), h = p && !e, _ = R(null), f = Zn(_, p), v = !c, m = Xn({
2340
- isOpened: p,
2341
- isHovered: f,
2342
- onClose: t,
2343
- autoCloseDelay: a
2344
- });
2345
- if (!p) return null;
2346
- const j = ur(o, r), k = hr(o, l);
2347
- return /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx(
2348
- "div",
2349
- {
2350
- ref: _,
2351
- className: E([we.wrapper, { [we.wrapper__closing]: h }]),
2352
- children: /* @__PURE__ */ s.jsxs("div", b(w({}, i), { className: we.content, children: [
2353
- v && /* @__PURE__ */ s.jsx(
2354
- K,
2355
- {
2356
- icon: C.Cancel,
2357
- view: H.Icon,
2358
- label: "Close alert",
2359
- onClick: t,
2360
- className: we.content_button
2361
- }
2362
- ),
2363
- /* @__PURE__ */ s.jsx("header", { children: /* @__PURE__ */ s.jsx(p1, { icon: k, as: "h3", children: j }) }),
2364
- /* @__PURE__ */ s.jsx("p", { children: n }),
2365
- c && /* @__PURE__ */ s.jsx(mr, { remainingPercentage: m })
2366
- ] }))
2367
- }
2368
- ) });
2369
- }, Cr = "_breadcrumbs_list_9goww_2", vr = "_breadcrumbs_item_9goww_11", br = "_breadcrumbs_text_9goww_15", Le = {
2370
- breadcrumbs_list: Cr,
2371
- breadcrumbs_item: vr,
2372
- breadcrumbs_text: br
2373
- }, gr = ({ item: e, isLastItem: t }) => {
2374
- var n;
2375
- const r = !!e.link && !t;
2376
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2377
- /* @__PURE__ */ s.jsx("li", { className: Le.breadcrumbs_item, children: r ? /* @__PURE__ */ s.jsx(En, { href: (n = e == null ? void 0 : e.link) != null ? n : "", icon: e.icon, iconPosition: "left", children: e.label }) : /* @__PURE__ */ s.jsxs("span", { "aria-current": t ? "page" : void 0, className: Le.breadcrumbs_text, children: [
2378
- e.icon && /* @__PURE__ */ s.jsx(Y, { name: e.icon, hidden: !0 }),
2379
- e.label
2380
- ] }) }),
2381
- !t && /* @__PURE__ */ s.jsx(Y, { name: C.ChevronRight, hidden: !0 })
2382
- ] });
2383
- }, jr = ({ items: e }) => /* @__PURE__ */ s.jsx("ol", { className: Le.breadcrumbs_list, children: e.map((t, r) => /* @__PURE__ */ s.jsx(gr, { item: t, isLastItem: r === e.length - 1 }, t.label)) }), t2 = (a) => {
2384
- var i = a, {
2385
- items: e,
2386
- className: t,
2387
- id: r,
2388
- style: n,
2389
- tabIndex: o,
2390
- title: l
2391
- } = i, c = g(i, [
2392
- "items",
2393
- "className",
2394
- "id",
2395
- "style",
2396
- "tabIndex",
2397
- "title"
2398
- ]);
2399
- const d = E([Le.breadcrumbs, t]);
2400
- return !e || e.length === 0 ? null : /* @__PURE__ */ s.jsx(
2401
- "nav",
2402
- b(w({
2403
- "aria-label": "Breadcrumb",
2404
- className: d,
2405
- id: r,
2406
- style: n,
2407
- tabIndex: o,
2408
- title: l
2409
- }, c), {
2410
- children: /* @__PURE__ */ s.jsx(jr, { items: e })
2411
- })
2412
- );
2413
- };
2414
- function kr({
2415
- defaultChecked: e,
2416
- initialValues: t,
2417
- name: r
2418
- }) {
2419
- return (t == null ? void 0 : t[r]) !== void 0 ? !!(t != null && t[r]) : !!e;
2420
- }
2421
- function yr({
2422
- name: e,
2423
- defaultChecked: t,
2424
- onChange: r
2425
- }) {
2426
- const { onChangeFormInput: n, initialValues: o } = le(ae), l = kr({ initialValues: o, name: e, defaultChecked: t }), [c, a] = L(l), i = R(n), d = R(l);
2427
- i.current = n, d.current = l;
2428
- const u = (h) => {
2429
- const _ = h.target.checked;
2430
- a(_), r == null || r(h), n == null || n({ name: e, value: _ });
2431
- }, p = G(() => {
2432
- var h;
2433
- a(d.current), (h = i.current) == null || h.call(i, { name: e, value: d.current });
2434
- }, [e]);
2435
- return _e(p), {
2436
- handleChange: u,
2437
- checked: c
2438
- };
2439
- }
2440
- const Ir = "_checkbox_k4fcu_3", Mr = "_checkbox__checked_k4fcu_22", Er = "_checkbox__disabled_k4fcu_25", he = {
2441
- checkbox: Ir,
2442
- checkbox__checked: Mr,
2443
- checkbox__disabled: Er
2444
- }, Sr = ({
2445
- name: e,
2446
- label: t,
2447
- disabled: r,
2448
- noLabel: n,
2449
- required: o = !1,
2450
- iconPosition: l = "left",
2451
- defaultChecked: c,
2452
- onChange: a,
2453
- id: i,
2454
- className: d,
2455
- style: u,
2456
- tabIndex: p
2457
- }) => {
2458
- const { handleChange: h, checked: _ } = yr({ name: e, defaultChecked: c, onChange: a }), { elementId: f } = se(i), v = E([
2459
- he.checkbox,
2460
- d,
2461
- {
2462
- [he.checkbox__disabled]: !!r,
2463
- [he.checkbox__checked]: _
2464
- }
2465
- ]);
2466
- return /* @__PURE__ */ s.jsxs("div", { style: u, tabIndex: p, className: v, children: [
2467
- /* @__PURE__ */ s.jsx(
2468
- "input",
2469
- {
2470
- id: f,
2471
- name: e,
2472
- type: "checkbox",
2473
- disabled: r,
2474
- required: o,
2475
- checked: _,
2476
- onChange: h,
2477
- "aria-label": n ? t : void 0
2478
- }
2479
- ),
2480
- /* @__PURE__ */ s.jsx(
2481
- ne,
2482
- {
2483
- label: t,
2484
- required: o,
2485
- inputId: f,
2486
- isTextHidden: n,
2487
- icon: _ ? C.CheckboxChecked : C.CheckboxUnchecked,
2488
- iconPosition: l
2489
- }
2490
- )
2491
- ] });
2492
- }, Lr = ({
2493
- name: e,
2494
- label: t,
2495
- disabled: r,
2496
- noLabel: n,
2497
- required: o = !1,
2498
- iconPosition: l = "left",
2499
- checked: c,
2500
- onChange: a,
2501
- id: i,
2502
- className: d,
2503
- style: u,
2504
- tabIndex: p
2505
- }) => {
2506
- const h = i != null ? i : `checkbox-${e}`, _ = E([
2507
- he.checkbox,
2508
- d,
2509
- {
2510
- [he.checkbox__disabled]: !!r,
2511
- [he.checkbox__checked]: c
2512
- }
2513
- ]);
2514
- return /* @__PURE__ */ s.jsxs("div", { style: u, tabIndex: p, className: _, children: [
2515
- /* @__PURE__ */ s.jsx(
2516
- "input",
2517
- {
2518
- id: h,
2519
- name: e,
2520
- type: "checkbox",
2521
- disabled: r,
2522
- required: o,
2523
- checked: c != null ? c : !1,
2524
- onChange: a,
2525
- "aria-label": n ? t : void 0
2526
- }
2527
- ),
2528
- /* @__PURE__ */ s.jsx(
2529
- ne,
2530
- {
2531
- label: t,
2532
- required: o,
2533
- inputId: h,
2534
- isTextHidden: n,
2535
- icon: c ? C.CheckboxChecked : C.CheckboxUnchecked,
2536
- iconPosition: l
2537
- }
2538
- )
2539
- ] });
2540
- }, n2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(Lr, w({}, e)) : /* @__PURE__ */ s.jsx(Sr, w({}, e)), Ar = "_wrapper_z3grr_1", j1 = {
2541
- wrapper: Ar
2542
- }, Rr = "_combobox_7bfwf_3", k1 = {
2543
- combobox: Rr
2544
- }, Br = ({ values: e, placeholder: t }) => {
2545
- const r = e ? e.filter((c) => c.selected).map((c) => c.label) : [], n = r.length !== 0 && r.length === (e == null ? void 0 : e.length), o = r.length === 1, l = r.length > 1;
2546
- return n ? /* @__PURE__ */ s.jsx("span", { children: "All items selected" }) : o ? /* @__PURE__ */ s.jsx("span", { children: r[0] }) : l ? /* @__PURE__ */ s.jsx("span", { children: `${r.length} items selected` }) : /* @__PURE__ */ s.jsx("span", { children: t });
2547
- }, $r = ({
2548
- opened: e,
2549
- onClick: t,
2550
- comboboxId: r,
2551
- dropdownId: n,
2552
- name: o,
2553
- placeholder: l,
2554
- disabled: c,
2555
- required: a,
2556
- values: i
2557
- }) => {
2558
- const d = i == null ? void 0 : i.filter((u) => u.selected).map((u) => u.id);
2559
- return /* @__PURE__ */ s.jsxs(
2560
- "button",
2561
- {
2562
- type: "button",
2563
- name: o,
2564
- value: d,
2565
- role: "combobox",
2566
- "aria-haspopup": "listbox",
2567
- "aria-expanded": e,
2568
- "aria-controls": n,
2569
- id: r,
2570
- onClick: t,
2571
- disabled: c,
2572
- "aria-required": a,
2573
- className: k1.combobox,
2574
- children: [
2575
- /* @__PURE__ */ s.jsx(Br, { values: i, placeholder: l }),
2576
- e ? /* @__PURE__ */ s.jsx(qe, {}) : /* @__PURE__ */ s.jsx(Oe, {})
2577
- ]
2578
- }
2579
- );
2580
- };
2581
- function Tr({
2582
- name: e,
2583
- options: t,
2584
- initialValues: r,
2585
- defaultValue: n
2586
- }) {
2587
- return t.map((o) => {
2588
- let l = !1;
2589
- return r != null && r[e] && Array.isArray(r[e]) && r[e].find(
2590
- (a) => a === o.id || (a == null ? void 0 : a.id) === o.id
2591
- ) && (l = !0), !(r != null && r[e]) && Array.isArray(n) && n.find((a) => a === o.id) && (l = !0), b(w({}, o), { selected: l });
2592
- });
2593
- }
2594
- const r1 = (e) => e.filter((t) => t.selected).map((t) => t.id), Nr = (e, t) => {
2595
- const r = e.find((n) => n.id === t);
2596
- return e.map((n) => n.id === t ? b(w({}, n), { selected: !(r != null && r.selected) }) : n);
2597
- };
2598
- function zr({
2599
- name: e,
2600
- defaultValue: t,
2601
- onChange: r,
2602
- options: n
2603
- }) {
2604
- const [o, l] = L(!1), { onChangeFormInput: c, initialValues: a } = le(ae), i = Tr({
2605
- name: e,
2606
- options: n,
2607
- initialValues: a,
2608
- defaultValue: t
2609
- }), [d, u] = L(i), p = R(c), h = R(i);
2610
- p.current = c, h.current = i;
2611
- const _ = () => l(!1), f = () => l(!o), v = (j) => {
2612
- const k = Nr(d, j);
2613
- u(k), r == null || r(k), c == null || c({ name: e, value: r1(k) });
2614
- }, m = G(() => {
2615
- var j;
2616
- l(!1), u(h.current), (j = p.current) == null || j.call(p, {
2617
- name: e,
2618
- value: r1(h.current)
2619
- });
2620
- }, [e]);
2621
- return _e(m), {
2622
- handleClose: _,
2623
- handleToggle: f,
2624
- handleSelect: v,
2625
- opened: o,
2626
- values: d
2627
- };
2628
- }
2629
- const Dr = "_dropdown_jmnrj_2", Hr = "_dropdown__opened_jmnrj_33", Ae = {
2630
- dropdown: Dr,
2631
- dropdown__opened: Hr
2632
- }, Pr = "_option_1b164_2", Vr = "_option__selected_1b164_40", Or = "_option__multi_1b164_43", me = {
2633
- option: Pr,
2634
- option__selected: Vr,
2635
- option__multi: Or
2636
- }, qr = ({ value: e, onSelect: t }) => {
2637
- const { id: r, label: n, selected: o } = e, l = E([
2638
- me.option,
2639
- me.option__multi,
2640
- { [me.option__selected]: o }
2641
- ]), c = (a) => (i) => {
2642
- switch (i.key) {
2643
- case " ":
2644
- case "SpaceBar":
2645
- case "Enter":
2646
- i.preventDefault(), t(a);
2647
- break;
2648
- }
2649
- };
2650
- return /* @__PURE__ */ s.jsxs(
2651
- "li",
2652
- {
2653
- id: r,
2654
- role: "option",
2655
- "aria-selected": o,
2656
- tabIndex: 0,
2657
- onKeyDown: c(r),
2658
- onClick: () => t(r),
2659
- className: l,
2660
- children: [
2661
- o ? /* @__PURE__ */ s.jsx(w1, {}) : /* @__PURE__ */ s.jsx(m1, {}),
2662
- /* @__PURE__ */ s.jsx("span", { children: n })
2663
- ]
2664
- }
2665
- );
2666
- }, Wr = ({
2667
- options: e,
2668
- opened: t,
2669
- onClose: r,
2670
- onSelect: n,
2671
- dropdownId: o
2672
- }) => {
2673
- const l = E([Ae.dropdown, { [Ae.dropdown__opened]: t }]);
2674
- return /* @__PURE__ */ s.jsx(
2675
- "ul",
2676
- {
2677
- role: "listbox",
2678
- id: o,
2679
- tabIndex: -1,
2680
- onKeyDown: (c) => f1({ e: c, options: e, onClose: r }),
2681
- className: l,
2682
- children: e.map((c) => /* @__PURE__ */ s.jsx(qr, { value: c, onSelect: () => n(c.id) }, c.id))
2683
- }
2684
- );
2685
- }, r2 = (p) => {
2686
- var h = p, {
2687
- options: e,
2688
- name: t,
2689
- label: r,
2690
- required: n = !1,
2691
- placeholder: o = "Not selected",
2692
- disabled: l = !1,
2693
- onChange: c,
2694
- defaultValue: a,
2695
- id: i,
2696
- className: d
2697
- } = h, u = g(h, [
2698
- "options",
2699
- "name",
2700
- "label",
2701
- "required",
2702
- "placeholder",
2703
- "disabled",
2704
- "onChange",
2705
- "defaultValue",
2706
- "id",
2707
- "className"
2708
- ]);
2709
- const _ = R(null), { elementId: f, dropdownId: v } = se(i), { handleClose: m, handleSelect: j, handleToggle: k, opened: I, values: y } = zr({
2710
- name: t,
2711
- options: e,
2712
- defaultValue: a,
2713
- onChange: c
2714
- }), M = E([j1.wrapper, d]);
2715
- return Te({ ref: _, onClickOutsideHandler: m }), Ne({ keyCode: "Escape", ref: _, onKeyPress: m }), /* @__PURE__ */ s.jsxs("div", b(w({ ref: _ }, u), { className: M, children: [
2716
- /* @__PURE__ */ s.jsx(ne, { label: r, required: n, inputId: f }),
2717
- /* @__PURE__ */ s.jsx(
2718
- $r,
2719
- {
2720
- name: t,
2721
- opened: I,
2722
- comboboxId: f,
2723
- dropdownId: v,
2724
- onClick: k,
2725
- values: y,
2726
- placeholder: o,
2727
- disabled: l,
2728
- required: n
2729
- }
2730
- ),
2731
- /* @__PURE__ */ s.jsx(
2732
- Wr,
2733
- {
2734
- options: y,
2735
- opened: I,
2736
- onClose: m,
2737
- dropdownId: v,
2738
- onSelect: j
2739
- }
2740
- )
2741
- ] }));
2742
- };
2743
- function Fr({
2744
- name: e,
2745
- initialValues: t,
2746
- defaultValue: r
2747
- }) {
2748
- return t != null && t[e] ? Number(t[e]) : r && typeof r == "number" ? r : 0;
2749
- }
2750
- function Kr({
2751
- value: e,
2752
- required: t,
2753
- validator: r,
2754
- maxValue: n,
2755
- minValue: o
2756
- }) {
2757
- return t && !r && e === void 0 ? !1 : r && typeof r == "function" ? r(e) : n && o && e && !r ? e <= n && e >= o : !0;
2758
- }
2759
- function Ur({
2760
- name: e,
2761
- defaultValue: t,
2762
- onChange: r,
2763
- onDecrement: n,
2764
- onIncrement: o,
2765
- min: l,
2766
- max: c,
2767
- step: a,
2768
- required: i,
2769
- validator: d
2770
- }) {
2771
- const { onChangeFormInput: u, initialValues: p } = le(ae), h = Fr({ initialValues: p, defaultValue: t, name: e }), _ = c ? Number(c) : Number.MAX_SAFE_INTEGER, f = l ? Number(l) : Number.MIN_SAFE_INTEGER, [v, m] = L(h), [j, k] = L(!0), I = R(u), y = R(h);
2772
- I.current = u, y.current = h;
2773
- const M = (z) => {
2774
- m(z);
2775
- const T = Kr({ value: z, required: i, validator: d, maxValue: _, minValue: f });
2776
- k(T), u == null || u({ name: e, value: z, valid: T });
2777
- }, A = (z) => {
2778
- const T = Number(z.target.value);
2779
- M(T), r == null || r(z);
2780
- }, B = () => {
2781
- M(v + a), o == null || o();
2782
- }, $ = () => {
2783
- M(v - a), n == null || n();
2784
- }, W = G(() => {
2785
- var z;
2786
- m(y.current), k(!0), (z = I.current) == null || z.call(I, { name: e, value: y.current, valid: !0 });
2787
- }, [e]);
2788
- return _e(W), {
2789
- handleChange: A,
2790
- value: v,
2791
- valid: j,
2792
- minValue: f,
2793
- maxValue: _,
2794
- handleIncrement: B,
2795
- handleDecrement: $
2796
- };
2797
- }
2798
- const Gr = "_numeric_7tim7_3", Yr = "_errorMessage_7tim7_10", Re = {
2799
- numeric: Gr,
2800
- errorMessage: Yr
2801
- }, Zr = ({
2802
- name: e,
2803
- label: t,
2804
- errorMessage: r,
2805
- onChange: n,
2806
- onBlur: o,
2807
- onFocus: l,
2808
- onIncrement: c,
2809
- onDecrement: a,
2810
- validator: i,
2811
- min: d,
2812
- max: u,
2813
- id: p,
2814
- tabIndex: h,
2815
- disabled: _ = !1,
2816
- required: f = !1,
2817
- readOnly: v = !1,
2818
- hasSpinButtons: m = !0,
2819
- defaultValue: j = 0,
2820
- step: k = 1,
2821
- className: I,
2822
- style: y
2823
- }) => {
2824
- const { elementId: M, errorId: A } = se(p), { value: B, valid: $, handleChange: W, handleDecrement: z, handleIncrement: T, minValue: F, maxValue: V } = Ur({
2825
- name: e,
2826
- defaultValue: j,
2827
- min: d,
2828
- max: u,
2829
- onChange: n,
2830
- required: f,
2831
- validator: i,
2832
- step: k,
2833
- onDecrement: a,
2834
- onIncrement: c
2835
- }), J = E([Re.numeric, I]);
2836
- return /* @__PURE__ */ s.jsxs("div", { style: y, className: J, children: [
2837
- /* @__PURE__ */ s.jsx(ne, { label: t, required: f, inputId: M }),
2838
- /* @__PURE__ */ s.jsxs(
2839
- Ce,
2840
- {
2841
- id: M,
2842
- name: e,
2843
- type: "number",
2844
- disabled: _,
2845
- required: f,
2846
- readOnly: v,
2847
- placeholder: "0",
2848
- "aria-invalid": !$,
2849
- "aria-errormessage": A,
2850
- value: B.toString(),
2851
- onChange: W,
2852
- min: F,
2853
- max: V,
2854
- step: k,
2855
- onBlur: o,
2856
- onFocus: l,
2857
- tabIndex: h,
2858
- children: [
2859
- m && /* @__PURE__ */ s.jsxs("span", { children: [
2860
- /* @__PURE__ */ s.jsx(
2861
- K,
2862
- {
2863
- onClick: z,
2864
- view: H.Inner,
2865
- label: `Decrement value for ${t}`,
2866
- icon: C.ChevronLeft,
2867
- disabled: _
2868
- }
2869
- ),
2870
- /* @__PURE__ */ s.jsx(
2871
- K,
2872
- {
2873
- onClick: T,
2874
- view: H.Inner,
2875
- label: `Increment value for ${t}`,
2876
- icon: C.ChevronRight,
2877
- disabled: _
2878
- }
2879
- )
2880
- ] }),
2881
- /* @__PURE__ */ s.jsx(
2882
- $e,
2883
- {
2884
- errorId: A,
2885
- message: r,
2886
- visible: !$,
2887
- className: Re.errorMessage
2888
- }
2889
- )
2890
- ]
2891
- }
2892
- )
2893
- ] });
2894
- }, Jr = ({
2895
- name: e,
2896
- label: t,
2897
- errorMessage: r,
2898
- onChange: n,
2899
- onBlur: o,
2900
- onFocus: l,
2901
- onIncrement: c,
2902
- onDecrement: a,
2903
- min: i,
2904
- max: d,
2905
- id: u,
2906
- tabIndex: p,
2907
- disabled: h = !1,
2908
- required: _ = !1,
2909
- readOnly: f = !1,
2910
- hasSpinButtons: v = !0,
2911
- step: m = 1,
2912
- className: j,
2913
- value: k,
2914
- defaultValue: I,
2915
- style: y
2916
- }) => {
2917
- var $;
2918
- const M = u != null ? u : `numeric-input-${e}`, A = `${e}-error`, B = E([Re.numeric, j]);
2919
- return /* @__PURE__ */ s.jsxs("div", { style: y, className: B, children: [
2920
- /* @__PURE__ */ s.jsx(ne, { label: t, required: _, inputId: M }),
2921
- /* @__PURE__ */ s.jsxs(
2922
- Ce,
2923
- {
2924
- id: M,
2925
- name: e,
2926
- type: "number",
2927
- defaultValue: I,
2928
- disabled: h,
2929
- required: _,
2930
- readOnly: f,
2931
- placeholder: "0",
2932
- "aria-invalid": !!r,
2933
- "aria-errormessage": A,
2934
- value: ($ = k == null ? void 0 : k.toString()) != null ? $ : "",
2935
- onChange: n,
2936
- min: i,
2937
- max: d,
2938
- step: m,
2939
- onBlur: o,
2940
- onFocus: l,
2941
- tabIndex: p,
2942
- children: [
2943
- v && /* @__PURE__ */ s.jsxs("span", { children: [
2944
- /* @__PURE__ */ s.jsx(
2945
- K,
2946
- {
2947
- onClick: a,
2948
- view: H.Inner,
2949
- label: `Decrement value for ${t}`,
2950
- icon: C.ChevronLeft,
2951
- disabled: h
2952
- }
2953
- ),
2954
- /* @__PURE__ */ s.jsx(
2955
- K,
2956
- {
2957
- onClick: c,
2958
- view: H.Inner,
2959
- label: `Increment value for ${t}`,
2960
- icon: C.ChevronRight,
2961
- disabled: h
2962
- }
2963
- )
2964
- ] }),
2965
- /* @__PURE__ */ s.jsx(
2966
- $e,
2967
- {
2968
- errorId: A,
2969
- message: r,
2970
- visible: !!r,
2971
- className: Re.errorMessage
2972
- }
2973
- )
2974
- ]
2975
- }
2976
- )
2977
- ] });
2978
- }, s2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(Jr, w({}, e)) : /* @__PURE__ */ s.jsx(Zr, w({}, e));
2979
- function Xr({
2980
- onSearch: e,
2981
- onClear: t,
2982
- maxLength: r = 50,
2983
- minLength: n = 1,
2984
- searchMode: o = "automatic",
2985
- debounceDelay: l = 500
2986
- }) {
2987
- const [c, a] = L(""), i = o === "manual", d = !i, u = c.length > 0, p = c.length >= n && c.trim().length > 0 && c.length <= r, h = Yn(c, l), _ = R(e), f = R(o), v = R(p);
2988
- _.current = e, f.current = o, v.current = p, P(() => {
2989
- var y;
2990
- h.trim().length > 0 && f.current === "automatic" && v.current && ((y = _.current) == null || y.call(_, h));
2991
- }, [h]);
2992
- const m = G((y) => {
2993
- const M = y.target.value;
2994
- a(M);
2995
- }, []), j = G(() => {
2996
- a(""), t == null || t();
2997
- }, [t]), k = G(() => {
2998
- var y;
2999
- (y = _.current) == null || y.call(_, c);
3000
- }, [c]), I = G(
3001
- (y) => {
3002
- y.key === "Enter" ? (y.preventDefault(), _.current && _.current(c)) : y.key === "Escape" && (y.preventDefault(), j());
3003
- },
3004
- [j, c]
3005
- );
3006
- return {
3007
- searchValue: c,
3008
- isSearchButtonVisible: i,
3009
- isLabelIconVisible: d,
3010
- isClearButtonVisible: u,
3011
- isSearchValueValid: p,
3012
- handleChange: m,
3013
- handleClear: j,
3014
- handleSearchClick: k,
3015
- handleKeyDown: I
3016
- };
3017
- }
3018
- const Qr = "_wrapper_os981_1", es = {
3019
- wrapper: Qr
3020
- }, o2 = (y) => {
3021
- var M = y, {
3022
- label: e,
3023
- onSearch: t,
3024
- onBlur: r,
3025
- onFocus: n,
3026
- onClear: o,
3027
- id: l,
3028
- tabIndex: c,
3029
- className: a,
3030
- maxLength: i = 50,
3031
- minLength: d = 1,
3032
- searchMode: u = "automatic",
3033
- name: p = "q",
3034
- placeholder: h = "Type to search...",
3035
- disabled: _ = !1,
3036
- clearable: f = !0,
3037
- spellCheck: v = !1,
3038
- autoComplete: m = "off",
3039
- debounceDelay: j = 500,
3040
- required: k
3041
- } = M, I = g(M, [
3042
- "label",
3043
- "onSearch",
3044
- "onBlur",
3045
- "onFocus",
3046
- "onClear",
3047
- "id",
3048
- "tabIndex",
3049
- "className",
3050
- "maxLength",
3051
- "minLength",
3052
- "searchMode",
3053
- "name",
3054
- "placeholder",
3055
- "disabled",
3056
- "clearable",
3057
- "spellCheck",
3058
- "autoComplete",
3059
- "debounceDelay",
3060
- "required"
3061
- ]);
3062
- const { elementId: A } = se(l), B = R(null), $ = E([es.wrapper, a]), {
3063
- searchValue: W,
3064
- isSearchButtonVisible: z,
3065
- isLabelIconVisible: T,
3066
- isClearButtonVisible: F,
3067
- isSearchValueValid: V,
3068
- handleChange: J,
3069
- handleClear: N,
3070
- handleSearchClick: Z,
3071
- handleKeyDown: U
3072
- } = Xr({
3073
- onSearch: t,
3074
- onClear: o,
3075
- maxLength: i,
3076
- minLength: d,
3077
- searchMode: u,
3078
- debounceDelay: j
3079
- }), X = () => {
3080
- N(), B.current && B.current.focus();
3081
- };
3082
- return /* @__PURE__ */ s.jsxs("div", b(w({}, I), { className: $, children: [
3083
- /* @__PURE__ */ s.jsx(
3084
- ne,
3085
- {
3086
- label: e,
3087
- required: !!k,
3088
- inputId: A,
3089
- icon: T ? C.Search : void 0,
3090
- iconPosition: T ? "left" : void 0
3091
- }
3092
- ),
3093
- /* @__PURE__ */ s.jsx(
3094
- Ce,
3095
- {
3096
- ref: B,
3097
- id: A,
3098
- name: p,
3099
- type: "search",
3100
- value: W,
3101
- onChange: J,
3102
- onKeyDown: U,
3103
- onBlur: r,
3104
- onFocus: n,
3105
- disabled: _,
3106
- placeholder: h,
3107
- autoComplete: m,
3108
- maxLength: i,
3109
- minLength: d,
3110
- spellCheck: v,
3111
- tabIndex: c,
3112
- required: k,
3113
- children: /* @__PURE__ */ s.jsxs("span", { children: [
3114
- f && F && /* @__PURE__ */ s.jsx(
3115
- K,
3116
- {
3117
- view: H.Inner,
3118
- onClick: X,
3119
- label: `Clear search input for ${e}`,
3120
- icon: C.Remove
3121
- }
3122
- ),
3123
- z && /* @__PURE__ */ s.jsx(
3124
- K,
3125
- {
3126
- view: H.Inner,
3127
- onClick: Z,
3128
- label: "Perform search",
3129
- icon: C.Search,
3130
- disabled: _ || !V
3131
- }
3132
- )
3133
- ] })
3134
- }
3135
- )
3136
- ] }));
3137
- }, ts = ({
3138
- opened: e,
3139
- onClick: t,
3140
- comboboxId: r,
3141
- dropdownId: n,
3142
- selected: o,
3143
- name: l,
3144
- placeholder: c,
3145
- disabled: a,
3146
- required: i
3147
- }) => /* @__PURE__ */ s.jsxs(
3148
- "button",
3149
- {
3150
- type: "button",
3151
- name: l,
3152
- value: o == null ? void 0 : o.id,
3153
- role: "combobox",
3154
- "aria-haspopup": "listbox",
3155
- "aria-expanded": e,
3156
- "aria-controls": n,
3157
- id: r,
3158
- onClick: t,
3159
- disabled: a,
3160
- "aria-required": i,
3161
- className: k1.combobox,
3162
- children: [
3163
- o != null && o.label ? /* @__PURE__ */ s.jsx("span", { children: o == null ? void 0 : o.label }) : /* @__PURE__ */ s.jsx("span", { children: c }),
3164
- e ? /* @__PURE__ */ s.jsx(qe, {}) : /* @__PURE__ */ s.jsx(Oe, {})
3165
- ]
3166
- }
3167
- ), ns = ({ value: e, selected: t, onSelect: r, onClear: n }) => {
3168
- const { id: o, label: l } = e, c = E([me.option, { [me.option__selected]: t }]), a = (d) => {
3169
- t ? n() : r(d);
3170
- }, i = (d) => (u) => {
3171
- switch (u.key) {
3172
- case " ":
3173
- case "SpaceBar":
3174
- case "Enter":
3175
- u.preventDefault(), a(d);
3176
- break;
3177
- }
3178
- };
3179
- return /* @__PURE__ */ s.jsxs(
3180
- "li",
3181
- {
3182
- id: o,
3183
- role: "option",
3184
- "aria-selected": t,
3185
- tabIndex: 0,
3186
- onKeyDown: i(o),
3187
- onClick: () => a(o),
3188
- className: c,
3189
- children: [
3190
- /* @__PURE__ */ s.jsx("span", { children: l }),
3191
- t && /* @__PURE__ */ s.jsx(C1, {})
3192
- ]
3193
- }
3194
- );
3195
- }, rs = ({
3196
- options: e,
3197
- opened: t,
3198
- onClose: r,
3199
- onSelect: n,
3200
- dropdownId: o,
3201
- comboboxId: l,
3202
- selected: c,
3203
- onClear: a
3204
- }) => {
3205
- const i = (u) => {
3206
- n(u), r(), Se(l);
3207
- }, d = E([Ae.dropdown, { [Ae.dropdown__opened]: t }]);
3208
- return /* @__PURE__ */ s.jsx(
3209
- "ul",
3210
- {
3211
- role: "listbox",
3212
- id: o,
3213
- tabIndex: -1,
3214
- onKeyDown: (u) => f1({ e: u, options: e, onClose: r }),
3215
- className: d,
3216
- children: e.map((u) => /* @__PURE__ */ s.jsx(
3217
- ns,
3218
- {
3219
- value: u,
3220
- onSelect: () => i(u.id),
3221
- onClear: a,
3222
- selected: u.id === (c == null ? void 0 : c.id)
3223
- },
3224
- u.id
3225
- ))
3226
- }
3227
- );
3228
- };
3229
- function ss({
3230
- name: e,
3231
- options: t,
3232
- initialValues: r,
3233
- defaultValue: n
3234
- }) {
3235
- var l;
3236
- let o;
3237
- if (r && Object.hasOwn(r, e)) {
3238
- const c = r[e];
3239
- o = (l = c == null ? void 0 : c.id) != null ? l : c;
3240
- }
3241
- return !(r != null && r[e]) && n && typeof n == "string" && (o = n), t.find((c) => c.id === o);
3242
- }
3243
- function os({
3244
- name: e,
3245
- defaultValue: t,
3246
- onChange: r,
3247
- options: n
3248
- }) {
3249
- const { onChangeFormInput: o, initialValues: l } = le(ae), c = ss({ name: e, options: n, defaultValue: t, initialValues: l }), [a, i] = L(!1), [d, u] = L(c), p = R(o), h = R(c);
3250
- p.current = o, h.current = c;
3251
- const _ = () => i(!1), f = () => i(!a), v = (k) => {
3252
- const I = n.find((y) => y.id === k);
3253
- u(I), r == null || r(I), o == null || o({ name: e, value: I == null ? void 0 : I.id });
3254
- }, m = () => {
3255
- u(void 0), r == null || r(void 0);
3256
- }, j = G(() => {
3257
- var k, I;
3258
- i(!1), u(h.current), (I = p.current) == null || I.call(p, { name: e, value: (k = h.current) == null ? void 0 : k.id });
3259
- }, [e]);
3260
- return _e(j), {
3261
- selected: d,
3262
- opened: a,
3263
- handleClear: m,
3264
- handleClose: _,
3265
- handleToggle: f,
3266
- handleSelect: v
3267
- };
3268
- }
3269
- const c2 = (p) => {
3270
- var h = p, {
3271
- options: e,
3272
- onChange: t,
3273
- name: r,
3274
- label: n,
3275
- defaultValue: o,
3276
- id: l,
3277
- placeholder: c = "Not selected",
3278
- required: a = !1,
3279
- disabled: i = !1,
3280
- className: d
3281
- } = h, u = g(h, [
3282
- "options",
3283
- "onChange",
3284
- "name",
3285
- "label",
3286
- "defaultValue",
3287
- "id",
3288
- "placeholder",
3289
- "required",
3290
- "disabled",
3291
- "className"
3292
- ]);
3293
- const _ = R(null), { elementId: f, dropdownId: v } = se(l), { handleClear: m, handleClose: j, handleSelect: k, handleToggle: I, selected: y, opened: M } = os({
3294
- options: e,
3295
- onChange: t,
3296
- defaultValue: o,
3297
- name: r
3298
- }), A = E([j1.wrapper, d]);
3299
- return Te({ ref: _, onClickOutsideHandler: j }), Ne({ keyCode: "Escape", ref: _, onKeyPress: j }), /* @__PURE__ */ s.jsxs("div", b(w({ ref: _ }, u), { className: A, children: [
3300
- /* @__PURE__ */ s.jsx(ne, { label: n, required: a, inputId: f }),
3301
- /* @__PURE__ */ s.jsx(
3302
- ts,
3303
- {
3304
- name: r,
3305
- opened: M,
3306
- comboboxId: f,
3307
- dropdownId: v,
3308
- onClick: I,
3309
- selected: y,
3310
- placeholder: c,
3311
- disabled: i,
3312
- required: a
3313
- }
3314
- ),
3315
- /* @__PURE__ */ s.jsx(
3316
- rs,
3317
- {
3318
- options: e,
3319
- selected: y,
3320
- opened: M,
3321
- onClose: j,
3322
- dropdownId: v,
3323
- comboboxId: f,
3324
- onSelect: k,
3325
- onClear: m
3326
- }
3327
- )
3328
- ] }));
3329
- };
3330
- function cs({
3331
- defaultChecked: e,
3332
- initialValues: t,
3333
- name: r
3334
- }) {
3335
- return (t == null ? void 0 : t[r]) !== void 0 ? !!(t != null && t[r]) : !!e;
3336
- }
3337
- function ls({
3338
- name: e,
3339
- defaultChecked: t,
3340
- onChange: r
3341
- }) {
3342
- const { onChangeFormInput: n, initialValues: o } = le(ae), l = cs({ initialValues: o, name: e, defaultChecked: t }), [c, a] = L(l), i = R(n), d = R(l), u = R(r);
3343
- i.current = n, d.current = l, u.current = r;
3344
- const p = G(
3345
- (f) => {
3346
- var v, m;
3347
- a(f), (v = u.current) == null || v.call(u, f), (m = i.current) == null || m.call(i, { name: e, value: f });
3348
- },
3349
- [e]
3350
- ), h = G(
3351
- (f) => {
3352
- (f.key === " " || f.key === "Enter") && (f.preventDefault(), p(!c));
3353
- },
3354
- [c, p]
3355
- ), _ = G(() => {
3356
- var f;
3357
- a(d.current), (f = i.current) == null || f.call(i, { name: e, value: d.current });
3358
- }, [e]);
3359
- return _e(_), {
3360
- checked: c,
3361
- handleChange: p,
3362
- handleKeyDown: h
3363
- };
3364
- }
3365
- const as = "_switch_input_gjpho_31", is = "_switch_label_gjpho_36", ds = "_switch_track_gjpho_56", us = "_switch__checked_gjpho_66", hs = "_switch_thumb_gjpho_69", _s = "_switch_indicator_gjpho_83", xs = "_switch__disabled_gjpho_107", ce = {
3366
- switch: "_switch_gjpho_3",
3367
- switch_input: as,
3368
- switch_label: is,
3369
- switch_track: ds,
3370
- switch__checked: us,
3371
- switch_thumb: hs,
3372
- switch_indicator: _s,
3373
- switch__disabled: xs
3374
- }, l2 = ({
3375
- checked: e,
3376
- onChange: t,
3377
- label: r,
3378
- disabled: n = !1,
3379
- className: o,
3380
- id: l,
3381
- name: c,
3382
- value: a = "on",
3383
- hasIndicator: i
3384
- }) => {
3385
- const {
3386
- checked: d,
3387
- handleChange: u,
3388
- handleKeyDown: p
3389
- } = ls({
3390
- name: c,
3391
- defaultChecked: e,
3392
- onChange: t
3393
- }), h = E([
3394
- ce.switch,
3395
- o,
3396
- {
3397
- [ce.switch__checked]: d,
3398
- [ce.switch__disabled]: n
3399
- }
3400
- ]), _ = () => {
3401
- n || u(!d);
3402
- };
3403
- return /* @__PURE__ */ s.jsxs(
3404
- "div",
3405
- {
3406
- role: "switch",
3407
- "aria-checked": d,
3408
- "aria-label": r,
3409
- tabIndex: n ? -1 : 0,
3410
- className: h,
3411
- onClick: _,
3412
- onKeyDown: p,
3413
- id: l,
3414
- children: [
3415
- /* @__PURE__ */ s.jsx(
3416
- "input",
3417
- {
3418
- type: "checkbox",
3419
- name: c,
3420
- value: a,
3421
- checked: d,
3422
- disabled: n,
3423
- className: ce.switch_input,
3424
- readOnly: !0,
3425
- "data-testid": "switch-input"
3426
- }
3427
- ),
3428
- /* @__PURE__ */ s.jsx("span", { className: ce.switch_label, children: r }),
3429
- i && /* @__PURE__ */ s.jsx("span", { className: ce.switch_indicator, "aria-hidden": "true", children: d ? "On" : "Off" }),
3430
- /* @__PURE__ */ s.jsx("span", { className: ce.switch_track, children: /* @__PURE__ */ s.jsx("span", { className: ce.switch_thumb }) })
3431
- ]
3432
- }
3433
- );
3434
- };
3435
- function fs({
3436
- value: e,
3437
- required: t,
3438
- validator: r
3439
- }) {
3440
- return t && !r && !e.length ? !1 : r && typeof r == "function" ? r(e) : r && typeof r == "object" ? new RegExp(r.regexp, r == null ? void 0 : r.flags).test(e) : !0;
3441
- }
3442
- function ps({
3443
- name: e,
3444
- initialValues: t,
3445
- defaultValue: r
3446
- }) {
3447
- return t != null && t[e] ? t[e].toString() : r && typeof r == "string" ? r : "";
3448
- }
3449
- function ws({
3450
- name: e,
3451
- defaultValue: t,
3452
- onChange: r,
3453
- onClear: n,
3454
- required: o,
3455
- validator: l
3456
- }) {
3457
- const { onChangeFormInput: c, initialValues: a } = le(ae), i = ps({ initialValues: a, defaultValue: t, name: e }), [d, u] = L(i), [p, h] = L(!0), [_, f] = L(!1), v = R(c), m = R(i);
3458
- v.current = c, m.current = i;
3459
- const j = (M) => {
3460
- const A = M.target.value, B = fs({ value: A, required: o, validator: l });
3461
- u(A), h(B), c == null || c({ name: e, value: A, valid: B }), r == null || r(M);
3462
- }, k = () => {
3463
- u(""), h(!0), c == null || c({ name: e, value: "", valid: !0 }), n == null || n();
3464
- }, I = G(() => {
3465
- var M;
3466
- u(m.current), h(!0), (M = v.current) == null || M.call(v, { name: e, value: m.current, valid: !0 });
3467
- }, [e]), y = () => {
3468
- f(!_);
3469
- };
3470
- return _e(I), {
3471
- value: d,
3472
- valid: p,
3473
- passwordShown: _,
3474
- handleChange: j,
3475
- handleClear: k,
3476
- togglePassword: y
3477
- };
3478
- }
3479
- const ms = "_wrapper_pivdt_3", Cs = "_errorMessage_pivdt_10", Be = {
3480
- wrapper: ms,
3481
- errorMessage: Cs
3482
- }, y1 = ({
3483
- clearable: e,
3484
- isPasswordButtonVisible: t,
3485
- handleClear: r,
3486
- togglePassword: n,
3487
- passwordShown: o,
3488
- label: l,
3489
- disabled: c
3490
- }) => /* @__PURE__ */ s.jsxs("span", { children: [
3491
- e && /* @__PURE__ */ s.jsx(
3492
- K,
3493
- {
3494
- view: H.Inner,
3495
- onClick: r,
3496
- label: `Clear input for ${l}`,
3497
- icon: C.Remove,
3498
- disabled: c
3499
- }
3500
- ),
3501
- t && /* @__PURE__ */ s.jsx(
3502
- K,
3503
- {
3504
- onClick: n,
3505
- view: H.Inner,
3506
- label: "Toggle password visibility",
3507
- icon: o ? C.Hide : C.Show,
3508
- disabled: c
3509
- }
3510
- )
3511
- ] }), vs = ({
3512
- name: e,
3513
- label: t,
3514
- errorMessage: r,
3515
- defaultValue: n,
3516
- onChange: o,
3517
- onBlur: l,
3518
- onFocus: c,
3519
- onClear: a,
3520
- validator: i,
3521
- maxLength: d,
3522
- id: u,
3523
- tabIndex: p,
3524
- placeholder: h = "Type here...",
3525
- disabled: _ = !1,
3526
- required: f = !1,
3527
- clearable: v = !0,
3528
- readOnly: m = !1,
3529
- autoComplete: j = "off",
3530
- type: k = "text",
3531
- className: I,
3532
- style: y
3533
- }) => {
3534
- const { value: M, valid: A, handleChange: B, handleClear: $, passwordShown: W, togglePassword: z } = ws({
3535
- defaultValue: n,
3536
- name: e,
3537
- onChange: o,
3538
- onClear: a,
3539
- required: f,
3540
- validator: i
3541
- }), { elementId: T, errorId: F } = se(u), V = k === "password", J = E([Be.wrapper, I]);
3542
- return /* @__PURE__ */ s.jsxs("div", { style: y, className: J, children: [
3543
- /* @__PURE__ */ s.jsx(ne, { label: t, required: f, inputId: T }),
3544
- /* @__PURE__ */ s.jsxs(
3545
- Ce,
3546
- {
3547
- id: T,
3548
- name: e,
3549
- type: W ? "text" : k,
3550
- disabled: _,
3551
- placeholder: h,
3552
- required: f,
3553
- readOnly: m,
3554
- autoComplete: j,
3555
- "aria-invalid": !A,
3556
- "aria-errormessage": F,
3557
- "aria-readonly": m,
3558
- value: M,
3559
- onChange: B,
3560
- maxLength: d,
3561
- onBlur: l,
3562
- onFocus: c,
3563
- tabIndex: p,
3564
- children: [
3565
- /* @__PURE__ */ s.jsx(
3566
- y1,
3567
- {
3568
- clearable: v,
3569
- isPasswordButtonVisible: V,
3570
- handleClear: $,
3571
- togglePassword: z,
3572
- passwordShown: W,
3573
- label: t,
3574
- disabled: _
3575
- }
3576
- ),
3577
- /* @__PURE__ */ s.jsx(
3578
- $e,
3579
- {
3580
- errorId: F,
3581
- message: r,
3582
- visible: !A,
3583
- className: Be.errorMessage
3584
- }
3585
- )
3586
- ]
3587
- }
3588
- )
3589
- ] });
3590
- }, bs = ({
3591
- name: e,
3592
- label: t,
3593
- errorMessage: r,
3594
- value: n,
3595
- onChange: o,
3596
- onBlur: l,
3597
- onFocus: c,
3598
- onClear: a,
3599
- maxLength: i,
3600
- id: d,
3601
- tabIndex: u,
3602
- placeholder: p = "Type here...",
3603
- disabled: h = !1,
3604
- required: _ = !1,
3605
- clearable: f = !0,
3606
- readOnly: v = !1,
3607
- autoComplete: m = "off",
3608
- type: j = "text",
3609
- className: k,
3610
- style: I,
3611
- defaultValue: y
3612
- }) => {
3613
- const M = d != null ? d : `text-input-${e}`, A = `${e}-error`, [B, $] = L(!1), W = j === "password", z = E([Be.wrapper, k]), T = () => {
3614
- $(!B);
3615
- }, F = () => {
3616
- o && o({ target: { value: "" } }), a == null || a();
3617
- };
3618
- return /* @__PURE__ */ s.jsxs("div", { style: I, className: z, children: [
3619
- /* @__PURE__ */ s.jsx(ne, { label: t, required: _, inputId: M }),
3620
- /* @__PURE__ */ s.jsxs(
3621
- Ce,
3622
- {
3623
- id: M,
3624
- name: e,
3625
- type: B ? "text" : j,
3626
- disabled: h,
3627
- placeholder: p,
3628
- required: _,
3629
- readOnly: v,
3630
- defaultValue: y,
3631
- autoComplete: m,
3632
- "aria-invalid": !!r,
3633
- "aria-errormessage": A,
3634
- "aria-readonly": v,
3635
- value: n != null ? n : "",
3636
- onChange: o,
3637
- maxLength: i,
3638
- onBlur: l,
3639
- onFocus: c,
3640
- tabIndex: u,
3641
- children: [
3642
- /* @__PURE__ */ s.jsx(
3643
- y1,
3644
- {
3645
- clearable: f,
3646
- isPasswordButtonVisible: W,
3647
- handleClear: F,
3648
- togglePassword: T,
3649
- passwordShown: B,
3650
- label: t,
3651
- disabled: h
3652
- }
3653
- ),
3654
- /* @__PURE__ */ s.jsx(
3655
- $e,
3656
- {
3657
- errorId: A,
3658
- message: r,
3659
- visible: !!r,
3660
- className: Be.errorMessage
3661
- }
3662
- )
3663
- ]
3664
- }
3665
- )
3666
- ] });
3667
- }, a2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(bs, w({}, e)) : /* @__PURE__ */ s.jsx(vs, w({}, e)), gs = "_dialog_1fjwk_50", js = "_dialog__closing_1fjwk_65", ks = "_layout_1fjwk_71", ys = "_layout_button_1fjwk_101", Me = {
3668
- dialog: gs,
3669
- dialog__closing: js,
3670
- layout: ks,
3671
- layout_button: ys
3672
- }, i2 = (c) => {
3673
- var a = c, { isOpened: e, onClose: t, title: r, children: n, icon: o } = a, l = g(a, ["isOpened", "onClose", "title", "children", "icon"]);
3674
- const i = b1(e), d = i && !e, u = R(null);
3675
- return Jn({ modalRef: u, isOpened: e }), Ne({ keyCode: "Escape", ref: u, onKeyPress: t }), i ? /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx("div", { className: E([Me.dialog, { [Me.dialog__closing]: d }]), children: /* @__PURE__ */ s.jsxs("div", b(w({ ref: u, role: "dialog", "aria-modal": "true" }, l), { className: Me.layout, children: [
3676
- /* @__PURE__ */ s.jsx(
3677
- K,
3678
- {
3679
- icon: C.Cancel,
3680
- view: H.Icon,
3681
- label: "Close modal window",
3682
- onClick: t,
3683
- className: Me.layout_button
3684
- }
3685
- ),
3686
- /* @__PURE__ */ s.jsx("header", { children: /* @__PURE__ */ s.jsx(p1, { as: "h3", icon: o, children: r }) }),
3687
- /* @__PURE__ */ s.jsx("div", { children: n })
3688
- ] })) }) }) : null;
3689
- };
3690
- function Is(e) {
3691
- return e ? Object.keys(e).map((t) => [t, !0]) : [];
3692
- }
3693
- function Ms(e, t) {
3694
- return (t == null ? void 0 : t.valid) === void 0 ? e : e.map((r) => r[0] !== t.name ? r : [r[0], !!(t != null && t.valid)]);
3695
- }
3696
- function Es(e) {
3697
- return e.every((t) => t[1]);
3698
- }
3699
- function Ss({
3700
- initialValues: e,
3701
- onReset: t,
3702
- onSubmit: r,
3703
- onClickSubmit: n
3704
- }) {
3705
- const [o, l] = L(e), [c, a] = L(Is(e)), [i, d] = L(0);
3706
- return {
3707
- handleInputChange: (_) => {
3708
- const f = b(w({}, o), { [_.name]: _.value });
3709
- l(f), a(Ms(c, _));
3710
- },
3711
- handleSubmit: (_) => {
3712
- _.preventDefault();
3713
- const f = Object.fromEntries(new FormData(_.target)), v = w(w({}, f), o);
3714
- r == null || r(_), n == null || n(v);
3715
- },
3716
- handleReset: (_) => {
3717
- t == null || t(_), l(e), d(i + 1);
3718
- },
3719
- resetSignal: i,
3720
- valid: Es(c)
3721
- };
3722
- }
3723
- const Ls = "_form_1lesb_2", As = "_form_buttons_1lesb_24", s1 = {
3724
- form: Ls,
3725
- form_buttons: As
3726
- }, d2 = (i) => {
3727
- var d = i, {
3728
- children: e,
3729
- initialValues: t,
3730
- onReset: r,
3731
- onSubmit: n,
3732
- onClickSubmit: o,
3733
- hasReset: l = !0,
3734
- className: c
3735
- } = d, a = g(d, [
3736
- "children",
3737
- "initialValues",
3738
- "onReset",
3739
- "onSubmit",
3740
- "onClickSubmit",
3741
- "hasReset",
3742
- "className"
3743
- ]);
3744
- const { handleInputChange: u, handleSubmit: p, handleReset: h, resetSignal: _, valid: f } = Ss({
3745
- initialValues: t,
3746
- onReset: r,
3747
- onSubmit: n,
3748
- onClickSubmit: o
3749
- }), v = E([s1.form, c]), m = _1(
3750
- () => ({ onChangeFormInput: u, initialValues: t, resetSignal: _ }),
3751
- [u, t, _]
3752
- );
3753
- return /* @__PURE__ */ s.jsx("form", b(w({ onSubmit: p, onReset: h }, a), { className: v, children: /* @__PURE__ */ s.jsxs(ae.Provider, { value: m, children: [
3754
- e,
3755
- /* @__PURE__ */ s.jsxs("div", { className: s1.form_buttons, children: [
3756
- l && /* @__PURE__ */ s.jsx(K, { type: "reset", text: "Reset", icon: C.Clear, view: H.Secondary }),
3757
- /* @__PURE__ */ s.jsx(
3758
- K,
3759
- {
3760
- type: "submit",
3761
- text: "Submit",
3762
- icon: C.Forward,
3763
- extended: !l,
3764
- disabled: !f
3765
- }
3766
- )
3767
- ] })
3768
- ] }) }));
3769
- };
3770
- function Rs({
3771
- item: e,
3772
- columns: t,
3773
- renderDataItem: r
3774
- }) {
3775
- const n = [];
3776
- for (const o of t) {
3777
- let l;
3778
- r && e[o.field] ? l = r(e, o.field) : e[o.field] ? l = e[o.field].toString() : l = "", n.push({ field: o.field, value: l });
3779
- }
3780
- return n;
3781
- }
3782
- const Bs = "_cell_veiud_1", $s = {
3783
- cell: Bs
3784
- }, Ts = ({ value: e }) => /* @__PURE__ */ s.jsx("td", { className: $s.cell, children: e }), Ns = "_checkbox_1814z_3", zs = "_checkbox__disabled_1814z_15", Ds = "_checkbox_input_1814z_27", Ee = {
3785
- checkbox: Ns,
3786
- checkbox__disabled: zs,
3787
- checkbox_input: Ds
3788
- }, I1 = (a) => {
3789
- var i = a, {
3790
- name: e,
3791
- label: t,
3792
- disabled: r,
3793
- required: n = !1,
3794
- onChange: o,
3795
- checked: l = !1
3796
- } = i, c = g(i, [
3797
- "name",
3798
- "label",
3799
- "disabled",
3800
- "required",
3801
- "onChange",
3802
- "checked"
3803
- ]);
3804
- const { elementId: d } = se(c == null ? void 0 : c.id), u = E([
3805
- Ee.checkbox,
3806
- {
3807
- [Ee.checkbox__disabled]: !!r,
3808
- [Ee.checkbox__checked]: l
3809
- }
3810
- ]);
3811
- return /* @__PURE__ */ s.jsxs("div", { className: u, children: [
3812
- /* @__PURE__ */ s.jsx(
3813
- "input",
3814
- {
3815
- id: d,
3816
- name: e,
3817
- type: "checkbox",
3818
- disabled: r,
3819
- required: n,
3820
- checked: l,
3821
- onChange: o,
3822
- className: Ee.checkbox_input
3823
- }
3824
- ),
3825
- /* @__PURE__ */ s.jsx(
3826
- ne,
3827
- {
3828
- label: t,
3829
- required: n,
3830
- inputId: d,
3831
- isTextHidden: !0,
3832
- iconPosition: "left",
3833
- icon: l ? C.CheckboxChecked : C.CheckboxUnchecked
3834
- }
3835
- )
3836
- ] });
3837
- }, Hs = "_cell_veiud_1", Ps = {
3838
- cell: Hs
3839
- }, Vs = ({
3840
- rowId: e,
3841
- isRowSelected: t,
3842
- selectRowById: r,
3843
- deselectRowById: n,
3844
- disabled: o
3845
- }) => {
3846
- const l = (c) => {
3847
- const { checked: a } = c.target;
3848
- a ? r(e) : n(e);
3849
- };
3850
- return /* @__PURE__ */ s.jsx("td", { className: Ps.cell, children: /* @__PURE__ */ s.jsx(
3851
- I1,
3852
- {
3853
- label: "Select row",
3854
- onChange: l,
3855
- id: `select_row_${e}`,
3856
- checked: t,
3857
- disabled: o
3858
- }
3859
- ) });
3860
- }, Os = "_row_nfmhf_1", qs = "_row__selected_nfmhf_5", o1 = {
3861
- row: Os,
3862
- row__selected: qs
3863
- }, Ws = ({
3864
- rowId: e,
3865
- selectRowById: t,
3866
- deselectRowById: r,
3867
- selectable: n,
3868
- values: o,
3869
- selectedIds: l,
3870
- disabled: c
3871
- }) => {
3872
- const a = l.includes(e);
3873
- return /* @__PURE__ */ s.jsxs("tr", { className: E([o1.row, { [o1.row__selected]: a }]), children: [
3874
- n && /* @__PURE__ */ s.jsx(
3875
- Vs,
3876
- {
3877
- rowId: e,
3878
- selectRowById: t,
3879
- deselectRowById: r,
3880
- isRowSelected: a,
3881
- disabled: c
3882
- }
3883
- ),
3884
- o.map((i) => {
3885
- const d = `cell-${e}-${i.field}`;
3886
- return /* @__PURE__ */ s.jsx(Ts, { value: i.value }, d);
3887
- })
3888
- ] });
3889
- }, Fs = "_body_iae6m_2", Ks = {
3890
- body: Fs
3891
- }, Us = ({
3892
- selectRowById: e,
3893
- deselectRowById: t,
3894
- renderDataItem: r,
3895
- selectedIds: n,
3896
- selectable: o,
3897
- data: l,
3898
- columns: c
3899
- }) => /* @__PURE__ */ s.jsx("tbody", { className: Ks.body, children: l.map((a) => {
3900
- const i = Rs({ item: a, columns: c, renderDataItem: r });
3901
- return /* @__PURE__ */ s.jsx(
3902
- Ws,
3903
- {
3904
- rowId: a.id,
3905
- disabled: a == null ? void 0 : a.disabled,
3906
- selectRowById: e,
3907
- deselectRowById: t,
3908
- selectable: o,
3909
- values: i,
3910
- selectedIds: n
3911
- },
3912
- a.id
3913
- );
3914
- }) }), Gs = "_column_s4wq6_1", Ys = "_column__first_s4wq6_4", Zs = "_column__highlighted_s4wq6_7", pe = {
3915
- column: Gs,
3916
- column__first: Ys,
3917
- column__highlighted: Zs
3918
- }, Js = ({
3919
- columns: e,
3920
- selectable: t
3921
- }) => /* @__PURE__ */ s.jsxs("colgroup", { children: [
3922
- t && /* @__PURE__ */ s.jsx("col", { className: E([pe.column, pe.column__first]) }),
3923
- e.map((r, n) => /* @__PURE__ */ s.jsx(
3924
- "col",
3925
- {
3926
- className: E([
3927
- pe.column,
3928
- r == null ? void 0 : r.className,
3929
- {
3930
- [pe.column__first]: n === 0 && !t,
3931
- [pe.column__highlighted]: !!(r != null && r.highlighted)
3932
- }
3933
- ])
3934
- },
3935
- r == null ? void 0 : r.title
3936
- ))
3937
- ] }), Xs = ({
3938
- data: e,
3939
- id: t,
3940
- onSelect: r
3941
- }) => {
3942
- const { elementId: n } = se(t), [o, l] = L([]), c = e.map((f) => f.id), a = c.length === o.length, i = e.some((f) => f == null ? void 0 : f.disabled), d = (f) => {
3943
- l(f), r == null || r(f);
3944
- };
3945
- return {
3946
- elementId: n,
3947
- isAllSelected: a,
3948
- isAllCheckboxDisabled: i,
3949
- selectedIds: o,
3950
- handleSelectAll: () => {
3951
- d(c);
3952
- },
3953
- handleDeselectAll: () => {
3954
- d([]);
3955
- },
3956
- handleSelectRowById: (f) => {
3957
- const v = [...o, f];
3958
- d(v);
3959
- },
3960
- handleDeselectRowById: (f) => {
3961
- const v = o.filter((m) => m !== f);
3962
- d(v);
3963
- }
3964
- };
3965
- }, Qs = "_grid_9nwvq_2", e0 = "_grid_caption_9nwvq_5", t0 = "_grid_wrapper_9nwvq_26", He = {
3966
- grid: Qs,
3967
- grid_caption: e0,
3968
- grid_wrapper: t0
3969
- }, n0 = "_headerCell_wd2ft_1", r0 = {
3970
- headerCell: n0
3971
- }, s0 = ({
3972
- title: e,
3973
- component: t
3974
- }) => {
3975
- var r;
3976
- return /* @__PURE__ */ s.jsx("th", { className: r0.headerCell, children: (r = t != null ? t : e) != null ? r : "" });
3977
- }, o0 = "_headerCell_wd2ft_1", c0 = {
3978
- headerCell: o0
3979
- }, l0 = ({
3980
- gridId: e,
3981
- isAllSelected: t,
3982
- selectAll: r,
3983
- deselectAll: n,
3984
- disabled: o
3985
- }) => {
3986
- const l = (c) => {
3987
- const { checked: a } = c.target;
3988
- a ? r() : n();
3989
- };
3990
- return /* @__PURE__ */ s.jsx("th", { className: c0.headerCell, children: /* @__PURE__ */ s.jsx(
3991
- I1,
3992
- {
3993
- label: "Select all rows",
3994
- onChange: l,
3995
- id: `select_all_${e}`,
3996
- checked: t,
3997
- disabled: o
3998
- }
3999
- ) });
4000
- }, a0 = "_head_8bsdh_2", i0 = "_head_row_8bsdh_22", c1 = {
4001
- head: a0,
4002
- head_row: i0
4003
- }, d0 = ({
4004
- columns: e,
4005
- gridId: t,
4006
- selectAll: r,
4007
- deselectAll: n,
4008
- selectable: o,
4009
- isAllSelected: l,
4010
- isAllCheckboxDisabled: c = !1
4011
- }) => /* @__PURE__ */ s.jsx("thead", { className: c1.head, children: /* @__PURE__ */ s.jsxs("tr", { className: c1.head_row, children: [
4012
- o && /* @__PURE__ */ s.jsx(
4013
- l0,
4014
- {
4015
- isAllSelected: l,
4016
- disabled: c,
4017
- gridId: t,
4018
- selectAll: r,
4019
- deselectAll: n
4020
- }
4021
- ),
4022
- e.map((a) => /* @__PURE__ */ s.jsx(
4023
- s0,
4024
- {
4025
- title: a.title,
4026
- component: a.component
4027
- },
4028
- `${a.title}_${t}`
4029
- ))
4030
- ] }) }), u2 = (d) => {
4031
- var u = d, {
4032
- columns: e,
4033
- data: t,
4034
- id: r,
4035
- onSelect: n,
4036
- renderDataItem: o,
4037
- caption: l,
4038
- selectable: c = !1,
4039
- className: a
4040
- } = u, i = g(u, [
4041
- "columns",
4042
- "data",
4043
- "id",
4044
- "onSelect",
4045
- "renderDataItem",
4046
- "caption",
4047
- "selectable",
4048
- "className"
4049
- ]);
4050
- const {
4051
- elementId: p,
4052
- handleSelectAll: h,
4053
- handleDeselectAll: _,
4054
- isAllCheckboxDisabled: f,
4055
- isAllSelected: v,
4056
- handleDeselectRowById: m,
4057
- handleSelectRowById: j,
4058
- selectedIds: k
4059
- } = Xs({ id: r, data: t, onSelect: n });
4060
- return /* @__PURE__ */ s.jsx("div", { className: He.grid_wrapper, children: /* @__PURE__ */ s.jsxs("table", b(w({}, i), { className: E([He.grid, a]), children: [
4061
- l && /* @__PURE__ */ s.jsx("caption", { className: He.grid_caption, children: l }),
4062
- /* @__PURE__ */ s.jsx(Js, { columns: e, selectable: c }),
4063
- /* @__PURE__ */ s.jsx(
4064
- d0,
4065
- {
4066
- gridId: p,
4067
- columns: e,
4068
- selectable: c,
4069
- selectAll: h,
4070
- deselectAll: _,
4071
- isAllSelected: v,
4072
- isAllCheckboxDisabled: f
4073
- }
4074
- ),
4075
- /* @__PURE__ */ s.jsx(
4076
- Us,
4077
- {
4078
- columns: e,
4079
- data: t,
4080
- selectable: c,
4081
- selectRowById: j,
4082
- deselectRowById: m,
4083
- selectedIds: k,
4084
- renderDataItem: o
4085
- }
4086
- )
4087
- ] })) });
4088
- }, u0 = "_menuLeaf_45vkr_3", h0 = {
4089
- menuLeaf: u0
4090
- }, _0 = ({ item: e }) => {
4091
- const { icon: t, link: r, label: n, onFocus: o, onClick: l, onHover: c } = e, a = r ? /* @__PURE__ */ s.jsx("a", { href: r, target: "_blank", rel: "noreferrer", children: n }) : /* @__PURE__ */ s.jsx("span", { children: n }), i = (d) => {
4092
- d.stopPropagation(), d.key === "Enter" && (l == null || l());
4093
- };
4094
- return /* @__PURE__ */ s.jsxs(
4095
- "li",
4096
- {
4097
- className: h0.menuLeaf,
4098
- tabIndex: 0,
4099
- role: "menuitem",
4100
- onFocus: o,
4101
- onClick: l,
4102
- onKeyDown: i,
4103
- onMouseOver: c,
4104
- children: [
4105
- /* @__PURE__ */ s.jsx(Y, { name: t, hidden: !0 }),
4106
- a
4107
- ]
4108
- }
4109
- );
4110
- }, x0 = "_subMenu_x1z3n_3", f0 = "_text_x1z3n_20", l1 = {
4111
- subMenu: x0,
4112
- text: f0
4113
- }, p0 = ({
4114
- item: e,
4115
- isSubMenuOpened: t,
4116
- toggleSubMenu: r,
4117
- closeSubMenu: n,
4118
- openSubMenu: o,
4119
- openedOn: l,
4120
- mode: c,
4121
- children: a
4122
- }) => {
4123
- const { icon: i, link: d, label: u } = e, p = R(null), h = R(null), _ = d ? /* @__PURE__ */ s.jsxs("a", { href: d, target: "_blank", rel: "noreferrer", children: [
4124
- /* @__PURE__ */ s.jsx(Y, { name: i }),
4125
- u
4126
- ] }) : /* @__PURE__ */ s.jsxs("span", { children: [
4127
- /* @__PURE__ */ s.jsx(Y, { name: i }),
4128
- u
4129
- ] }), f = (m) => {
4130
- m.stopPropagation(), m.key === " " && r();
4131
- };
4132
- return Te({ ref: p, dependentRef: h, onClickOutsideHandler: () => {
4133
- c !== te.Vertical && n();
4134
- } }), /* @__PURE__ */ s.jsxs(
4135
- "li",
4136
- {
4137
- className: l1.subMenu,
4138
- tabIndex: 0,
4139
- role: "menuitem",
4140
- "aria-haspopup": "true",
4141
- "aria-expanded": t,
4142
- onKeyDown: f,
4143
- onMouseEnter: l === "hover" ? o : void 0,
4144
- onMouseLeave: l === "hover" ? n : void 0,
4145
- ref: p,
4146
- children: [
4147
- /* @__PURE__ */ s.jsxs(
4148
- "span",
4149
- {
4150
- className: l1.text,
4151
- ref: h,
4152
- onClick: r,
4153
- onKeyDown: f,
4154
- children: [
4155
- _,
4156
- /* @__PURE__ */ s.jsx(Y, { name: t ? C.ArrowUp : C.ArrowDown })
4157
- ]
4158
- }
4159
- ),
4160
- t && a
4161
- ]
4162
- }
4163
- );
4164
- }, w0 = "_subMenuBar_1g74y_51", m0 = "_subMenuBar__horizontal_1g74y_71", a1 = {
4165
- subMenuBar: w0,
4166
- subMenuBar__horizontal: m0
4167
- }, M1 = ({ item: e, mode: t, openedOn: r }) => {
4168
- var u, p;
4169
- const n = !((u = e == null ? void 0 : e.nestedItems) != null && u.length), [o, l] = L(!1), c = E([
4170
- a1.subMenuBar,
4171
- { [a1.subMenuBar__horizontal]: t === te.Horizontal }
4172
- ]);
4173
- if (n)
4174
- return /* @__PURE__ */ s.jsx(_0, { item: e });
4175
- const a = () => {
4176
- l(!o);
4177
- }, i = () => {
4178
- l(!1);
4179
- }, d = () => {
4180
- l(!0);
4181
- };
4182
- return /* @__PURE__ */ s.jsx(
4183
- p0,
4184
- {
4185
- item: e,
4186
- isSubMenuOpened: o,
4187
- toggleSubMenu: a,
4188
- closeSubMenu: i,
4189
- openSubMenu: d,
4190
- mode: t,
4191
- openedOn: r,
4192
- children: /* @__PURE__ */ s.jsx("ul", { className: c, role: "menu", "aria-label": e.label, children: (p = e == null ? void 0 : e.nestedItems) == null ? void 0 : p.map((h) => /* @__PURE__ */ s.jsx(M1, { item: h, mode: t, openedOn: r }, h.id)) })
4193
- }
4194
- );
4195
- }, C0 = "_menuBar_u3exe_3", v0 = "_menuBar__vertical_u3exe_14", i1 = {
4196
- menuBar: C0,
4197
- menuBar__vertical: v0
4198
- }, h2 = (l) => {
4199
- var c = l, {
4200
- items: e = [],
4201
- mode: t = te.Vertical,
4202
- openedOn: r = "click",
4203
- className: n
4204
- } = c, o = g(c, [
4205
- "items",
4206
- "mode",
4207
- "openedOn",
4208
- "className"
4209
- ]);
4210
- const a = E([
4211
- i1.menuBar,
4212
- n,
4213
- { [i1.menuBar__vertical]: t === te.Vertical }
4214
- ]);
4215
- return /* @__PURE__ */ s.jsx("menu", b(w({}, o), { className: a, children: e.map((i) => /* @__PURE__ */ s.jsx(M1, { item: i, mode: t, openedOn: r }, i.id)) }));
4216
- }, b0 = "_tabContent_xjwqr_2", g0 = {
4217
- tabContent: b0
4218
- }, j0 = ({ tabs: e, selectedTabId: t, extendable: r, extendedTabContent: n }) => {
4219
- var a;
4220
- const o = (a = e.find((i) => i.id === t)) == null ? void 0 : a.content, l = `tabpanel_${t}`, c = r && !o;
4221
- return /* @__PURE__ */ s.jsx(
4222
- "div",
4223
- {
4224
- role: "tabpanel",
4225
- "data-testid": "tab-content",
4226
- "aria-labelledby": t,
4227
- id: l,
4228
- className: g0.tabContent,
4229
- children: c ? n : o
4230
- }
4231
- );
4232
- }, k0 = "_editContainer_9g3vc_2", y0 = "_editContainer_input_9g3vc_10", I0 = "_editContainer_buttons_9g3vc_39", Pe = {
4233
- editContainer: k0,
4234
- editContainer_input: y0,
4235
- editContainer_buttons: I0
4236
- }, M0 = ({
4237
- tabId: e,
4238
- isEditMode: t,
4239
- editValue: r,
4240
- onInputChange: n,
4241
- onInputBlur: o,
4242
- onInputKeyDown: l,
4243
- onSave: c,
4244
- onCancel: a,
4245
- cancelButtonId: i
4246
- }) => {
4247
- const d = R(null);
4248
- return P(() => {
4249
- t && d.current && (d.current.focus(), d.current.select());
4250
- }, [t]), /* @__PURE__ */ s.jsxs("div", { className: Pe.editContainer, children: [
4251
- /* @__PURE__ */ s.jsx(
4252
- "input",
4253
- {
4254
- ref: d,
4255
- id: `${e}-input`,
4256
- type: "text",
4257
- value: r,
4258
- onChange: n,
4259
- onBlur: o,
4260
- onKeyDown: l,
4261
- className: Pe.editContainer_input,
4262
- maxLength: 50
4263
- }
4264
- ),
4265
- /* @__PURE__ */ s.jsxs("span", { className: Pe.editContainer_buttons, children: [
4266
- /* @__PURE__ */ s.jsx(
4267
- K,
4268
- {
4269
- view: H.Icon,
4270
- icon: C.CheckMark,
4271
- onClick: c,
4272
- label: "Save tab title"
4273
- }
4274
- ),
4275
- /* @__PURE__ */ s.jsx(
4276
- K,
4277
- {
4278
- view: H.Icon,
4279
- icon: C.Cancel,
4280
- onClick: a,
4281
- label: "Cancel tab title change",
4282
- id: i
4283
- }
4284
- )
4285
- ] })
4286
- ] });
4287
- }, E0 = "_tab_5lfqw_3", S0 = "_tab_wrapper_5lfqw_37", L0 = "_tab_wrapper__selected_5lfqw_47", A0 = "_tab_wrapper__vertical_5lfqw_52", R0 = "_tab_wrapper__stretched_5lfqw_56", B0 = "_tab_wrapper__disabled_5lfqw_59", $0 = "_tab_wrapper__inactive_5lfqw_63", T0 = "_tab_buttons_5lfqw_69", re = {
4288
- tab: E0,
4289
- tab_wrapper: S0,
4290
- tab_wrapper__selected: L0,
4291
- tab_wrapper__vertical: A0,
4292
- tab_wrapper__stretched: R0,
4293
- tab_wrapper__disabled: B0,
4294
- tab_wrapper__inactive: $0,
4295
- tab_buttons: T0
4296
- }, N0 = ({
4297
- title: e,
4298
- onTabSelect: t,
4299
- onTabTitleChange: r,
4300
- onTabDelete: n,
4301
- tabId: o,
4302
- isSelected: l,
4303
- isDisabled: c = !1,
4304
- stretched: a = !1,
4305
- editable: i = !1,
4306
- extendable: d = !1,
4307
- tabPanelId: u,
4308
- mode: p
4309
- }) => {
4310
- const [h, _] = L(!1), [f, v] = L(e), m = R(null), j = u1(), k = i && !c && l, I = d && !c && !!n && l, y = k || I, M = E([
4311
- re.tab_wrapper,
4312
- {
4313
- [re.tab_wrapper__disabled]: c,
4314
- [re.tab_wrapper__vertical]: p === te.Vertical,
4315
- [re.tab_wrapper__selected]: l,
4316
- [re.tab_wrapper__stretched]: a,
4317
- [re.tab_wrapper__editable]: i,
4318
- [re.tab_wrapper__inactive]: !l
4319
- }
4320
- ]);
4321
- P(() => {
4322
- h && m.current && (m.current.focus(), m.current.select());
4323
- }, [h]), P(() => {
4324
- v(e);
4325
- }, [e]);
4326
- const A = () => {
4327
- c || _(!h);
4328
- }, B = () => {
4329
- h || t(o);
4330
- }, $ = (V) => {
4331
- v(V.target.value);
4332
- }, W = (V) => {
4333
- const J = V.relatedTarget;
4334
- (J == null ? void 0 : J.id) === j || T();
4335
- }, z = (V) => {
4336
- V.key === "Enter" ? (V.preventDefault(), T()) : V.key === "Escape" && (V.preventDefault(), F());
4337
- }, T = () => {
4338
- f.trim() && f !== e ? r == null || r(f.trim()) : v(e), _(!1);
4339
- }, F = () => {
4340
- v(e), _(!1);
4341
- };
4342
- return /* @__PURE__ */ s.jsx("span", { className: M, children: h ? /* @__PURE__ */ s.jsx(
4343
- M0,
4344
- {
4345
- tabId: o,
4346
- editValue: f,
4347
- isEditMode: h,
4348
- onInputChange: $,
4349
- onInputBlur: W,
4350
- onInputKeyDown: z,
4351
- onSave: T,
4352
- onCancel: F,
4353
- cancelButtonId: j
4354
- }
4355
- ) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
4356
- /* @__PURE__ */ s.jsx(
4357
- "button",
4358
- {
4359
- role: "tab",
4360
- id: o,
4361
- onClick: B,
4362
- "aria-selected": l,
4363
- "aria-controls": u,
4364
- className: re.tab,
4365
- disabled: c,
4366
- children: f
4367
- }
4368
- ),
4369
- y && /* @__PURE__ */ s.jsxs("span", { className: re.tab_buttons, children: [
4370
- k && /* @__PURE__ */ s.jsx(
4371
- K,
4372
- {
4373
- view: H.Icon,
4374
- icon: C.Edit,
4375
- onClick: A,
4376
- label: "Edit tab",
4377
- tooltip: "Edit tab"
4378
- }
4379
- ),
4380
- I && /* @__PURE__ */ s.jsx(
4381
- K,
4382
- {
4383
- view: H.Icon,
4384
- icon: C.Delete,
4385
- onClick: () => n == null ? void 0 : n(o),
4386
- label: "Delete tab",
4387
- tooltip: "Delete tab"
4388
- }
4389
- )
4390
- ] })
4391
- ] }) });
4392
- }, z0 = "_tabList_tq8bk_1", D0 = "_tabList__vertical_tq8bk_13", H0 = "_tabList_addButton_tq8bk_23", Ve = {
4393
- tabList: z0,
4394
- tabList__vertical: D0,
4395
- tabList_addButton: H0
4396
- }, P0 = ({
4397
- tabs: e,
4398
- onTabSelect: t,
4399
- onTabTitleChange: r,
4400
- selectedTabId: n,
4401
- tabPanelIds: o,
4402
- mode: l,
4403
- tabIds: c,
4404
- stretched: a,
4405
- editable: i = !1,
4406
- extendable: d = !1,
4407
- onTabAdd: u,
4408
- onTabDelete: p
4409
- }) => {
4410
- const h = E([
4411
- Ve.tabList,
4412
- { [Ve.tabList__vertical]: l === te.Vertical }
4413
- ]), _ = (m) => {
4414
- const j = c.indexOf(n);
4415
- if (!["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown"].includes(m.key) || (m.preventDefault(), m.key === "ArrowUp" && l === te.Horizontal || m.key === "ArrowLeft" && l === te.Vertical))
4416
- return;
4417
- const I = m.key === "ArrowLeft" || m.key === "ArrowUp" ? f(j, c.length) : v(j, c.length), y = c[I];
4418
- y && (Se(y), t(y));
4419
- }, f = (m, j) => m - 1 >= 0 ? m - 1 : j - 1, v = (m, j) => m === j - 1 ? 0 : m + 1;
4420
- return /* @__PURE__ */ s.jsxs("div", { role: "tablist", "data-testid": "tab-list", onKeyDown: _, className: h, children: [
4421
- e.map(({ id: m, title: j, disabled: k }, I) => /* @__PURE__ */ s.jsx(
4422
- N0,
4423
- {
4424
- title: j,
4425
- onTabSelect: t,
4426
- onTabTitleChange: r ? (y) => r(m, y) : void 0,
4427
- tabId: m,
4428
- isSelected: m === n,
4429
- isDisabled: k,
4430
- tabPanelId: o[I],
4431
- mode: l,
4432
- stretched: a,
4433
- editable: i,
4434
- extendable: d,
4435
- onTabDelete: p
4436
- },
4437
- m
4438
- )),
4439
- d && /* @__PURE__ */ s.jsx(
4440
- K,
4441
- {
4442
- label: "Add Tab",
4443
- tooltip: "Add Tab",
4444
- view: H.Icon,
4445
- icon: C.PlusCircle,
4446
- onClick: u,
4447
- className: Ve.tabList_addButton
4448
- }
4449
- )
4450
- ] });
4451
- }, V0 = "_tabs_16koz_3", O0 = "_tabs__vertical_16koz_8", d1 = {
4452
- tabs: V0,
4453
- tabs__vertical: O0
4454
- }, _2 = (f) => {
4455
- var v = f, {
4456
- tabs: e,
4457
- defaultTabId: t,
4458
- className: r,
4459
- mode: n = te.Horizontal,
4460
- stretched: o = !1,
4461
- editable: l = !1,
4462
- extendable: c = !1,
4463
- extendedTabLabel: a = "New Tab",
4464
- extendedTabContent: i,
4465
- onTabTitleChange: d,
4466
- onTabAdd: u,
4467
- onTabSelect: p,
4468
- onTabDelete: h
4469
- } = v, _ = g(v, [
4470
- "tabs",
4471
- "defaultTabId",
4472
- "className",
4473
- "mode",
4474
- "stretched",
4475
- "editable",
4476
- "extendable",
4477
- "extendedTabLabel",
4478
- "extendedTabContent",
4479
- "onTabTitleChange",
4480
- "onTabAdd",
4481
- "onTabSelect",
4482
- "onTabDelete"
4483
- ]);
4484
- const [m, j] = L(e), k = e.length, [I, y] = L(k + 1), M = m.map((N) => N.id), A = M.map((N) => `tabpanel_${N}`), B = t && M.includes(t) ? t : M[0], [$, W] = L(B), z = E([
4485
- d1.tabs,
4486
- r,
4487
- { [d1.tabs__vertical]: n === te.Vertical }
4488
- ]), T = (N) => {
4489
- W(N), p == null || p(N);
4490
- }, F = (N, Z) => {
4491
- j(
4492
- (U) => U.map((X) => X.id === N ? b(w({}, X), { title: Z }) : X)
4493
- ), d == null || d(N, Z);
4494
- }, V = () => {
4495
- const N = `added-tab-${I}`, Z = a || `Tab ${I}`, U = {
4496
- id: N,
4497
- title: Z,
4498
- content: i || /* @__PURE__ */ s.jsx("div", {})
4499
- };
4500
- j((X) => [...X, U]), y((X) => X + 1), u == null || u(), T(N);
4501
- }, J = (N) => {
4502
- if (j((Z) => Z.filter((U) => U.id !== N)), $ === N) {
4503
- const Z = M.indexOf(N);
4504
- let U;
4505
- Z > 0 ? U = M[Z - 1] : M.length > 1 ? U = M[1] : U = void 0, U && T(U);
4506
- }
4507
- h == null || h(N);
4508
- };
4509
- return /* @__PURE__ */ s.jsxs("div", b(w({}, _), { className: z, children: [
4510
- /* @__PURE__ */ s.jsx(
4511
- P0,
4512
- {
4513
- tabs: m,
4514
- selectedTabId: $,
4515
- tabPanelIds: A,
4516
- onTabSelect: T,
4517
- onTabTitleChange: F,
4518
- mode: n,
4519
- tabIds: M,
4520
- stretched: o,
4521
- editable: l,
4522
- extendable: c,
4523
- onTabAdd: V,
4524
- onTabDelete: J
4525
- }
4526
- ),
4527
- /* @__PURE__ */ s.jsx(
4528
- j0,
4529
- {
4530
- tabs: m,
4531
- selectedTabId: $,
4532
- extendedTabContent: i,
4533
- extendable: c
4534
- }
4535
- )
4536
- ] }));
4537
- };
1
+ import { default as r } from "./components/molecules/accordion/Accordion.js";
2
+ import { default as f } from "./components/molecules/alert/Alert.js";
3
+ import { default as m } from "./components/molecules/breadcrumbs/Breadcrumbs.js";
4
+ import { default as s } from "./components/atoms/button/Button.js";
5
+ import { default as u } from "./components/molecules/checkbox/Checkbox.js";
6
+ import { default as d } from "./components/organisms/dialog/Dialog.js";
7
+ import { default as n } from "./components/atoms/editable-text/EditableText.js";
8
+ import { default as T } from "./components/atoms/error-message/ErrorMessage.js";
9
+ import { default as I } from "./components/organisms/form/Form.js";
10
+ import { default as M } from "./components/organisms/grid/Grid.js";
11
+ import { default as E } from "./components/atoms/header/Header.js";
12
+ import { default as w } from "./components/atoms/icon/Icon.js";
13
+ import { default as b } from "./components/atoms/image/Image.js";
14
+ import { default as g } from "./components/atoms/label/Label.js";
15
+ import { default as F } from "./components/atoms/link/Link.js";
16
+ import { default as P } from "./components/organisms/menu/Menu.js";
17
+ import { default as v } from "./components/molecules/multi-select/MultiSelect.js";
18
+ import { default as O } from "./components/molecules/numeric-input/NumericInput.js";
19
+ import { default as G } from "./components/atoms/portal/Portal.js";
20
+ import { default as N } from "./components/molecules/search/Search.js";
21
+ import { default as y } from "./components/molecules/select/Select.js";
22
+ import { default as W } from "./components/molecules/switch/Switch.js";
23
+ import { default as q } from "./components/organisms/tabs/Tabs.js";
24
+ import { default as Q } from "./components/molecules/text-input/TextInput.js";
25
+ import { default as X } from "./components/atoms/tooltip/Tooltip.js";
26
+ import { AlertMode as Z } from "./enums/alert-mode.js";
27
+ import { ButtonView as ee } from "./enums/button-view.js";
28
+ import { CL_DARK_THEME_CLASS as re, CL_LIGHT_THEME_CLASS as te, ThemeContext as fe } from "./components/contexts/theme/ThemeContext.js";
29
+ import { ElementSize as me } from "./enums/element-size.js";
30
+ import { FormContext as se } from "./components/contexts/form/FormContext.js";
31
+ import { IconName as ue } from "./enums/icon-name.js";
32
+ import { default as de } from "./components/atoms/input/Input.js";
33
+ import { LoaderView as ne } from "./enums/loader-view.js";
34
+ import { OrientationMode as Te } from "./enums/orientation-mode.js";
35
+ import { SemanticColor as Ie } from "./enums/semantic-color.js";
36
+ import { ThemeProvider as Me } from "./components/contexts/theme/ThemeProvider.js";
37
+ import { TooltipContainer as Ee } from "./enums/tooltip-container.js";
38
+ import { useAutoClose as we } from "./hooks/use-auto-close/use-auto-close.js";
39
+ import { useClickOutside as be } from "./hooks/use-click-outside/use-click-outside.js";
40
+ import { useContainerDimensions as ge } from "./hooks/use-container-dimensions/use-container-dimensions.js";
41
+ import { useDebounce as Fe } from "./hooks/use-debounce/use-debounce.js";
42
+ import { useElementIds as Pe } from "./hooks/use-element-ids/use-element-ids.js";
43
+ import { useIsHovered as ve } from "./hooks/use-is-hovered/use-is-hovered.js";
44
+ import { useIsMounted as Oe } from "./hooks/use-is-mounted/use-is-mounted.js";
45
+ import { useIsOverflow as Ge } from "./hooks/use-is-overflow/use-is-overflow.js";
46
+ import { useKeyPress as Ne } from "./hooks/use-key-press/use-key-press.js";
47
+ import { useModalFocusTrap as ye } from "./hooks/use-modal-focus-trap/use-modal-focus-trap.js";
48
+ import { useRemainingTimer as We } from "./hooks/use-remaining-timer/use-remaining-timer.js";
49
+ import { useResetFormInput as qe } from "./hooks/use-reset-form-input/use-reset-form-input.js";
50
+ import { useTheme as Qe } from "./hooks/use-theme/use-theme.js";
51
+ import { useTooltipPosition as Xe } from "./hooks/use-tooltip-position/use-tooltip-position.js";
52
+ import { useWindowDimensions as Ze } from "./hooks/use-window-dimensions/use-window-dimensions.js";
53
+ import { withFigureCaption as eo } from "./components/hocs/with-figure-caption/with-figure-caption.js";
54
+ import { withTooltip as ro } from "./components/hocs/with-tooltip/with-tooltip.js";
4538
55
  export {
4539
- Q0 as Accordion,
4540
- e2 as Alert,
4541
- Q as AlertMode,
4542
- t2 as Breadcrumbs,
4543
- K as Button,
4544
- H as ButtonView,
4545
- n2 as Checkbox,
4546
- i2 as Dialog,
4547
- K0 as EditableText,
4548
- $e as ErrorMessage,
4549
- d2 as Form,
4550
- ae as FormContext,
4551
- u2 as Grid,
4552
- p1 as Header,
4553
- Y as Icon,
4554
- C as IconName,
4555
- U0 as Image,
4556
- Ce as Input,
4557
- ne as Label,
4558
- En as Link,
4559
- G0 as Loader,
4560
- ee as LoaderView,
4561
- h2 as Menu,
4562
- r2 as MultiSelect,
4563
- s2 as NumericInput,
4564
- te as OrientationMode,
4565
- We as Portal,
4566
- o2 as Search,
4567
- c2 as Select,
4568
- l2 as Switch,
4569
- _2 as Tabs,
4570
- a2 as TextInput,
4571
- g1 as ThemeContext,
4572
- ie as ThemeMode,
4573
- Z0 as ThemeProvider,
4574
- rr as Tooltip,
4575
- x1 as TooltipContainer,
4576
- Un as useAutoClose,
4577
- Te as useClickOutside,
4578
- Gn as useContainerDimensions,
4579
- Yn as useDebounce,
4580
- se as useElementIds,
4581
- Zn as useIsHovered,
4582
- b1 as useIsMounted,
4583
- Y0 as useIsOverflow,
56
+ r as Accordion,
57
+ f as Alert,
58
+ Z as AlertMode,
59
+ m as Breadcrumbs,
60
+ s as Button,
61
+ ee as ButtonView,
62
+ re as CL_DARK_THEME_CLASS,
63
+ te as CL_LIGHT_THEME_CLASS,
64
+ u as Checkbox,
65
+ d as Dialog,
66
+ n as EditableText,
67
+ me as ElementSize,
68
+ T as ErrorMessage,
69
+ I as Form,
70
+ se as FormContext,
71
+ M as Grid,
72
+ E as Header,
73
+ w as Icon,
74
+ ue as IconName,
75
+ b as Image,
76
+ de as Input,
77
+ g as Label,
78
+ F as Link,
79
+ ne as LoaderView,
80
+ P as Menu,
81
+ v as MultiSelect,
82
+ O as NumericInput,
83
+ Te as OrientationMode,
84
+ G as Portal,
85
+ N as Search,
86
+ y as Select,
87
+ Ie as SemanticColor,
88
+ W as Switch,
89
+ q as Tabs,
90
+ Q as TextInput,
91
+ fe as ThemeContext,
92
+ Me as ThemeProvider,
93
+ X as Tooltip,
94
+ Ee as TooltipContainer,
95
+ we as useAutoClose,
96
+ be as useClickOutside,
97
+ ge as useContainerDimensions,
98
+ Fe as useDebounce,
99
+ Pe as useElementIds,
100
+ ve as useIsHovered,
101
+ Oe as useIsMounted,
102
+ Ge as useIsOverflow,
4584
103
  Ne as useKeyPress,
4585
- Jn as useModalFocusTrap,
4586
- Xn as useRemainingTimer,
4587
- _e as useResetFormInput,
4588
- J0 as useTheme,
4589
- Qn as useTooltipPosition,
4590
- X0 as useWindowDimensions,
4591
- P1 as withFigureCaption,
4592
- V1 as withTooltip
104
+ ye as useModalFocusTrap,
105
+ We as useRemainingTimer,
106
+ qe as useResetFormInput,
107
+ Qe as useTheme,
108
+ Xe as useTooltipPosition,
109
+ Ze as useWindowDimensions,
110
+ eo as withFigureCaption,
111
+ ro as withTooltip
4593
112
  };
4594
- //# sourceMappingURL=index.es.js.map