@syzy/apphost 1.0.1 → 1.0.3

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 (213) hide show
  1. package/dist/App.d.ts +4 -0
  2. package/dist/App.js +83 -0
  3. package/dist/AppHostProvider.d.ts +6 -0
  4. package/dist/AppHostProvider.js +4 -0
  5. package/dist/AppHostRoutes.d.ts +1 -0
  6. package/dist/AppHostRoutes.js +7 -0
  7. package/dist/api/image-api.d.ts +8 -0
  8. package/dist/api/image-api.js +45 -0
  9. package/dist/api/mapping-api.d.ts +80 -0
  10. package/dist/api/mapping-api.js +427 -0
  11. package/dist/bookingModule/components/AmenityForm.d.ts +3 -0
  12. package/dist/bookingModule/components/AmenityForm.js +19 -0
  13. package/dist/bookingModule/components/BillingManagement.d.ts +3 -0
  14. package/dist/bookingModule/components/BillingManagement.js +17 -0
  15. package/dist/bookingModule/components/CreateRoomForm.d.ts +3 -0
  16. package/dist/bookingModule/components/CreateRoomForm.js +19 -0
  17. package/dist/bookingModule/components/ExtraRequirementForm.d.ts +3 -0
  18. package/dist/bookingModule/components/ExtraRequirementForm.js +19 -0
  19. package/dist/bookingModule/components/ReservationForm.d.ts +3 -0
  20. package/dist/bookingModule/components/ReservationForm.js +18 -0
  21. package/dist/bookingModule/components/RoomCategoryForm.d.ts +3 -0
  22. package/dist/bookingModule/components/RoomCategoryForm.js +19 -0
  23. package/dist/bookingModule/components/RoomCategoryPriceForm.d.ts +3 -0
  24. package/dist/bookingModule/components/RoomCategoryPriceForm.js +20 -0
  25. package/dist/bookingModule/components/RoomExtraRequirementCapture.d.ts +3 -0
  26. package/dist/bookingModule/components/RoomExtraRequirementCapture.js +18 -0
  27. package/dist/bookingModule/components/RoomFacilityForm.d.ts +3 -0
  28. package/dist/bookingModule/components/RoomFacilityForm.js +19 -0
  29. package/dist/bookingModule/components/RoomReservationAction.d.ts +3 -0
  30. package/dist/bookingModule/components/RoomReservationAction.js +18 -0
  31. package/dist/components/Home/Home.d.ts +3 -0
  32. package/dist/components/Home/Home.js +14 -0
  33. package/dist/components/Loader/Loader.d.ts +2 -0
  34. package/dist/components/Loader/Loader.js +5 -0
  35. package/dist/components/Login/Login.d.ts +7 -0
  36. package/dist/components/Login/Login.js +149 -0
  37. package/dist/components/Login/loginSchema.d.ts +27 -0
  38. package/dist/components/Login/loginSchema.js +41 -0
  39. package/dist/components/Mappings/BranchMapping/Branch.d.ts +5 -0
  40. package/dist/components/Mappings/BranchMapping/Branch.js +135 -0
  41. package/dist/components/Mappings/BranchMapping/BranchTableColumns.d.ts +10 -0
  42. package/dist/components/Mappings/BranchMapping/BranchTableColumns.js +21 -0
  43. package/dist/components/Mappings/BranchMapping/MappingFormBranchUser.d.ts +3 -0
  44. package/dist/components/Mappings/BranchMapping/MappingFormBranchUser.js +150 -0
  45. package/dist/components/Mappings/BranchMapping/MappingTableColumns.d.ts +14 -0
  46. package/dist/components/Mappings/BranchMapping/MappingTableColumns.js +29 -0
  47. package/dist/components/Mappings/BranchMapping/branchSchema.d.ts +37 -0
  48. package/dist/components/Mappings/BranchMapping/branchSchema.js +34 -0
  49. package/dist/components/Mappings/ComponentMapping/ComponentRoleMapping.d.ts +3 -0
  50. package/dist/components/Mappings/ComponentMapping/ComponentRoleMapping.js +98 -0
  51. package/dist/components/Mappings/ComponentMapping/componentRoleColumns.d.ts +3 -0
  52. package/dist/components/Mappings/ComponentMapping/componentRoleColumns.js +29 -0
  53. package/dist/components/Mappings/MappingForm/MappingForm.d.ts +35 -0
  54. package/dist/components/Mappings/MappingForm/MappingForm.js +142 -0
  55. package/dist/components/Mappings/MappingForm/mappingSchema.d.ts +23 -0
  56. package/dist/components/Mappings/MappingForm/mappingSchema.js +32 -0
  57. package/dist/components/Mappings/RoleMapping/MappingFormUserRole.d.ts +5 -0
  58. package/dist/components/Mappings/RoleMapping/MappingFormUserRole.js +194 -0
  59. package/dist/components/Mappings/RoleMapping/UserRoleTableColumns.d.ts +3 -0
  60. package/dist/components/Mappings/RoleMapping/UserRoleTableColumns.js +33 -0
  61. package/dist/components/NavBar/Sidebar.d.ts +4 -0
  62. package/dist/components/NavBar/Sidebar.js +56 -0
  63. package/dist/components/ProfileForm/ProfileForm.d.ts +3 -0
  64. package/dist/components/ProfileForm/ProfileForm.js +190 -0
  65. package/dist/components/ProfileForm/ProfileList.d.ts +3 -0
  66. package/dist/components/ProfileForm/ProfileList.js +33 -0
  67. package/dist/components/ProfileForm/profileColumns.d.ts +3 -0
  68. package/dist/components/ProfileForm/profileColumns.js +67 -0
  69. package/dist/components/ProfileForm/profileSchema.d.ts +52 -0
  70. package/dist/components/ProfileForm/profileSchema.js +50 -0
  71. package/dist/components/SettingsPage/SettingsPage.d.ts +3 -0
  72. package/dist/components/SettingsPage/SettingsPage.js +240 -0
  73. package/dist/components/api/settings-api.d.ts +26 -0
  74. package/dist/components/api/settings-api.js +131 -0
  75. package/dist/components/common/Form/FormActionButtons.d.ts +11 -0
  76. package/dist/components/common/Form/FormActionButtons.js +6 -0
  77. package/dist/components/common/Form/FormLabel.d.ts +8 -0
  78. package/dist/components/common/Form/FormLabel.js +6 -0
  79. package/dist/components/common/ListTable/ListHeader.d.ts +8 -0
  80. package/dist/components/common/ListTable/ListHeader.js +5 -0
  81. package/dist/components/common/ListTable/ListTable.d.ts +17 -0
  82. package/dist/components/common/ListTable/ListTable.js +31 -0
  83. package/dist/components/common/Modal/Modal.d.ts +11 -0
  84. package/dist/components/common/Modal/Modal.js +6 -0
  85. package/dist/config/EnvConfig.d.ts +13 -0
  86. package/dist/config/EnvConfig.js +13 -0
  87. package/dist/config/amplifyConfig.d.ts +1 -0
  88. package/dist/config/amplifyConfig.js +45 -0
  89. package/dist/configureAppHost.d.ts +6 -0
  90. package/dist/configureAppHost.js +5 -0
  91. package/dist/customGraphQL/customMutations.d.ts +3 -0
  92. package/dist/customGraphQL/customMutations.js +53 -0
  93. package/dist/customGraphQL/customQueries.d.ts +7 -0
  94. package/dist/customGraphQL/customQueries.js +104 -0
  95. package/dist/domain/input/input-types.d.ts +47 -0
  96. package/dist/domain/input/input-types.js +1 -0
  97. package/dist/domain/model/BranchDto.d.ts +9 -0
  98. package/dist/domain/model/BranchDto.js +8 -0
  99. package/dist/domain/model/ComponentMappingDto.d.ts +24 -0
  100. package/dist/domain/model/ComponentMappingDto.js +19 -0
  101. package/dist/domain/model/MappingDto.d.ts +30 -0
  102. package/dist/domain/model/MappingDto.js +16 -0
  103. package/dist/domain/model/PrefixDescriptionDto.d.ts +16 -0
  104. package/dist/domain/model/PrefixDescriptionDto.js +13 -0
  105. package/dist/domain/model/ProfileDto.d.ts +21 -0
  106. package/dist/domain/model/ProfileDto.js +20 -0
  107. package/dist/domain/model/RoleMappingDto.d.ts +14 -0
  108. package/dist/domain/model/RoleMappingDto.js +19 -0
  109. package/dist/domain/model/SettingsDto.d.ts +8 -0
  110. package/dist/domain/model/SettingsDto.js +7 -0
  111. package/dist/domain/model/UserMappingDto.d.ts +14 -0
  112. package/dist/domain/model/UserMappingDto.js +28 -0
  113. package/dist/domain/model/imageDto.d.ts +4 -0
  114. package/dist/domain/model/imageDto.js +1 -0
  115. package/dist/domain/type/EntityTypes.d.ts +5 -0
  116. package/dist/domain/type/EntityTypes.js +6 -0
  117. package/dist/domain/type/MappingOptions.d.ts +5 -0
  118. package/dist/domain/type/MappingOptions.js +1 -0
  119. package/dist/domain/type/MappingTypes.d.ts +6 -0
  120. package/dist/domain/type/MappingTypes.js +7 -0
  121. package/dist/domain/type/Nullable.d.ts +13 -0
  122. package/dist/domain/type/Nullable.js +1 -0
  123. package/dist/domain/type/ResettingPeriodOptions.d.ts +2 -0
  124. package/dist/domain/type/ResettingPeriodOptions.js +8 -0
  125. package/dist/domain/type/RolesEnum.d.ts +6 -0
  126. package/dist/domain/type/RolesEnum.js +7 -0
  127. package/dist/domain/type/SelectType.d.ts +16 -0
  128. package/dist/domain/type/SelectType.js +1 -0
  129. package/dist/domain/type/StatusEnum.d.ts +5 -0
  130. package/dist/domain/type/StatusEnum.js +6 -0
  131. package/dist/domain/type/signUpOptions.d.ts +2 -0
  132. package/dist/domain/type/signUpOptions.js +4 -0
  133. package/dist/domain/type/statusOptions.d.ts +2 -0
  134. package/dist/domain/type/statusOptions.js +4 -0
  135. package/dist/graphql/profileQueries.d.ts +4 -0
  136. package/dist/graphql/profileQueries.js +89 -0
  137. package/dist/hoc/withSyzyAuth.d.ts +2 -0
  138. package/dist/hoc/withSyzyAuth.js +87 -0
  139. package/dist/hooks/useCurrentUser.d.ts +3 -0
  140. package/dist/hooks/useCurrentUser.js +6 -0
  141. package/dist/hooks/useDispatch.d.ts +3 -0
  142. package/dist/hooks/useDispatch.js +7 -0
  143. package/dist/hooks/usePermission.d.ts +1 -0
  144. package/dist/hooks/usePermission.js +7 -0
  145. package/dist/index.d.ts +3 -0
  146. package/dist/index.js +3 -15
  147. package/dist/main.d.ts +4 -0
  148. package/dist/main.js +60 -0
  149. package/dist/services/Client.Service.d.ts +12 -0
  150. package/dist/services/Client.Service.js +96 -0
  151. package/dist/services/Storage-service.d.ts +2 -0
  152. package/dist/services/Storage-service.js +26 -0
  153. package/dist/services/navigationMenu.d.ts +1 -0
  154. package/dist/services/navigationMenu.js +9 -0
  155. package/dist/static/constants.d.ts +34 -0
  156. package/dist/static/constants.js +34 -0
  157. package/dist/store/AppAction.d.ts +11 -0
  158. package/dist/store/AppAction.js +5 -0
  159. package/dist/store/AppContext.d.ts +3 -0
  160. package/dist/store/AppContext.js +3 -0
  161. package/dist/store/AppContextType.d.ts +12 -0
  162. package/dist/store/AppContextType.js +6 -0
  163. package/dist/store/AppProvider.d.ts +7 -0
  164. package/dist/store/AppProvider.js +32 -0
  165. package/dist/store/HostedInContainerContext.d.ts +5 -0
  166. package/dist/store/HostedInContainerContext.js +11 -0
  167. package/dist/store/SesssionReducer.d.ts +4 -0
  168. package/dist/store/SesssionReducer.js +16 -0
  169. package/dist/types.d.ts +26 -0
  170. package/dist/types.js +14 -0
  171. package/dist/util/AuthUtils.d.ts +1 -0
  172. package/dist/util/AuthUtils.js +10 -0
  173. package/dist/util/LogEnum.d.ts +6 -0
  174. package/dist/util/LogEnum.js +7 -0
  175. package/dist/util/Logger.d.ts +6 -0
  176. package/dist/util/Logger.js +18 -0
  177. package/dist/util/SyzyDate.d.ts +69 -0
  178. package/dist/util/SyzyDate.js +265 -0
  179. package/dist/util/dateUtils.d.ts +10 -0
  180. package/dist/util/dateUtils.js +24 -0
  181. package/dist/util/hostedinContainer.d.ts +1 -0
  182. package/dist/util/hostedinContainer.js +9 -0
  183. package/dist/util/model-types.d.ts +96 -0
  184. package/dist/util/model-types.js +18 -0
  185. package/dist/util/prefixAndResettingValidation.d.ts +9 -0
  186. package/dist/util/prefixAndResettingValidation.js +54 -0
  187. package/dist/util/transformToData.d.ts +1 -0
  188. package/dist/util/transformToData.js +9 -0
  189. package/package.json +14 -9
  190. package/dist/__federation_shared_@tanstack/react-query-DHuUsaNz.js +0 -2517
  191. package/dist/__federation_shared_react-CikWE6qG.js +0 -7
  192. package/dist/__federation_shared_react-bootstrap-BKlZRvMR.js +0 -7516
  193. package/dist/__federation_shared_react-dom-vrQ70Ay8.js +0 -372
  194. package/dist/__federation_shared_react-router-dom-BKminmS4.js +0 -10448
  195. package/dist/__federation_shared_react-select-B6kehBDI.js +0 -4056
  196. package/dist/__federation_shared_react-toastify-B0S0UGr3.js +0 -412
  197. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  198. package/dist/_virtual___federation_fn_import-XZCKozko.js +0 -217
  199. package/dist/favicon.ico +0 -0
  200. package/dist/index-DgtWMtjZ.js +0 -184
  201. package/dist/index-eZknuYwc.js +0 -1219
  202. package/dist/jsx-runtime-D_t4bG-_.js +0 -264
  203. package/dist/manifest.webmanifest +0 -1
  204. package/dist/pwa/Hotel-icon.jpg +0 -0
  205. package/dist/pwa/apple-touch-icon-180x180.png +0 -0
  206. package/dist/pwa/favicon.ico +0 -0
  207. package/dist/pwa/maskable-icon-512x512.png +0 -0
  208. package/dist/pwa/pwa-192x192.png +0 -0
  209. package/dist/pwa/pwa-512x512.png +0 -0
  210. package/dist/pwa/pwa-64x64.png +0 -0
  211. package/dist/registerSW.js +0 -1
  212. package/dist/sw.js +0 -1
  213. package/dist/workbox-1ef09536.js +0 -1
