@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
@@ -2,11 +2,11 @@ import "./Calendar.css";
2
2
  import { f as S } from "./jsx-runtime-944c88e2-e73fa629.js";
3
3
  import * as et from "react";
4
4
  import { forwardRef as Ze, useRef as Cr, useCallback as Vr, useEffect as Ce, createContext as Wr, useId as Lr, useState as ft, useMemo as $r, useContext as Zr } from "react";
5
- import { k as Vt } from "./Button-d05507c5.js";
5
+ import { k as Vt } from "./Button-45864cc0.js";
6
6
  import { c as Ve } from "./index-e0f6271a.js";
7
7
  import { J as zr } from "./useLayoutPropsUtil-e307abc7-cbe2fb6d.js";
8
8
  import { E as Ar } from "./useSwipe-82769b09-835234e6.js";
9
- import { p as _r } from "./SrOnly-0c13a721.js";
9
+ import { p as _r } from "./SrOnly-864bd4cb.js";
10
10
  class de extends Error {
11
11
  }
12
12
  class qr extends de {
@@ -72,12 +72,12 @@ const c = "numeric", B = "short", A = "long", tt = {
72
72
  minute: c,
73
73
  second: c,
74
74
  timeZoneName: B
75
- }, En = {
75
+ }, xn = {
76
76
  hour: c,
77
77
  minute: c,
78
78
  second: c,
79
79
  timeZoneName: A
80
- }, xn = {
80
+ }, En = {
81
81
  hour: c,
82
82
  minute: c,
83
83
  hourCycle: "h23"
@@ -558,7 +558,7 @@ class ls {
558
558
  this.opts = { style: "long", ...r }, !n && jn() && (this.rtf = Qr(e, r));
559
559
  }
560
560
  format(e, n) {
561
- return this.rtf ? this.rtf.format(e, n) : Es(n, e, this.opts.numeric, this.opts.style !== "long");
561
+ return this.rtf ? this.rtf.format(e, n) : xs(n, e, this.opts.numeric, this.opts.style !== "long");
562
562
  }
563
563
  formatToParts(e, n) {
564
564
  return this.rtf ? this.rtf.formatToParts(e, n) : [];
@@ -580,7 +580,7 @@ class D {
580
580
  );
581
581
  }
582
582
  static create(e, n, r, s, i = !1) {
583
- const a = e || E.defaultLocale, o = a || (i ? "en-US" : Xr()), l = n || E.defaultNumberingSystem, u = r || E.defaultOutputCalendar, d = Dt(s) || E.defaultWeekSettings;
583
+ const a = e || x.defaultLocale, o = a || (i ? "en-US" : Xr()), l = n || x.defaultNumberingSystem, u = r || x.defaultOutputCalendar, d = Dt(s) || x.defaultWeekSettings;
584
584
  return new D(o, l, u, d, a);
585
585
  }
586
586
  static resetCache() {
@@ -809,7 +809,7 @@ function ie(t, e) {
809
809
  return ce(t) ? W.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new cs(t);
810
810
  }
811
811
  let Pt = () => Date.now(), jt = "system", Gt = null, Jt = null, Bt = null, Kt = 60, Qt, Xt = null;
812
- class E {
812
+ class x {
813
813
  /**
814
814
  * Get the callback for returning the current timestamp.
815
815
  * @type {function}
@@ -1148,7 +1148,7 @@ function $e(t, e = 4, n = 1) {
1148
1148
  return (we(t) - r + s) / 7;
1149
1149
  }
1150
1150
  function Nt(t) {
1151
- return t > 99 ? t : t > E.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
1151
+ return t > 99 ? t : t > x.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
1152
1152
  }
1153
1153
  function Jn(t, e, n, r = null) {
1154
1154
  const s = new Date(t), i = {
@@ -1293,7 +1293,7 @@ function Ns(t, e) {
1293
1293
  function Is(t, e) {
1294
1294
  return rr(e)[t.year < 0 ? 0 : 1];
1295
1295
  }
1296
- function Es(t, e, n = "always", r = !1) {
1296
+ function xs(t, e, n = "always", r = !1) {
1297
1297
  const s = {
1298
1298
  years: ["year", "yr."],
1299
1299
  quarters: ["quarter", "qtr."],
@@ -1324,7 +1324,7 @@ function an(t, e) {
1324
1324
  r.literal ? n += r.val : n += e(r.val);
1325
1325
  return n;
1326
1326
  }
1327
- const xs = {
1327
+ const Es = {
1328
1328
  D: tt,
1329
1329
  DD: Tn,
1330
1330
  DDD: vn,
@@ -1332,8 +1332,8 @@ const xs = {
1332
1332
  t: Dn,
1333
1333
  tt: Nn,
1334
1334
  ttt: In,
1335
- tttt: En,
1336
- T: xn,
1335
+ tttt: xn,
1336
+ T: En,
1337
1337
  TT: bn,
1338
1338
  TTT: Fn,
1339
1339
  TTTT: Cn,
@@ -1360,7 +1360,7 @@ class C {
1360
1360
  return r.length > 0 && i.push({ literal: s || /^\s+$/.test(r), val: r }), i;
1361
1361
  }
1362
1362
  static macroTokenToFormatOpts(e) {
1363
- return xs[e];
1363
+ return Es[e];
1364
1364
  }
1365
1365
  constructor(e, n) {
1366
1366
  this.opts = n, this.loc = e, this.systemLoc = null;
@@ -1996,7 +1996,7 @@ class T {
1996
1996
  if (!e)
1997
1997
  throw new $("need to specify a reason the Duration is invalid");
1998
1998
  const r = e instanceof J ? e : new J(e, n);
1999
- if (E.throwOnInvalid)
1999
+ if (x.throwOnInvalid)
2000
2000
  throw new Rr(r);
2001
2001
  return new T({ invalid: r });
2002
2002
  }
@@ -2491,7 +2491,7 @@ class I {
2491
2491
  if (!e)
2492
2492
  throw new $("need to specify a reason the Interval is invalid");
2493
2493
  const r = e instanceof J ? e : new J(e, n);
2494
- if (E.throwOnInvalid)
2494
+ if (x.throwOnInvalid)
2495
2495
  throw new Ur(r);
2496
2496
  return new I({ invalid: r });
2497
2497
  }
@@ -2502,7 +2502,7 @@ class I {
2502
2502
  * @return {Interval}
2503
2503
  */
2504
2504
  static fromDateTimes(e, n) {
2505
- const r = xe(e), s = xe(n), i = wi(r, s);
2505
+ const r = Ee(e), s = Ee(n), i = wi(r, s);
2506
2506
  return i ?? new I({
2507
2507
  start: r,
2508
2508
  end: s
@@ -2515,7 +2515,7 @@ class I {
2515
2515
  * @return {Interval}
2516
2516
  */
2517
2517
  static after(e, n) {
2518
- const r = T.fromDurationLike(n), s = xe(e);
2518
+ const r = T.fromDurationLike(n), s = Ee(e);
2519
2519
  return I.fromDateTimes(s, s.plus(r));
2520
2520
  }
2521
2521
  /**
@@ -2525,7 +2525,7 @@ class I {
2525
2525
  * @return {Interval}
2526
2526
  */
2527
2527
  static before(e, n) {
2528
- const r = T.fromDurationLike(n), s = xe(e);
2528
+ const r = T.fromDurationLike(n), s = Ee(e);
2529
2529
  return I.fromDateTimes(s.minus(r), s);
2530
2530
  }
2531
2531
  /**
@@ -2689,7 +2689,7 @@ class I {
2689
2689
  splitAt(...e) {
2690
2690
  if (!this.isValid)
2691
2691
  return [];
2692
- const n = e.map(xe).filter((a) => this.contains(a)).sort((a, o) => a.toMillis() - o.toMillis()), r = [];
2692
+ const n = e.map(Ee).filter((a) => this.contains(a)).sort((a, o) => a.toMillis() - o.toMillis()), r = [];
2693
2693
  let { s } = this, i = 0;
2694
2694
  for (; s < this.e; ) {
2695
2695
  const a = n[i] || this.e, o = +a > +this.e ? this.e : a;
@@ -2933,7 +2933,7 @@ class Fe {
2933
2933
  * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
2934
2934
  * @return {boolean}
2935
2935
  */
2936
- static hasDST(e = E.defaultZone) {
2936
+ static hasDST(e = x.defaultZone) {
2937
2937
  const n = y.now().setZone(e).set({ month: 12 });
2938
2938
  return !e.isUniversal && n.offset !== n.set({ month: 6 }).offset;
2939
2939
  }
@@ -2960,7 +2960,7 @@ class Fe {
2960
2960
  * @return {Zone}
2961
2961
  */
2962
2962
  static normalizeZone(e) {
2963
- return ie(e, E.defaultZone);
2963
+ return ie(e, x.defaultZone);
2964
2964
  }
2965
2965
  /**
2966
2966
  * Get the weekday on which the week starts according to the given locale.
@@ -3221,7 +3221,7 @@ function Di(t) {
3221
3221
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3222
3222
  }
3223
3223
  function Ni(t, e) {
3224
- const n = j(e), r = j(e, "{2}"), s = j(e, "{3}"), i = j(e, "{4}"), a = j(e, "{6}"), o = j(e, "{1,2}"), l = j(e, "{1,3}"), u = j(e, "{1,6}"), d = j(e, "{1,9}"), m = j(e, "{2,4}"), v = j(e, "{4,6}"), f = (p) => ({ regex: RegExp(Di(p.val)), deser: ([F]) => F, literal: !0 }), x = ((p) => {
3224
+ const n = j(e), r = j(e, "{2}"), s = j(e, "{3}"), i = j(e, "{4}"), a = j(e, "{6}"), o = j(e, "{1,2}"), l = j(e, "{1,3}"), u = j(e, "{1,6}"), d = j(e, "{1,9}"), m = j(e, "{2,4}"), v = j(e, "{4,6}"), f = (p) => ({ regex: RegExp(Di(p.val)), deser: ([F]) => F, literal: !0 }), E = ((p) => {
3225
3225
  if (t.literal)
3226
3226
  return f(p);
3227
3227
  switch (p.val) {
@@ -3329,7 +3329,7 @@ function Ni(t, e) {
3329
3329
  })(t) || {
3330
3330
  invalidReason: Ti
3331
3331
  };
3332
- return x.token = t, x;
3332
+ return E.token = t, E;
3333
3333
  }
3334
3334
  const Ii = {
3335
3335
  year: {
@@ -3373,7 +3373,7 @@ const Ii = {
3373
3373
  short: "ZZZ"
3374
3374
  }
3375
3375
  };
3376
- function Ei(t, e, n) {
3376
+ function xi(t, e, n) {
3377
3377
  const { type: r, value: s } = t;
3378
3378
  if (r === "literal") {
3379
3379
  const l = /^\s+$/.test(s);
@@ -3392,7 +3392,7 @@ function Ei(t, e, n) {
3392
3392
  val: o
3393
3393
  };
3394
3394
  }
3395
- function xi(t) {
3395
+ function Ei(t) {
3396
3396
  return [`^${t.map((n) => n.regex).reduce((n, r) => `${n}(${r.source})`, "")}$`, t];
3397
3397
  }
3398
3398
  function bi(t, e, n) {
@@ -3467,7 +3467,7 @@ function yr(t, e, n) {
3467
3467
  if (i)
3468
3468
  return { input: e, tokens: r, invalidReason: i.invalidReason };
3469
3469
  {
3470
- const [a, o] = xi(s), l = RegExp(a, "i"), [u, d] = bi(e, l, o), [m, v, f] = d ? Fi(d) : [null, null, void 0];
3470
+ const [a, o] = Ei(s), l = RegExp(a, "i"), [u, d] = bi(e, l, o), [m, v, f] = d ? Fi(d) : [null, null, void 0];
3471
3471
  if (ke(d, "a") && ke(d, "H"))
3472
3472
  throw new ge(
3473
3473
  "Can't include meridiem when specifying 24-hour format"
@@ -3483,7 +3483,7 @@ function gr(t, e) {
3483
3483
  if (!t)
3484
3484
  return null;
3485
3485
  const r = C.create(e, t).dtFormatter(Ci()), s = r.formatToParts(), i = r.resolvedOptions();
3486
- return s.map((a) => Ei(a, t, i));
3486
+ return s.map((a) => xi(a, t, i));
3487
3487
  }
3488
3488
  const wt = "Invalid DateTime", mn = 864e13;
3489
3489
  function je(t) {
@@ -3555,7 +3555,7 @@ function yn(t, e) {
3555
3555
  let [l, u] = wr(o, n, t.zone);
3556
3556
  return a !== 0 && (l += a, u = t.zone.offset(l)), { ts: l, o: u };
3557
3557
  }
3558
- function Ee(t, e, n, r, s, i) {
3558
+ function xe(t, e, n, r, s, i) {
3559
3559
  const { setZone: a, zone: o } = n;
3560
3560
  if (t && Object.keys(t).length !== 0 || e) {
3561
3561
  const l = e || o, u = y.fromObject(t, {
@@ -3660,7 +3660,7 @@ function wn(t) {
3660
3660
  }
3661
3661
  }
3662
3662
  function pn(t, e) {
3663
- const n = ie(e.zone, E.defaultZone), r = D.fromObject(e), s = E.now();
3663
+ const n = ie(e.zone, x.defaultZone), r = D.fromObject(e), s = x.now();
3664
3664
  let i, a;
3665
3665
  if (w(t.year))
3666
3666
  i = s;
@@ -3695,9 +3695,9 @@ class y {
3695
3695
  * @access private
3696
3696
  */
3697
3697
  constructor(e) {
3698
- const n = e.zone || E.defaultZone;
3698
+ const n = e.zone || x.defaultZone;
3699
3699
  let r = e.invalid || (Number.isNaN(e.ts) ? new J("invalid input") : null) || (n.isValid ? null : je(n));
3700
- this.ts = w(e.ts) ? E.now() : e.ts;
3700
+ this.ts = w(e.ts) ? x.now() : e.ts;
3701
3701
  let s = null, i = null;
3702
3702
  if (!r)
3703
3703
  if (e.old && e.old.ts === this.ts && e.old.zone.equals(n))
@@ -3783,7 +3783,7 @@ class y {
3783
3783
  const r = ms(e) ? e.valueOf() : NaN;
3784
3784
  if (Number.isNaN(r))
3785
3785
  return y.invalid("invalid input");
3786
- const s = ie(n.zone, E.defaultZone);
3786
+ const s = ie(n.zone, x.defaultZone);
3787
3787
  return s.isValid ? new y({
3788
3788
  ts: r,
3789
3789
  zone: s,
@@ -3804,7 +3804,7 @@ class y {
3804
3804
  if (ce(e))
3805
3805
  return e < -mn || e > mn ? y.invalid("Timestamp out of range") : new y({
3806
3806
  ts: e,
3807
- zone: ie(n.zone, E.defaultZone),
3807
+ zone: ie(n.zone, x.defaultZone),
3808
3808
  loc: D.fromObject(n)
3809
3809
  });
3810
3810
  throw new $(
@@ -3825,7 +3825,7 @@ class y {
3825
3825
  if (ce(e))
3826
3826
  return new y({
3827
3827
  ts: e * 1e3,
3828
- zone: ie(n.zone, E.defaultZone),
3828
+ zone: ie(n.zone, x.defaultZone),
3829
3829
  loc: D.fromObject(n)
3830
3830
  });
3831
3831
  throw new $("fromSeconds requires a numerical input");
@@ -3864,28 +3864,28 @@ class y {
3864
3864
  */
3865
3865
  static fromObject(e, n = {}) {
3866
3866
  e = e || {};
3867
- const r = ie(n.zone, E.defaultZone);
3867
+ const r = ie(n.zone, x.defaultZone);
3868
3868
  if (!r.isValid)
3869
3869
  return y.invalid(je(r));
3870
- const s = D.fromObject(n), i = st(e, wn), { minDaysInFirstWeek: a, startOfWeek: o } = nn(i, s), l = E.now(), u = w(n.specificOffset) ? r.offset(l) : n.specificOffset, d = !w(i.ordinal), m = !w(i.year), v = !w(i.month) || !w(i.day), f = m || v, g = i.weekYear || i.weekNumber;
3870
+ const s = D.fromObject(n), i = st(e, wn), { minDaysInFirstWeek: a, startOfWeek: o } = nn(i, s), l = x.now(), u = w(n.specificOffset) ? r.offset(l) : n.specificOffset, d = !w(i.ordinal), m = !w(i.year), v = !w(i.month) || !w(i.day), f = m || v, g = i.weekYear || i.weekNumber;
3871
3871
  if ((f || d) && g)
3872
3872
  throw new ge(
3873
3873
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
3874
3874
  );
3875
3875
  if (v && d)
3876
3876
  throw new ge("Can't mix ordinal dates with month/day");
3877
- const x = g || i.weekday && !f;
3877
+ const E = g || i.weekday && !f;
3878
3878
  let p, F, _ = Ge(l, u);
3879
- x ? (p = Zi, F = Li, _ = nt(_, a, o)) : d ? (p = zi, F = $i, _ = yt(_)) : (p = kr, F = pr);
3879
+ E ? (p = Zi, F = Li, _ = nt(_, a, o)) : d ? (p = zi, F = $i, _ = yt(_)) : (p = kr, F = pr);
3880
3880
  let L = !1;
3881
3881
  for (const P of p) {
3882
3882
  const fe = i[P];
3883
3883
  w(fe) ? L ? i[P] = F[P] : i[P] = _[P] : L = !0;
3884
3884
  }
3885
- const K = x ? ds(i, a, o) : d ? fs(i) : Yn(i), ae = K || Pn(i);
3885
+ const K = E ? ds(i, a, o) : d ? fs(i) : Yn(i), ae = K || Pn(i);
3886
3886
  if (ae)
3887
3887
  return y.invalid(ae);
3888
- const H = x ? en(i, a, o) : d ? tn(i) : i, [Q, Z] = Ke(H, u, r), Y = new y({
3888
+ const H = E ? en(i, a, o) : d ? tn(i) : i, [Q, Z] = Ke(H, u, r), Y = new y({
3889
3889
  ts: Q,
3890
3890
  zone: r,
3891
3891
  o: Z,
@@ -3914,7 +3914,7 @@ class y {
3914
3914
  */
3915
3915
  static fromISO(e, n = {}) {
3916
3916
  const [r, s] = ri(e);
3917
- return Ee(r, s, n, "ISO 8601", e);
3917
+ return xe(r, s, n, "ISO 8601", e);
3918
3918
  }
3919
3919
  /**
3920
3920
  * Create a DateTime from an RFC 2822 string
@@ -3932,7 +3932,7 @@ class y {
3932
3932
  */
3933
3933
  static fromRFC2822(e, n = {}) {
3934
3934
  const [r, s] = si(e);
3935
- return Ee(r, s, n, "RFC 2822", e);
3935
+ return xe(r, s, n, "RFC 2822", e);
3936
3936
  }
3937
3937
  /**
3938
3938
  * Create a DateTime from an HTTP header date
@@ -3951,7 +3951,7 @@ class y {
3951
3951
  */
3952
3952
  static fromHTTP(e, n = {}) {
3953
3953
  const [r, s] = ii(e);
3954
- return Ee(r, s, n, "HTTP", n);
3954
+ return xe(r, s, n, "HTTP", n);
3955
3955
  }
3956
3956
  /**
3957
3957
  * Create a DateTime from an input string and format string.
@@ -3974,7 +3974,7 @@ class y {
3974
3974
  numberingSystem: i,
3975
3975
  defaultToEN: !0
3976
3976
  }), [o, l, u, d] = Wi(a, e, n);
3977
- return d ? y.invalid(d) : Ee(o, l, r, `format ${n}`, e, u);
3977
+ return d ? y.invalid(d) : xe(o, l, r, `format ${n}`, e, u);
3978
3978
  }
3979
3979
  /**
3980
3980
  * @deprecated use fromFormat instead
@@ -4004,7 +4004,7 @@ class y {
4004
4004
  */
4005
4005
  static fromSQL(e, n = {}) {
4006
4006
  const [r, s] = fi(e);
4007
- return Ee(r, s, n, "SQL", e);
4007
+ return xe(r, s, n, "SQL", e);
4008
4008
  }
4009
4009
  /**
4010
4010
  * Create an invalid DateTime.
@@ -4016,7 +4016,7 @@ class y {
4016
4016
  if (!e)
4017
4017
  throw new $("need to specify a reason the DateTime is invalid");
4018
4018
  const r = e instanceof J ? e : new J(e, n);
4019
- if (E.throwOnInvalid)
4019
+ if (x.throwOnInvalid)
4020
4020
  throw new qr(r);
4021
4021
  return new y({ invalid: r });
4022
4022
  }
@@ -4432,7 +4432,7 @@ class y {
4432
4432
  * @return {DateTime}
4433
4433
  */
4434
4434
  toLocal() {
4435
- return this.setZone(E.defaultZone);
4435
+ return this.setZone(x.defaultZone);
4436
4436
  }
4437
4437
  /**
4438
4438
  * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
@@ -4444,7 +4444,7 @@ class y {
4444
4444
  * @return {DateTime}
4445
4445
  */
4446
4446
  setZone(e, { keepLocalTime: n = !1, keepCalendarTime: r = !1 } = {}) {
4447
- if (e = ie(e, E.defaultZone), e.equals(this.zone))
4447
+ if (e = ie(e, x.defaultZone), e.equals(this.zone))
4448
4448
  return this;
4449
4449
  if (e.isValid) {
4450
4450
  let s = this.ts;
@@ -5088,14 +5088,14 @@ class y {
5088
5088
  * @type {Object}
5089
5089
  */
5090
5090
  static get TIME_WITH_LONG_OFFSET() {
5091
- return En;
5091
+ return xn;
5092
5092
  }
5093
5093
  /**
5094
5094
  * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
5095
5095
  * @type {Object}
5096
5096
  */
5097
5097
  static get TIME_24_SIMPLE() {
5098
- return xn;
5098
+ return En;
5099
5099
  }
5100
5100
  /**
5101
5101
  * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
@@ -5182,7 +5182,7 @@ class y {
5182
5182
  return _n;
5183
5183
  }
5184
5184
  }
5185
- function xe(t) {
5185
+ function Ee(t) {
5186
5186
  if (y.isDateTime(t))
5187
5187
  return t;
5188
5188
  if (t && t.valueOf && ce(t.valueOf()))
@@ -5268,7 +5268,7 @@ function It(t, e, n, r) {
5268
5268
  return;
5269
5269
  }
5270
5270
  }
5271
- const Et = Ze(
5271
+ const xt = Ze(
5272
5272
  (t, e) => {
5273
5273
  const { onClick: n, className: r, ...s } = t, { focusedDate: i, setFocusedDate: a, minDate: o } = ct(), l = (u) => {
5274
5274
  n == null || n(u);
@@ -5292,14 +5292,15 @@ const Et = Ze(
5292
5292
  appearance: "ghost",
5293
5293
  size: "small",
5294
5294
  icon: Xi,
5295
+ "data-anv": "calendar-prev",
5295
5296
  "aria-label": "Previous Month",
5296
5297
  ...s
5297
5298
  }
5298
5299
  );
5299
5300
  }
5300
5301
  );
5301
- Et.displayName = "CalendarPrev";
5302
- const ea = (t) => /* @__PURE__ */ et.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ et.createElement("path", { d: "M9.29 15.88 13.17 12 9.29 8.12a.996.996 0 1 1 1.41-1.41l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3a.996.996 0 0 1-1.41 0c-.38-.39-.39-1.03 0-1.42z" })), xt = Ze(
5302
+ xt.displayName = "CalendarPrev";
5303
+ const ea = (t) => /* @__PURE__ */ et.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ et.createElement("path", { d: "M9.29 15.88 13.17 12 9.29 8.12a.996.996 0 1 1 1.41-1.41l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3a.996.996 0 0 1-1.41 0c-.38-.39-.39-1.03 0-1.42z" })), Et = Ze(
5303
5304
  (t, e) => {
5304
5305
  const { onClick: n, className: r, ...s } = t, { focusedDate: i, setFocusedDate: a, maxDate: o } = ct(), l = (u) => {
5305
5306
  n == null || n(u);
@@ -5323,13 +5324,14 @@ const ea = (t) => /* @__PURE__ */ et.createElement("svg", { xmlns: "http://www.w
5323
5324
  className: Ve(N["controller-button"], r),
5324
5325
  icon: ea,
5325
5326
  "aria-label": "Next Month",
5327
+ "data-anv": "calendar-next",
5326
5328
  ref: e,
5327
5329
  ...s
5328
5330
  }
5329
5331
  );
5330
5332
  }
5331
5333
  );
5332
- xt.displayName = "CalendarNext";
5334
+ Et.displayName = "CalendarNext";
5333
5335
  const bt = Ze(
5334
5336
  (t, e) => {
5335
5337
  const { className: n, ...r } = t, s = ct(), {
@@ -5343,7 +5345,7 @@ const bt = Ze(
5343
5345
  locale: v,
5344
5346
  minDate: f,
5345
5347
  maxDate: g,
5346
- unavailableDates: x,
5348
+ unavailableDates: E,
5347
5349
  timeZone: p,
5348
5350
  controlled: F,
5349
5351
  id: _,
@@ -5353,10 +5355,10 @@ const bt = Ze(
5353
5355
  } = s, H = Cr(!1), Q = Ve(N.grid, n), Z = Vr(
5354
5356
  (h) => {
5355
5357
  if (!(g !== null && h.toMillis() > (g == null ? void 0 : g.toMillis()))) {
5356
- if (re(h, x, p)) {
5358
+ if (re(h, E, p)) {
5357
5359
  let k = h.plus({ days: 1 });
5358
5360
  for (let O = 0; O < 365 && !(g !== null && k.toMillis() > (g == null ? void 0 : g.toMillis())); O++)
5359
- if (re(k, x, p))
5361
+ if (re(k, E, p))
5360
5362
  k = k.plus({ days: 1 });
5361
5363
  else {
5362
5364
  l(k);
@@ -5367,13 +5369,13 @@ const bt = Ze(
5367
5369
  l(h);
5368
5370
  }
5369
5371
  },
5370
- [g, l, p, x]
5372
+ [g, l, p, E]
5371
5373
  ), Y = (h) => {
5372
5374
  if (!(f !== null && h.toMillis() < (f == null ? void 0 : f.toMillis()))) {
5373
- if (re(h, x, p)) {
5375
+ if (re(h, E, p)) {
5374
5376
  let k = h.minus({ days: 1 });
5375
5377
  for (let O = 0; O < 365 && !(f !== null && k.toMillis() < (f == null ? void 0 : f.toMillis())); O++)
5376
- if (re(k, x, p))
5378
+ if (re(k, E, p))
5377
5379
  k = k.minus({ days: 1 });
5378
5380
  else {
5379
5381
  l(k);
@@ -5476,7 +5478,7 @@ const bt = Ze(
5476
5478
  l(k);
5477
5479
  return;
5478
5480
  }
5479
- }, { direction: na, ...Er } = Ar(Ir);
5481
+ }, { direction: na, ...xr } = Ar(Ir);
5480
5482
  return Ce(() => {
5481
5483
  H.current && setTimeout(() => {
5482
5484
  const h = document.getElementById(
@@ -5485,12 +5487,13 @@ const bt = Ze(
5485
5487
  h == null || h.focus();
5486
5488
  }, 100);
5487
5489
  }, [o, _]), Ce(() => {
5488
- re(o, x, p) && Z(o.plus({ days: 1 }));
5489
- }, [o, Z, p, x]), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
5490
+ re(o, E, p) && Z(o.plus({ days: 1 }));
5491
+ }, [o, Z, p, E]), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
5490
5492
  /* @__PURE__ */ S.jsxs(
5491
5493
  "table",
5492
5494
  {
5493
5495
  ref: e,
5496
+ "data-anv": "calendar-month",
5494
5497
  onFocus: () => {
5495
5498
  H.current = !0;
5496
5499
  },
@@ -5501,7 +5504,7 @@ const bt = Ze(
5501
5504
  onMouseLeave: Nr,
5502
5505
  role: "grid",
5503
5506
  ...r,
5504
- ...Er,
5507
+ ...xr,
5505
5508
  children: [
5506
5509
  /* @__PURE__ */ S.jsxs("thead", { "aria-hidden": !0, className: N.weekdays, children: [
5507
5510
  /* @__PURE__ */ S.jsx("tr", { children: De.map((h, k) => /* @__PURE__ */ S.jsx(
@@ -5520,11 +5523,11 @@ const bt = Ze(
5520
5523
  {
5521
5524
  className: N["day-grid"],
5522
5525
  children: Or.map((h, k) => /* @__PURE__ */ S.jsx("tr", { children: h.map((O) => {
5523
- const Rt = !Le(O, o) || Qe(O, f) || Xe(O, g) || re(O, x, p), dt = re(
5526
+ const Rt = !Le(O, o) || Qe(O, f) || Xe(O, g) || re(O, E, p), dt = re(
5524
5527
  O,
5525
- x,
5528
+ E,
5526
5529
  p
5527
- ), Ie = L && u && i.start && !i.end && O.toMillis() > i.start.toMillis() && O.toMillis() <= u.toMillis(), xr = Ve(N.cell, {
5530
+ ), Ie = L && u && i.start && !i.end && O.toMillis() > i.start.toMillis() && O.toMillis() <= u.toMillis(), Er = Ve(N.cell, {
5528
5531
  [N.selected]: !dt && P(O),
5529
5532
  [N["range-first"]]: L && i.start && (i.end || u) && z(O, i.start),
5530
5533
  [N["range-last"]]: L && (i.start && i.end && z(O, i.end) || Ie && z(O, u)),
@@ -5555,7 +5558,7 @@ const bt = Ze(
5555
5558
  onClick: () => Tr(O),
5556
5559
  onFocus: () => vr(O),
5557
5560
  onBlur: () => Mr(),
5558
- className: xr,
5561
+ className: Er,
5559
5562
  onKeyDown: Me,
5560
5563
  onMouseEnter: () => Dr(O),
5561
5564
  tabIndex: z(O, o) ? 0 : -1,
@@ -5596,7 +5599,7 @@ const Ft = Ze(
5596
5599
  range: f
5597
5600
  } = ct(), g = y.fromISO(y.now().toISO(), {
5598
5601
  zone: o
5599
- }).startOf("day"), x = (F) => {
5602
+ }).startOf("day"), E = (F) => {
5600
5603
  if (s(g), !f) {
5601
5604
  u == null || u({
5602
5605
  value: g.startOf("day").toISO() ?? void 0
@@ -5609,9 +5612,10 @@ const Ft = Ze(
5609
5612
  Vt,
5610
5613
  {
5611
5614
  ref: e,
5612
- onClick: x,
5615
+ onClick: E,
5613
5616
  appearance: "secondary",
5614
5617
  disabled: p,
5618
+ "data-anv": "calendar-now",
5615
5619
  size: "small",
5616
5620
  ...r,
5617
5621
  children: "Today"
@@ -5633,14 +5637,14 @@ const Ct = Wr(null), ta = Ze(
5633
5637
  maxDate: v,
5634
5638
  unavailableDates: f = [],
5635
5639
  id: g,
5636
- style: x,
5640
+ style: E,
5637
5641
  value: p,
5638
5642
  defaultValue: F,
5639
5643
  onSelection: _,
5640
5644
  range: L,
5641
5645
  ...K
5642
5646
  } = s, ae = {
5643
- ...x,
5647
+ ...E,
5644
5648
  ...r
5645
5649
  }, H = p ? typeof p == "string" ? V(p, u) : {
5646
5650
  start: p.start ? V(p.start, u) : null,
@@ -5717,14 +5721,15 @@ const Ct = Wr(null), ta = Ze(
5717
5721
  id: g ?? n,
5718
5722
  className: N.calendar,
5719
5723
  style: ae,
5724
+ "data-anv": "calendar",
5720
5725
  ...K,
5721
5726
  children: [
5722
5727
  /* @__PURE__ */ S.jsxs("div", { className: N.header, children: [
5723
5728
  /* @__PURE__ */ S.jsx("span", { className: N.heading, children: Re() }),
5724
5729
  /* @__PURE__ */ S.jsxs("span", { className: N.controller, children: [
5725
5730
  /* @__PURE__ */ S.jsx(Ft, {}),
5726
- /* @__PURE__ */ S.jsx(Et, {}),
5727
- /* @__PURE__ */ S.jsx(xt, {})
5731
+ /* @__PURE__ */ S.jsx(xt, {}),
5732
+ /* @__PURE__ */ S.jsx(Et, {})
5728
5733
  ] })
5729
5734
  ] }),
5730
5735
  /* @__PURE__ */ S.jsx(bt, {})
@@ -5739,14 +5744,15 @@ const Ct = Wr(null), ta = Ze(
5739
5744
  id: g ?? n,
5740
5745
  style: ae,
5741
5746
  className: N.calendar,
5747
+ "data-anv": "calendar",
5742
5748
  ...K,
5743
5749
  children: [
5744
5750
  /* @__PURE__ */ S.jsxs("div", { className: N.header, children: [
5745
5751
  /* @__PURE__ */ S.jsx("span", { className: N.heading, children: Re() }),
5746
5752
  /* @__PURE__ */ S.jsxs("span", { className: N.controller, children: [
5747
5753
  /* @__PURE__ */ S.jsx(Ft, {}),
5748
- /* @__PURE__ */ S.jsx(Et, {}),
5749
- /* @__PURE__ */ S.jsx(xt, {})
5754
+ /* @__PURE__ */ S.jsx(xt, {}),
5755
+ /* @__PURE__ */ S.jsx(Et, {})
5750
5756
  ] })
5751
5757
  ] }),
5752
5758
  /* @__PURE__ */ S.jsx(bt, {})
@@ -5772,4 +5778,4 @@ export {
5772
5778
  xt as r,
5773
5779
  Et as s
5774
5780
  };
5775
- //# sourceMappingURL=Calendar-073dc10d.js.map
5781
+ //# sourceMappingURL=Calendar-c8bc215f.js.map