@konstructio/ui 0.1.2-alpha.11 → 0.1.2-alpha.110

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 (1370) hide show
  1. package/README.md +119 -38
  2. package/dist/AdditionalOptions-D3SZ2WFJ.js +37 -0
  3. package/dist/AlertDialogTrigger-Cdw3C2Tv.js +109 -0
  4. package/dist/AnimatePresence-V0yte2ER.js +186 -0
  5. package/dist/Breadcrumb-CHi5-wVa.js +81 -0
  6. package/dist/CalendarPanel.css +1 -0
  7. package/dist/Checkbox-CrNxsm3G.js +247 -0
  8. package/dist/Combination-CnMM05mt.js +492 -0
  9. package/dist/CommandInput-DiRv6fEA.js +75 -0
  10. package/dist/Counter-DN50BVq6.js +194 -0
  11. package/dist/DayPicker-BtpJg2q3.js +2932 -0
  12. package/dist/DropdownButton-Blhkj-Oi.js +490 -0
  13. package/dist/FlagSelectorList-ClKGwDpS.js +918 -0
  14. package/dist/HamburgerTrigger-DjHmNEJD.js +84 -0
  15. package/dist/ImageUpload-BNZjCUTX.js +186 -0
  16. package/dist/Input-2M2I_H60.js +193 -0
  17. package/dist/Loading-u8hXrFJR.js +25 -0
  18. package/dist/Modal-B6lSyPYQ.js +81 -0
  19. package/dist/Sidebar.css +1 -0
  20. package/dist/Spinner-smR3esbL.js +47 -0
  21. package/dist/StepIndicatorContent-yB2HfOdY.js +36 -0
  22. package/dist/Switch-CPE8v6Zh.js +199 -0
  23. package/dist/Toast-DTb03cfB.js +76 -0
  24. package/dist/Wrapper-BxfB3BDa.js +1068 -0
  25. package/dist/Wrapper-JmStmade.js +113 -0
  26. package/dist/Wrapper-MmlrJppS.js +224 -0
  27. package/dist/assets/icons/components/Accounts.js +23 -0
  28. package/dist/assets/icons/components/Activity.js +23 -0
  29. package/dist/assets/icons/components/AddChart.js +20 -0
  30. package/dist/assets/icons/components/AlertOutline.js +20 -0
  31. package/dist/assets/icons/components/AllSetCheck.js +27 -0
  32. package/dist/assets/icons/components/ApiKey.js +31 -0
  33. package/dist/assets/icons/components/AppRepo.js +20 -0
  34. package/dist/assets/icons/components/Apps.js +20 -0
  35. package/dist/assets/icons/components/Archives.js +20 -0
  36. package/dist/assets/icons/components/ArrowBack.js +20 -0
  37. package/dist/assets/icons/components/ArrowDown.js +20 -0
  38. package/dist/assets/icons/components/ArrowLeft.js +20 -0
  39. package/dist/assets/icons/components/ArrowRight.js +20 -0
  40. package/dist/assets/icons/components/ArrowUp.js +20 -0
  41. package/dist/assets/icons/components/BarChart.js +30 -0
  42. package/dist/assets/icons/components/Billing.js +36 -0
  43. package/dist/assets/icons/components/BookOpen.js +24 -0
  44. package/dist/assets/icons/components/CalendarMonth.js +20 -0
  45. package/dist/assets/icons/components/Check.js +20 -0
  46. package/dist/assets/icons/components/CheckAlt.js +24 -0
  47. package/dist/assets/icons/components/CheckCircleFilled.js +30 -0
  48. package/dist/assets/icons/components/CheckCircleOutline.js +20 -0
  49. package/dist/assets/icons/components/CheckboxMarkedCircleOutline.js +20 -0
  50. package/dist/assets/icons/components/CircumGlobe.js +20 -0
  51. package/dist/assets/icons/components/ClockAlert.js +20 -0
  52. package/dist/assets/icons/components/ClockOutline.js +20 -0
  53. package/dist/assets/icons/components/Close.js +20 -0
  54. package/dist/assets/icons/components/Cloud.js +17 -0
  55. package/dist/assets/icons/components/CloudLockOutline.js +20 -0
  56. package/dist/assets/icons/components/Clusters.js +30 -0
  57. package/dist/assets/icons/components/CogOutline.js +20 -0
  58. package/dist/assets/icons/components/Compute.js +20 -0
  59. package/dist/assets/icons/components/Configure.js +41 -0
  60. package/dist/assets/icons/components/Copy.js +20 -0
  61. package/dist/assets/icons/components/Cpu.js +27 -0
  62. package/dist/assets/icons/components/CpuAlt.js +33 -0
  63. package/dist/assets/icons/components/Cube.js +20 -0
  64. package/dist/assets/icons/components/Dashboard.js +23 -0
  65. package/dist/assets/icons/components/Database.js +33 -0
  66. package/dist/assets/icons/components/Datacenter.js +20 -0
  67. package/dist/assets/icons/components/Delete.js +20 -0
  68. package/dist/assets/icons/components/Deploy.js +41 -0
  69. package/dist/assets/icons/components/Detach.js +20 -0
  70. package/dist/assets/icons/components/Dns.js +23 -0
  71. package/dist/assets/icons/components/Docs.js +40 -0
  72. package/dist/assets/icons/components/DollarSign.js +22 -0
  73. package/dist/assets/icons/components/Download.js +20 -0
  74. package/dist/assets/icons/components/Edit.js +20 -0
  75. package/dist/assets/icons/components/Ellipses.js +20 -0
  76. package/dist/assets/icons/components/Environments.js +22 -0
  77. package/dist/assets/icons/components/Error.js +20 -0
  78. package/dist/assets/icons/components/ErrorOutline.js +20 -0
  79. package/dist/assets/icons/components/Exclamation.js +23 -0
  80. package/dist/assets/icons/components/Firewall.js +23 -0
  81. package/dist/assets/icons/components/FirewallAlt.js +23 -0
  82. package/dist/assets/icons/components/Git.js +20 -0
  83. package/dist/assets/icons/components/GitOpsCatalog.js +27 -0
  84. package/dist/assets/icons/components/Github.js +34 -0
  85. package/dist/assets/icons/components/GridView.js +17 -0
  86. package/dist/assets/icons/components/Help.js +26 -0
  87. package/dist/assets/icons/components/HideOutline.js +23 -0
  88. package/dist/assets/icons/components/Home.js +20 -0
  89. package/dist/assets/icons/components/Home2.js +23 -0
  90. package/dist/assets/icons/components/Id.js +20 -0
  91. package/dist/assets/icons/components/InfoCircle.js +30 -0
  92. package/dist/assets/icons/components/InformationOutline.js +20 -0
  93. package/dist/assets/icons/components/Inventory.js +23 -0
  94. package/dist/assets/icons/components/InvoiceList.js +20 -0
  95. package/dist/assets/icons/components/Key.js +20 -0
  96. package/dist/assets/icons/components/Konstruct.js +23 -0
  97. package/dist/assets/icons/components/Kubernetes.js +29 -0
  98. package/dist/assets/icons/components/LightBulb.js +29 -0
  99. package/dist/assets/icons/components/LoadBalancer.js +20 -0
  100. package/dist/assets/icons/components/LoadBalancerAlt.js +20 -0
  101. package/dist/assets/icons/components/Loader.js +20 -0
  102. package/dist/assets/icons/components/Lock.js +20 -0
  103. package/dist/assets/icons/components/LockAlt.js +21 -0
  104. package/dist/assets/icons/components/LogOut.js +23 -0
  105. package/dist/assets/icons/components/Network.js +20 -0
  106. package/dist/assets/icons/components/NetworkAlt.js +30 -0
  107. package/dist/assets/icons/components/ObjectStorage.js +23 -0
  108. package/dist/assets/icons/components/OrgSettings.js +20 -0
  109. package/dist/assets/icons/components/Organization.js +20 -0
  110. package/dist/assets/icons/components/PagesStack.js +26 -0
  111. package/dist/assets/icons/components/Pageview.js +20 -0
  112. package/dist/assets/icons/components/Pause.js +20 -0
  113. package/dist/assets/icons/components/People.js +20 -0
  114. package/dist/assets/icons/components/PhotoLibrary.js +20 -0
  115. package/dist/assets/icons/components/Pipeline.js +22 -0
  116. package/dist/assets/icons/components/Plus.js +20 -0
  117. package/dist/assets/icons/components/PowerSettings.js +20 -0
  118. package/dist/assets/icons/components/Preview.js +20 -0
  119. package/dist/assets/icons/components/PrivateRegion.js +20 -0
  120. package/dist/assets/icons/components/Profile.js +20 -0
  121. package/dist/assets/icons/components/Quota.js +23 -0
  122. package/dist/assets/icons/components/ReceiptLong.js +17 -0
  123. package/dist/assets/icons/components/Refresh.js +20 -0
  124. package/dist/assets/icons/components/ReservedIp.js +20 -0
  125. package/dist/assets/icons/components/ScatterPlot.js +17 -0
  126. package/dist/assets/icons/components/Search.js +30 -24
  127. package/dist/assets/icons/components/Server.js +20 -0
  128. package/dist/assets/icons/components/SpendStatement.js +70 -0
  129. package/dist/assets/icons/components/SshKey.js +23 -0
  130. package/dist/assets/icons/components/Start.js +20 -0
  131. package/dist/assets/icons/components/TabNew.js +36 -0
  132. package/dist/assets/icons/components/TeamMembers.js +23 -0
  133. package/dist/assets/icons/components/Teams.js +20 -0
  134. package/dist/assets/icons/components/Updated.js +20 -0
  135. package/dist/assets/icons/components/Upload.js +20 -0
  136. package/dist/assets/icons/components/Volume.js +60 -0
  137. package/dist/assets/icons/components/Warning.js +16 -18
  138. package/dist/assets/icons/components/WarningTriangle.js +20 -0
  139. package/dist/assets/icons/components/Webhook.js +44 -0
  140. package/dist/assets/icons/components/X.js +20 -0
  141. package/dist/assets/icons/components/index.js +228 -4
  142. package/dist/assets/icons/components/types.js +0 -0
  143. package/dist/assets/icons/index.js +230 -0
  144. package/dist/chevron-down-BODx0Q7h.js +14 -0
  145. package/dist/chevron-left-B1zWfqll.js +14 -0
  146. package/dist/chevron-right-D4OkgIIT.js +14 -0
  147. package/dist/chevron-up-B8hiVgxZ.js +14 -0
  148. package/dist/{clsx-OuTLNxxd.js → clsx-Cf23UI1w.js} +1 -1
  149. package/dist/components/Alert/Alert.js +56 -46
  150. package/dist/components/Alert/Alert.variants.js +96 -66
  151. package/dist/components/AlertDialog/AlertDialog.js +70 -81
  152. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -5
  153. package/dist/components/AlertDialog/components/index.js +2 -2
  154. package/dist/components/AlertDialog/hooks/useAlertDialog.js +16 -7
  155. package/dist/components/Autocomplete/Autocomplete.js +58 -81
  156. package/dist/components/Autocomplete/Autocomplete.variants.js +2 -3
  157. package/dist/components/Autocomplete/components/List/List.js +27 -43
  158. package/dist/components/Autocomplete/components/List/List.variants.js +8 -20
  159. package/dist/components/Autocomplete/components/index.js +2 -2
  160. package/dist/components/Autocomplete/hooks/useAutocomplete.js +43 -67
  161. package/dist/components/Autocomplete/hooks/useNavigationList.js +41 -53
  162. package/dist/components/Badge/Badge.js +63 -74
  163. package/dist/components/Badge/Badge.variants.js +90 -61
  164. package/dist/components/Breadcrumb/Breadcrumb.js +2 -89
  165. package/dist/components/Breadcrumb/Breadcrumb.variants.js +10 -6
  166. package/dist/components/Breadcrumb/components/BackButton/BackButton.js +41 -0
  167. package/dist/components/Breadcrumb/components/BackButton/BackButton.variants.js +19 -0
  168. package/dist/components/Breadcrumb/components/Item/Item.js +49 -47
  169. package/dist/components/Breadcrumb/components/Item/Item.variants.js +52 -54
  170. package/dist/components/Breadcrumb/components/index.js +4 -2
  171. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -2
  172. package/dist/components/Button/Button.js +21 -39
  173. package/dist/components/Button/Button.variants.js +315 -270
  174. package/dist/components/ButtonGroup/ButtonGroup.js +93 -0
  175. package/dist/components/ButtonGroup/ButtonGroup.variants.js +32 -0
  176. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +60 -0
  177. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +98 -0
  178. package/dist/components/ButtonGroup/components/ButtonGroupItem/index.js +4 -0
  179. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +24 -0
  180. package/dist/components/ButtonGroup/components/ButtonGroupLabel/index.js +4 -0
  181. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +20 -0
  182. package/dist/components/ButtonGroup/components/ButtonGroupMessage/index.js +4 -0
  183. package/dist/components/ButtonGroup/components/index.js +8 -0
  184. package/dist/components/ButtonGroup/hooks/index.js +4 -0
  185. package/dist/components/ButtonGroup/hooks/useButtonGroup.js +54 -0
  186. package/dist/components/Card/Card.js +26 -35
  187. package/dist/components/Card/Card.variants.js +42 -46
  188. package/dist/components/Checkbox/Checkbox.js +2 -353
  189. package/dist/components/Checkbox/Checkbox.variants.js +60 -43
  190. package/dist/components/Command/Command.js +28 -37
  191. package/dist/components/Command/Command.variants.js +3 -3
  192. package/dist/components/Command/components/Command.js +13 -5
  193. package/dist/components/Command/components/CommandEmpty.js +10 -13
  194. package/dist/components/Command/components/CommandGroup.js +8 -14
  195. package/dist/components/Command/components/CommandInput.js +2 -82
  196. package/dist/components/Command/components/CommandItem.js +16 -25
  197. package/dist/components/Command/components/CommandList.js +9 -12
  198. package/dist/components/Command/components/CommandSeparator.js +9 -12
  199. package/dist/components/Command/components/CommandShortcut.js +8 -17
  200. package/dist/components/Command/components/DialogContent.js +19 -28
  201. package/dist/components/Command/components/DialogOverlay.js +10 -16
  202. package/dist/components/Command/components/index.js +16 -16
  203. package/dist/components/Command/contexts/Command.context.js +1 -1
  204. package/dist/components/Command/contexts/Command.provider.js +19 -21
  205. package/dist/components/Command/contexts/index.js +2 -2
  206. package/dist/components/CopyButton/CopyButton.js +63 -0
  207. package/dist/components/CopyButton/CopyButton.variants.js +29 -0
  208. package/dist/components/CopyButton/hooks/index.js +4 -0
  209. package/dist/components/CopyButton/hooks/useCopyToClipboard/useCopyToClipboard.js +22 -0
  210. package/dist/components/Counter/Counter.js +5 -0
  211. package/dist/components/Counter/Counter.variants.js +57 -0
  212. package/dist/components/DateRangePicker/DateRangePicker.js +91 -0
  213. package/dist/components/DateRangePicker/DateRangePicker.variants.js +24 -0
  214. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +82 -0
  215. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +56 -0
  216. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +10 -0
  217. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +38 -0
  218. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +184 -0
  219. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +22 -0
  220. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +87 -0
  221. package/dist/components/DateRangePicker/components/CalendarPanel/components/index.js +12 -0
  222. package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +4 -0
  223. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +12 -0
  224. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +21 -0
  225. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +138 -0
  226. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +93 -0
  227. package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +11 -0
  228. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +70 -0
  229. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +50 -0
  230. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +57 -0
  231. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +57 -0
  232. package/dist/components/DateRangePicker/components/DateTimeInputs/components/index.js +6 -0
  233. package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/index.js +4 -0
  234. package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +150 -0
  235. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +81 -0
  236. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +90 -0
  237. package/dist/components/DateRangePicker/components/RightPanel/RightPanel.js +38 -0
  238. package/dist/components/DateRangePicker/components/index.js +10 -0
  239. package/dist/components/DateRangePicker/constants/index.js +4 -0
  240. package/dist/components/DateRangePicker/constants/presets/presets.js +42 -0
  241. package/dist/components/DateRangePicker/contexts/date-range-picker/date-range-picker.context.js +5 -0
  242. package/dist/components/DateRangePicker/contexts/date-range-picker/date-range-picker.hook.js +10 -0
  243. package/dist/components/DateRangePicker/contexts/date-range-picker/date-range-picker.provider.js +124 -0
  244. package/dist/components/DateRangePicker/contexts/index.js +8 -0
  245. package/dist/components/DateRangePicker/utils/disabled-dates/disabled-dates.js +31 -0
  246. package/dist/components/DateRangePicker/utils/displayed-months/displayed-months.js +12 -0
  247. package/dist/components/DateRangePicker/utils/index.js +26 -0
  248. package/dist/components/DateRangePicker/utils/presets/presets.js +5 -0
  249. package/dist/components/DateRangePicker/utils/right-panel/right-panel.js +9 -0
  250. package/dist/components/DateRangePicker/utils/validation/validation.js +67 -0
  251. package/dist/components/Datepicker/DatePicker.js +46 -2687
  252. package/dist/components/Datepicker/DatePicker.variants.js +3 -3
  253. package/dist/components/Divider/Divider.js +9 -9
  254. package/dist/components/Divider/Divider.variants.js +9 -11
  255. package/dist/components/Drawer/Drawer.js +83 -0
  256. package/dist/components/Drawer/Drawer.variants.js +78 -0
  257. package/dist/components/Drawer/components/Body/Body.js +15 -0
  258. package/dist/components/Drawer/components/Body/index.js +4 -0
  259. package/dist/components/Drawer/components/Footer/Footer.js +15 -0
  260. package/dist/components/Drawer/components/Footer/index.js +4 -0
  261. package/dist/components/Drawer/components/Header/Header.js +16 -0
  262. package/dist/components/Drawer/components/Header/index.js +4 -0
  263. package/dist/components/Drawer/components/index.js +8 -0
  264. package/dist/components/Drawer/constants/index.js +9 -0
  265. package/dist/components/Drawer/contexts/Drawer.context.js +6 -0
  266. package/dist/components/Drawer/contexts/index.js +5 -0
  267. package/dist/components/Drawer/hooks/index.js +4 -0
  268. package/dist/components/Drawer/hooks/useDrawer.js +57 -0
  269. package/dist/components/DropdownButton/DropdownButton.js +2 -133
  270. package/dist/components/Filter/Filter.js +37 -18
  271. package/dist/components/Filter/Filter.variants.js +14 -9
  272. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +69 -91
  273. package/dist/components/Filter/components/BadgeDropdown/hooks/index.js +4 -0
  274. package/dist/components/Filter/components/BadgeDropdown/hooks/useBadgeMultiSelect/useBadgeMultiSelect.js +67 -0
  275. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.js +10 -0
  276. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Actions/Actions.js +78 -0
  277. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/PanelActions/PanelActions.js +23 -0
  278. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Picker/Picker.js +34 -0
  279. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Trigger/Trigger.js +22 -0
  280. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Wrapper/Wrapper.js +22 -0
  281. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/index.js +4 -0
  282. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/constants/index.js +5 -0
  283. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/constants/presets/presets.js +33 -0
  284. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.context.js +5 -0
  285. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.hook.js +10 -0
  286. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.provider.js +149 -0
  287. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/contexts/index.js +6 -0
  288. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/index.js +20 -0
  289. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useAppliedDateRange/useAppliedDateRange.js +20 -0
  290. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useCalendarVisibility/useCalendarVisibility.js +24 -0
  291. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useDateRangeSelection/useDateRangeSelection.js +22 -0
  292. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFilterDropdownOpenState/useFilterDropdownOpenState.js +18 -0
  293. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFormattedDateRange/useFormattedDateRange.js +25 -0
  294. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePendingDateRange/usePendingDateRange.js +15 -0
  295. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePresetOptions/usePresetOptions.js +22 -0
  296. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useResetKey/useResetKey.js +10 -0
  297. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useSelectedPreset/useSelectedPreset.js +24 -0
  298. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/utils/duration/duration.js +59 -0
  299. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/utils/index.js +8 -0
  300. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/utils/whole-days/whole-days.js +7 -0
  301. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +46 -86
  302. package/dist/components/Filter/components/DateFilterDropdown/hooks/index.js +4 -0
  303. package/dist/components/Filter/components/DateFilterDropdown/hooks/useDateFilterDropdown/useDateFilterDropdown.js +37 -0
  304. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +52 -0
  305. package/dist/components/Filter/components/DateRangeFilterDropdown/hooks/index.js +4 -0
  306. package/dist/components/Filter/components/DateRangeFilterDropdown/hooks/useDateRangeFilterDropdown/useDateRangeFilterDropdown.js +49 -0
  307. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +28 -0
  308. package/dist/components/Filter/components/ResetButton/ResetButton.js +21 -26
  309. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +73 -0
  310. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +79 -0
  311. package/dist/components/Filter/components/TimeFilterDropdown/hooks/index.js +4 -0
  312. package/dist/components/Filter/components/TimeFilterDropdown/hooks/useTimeFilterDropdown/useTimeFilterDropdown.js +39 -0
  313. package/dist/components/Filter/components/index.js +14 -6
  314. package/dist/components/Filter/contexts/filter.context.js +5 -0
  315. package/dist/components/Filter/contexts/filter.hook.js +10 -0
  316. package/dist/components/Filter/contexts/filter.provider.js +17 -0
  317. package/dist/components/Filter/contexts/index.js +8 -0
  318. package/dist/components/Filter/events/index.js +27 -10
  319. package/dist/components/Filter/hooks/index.js +4 -0
  320. package/dist/components/Filter/hooks/useFilterDropdownSync.js +26 -0
  321. package/dist/components/Filter/utils/index.js +4 -0
  322. package/dist/components/ImageUpload/ImageUpload.js +4 -0
  323. package/dist/components/ImageUpload/ImageUpload.variants.js +92 -0
  324. package/dist/components/Input/Input.js +2 -205
  325. package/dist/components/Input/Input.variants.js +48 -50
  326. package/dist/components/LineChart/LineChart.js +127 -0
  327. package/dist/components/Loading/Loading.js +2 -24
  328. package/dist/components/Loading/Loading.variants.js +2 -2
  329. package/dist/components/Modal/Modal.js +3 -8
  330. package/dist/components/Modal/components/Body/Body.js +8 -5
  331. package/dist/components/Modal/components/Footer/Footer.js +8 -5
  332. package/dist/components/Modal/components/Header/Header.js +7 -4
  333. package/dist/components/Modal/components/Wrapper/Wrapper.js +2 -9
  334. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +16 -13
  335. package/dist/components/Modal/components/index.js +8 -8
  336. package/dist/components/Modal/contexts/Modal.context.js +2 -4
  337. package/dist/components/Modal/contexts/Modal.provider.js +27 -23
  338. package/dist/components/Modal/contexts/index.js +2 -2
  339. package/dist/components/Modal/hooks/useModal.js +10 -10
  340. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +4 -0
  341. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +31 -0
  342. package/dist/components/MultiSelectDropdown/components/Item/Item.js +22 -0
  343. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +29 -0
  344. package/dist/components/MultiSelectDropdown/components/List/List.js +4 -0
  345. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +25 -0
  346. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +4 -0
  347. package/dist/components/MultiSelectDropdown/components/index.js +7 -0
  348. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +22 -0
  349. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +10 -0
  350. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +110 -0
  351. package/dist/components/MultiSelectDropdown/contexts/index.js +6 -0
  352. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +24 -0
  353. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +14 -0
  354. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +39 -0
  355. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +21 -0
  356. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +4 -0
  357. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +28 -0
  358. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +52 -0
  359. package/dist/components/PhoneNumberInput/components/Wrapper.js +4 -0
  360. package/dist/components/PhoneNumberInput/components/index.js +6 -0
  361. package/dist/components/PhoneNumberInput/contexts/index.js +8 -0
  362. package/dist/components/PhoneNumberInput/contexts/phone-number.context.js +28 -0
  363. package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +10 -0
  364. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +4 -0
  365. package/dist/components/PhoneNumberInput/utils/index.js +10 -0
  366. package/dist/components/PieChart/PieChart.js +44 -5129
  367. package/dist/components/ProgressBar/ProgressBar.js +36 -60
  368. package/dist/components/ProgressBar/ProgressBar.variants.js +25 -33
  369. package/dist/components/Radio/Radio.js +50 -92
  370. package/dist/components/Radio/Radio.variants.js +82 -84
  371. package/dist/components/RadioCard/RadioCard.js +14 -31
  372. package/dist/components/RadioCard/RadioCard.variants.js +3 -3
  373. package/dist/components/RadioCardGroup/RadioCardGroup.js +24 -42
  374. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +8 -12
  375. package/dist/components/RadioGroup/RadioGroup.js +26 -47
  376. package/dist/components/RadioGroup/RadioGroup.variants.js +8 -12
  377. package/dist/components/Range/Range.js +49 -57
  378. package/dist/components/Range/Range.variants.js +35 -44
  379. package/dist/components/Select/Select.js +46 -0
  380. package/dist/components/Select/Select.variants.js +76 -0
  381. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +4 -0
  382. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +5 -0
  383. package/dist/components/Select/components/EmptyList.js +5 -0
  384. package/dist/components/Select/components/List/List.js +141 -0
  385. package/dist/components/Select/components/List/List.variants.js +46 -0
  386. package/dist/components/Select/components/ListItem/ListItem.js +64 -0
  387. package/dist/components/{Dropdown → Select}/components/ListItem/ListItem.variants.js +8 -7
  388. package/dist/components/Select/components/Wrapper.js +4 -0
  389. package/dist/components/Select/components/index.js +10 -0
  390. package/dist/components/Select/constants/index.js +6 -0
  391. package/dist/components/Select/constants/list.js +4 -0
  392. package/dist/components/Select/constants/pagination.js +4 -0
  393. package/dist/components/Select/contexts/index.js +6 -0
  394. package/dist/components/Select/contexts/select.context.js +36 -0
  395. package/dist/components/Select/contexts/select.hook.js +10 -0
  396. package/dist/components/Select/contexts/select.provider.js +49 -0
  397. package/dist/components/Select/hooks/useNavigationList.js +40 -0
  398. package/dist/components/Select/hooks/useSelect.js +57 -0
  399. package/dist/components/Sidebar/Sidebar.js +22 -15
  400. package/dist/components/Sidebar/Sidebar.variants.js +11 -11
  401. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +30 -0
  402. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.js +20 -0
  403. package/dist/components/Sidebar/components/Footer/Footer.js +9 -6
  404. package/dist/components/Sidebar/components/Footer/Footer.variants.js +2 -2
  405. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +4 -0
  406. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.js +22 -0
  407. package/dist/components/Sidebar/components/Label/Label.js +34 -0
  408. package/dist/components/Sidebar/components/Logo/Logo.js +19 -6
  409. package/dist/components/Sidebar/components/Logo/Logo.variants.js +21 -7
  410. package/dist/components/Sidebar/components/Navigation/Navigation.js +29 -16
  411. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +10 -3
  412. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +18 -24
  413. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +7 -2
  414. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.context.js +6 -0
  415. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +54 -23
  416. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +36 -41
  417. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +9 -4
  418. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +8 -6
  419. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -10
  420. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +3 -3
  421. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +118 -82
  422. package/dist/components/Sidebar/components/index.js +20 -14
  423. package/dist/components/Sidebar/contexts/SidebarContext.js +16 -0
  424. package/dist/components/Sidebar/contexts/index.js +5 -0
  425. package/dist/components/Sidebar/hooks/index.js +6 -0
  426. package/dist/components/Sidebar/hooks/useSidebarMode.js +10 -0
  427. package/dist/components/Slider/Slider.js +41 -47
  428. package/dist/components/Slider/Slider.variants.js +36 -45
  429. package/dist/components/Spinner/Spinner.js +5 -0
  430. package/dist/components/Spinner/Spinner.variants.js +40 -0
  431. package/dist/components/Stepper/Stepper.js +48 -0
  432. package/dist/components/Stepper/Stepper.variants.js +319 -0
  433. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +123 -0
  434. package/dist/components/Stepper/components/StepConnector/StepConnector.js +17 -0
  435. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +4 -0
  436. package/dist/components/Stepper/components/StepItem/StepItem.js +8 -0
  437. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +72 -0
  438. package/dist/components/Stepper/constants/index.js +13 -0
  439. package/dist/components/Stepper/hooks/index.js +4 -0
  440. package/dist/components/Stepper/hooks/useStepItemLogic.js +19 -0
  441. package/dist/components/Stepper/utils/index.js +12 -0
  442. package/dist/components/Switch/Switch.js +2 -199
  443. package/dist/components/Switch/Switch.variants.js +31 -14
  444. package/dist/components/Table/Table.js +17 -24
  445. package/dist/components/Table/Table.variants.js +17 -24
  446. package/dist/components/Table/components/Body.js +8 -15
  447. package/dist/components/Table/components/Filter.js +13 -7
  448. package/dist/components/Table/components/Head.js +9 -16
  449. package/dist/components/Table/components/Row.js +14 -26
  450. package/dist/components/Table/components/index.js +6 -6
  451. package/dist/components/Tabs/Tabs.js +20 -20
  452. package/dist/components/Tabs/Tabs.variants.js +55 -71
  453. package/dist/components/Tabs/components/Content.js +12 -12
  454. package/dist/components/Tabs/components/List.js +16 -18
  455. package/dist/components/Tabs/components/Trigger.js +13 -15
  456. package/dist/components/Tabs/components/index.js +4 -4
  457. package/dist/components/Tag/Tag.js +25 -16
  458. package/dist/components/Tag/Tag.variants.js +33 -39
  459. package/dist/components/TagSelect/TagSelect.js +13 -5
  460. package/dist/components/TagSelect/TagSelect.variants.js +7 -6
  461. package/dist/components/TagSelect/components/Item/Item.js +13 -16
  462. package/dist/components/TagSelect/components/Item/Item.variants.js +21 -30
  463. package/dist/components/TagSelect/components/List/List.js +15 -7
  464. package/dist/components/TagSelect/components/List/List.variants.js +3 -3
  465. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +2 -133
  466. package/dist/components/TagSelect/components/index.js +6 -6
  467. package/dist/components/TagSelect/contexts/TagSelect.context.js +1 -1
  468. package/dist/components/TagSelect/contexts/TagSelect.hook.js +6 -7
  469. package/dist/components/TagSelect/contexts/TagSelect.provider.js +43 -59
  470. package/dist/components/TagSelect/contexts/index.js +4 -4
  471. package/dist/components/TagSelect/hooks/useTagSelect.js +15 -23
  472. package/dist/components/TextArea/TextArea.js +72 -33
  473. package/dist/components/TextArea/TextArea.variants.js +49 -13
  474. package/dist/components/TimePicker/TimePicker.js +14 -5
  475. package/dist/components/TimePicker/TimePicker.variants.js +32 -22
  476. package/dist/components/TimePicker/components/HoursList/HoursList.js +90 -81
  477. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +49 -64
  478. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +67 -50
  479. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +147 -89
  480. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +38 -48
  481. package/dist/components/TimePicker/components/index.js +2 -2
  482. package/dist/components/TimePicker/contexts/index.js +6 -6
  483. package/dist/components/TimePicker/contexts/time-picker.context.js +9 -2
  484. package/dist/components/TimePicker/contexts/time-picker.hook.js +4 -7
  485. package/dist/components/TimePicker/contexts/time-picker.provider.js +55 -42
  486. package/dist/components/TimePicker/utils/index.js +27 -4
  487. package/dist/components/Toast/Toast.js +3 -478
  488. package/dist/components/Toast/Toast.variants.js +76 -39
  489. package/dist/components/Toast/ToastProvider.js +19 -0
  490. package/dist/components/Toast/components/ToastCard/ToastCard.js +103 -0
  491. package/dist/components/Toast/components/index.js +4 -0
  492. package/dist/components/Toast/constants/index.js +35 -0
  493. package/dist/components/Toast/contexts/index.js +4 -0
  494. package/dist/components/Toast/contexts/toast-store.context.js +5 -0
  495. package/dist/components/Toast/hooks/index.js +15 -0
  496. package/dist/components/Toast/hooks/useStackExpansion/useStackExpansion.js +29 -0
  497. package/dist/components/Toast/hooks/useToast/useToast.js +17 -0
  498. package/dist/components/Toast/hooks/useToastHeights/useToastHeights.js +23 -0
  499. package/dist/components/Toast/hooks/useToastSource/useToastSource.js +15 -0
  500. package/dist/components/Toast/hooks/useToastStore/useToastStore.js +11 -0
  501. package/dist/components/Toast/hooks/useToastTimer/useToastTimer.js +26 -0
  502. package/dist/components/Toast/store/create-toast-store.js +46 -0
  503. package/dist/components/Toast/store/default-toast-store.js +5 -0
  504. package/dist/components/Toast/store/index.js +6 -0
  505. package/dist/components/Toast/utils/compute-stack-layout/compute-stack-layout.js +24 -0
  506. package/dist/components/Toast/utils/index.js +4 -0
  507. package/dist/components/Tooltip/Tooltip.js +16 -32
  508. package/dist/components/Typography/Typography.js +18 -25
  509. package/dist/components/Typography/Typography.variants.js +72 -54
  510. package/dist/components/VirtualizedTable/VirtualizedTable.js +105 -115
  511. package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +2 -2
  512. package/dist/components/VirtualizedTable/assets/chevron-down.js +13 -22
  513. package/dist/components/VirtualizedTable/assets/chevron-up.js +13 -22
  514. package/dist/components/VirtualizedTable/assets/index.js +4 -4
  515. package/dist/components/VirtualizedTable/components/Actions/Actions.js +5 -48
  516. package/dist/components/VirtualizedTable/components/Actions/Actions.variants.js +53 -0
  517. package/dist/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.js +23 -0
  518. package/dist/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.js +26 -0
  519. package/dist/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.js +48 -0
  520. package/dist/components/VirtualizedTable/components/Actions/components/InlineActions/constants/index.js +5 -0
  521. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.js +46 -0
  522. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/constants/index.js +5 -0
  523. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/index.js +4 -0
  524. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.js +41 -0
  525. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.js +72 -0
  526. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-keyboard-navigation/use-menu-keyboard-navigation.js +56 -0
  527. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-row-highlight/use-row-highlight.js +13 -0
  528. package/dist/components/VirtualizedTable/components/Body/Body.js +71 -22
  529. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +97 -159
  530. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +68 -30
  531. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +31 -0
  532. package/dist/components/VirtualizedTable/components/Filter/Filter.js +124 -81
  533. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +41 -44
  534. package/dist/components/VirtualizedTable/components/Header/Header.js +50 -79
  535. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +33 -42
  536. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +43 -0
  537. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +38 -1866
  538. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +14 -0
  539. package/dist/components/VirtualizedTable/components/index.js +12 -10
  540. package/dist/components/VirtualizedTable/constants/index.js +3 -3
  541. package/dist/components/VirtualizedTable/constants/pagination.js +6 -1
  542. package/dist/components/VirtualizedTable/contexts/index.js +6 -6
  543. package/dist/components/VirtualizedTable/contexts/table.context.js +14 -3
  544. package/dist/components/VirtualizedTable/contexts/table.hook.js +7 -8
  545. package/dist/components/VirtualizedTable/contexts/table.provider.js +2 -80
  546. package/dist/components/VirtualizedTable/events/filters/filters.js +7 -0
  547. package/dist/components/VirtualizedTable/events/index.js +12 -0
  548. package/dist/components/VirtualizedTable/events/refresh/refresh.js +7 -0
  549. package/dist/components/VirtualizedTable/events/row/row.js +22 -0
  550. package/dist/components/VirtualizedTable/utils/get-table-id.js +4 -0
  551. package/dist/components/VirtualizedTable/utils/index.js +6 -0
  552. package/dist/components/VirtualizedTable/utils/pagination.js +5 -0
  553. package/dist/components/index.js +166 -98
  554. package/dist/components-z-LYRWfq.js +124 -0
  555. package/dist/constants-q2QnJrOb.js +31 -0
  556. package/dist/contexts/index.js +6 -6
  557. package/dist/contexts/theme.context.js +2 -2
  558. package/dist/contexts/theme.hook.js +2 -2
  559. package/dist/contexts/theme.provider.js +2 -85
  560. package/dist/createLucideIcon-C7E_xycG.js +119 -0
  561. package/dist/debounce-BdyZeJQk.js +86 -0
  562. package/dist/dist-B9GE4SXf.js +34 -0
  563. package/dist/dist-BUocnzkM.js +99 -0
  564. package/dist/dist-Bi8Y5nEx.js +190 -0
  565. package/dist/dist-C4j75TwZ.js +20 -0
  566. package/dist/dist-CCdbu9GU.js +46 -0
  567. package/dist/dist-CNui_Egg.js +451 -0
  568. package/dist/dist-CR3FMRzF.js +118 -0
  569. package/dist/dist-CgzF5_J6.js +469 -0
  570. package/dist/dist-D-yS0HN8.js +228 -0
  571. package/dist/dist-D5Q2IYuC.js +358 -0
  572. package/dist/dist-D70ZJkHf.js +29 -0
  573. package/dist/dist-DX0sBG3Q.js +31 -0
  574. package/dist/dist-DZ_SU77k.js +437 -0
  575. package/dist/dist-DcFwF4XM.js +1319 -0
  576. package/dist/dist-Dg3vyTx9.js +7484 -0
  577. package/dist/dist-LRkZdylX.js +174 -0
  578. package/dist/dist-f8EwfITY.js +194 -0
  579. package/dist/dist-pWlMx4Fi.js +36 -0
  580. package/dist/dist-uerXivvM.js +178 -0
  581. package/dist/dist-xCbHbMLA.js +116 -0
  582. package/dist/ellipsis-vertical-C_yX7aQe.js +31 -0
  583. package/dist/es2015-B_07N-UL.js +796 -0
  584. package/dist/es2015-Hhb87ipX.js +231 -0
  585. package/dist/events.types-BG1Uh8i6.js +6 -0
  586. package/dist/hooks/index.js +8 -2
  587. package/dist/hooks/useClickOutside.js +14 -0
  588. package/dist/hooks/useIsHydrated/useIsHydrated.js +6 -0
  589. package/dist/hooks/useIsHydrated/utils/index.js +4 -0
  590. package/dist/hooks/useIsHydrated/utils/noop-subscribe/noop-subscribe.js +5 -0
  591. package/dist/hooks/useMediaQuery.js +17 -0
  592. package/dist/hooks/useToggle.js +5 -8
  593. package/dist/icons.d.ts +1 -0
  594. package/dist/icons.js +230 -0
  595. package/dist/index.d.ts +1 -955
  596. package/dist/index.js +184 -106
  597. package/dist/isObject-pLoSfdr0.js +62 -0
  598. package/dist/lib/assets/icons/components/Accounts.d.ts +3 -0
  599. package/dist/lib/assets/icons/components/Activity.d.ts +3 -0
  600. package/dist/lib/assets/icons/components/AddChart.d.ts +3 -0
  601. package/dist/lib/assets/icons/components/AlertOutline.d.ts +3 -0
  602. package/dist/lib/assets/icons/components/AllSetCheck.d.ts +3 -0
  603. package/dist/lib/assets/icons/components/ApiKey.d.ts +3 -0
  604. package/dist/lib/assets/icons/components/AppRepo.d.ts +3 -0
  605. package/dist/lib/assets/icons/components/Apps.d.ts +3 -0
  606. package/dist/lib/assets/icons/components/Archives.d.ts +3 -0
  607. package/dist/lib/assets/icons/components/ArrowBack.d.ts +3 -0
  608. package/dist/lib/assets/icons/components/ArrowDown.d.ts +3 -0
  609. package/dist/lib/assets/icons/components/ArrowLeft.d.ts +3 -0
  610. package/dist/lib/assets/icons/components/ArrowRight.d.ts +3 -0
  611. package/dist/lib/assets/icons/components/ArrowUp.d.ts +3 -0
  612. package/dist/lib/assets/icons/components/BarChart.d.ts +3 -0
  613. package/dist/lib/assets/icons/components/Billing.d.ts +3 -0
  614. package/dist/lib/assets/icons/components/BookOpen.d.ts +3 -0
  615. package/dist/lib/assets/icons/components/CalendarMonth.d.ts +3 -0
  616. package/dist/lib/assets/icons/components/Check.d.ts +3 -0
  617. package/dist/lib/assets/icons/components/CheckAlt.d.ts +3 -0
  618. package/dist/lib/assets/icons/components/CheckCircleFilled.d.ts +3 -0
  619. package/dist/lib/assets/icons/components/CheckCircleOutline.d.ts +3 -0
  620. package/dist/lib/assets/icons/components/CheckboxMarkedCircleOutline.d.ts +3 -0
  621. package/dist/lib/assets/icons/components/CircumGlobe.d.ts +3 -0
  622. package/dist/lib/assets/icons/components/ClockAlert.d.ts +3 -0
  623. package/dist/lib/assets/icons/components/ClockOutline.d.ts +3 -0
  624. package/dist/lib/assets/icons/components/Close.d.ts +3 -0
  625. package/dist/lib/assets/icons/components/Cloud.d.ts +3 -0
  626. package/dist/lib/assets/icons/components/CloudLockOutline.d.ts +3 -0
  627. package/dist/lib/assets/icons/components/Clusters.d.ts +3 -0
  628. package/dist/lib/assets/icons/components/CogOutline.d.ts +3 -0
  629. package/dist/lib/assets/icons/components/Compute.d.ts +3 -0
  630. package/dist/lib/assets/icons/components/Configure.d.ts +3 -0
  631. package/dist/lib/assets/icons/components/Copy.d.ts +3 -0
  632. package/dist/lib/assets/icons/components/Cpu.d.ts +3 -0
  633. package/dist/lib/assets/icons/components/CpuAlt.d.ts +3 -0
  634. package/dist/lib/assets/icons/components/Cube.d.ts +3 -0
  635. package/dist/lib/assets/icons/components/Dashboard.d.ts +3 -0
  636. package/dist/lib/assets/icons/components/Database.d.ts +3 -0
  637. package/dist/lib/assets/icons/components/Datacenter.d.ts +3 -0
  638. package/dist/lib/assets/icons/components/Delete.d.ts +3 -0
  639. package/dist/lib/assets/icons/components/Deploy.d.ts +3 -0
  640. package/dist/lib/assets/icons/components/Detach.d.ts +3 -0
  641. package/dist/lib/assets/icons/components/Dns.d.ts +3 -0
  642. package/dist/lib/assets/icons/components/Docs.d.ts +3 -0
  643. package/dist/lib/assets/icons/components/DollarSign.d.ts +3 -0
  644. package/dist/lib/assets/icons/components/Download.d.ts +3 -0
  645. package/dist/lib/assets/icons/components/Edit.d.ts +3 -0
  646. package/dist/lib/assets/icons/components/Ellipses.d.ts +3 -0
  647. package/dist/lib/assets/icons/components/Environments.d.ts +3 -0
  648. package/dist/lib/assets/icons/components/Error.d.ts +3 -0
  649. package/dist/lib/assets/icons/components/ErrorOutline.d.ts +3 -0
  650. package/dist/lib/assets/icons/components/Exclamation.d.ts +3 -0
  651. package/dist/lib/assets/icons/components/Firewall.d.ts +3 -0
  652. package/dist/lib/assets/icons/components/FirewallAlt.d.ts +3 -0
  653. package/dist/lib/assets/icons/components/Git.d.ts +3 -0
  654. package/dist/lib/assets/icons/components/GitOpsCatalog.d.ts +3 -0
  655. package/dist/lib/assets/icons/components/Github.d.ts +3 -0
  656. package/dist/lib/assets/icons/components/GridView.d.ts +3 -0
  657. package/dist/lib/assets/icons/components/Help.d.ts +3 -0
  658. package/dist/lib/assets/icons/components/HideOutline.d.ts +3 -0
  659. package/dist/lib/assets/icons/components/Home.d.ts +3 -0
  660. package/dist/lib/assets/icons/components/Home2.d.ts +3 -0
  661. package/dist/lib/assets/icons/components/Id.d.ts +3 -0
  662. package/dist/lib/assets/icons/components/InfoCircle.d.ts +3 -0
  663. package/dist/lib/assets/icons/components/InformationOutline.d.ts +3 -0
  664. package/dist/lib/assets/icons/components/Inventory.d.ts +3 -0
  665. package/dist/lib/assets/icons/components/InvoiceList.d.ts +3 -0
  666. package/dist/lib/assets/icons/components/Key.d.ts +3 -0
  667. package/dist/lib/assets/icons/components/Konstruct.d.ts +3 -0
  668. package/dist/lib/assets/icons/components/Kubernetes.d.ts +3 -0
  669. package/dist/lib/assets/icons/components/LightBulb.d.ts +3 -0
  670. package/dist/lib/assets/icons/components/LoadBalancer.d.ts +3 -0
  671. package/dist/lib/assets/icons/components/LoadBalancerAlt.d.ts +3 -0
  672. package/dist/lib/assets/icons/components/Loader.d.ts +3 -0
  673. package/dist/lib/assets/icons/components/Lock.d.ts +3 -0
  674. package/dist/lib/assets/icons/components/LockAlt.d.ts +3 -0
  675. package/dist/lib/assets/icons/components/LogOut.d.ts +3 -0
  676. package/dist/lib/assets/icons/components/Network.d.ts +3 -0
  677. package/dist/lib/assets/icons/components/NetworkAlt.d.ts +3 -0
  678. package/dist/lib/assets/icons/components/ObjectStorage.d.ts +3 -0
  679. package/dist/lib/assets/icons/components/OrgSettings.d.ts +3 -0
  680. package/dist/lib/assets/icons/components/Organization.d.ts +3 -0
  681. package/dist/lib/assets/icons/components/PagesStack.d.ts +3 -0
  682. package/dist/lib/assets/icons/components/Pageview.d.ts +3 -0
  683. package/dist/lib/assets/icons/components/Pause.d.ts +3 -0
  684. package/dist/lib/assets/icons/components/People.d.ts +3 -0
  685. package/dist/lib/assets/icons/components/PhotoLibrary.d.ts +3 -0
  686. package/dist/lib/assets/icons/components/Pipeline.d.ts +3 -0
  687. package/dist/lib/assets/icons/components/Plus.d.ts +3 -0
  688. package/dist/lib/assets/icons/components/PowerSettings.d.ts +3 -0
  689. package/dist/lib/assets/icons/components/Preview.d.ts +3 -0
  690. package/dist/lib/assets/icons/components/PrivateRegion.d.ts +3 -0
  691. package/dist/lib/assets/icons/components/Profile.d.ts +3 -0
  692. package/dist/lib/assets/icons/components/Quota.d.ts +3 -0
  693. package/dist/lib/assets/icons/components/ReceiptLong.d.ts +3 -0
  694. package/dist/lib/assets/icons/components/Refresh.d.ts +3 -0
  695. package/dist/lib/assets/icons/components/ReservedIp.d.ts +3 -0
  696. package/dist/lib/assets/icons/components/ScatterPlot.d.ts +3 -0
  697. package/dist/lib/assets/icons/components/Search.d.ts +3 -0
  698. package/dist/lib/assets/icons/components/Server.d.ts +3 -0
  699. package/dist/lib/assets/icons/components/SpendStatement.d.ts +3 -0
  700. package/dist/lib/assets/icons/components/SshKey.d.ts +3 -0
  701. package/dist/lib/assets/icons/components/Start.d.ts +3 -0
  702. package/dist/lib/assets/icons/components/TabNew.d.ts +3 -0
  703. package/dist/lib/assets/icons/components/TeamMembers.d.ts +3 -0
  704. package/dist/lib/assets/icons/components/Teams.d.ts +3 -0
  705. package/dist/lib/assets/icons/components/Updated.d.ts +3 -0
  706. package/dist/lib/assets/icons/components/Upload.d.ts +3 -0
  707. package/dist/lib/assets/icons/components/Volume.d.ts +3 -0
  708. package/dist/lib/assets/icons/components/Warning.d.ts +3 -0
  709. package/dist/lib/assets/icons/components/WarningTriangle.d.ts +3 -0
  710. package/dist/lib/assets/icons/components/Webhook.d.ts +3 -0
  711. package/dist/lib/assets/icons/components/X.d.ts +3 -0
  712. package/dist/lib/assets/icons/components/index.d.ts +115 -0
  713. package/dist/lib/assets/icons/components/types.d.ts +5 -0
  714. package/dist/lib/assets/icons/index.d.ts +1 -0
  715. package/dist/lib/components/Alert/Alert.d.ts +21 -0
  716. package/dist/lib/components/Alert/Alert.types.d.ts +43 -0
  717. package/dist/lib/components/Alert/Alert.variants.d.ts +16 -0
  718. package/dist/lib/components/AlertDialog/AlertDialog.d.ts +32 -0
  719. package/dist/lib/components/AlertDialog/AlertDialog.types.d.ts +60 -0
  720. package/dist/lib/components/AlertDialog/components/AlertDialogTrigger.d.ts +2 -0
  721. package/dist/lib/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +12 -0
  722. package/dist/lib/components/AlertDialog/components/index.d.ts +1 -0
  723. package/dist/lib/components/AlertDialog/hooks/index.d.ts +1 -0
  724. package/dist/lib/components/AlertDialog/hooks/useAlertDialog.d.ts +7 -0
  725. package/dist/lib/components/Autocomplete/Autocomplete.d.ts +31 -0
  726. package/dist/lib/components/Autocomplete/Autocomplete.types.d.ts +52 -0
  727. package/dist/lib/components/Autocomplete/Autocomplete.variants.d.ts +2 -0
  728. package/dist/lib/components/Autocomplete/components/List/List.d.ts +3 -0
  729. package/dist/lib/components/Autocomplete/components/List/List.types.d.ts +13 -0
  730. package/dist/lib/components/Autocomplete/components/List/List.variants.d.ts +3 -0
  731. package/dist/lib/components/Autocomplete/components/index.d.ts +1 -0
  732. package/dist/lib/components/Autocomplete/hooks/index.d.ts +2 -0
  733. package/dist/lib/components/Autocomplete/hooks/useAutocomplete.d.ts +17 -0
  734. package/dist/lib/components/Autocomplete/hooks/useNavigationList.d.ts +10 -0
  735. package/dist/lib/components/Badge/Badge.d.ts +34 -0
  736. package/dist/lib/components/Badge/Badge.types.d.ts +36 -0
  737. package/dist/lib/components/Badge/Badge.variants.d.ts +8 -0
  738. package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts +38 -0
  739. package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +69 -0
  740. package/dist/lib/components/Breadcrumb/Breadcrumb.variants.d.ts +2 -0
  741. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.d.ts +3 -0
  742. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.types.d.ts +7 -0
  743. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.variants.d.ts +1 -0
  744. package/dist/lib/components/Breadcrumb/components/Item/Item.d.ts +3 -0
  745. package/dist/lib/components/Breadcrumb/components/Item/Item.types.d.ts +8 -0
  746. package/dist/lib/components/Breadcrumb/components/Item/Item.variants.d.ts +6 -0
  747. package/dist/lib/components/Breadcrumb/components/index.d.ts +2 -0
  748. package/dist/lib/components/Breadcrumb/hooks/useBreadcrumb.d.ts +3 -0
  749. package/dist/lib/components/Button/Button.d.ts +33 -0
  750. package/dist/lib/components/Button/Button.types.d.ts +26 -0
  751. package/dist/lib/components/Button/Button.variants.d.ts +8 -0
  752. package/dist/lib/components/ButtonGroup/ButtonGroup.d.ts +34 -0
  753. package/dist/lib/components/ButtonGroup/ButtonGroup.types.d.ts +100 -0
  754. package/dist/lib/components/ButtonGroup/ButtonGroup.variants.d.ts +14 -0
  755. package/dist/lib/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.d.ts +3 -0
  756. package/dist/lib/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.types.d.ts +23 -0
  757. package/dist/lib/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.d.ts +27 -0
  758. package/dist/lib/components/ButtonGroup/components/ButtonGroupItem/index.d.ts +2 -0
  759. package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.d.ts +3 -0
  760. package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.types.d.ts +8 -0
  761. package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/index.d.ts +2 -0
  762. package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.d.ts +3 -0
  763. package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.types.d.ts +8 -0
  764. package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/index.d.ts +2 -0
  765. package/dist/lib/components/ButtonGroup/components/index.d.ts +3 -0
  766. package/dist/lib/components/ButtonGroup/hooks/index.d.ts +2 -0
  767. package/dist/lib/components/ButtonGroup/hooks/useButtonGroup.d.ts +3 -0
  768. package/dist/lib/components/ButtonGroup/hooks/useButtonGroup.types.d.ts +18 -0
  769. package/dist/lib/components/Card/Card.d.ts +28 -0
  770. package/dist/lib/components/Card/Card.types.d.ts +27 -0
  771. package/dist/lib/components/Card/Card.variants.d.ts +8 -0
  772. package/dist/lib/components/Checkbox/Checkbox.d.ts +26 -0
  773. package/dist/lib/components/Checkbox/Checkbox.types.d.ts +41 -0
  774. package/dist/lib/components/Checkbox/Checkbox.variants.d.ts +5 -0
  775. package/dist/lib/components/Command/Command.d.ts +27 -0
  776. package/dist/lib/components/Command/Command.types.d.ts +33 -0
  777. package/dist/lib/components/Command/Command.variants.d.ts +3 -0
  778. package/dist/lib/components/Command/components/Command.d.ts +18 -0
  779. package/dist/lib/components/Command/components/CommandEmpty.d.ts +8 -0
  780. package/dist/lib/components/Command/components/CommandGroup.d.ts +12 -0
  781. package/dist/lib/components/Command/components/CommandInput.d.ts +9 -0
  782. package/dist/lib/components/Command/components/CommandItem.d.ts +14 -0
  783. package/dist/lib/components/Command/components/CommandList.d.ts +10 -0
  784. package/dist/lib/components/Command/components/CommandSeparator.d.ts +8 -0
  785. package/dist/lib/components/Command/components/CommandShortcut.d.ts +6 -0
  786. package/dist/lib/components/Command/components/DialogContent.d.ts +2 -0
  787. package/dist/lib/components/Command/components/DialogOverlay.d.ts +2 -0
  788. package/dist/lib/components/Command/components/index.d.ts +9 -0
  789. package/dist/lib/components/Command/contexts/Command.context.d.ts +2 -0
  790. package/dist/lib/components/Command/contexts/Command.provider.d.ts +2 -0
  791. package/dist/lib/components/Command/contexts/Command.types.d.ts +5 -0
  792. package/dist/lib/components/Command/contexts/index.d.ts +3 -0
  793. package/dist/lib/components/CopyButton/CopyButton.d.ts +4 -0
  794. package/dist/lib/components/CopyButton/CopyButton.types.d.ts +15 -0
  795. package/dist/lib/components/CopyButton/CopyButton.variants.d.ts +3 -0
  796. package/dist/lib/components/CopyButton/hooks/index.d.ts +1 -0
  797. package/dist/lib/components/CopyButton/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
  798. package/dist/lib/components/CopyButton/hooks/useCopyToClipboard/useCopyToClipboard.types.d.ts +5 -0
  799. package/dist/lib/components/Counter/Counter.d.ts +36 -0
  800. package/dist/lib/components/Counter/Counter.types.d.ts +57 -0
  801. package/dist/lib/components/Counter/Counter.variants.d.ts +7 -0
  802. package/dist/lib/components/DateRangePicker/DateRangePicker.d.ts +31 -0
  803. package/dist/lib/components/DateRangePicker/DateRangePicker.types.d.ts +184 -0
  804. package/dist/lib/components/DateRangePicker/DateRangePicker.variants.d.ts +8 -0
  805. package/dist/lib/components/DateRangePicker/components/CalendarPanel/CalendarPanel.d.ts +3 -0
  806. package/dist/lib/components/DateRangePicker/components/CalendarPanel/CalendarPanel.types.d.ts +79 -0
  807. package/dist/lib/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.d.ts +8 -0
  808. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.d.ts +3 -0
  809. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.types.d.ts +3 -0
  810. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.d.ts +3 -0
  811. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.types.d.ts +17 -0
  812. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.d.ts +3 -0
  813. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.types.d.ts +34 -0
  814. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.d.ts +3 -0
  815. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.types.d.ts +12 -0
  816. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.d.ts +3 -0
  817. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.types.d.ts +26 -0
  818. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/index.d.ts +5 -0
  819. package/dist/lib/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.d.ts +22 -0
  820. package/dist/lib/components/DateRangePicker/components/CalendarPanel/constants/index.d.ts +8 -0
  821. package/dist/lib/components/DateRangePicker/components/CalendarPanel/hooks/index.d.ts +4 -0
  822. package/dist/lib/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.d.ts +24 -0
  823. package/dist/lib/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.d.ts +23 -0
  824. package/dist/lib/components/DateRangePicker/components/CalendarPanel/utils/index.d.ts +16 -0
  825. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.d.ts +3 -0
  826. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.types.d.ts +38 -0
  827. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.d.ts +12 -0
  828. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.d.ts +3 -0
  829. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.types.d.ts +28 -0
  830. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.d.ts +3 -0
  831. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.types.d.ts +28 -0
  832. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/index.d.ts +2 -0
  833. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/hooks/index.d.ts +1 -0
  834. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.d.ts +27 -0
  835. package/dist/lib/components/DateRangePicker/components/PresetPanel/PresetPanel.d.ts +3 -0
  836. package/dist/lib/components/DateRangePicker/components/PresetPanel/PresetPanel.types.d.ts +35 -0
  837. package/dist/lib/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.d.ts +39 -0
  838. package/dist/lib/components/DateRangePicker/components/RightPanel/RightPanel.d.ts +8 -0
  839. package/dist/lib/components/DateRangePicker/components/RightPanel/RightPanel.types.d.ts +4 -0
  840. package/dist/lib/components/DateRangePicker/components/index.d.ts +4 -0
  841. package/dist/lib/components/DateRangePicker/constants/index.d.ts +2 -0
  842. package/dist/lib/components/DateRangePicker/constants/presets/presets.d.ts +10 -0
  843. package/dist/lib/components/DateRangePicker/constants/presets/presets.types.d.ts +6 -0
  844. package/dist/lib/components/DateRangePicker/contexts/date-range-picker/date-range-picker.context.d.ts +110 -0
  845. package/dist/lib/components/DateRangePicker/contexts/date-range-picker/date-range-picker.hook.d.ts +1 -0
  846. package/dist/lib/components/DateRangePicker/contexts/date-range-picker/date-range-picker.provider.d.ts +3 -0
  847. package/dist/lib/components/DateRangePicker/contexts/date-range-picker/date-range-picker.types.d.ts +26 -0
  848. package/dist/lib/components/DateRangePicker/contexts/index.d.ts +4 -0
  849. package/dist/lib/components/DateRangePicker/utils/disabled-dates/disabled-dates.d.ts +20 -0
  850. package/dist/lib/components/DateRangePicker/utils/disabled-dates/disabled-dates.types.d.ts +7 -0
  851. package/dist/lib/components/DateRangePicker/utils/displayed-months/displayed-months.d.ts +12 -0
  852. package/dist/lib/components/DateRangePicker/utils/index.d.ts +9 -0
  853. package/dist/lib/components/DateRangePicker/utils/presets/presets.d.ts +9 -0
  854. package/dist/lib/components/DateRangePicker/utils/right-panel/right-panel.d.ts +7 -0
  855. package/dist/lib/components/DateRangePicker/utils/validation/validation.d.ts +43 -0
  856. package/dist/lib/components/Datepicker/DatePicker.d.ts +26 -0
  857. package/dist/lib/components/Datepicker/DatePicker.types.d.ts +31 -0
  858. package/dist/lib/components/Datepicker/DatePicker.variants.d.ts +1 -0
  859. package/dist/lib/components/Divider/Divider.d.ts +18 -0
  860. package/dist/lib/components/Divider/Divider.types.d.ts +4 -0
  861. package/dist/lib/components/Divider/Divider.variants.d.ts +3 -0
  862. package/dist/lib/components/Drawer/Drawer.d.ts +36 -0
  863. package/dist/lib/components/Drawer/Drawer.types.d.ts +67 -0
  864. package/dist/lib/components/Drawer/Drawer.variants.d.ts +8 -0
  865. package/dist/lib/components/Drawer/components/Body/Body.d.ts +3 -0
  866. package/dist/lib/components/Drawer/components/Body/Body.types.d.ts +7 -0
  867. package/dist/lib/components/Drawer/components/Body/index.d.ts +2 -0
  868. package/dist/lib/components/Drawer/components/Footer/Footer.d.ts +3 -0
  869. package/dist/lib/components/Drawer/components/Footer/Footer.types.d.ts +7 -0
  870. package/dist/lib/components/Drawer/components/Footer/index.d.ts +2 -0
  871. package/dist/lib/components/Drawer/components/Header/Header.d.ts +3 -0
  872. package/dist/lib/components/Drawer/components/Header/Header.types.d.ts +9 -0
  873. package/dist/lib/components/Drawer/components/Header/index.d.ts +2 -0
  874. package/dist/lib/components/Drawer/components/index.d.ts +3 -0
  875. package/dist/lib/components/Drawer/constants/index.d.ts +6 -0
  876. package/dist/lib/components/Drawer/contexts/Drawer.context.d.ts +7 -0
  877. package/dist/lib/components/Drawer/contexts/index.d.ts +2 -0
  878. package/dist/lib/components/Drawer/hooks/index.d.ts +2 -0
  879. package/dist/lib/components/Drawer/hooks/useDrawer.d.ts +2 -0
  880. package/dist/lib/components/Drawer/hooks/useDrawer.types.d.ts +30 -0
  881. package/dist/lib/components/DropdownButton/DropdownButton.d.ts +19 -0
  882. package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +38 -0
  883. package/dist/lib/components/Filter/Filter.d.ts +26 -0
  884. package/dist/lib/components/Filter/Filter.types.d.ts +68 -0
  885. package/dist/lib/components/Filter/Filter.variants.d.ts +3 -0
  886. package/dist/lib/components/Filter/components/BadgeDropdown/BadgeMultiSelect.d.ts +3 -0
  887. package/dist/lib/components/Filter/components/BadgeDropdown/BadgeMultiSelect.types.d.ts +13 -0
  888. package/dist/lib/components/Filter/components/BadgeDropdown/hooks/index.d.ts +1 -0
  889. package/dist/lib/components/Filter/components/BadgeDropdown/hooks/useBadgeMultiSelect/useBadgeMultiSelect.d.ts +13 -0
  890. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.d.ts +3 -0
  891. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.types.d.ts +55 -0
  892. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/Actions/Actions.d.ts +2 -0
  893. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/PanelActions/PanelActions.d.ts +2 -0
  894. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/Picker/Picker.d.ts +2 -0
  895. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/Trigger/Trigger.d.ts +2 -0
  896. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/Wrapper/Wrapper.d.ts +2 -0
  897. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/components/index.d.ts +1 -0
  898. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/constants/index.d.ts +2 -0
  899. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/constants/presets/presets.d.ts +4 -0
  900. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/constants/presets/presets.types.d.ts +9 -0
  901. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.context.d.ts +2 -0
  902. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.hook.d.ts +1 -0
  903. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.provider.d.ts +3 -0
  904. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.types.d.ts +28 -0
  905. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/contexts/index.d.ts +2 -0
  906. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/index.d.ts +9 -0
  907. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useAppliedDateRange/useAppliedDateRange.d.ts +7 -0
  908. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useAppliedDateRange/useAppliedDateRange.types.d.ts +5 -0
  909. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useCalendarVisibility/useCalendarVisibility.d.ts +10 -0
  910. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useCalendarVisibility/useCalendarVisibility.types.d.ts +4 -0
  911. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useDateRangeSelection/useDateRangeSelection.d.ts +8 -0
  912. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useDateRangeSelection/useDateRangeSelection.types.d.ts +4 -0
  913. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFilterDropdownOpenState/useFilterDropdownOpenState.d.ts +6 -0
  914. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFormattedDateRange/useFormattedDateRange.d.ts +11 -0
  915. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFormattedDateRange/useFormattedDateRange.types.d.ts +5 -0
  916. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePendingDateRange/usePendingDateRange.d.ts +5 -0
  917. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePendingDateRange/usePendingDateRange.types.d.ts +5 -0
  918. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePresetOptions/usePresetOptions.d.ts +2 -0
  919. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/usePresetOptions/usePresetOptions.types.d.ts +6 -0
  920. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useResetKey/useResetKey.d.ts +1 -0
  921. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useSelectedPreset/useSelectedPreset.d.ts +10 -0
  922. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useSelectedPreset/useSelectedPreset.types.d.ts +4 -0
  923. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/utils/duration/duration.d.ts +4 -0
  924. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/utils/duration/duration.types.d.ts +5 -0
  925. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/utils/index.d.ts +3 -0
  926. package/dist/lib/components/Filter/components/CustomDateRangeFilterDropdown/utils/whole-days/whole-days.d.ts +2 -0
  927. package/dist/lib/components/Filter/components/DateFilterDropdown/DateFilterDropdown.d.ts +3 -0
  928. package/dist/lib/components/Filter/components/DateFilterDropdown/DateFilterDropdown.types.d.ts +7 -0
  929. package/dist/lib/components/Filter/components/DateFilterDropdown/hooks/index.d.ts +1 -0
  930. package/dist/lib/components/Filter/components/DateFilterDropdown/hooks/useDateFilterDropdown/useDateFilterDropdown.d.ts +11 -0
  931. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.d.ts +3 -0
  932. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.types.d.ts +25 -0
  933. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/hooks/index.d.ts +1 -0
  934. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/hooks/useDateRangeFilterDropdown/useDateRangeFilterDropdown.d.ts +12 -0
  935. package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.d.ts +3 -0
  936. package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.types.d.ts +9 -0
  937. package/dist/lib/components/Filter/components/ResetButton/ResetButton.d.ts +3 -0
  938. package/dist/lib/components/Filter/components/ResetButton/ResetButton.types.d.ts +5 -0
  939. package/dist/lib/components/Filter/components/TextMultiSelect/TextMultiSelect.d.ts +3 -0
  940. package/dist/lib/components/Filter/components/TextMultiSelect/TextMultiSelect.types.d.ts +9 -0
  941. package/dist/lib/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.d.ts +3 -0
  942. package/dist/lib/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.types.d.ts +13 -0
  943. package/dist/lib/components/Filter/components/TimeFilterDropdown/hooks/index.d.ts +1 -0
  944. package/dist/lib/components/Filter/components/TimeFilterDropdown/hooks/useTimeFilterDropdown/useTimeFilterDropdown.d.ts +13 -0
  945. package/dist/lib/components/Filter/components/index.d.ts +14 -0
  946. package/dist/lib/components/Filter/contexts/filter.context.d.ts +6 -0
  947. package/dist/lib/components/Filter/contexts/filter.hook.d.ts +2 -0
  948. package/dist/lib/components/Filter/contexts/filter.provider.d.ts +5 -0
  949. package/dist/lib/components/Filter/contexts/index.d.ts +3 -0
  950. package/dist/lib/components/Filter/events/index.d.ts +14 -0
  951. package/dist/lib/components/Filter/hooks/index.d.ts +1 -0
  952. package/dist/lib/components/Filter/hooks/useFilterDropdownSync.d.ts +2 -0
  953. package/dist/lib/components/Filter/hooks/useFilterDropdownSync.types.d.ts +5 -0
  954. package/dist/lib/components/Filter/utils/index.d.ts +1 -0
  955. package/dist/lib/components/ImageUpload/ImageUpload.d.ts +25 -0
  956. package/dist/lib/components/ImageUpload/ImageUpload.types.d.ts +71 -0
  957. package/dist/lib/components/ImageUpload/ImageUpload.variants.d.ts +13 -0
  958. package/dist/lib/components/Input/Input.d.ts +35 -0
  959. package/dist/lib/components/Input/Input.types.d.ts +42 -0
  960. package/dist/lib/components/Input/Input.variants.d.ts +3 -0
  961. package/dist/lib/components/LineChart/LineChart.d.ts +17 -0
  962. package/dist/lib/components/LineChart/LineChart.types.d.ts +58 -0
  963. package/dist/lib/components/Loading/Loading.d.ts +24 -0
  964. package/dist/lib/components/Loading/Loading.types.d.ts +19 -0
  965. package/dist/lib/components/Loading/Loading.variants.d.ts +1 -0
  966. package/dist/lib/components/Modal/Modal.d.ts +34 -0
  967. package/dist/lib/components/Modal/Modal.types.d.ts +50 -0
  968. package/dist/lib/components/Modal/components/Body/Body.d.ts +3 -0
  969. package/dist/lib/components/Modal/components/Body/Body.types.d.ts +5 -0
  970. package/dist/lib/components/Modal/components/Footer/Footer.d.ts +3 -0
  971. package/dist/lib/components/Modal/components/Footer/Footer.types.d.ts +5 -0
  972. package/dist/lib/components/Modal/components/Header/Header.d.ts +3 -0
  973. package/dist/lib/components/Modal/components/Header/Header.types.d.ts +5 -0
  974. package/dist/lib/components/Modal/components/Wrapper/Wrapper.d.ts +3 -0
  975. package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +14 -0
  976. package/dist/lib/components/Modal/components/Wrapper/Wrapper.variants.d.ts +2 -0
  977. package/dist/lib/components/Modal/components/index.d.ts +4 -0
  978. package/dist/lib/components/Modal/contexts/Modal.context.d.ts +2 -0
  979. package/dist/lib/components/Modal/contexts/Modal.provider.d.ts +4 -0
  980. package/dist/lib/components/Modal/contexts/Modal.types.d.ts +9 -0
  981. package/dist/lib/components/Modal/contexts/index.d.ts +1 -0
  982. package/dist/lib/components/Modal/hooks/index.d.ts +1 -0
  983. package/dist/lib/components/Modal/hooks/useModal.d.ts +9 -0
  984. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.d.ts +23 -0
  985. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +80 -0
  986. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.variants.d.ts +3 -0
  987. package/dist/lib/components/MultiSelectDropdown/components/Item/Item.d.ts +3 -0
  988. package/dist/lib/components/MultiSelectDropdown/components/Item/Item.types.d.ts +8 -0
  989. package/dist/lib/components/MultiSelectDropdown/components/Item/Item.variants.d.ts +3 -0
  990. package/dist/lib/components/MultiSelectDropdown/components/List/List.d.ts +3 -0
  991. package/dist/lib/components/MultiSelectDropdown/components/List/List.types.d.ts +4 -0
  992. package/dist/lib/components/MultiSelectDropdown/components/List/List.variants.d.ts +1 -0
  993. package/dist/lib/components/MultiSelectDropdown/components/Wrapper/Wrapper.d.ts +3 -0
  994. package/dist/lib/components/MultiSelectDropdown/components/Wrapper/Wrapper.types.d.ts +7 -0
  995. package/dist/lib/components/MultiSelectDropdown/components/index.d.ts +3 -0
  996. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.d.ts +2 -0
  997. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.d.ts +1 -0
  998. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.d.ts +3 -0
  999. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.types.d.ts +33 -0
  1000. package/dist/lib/components/MultiSelectDropdown/contexts/index.d.ts +2 -0
  1001. package/dist/lib/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.d.ts +4 -0
  1002. package/dist/lib/components/PhoneNumberInput/PhoneNumberInput.d.ts +21 -0
  1003. package/dist/lib/components/PhoneNumberInput/PhoneNumberInput.types.d.ts +51 -0
  1004. package/dist/lib/components/PhoneNumberInput/PhoneNumberInput.variants.d.ts +4 -0
  1005. package/dist/lib/components/PhoneNumberInput/components/FlagContent/FlagContent.d.ts +2 -0
  1006. package/dist/lib/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.d.ts +3 -0
  1007. package/dist/lib/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.types.d.ts +5 -0
  1008. package/dist/lib/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.d.ts +3 -0
  1009. package/dist/lib/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.types.d.ts +8 -0
  1010. package/dist/lib/components/PhoneNumberInput/components/TruncateText/TruncateText.d.ts +3 -0
  1011. package/dist/lib/components/PhoneNumberInput/components/TruncateText/TruncateText.types.d.ts +4 -0
  1012. package/dist/lib/components/PhoneNumberInput/components/Wrapper.d.ts +3 -0
  1013. package/dist/lib/components/PhoneNumberInput/components/index.d.ts +2 -0
  1014. package/dist/lib/components/PhoneNumberInput/contexts/index.d.ts +3 -0
  1015. package/dist/lib/components/PhoneNumberInput/contexts/phone-number.context.d.ts +20 -0
  1016. package/dist/lib/components/PhoneNumberInput/contexts/phone-number.hook.d.ts +2 -0
  1017. package/dist/lib/components/PhoneNumberInput/contexts/phone-number.provider.d.ts +6 -0
  1018. package/dist/lib/components/PhoneNumberInput/utils/index.d.ts +2 -0
  1019. package/dist/lib/components/PieChart/PieChart.d.ts +20 -0
  1020. package/dist/lib/components/PieChart/PieChart.types.d.ts +90 -0
  1021. package/dist/lib/components/ProgressBar/ProgressBar.d.ts +3 -0
  1022. package/dist/lib/components/ProgressBar/ProgressBar.types.d.ts +24 -0
  1023. package/dist/lib/components/ProgressBar/ProgressBar.variants.d.ts +4 -0
  1024. package/dist/lib/components/Radio/Radio.d.ts +22 -0
  1025. package/dist/lib/components/Radio/Radio.types.d.ts +46 -0
  1026. package/dist/lib/components/Radio/Radio.variants.d.ts +8 -0
  1027. package/dist/lib/components/RadioCard/RadioCard.d.ts +22 -0
  1028. package/dist/lib/components/RadioCard/RadioCard.types.d.ts +25 -0
  1029. package/dist/lib/components/RadioCard/RadioCard.variants.d.ts +1 -0
  1030. package/dist/lib/components/RadioCardGroup/RadioCardGroup.d.ts +23 -0
  1031. package/dist/lib/components/RadioCardGroup/RadioCardGroup.types.d.ts +32 -0
  1032. package/dist/lib/components/RadioCardGroup/RadioCardGroup.variants.d.ts +3 -0
  1033. package/dist/lib/components/RadioGroup/RadioGroup.d.ts +34 -0
  1034. package/dist/lib/components/RadioGroup/RadioGroup.types.d.ts +46 -0
  1035. package/dist/lib/components/RadioGroup/RadioGroup.variants.d.ts +3 -0
  1036. package/dist/lib/components/Range/Range.d.ts +21 -0
  1037. package/dist/lib/components/Range/Range.types.d.ts +44 -0
  1038. package/dist/lib/components/Range/Range.variants.d.ts +8 -0
  1039. package/dist/lib/components/Select/Select.d.ts +37 -0
  1040. package/dist/lib/components/Select/Select.types.d.ts +145 -0
  1041. package/dist/lib/components/Select/Select.variants.d.ts +6 -0
  1042. package/dist/lib/components/Select/components/AdditionalOptions/AdditionalOptions.d.ts +3 -0
  1043. package/dist/lib/components/Select/components/AdditionalOptions/AdditionalOptions.types.d.ts +4 -0
  1044. package/dist/lib/components/Select/components/AdditionalOptions/AdditionalOptions.variants.d.ts +1 -0
  1045. package/dist/lib/components/Select/components/EmptyList.d.ts +2 -0
  1046. package/dist/lib/components/Select/components/List/List.d.ts +3 -0
  1047. package/dist/lib/components/Select/components/List/List.types.d.ts +19 -0
  1048. package/dist/lib/components/Select/components/List/List.variants.d.ts +2 -0
  1049. package/dist/lib/components/Select/components/ListItem/ListItem.d.ts +3 -0
  1050. package/dist/lib/components/Select/components/ListItem/ListItem.types.d.ts +9 -0
  1051. package/dist/lib/components/Select/components/ListItem/ListItem.variants.d.ts +1 -0
  1052. package/dist/lib/components/Select/components/Wrapper.d.ts +7 -0
  1053. package/dist/lib/components/Select/components/index.d.ts +4 -0
  1054. package/dist/lib/components/Select/constants/index.d.ts +2 -0
  1055. package/dist/lib/components/Select/constants/list.d.ts +1 -0
  1056. package/dist/lib/components/Select/constants/pagination.d.ts +1 -0
  1057. package/dist/lib/components/Select/contexts/index.d.ts +2 -0
  1058. package/dist/lib/components/Select/contexts/select.context.d.ts +21 -0
  1059. package/dist/lib/components/Select/contexts/select.hook.d.ts +2 -0
  1060. package/dist/lib/components/Select/contexts/select.provider.d.ts +11 -0
  1061. package/dist/lib/components/Select/hooks/useNavigationList.d.ts +11 -0
  1062. package/dist/lib/components/Select/hooks/useSelect.d.ts +16 -0
  1063. package/dist/lib/components/Sidebar/Sidebar.d.ts +28 -0
  1064. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +132 -0
  1065. package/dist/lib/components/Sidebar/Sidebar.variants.d.ts +4 -0
  1066. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.d.ts +4 -0
  1067. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.types.d.ts +4 -0
  1068. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.d.ts +1 -0
  1069. package/dist/lib/components/Sidebar/components/Footer/Footer.d.ts +4 -0
  1070. package/dist/lib/components/Sidebar/components/Footer/Footer.types.d.ts +8 -0
  1071. package/dist/lib/components/Sidebar/components/Footer/Footer.variants.d.ts +1 -0
  1072. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.d.ts +4 -0
  1073. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +9 -0
  1074. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.d.ts +1 -0
  1075. package/dist/lib/components/Sidebar/components/Label/Label.d.ts +4 -0
  1076. package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +9 -0
  1077. package/dist/lib/components/Sidebar/components/Logo/Logo.d.ts +4 -0
  1078. package/dist/lib/components/Sidebar/components/Logo/Logo.types.d.ts +16 -0
  1079. package/dist/lib/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -0
  1080. package/dist/lib/components/Sidebar/components/Navigation/Navigation.d.ts +4 -0
  1081. package/dist/lib/components/Sidebar/components/Navigation/Navigation.types.d.ts +18 -0
  1082. package/dist/lib/components/Sidebar/components/Navigation/Navigation.variants.d.ts +1 -0
  1083. package/dist/lib/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +4 -0
  1084. package/dist/lib/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +10 -0
  1085. package/dist/lib/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +1 -0
  1086. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.context.d.ts +18 -0
  1087. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +4 -0
  1088. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +50 -0
  1089. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +3 -0
  1090. package/dist/lib/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +4 -0
  1091. package/dist/lib/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +7 -0
  1092. package/dist/lib/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +1 -0
  1093. package/dist/lib/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +4 -0
  1094. package/dist/lib/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +10 -0
  1095. package/dist/lib/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +1 -0
  1096. package/dist/lib/components/Sidebar/components/Wrapper/Wrapper.d.ts +4 -0
  1097. package/dist/lib/components/Sidebar/components/index.d.ts +21 -0
  1098. package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +28 -0
  1099. package/dist/lib/components/Sidebar/contexts/index.d.ts +1 -0
  1100. package/dist/lib/components/Sidebar/hooks/index.d.ts +1 -0
  1101. package/dist/lib/components/Sidebar/hooks/useSidebarMode.d.ts +5 -0
  1102. package/dist/lib/components/Slider/Slider.d.ts +21 -0
  1103. package/dist/lib/components/Slider/Slider.types.d.ts +44 -0
  1104. package/dist/lib/components/Slider/Slider.variants.d.ts +7 -0
  1105. package/dist/lib/components/Spinner/Spinner.d.ts +4 -0
  1106. package/dist/lib/components/Spinner/Spinner.types.d.ts +15 -0
  1107. package/dist/lib/components/Spinner/Spinner.variants.d.ts +6 -0
  1108. package/dist/lib/components/Stepper/Stepper.d.ts +51 -0
  1109. package/dist/lib/components/Stepper/Stepper.types.d.ts +75 -0
  1110. package/dist/lib/components/Stepper/Stepper.variants.d.ts +40 -0
  1111. package/dist/lib/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.d.ts +2 -0
  1112. package/dist/lib/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.types.d.ts +1 -0
  1113. package/dist/lib/components/Stepper/components/StepConnector/StepConnector.d.ts +2 -0
  1114. package/dist/lib/components/Stepper/components/StepConnector/StepConnector.types.d.ts +13 -0
  1115. package/dist/lib/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.d.ts +2 -0
  1116. package/dist/lib/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.types.d.ts +13 -0
  1117. package/dist/lib/components/Stepper/components/StepItem/StepItem.d.ts +2 -0
  1118. package/dist/lib/components/Stepper/components/StepItem/StepItem.types.d.ts +32 -0
  1119. package/dist/lib/components/Stepper/components/VerticalStepItem/VerticalStepItem.d.ts +2 -0
  1120. package/dist/lib/components/Stepper/components/VerticalStepItem/VerticalStepItem.types.d.ts +1 -0
  1121. package/dist/lib/components/Stepper/constants/index.d.ts +3 -0
  1122. package/dist/lib/components/Stepper/hooks/index.d.ts +1 -0
  1123. package/dist/lib/components/Stepper/hooks/useStepItemLogic.d.ts +2 -0
  1124. package/dist/lib/components/Stepper/hooks/useStepItemLogic.types.d.ts +16 -0
  1125. package/dist/lib/components/Stepper/utils/index.d.ts +3 -0
  1126. package/dist/lib/components/Switch/Switch.d.ts +29 -0
  1127. package/dist/lib/components/Switch/Switch.types.d.ts +45 -0
  1128. package/dist/lib/components/Switch/Switch.variants.d.ts +4 -0
  1129. package/dist/lib/components/Table/Table.d.ts +38 -0
  1130. package/dist/lib/components/Table/Table.types.d.ts +59 -0
  1131. package/dist/lib/components/Table/Table.variants.d.ts +6 -0
  1132. package/dist/lib/components/Table/components/Body.d.ts +3 -0
  1133. package/dist/lib/components/Table/components/Filter.d.ts +3 -0
  1134. package/dist/lib/components/Table/components/Head.d.ts +3 -0
  1135. package/dist/lib/components/Table/components/Row.d.ts +3 -0
  1136. package/dist/lib/components/Table/components/index.d.ts +4 -0
  1137. package/dist/lib/components/Tabs/Tabs.d.ts +37 -0
  1138. package/dist/lib/components/Tabs/Tabs.types.d.ts +44 -0
  1139. package/dist/lib/components/Tabs/Tabs.variants.d.ts +12 -0
  1140. package/dist/lib/components/Tabs/components/Content.d.ts +4 -0
  1141. package/dist/lib/components/Tabs/components/List.d.ts +4 -0
  1142. package/dist/lib/components/Tabs/components/Trigger.d.ts +4 -0
  1143. package/dist/lib/components/Tabs/components/index.d.ts +3 -0
  1144. package/dist/lib/components/Tag/Tag.d.ts +16 -0
  1145. package/dist/lib/components/Tag/Tag.types.d.ts +36 -0
  1146. package/dist/lib/components/Tag/Tag.variants.d.ts +3 -0
  1147. package/dist/lib/components/TagSelect/TagSelect.d.ts +23 -0
  1148. package/dist/lib/components/TagSelect/TagSelect.types.d.ts +41 -0
  1149. package/dist/lib/components/TagSelect/TagSelect.variants.d.ts +3 -0
  1150. package/dist/lib/components/TagSelect/components/Item/Item.d.ts +3 -0
  1151. package/dist/lib/components/TagSelect/components/Item/Item.types.d.ts +6 -0
  1152. package/dist/lib/components/TagSelect/components/Item/Item.variants.d.ts +3 -0
  1153. package/dist/lib/components/TagSelect/components/List/List.d.ts +3 -0
  1154. package/dist/lib/components/TagSelect/components/List/List.types.d.ts +4 -0
  1155. package/dist/lib/components/TagSelect/components/List/List.variants.d.ts +1 -0
  1156. package/dist/lib/components/TagSelect/components/Wrapper/Wrapper.d.ts +3 -0
  1157. package/dist/lib/components/TagSelect/components/Wrapper/Wrapper.types.d.ts +7 -0
  1158. package/dist/lib/components/TagSelect/components/index.d.ts +3 -0
  1159. package/dist/lib/components/TagSelect/contexts/TagSelect.context.d.ts +2 -0
  1160. package/dist/lib/components/TagSelect/contexts/TagSelect.hook.d.ts +1 -0
  1161. package/dist/lib/components/TagSelect/contexts/TagSelect.provider.d.ts +3 -0
  1162. package/dist/lib/components/TagSelect/contexts/TagSelect.types.d.ts +15 -0
  1163. package/dist/lib/components/TagSelect/contexts/index.d.ts +2 -0
  1164. package/dist/lib/components/TagSelect/hooks/useTagSelect.d.ts +4 -0
  1165. package/dist/lib/components/TextArea/TextArea.d.ts +30 -0
  1166. package/dist/lib/components/TextArea/TextArea.types.d.ts +41 -0
  1167. package/dist/lib/components/TextArea/TextArea.variants.d.ts +4 -0
  1168. package/dist/lib/components/TimePicker/TimePicker.d.ts +21 -0
  1169. package/dist/lib/components/TimePicker/TimePicker.types.d.ts +59 -0
  1170. package/dist/lib/components/TimePicker/TimePicker.variants.d.ts +4 -0
  1171. package/dist/lib/components/TimePicker/components/HoursList/HoursList.d.ts +4 -0
  1172. package/dist/lib/components/TimePicker/components/HoursList/HoursList.types.d.ts +8 -0
  1173. package/dist/lib/components/TimePicker/components/MeridianList/MeridianList.d.ts +4 -0
  1174. package/dist/lib/components/TimePicker/components/MeridianList/MeridianList.types.d.ts +7 -0
  1175. package/dist/lib/components/TimePicker/components/MinutesList/MinutesList.d.ts +4 -0
  1176. package/dist/lib/components/TimePicker/components/MinutesList/MinutesList.types.d.ts +9 -0
  1177. package/dist/lib/components/TimePicker/components/Wrapper/Wrapper.d.ts +3 -0
  1178. package/dist/lib/components/TimePicker/components/Wrapper/Wrapper.types.d.ts +6 -0
  1179. package/dist/lib/components/TimePicker/components/WrapperList/WrapperList.d.ts +3 -0
  1180. package/dist/lib/components/TimePicker/components/WrapperList/WrapperList.types.d.ts +10 -0
  1181. package/dist/lib/components/TimePicker/components/index.d.ts +1 -0
  1182. package/dist/lib/components/TimePicker/contexts/index.d.ts +3 -0
  1183. package/dist/lib/components/TimePicker/contexts/time-picker.context.d.ts +15 -0
  1184. package/dist/lib/components/TimePicker/contexts/time-picker.hook.d.ts +2 -0
  1185. package/dist/lib/components/TimePicker/contexts/time-picker.provider.d.ts +7 -0
  1186. package/dist/lib/components/TimePicker/utils/index.d.ts +8 -0
  1187. package/dist/lib/components/Toast/Toast.d.ts +30 -0
  1188. package/dist/lib/components/Toast/Toast.types.d.ts +75 -0
  1189. package/dist/lib/components/Toast/Toast.variants.d.ts +18 -0
  1190. package/dist/lib/components/Toast/ToastProvider.d.ts +11 -0
  1191. package/dist/lib/components/Toast/ToastProvider.types.d.ts +17 -0
  1192. package/dist/lib/components/Toast/components/ToastCard/ToastCard.d.ts +3 -0
  1193. package/dist/lib/components/Toast/components/ToastCard/ToastCard.types.d.ts +17 -0
  1194. package/dist/lib/components/Toast/components/index.d.ts +1 -0
  1195. package/dist/lib/components/Toast/constants/index.d.ts +25 -0
  1196. package/dist/lib/components/Toast/contexts/index.d.ts +1 -0
  1197. package/dist/lib/components/Toast/contexts/toast-store.context.d.ts +2 -0
  1198. package/dist/lib/components/Toast/hooks/index.d.ts +6 -0
  1199. package/dist/lib/components/Toast/hooks/useStackExpansion/useStackExpansion.d.ts +2 -0
  1200. package/dist/lib/components/Toast/hooks/useStackExpansion/useStackExpansion.types.d.ts +6 -0
  1201. package/dist/lib/components/Toast/hooks/useToast/useToast.d.ts +2 -0
  1202. package/dist/lib/components/Toast/hooks/useToastHeights/useToastHeights.d.ts +2 -0
  1203. package/dist/lib/components/Toast/hooks/useToastHeights/useToastHeights.types.d.ts +6 -0
  1204. package/dist/lib/components/Toast/hooks/useToastSource/useToastSource.d.ts +2 -0
  1205. package/dist/lib/components/Toast/hooks/useToastSource/useToastSource.types.d.ts +11 -0
  1206. package/dist/lib/components/Toast/hooks/useToastStore/useToastStore.d.ts +3 -0
  1207. package/dist/lib/components/Toast/hooks/useToastTimer/useToastTimer.d.ts +2 -0
  1208. package/dist/lib/components/Toast/hooks/useToastTimer/useToastTimer.types.d.ts +7 -0
  1209. package/dist/lib/components/Toast/store/create-toast-store.d.ts +2 -0
  1210. package/dist/lib/components/Toast/store/create-toast-store.types.d.ts +24 -0
  1211. package/dist/lib/components/Toast/store/default-toast-store.d.ts +1 -0
  1212. package/dist/lib/components/Toast/store/index.d.ts +2 -0
  1213. package/dist/lib/components/Toast/utils/compute-stack-layout/compute-stack-layout.d.ts +2 -0
  1214. package/dist/lib/components/Toast/utils/compute-stack-layout/compute-stack-layout.types.d.ts +12 -0
  1215. package/dist/lib/components/Toast/utils/index.d.ts +1 -0
  1216. package/dist/lib/components/Tooltip/Tooltip.d.ts +22 -0
  1217. package/dist/lib/components/Tooltip/Tooltip.types.d.ts +41 -0
  1218. package/dist/lib/components/Typography/Typography.d.ts +18 -0
  1219. package/dist/lib/components/Typography/Typography.types.d.ts +31 -0
  1220. package/dist/lib/components/Typography/Typography.variants.d.ts +3 -0
  1221. package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +18 -0
  1222. package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +261 -0
  1223. package/dist/lib/components/VirtualizedTable/VirtualizedTable.variants.d.ts +1 -0
  1224. package/dist/lib/components/VirtualizedTable/assets/chevron-down.d.ts +6 -0
  1225. package/dist/lib/components/VirtualizedTable/assets/chevron-up.d.ts +6 -0
  1226. package/dist/lib/components/VirtualizedTable/assets/index.d.ts +3 -0
  1227. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.d.ts +3 -0
  1228. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.types.d.ts +25 -0
  1229. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.variants.d.ts +5 -0
  1230. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.d.ts +3 -0
  1231. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.types.d.ts +9 -0
  1232. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.d.ts +4 -0
  1233. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.types.d.ts +6 -0
  1234. package/dist/lib/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.d.ts +3 -0
  1235. package/dist/lib/components/VirtualizedTable/components/Actions/components/InlineActions/constants/index.d.ts +2 -0
  1236. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.d.ts +3 -0
  1237. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/constants/index.d.ts +2 -0
  1238. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/index.d.ts +1 -0
  1239. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.d.ts +15 -0
  1240. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.d.ts +10 -0
  1241. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.types.d.ts +7 -0
  1242. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-keyboard-navigation/use-menu-keyboard-navigation.d.ts +6 -0
  1243. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-keyboard-navigation/use-menu-keyboard-navigation.types.d.ts +8 -0
  1244. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-row-highlight/use-row-highlight.d.ts +2 -0
  1245. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-row-highlight/use-row-highlight.types.d.ts +5 -0
  1246. package/dist/lib/components/VirtualizedTable/components/Body/Body.d.ts +3 -0
  1247. package/dist/lib/components/VirtualizedTable/components/Body/Body.types.d.ts +8 -0
  1248. package/dist/lib/components/VirtualizedTable/components/DotPaginate/DotPaginate.d.ts +1 -0
  1249. package/dist/lib/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.d.ts +3 -0
  1250. package/dist/lib/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.types.d.ts +5 -0
  1251. package/dist/lib/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.d.ts +3 -0
  1252. package/dist/lib/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.types.d.ts +10 -0
  1253. package/dist/lib/components/VirtualizedTable/components/Filter/Filter.d.ts +3 -0
  1254. package/dist/lib/components/VirtualizedTable/components/Filter/Filter.types.d.ts +17 -0
  1255. package/dist/lib/components/VirtualizedTable/components/FormPaginate/FormPaginate.d.ts +1 -0
  1256. package/dist/lib/components/VirtualizedTable/components/Header/Header.d.ts +3 -0
  1257. package/dist/lib/components/VirtualizedTable/components/Header/Header.types.d.ts +6 -0
  1258. package/dist/lib/components/VirtualizedTable/components/Pagination/Pagination.d.ts +3 -0
  1259. package/dist/lib/components/VirtualizedTable/components/Pagination/Pagination.types.d.ts +11 -0
  1260. package/dist/lib/components/VirtualizedTable/components/Skeleton/Skeleton.d.ts +2 -0
  1261. package/dist/lib/components/VirtualizedTable/components/Skeleton/Skeleton.types.d.ts +5 -0
  1262. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.d.ts +2 -0
  1263. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +8 -0
  1264. package/dist/lib/components/VirtualizedTable/components/WrapperBody/WrapperBody.d.ts +3 -0
  1265. package/dist/lib/components/VirtualizedTable/components/WrapperBody/WrapperBody.types.d.ts +6 -0
  1266. package/dist/lib/components/VirtualizedTable/components/index.d.ts +7 -0
  1267. package/dist/lib/components/VirtualizedTable/constants/index.d.ts +1 -0
  1268. package/dist/lib/components/VirtualizedTable/constants/pagination.d.ts +2 -0
  1269. package/dist/lib/components/VirtualizedTable/contexts/index.d.ts +3 -0
  1270. package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +46 -0
  1271. package/dist/lib/components/VirtualizedTable/contexts/table.hook.d.ts +3 -0
  1272. package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +3 -0
  1273. package/dist/lib/components/VirtualizedTable/contexts/table.types.d.ts +30 -0
  1274. package/dist/lib/components/VirtualizedTable/events/events.types.d.ts +11 -0
  1275. package/dist/lib/components/VirtualizedTable/events/filters/filters.d.ts +1 -0
  1276. package/dist/lib/components/VirtualizedTable/events/index.d.ts +4 -0
  1277. package/dist/lib/components/VirtualizedTable/events/refresh/refresh.d.ts +2 -0
  1278. package/dist/lib/components/VirtualizedTable/events/refresh/refresh.types.d.ts +3 -0
  1279. package/dist/lib/components/VirtualizedTable/events/row/row.d.ts +3 -0
  1280. package/dist/lib/components/VirtualizedTable/utils/get-table-id.d.ts +1 -0
  1281. package/dist/lib/components/VirtualizedTable/utils/index.d.ts +2 -0
  1282. package/dist/lib/components/VirtualizedTable/utils/pagination.d.ts +1 -0
  1283. package/dist/lib/components/index.d.ts +66 -0
  1284. package/dist/lib/contexts/index.d.ts +3 -0
  1285. package/dist/lib/contexts/theme.context.d.ts +6 -0
  1286. package/dist/lib/contexts/theme.hook.d.ts +7 -0
  1287. package/dist/lib/contexts/theme.provider.d.ts +38 -0
  1288. package/dist/lib/domain/theme.d.ts +1 -0
  1289. package/dist/lib/hooks/index.d.ts +4 -0
  1290. package/dist/lib/hooks/useClickOutside.d.ts +4 -0
  1291. package/dist/lib/hooks/useIsHydrated/useIsHydrated.d.ts +1 -0
  1292. package/dist/lib/hooks/useIsHydrated/utils/index.d.ts +1 -0
  1293. package/dist/lib/hooks/useIsHydrated/utils/noop-subscribe/noop-subscribe.d.ts +1 -0
  1294. package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
  1295. package/dist/lib/hooks/useToggle.d.ts +1 -0
  1296. package/dist/lib/icons.d.ts +2 -0
  1297. package/dist/lib/index.d.ts +4 -0
  1298. package/dist/lib/styles.d.ts +0 -0
  1299. package/dist/lib/utils/index.d.ts +6 -0
  1300. package/dist/libphonenumber-DtibHRPP.js +81995 -0
  1301. package/dist/package.json +94 -59
  1302. package/dist/phone-number.provider-BASl9fGG.js +6688 -0
  1303. package/dist/prop-types-BCUW56rg.js +547 -0
  1304. package/dist/react-DpRKGbW_.js +4793 -0
  1305. package/dist/rolldown-runtime-Dw9YIBcH.js +38 -0
  1306. package/dist/style.css +1 -0
  1307. package/dist/styles.css +1 -1
  1308. package/dist/{index-Dx2grAuN.js → table.provider-MQ4T5Xb5.js} +850 -697
  1309. package/dist/theme.provider-CvL6sqHq.js +75 -0
  1310. package/dist/ui/civo-theme.css +198 -168
  1311. package/dist/ui/kubefirst-theme.css +4 -0
  1312. package/dist/ui/theme.css +27 -0
  1313. package/dist/useBreadcrumb-BvP9cgD8.js +1598 -0
  1314. package/dist/utils/index.js +6 -2729
  1315. package/dist/utils-DVYdP0CJ.js +2021 -0
  1316. package/dist/utils-DnIJruo0.js +1817 -0
  1317. package/dist/x-C8O1IsaM.js +17 -0
  1318. package/dist/x-Vur_9PXW.js +62 -0
  1319. package/package.json +94 -59
  1320. package/dist/Combination-VYaRRJBZ.js +0 -477
  1321. package/dist/DatePicker.css +0 -1
  1322. package/dist/Modal-B8jrP02v.js +0 -98
  1323. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  1324. package/dist/chevron-down-MZvQoT2F.js +0 -11
  1325. package/dist/chevron-right-VYBOBhRt.js +0 -19
  1326. package/dist/components/Dropdown/Dropdown.js +0 -42
  1327. package/dist/components/Dropdown/Dropdown.variants.js +0 -69
  1328. package/dist/components/Dropdown/components/EmptyList.js +0 -5
  1329. package/dist/components/Dropdown/components/List/List.js +0 -79
  1330. package/dist/components/Dropdown/components/List/List.variants.js +0 -28
  1331. package/dist/components/Dropdown/components/ListItem/ListItem.js +0 -67
  1332. package/dist/components/Dropdown/components/Wrapper.js +0 -205
  1333. package/dist/components/Dropdown/components/index.js +0 -8
  1334. package/dist/components/Dropdown/contexts/dropdown.context.js +0 -19
  1335. package/dist/components/Dropdown/contexts/dropdown.hook.js +0 -13
  1336. package/dist/components/Dropdown/contexts/dropdown.provider.js +0 -30
  1337. package/dist/components/Dropdown/contexts/index.js +0 -6
  1338. package/dist/components/Dropdown/hooks/useDropdown.js +0 -58
  1339. package/dist/components/Dropdown/hooks/useNavigationList.js +0 -62
  1340. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +0 -85
  1341. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +0 -86
  1342. package/dist/components/NumberInput/NumberInput.js +0 -179
  1343. package/dist/components/NumberInput/NumberInput.variants.js +0 -50
  1344. package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +0 -16
  1345. package/dist/components/Tooltip/Tooltip.variants.js +0 -85
  1346. package/dist/components/Tooltip/hooks/useTooltip.js +0 -24
  1347. package/dist/createLucideIcon-D2CN7Ma9.js +0 -94
  1348. package/dist/debounce-BFejQm9P.js +0 -200
  1349. package/dist/index-0XtjXVpJ.js +0 -314
  1350. package/dist/index-0ioNhtNM.js +0 -10
  1351. package/dist/index-BAEWsOG1.js +0 -27
  1352. package/dist/index-BVRIAMfe.js +0 -36
  1353. package/dist/index-BZPx6jYI.js +0 -8
  1354. package/dist/index-BdMNhZnh.js +0 -9
  1355. package/dist/index-BfXxHr_2.js +0 -125
  1356. package/dist/index-Bn4c-gww.js +0 -131
  1357. package/dist/index-C1g_chDT.js +0 -70
  1358. package/dist/index-CffpTFMi.js +0 -137
  1359. package/dist/index-Cvx4lqTq.js +0 -47
  1360. package/dist/index-D29mdTf5.js +0 -34
  1361. package/dist/index-DQH6odE9.js +0 -82
  1362. package/dist/index-DQJhMz8c.js +0 -323
  1363. package/dist/index-DdXGVVBv.js +0 -15
  1364. package/dist/index-N2OStZoU.js +0 -667
  1365. package/dist/index-amYX3uxF.js +0 -436
  1366. package/dist/index-bwWKd82e.js +0 -13
  1367. package/dist/index-l3NwplN0.js +0 -432
  1368. package/dist/index-sp5ZfG6g.js +0 -31
  1369. package/dist/useBreadcrumb-B8DnuqkR.js +0 -1273
  1370. package/dist/x-4F_5p77m.js +0 -62
@@ -0,0 +1,4793 @@
1
+ import { Component as zr, Fragment as as, createContext as Pt, createElement as _r, forwardRef as Gr, useCallback as ls, useContext as j, useEffect as si, useId as Hr, useInsertionEffect as us, useLayoutEffect as Xr, useMemo as le, useRef as ot } from "react";
2
+ import { jsx as cs, jsxs as Yr } from "react/jsx-runtime";
3
+ var hs = Pt({});
4
+ function qr(t) {
5
+ const e = ot(null);
6
+ return e.current === null && (e.current = t()), e.current;
7
+ }
8
+ var Zr = typeof window < "u", Ni = Zr ? Xr : si, ri = /* @__PURE__ */ Pt(null);
9
+ function oi(t, e) {
10
+ t.indexOf(e) === -1 && t.push(e);
11
+ }
12
+ function Zt(t, e) {
13
+ const i = t.indexOf(e);
14
+ i > -1 && t.splice(i, 1);
15
+ }
16
+ var G = (t, e, i) => i > e ? e : i < t ? t : i;
17
+ function Ee(t, e) {
18
+ return e ? `${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${e}` : t;
19
+ }
20
+ var ft = () => {
21
+ }, q = () => {
22
+ };
23
+ typeof process < "u" && process.env.NODE_ENV !== "production" && (ft = (t, e, i) => {
24
+ !t && typeof console < "u" && console.warn(Ee(e, i));
25
+ }, q = (t, e, i) => {
26
+ if (!t) throw new Error(Ee(e, i));
27
+ });
28
+ var J = {}, ai = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), fs = (t) => typeof t == "object" && t !== null, li = (t) => /^0[^.\s]+$/u.test(t);
29
+ // @__NO_SIDE_EFFECTS__
30
+ function ds(t) {
31
+ let e;
32
+ return () => (e === void 0 && (e = t()), e);
33
+ }
34
+ var _ = /* @__NO_SIDE_EFFECTS__ */ (t) => t, Ft = (...t) => t.reduce((e, i) => (n) => i(e(n))), Rt = /* @__NO_SIDE_EFFECTS__ */ (t, e, i) => {
35
+ const n = e - t;
36
+ return n ? (i - t) / n : 1;
37
+ }, Jt = class {
38
+ constructor() {
39
+ this.subscriptions = [];
40
+ }
41
+ add(t) {
42
+ return oi(this.subscriptions, t), () => this.remove(t);
43
+ }
44
+ remove(t) {
45
+ Zt(this.subscriptions, t);
46
+ }
47
+ notify(t, e, i) {
48
+ const n = this.subscriptions.length;
49
+ if (n)
50
+ if (n === 1) this.subscriptions[0](t, e, i);
51
+ else for (let s = 0; s < n; s++) {
52
+ const o = this.subscriptions[s];
53
+ o && o(t, e, i);
54
+ }
55
+ }
56
+ getSize() {
57
+ return this.subscriptions.length;
58
+ }
59
+ clear() {
60
+ this.subscriptions.length = 0;
61
+ }
62
+ }, N = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, $ = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3, ms = /* @__NO_SIDE_EFFECTS__ */ (t, e) => e ? t * (1e3 / e) : 0, Ui = /* @__PURE__ */ new Set();
63
+ function ui(t, e, i) {
64
+ t || Ui.has(e) || (console.warn(Ee(e, i)), Ui.add(e));
65
+ }
66
+ var ps = (t, e, i) => (((1 - 3 * i + 3 * e) * t + (3 * i - 6 * e)) * t + 3 * e) * t, Jr = 1e-7, Qr = 12;
67
+ function to(t, e, i, n, s) {
68
+ let o, r, a = 0;
69
+ do
70
+ r = e + (i - e) / 2, o = ps(r, n, s) - t, o > 0 ? i = r : e = r;
71
+ while (Math.abs(o) > Jr && ++a < Qr);
72
+ return r;
73
+ }
74
+ // @__NO_SIDE_EFFECTS__
75
+ function Ot(t, e, i, n) {
76
+ if (t === e && i === n) return _;
77
+ const s = (o) => to(o, 0, 1, t, i);
78
+ return (o) => o === 0 || o === 1 ? o : ps(s(o), e, n);
79
+ }
80
+ var vs = /* @__NO_SIDE_EFFECTS__ */ (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, gs = /* @__NO_SIDE_EFFECTS__ */ (t) => (e) => 1 - t(1 - e), ys = /* @__PURE__ */ Ot(0.33, 1.53, 0.69, 0.99), ci = /* @__PURE__ */ gs(ys), Ts = /* @__PURE__ */ vs(ci), xs = (t) => t >= 1 ? 1 : (t *= 2) < 1 ? 0.5 * ci(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), hi = (t) => 1 - Math.sin(Math.acos(t)), ws = gs(hi), Ps = vs(hi), eo = /* @__PURE__ */ Ot(0.42, 0, 1, 1), io = /* @__PURE__ */ Ot(0, 0, 0.58, 1), fi = /* @__PURE__ */ Ot(0.42, 0, 0.58, 1), no = /* @__NO_SIDE_EFFECTS__ */ (t) => Array.isArray(t) && typeof t[0] != "number", Ss = /* @__NO_SIDE_EFFECTS__ */ (t) => Array.isArray(t) && typeof t[0] == "number", Wi = {
81
+ linear: _,
82
+ easeIn: eo,
83
+ easeInOut: fi,
84
+ easeOut: io,
85
+ circIn: hi,
86
+ circInOut: Ps,
87
+ circOut: ws,
88
+ backIn: ci,
89
+ backInOut: Ts,
90
+ backOut: ys,
91
+ anticipate: xs
92
+ }, so = (t) => typeof t == "string", $i = (t) => {
93
+ if (Ss(t)) {
94
+ q(t.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
95
+ const [e, i, n, s] = t;
96
+ return /* @__PURE__ */ Ot(e, i, n, s);
97
+ } else if (so(t))
98
+ return q(Wi[t] !== void 0, `Invalid easing type '${t}'`, "invalid-easing-type"), Wi[t];
99
+ return t;
100
+ }, Nt = [
101
+ "setup",
102
+ "read",
103
+ "resolveKeyframes",
104
+ "preUpdate",
105
+ "update",
106
+ "preRender",
107
+ "render",
108
+ "postRender"
109
+ ];
110
+ function ro(t) {
111
+ let e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), n = !1, s = !1;
112
+ const o = /* @__PURE__ */ new Set();
113
+ let r = {
114
+ delta: 0,
115
+ timestamp: 0,
116
+ isProcessing: !1
117
+ };
118
+ function a(c) {
119
+ o.has(c) && (i.add(c), t()), c(r);
120
+ }
121
+ const l = {
122
+ schedule: (c, u = !1, h = !1) => {
123
+ const f = h && n ? e : i;
124
+ return u && o.add(c), f.add(c), c;
125
+ },
126
+ cancel: (c) => {
127
+ i.delete(c), o.delete(c);
128
+ },
129
+ process: (c) => {
130
+ if (r = c, n) {
131
+ s = !0;
132
+ return;
133
+ }
134
+ n = !0;
135
+ const u = e;
136
+ e = i, i = u, e.forEach(a), e.clear(), n = !1, s && (s = !1, l.process(c));
137
+ }
138
+ };
139
+ return l;
140
+ }
141
+ var oo = 40;
142
+ function bs(t, e) {
143
+ let i = !1, n = !0;
144
+ const s = {
145
+ delta: 0,
146
+ timestamp: 0,
147
+ isProcessing: !1
148
+ }, o = () => i = !0, r = Nt.reduce((x, P) => (x[P] = ro(o), x), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: u, update: h, preRender: f, render: p, postRender: d } = r, v = () => {
149
+ const x = J.useManualTiming, P = x ? s.timestamp : performance.now();
150
+ i = !1, x || (s.delta = n ? 1e3 / 60 : Math.max(Math.min(P - s.timestamp, oo), 1)), s.timestamp = P, s.isProcessing = !0, a.process(s), l.process(s), c.process(s), u.process(s), h.process(s), f.process(s), p.process(s), d.process(s), s.isProcessing = !1, i && e && (n = !1, t(v));
151
+ }, m = () => {
152
+ i = !0, n = !0, s.isProcessing || t(v);
153
+ };
154
+ return {
155
+ schedule: Nt.reduce((x, P) => {
156
+ const A = r[P];
157
+ return x[P] = (V, g = !1, S = !1) => (i || m(), A.schedule(V, g, S)), x;
158
+ }, {}),
159
+ cancel: (x) => {
160
+ for (let P = 0; P < Nt.length; P++) r[Nt[P]].cancel(x);
161
+ },
162
+ state: s,
163
+ steps: r
164
+ };
165
+ }
166
+ var { schedule: C, cancel: tt, state: R, steps: me } = /* @__PURE__ */ bs(typeof requestAnimationFrame < "u" ? requestAnimationFrame : _, !0), Kt;
167
+ function ao() {
168
+ Kt = void 0;
169
+ }
170
+ var B = {
171
+ now: () => (Kt === void 0 && B.set(R.isProcessing || J.useManualTiming ? R.timestamp : performance.now()), Kt),
172
+ set: (t) => {
173
+ Kt = t, queueMicrotask(ao);
174
+ }
175
+ }, xt = (t) => Math.round(t * 1e5) / 1e5, As = (t) => (e) => typeof e == "string" && e.startsWith(t), Vs = /* @__PURE__ */ As("--"), lo = /* @__PURE__ */ As("var(--"), di = (t) => lo(t) ? uo.test(t.split("/*")[0].trim()) : !1, uo = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
176
+ function Ki(t) {
177
+ return typeof t != "string" ? !1 : t.split("/*")[0].includes("var(--");
178
+ }
179
+ var St = {
180
+ test: (t) => typeof t == "number",
181
+ parse: parseFloat,
182
+ transform: (t) => t
183
+ }, Lt = {
184
+ ...St,
185
+ transform: (t) => G(0, 1, t)
186
+ }, Ut = {
187
+ ...St,
188
+ default: 1
189
+ }, mi = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
190
+ function co(t) {
191
+ return t == null;
192
+ }
193
+ var ho = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, pi = (t, e) => (i) => !!(typeof i == "string" && ho.test(i) && i.startsWith(t) || e && !co(i) && Object.prototype.hasOwnProperty.call(i, e)), Cs = (t, e, i) => (n) => {
194
+ if (typeof n != "string") return n;
195
+ const [s, o, r, a] = n.match(mi);
196
+ return {
197
+ [t]: parseFloat(s),
198
+ [e]: parseFloat(o),
199
+ [i]: parseFloat(r),
200
+ alpha: a !== void 0 ? parseFloat(a) : 1
201
+ };
202
+ }, fo = (t) => G(0, 255, t), pe = {
203
+ ...St,
204
+ transform: (t) => Math.round(fo(t))
205
+ }, at = {
206
+ test: /* @__PURE__ */ pi("rgb", "red"),
207
+ parse: /* @__PURE__ */ Cs("red", "green", "blue"),
208
+ transform: ({ red: t, green: e, blue: i, alpha: n = 1 }) => "rgba(" + pe.transform(t) + ", " + pe.transform(e) + ", " + pe.transform(i) + ", " + xt(Lt.transform(n)) + ")"
209
+ };
210
+ function mo(t) {
211
+ let e = "", i = "", n = "", s = "";
212
+ return t.length > 5 ? (e = t.substring(1, 3), i = t.substring(3, 5), n = t.substring(5, 7), s = t.substring(7, 9)) : (e = t.substring(1, 2), i = t.substring(2, 3), n = t.substring(3, 4), s = t.substring(4, 5), e += e, i += i, n += n, s += s), {
213
+ red: parseInt(e, 16),
214
+ green: parseInt(i, 16),
215
+ blue: parseInt(n, 16),
216
+ alpha: s ? parseInt(s, 16) / 255 : 1
217
+ };
218
+ }
219
+ var Re = {
220
+ test: /* @__PURE__ */ pi("#"),
221
+ parse: mo,
222
+ transform: at.transform
223
+ }, jt = /* @__NO_SIDE_EFFECTS__ */ (t) => ({
224
+ test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
225
+ parse: parseFloat,
226
+ transform: (e) => `${e}${t}`
227
+ }), Z = /* @__PURE__ */ jt("deg"), Y = /* @__PURE__ */ jt("%"), y = /* @__PURE__ */ jt("px"), po = /* @__PURE__ */ jt("vh"), vo = /* @__PURE__ */ jt("vw"), zi = {
228
+ ...Y,
229
+ parse: (t) => Y.parse(t) / 100,
230
+ transform: (t) => Y.transform(t * 100)
231
+ }, vt = {
232
+ test: /* @__PURE__ */ pi("hsl", "hue"),
233
+ parse: /* @__PURE__ */ Cs("hue", "saturation", "lightness"),
234
+ transform: ({ hue: t, saturation: e, lightness: i, alpha: n = 1 }) => "hsla(" + Math.round(t) + ", " + Y.transform(xt(e)) + ", " + Y.transform(xt(i)) + ", " + xt(Lt.transform(n)) + ")"
235
+ }, E = {
236
+ test: (t) => at.test(t) || Re.test(t) || vt.test(t),
237
+ parse: (t) => at.test(t) ? at.parse(t) : vt.test(t) ? vt.parse(t) : Re.parse(t),
238
+ transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? at.transform(t) : vt.transform(t),
239
+ getAnimatableNone: (t) => {
240
+ const e = E.parse(t);
241
+ return e.alpha = 0, E.transform(e);
242
+ }
243
+ }, go = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Ds = /* @__PURE__ */ new RegExp(mi.source), Ms = /* @__PURE__ */ new RegExp(go.source, "i");
244
+ function yo(t) {
245
+ return isNaN(t) && typeof t == "string" && (Ds.test(t) || Ms.test(t));
246
+ }
247
+ var Es = "number", Rs = "color", To = "var", xo = "var(", _i = "${}", wo = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
248
+ function Po(t) {
249
+ const e = t.toString();
250
+ return Ds.test(e) || Ms.test(e);
251
+ }
252
+ function kt(t) {
253
+ const e = t.toString(), i = [], n = {
254
+ color: [],
255
+ number: [],
256
+ var: []
257
+ }, s = [];
258
+ let o = 0;
259
+ return {
260
+ values: i,
261
+ split: e.replace(wo, (r) => (E.test(r) ? (n.color.push(o), s.push(Rs), i.push(E.parse(r))) : r.startsWith(xo) ? (n.var.push(o), s.push(To), i.push(r)) : (n.number.push(o), s.push(Es), i.push(parseFloat(r))), ++o, _i)).split(_i),
262
+ indexes: n,
263
+ types: s
264
+ };
265
+ }
266
+ function So(t) {
267
+ return kt(t).values;
268
+ }
269
+ function Ls({ split: t, types: e }) {
270
+ const i = t.length;
271
+ return (n) => {
272
+ let s = "";
273
+ for (let o = 0; o < i; o++)
274
+ if (s += t[o], n[o] !== void 0) {
275
+ const r = e[o];
276
+ r === Es ? s += xt(n[o]) : r === Rs ? s += E.transform(n[o]) : s += n[o];
277
+ }
278
+ return s;
279
+ };
280
+ }
281
+ function bo(t) {
282
+ return Ls(kt(t));
283
+ }
284
+ var Ao = (t) => typeof t == "number" ? 0 : E.test(t) ? E.getAnimatableNone(t) : t, Vo = (t, e) => typeof t == "number" ? e?.trim().endsWith("/") ? t : 0 : Ao(t);
285
+ function Co(t) {
286
+ const e = kt(t);
287
+ return Ls(e)(e.values.map((i, n) => Vo(i, e.split[n])));
288
+ }
289
+ var U = {
290
+ test: yo,
291
+ parse: So,
292
+ createTransformer: bo,
293
+ getAnimatableNone: Co
294
+ };
295
+ function ve(t, e, i) {
296
+ return i < 0 && (i += 1), i > 1 && (i -= 1), i < 1 / 6 ? t + (e - t) * 6 * i : i < 1 / 2 ? e : i < 2 / 3 ? t + (e - t) * (2 / 3 - i) * 6 : t;
297
+ }
298
+ function Do({ hue: t, saturation: e, lightness: i, alpha: n }) {
299
+ t /= 360, e /= 100, i /= 100;
300
+ let s = 0, o = 0, r = 0;
301
+ if (!e) s = o = r = i;
302
+ else {
303
+ const a = i < 0.5 ? i * (1 + e) : i + e - i * e, l = 2 * i - a;
304
+ s = ve(l, a, t + 1 / 3), o = ve(l, a, t), r = ve(l, a, t - 1 / 3);
305
+ }
306
+ return {
307
+ red: Math.round(s * 255),
308
+ green: Math.round(o * 255),
309
+ blue: Math.round(r * 255),
310
+ alpha: n
311
+ };
312
+ }
313
+ function Qt(t, e) {
314
+ return (i) => i > 0 ? e : t;
315
+ }
316
+ var b = (t, e, i) => t + (e - t) * i, ge = (t, e, i) => {
317
+ const n = t * t, s = i * (e * e - n) + n;
318
+ return s < 0 ? 0 : Math.sqrt(s);
319
+ }, Mo = [
320
+ Re,
321
+ at,
322
+ vt
323
+ ], Eo = (t) => Mo.find((e) => e.test(t));
324
+ function Gi(t) {
325
+ const e = Eo(t);
326
+ if (!e)
327
+ return ft(!1, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !1;
328
+ let i = e.parse(t);
329
+ return e === vt && (i = Do(i)), i;
330
+ }
331
+ var Hi = (t, e) => {
332
+ const i = Gi(t), n = Gi(e);
333
+ if (!i || !n) return Qt(t, e);
334
+ const s = { ...i };
335
+ return (o) => (s.red = ge(i.red, n.red, o), s.green = ge(i.green, n.green, o), s.blue = ge(i.blue, n.blue, o), s.alpha = b(i.alpha, n.alpha, o), at.transform(s));
336
+ }, Le = /* @__PURE__ */ new Set(["none", "hidden"]);
337
+ function Ro(t, e) {
338
+ return Le.has(t) ? (i) => i <= 0 ? t : e : (i) => i >= 1 ? e : t;
339
+ }
340
+ function Lo(t, e) {
341
+ return (i) => b(t, e, i);
342
+ }
343
+ function vi(t) {
344
+ return typeof t == "number" ? Lo : typeof t == "string" ? di(t) ? Qt : E.test(t) ? Hi : Io : Array.isArray(t) ? ks : typeof t == "object" ? E.test(t) ? Hi : ko : Qt;
345
+ }
346
+ function ks(t, e) {
347
+ const i = [...t], n = i.length, s = t.map((o, r) => vi(o)(o, e[r]));
348
+ return (o) => {
349
+ for (let r = 0; r < n; r++) i[r] = s[r](o);
350
+ return i;
351
+ };
352
+ }
353
+ function ko(t, e) {
354
+ const i = {
355
+ ...t,
356
+ ...e
357
+ }, n = {};
358
+ for (const s in i) t[s] !== void 0 && e[s] !== void 0 && (n[s] = vi(t[s])(t[s], e[s]));
359
+ return (s) => {
360
+ for (const o in n) i[o] = n[o](s);
361
+ return i;
362
+ };
363
+ }
364
+ function Bo(t, e) {
365
+ const i = [], n = {
366
+ color: 0,
367
+ var: 0,
368
+ number: 0
369
+ };
370
+ for (let s = 0; s < e.values.length; s++) {
371
+ const o = e.types[s], r = t.indexes[o][n[o]], a = t.values[r] ?? 0;
372
+ i[s] = a, n[o]++;
373
+ }
374
+ return i;
375
+ }
376
+ var Io = (t, e) => {
377
+ const i = U.createTransformer(e), n = kt(t), s = kt(e);
378
+ return n.indexes.var.length === s.indexes.var.length && n.indexes.color.length === s.indexes.color.length && n.indexes.number.length >= s.indexes.number.length ? Le.has(t) && !s.values.length || Le.has(e) && !n.values.length ? Ro(t, e) : Ft(ks(Bo(n, s), s.values), i) : (ft(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Qt(t, e));
379
+ }, Xi = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;
380
+ function Fo(t, e) {
381
+ const i = Xi.exec(t);
382
+ if (!i) return;
383
+ const n = Xi.exec(e);
384
+ if (!n || i[2] !== n[2]) return;
385
+ const s = i[2], o = parseFloat(i[1]), r = parseFloat(n[1]);
386
+ return (a) => xt(b(o, r, a)) + s;
387
+ }
388
+ function gi(t, e, i) {
389
+ if (typeof t == "number" && typeof e == "number" && typeof i == "number") return b(t, e, i);
390
+ if (typeof t == "string" && typeof e == "string") {
391
+ const n = Fo(t, e);
392
+ if (n) return n;
393
+ }
394
+ return vi(t)(t, e);
395
+ }
396
+ var Oo = (t) => {
397
+ const e = ({ timestamp: i }) => t(i);
398
+ return {
399
+ start: (i = !0) => C.update(e, i),
400
+ stop: () => tt(e),
401
+ now: () => R.isProcessing ? R.timestamp : B.now()
402
+ };
403
+ }, Bs = (t, e, i = 10) => {
404
+ let n = "";
405
+ const s = Math.max(Math.round(e / i), 2);
406
+ for (let o = 0; o < s; o++) n += Math.round(t(o / (s - 1)) * 1e4) / 1e4 + ", ";
407
+ return `linear(${n.substring(0, n.length - 2)})`;
408
+ }, yi = 2e4;
409
+ function Ti(t, e = 50, i = yi, n) {
410
+ let s = 0, o = t.next(s);
411
+ for (n?.push(o.value); !o.done && s < i; )
412
+ s += e, o = t.next(s), n?.push(o.value);
413
+ return s >= i ? 1 / 0 : s;
414
+ }
415
+ function jo(t, e = 100, i) {
416
+ const n = i({
417
+ ...t,
418
+ keyframes: [0, e]
419
+ }), s = Math.min(Ti(n), yi);
420
+ return {
421
+ type: "keyframes",
422
+ ease: (o) => n.next(s * o).value / e,
423
+ duration: $(s)
424
+ };
425
+ }
426
+ var L = {
427
+ stiffness: 100,
428
+ damping: 10,
429
+ mass: 1,
430
+ duration: 800,
431
+ bounce: 0.3,
432
+ visualDuration: 0.3,
433
+ restSpeed: {
434
+ granular: 0.01,
435
+ default: 2
436
+ },
437
+ restDelta: {
438
+ granular: 5e-3,
439
+ default: 0.5
440
+ },
441
+ minDuration: 0.01,
442
+ maxDuration: 10,
443
+ minDamping: 0.05,
444
+ maxDamping: 1
445
+ };
446
+ function ke(t, e) {
447
+ return t * Math.sqrt(1 - e * e);
448
+ }
449
+ var No = 12;
450
+ function Uo(t, e, i) {
451
+ let n = i;
452
+ for (let s = 1; s < No; s++) n = n - t(n) / e(n);
453
+ return n;
454
+ }
455
+ var Yi = 1e-3;
456
+ function Wo({ duration: t = L.duration, bounce: e = L.bounce }) {
457
+ let i, n;
458
+ ft(t <= N(L.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
459
+ let s = 1 - e;
460
+ s = G(L.minDamping, L.maxDamping, s), t = G(L.minDuration, L.maxDuration, $(t)), s < 1 ? (i = (l) => {
461
+ const c = l * s, u = c * t, h = ke(l, s), f = Math.exp(-u);
462
+ return Yi - c / h * f;
463
+ }, n = (l) => {
464
+ const c = l * s * t, u = s * s * l * l * t, h = Math.exp(-c), f = ke(l * l, s);
465
+ return (-i(l) + Yi > 0 ? -1 : 1) * -u * h / f;
466
+ }) : (i = (l) => -1e-3 + Math.exp(-l * t) * (l * t + 1), n = (l) => Math.exp(-l * t) * (-l * (t * t)));
467
+ const o = 5 / t, r = Uo(i, n, o), a = r * r;
468
+ return {
469
+ stiffness: a,
470
+ damping: s * 2 * Math.sqrt(a),
471
+ duration: N(t)
472
+ };
473
+ }
474
+ var Be = (t, e) => (e ? t >= 0 : t > 0) && t < 1 / 0;
475
+ function ye(t, e) {
476
+ if (Be(t, e)) return t;
477
+ process.env.NODE_ENV !== "production" && ft(t === void 0, "Spring stiffness and mass must be positive, damping 0 or greater", "spring-invalid-physics");
478
+ }
479
+ function $o(t) {
480
+ const e = ye(t.stiffness), i = ye(t.damping, !0), n = ye(t.mass), s = {
481
+ ...t,
482
+ stiffness: e ?? L.stiffness,
483
+ damping: i ?? L.damping,
484
+ mass: n ?? L.mass,
485
+ isResolvedFromDuration: !1,
486
+ isTimeDefined: (e ?? i ?? n) === void 0 && (t.duration !== void 0 || t.bounce !== void 0)
487
+ };
488
+ if (s.isTimeDefined) {
489
+ if (t.visualDuration) {
490
+ const o = 2 * Math.PI / (t.visualDuration * 1.2);
491
+ s.stiffness = o * o, s.damping = 2 * G(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(s.stiffness);
492
+ } else
493
+ Object.assign(s, Wo(s)), s.isResolvedFromDuration = !0;
494
+ (!Be(s.stiffness) || !Be(s.damping, !0)) && (s.stiffness = L.stiffness, s.damping = L.damping);
495
+ }
496
+ return s;
497
+ }
498
+ function te(t = L.visualDuration, e = L.bounce) {
499
+ const i = typeof t != "object" ? {
500
+ visualDuration: t,
501
+ keyframes: [0, 1],
502
+ bounce: e
503
+ } : t, n = i.keyframes[0], s = i.keyframes[i.keyframes.length - 1], o = {
504
+ done: !1,
505
+ value: n
506
+ }, { stiffness: r, damping: a, mass: l, duration: c, isResolvedFromDuration: u, isTimeDefined: h } = $o({ ...i }), f = (g) => h ? 0 : -$(g), p = a / (2 * Math.sqrt(r * l)), d = $(Math.sqrt(r / l)), v = p * d, m = {
507
+ target: s,
508
+ delta: s - n,
509
+ velocity: f(i.velocity || 0) || 0,
510
+ restSpeed: 0,
511
+ restDelta: 0
512
+ }, w = () => {
513
+ const g = Math.abs(m.delta) < 5;
514
+ m.restSpeed = i.restSpeed || (g ? L.restSpeed.granular : L.restSpeed.default), m.restDelta = i.restDelta || (g ? L.restDelta.granular : L.restDelta.default);
515
+ };
516
+ w();
517
+ let T, x, P;
518
+ if (p < 1) {
519
+ const g = ke(d, p), S = {
520
+ A: 0,
521
+ sinC: 0,
522
+ cosC: 0,
523
+ t: -1,
524
+ env: 0,
525
+ sin: 0,
526
+ cos: 0
527
+ };
528
+ P = () => {
529
+ S.A = (m.velocity + v * m.delta) / g, S.sinC = v * S.A + m.delta * g, S.cosC = v * m.delta - S.A * g;
530
+ };
531
+ const D = (F) => {
532
+ F !== S.t && (S.t = F, S.env = Math.exp(-v * F), S.sin = Math.sin(g * F), S.cos = Math.cos(g * F));
533
+ };
534
+ T = (F) => (D(F), m.target - S.env * (S.A * S.sin + m.delta * S.cos)), x = (F) => (D(F), S.env * (S.sinC * S.sin + S.cosC * S.cos));
535
+ } else if (p === 1) {
536
+ T = (S) => m.target - Math.exp(-d * S) * (m.delta + (m.velocity + d * m.delta) * S);
537
+ const g = { C: 0 };
538
+ P = () => {
539
+ g.C = m.velocity + d * m.delta;
540
+ }, x = (S) => Math.exp(-d * S) * (d * g.C * S - m.velocity);
541
+ } else {
542
+ const g = d * Math.sqrt(p * p - 1);
543
+ T = (D) => {
544
+ const F = Math.exp(-v * D), Q = Math.min(g * D, 300);
545
+ return m.target - F * ((m.velocity + v * m.delta) * Math.sinh(Q) + g * m.delta * Math.cosh(Q)) / g;
546
+ };
547
+ const S = {
548
+ P: 0,
549
+ sinh: 0,
550
+ cosh: 0
551
+ };
552
+ P = () => {
553
+ S.P = (m.velocity + v * m.delta) / g, S.sinh = v * S.P - m.delta * g, S.cosh = v * m.delta - S.P * g;
554
+ }, x = (D) => {
555
+ const F = Math.exp(-v * D), Q = Math.min(g * D, 300);
556
+ return F * (S.sinh * Math.sinh(Q) + S.cosh * Math.cosh(Q));
557
+ };
558
+ }
559
+ P();
560
+ const A = u && c || null, V = {
561
+ calculatedDuration: A,
562
+ retarget: (g, S) => {
563
+ m.target = g[g.length - 1], m.delta = m.target - g[0], m.velocity = f(S), i.restSpeed && i.restDelta || w(), V.calculatedDuration = A, o.done = !1, P();
564
+ },
565
+ velocity: (g) => N(x(g)),
566
+ next: (g) => {
567
+ const S = T(g);
568
+ if (u)
569
+ o.done = g >= c;
570
+ else {
571
+ const D = N(x(g));
572
+ o.done = Math.abs(D) <= m.restSpeed && Math.abs(m.target - S) <= m.restDelta;
573
+ }
574
+ return o.value = o.done ? m.target : S, o;
575
+ },
576
+ toString: () => {
577
+ const g = Math.min(Ti(V), yi), S = Bs((D) => V.next(g * D).value, g, 30);
578
+ return g + "ms " + S;
579
+ },
580
+ toTransition: () => {
581
+ }
582
+ };
583
+ return V;
584
+ }
585
+ te.applyToOptions = (t) => {
586
+ const e = jo(t, 100, te);
587
+ return t.ease = e.ease, t.duration = N(e.duration), t.type = "keyframes", t;
588
+ };
589
+ function Ie({ keyframes: t, velocity: e = 0, power: i = 0.8, timeConstant: n = 325, bounceDamping: s = 10, bounceStiffness: o = 500, modifyTarget: r, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
590
+ const h = t[0], f = {
591
+ done: !1,
592
+ value: h
593
+ }, p = (g) => g < a || g > l, d = (g) => a === void 0 ? l : l === void 0 || Math.abs(a - g) < Math.abs(l - g) ? a : l;
594
+ let v = i * e;
595
+ const m = h + v, w = r === void 0 ? m : r(m);
596
+ w !== m && (v = w - h);
597
+ const T = (g) => -v * Math.exp(-g / n), x = (g) => {
598
+ const S = T(g);
599
+ f.done = Math.abs(S) <= c, f.value = f.done ? w : w + S;
600
+ };
601
+ let P, A;
602
+ const V = (g) => {
603
+ p(f.value) && (P = g, A = te({
604
+ keyframes: [f.value, d(f.value)],
605
+ velocity: -T(g) / n * 1e3,
606
+ damping: s,
607
+ stiffness: o,
608
+ restDelta: c,
609
+ restSpeed: u
610
+ }));
611
+ };
612
+ return V(0), {
613
+ calculatedDuration: null,
614
+ next: (g) => {
615
+ let S = !1;
616
+ return !A && P === void 0 && (S = !0, x(g), V(g)), P !== void 0 && g >= P ? A.next(g - P) : (!S && x(g), f);
617
+ }
618
+ };
619
+ }
620
+ function Ko(t, e, i) {
621
+ const n = [], s = i || J.mix || gi, o = t.length - 1;
622
+ for (let r = 0; r < o; r++) {
623
+ let a = s(t[r], t[r + 1]);
624
+ if (e) {
625
+ const l = Array.isArray(e) ? e[r] || _ : e;
626
+ a = Ft(l, a);
627
+ }
628
+ n.push(a);
629
+ }
630
+ return n;
631
+ }
632
+ function zo(t, e, { clamp: i = !0, ease: n, mixer: s } = {}) {
633
+ const o = t.length;
634
+ if (q(o === e.length, "Both input and output ranges must be the same length", "range-length"), o === 1) return () => e[0];
635
+ if (o === 2 && e[0] === e[1]) return () => e[1];
636
+ const r = t[0] === t[1];
637
+ t[0] > t[o - 1] && (t = [...t].reverse(), e = [...e].reverse());
638
+ const a = Ko(e, n, s), l = a.length, c = (u) => {
639
+ if (r && u < t[0]) return e[0];
640
+ let h = 0;
641
+ if (l > 1)
642
+ for (; h < t.length - 2 && !(u < t[h + 1]); h++) ;
643
+ const f = Rt(t[h], t[h + 1], u);
644
+ return a[h](f);
645
+ };
646
+ return i ? (u) => c(G(t[0], t[o - 1], u)) : c;
647
+ }
648
+ function _o(t, e) {
649
+ const i = t[t.length - 1];
650
+ for (let n = 1; n <= e; n++) {
651
+ const s = Rt(0, e, n);
652
+ t.push(b(i, 1, s));
653
+ }
654
+ }
655
+ function Go(t) {
656
+ const e = [0];
657
+ return _o(e, t.length - 1), e;
658
+ }
659
+ function Ho(t, e) {
660
+ return t.map((i) => i * e);
661
+ }
662
+ function Xo(t, e) {
663
+ return t.map(() => e || fi).splice(0, t.length - 1);
664
+ }
665
+ function gt({ duration: t = 300, keyframes: e, times: i, ease: n = "easeInOut" }) {
666
+ const s = no(n) ? n.map($i) : $i(n) || fi, o = {
667
+ done: !1,
668
+ value: e[0]
669
+ };
670
+ if (e.length === 2 && !Array.isArray(s) && (!i || i.length !== 2 || i[0] === 0 && i[1] === 1)) {
671
+ const [l, c] = e, u = l === c ? void 0 : (J.mix || gi)(l, c);
672
+ return {
673
+ calculatedDuration: t,
674
+ next: (h) => (o.value = u ? u(s(t > 0 ? G(0, 1, h / t) : 1)) : c, o.done = h >= t, o)
675
+ };
676
+ }
677
+ const r = Ho(i && i.length === e.length ? i : Go(e), t), a = zo(r, e, { ease: Array.isArray(s) ? s : Xo(e, s) });
678
+ return {
679
+ calculatedDuration: t,
680
+ next: (l) => (o.value = a(l), o.done = l >= t, o)
681
+ };
682
+ }
683
+ var Yo = 5;
684
+ function qo(t, e, i) {
685
+ const n = Math.max(e - Yo, 0);
686
+ return ms(i - t(n), e - n);
687
+ }
688
+ function Zo(t, e, i = 0) {
689
+ return e <= 0 ? i : t.velocity ? t.velocity(e) : qo((n) => t.next(n).value, e, t.next(e).value);
690
+ }
691
+ var Jo = (t) => t !== null;
692
+ function ue(t, { repeat: e, repeatType: i = "loop" }, n, s = 1) {
693
+ const o = t.filter(Jo), r = s < 0 || e && i !== "loop" && e % 2 === 1 ? 0 : o.length - 1;
694
+ return !r || n === void 0 ? o[r] : n;
695
+ }
696
+ var Qo = {
697
+ decay: Ie,
698
+ inertia: Ie,
699
+ tween: gt,
700
+ keyframes: gt,
701
+ spring: te
702
+ };
703
+ function Is(t) {
704
+ typeof t.type == "string" && (t.type = Qo[t.type]);
705
+ }
706
+ function Fs(t, e) {
707
+ return {
708
+ kind: t,
709
+ animation: e,
710
+ timestamp: B.now(),
711
+ frameTimestamp: R.timestamp,
712
+ frameIsProcessing: R.isProcessing
713
+ };
714
+ }
715
+ function Os(t, e, i) {
716
+ const n = globalThis.__MOTION_INSPECT__;
717
+ if (n)
718
+ try {
719
+ n({
720
+ ...Fs("animation-start", t),
721
+ options: i ? {
722
+ ...e,
723
+ ...i
724
+ } : e
725
+ });
726
+ } catch {
727
+ }
728
+ }
729
+ function ta(t, e) {
730
+ const i = globalThis.__MOTION_INSPECT__;
731
+ if (i)
732
+ try {
733
+ i({
734
+ ...Fs("layout-animation-start", t),
735
+ node: e
736
+ });
737
+ } catch {
738
+ }
739
+ }
740
+ var xi = class {
741
+ constructor() {
742
+ this.isResolved = !1;
743
+ }
744
+ get finished() {
745
+ return this._finished || (this._finished = this.isResolved ? Promise.resolve() : new Promise((t) => {
746
+ this._resolve = t;
747
+ })), this._finished;
748
+ }
749
+ updateFinished() {
750
+ this._finished = this._resolve = void 0, this.isResolved = !1;
751
+ }
752
+ notifyFinished() {
753
+ this.isResolved = !0, this._resolve?.();
754
+ }
755
+ then(t, e) {
756
+ return this.finished.then(t, e);
757
+ }
758
+ }, ea = (t) => t / 100, ee = class extends xi {
759
+ constructor(t) {
760
+ super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
761
+ done: !1,
762
+ value: void 0
763
+ }, this.stop = () => {
764
+ const { motionValue: e } = this.options;
765
+ e && e.updatedAt !== B.now() && this.tick(B.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
766
+ }, this.options = t, this.initAnimation(), this.play(), t.autoplay === !1 && this.pause(), Os(this, this.options);
767
+ }
768
+ initAnimation() {
769
+ const { options: t } = this;
770
+ Is(t);
771
+ const { type: e = gt, repeat: i = 0, repeatDelay: n = 0, repeatType: s, velocity: o = 0 } = t;
772
+ let { keyframes: r } = t;
773
+ const a = e || gt;
774
+ process.env.NODE_ENV !== "production" && a !== gt && q(r.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`, "spring-two-frames"), a !== gt && typeof r[0] != "number" && (this.mixKeyframes = Ft(ea, gi(r[0], r[1])), r = [0, 100]);
775
+ const l = a(r === t.keyframes ? t : {
776
+ ...t,
777
+ keyframes: r
778
+ });
779
+ s === "mirror" && (this.mirroredGenerator = a({
780
+ ...t,
781
+ keyframes: [...r].reverse(),
782
+ velocity: -o
783
+ })), l.calculatedDuration === null && (l.calculatedDuration = Ti(l));
784
+ const { calculatedDuration: c } = l;
785
+ this.calculatedDuration = c, this.resolvedDuration = c + n, this.totalDuration = this.resolvedDuration * (i + 1) - n, this.generator = l;
786
+ }
787
+ updateTime(t) {
788
+ const e = Math.round(t - this.startTime) * this.playbackSpeed;
789
+ this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = e;
790
+ }
791
+ tick(t, e = !1) {
792
+ const { generator: i, totalDuration: n, mixKeyframes: s, mirroredGenerator: o, resolvedDuration: r, calculatedDuration: a } = this;
793
+ if (this.startTime === null) return i.next(0);
794
+ const { delay: l = 0, keyframes: c, repeat: u, repeatType: h, repeatDelay: f, type: p, onUpdate: d, finalKeyframe: v } = this.options;
795
+ this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - n / this.speed, this.startTime)), e ? this.currentTime = t : this.updateTime(t);
796
+ const m = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), w = this.playbackSpeed >= 0 ? m < 0 : m > n;
797
+ this.currentTime = Math.max(m, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = n);
798
+ let T = this.currentTime, x = i;
799
+ if (u) {
800
+ const g = Math.min(this.currentTime, n) / r;
801
+ let S = Math.floor(g), D = g % 1;
802
+ !D && g >= 1 && (D = 1), D === 1 && S--, S = Math.min(S, u + 1), S % 2 && (h === "reverse" ? (D = 1 - D, f && (D -= f / r)) : h === "mirror" && (x = o)), T = G(0, 1, D) * r;
803
+ }
804
+ let P;
805
+ w ? (this.delayState.value = c[0], P = this.delayState) : P = x.next(T), s && !w && (P.value = s(P.value));
806
+ let { done: A } = P;
807
+ !w && a !== null && (A = this.playbackSpeed >= 0 ? this.currentTime >= n : this.currentTime <= 0);
808
+ const V = this.holdTime === null && (this.state === "finished" || this.state === "running" && A);
809
+ return V && p !== Ie && (P.value = ue(c, this.options, v, this.speed)), d && d(P.value), V && this.finish(), P;
810
+ }
811
+ then(t, e) {
812
+ return this.finished.then(t, e);
813
+ }
814
+ get duration() {
815
+ return $(this.calculatedDuration);
816
+ }
817
+ get iterationDuration() {
818
+ const { delay: t = 0 } = this.options || {};
819
+ return this.duration + $(t);
820
+ }
821
+ get time() {
822
+ return $(this.currentTime);
823
+ }
824
+ set time(t) {
825
+ t = N(t), this.currentTime = t, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t : this.driver && (this.startTime = this.driver.now() - t / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = t, this.tick(t));
826
+ }
827
+ getGeneratorVelocity() {
828
+ return Zo(this.generator, this.currentTime, this.options.velocity);
829
+ }
830
+ get speed() {
831
+ return this.playbackSpeed;
832
+ }
833
+ set speed(t) {
834
+ const e = this.playbackSpeed !== t;
835
+ e && this.driver && this.updateTime(B.now()), this.playbackSpeed = t, e && this.driver && (this.time = $(this.currentTime));
836
+ }
837
+ play() {
838
+ if (this.isStopped) return;
839
+ const { driver: t = Oo, startTime: e } = this.options;
840
+ this.driver || (this.driver = t((n) => this.tick(n))), this.options.onPlay?.();
841
+ const i = this.driver.now();
842
+ this.state === "finished" ? (this.updateFinished(), this.startTime = i) : this.holdTime !== null ? this.startTime = i - this.holdTime : this.startTime || (this.startTime = e ?? i), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
843
+ }
844
+ pause() {
845
+ this.state = "paused", this.updateTime(B.now()), this.holdTime = this.currentTime;
846
+ }
847
+ complete() {
848
+ this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
849
+ }
850
+ finish() {
851
+ this.notifyFinished(), this.teardown(), this.state = "finished", this.options.onComplete?.();
852
+ }
853
+ cancel() {
854
+ this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), this.options.onCancel?.();
855
+ }
856
+ teardown() {
857
+ this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null;
858
+ }
859
+ stopDriver() {
860
+ this.driver && (this.driver.stop(), this.driver = void 0);
861
+ }
862
+ sample(t) {
863
+ return this.startTime = 0, this.tick(t, !0);
864
+ }
865
+ attachTimeline(t) {
866
+ return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), t.observe(this);
867
+ }
868
+ }, ia = /* @__PURE__ */ new Set([
869
+ "brightness",
870
+ "contrast",
871
+ "saturate",
872
+ "opacity"
873
+ ]);
874
+ function na(t) {
875
+ const [e, i] = t.slice(0, -1).split("(");
876
+ if (e === "drop-shadow") return t;
877
+ const [n] = i.match(mi) || [];
878
+ if (!n) return t;
879
+ const s = i.replace(n, "");
880
+ let o = ia.has(e) ? 1 : 0;
881
+ return n !== i && (o *= 100), e + "(" + o + s + ")";
882
+ }
883
+ var sa = /\b([a-z-]*)\(.*?\)/gu, Fe = {
884
+ ...U,
885
+ getAnimatableNone: (t) => {
886
+ const e = t.match(sa);
887
+ return e ? e.map(na).join(" ") : t;
888
+ }
889
+ }, Oe = {
890
+ ...U,
891
+ getAnimatableNone: (t) => {
892
+ const e = U.parse(t);
893
+ return U.createTransformer(t)(e.map((i) => typeof i == "number" ? 0 : typeof i == "object" ? {
894
+ ...i,
895
+ alpha: 1
896
+ } : i));
897
+ }
898
+ }, qi = {
899
+ ...St,
900
+ transform: Math.round
901
+ }, ra = {
902
+ rotate: Z,
903
+ pathRotation: Z,
904
+ rotateX: Z,
905
+ rotateY: Z,
906
+ rotateZ: Z,
907
+ scale: Ut,
908
+ scaleX: Ut,
909
+ scaleY: Ut,
910
+ scaleZ: Ut,
911
+ skew: Z,
912
+ skewX: Z,
913
+ skewY: Z,
914
+ distance: y,
915
+ translateX: y,
916
+ translateY: y,
917
+ translateZ: y,
918
+ x: y,
919
+ y,
920
+ z: y,
921
+ perspective: y,
922
+ transformPerspective: y,
923
+ opacity: Lt,
924
+ originX: zi,
925
+ originY: zi,
926
+ originZ: y
927
+ }, ie = {
928
+ borderWidth: y,
929
+ borderTopWidth: y,
930
+ borderRightWidth: y,
931
+ borderBottomWidth: y,
932
+ borderLeftWidth: y,
933
+ borderRadius: y,
934
+ borderTopLeftRadius: y,
935
+ borderTopRightRadius: y,
936
+ borderBottomRightRadius: y,
937
+ borderBottomLeftRadius: y,
938
+ width: y,
939
+ maxWidth: y,
940
+ height: y,
941
+ maxHeight: y,
942
+ top: y,
943
+ right: y,
944
+ bottom: y,
945
+ left: y,
946
+ inset: y,
947
+ insetBlock: y,
948
+ insetBlockStart: y,
949
+ insetBlockEnd: y,
950
+ insetInline: y,
951
+ insetInlineStart: y,
952
+ insetInlineEnd: y,
953
+ padding: y,
954
+ paddingTop: y,
955
+ paddingRight: y,
956
+ paddingBottom: y,
957
+ paddingLeft: y,
958
+ paddingBlock: y,
959
+ paddingBlockStart: y,
960
+ paddingBlockEnd: y,
961
+ paddingInline: y,
962
+ paddingInlineStart: y,
963
+ paddingInlineEnd: y,
964
+ margin: y,
965
+ marginTop: y,
966
+ marginRight: y,
967
+ marginBottom: y,
968
+ marginLeft: y,
969
+ marginBlock: y,
970
+ marginBlockStart: y,
971
+ marginBlockEnd: y,
972
+ marginInline: y,
973
+ marginInlineStart: y,
974
+ marginInlineEnd: y,
975
+ fontSize: y,
976
+ backgroundPositionX: y,
977
+ backgroundPositionY: y,
978
+ ...ra,
979
+ zIndex: qi,
980
+ fillOpacity: Lt,
981
+ strokeOpacity: Lt,
982
+ numOctaves: qi
983
+ }, oa = {
984
+ ...ie,
985
+ color: E,
986
+ backgroundColor: E,
987
+ outlineColor: E,
988
+ fill: E,
989
+ stroke: E,
990
+ borderColor: E,
991
+ borderTopColor: E,
992
+ borderRightColor: E,
993
+ borderBottomColor: E,
994
+ borderLeftColor: E,
995
+ filter: Fe,
996
+ WebkitFilter: Fe,
997
+ mask: Oe,
998
+ WebkitMask: Oe
999
+ }, js = (t) => oa[t], aa = /* @__PURE__ */ new Set([Fe, Oe]);
1000
+ function wi(t, e) {
1001
+ let i = js(t);
1002
+ return aa.has(i) || (i = U), i.getAnimatableNone ? i.getAnimatableNone(e) : void 0;
1003
+ }
1004
+ function la(t) {
1005
+ for (let e = 1; e < t.length; e++) t[e] ?? (t[e] = t[e - 1]);
1006
+ }
1007
+ var lt = (t) => t * 180 / Math.PI, je = (t) => {
1008
+ const e = lt(Math.atan2(t[1], t[0]));
1009
+ return Ne(e);
1010
+ }, ua = {
1011
+ x: 4,
1012
+ y: 5,
1013
+ translateX: 4,
1014
+ translateY: 5,
1015
+ scaleX: 0,
1016
+ scaleY: 3,
1017
+ scale: (t) => (Math.abs(t[0]) + Math.abs(t[3])) / 2,
1018
+ rotate: je,
1019
+ rotateZ: je,
1020
+ skewX: (t) => lt(Math.atan(t[1])),
1021
+ skewY: (t) => lt(Math.atan(t[2])),
1022
+ skew: (t) => (Math.abs(t[1]) + Math.abs(t[2])) / 2
1023
+ }, Ne = (t) => (t = t % 360, t < 0 && (t += 360), t), Zi = je, Ji = (t) => Math.sqrt(t[0] * t[0] + t[1] * t[1]), Qi = (t) => Math.sqrt(t[4] * t[4] + t[5] * t[5]), ca = {
1024
+ x: 12,
1025
+ y: 13,
1026
+ z: 14,
1027
+ translateX: 12,
1028
+ translateY: 13,
1029
+ translateZ: 14,
1030
+ scaleX: Ji,
1031
+ scaleY: Qi,
1032
+ scale: (t) => (Ji(t) + Qi(t)) / 2,
1033
+ rotateX: (t) => Ne(lt(Math.atan2(t[6], t[5]))),
1034
+ rotateY: (t) => Ne(lt(Math.atan2(-t[2], t[0]))),
1035
+ rotateZ: Zi,
1036
+ rotate: Zi,
1037
+ skewX: (t) => lt(Math.atan(t[4])),
1038
+ skewY: (t) => lt(Math.atan(t[1])),
1039
+ skew: (t) => (Math.abs(t[1]) + Math.abs(t[4])) / 2
1040
+ };
1041
+ function Ue(t) {
1042
+ return t.includes("scale") ? 1 : 0;
1043
+ }
1044
+ function We(t, e) {
1045
+ if (!t || t === "none") return Ue(e);
1046
+ const i = t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
1047
+ let n, s;
1048
+ if (i)
1049
+ n = ca, s = i;
1050
+ else {
1051
+ const a = t.match(/^matrix\(([-\d.e\s,]+)\)$/u);
1052
+ n = ua, s = a;
1053
+ }
1054
+ if (!s) return Ue(e);
1055
+ const o = n[e], r = s[1].split(",").map(fa);
1056
+ return typeof o == "function" ? o(r) : r[o];
1057
+ }
1058
+ var ha = (t, e) => {
1059
+ const { transform: i = "none" } = getComputedStyle(t);
1060
+ return We(i, e);
1061
+ };
1062
+ function fa(t) {
1063
+ return parseFloat(t.trim());
1064
+ }
1065
+ var bt = [
1066
+ "transformPerspective",
1067
+ "x",
1068
+ "y",
1069
+ "z",
1070
+ "translateX",
1071
+ "translateY",
1072
+ "translateZ",
1073
+ "scale",
1074
+ "scaleX",
1075
+ "scaleY",
1076
+ "rotate",
1077
+ "rotateX",
1078
+ "rotateY",
1079
+ "rotateZ",
1080
+ "skew",
1081
+ "skewX",
1082
+ "skewY"
1083
+ ], At = /* @__PURE__ */ new Set([...bt, "pathRotation"]), tn = (t) => t === St || t === y, da = /* @__PURE__ */ new Set([
1084
+ "x",
1085
+ "y",
1086
+ "z"
1087
+ ]), ma = bt.filter((t) => !da.has(t));
1088
+ function pa(t) {
1089
+ const e = [];
1090
+ return ma.forEach((i) => {
1091
+ const n = t.getValue(i);
1092
+ if (n !== void 0) {
1093
+ const s = n.get(), o = i.startsWith("scale") ? 1 : 0;
1094
+ if (s === o) return;
1095
+ e.push([i, s]), n.set(o);
1096
+ }
1097
+ }), e;
1098
+ }
1099
+ var va = /* @__PURE__ */ new Set(["bottom", "right"]);
1100
+ function en(t, e, i, n, s, o) {
1101
+ const r = parseFloat(t);
1102
+ if (!isNaN(r)) return r;
1103
+ const { min: a, max: l } = e()[i], c = l - a;
1104
+ return o === "border-box" ? c : c - parseFloat(n) - parseFloat(s);
1105
+ }
1106
+ var ut = {
1107
+ width: ({ width: t, paddingLeft: e = "0", paddingRight: i = "0", boxSizing: n }, s) => en(t, s, "x", e, i, n),
1108
+ height: ({ height: t, paddingTop: e = "0", paddingBottom: i = "0", boxSizing: n }, s) => en(t, s, "y", e, i, n),
1109
+ top: ({ top: t }) => parseFloat(t),
1110
+ left: ({ left: t }) => parseFloat(t),
1111
+ bottom: ({ top: t }, e) => {
1112
+ const { y: i } = e();
1113
+ return parseFloat(t) + (i.max - i.min);
1114
+ },
1115
+ right: ({ left: t }, e) => {
1116
+ const { x: i } = e();
1117
+ return parseFloat(t) + (i.max - i.min);
1118
+ },
1119
+ x: ({ transform: t }) => We(t, "x"),
1120
+ y: ({ transform: t }) => We(t, "y")
1121
+ };
1122
+ ut.translateX = ut.x;
1123
+ ut.translateY = ut.y;
1124
+ var ct = /* @__PURE__ */ new Set(), $e = !1, Ke = !1, ze = !1;
1125
+ function Ns() {
1126
+ if (Ke) {
1127
+ const t = [], e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
1128
+ ct.forEach((s) => {
1129
+ s.needsMeasurement && (t.push(s), e.add(s.element), va.has(s.name) && i.add(s.element));
1130
+ });
1131
+ const n = /* @__PURE__ */ new Map();
1132
+ i.forEach((s) => {
1133
+ const o = pa(s);
1134
+ o.length && (n.set(s, o), s.render());
1135
+ }), t.forEach((s) => s.measureInitialState()), e.forEach((s) => {
1136
+ s.render();
1137
+ const o = n.get(s);
1138
+ o && o.forEach(([r, a]) => {
1139
+ s.getValue(r)?.set(a);
1140
+ });
1141
+ }), t.forEach((s) => s.measureEndState()), t.forEach((s) => {
1142
+ s.suspendedScrollY !== void 0 && window.scrollTo(0, s.suspendedScrollY);
1143
+ });
1144
+ }
1145
+ Ke = !1, $e = !1, ct.forEach((t) => t.complete(ze)), ct.clear();
1146
+ }
1147
+ function Us() {
1148
+ ct.forEach((t) => {
1149
+ t.readKeyframes(), t.needsMeasurement && (Ke = !0);
1150
+ });
1151
+ }
1152
+ function ga() {
1153
+ ze = !0, Us(), Ns(), ze = !1;
1154
+ }
1155
+ function ya(t, e, i) {
1156
+ if (typeof t == "string") {
1157
+ if (ai(t) || li(t)) return parseFloat(t);
1158
+ if (!U.test(t) && U.test(i)) return wi(e, i);
1159
+ }
1160
+ return t ?? void 0;
1161
+ }
1162
+ var Pi = class {
1163
+ constructor(t, e, i, n, s, o = !1) {
1164
+ this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = e, this.name = i, this.motionValue = n, this.element = s, this.isAsync = o;
1165
+ }
1166
+ scheduleResolve() {
1167
+ this.state = "scheduled", this.isAsync ? (ct.add(this), $e || ($e = !0, C.read(Us), C.resolveKeyframes(Ns))) : (this.readKeyframes(), this.complete());
1168
+ }
1169
+ readKeyframes() {
1170
+ const { unresolvedKeyframes: t, name: e, element: i, motionValue: n } = this;
1171
+ if (t[0] === null) {
1172
+ const s = n?.get(), o = t[t.length - 1];
1173
+ if (s !== void 0) t[0] = s;
1174
+ else if (i && e) {
1175
+ const r = ya(i.readValue(e, o), e, o);
1176
+ r !== void 0 && (t[0] = r);
1177
+ }
1178
+ t[0] === void 0 && (t[0] = o), n && s === void 0 && n.set(t[0]);
1179
+ }
1180
+ la(t);
1181
+ }
1182
+ setFinalKeyframe() {
1183
+ }
1184
+ measureInitialState() {
1185
+ }
1186
+ renderEndStyles() {
1187
+ }
1188
+ measureEndState() {
1189
+ }
1190
+ complete(t = !1) {
1191
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t), ct.delete(this);
1192
+ }
1193
+ cancel() {
1194
+ this.state === "scheduled" && (ct.delete(this), this.state = "pending");
1195
+ }
1196
+ resume() {
1197
+ this.state === "pending" && this.scheduleResolve();
1198
+ }
1199
+ }, Ta = (t) => t.startsWith("--");
1200
+ function Ws(t, e, i) {
1201
+ Ta(e) ? t.style.setProperty(e, i) : t.style[e] = i;
1202
+ }
1203
+ var xa = {};
1204
+ function $s(t, e) {
1205
+ const i = /* @__PURE__ */ ds(t);
1206
+ return () => xa[e] ?? i();
1207
+ }
1208
+ var wa = /* @__PURE__ */ $s(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Ks = /* @__PURE__ */ $s(() => {
1209
+ try {
1210
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
1211
+ } catch {
1212
+ return !1;
1213
+ }
1214
+ return !0;
1215
+ }, "linearEasing"), Dt = ([t, e, i, n]) => `cubic-bezier(${t}, ${e}, ${i}, ${n})`, nn = {
1216
+ linear: "linear",
1217
+ ease: "ease",
1218
+ easeIn: "ease-in",
1219
+ easeOut: "ease-out",
1220
+ easeInOut: "ease-in-out",
1221
+ circIn: /* @__PURE__ */ Dt([
1222
+ 0,
1223
+ 0.65,
1224
+ 0.55,
1225
+ 1
1226
+ ]),
1227
+ circOut: /* @__PURE__ */ Dt([
1228
+ 0.55,
1229
+ 0,
1230
+ 1,
1231
+ 0.45
1232
+ ]),
1233
+ backIn: /* @__PURE__ */ Dt([
1234
+ 0.31,
1235
+ 0.01,
1236
+ 0.66,
1237
+ -0.59
1238
+ ]),
1239
+ backOut: /* @__PURE__ */ Dt([
1240
+ 0.33,
1241
+ 1.53,
1242
+ 0.69,
1243
+ 0.99
1244
+ ])
1245
+ };
1246
+ function zs(t, e) {
1247
+ if (t) return typeof t == "function" ? Ks() ? Bs(t, e) : "ease-out" : Ss(t) ? Dt(t) : Array.isArray(t) ? t.map((i) => zs(i, e) || nn.easeOut) : nn[t];
1248
+ }
1249
+ function Pa(t, e, i, { delay: n = 0, duration: s = 300, repeat: o = 0, repeatType: r = "loop", ease: a = "easeOut", times: l } = {}, c = void 0) {
1250
+ const u = { [e]: i };
1251
+ l && (u.offset = l);
1252
+ const h = zs(a, s);
1253
+ Array.isArray(h) && (u.easing = h);
1254
+ const f = {
1255
+ delay: n,
1256
+ duration: s,
1257
+ easing: Array.isArray(h) ? "linear" : h,
1258
+ fill: "both",
1259
+ iterations: o + 1,
1260
+ direction: r === "reverse" ? "alternate" : "normal"
1261
+ };
1262
+ return c && (f.pseudoElement = c), t.animate(u, f);
1263
+ }
1264
+ function _s(t) {
1265
+ return typeof t == "function" && "applyToOptions" in t;
1266
+ }
1267
+ function Sa({ type: t, ...e }) {
1268
+ return _s(t) && Ks() ? t.applyToOptions(e) : (e.duration ?? (e.duration = 300), e.ease ?? (e.ease = "easeOut"), e);
1269
+ }
1270
+ var Gs = class extends xi {
1271
+ constructor(t) {
1272
+ if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !t) return;
1273
+ const { element: e, name: i, keyframes: n, pseudoElement: s, allowFlatten: o = !1, finalKeyframe: r, onComplete: a } = t;
1274
+ this.isPseudoElement = !!s, this.allowFlatten = o, this.options = t, q(typeof t.type != "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
1275
+ const l = Sa(t);
1276
+ this.animation = Pa(e, i, n, l, s), l.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
1277
+ if (this.finishedTime = this.time, !s) {
1278
+ const c = ue(n, this.options, r, this.speed);
1279
+ this.updateMotionValue && this.updateMotionValue(c), Ws(e, i, c), this.animation.cancel();
1280
+ }
1281
+ a?.(), this.notifyFinished();
1282
+ }, Os(this, t, l);
1283
+ }
1284
+ play() {
1285
+ this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());
1286
+ }
1287
+ pause() {
1288
+ this.animation.pause();
1289
+ }
1290
+ complete() {
1291
+ this.animation.finish?.();
1292
+ }
1293
+ cancel() {
1294
+ try {
1295
+ this.animation.cancel();
1296
+ } catch {
1297
+ }
1298
+ }
1299
+ stop() {
1300
+ if (this.isStopped) return;
1301
+ this.isStopped = !0;
1302
+ const { state: t } = this;
1303
+ t === "idle" || t === "finished" || (this.updateMotionValue ? this.updateMotionValue() : this.commitStyles(), this.isPseudoElement || this.cancel());
1304
+ }
1305
+ commitStyles() {
1306
+ const t = this.options?.element;
1307
+ !this.isPseudoElement && t?.isConnected && this.animation.commitStyles?.();
1308
+ }
1309
+ get duration() {
1310
+ const t = this.animation.effect?.getComputedTiming?.().duration || 0;
1311
+ return $(Number(t));
1312
+ }
1313
+ get iterationDuration() {
1314
+ const { delay: t = 0 } = this.options || {};
1315
+ return this.duration + $(t);
1316
+ }
1317
+ get time() {
1318
+ return $(Number(this.animation.currentTime) || 0);
1319
+ }
1320
+ set time(t) {
1321
+ const e = this.finishedTime !== null;
1322
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = N(t), e && this.animation.pause();
1323
+ }
1324
+ get speed() {
1325
+ return this.animation.playbackRate;
1326
+ }
1327
+ set speed(t) {
1328
+ t < 0 && (this.finishedTime = null), this.animation.playbackRate = t;
1329
+ }
1330
+ get state() {
1331
+ return this.finishedTime !== null ? "finished" : this.animation.playState;
1332
+ }
1333
+ get startTime() {
1334
+ return this.manualStartTime ?? Number(this.animation.startTime);
1335
+ }
1336
+ set startTime(t) {
1337
+ this.manualStartTime = this.animation.startTime = t;
1338
+ }
1339
+ attachTimeline({ timeline: t, rangeStart: e, rangeEnd: i, observe: n }) {
1340
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, t && wa() ? (this.animation.timeline = t, e && (this.animation.rangeStart = e), i && (this.animation.rangeEnd = i), _) : n(this);
1341
+ }
1342
+ }, Hs = {
1343
+ anticipate: xs,
1344
+ backInOut: Ts,
1345
+ circInOut: Ps
1346
+ };
1347
+ function ba(t) {
1348
+ return t in Hs;
1349
+ }
1350
+ function Aa(t) {
1351
+ typeof t.ease == "string" && ba(t.ease) && (t.ease = Hs[t.ease]);
1352
+ }
1353
+ var Te = 10, Va = class extends Gs {
1354
+ constructor(t) {
1355
+ Aa(t), Is(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
1356
+ }
1357
+ updateMotionValue(t) {
1358
+ const { motionValue: e, onUpdate: i, onComplete: n, element: s, ...o } = this.options;
1359
+ if (!e) return;
1360
+ if (t !== void 0) {
1361
+ e.set(t);
1362
+ return;
1363
+ }
1364
+ const r = new ee({
1365
+ ...o,
1366
+ autoplay: !1
1367
+ }), a = Math.max(Te, B.now() - this.startTime), l = G(0, Te, a - Te), c = r.sample(a).value, { name: u } = this.options;
1368
+ s && u && Ws(s, u, c), e.setWithVelocity(r.sample(Math.max(0, a - l)).value, c, l), r.stop();
1369
+ }
1370
+ }, sn = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && (U.test(t) || t === "0") && !t.startsWith("url("));
1371
+ function Ca(t) {
1372
+ const e = t[0];
1373
+ if (t.length === 1) return !0;
1374
+ for (let i = 0; i < t.length; i++) if (t[i] !== e) return !0;
1375
+ }
1376
+ function Da(t, e, i, n) {
1377
+ const s = t[0];
1378
+ if (s === null) return !1;
1379
+ if (e === "display" || e === "visibility") return !0;
1380
+ const o = t[t.length - 1], r = sn(s, e), a = sn(o, e);
1381
+ return !r || !a ? (r !== a && ft(!1, `You are trying to animate ${e} from "${s}" to "${o}". "${r ? o : s}" is not an animatable value.`, "value-not-animatable"), !1) : Ca(t) || (i === "spring" || _s(i)) && n;
1382
+ }
1383
+ function _e(t) {
1384
+ t.duration = 0, t.type = "keyframes";
1385
+ }
1386
+ var Ge = /* @__PURE__ */ new Set([
1387
+ "opacity",
1388
+ "clipPath",
1389
+ "filter",
1390
+ "transform",
1391
+ "backgroundColor"
1392
+ ]), Ma = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
1393
+ function Ea(t) {
1394
+ for (let e = 0; e < t.length; e++) if (typeof t[e] == "string" && Ma.test(t[e])) return !0;
1395
+ return !1;
1396
+ }
1397
+ var rn = /* @__PURE__ */ new Set([
1398
+ "color",
1399
+ "backgroundColor",
1400
+ "outlineColor",
1401
+ "fill",
1402
+ "stroke",
1403
+ "borderColor",
1404
+ "borderTopColor",
1405
+ "borderRightColor",
1406
+ "borderBottomColor",
1407
+ "borderLeftColor"
1408
+ ]), Ra = /* @__PURE__ */ ds(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1409
+ function La(t) {
1410
+ const { motionValue: e, name: i, repeatDelay: n, repeatType: s, damping: o, type: r, keyframes: a } = t;
1411
+ if (!i || !(Ge.has(i) || rn.has(i))) return !1;
1412
+ const l = e?.owner?.current;
1413
+ if (!(l instanceof HTMLElement) && !(l instanceof SVGElement)) return !1;
1414
+ const { onUpdate: c, transformTemplate: u } = e.owner.getProps();
1415
+ return Ra() && (Ge.has(i) || rn.has(i) && Ea(a)) && (i !== "transform" || !u) && !c && !n && s !== "mirror" && o !== 0 && r !== "inertia";
1416
+ }
1417
+ var ka = 40, Ba = class extends xi {
1418
+ constructor(t) {
1419
+ super(), this.stop = () => {
1420
+ this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
1421
+ }, this.createdAt = B.now();
1422
+ const { keyframes: e, name: i, motionValue: n, element: s } = t, o = t;
1423
+ o.autoplay ?? (o.autoplay = !0), o.delay ?? (o.delay = 0), o.type ?? (o.type = "keyframes"), o.repeat ?? (o.repeat = 0), o.repeatDelay ?? (o.repeatDelay = 0), o.repeatType ?? (o.repeatType = "loop");
1424
+ const r = s?.KeyframeResolver || Pi;
1425
+ this.keyframeResolver = new r(e, (a, l, c) => this.onKeyframesResolved(a, l, o, !c), i, n, s), this.keyframeResolver?.scheduleResolve();
1426
+ }
1427
+ onKeyframesResolved(t, e, i, n) {
1428
+ this.keyframeResolver = void 0;
1429
+ const { name: s, type: o, velocity: r, delay: a, isHandoff: l, onUpdate: c } = i;
1430
+ this.resolvedAt = B.now();
1431
+ let u = !0;
1432
+ Da(t, s, o, r) || (u = !1, (J.instantAnimations || !a) && c?.(ue(t, i, e)), t[0] = t[t.length - 1], _e(i), i.repeat = 0);
1433
+ const h = n ? this.resolvedAt ? this.resolvedAt - this.createdAt > ka ? this.resolvedAt : this.createdAt : this.createdAt : void 0, { onComplete: f } = i;
1434
+ i.startTime ?? (i.startTime = h), i.finalKeyframe = e, i.keyframes = t, i.onComplete = () => {
1435
+ f?.(), this.notifyFinished();
1436
+ };
1437
+ const p = u && !l && La(i);
1438
+ let d;
1439
+ if (p) {
1440
+ i.element = i.motionValue?.owner?.current;
1441
+ try {
1442
+ d = new Va(i);
1443
+ } catch {
1444
+ d = new ee(i);
1445
+ }
1446
+ } else d = new ee(i);
1447
+ this.pendingTimeline && (this.stopTimeline = d.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = d;
1448
+ }
1449
+ get finished() {
1450
+ return this._animation ? this._animation.finished : super.finished;
1451
+ }
1452
+ then(t, e) {
1453
+ return this.finished.finally(t).then(() => {
1454
+ });
1455
+ }
1456
+ get animation() {
1457
+ return this._animation || (this.keyframeResolver?.resume(), ga()), this._animation;
1458
+ }
1459
+ get duration() {
1460
+ return this.animation.duration;
1461
+ }
1462
+ get iterationDuration() {
1463
+ return this.animation.iterationDuration;
1464
+ }
1465
+ get time() {
1466
+ return this.animation.time;
1467
+ }
1468
+ set time(t) {
1469
+ this.animation.time = t;
1470
+ }
1471
+ get speed() {
1472
+ return this.animation.speed;
1473
+ }
1474
+ get state() {
1475
+ return this.animation.state;
1476
+ }
1477
+ set speed(t) {
1478
+ this.animation.speed = t;
1479
+ }
1480
+ get startTime() {
1481
+ return this.animation.startTime;
1482
+ }
1483
+ attachTimeline(t) {
1484
+ return this._animation ? this.stopTimeline = this.animation.attachTimeline(t) : this.pendingTimeline = t, () => this.stop();
1485
+ }
1486
+ play() {
1487
+ this.animation.play();
1488
+ }
1489
+ pause() {
1490
+ this.animation.pause();
1491
+ }
1492
+ complete() {
1493
+ this.animation.complete();
1494
+ }
1495
+ cancel() {
1496
+ this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
1497
+ }
1498
+ };
1499
+ function Xs(t, e, i, n = 0, s = 1) {
1500
+ const o = Array.from(t).sort((l, c) => l.sortNodePosition(c)).indexOf(e), r = t.size, a = (r - 1) * n;
1501
+ return typeof i == "function" ? i(o, r) : s === 1 ? o * n : a - o * n;
1502
+ }
1503
+ var on = 30, Ia = (t) => !isNaN(parseFloat(t)), an = { current: void 0 }, Fa = class {
1504
+ constructor(t, e = {}) {
1505
+ this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (i) => {
1506
+ const n = B.now();
1507
+ if (this.updatedAt !== n && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(i), this.current !== this.prev && (this.notifyChange(), this.dependents))
1508
+ for (const s of this.dependents) s.dirty();
1509
+ }, this.hasAnimated = !1, this.setCurrent(t), this.owner = e.owner;
1510
+ }
1511
+ setCurrent(t) {
1512
+ this.current = t, this.updatedAt = B.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = Ia(this.current));
1513
+ }
1514
+ setPrevFrameValue(t = this.current) {
1515
+ this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
1516
+ }
1517
+ onChange(t) {
1518
+ return process.env.NODE_ENV !== "production" && ui(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
1519
+ }
1520
+ on(t, e) {
1521
+ var i;
1522
+ return t === "change" ? this.onChangeSubscribe(e) : ((i = this.events)[t] || (i[t] = new Jt())).add(e);
1523
+ }
1524
+ onChangeSubscribe(t) {
1525
+ const { events: e } = this;
1526
+ return !e.change && !this.changeSubscriber ? this.changeSubscriber = t : (e.change || (e.change = new Jt(), e.change.add(this.changeSubscriber), this.changeSubscriber = void 0), e.change.add(t)), () => {
1527
+ this.changeSubscriber === t ? this.changeSubscriber = void 0 : e.change?.remove(t), this.stopIfUnobserved();
1528
+ };
1529
+ }
1530
+ stopIfUnobserved() {
1531
+ C.read(() => {
1532
+ !this.changeSubscriber && !this.events.change?.getSize() && this.stop();
1533
+ });
1534
+ }
1535
+ clearListeners() {
1536
+ this.changeSubscriber = void 0;
1537
+ for (const t in this.events) this.events[t].clear();
1538
+ }
1539
+ attach(t, e) {
1540
+ this.passiveEffect = t, this.stopPassiveEffect = e;
1541
+ }
1542
+ set(t) {
1543
+ this.passiveEffect ? this.passiveEffect(t, this.updateAndNotify) : this.updateAndNotify(t);
1544
+ }
1545
+ setWithVelocity(t, e, i) {
1546
+ this.set(e), this.prev = void 0, this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt - i;
1547
+ }
1548
+ jump(t, e = !0) {
1549
+ this.updateAndNotify(t), this.prev = t, this.prevUpdatedAt = this.prevFrameValue = void 0, e && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1550
+ }
1551
+ dirty() {
1552
+ this.notifyChange();
1553
+ }
1554
+ notifyChange() {
1555
+ const { current: t, changeSubscriber: e } = this;
1556
+ e ? e(t) : this.events.change?.notify(t);
1557
+ }
1558
+ addDependent(t) {
1559
+ this.dependents || (this.dependents = /* @__PURE__ */ new Set()), this.dependents.add(t);
1560
+ }
1561
+ removeDependent(t) {
1562
+ this.dependents && this.dependents.delete(t);
1563
+ }
1564
+ get() {
1565
+ return an.current && an.current.push(this), this.current;
1566
+ }
1567
+ getPrevious() {
1568
+ return this.prev;
1569
+ }
1570
+ getVelocity() {
1571
+ const t = B.now();
1572
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > on) return 0;
1573
+ const e = Math.min(this.updatedAt - this.prevUpdatedAt, on);
1574
+ return ms(parseFloat(this.current) - parseFloat(this.prevFrameValue), e);
1575
+ }
1576
+ start(t) {
1577
+ return this.stop(), new Promise((e) => {
1578
+ this.hasAnimated = !0;
1579
+ let i = !1, n;
1580
+ n = t(() => {
1581
+ i = !0, this.events.animationComplete?.notify(), this.animation === n && this.clearAnimation(), e();
1582
+ }), i || (this.animation = n), this.events.animationStart?.notify();
1583
+ });
1584
+ }
1585
+ stop() {
1586
+ this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
1587
+ }
1588
+ isAnimating() {
1589
+ return !!this.animation;
1590
+ }
1591
+ clearAnimation() {
1592
+ this.animation = void 0;
1593
+ }
1594
+ destroy() {
1595
+ this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1596
+ }
1597
+ };
1598
+ function wt(t, e) {
1599
+ return new Fa(t, e);
1600
+ }
1601
+ function Ys(t, e) {
1602
+ if (t?.inherit && e) {
1603
+ const { inherit: i, ...n } = t;
1604
+ return {
1605
+ ...e,
1606
+ ...n
1607
+ };
1608
+ }
1609
+ return t;
1610
+ }
1611
+ function Si(t, e) {
1612
+ const i = t?.[e] ?? t?.default ?? t;
1613
+ return i !== t ? Ys(i, t) : i;
1614
+ }
1615
+ var Oa = {
1616
+ type: "spring",
1617
+ stiffness: 500,
1618
+ damping: 25,
1619
+ restSpeed: 10
1620
+ }, ja = (t) => ({
1621
+ type: "spring",
1622
+ stiffness: 550,
1623
+ damping: t === 0 ? 2 * Math.sqrt(550) : 30,
1624
+ restSpeed: 10
1625
+ }), Na = {
1626
+ type: "keyframes",
1627
+ duration: 0.8
1628
+ }, Ua = {
1629
+ type: "keyframes",
1630
+ ease: [
1631
+ 0.25,
1632
+ 0.1,
1633
+ 0.35,
1634
+ 1
1635
+ ],
1636
+ duration: 0.3
1637
+ }, Wa = (t, { keyframes: e }) => e.length > 2 ? Na : At.has(t) ? t.startsWith("scale") ? ja(e[1]) : Oa : Ua, $a = /* @__PURE__ */ new Set([
1638
+ "when",
1639
+ "delay",
1640
+ "delayChildren",
1641
+ "staggerChildren",
1642
+ "staggerDirection",
1643
+ "repeat",
1644
+ "repeatType",
1645
+ "repeatDelay",
1646
+ "from",
1647
+ "elapsed"
1648
+ ]);
1649
+ function Ka(t) {
1650
+ for (const e in t) if (!$a.has(e)) return !0;
1651
+ return !1;
1652
+ }
1653
+ var bi = (t, e, i, n = {}, s, o) => (r) => {
1654
+ const a = Si(n, t) || {}, l = a.delay || n.delay || 0;
1655
+ let { elapsed: c = 0 } = n;
1656
+ c = c - N(l);
1657
+ const u = {
1658
+ keyframes: Array.isArray(i) ? i : [null, i],
1659
+ ease: "easeOut",
1660
+ velocity: e.getVelocity(),
1661
+ ...a,
1662
+ delay: -c,
1663
+ onUpdate: (f) => {
1664
+ e.set(f), a.onUpdate && a.onUpdate(f);
1665
+ },
1666
+ onComplete: () => {
1667
+ r(), a.onComplete && a.onComplete();
1668
+ },
1669
+ name: t,
1670
+ motionValue: e,
1671
+ element: o ? void 0 : s
1672
+ };
1673
+ Ka(a) || Object.assign(u, Wa(t, u)), u.duration && (u.duration = N(u.duration)), u.repeatDelay && (u.repeatDelay = N(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
1674
+ let h = !1;
1675
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (_e(u), u.delay === 0 && (h = !0)), (J.instantAnimations || J.skipAnimations || s?.shouldSkipAnimations || a.skipAnimations) && (h = !0, _e(u), u.delay = 0), u.allowFlatten = !a.type && !a.ease, h && !o && e.get() !== void 0) {
1676
+ const f = ue(u.keyframes, a);
1677
+ if (f !== void 0) {
1678
+ C.update(() => {
1679
+ u.onUpdate(f), u.onComplete();
1680
+ });
1681
+ return;
1682
+ }
1683
+ }
1684
+ return a.isSync ? new ee(u) : new Ba(u);
1685
+ }, za = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
1686
+ function _a(t) {
1687
+ const e = za.exec(t);
1688
+ if (!e) return [,];
1689
+ const [, i, n, s] = e;
1690
+ return [`--${i ?? n}`, s];
1691
+ }
1692
+ var Ga = 4;
1693
+ function qs(t, e, i = 1) {
1694
+ q(i <= Ga, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
1695
+ const [n, s] = _a(t);
1696
+ if (!n) return;
1697
+ const o = window.getComputedStyle(e).getPropertyValue(n);
1698
+ if (o) {
1699
+ const r = o.trim();
1700
+ return ai(r) ? parseFloat(r) : r;
1701
+ }
1702
+ return di(s) ? qs(s, e, i + 1) : s;
1703
+ }
1704
+ function ln(t) {
1705
+ const e = [{}, {}];
1706
+ return t?.values.forEach((i, n) => {
1707
+ e[0][n] = i.get(), e[1][n] = i.getVelocity();
1708
+ }), e;
1709
+ }
1710
+ function Ai(t, e, i, n) {
1711
+ if (typeof e == "function") {
1712
+ const [s, o] = ln(n);
1713
+ e = e(i !== void 0 ? i : t.custom, s, o);
1714
+ }
1715
+ if (typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function") {
1716
+ const [s, o] = ln(n);
1717
+ e = e(i !== void 0 ? i : t.custom, s, o);
1718
+ }
1719
+ return e;
1720
+ }
1721
+ function ht(t, e, i) {
1722
+ const n = t.getProps();
1723
+ return Ai(n, e, i !== void 0 ? i : n.custom, t);
1724
+ }
1725
+ var Zs = /* @__PURE__ */ new Set([
1726
+ "width",
1727
+ "height",
1728
+ "top",
1729
+ "left",
1730
+ "right",
1731
+ "bottom",
1732
+ ...bt
1733
+ ]), He = (t) => Array.isArray(t);
1734
+ function Ha(t, e, i) {
1735
+ t.hasValue(e) ? t.getValue(e).set(i) : t.addValue(e, wt(i));
1736
+ }
1737
+ function Xa(t) {
1738
+ return He(t) ? t[t.length - 1] || 0 : t;
1739
+ }
1740
+ function Ya(t, e) {
1741
+ let { transitionEnd: i = {}, transition: n = {}, ...s } = ht(t, e) || {};
1742
+ s = {
1743
+ ...s,
1744
+ ...i
1745
+ };
1746
+ for (const o in s) Ha(t, o, Xa(s[o]));
1747
+ }
1748
+ var I = (t) => !!(t && t.getVelocity);
1749
+ function qa(t) {
1750
+ return !!(I(t) && t.add);
1751
+ }
1752
+ function Xe(t, e) {
1753
+ const i = t.getValue("willChange");
1754
+ if (qa(i)) return i.add(e);
1755
+ if (!i && J.WillChange) {
1756
+ const n = new J.WillChange("auto");
1757
+ t.addValue("willChange", n), n.add(e);
1758
+ }
1759
+ }
1760
+ function Vi(t) {
1761
+ return t.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1762
+ }
1763
+ var Za = "framerAppearId", Js = "data-" + Vi(Za);
1764
+ function Qs(t) {
1765
+ return t.props[Js];
1766
+ }
1767
+ var Ja = typeof window < "u";
1768
+ function Qa({ protectedKeys: t, needsAnimating: e }, i) {
1769
+ const n = t.hasOwnProperty(i) && e[i] !== !0;
1770
+ return e[i] = !1, n;
1771
+ }
1772
+ function tr(t, e, { delay: i = 0, transitionOverride: n, type: s } = {}) {
1773
+ let { transition: o, transitionEnd: r, ...a } = e;
1774
+ const l = t.getDefaultTransition();
1775
+ o = o ? Ys(o, l) : l;
1776
+ const c = o?.reduceMotion, u = o?.skipAnimations;
1777
+ n && (o = n);
1778
+ const h = [], f = s && t.animationState && t.animationState.getState()[s], p = o?.path;
1779
+ p && p.animateVisualElement(t, a, o, i, h);
1780
+ for (const d in a) {
1781
+ const v = t.getValue(d, t.latestValues[d] ?? null), m = a[d];
1782
+ if (m === void 0 || f && Qa(f, d)) continue;
1783
+ const w = {
1784
+ delay: i,
1785
+ ...Si(o || {}, d)
1786
+ };
1787
+ u && (w.skipAnimations = !0);
1788
+ const T = v.get();
1789
+ if (T !== void 0 && !v.isAnimating() && !Array.isArray(m) && m === T && !w.velocity) {
1790
+ C.update(() => v.set(m));
1791
+ continue;
1792
+ }
1793
+ let x = !1;
1794
+ if (Ja && window.MotionHandoffAnimation) {
1795
+ const V = Qs(t);
1796
+ if (V) {
1797
+ const g = window.MotionHandoffAnimation(V, d, C);
1798
+ g !== null && (w.startTime = g, x = !0);
1799
+ }
1800
+ }
1801
+ Xe(t, d);
1802
+ const P = c ?? t.shouldReduceMotion;
1803
+ v.start(bi(d, v, m, P && Zs.has(d) ? { type: !1 } : w, t, x));
1804
+ const A = v.animation;
1805
+ A && h.push(A);
1806
+ }
1807
+ if (r) {
1808
+ const d = () => C.update(() => {
1809
+ r && Ya(t, r);
1810
+ });
1811
+ h.length ? Promise.all(h).then(d) : d();
1812
+ }
1813
+ return h;
1814
+ }
1815
+ function Ye(t, e, i = {}) {
1816
+ const n = ht(t, e, i.type === "exit" ? t.presenceContext?.custom : void 0);
1817
+ let { transition: s = t.getDefaultTransition() || {} } = n || {};
1818
+ i.transitionOverride && (s = i.transitionOverride);
1819
+ const o = n ? () => Promise.all(tr(t, n, i)) : () => Promise.resolve(), r = t.variantChildren && t.variantChildren.size ? (l = 0) => {
1820
+ const { delayChildren: c = 0, staggerChildren: u, staggerDirection: h } = s;
1821
+ return tl(t, e, l, c, u, h, i);
1822
+ } : () => Promise.resolve(), { when: a } = s;
1823
+ if (a) {
1824
+ const [l, c] = a === "beforeChildren" ? [o, r] : [r, o];
1825
+ return l().then(() => c());
1826
+ } else return Promise.all([o(), r(i.delay)]);
1827
+ }
1828
+ function tl(t, e, i = 0, n = 0, s = 0, o = 1, r) {
1829
+ const a = [];
1830
+ for (const l of t.variantChildren)
1831
+ l.notify("AnimationStart", e), a.push(Ye(l, e, {
1832
+ ...r,
1833
+ delay: i + (typeof n == "function" ? 0 : n) + Xs(t.variantChildren, l, n, s, o)
1834
+ }).then(() => l.notify("AnimationComplete", e)));
1835
+ return Promise.all(a);
1836
+ }
1837
+ function el(t, e, i = {}) {
1838
+ t.notify("AnimationStart", e);
1839
+ let n;
1840
+ if (Array.isArray(e)) {
1841
+ const s = e.map((o) => Ye(t, o, i));
1842
+ n = Promise.all(s);
1843
+ } else if (typeof e == "string") n = Ye(t, e, i);
1844
+ else {
1845
+ const s = typeof e == "function" ? ht(t, e, i.custom) : e;
1846
+ n = Promise.all(tr(t, s, i));
1847
+ }
1848
+ return n.then(() => {
1849
+ t.notify("AnimationComplete", e);
1850
+ });
1851
+ }
1852
+ var il = {
1853
+ test: (t) => t === "auto",
1854
+ parse: (t) => t
1855
+ }, nl = (t) => (e) => e.test(t), sl = [
1856
+ St,
1857
+ y,
1858
+ Y,
1859
+ Z,
1860
+ vo,
1861
+ po,
1862
+ il
1863
+ ], un = (t) => sl.find(nl(t));
1864
+ function rl(t) {
1865
+ return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || li(t) : !0;
1866
+ }
1867
+ var ol = /* @__PURE__ */ new Set([
1868
+ "auto",
1869
+ "none",
1870
+ "0"
1871
+ ]);
1872
+ function al(t, e, i) {
1873
+ let n = 0, s;
1874
+ for (; n < t.length && !s; ) {
1875
+ const o = t[n];
1876
+ typeof o == "string" && !ol.has(o) && Po(o) && (s = t[n]), n++;
1877
+ }
1878
+ if (s && i) for (const o of e)
1879
+ t[o] !== s && (t[o] = wi(i, s));
1880
+ }
1881
+ var ll = class extends Pi {
1882
+ constructor(t, e, i, n, s) {
1883
+ super(t, e, i, n, s, !0);
1884
+ }
1885
+ readKeyframes() {
1886
+ const { unresolvedKeyframes: t, element: e, name: i } = this;
1887
+ if (!e || !e.current) return;
1888
+ super.readKeyframes();
1889
+ for (let a = 0; a < t.length; a++) {
1890
+ let l = t[a];
1891
+ if (typeof l == "string" && (l = l.trim(), di(l))) {
1892
+ const c = qs(l, e.current);
1893
+ c !== void 0 && (t[a] = c), a === t.length - 1 && (this.finalKeyframe = l);
1894
+ }
1895
+ }
1896
+ if (this.resolveNoneKeyframes(), !Zs.has(i) || t.length !== 2) return;
1897
+ const [n, s] = t;
1898
+ if (typeof n == "number" && typeof s == "number") return;
1899
+ const o = un(n), r = un(s);
1900
+ if (Ki(n) !== Ki(s) && ut[i]) {
1901
+ this.needsMeasurement = !0;
1902
+ return;
1903
+ }
1904
+ if (o !== r)
1905
+ if (tn(o) && tn(r)) for (let a = 0; a < t.length; a++) {
1906
+ const l = t[a];
1907
+ typeof l == "string" && (t[a] = parseFloat(l));
1908
+ }
1909
+ else ut[i] && (this.needsMeasurement = !0);
1910
+ }
1911
+ resolveNoneKeyframes() {
1912
+ const { unresolvedKeyframes: t, name: e } = this, i = [];
1913
+ for (let n = 0; n < t.length; n++) (t[n] === null || rl(t[n])) && i.push(n);
1914
+ i.length && al(t, i, e);
1915
+ }
1916
+ measure() {
1917
+ const { element: t, name: e } = this;
1918
+ return ut[e](window.getComputedStyle(t.current), () => t.measureViewportBox());
1919
+ }
1920
+ measureInitialState() {
1921
+ const { element: t, unresolvedKeyframes: e, name: i } = this;
1922
+ if (!t || !t.current) return;
1923
+ i === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = this.measure(), e[0] = this.measuredOrigin;
1924
+ const n = e[e.length - 1];
1925
+ n !== void 0 && this.motionValue?.jump(n, !1);
1926
+ }
1927
+ measureEndState() {
1928
+ const { element: t, unresolvedKeyframes: e } = this;
1929
+ if (!t || !t.current) return;
1930
+ this.motionValue?.jump(this.measuredOrigin, !1);
1931
+ const i = e.length - 1, n = e[i];
1932
+ e[i] = this.measure(), n !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = n), this.removedTransforms?.length && this.removedTransforms.forEach(([s, o]) => {
1933
+ t.getValue(s).set(o);
1934
+ }), this.resolveNoneKeyframes();
1935
+ }
1936
+ }, Ci = [
1937
+ "borderTopLeftRadius",
1938
+ "borderTopRightRadius",
1939
+ "borderBottomRightRadius",
1940
+ "borderBottomLeftRadius"
1941
+ ];
1942
+ function ul(t) {
1943
+ return fs(t) && "offsetHeight" in t && !("ownerSVGElement" in t);
1944
+ }
1945
+ function Di(t) {
1946
+ return fs(t) && "ownerSVGElement" in t;
1947
+ }
1948
+ var qe = (t, e) => e && typeof t == "number" ? e.transform(t) : t;
1949
+ function er(t, e, i) {
1950
+ if (t == null) return [];
1951
+ if (t instanceof EventTarget) return [t];
1952
+ if (typeof t == "string") {
1953
+ let n = document;
1954
+ e && (n = e.current);
1955
+ const s = i?.[t] ?? n.querySelectorAll(t);
1956
+ return s ? Array.from(s) : [];
1957
+ }
1958
+ return Array.from(t).filter((n) => n != null);
1959
+ }
1960
+ var cl = {
1961
+ x: "translateX",
1962
+ y: "translateY",
1963
+ z: "translateZ",
1964
+ transformPerspective: "perspective"
1965
+ }, hl = bt.length;
1966
+ function fl(t, e, i) {
1967
+ let n = "", s = !0;
1968
+ for (let r = 0; r < hl; r++) {
1969
+ const a = bt[r], l = t[a];
1970
+ if (l === void 0) continue;
1971
+ let c = !0;
1972
+ if (typeof l == "number") c = l === (a.startsWith("scale") ? 1 : 0);
1973
+ else {
1974
+ const u = parseFloat(l);
1975
+ c = a.startsWith("scale") ? u === 1 : u === 0;
1976
+ }
1977
+ if (!c || i) {
1978
+ const u = qe(l, ie[a]);
1979
+ if (!c) {
1980
+ s = !1;
1981
+ const h = cl[a] || a;
1982
+ n += `${h}(${u}) `;
1983
+ }
1984
+ i && (e[a] = u);
1985
+ }
1986
+ }
1987
+ const o = t.pathRotation;
1988
+ return o && (s = !1, n += `rotate(${qe(o, ie.pathRotation)}) `), n = n.trim(), i ? n = i(e, s ? "" : n) : s && (n = "none"), n;
1989
+ }
1990
+ function Mi(t, e, i) {
1991
+ const { style: n, vars: s, transformOrigin: o } = t;
1992
+ let r = !1, a = !1;
1993
+ for (const l in e) {
1994
+ const c = e[l];
1995
+ if (At.has(l)) {
1996
+ r = !0;
1997
+ continue;
1998
+ } else if (Vs(l)) {
1999
+ s[l] = c;
2000
+ continue;
2001
+ } else {
2002
+ const u = qe(c, ie[l]);
2003
+ l.startsWith("origin") ? (a = !0, o[l] = u) : n[l] = u;
2004
+ }
2005
+ }
2006
+ if (e.transform || (r || i ? n.transform = fl(e, t.transform, i) : n.transform && (n.transform = "none")), a) {
2007
+ const { originX: l = "50%", originY: c = "50%", originZ: u = 0 } = o;
2008
+ n.transformOrigin = `${l} ${c} ${u}`;
2009
+ }
2010
+ }
2011
+ var dl = {
2012
+ offset: "stroke-dashoffset",
2013
+ array: "stroke-dasharray"
2014
+ }, ml = {
2015
+ offset: "strokeDashoffset",
2016
+ array: "strokeDasharray"
2017
+ };
2018
+ function pl(t, e, i = 1, n = 0, s = !0) {
2019
+ t.pathLength = 1;
2020
+ const o = s ? dl : ml;
2021
+ t[o.offset] = `${-n}`, t[o.array] = `${e} ${i}`;
2022
+ }
2023
+ var ir = [
2024
+ "transform",
2025
+ "opacity",
2026
+ "offsetDistance",
2027
+ "offsetPath",
2028
+ "offsetRotate",
2029
+ "offsetAnchor"
2030
+ ];
2031
+ function nr(t, { attrX: e, attrY: i, attrScale: n, pathLength: s, pathSpacing: o = 1, pathOffset: r = 0, ...a }, l, c, u) {
2032
+ if (Mi(t, a, c), l) {
2033
+ t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
2034
+ return;
2035
+ }
2036
+ t.attrs = t.style, t.style = {};
2037
+ const { attrs: h, style: f } = t;
2038
+ for (const p of ir) h[p] !== void 0 && (f[p] = h[p], delete h[p]);
2039
+ (f.transform || h.transformOrigin) && (f.transformOrigin = h.transformOrigin ?? "50% 50%", delete h.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete h.transformBox), e !== void 0 && (h.x = e), i !== void 0 && (h.y = i), n !== void 0 && (h.scale = n), s !== void 0 && pl(h, s, o, r, !1);
2040
+ }
2041
+ function sr({ top: t, left: e, right: i, bottom: n }) {
2042
+ return {
2043
+ x: {
2044
+ min: e,
2045
+ max: i
2046
+ },
2047
+ y: {
2048
+ min: t,
2049
+ max: n
2050
+ }
2051
+ };
2052
+ }
2053
+ function vl({ x: t, y: e }) {
2054
+ return {
2055
+ top: e.min,
2056
+ right: t.max,
2057
+ bottom: e.max,
2058
+ left: t.min
2059
+ };
2060
+ }
2061
+ function gl(t, e) {
2062
+ if (!e) return t;
2063
+ const i = e({
2064
+ x: t.left,
2065
+ y: t.top
2066
+ }), n = e({
2067
+ x: t.right,
2068
+ y: t.bottom
2069
+ });
2070
+ return {
2071
+ top: i.y,
2072
+ left: i.x,
2073
+ bottom: n.y,
2074
+ right: n.x
2075
+ };
2076
+ }
2077
+ function xe(t) {
2078
+ return t === void 0 || t === 1;
2079
+ }
2080
+ function Ze({ scale: t, scaleX: e, scaleY: i }) {
2081
+ return !xe(t) || !xe(e) || !xe(i);
2082
+ }
2083
+ function st(t) {
2084
+ return Ze(t) || rr(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
2085
+ }
2086
+ function rr(t) {
2087
+ return cn(t.x) || cn(t.y);
2088
+ }
2089
+ function cn(t) {
2090
+ return t && t !== "0%";
2091
+ }
2092
+ function ne(t, e, i) {
2093
+ return i + e * (t - i);
2094
+ }
2095
+ function hn(t, e, i, n, s) {
2096
+ return s !== void 0 && (t = ne(t, s, n)), ne(t, i, n) + e;
2097
+ }
2098
+ function Je(t, e = 0, i = 1, n, s) {
2099
+ t.min = hn(t.min, e, i, n, s), t.max = hn(t.max, e, i, n, s);
2100
+ }
2101
+ function or(t, { x: e, y: i }) {
2102
+ Je(t.x, e.translate, e.scale, e.originPoint), Je(t.y, i.translate, i.scale, i.originPoint);
2103
+ }
2104
+ var fn = 0.999999999999, dn = 1.0000000000001;
2105
+ function yl(t, e, i, n = !1) {
2106
+ const s = i.length;
2107
+ if (!s) return;
2108
+ e.x = e.y = 1;
2109
+ let o, r;
2110
+ for (let a = 0; a < s; a++) {
2111
+ o = i[a], r = o.projectionDelta;
2112
+ const { visualElement: l } = o.options;
2113
+ l && l.props.style && l.props.style.display === "contents" || (n && o.options.layoutScroll && o.scroll && o !== o.root && (X(t.x, -o.scroll.offset.x), X(t.y, -o.scroll.offset.y)), r && (e.x *= r.x.scale, e.y *= r.y.scale, or(t, r)), n && st(o.latestValues) && zt(t, o.latestValues, o.layout?.layoutBox));
2114
+ }
2115
+ e.x < dn && e.x > fn && (e.x = 1), e.y < dn && e.y > fn && (e.y = 1);
2116
+ }
2117
+ function X(t, e) {
2118
+ t.min += e, t.max += e;
2119
+ }
2120
+ function mn(t, e, i, n, s = 0.5) {
2121
+ Je(t, e, i, b(t.min, t.max, s), n);
2122
+ }
2123
+ function pn(t, e) {
2124
+ return typeof t == "string" ? parseFloat(t) / 100 * (e.max - e.min) : t;
2125
+ }
2126
+ function zt(t, e, i) {
2127
+ const n = i ?? t;
2128
+ mn(t.x, pn(e.x, n.x), e.scaleX, e.scale, e.originX), mn(t.y, pn(e.y, n.y), e.scaleY, e.scale, e.originY);
2129
+ }
2130
+ function ar(t, e) {
2131
+ return sr(gl(t.getBoundingClientRect(), e));
2132
+ }
2133
+ function Tl(t, e, i) {
2134
+ const n = ar(t, i), { scroll: s } = e;
2135
+ return s && (X(n.x, s.offset.x), X(n.y, s.offset.y)), n;
2136
+ }
2137
+ var { schedule: Ei, cancel: Qc } = /* @__PURE__ */ bs(queueMicrotask, !1), z = {
2138
+ x: !1,
2139
+ y: !1
2140
+ };
2141
+ function lr() {
2142
+ return z.x || z.y;
2143
+ }
2144
+ function xl(t) {
2145
+ return t === "x" || t === "y" ? z[t] ? null : (z[t] = !0, () => {
2146
+ z[t] = !1;
2147
+ }) : z.x || z.y ? null : (z.x = z.y = !0, () => {
2148
+ z.x = z.y = !1;
2149
+ });
2150
+ }
2151
+ function ur(t, e) {
2152
+ const i = er(t), n = new AbortController(), s = {
2153
+ passive: !0,
2154
+ ...e,
2155
+ signal: n.signal
2156
+ };
2157
+ return [
2158
+ i,
2159
+ s,
2160
+ () => n.abort()
2161
+ ];
2162
+ }
2163
+ function wl(t) {
2164
+ return !(t.pointerType === "touch" || lr());
2165
+ }
2166
+ function Pl(t, e, i = {}) {
2167
+ const [n, s, o] = ur(t, i);
2168
+ return n.forEach((r) => {
2169
+ let a = !1, l = !1, c;
2170
+ const u = () => {
2171
+ r.removeEventListener("pointerleave", d);
2172
+ }, h = (m) => {
2173
+ c && (c(m), c = void 0), u();
2174
+ }, f = (m) => {
2175
+ a = !1, window.removeEventListener("pointerup", f), window.removeEventListener("pointercancel", f), l && (l = !1, h(m));
2176
+ }, p = () => {
2177
+ a = !0, window.addEventListener("pointerup", f, s), window.addEventListener("pointercancel", f, s);
2178
+ }, d = (m) => {
2179
+ if (m.pointerType !== "touch") {
2180
+ if (a) {
2181
+ l = !0;
2182
+ return;
2183
+ }
2184
+ h(m);
2185
+ }
2186
+ }, v = (m) => {
2187
+ if (!wl(m)) return;
2188
+ l = !1;
2189
+ const w = e(r, m);
2190
+ typeof w == "function" && (c = w, r.addEventListener("pointerleave", d, s));
2191
+ };
2192
+ r.addEventListener("pointerenter", v, s), r.addEventListener("pointerdown", p, s);
2193
+ }), o;
2194
+ }
2195
+ var cr = (t, e) => e ? t === e ? !0 : cr(t, e.parentElement) : !1, Ri = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Sl = /* @__PURE__ */ new Set([
2196
+ "BUTTON",
2197
+ "INPUT",
2198
+ "SELECT",
2199
+ "TEXTAREA",
2200
+ "A"
2201
+ ]);
2202
+ function bl(t) {
2203
+ return Sl.has(t.tagName) || t.isContentEditable === !0;
2204
+ }
2205
+ var Al = /* @__PURE__ */ new Set([
2206
+ "INPUT",
2207
+ "SELECT",
2208
+ "TEXTAREA"
2209
+ ]);
2210
+ function Vl(t) {
2211
+ return Al.has(t.tagName) || t.isContentEditable === !0;
2212
+ }
2213
+ var _t = /* @__PURE__ */ new WeakSet();
2214
+ function vn(t) {
2215
+ return (e) => {
2216
+ e.key === "Enter" && t(e);
2217
+ };
2218
+ }
2219
+ function we(t, e) {
2220
+ t.dispatchEvent(new PointerEvent("pointer" + e, {
2221
+ isPrimary: !0,
2222
+ bubbles: !0
2223
+ }));
2224
+ }
2225
+ var Cl = (t, e) => {
2226
+ const i = t.currentTarget;
2227
+ if (!i) return;
2228
+ const n = vn(() => {
2229
+ if (_t.has(i)) return;
2230
+ we(i, "down");
2231
+ const s = vn(() => {
2232
+ we(i, "up");
2233
+ }), o = () => we(i, "cancel");
2234
+ i.addEventListener("keyup", s, e), i.addEventListener("blur", o, e);
2235
+ });
2236
+ i.addEventListener("keydown", n, e), i.addEventListener("blur", () => i.removeEventListener("keydown", n), e);
2237
+ };
2238
+ function gn(t) {
2239
+ return Ri(t) && !lr();
2240
+ }
2241
+ var yn = /* @__PURE__ */ new WeakSet();
2242
+ function Dl(t, e, i = {}) {
2243
+ const [n, s, o] = ur(t, i), r = (a) => {
2244
+ const l = a.currentTarget;
2245
+ if (!gn(a) || yn.has(a)) return;
2246
+ _t.add(l), i.stopPropagation && yn.add(a);
2247
+ const c = e(l, a), u = {
2248
+ ...s,
2249
+ capture: !0
2250
+ }, h = (d, v) => {
2251
+ window.removeEventListener("pointerup", f, u), window.removeEventListener("pointercancel", p, u), _t.has(l) && _t.delete(l), gn(d) && typeof c == "function" && c(d, { success: v });
2252
+ }, f = (d) => {
2253
+ h(d, l === window || l === document || i.useGlobalTarget || cr(l, d.target));
2254
+ }, p = (d) => {
2255
+ h(d, !1);
2256
+ };
2257
+ window.addEventListener("pointerup", f, u), window.addEventListener("pointercancel", p, u);
2258
+ };
2259
+ return n.forEach((a) => {
2260
+ (i.useGlobalTarget ? window : a).addEventListener("pointerdown", r, s), ul(a) && (a.addEventListener("focus", (l) => Cl(l, s)), !bl(a) && !a.hasAttribute("tabindex") && (a.tabIndex = 0));
2261
+ }), o;
2262
+ }
2263
+ var Gt = /* @__PURE__ */ new WeakMap(), Ht, hr = (t, e, i) => (n, s) => s && s[0] ? s[0][t + "Size"] : Di(n) && "getBBox" in n ? n.getBBox()[e] : n[i], Ml = /* @__PURE__ */ hr("inline", "width", "offsetWidth"), El = /* @__PURE__ */ hr("block", "height", "offsetHeight");
2264
+ function Rl({ target: t, borderBoxSize: e }) {
2265
+ Gt.get(t)?.forEach((i) => {
2266
+ i(t, {
2267
+ get width() {
2268
+ return Ml(t, e);
2269
+ },
2270
+ get height() {
2271
+ return El(t, e);
2272
+ }
2273
+ });
2274
+ });
2275
+ }
2276
+ function Ll(t) {
2277
+ t.forEach(Rl);
2278
+ }
2279
+ function kl() {
2280
+ typeof ResizeObserver > "u" || (Ht = new ResizeObserver(Ll));
2281
+ }
2282
+ function Bl(t, e) {
2283
+ Ht || kl();
2284
+ const i = er(t);
2285
+ return i.forEach((n) => {
2286
+ let s = Gt.get(n);
2287
+ s || (s = /* @__PURE__ */ new Set(), Gt.set(n, s)), s.add(e), Ht?.observe(n);
2288
+ }), () => {
2289
+ i.forEach((n) => {
2290
+ const s = Gt.get(n);
2291
+ s?.delete(e), s?.size || Ht?.unobserve(n);
2292
+ });
2293
+ };
2294
+ }
2295
+ var Xt = /* @__PURE__ */ new Set(), yt;
2296
+ function Il() {
2297
+ yt = () => {
2298
+ const t = {
2299
+ get width() {
2300
+ return window.innerWidth;
2301
+ },
2302
+ get height() {
2303
+ return window.innerHeight;
2304
+ }
2305
+ };
2306
+ Xt.forEach((e) => e(t));
2307
+ }, window.addEventListener("resize", yt);
2308
+ }
2309
+ function Fl(t) {
2310
+ return Xt.add(t), yt || Il(), () => {
2311
+ Xt.delete(t), !Xt.size && typeof yt == "function" && (window.removeEventListener("resize", yt), yt = void 0);
2312
+ };
2313
+ }
2314
+ function Tn(t, e) {
2315
+ return typeof t == "function" ? Fl(t) : Bl(t, e);
2316
+ }
2317
+ var mt = {
2318
+ value: null,
2319
+ addProjectionMetrics: null
2320
+ };
2321
+ function Ol(t) {
2322
+ return Di(t) && t.tagName === "svg";
2323
+ }
2324
+ var xn = () => ({
2325
+ translate: 0,
2326
+ scale: 1,
2327
+ origin: 0,
2328
+ originPoint: 0
2329
+ }), Tt = () => ({
2330
+ x: xn(),
2331
+ y: xn()
2332
+ }), wn = () => ({
2333
+ min: 0,
2334
+ max: 0
2335
+ }), M = () => ({
2336
+ x: wn(),
2337
+ y: wn()
2338
+ }), jl = /* @__PURE__ */ new WeakMap();
2339
+ function ce(t) {
2340
+ return t !== null && typeof t == "object" && typeof t.start == "function";
2341
+ }
2342
+ function Bt(t) {
2343
+ return typeof t == "string" || Array.isArray(t);
2344
+ }
2345
+ var Li = [
2346
+ "animate",
2347
+ "whileInView",
2348
+ "whileFocus",
2349
+ "whileHover",
2350
+ "whileTap",
2351
+ "whileDrag",
2352
+ "exit"
2353
+ ], se = ["initial", ...Li];
2354
+ function he(t) {
2355
+ if (ce(t.animate)) return !0;
2356
+ for (let e = 0; e < se.length; e++) if (Bt(t[se[e]])) return !0;
2357
+ return !1;
2358
+ }
2359
+ function fr(t) {
2360
+ return !!(he(t) || t.variants);
2361
+ }
2362
+ function Nl(t, e, i) {
2363
+ for (const n in e) {
2364
+ const s = e[n], o = i[n];
2365
+ if (I(s)) t.addValue(n, s);
2366
+ else if (I(o)) t.addValue(n, wt(s, { owner: t }));
2367
+ else if (o !== s)
2368
+ if (t.hasValue(n)) {
2369
+ const r = t.getValue(n);
2370
+ r.liveStyle === !0 ? r.jump(s) : r.hasAnimated || r.set(s);
2371
+ } else {
2372
+ const r = t.getStaticValue(n);
2373
+ t.addValue(n, wt(r !== void 0 ? r : s, { owner: t }));
2374
+ }
2375
+ }
2376
+ for (const n in i) e[n] === void 0 && t.removeValue(n);
2377
+ return e;
2378
+ }
2379
+ var Qe = { current: null }, dr = { current: !1 }, Ul = typeof window < "u";
2380
+ function Wl() {
2381
+ if (dr.current = !0, !!Ul)
2382
+ if (window.matchMedia) {
2383
+ const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Qe.current = t.matches;
2384
+ t.addEventListener("change", e), e();
2385
+ } else Qe.current = !1;
2386
+ }
2387
+ var Pn = [
2388
+ "AnimationStart",
2389
+ "AnimationComplete",
2390
+ "Update",
2391
+ "BeforeLayoutMeasure",
2392
+ "LayoutMeasure",
2393
+ "LayoutAnimationStart",
2394
+ "LayoutAnimationComplete"
2395
+ ], re = {};
2396
+ function mr(t) {
2397
+ re = t;
2398
+ }
2399
+ function $l() {
2400
+ return re;
2401
+ }
2402
+ var Kl = class {
2403
+ scrapeMotionValuesFromProps(t, e, i) {
2404
+ return {};
2405
+ }
2406
+ constructor({ parent: t, props: e, presenceContext: i, reducedMotionConfig: n, skipAnimations: s, blockInitialAnimation: o, visualState: r }, a = {}) {
2407
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Pi, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
2408
+ this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
2409
+ }, this.renderScheduledAt = 0, this.scheduleRender = () => {
2410
+ const f = B.now();
2411
+ this.renderScheduledAt < f && (this.renderScheduledAt = f, C.render(this.render, !1, !0));
2412
+ };
2413
+ const { latestValues: l, renderState: c } = r;
2414
+ this.latestValues = l, this.baseTarget = { ...l }, this.initialValues = e.initial ? { ...l } : {}, this.renderState = c, this.parent = t, this.props = e, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = n, this.skipAnimationsConfig = s, this.options = a, this.blockInitialAnimation = !!o, this.isControllingVariants = he(e), this.isVariantNode = fr(e), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
2415
+ const { willChange: u, ...h } = this.scrapeMotionValuesFromProps(e, {}, this);
2416
+ for (const f in h) {
2417
+ const p = h[f];
2418
+ l[f] !== void 0 && I(p) && p.set(l[f]);
2419
+ }
2420
+ }
2421
+ mount(t) {
2422
+ if (this.hasBeenMounted) for (const e in this.initialValues)
2423
+ this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
2424
+ this.current = t, jl.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, i) => this.bindToMotionValue(i, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (dr.current || Wl(), this.shouldReduceMotion = Qe.current), process.env.NODE_ENV !== "production" && ui(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
2425
+ }
2426
+ unmount() {
2427
+ this.projection && this.projection.unmount(), tt(this.notifyUpdate), tt(this.render), this.valueSubscriptions.forEach((t) => t()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
2428
+ for (const t in this.events) this.events[t].clear();
2429
+ for (const t in this.features) {
2430
+ const e = this.features[t];
2431
+ e && (e.unmount(), e.isMounted = !1);
2432
+ }
2433
+ this.current = null;
2434
+ }
2435
+ addChild(t) {
2436
+ this.children.add(t), this.enteringChildren ?? (this.enteringChildren = /* @__PURE__ */ new Set()), this.enteringChildren.add(t);
2437
+ }
2438
+ removeChild(t) {
2439
+ this.children.delete(t), this.enteringChildren && this.enteringChildren.delete(t);
2440
+ }
2441
+ bindToMotionValue(t, e) {
2442
+ if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), e.accelerate && Ge.has(t) && this.current instanceof HTMLElement) {
2443
+ const { factory: o, keyframes: r, times: a, ease: l, duration: c } = e.accelerate, u = new Gs({
2444
+ element: this.current,
2445
+ name: t,
2446
+ keyframes: r,
2447
+ times: a,
2448
+ ease: l,
2449
+ duration: N(c)
2450
+ }), h = o(u);
2451
+ this.valueSubscriptions.set(t, () => {
2452
+ h(), u.cancel();
2453
+ });
2454
+ return;
2455
+ }
2456
+ const i = At.has(t);
2457
+ i && this.onBindTransform && this.onBindTransform();
2458
+ const n = e.on("change", (o) => {
2459
+ this.latestValues[t] = o, this.props.onUpdate && C.preRender(this.notifyUpdate), i && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
2460
+ });
2461
+ let s;
2462
+ typeof window < "u" && window.MotionCheckAppearSync && (s = window.MotionCheckAppearSync(this, t, e)), this.valueSubscriptions.set(t, () => {
2463
+ n(), s && s();
2464
+ });
2465
+ }
2466
+ sortNodePosition(t) {
2467
+ return !this.current || !this.sortInstanceNodePosition || this.type !== t.type ? 0 : this.sortInstanceNodePosition(this.current, t.current);
2468
+ }
2469
+ updateFeatures() {
2470
+ let t = "animation";
2471
+ for (t in re) {
2472
+ const e = re[t];
2473
+ if (!e) continue;
2474
+ const { isEnabled: i, Feature: n } = e;
2475
+ if (!this.features[t] && n && i(this.props) && (this.features[t] = new n(this)), this.features[t]) {
2476
+ const s = this.features[t];
2477
+ s.isMounted ? s.update() : (s.mount(), s.isMounted = !0);
2478
+ }
2479
+ }
2480
+ }
2481
+ triggerBuild() {
2482
+ this.build(this.renderState, this.latestValues, this.props);
2483
+ }
2484
+ measureViewportBox() {
2485
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : M();
2486
+ }
2487
+ getStaticValue(t) {
2488
+ return this.latestValues[t];
2489
+ }
2490
+ setStaticValue(t, e) {
2491
+ this.latestValues[t] = e;
2492
+ }
2493
+ update(t, e) {
2494
+ (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = e;
2495
+ for (let i = 0; i < Pn.length; i++) {
2496
+ const n = Pn[i];
2497
+ this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
2498
+ const s = t["on" + n];
2499
+ s && (this.propEventSubscriptions[n] = this.on(n, s));
2500
+ }
2501
+ this.prevMotionValues = Nl(this, this.scrapeMotionValuesFromProps(t, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
2502
+ }
2503
+ getProps() {
2504
+ return this.props;
2505
+ }
2506
+ getVariant(t) {
2507
+ return this.props.variants ? this.props.variants[t] : void 0;
2508
+ }
2509
+ getDefaultTransition() {
2510
+ return this.props.transition;
2511
+ }
2512
+ getTransformPagePoint() {
2513
+ return this.props.transformPagePoint;
2514
+ }
2515
+ getClosestVariantNode() {
2516
+ return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0;
2517
+ }
2518
+ addVariantChild(t) {
2519
+ const e = this.getClosestVariantNode();
2520
+ if (e)
2521
+ return e.variantChildren && e.variantChildren.add(t), () => e.variantChildren.delete(t);
2522
+ }
2523
+ addValue(t, e) {
2524
+ const i = this.values.get(t);
2525
+ e !== i && (i && this.removeValue(t), this.bindToMotionValue(t, e), this.values.set(t, e), this.latestValues[t] = e.get());
2526
+ }
2527
+ removeValue(t) {
2528
+ this.values.delete(t);
2529
+ const e = this.valueSubscriptions.get(t);
2530
+ e && (e(), this.valueSubscriptions.delete(t)), delete this.latestValues[t], this.removeValueFromRenderState(t, this.renderState);
2531
+ }
2532
+ hasValue(t) {
2533
+ return this.values.has(t);
2534
+ }
2535
+ getValue(t, e) {
2536
+ if (this.props.values && this.props.values[t]) return this.props.values[t];
2537
+ let i = this.values.get(t);
2538
+ return i === void 0 && e !== void 0 && (i = wt(e === null ? void 0 : e, { owner: this }), this.addValue(t, i)), i;
2539
+ }
2540
+ readValue(t, e) {
2541
+ let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
2542
+ return i != null && (typeof i == "string" && (ai(i) || li(i)) ? i = parseFloat(i) : typeof i != "number" && !U.test(i) && U.test(e) && (i = wi(t, e)), this.setBaseTarget(t, I(i) ? i.get() : i)), I(i) ? i.get() : i;
2543
+ }
2544
+ setBaseTarget(t, e) {
2545
+ this.baseTarget[t] = e;
2546
+ }
2547
+ getBaseTarget(t) {
2548
+ const { initial: e } = this.props;
2549
+ let i;
2550
+ if (typeof e == "string" || typeof e == "object") {
2551
+ const s = Ai(this.props, e, this.presenceContext?.custom);
2552
+ s && (i = s[t]);
2553
+ }
2554
+ if (e && i !== void 0) return i;
2555
+ const n = this.getBaseTargetFromProps(this.props, t);
2556
+ return n !== void 0 && !I(n) ? n : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
2557
+ }
2558
+ on(t, e) {
2559
+ return this.events[t] || (this.events[t] = new Jt()), this.events[t].add(e);
2560
+ }
2561
+ notify(t, ...e) {
2562
+ this.events[t] && this.events[t].notify(...e);
2563
+ }
2564
+ scheduleRenderMicrotask() {
2565
+ Ei.render(this.render);
2566
+ }
2567
+ }, pr = class extends Kl {
2568
+ constructor() {
2569
+ super(...arguments), this.KeyframeResolver = ll;
2570
+ }
2571
+ sortInstanceNodePosition(t, e) {
2572
+ return t.compareDocumentPosition(e) & 2 ? 1 : -1;
2573
+ }
2574
+ getBaseTargetFromProps(t, e) {
2575
+ const i = t.style;
2576
+ return i ? i[e] : void 0;
2577
+ }
2578
+ removeValueFromRenderState(t, { vars: e, style: i }) {
2579
+ delete e[t], delete i[t];
2580
+ }
2581
+ handleChildMotionValue() {
2582
+ this.childSubscription && (this.childSubscription(), delete this.childSubscription);
2583
+ const { children: t } = this.props;
2584
+ I(t) && (this.childSubscription = t.on("change", (e) => {
2585
+ this.current && (this.current.textContent = `${e}`);
2586
+ }));
2587
+ }
2588
+ }, et = class {
2589
+ constructor(t) {
2590
+ this.isMounted = !1, this.node = t;
2591
+ }
2592
+ update() {
2593
+ }
2594
+ };
2595
+ function vr(t, { style: e, vars: i }, n, s) {
2596
+ const o = t.style;
2597
+ let r;
2598
+ for (r in e) o[r] = e[r];
2599
+ s?.applyProjectionStyles(o, n);
2600
+ for (r in i) o.setProperty(r, i[r]);
2601
+ }
2602
+ function Sn(t, e) {
2603
+ return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
2604
+ }
2605
+ var Ct = { correct: (t, e) => {
2606
+ if (!e.target) return t;
2607
+ if (typeof t == "string")
2608
+ if (y.test(t)) t = parseFloat(t);
2609
+ else return t;
2610
+ return `${Sn(t, e.target.x)}% ${Sn(t, e.target.y)}%`;
2611
+ } }, zl = { correct: (t, { treeScale: e, projectionDelta: i }) => {
2612
+ const n = t, s = U.parse(t);
2613
+ if (s.length > 5) return n;
2614
+ const o = U.createTransformer(t), r = typeof s[0] != "number" ? 1 : 0, a = i.x.scale * e.x, l = i.y.scale * e.y;
2615
+ s[0 + r] /= a, s[1 + r] /= l;
2616
+ const c = b(a, l, 0.5);
2617
+ return typeof s[2 + r] == "number" && (s[2 + r] /= c), typeof s[3 + r] == "number" && (s[3 + r] /= c), o(s);
2618
+ } }, ti = {
2619
+ borderRadius: {
2620
+ ...Ct,
2621
+ applyTo: [...Ci]
2622
+ },
2623
+ borderTopLeftRadius: Ct,
2624
+ borderTopRightRadius: Ct,
2625
+ borderBottomLeftRadius: Ct,
2626
+ borderBottomRightRadius: Ct,
2627
+ boxShadow: zl
2628
+ };
2629
+ function gr(t, { layout: e, layoutId: i }) {
2630
+ return At.has(t) || t.startsWith("origin") || (e || i !== void 0) && (!!ti[t] || t === "opacity");
2631
+ }
2632
+ function ki(t, e, i) {
2633
+ const n = t.style, s = e?.style, o = {};
2634
+ if (!n) return o;
2635
+ for (const r in n) (I(n[r]) || s && I(s[r]) || gr(r, t) || i?.getValue(r)?.liveStyle !== void 0) && (o[r] = n[r]);
2636
+ return o;
2637
+ }
2638
+ function _l(t) {
2639
+ return window.getComputedStyle(t);
2640
+ }
2641
+ var Gl = class extends pr {
2642
+ constructor() {
2643
+ super(...arguments), this.type = "html", this.renderInstance = vr;
2644
+ }
2645
+ mount(t) {
2646
+ q(!!t.style, "motion.create() components must forward their ref to a HTML or SVG element", "custom-component-ref"), super.mount(t);
2647
+ }
2648
+ readValueFromInstance(t, e) {
2649
+ if (At.has(e)) return this.projection?.isProjecting ? Ue(e) : ha(t, e);
2650
+ {
2651
+ const i = _l(t), n = (Vs(e) ? i.getPropertyValue(e) : i[e]) || 0;
2652
+ return typeof n == "string" ? n.trim() : n;
2653
+ }
2654
+ }
2655
+ measureInstanceViewportBox(t, { transformPagePoint: e }) {
2656
+ return ar(t, e);
2657
+ }
2658
+ build(t, e, i) {
2659
+ Mi(t, e, i.transformTemplate);
2660
+ }
2661
+ scrapeMotionValuesFromProps(t, e, i) {
2662
+ return ki(t, e, i);
2663
+ }
2664
+ }, yr = /* @__PURE__ */ new Set([
2665
+ "baseFrequency",
2666
+ "diffuseConstant",
2667
+ "kernelMatrix",
2668
+ "kernelUnitLength",
2669
+ "keySplines",
2670
+ "keyTimes",
2671
+ "limitingConeAngle",
2672
+ "markerHeight",
2673
+ "markerWidth",
2674
+ "numOctaves",
2675
+ "targetX",
2676
+ "targetY",
2677
+ "surfaceScale",
2678
+ "specularConstant",
2679
+ "specularExponent",
2680
+ "stdDeviation",
2681
+ "tableValues",
2682
+ "viewBox",
2683
+ "gradientTransform",
2684
+ "pathLength",
2685
+ "startOffset",
2686
+ "textLength",
2687
+ "lengthAdjust"
2688
+ ]), Tr = (t) => typeof t == "string" && t.toLowerCase() === "svg";
2689
+ function Hl(t, e, i, n) {
2690
+ vr(t, e, void 0, n);
2691
+ for (const s in e.attrs) t.setAttribute(yr.has(s) ? s : Vi(s), e.attrs[s]);
2692
+ }
2693
+ function xr(t, e, i) {
2694
+ const n = ki(t, e, i);
2695
+ for (const s in t) if (I(t[s]) || I(e[s])) {
2696
+ const o = bt.indexOf(s) !== -1 ? "attr" + s.charAt(0).toUpperCase() + s.substring(1) : s;
2697
+ n[o] = t[s];
2698
+ }
2699
+ return n;
2700
+ }
2701
+ var Xl = class extends pr {
2702
+ constructor() {
2703
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = M;
2704
+ }
2705
+ getBaseTargetFromProps(t, e) {
2706
+ return t[e];
2707
+ }
2708
+ readValueFromInstance(t, e) {
2709
+ if (At.has(e)) {
2710
+ const i = js(e);
2711
+ return i && i.default || 0;
2712
+ }
2713
+ if (ir.includes(e)) {
2714
+ const i = getComputedStyle(t)[e];
2715
+ if (typeof i == "string" && i) return i.trim();
2716
+ }
2717
+ return e = yr.has(e) ? e : Vi(e), t.getAttribute(e);
2718
+ }
2719
+ scrapeMotionValuesFromProps(t, e, i) {
2720
+ return xr(t, e, i);
2721
+ }
2722
+ build(t, e, i) {
2723
+ nr(t, e, this.isSVGTag, i.transformTemplate, i.style);
2724
+ }
2725
+ renderInstance(t, e, i, n) {
2726
+ Hl(t, e, i, n);
2727
+ }
2728
+ mount(t) {
2729
+ this.isSVGTag = Tr(t.tagName), super.mount(t);
2730
+ }
2731
+ }, Yl = se.length;
2732
+ function wr(t) {
2733
+ if (!t) return;
2734
+ if (!t.isControllingVariants) {
2735
+ const i = t.parent ? wr(t.parent) || {} : {};
2736
+ return t.props.initial !== void 0 && (i.initial = t.props.initial), i;
2737
+ }
2738
+ const e = {};
2739
+ for (let i = 0; i < Yl; i++) {
2740
+ const n = se[i], s = t.props[n];
2741
+ (Bt(s) || s === !1) && (e[n] = s);
2742
+ }
2743
+ return e;
2744
+ }
2745
+ function Pr(t, e) {
2746
+ if (!Array.isArray(e)) return !1;
2747
+ const i = e.length;
2748
+ if (i !== t.length) return !1;
2749
+ for (let n = 0; n < i; n++) if (e[n] !== t[n]) return !1;
2750
+ return !0;
2751
+ }
2752
+ var ql = [...Li].reverse(), Zl = Li.length;
2753
+ function Jl(t) {
2754
+ return (e) => Promise.all(e.map(({ animation: i, options: n }) => el(t, i, n)));
2755
+ }
2756
+ function Ql(t) {
2757
+ let e = Jl(t), i = bn(), n = !0, s = !1;
2758
+ const o = (c) => (u, h) => {
2759
+ const f = ht(t, h, c === "exit" ? t.presenceContext?.custom : void 0);
2760
+ if (f) {
2761
+ const { transition: p, transitionEnd: d, ...v } = f;
2762
+ u = {
2763
+ ...u,
2764
+ ...v,
2765
+ ...d
2766
+ };
2767
+ }
2768
+ return u;
2769
+ };
2770
+ function r(c) {
2771
+ e = c(t);
2772
+ }
2773
+ function a(c) {
2774
+ const { props: u } = t, h = wr(t.parent) || {}, f = [], p = /* @__PURE__ */ new Set();
2775
+ let d = {}, v = 1 / 0;
2776
+ for (let w = 0; w < Zl; w++) {
2777
+ const T = ql[w], x = i[T], P = u[T] !== void 0 ? u[T] : h[T], A = Bt(P), V = T === c ? x.isActive : null;
2778
+ V === !1 && (v = w);
2779
+ let g = P === h[T] && P !== u[T] && A;
2780
+ if (g && (n || s) && t.manuallyAnimateOnMount && (g = !1), x.protectedKeys = { ...d }, !x.isActive && V === null || !P && !x.prevProp || ce(P) || typeof P == "boolean") continue;
2781
+ if (T === "exit" && x.isActive && V !== !0) {
2782
+ x.prevResolvedValues && (d = {
2783
+ ...d,
2784
+ ...x.prevResolvedValues
2785
+ });
2786
+ continue;
2787
+ }
2788
+ const S = tu(x.prevProp, P);
2789
+ let D = S || T === c && x.isActive && !g && A || w > v && A, F = !1;
2790
+ const Q = Array.isArray(P) ? P : [P];
2791
+ let Vt = Q.reduce(o(T), {});
2792
+ V === !1 && (Vt = {});
2793
+ const { prevResolvedValues: Fi = {} } = x, $r = {
2794
+ ...Fi,
2795
+ ...Vt
2796
+ }, Oi = (k) => {
2797
+ D = !0, p.has(k) && (F = !0, p.delete(k)), x.needsAnimating[k] = !0;
2798
+ const W = t.getValue(k);
2799
+ W && (W.liveStyle = !1);
2800
+ };
2801
+ for (const k in $r) {
2802
+ const W = Vt[k], it = Fi[k];
2803
+ if (d.hasOwnProperty(k)) continue;
2804
+ let dt = !1;
2805
+ He(W) && He(it) ? dt = !Pr(W, it) || S : dt = W !== it, dt ? W != null ? Oi(k) : p.add(k) : W !== void 0 && p.has(k) ? Oi(k) : x.protectedKeys[k] = !0;
2806
+ }
2807
+ x.prevProp = P, x.prevResolvedValues = Vt, x.isActive && (d = {
2808
+ ...d,
2809
+ ...Vt
2810
+ }), (n || s) && t.blockInitialAnimation && (D = !1);
2811
+ const ji = g && S;
2812
+ D && (!ji || F) && f.push(...Q.map((k) => {
2813
+ const W = { type: T };
2814
+ if (typeof k == "string" && (n || s) && !ji && t.manuallyAnimateOnMount && t.parent) {
2815
+ const { parent: it } = t, dt = ht(it, k);
2816
+ if (it.enteringChildren && dt) {
2817
+ const { delayChildren: Kr } = dt.transition || {};
2818
+ W.delay = Xs(it.enteringChildren, t, Kr);
2819
+ }
2820
+ }
2821
+ return {
2822
+ animation: k,
2823
+ options: W
2824
+ };
2825
+ }));
2826
+ }
2827
+ if (p.size) {
2828
+ const w = {};
2829
+ if (typeof u.initial != "boolean") {
2830
+ const T = ht(t, Array.isArray(u.initial) ? u.initial[0] : u.initial);
2831
+ T && T.transition && (w.transition = T.transition);
2832
+ }
2833
+ p.forEach((T) => {
2834
+ const x = t.getBaseTarget(T), P = t.getValue(T);
2835
+ P && (P.liveStyle = !0), w[T] = x ?? null;
2836
+ }), f.push({ animation: w });
2837
+ }
2838
+ let m = !!f.length;
2839
+ return n && (u.initial === !1 || u.initial === u.animate) && !t.manuallyAnimateOnMount && (m = !1), n = !1, s = !1, m ? e(f) : Promise.resolve();
2840
+ }
2841
+ function l(c, u) {
2842
+ if (i[c].isActive === u) return Promise.resolve();
2843
+ t.variantChildren?.forEach((f) => f.animationState?.setActive(c, u)), i[c].isActive = u;
2844
+ const h = a(c);
2845
+ for (const f in i) i[f].protectedKeys = {};
2846
+ return h;
2847
+ }
2848
+ return {
2849
+ animateChanges: a,
2850
+ setActive: l,
2851
+ setAnimateFunction: r,
2852
+ getState: () => i,
2853
+ reset: () => {
2854
+ i = bn(), s = !0;
2855
+ }
2856
+ };
2857
+ }
2858
+ function tu(t, e) {
2859
+ return typeof e == "string" ? e !== t : Array.isArray(e) ? !Pr(e, t) : !1;
2860
+ }
2861
+ function nt(t = !1) {
2862
+ return {
2863
+ isActive: t,
2864
+ protectedKeys: {},
2865
+ needsAnimating: {},
2866
+ prevResolvedValues: {}
2867
+ };
2868
+ }
2869
+ function bn() {
2870
+ return {
2871
+ animate: nt(!0),
2872
+ whileInView: nt(),
2873
+ whileHover: nt(),
2874
+ whileTap: nt(),
2875
+ whileDrag: nt(),
2876
+ whileFocus: nt(),
2877
+ exit: nt()
2878
+ };
2879
+ }
2880
+ function ei(t, e) {
2881
+ t.min = e.min, t.max = e.max;
2882
+ }
2883
+ function K(t, e) {
2884
+ ei(t.x, e.x), ei(t.y, e.y);
2885
+ }
2886
+ function An(t, e) {
2887
+ t.translate = e.translate, t.scale = e.scale, t.originPoint = e.originPoint, t.origin = e.origin;
2888
+ }
2889
+ var eu = 0.9999, iu = 1.0001, nu = -0.01, su = 0.01;
2890
+ function O(t) {
2891
+ return t.max - t.min;
2892
+ }
2893
+ function ru(t, e, i) {
2894
+ return Math.abs(t - e) <= i;
2895
+ }
2896
+ function Vn(t, e, i, n = 0.5) {
2897
+ t.origin = n, t.originPoint = b(e.min, e.max, t.origin), t.scale = O(i) / O(e), t.translate = b(i.min, i.max, t.origin) - t.originPoint, (t.scale >= eu && t.scale <= iu || isNaN(t.scale)) && (t.scale = 1), (t.translate >= nu && t.translate <= su || isNaN(t.translate)) && (t.translate = 0);
2898
+ }
2899
+ function Mt(t, e, i, n) {
2900
+ Vn(t.x, e.x, i.x, n ? n.originX : void 0), Vn(t.y, e.y, i.y, n ? n.originY : void 0);
2901
+ }
2902
+ function Cn(t, e, i, n = 0) {
2903
+ t.min = (n ? b(i.min, i.max, n) : i.min) + e.min, t.max = t.min + O(e);
2904
+ }
2905
+ function ou(t, e, i, n) {
2906
+ Cn(t.x, e.x, i.x, n?.x), Cn(t.y, e.y, i.y, n?.y);
2907
+ }
2908
+ function Dn(t, e, i, n = 0) {
2909
+ const s = n ? b(i.min, i.max, n) : i.min;
2910
+ t.min = e.min - s, t.max = t.min + O(e);
2911
+ }
2912
+ function oe(t, e, i, n) {
2913
+ Dn(t.x, e.x, i.x, n?.x), Dn(t.y, e.y, i.y, n?.y);
2914
+ }
2915
+ function Mn(t, e, i, n, s) {
2916
+ return t -= e, t = ne(t, 1 / i, n), s !== void 0 && (t = ne(t, 1 / s, n)), t;
2917
+ }
2918
+ function au(t, e = 0, i = 1, n = 0.5, s, o = t, r = t) {
2919
+ if (Y.test(e) && (e = parseFloat(e), e = b(r.min, r.max, e / 100) - r.min), typeof e != "number") return;
2920
+ let a = b(o.min, o.max, n);
2921
+ t === o && (a -= e), t.min = Mn(t.min, e, i, a, s), t.max = Mn(t.max, e, i, a, s);
2922
+ }
2923
+ function En(t, e, [i, n, s], o, r) {
2924
+ au(t, e[i], e[n], e[s], e.scale, o, r);
2925
+ }
2926
+ var lu = [
2927
+ "x",
2928
+ "scaleX",
2929
+ "originX"
2930
+ ], uu = [
2931
+ "y",
2932
+ "scaleY",
2933
+ "originY"
2934
+ ];
2935
+ function Rn(t, e, i, n) {
2936
+ En(t.x, e, lu, i ? i.x : void 0, n ? n.x : void 0), En(t.y, e, uu, i ? i.y : void 0, n ? n.y : void 0);
2937
+ }
2938
+ function Ln(t) {
2939
+ return t.translate === 0 && t.scale === 1;
2940
+ }
2941
+ function Sr(t) {
2942
+ return Ln(t.x) && Ln(t.y);
2943
+ }
2944
+ function kn(t, e) {
2945
+ return t.min === e.min && t.max === e.max;
2946
+ }
2947
+ function cu(t, e) {
2948
+ return kn(t.x, e.x) && kn(t.y, e.y);
2949
+ }
2950
+ function Bn(t, e) {
2951
+ return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
2952
+ }
2953
+ function br(t, e) {
2954
+ return Bn(t.x, e.x) && Bn(t.y, e.y);
2955
+ }
2956
+ function In(t) {
2957
+ return O(t.x) / O(t.y);
2958
+ }
2959
+ function Fn(t, e) {
2960
+ return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
2961
+ }
2962
+ function H(t) {
2963
+ return [t("x"), t("y")];
2964
+ }
2965
+ function hu(t, e, i) {
2966
+ let n = "";
2967
+ const s = t.x.translate / e.x, o = t.y.translate / e.y, r = i?.z || 0;
2968
+ if ((s || o || r) && (n = `translate3d(${s}px, ${o}px, ${r}px) `), (e.x !== 1 || e.y !== 1) && (n += `scale(${1 / e.x}, ${1 / e.y}) `), i) {
2969
+ const { transformPerspective: c, rotate: u, pathRotation: h, rotateX: f, rotateY: p, skewX: d, skewY: v } = i;
2970
+ c && (n = `perspective(${c}px) ${n}`), u && (n += `rotate(${u}deg) `), h && (n += `rotate(${h}deg) `), f && (n += `rotateX(${f}deg) `), p && (n += `rotateY(${p}deg) `), d && (n += `skewX(${d}deg) `), v && (n += `skewY(${v}deg) `);
2971
+ }
2972
+ const a = t.x.scale * e.x, l = t.y.scale * e.y;
2973
+ return (a !== 1 || l !== 1) && (n += `scale(${a}, ${l})`), n || "none";
2974
+ }
2975
+ var fu = Ci.length, On = (t) => typeof t == "string" ? parseFloat(t) : t, jn = (t) => typeof t == "number" || y.test(t);
2976
+ function du(t, e, i, n, s, o) {
2977
+ s ? (t.opacity = b(0, i.opacity ?? 1, mu(n)), t.opacityExit = b(e.opacity ?? 1, 0, pu(n))) : o && (t.opacity = b(e.opacity ?? 1, i.opacity ?? 1, n));
2978
+ for (let r = 0; r < fu; r++) {
2979
+ const a = Ci[r];
2980
+ let l = Nn(e, a), c = Nn(i, a);
2981
+ l === void 0 && c === void 0 || (l || (l = 0), c || (c = 0), l === 0 || c === 0 || jn(l) === jn(c) ? (t[a] = Math.max(b(On(l), On(c), n), 0), (Y.test(c) || Y.test(l)) && (t[a] += "%")) : t[a] = c);
2982
+ }
2983
+ (e.rotate || i.rotate) && (t.rotate = b(e.rotate || 0, i.rotate || 0, n));
2984
+ }
2985
+ function Nn(t, e) {
2986
+ return t[e] !== void 0 ? t[e] : t.borderRadius;
2987
+ }
2988
+ var mu = /* @__PURE__ */ Ar(0, 0.5, ws), pu = /* @__PURE__ */ Ar(0.5, 0.95, _);
2989
+ function Ar(t, e, i) {
2990
+ return (n) => n < t ? 0 : n > e ? 1 : i(Rt(t, e, n));
2991
+ }
2992
+ function vu(t, e, i) {
2993
+ const n = I(t) ? t : wt(t);
2994
+ return n.start(bi("", n, e, i)), n.animation;
2995
+ }
2996
+ function It(t, e, i, n = { passive: !0 }) {
2997
+ return t.addEventListener(e, i, n), () => t.removeEventListener(e, i, n);
2998
+ }
2999
+ var gu = (t, e) => t.depth - e.depth, yu = class {
3000
+ constructor() {
3001
+ this.children = [], this.isDirty = !1;
3002
+ }
3003
+ add(t) {
3004
+ oi(this.children, t), this.isDirty = !0;
3005
+ }
3006
+ remove(t) {
3007
+ Zt(this.children, t), this.isDirty = !0;
3008
+ }
3009
+ forEach(t) {
3010
+ this.isDirty && this.children.sort(gu), this.isDirty = !1, this.children.forEach(t);
3011
+ }
3012
+ };
3013
+ function Tu(t, e) {
3014
+ const i = B.now(), n = ({ timestamp: s }) => {
3015
+ const o = s - i;
3016
+ o >= e && (tt(n), t(o - e));
3017
+ };
3018
+ return C.setup(n, !0), () => tt(n);
3019
+ }
3020
+ function Yt(t) {
3021
+ return I(t) ? t.get() : t;
3022
+ }
3023
+ var xu = class {
3024
+ constructor() {
3025
+ this.members = [];
3026
+ }
3027
+ add(t) {
3028
+ oi(this.members, t);
3029
+ for (let e = this.members.length - 1; e >= 0; e--) {
3030
+ const i = this.members[e];
3031
+ if (i === t || i === this.lead || i === this.prevLead) continue;
3032
+ const n = i.instance;
3033
+ (!n || n.isConnected === !1) && !i.snapshot && (Zt(this.members, i), i.unmount());
3034
+ }
3035
+ t.scheduleRender();
3036
+ }
3037
+ remove(t) {
3038
+ if (Zt(this.members, t), t === this.prevLead && (this.prevLead = void 0), t === this.lead) {
3039
+ const e = this.members[this.members.length - 1];
3040
+ e && this.promote(e);
3041
+ }
3042
+ }
3043
+ relegate(t) {
3044
+ for (let e = this.members.indexOf(t) - 1; e >= 0; e--) {
3045
+ const i = this.members[e];
3046
+ if (i.isPresent !== !1 && i.instance?.isConnected !== !1)
3047
+ return this.promote(i), !0;
3048
+ }
3049
+ return !1;
3050
+ }
3051
+ promote(t, e) {
3052
+ const i = this.lead;
3053
+ if (t !== i && (this.prevLead = i, this.lead = t, t.show(), i)) {
3054
+ i.updateSnapshot(), t.scheduleRender();
3055
+ const { layoutDependency: n } = i.options, { layoutDependency: s } = t.options;
3056
+ (n === void 0 || n !== s) && (t.resumeFrom = i, e && (i.preserveOpacity = !0), i.snapshot && (t.snapshot = i.snapshot, t.snapshot.latestValues = i.animationValues || i.latestValues), t.root?.isUpdating && (t.isLayoutDirty = !0)), t.options.crossfade === !1 && i.hide();
3057
+ }
3058
+ }
3059
+ exitAnimationComplete() {
3060
+ this.members.forEach((t) => {
3061
+ t.options.onExitComplete?.(), t.resumingFrom?.options.onExitComplete?.();
3062
+ });
3063
+ }
3064
+ scheduleRender() {
3065
+ this.members.forEach((t) => t.instance && t.scheduleRender(!1));
3066
+ }
3067
+ removeLeadSnapshot() {
3068
+ this.lead?.snapshot && (this.lead.snapshot = void 0);
3069
+ }
3070
+ }, qt = {
3071
+ hasAnimatedSinceResize: !0,
3072
+ hasEverUpdated: !1
3073
+ }, rt = {
3074
+ nodes: 0,
3075
+ calculatedTargetDeltas: 0,
3076
+ calculatedProjections: 0
3077
+ }, Pe = [
3078
+ "",
3079
+ "X",
3080
+ "Y",
3081
+ "Z"
3082
+ ], wu = 1e3, Pu = 0;
3083
+ function Se(t, e, i, n) {
3084
+ const { latestValues: s } = e;
3085
+ s[t] && (i[t] = s[t], e.setStaticValue(t, 0), n && (n[t] = 0));
3086
+ }
3087
+ function Vr(t) {
3088
+ if (t.hasCheckedOptimisedAppear = !0, t.root === t) return;
3089
+ const { visualElement: e } = t.options;
3090
+ if (!e) return;
3091
+ const i = Qs(e);
3092
+ if (window.MotionHasOptimisedAnimation(i, "transform")) {
3093
+ const { layout: s, layoutId: o } = t.options;
3094
+ window.MotionCancelOptimisedAnimation(i, "transform", C, !(s || o));
3095
+ }
3096
+ const { parent: n } = t;
3097
+ n && !n.hasCheckedOptimisedAppear && Vr(n);
3098
+ }
3099
+ function Cr({ attachResizeListener: t, defaultParent: e, measureScroll: i, checkIsScrollRoot: n, resetTransform: s }) {
3100
+ return class {
3101
+ constructor(r = {}, a = e?.()) {
3102
+ this.id = Pu++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
3103
+ x: 1,
3104
+ y: 1
3105
+ }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
3106
+ this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
3107
+ }, this.updateProjection = () => {
3108
+ this.projectionUpdateScheduled = !1, mt.value && (rt.nodes = rt.calculatedTargetDeltas = rt.calculatedProjections = 0), this.nodes.forEach(Au), this.nodes.forEach(Lu), this.nodes.forEach(ku), this.nodes.forEach(Vu), mt.addProjectionMetrics && mt.addProjectionMetrics(rt);
3109
+ }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = r, this.root = a ? a.root || a : this, this.path = a ? [...a.path, a] : [], this.parent = a, this.depth = a ? a.depth + 1 : 0;
3110
+ for (let l = 0; l < this.path.length; l++) this.path[l].shouldResetTransform = !0;
3111
+ this.root === this && (this.nodes = new yu());
3112
+ }
3113
+ addEventListener(r, a) {
3114
+ return this.eventHandlers.has(r) || this.eventHandlers.set(r, new Jt()), this.eventHandlers.get(r).add(a);
3115
+ }
3116
+ notifyListeners(r, ...a) {
3117
+ const l = this.eventHandlers.get(r);
3118
+ l && l.notify(...a);
3119
+ }
3120
+ hasListeners(r) {
3121
+ return this.eventHandlers.has(r);
3122
+ }
3123
+ mount(r) {
3124
+ if (this.instance) return;
3125
+ this.isSVG = Di(r) && !Ol(r), this.instance = r;
3126
+ const { layoutId: a, layout: l, visualElement: c } = this.options;
3127
+ if (c && !c.current && c.mount(r), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (l || a) && (this.isLayoutDirty = !0), t) {
3128
+ let u, h = 0;
3129
+ const f = () => this.root.updateBlockedByResize = !1;
3130
+ C.read(() => {
3131
+ h = window.innerWidth;
3132
+ }), t(r, () => {
3133
+ const p = window.innerWidth;
3134
+ p !== h && (h = p, this.root.updateBlockedByResize = !0, u && u(), u = Tu(f, 250), qt.hasAnimatedSinceResize && (qt.hasAnimatedSinceResize = !1, this.nodes.forEach($n)));
3135
+ });
3136
+ }
3137
+ a && this.root.registerSharedNode(a, this), this.options.animate !== !1 && c && (a || l) && this.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: h, hasRelativeLayoutChanged: f, layout: p }) => {
3138
+ if (this.isTreeAnimationBlocked()) {
3139
+ this.target = void 0, this.relativeTarget = void 0;
3140
+ return;
3141
+ }
3142
+ const d = this.options.transition || c.getDefaultTransition() || ju, { onLayoutAnimationStart: v, onLayoutAnimationComplete: m } = c.getProps(), w = !this.targetLayout || !br(this.targetLayout, p), T = !h && f;
3143
+ if (this.options.layoutRoot || this.resumeFrom || T || h && (w || !this.currentAnimation)) {
3144
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
3145
+ const x = {
3146
+ ...Si(d, "layout"),
3147
+ onPlay: v,
3148
+ onComplete: m
3149
+ };
3150
+ (c.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(u, T, x.path);
3151
+ } else
3152
+ h || $n(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3153
+ this.targetLayout = p;
3154
+ });
3155
+ }
3156
+ unmount() {
3157
+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
3158
+ const r = this.getStack();
3159
+ r && r.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), tt(this.updateProjection);
3160
+ }
3161
+ blockUpdate() {
3162
+ this.updateManuallyBlocked = !0;
3163
+ }
3164
+ unblockUpdate() {
3165
+ this.updateManuallyBlocked = !1;
3166
+ }
3167
+ isUpdateBlocked() {
3168
+ return this.updateManuallyBlocked || this.updateBlockedByResize;
3169
+ }
3170
+ isTreeAnimationBlocked() {
3171
+ return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
3172
+ }
3173
+ startUpdate() {
3174
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Bu), this.animationId++);
3175
+ }
3176
+ getTransformTemplate() {
3177
+ const { visualElement: r } = this.options;
3178
+ return r && r.getProps().transformTemplate;
3179
+ }
3180
+ willUpdate(r = !0) {
3181
+ if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {
3182
+ this.options.onExitComplete && this.options.onExitComplete();
3183
+ return;
3184
+ }
3185
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Vr(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
3186
+ this.isLayoutDirty = !0;
3187
+ for (let u = 0; u < this.path.length; u++) {
3188
+ const h = this.path[u];
3189
+ h.shouldResetTransform = !0, (typeof h.latestValues.x == "string" || typeof h.latestValues.y == "string") && (h.isLayoutDirty = !0), h.updateScroll("snapshot"), h.options.layoutRoot && h.willUpdate(!1);
3190
+ }
3191
+ const { layoutId: a, layout: l } = this.options;
3192
+ if (a === void 0 && !l) return;
3193
+ const c = this.getTransformTemplate();
3194
+ this.prevTransformTemplateValue = c ? c(this.latestValues, "") : void 0, this.updateSnapshot(), r && this.notifyListeners("willUpdate");
3195
+ }
3196
+ update() {
3197
+ if (this.updateScheduled = !1, this.isUpdateBlocked()) {
3198
+ const a = this.updateBlockedByResize;
3199
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), a && this.nodes.forEach(Du), this.nodes.forEach(Un);
3200
+ return;
3201
+ }
3202
+ if (this.animationId <= this.animationCommitId) {
3203
+ this.nodes.forEach(Wn);
3204
+ return;
3205
+ }
3206
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Mu), this.nodes.forEach(Eu), this.nodes.forEach(Ru), this.nodes.forEach(Su), this.nodes.forEach(bu)) : this.nodes.forEach(Wn), this.clearAllSnapshots();
3207
+ const r = B.now();
3208
+ R.delta = G(0, 1e3 / 60, r - R.timestamp), R.timestamp = r, R.isProcessing = !0, me.update.process(R), me.preRender.process(R), me.render.process(R), R.isProcessing = !1;
3209
+ }
3210
+ didUpdate() {
3211
+ this.updateScheduled || (this.updateScheduled = !0, Ei.read(this.scheduleUpdate));
3212
+ }
3213
+ clearAllSnapshots() {
3214
+ this.nodes.forEach(Cu), this.sharedNodes.forEach(Iu);
3215
+ }
3216
+ scheduleUpdateProjection() {
3217
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, C.preRender(this.updateProjection, !1, !0));
3218
+ }
3219
+ scheduleCheckAfterUnmount() {
3220
+ C.postRender(() => {
3221
+ this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
3222
+ });
3223
+ }
3224
+ updateSnapshot() {
3225
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !O(this.snapshot.measuredBox.x) && !O(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
3226
+ }
3227
+ updateLayout() {
3228
+ if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
3229
+ if (this.resumeFrom && !this.resumeFrom.instance) for (let l = 0; l < this.path.length; l++) this.path[l].updateScroll();
3230
+ const r = this.layout;
3231
+ this.layout = this.measure(!1), this.layoutCorrected || (this.layoutCorrected = M()), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
3232
+ const { visualElement: a } = this.options;
3233
+ a && a.notify("LayoutMeasure", this.layout.layoutBox, r ? r.layoutBox : void 0);
3234
+ }
3235
+ updateScroll(r = "measure") {
3236
+ let a = !!(this.options.layoutScroll && this.instance);
3237
+ if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === r && (a = !1), a && this.instance) {
3238
+ const l = n(this.instance);
3239
+ this.scroll = {
3240
+ animationId: this.root.animationId,
3241
+ phase: r,
3242
+ isRoot: l,
3243
+ offset: i(this.instance),
3244
+ wasRoot: this.scroll ? this.scroll.isRoot : l
3245
+ };
3246
+ }
3247
+ }
3248
+ resetTransform() {
3249
+ if (!s) return;
3250
+ const r = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !Sr(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
3251
+ r && this.instance && (a || st(this.latestValues) || u) && (s(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
3252
+ }
3253
+ measure(r = !0) {
3254
+ const a = this.measurePageBox();
3255
+ let l = this.removeElementScroll(a);
3256
+ return r && (l = this.removeTransform(l)), Nu(l), {
3257
+ animationId: this.root.animationId,
3258
+ measuredBox: a,
3259
+ layoutBox: l,
3260
+ latestValues: {},
3261
+ source: this.id
3262
+ };
3263
+ }
3264
+ measurePageBox() {
3265
+ const { visualElement: r } = this.options;
3266
+ if (!r) return M();
3267
+ const a = r.measureViewportBox();
3268
+ if (!(this.scroll?.wasRoot || this.path.some(Uu))) {
3269
+ const { scroll: l } = this.root;
3270
+ l && (X(a.x, l.offset.x), X(a.y, l.offset.y));
3271
+ }
3272
+ return a;
3273
+ }
3274
+ removeElementScroll(r) {
3275
+ const a = M();
3276
+ if (K(a, r), this.scroll?.wasRoot) return a;
3277
+ for (let l = 0; l < this.path.length; l++) {
3278
+ const c = this.path[l], { scroll: u, options: h } = c;
3279
+ c !== this.root && u && h.layoutScroll && (u.wasRoot && K(a, r), X(a.x, u.offset.x), X(a.y, u.offset.y));
3280
+ }
3281
+ return a;
3282
+ }
3283
+ applyTransform(r, a = !1, l) {
3284
+ const c = l || M();
3285
+ K(c, r);
3286
+ for (let u = 0; u < this.path.length; u++) {
3287
+ const h = this.path[u];
3288
+ !a && h.options.layoutScroll && h.scroll && h !== h.root && (X(c.x, -h.scroll.offset.x), X(c.y, -h.scroll.offset.y)), st(h.latestValues) && zt(c, h.latestValues, h.layout?.layoutBox);
3289
+ }
3290
+ return st(this.latestValues) && zt(c, this.latestValues, this.layout?.layoutBox), c;
3291
+ }
3292
+ removeTransform(r) {
3293
+ const a = M();
3294
+ K(a, r);
3295
+ for (let l = 0; l < this.path.length; l++) {
3296
+ const c = this.path[l];
3297
+ if (!st(c.latestValues)) continue;
3298
+ let u;
3299
+ c.instance && (Ze(c.latestValues) && c.updateSnapshot(), u = M(), K(u, c.measurePageBox())), Rn(a, c.latestValues, c.snapshot?.layoutBox, u);
3300
+ }
3301
+ return st(this.latestValues) && Rn(a, this.latestValues), a;
3302
+ }
3303
+ setTargetDelta(r) {
3304
+ this.targetDelta = r, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
3305
+ }
3306
+ setOptions(r) {
3307
+ this.options = {
3308
+ ...this.options,
3309
+ ...r,
3310
+ crossfade: r.crossfade !== void 0 ? r.crossfade : !0
3311
+ };
3312
+ }
3313
+ clearMeasurements() {
3314
+ this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
3315
+ }
3316
+ forceRelativeParentToResolveTarget() {
3317
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== R.timestamp && this.relativeParent.resolveTargetDelta(!0);
3318
+ }
3319
+ resolveTargetDelta(r = !1) {
3320
+ const a = this.getLead();
3321
+ this.isProjectionDirty || (this.isProjectionDirty = a.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = a.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = a.isSharedProjectionDirty);
3322
+ const l = !!this.resumingFrom || this !== a;
3323
+ if (!(r || l && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
3324
+ const { layout: c, layoutId: u } = this.options;
3325
+ if (!this.layout || !(c || u)) return;
3326
+ this.resolvedRelativeTargetAt = R.timestamp;
3327
+ const h = this.getClosestProjectingParent();
3328
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && h && h.layout ? this.createRelativeTarget(h, this.layout.layoutBox, h.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = M(), this.targetWithTransforms = M()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ou(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : K(this.target, this.layout.layoutBox), or(this.target, this.targetDelta)) : K(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? this.createRelativeTarget(h, this.target, h.target) : this.relativeParent = this.relativeTarget = void 0), mt.value && rt.calculatedTargetDeltas++);
3329
+ }
3330
+ getClosestProjectingParent() {
3331
+ if (!(!this.parent || Ze(this.parent.latestValues) || rr(this.parent.latestValues)))
3332
+ return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
3333
+ }
3334
+ isProjecting() {
3335
+ return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
3336
+ }
3337
+ createRelativeTarget(r, a, l) {
3338
+ this.relativeParent = r, this.forceRelativeParentToResolveTarget(), this.relativeTarget = M(), this.relativeTargetOrigin = M(), oe(this.relativeTargetOrigin, a, l, this.options.layoutAnchor || void 0), K(this.relativeTarget, this.relativeTargetOrigin);
3339
+ }
3340
+ removeRelativeTarget() {
3341
+ this.relativeParent = this.relativeTarget = void 0;
3342
+ }
3343
+ calcProjection() {
3344
+ const r = this.getLead(), a = !!this.resumingFrom || this !== r;
3345
+ let l = !0;
3346
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), a && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === R.timestamp && (l = !1), l) return;
3347
+ const { layout: c, layoutId: u } = this.options;
3348
+ if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u)) return;
3349
+ K(this.layoutCorrected, this.layout.layoutBox);
3350
+ const h = this.treeScale.x, f = this.treeScale.y;
3351
+ yl(this.layoutCorrected, this.treeScale, this.path, a), r.layout && !r.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (r.target = r.layout.layoutBox, r.targetWithTransforms = M());
3352
+ const { target: p } = r;
3353
+ if (!p) {
3354
+ this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
3355
+ return;
3356
+ }
3357
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (An(this.prevProjectionDelta.x, this.projectionDelta.x), An(this.prevProjectionDelta.y, this.projectionDelta.y)), Mt(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== f || !Fn(this.projectionDelta.x, this.prevProjectionDelta.x) || !Fn(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p)), mt.value && rt.calculatedProjections++;
3358
+ }
3359
+ hide() {
3360
+ this.isVisible = !1;
3361
+ }
3362
+ show() {
3363
+ this.isVisible = !0;
3364
+ }
3365
+ scheduleRender(r = !0) {
3366
+ if (this.options.visualElement?.scheduleRender(), r) {
3367
+ const a = this.getStack();
3368
+ a && a.scheduleRender();
3369
+ }
3370
+ this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
3371
+ }
3372
+ createProjectionDeltas() {
3373
+ this.prevProjectionDelta = Tt(), this.projectionDelta = Tt(), this.projectionDeltaWithTransform = Tt();
3374
+ }
3375
+ setAnimationOrigin(r, a = !1, l) {
3376
+ const c = this.snapshot, u = c ? c.latestValues : {}, h = { ...this.latestValues }, f = Tt();
3377
+ (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
3378
+ const p = M(), d = (c ? c.source : void 0) !== (this.layout ? this.layout.source : void 0), v = this.getStack(), m = !v || v.members.length <= 1, w = !!(d && !m && this.options.crossfade === !0 && !this.path.some(Ou));
3379
+ this.animationProgress = 0;
3380
+ let T;
3381
+ const x = l?.interpolateProjection(r);
3382
+ this.mixTargetDelta = (P) => {
3383
+ const A = P / 1e3, V = x?.(A);
3384
+ V ? (f.x.translate = V.x, f.x.scale = b(r.x.scale, 1, A), f.x.origin = r.x.origin, f.x.originPoint = r.x.originPoint, f.y.translate = V.y, f.y.scale = b(r.y.scale, 1, A), f.y.origin = r.y.origin, f.y.originPoint = r.y.originPoint) : (Kn(f.x, r.x, A), Kn(f.y, r.y, A)), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (oe(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Fu(this.relativeTarget, this.relativeTargetOrigin, p, A), T && cu(this.relativeTarget, T) && (this.isProjectionDirty = !1), T || (T = M()), K(T, this.relativeTarget)), d && (this.animationValues = h, du(h, u, this.latestValues, A, w, m)), V && V.rotate !== void 0 && (this.animationValues || (this.animationValues = h), this.animationValues.pathRotation = V.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
3385
+ }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
3386
+ }
3387
+ startAnimation(r) {
3388
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (tt(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = C.update(() => {
3389
+ qt.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = wt(0)), this.motionValue.jump(0, !1), this.currentAnimation = vu(this.motionValue, [0, 1e3], {
3390
+ ...r,
3391
+ velocity: 0,
3392
+ isSync: !0,
3393
+ onUpdate: (a) => {
3394
+ this.mixTargetDelta(a), r.onUpdate && r.onUpdate(a);
3395
+ },
3396
+ onComplete: () => {
3397
+ r.onComplete && r.onComplete(), this.completeAnimation();
3398
+ }
3399
+ }), ta(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
3400
+ });
3401
+ }
3402
+ completeAnimation() {
3403
+ this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
3404
+ const r = this.getStack();
3405
+ r && r.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
3406
+ }
3407
+ finishAnimation() {
3408
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(wu), this.currentAnimation.stop()), this.completeAnimation();
3409
+ }
3410
+ applyTransformsToTarget() {
3411
+ const r = this.getLead(), { targetWithTransforms: a, layout: l, latestValues: c } = r;
3412
+ let { target: u } = r;
3413
+ if (!(!a || !u || !l)) {
3414
+ if (this !== r && this.layout && l && Dr(this.options.animationType, this.layout.layoutBox, l.layoutBox)) {
3415
+ u = this.target || M();
3416
+ const h = O(this.layout.layoutBox.x);
3417
+ u.x.min = r.target.x.min, u.x.max = u.x.min + h;
3418
+ const f = O(this.layout.layoutBox.y);
3419
+ u.y.min = r.target.y.min, u.y.max = u.y.min + f;
3420
+ }
3421
+ K(a, u), zt(a, c), Mt(this.projectionDeltaWithTransform, this.layoutCorrected, a, c);
3422
+ }
3423
+ }
3424
+ registerSharedNode(r, a) {
3425
+ this.sharedNodes.has(r) || this.sharedNodes.set(r, new xu()), this.sharedNodes.get(r).add(a);
3426
+ const l = a.options.initialPromotionConfig;
3427
+ a.promote({
3428
+ transition: l ? l.transition : void 0,
3429
+ preserveFollowOpacity: l && l.shouldPreserveFollowOpacity ? l.shouldPreserveFollowOpacity(a) : void 0
3430
+ });
3431
+ }
3432
+ isLead() {
3433
+ const r = this.getStack();
3434
+ return r ? r.lead === this : !0;
3435
+ }
3436
+ getLead() {
3437
+ const { layoutId: r } = this.options;
3438
+ return r ? this.getStack()?.lead || this : this;
3439
+ }
3440
+ getPrevLead() {
3441
+ const { layoutId: r } = this.options;
3442
+ return r ? this.getStack()?.prevLead : void 0;
3443
+ }
3444
+ getStack() {
3445
+ const { layoutId: r } = this.options;
3446
+ if (r) return this.root.sharedNodes.get(r);
3447
+ }
3448
+ promote({ needsReset: r, transition: a, preserveFollowOpacity: l } = {}) {
3449
+ const c = this.getStack();
3450
+ c && c.promote(this, l), r && (this.projectionDelta = void 0, this.needsReset = !0), a && this.setOptions({ transition: a });
3451
+ }
3452
+ relegate() {
3453
+ const r = this.getStack();
3454
+ return r ? r.relegate(this) : !1;
3455
+ }
3456
+ resetSkewAndRotation() {
3457
+ const { visualElement: r } = this.options;
3458
+ if (!r) return;
3459
+ let a = !1;
3460
+ const { latestValues: l } = r;
3461
+ if ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (a = !0), !a) return;
3462
+ const c = {};
3463
+ l.z && Se("z", r, c, this.animationValues);
3464
+ for (let u = 0; u < Pe.length; u++)
3465
+ Se(`rotate${Pe[u]}`, r, c, this.animationValues), Se(`skew${Pe[u]}`, r, c, this.animationValues);
3466
+ r.render();
3467
+ for (const u in c)
3468
+ r.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]);
3469
+ r.scheduleRender();
3470
+ }
3471
+ applyProjectionStyles(r, a) {
3472
+ if (!this.instance || this.isSVG) return;
3473
+ if (!this.isVisible) {
3474
+ r.visibility = "hidden";
3475
+ return;
3476
+ }
3477
+ const l = this.getTransformTemplate();
3478
+ if (this.needsReset) {
3479
+ this.needsReset = !1, r.visibility = "", r.opacity = "", r.pointerEvents = Yt(a?.pointerEvents) || "", r.transform = l ? l(this.latestValues, "") : "none";
3480
+ return;
3481
+ }
3482
+ const c = this.getLead();
3483
+ if (!this.projectionDelta || !this.layout || !c.target) {
3484
+ this.options.layoutId && (r.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, r.pointerEvents = Yt(a?.pointerEvents) || ""), this.hasProjected && !st(this.latestValues) && (r.transform = l ? l({}, "") : "none", this.hasProjected = !1);
3485
+ return;
3486
+ }
3487
+ r.visibility = "";
3488
+ const u = c.animationValues || c.latestValues;
3489
+ this.applyTransformsToTarget();
3490
+ let h = hu(this.projectionDeltaWithTransform, this.treeScale, u);
3491
+ l && (h = l(u, h)), r.transform = h;
3492
+ const { x: f, y: p } = this.projectionDelta;
3493
+ r.transformOrigin = `${f.origin * 100}% ${p.origin * 100}% 0`, c.animationValues ? r.opacity = c === this ? u.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u.opacityExit : r.opacity = c === this ? u.opacity !== void 0 ? u.opacity : "" : u.opacityExit !== void 0 ? u.opacityExit : 0;
3494
+ for (const d in ti) {
3495
+ if (u[d] === void 0) continue;
3496
+ const { correct: v, applyTo: m, isCSSVariable: w } = ti[d], T = h === "none" ? u[d] : v(u[d], c);
3497
+ if (m) {
3498
+ const x = m.length;
3499
+ for (let P = 0; P < x; P++) r[m[P]] = T;
3500
+ } else w ? this.options.visualElement.renderState.vars[d] = T : r[d] = T;
3501
+ }
3502
+ this.options.layoutId && (r.pointerEvents = c === this ? Yt(a?.pointerEvents) || "" : "none");
3503
+ }
3504
+ clearSnapshot() {
3505
+ this.resumeFrom = this.snapshot = void 0;
3506
+ }
3507
+ resetTree() {
3508
+ this.root.nodes.forEach((r) => r.currentAnimation?.stop()), this.root.nodes.forEach(Un), this.root.sharedNodes.clear();
3509
+ }
3510
+ };
3511
+ }
3512
+ function Su(t) {
3513
+ t.updateLayout();
3514
+ }
3515
+ function bu(t) {
3516
+ const e = t.resumeFrom?.snapshot || t.snapshot;
3517
+ if (t.isLead() && t.layout && e && t.hasListeners("didUpdate")) {
3518
+ const { layoutBox: i, measuredBox: n } = t.layout, { animationType: s } = t.options, o = e.source !== t.layout.source;
3519
+ if (s === "size") H((u) => {
3520
+ const h = o ? e.measuredBox[u] : e.layoutBox[u], f = O(h);
3521
+ h.min = i[u].min, h.max = h.min + f;
3522
+ });
3523
+ else if (s === "x" || s === "y") {
3524
+ const u = s === "x" ? "y" : "x";
3525
+ ei(o ? e.measuredBox[u] : e.layoutBox[u], i[u]);
3526
+ } else Dr(s, e.layoutBox, i) && H((u) => {
3527
+ const h = o ? e.measuredBox[u] : e.layoutBox[u], f = O(i[u]);
3528
+ h.max = h.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[u].max = t.relativeTarget[u].min + f);
3529
+ });
3530
+ const r = Tt();
3531
+ Mt(r, i, e.layoutBox);
3532
+ const a = Tt();
3533
+ o ? Mt(a, t.applyTransform(n, !0), e.measuredBox) : Mt(a, i, e.layoutBox);
3534
+ const l = !Sr(r);
3535
+ let c = !1;
3536
+ if (!t.resumeFrom) {
3537
+ const u = t.getClosestProjectingParent();
3538
+ if (u && !u.resumeFrom) {
3539
+ const { snapshot: h, layout: f } = u;
3540
+ if (h && f) {
3541
+ const p = t.options.layoutAnchor || void 0, d = M();
3542
+ oe(d, e.layoutBox, h.layoutBox, p);
3543
+ const v = M();
3544
+ oe(v, i, f.layoutBox, p), br(d, v) || (c = !0), u.options.layoutRoot && (t.relativeTarget = v, t.relativeTargetOrigin = d, t.relativeParent = u);
3545
+ }
3546
+ }
3547
+ }
3548
+ t.notifyListeners("didUpdate", {
3549
+ layout: i,
3550
+ snapshot: e,
3551
+ delta: a,
3552
+ layoutDelta: r,
3553
+ hasLayoutChanged: l,
3554
+ hasRelativeLayoutChanged: c
3555
+ });
3556
+ } else if (t.isLead()) {
3557
+ const { onExitComplete: i } = t.options;
3558
+ i && i();
3559
+ }
3560
+ t.options.transition = void 0;
3561
+ }
3562
+ function Au(t) {
3563
+ mt.value && rt.nodes++, t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
3564
+ }
3565
+ function Vu(t) {
3566
+ t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
3567
+ }
3568
+ function Cu(t) {
3569
+ t.clearSnapshot();
3570
+ }
3571
+ function Un(t) {
3572
+ t.clearMeasurements();
3573
+ }
3574
+ function Du(t) {
3575
+ t.isLayoutDirty = !0, t.updateLayout();
3576
+ }
3577
+ function Wn(t) {
3578
+ t.isLayoutDirty = !1;
3579
+ }
3580
+ function Mu(t) {
3581
+ t.isAnimationBlocked && t.layout && !t.isLayoutDirty && (t.snapshot = t.layout, t.isLayoutDirty = !0);
3582
+ }
3583
+ function Eu(t) {
3584
+ t.relativeTarget && t.relativeParent?.isLayoutDirty && (t.currentAnimation ? t.isLayoutDirty = !0 : (t.targetDelta = void 0, t.removeRelativeTarget()));
3585
+ }
3586
+ function Ru(t) {
3587
+ const { visualElement: e } = t.options;
3588
+ e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
3589
+ }
3590
+ function $n(t) {
3591
+ t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
3592
+ }
3593
+ function Lu(t) {
3594
+ t.resolveTargetDelta();
3595
+ }
3596
+ function ku(t) {
3597
+ t.calcProjection();
3598
+ }
3599
+ function Bu(t) {
3600
+ t.resetSkewAndRotation();
3601
+ }
3602
+ function Iu(t) {
3603
+ t.removeLeadSnapshot();
3604
+ }
3605
+ function Kn(t, e, i) {
3606
+ t.translate = b(e.translate, 0, i), t.scale = b(e.scale, 1, i), t.origin = e.origin, t.originPoint = e.originPoint;
3607
+ }
3608
+ function zn(t, e, i, n) {
3609
+ t.min = b(e.min, i.min, n), t.max = b(e.max, i.max, n);
3610
+ }
3611
+ function Fu(t, e, i, n) {
3612
+ zn(t.x, e.x, i.x, n), zn(t.y, e.y, i.y, n);
3613
+ }
3614
+ function Ou(t) {
3615
+ return t.animationValues && t.animationValues.opacityExit !== void 0;
3616
+ }
3617
+ var ju = {
3618
+ duration: 0.45,
3619
+ ease: [
3620
+ 0.4,
3621
+ 0,
3622
+ 0.1,
3623
+ 1
3624
+ ]
3625
+ }, _n = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Gn = _n("applewebkit/") && !_n("chrome/") ? Math.round : _;
3626
+ function Hn(t) {
3627
+ t.min = Gn(t.min), t.max = Gn(t.max);
3628
+ }
3629
+ function Nu(t) {
3630
+ Hn(t.x), Hn(t.y);
3631
+ }
3632
+ function Dr(t, e, i) {
3633
+ return t === "position" || t === "preserve-aspect" && !ru(In(e), In(i), 0.2);
3634
+ }
3635
+ function Uu(t) {
3636
+ return t !== t.root && t.scroll?.wasRoot;
3637
+ }
3638
+ var Wu = Cr({
3639
+ attachResizeListener: (t, e) => It(t, "resize", e),
3640
+ measureScroll: () => ({
3641
+ x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
3642
+ y: document.documentElement.scrollTop || document.body?.scrollTop || 0
3643
+ }),
3644
+ checkIsScrollRoot: () => !0
3645
+ }), be = { current: void 0 }, Mr = Cr({
3646
+ measureScroll: (t) => ({
3647
+ x: t.scrollLeft,
3648
+ y: t.scrollTop
3649
+ }),
3650
+ defaultParent: () => {
3651
+ if (!be.current) {
3652
+ const t = new Wu({});
3653
+ t.mount(window), t.setOptions({ layoutScroll: !0 }), be.current = t;
3654
+ }
3655
+ return be.current;
3656
+ },
3657
+ resetTransform: (t, e) => {
3658
+ t.style.transform = e !== void 0 ? e : "none";
3659
+ },
3660
+ checkIsScrollRoot: (t) => window.getComputedStyle(t).position === "fixed"
3661
+ }), Er = Pt({
3662
+ transformPagePoint: (t) => t,
3663
+ isStatic: !1,
3664
+ reducedMotion: "never"
3665
+ });
3666
+ function $u(t = !0) {
3667
+ const e = j(ri);
3668
+ if (e === null) return [!0, null];
3669
+ const { isPresent: i, onExitComplete: n, register: s } = e, o = Hr();
3670
+ si(() => {
3671
+ if (t) return s(o);
3672
+ }, [t]);
3673
+ const r = ls(() => t && n && n(o), [
3674
+ o,
3675
+ n,
3676
+ t
3677
+ ]);
3678
+ return !i && n ? [!1, r] : [!0];
3679
+ }
3680
+ var Rr = Pt({ strict: !1 }), Xn = {
3681
+ animation: [
3682
+ "animate",
3683
+ "variants",
3684
+ "whileHover",
3685
+ "whileTap",
3686
+ "exit",
3687
+ "whileInView",
3688
+ "whileFocus",
3689
+ "whileDrag"
3690
+ ],
3691
+ exit: ["exit"],
3692
+ drag: ["drag", "dragControls"],
3693
+ focus: ["whileFocus"],
3694
+ hover: [
3695
+ "whileHover",
3696
+ "onHoverStart",
3697
+ "onHoverEnd"
3698
+ ],
3699
+ tap: [
3700
+ "whileTap",
3701
+ "onTap",
3702
+ "onTapStart",
3703
+ "onTapCancel"
3704
+ ],
3705
+ pan: [
3706
+ "onPan",
3707
+ "onPanStart",
3708
+ "onPanSessionStart",
3709
+ "onPanEnd"
3710
+ ],
3711
+ inView: [
3712
+ "whileInView",
3713
+ "onViewportEnter",
3714
+ "onViewportLeave"
3715
+ ],
3716
+ layout: ["layout", "layoutId"]
3717
+ }, Yn = !1;
3718
+ function Ku() {
3719
+ if (Yn) return;
3720
+ const t = {};
3721
+ for (const e in Xn) t[e] = { isEnabled: (i) => Xn[e].some((n) => !!i[n]) };
3722
+ mr(t), Yn = !0;
3723
+ }
3724
+ function Lr() {
3725
+ return Ku(), $l();
3726
+ }
3727
+ function zu(t) {
3728
+ const e = Lr();
3729
+ for (const i in t) e[i] = {
3730
+ ...e[i],
3731
+ ...t[i]
3732
+ };
3733
+ mr(e);
3734
+ }
3735
+ var fe = /* @__PURE__ */ Pt({});
3736
+ function _u(t, e) {
3737
+ if (he(t)) {
3738
+ const { initial: i, animate: n } = t;
3739
+ return {
3740
+ initial: i === !1 || Bt(i) ? i : void 0,
3741
+ animate: Bt(n) ? n : void 0
3742
+ };
3743
+ }
3744
+ return t.inherit !== !1 ? e : {};
3745
+ }
3746
+ function Gu(t) {
3747
+ const { initial: e, animate: i } = _u(t, j(fe));
3748
+ return le(() => ({
3749
+ initial: e,
3750
+ animate: i
3751
+ }), [qn(e), qn(i)]);
3752
+ }
3753
+ function qn(t) {
3754
+ return Array.isArray(t) ? t.join(" ") : t;
3755
+ }
3756
+ var Bi = () => ({
3757
+ style: {},
3758
+ transform: {},
3759
+ transformOrigin: {},
3760
+ vars: {}
3761
+ });
3762
+ function kr(t, e, i) {
3763
+ for (const n in e) !I(e[n]) && !gr(n, i) && (t[n] = e[n]);
3764
+ }
3765
+ function Hu({ transformTemplate: t }, e) {
3766
+ return le(() => {
3767
+ const i = Bi();
3768
+ return Mi(i, e, t), Object.assign({}, i.vars, i.style);
3769
+ }, [e]);
3770
+ }
3771
+ function Xu(t, e) {
3772
+ const i = t.style || {}, n = {};
3773
+ return kr(n, i, t), Object.assign(n, Hu(t, e)), n;
3774
+ }
3775
+ function Yu(t, e) {
3776
+ const i = {}, n = Xu(t, e);
3777
+ return t.drag && t.dragListener !== !1 && (i.draggable = !1, n.userSelect = n.WebkitUserSelect = n.WebkitTouchCallout = "none", n.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (i.tabIndex = 0), i.style = n, i;
3778
+ }
3779
+ var Br = () => ({
3780
+ ...Bi(),
3781
+ attrs: {}
3782
+ });
3783
+ function qu(t, e, i, n) {
3784
+ const s = le(() => {
3785
+ const o = Br();
3786
+ return nr(o, e, Tr(n), t.transformTemplate, t.style), {
3787
+ ...o.attrs,
3788
+ style: { ...o.style }
3789
+ };
3790
+ }, [e]);
3791
+ if (t.style) {
3792
+ const o = {};
3793
+ kr(o, t.style, t), s.style = {
3794
+ ...o,
3795
+ ...s.style
3796
+ };
3797
+ }
3798
+ return s;
3799
+ }
3800
+ var Zu = /* @__PURE__ */ new Set([
3801
+ "animate",
3802
+ "exit",
3803
+ "variants",
3804
+ "initial",
3805
+ "style",
3806
+ "values",
3807
+ "variants",
3808
+ "transition",
3809
+ "transformTemplate",
3810
+ "custom",
3811
+ "inherit",
3812
+ "onBeforeLayoutMeasure",
3813
+ "onAnimationStart",
3814
+ "onAnimationComplete",
3815
+ "onUpdate",
3816
+ "onDragStart",
3817
+ "onDrag",
3818
+ "onDragEnd",
3819
+ "onMeasureDragConstraints",
3820
+ "onDirectionLock",
3821
+ "onDragTransitionEnd",
3822
+ "_dragX",
3823
+ "_dragY",
3824
+ "onHoverStart",
3825
+ "onHoverEnd",
3826
+ "onViewportEnter",
3827
+ "onViewportLeave",
3828
+ "globalTapTarget",
3829
+ "propagate",
3830
+ "ignoreStrict",
3831
+ "viewport"
3832
+ ]);
3833
+ function ae(t) {
3834
+ return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || Zu.has(t);
3835
+ }
3836
+ function Ju(t, e) {
3837
+ return t.startsWith("on") ? !ae(t) : e?.(t) ?? !ae(t);
3838
+ }
3839
+ function Qu(t, e, i, n) {
3840
+ const s = {};
3841
+ for (const o in t)
3842
+ o === "values" && typeof t.values == "object" || I(t[o]) || (Ju(o, n) || i === !0 && ae(o) || !e && !ae(o) || t.draggable && o.startsWith("onDrag")) && (s[o] = t[o]);
3843
+ return s;
3844
+ }
3845
+ var tc = [
3846
+ "animate",
3847
+ "circle",
3848
+ "defs",
3849
+ "desc",
3850
+ "ellipse",
3851
+ "g",
3852
+ "image",
3853
+ "line",
3854
+ "filter",
3855
+ "marker",
3856
+ "mask",
3857
+ "metadata",
3858
+ "path",
3859
+ "pattern",
3860
+ "polygon",
3861
+ "polyline",
3862
+ "rect",
3863
+ "stop",
3864
+ "switch",
3865
+ "symbol",
3866
+ "svg",
3867
+ "text",
3868
+ "tspan",
3869
+ "use",
3870
+ "view"
3871
+ ];
3872
+ function Ii(t) {
3873
+ return typeof t != "string" || t.includes("-") ? !1 : !!(tc.indexOf(t) > -1 || /[A-Z]/u.test(t));
3874
+ }
3875
+ function ec(t, e, i, { latestValues: n }, s, o = !1, r, a) {
3876
+ const l = (r ?? Ii(t) ? qu : Yu)(e, n, s, t), c = Qu(e, typeof t == "string", o, a), u = t !== as ? {
3877
+ ...c,
3878
+ ...l,
3879
+ ref: i
3880
+ } : {}, { children: h } = e, f = le(() => I(h) ? h.get() : h, [h]);
3881
+ return _r(t, {
3882
+ ...u,
3883
+ children: f
3884
+ });
3885
+ }
3886
+ function ic({ scrapeMotionValuesFromProps: t, createRenderState: e }, i, n, s) {
3887
+ return {
3888
+ latestValues: nc(i, n, s, t),
3889
+ renderState: e()
3890
+ };
3891
+ }
3892
+ function nc(t, e, i, n) {
3893
+ const s = {}, o = n(t, {});
3894
+ for (const f in o) s[f] = Yt(o[f]);
3895
+ let { initial: r, animate: a } = t;
3896
+ const l = he(t), c = fr(t);
3897
+ e && c && !l && t.inherit !== !1 && (r === void 0 && (r = e.initial), a === void 0 && (a = e.animate));
3898
+ let u = i ? i.initial === !1 : !1;
3899
+ u = u || r === !1;
3900
+ const h = u ? a : r;
3901
+ if (h && typeof h != "boolean" && !ce(h)) {
3902
+ const f = Array.isArray(h) ? h : [h];
3903
+ for (let p = 0; p < f.length; p++) {
3904
+ const d = Ai(t, f[p]);
3905
+ if (d) {
3906
+ const { transitionEnd: v, transition: m, ...w } = d;
3907
+ for (const T in w) {
3908
+ let x = w[T];
3909
+ if (Array.isArray(x)) {
3910
+ const P = u ? x.length - 1 : 0;
3911
+ x = x[P];
3912
+ }
3913
+ x !== null && (s[T] = x);
3914
+ }
3915
+ for (const T in v) s[T] = v[T];
3916
+ }
3917
+ }
3918
+ }
3919
+ return s;
3920
+ }
3921
+ var Ir = (t) => (e, i) => {
3922
+ const n = j(fe), s = j(ri), o = () => ic(t, e, n, s);
3923
+ return i ? o() : qr(o);
3924
+ }, sc = /* @__PURE__ */ Ir({
3925
+ scrapeMotionValuesFromProps: ki,
3926
+ createRenderState: Bi
3927
+ }), rc = /* @__PURE__ */ Ir({
3928
+ scrapeMotionValuesFromProps: xr,
3929
+ createRenderState: Br
3930
+ }), oc = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
3931
+ function ac(t, e, i) {
3932
+ const n = ot(i);
3933
+ us(() => {
3934
+ n.current = i;
3935
+ });
3936
+ const s = ot(null);
3937
+ return ls((o) => {
3938
+ o && t.onMount?.(o), e && (o ? e.mount(o) : e.unmount());
3939
+ const r = n.current;
3940
+ if (typeof r == "function")
3941
+ if (o) {
3942
+ const a = r(o);
3943
+ typeof a == "function" && (s.current = a);
3944
+ } else s.current ? (s.current(), s.current = null) : r(o);
3945
+ else r && (r.current = o);
3946
+ }, [e]);
3947
+ }
3948
+ var Fr = Pt({});
3949
+ function pt(t) {
3950
+ return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
3951
+ }
3952
+ function lc(t, e, i, n, s, o) {
3953
+ const { visualElement: r } = j(fe), a = j(Rr), l = j(ri), c = j(Er), u = c.reducedMotion, h = c.skipAnimations, f = ot(null), p = ot(!1);
3954
+ n = n || a.renderer, !f.current && n && (f.current = n(t, {
3955
+ visualState: e,
3956
+ parent: r,
3957
+ props: i,
3958
+ presenceContext: l,
3959
+ blockInitialAnimation: l ? l.initial === !1 : !1,
3960
+ reducedMotionConfig: u,
3961
+ skipAnimations: h,
3962
+ isSVG: o
3963
+ }), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
3964
+ const d = f.current, v = j(Fr);
3965
+ d && !d.projection && s && (d.type === "html" || d.type === "svg") && uc(f.current, i, s, v);
3966
+ const m = ot(!1);
3967
+ us(() => {
3968
+ d && m.current && d.update(i, l);
3969
+ });
3970
+ const w = i[Js], T = ot(!!w && typeof window < "u" && !window.MotionHandoffIsComplete?.(w) && window.MotionHasOptimisedAnimation?.(w));
3971
+ return Ni(() => {
3972
+ !p.current || !d || (d.animationState?.animateChanges(), d.enteringChildren = void 0);
3973
+ }, []), Ni(() => {
3974
+ p.current = !0, d && (m.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), d.scheduleRenderMicrotask(), T.current && d.animationState && d.animationState.animateChanges());
3975
+ }), si(() => {
3976
+ d && (!T.current && d.animationState && d.animationState.animateChanges(), T.current && (queueMicrotask(() => {
3977
+ window.MotionHandoffMarkAsComplete?.(w);
3978
+ }), T.current = !1), d.enteringChildren = void 0);
3979
+ }), d;
3980
+ }
3981
+ function uc(t, e, i, n) {
3982
+ const { layoutId: s, layout: o, drag: r, dragConstraints: a, layoutScroll: l, layoutRoot: c, layoutAnchor: u, layoutCrossfade: h } = e;
3983
+ t.projection = new i(t.latestValues, e["data-framer-portal-id"] ? void 0 : Or(t.parent)), t.projection.setOptions({
3984
+ layoutId: s,
3985
+ layout: o,
3986
+ alwaysMeasureLayout: !!r || a && pt(a),
3987
+ visualElement: t,
3988
+ animationType: typeof o == "string" ? o : "both",
3989
+ initialPromotionConfig: n,
3990
+ crossfade: h,
3991
+ layoutScroll: l,
3992
+ layoutRoot: c,
3993
+ layoutAnchor: u
3994
+ });
3995
+ }
3996
+ function Or(t) {
3997
+ if (t)
3998
+ return t.options.allowProjection !== !1 ? t.projection : Or(t.parent);
3999
+ }
4000
+ function Ae(t, { forwardMotionProps: e = !1, type: i } = {}, n, s) {
4001
+ n && zu(n);
4002
+ const o = i ? i === "svg" : Ii(t), r = o ? rc : sc;
4003
+ function a(c, u) {
4004
+ let h;
4005
+ const f = {
4006
+ ...j(Er),
4007
+ ...c,
4008
+ layoutId: cc(c)
4009
+ }, { isStatic: p, isValidProp: d } = f, v = Gu(c), m = r(c, p);
4010
+ if (!p && typeof window < "u") {
4011
+ hc(f, n);
4012
+ const w = fc(f);
4013
+ h = w.MeasureLayout, v.visualElement = lc(t, m, f, s, w.ProjectionNode, o);
4014
+ }
4015
+ return Yr(fe.Provider, {
4016
+ value: v,
4017
+ children: [h && v.visualElement ? cs(h, {
4018
+ visualElement: v.visualElement,
4019
+ ...f
4020
+ }) : null, ec(t, c, ac(m, v.visualElement, u), m, p, e, o, d)]
4021
+ });
4022
+ }
4023
+ a.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
4024
+ const l = Gr(a);
4025
+ return l[oc] = t, l;
4026
+ }
4027
+ function cc({ layoutId: t }) {
4028
+ const e = j(hs).id;
4029
+ return e && t !== void 0 ? e + "-" + t : t;
4030
+ }
4031
+ function hc(t, e) {
4032
+ const i = j(Rr).strict;
4033
+ if (process.env.NODE_ENV !== "production" && e && i) {
4034
+ const n = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
4035
+ t.ignoreStrict ? ft(!1, n, "lazy-strict-mode") : q(!1, n, "lazy-strict-mode");
4036
+ }
4037
+ }
4038
+ function fc(t) {
4039
+ const { drag: e, layout: i } = Lr();
4040
+ if (!e && !i) return {};
4041
+ const n = {
4042
+ ...e,
4043
+ ...i
4044
+ };
4045
+ return {
4046
+ MeasureLayout: e?.isEnabled(t) || i?.isEnabled(t) ? n.MeasureLayout : void 0,
4047
+ ProjectionNode: n.ProjectionNode
4048
+ };
4049
+ }
4050
+ function dc(t, e) {
4051
+ if (typeof Proxy > "u") return Ae;
4052
+ const i = /* @__PURE__ */ new Map(), n = (o, r) => Ae(o, r, t, e), s = (o, r) => (process.env.NODE_ENV !== "production" && ui(!1, "motion() is deprecated. Use motion.create() instead."), n(o, r));
4053
+ return new Proxy(s, { get: (o, r) => r === "create" ? n : (i.has(r) || i.set(r, Ae(r, void 0, t, e)), i.get(r)) });
4054
+ }
4055
+ var mc = (t, e) => e.isSVG ?? Ii(t) ? new Xl(e) : new Gl(e, { allowProjection: t !== as }), pc = class extends et {
4056
+ constructor(t) {
4057
+ super(t), t.animationState || (t.animationState = Ql(t));
4058
+ }
4059
+ updateAnimationControlsSubscription() {
4060
+ const { animate: t } = this.node.getProps();
4061
+ ce(t) && (this.unmountControls = t.subscribe(this.node));
4062
+ }
4063
+ mount() {
4064
+ this.updateAnimationControlsSubscription();
4065
+ }
4066
+ update() {
4067
+ const { animate: t } = this.node.getProps(), { animate: e } = this.node.prevProps || {};
4068
+ t !== e && this.updateAnimationControlsSubscription();
4069
+ }
4070
+ unmount() {
4071
+ this.node.animationState.reset(), this.unmountControls?.();
4072
+ }
4073
+ }, vc = 0, gc = class extends et {
4074
+ constructor() {
4075
+ super(...arguments), this.id = vc++, this.isExitComplete = !1;
4076
+ }
4077
+ update() {
4078
+ if (!this.node.presenceContext) return;
4079
+ const { isPresent: t, onExitComplete: e } = this.node.presenceContext, { isPresent: i } = this.node.prevPresenceContext || {};
4080
+ if (!this.node.animationState || t === i) return;
4081
+ if (t && i === !1) {
4082
+ if (this.isExitComplete) {
4083
+ const { initial: s, custom: o } = this.node.getProps();
4084
+ if (typeof s == "string" || typeof s == "object" && s !== null && !Array.isArray(s)) {
4085
+ const r = ht(this.node, s, o);
4086
+ if (r) {
4087
+ const { transition: a, transitionEnd: l, ...c } = r;
4088
+ for (const u in c) this.node.getValue(u)?.jump(c[u]);
4089
+ }
4090
+ }
4091
+ this.node.blockInitialAnimation = !1, this.node.animationState.reset(), this.node.animationState.animateChanges();
4092
+ } else this.node.animationState.setActive("exit", !1);
4093
+ this.isExitComplete = !1, this.exitAnimation = void 0;
4094
+ return;
4095
+ }
4096
+ const n = this.exitAnimation = this.node.animationState.setActive("exit", !t);
4097
+ e && !t && n.then(() => {
4098
+ this.exitAnimation === n && (this.isExitComplete = !0, e(this.id));
4099
+ });
4100
+ }
4101
+ mount() {
4102
+ const { register: t, onExitComplete: e } = this.node.presenceContext || {};
4103
+ e && e(this.id), t && (this.unmount = t(this.id));
4104
+ }
4105
+ unmount() {
4106
+ }
4107
+ }, yc = {
4108
+ animation: { Feature: pc },
4109
+ exit: { Feature: gc }
4110
+ };
4111
+ function de(t) {
4112
+ return { point: {
4113
+ x: t.pageX,
4114
+ y: t.pageY
4115
+ } };
4116
+ }
4117
+ var Tc = (t) => (e) => Ri(e) && t(e, de(e));
4118
+ function Et(t, e, i, n) {
4119
+ return It(t, e, Tc(i), n);
4120
+ }
4121
+ var jr = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Zn = (t, e) => Math.abs(t - e);
4122
+ function xc(t, e) {
4123
+ const i = Zn(t.x, e.x), n = Zn(t.y, e.y);
4124
+ return Math.sqrt(i ** 2 + n ** 2);
4125
+ }
4126
+ var Jn = /* @__PURE__ */ new Set(["auto", "scroll"]), Nr = class {
4127
+ constructor(t, e, { transformPagePoint: i, contextWindow: n = window, dragSnapToOrigin: s = !1, distanceThreshold: o = 3, element: r } = {}) {
4128
+ if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (f) => {
4129
+ this.handleScroll(f.target);
4130
+ }, this.onWindowScroll = () => {
4131
+ this.handleScroll(window);
4132
+ }, this.updatePoint = () => {
4133
+ if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
4134
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Wt(this.lastRawMoveEventInfo, this.transformPagePoint));
4135
+ const f = Ve(this.lastMoveEventInfo, this.history), p = this.startEvent !== null, d = xc(f.offset, {
4136
+ x: 0,
4137
+ y: 0
4138
+ }) >= this.distanceThreshold;
4139
+ if (!p && !d) return;
4140
+ const { point: v } = f;
4141
+ this.history.push({
4142
+ ...v,
4143
+ timestamp: B.now()
4144
+ });
4145
+ const { onStart: m, onMove: w } = this.handlers;
4146
+ p || (m && m(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), w && w(this.lastMoveEvent, f);
4147
+ }, this.handlePointerMove = (f, p) => {
4148
+ this.lastMoveEvent = f, this.lastRawMoveEventInfo = p, this.lastMoveEventInfo = Wt(p, this.transformPagePoint), this.hasPendingMove = !0, C.update(this.updatePoint, !0);
4149
+ }, this.handlePointerUp = (f, p) => {
4150
+ this.hasPendingMove && this.updatePoint(), this.end();
4151
+ const { onEnd: d, onSessionEnd: v, resumeAnimation: m } = this.handlers;
4152
+ if ((this.dragSnapToOrigin || !this.startEvent) && m && m(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
4153
+ const w = Ve(f.type === "pointercancel" ? this.lastMoveEventInfo : Wt(p, this.transformPagePoint), this.history);
4154
+ this.startEvent && d && d(f, w), v && v(f, w);
4155
+ }, !Ri(t)) return;
4156
+ this.dragSnapToOrigin = s, this.handlers = e, this.transformPagePoint = i, this.distanceThreshold = o, this.contextWindow = n || window;
4157
+ const a = Wt(de(t), this.transformPagePoint), { point: l } = a, { timestamp: c } = R;
4158
+ this.history = [{
4159
+ ...l,
4160
+ timestamp: c
4161
+ }];
4162
+ const { onSessionStart: u } = e;
4163
+ u && u(t, Ve(a, this.history));
4164
+ const h = {
4165
+ passive: !0,
4166
+ capture: !0
4167
+ };
4168
+ this.removeListeners = Ft(Et(this.contextWindow, "pointermove", this.handlePointerMove, h), Et(this.contextWindow, "pointerup", this.handlePointerUp, h), Et(this.contextWindow, "pointercancel", this.handlePointerUp, h)), r && this.startScrollTracking(r);
4169
+ }
4170
+ startScrollTracking(t) {
4171
+ let e = t.parentElement;
4172
+ for (; e; ) {
4173
+ const i = getComputedStyle(e);
4174
+ (Jn.has(i.overflowX) || Jn.has(i.overflowY)) && this.scrollPositions.set(e, {
4175
+ x: e.scrollLeft,
4176
+ y: e.scrollTop
4177
+ }), e = e.parentElement;
4178
+ }
4179
+ this.scrollPositions.set(window, {
4180
+ x: window.scrollX,
4181
+ y: window.scrollY
4182
+ }), window.addEventListener("scroll", this.onElementScroll, { capture: !0 }), window.addEventListener("scroll", this.onWindowScroll), this.removeScrollListeners = () => {
4183
+ window.removeEventListener("scroll", this.onElementScroll, { capture: !0 }), window.removeEventListener("scroll", this.onWindowScroll);
4184
+ };
4185
+ }
4186
+ handleScroll(t) {
4187
+ const e = this.scrollPositions.get(t);
4188
+ if (!e) return;
4189
+ const i = t === window, n = i ? {
4190
+ x: window.scrollX,
4191
+ y: window.scrollY
4192
+ } : {
4193
+ x: t.scrollLeft,
4194
+ y: t.scrollTop
4195
+ }, s = {
4196
+ x: n.x - e.x,
4197
+ y: n.y - e.y
4198
+ };
4199
+ s.x === 0 && s.y === 0 || (i ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += s.x, this.lastMoveEventInfo.point.y += s.y) : this.history.length > 0 && (this.history[0].x -= s.x, this.history[0].y -= s.y), this.scrollPositions.set(t, n), C.update(this.updatePoint, !0));
4200
+ }
4201
+ updateHandlers(t) {
4202
+ this.handlers = t;
4203
+ }
4204
+ end() {
4205
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), tt(this.updatePoint);
4206
+ }
4207
+ };
4208
+ function Wt(t, e) {
4209
+ return e ? { point: e(t.point) } : t;
4210
+ }
4211
+ function Qn(t, e) {
4212
+ return {
4213
+ x: t.x - e.x,
4214
+ y: t.y - e.y
4215
+ };
4216
+ }
4217
+ function Ve({ point: t }, e) {
4218
+ return {
4219
+ point: t,
4220
+ delta: Qn(t, Ur(e)),
4221
+ offset: Qn(t, wc(e)),
4222
+ velocity: Pc(e, 0.1)
4223
+ };
4224
+ }
4225
+ function wc(t) {
4226
+ return t[0];
4227
+ }
4228
+ function Ur(t) {
4229
+ return t[t.length - 1];
4230
+ }
4231
+ function Pc(t, e) {
4232
+ if (t.length < 2) return {
4233
+ x: 0,
4234
+ y: 0
4235
+ };
4236
+ let i = t.length - 1, n = null;
4237
+ const s = Ur(t);
4238
+ for (; i >= 0 && (n = t[i], !(s.timestamp - n.timestamp > N(e))); )
4239
+ i--;
4240
+ if (!n) return {
4241
+ x: 0,
4242
+ y: 0
4243
+ };
4244
+ n === t[0] && t.length > 2 && s.timestamp - n.timestamp > N(e) * 2 && (n = t[1]);
4245
+ const o = $(s.timestamp - n.timestamp);
4246
+ if (o === 0) return {
4247
+ x: 0,
4248
+ y: 0
4249
+ };
4250
+ const r = {
4251
+ x: (s.x - n.x) / o,
4252
+ y: (s.y - n.y) / o
4253
+ };
4254
+ return r.x === 1 / 0 && (r.x = 0), r.y === 1 / 0 && (r.y = 0), r;
4255
+ }
4256
+ function Sc(t, { min: e, max: i }, n) {
4257
+ return e !== void 0 && t < e ? t = n ? b(e, t, n.min) : Math.max(t, e) : i !== void 0 && t > i && (t = n ? b(i, t, n.max) : Math.min(t, i)), t;
4258
+ }
4259
+ function ts(t, e, i) {
4260
+ return {
4261
+ min: e !== void 0 ? t.min + e : void 0,
4262
+ max: i !== void 0 ? t.max + i - (t.max - t.min) : void 0
4263
+ };
4264
+ }
4265
+ function bc(t, { top: e, left: i, bottom: n, right: s }) {
4266
+ return {
4267
+ x: ts(t.x, i, s),
4268
+ y: ts(t.y, e, n)
4269
+ };
4270
+ }
4271
+ function es(t, e) {
4272
+ let i = e.min - t.min, n = e.max - t.max;
4273
+ return e.max - e.min < t.max - t.min && ([i, n] = [n, i]), {
4274
+ min: i,
4275
+ max: n
4276
+ };
4277
+ }
4278
+ function Ac(t, e) {
4279
+ return {
4280
+ x: es(t.x, e.x),
4281
+ y: es(t.y, e.y)
4282
+ };
4283
+ }
4284
+ function Vc(t, e) {
4285
+ let i = 0.5;
4286
+ const n = O(t), s = O(e);
4287
+ return s > n ? i = Rt(e.min, e.max - n, t.min) : n > s && (i = Rt(t.min, t.max - s, e.min)), G(0, 1, i);
4288
+ }
4289
+ function Cc(t, e) {
4290
+ const i = {};
4291
+ return e.min !== void 0 && (i.min = e.min - t.min), e.max !== void 0 && (i.max = e.max - t.min), i;
4292
+ }
4293
+ var ii = 0.35;
4294
+ function Dc(t = ii) {
4295
+ return t === !1 ? t = 0 : t === !0 && (t = ii), {
4296
+ x: is(t, "left", "right"),
4297
+ y: is(t, "top", "bottom")
4298
+ };
4299
+ }
4300
+ function is(t, e, i) {
4301
+ return {
4302
+ min: ns(t, e),
4303
+ max: ns(t, i)
4304
+ };
4305
+ }
4306
+ function ns(t, e) {
4307
+ return typeof t == "number" ? t : t[e] || 0;
4308
+ }
4309
+ var Mc = /* @__PURE__ */ new WeakMap(), Ec = class {
4310
+ constructor(t) {
4311
+ this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
4312
+ x: 0,
4313
+ y: 0
4314
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = M(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = t;
4315
+ }
4316
+ start(t, { snapToCursor: e = !1, distanceThreshold: i } = {}) {
4317
+ const { presenceContext: n } = this.visualElement;
4318
+ if (n && n.isPresent === !1) return;
4319
+ const s = (u) => {
4320
+ e && this.snapToCursor(u), this.stopAnimation();
4321
+ }, o = (u, h) => {
4322
+ const { drag: f, dragPropagation: p, onDragStart: d } = this.getProps();
4323
+ if (f && !p && (this.openDragLock && this.openDragLock(), this.openDragLock = xl(f), !this.openDragLock))
4324
+ return;
4325
+ this.latestPointerEvent = u, this.latestPanInfo = h, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), H((m) => {
4326
+ let w = this.getAxisMotionValue(m).get() || 0;
4327
+ if (Y.test(w)) {
4328
+ const { projection: T } = this.visualElement;
4329
+ if (T && T.layout) {
4330
+ const x = T.layout.layoutBox[m];
4331
+ x && (w = O(x) * (parseFloat(w) / 100));
4332
+ }
4333
+ }
4334
+ this.originPoint[m] = w;
4335
+ }), d && C.update(() => d(u, h), !1, !0), Xe(this.visualElement, "transform");
4336
+ const { animationState: v } = this.visualElement;
4337
+ v && v.setActive("whileDrag", !0);
4338
+ }, r = (u, h) => {
4339
+ this.latestPointerEvent = u, this.latestPanInfo = h;
4340
+ const { dragPropagation: f, dragDirectionLock: p, onDirectionLock: d, onDrag: v } = this.getProps();
4341
+ if (!f && !this.openDragLock) return;
4342
+ const { offset: m } = h;
4343
+ if (p && this.currentDirection === null) {
4344
+ this.currentDirection = Lc(m), this.currentDirection !== null && d && d(this.currentDirection);
4345
+ return;
4346
+ }
4347
+ this.updateAxis("x", h.point, m), this.updateAxis("y", h.point, m), this.visualElement.render(), v && C.update(() => v(u, h), !1, !0);
4348
+ }, a = (u, h) => {
4349
+ this.latestPointerEvent = u, this.latestPanInfo = h, this.stop(u, h), this.latestPointerEvent = null, this.latestPanInfo = null;
4350
+ }, l = () => {
4351
+ const { dragSnapToOrigin: u } = this.getProps();
4352
+ (u || this.constraints) && this.startAnimation({
4353
+ x: 0,
4354
+ y: 0
4355
+ });
4356
+ }, { dragSnapToOrigin: c } = this.getProps();
4357
+ this.panSession = new Nr(t, {
4358
+ onSessionStart: s,
4359
+ onStart: o,
4360
+ onMove: r,
4361
+ onSessionEnd: a,
4362
+ resumeAnimation: l
4363
+ }, {
4364
+ transformPagePoint: this.visualElement.getTransformPagePoint(),
4365
+ dragSnapToOrigin: c,
4366
+ distanceThreshold: i,
4367
+ contextWindow: jr(this.visualElement),
4368
+ element: this.visualElement.current
4369
+ });
4370
+ }
4371
+ stop(t, e) {
4372
+ const i = t || this.latestPointerEvent, n = e || this.latestPanInfo, s = this.isDragging;
4373
+ if (this.cancel(), !s || !n || !i) return;
4374
+ const { velocity: o } = n;
4375
+ this.startAnimation(o);
4376
+ const { onDragEnd: r } = this.getProps();
4377
+ r && C.postRender(() => r(i, n));
4378
+ }
4379
+ cancel() {
4380
+ this.isDragging = !1;
4381
+ const { projection: t, animationState: e } = this.visualElement;
4382
+ t && (t.isAnimationBlocked = !1), this.endPanSession();
4383
+ const { dragPropagation: i } = this.getProps();
4384
+ !i && this.openDragLock && (this.openDragLock(), this.openDragLock = null), e && e.setActive("whileDrag", !1);
4385
+ }
4386
+ endPanSession() {
4387
+ this.panSession && this.panSession.end(), this.panSession = void 0;
4388
+ }
4389
+ updateAxis(t, e, i) {
4390
+ const { drag: n } = this.getProps();
4391
+ if (!i || !$t(t, n, this.currentDirection)) return;
4392
+ const s = this.getAxisMotionValue(t);
4393
+ let o = this.originPoint[t] + i[t];
4394
+ this.constraints && this.constraints[t] && (o = Sc(o, this.constraints[t], this.elastic[t])), s.set(o);
4395
+ }
4396
+ resolveConstraints() {
4397
+ const { dragConstraints: t, dragElastic: e } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, n = this.constraints;
4398
+ t && pt(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && i ? this.constraints = bc(i.layoutBox, t) : this.constraints = !1, this.elastic = Dc(e), n !== this.constraints && !pt(t) && i && this.constraints && !this.hasMutatedConstraints && H((s) => {
4399
+ this.constraints !== !1 && this.getAxisMotionValue(s) && (this.constraints[s] = Cc(i.layoutBox[s], this.constraints[s]));
4400
+ });
4401
+ }
4402
+ resolveRefConstraints() {
4403
+ const { dragConstraints: t, onMeasureDragConstraints: e } = this.getProps();
4404
+ if (!t || !pt(t)) return !1;
4405
+ const i = t.current;
4406
+ q(i !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
4407
+ const { projection: n } = this.visualElement;
4408
+ if (!n || !n.layout) return !1;
4409
+ n.root && (n.root.scroll = void 0, n.root.updateScroll());
4410
+ const s = Tl(i, n.root, this.visualElement.getTransformPagePoint());
4411
+ let o = Ac(n.layout.layoutBox, s);
4412
+ if (e) {
4413
+ const r = e(vl(o));
4414
+ this.hasMutatedConstraints = !!r, r && (o = sr(r));
4415
+ }
4416
+ return o;
4417
+ }
4418
+ startAnimation(t) {
4419
+ const { drag: e, dragMomentum: i, dragElastic: n, dragTransition: s, dragSnapToOrigin: o, onDragTransitionEnd: r } = this.getProps(), a = this.constraints || {}, l = H((c) => {
4420
+ if (!$t(c, e, this.currentDirection)) return;
4421
+ let u = a && a[c] || {};
4422
+ (o === !0 || o === c) && (u = {
4423
+ min: 0,
4424
+ max: 0
4425
+ });
4426
+ const h = n ? 200 : 1e6, f = n ? 40 : 1e7, p = {
4427
+ type: "inertia",
4428
+ velocity: i ? t[c] : 0,
4429
+ bounceStiffness: h,
4430
+ bounceDamping: f,
4431
+ timeConstant: 750,
4432
+ restDelta: 1,
4433
+ restSpeed: 10,
4434
+ ...s,
4435
+ ...u
4436
+ };
4437
+ return this.startAxisValueAnimation(c, p);
4438
+ });
4439
+ return Promise.all(l).then(r);
4440
+ }
4441
+ startAxisValueAnimation(t, e) {
4442
+ const i = this.getAxisMotionValue(t);
4443
+ return Xe(this.visualElement, t), i.start(bi(t, i, 0, e, this.visualElement, !1));
4444
+ }
4445
+ stopAnimation() {
4446
+ H((t) => this.getAxisMotionValue(t).stop());
4447
+ }
4448
+ getAxisMotionValue(t) {
4449
+ const e = `_drag${t.toUpperCase()}`, i = this.visualElement.getProps()[e];
4450
+ return i || this.visualElement.getValue(t, this.visualElement.latestValues[t] ?? 0);
4451
+ }
4452
+ snapToCursor({ clientX: t, clientY: e }) {
4453
+ const { drag: i } = this.getProps(), n = {
4454
+ x: t,
4455
+ y: e
4456
+ }, s = this.visualElement.getTransformPagePoint()?.(n) || n, o = this.visualElement.measureViewportBox();
4457
+ H((r) => {
4458
+ if (!$t(r, i, this.currentDirection)) return;
4459
+ const a = this.getAxisMotionValue(r), { min: l, max: c } = o[r];
4460
+ a.set((a.get() || 0) + s[r] - b(l, c, 0.5));
4461
+ });
4462
+ }
4463
+ scalePositionWithinConstraints() {
4464
+ if (!this.visualElement.current) return;
4465
+ const { drag: t, dragConstraints: e } = this.getProps(), { projection: i } = this.visualElement;
4466
+ if (!pt(e) || !i || !this.constraints) return;
4467
+ this.stopAnimation();
4468
+ const n = this.constraints, s = {
4469
+ x: 0,
4470
+ y: 0
4471
+ };
4472
+ H((r) => {
4473
+ const a = this.getAxisMotionValue(r).get();
4474
+ s[r] = Vc({
4475
+ min: a,
4476
+ max: a
4477
+ }, n[r]);
4478
+ });
4479
+ const { transformTemplate: o } = this.visualElement.getProps();
4480
+ this.visualElement.current.style.transform = o ? o({}, "") : "none", i.root && i.root.updateScroll(), i.updateLayout(), this.constraints = !1, this.resolveConstraints(), H((r) => {
4481
+ const a = this.getAxisMotionValue(r);
4482
+ if (!$t(r, t, null) || !a.get()) return;
4483
+ const { min: l, max: c } = this.constraints[r];
4484
+ a.set(b(l, c, s[r]));
4485
+ }), this.visualElement.render();
4486
+ }
4487
+ addListeners() {
4488
+ if (!this.visualElement.current) return;
4489
+ Mc.set(this.visualElement, this);
4490
+ const t = this.visualElement.current, e = Et(t, "pointerdown", (l) => {
4491
+ const { drag: c, dragListener: u = !0 } = this.getProps(), h = l.target, f = h !== t && Vl(h);
4492
+ c && u && !f && this.start(l);
4493
+ });
4494
+ let i;
4495
+ const n = () => {
4496
+ const { dragConstraints: l } = this.getProps();
4497
+ pt(l) && l.current && (this.constraints = this.resolveRefConstraints(), i || (i = Rc(t, l.current, () => this.scalePositionWithinConstraints())));
4498
+ }, { projection: s } = this.visualElement, o = s.addEventListener("measure", n);
4499
+ s && !s.layout && (s.root && s.root.updateScroll(), s.updateLayout()), C.read(n);
4500
+ const r = It(window, "resize", () => this.scalePositionWithinConstraints()), a = s.addEventListener("didUpdate", (({ delta: l, hasLayoutChanged: c }) => {
4501
+ this.isDragging && c && (H((u) => {
4502
+ const h = this.getAxisMotionValue(u);
4503
+ h && (this.originPoint[u] += l[u].translate, h.set(h.get() + l[u].translate));
4504
+ }), this.visualElement.render());
4505
+ }));
4506
+ return () => {
4507
+ r(), e(), o(), a && a(), i && i();
4508
+ };
4509
+ }
4510
+ getProps() {
4511
+ const t = this.visualElement.getProps(), { drag: e = !1, dragDirectionLock: i = !1, dragPropagation: n = !1, dragConstraints: s = !1, dragElastic: o = ii, dragMomentum: r = !0 } = t;
4512
+ return {
4513
+ ...t,
4514
+ drag: e,
4515
+ dragDirectionLock: i,
4516
+ dragPropagation: n,
4517
+ dragConstraints: s,
4518
+ dragElastic: o,
4519
+ dragMomentum: r
4520
+ };
4521
+ }
4522
+ };
4523
+ function ss(t) {
4524
+ let e = !0;
4525
+ return () => {
4526
+ if (e) {
4527
+ e = !1;
4528
+ return;
4529
+ }
4530
+ t();
4531
+ };
4532
+ }
4533
+ function Rc(t, e, i) {
4534
+ const n = Tn(t, ss(i)), s = Tn(e, ss(i));
4535
+ return () => {
4536
+ n(), s();
4537
+ };
4538
+ }
4539
+ function $t(t, e, i) {
4540
+ return (e === !0 || e === t) && (i === null || i === t);
4541
+ }
4542
+ function Lc(t, e = 10) {
4543
+ let i = null;
4544
+ return Math.abs(t.y) > e ? i = "y" : Math.abs(t.x) > e && (i = "x"), i;
4545
+ }
4546
+ var kc = class extends et {
4547
+ constructor(t) {
4548
+ super(t), this.removeGroupControls = _, this.removeListeners = _, this.controls = new Ec(t);
4549
+ }
4550
+ mount() {
4551
+ const { dragControls: t } = this.node.getProps();
4552
+ t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || _;
4553
+ }
4554
+ update() {
4555
+ const { dragControls: t } = this.node.getProps(), { dragControls: e } = this.node.prevProps || {};
4556
+ t !== e && (this.removeGroupControls(), t && (this.removeGroupControls = t.subscribe(this.controls)));
4557
+ }
4558
+ unmount() {
4559
+ this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
4560
+ }
4561
+ }, Ce = (t) => (e, i) => {
4562
+ t && C.update(() => t(e, i), !1, !0);
4563
+ }, Bc = class extends et {
4564
+ constructor() {
4565
+ super(...arguments), this.removePointerDownListener = _;
4566
+ }
4567
+ onPointerDown(t) {
4568
+ this.session = new Nr(t, this.createPanHandlers(), {
4569
+ transformPagePoint: this.node.getTransformPagePoint(),
4570
+ contextWindow: jr(this.node)
4571
+ });
4572
+ }
4573
+ createPanHandlers() {
4574
+ const { onPanSessionStart: t, onPanStart: e, onPan: i, onPanEnd: n } = this.node.getProps();
4575
+ return {
4576
+ onSessionStart: Ce(t),
4577
+ onStart: Ce(e),
4578
+ onMove: Ce(i),
4579
+ onEnd: (s, o) => {
4580
+ delete this.session, n && C.postRender(() => n(s, o));
4581
+ }
4582
+ };
4583
+ }
4584
+ mount() {
4585
+ this.removePointerDownListener = Et(this.node.current, "pointerdown", (t) => this.onPointerDown(t));
4586
+ }
4587
+ update() {
4588
+ this.session && this.session.updateHandlers(this.createPanHandlers());
4589
+ }
4590
+ unmount() {
4591
+ this.removePointerDownListener(), this.session && this.session.end();
4592
+ }
4593
+ }, De = !1, Ic = class extends zr {
4594
+ componentDidMount() {
4595
+ const { visualElement: t, layoutGroup: e, switchLayoutGroup: i, layoutId: n } = this.props, { projection: s } = t;
4596
+ s && (e.group && e.group.add(s), i && i.register && n && i.register(s), De && s.root.didUpdate(), s.addEventListener("animationComplete", () => {
4597
+ this.safeToRemove();
4598
+ }), s.setOptions({
4599
+ ...s.options,
4600
+ layoutDependency: this.props.layoutDependency,
4601
+ onExitComplete: () => this.safeToRemove()
4602
+ })), qt.hasEverUpdated = !0;
4603
+ }
4604
+ getSnapshotBeforeUpdate(t) {
4605
+ const { layoutDependency: e, visualElement: i, drag: n, isPresent: s } = this.props, { projection: o } = i;
4606
+ return o && (o.isPresent = s, t.layoutDependency !== e && o.setOptions({
4607
+ ...o.options,
4608
+ layoutDependency: e
4609
+ }), De = !0, n || t.layoutDependency !== e || e === void 0 || t.isPresent !== s ? o.willUpdate() : this.safeToRemove(), t.isPresent !== s && (s ? o.promote() : o.relegate() || C.postRender(() => {
4610
+ const r = o.getStack();
4611
+ (!r || !r.members.length) && this.safeToRemove();
4612
+ }))), null;
4613
+ }
4614
+ componentDidUpdate() {
4615
+ const { visualElement: t, layoutAnchor: e } = this.props, { projection: i } = t;
4616
+ i && (i.options.layoutAnchor = e, i.root.didUpdate(), Ei.postRender(() => {
4617
+ !i.currentAnimation && i.isLead() && this.safeToRemove();
4618
+ }));
4619
+ }
4620
+ componentWillUnmount() {
4621
+ const { visualElement: t, layoutGroup: e, switchLayoutGroup: i } = this.props, { projection: n } = t;
4622
+ De = !0, n && (n.scheduleCheckAfterUnmount(), e && e.group && e.group.remove(n), i && i.deregister && i.deregister(n));
4623
+ }
4624
+ safeToRemove() {
4625
+ const { safeToRemove: t } = this.props;
4626
+ t && t();
4627
+ }
4628
+ render() {
4629
+ return null;
4630
+ }
4631
+ };
4632
+ function Wr(t) {
4633
+ const [e, i] = $u(), n = j(hs);
4634
+ return cs(Ic, {
4635
+ ...t,
4636
+ layoutGroup: n,
4637
+ switchLayoutGroup: j(Fr),
4638
+ isPresent: e,
4639
+ safeToRemove: i
4640
+ });
4641
+ }
4642
+ var Fc = {
4643
+ pan: { Feature: Bc },
4644
+ drag: {
4645
+ Feature: kc,
4646
+ ProjectionNode: Mr,
4647
+ MeasureLayout: Wr
4648
+ }
4649
+ };
4650
+ function rs(t, e, i) {
4651
+ const { props: n } = t;
4652
+ t.animationState && n.whileHover && t.animationState.setActive("whileHover", i === "Start");
4653
+ const s = n["onHover" + i];
4654
+ s && C.postRender(() => s(e, de(e)));
4655
+ }
4656
+ var Oc = class extends et {
4657
+ mount() {
4658
+ const { current: t } = this.node;
4659
+ t && (this.unmount = Pl(t, (e, i) => (rs(this.node, i, "Start"), (n) => rs(this.node, n, "End"))));
4660
+ }
4661
+ unmount() {
4662
+ }
4663
+ }, jc = class extends et {
4664
+ constructor() {
4665
+ super(...arguments), this.isActive = !1;
4666
+ }
4667
+ onFocus() {
4668
+ let t = !1;
4669
+ try {
4670
+ t = this.node.current.matches(":focus-visible");
4671
+ } catch {
4672
+ t = !0;
4673
+ }
4674
+ !t || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !0), this.isActive = !0);
4675
+ }
4676
+ onBlur() {
4677
+ !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
4678
+ }
4679
+ mount() {
4680
+ this.unmount = Ft(It(this.node.current, "focus", () => this.onFocus()), It(this.node.current, "blur", () => this.onBlur()));
4681
+ }
4682
+ unmount() {
4683
+ }
4684
+ };
4685
+ function os(t, e, i) {
4686
+ const { props: n } = t;
4687
+ if (t.current instanceof HTMLButtonElement && t.current.disabled) return;
4688
+ t.animationState && n.whileTap && t.animationState.setActive("whileTap", i === "Start");
4689
+ const s = n["onTap" + (i === "End" ? "" : i)];
4690
+ s && C.postRender(() => s(e, de(e)));
4691
+ }
4692
+ var Nc = class extends et {
4693
+ mount() {
4694
+ const { current: t } = this.node;
4695
+ if (!t) return;
4696
+ const { globalTapTarget: e, propagate: i } = this.node.props;
4697
+ this.unmount = Dl(t, (n, s) => (os(this.node, s, "Start"), (o, { success: r }) => os(this.node, o, r ? "End" : "Cancel")), {
4698
+ useGlobalTarget: e,
4699
+ stopPropagation: i?.tap === !1
4700
+ });
4701
+ }
4702
+ unmount() {
4703
+ }
4704
+ }, ni = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Uc = (t) => {
4705
+ const e = ni.get(t.target);
4706
+ e && e(t);
4707
+ }, Wc = (t) => {
4708
+ t.forEach(Uc);
4709
+ };
4710
+ function $c({ root: t, ...e }) {
4711
+ const i = t || document;
4712
+ Me.has(i) || Me.set(i, {});
4713
+ const n = Me.get(i), s = JSON.stringify(e);
4714
+ return n[s] || (n[s] = new IntersectionObserver(Wc, {
4715
+ root: t,
4716
+ ...e
4717
+ })), n[s];
4718
+ }
4719
+ function Kc(t, e, i) {
4720
+ const n = $c(e);
4721
+ return ni.set(t, i), n.observe(t), () => {
4722
+ ni.delete(t), n.unobserve(t);
4723
+ };
4724
+ }
4725
+ var zc = {
4726
+ some: 0,
4727
+ all: 1
4728
+ }, _c = class extends et {
4729
+ constructor() {
4730
+ super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
4731
+ }
4732
+ startObserver() {
4733
+ this.stopObserver?.();
4734
+ const { viewport: t = {} } = this.node.getProps(), { root: e, margin: i, amount: n = "some", once: s } = t, o = {
4735
+ root: e ? e.current : void 0,
4736
+ rootMargin: i,
4737
+ threshold: typeof n == "number" ? n : zc[n]
4738
+ }, r = (a) => {
4739
+ const { isIntersecting: l } = a;
4740
+ if (this.isInView === l || (this.isInView = l, s && !l && this.hasEnteredView)) return;
4741
+ l && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", l);
4742
+ const { onViewportEnter: c, onViewportLeave: u } = this.node.getProps(), h = l ? c : u;
4743
+ h && h(a);
4744
+ };
4745
+ this.stopObserver = Kc(this.node.current, o, r);
4746
+ }
4747
+ mount() {
4748
+ this.startObserver();
4749
+ }
4750
+ update() {
4751
+ if (typeof IntersectionObserver > "u") return;
4752
+ const { props: t, prevProps: e } = this.node;
4753
+ [
4754
+ "amount",
4755
+ "margin",
4756
+ "root"
4757
+ ].some(Gc(t, e)) && this.startObserver();
4758
+ }
4759
+ unmount() {
4760
+ this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
4761
+ }
4762
+ };
4763
+ function Gc({ viewport: t = {} }, { viewport: e = {} } = {}) {
4764
+ return (i) => t[i] !== e[i];
4765
+ }
4766
+ var Hc = {
4767
+ inView: { Feature: _c },
4768
+ tap: { Feature: Nc },
4769
+ focus: { Feature: jc },
4770
+ hover: { Feature: Oc }
4771
+ }, Xc = { layout: {
4772
+ ProjectionNode: Mr,
4773
+ MeasureLayout: Wr
4774
+ } }, Yc = {
4775
+ ...yc,
4776
+ ...Hc,
4777
+ ...Fc,
4778
+ ...Xc
4779
+ }, qc = /* @__PURE__ */ dc(Yc, mc), eh = qc;
4780
+ export {
4781
+ dr as a,
4782
+ ui as c,
4783
+ qr as d,
4784
+ hs as f,
4785
+ Wl as i,
4786
+ ri as l,
4787
+ $u as n,
4788
+ Qe as o,
4789
+ Er as r,
4790
+ ul as s,
4791
+ eh as t,
4792
+ Ni as u
4793
+ };