@@ -1,4056 +0,0 @@
1
- import { i as k } from "./_virtual___federation_fn_import-XZCKozko.js";
2
- import { _ as ii, b as ri, r as ui, a as E } from "./index-DgtWMtjZ.js";
3
- function de(t) {
4
- "@babel/helpers - typeof";
5
- return de = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
- return typeof e;
7
- } : function(e) {
8
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
- }, de(t);
10
- }
11
- function ai(t, e) {
12
- if (de(t) != "object" || !t) return t;
13
- var i = t[Symbol.toPrimitive];
14
- if (i !== void 0) {
15
- var r = i.call(t, e);
16
- if (de(r) != "object") return r;
17
- throw new TypeError("@@toPrimitive must return a primitive value.");
18
- }
19
- return (e === "string" ? String : Number)(t);
20
- }
21
- function sn(t) {
22
- var e = ai(t, "string");
23
- return de(e) == "symbol" ? e : e + "";
24
- }
25
- function he(t, e, i) {
26
- return (e = sn(e)) in t ? Object.defineProperty(t, e, {
27
- value: i,
28
- enumerable: !0,
29
- configurable: !0,
30
- writable: !0
31
- }) : t[e] = i, t;
32
- }
33
- function Xt(t, e) {
34
- var i = Object.keys(t);
35
- if (Object.getOwnPropertySymbols) {
36
- var r = Object.getOwnPropertySymbols(t);
37
- e && (r = r.filter(function(n) {
38
- return Object.getOwnPropertyDescriptor(t, n).enumerable;
39
- })), i.push.apply(i, r);
40
- }
41
- return i;
42
- }
43
- function G(t) {
44
- for (var e = 1; e < arguments.length; e++) {
45
- var i = arguments[e] != null ? arguments[e] : {};
46
- e % 2 ? Xt(Object(i), !0).forEach(function(r) {
47
- he(t, r, i[r]);
48
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Xt(Object(i)).forEach(function(r) {
49
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(i, r));
50
- });
51
- }
52
- return t;
53
- }
54
- function oi(t) {
55
- if (Array.isArray(t)) return t;
56
- }
57
- function si(t, e) {
58
- var i = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
59
- if (i != null) {
60
- var r, n, u, o, c = [], a = !0, s = !1;
61
- try {
62
- if (u = (i = i.call(t)).next, e === 0) {
63
- if (Object(i) !== i) return;
64
- a = !1;
65
- } else for (; !(a = (r = u.call(i)).done) && (c.push(r.value), c.length !== e); a = !0) ;
66
- } catch (l) {
67
- s = !0, n = l;
68
- } finally {
69
- try {
70
- if (!a && i.return != null && (o = i.return(), Object(o) !== o)) return;
71
- } finally {
72
- if (s) throw n;
73
- }
74
- }
75
- return c;
76
- }
77
- }
78
- function ot(t, e) {
79
- (e == null || e > t.length) && (e = t.length);
80
- for (var i = 0, r = Array(e); i < e; i++) r[i] = t[i];
81
- return r;
82
- }
83
- function cn(t, e) {
84
- if (t) {
85
- if (typeof t == "string") return ot(t, e);
86
- var i = {}.toString.call(t).slice(8, -1);
87
- return i === "Object" && t.constructor && (i = t.constructor.name), i === "Map" || i === "Set" ? Array.from(t) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? ot(t, e) : void 0;
88
- }
89
- }
90
- function ci() {
91
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
92
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
93
- }
94
- function ne(t, e) {
95
- return oi(t) || si(t, e) || cn(t, e) || ci();
96
- }
97
- function re(t, e) {
98
- if (t == null) return {};
99
- var i, r, n = ii(t, e);
100
- if (Object.getOwnPropertySymbols) {
101
- var u = Object.getOwnPropertySymbols(t);
102
- for (r = 0; r < u.length; r++) i = u[r], e.indexOf(i) === -1 && {}.propertyIsEnumerable.call(t, i) && (n[i] = t[i]);
103
- }
104
- return n;
105
- }
106
- const { useState: _e, useCallback: Be } = await k("react");
107
- var li = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
108
- function di(t) {
109
- var e = t.defaultInputValue, i = e === void 0 ? "" : e, r = t.defaultMenuIsOpen, n = r === void 0 ? !1 : r, u = t.defaultValue, o = u === void 0 ? null : u, c = t.inputValue, a = t.menuIsOpen, s = t.onChange, l = t.onInputChange, d = t.onMenuClose, f = t.onMenuOpen, I = t.value, m = re(t, li), b = _e(c !== void 0 ? c : i), g = ne(b, 2), p = g[0], v = g[1], h = _e(a !== void 0 ? a : n), y = ne(h, 2), V = y[0], x = y[1], C = _e(I !== void 0 ? I : o), B = ne(C, 2), X = B[0], M = B[1], D = Be(function(z, ue) {
110
- typeof s == "function" && s(z, ue), M(z);
111
- }, [s]), H = Be(function(z, ue) {
112
- var ae;
113
- typeof l == "function" && (ae = l(z, ue)), v(ae !== void 0 ? ae : z);
114
- }, [l]), K = Be(function() {
115
- typeof f == "function" && f(), x(!0);
116
- }, [f]), q = Be(function() {
117
- typeof d == "function" && d(), x(!1);
118
- }, [d]), N = c !== void 0 ? c : p, w = a !== void 0 ? a : V, U = I !== void 0 ? I : X;
119
- return G(G({}, m), {}, {
120
- inputValue: N,
121
- menuIsOpen: w,
122
- onChange: D,
123
- onInputChange: H,
124
- onMenuClose: q,
125
- onMenuOpen: K,
126
- value: U
127
- });
128
- }
129
- function gi(t, e) {
130
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
131
- }
132
- function Pt(t, e) {
133
- for (var i = 0; i < e.length; i++) {
134
- var r = e[i];
135
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, sn(r.key), r);
136
- }
137
- }
138
- function bi(t, e, i) {
139
- return e && Pt(t.prototype, e), i && Pt(t, i), Object.defineProperty(t, "prototype", {
140
- writable: !1
141
- }), t;
142
- }
143
- function pi(t, e) {
144
- if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
145
- t.prototype = Object.create(e && e.prototype, {
146
- constructor: {
147
- value: t,
148
- writable: !0,
149
- configurable: !0
150
- }
151
- }), Object.defineProperty(t, "prototype", {
152
- writable: !1
153
- }), e && ri(t, e);
154
- }
155
- function Te(t) {
156
- return Te = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
157
- return e.__proto__ || Object.getPrototypeOf(e);
158
- }, Te(t);
159
- }
160
- function ln() {
161
- try {
162
- var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
163
- }));
164
- } catch {
165
- }
166
- return (ln = function() {
167
- return !!t;
168
- })();
169
- }
170
- function fi(t) {
171
- if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
172
- return t;
173
- }
174
- function Ii(t, e) {
175
- if (e && (de(e) == "object" || typeof e == "function")) return e;
176
- if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
177
- return fi(t);
178
- }
179
- function mi(t) {
180
- var e = ln();
181
- return function() {
182
- var i, r = Te(t);
183
- if (e) {
184
- var n = Te(this).constructor;
185
- i = Reflect.construct(r, arguments, n);
186
- } else i = r.apply(this, arguments);
187
- return Ii(this, i);
188
- };
189
- }
190
- function vi(t) {
191
- if (Array.isArray(t)) return ot(t);
192
- }
193
- function Ci(t) {
194
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
195
- }
196
- function hi() {
197
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
198
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
199
- }
200
- function mt(t) {
201
- return vi(t) || Ci(t) || cn(t) || hi();
202
- }
203
- function Ai(t) {
204
- if (t.sheet)
205
- return t.sheet;
206
- for (var e = 0; e < document.styleSheets.length; e++)
207
- if (document.styleSheets[e].ownerNode === t)
208
- return document.styleSheets[e];
209
- }
210
- function Gi(t) {
211
- var e = document.createElement("style");
212
- return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
213
- }
214
- var xi = /* @__PURE__ */ (function() {
215
- function t(i) {
216
- var r = this;
217
- this._insertTag = function(n) {
218
- var u;
219
- r.tags.length === 0 ? r.insertionPoint ? u = r.insertionPoint.nextSibling : r.prepend ? u = r.container.firstChild : u = r.before : u = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(n, u), r.tags.push(n);
220
- }, this.isSpeedy = i.speedy === void 0 ? !0 : i.speedy, this.tags = [], this.ctr = 0, this.nonce = i.nonce, this.key = i.key, this.container = i.container, this.prepend = i.prepend, this.insertionPoint = i.insertionPoint, this.before = null;
221
- }
222
- var e = t.prototype;
223
- return e.hydrate = function(r) {
224
- r.forEach(this._insertTag);
225
- }, e.insert = function(r) {
226
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Gi(this));
227
- var n = this.tags[this.tags.length - 1];
228
- if (this.isSpeedy) {
229
- var u = Ai(n);
230
- try {
231
- u.insertRule(r, u.cssRules.length);
232
- } catch {
233
- }
234
- } else
235
- n.appendChild(document.createTextNode(r));
236
- this.ctr++;
237
- }, e.flush = function() {
238
- this.tags.forEach(function(r) {
239
- var n;
240
- return (n = r.parentNode) == null ? void 0 : n.removeChild(r);
241
- }), this.tags = [], this.ctr = 0;
242
- }, t;
243
- })(), O = "-ms-", Me = "-moz-", F = "-webkit-", dn = "comm", vt = "rule", Ct = "decl", yi = "@import", gn = "@keyframes", Ei = "@layer", Vi = Math.abs, ke = String.fromCharCode, Bi = Object.assign;
244
- function Fi(t, e) {
245
- return T(t, 0) ^ 45 ? (((e << 2 ^ T(t, 0)) << 2 ^ T(t, 1)) << 2 ^ T(t, 2)) << 2 ^ T(t, 3) : 0;
246
- }
247
- function bn(t) {
248
- return t.trim();
249
- }
250
- function Si(t, e) {
251
- return (t = e.exec(t)) ? t[0] : t;
252
- }
253
- function S(t, e, i) {
254
- return t.replace(e, i);
255
- }
256
- function st(t, e) {
257
- return t.indexOf(e);
258
- }
259
- function T(t, e) {
260
- return t.charCodeAt(e) | 0;
261
- }
262
- function Ae(t, e, i) {
263
- return t.slice(e, i);
264
- }
265
- function Q(t) {
266
- return t.length;
267
- }
268
- function ht(t) {
269
- return t.length;
270
- }
271
- function Fe(t, e) {
272
- return e.push(t), t;
273
- }
274
- function Ri(t, e) {
275
- return t.map(e).join("");
276
- }
277
- var je = 1, fe = 1, pn = 0, L = 0, W = 0, Ie = "";
278
- function Ue(t, e, i, r, n, u, o) {
279
- return { value: t, root: e, parent: i, type: r, props: n, children: u, line: je, column: fe, length: o, return: "" };
280
- }
281
- function me(t, e) {
282
- return Bi(Ue("", null, null, "", null, null, 0), t, { length: -t.length }, e);
283
- }
284
- function Xi() {
285
- return W;
286
- }
287
- function Pi() {
288
- return W = L > 0 ? T(Ie, --L) : 0, fe--, W === 10 && (fe = 1, je--), W;
289
- }
290
- function Y() {
291
- return W = L < pn ? T(Ie, L++) : 0, fe++, W === 10 && (fe = 1, je++), W;
292
- }
293
- function _() {
294
- return T(Ie, L);
295
- }
296
- function We() {
297
- return L;
298
- }
299
- function ye(t, e) {
300
- return Ae(Ie, t, e);
301
- }
302
- function Ge(t) {
303
- switch (t) {
304
- // \0 \t \n \r \s whitespace token
305
- case 0:
306
- case 9:
307
- case 10:
308
- case 13:
309
- case 32:
310
- return 5;
311
- // ! + , / > @ ~ isolate token
312
- case 33:
313
- case 43:
314
- case 44:
315
- case 47:
316
- case 62:
317
- case 64:
318
- case 126:
319
- // ; { } breakpoint token
320
- case 59:
321
- case 123:
322
- case 125:
323
- return 4;
324
- // : accompanied token
325
- case 58:
326
- return 3;
327
- // " ' ( [ opening delimit token
328
- case 34:
329
- case 39:
330
- case 40:
331
- case 91:
332
- return 2;
333
- // ) ] closing delimit token
334
- case 41:
335
- case 93:
336
- return 1;
337
- }
338
- return 0;
339
- }
340
- function fn(t) {
341
- return je = fe = 1, pn = Q(Ie = t), L = 0, [];
342
- }
343
- function In(t) {
344
- return Ie = "", t;
345
- }
346
- function we(t) {
347
- return bn(ye(L - 1, ct(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
348
- }
349
- function Wi(t) {
350
- for (; (W = _()) && W < 33; )
351
- Y();
352
- return Ge(t) > 2 || Ge(W) > 3 ? "" : " ";
353
- }
354
- function wi(t, e) {
355
- for (; --e && Y() && !(W < 48 || W > 102 || W > 57 && W < 65 || W > 70 && W < 97); )
356
- ;
357
- return ye(t, We() + (e < 6 && _() == 32 && Y() == 32));
358
- }
359
- function ct(t) {
360
- for (; Y(); )
361
- switch (W) {
362
- // ] ) " '
363
- case t:
364
- return L;
365
- // " '
366
- case 34:
367
- case 39:
368
- t !== 34 && t !== 39 && ct(W);
369
- break;
370
- // (
371
- case 40:
372
- t === 41 && ct(t);
373
- break;
374
- // \
375
- case 92:
376
- Y();
377
- break;
378
- }
379
- return L;
380
- }
381
- function Zi(t, e) {
382
- for (; Y() && t + W !== 57; )
383
- if (t + W === 84 && _() === 47)
384
- break;
385
- return "/*" + ye(e, L - 1) + "*" + ke(t === 47 ? t : Y());
386
- }
387
- function Ni(t) {
388
- for (; !Ge(_()); )
389
- Y();
390
- return ye(t, L);
391
- }
392
- function Ti(t) {
393
- return In(Ze("", null, null, null, [""], t = fn(t), 0, [0], t));
394
- }
395
- function Ze(t, e, i, r, n, u, o, c, a) {
396
- for (var s = 0, l = 0, d = o, f = 0, I = 0, m = 0, b = 1, g = 1, p = 1, v = 0, h = "", y = n, V = u, x = r, C = h; g; )
397
- switch (m = v, v = Y()) {
398
- // (
399
- case 40:
400
- if (m != 108 && T(C, d - 1) == 58) {
401
- st(C += S(we(v), "&", "&\f"), "&\f") != -1 && (p = -1);
402
- break;
403
- }
404
- // " ' [
405
- case 34:
406
- case 39:
407
- case 91:
408
- C += we(v);
409
- break;
410
- // \t \n \r \s
411
- case 9:
412
- case 10:
413
- case 13:
414
- case 32:
415
- C += Wi(m);
416
- break;
417
- // \
418
- case 92:
419
- C += wi(We() - 1, 7);
420
- continue;
421
- // /
422
- case 47:
423
- switch (_()) {
424
- case 42:
425
- case 47:
426
- Fe(Mi(Zi(Y(), We()), e, i), a);
427
- break;
428
- default:
429
- C += "/";
430
- }
431
- break;
432
- // {
433
- case 123 * b:
434
- c[s++] = Q(C) * p;
435
- // } ; \0
436
- case 125 * b:
437
- case 59:
438
- case 0:
439
- switch (v) {
440
- // \0 }
441
- case 0:
442
- case 125:
443
- g = 0;
444
- // ;
445
- case 59 + l:
446
- p == -1 && (C = S(C, /\f/g, "")), I > 0 && Q(C) - d && Fe(I > 32 ? wt(C + ";", r, i, d - 1) : wt(S(C, " ", "") + ";", r, i, d - 2), a);
447
- break;
448
- // @ ;
449
- case 59:
450
- C += ";";
451
- // { rule/at-rule
452
- default:
453
- if (Fe(x = Wt(C, e, i, s, l, n, c, h, y = [], V = [], d), u), v === 123)
454
- if (l === 0)
455
- Ze(C, e, x, x, y, u, d, c, V);
456
- else
457
- switch (f === 99 && T(C, 3) === 110 ? 100 : f) {
458
- // d l m s
459
- case 100:
460
- case 108:
461
- case 109:
462
- case 115:
463
- Ze(t, x, x, r && Fe(Wt(t, x, x, 0, 0, n, c, h, n, y = [], d), V), n, V, d, c, r ? y : V);
464
- break;
465
- default:
466
- Ze(C, x, x, x, [""], V, 0, c, V);
467
- }
468
- }
469
- s = l = I = 0, b = p = 1, h = C = "", d = o;
470
- break;
471
- // :
472
- case 58:
473
- d = 1 + Q(C), I = m;
474
- default:
475
- if (b < 1) {
476
- if (v == 123)
477
- --b;
478
- else if (v == 125 && b++ == 0 && Pi() == 125)
479
- continue;
480
- }
481
- switch (C += ke(v), v * b) {
482
- // &
483
- case 38:
484
- p = l > 0 ? 1 : (C += "\f", -1);
485
- break;
486
- // ,
487
- case 44:
488
- c[s++] = (Q(C) - 1) * p, p = 1;
489
- break;
490
- // @
491
- case 64:
492
- _() === 45 && (C += we(Y())), f = _(), l = d = Q(h = C += Ni(We())), v++;
493
- break;
494
- // -
495
- case 45:
496
- m === 45 && Q(C) == 2 && (b = 0);
497
- }
498
- }
499
- return u;
500
- }
501
- function Wt(t, e, i, r, n, u, o, c, a, s, l) {
502
- for (var d = n - 1, f = n === 0 ? u : [""], I = ht(f), m = 0, b = 0, g = 0; m < r; ++m)
503
- for (var p = 0, v = Ae(t, d + 1, d = Vi(b = o[m])), h = t; p < I; ++p)
504
- (h = bn(b > 0 ? f[p] + " " + v : S(v, /&\f/g, f[p]))) && (a[g++] = h);
505
- return Ue(t, e, i, n === 0 ? vt : c, a, s, l);
506
- }
507
- function Mi(t, e, i) {
508
- return Ue(t, e, i, dn, ke(Xi()), Ae(t, 2, -2), 0);
509
- }
510
- function wt(t, e, i, r) {
511
- return Ue(t, e, i, Ct, Ae(t, 0, r), Ae(t, r + 1, -1), r);
512
- }
513
- function pe(t, e) {
514
- for (var i = "", r = ht(t), n = 0; n < r; n++)
515
- i += e(t[n], n, t, e) || "";
516
- return i;
517
- }
518
- function Hi(t, e, i, r) {
519
- switch (t.type) {
520
- case Ei:
521
- if (t.children.length) break;
522
- case yi:
523
- case Ct:
524
- return t.return = t.return || t.value;
525
- case dn:
526
- return "";
527
- case gn:
528
- return t.return = t.value + "{" + pe(t.children, r) + "}";
529
- case vt:
530
- t.value = t.props.join(",");
531
- }
532
- return Q(i = pe(t.children, r)) ? t.return = t.value + "{" + i + "}" : "";
533
- }
534
- function Oi(t) {
535
- var e = ht(t);
536
- return function(i, r, n, u) {
537
- for (var o = "", c = 0; c < e; c++)
538
- o += t[c](i, r, n, u) || "";
539
- return o;
540
- };
541
- }
542
- function Di(t) {
543
- return function(e) {
544
- e.root || (e = e.return) && t(e);
545
- };
546
- }
547
- function Li(t) {
548
- var e = /* @__PURE__ */ Object.create(null);
549
- return function(i) {
550
- return e[i] === void 0 && (e[i] = t(i)), e[i];
551
- };
552
- }
553
- var Ji = function(e, i, r) {
554
- for (var n = 0, u = 0; n = u, u = _(), n === 38 && u === 12 && (i[r] = 1), !Ge(u); )
555
- Y();
556
- return ye(e, L);
557
- }, Yi = function(e, i) {
558
- var r = -1, n = 44;
559
- do
560
- switch (Ge(n)) {
561
- case 0:
562
- n === 38 && _() === 12 && (i[r] = 1), e[r] += Ji(L - 1, i, r);
563
- break;
564
- case 2:
565
- e[r] += we(n);
566
- break;
567
- case 4:
568
- if (n === 44) {
569
- e[++r] = _() === 58 ? "&\f" : "", i[r] = e[r].length;
570
- break;
571
- }
572
- // fallthrough
573
- default:
574
- e[r] += ke(n);
575
- }
576
- while (n = Y());
577
- return e;
578
- }, zi = function(e, i) {
579
- return In(Yi(fn(e), i));
580
- }, Zt = /* @__PURE__ */ new WeakMap(), ki = function(e) {
581
- if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
582
- // negative .length indicates that this rule has been already prefixed
583
- e.length < 1)) {
584
- for (var i = e.value, r = e.parent, n = e.column === r.column && e.line === r.line; r.type !== "rule"; )
585
- if (r = r.parent, !r) return;
586
- if (!(e.props.length === 1 && i.charCodeAt(0) !== 58 && !Zt.get(r)) && !n) {
587
- Zt.set(e, !0);
588
- for (var u = [], o = zi(i, u), c = r.props, a = 0, s = 0; a < o.length; a++)
589
- for (var l = 0; l < c.length; l++, s++)
590
- e.props[s] = u[a] ? o[a].replace(/&\f/g, c[l]) : c[l] + " " + o[a];
591
- }
592
- }
593
- }, ji = function(e) {
594
- if (e.type === "decl") {
595
- var i = e.value;
596
- // charcode for l
597
- i.charCodeAt(0) === 108 && // charcode for b
598
- i.charCodeAt(2) === 98 && (e.return = "", e.value = "");
599
- }
600
- };
601
- function mn(t, e) {
602
- switch (Fi(t, e)) {
603
- // color-adjust
604
- case 5103:
605
- return F + "print-" + t + t;
606
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
607
- case 5737:
608
- case 4201:
609
- case 3177:
610
- case 3433:
611
- case 1641:
612
- case 4457:
613
- case 2921:
614
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
615
- case 5572:
616
- case 6356:
617
- case 5844:
618
- case 3191:
619
- case 6645:
620
- case 3005:
621
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
622
- case 6391:
623
- case 5879:
624
- case 5623:
625
- case 6135:
626
- case 4599:
627
- case 4855:
628
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
629
- case 4215:
630
- case 6389:
631
- case 5109:
632
- case 5365:
633
- case 5621:
634
- case 3829:
635
- return F + t + t;
636
- // appearance, user-select, transform, hyphens, text-size-adjust
637
- case 5349:
638
- case 4246:
639
- case 4810:
640
- case 6968:
641
- case 2756:
642
- return F + t + Me + t + O + t + t;
643
- // flex, flex-direction
644
- case 6828:
645
- case 4268:
646
- return F + t + O + t + t;
647
- // order
648
- case 6165:
649
- return F + t + O + "flex-" + t + t;
650
- // align-items
651
- case 5187:
652
- return F + t + S(t, /(\w+).+(:[^]+)/, F + "box-$1$2" + O + "flex-$1$2") + t;
653
- // align-self
654
- case 5443:
655
- return F + t + O + "flex-item-" + S(t, /flex-|-self/, "") + t;
656
- // align-content
657
- case 4675:
658
- return F + t + O + "flex-line-pack" + S(t, /align-content|flex-|-self/, "") + t;
659
- // flex-shrink
660
- case 5548:
661
- return F + t + O + S(t, "shrink", "negative") + t;
662
- // flex-basis
663
- case 5292:
664
- return F + t + O + S(t, "basis", "preferred-size") + t;
665
- // flex-grow
666
- case 6060:
667
- return F + "box-" + S(t, "-grow", "") + F + t + O + S(t, "grow", "positive") + t;
668
- // transition
669
- case 4554:
670
- return F + S(t, /([^-])(transform)/g, "$1" + F + "$2") + t;
671
- // cursor
672
- case 6187:
673
- return S(S(S(t, /(zoom-|grab)/, F + "$1"), /(image-set)/, F + "$1"), t, "") + t;
674
- // background, background-image
675
- case 5495:
676
- case 3959:
677
- return S(t, /(image-set\([^]*)/, F + "$1$`$1");
678
- // justify-content
679
- case 4968:
680
- return S(S(t, /(.+:)(flex-)?(.*)/, F + "box-pack:$3" + O + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + F + t + t;
681
- // (margin|padding)-inline-(start|end)
682
- case 4095:
683
- case 3583:
684
- case 4068:
685
- case 2532:
686
- return S(t, /(.+)-inline(.+)/, F + "$1$2") + t;
687
- // (min|max)?(width|height|inline-size|block-size)
688
- case 8116:
689
- case 7059:
690
- case 5753:
691
- case 5535:
692
- case 5445:
693
- case 5701:
694
- case 4933:
695
- case 4677:
696
- case 5533:
697
- case 5789:
698
- case 5021:
699
- case 4765:
700
- if (Q(t) - 1 - e > 6) switch (T(t, e + 1)) {
701
- // (m)ax-content, (m)in-content
702
- case 109:
703
- if (T(t, e + 4) !== 45) break;
704
- // (f)ill-available, (f)it-content
705
- case 102:
706
- return S(t, /(.+:)(.+)-([^]+)/, "$1" + F + "$2-$3$1" + Me + (T(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
707
- // (s)tretch
708
- case 115:
709
- return ~st(t, "stretch") ? mn(S(t, "stretch", "fill-available"), e) + t : t;
710
- }
711
- break;
712
- // position: sticky
713
- case 4949:
714
- if (T(t, e + 1) !== 115) break;
715
- // display: (flex|inline-flex)
716
- case 6444:
717
- switch (T(t, Q(t) - 3 - (~st(t, "!important") && 10))) {
718
- // stic(k)y
719
- case 107:
720
- return S(t, ":", ":" + F) + t;
721
- // (inline-)?fl(e)x
722
- case 101:
723
- return S(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + F + (T(t, 14) === 45 ? "inline-" : "") + "box$3$1" + F + "$2$3$1" + O + "$2box$3") + t;
724
- }
725
- break;
726
- // writing-mode
727
- case 5936:
728
- switch (T(t, e + 11)) {
729
- // vertical-l(r)
730
- case 114:
731
- return F + t + O + S(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
732
- // vertical-r(l)
733
- case 108:
734
- return F + t + O + S(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
735
- // horizontal(-)tb
736
- case 45:
737
- return F + t + O + S(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
738
- }
739
- return F + t + O + t + t;
740
- }
741
- return t;
742
- }
743
- var Ui = function(e, i, r, n) {
744
- if (e.length > -1 && !e.return) switch (e.type) {
745
- case Ct:
746
- e.return = mn(e.value, e.length);
747
- break;
748
- case gn:
749
- return pe([me(e, {
750
- value: S(e.value, "@", "@" + F)
751
- })], n);
752
- case vt:
753
- if (e.length) return Ri(e.props, function(u) {
754
- switch (Si(u, /(::plac\w+|:read-\w+)/)) {
755
- // :read-(only|write)
756
- case ":read-only":
757
- case ":read-write":
758
- return pe([me(e, {
759
- props: [S(u, /:(read-\w+)/, ":" + Me + "$1")]
760
- })], n);
761
- // :placeholder
762
- case "::placeholder":
763
- return pe([me(e, {
764
- props: [S(u, /:(plac\w+)/, ":" + F + "input-$1")]
765
- }), me(e, {
766
- props: [S(u, /:(plac\w+)/, ":" + Me + "$1")]
767
- }), me(e, {
768
- props: [S(u, /:(plac\w+)/, O + "input-$1")]
769
- })], n);
770
- }
771
- return "";
772
- });
773
- }
774
- }, Qi = [Ui], vn = function(e) {
775
- var i = e.key;
776
- if (i === "css") {
777
- var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
778
- Array.prototype.forEach.call(r, function(b) {
779
- var g = b.getAttribute("data-emotion");
780
- g.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
781
- });
782
- }
783
- var n = e.stylisPlugins || Qi, u = {}, o, c = [];
784
- o = e.container || document.head, Array.prototype.forEach.call(
785
- // this means we will ignore elements which don't have a space in them which
786
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
787
- document.querySelectorAll('style[data-emotion^="' + i + ' "]'),
788
- function(b) {
789
- for (var g = b.getAttribute("data-emotion").split(" "), p = 1; p < g.length; p++)
790
- u[g[p]] = !0;
791
- c.push(b);
792
- }
793
- );
794
- var a, s = [ki, ji];
795
- {
796
- var l, d = [Hi, Di(function(b) {
797
- l.insert(b);
798
- })], f = Oi(s.concat(n, d)), I = function(g) {
799
- return pe(Ti(g), f);
800
- };
801
- a = function(g, p, v, h) {
802
- l = v, I(g ? g + "{" + p.styles + "}" : p.styles), h && (m.inserted[p.name] = !0);
803
- };
804
- }
805
- var m = {
806
- key: i,
807
- sheet: new xi({
808
- key: i,
809
- container: o,
810
- nonce: e.nonce,
811
- speedy: e.speedy,
812
- prepend: e.prepend,
813
- insertionPoint: e.insertionPoint
814
- }),
815
- nonce: e.nonce,
816
- inserted: u,
817
- registered: {},
818
- insert: a
819
- };
820
- return m.sheet.hydrate(c), m;
821
- }, Ke, Nt;
822
- function $i() {
823
- if (Nt) return Ke;
824
- Nt = 1;
825
- var t = ui(), e = {
826
- childContextTypes: !0,
827
- contextType: !0,
828
- contextTypes: !0,
829
- defaultProps: !0,
830
- displayName: !0,
831
- getDefaultProps: !0,
832
- getDerivedStateFromError: !0,
833
- getDerivedStateFromProps: !0,
834
- mixins: !0,
835
- propTypes: !0,
836
- type: !0
837
- }, i = {
838
- name: !0,
839
- length: !0,
840
- prototype: !0,
841
- caller: !0,
842
- callee: !0,
843
- arguments: !0,
844
- arity: !0
845
- }, r = {
846
- $$typeof: !0,
847
- render: !0,
848
- defaultProps: !0,
849
- displayName: !0,
850
- propTypes: !0
851
- }, n = {
852
- $$typeof: !0,
853
- compare: !0,
854
- defaultProps: !0,
855
- displayName: !0,
856
- propTypes: !0,
857
- type: !0
858
- }, u = {};
859
- u[t.ForwardRef] = r, u[t.Memo] = n;
860
- function o(m) {
861
- return t.isMemo(m) ? n : u[m.$$typeof] || e;
862
- }
863
- var c = Object.defineProperty, a = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, l = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, f = Object.prototype;
864
- function I(m, b, g) {
865
- if (typeof b != "string") {
866
- if (f) {
867
- var p = d(b);
868
- p && p !== f && I(m, p, g);
869
- }
870
- var v = a(b);
871
- s && (v = v.concat(s(b)));
872
- for (var h = o(m), y = o(b), V = 0; V < v.length; ++V) {
873
- var x = v[V];
874
- if (!i[x] && !(g && g[x]) && !(y && y[x]) && !(h && h[x])) {
875
- var C = l(b, x);
876
- try {
877
- c(m, x, C);
878
- } catch {
879
- }
880
- }
881
- }
882
- }
883
- return m;
884
- }
885
- return Ke = I, Ke;
886
- }
887
- $i();
888
- var _i = !0;
889
- function Ki(t, e, i) {
890
- var r = "";
891
- return i.split(" ").forEach(function(n) {
892
- t[n] !== void 0 ? e.push(t[n] + ";") : n && (r += n + " ");
893
- }), r;
894
- }
895
- var Cn = function(e, i, r) {
896
- var n = e.key + "-" + i.name;
897
- // we only need to add the styles to the registered cache if the
898
- // class name could be used further down
899
- // the tree but if it's a string tag, we know it won't
900
- // so we don't have to add it to registered cache.
901
- // this improves memory usage since we can avoid storing the whole style string
902
- (r === !1 || // we need to always store it if we're in compat mode and
903
- // in node since emotion-server relies on whether a style is in
904
- // the registered cache to know whether a style is global or not
905
- // also, note that this check will be dead code eliminated in the browser
906
- _i === !1) && e.registered[n] === void 0 && (e.registered[n] = i.styles);
907
- }, qi = function(e, i, r) {
908
- Cn(e, i, r);
909
- var n = e.key + "-" + i.name;
910
- if (e.inserted[i.name] === void 0) {
911
- var u = i;
912
- do
913
- e.insert(i === u ? "." + n : "", u, e.sheet, !0), u = u.next;
914
- while (u !== void 0);
915
- }
916
- };
917
- function er(t) {
918
- for (var e = 0, i, r = 0, n = t.length; n >= 4; ++r, n -= 4)
919
- i = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, i = /* Math.imul(k, m): */
920
- (i & 65535) * 1540483477 + ((i >>> 16) * 59797 << 16), i ^= /* k >>> r: */
921
- i >>> 24, e = /* Math.imul(k, m): */
922
- (i & 65535) * 1540483477 + ((i >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
923
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
924
- switch (n) {
925
- case 3:
926
- e ^= (t.charCodeAt(r + 2) & 255) << 16;
927
- case 2:
928
- e ^= (t.charCodeAt(r + 1) & 255) << 8;
929
- case 1:
930
- e ^= t.charCodeAt(r) & 255, e = /* Math.imul(h, m): */
931
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
932
- }
933
- return e ^= e >>> 13, e = /* Math.imul(h, m): */
934
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
935
- }
936
- var tr = {
937
- animationIterationCount: 1,
938
- aspectRatio: 1,
939
- borderImageOutset: 1,
940
- borderImageSlice: 1,
941
- borderImageWidth: 1,
942
- boxFlex: 1,
943
- boxFlexGroup: 1,
944
- boxOrdinalGroup: 1,
945
- columnCount: 1,
946
- columns: 1,
947
- flex: 1,
948
- flexGrow: 1,
949
- flexPositive: 1,
950
- flexShrink: 1,
951
- flexNegative: 1,
952
- flexOrder: 1,
953
- gridRow: 1,
954
- gridRowEnd: 1,
955
- gridRowSpan: 1,
956
- gridRowStart: 1,
957
- gridColumn: 1,
958
- gridColumnEnd: 1,
959
- gridColumnSpan: 1,
960
- gridColumnStart: 1,
961
- msGridRow: 1,
962
- msGridRowSpan: 1,
963
- msGridColumn: 1,
964
- msGridColumnSpan: 1,
965
- fontWeight: 1,
966
- lineHeight: 1,
967
- opacity: 1,
968
- order: 1,
969
- orphans: 1,
970
- scale: 1,
971
- tabSize: 1,
972
- widows: 1,
973
- zIndex: 1,
974
- zoom: 1,
975
- WebkitLineClamp: 1,
976
- // SVG-related properties
977
- fillOpacity: 1,
978
- floodOpacity: 1,
979
- stopOpacity: 1,
980
- strokeDasharray: 1,
981
- strokeDashoffset: 1,
982
- strokeMiterlimit: 1,
983
- strokeOpacity: 1,
984
- strokeWidth: 1
985
- }, nr = /[A-Z]|^ms/g, ir = /_EMO_([^_]+?)_([^]*?)_EMO_/g, hn = function(e) {
986
- return e.charCodeAt(1) === 45;
987
- }, Tt = function(e) {
988
- return e != null && typeof e != "boolean";
989
- }, qe = /* @__PURE__ */ Li(function(t) {
990
- return hn(t) ? t : t.replace(nr, "-$&").toLowerCase();
991
- }), Mt = function(e, i) {
992
- switch (e) {
993
- case "animation":
994
- case "animationName":
995
- if (typeof i == "string")
996
- return i.replace(ir, function(r, n, u) {
997
- return $ = {
998
- name: n,
999
- styles: u,
1000
- next: $
1001
- }, n;
1002
- });
1003
- }
1004
- return tr[e] !== 1 && !hn(e) && typeof i == "number" && i !== 0 ? i + "px" : i;
1005
- };
1006
- function xe(t, e, i) {
1007
- if (i == null)
1008
- return "";
1009
- var r = i;
1010
- if (r.__emotion_styles !== void 0)
1011
- return r;
1012
- switch (typeof i) {
1013
- case "boolean":
1014
- return "";
1015
- case "object": {
1016
- var n = i;
1017
- if (n.anim === 1)
1018
- return $ = {
1019
- name: n.name,
1020
- styles: n.styles,
1021
- next: $
1022
- }, n.name;
1023
- var u = i;
1024
- if (u.styles !== void 0) {
1025
- var o = u.next;
1026
- if (o !== void 0)
1027
- for (; o !== void 0; )
1028
- $ = {
1029
- name: o.name,
1030
- styles: o.styles,
1031
- next: $
1032
- }, o = o.next;
1033
- var c = u.styles + ";";
1034
- return c;
1035
- }
1036
- return rr(t, e, i);
1037
- }
1038
- case "function": {
1039
- if (t !== void 0) {
1040
- var a = $, s = i(t);
1041
- return $ = a, xe(t, e, s);
1042
- }
1043
- break;
1044
- }
1045
- }
1046
- var l = i;
1047
- return l;
1048
- }
1049
- function rr(t, e, i) {
1050
- var r = "";
1051
- if (Array.isArray(i))
1052
- for (var n = 0; n < i.length; n++)
1053
- r += xe(t, e, i[n]) + ";";
1054
- else
1055
- for (var u in i) {
1056
- var o = i[u];
1057
- if (typeof o != "object") {
1058
- var c = o;
1059
- Tt(c) && (r += qe(u) + ":" + Mt(u, c) + ";");
1060
- } else if (Array.isArray(o) && typeof o[0] == "string" && e == null)
1061
- for (var a = 0; a < o.length; a++)
1062
- Tt(o[a]) && (r += qe(u) + ":" + Mt(u, o[a]) + ";");
1063
- else {
1064
- var s = xe(t, e, o);
1065
- switch (u) {
1066
- case "animation":
1067
- case "animationName": {
1068
- r += qe(u) + ":" + s + ";";
1069
- break;
1070
- }
1071
- default:
1072
- r += u + "{" + s + "}";
1073
- }
1074
- }
1075
- }
1076
- return r;
1077
- }
1078
- var Ht = /label:\s*([^\s;{]+)\s*(;|$)/g, $;
1079
- function An(t, e, i) {
1080
- if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1081
- return t[0];
1082
- var r = !0, n = "";
1083
- $ = void 0;
1084
- var u = t[0];
1085
- if (u == null || u.raw === void 0)
1086
- r = !1, n += xe(i, e, u);
1087
- else {
1088
- var o = u;
1089
- n += o[0];
1090
- }
1091
- for (var c = 1; c < t.length; c++)
1092
- if (n += xe(i, e, t[c]), r) {
1093
- var a = u;
1094
- n += a[c];
1095
- }
1096
- Ht.lastIndex = 0;
1097
- for (var s = "", l; (l = Ht.exec(n)) !== null; )
1098
- s += "-" + l[1];
1099
- var d = er(n) + s;
1100
- return {
1101
- name: d,
1102
- styles: n,
1103
- next: $
1104
- };
1105
- }
1106
- const lt = await k("react");
1107
- var ur = function(e) {
1108
- return e();
1109
- }, Gn = lt.useInsertionEffect ? lt.useInsertionEffect : !1, ar = Gn || ur;
1110
- Gn || lt.useLayoutEffect;
1111
- const le = await k("react"), { useContext: or, forwardRef: sr } = await k("react");
1112
- var xn = /* @__PURE__ */ le.createContext(
1113
- // we're doing this to avoid preconstruct's dead code elimination in this one case
1114
- // because this module is primarily intended for the browser and node
1115
- // but it's also required in react native and similar environments sometimes
1116
- // and we could have a special build just for that
1117
- // but this is much easier and the native packages
1118
- // might use a different theme context in the future anyway
1119
- typeof HTMLElement < "u" ? /* @__PURE__ */ vn({
1120
- key: "css"
1121
- }) : null
1122
- ), cr = xn.Provider, lr = function(e) {
1123
- return /* @__PURE__ */ sr(function(i, r) {
1124
- var n = or(xn);
1125
- return e(i, n, r);
1126
- });
1127
- }, dr = /* @__PURE__ */ le.createContext({}), At = {}.hasOwnProperty, dt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", gr = function(e, i) {
1128
- var r = {};
1129
- for (var n in i)
1130
- At.call(i, n) && (r[n] = i[n]);
1131
- return r[dt] = e, r;
1132
- }, br = function(e) {
1133
- var i = e.cache, r = e.serialized, n = e.isStringTag;
1134
- return Cn(i, r, n), ar(function() {
1135
- return qi(i, r, n);
1136
- }), null;
1137
- }, pr = /* @__PURE__ */ lr(function(t, e, i) {
1138
- var r = t.css;
1139
- typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
1140
- var n = t[dt], u = [r], o = "";
1141
- typeof t.className == "string" ? o = Ki(e.registered, u, t.className) : t.className != null && (o = t.className + " ");
1142
- var c = An(u, void 0, le.useContext(dr));
1143
- o += e.key + "-" + c.name;
1144
- var a = {};
1145
- for (var s in t)
1146
- At.call(t, s) && s !== "css" && s !== dt && (a[s] = t[s]);
1147
- return a.className = o, i && (a.ref = i), /* @__PURE__ */ le.createElement(le.Fragment, null, /* @__PURE__ */ le.createElement(br, {
1148
- cache: e,
1149
- serialized: c,
1150
- isStringTag: typeof n == "string"
1151
- }), /* @__PURE__ */ le.createElement(n, a));
1152
- }), fr = pr;
1153
- const Ot = await k("react");
1154
- var A = function(e, i) {
1155
- var r = arguments;
1156
- if (i == null || !At.call(i, "css"))
1157
- return Ot.createElement.apply(void 0, r);
1158
- var n = r.length, u = new Array(n);
1159
- u[0] = fr, u[1] = gr(e, i);
1160
- for (var o = 2; o < n; o++)
1161
- u[o] = r[o];
1162
- return Ot.createElement.apply(null, u);
1163
- };
1164
- (function(t) {
1165
- var e;
1166
- e || (e = t.JSX || (t.JSX = {}));
1167
- })(A || (A = {}));
1168
- function Gt() {
1169
- for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
1170
- e[i] = arguments[i];
1171
- return An(e);
1172
- }
1173
- function Ir() {
1174
- var t = Gt.apply(void 0, arguments), e = "animation-" + t.name;
1175
- return {
1176
- name: e,
1177
- styles: "@keyframes " + e + "{" + t.styles + "}",
1178
- anim: 1,
1179
- toString: function() {
1180
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1181
- }
1182
- };
1183
- }
1184
- function mr(t, e) {
1185
- return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
1186
- raw: {
1187
- value: Object.freeze(e)
1188
- }
1189
- }));
1190
- }
1191
- const vr = Math.min, Cr = Math.max, He = Math.round, Se = Math.floor, Oe = (t) => ({
1192
- x: t,
1193
- y: t
1194
- });
1195
- function hr(t) {
1196
- const {
1197
- x: e,
1198
- y: i,
1199
- width: r,
1200
- height: n
1201
- } = t;
1202
- return {
1203
- width: r,
1204
- height: n,
1205
- top: i,
1206
- left: e,
1207
- right: e + r,
1208
- bottom: i + n,
1209
- x: e,
1210
- y: i
1211
- };
1212
- }
1213
- function Qe() {
1214
- return typeof window < "u";
1215
- }
1216
- function yn(t) {
1217
- return Vn(t) ? (t.nodeName || "").toLowerCase() : "#document";
1218
- }
1219
- function ie(t) {
1220
- var e;
1221
- return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
1222
- }
1223
- function En(t) {
1224
- var e;
1225
- return (e = (Vn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
1226
- }
1227
- function Vn(t) {
1228
- return Qe() ? t instanceof Node || t instanceof ie(t).Node : !1;
1229
- }
1230
- function Ar(t) {
1231
- return Qe() ? t instanceof Element || t instanceof ie(t).Element : !1;
1232
- }
1233
- function xt(t) {
1234
- return Qe() ? t instanceof HTMLElement || t instanceof ie(t).HTMLElement : !1;
1235
- }
1236
- function Dt(t) {
1237
- return !Qe() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ie(t).ShadowRoot;
1238
- }
1239
- const Gr = /* @__PURE__ */ new Set(["inline", "contents"]);
1240
- function Bn(t) {
1241
- const {
1242
- overflow: e,
1243
- overflowX: i,
1244
- overflowY: r,
1245
- display: n
1246
- } = yt(t);
1247
- return /auto|scroll|overlay|hidden|clip/.test(e + r + i) && !Gr.has(n);
1248
- }
1249
- function xr() {
1250
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1251
- }
1252
- const yr = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1253
- function Er(t) {
1254
- return yr.has(yn(t));
1255
- }
1256
- function yt(t) {
1257
- return ie(t).getComputedStyle(t);
1258
- }
1259
- function Vr(t) {
1260
- if (yn(t) === "html")
1261
- return t;
1262
- const e = (
1263
- // Step into the shadow DOM of the parent of a slotted node.
1264
- t.assignedSlot || // DOM Element detected.
1265
- t.parentNode || // ShadowRoot detected.
1266
- Dt(t) && t.host || // Fallback.
1267
- En(t)
1268
- );
1269
- return Dt(e) ? e.host : e;
1270
- }
1271
- function Fn(t) {
1272
- const e = Vr(t);
1273
- return Er(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : xt(e) && Bn(e) ? e : Fn(e);
1274
- }
1275
- function De(t, e, i) {
1276
- var r;
1277
- e === void 0 && (e = []), i === void 0 && (i = !0);
1278
- const n = Fn(t), u = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = ie(n);
1279
- if (u) {
1280
- const c = gt(o);
1281
- return e.concat(o, o.visualViewport || [], Bn(n) ? n : [], c && i ? De(c) : []);
1282
- }
1283
- return e.concat(n, De(n, [], i));
1284
- }
1285
- function gt(t) {
1286
- return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
1287
- }
1288
- function Br(t) {
1289
- const e = yt(t);
1290
- let i = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
1291
- const n = xt(t), u = n ? t.offsetWidth : i, o = n ? t.offsetHeight : r, c = He(i) !== u || He(r) !== o;
1292
- return c && (i = u, r = o), {
1293
- width: i,
1294
- height: r,
1295
- $: c
1296
- };
1297
- }
1298
- function Et(t) {
1299
- return Ar(t) ? t : t.contextElement;
1300
- }
1301
- function Lt(t) {
1302
- const e = Et(t);
1303
- if (!xt(e))
1304
- return Oe(1);
1305
- const i = e.getBoundingClientRect(), {
1306
- width: r,
1307
- height: n,
1308
- $: u
1309
- } = Br(e);
1310
- let o = (u ? He(i.width) : i.width) / r, c = (u ? He(i.height) : i.height) / n;
1311
- return (!o || !Number.isFinite(o)) && (o = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1312
- x: o,
1313
- y: c
1314
- };
1315
- }
1316
- const Fr = /* @__PURE__ */ Oe(0);
1317
- function Sr(t) {
1318
- const e = ie(t);
1319
- return !xr() || !e.visualViewport ? Fr : {
1320
- x: e.visualViewport.offsetLeft,
1321
- y: e.visualViewport.offsetTop
1322
- };
1323
- }
1324
- function Rr(t, e, i) {
1325
- return !1;
1326
- }
1327
- function Jt(t, e, i, r) {
1328
- e === void 0 && (e = !1);
1329
- const n = t.getBoundingClientRect(), u = Et(t);
1330
- let o = Oe(1);
1331
- e && (o = Lt(t));
1332
- const c = Rr() ? Sr(u) : Oe(0);
1333
- let a = (n.left + c.x) / o.x, s = (n.top + c.y) / o.y, l = n.width / o.x, d = n.height / o.y;
1334
- if (u) {
1335
- const f = ie(u), I = r;
1336
- let m = f, b = gt(m);
1337
- for (; b && r && I !== m; ) {
1338
- const g = Lt(b), p = b.getBoundingClientRect(), v = yt(b), h = p.left + (b.clientLeft + parseFloat(v.paddingLeft)) * g.x, y = p.top + (b.clientTop + parseFloat(v.paddingTop)) * g.y;
1339
- a *= g.x, s *= g.y, l *= g.x, d *= g.y, a += h, s += y, m = ie(b), b = gt(m);
1340
- }
1341
- }
1342
- return hr({
1343
- width: l,
1344
- height: d,
1345
- x: a,
1346
- y: s
1347
- });
1348
- }
1349
- function Sn(t, e) {
1350
- return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1351
- }
1352
- function Xr(t, e) {
1353
- let i = null, r;
1354
- const n = En(t);
1355
- function u() {
1356
- var c;
1357
- clearTimeout(r), (c = i) == null || c.disconnect(), i = null;
1358
- }
1359
- function o(c, a) {
1360
- c === void 0 && (c = !1), a === void 0 && (a = 1), u();
1361
- const s = t.getBoundingClientRect(), {
1362
- left: l,
1363
- top: d,
1364
- width: f,
1365
- height: I
1366
- } = s;
1367
- if (c || e(), !f || !I)
1368
- return;
1369
- const m = Se(d), b = Se(n.clientWidth - (l + f)), g = Se(n.clientHeight - (d + I)), p = Se(l), h = {
1370
- rootMargin: -m + "px " + -b + "px " + -g + "px " + -p + "px",
1371
- threshold: Cr(0, vr(1, a)) || 1
1372
- };
1373
- let y = !0;
1374
- function V(x) {
1375
- const C = x[0].intersectionRatio;
1376
- if (C !== a) {
1377
- if (!y)
1378
- return o();
1379
- C ? o(!1, C) : r = setTimeout(() => {
1380
- o(!1, 1e-7);
1381
- }, 1e3);
1382
- }
1383
- C === 1 && !Sn(s, t.getBoundingClientRect()) && o(), y = !1;
1384
- }
1385
- try {
1386
- i = new IntersectionObserver(V, {
1387
- ...h,
1388
- // Handle <iframe>s
1389
- root: n.ownerDocument
1390
- });
1391
- } catch {
1392
- i = new IntersectionObserver(V, h);
1393
- }
1394
- i.observe(t);
1395
- }
1396
- return o(!0), u;
1397
- }
1398
- function Pr(t, e, i, r) {
1399
- r === void 0 && (r = {});
1400
- const {
1401
- ancestorScroll: n = !0,
1402
- ancestorResize: u = !0,
1403
- elementResize: o = typeof ResizeObserver == "function",
1404
- layoutShift: c = typeof IntersectionObserver == "function",
1405
- animationFrame: a = !1
1406
- } = r, s = Et(t), l = n || u ? [...s ? De(s) : [], ...De(e)] : [];
1407
- l.forEach((p) => {
1408
- n && p.addEventListener("scroll", i, {
1409
- passive: !0
1410
- }), u && p.addEventListener("resize", i);
1411
- });
1412
- const d = s && c ? Xr(s, i) : null;
1413
- let f = -1, I = null;
1414
- o && (I = new ResizeObserver((p) => {
1415
- let [v] = p;
1416
- v && v.target === s && I && (I.unobserve(e), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
1417
- var h;
1418
- (h = I) == null || h.observe(e);
1419
- })), i();
1420
- }), s && !a && I.observe(s), I.observe(e));
1421
- let m, b = a ? Jt(t) : null;
1422
- a && g();
1423
- function g() {
1424
- const p = Jt(t);
1425
- b && !Sn(b, p) && i(), b = p, m = requestAnimationFrame(g);
1426
- }
1427
- return i(), () => {
1428
- var p;
1429
- l.forEach((v) => {
1430
- n && v.removeEventListener("scroll", i), u && v.removeEventListener("resize", i);
1431
- }), d?.(), (p = I) == null || p.disconnect(), I = null, a && cancelAnimationFrame(m);
1432
- };
1433
- }
1434
- const { useLayoutEffect: Wr } = await k("react");
1435
- var bt = Wr;
1436
- const { useContext: wr, useRef: pt, useState: Le, useMemo: Zr, useCallback: et, createContext: Nr } = await k("react"), { createPortal: Tr } = await k("react-dom");
1437
- var Mr = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Je = function() {
1438
- };
1439
- function Hr(t, e) {
1440
- return e ? e[0] === "-" ? t + e : t + "__" + e : t;
1441
- }
1442
- function Or(t, e) {
1443
- for (var i = arguments.length, r = new Array(i > 2 ? i - 2 : 0), n = 2; n < i; n++)
1444
- r[n - 2] = arguments[n];
1445
- var u = [].concat(r);
1446
- if (e && t)
1447
- for (var o in e)
1448
- e.hasOwnProperty(o) && e[o] && u.push("".concat(Hr(t, o)));
1449
- return u.filter(function(c) {
1450
- return c;
1451
- }).map(function(c) {
1452
- return String(c).trim();
1453
- }).join(" ");
1454
- }
1455
- var Yt = function(e) {
1456
- return Qr(e) ? e.filter(Boolean) : de(e) === "object" && e !== null ? [e] : [];
1457
- }, Rn = function(e) {
1458
- e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
1459
- var i = re(e, Mr);
1460
- return G({}, i);
1461
- }, P = function(e, i, r) {
1462
- var n = e.cx, u = e.getStyles, o = e.getClassNames, c = e.className;
1463
- return {
1464
- css: u(i, e),
1465
- className: n(r ?? {}, o(i, e), c)
1466
- };
1467
- };
1468
- function $e(t) {
1469
- return [document.documentElement, document.body, window].indexOf(t) > -1;
1470
- }
1471
- function Dr(t) {
1472
- return $e(t) ? window.innerHeight : t.clientHeight;
1473
- }
1474
- function Xn(t) {
1475
- return $e(t) ? window.pageYOffset : t.scrollTop;
1476
- }
1477
- function Ye(t, e) {
1478
- if ($e(t)) {
1479
- window.scrollTo(0, e);
1480
- return;
1481
- }
1482
- t.scrollTop = e;
1483
- }
1484
- function Lr(t) {
1485
- var e = getComputedStyle(t), i = e.position === "absolute", r = /(auto|scroll)/;
1486
- if (e.position === "fixed") return document.documentElement;
1487
- for (var n = t; n = n.parentElement; )
1488
- if (e = getComputedStyle(n), !(i && e.position === "static") && r.test(e.overflow + e.overflowY + e.overflowX))
1489
- return n;
1490
- return document.documentElement;
1491
- }
1492
- function Jr(t, e, i, r) {
1493
- return i * ((t = t / r - 1) * t * t + 1) + e;
1494
- }
1495
- function Re(t, e) {
1496
- var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Je, n = Xn(t), u = e - n, o = 10, c = 0;
1497
- function a() {
1498
- c += o;
1499
- var s = Jr(c, n, u, i);
1500
- Ye(t, s), c < i ? window.requestAnimationFrame(a) : r(t);
1501
- }
1502
- a();
1503
- }
1504
- function zt(t, e) {
1505
- var i = t.getBoundingClientRect(), r = e.getBoundingClientRect(), n = e.offsetHeight / 3;
1506
- r.bottom + n > i.bottom ? Ye(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + n, t.scrollHeight)) : r.top - n < i.top && Ye(t, Math.max(e.offsetTop - n, 0));
1507
- }
1508
- function Yr(t) {
1509
- var e = t.getBoundingClientRect();
1510
- return {
1511
- bottom: e.bottom,
1512
- height: e.height,
1513
- left: e.left,
1514
- right: e.right,
1515
- top: e.top,
1516
- width: e.width
1517
- };
1518
- }
1519
- function kt() {
1520
- try {
1521
- return document.createEvent("TouchEvent"), !0;
1522
- } catch {
1523
- return !1;
1524
- }
1525
- }
1526
- function zr() {
1527
- try {
1528
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1529
- } catch {
1530
- return !1;
1531
- }
1532
- }
1533
- var Pn = !1, kr = {
1534
- get passive() {
1535
- return Pn = !0;
1536
- }
1537
- }, Xe = typeof window < "u" ? window : {};
1538
- Xe.addEventListener && Xe.removeEventListener && (Xe.addEventListener("p", Je, kr), Xe.removeEventListener("p", Je, !1));
1539
- var jr = Pn;
1540
- function Ur(t) {
1541
- return t != null;
1542
- }
1543
- function Qr(t) {
1544
- return Array.isArray(t);
1545
- }
1546
- function Pe(t, e, i) {
1547
- return t ? e : i;
1548
- }
1549
- var $r = function(e) {
1550
- for (var i = arguments.length, r = new Array(i > 1 ? i - 1 : 0), n = 1; n < i; n++)
1551
- r[n - 1] = arguments[n];
1552
- var u = Object.entries(e).filter(function(o) {
1553
- var c = ne(o, 1), a = c[0];
1554
- return !r.includes(a);
1555
- });
1556
- return u.reduce(function(o, c) {
1557
- var a = ne(c, 2), s = a[0], l = a[1];
1558
- return o[s] = l, o;
1559
- }, {});
1560
- }, _r = ["children", "innerProps"], Kr = ["children", "innerProps"];
1561
- function qr(t) {
1562
- var e = t.maxHeight, i = t.menuEl, r = t.minHeight, n = t.placement, u = t.shouldScroll, o = t.isFixedPosition, c = t.controlHeight, a = Lr(i), s = {
1563
- placement: "bottom",
1564
- maxHeight: e
1565
- };
1566
- if (!i || !i.offsetParent) return s;
1567
- var l = a.getBoundingClientRect(), d = l.height, f = i.getBoundingClientRect(), I = f.bottom, m = f.height, b = f.top, g = i.offsetParent.getBoundingClientRect(), p = g.top, v = o ? window.innerHeight : Dr(a), h = Xn(a), y = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), x = p - V, C = v - b, B = x + h, X = d - h - b, M = I - v + h + y, D = h + b - V, H = 160;
1568
- switch (n) {
1569
- case "auto":
1570
- case "bottom":
1571
- if (C >= m)
1572
- return {
1573
- placement: "bottom",
1574
- maxHeight: e
1575
- };
1576
- if (X >= m && !o)
1577
- return u && Re(a, M, H), {
1578
- placement: "bottom",
1579
- maxHeight: e
1580
- };
1581
- if (!o && X >= r || o && C >= r) {
1582
- u && Re(a, M, H);
1583
- var K = o ? C - y : X - y;
1584
- return {
1585
- placement: "bottom",
1586
- maxHeight: K
1587
- };
1588
- }
1589
- if (n === "auto" || o) {
1590
- var q = e, N = o ? x : B;
1591
- return N >= r && (q = Math.min(N - y - c, e)), {
1592
- placement: "top",
1593
- maxHeight: q
1594
- };
1595
- }
1596
- if (n === "bottom")
1597
- return u && Ye(a, M), {
1598
- placement: "bottom",
1599
- maxHeight: e
1600
- };
1601
- break;
1602
- case "top":
1603
- if (x >= m)
1604
- return {
1605
- placement: "top",
1606
- maxHeight: e
1607
- };
1608
- if (B >= m && !o)
1609
- return u && Re(a, D, H), {
1610
- placement: "top",
1611
- maxHeight: e
1612
- };
1613
- if (!o && B >= r || o && x >= r) {
1614
- var w = e;
1615
- return (!o && B >= r || o && x >= r) && (w = o ? x - V : B - V), u && Re(a, D, H), {
1616
- placement: "top",
1617
- maxHeight: w
1618
- };
1619
- }
1620
- return {
1621
- placement: "bottom",
1622
- maxHeight: e
1623
- };
1624
- default:
1625
- throw new Error('Invalid placement provided "'.concat(n, '".'));
1626
- }
1627
- return s;
1628
- }
1629
- function eu(t) {
1630
- var e = {
1631
- bottom: "top",
1632
- top: "bottom"
1633
- };
1634
- return t ? e[t] : "bottom";
1635
- }
1636
- var Wn = function(e) {
1637
- return e === "auto" ? "bottom" : e;
1638
- }, tu = function(e, i) {
1639
- var r, n = e.placement, u = e.theme, o = u.borderRadius, c = u.spacing, a = u.colors;
1640
- return G((r = {
1641
- label: "menu"
1642
- }, he(r, eu(n), "100%"), he(r, "position", "absolute"), he(r, "width", "100%"), he(r, "zIndex", 1), r), i ? {} : {
1643
- backgroundColor: a.neutral0,
1644
- borderRadius: o,
1645
- boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
1646
- marginBottom: c.menuGutter,
1647
- marginTop: c.menuGutter
1648
- });
1649
- }, wn = /* @__PURE__ */ Nr(null), nu = function(e) {
1650
- var i = e.children, r = e.minMenuHeight, n = e.maxMenuHeight, u = e.menuPlacement, o = e.menuPosition, c = e.menuShouldScrollIntoView, a = e.theme, s = wr(wn) || {}, l = s.setPortalPlacement, d = pt(null), f = Le(n), I = ne(f, 2), m = I[0], b = I[1], g = Le(null), p = ne(g, 2), v = p[0], h = p[1], y = a.spacing.controlHeight;
1651
- return bt(function() {
1652
- var V = d.current;
1653
- if (V) {
1654
- var x = o === "fixed", C = c && !x, B = qr({
1655
- maxHeight: n,
1656
- menuEl: V,
1657
- minHeight: r,
1658
- placement: u,
1659
- shouldScroll: C,
1660
- isFixedPosition: x,
1661
- controlHeight: y
1662
- });
1663
- b(B.maxHeight), h(B.placement), l?.(B.placement);
1664
- }
1665
- }, [n, u, o, c, r, l, y]), i({
1666
- ref: d,
1667
- placerProps: G(G({}, e), {}, {
1668
- placement: v || Wn(u),
1669
- maxHeight: m
1670
- })
1671
- });
1672
- }, iu = function(e) {
1673
- var i = e.children, r = e.innerRef, n = e.innerProps;
1674
- return A("div", E({}, P(e, "menu", {
1675
- menu: !0
1676
- }), {
1677
- ref: r
1678
- }, n), i);
1679
- }, ru = iu, uu = function(e, i) {
1680
- var r = e.maxHeight, n = e.theme.spacing.baseUnit;
1681
- return G({
1682
- maxHeight: r,
1683
- overflowY: "auto",
1684
- position: "relative",
1685
- // required for offset[Height, Top] > keyboard scroll
1686
- WebkitOverflowScrolling: "touch"
1687
- }, i ? {} : {
1688
- paddingBottom: n,
1689
- paddingTop: n
1690
- });
1691
- }, au = function(e) {
1692
- var i = e.children, r = e.innerProps, n = e.innerRef, u = e.isMulti;
1693
- return A("div", E({}, P(e, "menuList", {
1694
- "menu-list": !0,
1695
- "menu-list--is-multi": u
1696
- }), {
1697
- ref: n
1698
- }, r), i);
1699
- }, Zn = function(e, i) {
1700
- var r = e.theme, n = r.spacing.baseUnit, u = r.colors;
1701
- return G({
1702
- textAlign: "center"
1703
- }, i ? {} : {
1704
- color: u.neutral40,
1705
- padding: "".concat(n * 2, "px ").concat(n * 3, "px")
1706
- });
1707
- }, ou = Zn, su = Zn, cu = function(e) {
1708
- var i = e.children, r = i === void 0 ? "No options" : i, n = e.innerProps, u = re(e, _r);
1709
- return A("div", E({}, P(G(G({}, u), {}, {
1710
- children: r,
1711
- innerProps: n
1712
- }), "noOptionsMessage", {
1713
- "menu-notice": !0,
1714
- "menu-notice--no-options": !0
1715
- }), n), r);
1716
- }, lu = function(e) {
1717
- var i = e.children, r = i === void 0 ? "Loading..." : i, n = e.innerProps, u = re(e, Kr);
1718
- return A("div", E({}, P(G(G({}, u), {}, {
1719
- children: r,
1720
- innerProps: n
1721
- }), "loadingMessage", {
1722
- "menu-notice": !0,
1723
- "menu-notice--loading": !0
1724
- }), n), r);
1725
- }, du = function(e) {
1726
- var i = e.rect, r = e.offset, n = e.position;
1727
- return {
1728
- left: i.left,
1729
- position: n,
1730
- top: r,
1731
- width: i.width,
1732
- zIndex: 1
1733
- };
1734
- }, gu = function(e) {
1735
- var i = e.appendTo, r = e.children, n = e.controlElement, u = e.innerProps, o = e.menuPlacement, c = e.menuPosition, a = pt(null), s = pt(null), l = Le(Wn(o)), d = ne(l, 2), f = d[0], I = d[1], m = Zr(function() {
1736
- return {
1737
- setPortalPlacement: I
1738
- };
1739
- }, []), b = Le(null), g = ne(b, 2), p = g[0], v = g[1], h = et(function() {
1740
- if (n) {
1741
- var C = Yr(n), B = c === "fixed" ? 0 : window.pageYOffset, X = C[f] + B;
1742
- (X !== p?.offset || C.left !== p?.rect.left || C.width !== p?.rect.width) && v({
1743
- offset: X,
1744
- rect: C
1745
- });
1746
- }
1747
- }, [n, c, f, p?.offset, p?.rect.left, p?.rect.width]);
1748
- bt(function() {
1749
- h();
1750
- }, [h]);
1751
- var y = et(function() {
1752
- typeof s.current == "function" && (s.current(), s.current = null), n && a.current && (s.current = Pr(n, a.current, h, {
1753
- elementResize: "ResizeObserver" in window
1754
- }));
1755
- }, [n, h]);
1756
- bt(function() {
1757
- y();
1758
- }, [y]);
1759
- var V = et(function(C) {
1760
- a.current = C, y();
1761
- }, [y]);
1762
- if (!i && c !== "fixed" || !p) return null;
1763
- var x = A("div", E({
1764
- ref: V
1765
- }, P(G(G({}, e), {}, {
1766
- offset: p.offset,
1767
- position: c,
1768
- rect: p.rect
1769
- }), "menuPortal", {
1770
- "menu-portal": !0
1771
- }), u), r);
1772
- return A(wn.Provider, {
1773
- value: m
1774
- }, i ? /* @__PURE__ */ Tr(x, i) : x);
1775
- }, bu = function(e) {
1776
- var i = e.isDisabled, r = e.isRtl;
1777
- return {
1778
- label: "container",
1779
- direction: r ? "rtl" : void 0,
1780
- pointerEvents: i ? "none" : void 0,
1781
- // cancel mouse events when disabled
1782
- position: "relative"
1783
- };
1784
- }, pu = function(e) {
1785
- var i = e.children, r = e.innerProps, n = e.isDisabled, u = e.isRtl;
1786
- return A("div", E({}, P(e, "container", {
1787
- "--is-disabled": n,
1788
- "--is-rtl": u
1789
- }), r), i);
1790
- }, fu = function(e, i) {
1791
- var r = e.theme.spacing, n = e.isMulti, u = e.hasValue, o = e.selectProps.controlShouldRenderValue;
1792
- return G({
1793
- alignItems: "center",
1794
- display: n && u && o ? "flex" : "grid",
1795
- flex: 1,
1796
- flexWrap: "wrap",
1797
- WebkitOverflowScrolling: "touch",
1798
- position: "relative",
1799
- overflow: "hidden"
1800
- }, i ? {} : {
1801
- padding: "".concat(r.baseUnit / 2, "px ").concat(r.baseUnit * 2, "px")
1802
- });
1803
- }, Iu = function(e) {
1804
- var i = e.children, r = e.innerProps, n = e.isMulti, u = e.hasValue;
1805
- return A("div", E({}, P(e, "valueContainer", {
1806
- "value-container": !0,
1807
- "value-container--is-multi": n,
1808
- "value-container--has-value": u
1809
- }), r), i);
1810
- }, mu = function() {
1811
- return {
1812
- alignItems: "center",
1813
- alignSelf: "stretch",
1814
- display: "flex",
1815
- flexShrink: 0
1816
- };
1817
- }, vu = function(e) {
1818
- var i = e.children, r = e.innerProps;
1819
- return A("div", E({}, P(e, "indicatorsContainer", {
1820
- indicators: !0
1821
- }), r), i);
1822
- }, jt, Cu = ["size"], hu = ["innerProps", "isRtl", "size"];
1823
- function Au() {
1824
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
1825
- }
1826
- var Gu = process.env.NODE_ENV === "production" ? {
1827
- name: "8mmkcg",
1828
- styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
1829
- } : {
1830
- name: "tj5bde-Svg",
1831
- styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
1832
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3du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dGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
1833
- toString: Au
1834
- }, Nn = function(e) {
1835
- var i = e.size, r = re(e, Cu);
1836
- return A("svg", E({
1837
- height: i,
1838
- width: i,
1839
- viewBox: "0 0 20 20",
1840
- "aria-hidden": "true",
1841
- focusable: "false",
1842
- css: Gu
1843
- }, r));
1844
- }, Vt = function(e) {
1845
- return A(Nn, E({
1846
- size: 20
1847
- }, e), A("path", {
1848
- d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
1849
- }));
1850
- }, Tn = function(e) {
1851
- return A(Nn, E({
1852
- size: 20
1853
- }, e), A("path", {
1854
- d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
1855
- }));
1856
- }, Mn = function(e, i) {
1857
- var r = e.isFocused, n = e.theme, u = n.spacing.baseUnit, o = n.colors;
1858
- return G({
1859
- label: "indicatorContainer",
1860
- display: "flex",
1861
- transition: "color 150ms"
1862
- }, i ? {} : {
1863
- color: r ? o.neutral60 : o.neutral20,
1864
- padding: u * 2,
1865
- ":hover": {
1866
- color: r ? o.neutral80 : o.neutral40
1867
- }
1868
- });
1869
- }, xu = Mn, yu = function(e) {
1870
- var i = e.children, r = e.innerProps;
1871
- return A("div", E({}, P(e, "dropdownIndicator", {
1872
- indicator: !0,
1873
- "dropdown-indicator": !0
1874
- }), r), i || A(Tn, null));
1875
- }, Eu = Mn, Vu = function(e) {
1876
- var i = e.children, r = e.innerProps;
1877
- return A("div", E({}, P(e, "clearIndicator", {
1878
- indicator: !0,
1879
- "clear-indicator": !0
1880
- }), r), i || A(Vt, null));
1881
- }, Bu = function(e, i) {
1882
- var r = e.isDisabled, n = e.theme, u = n.spacing.baseUnit, o = n.colors;
1883
- return G({
1884
- label: "indicatorSeparator",
1885
- alignSelf: "stretch",
1886
- width: 1
1887
- }, i ? {} : {
1888
- backgroundColor: r ? o.neutral10 : o.neutral20,
1889
- marginBottom: u * 2,
1890
- marginTop: u * 2
1891
- });
1892
- }, Fu = function(e) {
1893
- var i = e.innerProps;
1894
- return A("span", E({}, i, P(e, "indicatorSeparator", {
1895
- "indicator-separator": !0
1896
- })));
1897
- }, Su = Ir(jt || (jt = mr([`
1898
- 0%, 80%, 100% { opacity: 0; }
1899
- 40% { opacity: 1; }
1900
- `]))), Ru = function(e, i) {
1901
- var r = e.isFocused, n = e.size, u = e.theme, o = u.colors, c = u.spacing.baseUnit;
1902
- return G({
1903
- label: "loadingIndicator",
1904
- display: "flex",
1905
- transition: "color 150ms",
1906
- alignSelf: "center",
1907
- fontSize: n,
1908
- lineHeight: 1,
1909
- marginRight: n,
1910
- textAlign: "center",
1911
- verticalAlign: "middle"
1912
- }, i ? {} : {
1913
- color: r ? o.neutral60 : o.neutral20,
1914
- padding: c * 2
1915
- });
1916
- }, tt = function(e) {
1917
- var i = e.delay, r = e.offset;
1918
- return A("span", {
1919
- css: /* @__PURE__ */ Gt({
1920
- animation: "".concat(Su, " 1s ease-in-out ").concat(i, "ms infinite;"),
1921
- backgroundColor: "currentColor",
1922
- borderRadius: "1em",
1923
- display: "inline-block",
1924
- marginLeft: r ? "1em" : void 0,
1925
- height: "1em",
1926
- verticalAlign: "top",
1927
- width: "1em"
1928
- }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qK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FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
1929
- });
1930
- }, Xu = function(e) {
1931
- var i = e.innerProps, r = e.isRtl, n = e.size, u = n === void 0 ? 4 : n, o = re(e, hu);
1932
- return A("div", E({}, P(G(G({}, o), {}, {
1933
- innerProps: i,
1934
- isRtl: r,
1935
- size: u
1936
- }), "loadingIndicator", {
1937
- indicator: !0,
1938
- "loading-indicator": !0
1939
- }), i), A(tt, {
1940
- delay: 0,
1941
- offset: r
1942
- }), A(tt, {
1943
- delay: 160,
1944
- offset: !0
1945
- }), A(tt, {
1946
- delay: 320,
1947
- offset: !r
1948
- }));
1949
- }, Pu = function(e, i) {
1950
- var r = e.isDisabled, n = e.isFocused, u = e.theme, o = u.colors, c = u.borderRadius, a = u.spacing;
1951
- return G({
1952
- label: "control",
1953
- alignItems: "center",
1954
- cursor: "default",
1955
- display: "flex",
1956
- flexWrap: "wrap",
1957
- justifyContent: "space-between",
1958
- minHeight: a.controlHeight,
1959
- outline: "0 !important",
1960
- position: "relative",
1961
- transition: "all 100ms"
1962
- }, i ? {} : {
1963
- backgroundColor: r ? o.neutral5 : o.neutral0,
1964
- borderColor: r ? o.neutral10 : n ? o.primary : o.neutral20,
1965
- borderRadius: c,
1966
- borderStyle: "solid",
1967
- borderWidth: 1,
1968
- boxShadow: n ? "0 0 0 1px ".concat(o.primary) : void 0,
1969
- "&:hover": {
1970
- borderColor: n ? o.primary : o.neutral30
1971
- }
1972
- });
1973
- }, Wu = function(e) {
1974
- var i = e.children, r = e.isDisabled, n = e.isFocused, u = e.innerRef, o = e.innerProps, c = e.menuIsOpen;
1975
- return A("div", E({
1976
- ref: u
1977
- }, P(e, "control", {
1978
- control: !0,
1979
- "control--is-disabled": r,
1980
- "control--is-focused": n,
1981
- "control--menu-is-open": c
1982
- }), o, {
1983
- "aria-disabled": r || void 0
1984
- }), i);
1985
- }, wu = Wu, Zu = ["data"], Nu = function(e, i) {
1986
- var r = e.theme.spacing;
1987
- return i ? {} : {
1988
- paddingBottom: r.baseUnit * 2,
1989
- paddingTop: r.baseUnit * 2
1990
- };
1991
- }, Tu = function(e) {
1992
- var i = e.children, r = e.cx, n = e.getStyles, u = e.getClassNames, o = e.Heading, c = e.headingProps, a = e.innerProps, s = e.label, l = e.theme, d = e.selectProps;
1993
- return A("div", E({}, P(e, "group", {
1994
- group: !0
1995
- }), a), A(o, E({}, c, {
1996
- selectProps: d,
1997
- theme: l,
1998
- getStyles: n,
1999
- getClassNames: u,
2000
- cx: r
2001
- }), s), A("div", null, i));
2002
- }, Mu = function(e, i) {
2003
- var r = e.theme, n = r.colors, u = r.spacing;
2004
- return G({
2005
- label: "group",
2006
- cursor: "default",
2007
- display: "block"
2008
- }, i ? {} : {
2009
- color: n.neutral40,
2010
- fontSize: "75%",
2011
- fontWeight: 500,
2012
- marginBottom: "0.25em",
2013
- paddingLeft: u.baseUnit * 3,
2014
- paddingRight: u.baseUnit * 3,
2015
- textTransform: "uppercase"
2016
- });
2017
- }, Hu = function(e) {
2018
- var i = Rn(e);
2019
- i.data;
2020
- var r = re(i, Zu);
2021
- return A("div", E({}, P(e, "groupHeading", {
2022
- "group-heading": !0
2023
- }), r));
2024
- }, Ou = Tu, Du = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Lu = function(e, i) {
2025
- var r = e.isDisabled, n = e.value, u = e.theme, o = u.spacing, c = u.colors;
2026
- return G(G({
2027
- visibility: r ? "hidden" : "visible",
2028
- // force css to recompute when value change due to @emotion bug.
2029
- // We can remove it whenever the bug is fixed.
2030
- transform: n ? "translateZ(0)" : ""
2031
- }, Ju), i ? {} : {
2032
- margin: o.baseUnit / 2,
2033
- paddingBottom: o.baseUnit / 2,
2034
- paddingTop: o.baseUnit / 2,
2035
- color: c.neutral80
2036
- });
2037
- }, Hn = {
2038
- gridArea: "1 / 2",
2039
- font: "inherit",
2040
- minWidth: "2px",
2041
- border: 0,
2042
- margin: 0,
2043
- outline: 0,
2044
- padding: 0
2045
- }, Ju = {
2046
- flex: "1 1 auto",
2047
- display: "inline-grid",
2048
- gridArea: "1 / 1 / 2 / 3",
2049
- gridTemplateColumns: "0 min-content",
2050
- "&:after": G({
2051
- content: 'attr(data-value) " "',
2052
- visibility: "hidden",
2053
- whiteSpace: "pre"
2054
- }, Hn)
2055
- }, Yu = function(e) {
2056
- return G({
2057
- label: "input",
2058
- color: "inherit",
2059
- background: 0,
2060
- opacity: e ? 0 : 1,
2061
- width: "100%"
2062
- }, Hn);
2063
- }, zu = function(e) {
2064
- var i = e.cx, r = e.value, n = Rn(e), u = n.innerRef, o = n.isDisabled, c = n.isHidden, a = n.inputClassName, s = re(n, Du);
2065
- return A("div", E({}, P(e, "input", {
2066
- "input-container": !0
2067
- }), {
2068
- "data-value": r || ""
2069
- }), A("input", E({
2070
- className: i({
2071
- input: !0
2072
- }, a),
2073
- ref: u,
2074
- style: Yu(c),
2075
- disabled: o
2076
- }, s)));
2077
- }, ku = zu, ju = function(e, i) {
2078
- var r = e.theme, n = r.spacing, u = r.borderRadius, o = r.colors;
2079
- return G({
2080
- label: "multiValue",
2081
- display: "flex",
2082
- minWidth: 0
2083
- }, i ? {} : {
2084
- backgroundColor: o.neutral10,
2085
- borderRadius: u / 2,
2086
- margin: n.baseUnit / 2
2087
- });
2088
- }, Uu = function(e, i) {
2089
- var r = e.theme, n = r.borderRadius, u = r.colors, o = e.cropWithEllipsis;
2090
- return G({
2091
- overflow: "hidden",
2092
- textOverflow: o || o === void 0 ? "ellipsis" : void 0,
2093
- whiteSpace: "nowrap"
2094
- }, i ? {} : {
2095
- borderRadius: n / 2,
2096
- color: u.neutral80,
2097
- fontSize: "85%",
2098
- padding: 3,
2099
- paddingLeft: 6
2100
- });
2101
- }, Qu = function(e, i) {
2102
- var r = e.theme, n = r.spacing, u = r.borderRadius, o = r.colors, c = e.isFocused;
2103
- return G({
2104
- alignItems: "center",
2105
- display: "flex"
2106
- }, i ? {} : {
2107
- borderRadius: u / 2,
2108
- backgroundColor: c ? o.dangerLight : void 0,
2109
- paddingLeft: n.baseUnit,
2110
- paddingRight: n.baseUnit,
2111
- ":hover": {
2112
- backgroundColor: o.dangerLight,
2113
- color: o.danger
2114
- }
2115
- });
2116
- }, On = function(e) {
2117
- var i = e.children, r = e.innerProps;
2118
- return A("div", r, i);
2119
- }, $u = On, _u = On;
2120
- function Ku(t) {
2121
- var e = t.children, i = t.innerProps;
2122
- return A("div", E({
2123
- role: "button"
2124
- }, i), e || A(Vt, {
2125
- size: 14
2126
- }));
2127
- }
2128
- var qu = function(e) {
2129
- var i = e.children, r = e.components, n = e.data, u = e.innerProps, o = e.isDisabled, c = e.removeProps, a = e.selectProps, s = r.Container, l = r.Label, d = r.Remove;
2130
- return A(s, {
2131
- data: n,
2132
- innerProps: G(G({}, P(e, "multiValue", {
2133
- "multi-value": !0,
2134
- "multi-value--is-disabled": o
2135
- })), u),
2136
- selectProps: a
2137
- }, A(l, {
2138
- data: n,
2139
- innerProps: G({}, P(e, "multiValueLabel", {
2140
- "multi-value__label": !0
2141
- })),
2142
- selectProps: a
2143
- }, i), A(d, {
2144
- data: n,
2145
- innerProps: G(G({}, P(e, "multiValueRemove", {
2146
- "multi-value__remove": !0
2147
- })), {}, {
2148
- "aria-label": "Remove ".concat(i || "option")
2149
- }, c),
2150
- selectProps: a
2151
- }));
2152
- }, ea = qu, ta = function(e, i) {
2153
- var r = e.isDisabled, n = e.isFocused, u = e.isSelected, o = e.theme, c = o.spacing, a = o.colors;
2154
- return G({
2155
- label: "option",
2156
- cursor: "default",
2157
- display: "block",
2158
- fontSize: "inherit",
2159
- width: "100%",
2160
- userSelect: "none",
2161
- WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
2162
- }, i ? {} : {
2163
- backgroundColor: u ? a.primary : n ? a.primary25 : "transparent",
2164
- color: r ? a.neutral20 : u ? a.neutral0 : "inherit",
2165
- padding: "".concat(c.baseUnit * 2, "px ").concat(c.baseUnit * 3, "px"),
2166
- // provide some affordance on touch devices
2167
- ":active": {
2168
- backgroundColor: r ? void 0 : u ? a.primary : a.primary50
2169
- }
2170
- });
2171
- }, na = function(e) {
2172
- var i = e.children, r = e.isDisabled, n = e.isFocused, u = e.isSelected, o = e.innerRef, c = e.innerProps;
2173
- return A("div", E({}, P(e, "option", {
2174
- option: !0,
2175
- "option--is-disabled": r,
2176
- "option--is-focused": n,
2177
- "option--is-selected": u
2178
- }), {
2179
- ref: o,
2180
- "aria-disabled": r
2181
- }, c), i);
2182
- }, ia = na, ra = function(e, i) {
2183
- var r = e.theme, n = r.spacing, u = r.colors;
2184
- return G({
2185
- label: "placeholder",
2186
- gridArea: "1 / 1 / 2 / 3"
2187
- }, i ? {} : {
2188
- color: u.neutral50,
2189
- marginLeft: n.baseUnit / 2,
2190
- marginRight: n.baseUnit / 2
2191
- });
2192
- }, ua = function(e) {
2193
- var i = e.children, r = e.innerProps;
2194
- return A("div", E({}, P(e, "placeholder", {
2195
- placeholder: !0
2196
- }), r), i);
2197
- }, aa = ua, oa = function(e, i) {
2198
- var r = e.isDisabled, n = e.theme, u = n.spacing, o = n.colors;
2199
- return G({
2200
- label: "singleValue",
2201
- gridArea: "1 / 1 / 2 / 3",
2202
- maxWidth: "100%",
2203
- overflow: "hidden",
2204
- textOverflow: "ellipsis",
2205
- whiteSpace: "nowrap"
2206
- }, i ? {} : {
2207
- color: r ? o.neutral40 : o.neutral80,
2208
- marginLeft: u.baseUnit / 2,
2209
- marginRight: u.baseUnit / 2
2210
- });
2211
- }, sa = function(e) {
2212
- var i = e.children, r = e.isDisabled, n = e.innerProps;
2213
- return A("div", E({}, P(e, "singleValue", {
2214
- "single-value": !0,
2215
- "single-value--is-disabled": r
2216
- }), n), i);
2217
- }, ca = sa, la = {
2218
- ClearIndicator: Vu,
2219
- Control: wu,
2220
- DropdownIndicator: yu,
2221
- DownChevron: Tn,
2222
- CrossIcon: Vt,
2223
- Group: Ou,
2224
- GroupHeading: Hu,
2225
- IndicatorsContainer: vu,
2226
- IndicatorSeparator: Fu,
2227
- Input: ku,
2228
- LoadingIndicator: Xu,
2229
- Menu: ru,
2230
- MenuList: au,
2231
- MenuPortal: gu,
2232
- LoadingMessage: lu,
2233
- NoOptionsMessage: cu,
2234
- MultiValue: ea,
2235
- MultiValueContainer: $u,
2236
- MultiValueLabel: _u,
2237
- MultiValueRemove: Ku,
2238
- Option: ia,
2239
- Placeholder: aa,
2240
- SelectContainer: pu,
2241
- SingleValue: ca,
2242
- ValueContainer: Iu
2243
- }, da = function(e) {
2244
- return G(G({}, la), e.components);
2245
- }, Ut = Number.isNaN || function(e) {
2246
- return typeof e == "number" && e !== e;
2247
- };
2248
- function ga(t, e) {
2249
- return !!(t === e || Ut(t) && Ut(e));
2250
- }
2251
- function ba(t, e) {
2252
- if (t.length !== e.length)
2253
- return !1;
2254
- for (var i = 0; i < t.length; i++)
2255
- if (!ga(t[i], e[i]))
2256
- return !1;
2257
- return !0;
2258
- }
2259
- function pa(t, e) {
2260
- e === void 0 && (e = ba);
2261
- var i = null;
2262
- function r() {
2263
- for (var n = [], u = 0; u < arguments.length; u++)
2264
- n[u] = arguments[u];
2265
- if (i && i.lastThis === this && e(n, i.lastArgs))
2266
- return i.lastResult;
2267
- var o = t.apply(this, n);
2268
- return i = {
2269
- lastResult: o,
2270
- lastArgs: n,
2271
- lastThis: this
2272
- }, o;
2273
- }
2274
- return r.clear = function() {
2275
- i = null;
2276
- }, r;
2277
- }
2278
- const R = await k("react"), { useMemo: ve, Fragment: ft, useRef: be, useCallback: ce, useEffect: Dn, Component: fa } = await k("react");
2279
- function Ia() {
2280
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2281
- }
2282
- var ma = process.env.NODE_ENV === "production" ? {
2283
- name: "7pg0cj-a11yText",
2284
- styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
2285
- } : {
2286
- name: "1f43avz-a11yText-A11yText",
2287
- styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
2288
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
2289
- toString: Ia
2290
- }, va = function(e) {
2291
- return A("span", E({
2292
- css: ma
2293
- }, e));
2294
- }, Qt = va, Ca = {
2295
- guidance: function(e) {
2296
- var i = e.isSearchable, r = e.isMulti, n = e.tabSelectsValue, u = e.context, o = e.isInitialFocus;
2297
- switch (u) {
2298
- case "menu":
2299
- return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n ? ", press Tab to select the option and exit the menu" : "", ".");
2300
- case "input":
2301
- return o ? "".concat(e["aria-label"] || "Select", " is focused ").concat(i ? ",type to refine list" : "", ", press Down to open the menu, ").concat(r ? " press left to focus selected values" : "") : "";
2302
- case "value":
2303
- return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
2304
- default:
2305
- return "";
2306
- }
2307
- },
2308
- onChange: function(e) {
2309
- var i = e.action, r = e.label, n = r === void 0 ? "" : r, u = e.labels, o = e.isDisabled;
2310
- switch (i) {
2311
- case "deselect-option":
2312
- case "pop-value":
2313
- case "remove-value":
2314
- return "option ".concat(n, ", deselected.");
2315
- case "clear":
2316
- return "All selected options have been cleared.";
2317
- case "initial-input-focus":
2318
- return "option".concat(u.length > 1 ? "s" : "", " ").concat(u.join(","), ", selected.");
2319
- case "select-option":
2320
- return o ? "option ".concat(n, " is disabled. Select another option.") : "option ".concat(n, ", selected.");
2321
- default:
2322
- return "";
2323
- }
2324
- },
2325
- onFocus: function(e) {
2326
- var i = e.context, r = e.focused, n = e.options, u = e.label, o = u === void 0 ? "" : u, c = e.selectValue, a = e.isDisabled, s = e.isSelected, l = e.isAppleDevice, d = function(b, g) {
2327
- return b && b.length ? "".concat(b.indexOf(g) + 1, " of ").concat(b.length) : "";
2328
- };
2329
- if (i === "value" && c)
2330
- return "value ".concat(o, " focused, ").concat(d(c, r), ".");
2331
- if (i === "menu" && l) {
2332
- var f = a ? " disabled" : "", I = "".concat(s ? " selected" : "").concat(f);
2333
- return "".concat(o).concat(I, ", ").concat(d(n, r), ".");
2334
- }
2335
- return "";
2336
- },
2337
- onFilter: function(e) {
2338
- var i = e.inputValue, r = e.resultsMessage;
2339
- return "".concat(r).concat(i ? " for search term " + i : "", ".");
2340
- }
2341
- }, ha = function(e) {
2342
- var i = e.ariaSelection, r = e.focusedOption, n = e.focusedValue, u = e.focusableOptions, o = e.isFocused, c = e.selectValue, a = e.selectProps, s = e.id, l = e.isAppleDevice, d = a.ariaLiveMessages, f = a.getOptionLabel, I = a.inputValue, m = a.isMulti, b = a.isOptionDisabled, g = a.isSearchable, p = a.menuIsOpen, v = a.options, h = a.screenReaderStatus, y = a.tabSelectsValue, V = a.isLoading, x = a["aria-label"], C = a["aria-live"], B = ve(function() {
2343
- return G(G({}, Ca), d || {});
2344
- }, [d]), X = ve(function() {
2345
- var N = "";
2346
- if (i && B.onChange) {
2347
- var w = i.option, U = i.options, z = i.removedValue, ue = i.removedValues, ae = i.value, Ee = function(te) {
2348
- return Array.isArray(te) ? null : te;
2349
- }, Z = z || w || Ee(ae), J = Z ? f(Z) : "", ee = U || ue || void 0, oe = ee ? ee.map(f) : [], j = G({
2350
- // multiSelected items are usually items that have already been selected
2351
- // or set by the user as a default value so we assume they are not disabled
2352
- isDisabled: Z && b(Z, c),
2353
- label: J,
2354
- labels: oe
2355
- }, i);
2356
- N = B.onChange(j);
2357
- }
2358
- return N;
2359
- }, [i, B, b, c, f]), M = ve(function() {
2360
- var N = "", w = r || n, U = !!(r && c && c.includes(r));
2361
- if (w && B.onFocus) {
2362
- var z = {
2363
- focused: w,
2364
- label: f(w),
2365
- isDisabled: b(w, c),
2366
- isSelected: U,
2367
- options: u,
2368
- context: w === r ? "menu" : "value",
2369
- selectValue: c,
2370
- isAppleDevice: l
2371
- };
2372
- N = B.onFocus(z);
2373
- }
2374
- return N;
2375
- }, [r, n, f, b, B, u, c, l]), D = ve(function() {
2376
- var N = "";
2377
- if (p && v.length && !V && B.onFilter) {
2378
- var w = h({
2379
- count: u.length
2380
- });
2381
- N = B.onFilter({
2382
- inputValue: I,
2383
- resultsMessage: w
2384
- });
2385
- }
2386
- return N;
2387
- }, [u, I, p, B, v, h, V]), H = i?.action === "initial-input-focus", K = ve(function() {
2388
- var N = "";
2389
- if (B.guidance) {
2390
- var w = n ? "value" : p ? "menu" : "input";
2391
- N = B.guidance({
2392
- "aria-label": x,
2393
- context: w,
2394
- isDisabled: r && b(r, c),
2395
- isMulti: m,
2396
- isSearchable: g,
2397
- tabSelectsValue: y,
2398
- isInitialFocus: H
2399
- });
2400
- }
2401
- return N;
2402
- }, [x, r, n, m, b, g, p, B, c, y, H]), q = A(ft, null, A("span", {
2403
- id: "aria-selection"
2404
- }, X), A("span", {
2405
- id: "aria-focused"
2406
- }, M), A("span", {
2407
- id: "aria-results"
2408
- }, D), A("span", {
2409
- id: "aria-guidance"
2410
- }, K));
2411
- return A(ft, null, A(Qt, {
2412
- id: s
2413
- }, H && q), A(Qt, {
2414
- "aria-live": C,
2415
- "aria-atomic": "false",
2416
- "aria-relevant": "additions text",
2417
- role: "log"
2418
- }, o && !H && q));
2419
- }, Aa = ha, It = [{
2420
- base: "A",
2421
- letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
2422
- }, {
2423
- base: "AA",
2424
- letters: "Ꜳ"
2425
- }, {
2426
- base: "AE",
2427
- letters: "ÆǼǢ"
2428
- }, {
2429
- base: "AO",
2430
- letters: "Ꜵ"
2431
- }, {
2432
- base: "AU",
2433
- letters: "Ꜷ"
2434
- }, {
2435
- base: "AV",
2436
- letters: "ꜸꜺ"
2437
- }, {
2438
- base: "AY",
2439
- letters: "Ꜽ"
2440
- }, {
2441
- base: "B",
2442
- letters: "BⒷBḂḄḆɃƂƁ"
2443
- }, {
2444
- base: "C",
2445
- letters: "CⒸCĆĈĊČÇḈƇȻꜾ"
2446
- }, {
2447
- base: "D",
2448
- letters: "DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"
2449
- }, {
2450
- base: "DZ",
2451
- letters: "DZDŽ"
2452
- }, {
2453
- base: "Dz",
2454
- letters: "DzDž"
2455
- }, {
2456
- base: "E",
2457
- letters: "EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"
2458
- }, {
2459
- base: "F",
2460
- letters: "FⒻFḞƑꝻ"
2461
- }, {
2462
- base: "G",
2463
- letters: "GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"
2464
- }, {
2465
- base: "H",
2466
- letters: "HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"
2467
- }, {
2468
- base: "I",
2469
- letters: "IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"
2470
- }, {
2471
- base: "J",
2472
- letters: "JⒿJĴɈ"
2473
- }, {
2474
- base: "K",
2475
- letters: "KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"
2476
- }, {
2477
- base: "L",
2478
- letters: "LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"
2479
- }, {
2480
- base: "LJ",
2481
- letters: "LJ"
2482
- }, {
2483
- base: "Lj",
2484
- letters: "Lj"
2485
- }, {
2486
- base: "M",
2487
- letters: "MⓂMḾṀṂⱮƜ"
2488
- }, {
2489
- base: "N",
2490
- letters: "NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"
2491
- }, {
2492
- base: "NJ",
2493
- letters: "NJ"
2494
- }, {
2495
- base: "Nj",
2496
- letters: "Nj"
2497
- }, {
2498
- base: "O",
2499
- letters: "OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"
2500
- }, {
2501
- base: "OI",
2502
- letters: "Ƣ"
2503
- }, {
2504
- base: "OO",
2505
- letters: "Ꝏ"
2506
- }, {
2507
- base: "OU",
2508
- letters: "Ȣ"
2509
- }, {
2510
- base: "P",
2511
- letters: "PⓅPṔṖƤⱣꝐꝒꝔ"
2512
- }, {
2513
- base: "Q",
2514
- letters: "QⓆQꝖꝘɊ"
2515
- }, {
2516
- base: "R",
2517
- letters: "RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"
2518
- }, {
2519
- base: "S",
2520
- letters: "SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"
2521
- }, {
2522
- base: "T",
2523
- letters: "TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"
2524
- }, {
2525
- base: "TZ",
2526
- letters: "Ꜩ"
2527
- }, {
2528
- base: "U",
2529
- letters: "UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"
2530
- }, {
2531
- base: "V",
2532
- letters: "VⓋVṼṾƲꝞɅ"
2533
- }, {
2534
- base: "VY",
2535
- letters: "Ꝡ"
2536
- }, {
2537
- base: "W",
2538
- letters: "WⓌWẀẂŴẆẄẈⱲ"
2539
- }, {
2540
- base: "X",
2541
- letters: "XⓍXẊẌ"
2542
- }, {
2543
- base: "Y",
2544
- letters: "YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"
2545
- }, {
2546
- base: "Z",
2547
- letters: "ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"
2548
- }, {
2549
- base: "a",
2550
- letters: "aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"
2551
- }, {
2552
- base: "aa",
2553
- letters: "ꜳ"
2554
- }, {
2555
- base: "ae",
2556
- letters: "æǽǣ"
2557
- }, {
2558
- base: "ao",
2559
- letters: "ꜵ"
2560
- }, {
2561
- base: "au",
2562
- letters: "ꜷ"
2563
- }, {
2564
- base: "av",
2565
- letters: "ꜹꜻ"
2566
- }, {
2567
- base: "ay",
2568
- letters: "ꜽ"
2569
- }, {
2570
- base: "b",
2571
- letters: "bⓑbḃḅḇƀƃɓ"
2572
- }, {
2573
- base: "c",
2574
- letters: "cⓒcćĉċčçḉƈȼꜿↄ"
2575
- }, {
2576
- base: "d",
2577
- letters: "dⓓdḋďḍḑḓḏđƌɖɗꝺ"
2578
- }, {
2579
- base: "dz",
2580
- letters: "dzdž"
2581
- }, {
2582
- base: "e",
2583
- letters: "eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"
2584
- }, {
2585
- base: "f",
2586
- letters: "fⓕfḟƒꝼ"
2587
- }, {
2588
- base: "g",
2589
- letters: "gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"
2590
- }, {
2591
- base: "h",
2592
- letters: "hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"
2593
- }, {
2594
- base: "hv",
2595
- letters: "ƕ"
2596
- }, {
2597
- base: "i",
2598
- letters: "iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"
2599
- }, {
2600
- base: "j",
2601
- letters: "jⓙjĵǰɉ"
2602
- }, {
2603
- base: "k",
2604
- letters: "kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"
2605
- }, {
2606
- base: "l",
2607
- letters: "lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"
2608
- }, {
2609
- base: "lj",
2610
- letters: "lj"
2611
- }, {
2612
- base: "m",
2613
- letters: "mⓜmḿṁṃɱɯ"
2614
- }, {
2615
- base: "n",
2616
- letters: "nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"
2617
- }, {
2618
- base: "nj",
2619
- letters: "nj"
2620
- }, {
2621
- base: "o",
2622
- letters: "oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"
2623
- }, {
2624
- base: "oi",
2625
- letters: "ƣ"
2626
- }, {
2627
- base: "ou",
2628
- letters: "ȣ"
2629
- }, {
2630
- base: "oo",
2631
- letters: "ꝏ"
2632
- }, {
2633
- base: "p",
2634
- letters: "pⓟpṕṗƥᵽꝑꝓꝕ"
2635
- }, {
2636
- base: "q",
2637
- letters: "qⓠqɋꝗꝙ"
2638
- }, {
2639
- base: "r",
2640
- letters: "rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"
2641
- }, {
2642
- base: "s",
2643
- letters: "sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"
2644
- }, {
2645
- base: "t",
2646
- letters: "tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"
2647
- }, {
2648
- base: "tz",
2649
- letters: "ꜩ"
2650
- }, {
2651
- base: "u",
2652
- letters: "uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"
2653
- }, {
2654
- base: "v",
2655
- letters: "vⓥvṽṿʋꝟʌ"
2656
- }, {
2657
- base: "vy",
2658
- letters: "ꝡ"
2659
- }, {
2660
- base: "w",
2661
- letters: "wⓦwẁẃŵẇẅẘẉⱳ"
2662
- }, {
2663
- base: "x",
2664
- letters: "xⓧxẋẍ"
2665
- }, {
2666
- base: "y",
2667
- letters: "yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"
2668
- }, {
2669
- base: "z",
2670
- letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
2671
- }], Ga = new RegExp("[" + It.map(function(t) {
2672
- return t.letters;
2673
- }).join("") + "]", "g"), Ln = {};
2674
- for (var nt = 0; nt < It.length; nt++)
2675
- for (var it = It[nt], rt = 0; rt < it.letters.length; rt++)
2676
- Ln[it.letters[rt]] = it.base;
2677
- var Jn = function(e) {
2678
- return e.replace(Ga, function(i) {
2679
- return Ln[i];
2680
- });
2681
- }, xa = pa(Jn), $t = function(e) {
2682
- return e.replace(/^\s+|\s+$/g, "");
2683
- }, ya = function(e) {
2684
- return "".concat(e.label, " ").concat(e.value);
2685
- }, Ea = function(e) {
2686
- return function(i, r) {
2687
- if (i.data.__isNew__) return !0;
2688
- var n = G({
2689
- ignoreCase: !0,
2690
- ignoreAccents: !0,
2691
- stringify: ya,
2692
- trim: !0,
2693
- matchFrom: "any"
2694
- }, e), u = n.ignoreCase, o = n.ignoreAccents, c = n.stringify, a = n.trim, s = n.matchFrom, l = a ? $t(r) : r, d = a ? $t(c(i)) : c(i);
2695
- return u && (l = l.toLowerCase(), d = d.toLowerCase()), o && (l = xa(l), d = Jn(d)), s === "start" ? d.substr(0, l.length) === l : d.indexOf(l) > -1;
2696
- };
2697
- }, Va = ["innerRef"];
2698
- function Ba(t) {
2699
- var e = t.innerRef, i = re(t, Va), r = $r(i, "onExited", "in", "enter", "exit", "appear");
2700
- return A("input", E({
2701
- ref: e
2702
- }, r, {
2703
- css: /* @__PURE__ */ Gt({
2704
- label: "dummyInput",
2705
- // get rid of any default styles
2706
- background: 0,
2707
- border: 0,
2708
- // important! this hides the flashing cursor
2709
- caretColor: "transparent",
2710
- fontSize: "inherit",
2711
- gridArea: "1 / 1 / 2 / 3",
2712
- outline: 0,
2713
- padding: 0,
2714
- // important! without `width` browsers won't allow focus
2715
- width: 1,
2716
- // remove cursor on desktop
2717
- color: "transparent",
2718
- // remove cursor on mobile whilst maintaining "scroll into view" behaviour
2719
- left: -100,
2720
- opacity: 0,
2721
- position: "relative",
2722
- transform: "scale(.01)"
2723
- }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdy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4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
2724
- }));
2725
- }
2726
- var Fa = function(e) {
2727
- e.cancelable && e.preventDefault(), e.stopPropagation();
2728
- };
2729
- function Sa(t) {
2730
- var e = t.isEnabled, i = t.onBottomArrive, r = t.onBottomLeave, n = t.onTopArrive, u = t.onTopLeave, o = be(!1), c = be(!1), a = be(0), s = be(null), l = ce(function(g, p) {
2731
- if (s.current !== null) {
2732
- var v = s.current, h = v.scrollTop, y = v.scrollHeight, V = v.clientHeight, x = s.current, C = p > 0, B = y - V - h, X = !1;
2733
- B > p && o.current && (r && r(g), o.current = !1), C && c.current && (u && u(g), c.current = !1), C && p > B ? (i && !o.current && i(g), x.scrollTop = y, X = !0, o.current = !0) : !C && -p > h && (n && !c.current && n(g), x.scrollTop = 0, X = !0, c.current = !0), X && Fa(g);
2734
- }
2735
- }, [i, r, n, u]), d = ce(function(g) {
2736
- l(g, g.deltaY);
2737
- }, [l]), f = ce(function(g) {
2738
- a.current = g.changedTouches[0].clientY;
2739
- }, []), I = ce(function(g) {
2740
- var p = a.current - g.changedTouches[0].clientY;
2741
- l(g, p);
2742
- }, [l]), m = ce(function(g) {
2743
- if (g) {
2744
- var p = jr ? {
2745
- passive: !1
2746
- } : !1;
2747
- g.addEventListener("wheel", d, p), g.addEventListener("touchstart", f, p), g.addEventListener("touchmove", I, p);
2748
- }
2749
- }, [I, f, d]), b = ce(function(g) {
2750
- g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", f, !1), g.removeEventListener("touchmove", I, !1));
2751
- }, [I, f, d]);
2752
- return Dn(function() {
2753
- if (e) {
2754
- var g = s.current;
2755
- return m(g), function() {
2756
- b(g);
2757
- };
2758
- }
2759
- }, [e, m, b]), function(g) {
2760
- s.current = g;
2761
- };
2762
- }
2763
- var _t = ["boxSizing", "height", "overflow", "paddingRight", "position"], Kt = {
2764
- boxSizing: "border-box",
2765
- // account for possible declaration `width: 100%;` on body
2766
- overflow: "hidden",
2767
- position: "relative",
2768
- height: "100%"
2769
- };
2770
- function qt(t) {
2771
- t.cancelable && t.preventDefault();
2772
- }
2773
- function en(t) {
2774
- t.stopPropagation();
2775
- }
2776
- function tn() {
2777
- var t = this.scrollTop, e = this.scrollHeight, i = t + this.offsetHeight;
2778
- t === 0 ? this.scrollTop = 1 : i === e && (this.scrollTop = t - 1);
2779
- }
2780
- function nn() {
2781
- return "ontouchstart" in window || navigator.maxTouchPoints;
2782
- }
2783
- var rn = !!(typeof window < "u" && window.document && window.document.createElement), Ce = 0, ge = {
2784
- capture: !1,
2785
- passive: !1
2786
- };
2787
- function Ra(t) {
2788
- var e = t.isEnabled, i = t.accountForScrollbars, r = i === void 0 ? !0 : i, n = be({}), u = be(null), o = ce(function(a) {
2789
- if (rn) {
2790
- var s = document.body, l = s && s.style;
2791
- if (r && _t.forEach(function(m) {
2792
- var b = l && l[m];
2793
- n.current[m] = b;
2794
- }), r && Ce < 1) {
2795
- var d = parseInt(n.current.paddingRight, 10) || 0, f = document.body ? document.body.clientWidth : 0, I = window.innerWidth - f + d || 0;
2796
- Object.keys(Kt).forEach(function(m) {
2797
- var b = Kt[m];
2798
- l && (l[m] = b);
2799
- }), l && (l.paddingRight = "".concat(I, "px"));
2800
- }
2801
- s && nn() && (s.addEventListener("touchmove", qt, ge), a && (a.addEventListener("touchstart", tn, ge), a.addEventListener("touchmove", en, ge))), Ce += 1;
2802
- }
2803
- }, [r]), c = ce(function(a) {
2804
- if (rn) {
2805
- var s = document.body, l = s && s.style;
2806
- Ce = Math.max(Ce - 1, 0), r && Ce < 1 && _t.forEach(function(d) {
2807
- var f = n.current[d];
2808
- l && (l[d] = f);
2809
- }), s && nn() && (s.removeEventListener("touchmove", qt, ge), a && (a.removeEventListener("touchstart", tn, ge), a.removeEventListener("touchmove", en, ge)));
2810
- }
2811
- }, [r]);
2812
- return Dn(function() {
2813
- if (e) {
2814
- var a = u.current;
2815
- return o(a), function() {
2816
- c(a);
2817
- };
2818
- }
2819
- }, [e, o, c]), function(a) {
2820
- u.current = a;
2821
- };
2822
- }
2823
- function Xa() {
2824
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2825
- }
2826
- var Pa = function(e) {
2827
- var i = e.target;
2828
- return i.ownerDocument.activeElement && i.ownerDocument.activeElement.blur();
2829
- }, Wa = process.env.NODE_ENV === "production" ? {
2830
- name: "1kfdb0e",
2831
- styles: "position:fixed;left:0;bottom:0;right:0;top:0"
2832
- } : {
2833
- name: "bp8cua-ScrollManager",
2834
- styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
2835
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJv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HQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
2836
- toString: Xa
2837
- };
2838
- function wa(t) {
2839
- var e = t.children, i = t.lockEnabled, r = t.captureEnabled, n = r === void 0 ? !0 : r, u = t.onBottomArrive, o = t.onBottomLeave, c = t.onTopArrive, a = t.onTopLeave, s = Sa({
2840
- isEnabled: n,
2841
- onBottomArrive: u,
2842
- onBottomLeave: o,
2843
- onTopArrive: c,
2844
- onTopLeave: a
2845
- }), l = Ra({
2846
- isEnabled: i
2847
- }), d = function(I) {
2848
- s(I), l(I);
2849
- };
2850
- return A(ft, null, i && A("div", {
2851
- onClick: Pa,
2852
- css: Wa
2853
- }), e(d));
2854
- }
2855
- function Za() {
2856
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2857
- }
2858
- var Na = process.env.NODE_ENV === "production" ? {
2859
- name: "1a0ro4n-requiredInput",
2860
- styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
2861
- } : {
2862
- name: "5kkxb2-requiredInput-RequiredInput",
2863
- styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",
2864
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",
2865
- toString: Za
2866
- }, Ta = function(e) {
2867
- var i = e.name, r = e.onFocus;
2868
- return A("input", {
2869
- required: !0,
2870
- name: i,
2871
- tabIndex: -1,
2872
- "aria-hidden": "true",
2873
- onFocus: r,
2874
- css: Na,
2875
- value: "",
2876
- onChange: function() {
2877
- }
2878
- });
2879
- }, Ma = Ta;
2880
- function Bt(t) {
2881
- var e;
2882
- return typeof window < "u" && window.navigator != null ? t.test(((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.platform) || window.navigator.platform) : !1;
2883
- }
2884
- function Ha() {
2885
- return Bt(/^iPhone/i);
2886
- }
2887
- function Yn() {
2888
- return Bt(/^Mac/i);
2889
- }
2890
- function Oa() {
2891
- return Bt(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
2892
- Yn() && navigator.maxTouchPoints > 1;
2893
- }
2894
- function Da() {
2895
- return Ha() || Oa();
2896
- }
2897
- function La() {
2898
- return Yn() || Da();
2899
- }
2900
- var Ja = function(e) {
2901
- return e.label;
2902
- }, Ya = function(e) {
2903
- return e.label;
2904
- }, za = function(e) {
2905
- return e.value;
2906
- }, ka = function(e) {
2907
- return !!e.isDisabled;
2908
- }, ja = {
2909
- clearIndicator: Eu,
2910
- container: bu,
2911
- control: Pu,
2912
- dropdownIndicator: xu,
2913
- group: Nu,
2914
- groupHeading: Mu,
2915
- indicatorsContainer: mu,
2916
- indicatorSeparator: Bu,
2917
- input: Lu,
2918
- loadingIndicator: Ru,
2919
- loadingMessage: su,
2920
- menu: tu,
2921
- menuList: uu,
2922
- menuPortal: du,
2923
- multiValue: ju,
2924
- multiValueLabel: Uu,
2925
- multiValueRemove: Qu,
2926
- noOptionsMessage: ou,
2927
- option: ta,
2928
- placeholder: ra,
2929
- singleValue: oa,
2930
- valueContainer: fu
2931
- };
2932
- function co(t) {
2933
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = G({}, t);
2934
- return Object.keys(e).forEach(function(r) {
2935
- var n = r;
2936
- t[n] ? i[n] = function(u, o) {
2937
- return e[n](t[n](u, o), o);
2938
- } : i[n] = e[n];
2939
- }), i;
2940
- }
2941
- var Ua = {
2942
- primary: "#2684FF",
2943
- primary75: "#4C9AFF",
2944
- primary50: "#B2D4FF",
2945
- primary25: "#DEEBFF",
2946
- danger: "#DE350B",
2947
- dangerLight: "#FFBDAD",
2948
- neutral0: "hsl(0, 0%, 100%)",
2949
- neutral5: "hsl(0, 0%, 95%)",
2950
- neutral10: "hsl(0, 0%, 90%)",
2951
- neutral20: "hsl(0, 0%, 80%)",
2952
- neutral30: "hsl(0, 0%, 70%)",
2953
- neutral40: "hsl(0, 0%, 60%)",
2954
- neutral50: "hsl(0, 0%, 50%)",
2955
- neutral60: "hsl(0, 0%, 40%)",
2956
- neutral70: "hsl(0, 0%, 30%)",
2957
- neutral80: "hsl(0, 0%, 20%)",
2958
- neutral90: "hsl(0, 0%, 10%)"
2959
- }, Qa = 4, zn = 4, $a = 38, _a = zn * 2, Ka = {
2960
- baseUnit: zn,
2961
- controlHeight: $a,
2962
- menuGutter: _a
2963
- }, ut = {
2964
- borderRadius: Qa,
2965
- colors: Ua,
2966
- spacing: Ka
2967
- }, qa = {
2968
- "aria-live": "polite",
2969
- backspaceRemovesValue: !0,
2970
- blurInputOnSelect: kt(),
2971
- captureMenuScroll: !kt(),
2972
- classNames: {},
2973
- closeMenuOnSelect: !0,
2974
- closeMenuOnScroll: !1,
2975
- components: {},
2976
- controlShouldRenderValue: !0,
2977
- escapeClearsValue: !1,
2978
- filterOption: Ea(),
2979
- formatGroupLabel: Ja,
2980
- getOptionLabel: Ya,
2981
- getOptionValue: za,
2982
- isDisabled: !1,
2983
- isLoading: !1,
2984
- isMulti: !1,
2985
- isRtl: !1,
2986
- isSearchable: !0,
2987
- isOptionDisabled: ka,
2988
- loadingMessage: function() {
2989
- return "Loading...";
2990
- },
2991
- maxMenuHeight: 300,
2992
- minMenuHeight: 140,
2993
- menuIsOpen: !1,
2994
- menuPlacement: "bottom",
2995
- menuPosition: "absolute",
2996
- menuShouldBlockScroll: !1,
2997
- menuShouldScrollIntoView: !zr(),
2998
- noOptionsMessage: function() {
2999
- return "No options";
3000
- },
3001
- openMenuOnFocus: !1,
3002
- openMenuOnClick: !0,
3003
- options: [],
3004
- pageSize: 5,
3005
- placeholder: "Select...",
3006
- screenReaderStatus: function(e) {
3007
- var i = e.count;
3008
- return "".concat(i, " result").concat(i !== 1 ? "s" : "", " available");
3009
- },
3010
- styles: {},
3011
- tabIndex: 0,
3012
- tabSelectsValue: !0,
3013
- unstyled: !1
3014
- };
3015
- function un(t, e, i, r) {
3016
- var n = Un(t, e, i), u = Qn(t, e, i), o = jn(t, e), c = ze(t, e);
3017
- return {
3018
- type: "option",
3019
- data: e,
3020
- isDisabled: n,
3021
- isSelected: u,
3022
- label: o,
3023
- value: c,
3024
- index: r
3025
- };
3026
- }
3027
- function Ne(t, e) {
3028
- return t.options.map(function(i, r) {
3029
- if ("options" in i) {
3030
- var n = i.options.map(function(o, c) {
3031
- return un(t, o, e, c);
3032
- }).filter(function(o) {
3033
- return on(t, o);
3034
- });
3035
- return n.length > 0 ? {
3036
- type: "group",
3037
- data: i,
3038
- options: n,
3039
- index: r
3040
- } : void 0;
3041
- }
3042
- var u = un(t, i, e, r);
3043
- return on(t, u) ? u : void 0;
3044
- }).filter(Ur);
3045
- }
3046
- function kn(t) {
3047
- return t.reduce(function(e, i) {
3048
- return i.type === "group" ? e.push.apply(e, mt(i.options.map(function(r) {
3049
- return r.data;
3050
- }))) : e.push(i.data), e;
3051
- }, []);
3052
- }
3053
- function an(t, e) {
3054
- return t.reduce(function(i, r) {
3055
- return r.type === "group" ? i.push.apply(i, mt(r.options.map(function(n) {
3056
- return {
3057
- data: n.data,
3058
- id: "".concat(e, "-").concat(r.index, "-").concat(n.index)
3059
- };
3060
- }))) : i.push({
3061
- data: r.data,
3062
- id: "".concat(e, "-").concat(r.index)
3063
- }), i;
3064
- }, []);
3065
- }
3066
- function eo(t, e) {
3067
- return kn(Ne(t, e));
3068
- }
3069
- function on(t, e) {
3070
- var i = t.inputValue, r = i === void 0 ? "" : i, n = e.data, u = e.isSelected, o = e.label, c = e.value;
3071
- return (!_n(t) || !u) && $n(t, {
3072
- label: o,
3073
- value: c,
3074
- data: n
3075
- }, r);
3076
- }
3077
- function to(t, e) {
3078
- var i = t.focusedValue, r = t.selectValue, n = r.indexOf(i);
3079
- if (n > -1) {
3080
- var u = e.indexOf(i);
3081
- if (u > -1)
3082
- return i;
3083
- if (n < e.length)
3084
- return e[n];
3085
- }
3086
- return null;
3087
- }
3088
- function no(t, e) {
3089
- var i = t.focusedOption;
3090
- return i && e.indexOf(i) > -1 ? i : e[0];
3091
- }
3092
- var at = function(e, i) {
3093
- var r, n = (r = e.find(function(u) {
3094
- return u.data === i;
3095
- })) === null || r === void 0 ? void 0 : r.id;
3096
- return n || null;
3097
- }, jn = function(e, i) {
3098
- return e.getOptionLabel(i);
3099
- }, ze = function(e, i) {
3100
- return e.getOptionValue(i);
3101
- };
3102
- function Un(t, e, i) {
3103
- return typeof t.isOptionDisabled == "function" ? t.isOptionDisabled(e, i) : !1;
3104
- }
3105
- function Qn(t, e, i) {
3106
- if (i.indexOf(e) > -1) return !0;
3107
- if (typeof t.isOptionSelected == "function")
3108
- return t.isOptionSelected(e, i);
3109
- var r = ze(t, e);
3110
- return i.some(function(n) {
3111
- return ze(t, n) === r;
3112
- });
3113
- }
3114
- function $n(t, e, i) {
3115
- return t.filterOption ? t.filterOption(e, i) : !0;
3116
- }
3117
- var _n = function(e) {
3118
- var i = e.hideSelectedOptions, r = e.isMulti;
3119
- return i === void 0 ? r : i;
3120
- }, io = 1, Kn = /* @__PURE__ */ (function(t) {
3121
- pi(i, t);
3122
- var e = mi(i);
3123
- function i(r) {
3124
- var n;
3125
- if (gi(this, i), n = e.call(this, r), n.state = {
3126
- ariaSelection: null,
3127
- focusedOption: null,
3128
- focusedOptionId: null,
3129
- focusableOptionsWithIds: [],
3130
- focusedValue: null,
3131
- inputIsHidden: !1,
3132
- isFocused: !1,
3133
- selectValue: [],
3134
- clearFocusValueOnUpdate: !1,
3135
- prevWasFocused: !1,
3136
- inputIsHiddenAfterUpdate: void 0,
3137
- prevProps: void 0,
3138
- instancePrefix: "",
3139
- isAppleDevice: !1
3140
- }, n.blockOptionHover = !1, n.isComposing = !1, n.commonProps = void 0, n.initialTouchX = 0, n.initialTouchY = 0, n.openAfterFocus = !1, n.scrollToFocusedOptionOnUpdate = !1, n.userIsDragging = void 0, n.controlRef = null, n.getControlRef = function(a) {
3141
- n.controlRef = a;
3142
- }, n.focusedOptionRef = null, n.getFocusedOptionRef = function(a) {
3143
- n.focusedOptionRef = a;
3144
- }, n.menuListRef = null, n.getMenuListRef = function(a) {
3145
- n.menuListRef = a;
3146
- }, n.inputRef = null, n.getInputRef = function(a) {
3147
- n.inputRef = a;
3148
- }, n.focus = n.focusInput, n.blur = n.blurInput, n.onChange = function(a, s) {
3149
- var l = n.props, d = l.onChange, f = l.name;
3150
- s.name = f, n.ariaOnChange(a, s), d(a, s);
3151
- }, n.setValue = function(a, s, l) {
3152
- var d = n.props, f = d.closeMenuOnSelect, I = d.isMulti, m = d.inputValue;
3153
- n.onInputChange("", {
3154
- action: "set-value",
3155
- prevInputValue: m
3156
- }), f && (n.setState({
3157
- inputIsHiddenAfterUpdate: !I
3158
- }), n.onMenuClose()), n.setState({
3159
- clearFocusValueOnUpdate: !0
3160
- }), n.onChange(a, {
3161
- action: s,
3162
- option: l
3163
- });
3164
- }, n.selectOption = function(a) {
3165
- var s = n.props, l = s.blurInputOnSelect, d = s.isMulti, f = s.name, I = n.state.selectValue, m = d && n.isOptionSelected(a, I), b = n.isOptionDisabled(a, I);
3166
- if (m) {
3167
- var g = n.getOptionValue(a);
3168
- n.setValue(I.filter(function(p) {
3169
- return n.getOptionValue(p) !== g;
3170
- }), "deselect-option", a);
3171
- } else if (!b)
3172
- d ? n.setValue([].concat(mt(I), [a]), "select-option", a) : n.setValue(a, "select-option");
3173
- else {
3174
- n.ariaOnChange(a, {
3175
- action: "select-option",
3176
- option: a,
3177
- name: f
3178
- });
3179
- return;
3180
- }
3181
- l && n.blurInput();
3182
- }, n.removeValue = function(a) {
3183
- var s = n.props.isMulti, l = n.state.selectValue, d = n.getOptionValue(a), f = l.filter(function(m) {
3184
- return n.getOptionValue(m) !== d;
3185
- }), I = Pe(s, f, f[0] || null);
3186
- n.onChange(I, {
3187
- action: "remove-value",
3188
- removedValue: a
3189
- }), n.focusInput();
3190
- }, n.clearValue = function() {
3191
- var a = n.state.selectValue;
3192
- n.onChange(Pe(n.props.isMulti, [], null), {
3193
- action: "clear",
3194
- removedValues: a
3195
- });
3196
- }, n.popValue = function() {
3197
- var a = n.props.isMulti, s = n.state.selectValue, l = s[s.length - 1], d = s.slice(0, s.length - 1), f = Pe(a, d, d[0] || null);
3198
- l && n.onChange(f, {
3199
- action: "pop-value",
3200
- removedValue: l
3201
- });
3202
- }, n.getFocusedOptionId = function(a) {
3203
- return at(n.state.focusableOptionsWithIds, a);
3204
- }, n.getFocusableOptionsWithIds = function() {
3205
- return an(Ne(n.props, n.state.selectValue), n.getElementId("option"));
3206
- }, n.getValue = function() {
3207
- return n.state.selectValue;
3208
- }, n.cx = function() {
3209
- for (var a = arguments.length, s = new Array(a), l = 0; l < a; l++)
3210
- s[l] = arguments[l];
3211
- return Or.apply(void 0, [n.props.classNamePrefix].concat(s));
3212
- }, n.getOptionLabel = function(a) {
3213
- return jn(n.props, a);
3214
- }, n.getOptionValue = function(a) {
3215
- return ze(n.props, a);
3216
- }, n.getStyles = function(a, s) {
3217
- var l = n.props.unstyled, d = ja[a](s, l);
3218
- d.boxSizing = "border-box";
3219
- var f = n.props.styles[a];
3220
- return f ? f(d, s) : d;
3221
- }, n.getClassNames = function(a, s) {
3222
- var l, d;
3223
- return (l = (d = n.props.classNames)[a]) === null || l === void 0 ? void 0 : l.call(d, s);
3224
- }, n.getElementId = function(a) {
3225
- return "".concat(n.state.instancePrefix, "-").concat(a);
3226
- }, n.getComponents = function() {
3227
- return da(n.props);
3228
- }, n.buildCategorizedOptions = function() {
3229
- return Ne(n.props, n.state.selectValue);
3230
- }, n.getCategorizedOptions = function() {
3231
- return n.props.menuIsOpen ? n.buildCategorizedOptions() : [];
3232
- }, n.buildFocusableOptions = function() {
3233
- return kn(n.buildCategorizedOptions());
3234
- }, n.getFocusableOptions = function() {
3235
- return n.props.menuIsOpen ? n.buildFocusableOptions() : [];
3236
- }, n.ariaOnChange = function(a, s) {
3237
- n.setState({
3238
- ariaSelection: G({
3239
- value: a
3240
- }, s)
3241
- });
3242
- }, n.onMenuMouseDown = function(a) {
3243
- a.button === 0 && (a.stopPropagation(), a.preventDefault(), n.focusInput());
3244
- }, n.onMenuMouseMove = function(a) {
3245
- n.blockOptionHover = !1;
3246
- }, n.onControlMouseDown = function(a) {
3247
- if (!a.defaultPrevented) {
3248
- var s = n.props.openMenuOnClick;
3249
- n.state.isFocused ? n.props.menuIsOpen ? a.target.tagName !== "INPUT" && a.target.tagName !== "TEXTAREA" && n.onMenuClose() : s && n.openMenu("first") : (s && (n.openAfterFocus = !0), n.focusInput()), a.target.tagName !== "INPUT" && a.target.tagName !== "TEXTAREA" && a.preventDefault();
3250
- }
3251
- }, n.onDropdownIndicatorMouseDown = function(a) {
3252
- if (!(a && a.type === "mousedown" && a.button !== 0) && !n.props.isDisabled) {
3253
- var s = n.props, l = s.isMulti, d = s.menuIsOpen;
3254
- n.focusInput(), d ? (n.setState({
3255
- inputIsHiddenAfterUpdate: !l
3256
- }), n.onMenuClose()) : n.openMenu("first"), a.preventDefault();
3257
- }
3258
- }, n.onClearIndicatorMouseDown = function(a) {
3259
- a && a.type === "mousedown" && a.button !== 0 || (n.clearValue(), a.preventDefault(), n.openAfterFocus = !1, a.type === "touchend" ? n.focusInput() : setTimeout(function() {
3260
- return n.focusInput();
3261
- }));
3262
- }, n.onScroll = function(a) {
3263
- typeof n.props.closeMenuOnScroll == "boolean" ? a.target instanceof HTMLElement && $e(a.target) && n.props.onMenuClose() : typeof n.props.closeMenuOnScroll == "function" && n.props.closeMenuOnScroll(a) && n.props.onMenuClose();
3264
- }, n.onCompositionStart = function() {
3265
- n.isComposing = !0;
3266
- }, n.onCompositionEnd = function() {
3267
- n.isComposing = !1;
3268
- }, n.onTouchStart = function(a) {
3269
- var s = a.touches, l = s && s.item(0);
3270
- l && (n.initialTouchX = l.clientX, n.initialTouchY = l.clientY, n.userIsDragging = !1);
3271
- }, n.onTouchMove = function(a) {
3272
- var s = a.touches, l = s && s.item(0);
3273
- if (l) {
3274
- var d = Math.abs(l.clientX - n.initialTouchX), f = Math.abs(l.clientY - n.initialTouchY), I = 5;
3275
- n.userIsDragging = d > I || f > I;
3276
- }
3277
- }, n.onTouchEnd = function(a) {
3278
- n.userIsDragging || (n.controlRef && !n.controlRef.contains(a.target) && n.menuListRef && !n.menuListRef.contains(a.target) && n.blurInput(), n.initialTouchX = 0, n.initialTouchY = 0);
3279
- }, n.onControlTouchEnd = function(a) {
3280
- n.userIsDragging || n.onControlMouseDown(a);
3281
- }, n.onClearIndicatorTouchEnd = function(a) {
3282
- n.userIsDragging || n.onClearIndicatorMouseDown(a);
3283
- }, n.onDropdownIndicatorTouchEnd = function(a) {
3284
- n.userIsDragging || n.onDropdownIndicatorMouseDown(a);
3285
- }, n.handleInputChange = function(a) {
3286
- var s = n.props.inputValue, l = a.currentTarget.value;
3287
- n.setState({
3288
- inputIsHiddenAfterUpdate: !1
3289
- }), n.onInputChange(l, {
3290
- action: "input-change",
3291
- prevInputValue: s
3292
- }), n.props.menuIsOpen || n.onMenuOpen();
3293
- }, n.onInputFocus = function(a) {
3294
- n.props.onFocus && n.props.onFocus(a), n.setState({
3295
- inputIsHiddenAfterUpdate: !1,
3296
- isFocused: !0
3297
- }), (n.openAfterFocus || n.props.openMenuOnFocus) && n.openMenu("first"), n.openAfterFocus = !1;
3298
- }, n.onInputBlur = function(a) {
3299
- var s = n.props.inputValue;
3300
- if (n.menuListRef && n.menuListRef.contains(document.activeElement)) {
3301
- n.inputRef.focus();
3302
- return;
3303
- }
3304
- n.props.onBlur && n.props.onBlur(a), n.onInputChange("", {
3305
- action: "input-blur",
3306
- prevInputValue: s
3307
- }), n.onMenuClose(), n.setState({
3308
- focusedValue: null,
3309
- isFocused: !1
3310
- });
3311
- }, n.onOptionHover = function(a) {
3312
- if (!(n.blockOptionHover || n.state.focusedOption === a)) {
3313
- var s = n.getFocusableOptions(), l = s.indexOf(a);
3314
- n.setState({
3315
- focusedOption: a,
3316
- focusedOptionId: l > -1 ? n.getFocusedOptionId(a) : null
3317
- });
3318
- }
3319
- }, n.shouldHideSelectedOptions = function() {
3320
- return _n(n.props);
3321
- }, n.onValueInputFocus = function(a) {
3322
- a.preventDefault(), a.stopPropagation(), n.focus();
3323
- }, n.onKeyDown = function(a) {
3324
- var s = n.props, l = s.isMulti, d = s.backspaceRemovesValue, f = s.escapeClearsValue, I = s.inputValue, m = s.isClearable, b = s.isDisabled, g = s.menuIsOpen, p = s.onKeyDown, v = s.tabSelectsValue, h = s.openMenuOnFocus, y = n.state, V = y.focusedOption, x = y.focusedValue, C = y.selectValue;
3325
- if (!b && !(typeof p == "function" && (p(a), a.defaultPrevented))) {
3326
- switch (n.blockOptionHover = !0, a.key) {
3327
- case "ArrowLeft":
3328
- if (!l || I) return;
3329
- n.focusValue("previous");
3330
- break;
3331
- case "ArrowRight":
3332
- if (!l || I) return;
3333
- n.focusValue("next");
3334
- break;
3335
- case "Delete":
3336
- case "Backspace":
3337
- if (I) return;
3338
- if (x)
3339
- n.removeValue(x);
3340
- else {
3341
- if (!d) return;
3342
- l ? n.popValue() : m && n.clearValue();
3343
- }
3344
- break;
3345
- case "Tab":
3346
- if (n.isComposing || a.shiftKey || !g || !v || !V || // don't capture the event if the menu opens on focus and the focused
3347
- // option is already selected; it breaks the flow of navigation
3348
- h && n.isOptionSelected(V, C))
3349
- return;
3350
- n.selectOption(V);
3351
- break;
3352
- case "Enter":
3353
- if (a.keyCode === 229)
3354
- break;
3355
- if (g) {
3356
- if (!V || n.isComposing) return;
3357
- n.selectOption(V);
3358
- break;
3359
- }
3360
- return;
3361
- case "Escape":
3362
- g ? (n.setState({
3363
- inputIsHiddenAfterUpdate: !1
3364
- }), n.onInputChange("", {
3365
- action: "menu-close",
3366
- prevInputValue: I
3367
- }), n.onMenuClose()) : m && f && n.clearValue();
3368
- break;
3369
- case " ":
3370
- if (I)
3371
- return;
3372
- if (!g) {
3373
- n.openMenu("first");
3374
- break;
3375
- }
3376
- if (!V) return;
3377
- n.selectOption(V);
3378
- break;
3379
- case "ArrowUp":
3380
- g ? n.focusOption("up") : n.openMenu("last");
3381
- break;
3382
- case "ArrowDown":
3383
- g ? n.focusOption("down") : n.openMenu("first");
3384
- break;
3385
- case "PageUp":
3386
- if (!g) return;
3387
- n.focusOption("pageup");
3388
- break;
3389
- case "PageDown":
3390
- if (!g) return;
3391
- n.focusOption("pagedown");
3392
- break;
3393
- case "Home":
3394
- if (!g) return;
3395
- n.focusOption("first");
3396
- break;
3397
- case "End":
3398
- if (!g) return;
3399
- n.focusOption("last");
3400
- break;
3401
- default:
3402
- return;
3403
- }
3404
- a.preventDefault();
3405
- }
3406
- }, n.state.instancePrefix = "react-select-" + (n.props.instanceId || ++io), n.state.selectValue = Yt(r.value), r.menuIsOpen && n.state.selectValue.length) {
3407
- var u = n.getFocusableOptionsWithIds(), o = n.buildFocusableOptions(), c = o.indexOf(n.state.selectValue[0]);
3408
- n.state.focusableOptionsWithIds = u, n.state.focusedOption = o[c], n.state.focusedOptionId = at(u, o[c]);
3409
- }
3410
- return n;
3411
- }
3412
- return bi(i, [{
3413
- key: "componentDidMount",
3414
- value: function() {
3415
- this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && zt(this.menuListRef, this.focusedOptionRef), La() && this.setState({
3416
- isAppleDevice: !0
3417
- });
3418
- }
3419
- }, {
3420
- key: "componentDidUpdate",
3421
- value: function(n) {
3422
- var u = this.props, o = u.isDisabled, c = u.menuIsOpen, a = this.state.isFocused;
3423
- // ensure focus is restored correctly when the control becomes enabled
3424
- (a && !o && n.isDisabled || // ensure focus is on the Input when the menu opens
3425
- a && c && !n.menuIsOpen) && this.focusInput(), a && o && !n.isDisabled ? this.setState({
3426
- isFocused: !1
3427
- }, this.onMenuClose) : !a && !o && n.isDisabled && this.inputRef === document.activeElement && this.setState({
3428
- isFocused: !0
3429
- }), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (zt(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
3430
- }
3431
- }, {
3432
- key: "componentWillUnmount",
3433
- value: function() {
3434
- this.stopListeningComposition(), this.stopListeningToTouch(), document.removeEventListener("scroll", this.onScroll, !0);
3435
- }
3436
- // ==============================
3437
- // Consumer Handlers
3438
- // ==============================
3439
- }, {
3440
- key: "onMenuOpen",
3441
- value: function() {
3442
- this.props.onMenuOpen();
3443
- }
3444
- }, {
3445
- key: "onMenuClose",
3446
- value: function() {
3447
- this.onInputChange("", {
3448
- action: "menu-close",
3449
- prevInputValue: this.props.inputValue
3450
- }), this.props.onMenuClose();
3451
- }
3452
- }, {
3453
- key: "onInputChange",
3454
- value: function(n, u) {
3455
- this.props.onInputChange(n, u);
3456
- }
3457
- // ==============================
3458
- // Methods
3459
- // ==============================
3460
- }, {
3461
- key: "focusInput",
3462
- value: function() {
3463
- this.inputRef && this.inputRef.focus();
3464
- }
3465
- }, {
3466
- key: "blurInput",
3467
- value: function() {
3468
- this.inputRef && this.inputRef.blur();
3469
- }
3470
- // aliased for consumers
3471
- }, {
3472
- key: "openMenu",
3473
- value: function(n) {
3474
- var u = this, o = this.state, c = o.selectValue, a = o.isFocused, s = this.buildFocusableOptions(), l = n === "first" ? 0 : s.length - 1;
3475
- if (!this.props.isMulti) {
3476
- var d = s.indexOf(c[0]);
3477
- d > -1 && (l = d);
3478
- }
3479
- this.scrollToFocusedOptionOnUpdate = !(a && this.menuListRef), this.setState({
3480
- inputIsHiddenAfterUpdate: !1,
3481
- focusedValue: null,
3482
- focusedOption: s[l],
3483
- focusedOptionId: this.getFocusedOptionId(s[l])
3484
- }, function() {
3485
- return u.onMenuOpen();
3486
- });
3487
- }
3488
- }, {
3489
- key: "focusValue",
3490
- value: function(n) {
3491
- var u = this.state, o = u.selectValue, c = u.focusedValue;
3492
- if (this.props.isMulti) {
3493
- this.setState({
3494
- focusedOption: null
3495
- });
3496
- var a = o.indexOf(c);
3497
- c || (a = -1);
3498
- var s = o.length - 1, l = -1;
3499
- if (o.length) {
3500
- switch (n) {
3501
- case "previous":
3502
- a === 0 ? l = 0 : a === -1 ? l = s : l = a - 1;
3503
- break;
3504
- case "next":
3505
- a > -1 && a < s && (l = a + 1);
3506
- break;
3507
- }
3508
- this.setState({
3509
- inputIsHidden: l !== -1,
3510
- focusedValue: o[l]
3511
- });
3512
- }
3513
- }
3514
- }
3515
- }, {
3516
- key: "focusOption",
3517
- value: function() {
3518
- var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first", u = this.props.pageSize, o = this.state.focusedOption, c = this.getFocusableOptions();
3519
- if (c.length) {
3520
- var a = 0, s = c.indexOf(o);
3521
- o || (s = -1), n === "up" ? a = s > 0 ? s - 1 : c.length - 1 : n === "down" ? a = (s + 1) % c.length : n === "pageup" ? (a = s - u, a < 0 && (a = 0)) : n === "pagedown" ? (a = s + u, a > c.length - 1 && (a = c.length - 1)) : n === "last" && (a = c.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
3522
- focusedOption: c[a],
3523
- focusedValue: null,
3524
- focusedOptionId: this.getFocusedOptionId(c[a])
3525
- });
3526
- }
3527
- }
3528
- }, {
3529
- key: "getTheme",
3530
- value: (
3531
- // ==============================
3532
- // Getters
3533
- // ==============================
3534
- function() {
3535
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(ut) : G(G({}, ut), this.props.theme) : ut;
3536
- }
3537
- )
3538
- }, {
3539
- key: "getCommonProps",
3540
- value: function() {
3541
- var n = this.clearValue, u = this.cx, o = this.getStyles, c = this.getClassNames, a = this.getValue, s = this.selectOption, l = this.setValue, d = this.props, f = d.isMulti, I = d.isRtl, m = d.options, b = this.hasValue();
3542
- return {
3543
- clearValue: n,
3544
- cx: u,
3545
- getStyles: o,
3546
- getClassNames: c,
3547
- getValue: a,
3548
- hasValue: b,
3549
- isMulti: f,
3550
- isRtl: I,
3551
- options: m,
3552
- selectOption: s,
3553
- selectProps: d,
3554
- setValue: l,
3555
- theme: this.getTheme()
3556
- };
3557
- }
3558
- }, {
3559
- key: "hasValue",
3560
- value: function() {
3561
- var n = this.state.selectValue;
3562
- return n.length > 0;
3563
- }
3564
- }, {
3565
- key: "hasOptions",
3566
- value: function() {
3567
- return !!this.getFocusableOptions().length;
3568
- }
3569
- }, {
3570
- key: "isClearable",
3571
- value: function() {
3572
- var n = this.props, u = n.isClearable, o = n.isMulti;
3573
- return u === void 0 ? o : u;
3574
- }
3575
- }, {
3576
- key: "isOptionDisabled",
3577
- value: function(n, u) {
3578
- return Un(this.props, n, u);
3579
- }
3580
- }, {
3581
- key: "isOptionSelected",
3582
- value: function(n, u) {
3583
- return Qn(this.props, n, u);
3584
- }
3585
- }, {
3586
- key: "filterOption",
3587
- value: function(n, u) {
3588
- return $n(this.props, n, u);
3589
- }
3590
- }, {
3591
- key: "formatOptionLabel",
3592
- value: function(n, u) {
3593
- if (typeof this.props.formatOptionLabel == "function") {
3594
- var o = this.props.inputValue, c = this.state.selectValue;
3595
- return this.props.formatOptionLabel(n, {
3596
- context: u,
3597
- inputValue: o,
3598
- selectValue: c
3599
- });
3600
- } else
3601
- return this.getOptionLabel(n);
3602
- }
3603
- }, {
3604
- key: "formatGroupLabel",
3605
- value: function(n) {
3606
- return this.props.formatGroupLabel(n);
3607
- }
3608
- // ==============================
3609
- // Mouse Handlers
3610
- // ==============================
3611
- }, {
3612
- key: "startListeningComposition",
3613
- value: (
3614
- // ==============================
3615
- // Composition Handlers
3616
- // ==============================
3617
- function() {
3618
- document && document.addEventListener && (document.addEventListener("compositionstart", this.onCompositionStart, !1), document.addEventListener("compositionend", this.onCompositionEnd, !1));
3619
- }
3620
- )
3621
- }, {
3622
- key: "stopListeningComposition",
3623
- value: function() {
3624
- document && document.removeEventListener && (document.removeEventListener("compositionstart", this.onCompositionStart), document.removeEventListener("compositionend", this.onCompositionEnd));
3625
- }
3626
- }, {
3627
- key: "startListeningToTouch",
3628
- value: (
3629
- // ==============================
3630
- // Touch Handlers
3631
- // ==============================
3632
- function() {
3633
- document && document.addEventListener && (document.addEventListener("touchstart", this.onTouchStart, !1), document.addEventListener("touchmove", this.onTouchMove, !1), document.addEventListener("touchend", this.onTouchEnd, !1));
3634
- }
3635
- )
3636
- }, {
3637
- key: "stopListeningToTouch",
3638
- value: function() {
3639
- document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd));
3640
- }
3641
- }, {
3642
- key: "renderInput",
3643
- value: (
3644
- // ==============================
3645
- // Renderers
3646
- // ==============================
3647
- function() {
3648
- var n = this.props, u = n.isDisabled, o = n.isSearchable, c = n.inputId, a = n.inputValue, s = n.tabIndex, l = n.form, d = n.menuIsOpen, f = n.required, I = this.getComponents(), m = I.Input, b = this.state, g = b.inputIsHidden, p = b.ariaSelection, v = this.commonProps, h = c || this.getElementId("input"), y = G(G(G({
3649
- "aria-autocomplete": "list",
3650
- "aria-expanded": d,
3651
- "aria-haspopup": !0,
3652
- "aria-errormessage": this.props["aria-errormessage"],
3653
- "aria-invalid": this.props["aria-invalid"],
3654
- "aria-label": this.props["aria-label"],
3655
- "aria-labelledby": this.props["aria-labelledby"],
3656
- "aria-required": f,
3657
- role: "combobox",
3658
- "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
3659
- }, d && {
3660
- "aria-controls": this.getElementId("listbox")
3661
- }), !o && {
3662
- "aria-readonly": !0
3663
- }), this.hasValue() ? p?.action === "initial-input-focus" && {
3664
- "aria-describedby": this.getElementId("live-region")
3665
- } : {
3666
- "aria-describedby": this.getElementId("placeholder")
3667
- });
3668
- return o ? /* @__PURE__ */ R.createElement(m, E({}, v, {
3669
- autoCapitalize: "none",
3670
- autoComplete: "off",
3671
- autoCorrect: "off",
3672
- id: h,
3673
- innerRef: this.getInputRef,
3674
- isDisabled: u,
3675
- isHidden: g,
3676
- onBlur: this.onInputBlur,
3677
- onChange: this.handleInputChange,
3678
- onFocus: this.onInputFocus,
3679
- spellCheck: "false",
3680
- tabIndex: s,
3681
- form: l,
3682
- type: "text",
3683
- value: a
3684
- }, y)) : /* @__PURE__ */ R.createElement(Ba, E({
3685
- id: h,
3686
- innerRef: this.getInputRef,
3687
- onBlur: this.onInputBlur,
3688
- onChange: Je,
3689
- onFocus: this.onInputFocus,
3690
- disabled: u,
3691
- tabIndex: s,
3692
- inputMode: "none",
3693
- form: l,
3694
- value: ""
3695
- }, y));
3696
- }
3697
- )
3698
- }, {
3699
- key: "renderPlaceholderOrValue",
3700
- value: function() {
3701
- var n = this, u = this.getComponents(), o = u.MultiValue, c = u.MultiValueContainer, a = u.MultiValueLabel, s = u.MultiValueRemove, l = u.SingleValue, d = u.Placeholder, f = this.commonProps, I = this.props, m = I.controlShouldRenderValue, b = I.isDisabled, g = I.isMulti, p = I.inputValue, v = I.placeholder, h = this.state, y = h.selectValue, V = h.focusedValue, x = h.isFocused;
3702
- if (!this.hasValue() || !m)
3703
- return p ? null : /* @__PURE__ */ R.createElement(d, E({}, f, {
3704
- key: "placeholder",
3705
- isDisabled: b,
3706
- isFocused: x,
3707
- innerProps: {
3708
- id: this.getElementId("placeholder")
3709
- }
3710
- }), v);
3711
- if (g)
3712
- return y.map(function(B, X) {
3713
- var M = B === V, D = "".concat(n.getOptionLabel(B), "-").concat(n.getOptionValue(B));
3714
- return /* @__PURE__ */ R.createElement(o, E({}, f, {
3715
- components: {
3716
- Container: c,
3717
- Label: a,
3718
- Remove: s
3719
- },
3720
- isFocused: M,
3721
- isDisabled: b,
3722
- key: D,
3723
- index: X,
3724
- removeProps: {
3725
- onClick: function() {
3726
- return n.removeValue(B);
3727
- },
3728
- onTouchEnd: function() {
3729
- return n.removeValue(B);
3730
- },
3731
- onMouseDown: function(K) {
3732
- K.preventDefault();
3733
- }
3734
- },
3735
- data: B
3736
- }), n.formatOptionLabel(B, "value"));
3737
- });
3738
- if (p)
3739
- return null;
3740
- var C = y[0];
3741
- return /* @__PURE__ */ R.createElement(l, E({}, f, {
3742
- data: C,
3743
- isDisabled: b
3744
- }), this.formatOptionLabel(C, "value"));
3745
- }
3746
- }, {
3747
- key: "renderClearIndicator",
3748
- value: function() {
3749
- var n = this.getComponents(), u = n.ClearIndicator, o = this.commonProps, c = this.props, a = c.isDisabled, s = c.isLoading, l = this.state.isFocused;
3750
- if (!this.isClearable() || !u || a || !this.hasValue() || s)
3751
- return null;
3752
- var d = {
3753
- onMouseDown: this.onClearIndicatorMouseDown,
3754
- onTouchEnd: this.onClearIndicatorTouchEnd,
3755
- "aria-hidden": "true"
3756
- };
3757
- return /* @__PURE__ */ R.createElement(u, E({}, o, {
3758
- innerProps: d,
3759
- isFocused: l
3760
- }));
3761
- }
3762
- }, {
3763
- key: "renderLoadingIndicator",
3764
- value: function() {
3765
- var n = this.getComponents(), u = n.LoadingIndicator, o = this.commonProps, c = this.props, a = c.isDisabled, s = c.isLoading, l = this.state.isFocused;
3766
- if (!u || !s) return null;
3767
- var d = {
3768
- "aria-hidden": "true"
3769
- };
3770
- return /* @__PURE__ */ R.createElement(u, E({}, o, {
3771
- innerProps: d,
3772
- isDisabled: a,
3773
- isFocused: l
3774
- }));
3775
- }
3776
- }, {
3777
- key: "renderIndicatorSeparator",
3778
- value: function() {
3779
- var n = this.getComponents(), u = n.DropdownIndicator, o = n.IndicatorSeparator;
3780
- if (!u || !o) return null;
3781
- var c = this.commonProps, a = this.props.isDisabled, s = this.state.isFocused;
3782
- return /* @__PURE__ */ R.createElement(o, E({}, c, {
3783
- isDisabled: a,
3784
- isFocused: s
3785
- }));
3786
- }
3787
- }, {
3788
- key: "renderDropdownIndicator",
3789
- value: function() {
3790
- var n = this.getComponents(), u = n.DropdownIndicator;
3791
- if (!u) return null;
3792
- var o = this.commonProps, c = this.props.isDisabled, a = this.state.isFocused, s = {
3793
- onMouseDown: this.onDropdownIndicatorMouseDown,
3794
- onTouchEnd: this.onDropdownIndicatorTouchEnd,
3795
- "aria-hidden": "true"
3796
- };
3797
- return /* @__PURE__ */ R.createElement(u, E({}, o, {
3798
- innerProps: s,
3799
- isDisabled: c,
3800
- isFocused: a
3801
- }));
3802
- }
3803
- }, {
3804
- key: "renderMenu",
3805
- value: function() {
3806
- var n = this, u = this.getComponents(), o = u.Group, c = u.GroupHeading, a = u.Menu, s = u.MenuList, l = u.MenuPortal, d = u.LoadingMessage, f = u.NoOptionsMessage, I = u.Option, m = this.commonProps, b = this.state.focusedOption, g = this.props, p = g.captureMenuScroll, v = g.inputValue, h = g.isLoading, y = g.loadingMessage, V = g.minMenuHeight, x = g.maxMenuHeight, C = g.menuIsOpen, B = g.menuPlacement, X = g.menuPosition, M = g.menuPortalTarget, D = g.menuShouldBlockScroll, H = g.menuShouldScrollIntoView, K = g.noOptionsMessage, q = g.onMenuScrollToTop, N = g.onMenuScrollToBottom;
3807
- if (!C) return null;
3808
- var w = function(J, ee) {
3809
- var oe = J.type, j = J.data, se = J.isDisabled, te = J.isSelected, Ve = J.label, ei = J.value, Ft = b === j, St = se ? void 0 : function() {
3810
- return n.onOptionHover(j);
3811
- }, ti = se ? void 0 : function() {
3812
- return n.selectOption(j);
3813
- }, Rt = "".concat(n.getElementId("option"), "-").concat(ee), ni = {
3814
- id: Rt,
3815
- onClick: ti,
3816
- onMouseMove: St,
3817
- onMouseOver: St,
3818
- tabIndex: -1,
3819
- role: "option",
3820
- "aria-selected": n.state.isAppleDevice ? void 0 : te
3821
- // is not supported on Apple devices
3822
- };
3823
- return /* @__PURE__ */ R.createElement(I, E({}, m, {
3824
- innerProps: ni,
3825
- data: j,
3826
- isDisabled: se,
3827
- isSelected: te,
3828
- key: Rt,
3829
- label: Ve,
3830
- type: oe,
3831
- value: ei,
3832
- isFocused: Ft,
3833
- innerRef: Ft ? n.getFocusedOptionRef : void 0
3834
- }), n.formatOptionLabel(J.data, "menu"));
3835
- }, U;
3836
- if (this.hasOptions())
3837
- U = this.getCategorizedOptions().map(function(Z) {
3838
- if (Z.type === "group") {
3839
- var J = Z.data, ee = Z.options, oe = Z.index, j = "".concat(n.getElementId("group"), "-").concat(oe), se = "".concat(j, "-heading");
3840
- return /* @__PURE__ */ R.createElement(o, E({}, m, {
3841
- key: j,
3842
- data: J,
3843
- options: ee,
3844
- Heading: c,
3845
- headingProps: {
3846
- id: se,
3847
- data: Z.data
3848
- },
3849
- label: n.formatGroupLabel(Z.data)
3850
- }), Z.options.map(function(te) {
3851
- return w(te, "".concat(oe, "-").concat(te.index));
3852
- }));
3853
- } else if (Z.type === "option")
3854
- return w(Z, "".concat(Z.index));
3855
- });
3856
- else if (h) {
3857
- var z = y({
3858
- inputValue: v
3859
- });
3860
- if (z === null) return null;
3861
- U = /* @__PURE__ */ R.createElement(d, m, z);
3862
- } else {
3863
- var ue = K({
3864
- inputValue: v
3865
- });
3866
- if (ue === null) return null;
3867
- U = /* @__PURE__ */ R.createElement(f, m, ue);
3868
- }
3869
- var ae = {
3870
- minMenuHeight: V,
3871
- maxMenuHeight: x,
3872
- menuPlacement: B,
3873
- menuPosition: X,
3874
- menuShouldScrollIntoView: H
3875
- }, Ee = /* @__PURE__ */ R.createElement(nu, E({}, m, ae), function(Z) {
3876
- var J = Z.ref, ee = Z.placerProps, oe = ee.placement, j = ee.maxHeight;
3877
- return /* @__PURE__ */ R.createElement(a, E({}, m, ae, {
3878
- innerRef: J,
3879
- innerProps: {
3880
- onMouseDown: n.onMenuMouseDown,
3881
- onMouseMove: n.onMenuMouseMove
3882
- },
3883
- isLoading: h,
3884
- placement: oe
3885
- }), /* @__PURE__ */ R.createElement(wa, {
3886
- captureEnabled: p,
3887
- onTopArrive: q,
3888
- onBottomArrive: N,
3889
- lockEnabled: D
3890
- }, function(se) {
3891
- return /* @__PURE__ */ R.createElement(s, E({}, m, {
3892
- innerRef: function(Ve) {
3893
- n.getMenuListRef(Ve), se(Ve);
3894
- },
3895
- innerProps: {
3896
- role: "listbox",
3897
- "aria-multiselectable": m.isMulti,
3898
- id: n.getElementId("listbox")
3899
- },
3900
- isLoading: h,
3901
- maxHeight: j,
3902
- focusedOption: b
3903
- }), U);
3904
- }));
3905
- });
3906
- return M || X === "fixed" ? /* @__PURE__ */ R.createElement(l, E({}, m, {
3907
- appendTo: M,
3908
- controlElement: this.controlRef,
3909
- menuPlacement: B,
3910
- menuPosition: X
3911
- }), Ee) : Ee;
3912
- }
3913
- }, {
3914
- key: "renderFormField",
3915
- value: function() {
3916
- var n = this, u = this.props, o = u.delimiter, c = u.isDisabled, a = u.isMulti, s = u.name, l = u.required, d = this.state.selectValue;
3917
- if (l && !this.hasValue() && !c)
3918
- return /* @__PURE__ */ R.createElement(Ma, {
3919
- name: s,
3920
- onFocus: this.onValueInputFocus
3921
- });
3922
- if (!(!s || c))
3923
- if (a)
3924
- if (o) {
3925
- var f = d.map(function(b) {
3926
- return n.getOptionValue(b);
3927
- }).join(o);
3928
- return /* @__PURE__ */ R.createElement("input", {
3929
- name: s,
3930
- type: "hidden",
3931
- value: f
3932
- });
3933
- } else {
3934
- var I = d.length > 0 ? d.map(function(b, g) {
3935
- return /* @__PURE__ */ R.createElement("input", {
3936
- key: "i-".concat(g),
3937
- name: s,
3938
- type: "hidden",
3939
- value: n.getOptionValue(b)
3940
- });
3941
- }) : /* @__PURE__ */ R.createElement("input", {
3942
- name: s,
3943
- type: "hidden",
3944
- value: ""
3945
- });
3946
- return /* @__PURE__ */ R.createElement("div", null, I);
3947
- }
3948
- else {
3949
- var m = d[0] ? this.getOptionValue(d[0]) : "";
3950
- return /* @__PURE__ */ R.createElement("input", {
3951
- name: s,
3952
- type: "hidden",
3953
- value: m
3954
- });
3955
- }
3956
- }
3957
- }, {
3958
- key: "renderLiveRegion",
3959
- value: function() {
3960
- var n = this.commonProps, u = this.state, o = u.ariaSelection, c = u.focusedOption, a = u.focusedValue, s = u.isFocused, l = u.selectValue, d = this.getFocusableOptions();
3961
- return /* @__PURE__ */ R.createElement(Aa, E({}, n, {
3962
- id: this.getElementId("live-region"),
3963
- ariaSelection: o,
3964
- focusedOption: c,
3965
- focusedValue: a,
3966
- isFocused: s,
3967
- selectValue: l,
3968
- focusableOptions: d,
3969
- isAppleDevice: this.state.isAppleDevice
3970
- }));
3971
- }
3972
- }, {
3973
- key: "render",
3974
- value: function() {
3975
- var n = this.getComponents(), u = n.Control, o = n.IndicatorsContainer, c = n.SelectContainer, a = n.ValueContainer, s = this.props, l = s.className, d = s.id, f = s.isDisabled, I = s.menuIsOpen, m = this.state.isFocused, b = this.commonProps = this.getCommonProps();
3976
- return /* @__PURE__ */ R.createElement(c, E({}, b, {
3977
- className: l,
3978
- innerProps: {
3979
- id: d,
3980
- onKeyDown: this.onKeyDown
3981
- },
3982
- isDisabled: f,
3983
- isFocused: m
3984
- }), this.renderLiveRegion(), /* @__PURE__ */ R.createElement(u, E({}, b, {
3985
- innerRef: this.getControlRef,
3986
- innerProps: {
3987
- onMouseDown: this.onControlMouseDown,
3988
- onTouchEnd: this.onControlTouchEnd
3989
- },
3990
- isDisabled: f,
3991
- isFocused: m,
3992
- menuIsOpen: I
3993
- }), /* @__PURE__ */ R.createElement(a, E({}, b, {
3994
- isDisabled: f
3995
- }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ R.createElement(o, E({}, b, {
3996
- isDisabled: f
3997
- }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
3998
- }
3999
- }], [{
4000
- key: "getDerivedStateFromProps",
4001
- value: function(n, u) {
4002
- var o = u.prevProps, c = u.clearFocusValueOnUpdate, a = u.inputIsHiddenAfterUpdate, s = u.ariaSelection, l = u.isFocused, d = u.prevWasFocused, f = u.instancePrefix, I = n.options, m = n.value, b = n.menuIsOpen, g = n.inputValue, p = n.isMulti, v = Yt(m), h = {};
4003
- if (o && (m !== o.value || I !== o.options || b !== o.menuIsOpen || g !== o.inputValue)) {
4004
- var y = b ? eo(n, v) : [], V = b ? an(Ne(n, v), "".concat(f, "-option")) : [], x = c ? to(u, v) : null, C = no(u, y), B = at(V, C);
4005
- h = {
4006
- selectValue: v,
4007
- focusedOption: C,
4008
- focusedOptionId: B,
4009
- focusableOptionsWithIds: V,
4010
- focusedValue: x,
4011
- clearFocusValueOnUpdate: !1
4012
- };
4013
- }
4014
- var X = a != null && n !== o ? {
4015
- inputIsHidden: a,
4016
- inputIsHiddenAfterUpdate: void 0
4017
- } : {}, M = s, D = l && d;
4018
- return l && !D && (M = {
4019
- value: Pe(p, v, v[0] || null),
4020
- options: v,
4021
- action: "initial-input-focus"
4022
- }, D = !d), s?.action === "initial-input-focus" && (M = null), G(G(G({}, h), X), {}, {
4023
- prevProps: n,
4024
- ariaSelection: M,
4025
- prevWasFocused: D
4026
- });
4027
- }
4028
- }]), i;
4029
- })(fa);
4030
- Kn.defaultProps = qa;
4031
- const qn = await k("react"), { forwardRef: ro, useMemo: uo } = await k("react");
4032
- var ao = /* @__PURE__ */ ro(function(t, e) {
4033
- var i = di(t);
4034
- return /* @__PURE__ */ qn.createElement(Kn, E({
4035
- ref: e
4036
- }, i));
4037
- }), lo = ao, go = (function(t) {
4038
- var e = t.nonce, i = t.children, r = t.cacheKey, n = uo(function() {
4039
- return vn({
4040
- key: r,
4041
- nonce: e
4042
- });
4043
- }, [r, e]);
4044
- return /* @__PURE__ */ qn.createElement(cr, {
4045
- value: n
4046
- }, i);
4047
- });
4048
- export {
4049
- go as NonceProvider,
4050
- la as components,
4051
- Ea as createFilter,
4052
- lo as default,
4053
- ut as defaultTheme,
4054
- co as mergeStyles,
4055
- di as useStateManager
4056
- };