@servicetitan/anvil2 1.2.4 → 1.2.6

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 (300) hide show
  1. package/{Alert-6faa0b05.js → Alert-9a5ff517.js} +28 -27
  2. package/Alert-9a5ff517.js.map +1 -0
  3. package/Alert-df710e2c.cjs +2 -0
  4. package/Alert-df710e2c.cjs.map +1 -0
  5. package/Alert.cjs +1 -1
  6. package/Alert.js +1 -1
  7. package/{Announcement-d04009ea.js → Announcement-115eb041.js} +18 -17
  8. package/Announcement-115eb041.js.map +1 -0
  9. package/Announcement-4c075fdb.cjs +2 -0
  10. package/Announcement-4c075fdb.cjs.map +1 -0
  11. package/Announcement.cjs +1 -1
  12. package/Announcement.js +1 -1
  13. package/Avatar.cjs +1 -1
  14. package/Avatar.js +1 -1
  15. package/Badge-b8764640.cjs +2 -0
  16. package/Badge-b8764640.cjs.map +1 -0
  17. package/Badge-df96f15a.js +45 -0
  18. package/Badge-df96f15a.js.map +1 -0
  19. package/Badge.cjs +1 -1
  20. package/Badge.js +1 -1
  21. package/Button-04337e26.cjs +2 -0
  22. package/Button-04337e26.cjs.map +1 -0
  23. package/{Button-d05507c5.js → Button-45864cc0.js} +72 -72
  24. package/Button-45864cc0.js.map +1 -0
  25. package/Button.cjs +1 -1
  26. package/Button.js +27 -27
  27. package/ButtonCompound.cjs +1 -1
  28. package/ButtonCompound.js +27 -27
  29. package/ButtonLink.cjs +1 -1
  30. package/ButtonLink.js +27 -27
  31. package/ButtonToggle.cjs +1 -1
  32. package/ButtonToggle.js +27 -27
  33. package/{Calendar-706f41ff.cjs → Calendar-06ced77e.cjs} +2 -2
  34. package/{Calendar-706f41ff.cjs.map → Calendar-06ced77e.cjs.map} +1 -1
  35. package/{Calendar-073dc10d.js → Calendar-c8bc215f.js} +84 -78
  36. package/{Calendar-073dc10d.js.map → Calendar-c8bc215f.js.map} +1 -1
  37. package/Calendar.cjs +1 -1
  38. package/Calendar.js +1 -1
  39. package/{Card-92ebca1f.cjs → Card-20628287.cjs} +2 -2
  40. package/{Card-92ebca1f.cjs.map → Card-20628287.cjs.map} +1 -1
  41. package/{Card-33f3ad0a.js → Card-bb358803.js} +6 -6
  42. package/{Card-33f3ad0a.js.map → Card-bb358803.js.map} +1 -1
  43. package/Card.cjs +1 -1
  44. package/Card.js +1 -1
  45. package/{Checkbox-d503c3b6.js → Checkbox-3de9628c.js} +24 -24
  46. package/Checkbox-3de9628c.js.map +1 -0
  47. package/Checkbox-d325d851.cjs +2 -0
  48. package/Checkbox-d325d851.cjs.map +1 -0
  49. package/Checkbox.cjs +1 -1
  50. package/Checkbox.js +1 -1
  51. package/{Chip-b52e1bd7.cjs → Chip-95370241.cjs} +2 -2
  52. package/{Chip-b52e1bd7.cjs.map → Chip-95370241.cjs.map} +1 -1
  53. package/{Chip-a8eb2656.js → Chip-c0f71a26.js} +15 -15
  54. package/Chip-c0f71a26.js.map +1 -0
  55. package/Chip.cjs +1 -1
  56. package/Chip.js +1 -1
  57. package/Combobox.cjs +1 -1
  58. package/Combobox.js +27 -27
  59. package/Details.cjs +1 -1
  60. package/Details.js +27 -27
  61. package/Dialog.cjs +1 -1
  62. package/Dialog.js +27 -27
  63. package/{Divider-86c1f4ea.cjs → Divider-cdc54ec4.cjs} +2 -2
  64. package/{Divider-86c1f4ea.cjs.map → Divider-cdc54ec4.cjs.map} +1 -1
  65. package/{Divider-edca965e.js → Divider-e5d4cede.js} +6 -6
  66. package/{Divider-edca965e.js.map → Divider-e5d4cede.js.map} +1 -1
  67. package/Divider.cjs +1 -1
  68. package/Divider.js +1 -1
  69. package/{Drawer-f68286e8.js → Drawer-d34989aa.js} +67 -48
  70. package/Drawer-d34989aa.js.map +1 -0
  71. package/Drawer-ec654d43.cjs +2 -0
  72. package/Drawer-ec654d43.cjs.map +1 -0
  73. package/Drawer.cjs +1 -1
  74. package/Drawer.js +1 -1
  75. package/{Flex-4b128a0e.cjs → Flex-971b5295.cjs} +2 -2
  76. package/{Flex-4b128a0e.cjs.map → Flex-971b5295.cjs.map} +1 -1
  77. package/{Flex-f6e67921.js → Flex-d338e855.js} +2 -2
  78. package/{Flex-f6e67921.js.map → Flex-d338e855.js.map} +1 -1
  79. package/Flex.cjs +1 -1
  80. package/Flex.js +1 -1
  81. package/{Grid-8226f7a1.cjs → Grid-37ded954.cjs} +2 -2
  82. package/{Grid-8226f7a1.cjs.map → Grid-37ded954.cjs.map} +1 -1
  83. package/{Grid-992de375.js → Grid-5bad450f.js} +4 -4
  84. package/{Grid-992de375.js.map → Grid-5bad450f.js.map} +1 -1
  85. package/Grid.cjs +1 -1
  86. package/Grid.js +1 -1
  87. package/{Helper-74a1f07f-6cf9865b.cjs → Helper-74a1f07f-30e4fd46.cjs} +2 -2
  88. package/{Helper-74a1f07f-6cf9865b.cjs.map → Helper-74a1f07f-30e4fd46.cjs.map} +1 -1
  89. package/{Helper-74a1f07f-067ae3f7.js → Helper-74a1f07f-60547798.js} +3 -3
  90. package/{Helper-74a1f07f-067ae3f7.js.map → Helper-74a1f07f-60547798.js.map} +1 -1
  91. package/{Icon-ae9b951b.cjs → Icon-43ce0e6c.cjs} +2 -2
  92. package/{Icon-ae9b951b.cjs.map → Icon-43ce0e6c.cjs.map} +1 -1
  93. package/{Icon-fa8f3dc8.js → Icon-b443eea4.js} +8 -8
  94. package/Icon-b443eea4.js.map +1 -0
  95. package/Icon.cjs +1 -1
  96. package/Icon.js +1 -1
  97. package/Link.cjs +1 -1
  98. package/Link.js +27 -27
  99. package/ListView-43bbc290.cjs +2 -0
  100. package/ListView-43bbc290.cjs.map +1 -0
  101. package/{ListView-1f75e2de.js → ListView-482c54ad.js} +100 -100
  102. package/ListView-482c54ad.js.map +1 -0
  103. package/ListView.cjs +1 -1
  104. package/ListView.js +1 -1
  105. package/Listbox-8c610bf2.cjs +2 -0
  106. package/Listbox-8c610bf2.cjs.map +1 -0
  107. package/{Listbox-cdf02568.js → Listbox-b110c64d.js} +68 -68
  108. package/Listbox-b110c64d.js.map +1 -0
  109. package/Listbox.cjs +1 -1
  110. package/Listbox.js +1 -1
  111. package/Menu.cjs +1 -1
  112. package/Menu.js +1 -1
  113. package/Overflow.cjs +1 -1
  114. package/Overflow.js +27 -27
  115. package/Popover.cjs +1 -1
  116. package/Popover.js +39 -39
  117. package/{ProgressBar-5f350a3f.js → ProgressBar-91240dab.js} +94 -92
  118. package/ProgressBar-91240dab.js.map +1 -0
  119. package/ProgressBar-b25b2493.cjs +2 -0
  120. package/ProgressBar-b25b2493.cjs.map +1 -0
  121. package/ProgressBar.cjs +1 -1
  122. package/ProgressBar.js +1 -1
  123. package/{Radio-4189b000.js → Radio-a747c89a.js} +13 -13
  124. package/Radio-a747c89a.js.map +1 -0
  125. package/Radio-ed00ea9d.cjs +2 -0
  126. package/Radio-ed00ea9d.cjs.map +1 -0
  127. package/Radio.cjs +1 -1
  128. package/Radio.js +1 -1
  129. package/{SideNav-e92d850f.js → SideNav-b5ef91d4.js} +118 -118
  130. package/SideNav-b5ef91d4.js.map +1 -0
  131. package/{SideNav-6de704fd.cjs → SideNav-dbcdf7cb.cjs} +6 -6
  132. package/SideNav-dbcdf7cb.cjs.map +1 -0
  133. package/SideNav.cjs +1 -1
  134. package/SideNav.js +1 -1
  135. package/{SrOnly-0c13a721.js → SrOnly-864bd4cb.js} +3 -3
  136. package/SrOnly-864bd4cb.js.map +1 -0
  137. package/SrOnly-88e8fca6.cjs +2 -0
  138. package/SrOnly-88e8fca6.cjs.map +1 -0
  139. package/SrOnly.cjs +1 -1
  140. package/SrOnly.js +1 -1
  141. package/Stepper-24609fae.cjs +2 -0
  142. package/Stepper-24609fae.cjs.map +1 -0
  143. package/{Stepper-fa554908.js → Stepper-af4bf5a4.js} +109 -109
  144. package/Stepper-af4bf5a4.js.map +1 -0
  145. package/Stepper.cjs +1 -1
  146. package/Stepper.js +1 -1
  147. package/{Switch-b0a37fc1.js → Switch-39010760.js} +21 -21
  148. package/{Switch-b0a37fc1.js.map → Switch-39010760.js.map} +1 -1
  149. package/Switch-c0bea091.cjs +2 -0
  150. package/{Switch-285b3272.cjs.map → Switch-c0bea091.cjs.map} +1 -1
  151. package/Switch.cjs +1 -1
  152. package/Switch.js +1 -1
  153. package/Tab-0bcbe9c7.cjs +10 -0
  154. package/Tab-0bcbe9c7.cjs.map +1 -0
  155. package/Tab-f636d6c5.js +422 -0
  156. package/Tab-f636d6c5.js.map +1 -0
  157. package/Tab.cjs +1 -1
  158. package/Tab.js +1 -1
  159. package/{Text-4c30916c.js → Text-465104f6.js} +46 -46
  160. package/Text-465104f6.js.map +1 -0
  161. package/Text-631c229a.cjs +2 -0
  162. package/Text-631c229a.cjs.map +1 -0
  163. package/Text.cjs +1 -1
  164. package/Text.js +1 -1
  165. package/TextField.cjs +1 -1
  166. package/TextField.js +27 -27
  167. package/Textarea.cjs +1 -1
  168. package/Textarea.js +27 -27
  169. package/{Toast-f15e9d36.js → Toast-70eeeb27.js} +90 -74
  170. package/Toast-70eeeb27.js.map +1 -0
  171. package/{Toast-834c85cd.cjs → Toast-f681677a.cjs} +5 -5
  172. package/Toast-f681677a.cjs.map +1 -0
  173. package/Toast.cjs +1 -1
  174. package/Toast.js +1 -1
  175. package/Tooltip.cjs +1 -1
  176. package/Tooltip.js +29 -29
  177. package/anvil2.cjs +1 -1
  178. package/anvil2.js +27 -27
  179. package/assets/icons/st/batch.svg +1 -1
  180. package/assets/icons/st/call.svg +1 -1
  181. package/assets/icons/st/call_inbound.svg +1 -1
  182. package/assets/icons/st/call_outbound.svg +1 -1
  183. package/assets/icons/st/customer.svg +1 -1
  184. package/assets/icons/st/equipment.svg +1 -1
  185. package/assets/icons/st/estimate.svg +1 -1
  186. package/assets/icons/st/form.svg +1 -1
  187. package/assets/icons/st/invoice.svg +1 -1
  188. package/assets/icons/st/job.svg +1 -1
  189. package/assets/icons/st/local_settings.svg +1 -1
  190. package/assets/icons/st/location.svg +1 -1
  191. package/assets/icons/st/memberships.svg +1 -1
  192. package/assets/icons/st/payment.svg +1 -1
  193. package/assets/icons/st/pro_tip.svg +1 -1
  194. package/assets/icons/st/project.svg +1 -1
  195. package/assets/icons/st/proposal.svg +1 -1
  196. package/assets/icons/st/purchase_order.svg +1 -1
  197. package/assets/icons/st/service_agreements.svg +1 -1
  198. package/assets/icons/st/sms.svg +1 -1
  199. package/assets/icons/st/text_inbound.svg +1 -1
  200. package/assets/icons/st/text_outbound.svg +1 -1
  201. package/assets/icons/st/upsell.svg +1 -1
  202. package/assets/icons/st/virtual_agent.svg +1 -1
  203. package/assets/icons/st/web_chat.svg +1 -1
  204. package/{index-dfb6272f.cjs → index-96006246.cjs} +5 -5
  205. package/{index-dfb6272f.cjs.map → index-96006246.cjs.map} +1 -1
  206. package/index-afacb017-461bfee6.cjs +2 -0
  207. package/index-afacb017-461bfee6.cjs.map +1 -0
  208. package/{index-098ca719-3c14c40c.js → index-afacb017-9c38f9e0.js} +65 -62
  209. package/index-afacb017-9c38f9e0.js.map +1 -0
  210. package/{index-8ee9499c.js → index-d1828774.js} +833 -771
  211. package/{index-8ee9499c.js.map → index-d1828774.js.map} +1 -1
  212. package/index-f91265d9-04a0345c.cjs +2 -0
  213. package/index-f91265d9-04a0345c.cjs.map +1 -0
  214. package/index-f91265d9-3d747651.js +121 -0
  215. package/index-f91265d9-3d747651.js.map +1 -0
  216. package/{motion-9462a11a.js → motion-a0a946d6.js} +1696 -1638
  217. package/motion-a0a946d6.js.map +1 -0
  218. package/motion-dae3950e.cjs +2 -0
  219. package/motion-dae3950e.cjs.map +1 -0
  220. package/package.json +3 -4
  221. package/use-reduced-motion-a766a46b.cjs +2 -0
  222. package/use-reduced-motion-a766a46b.cjs.map +1 -0
  223. package/{use-reduced-motion-fa02c531.js → use-reduced-motion-b359504d.js} +11 -11
  224. package/use-reduced-motion-b359504d.js.map +1 -0
  225. package/useAccessibleColor.cjs +1 -1
  226. package/useAccessibleColor.js +27 -27
  227. package/useLinkStyles.cjs +1 -1
  228. package/useLinkStyles.js +27 -27
  229. package/useMergeRefs.cjs +1 -1
  230. package/useMergeRefs.js +27 -27
  231. package/usePrefersColorScheme.cjs +1 -1
  232. package/usePrefersColorScheme.js +27 -27
  233. package/useSwipe.cjs +1 -1
  234. package/useSwipe.js +27 -27
  235. package/Alert-6336e146.cjs +0 -2
  236. package/Alert-6336e146.cjs.map +0 -1
  237. package/Alert-6faa0b05.js.map +0 -1
  238. package/Announcement-d04009ea.js.map +0 -1
  239. package/Announcement-fff87b68.cjs +0 -2
  240. package/Announcement-fff87b68.cjs.map +0 -1
  241. package/Badge-0073b5a1.cjs +0 -2
  242. package/Badge-0073b5a1.cjs.map +0 -1
  243. package/Badge-f761458c.js +0 -35
  244. package/Badge-f761458c.js.map +0 -1
  245. package/Button-268ba8a9.cjs +0 -2
  246. package/Button-268ba8a9.cjs.map +0 -1
  247. package/Button-d05507c5.js.map +0 -1
  248. package/Checkbox-d503c3b6.js.map +0 -1
  249. package/Checkbox-edf070c3.cjs +0 -2
  250. package/Checkbox-edf070c3.cjs.map +0 -1
  251. package/Chip-a8eb2656.js.map +0 -1
  252. package/Drawer-6c2a6e0c.cjs +0 -2
  253. package/Drawer-6c2a6e0c.cjs.map +0 -1
  254. package/Drawer-f68286e8.js.map +0 -1
  255. package/Icon-fa8f3dc8.js.map +0 -1
  256. package/ListView-14d80585.cjs +0 -2
  257. package/ListView-14d80585.cjs.map +0 -1
  258. package/ListView-1f75e2de.js.map +0 -1
  259. package/Listbox-306a8d62.cjs +0 -2
  260. package/Listbox-306a8d62.cjs.map +0 -1
  261. package/Listbox-cdf02568.js.map +0 -1
  262. package/ProgressBar-29d21945.cjs +0 -2
  263. package/ProgressBar-29d21945.cjs.map +0 -1
  264. package/ProgressBar-5f350a3f.js.map +0 -1
  265. package/Radio-4189b000.js.map +0 -1
  266. package/Radio-abd4d3fd.cjs +0 -2
  267. package/Radio-abd4d3fd.cjs.map +0 -1
  268. package/SideNav-6de704fd.cjs.map +0 -1
  269. package/SideNav-e92d850f.js.map +0 -1
  270. package/SrOnly-0c13a721.js.map +0 -1
  271. package/SrOnly-ecf7240b.cjs +0 -2
  272. package/SrOnly-ecf7240b.cjs.map +0 -1
  273. package/Stepper-e776cc28.cjs +0 -2
  274. package/Stepper-e776cc28.cjs.map +0 -1
  275. package/Stepper-fa554908.js.map +0 -1
  276. package/Switch-285b3272.cjs +0 -2
  277. package/Tab-1934a4ca.js +0 -448
  278. package/Tab-1934a4ca.js.map +0 -1
  279. package/Tab-ad70a0a5.cjs +0 -10
  280. package/Tab-ad70a0a5.cjs.map +0 -1
  281. package/Text-4c30916c.js.map +0 -1
  282. package/Text-ed02cc62.cjs +0 -2
  283. package/Text-ed02cc62.cjs.map +0 -1
  284. package/Toast-834c85cd.cjs.map +0 -1
  285. package/Toast-f15e9d36.js.map +0 -1
  286. package/index-098ca719-3c14c40c.js.map +0 -1
  287. package/index-098ca719-8e068129.cjs +0 -2
  288. package/index-098ca719-8e068129.cjs.map +0 -1
  289. package/index-da56edbc-372336bd.js +0 -120
  290. package/index-da56edbc-372336bd.js.map +0 -1
  291. package/index-da56edbc-53f59f54.cjs +0 -2
  292. package/index-da56edbc-53f59f54.cjs.map +0 -1
  293. package/motion-9462a11a.js.map +0 -1
  294. package/motion-ee26ec15.cjs +0 -2
  295. package/motion-ee26ec15.cjs.map +0 -1
  296. package/use-reduced-motion-00575ab2.cjs +0 -2
  297. package/use-reduced-motion-00575ab2.cjs.map +0 -1
  298. package/use-reduced-motion-fa02c531.js.map +0 -1
  299. /package/{index-098ca719.css → index-afacb017.css} +0 -0
  300. /package/{index-da56edbc.css → index-f91265d9.css} +0 -0
@@ -1,34 +1,34 @@
1
1
  import "./index3.css";
2
- import "./Alert-6faa0b05.js";
3
- import "./Announcement-d04009ea.js";
4
- import "./index-da56edbc-372336bd.js";
5
- import "./Badge-f761458c.js";
6
- import { k as qe, l as Vr } from "./Button-d05507c5.js";
7
- import "./Calendar-073dc10d.js";
8
- import "./Card-33f3ad0a.js";
9
- import { r as Ar } from "./Checkbox-d503c3b6.js";
10
- import { $ as an } from "./Chip-a8eb2656.js";
11
- import "./Divider-edca965e.js";
12
- import { a as Hr } from "./Drawer-f68286e8.js";
13
- import { j as vt } from "./Flex-f6e67921.js";
14
- import "./Grid-992de375.js";
15
- import { I as xt } from "./Icon-fa8f3dc8.js";
16
- import { j as bt } from "./ProgressBar-5f350a3f.js";
17
- import { i as kn } from "./Listbox-cdf02568.js";
18
- import { t as _t } from "./ListView-1f75e2de.js";
19
- import "./index-098ca719-3c14c40c.js";
20
- import "./Radio-4189b000.js";
21
- import { P as y, _ as $, b as ve, a as jr } from "./SideNav-e92d850f.js";
22
- import { p as Mn } from "./SrOnly-0c13a721.js";
2
+ import "./Alert-9a5ff517.js";
3
+ import "./Announcement-115eb041.js";
4
+ import "./index-f91265d9-3d747651.js";
5
+ import "./Badge-df96f15a.js";
6
+ import { k as qe, l as Vr } from "./Button-45864cc0.js";
7
+ import "./Calendar-c8bc215f.js";
8
+ import "./Card-bb358803.js";
9
+ import { r as Ar } from "./Checkbox-3de9628c.js";
10
+ import { $ as ln } from "./Chip-c0f71a26.js";
11
+ import "./Divider-e5d4cede.js";
12
+ import { a as Hr } from "./Drawer-d34989aa.js";
13
+ import { j as vt } from "./Flex-d338e855.js";
14
+ import "./Grid-5bad450f.js";
15
+ import { C as xt } from "./Icon-b443eea4.js";
16
+ import { j as bt } from "./ProgressBar-91240dab.js";
17
+ import { i as kn } from "./Listbox-b110c64d.js";
18
+ import { t as _t } from "./ListView-482c54ad.js";
19
+ import "./index-afacb017-9c38f9e0.js";
20
+ import "./Radio-a747c89a.js";
21
+ import { P as y, _ as $, b as ve, a as jr } from "./SideNav-b5ef91d4.js";
22
+ import { p as Mn } from "./SrOnly-864bd4cb.js";
23
23
  import { f as v } from "./jsx-runtime-944c88e2-e73fa629.js";
24
24
  import { c as se } from "./index-e0f6271a.js";
25
- import "./Stepper-fa554908.js";
26
- import "./Switch-b0a37fc1.js";
27
- import "./Tab-1934a4ca.js";
28
- import { E as Tn } from "./Text-4c30916c.js";
29
- import "./Toast-f15e9d36.js";
25
+ import "./Stepper-af4bf5a4.js";
26
+ import "./Switch-39010760.js";
27
+ import "./Tab-f636d6c5.js";
28
+ import { $ as Tn } from "./Text-465104f6.js";
29
+ import "./Toast-70eeeb27.js";
30
30
  import "./index-06c0bdf0.js";
31
- import { J as Se } from "./useLayoutPropsUtil-e307abc7-cbe2fb6d.js";
31
+ import { J as Oe } from "./useLayoutPropsUtil-e307abc7-cbe2fb6d.js";
32
32
  import { U as Kr, T as $r } from "./index-d46fa8de-8695742b.js";
33
33
  import "./usePrefersColorScheme-129544ad-cab6fc3f.js";
34
34
  import * as _e from "react";
