@ryuzaki13/react-foundation-ui 1.5.8 → 1.5.10

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 (339) hide show
  1. package/dist/advanced-search/index.js +8 -8
  2. package/dist/badge/index.js +1 -1
  3. package/dist/base-table/index.js +1 -1
  4. package/dist/button/index.js +1 -1
  5. package/dist/check-box/index.js +1 -1
  6. package/dist/chunks/{CalendarView-DO899w6E.js → CalendarView-BSshXZAX.js} +2 -2
  7. package/dist/chunks/{CalendarView-DO899w6E.js.map → CalendarView-BSshXZAX.js.map} +1 -1
  8. package/dist/chunks/{TextEditorLexicalClient-C7XL4lZ5.js → TextEditorLexicalClient-CLjpATRu.js} +6 -6
  9. package/dist/chunks/{TextEditorLexicalClient-C7XL4lZ5.js.map → TextEditorLexicalClient-CLjpATRu.js.map} +1 -1
  10. package/dist/chunks/{badge-BXwM9cFq.js → badge-CaooZXYD.js} +4 -4
  11. package/dist/chunks/{badge-BXwM9cFq.js.map → badge-CaooZXYD.js.map} +1 -1
  12. package/dist/chunks/{base-table-CFJHhLNb.js → base-table-fUJY__6M.js} +2 -2
  13. package/dist/chunks/{base-table-CFJHhLNb.js.map → base-table-fUJY__6M.js.map} +1 -1
  14. package/dist/chunks/{button-BcnvJpqz.js → button-C--u7uJj.js} +5 -5
  15. package/dist/chunks/{button-BcnvJpqz.js.map → button-C--u7uJj.js.map} +1 -1
  16. package/dist/chunks/{check-box-BrPHWs2l.js → check-box-BZiEBR9c.js} +3 -3
  17. package/dist/chunks/{check-box-BrPHWs2l.js.map → check-box-BZiEBR9c.js.map} +1 -1
  18. package/dist/chunks/{context-menu-DcdUfWN3.js → context-menu-XZ-e0f6_.js} +2 -2
  19. package/dist/chunks/{context-menu-DcdUfWN3.js.map → context-menu-XZ-e0f6_.js.map} +1 -1
  20. package/dist/chunks/{date-input-Db7GPkPC.js → date-input-Dr5QNVT6.js} +5 -5
  21. package/dist/chunks/{date-input-Db7GPkPC.js.map → date-input-Dr5QNVT6.js.map} +1 -1
  22. package/dist/chunks/{input-CMVATAFR.js → input-BNszawm6.js} +2 -2
  23. package/dist/chunks/{input-CMVATAFR.js.map → input-BNszawm6.js.map} +1 -1
  24. package/dist/chunks/{input-files-DM6I2iF_.js → input-files-DxLVr2PF.js} +3 -3
  25. package/dist/chunks/{input-files-DM6I2iF_.js.map → input-files-DxLVr2PF.js.map} +1 -1
  26. package/dist/chunks/{input-search-BlTKbtAL.js → input-search-C2OOhZlw.js} +2 -2
  27. package/dist/chunks/{input-search-BlTKbtAL.js.map → input-search-C2OOhZlw.js.map} +1 -1
  28. package/dist/chunks/{modal-z1Ej4Y-r.js → modal-DK9M7lT5.js} +2 -2
  29. package/dist/chunks/{modal-z1Ej4Y-r.js.map → modal-DK9M7lT5.js.map} +1 -1
  30. package/dist/chunks/{multi-select-BMBjWg3h.js → multi-select-CFHaQPot.js} +5 -5
  31. package/dist/chunks/{multi-select-BMBjWg3h.js.map → multi-select-CFHaQPot.js.map} +1 -1
  32. package/dist/chunks/{picker-C-a-2NkB.js → picker-D3Fc15JH.js} +3 -3
  33. package/dist/chunks/{picker-C-a-2NkB.js.map → picker-D3Fc15JH.js.map} +1 -1
  34. package/dist/chunks/{radio-group-D-eBPuGm.js → radio-group-BRR1ZQDA.js} +2 -2
  35. package/dist/chunks/radio-group-BRR1ZQDA.js.map +1 -0
  36. package/dist/chunks/{select-BhVOTvZ_.js → select-BolFlcoY.js} +5 -5
  37. package/dist/chunks/{select-BhVOTvZ_.js.map → select-BolFlcoY.js.map} +1 -1
  38. package/dist/chunks/{table-jMjMoYKh.js → table-BChs6bgR.js} +2 -2
  39. package/dist/chunks/{table-jMjMoYKh.js.map → table-BChs6bgR.js.map} +1 -1
  40. package/dist/chunks/{ui.module-D_ZhzCRv.js → ui.module-DHVTOqZ0.js} +6 -2
  41. package/dist/chunks/{ui.module-D_ZhzCRv.js.map → ui.module-DHVTOqZ0.js.map} +1 -1
  42. package/dist/chunks/{uiClasses-CF_aN4Tv.js → uiClasses-UkaejTdf.js} +13 -6
  43. package/dist/chunks/uiClasses-UkaejTdf.js.map +1 -0
  44. package/dist/chunks/{useODataSelectBase-CQJuzk5Q.js → useODataSelectBase-BhCMCzv_.js} +2 -2
  45. package/dist/chunks/{useODataSelectBase-CQJuzk5Q.js.map → useODataSelectBase-BhCMCzv_.js.map} +1 -1
  46. package/dist/context-menu/index.js +1 -1
  47. package/dist/date-input/index.js +2 -2
  48. package/dist/date-time-input/index.js +3 -3
  49. package/dist/disclosure/Disclosure.d.ts +6 -4
  50. package/dist/disclosure/Disclosure.d.ts.map +1 -1
  51. package/dist/disclosure/index.js +34 -33
  52. package/dist/disclosure/index.js.map +1 -1
  53. package/dist/drop-zone/index.js +1 -1
  54. package/dist/expandable-action-panel/index.js +1 -1
  55. package/dist/image/index.js +4 -4
  56. package/dist/input/index.js +1 -1
  57. package/dist/input-date-time/index.js +2 -2
  58. package/dist/input-file/index.js +2 -2
  59. package/dist/input-files/index.js +1 -1
  60. package/dist/input-image/index.js +2 -2
  61. package/dist/input-search/index.js +1 -1
  62. package/dist/layout-picker/index.js +2 -2
  63. package/dist/layout-picker/index.js.map +1 -1
  64. package/dist/listbox/index.js +1 -1
  65. package/dist/modal/index.js +1 -1
  66. package/dist/multi-select/index.js +1 -1
  67. package/dist/notifications/index.js +1 -1
  68. package/dist/picker/index.js +1 -1
  69. package/dist/preset-range-date-input/index.js +1 -1
  70. package/dist/preset-select/index.js +1 -1
  71. package/dist/radio-button/index.js +2 -2
  72. package/dist/radio-group/index.js +1 -1
  73. package/dist/select/index.js +1 -1
  74. package/dist/simple-table/index.js +1 -1
  75. package/dist/slider/index.js +3 -3
  76. package/dist/slider/index.js.map +1 -1
  77. package/dist/state-select/index.js +1 -1
  78. package/dist/styles.css +1 -1
  79. package/dist/switch/index.js +1 -1
  80. package/dist/table/index.js +1 -1
  81. package/dist/table-sorting/index.js +1 -1
  82. package/dist/tabs/index.d.ts +0 -2
  83. package/dist/tabs/index.d.ts.map +1 -1
  84. package/dist/tabs/index.js +164 -173
  85. package/dist/tabs/index.js.map +1 -1
  86. package/dist/tabs/model/types.d.ts +9 -8
  87. package/dist/tabs/model/types.d.ts.map +1 -1
  88. package/dist/tabs/ui/TabsBox.d.ts +1 -1
  89. package/dist/tabs/ui/TabsBox.d.ts.map +1 -1
  90. package/dist/tabs/ui/TabsLayout.d.ts.map +1 -1
  91. package/dist/tag-input/index.js +2 -2
  92. package/dist/text/Text.d.ts +1 -1
  93. package/dist/text/Text.d.ts.map +1 -1
  94. package/dist/text/index.js +3 -1
  95. package/dist/text/index.js.map +1 -1
  96. package/dist/text-editor/index.js +1 -1
  97. package/dist/textarea/index.js +2 -2
  98. package/dist/toggle/index.js +1 -1
  99. package/dist/toggle/index.js.map +1 -1
  100. package/dist/tree-select/index.js +6 -6
  101. package/dist/tree-table/index.js +1 -1
  102. package/dist/types.d.ts +1 -0
  103. package/dist/types.d.ts.map +1 -1
  104. package/dist/uiClasses.d.ts +2 -1
  105. package/dist/uiClasses.d.ts.map +1 -1
  106. package/package.json +1 -1
  107. package/src/styles/_color.scss +4 -0
  108. package/storybook-static/assets/{Badge-Khhz8aRX.js → Badge-BRzsgtsW.js} +1 -1
  109. package/storybook-static/assets/{Badge.stories-zOcsfaff.js → Badge.stories-BEUzIGxR.js} +1 -1
  110. package/storybook-static/assets/{BadgeList-DS9d6kVQ.js → BadgeList-Dvi9mgiq.js} +2 -2
  111. package/storybook-static/assets/{Button-C38ehnnC.js → Button-B0yitxpz.js} +1 -1
  112. package/storybook-static/assets/{Button-CEXo9sAm.js → Button-D9NRl_J-.js} +1 -1
  113. package/storybook-static/assets/{Button.stories-1WKvAI-j.js → Button.stories-RTpFQ0lC.js} +1 -1
  114. package/storybook-static/assets/{CalendarView-CiXyo_UG.js → CalendarView-hixokiLY.js} +1 -1
  115. package/storybook-static/assets/{CheckBox-BeowtitL.js → CheckBox-CkP3wY1y.js} +1 -1
  116. package/storybook-static/assets/{CheckBox-sqtI5EhB.js → CheckBox-DgcHpYEB.js} +1 -1
  117. package/storybook-static/assets/{CheckBox.stories-BPX1Rg46.js → CheckBox.stories-B6gt-Pyy.js} +1 -1
  118. package/storybook-static/assets/{Color-6AOWCN3U-2vHfXX4h.js → Color-6AOWCN3U-CS57U4UC.js} +1 -1
  119. package/storybook-static/assets/{ContextMenu-CKqFrruL.js → ContextMenu-CvaQBpuB.js} +1 -1
  120. package/storybook-static/assets/{ContextMenu-Cf0aB42t.js → ContextMenu-DfArrHyO.js} +1 -1
  121. package/storybook-static/assets/{ContextMenu.stories-DUNNczmV.js → ContextMenu.stories-UUZnkfjK.js} +1 -1
  122. package/storybook-static/assets/{DateInput-CgZisi2m.js → DateInput-BOJzcuf8.js} +1 -1
  123. package/storybook-static/assets/{DateInput-CqLQj_F4.js → DateInput-D0Z39L0u.js} +1 -1
  124. package/storybook-static/assets/{DateInput.stories-Do_7epv1.js → DateInput.stories-B9oAtjEF.js} +1 -1
  125. package/storybook-static/assets/{DateRangePresetSelect-CQH5mwGa.js → DateRangePresetSelect-Bhzy-5vR.js} +1 -1
  126. package/storybook-static/assets/{DateRangePresetSelect-CvYeLrV2.js → DateRangePresetSelect-I9kq2B9z.js} +1 -1
  127. package/storybook-static/assets/{DateRangePresetSelect.stories-BaulSowp.js → DateRangePresetSelect.stories-CkkmtUCo.js} +1 -1
  128. package/storybook-static/assets/{Detail-C5pT_ihu.js → Detail-D038XLEh.js} +1 -1
  129. package/storybook-static/assets/{Detail.stories-CYeU4gW0.js → Detail.stories-Dy8sCrYr.js} +1 -1
  130. package/storybook-static/assets/{Dialog-JpGOo8UM.js → Dialog-BpBfxyHP.js} +1 -1
  131. package/storybook-static/assets/{Dialog-CyfPnLNU.js → Dialog-DvcT-HcI.js} +1 -1
  132. package/storybook-static/assets/{Dialog.stories-DDgSBPse.js → Dialog.stories-CFwZCUTc.js} +1 -1
  133. package/storybook-static/assets/{Disclosure-CoRV3SKI.js → Disclosure-bS8JZMZH.js} +1 -1
  134. package/storybook-static/assets/{Disclosure.stories-ShTbXMfl.js → Disclosure.stories-DoRb7eFP.js} +1 -1
  135. package/storybook-static/assets/DisclosureGroup-C8bhahk2.js +2 -0
  136. package/storybook-static/assets/DisclosureGroup-CVFMwx22.css +1 -0
  137. package/storybook-static/assets/{DocsRenderer-JROSPFPF-C6cvpWLp.js → DocsRenderer-JROSPFPF-BENO-TjP.js} +1 -1
  138. package/storybook-static/assets/{DropZone-BMM9Wzo2.js → DropZone-BFesDtXX.js} +1 -1
  139. package/storybook-static/assets/{DropZone-aGbl_hY6.js → DropZone-CT2ql-iq.js} +1 -1
  140. package/storybook-static/assets/{DropZone.stories-B19OUO0s.js → DropZone.stories-DjyWW5NR.js} +1 -1
  141. package/storybook-static/assets/{DropdownMenu-Cg0W3h8L.js → DropdownMenu-DFIvsL7-.js} +1 -1
  142. package/storybook-static/assets/{ExpandableActionPanel-BzBrYqC5.js → ExpandableActionPanel-HfuTxNHC.js} +1 -1
  143. package/storybook-static/assets/{ExpandableActionPanel.stories-DCNEDnZa.js → ExpandableActionPanel.stories-hrKtH1J5.js} +1 -1
  144. package/storybook-static/assets/{Flex-MkfwQVIc.js → Flex-YpXsCy6o.js} +1 -1
  145. package/storybook-static/assets/{Flex.stories-BlM3OY3o.js → Flex.stories-Ck5prBoq.js} +1 -1
  146. package/storybook-static/assets/{FloatingPopover-D6CCSTdu.js → FloatingPopover-DOPDzLFT.js} +1 -1
  147. package/storybook-static/assets/{FormattedTableCell-G7nk8gAQ.js → FormattedTableCell-CpYotISk.js} +1 -1
  148. package/storybook-static/assets/{Grid-DfaPblMb.js → Grid-DUocH4TX.js} +1 -1
  149. package/storybook-static/assets/{Grid.stories-DDikKF9r.js → Grid.stories-jnw37ukT.js} +1 -1
  150. package/storybook-static/assets/{ImageCropper.stories-CXPVp9Vp.js → ImageCropper.stories-CDLsJM59.js} +1 -1
  151. package/storybook-static/assets/{ImageRenderer-BGvZWBqv.js → ImageRenderer-CZ7DKuFY.js} +1 -1
  152. package/storybook-static/assets/{ImageRenderer.stories-DISqcLr0.js → ImageRenderer.stories-B8-aQ58B.js} +1 -1
  153. package/storybook-static/assets/{ImageView.stories-2slK-d-x.js → ImageView.stories-DLhqZ_GI.js} +1 -1
  154. package/storybook-static/assets/{ImageViewer.stories-Xq_D5QUi.js → ImageViewer.stories-o1yD_rZq.js} +2 -2
  155. package/storybook-static/assets/{ImageViewerRuntime-DMqh4wGq.js → ImageViewerRuntime-CJlrAsfL.js} +1 -1
  156. package/storybook-static/assets/{Input-B9ykEI3i.js → Input-8dAj3L5M.js} +1 -1
  157. package/storybook-static/assets/{Input-QDdDpHSi.js → Input-B8y70gW9.js} +1 -1
  158. package/storybook-static/assets/{Input.stories-B0ij_iCD.js → Input.stories-KAOo2cMb.js} +1 -1
  159. package/storybook-static/assets/{InputDateTime-BLCtKukj.js → InputDateTime-C8iXQn7P.js} +1 -1
  160. package/storybook-static/assets/{InputDateTime.stories-mKKGsKaq.js → InputDateTime.stories-BOUfVN41.js} +1 -1
  161. package/storybook-static/assets/{InputFile-CHhD9bDB.js → InputFile-BlMNRcyL.js} +1 -1
  162. package/storybook-static/assets/{InputFile-uAmsP7LG.js → InputFile-C-CwNpFJ.js} +1 -1
  163. package/storybook-static/assets/{InputFile.stories-CK-ACsW2.js → InputFile.stories-MD9cAu-W.js} +1 -1
  164. package/storybook-static/assets/{InputFiles-DABWDqXi.js → InputFiles-BMjWaVN9.js} +1 -1
  165. package/storybook-static/assets/{InputFiles-CDgBA7Tt.js → InputFiles-D72fv8HQ.js} +1 -1
  166. package/storybook-static/assets/{InputFiles.stories-Dihf3LA3.js → InputFiles.stories-BlD8cBmt.js} +1 -1
  167. package/storybook-static/assets/{InputFilesList-CCkGwmuk.js → InputFilesList-Dol1dIX5.js} +1 -1
  168. package/storybook-static/assets/{InputImage-CL1d5Pan.js → InputImage-_sOF8mmB.js} +1 -1
  169. package/storybook-static/assets/{InputImage-B-yYeHyx.js → InputImage-uE0JlBq5.js} +1 -1
  170. package/storybook-static/assets/{InputImage.stories-CJSA6DVX.js → InputImage.stories-R6HZFGuR.js} +1 -1
  171. package/storybook-static/assets/{InteractiveComponents-BbTcKx2O.js → InteractiveComponents-BDmyyudJ.js} +3 -3
  172. package/storybook-static/assets/InteractiveComponents.stories-RsjV4QyY.js +530 -0
  173. package/storybook-static/assets/{LayoutPicker-Bghy4k1z.js → LayoutPicker-CqpAicOL.js} +1 -1
  174. package/storybook-static/assets/{LayoutPicker-CXDkkJp2.js → LayoutPicker-CywNkFMn.js} +1 -1
  175. package/storybook-static/assets/{LayoutPicker-yb6IMmd2.css → LayoutPicker-DudPIiwb.css} +1 -1
  176. package/storybook-static/assets/{LayoutPicker.stories-DW9dESrS.js → LayoutPicker.stories-BMiwqihl.js} +1 -1
  177. package/storybook-static/assets/{Listbox-CLvPiIfl.js → Listbox-Bznk_lrX.js} +1 -1
  178. package/storybook-static/assets/{Listbox--cQWgUmD.js → Listbox-zQgffOs0.js} +1 -1
  179. package/storybook-static/assets/{Listbox.stories-Df-qKPoO.js → Listbox.stories-BeWjK-CY.js} +1 -1
  180. package/storybook-static/assets/{Modal-q_SY4zcu.js → Modal-unWtDqq_.js} +1 -1
  181. package/storybook-static/assets/{Modal.stories-uOYpbXVv.js → Modal.stories-DepzRvWp.js} +1 -1
  182. package/storybook-static/assets/{ModalManagerProvider-DRweDYkZ.js → ModalManagerProvider-B1XUXs-1.js} +1 -1
  183. package/storybook-static/assets/{ModalManagerProvider-C5bd7SFD.css → ModalManagerProvider-CjPErFqW.css} +1 -1
  184. package/storybook-static/assets/{MultiSelect-B2hs_VJT.js → MultiSelect-DBzuR4v6.js} +1 -1
  185. package/storybook-static/assets/{MultiSelect-C7oSCFYc.js → MultiSelect-U5XEaFTv.js} +1 -1
  186. package/storybook-static/assets/{MultiSelect.stories-CmXVD8NV.js → MultiSelect.stories-9xtLUsmK.js} +1 -1
  187. package/storybook-static/assets/{NoData-CYykp6nm.js → NoData-Did5-Vbj.js} +1 -1
  188. package/storybook-static/assets/{NotificationsHost-6EGDcdXc.js → NotificationsHost-C16jWWbh.js} +1 -1
  189. package/storybook-static/assets/{NotificationsHost.stories-DYlOKW3z.js → NotificationsHost.stories-Df9Sciyb.js} +1 -1
  190. package/storybook-static/assets/{ODataMultiSelect-D3lAz52M.js → ODataMultiSelect-_5_Hrv8p.js} +1 -1
  191. package/storybook-static/assets/{ODataMultiSelect.stories-Do349Woi.js → ODataMultiSelect.stories-DWTlih_F.js} +1 -1
  192. package/storybook-static/assets/{ODataSelect-BmLCt-Et.js → ODataSelect-xX8_14hD.js} +1 -1
  193. package/storybook-static/assets/{ODataSelect.stories-CBE4FRU1.js → ODataSelect.stories-B_VSMkR5.js} +1 -1
  194. package/storybook-static/assets/{ODataTreeMultiSelect-DPRC8mC_.js → ODataTreeMultiSelect-CheCWkrj.js} +1 -1
  195. package/storybook-static/assets/{ODataTreeMultiSelect.stories-B04PXBI1.js → ODataTreeMultiSelect.stories-CAWAJxdC.js} +1 -1
  196. package/storybook-static/assets/{ODataTreeSelect-D_JM7RgM.js → ODataTreeSelect-ZQN9ZhPc.js} +1 -1
  197. package/storybook-static/assets/{ODataTreeSelect.stories-Cg5g1jKK.js → ODataTreeSelect.stories-CYC_eiFv.js} +1 -1
  198. package/storybook-static/assets/{OneStepScroller-BFpPuaB_.js → OneStepScroller-KFcpHiAM.js} +1 -1
  199. package/storybook-static/assets/{PeriodSelect-DEMta98q.js → PeriodSelect-BgQWqB2a.js} +1 -1
  200. package/storybook-static/assets/{PeriodSelect-BcOUZrRT.js → PeriodSelect-DN9SFKXh.js} +1 -1
  201. package/storybook-static/assets/{PeriodSelect.stories-Y9ouTAuy.js → PeriodSelect.stories-DcUE2clK.js} +1 -1
  202. package/storybook-static/assets/{PickerSelectionToolbar-Bv-nSj0d.js → PickerSelectionToolbar-CvqU44D-.js} +1 -1
  203. package/storybook-static/assets/{PickerTriggerActions-CQDEvDc_.js → PickerTriggerActions-DZzNAe4M.js} +1 -1
  204. package/storybook-static/assets/{Popover-CWLOyKnP.js → Popover-B1_qmzkr.js} +1 -1
  205. package/storybook-static/assets/{Popover-DB3qAxXW.js → Popover-iSasApKA.js} +1 -1
  206. package/storybook-static/assets/{Popover.stories-D5sWLE6b.js → Popover.stories-CGLUaRgH.js} +1 -1
  207. package/storybook-static/assets/{PresetRangeDateInput-59Tam-1W.js → PresetRangeDateInput-CxyBq2XS.js} +1 -1
  208. package/storybook-static/assets/{PresetRangeDateInput-CtvsU8Ml.js → PresetRangeDateInput-D_ylm7hV.js} +1 -1
  209. package/storybook-static/assets/{PresetRangeDateInput.stories-CUwrsRrL.js → PresetRangeDateInput.stories-DgrBel6_.js} +1 -1
  210. package/storybook-static/assets/{PresetSelect-BAYEJ8CM.js → PresetSelect-CrdvEugF.js} +1 -1
  211. package/storybook-static/assets/{RadioButton-zpobcF9e.js → RadioButton-DW4ph1Xp.js} +1 -1
  212. package/storybook-static/assets/{RadioButton-CM7QJhfw.js → RadioButton-DwyUH5ms.js} +1 -1
  213. package/storybook-static/assets/{RadioButton.stories-CzL_GQa2.js → RadioButton.stories-6q7CeUZY.js} +3 -3
  214. package/storybook-static/assets/{RadioGroup-CRQsZ0qT.js → RadioGroup-BumTRrwE.js} +1 -1
  215. package/storybook-static/assets/{RadioGroup-vkD0hI_b.css → RadioGroup-DJ1xoaNp.css} +1 -1
  216. package/storybook-static/assets/{RadioGroup-BApqIRxt.js → RadioGroup-DshEU96S.js} +1 -1
  217. package/storybook-static/assets/{RadioGroup.stories-CxrEMC1U.js → RadioGroup.stories-Bwv8Bgn8.js} +1 -1
  218. package/storybook-static/assets/{Scrollable-8LS79J5A.js → Scrollable-ZI0zA9wz.js} +1 -1
  219. package/storybook-static/assets/{Select-Dgz6O4XI.js → Select-CP1Ijv9g.js} +1 -1
  220. package/storybook-static/assets/{Select-DnKAwahR.js → Select-CjuyI3wO.js} +1 -1
  221. package/storybook-static/assets/{Select.stories-BVue1oEG.js → Select.stories-kCFhGvWP.js} +1 -1
  222. package/storybook-static/assets/{SelectOptionContent-B0aIuszF.js → SelectOptionContent-C2DjqaM0.js} +1 -1
  223. package/storybook-static/assets/{SerializableSelect-DdKvEcMl.js → SerializableSelect-CoVoXwJS.js} +1 -1
  224. package/storybook-static/assets/{SerializableSelect.stories-C9HykJIM.js → SerializableSelect.stories-UTJc7HQF.js} +1 -1
  225. package/storybook-static/assets/{SingleDateTimeInput-5BdPENRL.js → SingleDateTimeInput-DobT9m-7.js} +1 -1
  226. package/storybook-static/assets/{SingleDateTimeInput-BJurOfWH.js → SingleDateTimeInput-bIeFRT8c.js} +1 -1
  227. package/storybook-static/assets/{SingleDateTimeInput.stories-CbCzAEH_.js → SingleDateTimeInput.stories-CwAP5lI3.js} +1 -1
  228. package/storybook-static/assets/Slider-CK-W2ZTO.css +1 -0
  229. package/storybook-static/assets/{Slider-Su14u999.js → Slider-CnhBAXNm.js} +1 -1
  230. package/storybook-static/assets/{Slider-B7fBYWsh.js → Slider-DB7dm4uC.js} +1 -1
  231. package/storybook-static/assets/{Slider.stories-oq8MwiOM.js → Slider.stories-D7ADzpCF.js} +1 -1
  232. package/storybook-static/assets/{SliderInput-DC3rLw1R.js → SliderInput-CvmZ86d-.js} +1 -1
  233. package/storybook-static/assets/{SliderInput-C6vA0nX0.js → SliderInput-DfMdXNjq.js} +1 -1
  234. package/storybook-static/assets/{SliderInput.stories-oSDfsTGl.js → SliderInput.stories-CKe5q8PZ.js} +1 -1
  235. package/storybook-static/assets/{Sortable-D2S4Ntya.js → Sortable-D-PG0esR.js} +1 -1
  236. package/storybook-static/assets/{Sortable.stories-B1VPCY57.js → Sortable.stories-BUUu5LQR.js} +1 -1
  237. package/storybook-static/assets/{Splitter-BOCZma_W.js → Splitter-Cbiph6ck.js} +1 -1
  238. package/storybook-static/assets/{Splitter.stories-Be1FdaCX.js → Splitter.stories-z1_IuipN.js} +1 -1
  239. package/storybook-static/assets/{StateSelect-a1GpBbb9.js → StateSelect-BfhvHQrQ.js} +1 -1
  240. package/storybook-static/assets/{StateSelect-D397PXHf.js → StateSelect-C6b0aolc.js} +1 -1
  241. package/storybook-static/assets/{StateSelect.stories-uqTINtV1.js → StateSelect.stories-yKKasuZq.js} +1 -1
  242. package/storybook-static/assets/{StringToggle.stories-VNfJpKp9.js → StringToggle.stories-mHQXke0Z.js} +1 -1
  243. package/storybook-static/assets/{Switch-DJnZsi7c.js → Switch--s8CABgk.js} +1 -1
  244. package/storybook-static/assets/{Switch-5BXuXQib.js → Switch-DtYu0DX3.js} +1 -1
  245. package/storybook-static/assets/{Switch.stories-qmAfTk2T.js → Switch.stories-DqVmpD3F.js} +1 -1
  246. package/storybook-static/assets/{Table-DwAfFwxJ.js → Table-CS-8NjMS.js} +1 -1
  247. package/storybook-static/assets/{Table.stories-BIfxC452.js → Table.stories-BDEFvavq.js} +1 -1
  248. package/storybook-static/assets/Tabs-DVAc2sEq.js +65 -0
  249. package/storybook-static/assets/Tabs.stories-Bx3SVBYV.js +57 -0
  250. package/storybook-static/assets/TabsBox-D-bkJX9j.css +1 -0
  251. package/storybook-static/assets/TabsBox-DIc3bAG9.js +2 -0
  252. package/storybook-static/assets/{TagInput-o8pKGmii.js → TagInput-DvJOyiDa.js} +1 -1
  253. package/storybook-static/assets/{TagInput.stories-VMOT59Cx.js → TagInput.stories-BfUUxxvB.js} +1 -1
  254. package/storybook-static/assets/Text-DDM_QNpo.js +1 -0
  255. package/storybook-static/assets/{Textarea-BAmJ8_Mc.js → Textarea-B8jfChqH.js} +1 -1
  256. package/storybook-static/assets/{Textarea-ZKT4EZNo.js → Textarea-CouwxZMS.js} +1 -1
  257. package/storybook-static/assets/{Textarea.stories-C2UVl6PS.js → Textarea.stories-B5YnG6Hg.js} +1 -1
  258. package/storybook-static/assets/{TimePanel-BrhU0p24.js → TimePanel-Ce44lmoA.js} +1 -1
  259. package/storybook-static/assets/{TimePanel.stories-ngyJXj5J.js → TimePanel.stories-dMXzRVpT.js} +1 -1
  260. package/storybook-static/assets/{Toggle-CBNpSWHj.js → Toggle-BLb3M4N1.js} +1 -1
  261. package/storybook-static/assets/{Toggle-wlk2S-OZ.js → Toggle-C8qL0JdM.js} +1 -1
  262. package/storybook-static/assets/Toggle-fKG2dFY0.css +1 -0
  263. package/storybook-static/assets/{Toggle.stories-B98YrV_V.js → Toggle.stories-CR8xCkXd.js} +1 -1
  264. package/storybook-static/assets/{TreeMultiSelect-Dtl4PCmy.js → TreeMultiSelect-5fHQVUTd.js} +1 -1
  265. package/storybook-static/assets/{TreeMultiSelect-C-9k48kJ.js → TreeMultiSelect-Bttryv5k.js} +1 -1
  266. package/storybook-static/assets/{TreeMultiSelect.stories-CWlzx-1-.js → TreeMultiSelect.stories-B4zkiRfC.js} +1 -1
  267. package/storybook-static/assets/{TreePickerBase-DypAOfjj.js → TreePickerBase-B_XyJaYL.js} +1 -1
  268. package/storybook-static/assets/{TreeSelect-DG-iC3OT.js → TreeSelect-BmV5BgHm.js} +1 -1
  269. package/storybook-static/assets/{TreeSelect-D5ihwfVT.js → TreeSelect-_mFMic9T.js} +1 -1
  270. package/storybook-static/assets/{TreeSelect.stories-C4y-1eM0.js → TreeSelect.stories-D-lz21y2.js} +1 -1
  271. package/storybook-static/assets/{TreeTable-EtrL23Tv.js → TreeTable-BjnuFqoj.js} +1 -1
  272. package/storybook-static/assets/{TreeTable.stories-DlZcGmtJ.js → TreeTable.stories-OEii5uhT.js} +1 -1
  273. package/storybook-static/assets/{async-BbFzTdhE.js → async-BggDKhCa.js} +1 -1
  274. package/storybook-static/assets/{blocks-Dk_BOKmc.js → blocks-DXv0kKnO.js} +3 -3
  275. package/storybook-static/assets/{browserAndReact-BjzCiDcb.js → browserAndReact-CJg4Htw7.js} +1 -1
  276. package/storybook-static/assets/{check-DSM_9_9i.js → check-BDF3qN6C.js} +1 -1
  277. package/storybook-static/assets/{chevron-down-Bp7g9jaN.js → chevron-down-DycW5rEN.js} +1 -1
  278. package/storybook-static/assets/{chevron-left-D0R6zNbT.js → chevron-left-C5fp0Uga.js} +1 -1
  279. package/storybook-static/assets/{chevron-right-D4cu1_Hh.js → chevron-right-BtcaEPgU.js} +1 -1
  280. package/storybook-static/assets/{chunk-W22LQPXL-ClDnVv2Q.js → chunk-W22LQPXL-DpbhHTe5.js} +1 -1
  281. package/storybook-static/assets/{circle-alert-BPggadk6.js → circle-alert-BHmYiVSQ.js} +1 -1
  282. package/storybook-static/assets/{circle-check-BU1QAh8V.js → circle-check-D-kWZdLj.js} +1 -1
  283. package/storybook-static/assets/{components-B_jGKru2.js → components-CiK0i2y5.js} +3 -3
  284. package/storybook-static/assets/{contextMenu-Bf6YK0UH.js → contextMenu-BuB7GWKM.js} +1 -1
  285. package/storybook-static/assets/{defaultRenderers-DjL-8uS1.js → defaultRenderers-DKIVh61V.js} +1 -1
  286. package/storybook-static/assets/{download-QNniF4SQ.js → download-CHMcYpj3.js} +1 -1
  287. package/storybook-static/assets/{filesAndExcel-BYbWfuEG.js → filesAndExcel-DlArA_GW.js} +1 -1
  288. package/storybook-static/assets/{floating-ui.react-_mbG5dEq.js → floating-ui.react-2n8Uyf0J.js} +1 -1
  289. package/storybook-static/assets/{formatters-CSUSbuYT.js → formatters-BwCs7xCt.js} +1 -1
  290. package/storybook-static/assets/{formatters-runtime-CJK7YO_m.js → formatters-runtime-ibdtp7C6.js} +1 -1
  291. package/storybook-static/assets/{foundationLib-DYspa9hU.js → foundationLib-DAvQ9wk8.js} +1 -1
  292. package/storybook-static/assets/{hooks-BKgQ004K.js → hooks-D0mbXwcm.js} +1 -1
  293. package/storybook-static/assets/iframe-B1M7f4Qn.js +1 -0
  294. package/storybook-static/assets/{iframe-DuAeRvx6.js → iframe-BnjRbLCp.js} +3 -3
  295. package/storybook-static/assets/iframe-J8XUsZxh.css +1 -0
  296. package/storybook-static/assets/{info-XhLhSnbk.js → info-B9srbxQP.js} +1 -1
  297. package/storybook-static/assets/{odata-kmwYINrm.js → odata-D9w_2DW1.js} +1 -1
  298. package/storybook-static/assets/{odataAndTables-D1zT50BB.js → odataAndTables-B7U8x4CV.js} +1 -1
  299. package/storybook-static/assets/{odataFetchFn-0PlOYGor.js → odataFetchFn-BrsJ-DlE.js} +1 -1
  300. package/storybook-static/assets/{odataStoryFixtures-BhAHMCLD.js → odataStoryFixtures-CbO3dfw1.js} +1 -1
  301. package/storybook-static/assets/{persisted-BYm1AJlK.js → persisted-DXbdpvSU.js} +1 -1
  302. package/storybook-static/assets/{pureUtilities-CRz8PgNh.js → pureUtilities-BtrtdX0r.js} +1 -1
  303. package/storybook-static/assets/{react-B37IqpVm.js → react-DmKWdnt1.js} +1 -1
  304. package/storybook-static/assets/{refresh-cw-Bcya9hPG.js → refresh-cw-C2Rk5OjE.js} +1 -1
  305. package/storybook-static/assets/{runtimeAndState-Difqhsa_.js → runtimeAndState-Be2a2JfZ.js} +1 -1
  306. package/storybook-static/assets/{settings-2-C2bGc7dw.js → settings-2-CuAc9ekV.js} +1 -1
  307. package/storybook-static/assets/{sortable-CvctSETP.js → sortable-DF8VgD8R.js} +1 -1
  308. package/storybook-static/assets/{syntaxhighlighter-T5IQBZDB-CK4b0ttG.js → syntaxhighlighter-T5IQBZDB-BnGJW0L9.js} +1 -1
  309. package/storybook-static/assets/{trash-2-34MyPhKO.js → trash-2-DRXwetzV.js} +1 -1
  310. package/storybook-static/assets/{triangle-alert-m0XHePwA.js → triangle-alert-D5785xcd.js} +1 -1
  311. package/storybook-static/assets/{ui-nZtwyXyS.css → ui-vmPSPL8p.css} +1 -1
  312. package/storybook-static/assets/ui.module-Bh9yvZgk.js +1 -0
  313. package/storybook-static/assets/uiClasses-CyX7wB6b.js +1 -0
  314. package/storybook-static/assets/{useODataSelectBase-DBkT6Oh-.js → useODataSelectBase-DfOi4e0X.js} +1 -1
  315. package/storybook-static/assets/{useODataTreeData-Cj_M219Q.js → useODataTreeData-BBSy4G6V.js} +1 -1
  316. package/storybook-static/assets/{usePickerQuery-DNrvDy8E.js → usePickerQuery-BYa25rmI.js} +1 -1
  317. package/storybook-static/assets/{usePickerTriggerController-BCnKK5xY.js → usePickerTriggerController-CwgtrL5F.js} +1 -1
  318. package/storybook-static/assets/{x-BXPCGZYS.js → x-DvnP0o1b.js} +1 -1
  319. package/storybook-static/iframe.html +3 -3
  320. package/storybook-static/index.json +1 -1
  321. package/storybook-static/project.json +1 -1
  322. package/dist/chunks/radio-group-D-eBPuGm.js.map +0 -1
  323. package/dist/chunks/uiClasses-CF_aN4Tv.js.map +0 -1
  324. package/dist/tabs/ui/Tabs.d.ts +0 -16
  325. package/dist/tabs/ui/Tabs.d.ts.map +0 -1
  326. package/storybook-static/assets/DisclosureGroup-BFWSlYOk.css +0 -1
  327. package/storybook-static/assets/DisclosureGroup-DFZxdYAc.js +0 -2
  328. package/storybook-static/assets/InteractiveComponents.stories-91dvlxQf.js +0 -472
  329. package/storybook-static/assets/Slider-bVVL6_Jz.css +0 -1
  330. package/storybook-static/assets/Tabs-CFLwas2t.js +0 -72
  331. package/storybook-static/assets/Tabs.stories-BDpQCjIJ.js +0 -87
  332. package/storybook-static/assets/TabsBox-B-Qi_Ddz.js +0 -2
  333. package/storybook-static/assets/TabsBox-B5ugO318.css +0 -1
  334. package/storybook-static/assets/Text-DGP30761.js +0 -1
  335. package/storybook-static/assets/Toggle-9G08CPe5.css +0 -1
  336. package/storybook-static/assets/iframe-DrFZbzJ3.js +0 -1
  337. package/storybook-static/assets/iframe-_EkhDToa.css +0 -1
  338. package/storybook-static/assets/ui.module-DjxH5szp.js +0 -1
  339. package/storybook-static/assets/uiClasses-CjI3jv6I.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as e,n as t,o as n,r}from"./rolldown-runtime-C0FnF6B9.js";import{t as i}from"./react-C21x__mS.js";import{n as a}from"./iframe-DuAeRvx6.js";import{c as o}from"./ModalManagerProvider-DRweDYkZ.js";var s,c;function l(){return(l=t((()=>{s=i(),c=(0,s.createContext)({})})))()}function u(e){let t=(0,d.useRef)(null);return t.current===null&&(t.current=e()),t.current}var d;function f(){return(f=t((()=>{d=i()})))()}var p;function m(){return(m=t((()=>{p=typeof window<`u`})))()}var h,g;function _(){return(_=t((()=>{h=i(),m(),g=p?h.useLayoutEffect:h.useEffect})))()}var v,y;function b(){return(b=t((()=>{v=i(),y=(0,v.createContext)(null)})))()}function x(e,t){e.indexOf(t)===-1&&e.push(t)}function S(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var C;function w(){return(w=t((()=>{C=(e,t,n)=>n>t?t:n<e?e:n})))()}var T,E;function D(){return(D=t((()=>{T=()=>{},E=()=>{}})))()}var ee;function te(){return(te=t((()=>{ee={}})))()}var ne;function re(){return(re=t((()=>{ne=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})))()}var ie;function ae(){return(ae=t((()=>{ie=e=>typeof e==`object`&&!!e})))()}var oe;function se(){return(se=t((()=>{oe=e=>/^0[^.\s]+$/u.test(e)})))()}function ce(e){let t;return()=>(t===void 0&&(t=e()),t)}var O;function k(){return(k=t((()=>{O=e=>e})))()}var le;function ue(){return(ue=t((()=>{le=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})))()}var de;function fe(){return(fe=t((()=>{de=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})))()}var pe;function me(){return(me=t((()=>{pe=class{constructor(){this.subscriptions=[]}add(e){return x(this.subscriptions,e),()=>S(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})))()}var A,j;function he(){return(he=t((()=>{A=e=>e*1e3,j=e=>e/1e3})))()}var ge;function _e(){return(_e=t((()=>{ge=(e,t)=>t?1e3/t*e:0})))()}function ve(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=be(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>xe&&++s<Se);return o}function ye(e,t,n,r){if(e===t&&n===r)return O;let i=t=>ve(t,0,1,e,n);return e=>e===0||e===1?e:be(i(e),t,r)}var be,xe,Se;function Ce(){return(Ce=t((()=>{k(),be=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xe=1e-7,Se=12})))()}var we;function Te(){return(Te=t((()=>{we=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})))()}var Ee;function De(){return(De=t((()=>{Ee=e=>t=>1-e(1-t)})))()}var Oe,ke,Ae;function je(){return(je=t((()=>{Ce(),Te(),De(),Oe=ye(.33,1.53,.69,.99),ke=Ee(Oe),Ae=we(ke)})))()}var Me;function Ne(){return(Ne=t((()=>{je(),Me=e=>e>=1?1:(e*=2)<1?.5*ke(e):.5*(2-2**(-10*(e-1)))})))()}var Pe,Fe,Ie;function Le(){return(Le=t((()=>{Te(),De(),Pe=e=>1-Math.sin(Math.acos(e)),Fe=Ee(Pe),Ie=we(Pe)})))()}var Re,ze,Be;function Ve(){return(Ve=t((()=>{Ce(),Re=ye(.42,0,1,1),ze=ye(0,0,.58,1),Be=ye(.42,0,.58,1)})))()}var He;function Ue(){return(Ue=t((()=>{He=e=>Array.isArray(e)&&typeof e[0]!=`number`})))()}var We;function Ge(){return(Ge=t((()=>{We=e=>Array.isArray(e)&&typeof e[0]==`number`})))()}var Ke,qe,Je;function Ye(){return(Ye=t((()=>{D(),k(),Ne(),je(),Le(),Ce(),Ve(),Ge(),Ke={linear:O,easeIn:Re,easeInOut:Be,easeOut:ze,circIn:Pe,circInOut:Ie,circOut:Fe,backIn:ke,backInOut:Ae,backOut:Oe,anticipate:Me},qe=e=>typeof e==`string`,Je=e=>{if(We(e)){E(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return ye(t,n,r,i)}return qe(e)?(E(Ke[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Ke[e]):e}})))()}var Xe;function Ze(){return(Ze=t((()=>{Xe=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})))()}function Qe(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}function $e(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Xe.reduce((e,t)=>(e[t]=Qe(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ee.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,et),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Xe.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Xe.length;t++)o[Xe[t]].cancel(e)},state:i,steps:o}}var et;function tt(){return(tt=t((()=>{te(),Ze(),et=40})))()}var M,nt,N,rt;function P(){return(P=t((()=>{k(),tt(),{schedule:M,cancel:nt,state:N,steps:rt}=$e(typeof requestAnimationFrame<`u`?requestAnimationFrame:O,!0)})))()}function it(){at=void 0}var at,F;function ot(){return(ot=t((()=>{te(),P(),F={now:()=>(at===void 0&&F.set(N.isProcessing||ee.useManualTiming?N.timestamp:performance.now()),at),set:e=>{at=e,queueMicrotask(it)}}})))()}function st(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var ct,lt,ut,dt,ft;function pt(){return(pt=t((()=>{ct=e=>t=>typeof t==`string`&&t.startsWith(e),lt=ct(`--`),ut=ct(`var(--`),dt=e=>ut(e)?ft.test(e.split(`/*`)[0].trim()):!1,ft=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})))()}var mt,ht,gt;function _t(){return(_t=t((()=>{w(),mt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},ht={...mt,transform:e=>C(0,1,e)},gt={...mt,default:1}})))()}var vt;function yt(){return(yt=t((()=>{vt=e=>Math.round(e*1e5)/1e5})))()}var bt;function xt(){return(xt=t((()=>{bt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})))()}function St(e){return e==null}var Ct;function wt(){return(wt=t((()=>{Ct=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})))()}var Tt,Et;function Dt(){return(Dt=t((()=>{xt(),wt(),Tt=(e,t)=>n=>!!(typeof n==`string`&&Ct.test(n)&&n.startsWith(e)||t&&!St(n)&&Object.prototype.hasOwnProperty.call(n,t)),Et=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(bt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})))()}var Ot,kt,At;function jt(){return(jt=t((()=>{w(),_t(),yt(),Dt(),Ot=e=>C(0,255,e),kt={...mt,transform:e=>Math.round(Ot(e))},At={test:Tt(`rgb`,`red`),parse:Et(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+kt.transform(e)+`, `+kt.transform(t)+`, `+kt.transform(n)+`, `+vt(ht.transform(r))+`)`}})))()}function Mt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Nt;function Pt(){return(Pt=t((()=>{jt(),Dt(),Nt={test:Tt(`#`),parse:Mt,transform:At.transform}})))()}var Ft,I,L,R,It,Lt,Rt;function z(){return(z=t((()=>{Ft=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),I=Ft(`deg`),L=Ft(`%`),R=Ft(`px`),It=Ft(`vh`),Lt=Ft(`vw`),Rt={...L,parse:e=>L.parse(e)/100,transform:e=>L.transform(e*100)}})))()}var zt;function Bt(){return(Bt=t((()=>{_t(),z(),yt(),Dt(),zt={test:Tt(`hsl`,`hue`),parse:Et(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+L.transform(vt(t))+`, `+L.transform(vt(n))+`, `+vt(ht.transform(r))+`)`}})))()}var B;function Vt(){return(Vt=t((()=>{Pt(),Bt(),jt(),B={test:e=>At.test(e)||Nt.test(e)||zt.test(e),parse:e=>At.test(e)?At.parse(e):zt.test(e)?zt.parse(e):Nt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?At.transform(e):zt.transform(e),getAnimatableNone:e=>{let t=B.parse(e);return t.alpha=0,B.transform(t)}}})))()}var Ht;function Ut(){return(Ut=t((()=>{Ht=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu})))()}function Wt(e){return isNaN(e)&&typeof e==`string`&&(e.match(bt)?.length||0)+(e.match(Ht)?.length||0)>0}function Gt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(tn,e=>(B.test(e)?(r.color.push(a),i.push(Zt),n.push(B.parse(e))):e.startsWith($t)?(r.var.push(a),i.push(Qt),n.push(e)):(r.number.push(a),i.push(Xt),n.push(parseFloat(e))),++a,en)).split(en),indexes:r,types:i}}function Kt(e){return Gt(e).values}function qt({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Xt?vt(r[a]):e===Zt?B.transform(r[a]):r[a]}return i}}function Jt(e){return qt(Gt(e))}function Yt(e){let t=Gt(e);return qt(t)(t.values.map((e,n)=>rn(e,t.split[n])))}var Xt,Zt,Qt,$t,en,tn,nn,rn,V;function H(){return(H=t((()=>{Vt(),Ut(),xt(),yt(),Xt=`number`,Zt=`color`,Qt=`var`,$t=`var(`,en="${}",tn=/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,nn=e=>typeof e==`number`?0:B.test(e)?B.getAnimatableNone(e):e,rn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:nn(e),V={test:Wt,parse:Kt,createTransformer:Jt,getAnimatableNone:Yt}})))()}function an(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function on({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=an(s,r,e+1/3),a=an(s,r,e),o=an(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function sn(e,t){return n=>n>0?t:e}var U;function W(){return(W=t((()=>{U=(e,t,n)=>e+(t-e)*n})))()}function cn(e){let t=dn(e);if(T(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===zt&&(n=on(n)),n}var ln,un,dn,fn;function pn(){return(pn=t((()=>{D(),Pt(),Bt(),jt(),W(),ln=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},un=[Nt,At,zt],dn=e=>un.find(t=>t.test(e)),fn=(e,t)=>{let n=cn(e),r=cn(t);if(!n||!r)return sn(e,t);let i={...n};return e=>(i.red=ln(n.red,r.red,e),i.green=ln(n.green,r.green,e),i.blue=ln(n.blue,r.blue,e),i.alpha=U(n.alpha,r.alpha,e),At.transform(i))}})))()}function mn(e,t){return hn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var hn;function gn(){return(gn=t((()=>{hn=new Set([`none`,`hidden`])})))()}function _n(e,t){return n=>U(e,t,n)}function vn(e){return typeof e==`number`?_n:typeof e==`string`?dt(e)?sn:B.test(e)?fn:Sn:Array.isArray(e)?yn:typeof e==`object`?B.test(e)?fn:bn:sn}function yn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>vn(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function bn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=vn(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function xn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Sn;function Cn(){return(Cn=t((()=>{ue(),D(),pt(),Vt(),H(),pn(),W(),gn(),Sn=(e,t)=>{let n=V.createTransformer(t),r=Gt(e),i=Gt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?hn.has(e)&&!i.values.length||hn.has(t)&&!r.values.length?mn(e,t):le(yn(xn(r,i),i.values),n):(T(!0,`Complex values '${e}' and '${t}' 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`),sn(e,t))}})))()}function wn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?U(e,t,n):vn(e)(e,t)}function Tn(){return(Tn=t((()=>{Cn(),W()})))()}var En;function Dn(){return(Dn=t((()=>{ot(),P(),En=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>M.update(t,e),stop:()=>nt(t),now:()=>N.isProcessing?N.timestamp:F.now()}}})))()}var On;function kn(){return(kn=t((()=>{On=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}})))()}function An(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var jn;function Mn(){return(Mn=t((()=>{jn=2e4})))()}function Nn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(An(r),jn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:j(i)}}function Pn(){return(Pn=t((()=>{he(),Mn()})))()}function Fn(e,t){return e*Math.sqrt(1-t*t)}function In(e,t,n){let r=n;for(let n=1;n<Vn;n++)r-=e(r)/t(r);return r}function Ln({duration:e=G.duration,bounce:t=G.bounce,velocity:n=G.velocity,mass:r=G.mass}){let i,a;T(e<=A(G.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=C(G.minDamping,G.maxDamping,o),e=C(G.minDuration,G.maxDuration,j(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Fn(t,o),c=Math.exp(-i);return Hn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Fn(t**2,o);return(-i(t)+Hn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=In(i,a,s);if(e=A(e),isNaN(c))return{stiffness:G.stiffness,damping:G.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Rn(e,t){return t.some(t=>e[t]!==void 0)}function zn(e){let t={velocity:G.velocity,stiffness:G.stiffness,damping:G.damping,mass:G.mass,isResolvedFromDuration:!1,...e};if(!Rn(e,Wn)&&Rn(e,Un))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*C(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:G.mass,stiffness:i,damping:a}}else{let n=Ln({...e,velocity:0});t={...t,...n,mass:G.mass},t.isResolvedFromDuration=!0}return t}function Bn(e=G.visualDuration,t=G.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=zn({...n,velocity:-j(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=j(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?G.restSpeed.granular:G.restSpeed.default,i||=v?G.restDelta.granular:G.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Fn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>A(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=A(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=A(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(An(T),jn),t=On(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}var G,Vn,Hn,Un,Wn;function Gn(){return(Gn=t((()=>{he(),w(),D(),kn(),Mn(),Pn(),G={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Vn=12,Hn=.001,Un=[`duration`,`bounce`],Wn=[`stiffness`,`damping`,`mass`],Bn.applyToOptions=e=>{let t=Nn(e,100,Bn);return e.ease=t.ease,e.duration=A(t.duration),e.type=`keyframes`,e}})))()}function Kn(e,t,n){let r=Math.max(t-qn,0);return ge(n-e(r),t-r)}var qn;function Jn(){return(Jn=t((()=>{_e(),qn=5})))()}function Yn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Bn({keyframes:[f.value,m(f.value)],velocity:Kn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Xn(){return(Xn=t((()=>{Gn(),Jn()})))()}function Zn(e,t,n){let r=[],i=n||ee.mix||wn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||O:t;a=le(e,a)}r.push(a)}return r}function Qn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(E(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Zn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=de(e[r],e[r+1],n);return s[r](i)};return n?t=>l(C(e[0],e[a-1],t)):l}function $n(){return($n=t((()=>{D(),w(),te(),k(),ue(),fe(),Tn()})))()}function er(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=de(0,t,r);e.push(U(n,1,i))}}function tr(){return(tr=t((()=>{fe(),W()})))()}function nr(e){let t=[0];return er(t,e.length-1),t}function rr(){return(rr=t((()=>{tr()})))()}function ir(e,t){return e.map(e=>e*t)}function ar(e,t){return e.map(()=>t||Be).splice(0,e.length-1)}function or({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=He(r)?r.map(Je):Je(r),a={done:!1,value:t[0]},o=Qn(ir(n&&n.length===t.length?n:nr(t),e),t,{ease:Array.isArray(i)?i:ar(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}function sr(){return(sr=t((()=>{Ve(),Ue(),Ye(),$n(),rr()})))()}function cr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(lr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var lr;function ur(){return(ur=t((()=>{lr=e=>e!==null})))()}function dr(e){typeof e.type==`string`&&(e.type=fr[e.type])}var fr;function pr(){return(pr=t((()=>{Xn(),sr(),Gn(),fr={decay:Yn,inertia:Yn,tween:or,keyframes:or,spring:Bn}})))()}var mr;function hr(){return(hr=t((()=>{mr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})))()}var gr,_r;function vr(){return(vr=t((()=>{ue(),w(),he(),ot(),Tn(),Dn(),Xn(),sr(),Mn(),Jn(),ur(),pr(),hr(),gr=e=>e/100,_r=class extends mr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==F.now()&&this.tick(F.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;dr(e);let{type:t=or,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||or;s!==or&&typeof o[0]!=`number`&&(this.mixKeyframes=le(gr,wn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=An(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=C(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Yn&&(b.value=cr(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return j(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(this.currentTime)}set time(e){e=A(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Kn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(F.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=j(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=En,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(F.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}})))()}function yr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}function br(e){return+!!e.includes(`scale`)}function xr(e,t){if(!e||e===`none`)return br(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ar,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Tr,i=t}if(!i)return br(t);let a=r[t],o=i[1].split(`,`).map(Sr);return typeof a==`function`?a(o):o[a]}function Sr(e){return parseFloat(e.trim())}var Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr;function Mr(){return(Mr=t((()=>{Cr=e=>e*180/Math.PI,wr=e=>{let t=Cr(Math.atan2(e[1],e[0]));return Er(t)},Tr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:wr,rotateZ:wr,skewX:e=>Cr(Math.atan(e[1])),skewY:e=>Cr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Er=e=>(e%=360,e<0&&(e+=360),e),Dr=wr,Or=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),kr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ar={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Or,scaleY:kr,scale:e=>(Or(e)+kr(e))/2,rotateX:e=>Er(Cr(Math.atan2(e[6],e[5]))),rotateY:e=>Er(Cr(Math.atan2(-e[2],e[0]))),rotateZ:Dr,rotate:Dr,skewX:e=>Cr(Math.atan(e[4])),skewY:e=>Cr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},jr=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return xr(n,t)}})))()}var Nr,Pr;function K(){return(K=t((()=>{Nr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pr=new Set([...Nr,`pathRotation`])})))()}function Fr(e){let t=[];return Rr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ir,Lr,Rr,zr;function Br(){return(Br=t((()=>{Mr(),K(),_t(),z(),Ir=e=>e===mt||e===R,Lr=new Set([`x`,`y`,`z`]),Rr=Nr.filter(e=>!Lr.has(e)),zr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>xr(t,`x`),y:(e,{transform:t})=>xr(t,`y`)},zr.translateX=zr.x,zr.translateY=zr.y})))()}function Vr(){if(Kr){let e=Array.from(Wr).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Fr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Kr=!1,Gr=!1,Wr.forEach(e=>e.complete(qr)),Wr.clear()}function Hr(){Wr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Kr=!0)})}function Ur(){qr=!0,Hr(),Vr(),qr=!1}var Wr,Gr,Kr,qr,Jr;function Yr(){return(Yr=t((()=>{Br(),P(),Wr=new Set,Gr=!1,Kr=!1,qr=!1,Jr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Wr.add(this),Gr||(Gr=!0,M.read(Hr),M.resolveKeyframes(Vr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}yr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Wr.delete(this)}cancel(){this.state===`scheduled`&&(Wr.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})))()}var Xr;function Zr(){return(Zr=t((()=>{Xr=e=>e.startsWith(`--`)})))()}function Qr(e,t,n){Xr(t)?e.style.setProperty(t,n):e.style[t]=n}function $r(){return($r=t((()=>{Zr()})))()}var ei;function ti(){return(ti=t((()=>{ei={}})))()}function ni(e,t){let n=ce(e);return()=>ei[t]??n()}function ri(){return(ri=t((()=>{ti()})))()}var ii;function ai(){return(ai=t((()=>{ri(),ii=ni(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})))()}var oi;function si(){return(si=t((()=>{ri(),oi=ni(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})))()}var ci;function li(){return(li=t((()=>{ci=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})))()}var ui;function di(){return(di=t((()=>{li(),ui={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:ci([0,.65,.55,1]),circOut:ci([.55,0,1,.45]),backIn:ci([.31,.01,.66,-.59]),backOut:ci([.33,1.53,.69,.99])}})))()}function fi(e,t){if(e)return typeof e==`function`?oi()?On(e,t):`ease-out`:We(e)?ci(e):Array.isArray(e)?e.map(e=>fi(e,t)||ui.easeOut):ui[e]}function pi(){return(pi=t((()=>{Ge(),si(),kn(),li(),di()})))()}function mi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=fi(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function hi(){return(hi=t((()=>{pi()})))()}function gi(e){return typeof e==`function`&&`applyToOptions`in e}function _i({type:e,...t}){return gi(e)&&oi()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}function vi(){return(vi=t((()=>{si()})))()}var yi;function bi(){return(bi=t((()=>{D(),he(),k(),$r(),ai(),ur(),hr(),hi(),vi(),yi=class extends mr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,E(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=_i(e);this.animation=mi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=cr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Qr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return j(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=A(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ii()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),O):r(this)}}})))()}function xi(e){return e in Ci}function Si(e){typeof e.ease==`string`&&xi(e.ease)&&(e.ease=Ci[e.ease])}var Ci;function wi(){return(wi=t((()=>{Le(),je(),Ne(),Ci={anticipate:Me,backInOut:Ae,circInOut:Ie}})))()}var Ti,Ei;function Di(){return(Di=t((()=>{w(),ot(),$r(),vr(),bi(),pr(),wi(),Ti=10,Ei=class extends yi{constructor(e){Si(e),dr(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new _r({...a,autoplay:!1}),s=Math.max(Ti,F.now()-this.startTime),c=C(0,Ti,s-Ti),l=o.sample(s).value,{name:u}=this.options;i&&u&&Qr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})))()}var Oi;function ki(){return(ki=t((()=>{H(),Oi=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(V.test(e)||e===`0`)&&!e.startsWith(`url(`))})))()}function Ai(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function ji(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Oi(i,t),s=Oi(a,t);return T(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:Ai(e)||(n===`spring`||gi(n))&&r}function Mi(){return(Mi=t((()=>{D(),ki()})))()}function Ni(e){e.duration=0,e.type=`keyframes`}var Pi;function Fi(){return(Fi=t((()=>{Pi=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])})))()}function Ii(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Li.test(e[t]))return!0;return!1}var Li;function Ri(){return(Ri=t((()=>{Li=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/})))()}function zi(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Vi()&&n&&(Pi.has(n)||Bi.has(n)&&Ii(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Bi,Vi;function Hi(){return(Hi=t((()=>{Fi(),Ri(),Bi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Vi=ce(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})))()}var Ui,Wi;function Gi(){return(Gi=t((()=>{te(),k(),ot(),vr(),ur(),Yr(),Di(),Mi(),hr(),Hi(),Ui=40,Wi=class extends mr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=F.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||Jr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=F.now();let u=!0;ji(e,i,a,o)||(u=!1,(ee.instantAnimations||!s)&&l?.(cr(e,n,t)),e[0]=e[e.length-1],Ni(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Ui?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&zi(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ei({...d,element:p})}catch{m=new _r(d)}else m=new _r(d);m.finished.then(()=>{this.notifyFinished()}).catch(O),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ur()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}})))()}function Ki(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function qi(e,t){return new Zi(e,t)}var Ji,Yi,Xi,Zi;function Qi(){return(Qi=t((()=>{me(),_e(),ot(),P(),Ji=30,Yi=e=>!isNaN(parseFloat(e)),Xi={current:void 0},Zi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=F.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=F.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Yi(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new pe);let n=this.events[e].add(t);return e===`change`?()=>{n(),M.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Xi.current&&Xi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=F.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ji)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Ji);return ge(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}})))()}function $i(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function ea(e,t){let n=e?.[t]??e?.default??e;return n===e?n:$i(n,e)}function ta(){return(ta=t((()=>{})))()}var na,ra,ia,aa,oa;function sa(){return(sa=t((()=>{K(),na={type:`spring`,stiffness:500,damping:25,restSpeed:10},ra=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ia={type:`keyframes`,duration:.8},aa={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},oa=(e,{keyframes:t})=>t.length>2?ia:Pr.has(e)?e.startsWith(`scale`)?ra(t[1]):na:aa})))()}function ca(e){for(let t in e)if(!la.has(t))return!0;return!1}var la;function ua(){return(ua=t((()=>{la=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})))()}var da;function fa(){return(fa=t((()=>{he(),te(),Gi(),vr(),ta(),sa(),ur(),ua(),P(),da=(e,t,n,r={},i,a)=>o=>{let s=ea(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=A(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};ca(s)||Object.assign(u,oa(e,u)),u.duration&&=A(u.duration),u.repeatDelay&&=A(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Ni(u),u.delay===0&&(d=!0)),(ee.instantAnimations||ee.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Ni(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=cr(u.keyframes,s);if(e!==void 0){M.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new _r(u):new Wi(u)}})))()}function pa(e){let t=ha.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function ma(e,t,n=1){E(n<=ga,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=pa(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ne(e)?parseFloat(e):e}return dt(i)?ma(i,t,n+1):i}var ha,ga;function _a(){return(_a=t((()=>{D(),re(),pt(),ha=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ga=4})))()}function va(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ya(e,t,n,r){if(typeof t==`function`){let[i,a]=va(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=va(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ba(e,t,n){let r=e.getProps();return ya(r,t,n===void 0?r.custom:n,e)}function xa(){return(xa=t((()=>{})))()}var Sa;function Ca(){return(Ca=t((()=>{K(),Sa=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nr])})))()}var wa;function Ta(){return(Ta=t((()=>{wa=e=>Array.isArray(e)})))()}function Ea(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qi(n))}function Da(e){return wa(e)?e[e.length-1]||0:e}function Oa(e,t){let{transitionEnd:n={},transition:r={},...i}=ba(e,t)||{};i={...i,...n};for(let t in i)Ea(e,t,Da(i[t]))}function ka(){return(ka=t((()=>{Qi(),xa(),Ta()})))()}var q;function J(){return(J=t((()=>{q=e=>!!(e&&e.getVelocity)})))()}function Aa(e){return!!(q(e)&&e.add)}function ja(){return(ja=t((()=>{J()})))()}function Ma(e,t){let n=e.getValue(`willChange`);if(Aa(n))return n.add(t);if(!n&&ee.WillChange){let n=new ee.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Na(){return(Na=t((()=>{te(),ja()})))()}function Pa(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Fa,Ia;function La(){return(La=t((()=>{Fa=`framerAppearId`,Ia=`data-`+Pa(Fa)})))()}function Ra(e){return e.props[Ia]}function za(){return(za=t((()=>{La()})))()}function Ba({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Va(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?$i(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Ba(f,t))continue;let o={delay:n,...ea(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){M.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=Ra(e);if(n){let e=window.MotionHandoffAnimation(n,t,M);e!==null&&(o.startTime=e,p=!0)}}Ma(e,t);let m=l??e.shouldReduceMotion;r.start(da(t,r,i,m&&Sa.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>M.update(()=>{o&&Oa(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Ha(){return(Ha=t((()=>{ta(),Ca(),ka(),Na(),za(),fa(),P()})))()}function Ua(e,t,n={}){let r=ba(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Va(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Wa(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Wa(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Ua(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Ki(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Ga(){return(Ga=t((()=>{xa(),Ha()})))()}function Ka(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Ua(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Ua(e,t,n);else{let i=typeof t==`function`?ba(e,t,n.custom):t;r=Promise.all(Va(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}function qa(){return(qa=t((()=>{xa(),Ha(),Ga()})))()}var Ja;function Ya(){return(Ya=t((()=>{Ja={test:e=>e===`auto`,parse:e=>e}})))()}var Xa;function Za(){return(Za=t((()=>{Xa=e=>t=>t.test(e)})))()}var Qa,$a;function eo(){return(eo=t((()=>{Ya(),_t(),z(),Za(),Qa=[mt,R,L,I,Lt,It,Ja],$a=e=>Qa.find(Xa(e))})))()}function to(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||oe(e)}function no(){return(no=t((()=>{se()})))()}function ro(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(bt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!io.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var io,ao,oo;function so(){return(so=t((()=>{H(),xt(),io=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),ao=/\b([a-z-]*)\(.*?\)/gu,oo={...V,getAnimatableNone:e=>{let t=e.match(ao);return t?t.map(ro).join(` `):e}}})))()}var co;function lo(){return(lo=t((()=>{H(),co={...V,getAnimatableNone:e=>{let t=V.parse(e);return V.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})))()}var uo;function fo(){return(fo=t((()=>{_t(),uo={...mt,transform:Math.round}})))()}var po;function mo(){return(mo=t((()=>{_t(),z(),po={rotate:I,pathRotation:I,rotateX:I,rotateY:I,rotateZ:I,scale:gt,scaleX:gt,scaleY:gt,scaleZ:gt,skew:I,skewX:I,skewY:I,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:ht,originX:Rt,originY:Rt,originZ:R}})))()}var ho;function go(){return(go=t((()=>{fo(),_t(),z(),mo(),ho={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,fontSize:R,backgroundPositionX:R,backgroundPositionY:R,...po,zIndex:uo,fillOpacity:ht,strokeOpacity:ht,numOctaves:uo}})))()}var _o,vo;function yo(){return(yo=t((()=>{Vt(),so(),lo(),go(),_o={...ho,color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:oo,WebkitFilter:oo,mask:co,WebkitMask:co},vo=e=>_o[e]})))()}function bo(e,t){let n=vo(e);return xo.has(n)||(n=V),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var xo;function So(){return(So=t((()=>{H(),so(),lo(),yo(),xo=new Set([oo,co])})))()}function Co(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!wo.has(t)&&Gt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=bo(n,i)}var wo;function To(){return(To=t((()=>{H(),So(),wo=new Set([`auto`,`none`,`0`])})))()}var Eo;function Do(){return(Do=t((()=>{Ca(),eo(),_a(),pt(),Yr(),no(),To(),Br(),Eo=class extends Jr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),dt(r))){let i=ma(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Sa.has(n)||e.length!==2)return;let[r,i]=e,a=$a(r),o=$a(i);if(st(r)!==st(i)&&zr[n]){this.needsMeasurement=!0;return}if(a!==o)if(Ir(a)&&Ir(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else zr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||to(e[t]))&&n.push(t);n.length&&Co(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=zr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})))()}var Oo;function ko(){return(ko=t((()=>{Oo=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]})))()}function Ao(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var jo;function Mo(){return(Mo=t((()=>{jo=(e,t)=>t&&typeof e==`number`?t.transform(e):e})))()}function No(e){return ie(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function Po(){return(Po=t((()=>{ae()})))()}var Fo,Io;function Lo(){return(Lo=t((()=>{tt(),{schedule:Fo,cancel:Io}=$e(queueMicrotask,!1)})))()}function Ro(){return Y.x||Y.y}var Y;function zo(){return(zo=t((()=>{Y={x:!1,y:!1}})))()}function Bo(e){return e===`x`||e===`y`?Y[e]?null:(Y[e]=!0,()=>{Y[e]=!1}):Y.x||Y.y?null:(Y.x=Y.y=!0,()=>{Y.x=Y.y=!1})}function Vo(){return(Vo=t((()=>{zo()})))()}function Ho(e,t){let n=Ao(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Uo(){return(Uo=t((()=>{})))()}function Wo(e){return!(e.pointerType===`touch`||Ro())}function Go(e,t,n={}){let[r,i,a]=Ho(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Wo(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}function Ko(){return(Ko=t((()=>{zo(),Uo()})))()}var qo;function Jo(){return(Jo=t((()=>{qo=(e,t)=>t?e===t||qo(e,t.parentElement):!1})))()}var Yo;function Xo(){return(Xo=t((()=>{Yo=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1})))()}function Zo(e){return $o.has(e.tagName)||e.isContentEditable===!0}function Qo(e){return es.has(e.tagName)||e.isContentEditable===!0}var $o,es;function ts(){return(ts=t((()=>{$o=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),es=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})))()}var ns;function rs(){return(rs=t((()=>{ns=new WeakSet})))()}function is(e){return t=>{t.key===`Enter`&&e(t)}}function as(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var os;function ss(){return(ss=t((()=>{rs(),os=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=is(()=>{if(ns.has(n))return;as(n,`down`);let e=is(()=>{as(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>as(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}})))()}function cs(e){return Yo(e)&&!Ro()}function ls(e,t,n={}){let[r,i,a]=Ho(e,n),o=e=>{let r=e.currentTarget;if(!cs(e)||us.has(e))return;ns.add(r),n.stopPropagation&&us.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),ns.has(r)&&ns.delete(r),cs(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||qo(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),No(e)&&(e.addEventListener(`focus`,e=>os(e,i)),!Zo(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var us;function ds(){return(ds=t((()=>{Po(),zo(),Jo(),Xo(),Uo(),ts(),ss(),rs(),us=new WeakSet})))()}function fs(e){return ie(e)&&`ownerSVGElement`in e}function ps(){return(ps=t((()=>{ae()})))()}function ms({target:e,borderBoxSize:t}){vs.get(e)?.forEach(n=>{n(e,{get width(){return xs(e,t)},get height(){return Ss(e,t)}})})}function hs(e){e.forEach(ms)}function gs(){typeof ResizeObserver>`u`||(ys=new ResizeObserver(hs))}function _s(e,t){ys||gs();let n=Ao(e);return n.forEach(e=>{let n=vs.get(e);n||(n=new Set,vs.set(e,n)),n.add(t),ys?.observe(e)}),()=>{n.forEach(e=>{let n=vs.get(e);n?.delete(t),n?.size||ys?.unobserve(e)})}}var vs,ys,bs,xs,Ss;function Cs(){return(Cs=t((()=>{ps(),vs=new WeakMap,bs=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:fs(r)&&`getBBox`in r?r.getBBox()[t]:r[n],xs=bs(`inline`,`width`,`offsetWidth`),Ss=bs(`block`,`height`,`offsetHeight`)})))()}function ws(){Ds=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Es.forEach(t=>t(e))},window.addEventListener(`resize`,Ds)}function Ts(e){return Es.add(e),Ds||ws(),()=>{Es.delete(e),!Es.size&&typeof Ds==`function`&&(window.removeEventListener(`resize`,Ds),Ds=void 0)}}var Es,Ds;function Os(){return(Os=t((()=>{Es=new Set})))()}function ks(e,t){return typeof e==`function`?Ts(e):_s(e,t)}function As(){return(As=t((()=>{Cs(),Os()})))()}var js;function Ms(){return(Ms=t((()=>{js={value:null,addProjectionMetrics:null}})))()}function Ns(e){return fs(e)&&e.tagName===`svg`}function Ps(){return(Ps=t((()=>{ps()})))()}var Fs,Is;function Ls(){return(Ls=t((()=>{Vt(),H(),eo(),Za(),Fs=[...Qa,B,V],Is=e=>Fs.find(Xa(e))})))()}var Rs,zs,Bs,X;function Vs(){return(Vs=t((()=>{Rs=()=>({translate:0,scale:1,origin:0,originPoint:0}),zs=()=>({x:Rs(),y:Rs()}),Bs=()=>({min:0,max:0}),X=()=>({x:Bs(),y:Bs()})})))()}var Hs;function Us(){return(Us=t((()=>{Hs=new WeakMap})))()}function Ws(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Gs(e){return typeof e==`string`||Array.isArray(e)}var Ks,qs;function Js(){return(Js=t((()=>{Ks=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],qs=[`initial`,...Ks]})))()}function Ys(e){return Ws(e.animate)||qs.some(t=>Gs(e[t]))}function Xs(e){return!!(Ys(e)||e.variants)}function Zs(){return(Zs=t((()=>{Js()})))()}function Qs(e,t,n){for(let r in t){let i=t[r],a=n[r];if(q(i))e.addValue(r,i);else if(q(a))e.addValue(r,qi(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,qi(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function $s(){return($s=t((()=>{Qi(),J()})))()}var ec,tc;function nc(){return(nc=t((()=>{ec={current:null},tc={current:!1}})))()}function rc(){if(tc.current=!0,ic)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>ec.current=e.matches;e.addEventListener(`change`,t),t()}else ec.current=!1}var ic;function ac(){return(ac=t((()=>{nc(),ic=typeof window<`u`})))()}function oc(e){lc=e}function sc(){return lc}var cc,lc,uc;function dc(){return(dc=t((()=>{he(),re(),se(),me(),Yr(),bi(),Fi(),Lo(),ot(),Vs(),Qi(),H(),So(),Ls(),J(),Us(),Zs(),K(),$s(),ac(),nc(),P(),cc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],lc={},uc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=F.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,M.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Ys(t),this.isVariantNode=Xs(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&q(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Hs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(tc.current||rc(),this.shouldReduceMotion=ec.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),nt(this.notifyUpdate),nt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Pi.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new yi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:A(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Pr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&M.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in lc){let t=lc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<cc.length;t++){let n=cc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Qs(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=qi(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(ne(n)||oe(n))?n=parseFloat(n):!Is(n)&&V.test(t)&&(n=bo(e,t)),this.setBaseTarget(e,q(n)?n.get():n)),q(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ya(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!q(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new pe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Fo.render(this.render)}}})))()}var fc;function pc(){return(pc=t((()=>{J(),Do(),dc(),fc=class extends uc{constructor(){super(...arguments),this.KeyframeResolver=Eo}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})))()}var mc;function hc(){return(hc=t((()=>{mc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}})))()}function gc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _c({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function vc(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function yc(e){return e===void 0||e===1}function bc({scale:e,scaleX:t,scaleY:n}){return!yc(e)||!yc(t)||!yc(n)}function xc(e){return bc(e)||Sc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Sc(e){return Cc(e.x)||Cc(e.y)}function Cc(e){return e&&e!==`0%`}function wc(e,t,n){return n+t*(e-n)}function Tc(e,t,n,r,i){return i!==void 0&&(e=wc(e,i,r)),wc(e,n,r)+t}function Ec(e,t=0,n=1,r,i){e.min=Tc(e.min,t,n,r,i),e.max=Tc(e.max,t,n,r,i)}function Dc(e,{x:t,y:n}){Ec(e.x,t.translate,t.scale,t.originPoint),Ec(e.y,n.translate,n.scale,n.originPoint)}function Oc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(kc(e.x,-a.scroll.offset.x),kc(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Dc(e,o)),r&&xc(a.latestValues)&&Mc(e,a.latestValues,a.layout?.layoutBox))}t.x<Pc&&t.x>Nc&&(t.x=1),t.y<Pc&&t.y>Nc&&(t.y=1)}function kc(e,t){e.min+=t,e.max+=t}function Ac(e,t,n,r,i=.5){Ec(e,t,n,U(e.min,e.max,i),r)}function jc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Mc(e,t,n){let r=n??e;Ac(e.x,jc(t.x,r.x),t.scaleX,t.scale,t.originX),Ac(e.y,jc(t.y,r.y),t.scaleY,t.scale,t.originY)}var Nc,Pc;function Fc(){return(Fc=t((()=>{W(),Nc=.999999999999,Pc=1.0000000000001})))()}function Ic(e,t){return gc(vc(e.getBoundingClientRect(),t))}function Lc(e,t,n){let r=Ic(e,n),{scroll:i}=t;return i&&(kc(r.x,i.offset.x),kc(r.y,i.offset.y)),r}function Rc(){return(Rc=t((()=>{Fc()})))()}function zc(e,t,n){let r=``,i=!0;for(let a=0;a<Vc;a++){let o=Nr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=jo(s,ho[o]);if(!c){i=!1;let t=Bc[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${jo(a,ho.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Bc,Vc;function Hc(){return(Hc=t((()=>{Mo(),go(),K(),Bc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Vc=Nr.length})))()}function Uc(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Pr.has(e)){o=!0;continue}if(lt(e)){i[e]=n;continue}{let t=jo(n,ho[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=zc(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Wc(){return(Wc=t((()=>{Mo(),go(),K(),pt(),Hc()})))()}function Gc(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Kc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var qc;function Jc(){return(Jc=t((()=>{z(),qc={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${Kc(e,t.target.x)}% ${Kc(e,t.target.y)}%`}}})))()}var Yc;function Xc(){return(Xc=t((()=>{H(),W(),Yc={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=V.parse(e);if(i.length>5)return r;let a=V.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=U(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})))()}var Zc;function Qc(){return(Qc=t((()=>{ko(),Jc(),Xc(),Zc={borderRadius:{...qc,applyTo:[...Oo]},borderTopLeftRadius:qc,borderTopRightRadius:qc,borderBottomLeftRadius:qc,borderBottomRightRadius:qc,boxShadow:Yc}})))()}function $c(e,{layout:t,layoutId:n}){return Pr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Zc[e]||e===`opacity`)}function el(){return(el=t((()=>{K(),Qc()})))()}function tl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(q(r[t])||i&&q(i[t])||$c(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function nl(){return(nl=t((()=>{J(),el()})))()}function rl(e){return window.getComputedStyle(e)}var il;function al(){return(al=t((()=>{D(),pt(),K(),Mr(),Rc(),pc(),Wc(),nl(),il=class extends fc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Gc}mount(e){E(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(Pr.has(t))return this.projection?.isProjecting?br(t):jr(e,t);{let n=rl(e),r=(lt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ic(e,t)}build(e,t,n){Uc(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return tl(e,t,n)}}})))()}function ol(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?sl:cl;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var sl,cl;function ll(){return(ll=t((()=>{sl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},cl={offset:`strokeDashoffset`,array:`strokeDasharray`}})))()}function ul(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Uc(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of dl)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&ol(d,i,a,o,!1)}var dl;function fl(){return(fl=t((()=>{Wc(),ll(),dl=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})))()}var pl;function ml(){return(ml=t((()=>{pl=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`])})))()}var hl;function gl(){return(gl=t((()=>{hl=e=>typeof e==`string`&&e.toLowerCase()===`svg`})))()}function _l(e,t,n,r){Gc(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(pl.has(n)?n:Pa(n),t.attrs[n])}function vl(){return(vl=t((()=>{ml()})))()}function yl(e,t,n){let r=tl(e,t,n);for(let n in e)if(q(e[n])||q(t[n])){let t=Nr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function bl(){return(bl=t((()=>{J(),K(),nl()})))()}var xl;function Sl(){return(Sl=t((()=>{K(),yo(),Vs(),pc(),fl(),ml(),gl(),vl(),bl(),xl=class extends fc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Pr.has(t)){let e=vo(t);return e&&e.default||0}return t=pl.has(t)?t:Pa(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return yl(e,t,n)}build(e,t,n){ul(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){_l(e,t,n,r)}mount(e){this.isSVGTag=hl(e.tagName),super.mount(e)}}})))()}function Cl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Cl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<wl;n++){let r=qs[n],i=e.props[r];(Gs(i)||i===!1)&&(t[r]=i)}return t}var wl;function Tl(){return(Tl=t((()=>{Js(),wl=qs.length})))()}function El(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Dl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ka(e,t,n)))}function Ol(e){let t=Dl(e),n=jl(),r=!0,i=!1,a=t=>(n,r)=>{let i=ba(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Cl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Nl;t++){let p=Ml[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Gs(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Ws(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=kl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=wa(t)&&wa(n)?!El(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ba(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Ki(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ba(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=jl(),i=!0}}}function kl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!El(t,e):!1}function Al(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function jl(){return{animate:Al(!0),whileInView:Al(),whileHover:Al(),whileTap:Al(),whileDrag:Al(),whileFocus:Al(),exit:Al()}}var Ml,Nl;function Pl(){return(Pl=t((()=>{qa(),Tl(),Ta(),xa(),Js(),Ml=[...Ks].reverse(),Nl=Ks.length})))()}function Fl(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Fl(e.x,t.x),Fl(e.y,t.y)}function Il(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Q(e){return e.max-e.min}function Ll(e,t,n){return Math.abs(e-t)<=n}function Rl(e,t,n,r=.5){e.origin=r,e.originPoint=U(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=U(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wl&&e.scale<=Gl||isNaN(e.scale))&&(e.scale=1),(e.translate>=Kl&&e.translate<=ql||isNaN(e.translate))&&(e.translate=0)}function zl(e,t,n,r){Rl(e.x,t.x,n.x,r?r.originX:void 0),Rl(e.y,t.y,n.y,r?r.originY:void 0)}function Bl(e,t,n,r=0){e.min=(r?U(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function Vl(e,t,n,r){Bl(e.x,t.x,n.x,r?.x),Bl(e.y,t.y,n.y,r?.y)}function Hl(e,t,n,r=0){let i=r?U(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function Ul(e,t,n,r){Hl(e.x,t.x,n.x,r?.x),Hl(e.y,t.y,n.y,r?.y)}var Wl,Gl,Kl,ql;function Jl(){return(Jl=t((()=>{W(),Wl=.9999,Gl=1.0001,Kl=-.01,ql=.01})))()}function Yl(e,t,n,r,i){return e-=t,e=wc(e,1/n,r),i!==void 0&&(e=wc(e,1/i,r)),e}function Xl(e,t=0,n=1,r=.5,i,a=e,o=e){if(L.test(t)&&(t=parseFloat(t),t=U(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=U(a.min,a.max,r);e===a&&(s-=t),e.min=Yl(e.min,t,n,s,i),e.max=Yl(e.max,t,n,s,i)}function Zl(e,t,[n,r,i],a,o){Xl(e,t[n],t[r],t[i],t.scale,a,o)}function Ql(e,t,n,r){Zl(e.x,t,$l,n?n.x:void 0,r?r.x:void 0),Zl(e.y,t,eu,n?n.y:void 0,r?r.y:void 0)}var $l,eu;function tu(){return(tu=t((()=>{W(),z(),Fc(),$l=[`x`,`scaleX`,`originX`],eu=[`y`,`scaleY`,`originY`]})))()}function nu(e){return e.translate===0&&e.scale===1}function ru(e){return nu(e.x)&&nu(e.y)}function iu(e,t){return e.min===t.min&&e.max===t.max}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function su(e,t){return ou(e.x,t.x)&&ou(e.y,t.y)}function cu(e){return Q(e.x)/Q(e.y)}function lu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function uu(){return(uu=t((()=>{Jl()})))()}function du(e){return[e(`x`),e(`y`)]}function fu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function pu(e,t,n,r,i,a){i?(e.opacity=U(0,n.opacity??1,yu(r)),e.opacityExit=U(t.opacity??1,0,bu(r))):a&&(e.opacity=U(t.opacity??1,n.opacity??1,r));for(let i=0;i<gu;i++){let a=Oo[i],o=mu(t,a),s=mu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||vu(o)===vu(s)?(e[a]=Math.max(U(_u(o),_u(s),r),0),(L.test(s)||L.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=U(t.rotate||0,n.rotate||0,r))}function mu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function hu(e,t,n){return r=>r<e?0:r>t?1:n(de(e,t,r))}var gu,_u,vu,yu,bu;function xu(){return(xu=t((()=>{W(),z(),fe(),Le(),k(),ko(),gu=Oo.length,_u=e=>typeof e==`string`?parseFloat(e):e,vu=e=>typeof e==`number`||R.test(e),yu=hu(0,.5,Fe),bu=hu(.5,.95,O)})))()}function Su(e,t,n){let r=q(e)?e:qi(e);return r.start(da(``,r,t,n)),r.animation}function Cu(){return(Cu=t((()=>{fa(),Qi(),J()})))()}function wu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Tu;function Eu(){return(Eu=t((()=>{Tu=(e,t)=>e.depth-t.depth})))()}var Du;function Ou(){return(Ou=t((()=>{Eu(),Du=class{constructor(){this.children=[],this.isDirty=!1}add(e){x(this.children,e),this.isDirty=!0}remove(e){S(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Tu),this.isDirty=!1,this.children.forEach(e)}}})))()}function ku(e,t){let n=F.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(nt(r),e(a-t))};return M.setup(r,!0),()=>nt(r)}function Au(){return(Au=t((()=>{ot(),P()})))()}function ju(e){return q(e)?e.get():e}function Mu(){return(Mu=t((()=>{J()})))()}var Nu;function Pu(){return(Pu=t((()=>{Nu=class{constructor(){this.members=[]}add(e){x(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(S(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(S(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})))()}var Fu;function Iu(){return(Iu=t((()=>{Fu={hasAnimatedSinceResize:!0,hasEverUpdated:!1}})))()}function Lu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ru(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Ra(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,M,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ru(r)}function zu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=fd++,this.animationId=0,this.animationCommitId=0,this.children=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={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,js.value&&(ld.nodes=ld.calculatedTargetDeltas=ld.calculatedProjections=0),this.nodes.forEach(Hu),this.nodes.forEach(Zu),this.nodes.forEach(Qu),this.nodes.forEach(Uu),js.addProjectionMetrics&&js.addProjectionMetrics(ld)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Du)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pe),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=fs(t)&&!Ns(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;M.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=ku(i,250),Fu.hasAnimatedSinceResize&&(Fu.hasAnimatedSinceResize=!1,this.nodes.forEach(Xu)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||pd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!su(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ea(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Xu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),nt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($u),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ru(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Ku),this.nodes.forEach(Gu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ju),this.nodes.forEach(Yu),this.nodes.forEach(Bu),this.nodes.forEach(Vu)):this.nodes.forEach(qu),this.clearAllSnapshots();let e=F.now();N.delta=C(0,1e3/60,e-N.timestamp),N.timestamp=e,N.isProcessing=!0,rt.update.process(N),rt.preRender.process(N),rt.render.process(N),N.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fo.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wu),this.sharedNodes.forEach(ed)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ru(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||xc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),od(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(cd))){let{scroll:e}=this.root;e&&(kc(t.x,e.offset.x),kc(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),kc(t.x,i.offset.x),kc(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||X();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(kc(r.x,-n.scroll.offset.x),kc(r.y,-n.scroll.offset.y)),xc(n.latestValues)&&Mc(r,n.latestValues,n.layout?.layoutBox)}return xc(this.latestValues)&&Mc(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!xc(n.latestValues))continue;let r;n.instance&&(bc(n.latestValues)&&n.updateSnapshot(),r=X(),Z(r,n.measurePageBox())),Ql(t,n.latestValues,n.snapshot?.layoutBox,r)}return xc(this.latestValues)&&Ql(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==N.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=N.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Vl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),Dc(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),js.value&&ld.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||bc(this.parent.latestValues)||Sc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),Ul(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===N.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Oc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Il(this.prevProjectionDelta.x,this.projectionDelta.x),Il(this.prevProjectionDelta.y,this.projectionDelta.y)),zl(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!lu(this.projectionDelta.x,this.prevProjectionDelta.x)||!lu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),js.value&&ld.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=zs(),this.projectionDelta=zs(),this.projectionDeltaWithTransform=zs()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=zs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=X(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(id));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=U(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=U(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(td(o.x,e.x,n),td(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ul(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),rd(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&au(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=X(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,pu(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(nt(this.pendingAnimation),void 0),this.pendingAnimation=M.update(()=>{Fu.hasAnimatedSinceResize=!0,this.motionValue||=qi(0),this.motionValue.jump(0,!1),this.currentAnimation=Su(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(dd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&sd(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||X();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),Mc(t,i),zl(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Nu),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Lu(`z`,e,r,this.animationValues);for(let t=0;t<ud.length;t++)Lu(`rotate${ud[t]}`,e,r,this.animationValues),Lu(`skew${ud[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=ju(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=ju(t?.pointerEvents)||``),this.hasProjected&&!xc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=fu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Zc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Zc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?ju(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Gu),this.root.sharedNodes.clear()}}}function Bu(e){e.updateLayout()}function Vu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)du(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Fl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else sd(i,t.layoutBox,n)&&du(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=zs();zl(o,n,t.layoutBox);let s=zs();a?zl(s,e.applyTransform(r,!0),t.measuredBox):zl(s,n,t.layoutBox);let c=!ru(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=X();Ul(s,t.layoutBox,i.layoutBox,o);let c=X();Ul(c,n,a.layoutBox,o),su(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Hu(e){js.value&&ld.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Uu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Wu(e){e.clearSnapshot()}function Gu(e){e.clearMeasurements()}function Ku(e){e.isLayoutDirty=!0,e.updateLayout()}function qu(e){e.isLayoutDirty=!1}function Ju(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Yu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Xu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Zu(e){e.resolveTargetDelta()}function Qu(e){e.calcProjection()}function $u(e){e.resetSkewAndRotation()}function ed(e){e.removeLeadSnapshot()}function td(e,t,n){e.translate=U(t.translate,0,n),e.scale=U(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function nd(e,t,n,r){e.min=U(t.min,n.min,r),e.max=U(t.max,n.max,r)}function rd(e,t,n,r){nd(e.x,t.x,n.x,r),nd(e.y,t.y,n.y,r)}function id(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function ad(e){e.min=hd(e.min),e.max=hd(e.max)}function od(e){ad(e.x),ad(e.y)}function sd(e,t,n){return e===`position`||e===`preserve-aspect`&&!Ll(cu(t),cu(n),.2)}function cd(e){return e!==e.root&&e.scroll?.wasRoot}var ld,ud,dd,fd,pd,md,hd;function gd(){return(gd=t((()=>{me(),w(),k(),Cu(),za(),ta(),Lo(),ot(),Qc(),Ms(),Au(),ps(),Ps(),W(),Qi(),Mu(),xu(),Fc(),Jl(),tu(),Vs(),uu(),Pu(),Ou(),Iu(),P(),ld={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ud=[``,`X`,`Y`,`Z`],dd=1e3,fd=0,pd={duration:.45,ease:[.4,0,.1,1]},md=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hd=md(`applewebkit/`)&&!md(`chrome/`)?Math.round:O})))()}var _d;function vd(){return(vd=t((()=>{gd(),_d=zu({attachResizeListener:(e,t)=>wu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})))()}var yd,bd;function xd(){return(xd=t((()=>{gd(),vd(),yd={current:void 0},bd=zu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yd.current){let e=new _d({});e.mount(window),e.setOptions({layoutScroll:!0}),yd.current=e}return yd.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})))()}var Sd,Cd;function wd(){return(wd=t((()=>{Sd=i(),Cd=(0,Sd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})})))()}function Td(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ed(...e){return t=>{let n=!1,r=e.map(e=>{let r=Td(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Td(e[t],null)}}}}function Dd(...e){return Od.useCallback(Ed(...e),e)}var Od;function kd(){return(kd=t((()=>{Od=n(i(),1)})))()}function Ad({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,Nd.useId)(),s=(0,Nd.useRef)(null),c=(0,Nd.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,Nd.useContext)(Cd),u=Dd(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,Nd.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
1
+ import{a as e,n as t,o as n,r}from"./rolldown-runtime-C0FnF6B9.js";import{t as i}from"./react-C21x__mS.js";import{n as a}from"./iframe-BnjRbLCp.js";import{c as o}from"./ModalManagerProvider-B1XUXs-1.js";var s,c;function l(){return(l=t((()=>{s=i(),c=(0,s.createContext)({})})))()}function u(e){let t=(0,d.useRef)(null);return t.current===null&&(t.current=e()),t.current}var d;function f(){return(f=t((()=>{d=i()})))()}var p;function m(){return(m=t((()=>{p=typeof window<`u`})))()}var h,g;function _(){return(_=t((()=>{h=i(),m(),g=p?h.useLayoutEffect:h.useEffect})))()}var v,y;function b(){return(b=t((()=>{v=i(),y=(0,v.createContext)(null)})))()}function x(e,t){e.indexOf(t)===-1&&e.push(t)}function S(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var C;function w(){return(w=t((()=>{C=(e,t,n)=>n>t?t:n<e?e:n})))()}var T,E;function D(){return(D=t((()=>{T=()=>{},E=()=>{}})))()}var ee;function te(){return(te=t((()=>{ee={}})))()}var ne;function re(){return(re=t((()=>{ne=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})))()}var ie;function ae(){return(ae=t((()=>{ie=e=>typeof e==`object`&&!!e})))()}var oe;function se(){return(se=t((()=>{oe=e=>/^0[^.\s]+$/u.test(e)})))()}function ce(e){let t;return()=>(t===void 0&&(t=e()),t)}var O;function k(){return(k=t((()=>{O=e=>e})))()}var le;function ue(){return(ue=t((()=>{le=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})))()}var de;function fe(){return(fe=t((()=>{de=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})))()}var pe;function me(){return(me=t((()=>{pe=class{constructor(){this.subscriptions=[]}add(e){return x(this.subscriptions,e),()=>S(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})))()}var A,j;function he(){return(he=t((()=>{A=e=>e*1e3,j=e=>e/1e3})))()}var ge;function _e(){return(_e=t((()=>{ge=(e,t)=>t?1e3/t*e:0})))()}function ve(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=be(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>xe&&++s<Se);return o}function ye(e,t,n,r){if(e===t&&n===r)return O;let i=t=>ve(t,0,1,e,n);return e=>e===0||e===1?e:be(i(e),t,r)}var be,xe,Se;function Ce(){return(Ce=t((()=>{k(),be=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xe=1e-7,Se=12})))()}var we;function Te(){return(Te=t((()=>{we=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})))()}var Ee;function De(){return(De=t((()=>{Ee=e=>t=>1-e(1-t)})))()}var Oe,ke,Ae;function je(){return(je=t((()=>{Ce(),Te(),De(),Oe=ye(.33,1.53,.69,.99),ke=Ee(Oe),Ae=we(ke)})))()}var Me;function Ne(){return(Ne=t((()=>{je(),Me=e=>e>=1?1:(e*=2)<1?.5*ke(e):.5*(2-2**(-10*(e-1)))})))()}var Pe,Fe,Ie;function Le(){return(Le=t((()=>{Te(),De(),Pe=e=>1-Math.sin(Math.acos(e)),Fe=Ee(Pe),Ie=we(Pe)})))()}var Re,ze,Be;function Ve(){return(Ve=t((()=>{Ce(),Re=ye(.42,0,1,1),ze=ye(0,0,.58,1),Be=ye(.42,0,.58,1)})))()}var He;function Ue(){return(Ue=t((()=>{He=e=>Array.isArray(e)&&typeof e[0]!=`number`})))()}var We;function Ge(){return(Ge=t((()=>{We=e=>Array.isArray(e)&&typeof e[0]==`number`})))()}var Ke,qe,Je;function Ye(){return(Ye=t((()=>{D(),k(),Ne(),je(),Le(),Ce(),Ve(),Ge(),Ke={linear:O,easeIn:Re,easeInOut:Be,easeOut:ze,circIn:Pe,circInOut:Ie,circOut:Fe,backIn:ke,backInOut:Ae,backOut:Oe,anticipate:Me},qe=e=>typeof e==`string`,Je=e=>{if(We(e)){E(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return ye(t,n,r,i)}return qe(e)?(E(Ke[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Ke[e]):e}})))()}var Xe;function Ze(){return(Ze=t((()=>{Xe=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})))()}function Qe(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}function $e(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Xe.reduce((e,t)=>(e[t]=Qe(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ee.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,et),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Xe.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Xe.length;t++)o[Xe[t]].cancel(e)},state:i,steps:o}}var et;function tt(){return(tt=t((()=>{te(),Ze(),et=40})))()}var M,nt,N,rt;function P(){return(P=t((()=>{k(),tt(),{schedule:M,cancel:nt,state:N,steps:rt}=$e(typeof requestAnimationFrame<`u`?requestAnimationFrame:O,!0)})))()}function it(){at=void 0}var at,F;function ot(){return(ot=t((()=>{te(),P(),F={now:()=>(at===void 0&&F.set(N.isProcessing||ee.useManualTiming?N.timestamp:performance.now()),at),set:e=>{at=e,queueMicrotask(it)}}})))()}function st(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var ct,lt,ut,dt,ft;function pt(){return(pt=t((()=>{ct=e=>t=>typeof t==`string`&&t.startsWith(e),lt=ct(`--`),ut=ct(`var(--`),dt=e=>ut(e)?ft.test(e.split(`/*`)[0].trim()):!1,ft=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})))()}var mt,ht,gt;function _t(){return(_t=t((()=>{w(),mt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},ht={...mt,transform:e=>C(0,1,e)},gt={...mt,default:1}})))()}var vt;function yt(){return(yt=t((()=>{vt=e=>Math.round(e*1e5)/1e5})))()}var bt;function xt(){return(xt=t((()=>{bt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})))()}function St(e){return e==null}var Ct;function wt(){return(wt=t((()=>{Ct=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})))()}var Tt,Et;function Dt(){return(Dt=t((()=>{xt(),wt(),Tt=(e,t)=>n=>!!(typeof n==`string`&&Ct.test(n)&&n.startsWith(e)||t&&!St(n)&&Object.prototype.hasOwnProperty.call(n,t)),Et=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(bt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})))()}var Ot,kt,At;function jt(){return(jt=t((()=>{w(),_t(),yt(),Dt(),Ot=e=>C(0,255,e),kt={...mt,transform:e=>Math.round(Ot(e))},At={test:Tt(`rgb`,`red`),parse:Et(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+kt.transform(e)+`, `+kt.transform(t)+`, `+kt.transform(n)+`, `+vt(ht.transform(r))+`)`}})))()}function Mt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Nt;function Pt(){return(Pt=t((()=>{jt(),Dt(),Nt={test:Tt(`#`),parse:Mt,transform:At.transform}})))()}var Ft,I,L,R,It,Lt,Rt;function z(){return(z=t((()=>{Ft=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),I=Ft(`deg`),L=Ft(`%`),R=Ft(`px`),It=Ft(`vh`),Lt=Ft(`vw`),Rt={...L,parse:e=>L.parse(e)/100,transform:e=>L.transform(e*100)}})))()}var zt;function Bt(){return(Bt=t((()=>{_t(),z(),yt(),Dt(),zt={test:Tt(`hsl`,`hue`),parse:Et(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+L.transform(vt(t))+`, `+L.transform(vt(n))+`, `+vt(ht.transform(r))+`)`}})))()}var B;function Vt(){return(Vt=t((()=>{Pt(),Bt(),jt(),B={test:e=>At.test(e)||Nt.test(e)||zt.test(e),parse:e=>At.test(e)?At.parse(e):zt.test(e)?zt.parse(e):Nt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?At.transform(e):zt.transform(e),getAnimatableNone:e=>{let t=B.parse(e);return t.alpha=0,B.transform(t)}}})))()}var Ht;function Ut(){return(Ut=t((()=>{Ht=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu})))()}function Wt(e){return isNaN(e)&&typeof e==`string`&&(e.match(bt)?.length||0)+(e.match(Ht)?.length||0)>0}function Gt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(tn,e=>(B.test(e)?(r.color.push(a),i.push(Zt),n.push(B.parse(e))):e.startsWith($t)?(r.var.push(a),i.push(Qt),n.push(e)):(r.number.push(a),i.push(Xt),n.push(parseFloat(e))),++a,en)).split(en),indexes:r,types:i}}function Kt(e){return Gt(e).values}function qt({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Xt?vt(r[a]):e===Zt?B.transform(r[a]):r[a]}return i}}function Jt(e){return qt(Gt(e))}function Yt(e){let t=Gt(e);return qt(t)(t.values.map((e,n)=>rn(e,t.split[n])))}var Xt,Zt,Qt,$t,en,tn,nn,rn,V;function H(){return(H=t((()=>{Vt(),Ut(),xt(),yt(),Xt=`number`,Zt=`color`,Qt=`var`,$t=`var(`,en="${}",tn=/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,nn=e=>typeof e==`number`?0:B.test(e)?B.getAnimatableNone(e):e,rn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:nn(e),V={test:Wt,parse:Kt,createTransformer:Jt,getAnimatableNone:Yt}})))()}function an(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function on({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=an(s,r,e+1/3),a=an(s,r,e),o=an(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function sn(e,t){return n=>n>0?t:e}var U;function W(){return(W=t((()=>{U=(e,t,n)=>e+(t-e)*n})))()}function cn(e){let t=dn(e);if(T(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===zt&&(n=on(n)),n}var ln,un,dn,fn;function pn(){return(pn=t((()=>{D(),Pt(),Bt(),jt(),W(),ln=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},un=[Nt,At,zt],dn=e=>un.find(t=>t.test(e)),fn=(e,t)=>{let n=cn(e),r=cn(t);if(!n||!r)return sn(e,t);let i={...n};return e=>(i.red=ln(n.red,r.red,e),i.green=ln(n.green,r.green,e),i.blue=ln(n.blue,r.blue,e),i.alpha=U(n.alpha,r.alpha,e),At.transform(i))}})))()}function mn(e,t){return hn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var hn;function gn(){return(gn=t((()=>{hn=new Set([`none`,`hidden`])})))()}function _n(e,t){return n=>U(e,t,n)}function vn(e){return typeof e==`number`?_n:typeof e==`string`?dt(e)?sn:B.test(e)?fn:Sn:Array.isArray(e)?yn:typeof e==`object`?B.test(e)?fn:bn:sn}function yn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>vn(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function bn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=vn(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function xn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Sn;function Cn(){return(Cn=t((()=>{ue(),D(),pt(),Vt(),H(),pn(),W(),gn(),Sn=(e,t)=>{let n=V.createTransformer(t),r=Gt(e),i=Gt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?hn.has(e)&&!i.values.length||hn.has(t)&&!r.values.length?mn(e,t):le(yn(xn(r,i),i.values),n):(T(!0,`Complex values '${e}' and '${t}' 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`),sn(e,t))}})))()}function wn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?U(e,t,n):vn(e)(e,t)}function Tn(){return(Tn=t((()=>{Cn(),W()})))()}var En;function Dn(){return(Dn=t((()=>{ot(),P(),En=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>M.update(t,e),stop:()=>nt(t),now:()=>N.isProcessing?N.timestamp:F.now()}}})))()}var On;function kn(){return(kn=t((()=>{On=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}})))()}function An(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var jn;function Mn(){return(Mn=t((()=>{jn=2e4})))()}function Nn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(An(r),jn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:j(i)}}function Pn(){return(Pn=t((()=>{he(),Mn()})))()}function Fn(e,t){return e*Math.sqrt(1-t*t)}function In(e,t,n){let r=n;for(let n=1;n<Vn;n++)r-=e(r)/t(r);return r}function Ln({duration:e=G.duration,bounce:t=G.bounce,velocity:n=G.velocity,mass:r=G.mass}){let i,a;T(e<=A(G.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=C(G.minDamping,G.maxDamping,o),e=C(G.minDuration,G.maxDuration,j(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Fn(t,o),c=Math.exp(-i);return Hn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Fn(t**2,o);return(-i(t)+Hn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=In(i,a,s);if(e=A(e),isNaN(c))return{stiffness:G.stiffness,damping:G.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Rn(e,t){return t.some(t=>e[t]!==void 0)}function zn(e){let t={velocity:G.velocity,stiffness:G.stiffness,damping:G.damping,mass:G.mass,isResolvedFromDuration:!1,...e};if(!Rn(e,Wn)&&Rn(e,Un))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*C(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:G.mass,stiffness:i,damping:a}}else{let n=Ln({...e,velocity:0});t={...t,...n,mass:G.mass},t.isResolvedFromDuration=!0}return t}function Bn(e=G.visualDuration,t=G.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=zn({...n,velocity:-j(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=j(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?G.restSpeed.granular:G.restSpeed.default,i||=v?G.restDelta.granular:G.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Fn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>A(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=A(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=A(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(An(T),jn),t=On(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}var G,Vn,Hn,Un,Wn;function Gn(){return(Gn=t((()=>{he(),w(),D(),kn(),Mn(),Pn(),G={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Vn=12,Hn=.001,Un=[`duration`,`bounce`],Wn=[`stiffness`,`damping`,`mass`],Bn.applyToOptions=e=>{let t=Nn(e,100,Bn);return e.ease=t.ease,e.duration=A(t.duration),e.type=`keyframes`,e}})))()}function Kn(e,t,n){let r=Math.max(t-qn,0);return ge(n-e(r),t-r)}var qn;function Jn(){return(Jn=t((()=>{_e(),qn=5})))()}function Yn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Bn({keyframes:[f.value,m(f.value)],velocity:Kn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Xn(){return(Xn=t((()=>{Gn(),Jn()})))()}function Zn(e,t,n){let r=[],i=n||ee.mix||wn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||O:t;a=le(e,a)}r.push(a)}return r}function Qn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(E(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Zn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=de(e[r],e[r+1],n);return s[r](i)};return n?t=>l(C(e[0],e[a-1],t)):l}function $n(){return($n=t((()=>{D(),w(),te(),k(),ue(),fe(),Tn()})))()}function er(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=de(0,t,r);e.push(U(n,1,i))}}function tr(){return(tr=t((()=>{fe(),W()})))()}function nr(e){let t=[0];return er(t,e.length-1),t}function rr(){return(rr=t((()=>{tr()})))()}function ir(e,t){return e.map(e=>e*t)}function ar(e,t){return e.map(()=>t||Be).splice(0,e.length-1)}function or({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=He(r)?r.map(Je):Je(r),a={done:!1,value:t[0]},o=Qn(ir(n&&n.length===t.length?n:nr(t),e),t,{ease:Array.isArray(i)?i:ar(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}function sr(){return(sr=t((()=>{Ve(),Ue(),Ye(),$n(),rr()})))()}function cr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(lr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var lr;function ur(){return(ur=t((()=>{lr=e=>e!==null})))()}function dr(e){typeof e.type==`string`&&(e.type=fr[e.type])}var fr;function pr(){return(pr=t((()=>{Xn(),sr(),Gn(),fr={decay:Yn,inertia:Yn,tween:or,keyframes:or,spring:Bn}})))()}var mr;function hr(){return(hr=t((()=>{mr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})))()}var gr,_r;function vr(){return(vr=t((()=>{ue(),w(),he(),ot(),Tn(),Dn(),Xn(),sr(),Mn(),Jn(),ur(),pr(),hr(),gr=e=>e/100,_r=class extends mr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==F.now()&&this.tick(F.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;dr(e);let{type:t=or,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||or;s!==or&&typeof o[0]!=`number`&&(this.mixKeyframes=le(gr,wn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=An(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=C(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Yn&&(b.value=cr(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return j(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(this.currentTime)}set time(e){e=A(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Kn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(F.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=j(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=En,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(F.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}})))()}function yr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}function br(e){return+!!e.includes(`scale`)}function xr(e,t){if(!e||e===`none`)return br(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ar,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Tr,i=t}if(!i)return br(t);let a=r[t],o=i[1].split(`,`).map(Sr);return typeof a==`function`?a(o):o[a]}function Sr(e){return parseFloat(e.trim())}var Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr;function Mr(){return(Mr=t((()=>{Cr=e=>e*180/Math.PI,wr=e=>{let t=Cr(Math.atan2(e[1],e[0]));return Er(t)},Tr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:wr,rotateZ:wr,skewX:e=>Cr(Math.atan(e[1])),skewY:e=>Cr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Er=e=>(e%=360,e<0&&(e+=360),e),Dr=wr,Or=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),kr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ar={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Or,scaleY:kr,scale:e=>(Or(e)+kr(e))/2,rotateX:e=>Er(Cr(Math.atan2(e[6],e[5]))),rotateY:e=>Er(Cr(Math.atan2(-e[2],e[0]))),rotateZ:Dr,rotate:Dr,skewX:e=>Cr(Math.atan(e[4])),skewY:e=>Cr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},jr=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return xr(n,t)}})))()}var Nr,Pr;function K(){return(K=t((()=>{Nr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pr=new Set([...Nr,`pathRotation`])})))()}function Fr(e){let t=[];return Rr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ir,Lr,Rr,zr;function Br(){return(Br=t((()=>{Mr(),K(),_t(),z(),Ir=e=>e===mt||e===R,Lr=new Set([`x`,`y`,`z`]),Rr=Nr.filter(e=>!Lr.has(e)),zr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>xr(t,`x`),y:(e,{transform:t})=>xr(t,`y`)},zr.translateX=zr.x,zr.translateY=zr.y})))()}function Vr(){if(Kr){let e=Array.from(Wr).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Fr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Kr=!1,Gr=!1,Wr.forEach(e=>e.complete(qr)),Wr.clear()}function Hr(){Wr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Kr=!0)})}function Ur(){qr=!0,Hr(),Vr(),qr=!1}var Wr,Gr,Kr,qr,Jr;function Yr(){return(Yr=t((()=>{Br(),P(),Wr=new Set,Gr=!1,Kr=!1,qr=!1,Jr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Wr.add(this),Gr||(Gr=!0,M.read(Hr),M.resolveKeyframes(Vr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}yr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Wr.delete(this)}cancel(){this.state===`scheduled`&&(Wr.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})))()}var Xr;function Zr(){return(Zr=t((()=>{Xr=e=>e.startsWith(`--`)})))()}function Qr(e,t,n){Xr(t)?e.style.setProperty(t,n):e.style[t]=n}function $r(){return($r=t((()=>{Zr()})))()}var ei;function ti(){return(ti=t((()=>{ei={}})))()}function ni(e,t){let n=ce(e);return()=>ei[t]??n()}function ri(){return(ri=t((()=>{ti()})))()}var ii;function ai(){return(ai=t((()=>{ri(),ii=ni(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})))()}var oi;function si(){return(si=t((()=>{ri(),oi=ni(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})))()}var ci;function li(){return(li=t((()=>{ci=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})))()}var ui;function di(){return(di=t((()=>{li(),ui={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:ci([0,.65,.55,1]),circOut:ci([.55,0,1,.45]),backIn:ci([.31,.01,.66,-.59]),backOut:ci([.33,1.53,.69,.99])}})))()}function fi(e,t){if(e)return typeof e==`function`?oi()?On(e,t):`ease-out`:We(e)?ci(e):Array.isArray(e)?e.map(e=>fi(e,t)||ui.easeOut):ui[e]}function pi(){return(pi=t((()=>{Ge(),si(),kn(),li(),di()})))()}function mi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=fi(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function hi(){return(hi=t((()=>{pi()})))()}function gi(e){return typeof e==`function`&&`applyToOptions`in e}function _i({type:e,...t}){return gi(e)&&oi()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}function vi(){return(vi=t((()=>{si()})))()}var yi;function bi(){return(bi=t((()=>{D(),he(),k(),$r(),ai(),ur(),hr(),hi(),vi(),yi=class extends mr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,E(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=_i(e);this.animation=mi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=cr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Qr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return j(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=A(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ii()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),O):r(this)}}})))()}function xi(e){return e in Ci}function Si(e){typeof e.ease==`string`&&xi(e.ease)&&(e.ease=Ci[e.ease])}var Ci;function wi(){return(wi=t((()=>{Le(),je(),Ne(),Ci={anticipate:Me,backInOut:Ae,circInOut:Ie}})))()}var Ti,Ei;function Di(){return(Di=t((()=>{w(),ot(),$r(),vr(),bi(),pr(),wi(),Ti=10,Ei=class extends yi{constructor(e){Si(e),dr(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new _r({...a,autoplay:!1}),s=Math.max(Ti,F.now()-this.startTime),c=C(0,Ti,s-Ti),l=o.sample(s).value,{name:u}=this.options;i&&u&&Qr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})))()}var Oi;function ki(){return(ki=t((()=>{H(),Oi=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(V.test(e)||e===`0`)&&!e.startsWith(`url(`))})))()}function Ai(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function ji(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Oi(i,t),s=Oi(a,t);return T(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:Ai(e)||(n===`spring`||gi(n))&&r}function Mi(){return(Mi=t((()=>{D(),ki()})))()}function Ni(e){e.duration=0,e.type=`keyframes`}var Pi;function Fi(){return(Fi=t((()=>{Pi=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])})))()}function Ii(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Li.test(e[t]))return!0;return!1}var Li;function Ri(){return(Ri=t((()=>{Li=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/})))()}function zi(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Vi()&&n&&(Pi.has(n)||Bi.has(n)&&Ii(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Bi,Vi;function Hi(){return(Hi=t((()=>{Fi(),Ri(),Bi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Vi=ce(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})))()}var Ui,Wi;function Gi(){return(Gi=t((()=>{te(),k(),ot(),vr(),ur(),Yr(),Di(),Mi(),hr(),Hi(),Ui=40,Wi=class extends mr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=F.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||Jr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=F.now();let u=!0;ji(e,i,a,o)||(u=!1,(ee.instantAnimations||!s)&&l?.(cr(e,n,t)),e[0]=e[e.length-1],Ni(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Ui?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&zi(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ei({...d,element:p})}catch{m=new _r(d)}else m=new _r(d);m.finished.then(()=>{this.notifyFinished()}).catch(O),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ur()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}})))()}function Ki(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function qi(e,t){return new Zi(e,t)}var Ji,Yi,Xi,Zi;function Qi(){return(Qi=t((()=>{me(),_e(),ot(),P(),Ji=30,Yi=e=>!isNaN(parseFloat(e)),Xi={current:void 0},Zi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=F.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=F.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Yi(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new pe);let n=this.events[e].add(t);return e===`change`?()=>{n(),M.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Xi.current&&Xi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=F.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ji)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Ji);return ge(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}})))()}function $i(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function ea(e,t){let n=e?.[t]??e?.default??e;return n===e?n:$i(n,e)}function ta(){return(ta=t((()=>{})))()}var na,ra,ia,aa,oa;function sa(){return(sa=t((()=>{K(),na={type:`spring`,stiffness:500,damping:25,restSpeed:10},ra=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ia={type:`keyframes`,duration:.8},aa={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},oa=(e,{keyframes:t})=>t.length>2?ia:Pr.has(e)?e.startsWith(`scale`)?ra(t[1]):na:aa})))()}function ca(e){for(let t in e)if(!la.has(t))return!0;return!1}var la;function ua(){return(ua=t((()=>{la=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})))()}var da;function fa(){return(fa=t((()=>{he(),te(),Gi(),vr(),ta(),sa(),ur(),ua(),P(),da=(e,t,n,r={},i,a)=>o=>{let s=ea(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=A(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};ca(s)||Object.assign(u,oa(e,u)),u.duration&&=A(u.duration),u.repeatDelay&&=A(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Ni(u),u.delay===0&&(d=!0)),(ee.instantAnimations||ee.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Ni(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=cr(u.keyframes,s);if(e!==void 0){M.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new _r(u):new Wi(u)}})))()}function pa(e){let t=ha.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function ma(e,t,n=1){E(n<=ga,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=pa(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ne(e)?parseFloat(e):e}return dt(i)?ma(i,t,n+1):i}var ha,ga;function _a(){return(_a=t((()=>{D(),re(),pt(),ha=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ga=4})))()}function va(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ya(e,t,n,r){if(typeof t==`function`){let[i,a]=va(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=va(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ba(e,t,n){let r=e.getProps();return ya(r,t,n===void 0?r.custom:n,e)}function xa(){return(xa=t((()=>{})))()}var Sa;function Ca(){return(Ca=t((()=>{K(),Sa=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nr])})))()}var wa;function Ta(){return(Ta=t((()=>{wa=e=>Array.isArray(e)})))()}function Ea(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qi(n))}function Da(e){return wa(e)?e[e.length-1]||0:e}function Oa(e,t){let{transitionEnd:n={},transition:r={},...i}=ba(e,t)||{};i={...i,...n};for(let t in i)Ea(e,t,Da(i[t]))}function ka(){return(ka=t((()=>{Qi(),xa(),Ta()})))()}var q;function J(){return(J=t((()=>{q=e=>!!(e&&e.getVelocity)})))()}function Aa(e){return!!(q(e)&&e.add)}function ja(){return(ja=t((()=>{J()})))()}function Ma(e,t){let n=e.getValue(`willChange`);if(Aa(n))return n.add(t);if(!n&&ee.WillChange){let n=new ee.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Na(){return(Na=t((()=>{te(),ja()})))()}function Pa(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Fa,Ia;function La(){return(La=t((()=>{Fa=`framerAppearId`,Ia=`data-`+Pa(Fa)})))()}function Ra(e){return e.props[Ia]}function za(){return(za=t((()=>{La()})))()}function Ba({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Va(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?$i(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Ba(f,t))continue;let o={delay:n,...ea(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){M.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=Ra(e);if(n){let e=window.MotionHandoffAnimation(n,t,M);e!==null&&(o.startTime=e,p=!0)}}Ma(e,t);let m=l??e.shouldReduceMotion;r.start(da(t,r,i,m&&Sa.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>M.update(()=>{o&&Oa(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Ha(){return(Ha=t((()=>{ta(),Ca(),ka(),Na(),za(),fa(),P()})))()}function Ua(e,t,n={}){let r=ba(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Va(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Wa(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Wa(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Ua(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Ki(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Ga(){return(Ga=t((()=>{xa(),Ha()})))()}function Ka(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Ua(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Ua(e,t,n);else{let i=typeof t==`function`?ba(e,t,n.custom):t;r=Promise.all(Va(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}function qa(){return(qa=t((()=>{xa(),Ha(),Ga()})))()}var Ja;function Ya(){return(Ya=t((()=>{Ja={test:e=>e===`auto`,parse:e=>e}})))()}var Xa;function Za(){return(Za=t((()=>{Xa=e=>t=>t.test(e)})))()}var Qa,$a;function eo(){return(eo=t((()=>{Ya(),_t(),z(),Za(),Qa=[mt,R,L,I,Lt,It,Ja],$a=e=>Qa.find(Xa(e))})))()}function to(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||oe(e)}function no(){return(no=t((()=>{se()})))()}function ro(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(bt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!io.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var io,ao,oo;function so(){return(so=t((()=>{H(),xt(),io=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),ao=/\b([a-z-]*)\(.*?\)/gu,oo={...V,getAnimatableNone:e=>{let t=e.match(ao);return t?t.map(ro).join(` `):e}}})))()}var co;function lo(){return(lo=t((()=>{H(),co={...V,getAnimatableNone:e=>{let t=V.parse(e);return V.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})))()}var uo;function fo(){return(fo=t((()=>{_t(),uo={...mt,transform:Math.round}})))()}var po;function mo(){return(mo=t((()=>{_t(),z(),po={rotate:I,pathRotation:I,rotateX:I,rotateY:I,rotateZ:I,scale:gt,scaleX:gt,scaleY:gt,scaleZ:gt,skew:I,skewX:I,skewY:I,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:ht,originX:Rt,originY:Rt,originZ:R}})))()}var ho;function go(){return(go=t((()=>{fo(),_t(),z(),mo(),ho={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,fontSize:R,backgroundPositionX:R,backgroundPositionY:R,...po,zIndex:uo,fillOpacity:ht,strokeOpacity:ht,numOctaves:uo}})))()}var _o,vo;function yo(){return(yo=t((()=>{Vt(),so(),lo(),go(),_o={...ho,color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:oo,WebkitFilter:oo,mask:co,WebkitMask:co},vo=e=>_o[e]})))()}function bo(e,t){let n=vo(e);return xo.has(n)||(n=V),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var xo;function So(){return(So=t((()=>{H(),so(),lo(),yo(),xo=new Set([oo,co])})))()}function Co(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!wo.has(t)&&Gt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=bo(n,i)}var wo;function To(){return(To=t((()=>{H(),So(),wo=new Set([`auto`,`none`,`0`])})))()}var Eo;function Do(){return(Do=t((()=>{Ca(),eo(),_a(),pt(),Yr(),no(),To(),Br(),Eo=class extends Jr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),dt(r))){let i=ma(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Sa.has(n)||e.length!==2)return;let[r,i]=e,a=$a(r),o=$a(i);if(st(r)!==st(i)&&zr[n]){this.needsMeasurement=!0;return}if(a!==o)if(Ir(a)&&Ir(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else zr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||to(e[t]))&&n.push(t);n.length&&Co(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=zr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})))()}var Oo;function ko(){return(ko=t((()=>{Oo=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]})))()}function Ao(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var jo;function Mo(){return(Mo=t((()=>{jo=(e,t)=>t&&typeof e==`number`?t.transform(e):e})))()}function No(e){return ie(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function Po(){return(Po=t((()=>{ae()})))()}var Fo,Io;function Lo(){return(Lo=t((()=>{tt(),{schedule:Fo,cancel:Io}=$e(queueMicrotask,!1)})))()}function Ro(){return Y.x||Y.y}var Y;function zo(){return(zo=t((()=>{Y={x:!1,y:!1}})))()}function Bo(e){return e===`x`||e===`y`?Y[e]?null:(Y[e]=!0,()=>{Y[e]=!1}):Y.x||Y.y?null:(Y.x=Y.y=!0,()=>{Y.x=Y.y=!1})}function Vo(){return(Vo=t((()=>{zo()})))()}function Ho(e,t){let n=Ao(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Uo(){return(Uo=t((()=>{})))()}function Wo(e){return!(e.pointerType===`touch`||Ro())}function Go(e,t,n={}){let[r,i,a]=Ho(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Wo(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}function Ko(){return(Ko=t((()=>{zo(),Uo()})))()}var qo;function Jo(){return(Jo=t((()=>{qo=(e,t)=>t?e===t||qo(e,t.parentElement):!1})))()}var Yo;function Xo(){return(Xo=t((()=>{Yo=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1})))()}function Zo(e){return $o.has(e.tagName)||e.isContentEditable===!0}function Qo(e){return es.has(e.tagName)||e.isContentEditable===!0}var $o,es;function ts(){return(ts=t((()=>{$o=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),es=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})))()}var ns;function rs(){return(rs=t((()=>{ns=new WeakSet})))()}function is(e){return t=>{t.key===`Enter`&&e(t)}}function as(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var os;function ss(){return(ss=t((()=>{rs(),os=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=is(()=>{if(ns.has(n))return;as(n,`down`);let e=is(()=>{as(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>as(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}})))()}function cs(e){return Yo(e)&&!Ro()}function ls(e,t,n={}){let[r,i,a]=Ho(e,n),o=e=>{let r=e.currentTarget;if(!cs(e)||us.has(e))return;ns.add(r),n.stopPropagation&&us.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),ns.has(r)&&ns.delete(r),cs(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||qo(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),No(e)&&(e.addEventListener(`focus`,e=>os(e,i)),!Zo(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var us;function ds(){return(ds=t((()=>{Po(),zo(),Jo(),Xo(),Uo(),ts(),ss(),rs(),us=new WeakSet})))()}function fs(e){return ie(e)&&`ownerSVGElement`in e}function ps(){return(ps=t((()=>{ae()})))()}function ms({target:e,borderBoxSize:t}){vs.get(e)?.forEach(n=>{n(e,{get width(){return xs(e,t)},get height(){return Ss(e,t)}})})}function hs(e){e.forEach(ms)}function gs(){typeof ResizeObserver>`u`||(ys=new ResizeObserver(hs))}function _s(e,t){ys||gs();let n=Ao(e);return n.forEach(e=>{let n=vs.get(e);n||(n=new Set,vs.set(e,n)),n.add(t),ys?.observe(e)}),()=>{n.forEach(e=>{let n=vs.get(e);n?.delete(t),n?.size||ys?.unobserve(e)})}}var vs,ys,bs,xs,Ss;function Cs(){return(Cs=t((()=>{ps(),vs=new WeakMap,bs=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:fs(r)&&`getBBox`in r?r.getBBox()[t]:r[n],xs=bs(`inline`,`width`,`offsetWidth`),Ss=bs(`block`,`height`,`offsetHeight`)})))()}function ws(){Ds=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Es.forEach(t=>t(e))},window.addEventListener(`resize`,Ds)}function Ts(e){return Es.add(e),Ds||ws(),()=>{Es.delete(e),!Es.size&&typeof Ds==`function`&&(window.removeEventListener(`resize`,Ds),Ds=void 0)}}var Es,Ds;function Os(){return(Os=t((()=>{Es=new Set})))()}function ks(e,t){return typeof e==`function`?Ts(e):_s(e,t)}function As(){return(As=t((()=>{Cs(),Os()})))()}var js;function Ms(){return(Ms=t((()=>{js={value:null,addProjectionMetrics:null}})))()}function Ns(e){return fs(e)&&e.tagName===`svg`}function Ps(){return(Ps=t((()=>{ps()})))()}var Fs,Is;function Ls(){return(Ls=t((()=>{Vt(),H(),eo(),Za(),Fs=[...Qa,B,V],Is=e=>Fs.find(Xa(e))})))()}var Rs,zs,Bs,X;function Vs(){return(Vs=t((()=>{Rs=()=>({translate:0,scale:1,origin:0,originPoint:0}),zs=()=>({x:Rs(),y:Rs()}),Bs=()=>({min:0,max:0}),X=()=>({x:Bs(),y:Bs()})})))()}var Hs;function Us(){return(Us=t((()=>{Hs=new WeakMap})))()}function Ws(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Gs(e){return typeof e==`string`||Array.isArray(e)}var Ks,qs;function Js(){return(Js=t((()=>{Ks=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],qs=[`initial`,...Ks]})))()}function Ys(e){return Ws(e.animate)||qs.some(t=>Gs(e[t]))}function Xs(e){return!!(Ys(e)||e.variants)}function Zs(){return(Zs=t((()=>{Js()})))()}function Qs(e,t,n){for(let r in t){let i=t[r],a=n[r];if(q(i))e.addValue(r,i);else if(q(a))e.addValue(r,qi(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,qi(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function $s(){return($s=t((()=>{Qi(),J()})))()}var ec,tc;function nc(){return(nc=t((()=>{ec={current:null},tc={current:!1}})))()}function rc(){if(tc.current=!0,ic)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>ec.current=e.matches;e.addEventListener(`change`,t),t()}else ec.current=!1}var ic;function ac(){return(ac=t((()=>{nc(),ic=typeof window<`u`})))()}function oc(e){lc=e}function sc(){return lc}var cc,lc,uc;function dc(){return(dc=t((()=>{he(),re(),se(),me(),Yr(),bi(),Fi(),Lo(),ot(),Vs(),Qi(),H(),So(),Ls(),J(),Us(),Zs(),K(),$s(),ac(),nc(),P(),cc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],lc={},uc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=F.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,M.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Ys(t),this.isVariantNode=Xs(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&q(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Hs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(tc.current||rc(),this.shouldReduceMotion=ec.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),nt(this.notifyUpdate),nt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Pi.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new yi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:A(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Pr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&M.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in lc){let t=lc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<cc.length;t++){let n=cc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Qs(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=qi(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(ne(n)||oe(n))?n=parseFloat(n):!Is(n)&&V.test(t)&&(n=bo(e,t)),this.setBaseTarget(e,q(n)?n.get():n)),q(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ya(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!q(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new pe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Fo.render(this.render)}}})))()}var fc;function pc(){return(pc=t((()=>{J(),Do(),dc(),fc=class extends uc{constructor(){super(...arguments),this.KeyframeResolver=Eo}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})))()}var mc;function hc(){return(hc=t((()=>{mc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}})))()}function gc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _c({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function vc(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function yc(e){return e===void 0||e===1}function bc({scale:e,scaleX:t,scaleY:n}){return!yc(e)||!yc(t)||!yc(n)}function xc(e){return bc(e)||Sc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Sc(e){return Cc(e.x)||Cc(e.y)}function Cc(e){return e&&e!==`0%`}function wc(e,t,n){return n+t*(e-n)}function Tc(e,t,n,r,i){return i!==void 0&&(e=wc(e,i,r)),wc(e,n,r)+t}function Ec(e,t=0,n=1,r,i){e.min=Tc(e.min,t,n,r,i),e.max=Tc(e.max,t,n,r,i)}function Dc(e,{x:t,y:n}){Ec(e.x,t.translate,t.scale,t.originPoint),Ec(e.y,n.translate,n.scale,n.originPoint)}function Oc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(kc(e.x,-a.scroll.offset.x),kc(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Dc(e,o)),r&&xc(a.latestValues)&&Mc(e,a.latestValues,a.layout?.layoutBox))}t.x<Pc&&t.x>Nc&&(t.x=1),t.y<Pc&&t.y>Nc&&(t.y=1)}function kc(e,t){e.min+=t,e.max+=t}function Ac(e,t,n,r,i=.5){Ec(e,t,n,U(e.min,e.max,i),r)}function jc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Mc(e,t,n){let r=n??e;Ac(e.x,jc(t.x,r.x),t.scaleX,t.scale,t.originX),Ac(e.y,jc(t.y,r.y),t.scaleY,t.scale,t.originY)}var Nc,Pc;function Fc(){return(Fc=t((()=>{W(),Nc=.999999999999,Pc=1.0000000000001})))()}function Ic(e,t){return gc(vc(e.getBoundingClientRect(),t))}function Lc(e,t,n){let r=Ic(e,n),{scroll:i}=t;return i&&(kc(r.x,i.offset.x),kc(r.y,i.offset.y)),r}function Rc(){return(Rc=t((()=>{Fc()})))()}function zc(e,t,n){let r=``,i=!0;for(let a=0;a<Vc;a++){let o=Nr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=jo(s,ho[o]);if(!c){i=!1;let t=Bc[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${jo(a,ho.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Bc,Vc;function Hc(){return(Hc=t((()=>{Mo(),go(),K(),Bc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Vc=Nr.length})))()}function Uc(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Pr.has(e)){o=!0;continue}if(lt(e)){i[e]=n;continue}{let t=jo(n,ho[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=zc(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Wc(){return(Wc=t((()=>{Mo(),go(),K(),pt(),Hc()})))()}function Gc(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Kc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var qc;function Jc(){return(Jc=t((()=>{z(),qc={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${Kc(e,t.target.x)}% ${Kc(e,t.target.y)}%`}}})))()}var Yc;function Xc(){return(Xc=t((()=>{H(),W(),Yc={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=V.parse(e);if(i.length>5)return r;let a=V.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=U(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})))()}var Zc;function Qc(){return(Qc=t((()=>{ko(),Jc(),Xc(),Zc={borderRadius:{...qc,applyTo:[...Oo]},borderTopLeftRadius:qc,borderTopRightRadius:qc,borderBottomLeftRadius:qc,borderBottomRightRadius:qc,boxShadow:Yc}})))()}function $c(e,{layout:t,layoutId:n}){return Pr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Zc[e]||e===`opacity`)}function el(){return(el=t((()=>{K(),Qc()})))()}function tl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(q(r[t])||i&&q(i[t])||$c(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function nl(){return(nl=t((()=>{J(),el()})))()}function rl(e){return window.getComputedStyle(e)}var il;function al(){return(al=t((()=>{D(),pt(),K(),Mr(),Rc(),pc(),Wc(),nl(),il=class extends fc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Gc}mount(e){E(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(Pr.has(t))return this.projection?.isProjecting?br(t):jr(e,t);{let n=rl(e),r=(lt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ic(e,t)}build(e,t,n){Uc(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return tl(e,t,n)}}})))()}function ol(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?sl:cl;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var sl,cl;function ll(){return(ll=t((()=>{sl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},cl={offset:`strokeDashoffset`,array:`strokeDasharray`}})))()}function ul(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Uc(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of dl)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&ol(d,i,a,o,!1)}var dl;function fl(){return(fl=t((()=>{Wc(),ll(),dl=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})))()}var pl;function ml(){return(ml=t((()=>{pl=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`])})))()}var hl;function gl(){return(gl=t((()=>{hl=e=>typeof e==`string`&&e.toLowerCase()===`svg`})))()}function _l(e,t,n,r){Gc(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(pl.has(n)?n:Pa(n),t.attrs[n])}function vl(){return(vl=t((()=>{ml()})))()}function yl(e,t,n){let r=tl(e,t,n);for(let n in e)if(q(e[n])||q(t[n])){let t=Nr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function bl(){return(bl=t((()=>{J(),K(),nl()})))()}var xl;function Sl(){return(Sl=t((()=>{K(),yo(),Vs(),pc(),fl(),ml(),gl(),vl(),bl(),xl=class extends fc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Pr.has(t)){let e=vo(t);return e&&e.default||0}return t=pl.has(t)?t:Pa(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return yl(e,t,n)}build(e,t,n){ul(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){_l(e,t,n,r)}mount(e){this.isSVGTag=hl(e.tagName),super.mount(e)}}})))()}function Cl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Cl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<wl;n++){let r=qs[n],i=e.props[r];(Gs(i)||i===!1)&&(t[r]=i)}return t}var wl;function Tl(){return(Tl=t((()=>{Js(),wl=qs.length})))()}function El(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Dl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ka(e,t,n)))}function Ol(e){let t=Dl(e),n=jl(),r=!0,i=!1,a=t=>(n,r)=>{let i=ba(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Cl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Nl;t++){let p=Ml[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Gs(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Ws(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=kl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=wa(t)&&wa(n)?!El(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ba(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Ki(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ba(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=jl(),i=!0}}}function kl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!El(t,e):!1}function Al(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function jl(){return{animate:Al(!0),whileInView:Al(),whileHover:Al(),whileTap:Al(),whileDrag:Al(),whileFocus:Al(),exit:Al()}}var Ml,Nl;function Pl(){return(Pl=t((()=>{qa(),Tl(),Ta(),xa(),Js(),Ml=[...Ks].reverse(),Nl=Ks.length})))()}function Fl(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Fl(e.x,t.x),Fl(e.y,t.y)}function Il(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Q(e){return e.max-e.min}function Ll(e,t,n){return Math.abs(e-t)<=n}function Rl(e,t,n,r=.5){e.origin=r,e.originPoint=U(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=U(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wl&&e.scale<=Gl||isNaN(e.scale))&&(e.scale=1),(e.translate>=Kl&&e.translate<=ql||isNaN(e.translate))&&(e.translate=0)}function zl(e,t,n,r){Rl(e.x,t.x,n.x,r?r.originX:void 0),Rl(e.y,t.y,n.y,r?r.originY:void 0)}function Bl(e,t,n,r=0){e.min=(r?U(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function Vl(e,t,n,r){Bl(e.x,t.x,n.x,r?.x),Bl(e.y,t.y,n.y,r?.y)}function Hl(e,t,n,r=0){let i=r?U(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function Ul(e,t,n,r){Hl(e.x,t.x,n.x,r?.x),Hl(e.y,t.y,n.y,r?.y)}var Wl,Gl,Kl,ql;function Jl(){return(Jl=t((()=>{W(),Wl=.9999,Gl=1.0001,Kl=-.01,ql=.01})))()}function Yl(e,t,n,r,i){return e-=t,e=wc(e,1/n,r),i!==void 0&&(e=wc(e,1/i,r)),e}function Xl(e,t=0,n=1,r=.5,i,a=e,o=e){if(L.test(t)&&(t=parseFloat(t),t=U(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=U(a.min,a.max,r);e===a&&(s-=t),e.min=Yl(e.min,t,n,s,i),e.max=Yl(e.max,t,n,s,i)}function Zl(e,t,[n,r,i],a,o){Xl(e,t[n],t[r],t[i],t.scale,a,o)}function Ql(e,t,n,r){Zl(e.x,t,$l,n?n.x:void 0,r?r.x:void 0),Zl(e.y,t,eu,n?n.y:void 0,r?r.y:void 0)}var $l,eu;function tu(){return(tu=t((()=>{W(),z(),Fc(),$l=[`x`,`scaleX`,`originX`],eu=[`y`,`scaleY`,`originY`]})))()}function nu(e){return e.translate===0&&e.scale===1}function ru(e){return nu(e.x)&&nu(e.y)}function iu(e,t){return e.min===t.min&&e.max===t.max}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function su(e,t){return ou(e.x,t.x)&&ou(e.y,t.y)}function cu(e){return Q(e.x)/Q(e.y)}function lu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function uu(){return(uu=t((()=>{Jl()})))()}function du(e){return[e(`x`),e(`y`)]}function fu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function pu(e,t,n,r,i,a){i?(e.opacity=U(0,n.opacity??1,yu(r)),e.opacityExit=U(t.opacity??1,0,bu(r))):a&&(e.opacity=U(t.opacity??1,n.opacity??1,r));for(let i=0;i<gu;i++){let a=Oo[i],o=mu(t,a),s=mu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||vu(o)===vu(s)?(e[a]=Math.max(U(_u(o),_u(s),r),0),(L.test(s)||L.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=U(t.rotate||0,n.rotate||0,r))}function mu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function hu(e,t,n){return r=>r<e?0:r>t?1:n(de(e,t,r))}var gu,_u,vu,yu,bu;function xu(){return(xu=t((()=>{W(),z(),fe(),Le(),k(),ko(),gu=Oo.length,_u=e=>typeof e==`string`?parseFloat(e):e,vu=e=>typeof e==`number`||R.test(e),yu=hu(0,.5,Fe),bu=hu(.5,.95,O)})))()}function Su(e,t,n){let r=q(e)?e:qi(e);return r.start(da(``,r,t,n)),r.animation}function Cu(){return(Cu=t((()=>{fa(),Qi(),J()})))()}function wu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Tu;function Eu(){return(Eu=t((()=>{Tu=(e,t)=>e.depth-t.depth})))()}var Du;function Ou(){return(Ou=t((()=>{Eu(),Du=class{constructor(){this.children=[],this.isDirty=!1}add(e){x(this.children,e),this.isDirty=!0}remove(e){S(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Tu),this.isDirty=!1,this.children.forEach(e)}}})))()}function ku(e,t){let n=F.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(nt(r),e(a-t))};return M.setup(r,!0),()=>nt(r)}function Au(){return(Au=t((()=>{ot(),P()})))()}function ju(e){return q(e)?e.get():e}function Mu(){return(Mu=t((()=>{J()})))()}var Nu;function Pu(){return(Pu=t((()=>{Nu=class{constructor(){this.members=[]}add(e){x(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(S(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(S(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})))()}var Fu;function Iu(){return(Iu=t((()=>{Fu={hasAnimatedSinceResize:!0,hasEverUpdated:!1}})))()}function Lu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ru(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Ra(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,M,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ru(r)}function zu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=fd++,this.animationId=0,this.animationCommitId=0,this.children=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={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,js.value&&(ld.nodes=ld.calculatedTargetDeltas=ld.calculatedProjections=0),this.nodes.forEach(Hu),this.nodes.forEach(Zu),this.nodes.forEach(Qu),this.nodes.forEach(Uu),js.addProjectionMetrics&&js.addProjectionMetrics(ld)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Du)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pe),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=fs(t)&&!Ns(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;M.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=ku(i,250),Fu.hasAnimatedSinceResize&&(Fu.hasAnimatedSinceResize=!1,this.nodes.forEach(Xu)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||pd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!su(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ea(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Xu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),nt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($u),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ru(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Ku),this.nodes.forEach(Gu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ju),this.nodes.forEach(Yu),this.nodes.forEach(Bu),this.nodes.forEach(Vu)):this.nodes.forEach(qu),this.clearAllSnapshots();let e=F.now();N.delta=C(0,1e3/60,e-N.timestamp),N.timestamp=e,N.isProcessing=!0,rt.update.process(N),rt.preRender.process(N),rt.render.process(N),N.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fo.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wu),this.sharedNodes.forEach(ed)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ru(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||xc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),od(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(cd))){let{scroll:e}=this.root;e&&(kc(t.x,e.offset.x),kc(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),kc(t.x,i.offset.x),kc(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||X();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(kc(r.x,-n.scroll.offset.x),kc(r.y,-n.scroll.offset.y)),xc(n.latestValues)&&Mc(r,n.latestValues,n.layout?.layoutBox)}return xc(this.latestValues)&&Mc(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!xc(n.latestValues))continue;let r;n.instance&&(bc(n.latestValues)&&n.updateSnapshot(),r=X(),Z(r,n.measurePageBox())),Ql(t,n.latestValues,n.snapshot?.layoutBox,r)}return xc(this.latestValues)&&Ql(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==N.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=N.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Vl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),Dc(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),js.value&&ld.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||bc(this.parent.latestValues)||Sc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),Ul(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===N.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Oc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Il(this.prevProjectionDelta.x,this.projectionDelta.x),Il(this.prevProjectionDelta.y,this.projectionDelta.y)),zl(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!lu(this.projectionDelta.x,this.prevProjectionDelta.x)||!lu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),js.value&&ld.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=zs(),this.projectionDelta=zs(),this.projectionDeltaWithTransform=zs()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=zs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=X(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(id));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=U(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=U(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(td(o.x,e.x,n),td(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ul(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),rd(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&au(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=X(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,pu(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(nt(this.pendingAnimation),void 0),this.pendingAnimation=M.update(()=>{Fu.hasAnimatedSinceResize=!0,this.motionValue||=qi(0),this.motionValue.jump(0,!1),this.currentAnimation=Su(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(dd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&sd(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||X();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),Mc(t,i),zl(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Nu),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Lu(`z`,e,r,this.animationValues);for(let t=0;t<ud.length;t++)Lu(`rotate${ud[t]}`,e,r,this.animationValues),Lu(`skew${ud[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=ju(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=ju(t?.pointerEvents)||``),this.hasProjected&&!xc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=fu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Zc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Zc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?ju(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Gu),this.root.sharedNodes.clear()}}}function Bu(e){e.updateLayout()}function Vu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)du(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Fl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else sd(i,t.layoutBox,n)&&du(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=zs();zl(o,n,t.layoutBox);let s=zs();a?zl(s,e.applyTransform(r,!0),t.measuredBox):zl(s,n,t.layoutBox);let c=!ru(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=X();Ul(s,t.layoutBox,i.layoutBox,o);let c=X();Ul(c,n,a.layoutBox,o),su(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Hu(e){js.value&&ld.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Uu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Wu(e){e.clearSnapshot()}function Gu(e){e.clearMeasurements()}function Ku(e){e.isLayoutDirty=!0,e.updateLayout()}function qu(e){e.isLayoutDirty=!1}function Ju(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Yu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Xu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Zu(e){e.resolveTargetDelta()}function Qu(e){e.calcProjection()}function $u(e){e.resetSkewAndRotation()}function ed(e){e.removeLeadSnapshot()}function td(e,t,n){e.translate=U(t.translate,0,n),e.scale=U(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function nd(e,t,n,r){e.min=U(t.min,n.min,r),e.max=U(t.max,n.max,r)}function rd(e,t,n,r){nd(e.x,t.x,n.x,r),nd(e.y,t.y,n.y,r)}function id(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function ad(e){e.min=hd(e.min),e.max=hd(e.max)}function od(e){ad(e.x),ad(e.y)}function sd(e,t,n){return e===`position`||e===`preserve-aspect`&&!Ll(cu(t),cu(n),.2)}function cd(e){return e!==e.root&&e.scroll?.wasRoot}var ld,ud,dd,fd,pd,md,hd;function gd(){return(gd=t((()=>{me(),w(),k(),Cu(),za(),ta(),Lo(),ot(),Qc(),Ms(),Au(),ps(),Ps(),W(),Qi(),Mu(),xu(),Fc(),Jl(),tu(),Vs(),uu(),Pu(),Ou(),Iu(),P(),ld={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ud=[``,`X`,`Y`,`Z`],dd=1e3,fd=0,pd={duration:.45,ease:[.4,0,.1,1]},md=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hd=md(`applewebkit/`)&&!md(`chrome/`)?Math.round:O})))()}var _d;function vd(){return(vd=t((()=>{gd(),_d=zu({attachResizeListener:(e,t)=>wu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})))()}var yd,bd;function xd(){return(xd=t((()=>{gd(),vd(),yd={current:void 0},bd=zu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yd.current){let e=new _d({});e.mount(window),e.setOptions({layoutScroll:!0}),yd.current=e}return yd.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})))()}var Sd,Cd;function wd(){return(wd=t((()=>{Sd=i(),Cd=(0,Sd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})})))()}function Td(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ed(...e){return t=>{let n=!1,r=e.map(e=>{let r=Td(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Td(e[t],null)}}}}function Dd(...e){return Od.useCallback(Ed(...e),e)}var Od;function kd(){return(kd=t((()=>{Od=n(i(),1)})))()}function Ad({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,Nd.useId)(),s=(0,Nd.useRef)(null),c=(0,Nd.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,Nd.useContext)(Cd),u=Dd(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,Nd.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
2
2
  [data-motion-pop-id="${o}"] {
3
3
  position: absolute !important;
4
4
  width: ${e}px !important;
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{i as t,r as n}from"./iframe-DuAeRvx6.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]],i=n(`refresh-cw`,r)})))()}export{a as n,i as t};
1
+ import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{i as t,r as n}from"./iframe-BnjRbLCp.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]],i=n(`refresh-cw`,r)})))()}export{a as n,i as t};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{n as t}from"./iframe-DuAeRvx6.js";import{i as n,r}from"./react-qN2cStNd.js";import{l as i,m as a}from"./blocks-Dk_BOKmc.js";function o(e){let t={code:`code`,h1:`h1`,h2:`h2`,h3:`h3`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,strong:`strong`,...n(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i,{title:`Foundation Lib/Runtime, state и diagnostics`}),`
1
+ import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{n as t}from"./iframe-BnjRbLCp.js";import{i as n,r}from"./react-qN2cStNd.js";import{l as i,m as a}from"./blocks-DXv0kKnO.js";function o(e){let t={code:`code`,h1:`h1`,h2:`h2`,h3:`h3`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,strong:`strong`,...n(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i,{title:`Foundation Lib/Runtime, state и diagnostics`}),`
2
2
  `,(0,c.jsx)(t.h1,{id:`runtime-state-и-diagnostics`,children:`Runtime, state и diagnostics`}),`
3
3
  `,(0,c.jsx)(t.p,{children:`Этот раздел содержит инфраструктурные API, которые создаются в composition root host-приложения. Они не должны подключаться из каждой feature: persistence, BroadcastChannel, notifications и error reporting имеют глобальный lifecycle и приватные данные.`}),`
4
4
  `,(0,c.jsxs)(t.h2,{id:`query-client-tanstack-query-инфраструктура`,children:[(0,c.jsx)(t.code,{children:`query-client`}),`: TanStack Query инфраструктура`]}),`
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{i as t,r as n}from"./iframe-DuAeRvx6.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]],i=n(`settings-2`,r)})))()}export{a as n,i as t};
1
+ import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{i as t,r as n}from"./iframe-BnjRbLCp.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]],i=n(`settings-2`,r)})))()}export{a as n,i as t};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{i as n,n as r,r as i}from"./iframe-DuAeRvx6.js";import{a,i as o}from"./utils-DUM89eIj.js";import{a as s,c,d as l,f as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,u as y}from"./hooks-BKgQ004K.js";var b,x;function S(){return(S=e((()=>{n(),b=[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`19`,cy:`5`,r:`1`,key:`w8mnmm`}],[`circle`,{cx:`5`,cy:`5`,r:`1`,key:`lttvr7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}],[`circle`,{cx:`19`,cy:`19`,r:`1`,key:`shf9b7`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]],x=i(`grip`,b)})))()}function C(e){return e?.data.current?.sortable.containerId??null}function w(e,t){return Array.isArray(t)?t:t[String(e)]??null}function T(e,t){if(t)return t;switch(e){case`horizontal`:return s;case`grid`:return v;default:return f}}function E(e){let{event:t,items:n}=e,{active:r,over:i}=t;if(!i||r.id===i.id)return null;let a=C(r),o=C(i);if(a==null||o==null||a!==o)return null;let s=w(a,n);if(!s)return null;let c=s.indexOf(r.id),l=s.indexOf(i.id);return c<0||l<0?null:{containerId:a,activeId:r.id,overId:i.id,fromIndex:c,toIndex:l}}function D(){return(D=e((()=>{h()})))()}function O(e,t){return typeof e==`function`?e(t):e}function k(e,t){return typeof e==`function`?e(t):e}function A(e){let{children:t,collisionDetection:n=l,sensors:r,onDragCancel:i,onDragEnd:a,onDragMove:o,onDragOver:s,onDragPending:c,onDragStart:u,accessibility:d,...f}=e,p=_(),m=typeof document>`u`?void 0:document.body,h=(0,P.useMemo)(()=>({...d,container:d?.container??m}),[d,m]);return(0,F.jsx)(y,{...f,accessibility:h,sensors:r??p,collisionDetection:n,onDragStart:u,onDragMove:o,onDragOver:s,onDragEnd:a,onDragCancel:i,onDragPending:c,children:t})}function j(e){let{children:t,containerId:n,items:r,layout:i=`vertical`,strategy:a}=e;return(0,F.jsx)(d,{id:String(n),items:[...r],strategy:T(i,a),children:t})}function M(e){let{as:t,id:n,children:r,className:i,style:o,disabled:s=!1,dragActivator:l=`handle`,...u}=e,d=t??`div`,{attributes:f,listeners:p,setActivatorNodeRef:m,setNodeRef:h,transform:_,transition:v,isDragging:y,isOver:b,isSorting:x}=c({id:n,disabled:s}),S={transform:g.Transform.toString(_),transition:v,zIndex:!s&&y?2:1,opacity:!s&&y?.6:void 0,...o},C=(0,P.useMemo)(()=>({attributes:f,listeners:l===`handle`?p:void 0,setActivatorNodeRef:m,disabled:s||l!==`handle`,isDragging:y}),[f,p,m,s,l,y]),w={isDragging:y,isOver:b,isSorting:x,disabled:s},T=l===`item`&&!s?{...f,...p}:{};return(0,F.jsx)(I.Provider,{value:C,children:(0,P.createElement)(d,{...u,...T,ref:h,className:a(i),style:S,"data-sortable-id":String(n),"data-sortable-dragging":y?`true`:`false`,"data-sortable-disabled":s?`true`:`false`},O(r,w))})}function N(e){let{as:t,children:n,disabled:r=!1,...i}=e,a=t??`div`,o=(0,P.useContext)(I),s=r||!o||o.disabled,c=s?{}:{...o.attributes,...o.listeners},l={disabled:s,isDragging:o?.isDragging??!1};return(0,P.createElement)(a,{...i,...c,ref:!s&&o?o.setActivatorNodeRef:void 0,"aria-disabled":s||void 0,"data-sortable-handle":`true`,"data-sortable-handle-disabled":s?`true`:`false`,"data-sortable-handle-dragging":l.isDragging?`true`:`false`},k(n,l))}var P,F,I;function L(){return(L=e((()=>{P=t(),u(),h(),p(),m(),o(),D(),F=r(),I=(0,P.createContext)(null),A.__docgenInfo={description:``,methods:[],displayName:`SortableRoot`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},collisionDetection:{required:!1,tsType:{name:`DndContextProps["collisionDetection"]`,raw:`DndContextProps["collisionDetection"]`},description:``},sensors:{required:!1,tsType:{name:`DndContextProps["sensors"]`,raw:`DndContextProps["sensors"]`},description:``}}},j.__docgenInfo={description:``,methods:[],displayName:`SortableContainer`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},containerId:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},items:{required:!0,tsType:{name:`unknown`},description:``},layout:{required:!1,tsType:{name:`union`,raw:`"vertical" | "horizontal" | "grid"`,elements:[{name:`literal`,value:`"vertical"`},{name:`literal`,value:`"horizontal"`},{name:`literal`,value:`"grid"`}]},description:``},strategy:{required:!1,tsType:{name:`SortingStrategy`},description:``}}},M.__docgenInfo={description:``,methods:[],displayName:`SortableItem`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},id:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: SortableItemRenderState) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},className:{required:!1,tsType:{name:`string`},description:``},style:{required:!1,tsType:{name:`CSSProperties`},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``},dragActivator:{required:!1,tsType:{name:`union`,raw:`"handle" | "item"`,elements:[{name:`literal`,value:`"handle"`},{name:`literal`,value:`"item"`}]},description:``}}},N.__docgenInfo={description:``,methods:[],displayName:`SortableHandle`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: Pick<SortableHandleContextValue, "disabled" | "isDragging">) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``}}}})))()}var R,z;function B(){return(B=e((()=>{R=`_7rGb26`,z={dragHandle:R}})))()}function V(e,t){return e??t}function H(e,t,n){return e==null?t??n:t}function U(e){if(e.as===`button`){let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),type:s=`button`,...c}=e,l=H(n,c[`aria-label`],c.title);return(0,W.jsx)(N,{...c,as:t,type:s,disabled:i,"aria-label":l,className:a(z.dragHandle,r),children:V(n,o)})}let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),...s}=e,c=H(n,s[`aria-label`],s.title);return(0,W.jsx)(N,{...s,as:t,disabled:i,"aria-label":c,className:a(z.dragHandle,r),children:V(n,o)})}var W;function G(){return(G=e((()=>{o(),S(),L(),B(),W=r(),U.__docgenInfo={description:``,methods:[],displayName:`SortableDragHandle`}})))()}var K;function q(){return(q=e((()=>{L(),G(),D(),K={Root:A,Container:j,Item:M,Handle:N,DragHandle:U}})))()}export{D as i,q as n,E as r,K as t};
1
+ import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{i as n,n as r,r as i}from"./iframe-BnjRbLCp.js";import{a,i as o}from"./utils-DUM89eIj.js";import{a as s,c,d as l,f as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,u as y}from"./hooks-D0mbXwcm.js";var b,x;function S(){return(S=e((()=>{n(),b=[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`19`,cy:`5`,r:`1`,key:`w8mnmm`}],[`circle`,{cx:`5`,cy:`5`,r:`1`,key:`lttvr7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}],[`circle`,{cx:`19`,cy:`19`,r:`1`,key:`shf9b7`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]],x=i(`grip`,b)})))()}function C(e){return e?.data.current?.sortable.containerId??null}function w(e,t){return Array.isArray(t)?t:t[String(e)]??null}function T(e,t){if(t)return t;switch(e){case`horizontal`:return s;case`grid`:return v;default:return f}}function E(e){let{event:t,items:n}=e,{active:r,over:i}=t;if(!i||r.id===i.id)return null;let a=C(r),o=C(i);if(a==null||o==null||a!==o)return null;let s=w(a,n);if(!s)return null;let c=s.indexOf(r.id),l=s.indexOf(i.id);return c<0||l<0?null:{containerId:a,activeId:r.id,overId:i.id,fromIndex:c,toIndex:l}}function D(){return(D=e((()=>{h()})))()}function O(e,t){return typeof e==`function`?e(t):e}function k(e,t){return typeof e==`function`?e(t):e}function A(e){let{children:t,collisionDetection:n=l,sensors:r,onDragCancel:i,onDragEnd:a,onDragMove:o,onDragOver:s,onDragPending:c,onDragStart:u,accessibility:d,...f}=e,p=_(),m=typeof document>`u`?void 0:document.body,h=(0,P.useMemo)(()=>({...d,container:d?.container??m}),[d,m]);return(0,F.jsx)(y,{...f,accessibility:h,sensors:r??p,collisionDetection:n,onDragStart:u,onDragMove:o,onDragOver:s,onDragEnd:a,onDragCancel:i,onDragPending:c,children:t})}function j(e){let{children:t,containerId:n,items:r,layout:i=`vertical`,strategy:a}=e;return(0,F.jsx)(d,{id:String(n),items:[...r],strategy:T(i,a),children:t})}function M(e){let{as:t,id:n,children:r,className:i,style:o,disabled:s=!1,dragActivator:l=`handle`,...u}=e,d=t??`div`,{attributes:f,listeners:p,setActivatorNodeRef:m,setNodeRef:h,transform:_,transition:v,isDragging:y,isOver:b,isSorting:x}=c({id:n,disabled:s}),S={transform:g.Transform.toString(_),transition:v,zIndex:!s&&y?2:1,opacity:!s&&y?.6:void 0,...o},C=(0,P.useMemo)(()=>({attributes:f,listeners:l===`handle`?p:void 0,setActivatorNodeRef:m,disabled:s||l!==`handle`,isDragging:y}),[f,p,m,s,l,y]),w={isDragging:y,isOver:b,isSorting:x,disabled:s},T=l===`item`&&!s?{...f,...p}:{};return(0,F.jsx)(I.Provider,{value:C,children:(0,P.createElement)(d,{...u,...T,ref:h,className:a(i),style:S,"data-sortable-id":String(n),"data-sortable-dragging":y?`true`:`false`,"data-sortable-disabled":s?`true`:`false`},O(r,w))})}function N(e){let{as:t,children:n,disabled:r=!1,...i}=e,a=t??`div`,o=(0,P.useContext)(I),s=r||!o||o.disabled,c=s?{}:{...o.attributes,...o.listeners},l={disabled:s,isDragging:o?.isDragging??!1};return(0,P.createElement)(a,{...i,...c,ref:!s&&o?o.setActivatorNodeRef:void 0,"aria-disabled":s||void 0,"data-sortable-handle":`true`,"data-sortable-handle-disabled":s?`true`:`false`,"data-sortable-handle-dragging":l.isDragging?`true`:`false`},k(n,l))}var P,F,I;function L(){return(L=e((()=>{P=t(),u(),h(),p(),m(),o(),D(),F=r(),I=(0,P.createContext)(null),A.__docgenInfo={description:``,methods:[],displayName:`SortableRoot`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},collisionDetection:{required:!1,tsType:{name:`DndContextProps["collisionDetection"]`,raw:`DndContextProps["collisionDetection"]`},description:``},sensors:{required:!1,tsType:{name:`DndContextProps["sensors"]`,raw:`DndContextProps["sensors"]`},description:``}}},j.__docgenInfo={description:``,methods:[],displayName:`SortableContainer`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},containerId:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},items:{required:!0,tsType:{name:`unknown`},description:``},layout:{required:!1,tsType:{name:`union`,raw:`"vertical" | "horizontal" | "grid"`,elements:[{name:`literal`,value:`"vertical"`},{name:`literal`,value:`"horizontal"`},{name:`literal`,value:`"grid"`}]},description:``},strategy:{required:!1,tsType:{name:`SortingStrategy`},description:``}}},M.__docgenInfo={description:``,methods:[],displayName:`SortableItem`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},id:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: SortableItemRenderState) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},className:{required:!1,tsType:{name:`string`},description:``},style:{required:!1,tsType:{name:`CSSProperties`},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``},dragActivator:{required:!1,tsType:{name:`union`,raw:`"handle" | "item"`,elements:[{name:`literal`,value:`"handle"`},{name:`literal`,value:`"item"`}]},description:``}}},N.__docgenInfo={description:``,methods:[],displayName:`SortableHandle`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: Pick<SortableHandleContextValue, "disabled" | "isDragging">) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``}}}})))()}var R,z;function B(){return(B=e((()=>{R=`_7rGb26`,z={dragHandle:R}})))()}function V(e,t){return e??t}function H(e,t,n){return e==null?t??n:t}function U(e){if(e.as===`button`){let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),type:s=`button`,...c}=e,l=H(n,c[`aria-label`],c.title);return(0,W.jsx)(N,{...c,as:t,type:s,disabled:i,"aria-label":l,className:a(z.dragHandle,r),children:V(n,o)})}let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),...s}=e,c=H(n,s[`aria-label`],s.title);return(0,W.jsx)(N,{...s,as:t,disabled:i,"aria-label":c,className:a(z.dragHandle,r),children:V(n,o)})}var W;function G(){return(G=e((()=>{o(),S(),L(),B(),W=r(),U.__docgenInfo={description:``,methods:[],displayName:`SortableDragHandle`}})))()}var K;function q(){return(q=e((()=>{L(),G(),D(),K={Root:A,Container:j,Item:M,Handle:N,DragHandle:U}})))()}export{D as i,q as n,E as r,K as t};