@veevarts/design-system 2.0.0-alpha.6 → 2.0.0-alpha.61

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 (277) hide show
  1. package/README.md +82 -0
  2. package/dist/assistant.cjs +1 -0
  3. package/dist/assistant.d.ts +10 -0
  4. package/dist/assistant.js +790 -0
  5. package/dist/components/DatePicker/DatePicker.d.ts +9 -2
  6. package/dist/components/DatePicker/defaults.d.ts +28 -0
  7. package/dist/components/DatePicker/index.d.ts +1 -0
  8. package/dist/components/Drawer/Drawer.d.ts +17 -0
  9. package/dist/components/Drawer/index.d.ts +2 -0
  10. package/dist/components/Modal/CloseButton.d.ts +18 -0
  11. package/dist/components/Modal/Modal.d.ts +15 -0
  12. package/dist/components/Modal/index.d.ts +2 -0
  13. package/dist/components/Modal/useLabelledCloseButton.d.ts +13 -0
  14. package/dist/components/Select/Select.d.ts +10 -0
  15. package/dist/components/Skeleton/Skeleton.d.ts +37 -0
  16. package/dist/components/Skeleton/index.d.ts +2 -0
  17. package/dist/components/Table/Table.d.ts +7 -0
  18. package/dist/components/Table/index.d.ts +2 -0
  19. package/dist/components/index.d.ts +9 -1
  20. package/dist/hasContent-BCRxiry-.js +1200 -0
  21. package/dist/hasContent-JfCtoDIu.cjs +1 -0
  22. package/dist/index.cjs +9 -9
  23. package/dist/index.d.ts +6 -0
  24. package/dist/index.js +11013 -7145
  25. package/dist/patterns/ActivityTimeline/ActivityTimeline.d.ts +3 -0
  26. package/dist/patterns/ActivityTimeline/index.d.ts +2 -0
  27. package/dist/patterns/ActivityTimeline/styles.d.ts +15 -0
  28. package/dist/patterns/ActivityTimeline/types.d.ts +15 -0
  29. package/dist/patterns/AdminTable/AdminTable.d.ts +1 -0
  30. package/dist/patterns/AdminTable/styles.d.ts +8 -1
  31. package/dist/patterns/AdminTextField/AdminTextField.d.ts +4 -44
  32. package/dist/patterns/AdminTextField/index.d.ts +2 -2
  33. package/dist/patterns/AdminTextField/styles.d.ts +29 -0
  34. package/dist/patterns/AdminTextField/types.d.ts +78 -0
  35. package/dist/patterns/AdminToolbar/AdminToolbar.d.ts +13 -2
  36. package/dist/patterns/AdminToolbar/index.d.ts +1 -0
  37. package/dist/patterns/AdminToolbar/styles.d.ts +49 -0
  38. package/dist/patterns/AdminToolbar/types.d.ts +2 -0
  39. package/dist/patterns/AmountList/AmountList.d.ts +3 -0
  40. package/dist/patterns/AmountList/index.d.ts +2 -0
  41. package/dist/patterns/AmountList/styles.d.ts +23 -0
  42. package/dist/patterns/AmountList/types.d.ts +26 -0
  43. package/dist/patterns/AssistantActivity/AssistantActivity.d.ts +15 -0
  44. package/dist/patterns/AssistantActivity/formatAssistantDuration.d.ts +10 -0
  45. package/dist/patterns/AssistantActivity/index.d.ts +3 -0
  46. package/dist/patterns/AssistantActivity/styles.d.ts +31 -0
  47. package/dist/patterns/AssistantActivity/types.d.ts +42 -0
  48. package/dist/patterns/AssistantComposer/AssistantComposer.d.ts +15 -0
  49. package/dist/patterns/AssistantComposer/index.d.ts +2 -0
  50. package/dist/patterns/AssistantComposer/styles.d.ts +33 -0
  51. package/dist/patterns/AssistantComposer/types.d.ts +62 -0
  52. package/dist/patterns/AssistantMessage/AssistantMessage.d.ts +17 -0
  53. package/dist/patterns/AssistantMessage/index.d.ts +2 -0
  54. package/dist/patterns/AssistantMessage/styles.d.ts +45 -0
  55. package/dist/patterns/AssistantMessage/types.d.ts +84 -0
  56. package/dist/patterns/AssistantNotice/AssistantNotice.d.ts +18 -0
  57. package/dist/patterns/AssistantNotice/index.d.ts +2 -0
  58. package/dist/patterns/AssistantNotice/styles.d.ts +49 -0
  59. package/dist/patterns/AssistantNotice/types.d.ts +58 -0
  60. package/dist/patterns/CardList/CardList.d.ts +3 -0
  61. package/dist/patterns/CardList/index.d.ts +2 -0
  62. package/dist/patterns/CardList/styles.d.ts +20 -0
  63. package/dist/patterns/CardList/types.d.ts +20 -0
  64. package/dist/patterns/CardStack/CardStack.d.ts +7 -0
  65. package/dist/patterns/CardStack/index.d.ts +2 -0
  66. package/dist/patterns/CardStack/styles.d.ts +2 -0
  67. package/dist/patterns/CashTenderForm/types.d.ts +6 -0
  68. package/dist/patterns/CellText/CellText.d.ts +16 -0
  69. package/dist/patterns/CellText/index.d.ts +2 -0
  70. package/dist/patterns/CellText/styles.d.ts +7 -0
  71. package/dist/patterns/DiscardGuard/DiscardGuard.d.ts +23 -0
  72. package/dist/patterns/DiscardGuard/context.d.ts +25 -0
  73. package/dist/patterns/DiscardGuard/index.d.ts +6 -0
  74. package/dist/patterns/DiscardGuard/useDiscardGuard.d.ts +38 -0
  75. package/dist/patterns/DonationAmounts/index.d.ts +1 -1
  76. package/dist/patterns/DonationAmounts/styles.d.ts +51 -0
  77. package/dist/patterns/DonationAmounts/types.d.ts +79 -1
  78. package/dist/patterns/DonationAmounts/utils/currency.d.ts +23 -3
  79. package/dist/patterns/EntityRow/EntityList.d.ts +15 -0
  80. package/dist/patterns/EntityRow/EntityRow.d.ts +3 -0
  81. package/dist/patterns/EntityRow/context.d.ts +2 -0
  82. package/dist/patterns/EntityRow/icons.d.ts +3 -0
  83. package/dist/patterns/EntityRow/index.d.ts +3 -0
  84. package/dist/patterns/EntityRow/initials.d.ts +6 -0
  85. package/dist/patterns/EntityRow/styles.d.ts +74 -0
  86. package/dist/patterns/EntityRow/types.d.ts +125 -0
  87. package/dist/patterns/ExpandableTable/ExpandableTable.d.ts +6 -0
  88. package/dist/patterns/ExpandableTable/index.d.ts +2 -0
  89. package/dist/patterns/ExpandableTable/styles.d.ts +43 -0
  90. package/dist/patterns/ExpandableTable/types.d.ts +99 -0
  91. package/dist/patterns/FeedbackState/FeedbackState.d.ts +1 -1
  92. package/dist/patterns/FeedbackState/type.d.ts +11 -1
  93. package/dist/patterns/FilterSelect/FilterSelect.d.ts +3 -0
  94. package/dist/patterns/FilterSelect/FilterSelectGroup.d.ts +3 -0
  95. package/dist/patterns/FilterSelect/index.d.ts +3 -0
  96. package/dist/patterns/FilterSelect/styles.d.ts +17 -0
  97. package/dist/patterns/FilterSelect/types.d.ts +19 -0
  98. package/dist/patterns/InlineConfirm/InlineConfirm.d.ts +38 -0
  99. package/dist/patterns/InlineConfirm/index.d.ts +2 -0
  100. package/dist/patterns/InlineConfirm/styles.d.ts +16 -0
  101. package/dist/patterns/InstallmentFundAssignment/InstallmentFundAssignment.d.ts +1 -1
  102. package/dist/patterns/InstallmentFundAssignment/types.d.ts +3 -0
  103. package/dist/patterns/InstallmentSchedule/InstallmentSchedule.d.ts +1 -1
  104. package/dist/patterns/InstallmentSchedule/InstallmentTable.d.ts +1 -1
  105. package/dist/patterns/InstallmentSchedule/index.d.ts +1 -1
  106. package/dist/patterns/InstallmentSchedule/types.d.ts +62 -3
  107. package/dist/patterns/InstallmentSchedule/utils.d.ts +33 -0
  108. package/dist/patterns/KeyValueChip/KeyValueChip.d.ts +1 -0
  109. package/dist/patterns/KeyValueRows/KeyValueRows.d.ts +13 -0
  110. package/dist/patterns/KeyValueRows/index.d.ts +2 -0
  111. package/dist/patterns/KeyValueRows/styles.d.ts +8 -0
  112. package/dist/patterns/LineItemRows/LineItemRows.d.ts +17 -0
  113. package/dist/patterns/LineItemRows/index.d.ts +2 -0
  114. package/dist/patterns/LineItemRows/styles.d.ts +13 -0
  115. package/dist/patterns/ListPanel/ListPanel.d.ts +2 -0
  116. package/dist/patterns/LoadMoreFooter/LoadMoreFooter.d.ts +3 -0
  117. package/dist/patterns/LoadMoreFooter/index.d.ts +2 -0
  118. package/dist/patterns/LoadMoreFooter/styles.d.ts +7 -0
  119. package/dist/patterns/LoadMoreFooter/types.d.ts +10 -0
  120. package/dist/patterns/MetaCard/types.d.ts +2 -0
  121. package/dist/patterns/ModalPanels/ModalPanels.d.ts +35 -0
  122. package/dist/patterns/ModalPanels/context.d.ts +20 -0
  123. package/dist/patterns/ModalPanels/focus.d.ts +44 -0
  124. package/dist/patterns/ModalPanels/index.d.ts +6 -0
  125. package/dist/patterns/ModalPanels/styles.d.ts +13 -0
  126. package/dist/patterns/ModalPanels/useModalPanels.d.ts +30 -0
  127. package/dist/patterns/NeedsFixDot/NeedsFixDot.d.ts +16 -0
  128. package/dist/patterns/NeedsFixDot/firstNeedsFixKey.d.ts +18 -0
  129. package/dist/patterns/NeedsFixDot/index.d.ts +4 -0
  130. package/dist/patterns/NeedsFixDot/styles.d.ts +20 -0
  131. package/dist/patterns/Notice/Notice.d.ts +16 -0
  132. package/dist/patterns/Notice/index.d.ts +2 -0
  133. package/dist/patterns/Notice/styles.d.ts +35 -0
  134. package/dist/patterns/Notice/type.d.ts +39 -0
  135. package/dist/patterns/OutcomeView/index.d.ts +1 -1
  136. package/dist/patterns/OutcomeView/types.d.ts +110 -3
  137. package/dist/patterns/PageHeader/PageHeader.d.ts +1 -0
  138. package/dist/patterns/PaginationSummary/PaginationSummary.d.ts +12 -0
  139. package/dist/patterns/PaginationSummary/index.d.ts +1 -1
  140. package/dist/patterns/PaymentSubAmountInput/PaymentSubAmountInput.d.ts +2 -0
  141. package/dist/patterns/PillTabs/PillTabs.d.ts +3 -0
  142. package/dist/patterns/PillTabs/ids.d.ts +9 -0
  143. package/dist/patterns/PillTabs/index.d.ts +3 -0
  144. package/dist/patterns/PillTabs/styles.d.ts +20 -0
  145. package/dist/patterns/PillTabs/types.d.ts +21 -0
  146. package/dist/patterns/{CatalogItemCard → Programs/CatalogItemCard}/type.d.ts +1 -1
  147. package/dist/patterns/{EventDetails → Programs/EventDetails}/EventDetails.d.ts +3 -1
  148. package/dist/patterns/{OfferCard → Programs/OfferCard}/OfferCard.d.ts +1 -1
  149. package/dist/patterns/{OfferCard → Programs/OfferCard}/types.d.ts +7 -0
  150. package/dist/patterns/Programs/ProgramListItem/ProgramListItem.d.ts +17 -0
  151. package/dist/patterns/Programs/ProgramListItem/index.d.ts +2 -0
  152. package/dist/patterns/Programs/index.d.ts +5 -0
  153. package/dist/patterns/ReasonSelect/types.d.ts +1 -0
  154. package/dist/patterns/RecordCard/RecordCard.d.ts +3 -0
  155. package/dist/patterns/RecordCard/index.d.ts +2 -0
  156. package/dist/patterns/RecordCard/styles.d.ts +16 -0
  157. package/dist/patterns/RecordCard/types.d.ts +22 -0
  158. package/dist/patterns/RecordHeader/RecordHeader.d.ts +3 -0
  159. package/dist/patterns/RecordHeader/index.d.ts +2 -0
  160. package/dist/patterns/RecordHeader/styles.d.ts +43 -0
  161. package/dist/patterns/RecordHeader/types.d.ts +30 -0
  162. package/dist/patterns/RecordLayout/RecordLayout.d.ts +3 -0
  163. package/dist/patterns/RecordLayout/index.d.ts +2 -0
  164. package/dist/patterns/RecordLayout/styles.d.ts +8 -0
  165. package/dist/patterns/RecordLayout/types.d.ts +6 -0
  166. package/dist/patterns/RecordTotals/RecordTotals.d.ts +19 -0
  167. package/dist/patterns/RecordTotals/index.d.ts +2 -0
  168. package/dist/patterns/RecordTotals/styles.d.ts +19 -0
  169. package/dist/patterns/RefundMethodCards/RefundMethodCards.d.ts +4 -0
  170. package/dist/patterns/RefundMethodCards/index.d.ts +2 -0
  171. package/dist/patterns/RefundMethodCards/styles.d.ts +59 -0
  172. package/dist/patterns/RefundMethodCards/types.d.ts +72 -0
  173. package/dist/patterns/RefundProgressList/RefundProgressList.d.ts +4 -0
  174. package/dist/patterns/RefundProgressList/index.d.ts +2 -0
  175. package/dist/patterns/RefundProgressList/styles.d.ts +44 -0
  176. package/dist/patterns/RefundProgressList/types.d.ts +37 -0
  177. package/dist/patterns/RelatedRecordList/RelatedRecordList.d.ts +3 -0
  178. package/dist/patterns/RelatedRecordList/index.d.ts +2 -0
  179. package/dist/patterns/RelatedRecordList/styles.d.ts +19 -0
  180. package/dist/patterns/RelatedRecordList/types.d.ts +17 -0
  181. package/dist/patterns/ScrollToLatest/ScrollToLatest.d.ts +18 -0
  182. package/dist/patterns/ScrollToLatest/index.d.ts +2 -0
  183. package/dist/patterns/ScrollToLatest/styles.d.ts +11 -0
  184. package/dist/patterns/ScrollToLatest/types.d.ts +36 -0
  185. package/dist/patterns/SessionExpiredCard/SessionExpiredCard.d.ts +14 -0
  186. package/dist/patterns/SessionExpiredCard/index.d.ts +2 -0
  187. package/dist/patterns/SessionExpiredCard/type.d.ts +6 -0
  188. package/dist/patterns/SplitPaymentSummary/index.d.ts +1 -1
  189. package/dist/patterns/SplitPaymentSummary/types.d.ts +18 -0
  190. package/dist/patterns/StatTiles/StatTiles.d.ts +3 -0
  191. package/dist/patterns/StatTiles/index.d.ts +2 -0
  192. package/dist/patterns/StatTiles/styles.d.ts +8 -0
  193. package/dist/patterns/StatTiles/types.d.ts +12 -0
  194. package/dist/patterns/StatusChip/StatusChip.d.ts +3 -3
  195. package/dist/patterns/StepProgress/StepProgress.d.ts +4 -0
  196. package/dist/patterns/StepProgress/index.d.ts +2 -0
  197. package/dist/patterns/StepProgress/styles.d.ts +29 -0
  198. package/dist/patterns/StepProgress/types.d.ts +43 -0
  199. package/dist/patterns/Summary/components/ActionBar.d.ts +2 -0
  200. package/dist/patterns/Summary/components/GrandTotalRow.d.ts +1 -0
  201. package/dist/patterns/Summary/components/ItemRow.d.ts +1 -0
  202. package/dist/patterns/Summary/components/SummaryBody.d.ts +4 -1
  203. package/dist/patterns/Summary/components/TotalsLineRow.d.ts +3 -2
  204. package/dist/patterns/Summary/types.d.ts +51 -9
  205. package/dist/patterns/TableSkeleton/TableSkeleton.d.ts +1 -0
  206. package/dist/patterns/TileSelect/TileSelect.d.ts +2 -37
  207. package/dist/patterns/TileSelect/index.d.ts +1 -1
  208. package/dist/patterns/TileSelect/styles.d.ts +56 -0
  209. package/dist/patterns/TileSelect/types.d.ts +140 -0
  210. package/dist/patterns/TimeField/TimeField.d.ts +6 -0
  211. package/dist/patterns/TimeField/index.d.ts +3 -0
  212. package/dist/patterns/TimeField/time.d.ts +40 -0
  213. package/dist/patterns/TimeField/types.d.ts +77 -0
  214. package/dist/patterns/ToolbarButton/ToolbarButton.d.ts +2 -0
  215. package/dist/patterns/UnderlineTabs/UnderlineTabs.d.ts +40 -1
  216. package/dist/patterns/UnderlineTabs/index.d.ts +1 -1
  217. package/dist/patterns/UnderlineTabs/styles.d.ts +21 -0
  218. package/dist/patterns/VerticalSteps/StepPager.d.ts +6 -0
  219. package/dist/patterns/VerticalSteps/StepsReadiness.d.ts +15 -0
  220. package/dist/patterns/VerticalSteps/VerticalSteps.d.ts +6 -0
  221. package/dist/patterns/VerticalSteps/index.d.ts +4 -0
  222. package/dist/patterns/VerticalSteps/styles.d.ts +54 -0
  223. package/dist/patterns/VerticalSteps/types.d.ts +100 -0
  224. package/dist/patterns/WizardShell/index.d.ts +1 -1
  225. package/dist/patterns/WizardShell/types.d.ts +9 -1
  226. package/dist/patterns/grid-columns.d.ts +1 -1
  227. package/dist/patterns/index.d.ts +79 -19
  228. package/dist/patterns/shared/hasContent.d.ts +2 -0
  229. package/dist/patterns/shared/index.d.ts +1 -0
  230. package/dist/patterns/shared/motion.d.ts +6 -0
  231. package/dist/patterns/shared/recordTone.d.ts +9 -0
  232. package/dist/patterns/shared/rem.d.ts +4 -0
  233. package/dist/patterns/shared/useContainerWidth.d.ts +6 -0
  234. package/dist/patterns/shared/useDecimalDraft.d.ts +33 -0
  235. package/dist/patterns/shared/usePrefillEdits.d.ts +7 -0
  236. package/dist/providers/DensityProvider.d.ts +7 -0
  237. package/dist/providers/HeroUIProvider.d.ts +20 -1
  238. package/dist/providers/ToastProvider.d.ts +21 -0
  239. package/dist/providers/close-label-context.d.ts +18 -0
  240. package/dist/providers/density.d.ts +17 -0
  241. package/dist/providers/index.d.ts +6 -0
  242. package/dist/tailwind/index.cjs +107 -5
  243. package/dist/tailwind/index.d.ts +61 -0
  244. package/dist/tailwind/index.mjs +104 -5
  245. package/dist/test/ReducedMotion.d.ts +4 -0
  246. package/dist/test/RootFontSize.d.ts +5 -0
  247. package/dist/test/backdrop.d.ts +12 -0
  248. package/dist/test/container-width.d.ts +14 -0
  249. package/dist/test/contrast.d.ts +1 -0
  250. package/dist/test/px-class-names.d.ts +1 -0
  251. package/dist/test/px-classes.d.ts +3 -0
  252. package/dist/test/reducedMotionCss.d.ts +40 -0
  253. package/dist/test/root-font-size.d.ts +8 -0
  254. package/dist/tokens/assistant-surface.d.ts +66 -0
  255. package/dist/tokens/index.d.ts +2 -0
  256. package/dist/tokens/pos-surface.d.ts +23 -4
  257. package/package.json +22 -3
  258. /package/dist/patterns/{CatalogItemCard → Programs/CatalogItemCard}/CatalogItemCard.d.ts +0 -0
  259. /package/dist/patterns/{CatalogItemCard → Programs/CatalogItemCard}/index.d.ts +0 -0
  260. /package/dist/patterns/{EventDetails → Programs/EventDetails}/index.d.ts +0 -0
  261. /package/dist/patterns/{OfferCard → Programs/OfferCard}/examples/CustomQuantitySelectorExample.d.ts +0 -0
  262. /package/dist/patterns/{OfferCard → Programs/OfferCard}/examples/ListWithEurosCurrencyExample.d.ts +0 -0
  263. /package/dist/patterns/{OfferCard → Programs/OfferCard}/examples/ListWithoutAnimationExample.d.ts +0 -0
  264. /package/dist/patterns/{OfferCard → Programs/OfferCard}/examples/index.d.ts +0 -0
  265. /package/dist/patterns/{OfferCard → Programs/OfferCard}/index.d.ts +0 -0
  266. /package/dist/patterns/{OfferCard → Programs/OfferCard}/utils/animations.d.ts +0 -0
  267. /package/dist/patterns/{OfferCard → Programs/OfferCard}/utils/currency.d.ts +0 -0
  268. /package/dist/patterns/{OfferCard → Programs/OfferCard}/utils/index.d.ts +0 -0
  269. /package/dist/patterns/{OfferCard → Programs/OfferCard}/utils/offers.d.ts +0 -0
  270. /package/dist/patterns/{OfferCard → Programs/OfferCard}/variants/OfferCardEmpty.d.ts +0 -0
  271. /package/dist/patterns/{OfferCard → Programs/OfferCard}/variants/OfferCardError.d.ts +0 -0
  272. /package/dist/patterns/{OfferCard → Programs/OfferCard}/variants/OfferCardList.d.ts +0 -0
  273. /package/dist/patterns/{OfferCard → Programs/OfferCard}/variants/OfferCardSkeleton.d.ts +0 -0
  274. /package/dist/patterns/{OfferCard → Programs/OfferCard}/variants/index.d.ts +0 -0
  275. /package/dist/patterns/{SessionTimeline → Programs/SessionTimeline}/SessionTimeline.d.ts +0 -0
  276. /package/dist/patterns/{SessionTimeline → Programs/SessionTimeline}/index.d.ts +0 -0
  277. /package/dist/patterns/{SessionTimeline → Programs/SessionTimeline}/type.d.ts +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const y=require("react"),S=require("react/jsx-runtime"),k=require("@heroui/react"),se=y.createContext(void 0);function ce(){return y.useContext(se)}const le="(prefers-reduced-motion: reduce)",ae="data-pos-reduce-motion",Me="motion-reduce:transition-none [html[data-pos-reduce-motion=true]_&]:transition-none",ue="motion-reduce:animate-none [html[data-pos-reduce-motion=true]_&]:animate-none",Fe=`rounded-[0.375rem] bg-[linear-gradient(90deg,#F0F0F1_0,#F9F9FA_12.5rem,#F0F0F1_25rem)] bg-[length:50rem_100%] animate-record-shimmer ${ue}`;function Oe(){return typeof document>"u"?!1:document.documentElement.getAttribute(ae)==="true"?!0:typeof window.matchMedia=="function"&&window.matchMedia(le).matches}function Re(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const o=()=>t(Oe()),r=typeof window.matchMedia=="function"?window.matchMedia(le):null;r?.addEventListener?.("change",o);const n=typeof MutationObserver>"u"?null:new MutationObserver(o);return n?.observe(document.documentElement,{attributes:!0,attributeFilter:[ae]}),o(),()=>{r?.removeEventListener?.("change",o),n?.disconnect()}},[]),e}function Ae(e,t){const o=e.icons,r=e.aliases||Object.create(null),n=Object.create(null);function i(s){if(o[s])return n[s]=[];if(!(s in n)){n[s]=null;const c=r[s]&&r[s].parent,l=c&&i(c);l&&(n[s]=[c].concat(l))}return n[s]}return Object.keys(o).concat(Object.keys(r)).forEach(i),n}const fe=Object.freeze({left:0,top:0,width:16,height:16}),N=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z=Object.freeze({...fe,...N}),q=Object.freeze({...z,body:"",hidden:!1});function Ne(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(o.rotate=r),o}function K(e,t){const o=Ne(e,t);for(const r in q)r in N?r in e&&!(r in o)&&(o[r]=N[r]):r in t?o[r]=t[r]:r in e&&(o[r]=e[r]);return o}function De(e,t,o){const r=e.icons,n=e.aliases||Object.create(null);let i={};function s(c){i=K(r[c]||n[c],i)}return s(t),o.forEach(s),K(e,i)}function de(e,t){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(n=>{t(n,null),o.push(n)});const r=Ae(e);for(const n in r){const i=r[n];i&&(t(n,De(e,n,i)),o.push(n))}return o}const _e={provider:"",aliases:{},not_found:{},...fe};function B(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function he(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!B(e,_e))return null;const o=t.icons;for(const n in o){const i=o[n];if(!n||typeof i.body!="string"||!B(i,q))return null}const r=t.aliases||Object.create(null);for(const n in r){const i=r[n],s=i.parent;if(!n||typeof s!="string"||!o[s]&&!r[s]||!B(i,q))return null}return t}const J=Object.create(null);function Be(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function T(e,t){const o=J[e]||(J[e]=Object.create(null));return o[t]||(o[t]=Be(e,t))}function pe(e,t){return he(t)?de(t,(o,r)=>{r?e.icons[o]=r:e.missing.add(o)}):[]}function Ue(e,t,o){try{if(typeof o.body=="string")return e.icons[t]={...o},!0}catch{}return!1}const ge=/^[a-z0-9]+(-[a-z0-9]+)*$/,D=(e,t,o,r="")=>{const n=e.split(":");if(e.slice(0,1)==="@"){if(n.length<2||n.length>3)return null;r=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const c=n.pop(),l=n.pop(),a={provider:n.length>0?n[0]:r,prefix:l,name:c};return t&&!R(a)?null:a}const i=n[0],s=i.split("-");if(s.length>1){const c={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!R(c)?null:c}if(o&&r===""){const c={provider:r,prefix:"",name:i};return t&&!R(c,o)?null:c}return null},R=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;let F=!1;function me(e){return typeof e=="boolean"&&(F=e),F}function X(e){const t=typeof e=="string"?D(e,!0,F):e;if(t){const o=T(t.provider,t.prefix),r=t.name;return o.icons[r]||(o.missing.has(r)?null:void 0)}}function qe(e,t){const o=D(e,!0,F);if(!o)return!1;const r=T(o.provider,o.prefix);return t?Ue(r,o.name,t):(r.missing.add(o.name),!0)}function He(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),F&&!t&&!e.prefix){let n=!1;return he(e)&&(e.prefix="",de(e,(i,s)=>{qe(i,s)&&(n=!0)})),n}const o=e.prefix;if(!R({prefix:o,name:"a"}))return!1;const r=T(t,o);return!!pe(r,e)}const ye=Object.freeze({width:null,height:null}),be=Object.freeze({...ye,...N}),Qe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$e=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Y(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const r=e.split(Qe);if(r===null||!r.length)return e;const n=[];let i=r.shift(),s=$e.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?n.push(i):n.push(Math.ceil(c*t*o)/o)}else n.push(i);if(i=r.shift(),i===void 0)return n.join("");s=!s}}function ze(e,t="defs"){let o="";const r=e.indexOf("<"+t);for(;r>=0;){const n=e.indexOf(">",r),i=e.indexOf("</"+t);if(n===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;o+=e.slice(n+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:o,content:e}}function Ve(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Ge(e,t,o){const r=ze(e);return Ve(r.defs,t+r.content+o)}const We=e=>e==="unset"||e==="undefined"||e==="none";function Ke(e,t){const o={...z,...e},r={...be,...t},n={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,r].forEach(x=>{const f=[],h=x.hFlip,C=x.vFlip;let w=x.rotate;h?C?w+=2:(f.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),f.push("scale(-1 1)"),n.top=n.left=0):C&&(f.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),f.push("scale(1 -1)"),n.top=n.left=0);let v;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:v=n.height/2+n.top,f.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:f.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:v=n.width/2+n.left,f.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}w%2===1&&(n.left!==n.top&&(v=n.left,n.left=n.top,n.top=v),n.width!==n.height&&(v=n.width,n.width=n.height,n.height=v)),f.length&&(i=Ge(i,'<g transform="'+f.join(" ")+'">',"</g>"))});const s=r.width,c=r.height,l=n.width,a=n.height;let u,d;s===null?(d=c===null?"1em":c==="auto"?a:c,u=Y(d,l/a)):(u=s==="auto"?l:s,d=c===null?Y(u,a/l):c==="auto"?a:c);const p={},g=(x,f)=>{We(f)||(p[x]=f.toString())};g("width",u),g("height",d);const b=[n.left,n.top,l,a];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:i}}const Je=/\sid="(\S+)"/g,Xe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ye=0;function Ze(e,t=Xe){const o=[];let r;for(;r=Je.exec(e);)o.push(r[1]);if(!o.length)return e;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(i=>{const s=typeof t=="function"?t(i):t+(Ye++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+s+n+"$3")}),e=e.replace(new RegExp(n,"g"),""),e}const H=Object.create(null);function et(e,t){H[e]=t}function Q(e){return H[e]||H[""]}function V(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const G=Object.create(null),L=["https://api.simplesvg.com","https://api.unisvg.com"],A=[];for(;L.length>0;)L.length===1||Math.random()>.5?A.push(L.shift()):A.push(L.pop());G[""]=V({resources:["https://api.iconify.design"].concat(A)});function tt(e,t){const o=V(t);return o===null?!1:(G[e]=o,!0)}function W(e){return G[e]}const nt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Z=nt();function ot(e,t){const o=W(e);if(!o)return 0;let r;if(!o.maxURL)r=0;else{let n=0;o.resources.forEach(s=>{n=Math.max(n,s.length)});const i=t+".json?icons=";r=o.maxURL-n-o.path.length-i.length}return r}function rt(e){return e===404}const it=(e,t,o)=>{const r=[],n=ot(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},c=0;return o.forEach((l,a)=>{c+=l.length+1,c>=n&&a>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},c=l.length),s.icons.push(l)}),r.push(s),r};function st(e){if(typeof e=="string"){const t=W(e);if(t)return t.path}return"/"}const ct=(e,t,o)=>{if(!Z){o("abort",424);return}let r=st(t.provider);switch(t.type){case"icons":{const i=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:o("abort",400);return}let n=503;Z(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{o(rt(s)?"abort":"next",s)});return}return n=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?o("abort",i):o("next",n)});return}setTimeout(()=>{o("success",i)})}).catch(()=>{o("next",n)})},lt={prepare:it,send:ct};function xe(e,t){e.forEach(o=>{const r=o.loaderCallbacks;r&&(o.loaderCallbacks=r.filter(n=>n.id!==t))})}function at(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const r=e.provider,n=e.prefix;t.forEach(i=>{const s=i.icons,c=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==n)return!0;const a=l.name;if(e.icons[a])s.loaded.push({provider:r,prefix:n,name:a});else if(e.missing.has(a))s.missing.push({provider:r,prefix:n,name:a});else return o=!0,!0;return!1}),s.pending.length!==c&&(o||xe([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let ut=0;function ft(e,t,o){const r=ut++,n=xe.bind(null,o,r);if(!t.pending.length)return n;const i={id:r,icons:t,callback:e,abort:n};return o.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),n}function dt(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((n,i)=>n.provider!==i.provider?n.provider.localeCompare(i.provider):n.prefix!==i.prefix?n.prefix.localeCompare(i.prefix):n.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(n=>{if(r.name===n.name&&r.prefix===n.prefix&&r.provider===n.provider)return;r=n;const i=n.provider,s=n.prefix,c=n.name,l=o[i]||(o[i]=Object.create(null)),a=l[s]||(l[s]=T(i,s));let u;c in a.icons?u=t.loaded:s===""||a.missing.has(c)?u=t.missing:u=t.pending;const d={provider:i,prefix:s,name:c};u.push(d)}),t}function ht(e,t=!0,o=!1){const r=[];return e.forEach(n=>{const i=typeof n=="string"?D(n,t,o):n;i&&r.push(i)}),r}const pt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function gt(e,t,o,r){const n=e.resources.length,i=e.random?Math.floor(Math.random()*n):e.index;let s;if(e.random){let m=e.resources.slice(0);for(s=[];m.length>1;){const I=Math.floor(Math.random()*m.length);s.push(m[I]),m=m.slice(0,I).concat(m.slice(I+1))}s=s.concat(m)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const c=Date.now();let l="pending",a=0,u,d=null,p=[],g=[];typeof r=="function"&&g.push(r);function b(){d&&(clearTimeout(d),d=null)}function x(){l==="pending"&&(l="aborted"),b(),p.forEach(m=>{m.status==="pending"&&(m.status="aborted")}),p=[]}function f(m,I){I&&(g=[]),typeof m=="function"&&g.push(m)}function h(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:p.length,subscribe:f,abort:x}}function C(){l="failed",g.forEach(m=>{m(void 0,u)})}function w(){p.forEach(m=>{m.status==="pending"&&(m.status="aborted")}),p=[]}function v(m,I,j){const O=I!=="success";switch(p=p.filter(E=>E!==m),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=j,C();return}if(O){u=j,p.length||(s.length?_():C());return}if(b(),w(),!e.random){const E=e.resources.indexOf(m.resource);E!==-1&&E!==e.index&&(e.index=E)}l="completed",g.forEach(E=>{E(j)})}function _(){if(l!=="pending")return;b();const m=s.shift();if(m===void 0){if(p.length){d=setTimeout(()=>{b(),l==="pending"&&(w(),C())},e.timeout);return}C();return}const I={status:"pending",resource:m,callback:(j,O)=>{v(I,j,O)}};p.push(I),a++,d=setTimeout(_,e.rotate),o(m,t,I.callback)}return setTimeout(_),h}function we(e){const t={...pt,...e};let o=[];function r(){o=o.filter(c=>c().status==="pending")}function n(c,l,a){const u=gt(t,c,l,(d,p)=>{r(),a&&a(d,p)});return o.push(u),u}function i(c){return o.find(l=>c(l))||null}return{query:n,find:i,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function ee(){}const U=Object.create(null);function mt(e){if(!U[e]){const t=W(e);if(!t)return;const o=we(t),r={config:t,redundancy:o};U[e]=r}return U[e]}function yt(e,t,o){let r,n;if(typeof e=="string"){const i=Q(e);if(!i)return o(void 0,424),ee;n=i.send;const s=mt(e);s&&(r=s.redundancy)}else{const i=V(e);if(i){r=we(i);const s=e.resources?e.resources[0]:"",c=Q(s);c&&(n=c.send)}}return!r||!n?(o(void 0,424),ee):r.query(t,n,o)().abort}function te(){}function bt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,at(e)}))}function xt(e){const t=[],o=[];return e.forEach(r=>{(r.match(ge)?t:o).push(r)}),{valid:t,invalid:o}}function P(e,t,o){function r(){const n=e.pendingIcons;t.forEach(i=>{n&&n.delete(i),e.icons[i]||e.missing.add(i)})}if(o&&typeof o=="object")try{if(!pe(e,o).length){r();return}}catch(n){console.error(n)}r(),bt(e)}function ne(e,t){e instanceof Promise?e.then(o=>{t(o)}).catch(()=>{t(null)}):t(e)}function wt(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:o,prefix:r}=e,n=e.iconsToLoad;if(delete e.iconsToLoad,!n||!n.length)return;const i=e.loadIcon;if(e.loadIcons&&(n.length>1||!i)){ne(e.loadIcons(n,r,o),u=>{P(e,n,u)});return}if(i){n.forEach(u=>{const d=i(u,r,o);ne(d,p=>{const g=p?{prefix:r,icons:{[u]:p}}:null;P(e,[u],g)})});return}const{valid:s,invalid:c}=xt(n);if(c.length&&P(e,c,null),!s.length)return;const l=r.match(ge)?Q(o):null;if(!l){P(e,s,null);return}l.prepare(o,r,s).forEach(u=>{yt(o,u,d=>{P(e,u.icons,d)})})}))}const vt=(e,t)=>{const o=ht(e,!0,me()),r=dt(o);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,te)}),()=>{l=!1}}const n=Object.create(null),i=[];let s,c;return r.pending.forEach(l=>{const{provider:a,prefix:u}=l;if(u===c&&a===s)return;s=a,c=u,i.push(T(a,u));const d=n[a]||(n[a]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:u,name:d}=l,p=T(a,u),g=p.pendingIcons||(p.pendingIcons=new Set);g.has(d)||(g.add(d),n[a][u].push(d))}),i.forEach(l=>{const a=n[l.provider][l.prefix];a.length&&wt(l,a)}),t?ft(t,r,i):te};function It(e,t){const o={...e};for(const r in t){const n=t[r],i=typeof n;r in ye?(n===null||n&&(i==="string"||i==="number"))&&(o[r]=n):i===typeof o[r]&&(o[r]=r==="rotate"?n%4:n)}return o}const St=/[\s,]+/;function Ct(e,t){t.split(St).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function kt(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function r(n){for(;n<0;)n+=4;return n%4}if(o===""){const n=parseInt(e);return isNaN(n)?0:r(n)}else if(o!==e){let n=0;switch(o){case"%":n=25;break;case"deg":n=90}if(n){let i=parseFloat(e.slice(0,e.length-o.length));return isNaN(i)?0:(i=i/n,i%1===0?r(i):0)}}return t}function Et(e,t){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)o+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function Tt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jt(e){return"data:image/svg+xml,"+Tt(e)}function Lt(e){return'url("'+jt(e)+'")'}let M;function Pt(){try{M=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{M=null}}function Mt(e){return M===void 0&&Pt(),M?M.createHTML(e):e}const ve={...be,inline:!1},Ft={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ot={display:"inline-block"},$={backgroundColor:"currentColor"},Ie={backgroundColor:"transparent"},oe={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},re={WebkitMask:$,mask:$,background:Ie};for(const e in re){const t=re[e];for(const o in oe)t[e+o]=oe[o]}const Rt={...ve,inline:!0};function ie(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const At=(e,t,o)=>{const r=t.inline?Rt:ve,n=It(r,t),i=t.mode||"svg",s={},c=t.style||{},l={...i==="svg"?Ft:{}};if(o){const f=D(o,!1,!0);if(f){const h=["iconify"],C=["provider","prefix"];for(const w of C)f[w]&&h.push("iconify--"+f[w]);l.className=h.join(" ")}}for(let f in t){const h=t[f];if(h!==void 0)switch(f){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":case"fallback":break;case"_ref":l.ref=h;break;case"className":l[f]=(l[f]?l[f]+" ":"")+h;break;case"inline":case"hFlip":case"vFlip":n[f]=h===!0||h==="true"||h===1;break;case"flip":typeof h=="string"&&Ct(n,h);break;case"color":s.color=h;break;case"rotate":typeof h=="string"?n[f]=kt(h):typeof h=="number"&&(n[f]=h);break;case"ariaHidden":case"aria-hidden":h!==!0&&h!=="true"&&delete l["aria-hidden"];break;default:r[f]===void 0&&(l[f]=h)}}const a=Ke(e,n),u=a.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){l.style={...s,...c},Object.assign(l,u);let f=0,h=t.id;return typeof h=="string"&&(h=h.replace(/-/g,"_")),l.dangerouslySetInnerHTML={__html:Mt(Ze(a.body,h?()=>h+"ID"+f++:"iconifyReact"))},y.createElement("svg",l)}const{body:d,width:p,height:g}=e,b=i==="mask"||(i==="bg"?!1:d.indexOf("currentColor")!==-1),x=Et(d,{...u,width:p+"",height:g+""});return l.style={...s,"--svg":Lt(x),width:ie(u.width),height:ie(u.height),...Ot,...b?$:Ie,...c},y.createElement("span",l)};me(!0);et("",lt);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!He(r))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let o in t){const r="IconifyProviders["+o+"] is invalid.";try{const n=t[o];if(typeof n!="object"||!n||n.resources===void 0)continue;tt(o,n)||console.error(r)}catch{console.error(r)}}}}function Se(e){const[t,o]=y.useState(!!e.ssr),[r,n]=y.useState({});function i(g){if(g){const b=e.icon;if(typeof b=="object")return{name:"",data:b};const x=X(b);if(x)return{name:b,data:x}}return{name:""}}const[s,c]=y.useState(i(!!e.ssr));function l(){const g=r.callback;g&&(g(),n({}))}function a(g){if(JSON.stringify(s)!==JSON.stringify(g))return l(),c(g),!0}function u(){var g;const b=e.icon;if(typeof b=="object"){a({name:"",data:b});return}const x=X(b);if(a({name:b,data:x}))if(x===void 0){const f=vt([b],u);n({callback:f})}else x&&((g=e.onLoad)===null||g===void 0||g.call(e,b))}y.useEffect(()=>(o(!0),l),[]),y.useEffect(()=>{t&&u()},[e.icon,t]);const{name:d,data:p}=s;return p?At({...z,...p},e,d):e.children?e.children:e.fallback?e.fallback:y.createElement("span",{})}const Nt=y.forwardRef((e,t)=>Se({...e,_ref:t}));y.forwardRef((e,t)=>Se({inline:!0,...e,_ref:t}));const Ce=y.forwardRef(({color:e="primary",radius:t="full",testId:o="veevart-button",...r},n)=>S.jsx(k.Button,{ref:n,color:e,radius:t,"data-testid":o,...r}));Ce.displayName="Button";function Dt({label:e,...t}){return S.jsx("button",{...t,"aria-label":e,children:S.jsx("svg",{"aria-hidden":"true",className:"fill-current",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",children:S.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})}function _t(e){return e!==void 0&&e.trim()!==""}function ke(e,t){const o=ce();if(y.isValidElement(t))return t;const r=[e,o].find(_t);return r===void 0?void 0:S.jsx(Dt,{label:r})}const Ee=y.forwardRef(({closeLabel:e,closeButton:t,...o},r)=>{const n=ke(e,t);return S.jsx(k.Drawer,{ref:r,...o,closeButton:n})});Ee.displayName="Drawer";const Te=y.forwardRef(({closeLabel:e,closeButton:t,...o},r)=>{const n=ke(e,t);return S.jsx(k.Modal,{ref:r,...o,closeButton:n})});Te.displayName="Modal";function Bt(e){const t=e?.closest('[role="dialog"]');return t?.parentElement??t??void 0}const je=y.forwardRef(({popoverProps:e,...t},o)=>{const r=y.useRef(null),[n,i]=y.useState(void 0),{"data-react-aria-top-layer":s,...c}=e??{},l=s==="true"||s===void 0&&n!==void 0,a={...c,disableDialogFocus:c.disableDialogFocus??(n?!0:void 0),portalContainer:c.portalContainer??n,...l?{"data-react-aria-top-layer":"true"}:{}};return y.useEffect(()=>{i(Bt(r.current))},[]),S.jsx("span",{ref:r,className:"contents",children:S.jsx(k.Select,{ref:o,...t,popoverProps:a})})});je.displayName="Select";const Ut="motion-reduce:animate-none motion-reduce:transition-none motion-reduce:before:animate-none motion-reduce:before:transition-none motion-reduce:after:transition-none",Le=y.forwardRef(({classNames:e,...t},o)=>S.jsx(k.Skeleton,{ref:o,...t,classNames:{...e,base:k.cn(Ut,e?.base)}}));Le.displayName="Skeleton";const qt="text-default-600 data-[hover=true]:text-default-700",Pe=y.forwardRef(({classNames:e,...t},o)=>S.jsx(k.Table,{ref:o,...t,classNames:{...e,th:k.cn(qt,e?.th)}}));Pe.displayName="Table";function Ht(e){return e!=null&&e!==!1&&e!==""}exports.Button=Ce;exports.CloseLabelContext=se;exports.Drawer=Ee;exports.Icon=Nt;exports.Modal=Te;exports.Select=je;exports.Skeleton=Le;exports.Table=Pe;exports.hasContent=Ht;exports.shimmerClass=Fe;exports.stillAnimationClass=ue;exports.stillTransitionClass=Me;exports.useCloseLabel=ce;exports.useReducedMotion=Re;