@@ -36,10 +36,10 @@ import st, { useRef as Q, useCallback as ee, useEffect as de, useMemo as Te, clo
36
36
  import "./index-439b5871.js";
37
37
  import "./LocalizationProvider.js";
38
38
  import { u as Be, v as Ur, w as zr, z as Wr, e as qr, h as Yr, o as Gr, g as Xr, f as Jr, s as Qr, l as Zr, B as eo, k as to, i as no, j as ro, n as oo, m as io, r as so } from "./floating-ui.react-8d61182d.js";
39
- import { g as lo } from "./_commonjsHelpers-c5d32002.js";
39
+ import { g as ao } from "./_commonjsHelpers-c5d32002.js";
40
40
  import { a as Vn } from "./close-064c8acc-7e0b4df7.js";
41
- import { a as ao } from "./check-5f087ea0-b5474547.js";
42
- import { v as Et } from "./Helper-74a1f07f-067ae3f7.js";
41
+ import { a as lo } from "./check-5f087ea0-b5474547.js";
42
+ import { v as Et } from "./Helper-74a1f07f-60547798.js";
43
43
  /* empty css */import "./useSwipe-82769b09-835234e6.js";
44
44
  function un(e) {
45
45
  if (e === void 0)
@@ -61,23 +61,23 @@ function uo() {
61
61
  if (dn)
62
62
  return G;
63
63
  dn = 1;
64
- var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), x;
64
+ var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), x;
65
65
  x = Symbol.for("react.module.reference");
66
- function S(g) {
66
+ function O(g) {
67
67
  if (typeof g == "object" && g !== null) {
68
- var D = g.$$typeof;
69
- switch (D) {
68
+ var N = g.$$typeof;
69
+ switch (N) {
70
70
  case e:
71
71
  switch (g = g.type, g) {
72
72
  case r:
73
73
  case o:
74
74
  case i:
75
75
  case u:
76
- case l:
76
+ case a:
77
77
  return g;
78
78
  default:
79
79
  switch (g = g && g.$$typeof, g) {
80
- case a:
80
+ case l:
81
81
  case s:
82
82
  case d:
83
83
  case b:
@@ -85,45 +85,45 @@ function uo() {
85
85
  case t:
86
86
  return g;
87
87
  default:
88
- return D;
88
+ return N;
89
89
  }
90
90
  }
91
91
  case n:
92
- return D;
92
+ return N;
93
93
  }
94
94
  }
95
95
  }
96
- return G.ContextConsumer = s, G.ContextProvider = t, G.Element = e, G.ForwardRef = d, G.Fragment = r, G.Lazy = b, G.Memo = h, G.Portal = n, G.Profiler = o, G.StrictMode = i, G.Suspense = u, G.SuspenseList = l, G.isAsyncMode = function() {
96
+ return G.ContextConsumer = s, G.ContextProvider = t, G.Element = e, G.ForwardRef = d, G.Fragment = r, G.Lazy = b, G.Memo = h, G.Portal = n, G.Profiler = o, G.StrictMode = i, G.Suspense = u, G.SuspenseList = a, G.isAsyncMode = function() {
97
97
  return !1;
98
98
  }, G.isConcurrentMode = function() {
99
99
  return !1;
100
100
  }, G.isContextConsumer = function(g) {
101
- return S(g) === s;
101
+ return O(g) === s;
102
102
  }, G.isContextProvider = function(g) {
103
- return S(g) === t;
103
+ return O(g) === t;
104
104
  }, G.isElement = function(g) {
105
105
  return typeof g == "object" && g !== null && g.$$typeof === e;
106
106
  }, G.isForwardRef = function(g) {
107
- return S(g) === d;
107
+ return O(g) === d;
108
108
  }, G.isFragment = function(g) {
109
- return S(g) === r;
109
+ return O(g) === r;
110
110
  }, G.isLazy = function(g) {
111
- return S(g) === b;
111
+ return O(g) === b;
112
112
  }, G.isMemo = function(g) {
113
- return S(g) === h;
113
+ return O(g) === h;
114
114
  }, G.isPortal = function(g) {
115
- return S(g) === n;
115
+ return O(g) === n;
116
116
  }, G.isProfiler = function(g) {
117
- return S(g) === o;
117
+ return O(g) === o;
118
118
  }, G.isStrictMode = function(g) {
119
- return S(g) === i;
119
+ return O(g) === i;
120
120
  }, G.isSuspense = function(g) {
121
- return S(g) === u;
121
+ return O(g) === u;
122
122
  }, G.isSuspenseList = function(g) {
123
- return S(g) === l;
123
+ return O(g) === a;
124
124
  }, G.isValidElementType = function(g) {
125
- return typeof g == "string" || typeof g == "function" || g === r || g === o || g === i || g === u || g === l || g === _ || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof === h || g.$$typeof === t || g.$$typeof === s || g.$$typeof === d || g.$$typeof === x || g.getModuleId !== void 0);
126
- }, G.typeOf = S, G;
125
+ return typeof g == "string" || typeof g == "function" || g === r || g === o || g === i || g === u || g === a || g === _ || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof === h || g.$$typeof === t || g.$$typeof === s || g.$$typeof === d || g.$$typeof === x || g.getModuleId !== void 0);
126
+ }, G.typeOf = O, G;
127
127
  }
128
128
  var X = {};
129
129
  /**
@@ -138,10 +138,10 @@ var X = {};
138
138
  var cn;
139
139
  function co() {
140
140
  return cn || (cn = 1, process.env.NODE_ENV !== "production" && function() {
141
- var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), x = !1, S = !1, g = !1, D = !1, c = !1, f;
141
+ var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), x = !1, O = !1, g = !1, N = !1, c = !1, f;
142
142
  f = Symbol.for("react.module.reference");
143
143
  function p(C) {
144
- return !!(typeof C == "string" || typeof C == "function" || C === r || C === o || c || C === i || C === u || C === l || D || C === _ || x || S || g || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === h || C.$$typeof === t || C.$$typeof === s || C.$$typeof === d || // This needs to include all possible module reference object
144
+ return !!(typeof C == "string" || typeof C == "function" || C === r || C === o || c || C === i || C === u || C === a || N || C === _ || x || O || g || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === h || C.$$typeof === t || C.$$typeof === s || C.$$typeof === d || // This needs to include all possible module reference object
145
145
  // types supported by any Flight configuration anywhere since
146
146
  // we don't know which Flight build this will end up being used
147
147
  // with.
@@ -158,12 +158,12 @@ function co() {
158
158
  case o:
159
159
  case i:
160
160
  case u:
161
- case l:
161
+ case a:
162
162
  return ie;
163
163
  default:
164
164
  var Ae = ie && ie.$$typeof;
165
165
  switch (Ae) {
166
- case a:
166
+ case l:
167
167
  case s:
168
168
  case d:
169
169
  case b:
@@ -179,7 +179,7 @@ function co() {
179
179
  }
180
180
  }
181
181
  }
182
- var m = s, N = t, E = e, k = d, M = r, O = b, P = h, V = n, R = o, F = i, L = u, K = l, U = !1, Z = !1;
182
+ var m = s, D = t, E = e, k = d, M = r, S = b, P = h, V = n, R = o, F = i, L = u, K = a, U = !1, Z = !1;
183
183
  function j(C) {
184
184
  return U || (U = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
185
185
  }
@@ -213,16 +213,16 @@ function co() {
213
213
  function B(C) {
214
214
  return I(C) === o;
215
215
  }
216
- function le(C) {
216
+ function ae(C) {
217
217
  return I(C) === i;
218
218
  }
219
- function ae(C) {
219
+ function le(C) {
220
220
  return I(C) === u;
221
221
  }
222
222
  function ue(C) {
223
- return I(C) === l;
223
+ return I(C) === a;
224
224
  }
225
- X.ContextConsumer = m, X.ContextProvider = N, X.Element = E, X.ForwardRef = k, X.Fragment = M, X.Lazy = O, X.Memo = P, X.Portal = V, X.Profiler = R, X.StrictMode = F, X.Suspense = L, X.SuspenseList = K, X.isAsyncMode = j, X.isConcurrentMode = W, X.isContextConsumer = Y, X.isContextProvider = oe, X.isElement = T, X.isForwardRef = A, X.isFragment = w, X.isLazy = H, X.isMemo = z, X.isPortal = q, X.isProfiler = B, X.isStrictMode = le, X.isSuspense = ae, X.isSuspenseList = ue, X.isValidElementType = p, X.typeOf = I;
225
+ X.ContextConsumer = m, X.ContextProvider = D, X.Element = E, X.ForwardRef = k, X.Fragment = M, X.Lazy = S, X.Memo = P, X.Portal = V, X.Profiler = R, X.StrictMode = F, X.Suspense = L, X.SuspenseList = K, X.isAsyncMode = j, X.isConcurrentMode = W, X.isContextConsumer = Y, X.isContextProvider = oe, X.isElement = T, X.isForwardRef = A, X.isFragment = w, X.isLazy = H, X.isMemo = z, X.isPortal = q, X.isProfiler = B, X.isStrictMode = ae, X.isSuspense = le, X.isSuspenseList = ue, X.isValidElementType = p, X.typeOf = I;
226
226
  }()), X;
227
227
  }
228
228
  process.env.NODE_ENV === "production" ? It.exports = uo() : It.exports = co();
@@ -244,14 +244,14 @@ const fn = (e) => typeof e == "object" && e != null && e.nodeType === 1, hn = (e
244
244
  })(e);
245
245
  }
246
246
  return !1;
247
- }, nt = (e, n, r, i, o, t, s, a) => t < e && s > n || t > e && s < n ? 0 : t <= e && a <= r || s >= n && a >= r ? t - e - i : s > n && a < r || t < e && a > r ? s - n + o : 0, po = (e) => {
247
+ }, nt = (e, n, r, i, o, t, s, l) => t < e && s > n || t > e && s < n ? 0 : t <= e && l <= r || s >= n && l >= r ? t - e - i : s > n && l < r || t < e && l > r ? s - n + o : 0, po = (e) => {
248
248
  const n = e.parentElement;
249
249
  return n ?? (e.getRootNode().host || null);
250
250
  }, fo = (e, n) => {
251
251
  var r, i, o, t;
252
252
  if (typeof document > "u")
253
253
  return [];
254
- const { scrollMode: s, block: a, inline: d, boundary: u, skipOverflowHiddenElements: l } = n, h = typeof u == "function" ? u : (L) => L !== u;
254
+ const { scrollMode: s, block: l, inline: d, boundary: u, skipOverflowHiddenElements: a } = n, h = typeof u == "function" ? u : (L) => L !== u;
255
255
  if (!fn(e))
256
256
  throw new TypeError("Invalid target");
257
257
  const b = document.scrollingElement || document.documentElement, _ = [];
@@ -261,27 +261,27 @@ const fn = (e) => typeof e == "object" && e != null && e.nodeType === 1, hn = (e
261
261
  _.push(x);
262
262
  break;
263
263
  }
264
- x != null && x === document.body && gt(x) && !gt(document.documentElement) || x != null && gt(x, l) && _.push(x);
264
+ x != null && x === document.body && gt(x) && !gt(document.documentElement) || x != null && gt(x, a) && _.push(x);
265
265
  }
266
- const S = (i = (r = window.visualViewport) == null ? void 0 : r.width) != null ? i : innerWidth, g = (t = (o = window.visualViewport) == null ? void 0 : o.height) != null ? t : innerHeight, { scrollX: D, scrollY: c } = window, { height: f, width: p, top: I, right: m, bottom: N, left: E } = e.getBoundingClientRect(), { top: k, right: M, bottom: O, left: P } = ((L) => {
266
+ const O = (i = (r = window.visualViewport) == null ? void 0 : r.width) != null ? i : innerWidth, g = (t = (o = window.visualViewport) == null ? void 0 : o.height) != null ? t : innerHeight, { scrollX: N, scrollY: c } = window, { height: f, width: p, top: I, right: m, bottom: D, left: E } = e.getBoundingClientRect(), { top: k, right: M, bottom: S, left: P } = ((L) => {
267
267
  const K = window.getComputedStyle(L);
268
268
  return { top: parseFloat(K.scrollMarginTop) || 0, right: parseFloat(K.scrollMarginRight) || 0, bottom: parseFloat(K.scrollMarginBottom) || 0, left: parseFloat(K.scrollMarginLeft) || 0 };
269
269
  })(e);
270
- let V = a === "start" || a === "nearest" ? I - k : a === "end" ? N + O : I + f / 2 - k + O, R = d === "center" ? E + p / 2 - P + M : d === "end" ? m + M : E - P;
270
+ let V = l === "start" || l === "nearest" ? I - k : l === "end" ? D + S : I + f / 2 - k + S, R = d === "center" ? E + p / 2 - P + M : d === "end" ? m + M : E - P;
271
271
  const F = [];
272
272
  for (let L = 0; L < _.length; L++) {
273
273
  const K = _[L], { height: U, width: Z, top: j, right: W, bottom: Y, left: oe } = K.getBoundingClientRect();
274
- if (s === "if-needed" && I >= 0 && E >= 0 && N <= g && m <= S && I >= j && N <= Y && E >= oe && m <= W)
274
+ if (s === "if-needed" && I >= 0 && E >= 0 && D <= g && m <= O && I >= j && D <= Y && E >= oe && m <= W)
275
275
  return F;
276
276
  const T = getComputedStyle(K), A = parseInt(T.borderLeftWidth, 10), w = parseInt(T.borderTopWidth, 10), H = parseInt(T.borderRightWidth, 10), z = parseInt(T.borderBottomWidth, 10);
277
277
  let q = 0, B = 0;
278
- const le = "offsetWidth" in K ? K.offsetWidth - K.clientWidth - A - H : 0, ae = "offsetHeight" in K ? K.offsetHeight - K.clientHeight - w - z : 0, ue = "offsetWidth" in K ? K.offsetWidth === 0 ? 0 : Z / K.offsetWidth : 0, C = "offsetHeight" in K ? K.offsetHeight === 0 ? 0 : U / K.offsetHeight : 0;
278
+ const ae = "offsetWidth" in K ? K.offsetWidth - K.clientWidth - A - H : 0, le = "offsetHeight" in K ? K.offsetHeight - K.clientHeight - w - z : 0, ue = "offsetWidth" in K ? K.offsetWidth === 0 ? 0 : Z / K.offsetWidth : 0, C = "offsetHeight" in K ? K.offsetHeight === 0 ? 0 : U / K.offsetHeight : 0;
279
279
  if (b === K)
280
- q = a === "start" ? V : a === "end" ? V - g : a === "nearest" ? nt(c, c + g, g, w, z, c + V, c + V + f, f) : V - g / 2, B = d === "start" ? R : d === "center" ? R - S / 2 : d === "end" ? R - S : nt(D, D + S, S, A, H, D + R, D + R + p, p), q = Math.max(0, q + c), B = Math.max(0, B + D);
280
+ q = l === "start" ? V : l === "end" ? V - g : l === "nearest" ? nt(c, c + g, g, w, z, c + V, c + V + f, f) : V - g / 2, B = d === "start" ? R : d === "center" ? R - O / 2 : d === "end" ? R - O : nt(N, N + O, O, A, H, N + R, N + R + p, p), q = Math.max(0, q + c), B = Math.max(0, B + N);
281
281
  else {
282
- q = a === "start" ? V - j - w : a === "end" ? V - Y + z + ae : a === "nearest" ? nt(j, Y, U, w, z + ae, V, V + f, f) : V - (j + U / 2) + ae / 2, B = d === "start" ? R - oe - A : d === "center" ? R - (oe + Z / 2) + le / 2 : d === "end" ? R - W + H + le : nt(oe, W, Z, A, H + le, R, R + p, p);
282
+ q = l === "start" ? V - j - w : l === "end" ? V - Y + z + le : l === "nearest" ? nt(j, Y, U, w, z + le, V, V + f, f) : V - (j + U / 2) + le / 2, B = d === "start" ? R - oe - A : d === "center" ? R - (oe + Z / 2) + ae / 2 : d === "end" ? R - W + H + ae : nt(oe, W, Z, A, H + ae, R, R + p, p);
283
283
  const { scrollLeft: he, scrollTop: ie } = K;
284
- q = C === 0 ? 0 : Math.max(0, Math.min(ie + q / C, K.scrollHeight - U / C + ae)), B = ue === 0 ? 0 : Math.max(0, Math.min(he + B / ue, K.scrollWidth - Z / ue + le)), V += ie - q, R += he - B;
284
+ q = C === 0 ? 0 : Math.max(0, Math.min(ie + q / C, K.scrollHeight - U / C + le)), B = ue === 0 ? 0 : Math.max(0, Math.min(he + B / ue, K.scrollWidth - Z / ue + ae)), V += ie - q, R += he - B;
285
285
  }
286
286
  F.push({ el: K, top: q, left: B });
287
287
  }
@@ -326,8 +326,8 @@ function Ct(e, n) {
326
326
  r && clearTimeout(r);
327
327
  }
328
328
  function o() {
329
- for (var t = arguments.length, s = new Array(t), a = 0; a < t; a++)
330
- s[a] = arguments[a];
329
+ for (var t = arguments.length, s = new Array(t), l = 0; l < t; l++)
330
+ s[l] = arguments[l];
331
331
  i(), r = setTimeout(function() {
332
332
  r = null, e.apply(void 0, s);
333
333
  }, n);
@@ -340,8 +340,8 @@ function re() {
340
340
  return function(i) {
341
341
  for (var o = arguments.length, t = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
342
342
  t[s - 1] = arguments[s];
343
- return n.some(function(a) {
344
- return a && a.apply(void 0, [i].concat(t)), i.preventDownshiftDefault || i.hasOwnProperty("nativeEvent") && i.nativeEvent.preventDownshiftDefault;
343
+ return n.some(function(l) {
344
+ return l && l.apply(void 0, [i].concat(t)), i.preventDownshiftDefault || i.hasOwnProperty("nativeEvent") && i.nativeEvent.preventDownshiftDefault;
345
345
  });
346
346
  };
347
347
  }
@@ -386,10 +386,10 @@ function rt(e) {
386
386
  }
387
387
  function Ye(e, n) {
388
388
  return !e || !n ? e : Object.keys(e).reduce(function(r, i) {
389
- return r[i] = lt(n, i) ? n[i] : e[i], r;
389
+ return r[i] = at(n, i) ? n[i] : e[i], r;
390
390
  }, {});
391
391
  }
392
- function lt(e, n) {
392
+ function at(e, n) {
393
393
  return e[n] !== void 0;
394
394
  }
395
395
  function Ge(e) {
@@ -406,9 +406,9 @@ function ke(e, n, r, i, o) {
406
406
  return -1;
407
407
  var s = t - 1;
408
408
  (typeof e != "number" || e < 0 || e > s) && (e = n > 0 ? -1 : s + 1);
409
- var a = e + n;
410
- a < 0 ? a = o ? s : 0 : a > s && (a = o ? 0 : s);
411
- var d = Le(a, n < 0, r, i, o);
409
+ var l = e + n;
410
+ l < 0 ? l = o ? s : 0 : l > s && (l = o ? 0 : s);
411
+ var d = Le(l, n < 0, r, i, o);
412
412
  return d === -1 ? e >= t ? -1 : e : d;
413
413
  }
414
414
  function Le(e, n, r, i, o) {
@@ -419,18 +419,18 @@ function Le(e, n, r, i, o) {
419
419
  if (!i(r[s], s))
420
420
  return s;
421
421
  } else
422
- for (var a = e; a < t; a++)
423
- if (!i(r[a], a))
424
- return a;
422
+ for (var l = e; l < t; l++)
423
+ if (!i(r[l], l))
424
+ return l;
425
425
  return o ? Le(n ? t - 1 : 0, n, r, i) : -1;
426
426
  }
427
- function at(e, n, r, i) {
427
+ function lt(e, n, r, i) {
428
428
  return i === void 0 && (i = !0), r && n.some(function(o) {
429
429
  return o && (mn(o, e, r) || i && mn(o, r.document.activeElement, r));
430
430
  });
431
431
  }
432
- var St = me;
433
- process.env.NODE_ENV !== "production" && (St = function(n, r, i) {
432
+ var Ot = me;
433
+ process.env.NODE_ENV !== "production" && (Ot = function(n, r, i) {
434
434
  var o = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";
435
435
  Object.keys(n).forEach(function(t) {
436
436
  r[t] !== void 0 && i[t] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + t + '" to be uncontrolled. ' + o) : r[t] === void 0 && i[t] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + t + '" to be controlled. ' + o);
@@ -452,7 +452,7 @@ function Fn(e) {
452
452
  width: "1px"
453
453
  }), e.body.appendChild(n), n);
454
454
  }
455
- function Ot(e, n) {
455
+ function St(e, n) {
456
456
  if (!(!e || !n)) {
457
457
  var r = Fn(n);
458
458
  r.textContent = e, _o(n);
@@ -522,16 +522,16 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
522
522
  }, t.selectHighlightedItem = function(c, f) {
523
523
  return t.selectItemAtIndex(t.getState().highlightedIndex, c, f);
524
524
  }, t.internalSetState = function(c, f) {
525
- var p, I, m = {}, N = typeof c == "function";
526
- return !N && c.hasOwnProperty("inputValue") && t.props.onInputValueChange(c.inputValue, $({}, t.getStateAndHelpers(), c)), t.setState(function(E) {
525
+ var p, I, m = {}, D = typeof c == "function";
526
+ return !D && c.hasOwnProperty("inputValue") && t.props.onInputValueChange(c.inputValue, $({}, t.getStateAndHelpers(), c)), t.setState(function(E) {
527
527
  var k;
528
528
  E = t.getState(E);
529
- var M = N ? c(E) : c;
529
+ var M = D ? c(E) : c;
530
530
  M = t.props.stateReducer(E, M), p = M.hasOwnProperty("selectedItem");
531
- var O = {};
531
+ var S = {};
532
532
  return p && M.selectedItem !== E.selectedItem && (I = M.selectedItem), (k = M).type || (k.type = Ln), Object.keys(M).forEach(function(P) {
533
- E[P] !== M[P] && (m[P] = M[P]), P !== "type" && (M[P], lt(t.props, P) || (O[P] = M[P]));
534
- }), N && M.hasOwnProperty("inputValue") && t.props.onInputValueChange(M.inputValue, $({}, t.getStateAndHelpers(), M)), O;
533
+ E[P] !== M[P] && (m[P] = M[P]), P !== "type" && (M[P], at(t.props, P) || (S[P] = M[P]));
534
+ }), D && M.hasOwnProperty("inputValue") && t.props.onInputValueChange(M.inputValue, $({}, t.getStateAndHelpers(), M)), S;
535
535
  }, function() {
536
536
  gn(f)();
537
537
  var E = Object.keys(m).length > 1;
@@ -540,10 +540,10 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
540
540
  }, t.rootRef = function(c) {
541
541
  return t._rootNode = c;
542
542
  }, t.getRootProps = function(c, f) {
543
- var p, I = c === void 0 ? {} : c, m = I.refKey, N = m === void 0 ? "ref" : m, E = I.ref, k = ve(I, yo), M = f === void 0 ? {} : f, O = M.suppressRefError, P = O === void 0 ? !1 : O;
544
- t.getRootProps.called = !0, t.getRootProps.refKey = N, t.getRootProps.suppressRefError = P;
543
+ var p, I = c === void 0 ? {} : c, m = I.refKey, D = m === void 0 ? "ref" : m, E = I.ref, k = ve(I, yo), M = f === void 0 ? {} : f, S = M.suppressRefError, P = S === void 0 ? !1 : S;
544
+ t.getRootProps.called = !0, t.getRootProps.refKey = D, t.getRootProps.suppressRefError = P;
545
545
  var V = t.getState(), R = V.isOpen;
546
- return $((p = {}, p[N] = Re(E, t.rootRef), p.role = "combobox", p["aria-expanded"] = R, p["aria-haspopup"] = "listbox", p["aria-owns"] = R ? t.menuId : void 0, p["aria-labelledby"] = t.labelId, p), k);
546
+ return $((p = {}, p[D] = Re(E, t.rootRef), p.role = "combobox", p["aria-expanded"] = R, p["aria-haspopup"] = "listbox", p["aria-owns"] = R ? t.menuId : void 0, p["aria-labelledby"] = t.labelId, p), k);
547
547
  }, t.keyDownHandlers = {
548
548
  ArrowDown: function(f) {
549
549
  var p = this;
@@ -559,7 +559,7 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
559
559
  }, function() {
560
560
  var m = p.getItemCount();
561
561
  if (m > 0) {
562
- var N = p.getState(), E = N.highlightedIndex, k = ke(E, 1, {
562
+ var D = p.getState(), E = D.highlightedIndex, k = ke(E, 1, {
563
563
  length: m
564
564
  }, p.isItemDisabled, !0);
565
565
  p.setHighlightedIndex(k, {
@@ -582,7 +582,7 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
582
582
  }, function() {
583
583
  var m = p.getItemCount();
584
584
  if (m > 0) {
585
- var N = p.getState(), E = N.highlightedIndex, k = ke(E, -1, {
585
+ var D = p.getState(), E = D.highlightedIndex, k = ke(E, -1, {
586
586
  length: m
587
587
  }, p.isItemDisabled, !0);
588
588
  p.setHighlightedIndex(k, {
@@ -596,8 +596,8 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
596
596
  var p = this.getState(), I = p.isOpen, m = p.highlightedIndex;
597
597
  if (I && m != null) {
598
598
  f.preventDefault();
599
- var N = this.items[m], E = this.getItemNodeFromIndex(m);
600
- if (N == null || E && E.hasAttribute("disabled"))
599
+ var D = this.items[m], E = this.getItemNodeFromIndex(m);
600
+ if (D == null || E && E.hasAttribute("disabled"))
601
601
  return;
602
602
  this.selectHighlightedItem({
603
603
  type: Wn
@@ -626,10 +626,10 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
626
626
  f.preventDefault();
627
627
  var m = this.getItemCount();
628
628
  if (!(m <= 0 || !I)) {
629
- var N = Le(0, !1, {
629
+ var D = Le(0, !1, {
630
630
  length: m
631
631
  }, this.isItemDisabled);
632
- this.setHighlightedIndex(N, {
632
+ this.setHighlightedIndex(D, {
633
633
  type: qn
634
634
  });
635
635
  }
@@ -641,10 +641,10 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
641
641
  f.preventDefault();
642
642
  var m = this.getItemCount();
643
643
  if (!(m <= 0 || !I)) {
644
- var N = Le(m - 1, !0, {
644
+ var D = Le(m - 1, !0, {
645
645
  length: m
646
646
  }, this.isItemDisabled);
647
- this.setHighlightedIndex(N, {
647
+ this.setHighlightedIndex(D, {
648
648
  type: Yn
649
649
  });
650
650
  }
@@ -653,12 +653,12 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
653
653
  }), t.getToggleButtonProps = function(c) {
654
654
  var f = c === void 0 ? {} : c, p = f.onClick;
655
655
  f.onPress;
656
- var I = f.onKeyDown, m = f.onKeyUp, N = f.onBlur, E = ve(f, xo), k = t.getState(), M = k.isOpen, O = {
656
+ var I = f.onKeyDown, m = f.onKeyUp, D = f.onBlur, E = ve(f, xo), k = t.getState(), M = k.isOpen, S = {
657
657
  onClick: re(p, t.buttonHandleClick),
658
658
  onKeyDown: re(I, t.buttonHandleKeyDown),
659
659
  onKeyUp: re(m, t.buttonHandleKeyUp),
660
- onBlur: re(N, t.buttonHandleBlur)
661
- }, P = E.disabled ? {} : O;
660
+ onBlur: re(D, t.buttonHandleBlur)
661
+ }, P = E.disabled ? {} : S;
662
662
  return $({
663
663
  type: "button",
664
664
  role: "button",
@@ -699,14 +699,14 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
699
699
  id: t.labelId
700
700
  }, c);
701
701
  }, t.getInputProps = function(c) {
702
- var f = c === void 0 ? {} : c, p = f.onKeyDown, I = f.onBlur, m = f.onChange, N = f.onInput;
702
+ var f = c === void 0 ? {} : c, p = f.onKeyDown, I = f.onBlur, m = f.onChange, D = f.onInput;
703
703
  f.onChangeText;
704
704
  var E = ve(f, bo), k, M = {};
705
705
  k = "onChange";
706
- var O = t.getState(), P = O.inputValue, V = O.isOpen, R = O.highlightedIndex;
706
+ var S = t.getState(), P = S.inputValue, V = S.isOpen, R = S.highlightedIndex;
707
707
  if (!E.disabled) {
708
708
  var F;
709
- M = (F = {}, F[k] = re(m, N, t.inputHandleChange), F.onKeyDown = re(p, t.inputHandleKeyDown), F.onBlur = re(I, t.inputHandleBlur), F);
709
+ M = (F = {}, F[k] = re(m, D, t.inputHandleChange), F.onKeyDown = re(p, t.inputHandleKeyDown), F.onBlur = re(I, t.inputHandleBlur), F);
710
710
  }
711
711
  return $({
712
712
  "aria-autocomplete": "list",
@@ -742,17 +742,17 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
742
742
  }, t.menuRef = function(c) {
743
743
  t._menuNode = c;
744
744
  }, t.getMenuProps = function(c, f) {
745
- var p, I = c === void 0 ? {} : c, m = I.refKey, N = m === void 0 ? "ref" : m, E = I.ref, k = ve(I, wo), M = f === void 0 ? {} : f, O = M.suppressRefError, P = O === void 0 ? !1 : O;
746
- return t.getMenuProps.called = !0, t.getMenuProps.refKey = N, t.getMenuProps.suppressRefError = P, $((p = {}, p[N] = Re(E, t.menuRef), p.role = "listbox", p["aria-labelledby"] = k && k["aria-label"] ? void 0 : t.labelId, p.id = t.menuId, p), k);
745
+ var p, I = c === void 0 ? {} : c, m = I.refKey, D = m === void 0 ? "ref" : m, E = I.ref, k = ve(I, wo), M = f === void 0 ? {} : f, S = M.suppressRefError, P = S === void 0 ? !1 : S;
746
+ return t.getMenuProps.called = !0, t.getMenuProps.refKey = D, t.getMenuProps.suppressRefError = P, $((p = {}, p[D] = Re(E, t.menuRef), p.role = "listbox", p["aria-labelledby"] = k && k["aria-label"] ? void 0 : t.labelId, p.id = t.menuId, p), k);
747
747
  }, t.getItemProps = function(c) {
748
- var f, p = c === void 0 ? {} : c, I = p.onMouseMove, m = p.onMouseDown, N = p.onClick;
748
+ var f, p = c === void 0 ? {} : c, I = p.onMouseMove, m = p.onMouseDown, D = p.onClick;
749
749
  p.onPress;
750
750
  var E = p.index, k = p.item, M = k === void 0 ? process.env.NODE_ENV === "production" ? (
751
751
  /* istanbul ignore next */
752
752
  void 0
753
- ) : go("getItemProps", "item") : k, O = ve(p, Eo);
753
+ ) : go("getItemProps", "item") : k, S = ve(p, Eo);
754
754
  E === void 0 ? (t.items.push(M), E = t.items.indexOf(M)) : t.items[E] = M;
755
- var P = "onClick", V = N, R = (f = {
755
+ var P = "onClick", V = D, R = (f = {
756
756
  // onMouseMove is used over onMouseEnter here. onMouseMove
757
757
  // is only triggered on actual mouse movement while onMouseEnter
758
758
  // can fire on DOM changes, interrupting keyboard navigation
@@ -770,14 +770,14 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
770
770
  t.selectItemAtIndex(E, {
771
771
  type: Gn
772
772
  });
773
- }), f), F = O.disabled ? {
773
+ }), f), F = S.disabled ? {
774
774
  onMouseDown: R.onMouseDown
775
775
  } : R;
776
776
  return $({
777
777
  id: t.getItemId(E),
778
778
  role: "option",
779
779
  "aria-selected": t.getState().highlightedIndex === E
780
- }, F, O);
780
+ }, F, S);
781
781
  }, t.clearItems = function() {
782
782
  t.items = [];
783
783
  }, t.reset = function(c, f) {
@@ -818,16 +818,16 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
818
818
  resultCount: I,
819
819
  highlightedItem: p
820
820
  }, f));
821
- t.previousResultCount = I, Ot(m, t.props.environment.document);
821
+ t.previousResultCount = I, St(m, t.props.environment.document);
822
822
  }
823
823
  }, 200);
824
- var s = t.props, a = s.defaultHighlightedIndex, d = s.initialHighlightedIndex, u = d === void 0 ? a : d, l = s.defaultIsOpen, h = s.initialIsOpen, b = h === void 0 ? l : h, _ = s.initialInputValue, x = _ === void 0 ? "" : _, S = s.initialSelectedItem, g = S === void 0 ? null : S, D = t.getState({
824
+ var s = t.props, l = s.defaultHighlightedIndex, d = s.initialHighlightedIndex, u = d === void 0 ? l : d, a = s.defaultIsOpen, h = s.initialIsOpen, b = h === void 0 ? a : h, _ = s.initialInputValue, x = _ === void 0 ? "" : _, O = s.initialSelectedItem, g = O === void 0 ? null : O, N = t.getState({
825
825
  highlightedIndex: u,
826
826
  isOpen: b,
827
827
  inputValue: x,
828
828
  selectedItem: g
829
829
  });
830
- return D.selectedItem != null && t.props.initialInputValue === void 0 && (D.inputValue = t.props.itemToString(D.selectedItem)), t.state = D, t;
830
+ return N.selectedItem != null && t.props.initialInputValue === void 0 && (N.inputValue = t.props.itemToString(N.selectedItem)), t.state = N, t;
831
831
  }
832
832
  var i = r.prototype;
833
833
  return i.internalClearTimeouts = function() {
@@ -847,31 +847,31 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
847
847
  this.props.scrollIntoView(t, this._menuNode);
848
848
  }
849
849
  }, i.moveHighlightedIndex = function(t, s) {
850
- var a = this.getItemCount(), d = this.getState(), u = d.highlightedIndex;
851
- if (a > 0) {
852
- var l = ke(u, t, {
853
- length: a
850
+ var l = this.getItemCount(), d = this.getState(), u = d.highlightedIndex;
851
+ if (l > 0) {
852
+ var a = ke(u, t, {
853
+ length: l
854
854
  }, this.isItemDisabled, !0);
855
- this.setHighlightedIndex(l, s);
855
+ this.setHighlightedIndex(a, s);
856
856
  }
857
857
  }, i.getStateAndHelpers = function() {
858
- var t = this.getState(), s = t.highlightedIndex, a = t.inputValue, d = t.selectedItem, u = t.isOpen, l = this.props.itemToString, h = this.id, b = this.getRootProps, _ = this.getToggleButtonProps, x = this.getLabelProps, S = this.getMenuProps, g = this.getInputProps, D = this.getItemProps, c = this.openMenu, f = this.closeMenu, p = this.toggleMenu, I = this.selectItem, m = this.selectItemAtIndex, N = this.selectHighlightedItem, E = this.setHighlightedIndex, k = this.clearSelection, M = this.clearItems, O = this.reset, P = this.setItemCount, V = this.unsetItemCount, R = this.internalSetState;
858
+ var t = this.getState(), s = t.highlightedIndex, l = t.inputValue, d = t.selectedItem, u = t.isOpen, a = this.props.itemToString, h = this.id, b = this.getRootProps, _ = this.getToggleButtonProps, x = this.getLabelProps, O = this.getMenuProps, g = this.getInputProps, N = this.getItemProps, c = this.openMenu, f = this.closeMenu, p = this.toggleMenu, I = this.selectItem, m = this.selectItemAtIndex, D = this.selectHighlightedItem, E = this.setHighlightedIndex, k = this.clearSelection, M = this.clearItems, S = this.reset, P = this.setItemCount, V = this.unsetItemCount, R = this.internalSetState;
859
859
  return {
860
860
  // prop getters
861
861
  getRootProps: b,
862
862
  getToggleButtonProps: _,
863
863
  getLabelProps: x,
864
- getMenuProps: S,
864
+ getMenuProps: O,
865
865
  getInputProps: g,
866
- getItemProps: D,
866
+ getItemProps: N,
867
867
  // actions
868
- reset: O,
868
+ reset: S,
869
869
  openMenu: c,
870
870
  closeMenu: f,
871
871
  toggleMenu: p,
872
872
  selectItem: I,
873
873
  selectItemAtIndex: m,
874
- selectHighlightedItem: N,
874
+ selectHighlightedItem: D,
875
875
  setHighlightedIndex: E,
876
876
  clearSelection: k,
877
877
  clearItems: M,
@@ -879,12 +879,12 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
879
879
  unsetItemCount: V,
880
880
  setState: R,
881
881
  // props
882
- itemToString: l,
882
+ itemToString: a,
883
883
  // derived
884
884
  id: h,
885
885
  // state
886
886
  highlightedIndex: s,
887
- inputValue: a,
887
+ inputValue: l,
888
888
  isOpen: u,
889
889
  selectedItem: d
890
890
  };
@@ -897,9 +897,9 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
897
897
  else {
898
898
  var s = function() {
899
899
  t.isMouseDown = !0;
900
- }, a = function(_) {
900
+ }, l = function(_) {
901
901
  t.isMouseDown = !1;
902
- var x = at(_.target, [t._rootNode, t._menuNode], t.props.environment);
902
+ var x = lt(_.target, [t._rootNode, t._menuNode], t.props.environment);
903
903
  !x && t.getState().isOpen && t.reset({
904
904
  type: Bn
905
905
  }, function() {
@@ -909,23 +909,23 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
909
909
  t.isTouchMove = !1;
910
910
  }, u = function() {
911
911
  t.isTouchMove = !0;
912
- }, l = function(_) {
913
- var x = at(_.target, [t._rootNode, t._menuNode], t.props.environment, !1);
912
+ }, a = function(_) {
913
+ var x = lt(_.target, [t._rootNode, t._menuNode], t.props.environment, !1);
914
914
  !t.isTouchMove && !x && t.getState().isOpen && t.reset({
915
915
  type: tr
916
916
  }, function() {
917
917
  return t.props.onOuterClick(t.getStateAndHelpers());
918
918
  });
919
919
  }, h = this.props.environment;
920
- h.addEventListener("mousedown", s), h.addEventListener("mouseup", a), h.addEventListener("touchstart", d), h.addEventListener("touchmove", u), h.addEventListener("touchend", l), this.cleanup = function() {
921
- t.internalClearTimeouts(), t.updateStatus.cancel(), h.removeEventListener("mousedown", s), h.removeEventListener("mouseup", a), h.removeEventListener("touchstart", d), h.removeEventListener("touchmove", u), h.removeEventListener("touchend", l);
920
+ h.addEventListener("mousedown", s), h.addEventListener("mouseup", l), h.addEventListener("touchstart", d), h.addEventListener("touchmove", u), h.addEventListener("touchend", a), this.cleanup = function() {
921
+ t.internalClearTimeouts(), t.updateStatus.cancel(), h.removeEventListener("mousedown", s), h.removeEventListener("mouseup", l), h.removeEventListener("touchstart", d), h.removeEventListener("touchmove", u), h.removeEventListener("touchend", a);
922
922
  };
923
923
  }
924
924
  }, i.shouldScroll = function(t, s) {
925
- var a = this.props.highlightedIndex === void 0 ? this.getState() : this.props, d = a.highlightedIndex, u = s.highlightedIndex === void 0 ? t : s, l = u.highlightedIndex, h = d && this.getState().isOpen && !t.isOpen, b = d !== l;
925
+ var l = this.props.highlightedIndex === void 0 ? this.getState() : this.props, d = l.highlightedIndex, u = s.highlightedIndex === void 0 ? t : s, a = u.highlightedIndex, h = d && this.getState().isOpen && !t.isOpen, b = d !== a;
926
926
  return h || b;
927
927
  }, i.componentDidUpdate = function(t, s) {
928
- process.env.NODE_ENV !== "production" && (St(this.state, t, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && _n(this._menuNode, this.getMenuProps)), lt(this.props, "selectedItem") && this.props.selectedItemChanged(t.selectedItem, this.props.selectedItem) && this.internalSetState({
928
+ process.env.NODE_ENV !== "production" && (Ot(this.state, t, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && _n(this._menuNode, this.getMenuProps)), at(this.props, "selectedItem") && this.props.selectedItemChanged(t.selectedItem, this.props.selectedItem) && this.internalSetState({
929
929
  type: er,
930
930
  inputValue: this.props.itemToString(this.props.selectedItem)
931
931
  }), !this.avoidScrolling && this.shouldScroll(s, t) && this.scrollHighlightedItemIntoView(), this.updateStatus();
@@ -938,7 +938,7 @@ var Ln = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
938
938
  if (!s)
939
939
  return null;
940
940
  if (this.getRootProps.called || this.props.suppressRefError)
941
- return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && So(s, this.getRootProps), s;
941
+ return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && Oo(s, this.getRootProps), s;
942
942
  if (Kn(s))
943
943
  return /* @__PURE__ */ Fr(s, this.getRootProps($n(s)));
944
944
  if (process.env.NODE_ENV !== "production")
@@ -1022,26 +1022,26 @@ function _n(e, n) {
1022
1022
  var r = n.refKey;
1023
1023
  e || console.error('downshift: The ref prop "' + r + '" from getMenuProps was not applied correctly on your menu element.');
1024
1024
  }
1025
- function So(e, n) {
1025
+ function Oo(e, n) {
1026
1026
  var r = n.refKey, i = r !== "ref", o = !Kn(e);
1027
1027
  o && !i && !pn.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !o && i && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + r + '"'), !pn.isForwardRef(e) && !$n(e)[r] && console.error('downshift: You must apply the ref prop "' + r + '" from getRootProps onto your root element.');
1028
1028
  }
1029
- var Oo = ["highlightedIndex", "items", "environment"], nr = {
1029
+ var So = ["highlightedIndex", "items", "environment"], nr = {
1030
1030
  highlightedIndex: -1,
1031
1031
  isOpen: !1,
1032
1032
  selectedItem: null,
1033
1033
  inputValue: ""
1034
1034
  };
1035
- function Do(e, n, r) {
1035
+ function No(e, n, r) {
1036
1036
  var i = e.props, o = e.type, t = {};
1037
1037
  Object.keys(n).forEach(function(s) {
1038
- No(s, e, n, r), r[s] !== n[s] && (t[s] = r[s]);
1038
+ Do(s, e, n, r), r[s] !== n[s] && (t[s] = r[s]);
1039
1039
  }), i.onStateChange && Object.keys(t).length && i.onStateChange($({
1040
1040
  type: o
1041
1041
  }, t));
1042
1042
  }
1043
- function No(e, n, r, i) {
1044
- var o = n.props, t = n.type, s = "on" + Dt(e) + "Change";
1043
+ function Do(e, n, r, i) {
1044
+ var o = n.props, t = n.type, s = "on" + Nt(e) + "Change";
1045
1045
  o[s] && i[e] !== void 0 && i[e] !== r[e] && o[s]($({
1046
1046
  type: t
1047
1047
  }, i));
@@ -1054,28 +1054,28 @@ function Po(e) {
1054
1054
  return n ? r(n) + " has been selected." : "";
1055
1055
  }
1056
1056
  var ko = Ct(function(e, n) {
1057
- Ot(e(), n);
1057
+ St(e(), n);
1058
1058
  }, 200), Mo = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? wt : de, To = "useId" in st ? function(n) {
1059
- var r = n.id, i = n.labelId, o = n.menuId, t = n.getItemId, s = n.toggleButtonId, a = n.inputId, d = "downshift-" + st.useId();
1059
+ var r = n.id, i = n.labelId, o = n.menuId, t = n.getItemId, s = n.toggleButtonId, l = n.inputId, d = "downshift-" + st.useId();
1060
1060
  r || (r = d);
1061
1061
  var u = Q({
1062
1062
  labelId: i || r + "-label",
1063
1063
  menuId: o || r + "-menu",
1064
- getItemId: t || function(l) {
1065
- return r + "-item-" + l;
1064
+ getItemId: t || function(a) {
1065
+ return r + "-item-" + a;
1066
1066
  },
1067
1067
  toggleButtonId: s || r + "-toggle-button",
1068
- inputId: a || r + "-input"
1068
+ inputId: l || r + "-input"
1069
1069
  });
1070
1070
  return u.current;
1071
1071
  } : function(n) {
1072
- var r = n.id, i = r === void 0 ? "downshift-" + Hn() : r, o = n.labelId, t = n.menuId, s = n.getItemId, a = n.toggleButtonId, d = n.inputId, u = Q({
1072
+ var r = n.id, i = r === void 0 ? "downshift-" + Hn() : r, o = n.labelId, t = n.menuId, s = n.getItemId, l = n.toggleButtonId, d = n.inputId, u = Q({
1073
1073
  labelId: o || i + "-label",
1074
1074
  menuId: t || i + "-menu",
1075
- getItemId: s || function(l) {
1076
- return i + "-item-" + l;
1075
+ getItemId: s || function(a) {
1076
+ return i + "-item-" + a;
1077
1077
  },
1078
- toggleButtonId: a || i + "-toggle-button",
1078
+ toggleButtonId: l || i + "-toggle-button",
1079
1079
  inputId: d || i + "-input"
1080
1080
  });
1081
1081
  return u.current;
@@ -1090,28 +1090,28 @@ function rr(e, n, r, i) {
1090
1090
  t = n === void 0 ? r.indexOf(e) : n, o = e;
1091
1091
  return [o, t];
1092
1092
  }
1093
- function Dt(e) {
1093
+ function Nt(e) {
1094
1094
  return "" + e.slice(0, 1).toUpperCase() + e.slice(1);
1095
1095
  }
1096
- function Nt(e) {
1096
+ function Dt(e) {
1097
1097
  var n = Q(e);
1098
1098
  return n.current = e, n;
1099
1099
  }
1100
1100
  function or(e, n, r, i) {
1101
1101
  var o = Q(), t = Q(), s = ee(function(_, x) {
1102
1102
  t.current = x, _ = Ye(_, x.props);
1103
- var S = e(_, x), g = x.props.stateReducer(_, $({}, x, {
1104
- changes: S
1103
+ var O = e(_, x), g = x.props.stateReducer(_, $({}, x, {
1104
+ changes: O
1105
1105
  }));
1106
1106
  return g;
1107
- }, [e]), a = Br(s, n, r), d = a[0], u = a[1], l = Nt(n), h = ee(function(_) {
1107
+ }, [e]), l = Br(s, n, r), d = l[0], u = l[1], a = Dt(n), h = ee(function(_) {
1108
1108
  return u($({
1109
- props: l.current
1109
+ props: a.current
1110
1110
  }, _));
1111
- }, [l]), b = t.current;
1111
+ }, [a]), b = t.current;
1112
1112
  return de(function() {
1113
1113
  var _ = Ye(o.current, b == null ? void 0 : b.props), x = b && o.current && !i(_, d);
1114
- x && Do(b, _, d), o.current = d;
1114
+ x && No(b, _, d), o.current = d;
1115
1115
  }, [d, b, i]), [d, h];
1116
1116
  }
1117
1117
  function Vo(e, n, r, i) {
@@ -1135,7 +1135,7 @@ var je = {
1135
1135
  };
1136
1136
  function be(e, n, r) {
1137
1137
  r === void 0 && (r = nr);
1138
- var i = e["default" + Dt(n)];
1138
+ var i = e["default" + Nt(n)];
1139
1139
  return i !== void 0 ? i : r[n];
1140
1140
  }
1141
1141
  function Ke(e, n, r) {
@@ -1143,7 +1143,7 @@ function Ke(e, n, r) {
1143
1143
  var i = e[n];
1144
1144
  if (i !== void 0)
1145
1145
  return i;
1146
- var o = e["initial" + Dt(n)];
1146
+ var o = e["initial" + Nt(n)];
1147
1147
  return o !== void 0 ? o : be(e, n, r);
1148
1148
  }
1149
1149
  function Ao(e) {
@@ -1158,9 +1158,9 @@ function Ao(e) {
1158
1158
  };
1159
1159
  }
1160
1160
  function We(e, n, r) {
1161
- var i = e.items, o = e.initialHighlightedIndex, t = e.defaultHighlightedIndex, s = e.itemToKey, a = n.selectedItem, d = n.highlightedIndex;
1162
- return i.length === 0 ? -1 : o !== void 0 && d === o ? o : t !== void 0 ? t : a ? i.findIndex(function(u) {
1163
- return s(a) === s(u);
1161
+ var i = e.items, o = e.initialHighlightedIndex, t = e.defaultHighlightedIndex, s = e.itemToKey, l = n.selectedItem, d = n.highlightedIndex;
1162
+ return i.length === 0 ? -1 : o !== void 0 && d === o ? o : t !== void 0 ? t : l ? i.findIndex(function(u) {
1163
+ return s(l) === s(u);
1164
1164
  }) : r === 0 ? -1 : r < 0 ? i.length - 1 : 0;
1165
1165
  }
1166
1166
  function Ho(e, n, r) {
@@ -1172,26 +1172,26 @@ function Ho(e, n, r) {
1172
1172
  return de(function() {
1173
1173
  if (!e)
1174
1174
  return me;
1175
- var o = n.map(function(l) {
1176
- return l.current;
1175
+ var o = n.map(function(a) {
1176
+ return a.current;
1177
1177
  });
1178
1178
  function t() {
1179
1179
  i.current.isTouchEnd = !1, i.current.isMouseDown = !0;
1180
1180
  }
1181
- function s(l) {
1182
- i.current.isMouseDown = !1, at(l.target, o, e) || r();
1181
+ function s(a) {
1182
+ i.current.isMouseDown = !1, lt(a.target, o, e) || r();
1183
1183
  }
1184
- function a() {
1184
+ function l() {
1185
1185
  i.current.isTouchEnd = !1, i.current.isTouchMove = !1;
1186
1186
  }
1187
1187
  function d() {
1188
1188
  i.current.isTouchMove = !0;
1189
1189
  }
1190
- function u(l) {
1191
- i.current.isTouchEnd = !0, !i.current.isTouchMove && !at(l.target, o, e, !1) && r();
1190
+ function u(a) {
1191
+ i.current.isTouchEnd = !0, !i.current.isTouchMove && !lt(a.target, o, e, !1) && r();
1192
1192
  }
1193
- return e.addEventListener("mousedown", t), e.addEventListener("mouseup", s), e.addEventListener("touchstart", a), e.addEventListener("touchmove", d), e.addEventListener("touchend", u), function() {
1194
- e.removeEventListener("mousedown", t), e.removeEventListener("mouseup", s), e.removeEventListener("touchstart", a), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", u);
1193
+ return e.addEventListener("mousedown", t), e.addEventListener("mouseup", s), e.addEventListener("touchstart", l), e.addEventListener("touchmove", d), e.addEventListener("touchend", u), function() {
1194
+ e.removeEventListener("mousedown", t), e.removeEventListener("mouseup", s), e.removeEventListener("touchstart", l), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", u);
1195
1195
  };
1196
1196
  }, [e, r]), i.current;
1197
1197
  }
@@ -1201,33 +1201,33 @@ var Rt = function() {
1201
1201
  process.env.NODE_ENV !== "production" && (Rt = function() {
1202
1202
  for (var n = Q(!0), r = arguments.length, i = new Array(r), o = 0; o < r; o++)
1203
1203
  i[o] = arguments[o];
1204
- var t = Q(i.reduce(function(a, d) {
1205
- return a[d] = {}, a;
1204
+ var t = Q(i.reduce(function(l, d) {
1205
+ return l[d] = {}, l;
1206
1206
  }, {}));
1207
1207
  de(function() {
1208
- Object.keys(t.current).forEach(function(a) {
1209
- var d = t.current[a];
1208
+ Object.keys(t.current).forEach(function(l) {
1209
+ var d = t.current[l];
1210
1210
  if (n.current && !Object.keys(d).length) {
1211
- console.error("downshift: You forgot to call the " + a + " getter function on your component / element.");
1211
+ console.error("downshift: You forgot to call the " + l + " getter function on your component / element.");
1212
1212
  return;
1213
1213
  }
1214
- var u = d.suppressRefError, l = d.refKey, h = d.elementRef;
1215
- (!h || !h.current) && !u && console.error('downshift: The ref prop "' + l + '" from ' + a + " was not applied correctly on your element.");
1214
+ var u = d.suppressRefError, a = d.refKey, h = d.elementRef;
1215
+ (!h || !h.current) && !u && console.error('downshift: The ref prop "' + a + '" from ' + l + " was not applied correctly on your element.");
1216
1216
  }), n.current = !1;
1217
1217
  });
1218
- var s = ee(function(a, d, u, l) {
1219
- t.current[a] = {
1218
+ var s = ee(function(l, d, u, a) {
1219
+ t.current[l] = {
1220
1220
  suppressRefError: d,
1221
1221
  refKey: u,
1222
- elementRef: l
1222
+ elementRef: a
1223
1223
  };
1224
1224
  }, []);
1225
1225
  return s;
1226
1226
  });
1227
1227
  function In(e, n, r) {
1228
- var i = r.highlightedIndex, o = r.items, t = r.environment, s = ve(r, Oo), a = Xe();
1228
+ var i = r.highlightedIndex, o = r.items, t = r.environment, s = ve(r, So), l = Xe();
1229
1229
  de(function() {
1230
- a || !(t != null && t.document) || ko(function() {
1230
+ l || !(t != null && t.document) || ko(function() {
1231
1231
  return e($({
1232
1232
  highlightedIndex: i,
1233
1233
  highlightedItem: o[i],
@@ -1237,16 +1237,16 @@ function In(e, n, r) {
1237
1237
  }, n);
1238
1238
  }
1239
1239
  function jo(e) {
1240
- var n = e.highlightedIndex, r = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, t = e.menuElement, s = e.scrollIntoView, a = Q(!0);
1240
+ var n = e.highlightedIndex, r = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, t = e.menuElement, s = e.scrollIntoView, l = Q(!0);
1241
1241
  return Mo(function() {
1242
- n < 0 || !r || !Object.keys(i.current).length || (a.current === !1 ? a.current = !0 : s(o(n), t));
1243
- }, [n]), a;
1242
+ n < 0 || !r || !Object.keys(i.current).length || (l.current === !1 ? l.current = !0 : s(o(n), t));
1243
+ }, [n]), l;
1244
1244
  }
1245
1245
  var Pt = me;
1246
1246
  process.env.NODE_ENV !== "production" && (Pt = function(n) {
1247
1247
  var r = n.props, i = n.state, o = Q(r), t = Xe();
1248
1248
  de(function() {
1249
- t || (St(i, o.current, r), o.current = r);
1249
+ t || (Ot(i, o.current, r), o.current = r);
1250
1250
  }, [i, r, t]);
1251
1251
  });
1252
1252
  function yn(e, n, r) {
@@ -1397,7 +1397,7 @@ process.env.NODE_ENV;
1397
1397
  process.env.NODE_ENV;
1398
1398
  process.env.NODE_ENV;
1399
1399
  process.env.NODE_ENV;
1400
- var kt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, Mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, Tt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Vt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, At = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, Ht = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, jt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, Kt = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, $t = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, ut = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, Ft = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, lr = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, ar = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Lt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, ur = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, dr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, cr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, pr = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, fr = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Bt = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, hr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, gr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ut = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, mr = /* @__PURE__ */ Object.freeze({
1400
+ var kt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, Mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, Tt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Vt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, At = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, Ht = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, jt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, Kt = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, $t = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, ut = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, Ft = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, lr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Lt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, ur = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, dr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, cr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, pr = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, fr = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Bt = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, hr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, gr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ut = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, mr = /* @__PURE__ */ Object.freeze({
1401
1401
  __proto__: null,
1402
1402
  InputKeyDownArrowDown: kt,
1403
1403
  InputKeyDownArrowUp: Mt,
@@ -1410,8 +1410,8 @@ var kt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__"
1410
1410
  InputChange: $t,
1411
1411
  InputBlur: ut,
1412
1412
  InputClick: Ft,
1413
- MenuMouseLeave: lr,
1414
- ItemMouseMove: ar,
1413
+ MenuMouseLeave: ar,
1414
+ ItemMouseMove: lr,
1415
1415
  ItemClick: Lt,
1416
1416
  ToggleButtonClick: ur,
1417
1417
  FunctionToggleMenu: dr,
@@ -1441,19 +1441,19 @@ var Bo = $({}, sr, {
1441
1441
  onInputValueChange: y.func
1442
1442
  });
1443
1443
  function Uo(e, n, r, i) {
1444
- var o = Q(), t = or(e, n, r, i), s = t[0], a = t[1], d = Xe();
1444
+ var o = Q(), t = or(e, n, r, i), s = t[0], l = t[1], d = Xe();
1445
1445
  return de(function() {
1446
- if (lt(n, "selectedItem")) {
1446
+ if (at(n, "selectedItem")) {
1447
1447
  if (!d) {
1448
1448
  var u;
1449
- n.selectedItemChanged === void 0 ? u = n.itemToKey(n.selectedItem) !== n.itemToKey(o.current) : (console.warn('The "selectedItemChanged" is deprecated. Please use "itemToKey instead". https://github.com/downshift-js/downshift/blob/master/src/hooks/useCombobox/README.md#selecteditemchanged'), u = n.selectedItemChanged(o.current, n.selectedItem)), u && a({
1449
+ n.selectedItemChanged === void 0 ? u = n.itemToKey(n.selectedItem) !== n.itemToKey(o.current) : (console.warn('The "selectedItemChanged" is deprecated. Please use "itemToKey instead". https://github.com/downshift-js/downshift/blob/master/src/hooks/useCombobox/README.md#selecteditemchanged'), u = n.selectedItemChanged(o.current, n.selectedItem)), u && l({
1450
1450
  type: Ut,
1451
1451
  inputValue: n.itemToString(n.selectedItem)
1452
1452
  });
1453
1453
  }
1454
1454
  o.current = s.selectedItem === o.current ? n.selectedItem : s.selectedItem;
1455
1455
  }
1456
- }, [s.selectedItem, n.selectedItem]), [Ye(s, n), a];
1456
+ }, [s.selectedItem, n.selectedItem]), [Ye(s, n), l];
1457
1457
  }
1458
1458
  var vr = me;
1459
1459
  process.env.NODE_ENV !== "production" && (vr = function(n, r) {
@@ -1566,216 +1566,216 @@ var qo = ["onMouseLeave", "refKey", "ref"], Yo = ["item", "index", "refKey", "re
1566
1566
  ge.stateChangeTypes = mr;
1567
1567
  function ge(e) {
1568
1568
  e === void 0 && (e = {}), vr(e, ge);
1569
- var n = $({}, zo, e), r = n.items, i = n.scrollIntoView, o = n.environment, t = n.getA11yStatusMessage, s = n.getA11ySelectionMessage, a = n.itemToString, d = Uo(Wo, n, Lo, Ko), u = d[0], l = d[1], h = u.isOpen, b = u.highlightedIndex, _ = u.selectedItem, x = u.inputValue, S = Q(null), g = Q({}), D = Q(null), c = Q(null), f = Xe(), p = To(n), I = Q(), m = Nt({
1569
+ var n = $({}, zo, e), r = n.items, i = n.scrollIntoView, o = n.environment, t = n.getA11yStatusMessage, s = n.getA11ySelectionMessage, l = n.itemToString, d = Uo(Wo, n, Lo, Ko), u = d[0], a = d[1], h = u.isOpen, b = u.highlightedIndex, _ = u.selectedItem, x = u.inputValue, O = Q(null), g = Q({}), N = Q(null), c = Q(null), f = Xe(), p = To(n), I = Q(), m = Dt({
1570
1570
  state: u,
1571
1571
  props: n
1572
- }), N = ee(function(T) {
1572
+ }), D = ee(function(T) {
1573
1573
  return g.current[p.getItemId(T)];
1574
1574
  }, [p]);
1575
1575
  In(t, [h, b, x, r], $({
1576
1576
  previousResultCount: I.current,
1577
1577
  items: r,
1578
1578
  environment: o,
1579
- itemToString: a
1579
+ itemToString: l
1580
1580
  }, u)), In(s, [_], $({
1581
1581
  previousResultCount: I.current,
1582
1582
  items: r,
1583
1583
  environment: o,
1584
- itemToString: a
1584
+ itemToString: l
1585
1585
  }, u));
1586
1586
  var E = jo({
1587
- menuElement: S.current,
1587
+ menuElement: O.current,
1588
1588
  highlightedIndex: b,
1589
1589
  isOpen: h,
1590
1590
  itemRefs: g,
1591
1591
  scrollIntoView: i,
1592
- getItemNodeFromIndex: N
1592
+ getItemNodeFromIndex: D
1593
1593
  });
1594
1594
  Pt({
1595
1595
  props: n,
1596
1596
  state: u
1597
1597
  }), de(function() {
1598
1598
  var T = Ke(n, "isOpen");
1599
- T && D.current && D.current.focus();
1599
+ T && N.current && N.current.focus();
1600
1600
  }, []), de(function() {
1601
1601
  f || (I.current = r.length);
1602
1602
  });
1603
- var k = Ho(o, [c, S, D], ee(function() {
1604
- m.current.state.isOpen && l({
1603
+ var k = Ho(o, [c, O, N], ee(function() {
1604
+ m.current.state.isOpen && a({
1605
1605
  type: ut,
1606
1606
  selectItem: !1
1607
1607
  });
1608
- }, [l, m])), M = Rt("getInputProps", "getMenuProps");
1608
+ }, [a, m])), M = Rt("getInputProps", "getMenuProps");
1609
1609
  de(function() {
1610
1610
  h || (g.current = {});
1611
1611
  }, [h]), de(function() {
1612
1612
  var T;
1613
- !h || !(o != null && o.document) || !(D != null && (T = D.current) != null && T.focus) || o.document.activeElement !== D.current && D.current.focus();
1613
+ !h || !(o != null && o.document) || !(N != null && (T = N.current) != null && T.focus) || o.document.activeElement !== N.current && N.current.focus();
1614
1614
  }, [h, o]);
1615
- var O = Te(function() {
1615
+ var S = Te(function() {
1616
1616
  return {
1617
1617
  ArrowDown: function(A) {
1618
- A.preventDefault(), l({
1618
+ A.preventDefault(), a({
1619
1619
  type: kt,
1620
1620
  altKey: A.altKey
1621
1621
  });
1622
1622
  },
1623
1623
  ArrowUp: function(A) {
1624
- A.preventDefault(), l({
1624
+ A.preventDefault(), a({
1625
1625
  type: Mt,
1626
1626
  altKey: A.altKey
1627
1627
  });
1628
1628
  },
1629
1629
  Home: function(A) {
1630
- m.current.state.isOpen && (A.preventDefault(), l({
1630
+ m.current.state.isOpen && (A.preventDefault(), a({
1631
1631
  type: Vt
1632
1632
  }));
1633
1633
  },
1634
1634
  End: function(A) {
1635
- m.current.state.isOpen && (A.preventDefault(), l({
1635
+ m.current.state.isOpen && (A.preventDefault(), a({
1636
1636
  type: At
1637
1637
  }));
1638
1638
  },
1639
1639
  Escape: function(A) {
1640
1640
  var w = m.current.state;
1641
- (w.isOpen || w.inputValue || w.selectedItem || w.highlightedIndex > -1) && (A.preventDefault(), l({
1641
+ (w.isOpen || w.inputValue || w.selectedItem || w.highlightedIndex > -1) && (A.preventDefault(), a({
1642
1642
  type: Tt
1643
1643
  }));
1644
1644
  },
1645
1645
  Enter: function(A) {
1646
1646
  var w = m.current.state;
1647
- !w.isOpen || A.which === 229 || (A.preventDefault(), l({
1647
+ !w.isOpen || A.which === 229 || (A.preventDefault(), a({
1648
1648
  type: Kt
1649
1649
  }));
1650
1650
  },
1651
1651
  PageUp: function(A) {
1652
- m.current.state.isOpen && (A.preventDefault(), l({
1652
+ m.current.state.isOpen && (A.preventDefault(), a({
1653
1653
  type: Ht
1654
1654
  }));
1655
1655
  },
1656
1656
  PageDown: function(A) {
1657
- m.current.state.isOpen && (A.preventDefault(), l({
1657
+ m.current.state.isOpen && (A.preventDefault(), a({
1658
1658
  type: jt
1659
1659
  }));
1660
1660
  }
1661
1661
  };
1662
- }, [l, m]), P = ee(function(T) {
1662
+ }, [a, m]), P = ee(function(T) {
1663
1663
  return $({
1664
1664
  id: p.labelId,
1665
1665
  htmlFor: p.inputId
1666
1666
  }, T);
1667
1667
  }, [p]), V = ee(function(T, A) {
1668
- var w, H = T === void 0 ? {} : T, z = H.onMouseLeave, q = H.refKey, B = q === void 0 ? "ref" : q, le = H.ref, ae = ve(H, qo), ue = A === void 0 ? {} : A, C = ue.suppressRefError, he = C === void 0 ? !1 : C;
1669
- return M("getMenuProps", he, B, S), $((w = {}, w[B] = Re(le, function(ie) {
1670
- S.current = ie;
1671
- }), w.id = p.menuId, w.role = "listbox", w["aria-labelledby"] = ae && ae["aria-label"] ? void 0 : "" + p.labelId, w.onMouseLeave = re(z, function() {
1672
- l({
1673
- type: lr
1668
+ var w, H = T === void 0 ? {} : T, z = H.onMouseLeave, q = H.refKey, B = q === void 0 ? "ref" : q, ae = H.ref, le = ve(H, qo), ue = A === void 0 ? {} : A, C = ue.suppressRefError, he = C === void 0 ? !1 : C;
1669
+ return M("getMenuProps", he, B, O), $((w = {}, w[B] = Re(ae, function(ie) {
1670
+ O.current = ie;
1671
+ }), w.id = p.menuId, w.role = "listbox", w["aria-labelledby"] = le && le["aria-label"] ? void 0 : "" + p.labelId, w.onMouseLeave = re(z, function() {
1672
+ a({
1673
+ type: ar
1674
1674
  });
1675
- }), w), ae);
1676
- }, [l, M, p]), R = ee(function(T) {
1677
- var A, w, H = T === void 0 ? {} : T, z = H.item, q = H.index, B = H.refKey, le = B === void 0 ? "ref" : B, ae = H.ref, ue = H.onMouseMove, C = H.onMouseDown, he = H.onClick;
1675
+ }), w), le);
1676
+ }, [a, M, p]), R = ee(function(T) {
1677
+ var A, w, H = T === void 0 ? {} : T, z = H.item, q = H.index, B = H.refKey, ae = B === void 0 ? "ref" : B, le = H.ref, ue = H.onMouseMove, C = H.onMouseDown, he = H.onClick;
1678
1678
  H.onPress;
1679
1679
  var ie = H.disabled, Ae = ve(H, Yo);
1680
1680
  ie !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
1681
- var Ue = m.current, Ze = Ue.props, we = Ue.state, et = rr(z, q, Ze.items, "Pass either item or index to getItemProps!"), ft = et[0], Ee = et[1], ze = Ze.isItemDisabled(ft, Ee), ht = "onClick", tt = he, Oe = function() {
1682
- k.isTouchEnd || Ee === we.highlightedIndex || (E.current = !1, l({
1683
- type: ar,
1681
+ var Ue = m.current, Ze = Ue.props, we = Ue.state, et = rr(z, q, Ze.items, "Pass either item or index to getItemProps!"), ft = et[0], Ee = et[1], ze = Ze.isItemDisabled(ft, Ee), ht = "onClick", tt = he, Se = function() {
1682
+ k.isTouchEnd || Ee === we.highlightedIndex || (E.current = !1, a({
1683
+ type: lr,
1684
1684
  index: Ee,
1685
1685
  disabled: ze
1686
1686
  }));
1687
1687
  }, Pe = function() {
1688
- l({
1688
+ a({
1689
1689
  type: Lt,
1690
1690
  index: Ee
1691
1691
  });
1692
- }, De = function(Tr) {
1692
+ }, Ne = function(Tr) {
1693
1693
  return Tr.preventDefault();
1694
1694
  };
1695
- return $((A = {}, A[le] = Re(ae, function(ye) {
1695
+ return $((A = {}, A[ae] = Re(le, function(ye) {
1696
1696
  ye && (g.current[p.getItemId(Ee)] = ye);
1697
1697
  }), A["aria-disabled"] = ze, A["aria-selected"] = "" + (Ee === we.highlightedIndex), A.id = p.getItemId(Ee), A.role = "option", A), !ze && (w = {}, w[ht] = re(tt, Pe), w), {
1698
- onMouseMove: re(ue, Oe),
1699
- onMouseDown: re(C, De)
1698
+ onMouseMove: re(ue, Se),
1699
+ onMouseDown: re(C, Ne)
1700
1700
  }, Ae);
1701
- }, [l, p, m, k, E]), F = ee(function(T) {
1701
+ }, [a, p, m, k, E]), F = ee(function(T) {
1702
1702
  var A, w = T === void 0 ? {} : T, H = w.onClick;
1703
1703
  w.onPress;
1704
- var z = w.refKey, q = z === void 0 ? "ref" : z, B = w.ref, le = ve(w, Go), ae = m.current.state, ue = function() {
1705
- l({
1704
+ var z = w.refKey, q = z === void 0 ? "ref" : z, B = w.ref, ae = ve(w, Go), le = m.current.state, ue = function() {
1705
+ a({
1706
1706
  type: ur
1707
1707
  });
1708
1708
  };
1709
1709
  return $((A = {}, A[q] = Re(B, function(C) {
1710
1710
  c.current = C;
1711
- }), A["aria-controls"] = p.menuId, A["aria-expanded"] = ae.isOpen, A.id = p.toggleButtonId, A.tabIndex = -1, A), !le.disabled && $({}, {
1711
+ }), A["aria-controls"] = p.menuId, A["aria-expanded"] = le.isOpen, A.id = p.toggleButtonId, A.tabIndex = -1, A), !ae.disabled && $({}, {
1712
1712
  onClick: re(H, ue)
1713
- }), le);
1714
- }, [l, m, p]), L = ee(function(T, A) {
1715
- var w, H = T === void 0 ? {} : T, z = H.onKeyDown, q = H.onChange, B = H.onInput, le = H.onBlur;
1713
+ }), ae);
1714
+ }, [a, m, p]), L = ee(function(T, A) {
1715
+ var w, H = T === void 0 ? {} : T, z = H.onKeyDown, q = H.onChange, B = H.onInput, ae = H.onBlur;
1716
1716
  H.onChangeText;
1717
- var ae = H.onClick, ue = H.refKey, C = ue === void 0 ? "ref" : ue, he = H.ref, ie = ve(H, Xo), Ae = A === void 0 ? {} : A, Ue = Ae.suppressRefError, Ze = Ue === void 0 ? !1 : Ue;
1718
- M("getInputProps", Ze, C, D);
1719
- var we = m.current.state, et = function(De) {
1720
- var ye = Ge(De);
1721
- ye && O[ye] && O[ye](De);
1722
- }, ft = function(De) {
1723
- l({
1717
+ var le = H.onClick, ue = H.refKey, C = ue === void 0 ? "ref" : ue, he = H.ref, ie = ve(H, Xo), Ae = A === void 0 ? {} : A, Ue = Ae.suppressRefError, Ze = Ue === void 0 ? !1 : Ue;
1718
+ M("getInputProps", Ze, C, N);
1719
+ var we = m.current.state, et = function(Ne) {
1720
+ var ye = Ge(Ne);
1721
+ ye && S[ye] && S[ye](Ne);
1722
+ }, ft = function(Ne) {
1723
+ a({
1724
1724
  type: $t,
1725
- inputValue: De.target.value
1725
+ inputValue: Ne.target.value
1726
1726
  });
1727
- }, Ee = function(De) {
1727
+ }, Ee = function(Ne) {
1728
1728
  if (o != null && o.document && we.isOpen && !k.isMouseDown) {
1729
- var ye = De.relatedTarget === null && o.document.activeElement !== o.document.body;
1730
- l({
1729
+ var ye = Ne.relatedTarget === null && o.document.activeElement !== o.document.body;
1730
+ a({
1731
1731
  type: ut,
1732
1732
  selectItem: !ye
1733
1733
  });
1734
1734
  }
1735
1735
  }, ze = function() {
1736
- l({
1736
+ a({
1737
1737
  type: Ft
1738
1738
  });
1739
1739
  }, ht = "onChange", tt = {};
1740
1740
  if (!ie.disabled) {
1741
- var Oe;
1742
- tt = (Oe = {}, Oe[ht] = re(q, B, ft), Oe.onKeyDown = re(z, et), Oe.onBlur = re(le, Ee), Oe.onClick = re(ae, ze), Oe);
1741
+ var Se;
1742
+ tt = (Se = {}, Se[ht] = re(q, B, ft), Se.onKeyDown = re(z, et), Se.onBlur = re(ae, Ee), Se.onClick = re(le, ze), Se);
1743
1743
  }
1744
1744
  return $((w = {}, w[C] = Re(he, function(Pe) {
1745
- D.current = Pe;
1745
+ N.current = Pe;
1746
1746
  }), w["aria-activedescendant"] = we.isOpen && we.highlightedIndex > -1 ? p.getItemId(we.highlightedIndex) : "", w["aria-autocomplete"] = "list", w["aria-controls"] = p.menuId, w["aria-expanded"] = we.isOpen, w["aria-labelledby"] = ie && ie["aria-label"] ? void 0 : p.labelId, w.autoComplete = "off", w.id = p.inputId, w.role = "combobox", w.value = we.inputValue, w), tt, ie);
1747
- }, [l, p, o, O, m, k, M]), K = ee(function() {
1748
- l({
1747
+ }, [a, p, o, S, m, k, M]), K = ee(function() {
1748
+ a({
1749
1749
  type: dr
1750
1750
  });
1751
- }, [l]), U = ee(function() {
1752
- l({
1751
+ }, [a]), U = ee(function() {
1752
+ a({
1753
1753
  type: pr
1754
1754
  });
1755
- }, [l]), Z = ee(function() {
1756
- l({
1755
+ }, [a]), Z = ee(function() {
1756
+ a({
1757
1757
  type: cr
1758
1758
  });
1759
- }, [l]), j = ee(function(T) {
1760
- l({
1759
+ }, [a]), j = ee(function(T) {
1760
+ a({
1761
1761
  type: fr,
1762
1762
  highlightedIndex: T
1763
1763
  });
1764
- }, [l]), W = ee(function(T) {
1765
- l({
1764
+ }, [a]), W = ee(function(T) {
1765
+ a({
1766
1766
  type: Bt,
1767
1767
  selectedItem: T
1768
1768
  });
1769
- }, [l]), Y = ee(function(T) {
1770
- l({
1769
+ }, [a]), Y = ee(function(T) {
1770
+ a({
1771
1771
  type: hr,
1772
1772
  inputValue: T
1773
1773
  });
1774
- }, [l]), oe = ee(function() {
1775
- l({
1774
+ }, [a]), oe = ee(function() {
1775
+ a({
1776
1776
  type: gr
1777
1777
  });
1778
- }, [l]);
1778
+ }, [a]);
1779
1779
  return {
1780
1780
  // prop getters.
1781
1781
  getItemProps: R,
@@ -1872,7 +1872,7 @@ var zt = process.env.NODE_ENV !== "production" ? "__selected_item_click__" : 0,
1872
1872
  FunctionReset: rn
1873
1873
  });
1874
1874
  function ri(e, n) {
1875
- var r = n.type, i = n.index, o = n.props, t = n.selectedItem, s = e.activeIndex, a = e.selectedItems, d;
1875
+ var r = n.type, i = n.index, o = n.props, t = n.selectedItem, s = e.activeIndex, l = e.selectedItems, d;
1876
1876
  switch (r) {
1877
1877
  case zt:
1878
1878
  d = {
@@ -1886,7 +1886,7 @@ function ri(e, n) {
1886
1886
  break;
1887
1887
  case Yt:
1888
1888
  d = {
1889
- activeIndex: s + 1 >= a.length ? -1 : s + 1
1889
+ activeIndex: s + 1 >= l.length ? -1 : s + 1
1890
1890
  };
1891
1891
  break;
1892
1892
  case qt:
@@ -1894,8 +1894,8 @@ function ri(e, n) {
1894
1894
  if (s < 0)
1895
1895
  break;
1896
1896
  var u = s;
1897
- a.length === 1 ? u = -1 : s === a.length - 1 && (u = a.length - 2), d = $({
1898
- selectedItems: [].concat(a.slice(0, s), a.slice(s + 1))
1897
+ l.length === 1 ? u = -1 : s === l.length - 1 && (u = l.length - 2), d = $({
1898
+ selectedItems: [].concat(l.slice(0, s), l.slice(s + 1))
1899
1899
  }, {
1900
1900
  activeIndex: u
1901
1901
  });
@@ -1903,17 +1903,17 @@ function ri(e, n) {
1903
1903
  }
1904
1904
  case Xt:
1905
1905
  d = {
1906
- activeIndex: a.length - 1
1906
+ activeIndex: l.length - 1
1907
1907
  };
1908
1908
  break;
1909
1909
  case Jt:
1910
1910
  d = {
1911
- selectedItems: a.slice(0, a.length - 1)
1911
+ selectedItems: l.slice(0, l.length - 1)
1912
1912
  };
1913
1913
  break;
1914
1914
  case Zt:
1915
1915
  d = {
1916
- selectedItems: [].concat(a, [t])
1916
+ selectedItems: [].concat(l, [t])
1917
1917
  };
1918
1918
  break;
1919
1919
  case Qt:
@@ -1922,14 +1922,14 @@ function ri(e, n) {
1922
1922
  };
1923
1923
  break;
1924
1924
  case en: {
1925
- var l = s, h = a.findIndex(function(x) {
1925
+ var a = s, h = l.findIndex(function(x) {
1926
1926
  return o.itemToKey(x) === o.itemToKey(t);
1927
1927
  });
1928
1928
  if (h < 0)
1929
1929
  break;
1930
- a.length === 1 ? l = -1 : h === a.length - 1 && (l = a.length - 2), d = {
1931
- selectedItems: [].concat(a.slice(0, h), a.slice(h + 1)),
1932
- activeIndex: l
1930
+ l.length === 1 ? a = -1 : h === l.length - 1 && (a = l.length - 2), d = {
1931
+ selectedItems: [].concat(l.slice(0, h), l.slice(h + 1)),
1932
+ activeIndex: a
1933
1933
  };
1934
1934
  break;
1935
1935
  }
@@ -1959,71 +1959,71 @@ function ri(e, n) {
1959
1959
  return $({}, e, d);
1960
1960
  }
1961
1961
  var oi = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], ii = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"];
1962
- Ne.stateChangeTypes = ni;
1963
- function Ne(e) {
1964
- e === void 0 && (e = {}), Ir(e, Ne);
1965
- var n = $({}, ti, e), r = n.getA11yRemovalMessage, i = n.itemToString, o = n.environment, t = n.keyNavigationNext, s = n.keyNavigationPrevious, a = Vo(ri, n, Jo, Zo), d = a[0], u = a[1], l = d.activeIndex, h = d.selectedItems, b = Xe(), _ = Q(null), x = Q(h), S = Q();
1966
- S.current = [];
1967
- var g = Nt({
1962
+ De.stateChangeTypes = ni;
1963
+ function De(e) {
1964
+ e === void 0 && (e = {}), Ir(e, De);
1965
+ var n = $({}, ti, e), r = n.getA11yRemovalMessage, i = n.itemToString, o = n.environment, t = n.keyNavigationNext, s = n.keyNavigationPrevious, l = Vo(ri, n, Jo, Zo), d = l[0], u = l[1], a = d.activeIndex, h = d.selectedItems, b = Xe(), _ = Q(null), x = Q(h), O = Q();
1966
+ O.current = [];
1967
+ var g = Dt({
1968
1968
  state: d,
1969
1969
  props: n
1970
1970
  });
1971
1971
  de(function() {
1972
1972
  if (!(b || !(o != null && o.document))) {
1973
1973
  if (h.length < x.current.length) {
1974
- var O = x.current.find(function(P) {
1974
+ var S = x.current.find(function(P) {
1975
1975
  return h.findIndex(function(V) {
1976
1976
  return n.itemToKey(V) === n.itemToKey(P);
1977
1977
  }) < 0;
1978
1978
  });
1979
- Ot(r({
1979
+ St(r({
1980
1980
  itemToString: i,
1981
1981
  resultCount: h.length,
1982
- removedSelectedItem: O,
1983
- activeIndex: l,
1984
- activeSelectedItem: h[l]
1982
+ removedSelectedItem: S,
1983
+ activeIndex: a,
1984
+ activeSelectedItem: h[a]
1985
1985
  }), o.document);
1986
1986
  }
1987
1987
  x.current = h;
1988
1988
  }
1989
1989
  }, [h.length]), de(function() {
1990
- b || (l === -1 && _.current ? _.current.focus() : S.current[l] && S.current[l].focus());
1991
- }, [l]), Pt({
1990
+ b || (a === -1 && _.current ? _.current.focus() : O.current[a] && O.current[a].focus());
1991
+ }, [a]), Pt({
1992
1992
  props: n,
1993
1993
  state: d
1994
1994
  });
1995
- var D = Rt("getDropdownProps"), c = Te(function() {
1996
- var O;
1997
- return O = {}, O[s] = function() {
1995
+ var N = Rt("getDropdownProps"), c = Te(function() {
1996
+ var S;
1997
+ return S = {}, S[s] = function() {
1998
1998
  u({
1999
1999
  type: Gt
2000
2000
  });
2001
- }, O[t] = function() {
2001
+ }, S[t] = function() {
2002
2002
  u({
2003
2003
  type: Yt
2004
2004
  });
2005
- }, O.Delete = function() {
2005
+ }, S.Delete = function() {
2006
2006
  u({
2007
2007
  type: Wt
2008
2008
  });
2009
- }, O.Backspace = function() {
2009
+ }, S.Backspace = function() {
2010
2010
  u({
2011
2011
  type: qt
2012
2012
  });
2013
- }, O;
2013
+ }, S;
2014
2014
  }, [u, t, s]), f = Te(function() {
2015
- var O;
2016
- return O = {}, O[s] = function(P) {
2015
+ var S;
2016
+ return S = {}, S[s] = function(P) {
2017
2017
  wn(P) && u({
2018
2018
  type: Xt
2019
2019
  });
2020
- }, O.Backspace = function(V) {
2020
+ }, S.Backspace = function(V) {
2021
2021
  wn(V) && u({
2022
2022
  type: Jt
2023
2023
  });
2024
- }, O;
2025
- }, [u, s]), p = ee(function(O) {
2026
- var P, V = O === void 0 ? {} : O, R = V.refKey, F = R === void 0 ? "ref" : R, L = V.ref, K = V.onClick, U = V.onKeyDown, Z = V.selectedItem, j = V.index, W = ve(V, oi), Y = g.current.state, oe = rr(Z, j, Y.selectedItems, "Pass either item or index to getSelectedItemProps!"), T = oe[1], A = T > -1 && T === Y.activeIndex, w = function() {
2024
+ }, S;
2025
+ }, [u, s]), p = ee(function(S) {
2026
+ var P, V = S === void 0 ? {} : S, R = V.refKey, F = R === void 0 ? "ref" : R, L = V.ref, K = V.onClick, U = V.onKeyDown, Z = V.selectedItem, j = V.index, W = ve(V, oi), Y = g.current.state, oe = rr(Z, j, Y.selectedItems, "Pass either item or index to getSelectedItemProps!"), T = oe[1], A = T > -1 && T === Y.activeIndex, w = function() {
2027
2027
  u({
2028
2028
  type: zt,
2029
2029
  index: T
@@ -2033,11 +2033,11 @@ function Ne(e) {
2033
2033
  B && c[B] && c[B](q);
2034
2034
  };
2035
2035
  return $((P = {}, P[F] = Re(L, function(z) {
2036
- z && S.current.push(z);
2036
+ z && O.current.push(z);
2037
2037
  }), P.tabIndex = A ? 0 : -1, P.onClick = re(K, w), P.onKeyDown = re(U, H), P), W);
2038
- }, [u, g, c]), I = ee(function(O, P) {
2039
- var V, R = O === void 0 ? {} : O, F = R.refKey, L = F === void 0 ? "ref" : F, K = R.ref, U = R.onKeyDown, Z = R.onClick, j = R.preventKeyAction, W = j === void 0 ? !1 : j, Y = ve(R, ii), oe = P === void 0 ? {} : P, T = oe.suppressRefError, A = T === void 0 ? !1 : T;
2040
- D("getDropdownProps", A, L, _);
2038
+ }, [u, g, c]), I = ee(function(S, P) {
2039
+ var V, R = S === void 0 ? {} : S, F = R.refKey, L = F === void 0 ? "ref" : F, K = R.ref, U = R.onKeyDown, Z = R.onClick, j = R.preventKeyAction, W = j === void 0 ? !1 : j, Y = ve(R, ii), oe = P === void 0 ? {} : P, T = oe.suppressRefError, A = T === void 0 ? !1 : T;
2040
+ N("getDropdownProps", A, L, _);
2041
2041
  var w = function(q) {
2042
2042
  var B = Ge(q);
2043
2043
  B && f[B] && f[B](q);
@@ -2052,25 +2052,25 @@ function Ne(e) {
2052
2052
  onKeyDown: re(U, w),
2053
2053
  onClick: re(Z, H)
2054
2054
  }, Y);
2055
- }, [u, f, D]), m = ee(function(O) {
2055
+ }, [u, f, N]), m = ee(function(S) {
2056
2056
  u({
2057
2057
  type: Zt,
2058
- selectedItem: O
2058
+ selectedItem: S
2059
2059
  });
2060
- }, [u]), N = ee(function(O) {
2060
+ }, [u]), D = ee(function(S) {
2061
2061
  u({
2062
2062
  type: en,
2063
- selectedItem: O
2063
+ selectedItem: S
2064
2064
  });
2065
- }, [u]), E = ee(function(O) {
2065
+ }, [u]), E = ee(function(S) {
2066
2066
  u({
2067
2067
  type: tn,
2068
- selectedItems: O
2068
+ selectedItems: S
2069
2069
  });
2070
- }, [u]), k = ee(function(O) {
2070
+ }, [u]), k = ee(function(S) {
2071
2071
  u({
2072
2072
  type: nn,
2073
- activeIndex: O
2073
+ activeIndex: S
2074
2074
  });
2075
2075
  }, [u]), M = ee(function() {
2076
2076
  u({
@@ -2081,12 +2081,12 @@ function Ne(e) {
2081
2081
  getSelectedItemProps: p,
2082
2082
  getDropdownProps: I,
2083
2083
  addSelectedItem: m,
2084
- removeSelectedItem: N,
2084
+ removeSelectedItem: D,
2085
2085
  setSelectedItems: E,
2086
2086
  setActiveIndex: k,
2087
2087
  reset: M,
2088
2088
  selectedItems: h,
2089
- activeIndex: l
2089
+ activeIndex: a
2090
2090
  };
2091
2091
  }
2092
2092
  var ct = { exports: {} }, yr = {
@@ -2549,20 +2549,20 @@ var ct = { exports: {} }, yr = {
2549
2549
  Й: "И",
2550
2550
  ё: "е",
2551
2551
  Ё: "Е"
2552
- }, xr = Object.keys(yr).join("|"), si = new RegExp(xr, "g"), li = new RegExp(xr, "");
2553
- function ai(e) {
2552
+ }, xr = Object.keys(yr).join("|"), si = new RegExp(xr, "g"), ai = new RegExp(xr, "");
2553
+ function li(e) {
2554
2554
  return yr[e];
2555
2555
  }
2556
2556
  var br = function(e) {
2557
- return e.replace(si, ai);
2557
+ return e.replace(si, li);
2558
2558
  }, ui = function(e) {
2559
- return !!e.match(li);
2559
+ return !!e.match(ai);
2560
2560
  };
2561
2561
  ct.exports = br;
2562
2562
  ct.exports.has = ui;
2563
2563
  ct.exports.remove = br;
2564
2564
  var di = ct.exports;
2565
- const ci = /* @__PURE__ */ lo(di);
2565
+ const ci = /* @__PURE__ */ ao(di);
2566
2566
  /**
2567
2567
  * @name match-sorter
2568
2568
  * @license MIT license.
@@ -2585,22 +2585,22 @@ function on(e, n, r) {
2585
2585
  keys: i,
2586
2586
  threshold: o = fe.MATCHES,
2587
2587
  baseSort: t = pi,
2588
- sorter: s = (u) => u.sort((l, h) => mi(l, h, t))
2589
- } = r, a = e.reduce(d, []);
2590
- return s(a).map((u) => {
2588
+ sorter: s = (u) => u.sort((a, h) => mi(a, h, t))
2589
+ } = r, l = e.reduce(d, []);
2590
+ return s(l).map((u) => {
2591
2591
  let {
2592
- item: l
2592
+ item: a
2593
2593
  } = u;
2594
- return l;
2594
+ return a;
2595
2595
  });
2596
- function d(u, l, h) {
2597
- const b = fi(l, i, n, r), {
2596
+ function d(u, a, h) {
2597
+ const b = fi(a, i, n, r), {
2598
2598
  rank: _,
2599
2599
  keyThreshold: x = o
2600
2600
  } = b;
2601
2601
  return _ >= x && u.push({
2602
2602
  ...b,
2603
- item: l,
2603
+ item: a,
2604
2604
  index: h
2605
2605
  }), u;
2606
2606
  }
@@ -2617,25 +2617,25 @@ function fi(e, n, r, i) {
2617
2617
  keyThreshold: i.threshold
2618
2618
  };
2619
2619
  }
2620
- return Ii(e, n).reduce((t, s, a) => {
2620
+ return Ii(e, n).reduce((t, s, l) => {
2621
2621
  let {
2622
2622
  rank: d,
2623
2623
  rankedValue: u,
2624
- keyIndex: l,
2624
+ keyIndex: a,
2625
2625
  keyThreshold: h
2626
2626
  } = t, {
2627
2627
  itemValue: b,
2628
2628
  attributes: _
2629
- } = s, x = En(b, r, i), S = u;
2629
+ } = s, x = En(b, r, i), O = u;
2630
2630
  const {
2631
2631
  minRanking: g,
2632
- maxRanking: D,
2632
+ maxRanking: N,
2633
2633
  threshold: c
2634
2634
  } = _;
2635
- return x < g && x >= fe.MATCHES ? x = g : x > D && (x = D), x > d && (d = x, l = a, h = c, S = b), {
2636
- rankedValue: S,
2635
+ return x < g && x >= fe.MATCHES ? x = g : x > N && (x = N), x > d && (d = x, a = l, h = c, O = b), {
2636
+ rankedValue: O,
2637
2637
  rank: d,
2638
- keyIndex: l,
2638
+ keyIndex: a,
2639
2639
  keyThreshold: h
2640
2640
  };
2641
2641
  }, {
@@ -2658,37 +2658,37 @@ function hi(e) {
2658
2658
  }
2659
2659
  function gi(e, n) {
2660
2660
  let r = 0, i = 0;
2661
- function o(d, u, l) {
2662
- for (let h = l, b = u.length; h < b; h++)
2661
+ function o(d, u, a) {
2662
+ for (let h = a, b = u.length; h < b; h++)
2663
2663
  if (u[h] === d)
2664
2664
  return r += 1, h + 1;
2665
2665
  return -1;
2666
2666
  }
2667
2667
  function t(d) {
2668
- const u = 1 / d, l = r / n.length;
2669
- return fe.MATCHES + l * u;
2668
+ const u = 1 / d, a = r / n.length;
2669
+ return fe.MATCHES + a * u;
2670
2670
  }
2671
2671
  const s = o(n[0], e, 0);
2672
2672
  if (s < 0)
2673
2673
  return fe.NO_MATCH;
2674
2674
  i = s;
2675
2675
  for (let d = 1, u = n.length; d < u; d++) {
2676
- const l = n[d];
2677
- if (i = o(l, e, i), !(i > -1))
2676
+ const a = n[d];
2677
+ if (i = o(a, e, i), !(i > -1))
2678
2678
  return fe.NO_MATCH;
2679
2679
  }
2680
- const a = i - s;
2681
- return t(a);
2680
+ const l = i - s;
2681
+ return t(l);
2682
2682
  }
2683
2683
  function mi(e, n, r) {
2684
2684
  const {
2685
2685
  rank: t,
2686
2686
  keyIndex: s
2687
2687
  } = e, {
2688
- rank: a,
2688
+ rank: l,
2689
2689
  keyIndex: d
2690
2690
  } = n;
2691
- return t === a ? s === d ? r(e, n) : s < d ? -1 : 1 : t > a ? -1 : 1;
2691
+ return t === l ? s === d ? r(e, n) : s < d ? -1 : 1 : t > l ? -1 : 1;
2692
2692
  }
2693
2693
  function Cn(e, n) {
2694
2694
  let {
@@ -2717,39 +2717,39 @@ function _i(e, n) {
2717
2717
  let i = [n];
2718
2718
  for (let o = 0, t = r.length; o < t; o++) {
2719
2719
  const s = r[o];
2720
- let a = [];
2720
+ let l = [];
2721
2721
  for (let d = 0, u = i.length; d < u; d++) {
2722
- const l = i[d];
2723
- if (l != null)
2724
- if (Object.hasOwnProperty.call(l, s)) {
2725
- const h = l[s];
2726
- h != null && a.push(h);
2722
+ const a = i[d];
2723
+ if (a != null)
2724
+ if (Object.hasOwnProperty.call(a, s)) {
2725
+ const h = a[s];
2726
+ h != null && l.push(h);
2727
2727
  } else
2728
- s === "*" && (a = a.concat(l));
2728
+ s === "*" && (l = l.concat(a));
2729
2729
  }
2730
- i = a;
2730
+ i = l;
2731
2731
  }
2732
2732
  return Array.isArray(i[0]) ? [].concat(...i) : i;
2733
2733
  }
2734
2734
  function Ii(e, n) {
2735
2735
  const r = [];
2736
2736
  for (let i = 0, o = n.length; i < o; i++) {
2737
- const t = n[i], s = yi(t), a = vi(e, t);
2738
- for (let d = 0, u = a.length; d < u; d++)
2737
+ const t = n[i], s = yi(t), l = vi(e, t);
2738
+ for (let d = 0, u = l.length; d < u; d++)
2739
2739
  r.push({
2740
- itemValue: a[d],
2740
+ itemValue: l[d],
2741
2741
  attributes: s
2742
2742
  });
2743
2743
  }
2744
2744
  return r;
2745
2745
  }
2746
- const Sn = {
2746
+ const On = {
2747
2747
  maxRanking: 1 / 0,
2748
2748
  minRanking: -1 / 0
2749
2749
  };
2750
2750
  function yi(e) {
2751
- return typeof e == "string" ? Sn : {
2752
- ...Sn,
2751
+ return typeof e == "string" ? On : {
2752
+ ...On,
2753
2753
  ...e
2754
2754
  };
2755
2755
  }
@@ -2761,31 +2761,31 @@ function xi({
2761
2761
  onOpenChange: o,
2762
2762
  onClose: t,
2763
2763
  disableCloseOnClickOutside: s,
2764
- disableCloseOnEscape: a,
2764
+ disableCloseOnEscape: l,
2765
2765
  openOnHover: d,
2766
2766
  fillAvailableHeight: u,
2767
- matchReferenceWidth: l,
2767
+ matchReferenceWidth: a,
2768
2768
  fixedWidth: h,
2769
2769
  disableCaret: b,
2770
2770
  noPadding: _,
2771
2771
  disableShift: x,
2772
- disableFlip: S,
2772
+ disableFlip: O,
2773
2773
  disableFlipFallback: g,
2774
- disableAutoUpdate: D,
2774
+ disableAutoUpdate: N,
2775
2775
  disableFocusLock: c
2776
2776
  } = {}) {
2777
- const [f, p] = J(e), [I, m] = J(), [N, E] = J(), k = i ?? f, M = o ?? p, O = Q(null), P = qr({
2777
+ const [f, p] = J(e), [I, m] = J(), [D, E] = J(), k = i ?? f, M = o ?? p, S = Q(null), P = qr({
2778
2778
  placement: n,
2779
2779
  open: k,
2780
2780
  onOpenChange: M,
2781
- whileElementsMounted: D ? void 0 : Yr,
2781
+ whileElementsMounted: N ? void 0 : Yr,
2782
2782
  middleware: [
2783
2783
  Gr(8),
2784
2784
  Xr({
2785
2785
  padding: 5,
2786
2786
  apply({ rects: Z, availableHeight: j, elements: W }) {
2787
2787
  Object.assign(W.floating.style, {
2788
- ...l ? { width: `${Z.reference.width}px` } : h ? { width: "40dvw" } : {},
2788
+ ...a ? { width: `${Z.reference.width}px` } : h ? { width: "40dvw" } : {},
2789
2789
  ...u ? (
2790
2790
  // { maxHeight: "60dvh" }
2791
2791
  // Minimum height is 236px before flip
@@ -2796,7 +2796,7 @@ function xi({
2796
2796
  }
2797
2797
  }),
2798
2798
  Jr({
2799
- mainAxis: !S,
2799
+ mainAxis: !O,
2800
2800
  crossAxis: !1,
2801
2801
  fallbackAxisSideDirection: g ? "none" : "end",
2802
2802
  padding: 5
@@ -2809,7 +2809,7 @@ function xi({
2809
2809
  mainAxis: !x
2810
2810
  })
2811
2811
  }),
2812
- eo({ element: b ? null : O, padding: 5 })
2812
+ eo({ element: b ? null : S, padding: 5 })
2813
2813
  ]
2814
2814
  }), V = P.context, R = to(V, {
2815
2815
  enabled: i == null && !d
@@ -2817,7 +2817,7 @@ function xi({
2817
2817
  enabled: i == null && !!d,
2818
2818
  handleClose: ro()
2819
2819
  }), L = oo(V, {
2820
- escapeKey: !a,
2820
+ escapeKey: !l,
2821
2821
  outsidePress: () => s ? !1 : (t == null || t(), !0)
2822
2822
  }), K = io(V), U = so([R, F, L, K]);
2823
2823
  return Te(
@@ -2829,17 +2829,17 @@ function xi({
2829
2829
  ...P,
2830
2830
  modal: r,
2831
2831
  labelId: I,
2832
- descriptionId: N,
2832
+ descriptionId: D,
2833
2833
  setLabelId: m,
2834
2834
  setDescriptionId: E,
2835
- arrowRef: O,
2835
+ arrowRef: S,
2836
2836
  disableCaret: b,
2837
2837
  noPadding: _,
2838
2838
  fillAvailableHeight: u,
2839
- matchReferenceWidth: l,
2839
+ matchReferenceWidth: a,
2840
2840
  fixedWidth: h,
2841
2841
  disableFlipFallback: g,
2842
- disableAutoUpdate: D,
2842
+ disableAutoUpdate: N,
2843
2843
  disableFocusLock: c
2844
2844
  }),
2845
2845
  [
@@ -2850,14 +2850,14 @@ function xi({
2850
2850
  P,
2851
2851
  r,
2852
2852
  I,
2853
- N,
2853
+ D,
2854
2854
  b,
2855
2855
  _,
2856
2856
  u,
2857
- l,
2857
+ a,
2858
2858
  h,
2859
2859
  g,
2860
- D,
2860
+ N,
2861
2861
  c
2862
2862
  ]
2863
2863
  );
@@ -2871,6 +2871,7 @@ const wr = dt(null), Je = () => {
2871
2871
  const { children: n } = e, r = Je(), i = Q(null), o = Be([r.refs.setReference, i]);
2872
2872
  return n({
2873
2873
  "data-state": r.open ? "open" : "closed",
2874
+ "data-anv": "popover-trigger",
2874
2875
  ...r.getReferenceProps({ ref: o })
2875
2876
  });
2876
2877
  }, wi = "_content_x4y1q_4", Ei = "_arrow_x4y1q_26", mt = {
@@ -2883,18 +2884,18 @@ const wr = dt(null), Je = () => {
2883
2884
  context: o,
2884
2885
  theme: t,
2885
2886
  mode: s,
2886
- disableCaret: a,
2887
+ disableCaret: l,
2887
2888
  noPadding: d,
2888
2889
  onClose: u,
2889
- disableFocusLock: l,
2890
+ disableFocusLock: a,
2890
2891
  ...h
2891
2892
  } = Je(), b = Be([h.refs.setFloating, i]);
2892
2893
  if (!o.open)
2893
2894
  return null;
2894
2895
  const _ = se(e, mt.content, {
2895
2896
  [mt["no-padding"]]: d
2896
- }), x = (S) => {
2897
- S.code === "Escape" && (u == null || u());
2897
+ }), x = (O) => {
2898
+ O.code === "Escape" && (u == null || u());
2898
2899
  };
2899
2900
  return /* @__PURE__ */ v.jsx(Ur, { children: /* @__PURE__ */ v.jsx(
2900
2901
  zr,
@@ -2902,11 +2903,12 @@ const wr = dt(null), Je = () => {
2902
2903
  context: o,
2903
2904
  modal: h.modal,
2904
2905
  order: ["reference", "content"],
2905
- disabled: l,
2906
+ disabled: a,
2906
2907
  children: /* @__PURE__ */ v.jsx(Kr, { theme: t, mode: s, children: /* @__PURE__ */ v.jsxs(
2907
2908
  "div",
2908
2909
  {
2909
2910
  ref: b,
2911
+ "data-anv": "popover-content",
2910
2912
  style: { ...h.floatingStyles, ...n },
2911
2913
  "aria-labelledby": h.labelId,
2912
2914
  "aria-describedby": h.descriptionId,
@@ -2915,7 +2917,7 @@ const wr = dt(null), Je = () => {
2915
2917
  onKeyDown: x,
2916
2918
  role: "presentation",
2917
2919
  children: [
2918
- !a && /* @__PURE__ */ v.jsx(
2920
+ !l && /* @__PURE__ */ v.jsx(
2919
2921
  Wr,
2920
2922
  {
2921
2923
  ref: h.arrowRef,
@@ -2930,13 +2932,14 @@ const wr = dt(null), Je = () => {
2930
2932
  }
2931
2933
  ) });
2932
2934
  }
2933
- ), Si = ce(
2935
+ ), Oi = ce(
2934
2936
  function(e, n) {
2935
2937
  const { setOpen: r, onClose: i } = Je();
2936
2938
  return /* @__PURE__ */ v.jsx(
2937
2939
  qe,
2938
2940
  {
2939
2941
  ref: n,
2942
+ "data-anv": "popover-close",
2940
2943
  ...e,
2941
2944
  onClick: (o) => {
2942
2945
  var t;
@@ -2945,9 +2948,9 @@ const wr = dt(null), Je = () => {
2945
2948
  }
2946
2949
  );
2947
2950
  }
2948
- ), Oi = ce(
2951
+ ), Si = ce(
2949
2952
  function(e, n) {
2950
- const { children: r, size: i, ...o } = e, t = Je(), s = r.ref, a = Be([
2953
+ const { children: r, size: i, ...o } = e, t = Je(), s = r.ref, l = Be([
2951
2954
  t.refs.setReference,
2952
2955
  n,
2953
2956
  s
@@ -2955,16 +2958,17 @@ const wr = dt(null), Je = () => {
2955
2958
  return /* @__PURE__ */ v.jsx(
2956
2959
  qe,
2957
2960
  {
2958
- ref: a,
2961
+ ref: l,
2959
2962
  size: i,
2960
2963
  "data-state": t.open ? "open" : "closed",
2964
+ "data-anv": "popover-button",
2961
2965
  ...t.getReferenceProps(o),
2962
2966
  children: r
2963
2967
  }
2964
2968
  );
2965
2969
  }
2966
2970
  );
2967
- function Di({
2971
+ function Ni({
2968
2972
  children: e,
2969
2973
  modal: n,
2970
2974
  ...r
@@ -2975,13 +2979,13 @@ function Di({
2975
2979
  );
2976
2980
  return /* @__PURE__ */ v.jsx(wr.Provider, { value: s, children: e });
2977
2981
  }
2978
- const sn = Object.assign(Di, {
2982
+ const sn = Object.assign(Ni, {
2979
2983
  Trigger: bi,
2980
- Close: Si,
2984
+ Close: Oi,
2981
2985
  Content: Ci,
2982
- Button: Oi
2983
- }), Er = (e) => /* @__PURE__ */ _e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ _e.createElement("path", { d: "M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z" })), Ni = "_combobox_1jt3w_2", Ri = "_input_1jt3w_30", Pi = "_error_1jt3w_61", ki = "_small_1jt3w_86", Mi = "_large_1jt3w_89", Ti = "_disabled_1jt3w_113", Vi = "_chip_1jt3w_162", Ai = "_prefix_1jt3w_217", Hi = "_suffix_1jt3w_218", ji = "_empty_1jt3w_260", te = {
2984
- combobox: Ni,
2986
+ Button: Si
2987
+ }), Er = (e) => /* @__PURE__ */ _e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ _e.createElement("path", { d: "M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z" })), Di = "_combobox_1jt3w_2", Ri = "_input_1jt3w_30", Pi = "_error_1jt3w_61", ki = "_small_1jt3w_86", Mi = "_large_1jt3w_89", Ti = "_disabled_1jt3w_113", Vi = "_chip_1jt3w_162", Ai = "_prefix_1jt3w_217", Hi = "_suffix_1jt3w_218", ji = "_empty_1jt3w_260", te = {
2988
+ combobox: Di,
2985
2989
  "search-field": "_search-field_1jt3w_6",
2986
2990
  "popover-content": "_popover-content_1jt3w_21",
2987
2991
  "input-wrapper": "_input-wrapper_1jt3w_30",
@@ -3004,9 +3008,9 @@ const sn = Object.assign(Di, {
3004
3008
  suffix: Hi,
3005
3009
  "listview-option": "_listview-option_1jt3w_255",
3006
3010
  empty: ji
3007
- }, ln = dt(null), Qe = function() {
3011
+ }, an = dt(null), Qe = function() {
3008
3012
  const e = Ve(
3009
- ln
3013
+ an
3010
3014
  );
3011
3015
  if (e == null)
3012
3016
  throw new Error("useCombobox must be wrapped in <Combobox />");
@@ -3015,26 +3019,26 @@ const sn = Object.assign(Di, {
3015
3019
  const { multiple: n = !1, ...r } = e;
3016
3020
  return n ? /* @__PURE__ */ v.jsx(Fi, { ...r }) : /* @__PURE__ */ v.jsx($i, { ...r });
3017
3021
  }, $i = function(e) {
3018
- const { layoutStyles: n, componentProps: r } = Se(e), {
3022
+ const { layoutStyles: n, componentProps: r } = Oe(e), {
3019
3023
  className: i,
3020
3024
  style: o,
3021
3025
  children: t,
3022
3026
  open: s,
3023
- items: a,
3027
+ items: l,
3024
3028
  itemToString: d,
3025
3029
  onChange: u,
3026
- onSelectedItemChange: l,
3030
+ onSelectedItemChange: a,
3027
3031
  disableCloseOnClickOutside: h = !1,
3028
3032
  filterOptions: b,
3029
3033
  ..._
3030
- } = r, [x, S] = J(a), [g, D] = J(!1), [c, f] = J(!1), [p, I] = J(!1), [m, N] = J([]);
3034
+ } = r, [x, O] = J(l), [g, N] = J(!1), [c, f] = J(!1), [p, I] = J(!1), [m, D] = J([]);
3031
3035
  function E(j) {
3032
3036
  return d && j ? d(j) : j ? String(j) : "";
3033
3037
  }
3034
3038
  const {
3035
3039
  isOpen: k,
3036
3040
  getLabelProps: M,
3037
- getInputProps: O,
3041
+ getInputProps: S,
3038
3042
  getToggleButtonProps: P,
3039
3043
  getMenuProps: V,
3040
3044
  getItemProps: R,
@@ -3050,10 +3054,10 @@ const sn = Object.assign(Di, {
3050
3054
  return E(j);
3051
3055
  },
3052
3056
  onInputValueChange({ inputValue: j, type: W }) {
3053
- W === ge.stateChangeTypes.InputKeyDownEnter || W === ge.stateChangeTypes.ItemClick ? S(a) : j != null && j !== "" ? S(on(a, j, b)) : S(a);
3057
+ W === ge.stateChangeTypes.InputKeyDownEnter || W === ge.stateChangeTypes.ItemClick ? O(l) : j != null && j !== "" ? O(on(l, j, b)) : O(l);
3054
3058
  },
3055
3059
  onSelectedItemChange({ selectedItem: j, ...W }) {
3056
- u != null && u(j || null), l != null && l({ selectedItem: j, ...W });
3060
+ u != null && u(j || null), a != null && a({ selectedItem: j, ...W });
3057
3061
  },
3058
3062
  onIsOpenChange({ isOpen: j, inputValue: W, selectedItem: Y }) {
3059
3063
  j === !1 && W === "" ? K(null) : j === !1 && U(Y != null ? E(Y) : "");
@@ -3075,7 +3079,7 @@ const sn = Object.assign(Di, {
3075
3079
  }
3076
3080
  });
3077
3081
  return /* @__PURE__ */ v.jsx(
3078
- ln.Provider,
3082
+ an.Provider,
3079
3083
  {
3080
3084
  value: {
3081
3085
  multiple: !1,
@@ -3083,7 +3087,7 @@ const sn = Object.assign(Di, {
3083
3087
  itemToString: E,
3084
3088
  isOpen: k,
3085
3089
  getLabelProps: M,
3086
- getInputProps: O,
3090
+ getInputProps: S,
3087
3091
  getToggleButtonProps: P,
3088
3092
  getMenuProps: V,
3089
3093
  getItemProps: R,
@@ -3091,7 +3095,7 @@ const sn = Object.assign(Di, {
3091
3095
  selectedItem: L,
3092
3096
  selectedItems: [],
3093
3097
  disabledItems: m,
3094
- setDisabledItems: N,
3098
+ setDisabledItems: D,
3095
3099
  getSelectedItemProps: void 0,
3096
3100
  getDropdownProps: void 0,
3097
3101
  reset: void 0,
@@ -3099,51 +3103,59 @@ const sn = Object.assign(Di, {
3099
3103
  selectItem: K,
3100
3104
  inputValue: Z,
3101
3105
  isDisabledOrReadOnly: g,
3102
- setIsDisabledOrReadOnly: D,
3106
+ setIsDisabledOrReadOnly: N,
3103
3107
  hasDisabledPopover: c,
3104
3108
  setHasDisabledPopover: f,
3105
3109
  hasEmpty: p,
3106
3110
  setHasEmpty: I
3107
3111
  },
3108
- children: /* @__PURE__ */ v.jsx("div", { className: i, style: { ...o, ...n }, children: /* @__PURE__ */ v.jsx(
3109
- sn,
3112
+ children: /* @__PURE__ */ v.jsx(
3113
+ "div",
3110
3114
  {
3111
- open: s === !0 ? s : k,
3112
- noPadding: !0,
3113
- disableCaret: !0,
3114
- fillAvailableHeight: !0,
3115
- disableFlipFallback: !0,
3116
- matchReferenceWidth: !0,
3117
- children: t
3115
+ className: i,
3116
+ "data-anv": "combobox",
3117
+ style: { ...o, ...n },
3118
+ children: /* @__PURE__ */ v.jsx(
3119
+ sn,
3120
+ {
3121
+ open: s === !0 ? s : k,
3122
+ noPadding: !0,
3123
+ disableCaret: !0,
3124
+ fillAvailableHeight: !0,
3125
+ disableFlipFallback: !0,
3126
+ matchReferenceWidth: !0,
3127
+ children: t
3128
+ }
3129
+ )
3118
3130
  }
3119
- ) })
3131
+ )
3120
3132
  }
3121
3133
  );
3122
3134
  }, Fi = function(e) {
3123
- const { layoutStyles: n, componentProps: r } = Se(e), {
3135
+ const { layoutStyles: n, componentProps: r } = Oe(e), {
3124
3136
  className: i,
3125
3137
  style: o,
3126
3138
  children: t,
3127
3139
  open: s,
3128
- items: a,
3140
+ items: l,
3129
3141
  itemToString: d,
3130
3142
  onChange: u,
3131
- onSelectedItemChange: l,
3143
+ onSelectedItemChange: a,
3132
3144
  disableCloseOnClickOutside: h = !1,
3133
3145
  filterOptions: b,
3134
3146
  ..._
3135
- } = r, [x, S] = J(a), [g, D] = J(!1), [c, f] = J(!1), [p, I] = J(!1), [m, N] = J(""), [E, k] = J([]), [M, O] = J([]), { getSelectedItemProps: P, getDropdownProps: V, reset: R, removeSelectedItem: F } = Ne({
3147
+ } = r, [x, O] = J(l), [g, N] = J(!1), [c, f] = J(!1), [p, I] = J(!1), [m, D] = J(""), [E, k] = J([]), [M, S] = J([]), { getSelectedItemProps: P, getDropdownProps: V, reset: R, removeSelectedItem: F } = De({
3136
3148
  selectedItems: E,
3137
3149
  onStateChange({ selectedItems: w, type: H }) {
3138
3150
  switch (H) {
3139
- case Ne.stateChangeTypes.SelectedItemKeyDownBackspace:
3140
- case Ne.stateChangeTypes.SelectedItemKeyDownDelete:
3141
- case Ne.stateChangeTypes.DropdownKeyDownBackspace:
3142
- case Ne.stateChangeTypes.FunctionRemoveSelectedItem:
3151
+ case De.stateChangeTypes.SelectedItemKeyDownBackspace:
3152
+ case De.stateChangeTypes.SelectedItemKeyDownDelete:
3153
+ case De.stateChangeTypes.DropdownKeyDownBackspace:
3154
+ case De.stateChangeTypes.FunctionRemoveSelectedItem:
3143
3155
  u != null && u(w ?? []), k(w ?? []);
3144
3156
  break;
3145
- case Ne.stateChangeTypes.FunctionReset:
3146
- u != null && u([]), k([]), N("");
3157
+ case De.stateChangeTypes.FunctionReset:
3158
+ u != null && u([]), k([]), D("");
3147
3159
  break;
3148
3160
  }
3149
3161
  }
@@ -3170,10 +3182,10 @@ const sn = Object.assign(Di, {
3170
3182
  selectedItem: null,
3171
3183
  inputValue: m,
3172
3184
  onInputValueChange({ inputValue: w, type: H }) {
3173
- H === ge.stateChangeTypes.InputKeyDownEnter || H === ge.stateChangeTypes.ItemClick ? S(a) : w != null && w !== "" ? S(on(a, w, b)) : S(a);
3185
+ H === ge.stateChangeTypes.InputKeyDownEnter || H === ge.stateChangeTypes.ItemClick ? O(l) : w != null && w !== "" ? O(on(l, w, b)) : O(l);
3174
3186
  },
3175
3187
  onIsOpenChange({ isOpen: w }) {
3176
- w === !1 && N("");
3188
+ w === !1 && D("");
3177
3189
  },
3178
3190
  stateReducer(w, { type: H, changes: z }) {
3179
3191
  switch (H) {
@@ -3201,17 +3213,17 @@ const sn = Object.assign(Di, {
3201
3213
  case ge.stateChangeTypes.InputBlur:
3202
3214
  if (z) {
3203
3215
  const q = E.includes(z) ? E.filter((B) => B !== z) : [...E, z];
3204
- u != null && u(q), k(q), N("");
3216
+ u != null && u(q), k(q), D("");
3205
3217
  }
3206
3218
  break;
3207
3219
  case ge.stateChangeTypes.InputChange:
3208
- N(w);
3220
+ D(w);
3209
3221
  break;
3210
3222
  }
3211
3223
  }
3212
3224
  });
3213
3225
  return /* @__PURE__ */ v.jsx(
3214
- ln.Provider,
3226
+ an.Provider,
3215
3227
  {
3216
3228
  value: {
3217
3229
  multiple: !0,
@@ -3227,7 +3239,7 @@ const sn = Object.assign(Di, {
3227
3239
  selectedItem: T,
3228
3240
  selectedItems: E,
3229
3241
  disabledItems: M,
3230
- setDisabledItems: O,
3242
+ setDisabledItems: S,
3231
3243
  getSelectedItemProps: P,
3232
3244
  getDropdownProps: V,
3233
3245
  reset: R,
@@ -3235,7 +3247,7 @@ const sn = Object.assign(Di, {
3235
3247
  selectItem: A,
3236
3248
  inputValue: m,
3237
3249
  isDisabledOrReadOnly: g,
3238
- setIsDisabledOrReadOnly: D,
3250
+ setIsDisabledOrReadOnly: N,
3239
3251
  hasDisabledPopover: c,
3240
3252
  setHasDisabledPopover: f,
3241
3253
  hasEmpty: p,
@@ -3263,29 +3275,29 @@ const sn = Object.assign(Di, {
3263
3275
  hint: o,
3264
3276
  description: t,
3265
3277
  required: s,
3266
- moreInfo: a,
3278
+ moreInfo: l,
3267
3279
  openMoreInfo: d,
3268
3280
  disabled: u,
3269
- readOnly: l,
3281
+ readOnly: a,
3270
3282
  prefix: h,
3271
3283
  suffix: b,
3272
3284
  maxRows: _,
3273
3285
  ...x
3274
3286
  }) => {
3275
3287
  const {
3276
- isOpen: S,
3288
+ isOpen: O,
3277
3289
  itemToString: g,
3278
- getLabelProps: D,
3290
+ getLabelProps: N,
3279
3291
  getInputProps: c,
3280
3292
  getToggleButtonProps: f,
3281
3293
  selectedItems: p,
3282
3294
  getSelectedItemProps: I,
3283
3295
  getDropdownProps: m,
3284
- reset: N,
3296
+ reset: D,
3285
3297
  removeSelectedItem: E,
3286
3298
  selectItem: k,
3287
3299
  inputValue: M,
3288
- setIsDisabledOrReadOnly: O,
3300
+ setIsDisabledOrReadOnly: S,
3289
3301
  hasDisabledPopover: P
3290
3302
  } = Qe(), V = Je(), R = se(te["input-wrapper"], {
3291
3303
  [te.small]: r === "small",
@@ -3293,21 +3305,21 @@ const sn = Object.assign(Di, {
3293
3305
  }), F = Ie(), L = Ie(), K = se(te.input, e, {
3294
3306
  [te.error]: i
3295
3307
  });
3296
- de(() => (O(!!(u || l)), () => {
3297
- O(!1);
3298
- }), [u, l, O]);
3308
+ de(() => (S(!!(u || a)), () => {
3309
+ S(!1);
3310
+ }), [u, a, S]);
3299
3311
  let U = `label${F} `;
3300
3312
  U += ` helper${L}`;
3301
3313
  const Z = typeof i != "boolean" ? i : void 0, j = Q(null), [W, Y] = J(!1), [oe, T] = J(!1), [A, w] = J(
3302
3314
  null
3303
3315
  ), [H, z] = J(0);
3304
3316
  wt(() => {
3305
- var B, le;
3317
+ var B, ae;
3306
3318
  if (_ !== void 0) {
3307
3319
  if (W === !1)
3308
- Y(!0), T(!1), w(null), z((ae) => ae + 1);
3320
+ Y(!0), T(!1), w(null), z((le) => le + 1);
3309
3321
  else if ((B = j == null ? void 0 : j.current) != null && B.children) {
3310
- const ae = (le = j == null ? void 0 : j.current) == null ? void 0 : le.children, ue = Array.from(ae).reduce(
3322
+ const le = (ae = j == null ? void 0 : j.current) == null ? void 0 : ae.children, ue = Array.from(le).reduce(
3311
3323
  (C, he) => {
3312
3324
  const ie = he.getBoundingClientRect().top;
3313
3325
  return C.length ? C[C.length - 1].top === ie ? [
@@ -3334,15 +3346,15 @@ const sn = Object.assign(Di, {
3334
3346
  }
3335
3347
  }, [p.length, _, H]);
3336
3348
  const q = oe && _ != null && A !== null ? A : p.length;
3337
- return /* @__PURE__ */ v.jsxs("div", { className: te["search-field"], children: [
3349
+ return /* @__PURE__ */ v.jsxs("div", { className: te["search-field"], "data-anv": "combobox-searchfield", children: [
3338
3350
  /* @__PURE__ */ v.jsxs("div", { children: [
3339
3351
  /* @__PURE__ */ v.jsx(
3340
3352
  bt,
3341
3353
  {
3342
- ...D({
3354
+ ...N({
3343
3355
  id: F,
3344
3356
  required: s,
3345
- moreInfo: a,
3357
+ moreInfo: l,
3346
3358
  openMoreInfo: d
3347
3359
  }),
3348
3360
  children: n
@@ -3364,10 +3376,10 @@ const sn = Object.assign(Di, {
3364
3376
  icon: Vn,
3365
3377
  className: te["close-button"],
3366
3378
  onClick: () => {
3367
- N != null ? N() : k(null);
3379
+ D != null ? D() : k(null);
3368
3380
  },
3369
3381
  tabIndex: -1,
3370
- disabled: u || l
3382
+ disabled: u || a
3371
3383
  }
3372
3384
  ) }) : null,
3373
3385
  P ? null : /* @__PURE__ */ v.jsx("div", { className: te["toggle-button-wrapper"], children: /* @__PURE__ */ v.jsx(
@@ -3377,7 +3389,7 @@ const sn = Object.assign(Di, {
3377
3389
  ...f({
3378
3390
  icon: Er,
3379
3391
  className: te["toggle-button"],
3380
- disabled: u || l
3392
+ disabled: u || a
3381
3393
  }),
3382
3394
  appearance: "ghost",
3383
3395
  size: "small"
@@ -3385,17 +3397,17 @@ const sn = Object.assign(Di, {
3385
3397
  ) })
3386
3398
  ] }),
3387
3399
  /* @__PURE__ */ v.jsxs("div", { className: te["rows-wrapper"], ref: j, children: [
3388
- p.length && E != null && I != null ? p.slice(0, q).map((B, le) => {
3389
- const { onClick: ae, ...ue } = I({
3400
+ p.length && E != null && I != null ? p.slice(0, q).map((B, ae) => {
3401
+ const { onClick: le, ...ue } = I({
3390
3402
  selectedItem: B,
3391
- index: le
3403
+ index: ae
3392
3404
  });
3393
3405
  return /* @__PURE__ */ v.jsx(
3394
3406
  "div",
3395
3407
  {
3396
3408
  className: te["chip-wrapper"],
3397
3409
  children: /* @__PURE__ */ v.jsx(
3398
- an,
3410
+ ln,
3399
3411
  {
3400
3412
  ...ue,
3401
3413
  label: g(B),
@@ -3405,11 +3417,11 @@ const sn = Object.assign(Di, {
3405
3417
  }
3406
3418
  )
3407
3419
  },
3408
- `selected-item-${le}`
3420
+ `selected-item-${ae}`
3409
3421
  );
3410
3422
  }) : null,
3411
3423
  oe && _ != null ? /* @__PURE__ */ v.jsx("div", { className: te["chip-wrapper"], children: /* @__PURE__ */ v.jsx(
3412
- an,
3424
+ ln,
3413
3425
  {
3414
3426
  label: `+${p.length - q}`,
3415
3427
  className: te.chip,
@@ -3432,17 +3444,17 @@ const sn = Object.assign(Di, {
3432
3444
  ...x,
3433
3445
  className: K,
3434
3446
  disabled: u,
3435
- readOnly: l,
3447
+ readOnly: a,
3436
3448
  required: s,
3437
3449
  autoComplete: "off",
3438
3450
  "aria-labelledby": U,
3439
- preventKeyAction: S
3451
+ preventKeyAction: O
3440
3452
  })
3441
3453
  ) : c({
3442
3454
  ...x,
3443
3455
  className: K,
3444
3456
  disabled: u,
3445
- readOnly: l,
3457
+ readOnly: a,
3446
3458
  required: s,
3447
3459
  autoComplete: "off",
3448
3460
  "aria-labelledby": U
@@ -3478,10 +3490,10 @@ const sn = Object.assign(Di, {
3478
3490
  items: o,
3479
3491
  highlightedIndex: t,
3480
3492
  selectedItem: s,
3481
- selectedItems: a,
3493
+ selectedItems: l,
3482
3494
  setHasDisabledPopover: d,
3483
3495
  getMenuProps: u,
3484
- getItemProps: l,
3496
+ getItemProps: a,
3485
3497
  isDisabledOrReadOnly: h
3486
3498
  } = Qe(), b = se(
3487
3499
  te["popover-content"],
@@ -3494,7 +3506,7 @@ const sn = Object.assign(Di, {
3494
3506
  highlightedIndex: t,
3495
3507
  selectedItem: s,
3496
3508
  getMenuProps: u,
3497
- getItemProps: l,
3509
+ getItemProps: a,
3498
3510
  listProps: {
3499
3511
  ...u({}, { suppressRefError: !0 }),
3500
3512
  style: {
@@ -3504,44 +3516,52 @@ const sn = Object.assign(Di, {
3504
3516
  },
3505
3517
  options: o.map((_, x) => ({
3506
3518
  optionProps: {
3507
- ...l({
3519
+ ...a({
3508
3520
  item: _,
3509
3521
  index: x
3510
3522
  }),
3511
- selected: s === _ || a.includes(_),
3523
+ selected: s === _ || l.includes(_),
3512
3524
  disabled: h
3513
3525
  // also see "isItemDisabled" function
3514
3526
  },
3515
3527
  item: _,
3516
3528
  index: x
3517
3529
  }))
3518
- }) : null }) : /* @__PURE__ */ v.jsx(sn.Content, { ...i, className: b, children: e ? e({
3519
- items: o,
3520
- highlightedIndex: t,
3521
- selectedItem: s,
3522
- getMenuProps: u,
3523
- getItemProps: l,
3524
- listProps: {
3525
- ...u({}, { suppressRefError: !0 }),
3526
- style: {
3527
- display: o.length ? void 0 : "none",
3528
- overflow: "auto"
3529
- }
3530
- },
3531
- options: o.map((_, x) => ({
3532
- optionProps: {
3533
- ...l({
3530
+ }) : null }) : /* @__PURE__ */ v.jsx(
3531
+ sn.Content,
3532
+ {
3533
+ "data-anv": "combobox-content",
3534
+ ...i,
3535
+ className: b,
3536
+ children: e ? e({
3537
+ items: o,
3538
+ highlightedIndex: t,
3539
+ selectedItem: s,
3540
+ getMenuProps: u,
3541
+ getItemProps: a,
3542
+ listProps: {
3543
+ ...u({}, { suppressRefError: !0 }),
3544
+ style: {
3545
+ display: o.length ? void 0 : "none",
3546
+ overflow: "auto"
3547
+ }
3548
+ },
3549
+ options: o.map((_, x) => ({
3550
+ optionProps: {
3551
+ ...a({
3552
+ item: _,
3553
+ index: x
3554
+ }),
3555
+ selected: s === _ || l.includes(_),
3556
+ disabled: h
3557
+ // also see "isItemDisabled" function
3558
+ },
3534
3559
  item: _,
3535
3560
  index: x
3536
- }),
3537
- selected: s === _ || a.includes(_),
3538
- disabled: h
3539
- // also see "isItemDisabled" function
3540
- },
3541
- item: _,
3542
- index: x
3543
- }))
3544
- }) : null });
3561
+ }))
3562
+ }) : null
3563
+ }
3564
+ );
3545
3565
  }, Ui = function({
3546
3566
  children: e,
3547
3567
  ...n
@@ -3551,6 +3571,7 @@ const sn = Object.assign(Di, {
3551
3571
  "div",
3552
3572
  {
3553
3573
  ...r(n),
3574
+ "data-anv": "combobox-list",
3554
3575
  className: _t.listview,
3555
3576
  style: {
3556
3577
  display: o.length ? void 0 : "none",
@@ -3583,16 +3604,17 @@ const sn = Object.assign(Di, {
3583
3604
  const {
3584
3605
  getItemProps: t,
3585
3606
  multiple: s,
3586
- selectedItem: a,
3607
+ selectedItem: l,
3587
3608
  selectedItems: d,
3588
3609
  disabledItems: u,
3589
- setDisabledItems: l
3610
+ setDisabledItems: a
3590
3611
  } = Qe(), h = n || r && r instanceof Object && "disabled" in r && r.disabled;
3591
- return de(() => (n && !u.includes(r) ? l([...u, r]) : u.includes(r) && l(u.filter((b) => b === r)), () => {
3592
- u.includes(r) && l(u.filter((b) => b === r));
3593
- }), [r, n, l]), s ? /* @__PURE__ */ v.jsx(
3612
+ return de(() => (n && !u.includes(r) ? a([...u, r]) : u.includes(r) && a(u.filter((b) => b === r)), () => {
3613
+ u.includes(r) && a(u.filter((b) => b === r));
3614
+ }), [r, n, a]), s ? /* @__PURE__ */ v.jsx(
3594
3615
  "div",
3595
3616
  {
3617
+ "data-anv": "combobox-item",
3596
3618
  ...t({
3597
3619
  item: r,
3598
3620
  index: i,
@@ -3630,10 +3652,10 @@ const sn = Object.assign(Di, {
3630
3652
  xt,
3631
3653
  {
3632
3654
  "aria-hidden": !0,
3633
- svg: ao,
3655
+ svg: lo,
3634
3656
  inherit: !0,
3635
3657
  className: te.Icon,
3636
- style: { opacity: a === r ? 1 : 0 }
3658
+ style: { opacity: l === r ? 1 : 0 }
3637
3659
  }
3638
3660
  )
3639
3661
  ]
@@ -3646,7 +3668,7 @@ const sn = Object.assign(Di, {
3646
3668
  return de(() => (r(!0), () => {
3647
3669
  r(!1);
3648
3670
  })), n.length ? null : e;
3649
- }, $l = Object.assign(Ki, {
3671
+ }, $a = Object.assign(Ki, {
3650
3672
  SearchField: Li,
3651
3673
  Content: Bi,
3652
3674
  List: Ui,
@@ -3672,25 +3694,25 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3672
3694
  }
3673
3695
  }), Qi = ce(
3674
3696
  function(e, n) {
3675
- const { layoutStyles: r, componentProps: i } = Se(e), {
3697
+ const { layoutStyles: r, componentProps: i } = Oe(e), {
3676
3698
  children: o,
3677
3699
  id: t,
3678
3700
  expanded: s,
3679
- defaultExpanded: a = !1,
3701
+ defaultExpanded: l = !1,
3680
3702
  style: d,
3681
3703
  className: u,
3682
- ...l
3683
- } = i, h = Ie(), [b, _] = J(a);
3704
+ ...a
3705
+ } = i, h = Ie(), [b, _] = J(l);
3684
3706
  function x() {
3685
3707
  _(!0);
3686
3708
  }
3687
- function S() {
3709
+ function O() {
3688
3710
  _(!1);
3689
3711
  }
3690
3712
  function g() {
3691
3713
  _((f) => !f);
3692
3714
  }
3693
- const D = {
3715
+ const N = {
3694
3716
  ...d,
3695
3717
  ...r
3696
3718
  }, c = Te(
@@ -3698,7 +3720,7 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3698
3720
  id: t ?? h,
3699
3721
  isExpanded: s ?? b,
3700
3722
  expanded: x,
3701
- close: S,
3723
+ close: O,
3702
3724
  toggle: g
3703
3725
  }),
3704
3726
  [h, t, b, s]
@@ -3706,23 +3728,23 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3706
3728
  return /* @__PURE__ */ v.jsx(pt.Provider, { value: c, children: /* @__PURE__ */ v.jsx(
3707
3729
  "div",
3708
3730
  {
3709
- "data-anv": "Details",
3731
+ "data-anv": "details",
3710
3732
  ref: n,
3711
3733
  className: se(Me.details, u),
3712
- style: D,
3713
- ...l,
3734
+ style: N,
3735
+ ...a,
3714
3736
  children: o
3715
3737
  }
3716
3738
  ) });
3717
3739
  }
3718
3740
  ), Zi = ce(function({ children: e, onClick: n, className: r, ...i }, o) {
3719
- const { id: t, isExpanded: s, toggle: a } = Ve(pt), d = (...l) => {
3720
- n == null || n(...l), a();
3741
+ const { id: t, isExpanded: s, toggle: l } = Ve(pt), d = (...a) => {
3742
+ n == null || n(...a), l();
3721
3743
  }, u = se(Me.summary, r);
3722
3744
  return /* @__PURE__ */ v.jsxs(
3723
3745
  "button",
3724
3746
  {
3725
- "data-anv": "DetailsSummary",
3747
+ "data-anv": "details-summary",
3726
3748
  "aria-controls": t,
3727
3749
  "aria-expanded": s,
3728
3750
  className: u,
@@ -3754,7 +3776,7 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3754
3776
  style: o,
3755
3777
  ...t
3756
3778
  }, s) {
3757
- const { id: a, isExpanded: d } = Ve(pt), u = {
3779
+ const { id: l, isExpanded: d } = Ve(pt), u = {
3758
3780
  height: r,
3759
3781
  maxHeight: i,
3760
3782
  ...r || i ? { overflow: "auto" } : {},
@@ -3763,8 +3785,8 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3763
3785
  return /* @__PURE__ */ v.jsx(
3764
3786
  "div",
3765
3787
  {
3766
- "data-anv": "DetailsContent",
3767
- id: a,
3788
+ "data-anv": "details-content",
3789
+ id: l,
3768
3790
  className: se(Me["content-wrapper"], {
3769
3791
  [Me.expanded]: d
3770
3792
  }),
@@ -3773,11 +3795,11 @@ const qi = "_details_1sjr5_4", Yi = "_summary_1sjr5_17", Gi = "_arrow_1sjr5_66",
3773
3795
  }
3774
3796
  );
3775
3797
  }
3776
- ), Fl = Object.assign(Qi, {
3798
+ ), Fa = Object.assign(Qi, {
3777
3799
  Summary: Zi,
3778
3800
  Content: ts
3779
3801
  });
3780
- const ns = "_dialog_14ll9_4", rs = "_container_14ll9_19", os = "_content_14ll9_28", is = "_remove_14ll9_40", ss = "_header_14ll9_49", ls = "_footer_14ll9_68", as = "_large_14ll9_78", us = "_fullscreen_14ll9_78", ds = "_sticky_14ll9_98", xe = {
3802
+ const ns = "_dialog_14ll9_4", rs = "_container_14ll9_19", os = "_content_14ll9_28", is = "_remove_14ll9_40", ss = "_header_14ll9_49", as = "_footer_14ll9_68", ls = "_large_14ll9_78", us = "_fullscreen_14ll9_78", ds = "_sticky_14ll9_98", xe = {
3781
3803
  dialog: ns,
3782
3804
  "close-dialog": "_close-dialog_14ll9_1",
3783
3805
  container: rs,
@@ -3788,8 +3810,8 @@ const ns = "_dialog_14ll9_4", rs = "_container_14ll9_19", os = "_content_14ll9_2
3788
3810
  "close-backdrop": "_close-backdrop_14ll9_1",
3789
3811
  header: ss,
3790
3812
  "close-container": "_close-container_14ll9_61",
3791
- footer: ls,
3792
- large: as,
3813
+ footer: as,
3814
+ large: ls,
3793
3815
  fullscreen: us,
3794
3816
  sticky: ds,
3795
3817
  "close-button": "_close-button_14ll9_104"
@@ -3801,6 +3823,7 @@ const ns = "_dialog_14ll9_4", rs = "_container_14ll9_19", os = "_content_14ll9_2
3801
3823
  qe,
3802
3824
  {
3803
3825
  "aria-label": "Close dialog",
3826
+ "data-anv": "dialog-cancel-button",
3804
3827
  onClick: t,
3805
3828
  ref: n,
3806
3829
  ...i
@@ -3808,42 +3831,69 @@ const ns = "_dialog_14ll9_4", rs = "_container_14ll9_19", os = "_content_14ll9_2
3808
3831
  );
3809
3832
  });
3810
3833
  Cr.displayName = "DialogCancelButton";
3811
- const Sr = ce(
3834
+ const Or = ce(
3812
3835
  (e, n) => {
3813
3836
  const { children: r, ...i } = e;
3814
- return /* @__PURE__ */ v.jsxs("header", { className: xe.header, ref: n, ...i, children: [
3815
- /* @__PURE__ */ v.jsx(Tn, { variant: "headline", el: "h1", children: r }),
3816
- /* @__PURE__ */ v.jsx("span", { className: xe["close-container"], children: /* @__PURE__ */ v.jsx(
3817
- Cr,
3818
- {
3819
- className: xe["close-button"],
3820
- size: "small",
3821
- appearance: "ghost",
3822
- "aria-label": "Close dialog",
3823
- icon: Vn
3824
- }
3825
- ) })
3826
- ] });
3837
+ return /* @__PURE__ */ v.jsxs(
3838
+ "header",
3839
+ {
3840
+ className: xe.header,
3841
+ "data-anv": "dialog-header",
3842
+ ref: n,
3843
+ ...i,
3844
+ children: [
3845
+ /* @__PURE__ */ v.jsx(Tn, { variant: "headline", el: "h1", children: r }),
3846
+ /* @__PURE__ */ v.jsx("span", { className: xe["close-container"], children: /* @__PURE__ */ v.jsx(
3847
+ Cr,
3848
+ {
3849
+ className: xe["close-button"],
3850
+ size: "small",
3851
+ appearance: "ghost",
3852
+ "aria-label": "Close dialog",
3853
+ icon: Vn
3854
+ }
3855
+ ) })
3856
+ ]
3857
+ }
3858
+ );
3827
3859
  }
3828
3860
  );
3829
- Sr.displayName = "DialogHeader";
3830
- const Or = ce(
3861
+ Or.displayName = "DialogHeader";
3862
+ const Sr = ce(
3831
3863
  (e, n) => {
3832
3864
  const { children: r, sticky: i = !1, ...o } = e, t = se(xe.footer, {
3833
3865
  [xe.sticky]: i
3834
3866
  });
3835
- return /* @__PURE__ */ v.jsx("footer", { className: t, ref: n, ...o, children: r });
3867
+ return /* @__PURE__ */ v.jsx(
3868
+ "footer",
3869
+ {
3870
+ className: t,
3871
+ "data-anv": "dialog-footer",
3872
+ ref: n,
3873
+ ...o,
3874
+ children: r
3875
+ }
3876
+ );
3836
3877
  }
3837
3878
  );
3838
- Or.displayName = "DialogFooter";
3839
- const Dr = ce(
3879
+ Sr.displayName = "DialogFooter";
3880
+ const Nr = ce(
3840
3881
  (e, n) => {
3841
3882
  const { children: r, ...i } = e, o = se(xe.content, {});
3842
- return /* @__PURE__ */ v.jsx("div", { className: o, ref: n, ...i, children: r });
3883
+ return /* @__PURE__ */ v.jsx(
3884
+ "div",
3885
+ {
3886
+ className: o,
3887
+ "data-anv": "dialog-content",
3888
+ ref: n,
3889
+ ...i,
3890
+ children: r
3891
+ }
3892
+ );
3843
3893
  }
3844
3894
  );
3845
- Dr.displayName = "DialogContent";
3846
- const Nr = dt(null), Rr = ce(
3895
+ Nr.displayName = "DialogContent";
3896
+ const Dr = dt(null), Rr = ce(
3847
3897
  (e, n) => {
3848
3898
  const {
3849
3899
  className: r,
@@ -3851,48 +3901,48 @@ const Nr = dt(null), Rr = ce(
3851
3901
  children: o,
3852
3902
  onOpen: t,
3853
3903
  onClose: s,
3854
- onCancel: a,
3904
+ onCancel: l,
3855
3905
  onClick: d,
3856
3906
  onKeyDown: u,
3857
- fullScreen: l = !1,
3907
+ fullScreen: a = !1,
3858
3908
  disableCloseOnEscape: h = !1,
3859
3909
  disableCloseOnClickOutside: b = !1,
3860
3910
  size: _,
3861
3911
  ...x
3862
- } = e, S = Q(null), g = Q(null), D = Q(null), c = Ie(), [f, p] = J(!1), I = se([xe.dialog], r, {
3863
- [xe.fullscreen]: l,
3912
+ } = e, O = Q(null), g = Q(null), N = Q(null), c = Ie(), [f, p] = J(!1), I = se([xe.dialog], r, {
3913
+ [xe.fullscreen]: a,
3864
3914
  [xe.remove]: f,
3865
3915
  [xe.large]: _ === "large"
3866
- }), m = Hr(S.current), N = m[0], E = m[m.length - 1], k = ee(() => {
3916
+ }), m = Hr(O.current), D = m[0], E = m[m.length - 1], k = ee(() => {
3867
3917
  var R;
3868
- if (D.current) {
3869
- const F = (D.current.dataset.dialogsOpen ? D.current.dataset.dialogsOpen.split(" ") : []).filter((L) => L !== c);
3870
- F.length === 0 ? (D.current.removeAttribute("data-dialogs-open"), (R = D.current) == null || R.classList.remove("dialog-open")) : D.current.dataset.dialogsOpen = F.join(" ");
3918
+ if (N.current) {
3919
+ const F = (N.current.dataset.dialogsOpen ? N.current.dataset.dialogsOpen.split(" ") : []).filter((L) => L !== c);
3920
+ F.length === 0 ? (N.current.removeAttribute("data-dialogs-open"), (R = N.current) == null || R.classList.remove("dialog-open")) : N.current.dataset.dialogsOpen = F.join(" ");
3871
3921
  }
3872
3922
  }, [c]);
3873
3923
  de(() => {
3874
3924
  var R, F, L, K;
3875
3925
  if (i) {
3876
- if (t == null || t(), (R = S.current) == null || R.showModal(), !D.current) {
3877
- const U = (F = S.current) == null ? void 0 : F.closest("body");
3878
- U && (D.current = U);
3926
+ if (t == null || t(), (R = O.current) == null || R.showModal(), !N.current) {
3927
+ const U = (F = O.current) == null ? void 0 : F.closest("body");
3928
+ U && (N.current = U);
3879
3929
  }
3880
- if (!((L = S.current) != null && L.querySelector(":focus")) && (N == null || N.focus()), (K = D.current) == null || K.classList.add("dialog-open"), D.current) {
3881
- const U = D.current.dataset.dialogsOpen ? D.current.dataset.dialogsOpen.split(" ") : [];
3930
+ if (!((L = O.current) != null && L.querySelector(":focus")) && (D == null || D.focus()), (K = N.current) == null || K.classList.add("dialog-open"), N.current) {
3931
+ const U = N.current.dataset.dialogsOpen ? N.current.dataset.dialogsOpen.split(" ") : [];
3882
3932
  if (U.includes(c))
3883
3933
  return;
3884
- U.push(c), D.current.dataset.dialogsOpen = U.join(" ");
3934
+ U.push(c), N.current.dataset.dialogsOpen = U.join(" ");
3885
3935
  }
3886
3936
  return;
3887
3937
  }
3888
3938
  p(!0), setTimeout(() => {
3889
3939
  var U;
3890
- (U = S.current) == null || U.close(), k(), p(!1);
3940
+ (U = O.current) == null || U.close(), k(), p(!1);
3891
3941
  }, 200);
3892
- }, [N, c, t, i, k]);
3942
+ }, [D, c, t, i, k]);
3893
3943
  const M = (R) => {
3894
3944
  R.preventDefault(), !h && (s == null || s());
3895
- }, O = (R) => {
3945
+ }, S = (R) => {
3896
3946
  var F;
3897
3947
  d == null || d(R);
3898
3948
  const L = R.target;
@@ -3903,19 +3953,19 @@ const Nr = dt(null), Rr = ce(
3903
3953
  }
3904
3954
  }, P = (R) => {
3905
3955
  if (u == null || u(R), R.code === "Tab") {
3906
- if (R.shiftKey && R.target === N) {
3956
+ if (R.shiftKey && R.target === D) {
3907
3957
  R.preventDefault(), E == null || E.focus();
3908
3958
  return;
3909
3959
  }
3910
3960
  if (R.target === E && !R.shiftKey) {
3911
- R.preventDefault(), N == null || N.focus();
3961
+ R.preventDefault(), D == null || D.focus();
3912
3962
  return;
3913
3963
  }
3914
3964
  }
3915
3965
  }, V = Te(() => ({ close: () => {
3916
3966
  p(!0), setTimeout(() => {
3917
3967
  var R;
3918
- k(), (R = S.current) == null || R.close(), s == null || s();
3968
+ k(), (R = O.current) == null || R.close(), s == null || s();
3919
3969
  }, 200);
3920
3970
  } }), [s, k]);
3921
3971
  return (
@@ -3925,20 +3975,20 @@ const Nr = dt(null), Rr = ce(
3925
3975
  "dialog",
3926
3976
  {
3927
3977
  className: I,
3928
- "data-anv": "Dialog",
3929
- ref: Be([n, S]),
3978
+ "data-anv": "dialog",
3979
+ ref: Be([n, O]),
3930
3980
  onCancel: M,
3931
- onClick: O,
3981
+ onClick: S,
3932
3982
  onKeyDown: P,
3933
3983
  ...x,
3934
- children: /* @__PURE__ */ v.jsx(Nr.Provider, { value: V, children: /* @__PURE__ */ v.jsx("section", { ref: g, className: xe.container, children: o }) })
3984
+ children: /* @__PURE__ */ v.jsx(Dr.Provider, { value: V, children: /* @__PURE__ */ v.jsx("section", { ref: g, className: xe.container, children: o }) })
3935
3985
  }
3936
3986
  )
3937
3987
  );
3938
3988
  }
3939
3989
  );
3940
3990
  function cs() {
3941
- const e = Ve(Nr);
3991
+ const e = Ve(Dr);
3942
3992
  if (!e)
3943
3993
  throw new Error(
3944
3994
  "useDialogContext must be used within a DialogContextProvider"
@@ -3946,25 +3996,25 @@ function cs() {
3946
3996
  return e;
3947
3997
  }
3948
3998
  Rr.displayName = "Dialog";
3949
- const Ll = Object.assign(Rr, {
3950
- Header: Sr,
3951
- Footer: Or,
3952
- Content: Dr
3999
+ const La = Object.assign(Rr, {
4000
+ Header: Or,
4001
+ Footer: Sr,
4002
+ Content: Nr
3953
4003
  });
3954
4004
  const ps = "_link_1ur2o_4", fs = "_secondary_1ur2o_36", hs = "_quiet_1ur2o_45", $e = {
3955
4005
  link: ps,
3956
4006
  secondary: fs,
3957
4007
  quiet: hs
3958
4008
  }, gs = (e) => /* @__PURE__ */ _e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ _e.createElement("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z" })), ms = ce((e, n) => {
3959
- const { layoutStyles: r, componentProps: i } = Se(e), {
4009
+ const { layoutStyles: r, componentProps: i } = Oe(e), {
3960
4010
  children: o,
3961
4011
  className: t,
3962
4012
  appearance: s = "primary",
3963
- quiet: a,
4013
+ quiet: l,
3964
4014
  style: d,
3965
4015
  ...u
3966
- } = i, l = se([$e.link], t, {
3967
- [$e.quiet]: a,
4016
+ } = i, a = se([$e.link], t, {
4017
+ [$e.quiet]: l,
3968
4018
  [$e.secondary]: s === "secondary"
3969
4019
  }), h = {
3970
4020
  ...d,
@@ -3973,9 +4023,9 @@ const ps = "_link_1ur2o_4", fs = "_secondary_1ur2o_36", hs = "_quiet_1ur2o_45",
3973
4023
  return /* @__PURE__ */ v.jsxs(
3974
4024
  "a",
3975
4025
  {
3976
- className: l,
4026
+ className: a,
3977
4027
  rel: "noopener noreferrer",
3978
- "data-anv": "Link",
4028
+ "data-anv": "link",
3979
4029
  ref: n,
3980
4030
  style: h,
3981
4031
  ...u,
@@ -3987,12 +4037,12 @@ const ps = "_link_1ur2o_4", fs = "_secondary_1ur2o_36", hs = "_quiet_1ur2o_45",
3987
4037
  );
3988
4038
  });
3989
4039
  ms.displayName = "Link";
3990
- const Bl = (e) => {
3991
- const { layoutStyles: n, componentProps: r } = Se(e), { className: i, appearance: o = "primary", quiet: t, style: s } = r, a = se([$e.link], i, {
4040
+ const Ba = (e) => {
4041
+ const { layoutStyles: n, componentProps: r } = Oe(e), { className: i, appearance: o = "primary", quiet: t, style: s } = r, l = se([$e.link], i, {
3992
4042
  [$e.quiet]: t,
3993
4043
  [$e.secondary]: o === "secondary"
3994
4044
  }), d = Object.assign({}, s, n);
3995
- return { linkClassNames: a, styleCombined: d };
4045
+ return { linkClassNames: l, styleCombined: d };
3996
4046
  };
3997
4047
  const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_55", ys = "_horizontal_l5ucx_96", xs = "_truncate_l5ucx_99", ne = {
3998
4048
  overflow: vs,
@@ -4008,7 +4058,7 @@ const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_5
4008
4058
  truncate: xs
4009
4059
  }, Pr = ce(
4010
4060
  (e, n) => {
4011
- const { rows: r = 1, ...i } = e, { layoutStyles: o, componentProps: t } = Se(i), [s, a] = J(!1), { className: d, style: u, children: l, ...h } = t, b = {
4061
+ const { rows: r = 1, ...i } = e, { layoutStyles: o, componentProps: t } = Oe(i), [s, l] = J(!1), { className: d, style: u, children: a, ...h } = t, b = {
4012
4062
  ...u,
4013
4063
  ...o,
4014
4064
  "--overflow-text-row": s ? "initial" : r
@@ -4016,18 +4066,18 @@ const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_5
4016
4066
  if ("expandable" in e && e.expandable === !0) {
4017
4067
  const {
4018
4068
  expandable: x,
4019
- expandText: S,
4069
+ expandText: O,
4020
4070
  collapseText: g,
4021
- onExpand: D,
4071
+ onExpand: N,
4022
4072
  onCollapse: c,
4023
4073
  ...f
4024
- } = h, p = S ?? "Show more...", I = g ?? "Show less...", m = (E) => {
4025
- if (a((k) => !k), s) {
4074
+ } = h, p = O ?? "Show more...", I = g ?? "Show less...", m = (E) => {
4075
+ if (l((k) => !k), s) {
4026
4076
  c == null || c(E);
4027
4077
  return;
4028
4078
  }
4029
- D == null || D(E);
4030
- }, N = se(
4079
+ N == null || N(E);
4080
+ }, D = se(
4031
4081
  [ne["overflow-text"]],
4032
4082
  [ne.expandable],
4033
4083
  {
@@ -4038,11 +4088,12 @@ const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_5
4038
4088
  "div",
4039
4089
  {
4040
4090
  ref: n,
4041
- className: N,
4091
+ className: D,
4042
4092
  style: b,
4093
+ "data-anv": "overflow-text",
4043
4094
  ...f,
4044
4095
  children: [
4045
- /* @__PURE__ */ v.jsx("div", { className: ne.content, children: l }),
4096
+ /* @__PURE__ */ v.jsx("div", { className: ne.content, children: a }),
4046
4097
  /* @__PURE__ */ v.jsx(
4047
4098
  "button",
4048
4099
  {
@@ -4063,8 +4114,9 @@ const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_5
4063
4114
  ref: n,
4064
4115
  className: _,
4065
4116
  style: b,
4117
+ "data-anv": "overflow-text",
4066
4118
  ...h,
4067
- children: /* @__PURE__ */ v.jsx("div", { className: ne.content, children: l })
4119
+ children: /* @__PURE__ */ v.jsx("div", { className: ne.content, children: a })
4068
4120
  }
4069
4121
  );
4070
4122
  }
@@ -4072,17 +4124,17 @@ const vs = "_overflow_l5ucx_2", _s = "_expanded_l5ucx_2", Is = "_content_l5ucx_5
4072
4124
  Pr.displayName = "OverflowText";
4073
4125
  const kr = ce(
4074
4126
  (e, n) => {
4075
- const { layoutStyles: r, componentProps: i } = Se(e), {
4127
+ const { layoutStyles: r, componentProps: i } = Oe(e), {
4076
4128
  children: o,
4077
4129
  className: t,
4078
4130
  direction: s = "column",
4079
- style: a,
4131
+ style: l,
4080
4132
  height: d,
4081
4133
  width: u,
4082
- truncate: l,
4134
+ truncate: a,
4083
4135
  gap: h,
4084
4136
  ...b
4085
- } = i, _ = Q(null), [x, S] = J(!1), [g, D] = J({
4137
+ } = i, _ = Q(null), [x, O] = J(!1), [g, N] = J({
4086
4138
  left: !1,
4087
4139
  right: !1,
4088
4140
  top: !1,
@@ -4092,16 +4144,16 @@ const kr = ce(
4092
4144
  if (!_.current)
4093
4145
  return;
4094
4146
  if (s === "row") {
4095
- const N = _.current.offsetWidth < _.current.scrollWidth;
4096
- D((E) => ({
4147
+ const D = _.current.offsetWidth < _.current.scrollWidth;
4148
+ N((E) => ({
4097
4149
  ...E,
4098
- right: N
4150
+ right: D
4099
4151
  }));
4100
4152
  return;
4101
4153
  }
4102
4154
  const m = _.current.offsetHeight < _.current.scrollHeight;
4103
- D((N) => ({
4104
- ...N,
4155
+ N((D) => ({
4156
+ ...D,
4105
4157
  bottom: m
4106
4158
  }));
4107
4159
  }, [s]);
@@ -4111,7 +4163,7 @@ const kr = ce(
4111
4163
  const m = _.current;
4112
4164
  if (s === "row") {
4113
4165
  const k = m.scrollLeft > 0, M = m.scrollLeft < m.scrollWidth - m.offsetWidth;
4114
- D({
4166
+ N({
4115
4167
  left: k,
4116
4168
  right: M,
4117
4169
  top: !1,
@@ -4119,9 +4171,9 @@ const kr = ce(
4119
4171
  });
4120
4172
  return;
4121
4173
  }
4122
- const N = m.scrollTop > 0, E = m.scrollTop < m.scrollHeight - m.offsetHeight;
4123
- D({
4124
- top: N,
4174
+ const D = m.scrollTop > 0, E = m.scrollTop < m.scrollHeight - m.offsetHeight;
4175
+ N({
4176
+ top: D,
4125
4177
  bottom: E,
4126
4178
  left: !1,
4127
4179
  right: !1
@@ -4129,25 +4181,25 @@ const kr = ce(
4129
4181
  }, f = se([ne.overflow], {
4130
4182
  [ne.vertical]: s === "column",
4131
4183
  [ne.horizontal]: s === "row",
4132
- [ne.truncate]: !!l,
4184
+ [ne.truncate]: !!a,
4133
4185
  [ne.expanded]: x
4134
4186
  });
4135
- if (l) {
4187
+ if (a) {
4136
4188
  const m = {
4137
- ...a,
4189
+ ...l,
4138
4190
  ...r
4139
- }, N = {
4191
+ }, D = {
4140
4192
  minHeight: d ?? void 0
4141
- }, E = typeof l == "object" ? l.expandText : "Show more...", k = typeof l == "object" ? l.collapseText : "Show less...", M = (O) => {
4193
+ }, E = typeof a == "object" ? a.expandText : "Show more...", k = typeof a == "object" ? a.collapseText : "Show less...", M = (S) => {
4142
4194
  var P, V;
4143
- if (S((R) => !R), setTimeout(() => {
4195
+ if (O((R) => !R), setTimeout(() => {
4144
4196
  c();
4145
- }, 100), typeof l == "object") {
4197
+ }, 100), typeof a == "object") {
4146
4198
  if (x) {
4147
- (P = l.onCollapse) == null || P.call(l, O);
4199
+ (P = a.onCollapse) == null || P.call(a, S);
4148
4200
  return;
4149
4201
  }
4150
- (V = l.onExpand) == null || V.call(l, O);
4202
+ (V = a.onExpand) == null || V.call(a, S);
4151
4203
  }
4152
4204
  };
4153
4205
  return /* @__PURE__ */ v.jsxs(
@@ -4156,16 +4208,17 @@ const kr = ce(
4156
4208
  ref: n,
4157
4209
  style: m,
4158
4210
  className: f,
4211
+ "data-anv": "overflow",
4159
4212
  ...b,
4160
4213
  children: [
4161
- g.top && !l ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-top"] }) : null,
4162
- g.left && !l ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-left"] }) : null,
4214
+ g.top && !a ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-top"] }) : null,
4215
+ g.left && !a ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-left"] }) : null,
4163
4216
  /* @__PURE__ */ v.jsx(
4164
4217
  vt,
4165
4218
  {
4166
4219
  className: ne.content,
4167
4220
  onScroll: c,
4168
- style: N,
4221
+ style: D,
4169
4222
  ref: _,
4170
4223
  direction: s,
4171
4224
  gap: h,
@@ -4173,8 +4226,8 @@ const kr = ce(
4173
4226
  children: o
4174
4227
  }
4175
4228
  ),
4176
- g.bottom && !l ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-bottom"] }) : null,
4177
- g.right && !l ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-right"] }) : null,
4229
+ g.bottom && !a ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-bottom"] }) : null,
4230
+ g.right && !a ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-right"] }) : null,
4178
4231
  /* @__PURE__ */ v.jsx(
4179
4232
  "button",
4180
4233
  {
@@ -4188,7 +4241,7 @@ const kr = ce(
4188
4241
  );
4189
4242
  }
4190
4243
  const p = {
4191
- ...a,
4244
+ ...l,
4192
4245
  ...r
4193
4246
  }, I = {
4194
4247
  minHeight: d ?? void 0
@@ -4199,6 +4252,7 @@ const kr = ce(
4199
4252
  ref: n,
4200
4253
  style: p,
4201
4254
  className: f,
4255
+ "data-anv": "overflow",
4202
4256
  ...b,
4203
4257
  children: [
4204
4258
  g.left ? /* @__PURE__ */ v.jsx("div", { className: ne["shadow-left"] }) : null,
@@ -4224,7 +4278,7 @@ const kr = ce(
4224
4278
  }
4225
4279
  );
4226
4280
  kr.displayName = "Overflow";
4227
- const Ul = Object.assign(kr, {
4281
+ const Ua = Object.assign(kr, {
4228
4282
  Text: Pr
4229
4283
  });
4230
4284
  var bs = wt, ws = function(n) {
@@ -4232,7 +4286,7 @@ var bs = wt, ws = function(n) {
4232
4286
  return bs(function() {
4233
4287
  r.current = n;
4234
4288
  }), r;
4235
- }, On = function(n, r) {
4289
+ }, Sn = function(n, r) {
4236
4290
  if (typeof n == "function") {
4237
4291
  n(r);
4238
4292
  return;
@@ -4241,9 +4295,9 @@ var bs = wt, ws = function(n) {
4241
4295
  }, Es = function(n, r) {
4242
4296
  var i = Q();
4243
4297
  return ee(function(o) {
4244
- n.current = o, i.current && On(i.current, null), i.current = r, r && On(r, o);
4298
+ n.current = o, i.current && Sn(i.current, null), i.current = r, r && Sn(r, o);
4245
4299
  }, [r]);
4246
- }, Dn = {
4300
+ }, Nn = {
4247
4301
  "min-height": "0",
4248
4302
  "max-height": "none",
4249
4303
  height: "0",
@@ -4254,33 +4308,33 @@ var bs = wt, ws = function(n) {
4254
4308
  top: "0",
4255
4309
  right: "0"
4256
4310
  }, Cs = function(n) {
4257
- Object.keys(Dn).forEach(function(r) {
4258
- n.style.setProperty(r, Dn[r], "important");
4311
+ Object.keys(Nn).forEach(function(r) {
4312
+ n.style.setProperty(r, Nn[r], "important");
4259
4313
  });
4260
- }, Nn = Cs, pe = null, Rn = function(n, r) {
4314
+ }, Dn = Cs, pe = null, Rn = function(n, r) {
4261
4315
  var i = n.scrollHeight;
4262
4316
  return r.sizingStyle.boxSizing === "border-box" ? i + r.borderSize : i - r.paddingSize;
4263
4317
  };
4264
- function Ss(e, n, r, i) {
4265
- r === void 0 && (r = 1), i === void 0 && (i = 1 / 0), pe || (pe = document.createElement("textarea"), pe.setAttribute("tabindex", "-1"), pe.setAttribute("aria-hidden", "true"), Nn(pe)), pe.parentNode === null && document.body.appendChild(pe);
4266
- var o = e.paddingSize, t = e.borderSize, s = e.sizingStyle, a = s.boxSizing;
4318
+ function Os(e, n, r, i) {
4319
+ r === void 0 && (r = 1), i === void 0 && (i = 1 / 0), pe || (pe = document.createElement("textarea"), pe.setAttribute("tabindex", "-1"), pe.setAttribute("aria-hidden", "true"), Dn(pe)), pe.parentNode === null && document.body.appendChild(pe);
4320
+ var o = e.paddingSize, t = e.borderSize, s = e.sizingStyle, l = s.boxSizing;
4267
4321
  Object.keys(s).forEach(function(b) {
4268
4322
  var _ = b;
4269
4323
  pe.style[_] = s[_];
4270
- }), Nn(pe), pe.value = n;
4324
+ }), Dn(pe), pe.value = n;
4271
4325
  var d = Rn(pe, e);
4272
4326
  pe.value = n, d = Rn(pe, e), pe.value = "x";
4273
- var u = pe.scrollHeight - o, l = u * r;
4274
- a === "border-box" && (l = l + o + t), d = Math.max(l, d);
4327
+ var u = pe.scrollHeight - o, a = u * r;
4328
+ l === "border-box" && (a = a + o + t), d = Math.max(a, d);
4275
4329
  var h = u * i;
4276
- return a === "border-box" && (h = h + o + t), d = Math.min(h, d), [d, u];
4330
+ return l === "border-box" && (h = h + o + t), d = Math.min(h, d), [d, u];
4277
4331
  }
4278
4332
  var Pn = function() {
4279
- }, Os = function(n, r) {
4333
+ }, Ss = function(n, r) {
4280
4334
  return n.reduce(function(i, o) {
4281
4335
  return i[o] = r[o], i;
4282
4336
  }, {});
4283
- }, Ds = [
4337
+ }, Ns = [
4284
4338
  "borderBottomWidth",
4285
4339
  "borderLeftWidth",
4286
4340
  "borderRightWidth",
@@ -4304,14 +4358,14 @@ var Pn = function() {
4304
4358
  "textTransform",
4305
4359
  "width",
4306
4360
  "wordBreak"
4307
- ], Ns = !!document.documentElement.currentStyle, Rs = function(n) {
4361
+ ], Ds = !!document.documentElement.currentStyle, Rs = function(n) {
4308
4362
  var r = window.getComputedStyle(n);
4309
4363
  if (r === null)
4310
4364
  return null;
4311
- var i = Os(Ds, r), o = i.boxSizing;
4365
+ var i = Ss(Ns, r), o = i.boxSizing;
4312
4366
  if (o === "")
4313
4367
  return null;
4314
- Ns && o === "border-box" && (i.width = parseFloat(i.width) + parseFloat(i.borderRightWidth) + parseFloat(i.borderLeftWidth) + parseFloat(i.paddingRight) + parseFloat(i.paddingLeft) + "px");
4368
+ Ds && o === "border-box" && (i.width = parseFloat(i.width) + parseFloat(i.borderRightWidth) + parseFloat(i.borderLeftWidth) + parseFloat(i.paddingRight) + parseFloat(i.paddingLeft) + "px");
4315
4369
  var t = parseFloat(i.paddingBottom) + parseFloat(i.paddingTop), s = parseFloat(i.borderBottomWidth) + parseFloat(i.borderTopWidth);
4316
4370
  return {
4317
4371
  sizingStyle: i,
@@ -4336,20 +4390,20 @@ var ks = function(n) {
4336
4390
  }, Ms = function(n) {
4337
4391
  Mr(document.fonts, "loadingdone", n);
4338
4392
  }, Ts = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], Vs = function(n, r) {
4339
- var i = n.cacheMeasurements, o = n.maxRows, t = n.minRows, s = n.onChange, a = s === void 0 ? Pn : s, d = n.onHeightChange, u = d === void 0 ? Pn : d, l = ve(n, Ts), h = l.value !== void 0, b = _e.useRef(null), _ = Es(b, r), x = _e.useRef(0), S = _e.useRef(), g = function() {
4340
- var f = b.current, p = i && S.current ? S.current : Ps(f);
4393
+ var i = n.cacheMeasurements, o = n.maxRows, t = n.minRows, s = n.onChange, l = s === void 0 ? Pn : s, d = n.onHeightChange, u = d === void 0 ? Pn : d, a = ve(n, Ts), h = a.value !== void 0, b = _e.useRef(null), _ = Es(b, r), x = _e.useRef(0), O = _e.useRef(), g = function() {
4394
+ var f = b.current, p = i && O.current ? O.current : Ps(f);
4341
4395
  if (p) {
4342
- S.current = p;
4343
- var I = Ss(p, f.value || f.placeholder || "x", t, o), m = I[0], N = I[1];
4396
+ O.current = p;
4397
+ var I = Os(p, f.value || f.placeholder || "x", t, o), m = I[0], D = I[1];
4344
4398
  x.current !== m && (x.current = m, f.style.setProperty("height", m + "px", "important"), u(m, {
4345
- rowHeight: N
4399
+ rowHeight: D
4346
4400
  }));
4347
4401
  }
4348
- }, D = function(f) {
4349
- h || g(), a(f);
4402
+ }, N = function(f) {
4403
+ h || g(), l(f);
4350
4404
  };
4351
- return _e.useLayoutEffect(g), ks(g), Ms(g), /* @__PURE__ */ _e.createElement("textarea", $({}, l, {
4352
- onChange: D,
4405
+ return _e.useLayoutEffect(g), ks(g), Ms(g), /* @__PURE__ */ _e.createElement("textarea", $({}, a, {
4406
+ onChange: N,
4353
4407
  ref: _
4354
4408
  }));
4355
4409
  }, As = /* @__PURE__ */ _e.forwardRef(Vs);
@@ -4363,38 +4417,38 @@ const Hs = "_textarea_1bgqi_4", js = "_counter_1bgqi_50", Ks = "_error_1bgqi_62"
4363
4417
  readonly: Fs
4364
4418
  }, Ls = ce(
4365
4419
  (e, n) => {
4366
- const { layoutStyles: r, componentProps: i } = Se(e), {
4420
+ const { layoutStyles: r, componentProps: i } = Oe(e), {
4367
4421
  className: o,
4368
4422
  disableResize: t,
4369
4423
  error: s,
4370
4424
  // errorAriaLive: errorAriaLiveProp = "assertive",
4371
- hint: a,
4425
+ hint: l,
4372
4426
  description: d,
4373
4427
  label: u,
4374
- moreInfo: l,
4428
+ moreInfo: a,
4375
4429
  onChange: h,
4376
4430
  required: b,
4377
4431
  showCounter: _,
4378
4432
  onFocus: x,
4379
- onBlur: S,
4433
+ onBlur: O,
4380
4434
  id: g,
4381
- maxLength: D,
4435
+ maxLength: N,
4382
4436
  autoHeight: c,
4383
4437
  labelProps: f,
4384
4438
  placeholder: p,
4385
4439
  style: I,
4386
4440
  ...m
4387
- } = i, N = Q(null), [E, k] = J(0), [M, O] = J(!1), [P, V] = J(!1), [R, F] = J("off");
4441
+ } = i, D = Q(null), [E, k] = J(0), [M, S] = J(!1), [P, V] = J(!1), [R, F] = J("off");
4388
4442
  de(() => {
4389
4443
  var H;
4390
- k(((H = N.current) == null ? void 0 : H.defaultValue.length) ?? 0);
4444
+ k(((H = D.current) == null ? void 0 : H.defaultValue.length) ?? 0);
4391
4445
  }, []);
4392
4446
  const L = (H) => {
4393
- h == null || h(H, { value: H.target.value }), E !== H.target.value.length && O(!0), k(H.target.value.length);
4447
+ h == null || h(H, { value: H.target.value }), E !== H.target.value.length && S(!0), k(H.target.value.length);
4394
4448
  }, K = (H) => {
4395
4449
  x == null || x(H), V(!0);
4396
4450
  }, U = (H) => {
4397
- S == null || S(H), V(!1), F("off"), O(!1);
4451
+ O == null || O(H), V(!1), F("off"), S(!1);
4398
4452
  }, Z = Ie(), j = g ?? Z, W = Ie(), Y = Ie(), oe = typeof s != "boolean" ? s : void 0, T = se([He.textarea], o, {
4399
4453
  [He.error]: s,
4400
4454
  [He["disable-resize"]]: t,
@@ -4406,14 +4460,14 @@ const Hs = "_textarea_1bgqi_4", js = "_counter_1bgqi_50", Ks = "_error_1bgqi_62"
4406
4460
  "div",
4407
4461
  {
4408
4462
  className: T,
4409
- "data-anv": "Textarea",
4463
+ "data-anv": "textarea",
4410
4464
  style: A,
4411
4465
  children: [
4412
4466
  u ? /* @__PURE__ */ v.jsx(
4413
4467
  bt,
4414
4468
  {
4415
4469
  htmlFor: j,
4416
- moreInfo: l,
4470
+ moreInfo: a,
4417
4471
  openMoreInfo: P,
4418
4472
  required: b,
4419
4473
  ...f,
@@ -4427,9 +4481,9 @@ const Hs = "_textarea_1bgqi_4", js = "_counter_1bgqi_50", Ks = "_error_1bgqi_62"
4427
4481
  onChange: L,
4428
4482
  onFocus: K,
4429
4483
  onBlur: U,
4430
- ref: Be([n, N]),
4484
+ ref: Be([n, D]),
4431
4485
  required: b,
4432
- maxLength: D,
4486
+ maxLength: N,
4433
4487
  id: j,
4434
4488
  placeholder: p,
4435
4489
  ...m,
@@ -4437,12 +4491,12 @@ const Hs = "_textarea_1bgqi_4", js = "_counter_1bgqi_50", Ks = "_error_1bgqi_62"
4437
4491
  "aria-invalid": s ? !!s : void 0
4438
4492
  }
4439
4493
  ),
4440
- a || _ || oe || d ? /* @__PURE__ */ v.jsx(
4494
+ l || _ || oe || d ? /* @__PURE__ */ v.jsx(
4441
4495
  Et,
4442
4496
  {
4443
4497
  id: W,
4444
- hint: a,
4445
- maxLength: D,
4498
+ hint: l,
4499
+ maxLength: N,
4446
4500
  inputLength: E,
4447
4501
  isTyping: M,
4448
4502
  showCounter: _,
@@ -4470,131 +4524,139 @@ const Bs = "_textfield_1acx5_4", Us = "_input_1acx5_17", zs = "_prefix_1acx5_43"
4470
4524
  error: Gs
4471
4525
  }, Xs = ce(
4472
4526
  function(e, n) {
4473
- const { layoutStyles: r, componentProps: i } = Se(e), {
4527
+ const { layoutStyles: r, componentProps: i } = Oe(e), {
4474
4528
  className: o,
4475
4529
  error: t,
4476
4530
  errorAriaLive: s = "assertive",
4477
- label: a,
4531
+ label: l,
4478
4532
  moreInfo: d,
4479
4533
  prefix: u,
4480
- suffix: l,
4534
+ suffix: a,
4481
4535
  size: h,
4482
4536
  type: b = "text",
4483
4537
  required: _,
4484
4538
  onFocus: x,
4485
- onBlur: S,
4539
+ onBlur: O,
4486
4540
  id: g,
4487
- description: D,
4541
+ description: N,
4488
4542
  hint: c,
4489
4543
  loading: f,
4490
4544
  disabled: p,
4491
4545
  labelProps: I,
4492
4546
  style: m,
4493
- placeholder: N,
4547
+ placeholder: D,
4494
4548
  ...E
4495
- } = i, [k, M] = J(!1), [O, P] = J("off"), V = (T) => {
4549
+ } = i, [k, M] = J(!1), [S, P] = J("off"), V = (T) => {
4496
4550
  x == null || x(T), M(!0), P(s);
4497
4551
  }, R = (T) => {
4498
- S == null || S(T), M(!1), P("off");
4552
+ O == null || O(T), M(!1), P("off");
4499
4553
  }, F = Ie(), L = g ?? F, K = Ie(), U = Ie(), Z = Ie(), j = Ie(), W = Q(null), Y = typeof t != "boolean" ? t : void 0, oe = { ...m, ...r };
4500
- return /* @__PURE__ */ v.jsxs("div", { className: se(Ce.textfield, o), style: oe, children: [
4501
- a ? /* @__PURE__ */ v.jsx(
4502
- bt,
4503
- {
4504
- moreInfo: d,
4505
- openMoreInfo: k,
4506
- required: _,
4507
- htmlFor: L,
4508
- ...I,
4509
- children: a
4510
- }
4511
- ) : null,
4512
- /* @__PURE__ */ v.jsxs(
4513
- "div",
4514
- {
4515
- className: se(Ce["input-wrapper"], {
4516
- [Ce.small]: h === "small",
4517
- [Ce.large]: h === "large"
4518
- }),
4519
- role: "presentation",
4520
- onClick: () => {
4521
- var T;
4522
- return (T = W.current) == null ? void 0 : T.focus();
4523
- },
4524
- children: [
4525
- u ? /* @__PURE__ */ v.jsx(
4526
- "div",
4527
- {
4528
- "aria-hidden": !0,
4529
- className: Ce.prefix,
4530
- id: `prefix${K}`,
4531
- children: u
4532
- }
4533
- ) : null,
4534
- /* @__PURE__ */ v.jsx(
4535
- "input",
4536
- {
4537
- id: L,
4538
- className: se(Ce.input, {
4539
- [Ce.error]: t
4540
- }),
4541
- onFocus: V,
4542
- onBlur: R,
4543
- ref: Be([n, W]),
4544
- required: _,
4545
- placeholder: N,
4546
- type: b,
4547
- disabled: p,
4548
- ...E,
4549
- "aria-describedby": [j, Z].join(" "),
4550
- "aria-invalid": t ? !!t : void 0
4551
- }
4552
- ),
4553
- f ? /* @__PURE__ */ v.jsx(Vr, { className: Ce["loading-spinner"] }) : null,
4554
- l ? /* @__PURE__ */ v.jsx(
4555
- "div",
4556
- {
4557
- className: Ce.suffix,
4558
- "aria-hidden": !0,
4559
- id: `suffix${U}`,
4560
- children: l
4561
- }
4562
- ) : null
4563
- ]
4564
- }
4565
- ),
4566
- c || Y || D ? /* @__PURE__ */ v.jsx(
4567
- Et,
4568
- {
4569
- id: Z,
4570
- hint: c,
4571
- errorMessage: Y,
4572
- errorAriaLive: O,
4573
- description: D
4574
- }
4575
- ) : null,
4576
- /* @__PURE__ */ v.jsx(Mn, { "aria-hidden": !0, id: j, children: N })
4577
- ] });
4554
+ return /* @__PURE__ */ v.jsxs(
4555
+ "div",
4556
+ {
4557
+ className: se(Ce.textfield, o),
4558
+ "data-anv": "textfield",
4559
+ style: oe,
4560
+ children: [
4561
+ l ? /* @__PURE__ */ v.jsx(
4562
+ bt,
4563
+ {
4564
+ moreInfo: d,
4565
+ openMoreInfo: k,
4566
+ required: _,
4567
+ htmlFor: L,
4568
+ ...I,
4569
+ children: l
4570
+ }
4571
+ ) : null,
4572
+ /* @__PURE__ */ v.jsxs(
4573
+ "div",
4574
+ {
4575
+ className: se(Ce["input-wrapper"], {
4576
+ [Ce.small]: h === "small",
4577
+ [Ce.large]: h === "large"
4578
+ }),
4579
+ role: "presentation",
4580
+ onClick: () => {
4581
+ var T;
4582
+ return (T = W.current) == null ? void 0 : T.focus();
4583
+ },
4584
+ children: [
4585
+ u ? /* @__PURE__ */ v.jsx(
4586
+ "div",
4587
+ {
4588
+ "aria-hidden": !0,
4589
+ className: Ce.prefix,
4590
+ id: `prefix${K}`,
4591
+ children: u
4592
+ }
4593
+ ) : null,
4594
+ /* @__PURE__ */ v.jsx(
4595
+ "input",
4596
+ {
4597
+ id: L,
4598
+ className: se(Ce.input, {
4599
+ [Ce.error]: t
4600
+ }),
4601
+ onFocus: V,
4602
+ onBlur: R,
4603
+ ref: Be([n, W]),
4604
+ required: _,
4605
+ placeholder: D,
4606
+ type: b,
4607
+ disabled: p,
4608
+ ...E,
4609
+ "aria-describedby": [j, Z].join(" "),
4610
+ "aria-invalid": t ? !!t : void 0
4611
+ }
4612
+ ),
4613
+ f ? /* @__PURE__ */ v.jsx(Vr, { className: Ce["loading-spinner"] }) : null,
4614
+ a ? /* @__PURE__ */ v.jsx(
4615
+ "div",
4616
+ {
4617
+ className: Ce.suffix,
4618
+ "aria-hidden": !0,
4619
+ id: `suffix${U}`,
4620
+ children: a
4621
+ }
4622
+ ) : null
4623
+ ]
4624
+ }
4625
+ ),
4626
+ c || Y || N ? /* @__PURE__ */ v.jsx(
4627
+ Et,
4628
+ {
4629
+ id: Z,
4630
+ hint: c,
4631
+ errorMessage: Y,
4632
+ errorAriaLive: S,
4633
+ description: N
4634
+ }
4635
+ ) : null,
4636
+ /* @__PURE__ */ v.jsx(Mn, { "aria-hidden": !0, id: j, children: D })
4637
+ ]
4638
+ }
4639
+ );
4578
4640
  }
4579
- ), zl = Object.assign(Xs, {});
4641
+ ), za = Object.assign(Xs, {});
4580
4642
  export {
4581
- Or as E,
4582
- Fl as H,
4643
+ $a as C,
4644
+ Sr as E,
4645
+ Fa as H,
4583
4646
  Pr as I,
4584
- Ll as O,
4585
- bi as P,
4586
- Dr as S,
4587
- Bl as V,
4588
- Sr as a,
4647
+ La as O,
4648
+ Nr as S,
4649
+ Ba as V,
4650
+ Or as a,
4589
4651
  sn as b,
4590
- zl as c,
4652
+ za as c,
4591
4653
  Ls as d,
4592
4654
  Ci as h,
4593
- Oi as j,
4594
- Ul as o,
4655
+ Si as j,
4656
+ Ua as o,
4595
4657
  ms as q,
4658
+ bi as v,
4596
4659
  Cr as w,
4597
- $l as x,
4598
- Si as y
4660
+ Oi as y
4599
4661
  };
4600
- //# sourceMappingURL=index-8ee9499c.js.map
4662
+ //# sourceMappingURL=index-d1828774.js.map