@getflip/swirl-components-react 0.48.1 → 0.49.0

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 (175) hide show
  1. package/dist/{file-manager.entry.f0c50da6.js → file-manager.entry.0d895eac.js} +1 -1
  2. package/dist/floating-ui.dom.esm-ac7cc24e.79b318e4.js +780 -0
  3. package/dist/{index.952ab411.js → index.ef906f23.js} +119 -117
  4. package/dist/stencil-generated/index.d.ts +2 -0
  5. package/dist/{swirl-action-list-section.entry.9fb78884.js → swirl-action-list-section.entry.c7b1d282.js} +1 -1
  6. package/dist/{swirl-action-list_3.entry.c6909be1.js → swirl-action-list_3.entry.25e62e8e.js} +1 -1
  7. package/dist/{swirl-app-bar.entry.e29fba2a.js → swirl-app-bar.entry.63d87158.js} +1 -1
  8. package/dist/{swirl-app-icon.entry.1f247559.js → swirl-app-icon.entry.d1056bb5.js} +1 -1
  9. package/dist/{swirl-app-layout_7.entry.91452c3b.js → swirl-app-layout_7.entry.12a1dd0f.js} +1 -1
  10. package/dist/{swirl-autocomplete.entry.7df2a2ae.js → swirl-autocomplete.entry.a67a444f.js} +2 -2
  11. package/dist/{swirl-avatar-group.entry.d122ee19.js → swirl-avatar-group.entry.37cd61af.js} +1 -1
  12. package/dist/{swirl-avatar.entry.d661402a.js → swirl-avatar.entry.2d3386d9.js} +1 -1
  13. package/dist/{swirl-badge.entry.f83e538b.js → swirl-badge.entry.af72bbfc.js} +1 -1
  14. package/dist/{swirl-banner.entry.03abcb6c.js → swirl-banner.entry.741b2791.js} +1 -1
  15. package/dist/{swirl-button-group.entry.f005eb76.js → swirl-button-group.entry.a28db650.js} +1 -1
  16. package/dist/{swirl-button.entry.028e7965.js → swirl-button.entry.c5595e19.js} +1 -1
  17. package/dist/{swirl-card.entry.684be4f9.js → swirl-card.entry.bb91c4fc.js} +9 -9
  18. package/dist/{swirl-carousel-slide.entry.ea7440a8.js → swirl-carousel-slide.entry.3b42c01f.js} +1 -1
  19. package/dist/{swirl-carousel.entry.7f26d439.js → swirl-carousel.entry.9ea1da10.js} +1 -1
  20. package/dist/{swirl-checkbox.entry.ef455c36.js → swirl-checkbox.entry.06510b7e.js} +1 -1
  21. package/dist/{swirl-chip.entry.d9580c0c.js → swirl-chip.entry.5765913c.js} +1 -1
  22. package/dist/{swirl-columns.entry.1f8add73.js → swirl-columns.entry.7c77f808.js} +1 -1
  23. package/dist/swirl-components-react.js +99 -97
  24. package/dist/swirl-components-react.umd.cjs +45 -45
  25. package/dist/{swirl-console-layout.entry.9f6d67be.js → swirl-console-layout.entry.a1054b2b.js} +1 -1
  26. package/dist/{swirl-date-input.entry.55549456.js → swirl-date-input.entry.da2a4cde.js} +1 -1
  27. package/dist/{swirl-date-picker_2.entry.6b78b32f.js → swirl-date-picker_2.entry.56aa66dc.js} +1 -1
  28. package/dist/{swirl-description-list-item.entry.90038859.js → swirl-description-list-item.entry.9b93e3b0.js} +1 -1
  29. package/dist/{swirl-description-list.entry.afe1ac97.js → swirl-description-list.entry.645f0d49.js} +1 -1
  30. package/dist/{swirl-dialog.entry.8839f8f4.js → swirl-dialog.entry.eefc72a6.js} +2 -2
  31. package/dist/{swirl-file-uploader.entry.ac46fef7.js → swirl-file-uploader.entry.68bb2239.js} +1 -1
  32. package/dist/{swirl-file-viewer_7.entry.03c1565b.js → swirl-file-viewer_7.entry.f43b381f.js} +1 -1
  33. package/dist/{swirl-form-control.entry.c61c9ee0.js → swirl-form-control.entry.c370d695.js} +1 -1
  34. package/dist/{swirl-form-group.entry.e76daf5d.js → swirl-form-group.entry.eccb124d.js} +1 -1
  35. package/dist/{swirl-heading.entry.eaa83d4e.js → swirl-heading.entry.78239498.js} +1 -1
  36. package/dist/{swirl-icon-add-photo.entry.2f6dbee1.js → swirl-icon-add-photo.entry.337fa99d.js} +1 -1
  37. package/dist/{swirl-icon-add_6.entry.e997d0b6.js → swirl-icon-add_6.entry.e01332dc.js} +1 -1
  38. package/dist/{swirl-icon-admin-panel-settings.entry.79a50ae4.js → swirl-icon-admin-panel-settings.entry.e110ca2e.js} +1 -1
  39. package/dist/{swirl-icon-ai.entry.f44a37bd.js → swirl-icon-ai.entry.c1db0c75.js} +1 -1
  40. package/dist/{swirl-icon-arrow-back.entry.08e7c80f.js → swirl-icon-arrow-back.entry.9770f66c.js} +1 -1
  41. package/dist/{swirl-icon-arrow-downward_2.entry.22a32cf9.js → swirl-icon-arrow-downward_2.entry.2dd89a44.js} +1 -1
  42. package/dist/{swirl-icon-arrow-forward.entry.1bddd848.js → swirl-icon-arrow-forward.entry.53d35d8d.js} +1 -1
  43. package/dist/{swirl-icon-arrow-left_4.entry.667f2063.js → swirl-icon-arrow-left_4.entry.552ebaa3.js} +1 -1
  44. package/dist/{swirl-icon-arrow-right-small.entry.aeb440d0.js → swirl-icon-arrow-right-small.entry.b46b7f75.js} +1 -1
  45. package/dist/{swirl-icon-attachment.entry.47793e81.js → swirl-icon-attachment.entry.63a4162e.js} +1 -1
  46. package/dist/{swirl-icon-block.entry.9b8ac3a1.js → swirl-icon-block.entry.70c0a692.js} +1 -1
  47. package/dist/{swirl-icon-bookmark.entry.60007284.js → swirl-icon-bookmark.entry.177823cd.js} +1 -1
  48. package/dist/{swirl-icon-cancel_4.entry.2fb2564f.js → swirl-icon-cancel_4.entry.cea00a45.js} +1 -1
  49. package/dist/{swirl-icon-chat-bubble.entry.cdcb0d8a.js → swirl-icon-chat-bubble.entry.cf7d41a4.js} +1 -1
  50. package/dist/{swirl-icon-chats-filled.entry.ce53cd57.js → swirl-icon-chats-filled.entry.efa0f878.js} +1 -1
  51. package/dist/{swirl-icon-chats-outlined.entry.a34623c7.js → swirl-icon-chats-outlined.entry.b9d223c6.js} +1 -1
  52. package/dist/{swirl-icon-check-circle_3.entry.dc2e5ec6.js → swirl-icon-check-circle_3.entry.66e2384d.js} +1 -1
  53. package/dist/{swirl-icon-check-small_4.entry.fcd124d5.js → swirl-icon-check-small_4.entry.effff16a.js} +1 -1
  54. package/dist/{swirl-icon-check-strong.entry.5fa2aeff.js → swirl-icon-check-strong.entry.5b2caa97.js} +1 -1
  55. package/dist/{swirl-icon-check.entry.7001de79.js → swirl-icon-check.entry.cb2e7be0.js} +1 -1
  56. package/dist/{swirl-icon-chevron-left.entry.496f6aa7.js → swirl-icon-chevron-left.entry.57331d76.js} +1 -1
  57. package/dist/{swirl-icon-chevron-right.entry.690d3f9a.js → swirl-icon-chevron-right.entry.b30b78e6.js} +1 -1
  58. package/dist/{swirl-icon-close-small.entry.8d7b1de3.js → swirl-icon-close-small.entry.9e889531.js} +1 -1
  59. package/dist/{swirl-icon-close.entry.924ff43b.js → swirl-icon-close.entry.8ff3a89d.js} +1 -1
  60. package/dist/{swirl-icon-cloud-upload.entry.ef69dc74.js → swirl-icon-cloud-upload.entry.d3b4d1fe.js} +1 -1
  61. package/dist/{swirl-icon-column.entry.57906a08.js → swirl-icon-column.entry.7d325348.js} +1 -1
  62. package/dist/{swirl-icon-comment.entry.3f579cb4.js → swirl-icon-comment.entry.0c77b0e5.js} +1 -1
  63. package/dist/{swirl-icon-copy.entry.bebf3d4c.js → swirl-icon-copy.entry.3d2d57e0.js} +1 -1
  64. package/dist/{swirl-icon-date-range.entry.66d7efaa.js → swirl-icon-date-range.entry.cffe5b27.js} +1 -1
  65. package/dist/{swirl-icon-delete.entry.0122d6b0.js → swirl-icon-delete.entry.a2c572f0.js} +1 -1
  66. package/dist/{swirl-icon-description.entry.15da430c.js → swirl-icon-description.entry.7705d643.js} +1 -1
  67. package/dist/{swirl-icon-double-arrow-left.entry.37d1653f.js → swirl-icon-double-arrow-left.entry.b0efbe52.js} +1 -1
  68. package/dist/{swirl-icon-double-arrow-right.entry.5f73ce2c.js → swirl-icon-double-arrow-right.entry.ad1b5721.js} +1 -1
  69. package/dist/{swirl-icon-download.entry.c50f479c.js → swirl-icon-download.entry.2934b61b.js} +1 -1
  70. package/dist/{swirl-icon-edit.entry.1545eee8.js → swirl-icon-edit.entry.01d09073.js} +1 -1
  71. package/dist/{swirl-icon-emoji-mood.entry.b12b1d3c.js → swirl-icon-emoji-mood.entry.5e814936.js} +1 -1
  72. package/dist/{swirl-icon-emoji-satisfied.entry.3b903445.js → swirl-icon-emoji-satisfied.entry.ce5b53b6.js} +1 -1
  73. package/dist/{swirl-icon-error_3.entry.027fe771.js → swirl-icon-error_3.entry.8825ec94.js} +1 -1
  74. package/dist/{swirl-icon-expand-more.entry.f1943b40.js → swirl-icon-expand-more.entry.406ad9bb.js} +1 -1
  75. package/dist/{swirl-icon-filter.entry.ac8201b2.js → swirl-icon-filter.entry.518d0808.js} +1 -1
  76. package/dist/{swirl-icon-folder.entry.c1036635.js → swirl-icon-folder.entry.809903fd.js} +1 -1
  77. package/dist/{swirl-icon-group-assign.entry.8430f485.js → swirl-icon-group-assign.entry.f93c91c5.js} +1 -1
  78. package/dist/{swirl-icon-groups-custom.entry.53d13830.js → swirl-icon-groups-custom.entry.491c11f1.js} +1 -1
  79. package/dist/{swirl-icon-groups-filled.entry.882ff403.js → swirl-icon-groups-filled.entry.83249532.js} +1 -1
  80. package/dist/{swirl-icon-groups-outlined.entry.d714b2b6.js → swirl-icon-groups-outlined.entry.9410ed3a.js} +1 -1
  81. package/dist/{swirl-icon-groups.entry.a2f61833.js → swirl-icon-groups.entry.776e5282.js} +1 -1
  82. package/dist/{swirl-icon-help.entry.8cd68d1e.js → swirl-icon-help.entry.c9e67f44.js} +1 -1
  83. package/dist/{swirl-icon-image.entry.b1a08879.js → swirl-icon-image.entry.bf82ca32.js} +1 -1
  84. package/dist/{swirl-icon-improve-text.entry.27064a87.js → swirl-icon-improve-text.entry.39c2bc8c.js} +1 -1
  85. package/dist/{swirl-icon-insert-below.entry.bf25b8a3.js → swirl-icon-insert-below.entry.abcf51d6.js} +1 -1
  86. package/dist/{swirl-icon-insert-on-top.entry.61c1b1ea.js → swirl-icon-insert-on-top.entry.88dde4ab.js} +1 -1
  87. package/dist/{swirl-icon-inventory.entry.c8400788.js → swirl-icon-inventory.entry.7bc46de6.js} +1 -1
  88. package/dist/{swirl-icon-like.entry.f7a016fa.js → swirl-icon-like.entry.b039d5cd.js} +1 -1
  89. package/dist/{swirl-icon-link.entry.34e9dfc1.js → swirl-icon-link.entry.506c2dd0.js} +1 -1
  90. package/dist/swirl-icon-lock-person.entry.b75725b1.js +17 -0
  91. package/dist/{swirl-icon-lock.entry.c29f3ea2.js → swirl-icon-lock.entry.4c2604d8.js} +1 -1
  92. package/dist/{swirl-icon-logout.entry.98f05580.js → swirl-icon-logout.entry.0cd52ba1.js} +1 -1
  93. package/dist/{swirl-icon-long-text.entry.1094ba7d.js → swirl-icon-long-text.entry.8ae50c47.js} +1 -1
  94. package/dist/{swirl-icon-mail.entry.341598fd.js → swirl-icon-mail.entry.e536d358.js} +1 -1
  95. package/dist/{swirl-icon-manage-accounts.entry.f834b719.js → swirl-icon-manage-accounts.entry.3081c77a.js} +1 -1
  96. package/dist/{swirl-icon-mention.entry.3b03d45b.js → swirl-icon-mention.entry.44b6025e.js} +1 -1
  97. package/dist/{swirl-icon-menu-filled.entry.cba4ac42.js → swirl-icon-menu-filled.entry.7f743b8f.js} +1 -1
  98. package/dist/{swirl-icon-menu-outlined.entry.14530326.js → swirl-icon-menu-outlined.entry.bcc270d2.js} +1 -1
  99. package/dist/{swirl-icon-menu.entry.d9322a3a.js → swirl-icon-menu.entry.cd69b5b5.js} +1 -1
  100. package/dist/{swirl-icon-message.entry.06cd751c.js → swirl-icon-message.entry.f0dff2c3.js} +1 -1
  101. package/dist/{swirl-icon-more-horizontal.entry.b71fa052.js → swirl-icon-more-horizontal.entry.c484c7aa.js} +1 -1
  102. package/dist/{swirl-icon-news-filled.entry.0c0d9033.js → swirl-icon-news-filled.entry.f5ac293c.js} +1 -1
  103. package/dist/{swirl-icon-news-outlined.entry.b356431d.js → swirl-icon-news-outlined.entry.c55fdedf.js} +1 -1
  104. package/dist/{swirl-icon-notifications-active.entry.026eda78.js → swirl-icon-notifications-active.entry.9289adeb.js} +1 -1
  105. package/dist/{swirl-icon-notifications-off.entry.c240b2b3.js → swirl-icon-notifications-off.entry.18ed22b5.js} +1 -1
  106. package/dist/{swirl-icon-notifications.entry.cb39ae89.js → swirl-icon-notifications.entry.10977fd5.js} +1 -1
  107. package/dist/{swirl-icon-open-in-new.entry.ef5b0f6e.js → swirl-icon-open-in-new.entry.9a3daa9d.js} +1 -1
  108. package/dist/{swirl-icon-people-alt.entry.1c95839f.js → swirl-icon-people-alt.entry.eeab9a22.js} +1 -1
  109. package/dist/{swirl-icon-person-off.entry.210b2017.js → swirl-icon-person-off.entry.ad0cf73f.js} +1 -1
  110. package/dist/{swirl-icon-person.entry.8c627a84.js → swirl-icon-person.entry.cb610416.js} +1 -1
  111. package/dist/{swirl-icon-phone.entry.7b9912ff.js → swirl-icon-phone.entry.52c21a27.js} +1 -1
  112. package/dist/{swirl-icon-poll.entry.8cee137a.js → swirl-icon-poll.entry.a4775563.js} +1 -1
  113. package/dist/{swirl-icon-print.entry.b397d9cd.js → swirl-icon-print.entry.5be401a3.js} +1 -1
  114. package/dist/{swirl-icon-recieved.entry.e3f30cdd.js → swirl-icon-recieved.entry.da273aa3.js} +1 -1
  115. package/dist/{swirl-icon-search-strong.entry.7fedab48.js → swirl-icon-search-strong.entry.36caee98.js} +1 -1
  116. package/dist/{swirl-icon-search.entry.428f00db.js → swirl-icon-search.entry.95d38d98.js} +1 -1
  117. package/dist/{swirl-icon-send.entry.d72b43c5.js → swirl-icon-send.entry.2abe7294.js} +1 -1
  118. package/dist/{swirl-icon-settings.entry.c9b3ec2d.js → swirl-icon-settings.entry.a69909d9.js} +1 -1
  119. package/dist/{swirl-icon-short-text.entry.2648b8f8.js → swirl-icon-short-text.entry.53062f5e.js} +1 -1
  120. package/dist/{swirl-icon-simplify.entry.d5e0e49a.js → swirl-icon-simplify.entry.741a4d02.js} +1 -1
  121. package/dist/{swirl-icon-spellcheck.entry.fef821ad.js → swirl-icon-spellcheck.entry.18dcbd3e.js} +1 -1
  122. package/dist/{swirl-icon-sync.entry.608b6e60.js → swirl-icon-sync.entry.1bcdbdf7.js} +1 -1
  123. package/dist/{swirl-icon-tasks-filled.entry.7cd4edc2.js → swirl-icon-tasks-filled.entry.99ad7749.js} +1 -1
  124. package/dist/{swirl-icon-tasks-outlined.entry.62075a69.js → swirl-icon-tasks-outlined.entry.b09662cd.js} +1 -1
  125. package/dist/{swirl-icon-time-filled.entry.bfa49cd7.js → swirl-icon-time-filled.entry.d5bca2cf.js} +1 -1
  126. package/dist/{swirl-icon-time-outlined.entry.300829a7.js → swirl-icon-time-outlined.entry.bad73581.js} +1 -1
  127. package/dist/{swirl-icon-undo.entry.636e1abb.js → swirl-icon-undo.entry.d95312fd.js} +1 -1
  128. package/dist/swirl-icon-unlock-person.entry.eaadb2e0.js +17 -0
  129. package/dist/{swirl-icon-user-assign.entry.d0dc3079.js → swirl-icon-user-assign.entry.d5cfbb83.js} +1 -1
  130. package/dist/{swirl-icon-video-camera.entry.7ebc56c3.js → swirl-icon-video-camera.entry.65e9a259.js} +1 -1
  131. package/dist/{swirl-icon-voice.entry.4bda8967.js → swirl-icon-voice.entry.828f7cd6.js} +1 -1
  132. package/dist/{swirl-icon.entry.acdcc970.js → swirl-icon.entry.ec2c94ba.js} +1 -1
  133. package/dist/{swirl-inline-notification.entry.f8e34ed1.js → swirl-inline-notification.entry.e26bece4.js} +1 -1
  134. package/dist/{swirl-lightbox.entry.420be727.js → swirl-lightbox.entry.6dffb41b.js} +1 -1
  135. package/dist/{swirl-link.entry.e60c45b9.js → swirl-link.entry.b3b3250b.js} +1 -1
  136. package/dist/{swirl-list.entry.aa2bad6e.js → swirl-list.entry.8ec0e7ad.js} +1 -1
  137. package/dist/{swirl-modal.entry.3e14023b.js → swirl-modal.entry.3348a1de.js} +2 -2
  138. package/dist/{swirl-option-list-section.entry.580f59f0.js → swirl-option-list-section.entry.a48bc1a3.js} +1 -1
  139. package/dist/{swirl-pagination.entry.a9600ff5.js → swirl-pagination.entry.8ca4d5f9.js} +1 -1
  140. package/dist/{swirl-pdf-reader.entry.e3029c15.js → swirl-pdf-reader.entry.e4723b24.js} +1 -1
  141. package/dist/{swirl-popover.entry.8be256ba.js → swirl-popover.entry.5e421df2.js} +2 -2
  142. package/dist/{swirl-progress-indicator.entry.ca35b7a7.js → swirl-progress-indicator.entry.a5269580.js} +1 -1
  143. package/dist/{swirl-radio-group.entry.2ae68d6f.js → swirl-radio-group.entry.6d06cf2b.js} +1 -1
  144. package/dist/{swirl-radio.entry.02b51462.js → swirl-radio.entry.d184f150.js} +1 -1
  145. package/dist/{swirl-resource-list-file-item.entry.363886ad.js → swirl-resource-list-file-item.entry.a94affda.js} +1 -1
  146. package/dist/{swirl-search.entry.206ad82e.js → swirl-search.entry.0d6caf0e.js} +1 -1
  147. package/dist/{swirl-select.entry.6b90a164.js → swirl-select.entry.b72a862f.js} +1 -1
  148. package/dist/{swirl-shell-layout.entry.17091fe6.js → swirl-shell-layout.entry.9dc32ec1.js} +1 -1
  149. package/dist/{swirl-shell-navigation-item.entry.b1006ea9.js → swirl-shell-navigation-item.entry.243e161a.js} +1 -1
  150. package/dist/{swirl-skeleton-box.entry.88f3892e.js → swirl-skeleton-box.entry.260785d9.js} +1 -1
  151. package/dist/{swirl-skeleton-text.entry.f46fc41b.js → swirl-skeleton-text.entry.a5ee155c.js} +1 -1
  152. package/dist/{swirl-stack.entry.a5044175.js → swirl-stack.entry.b7091dd3.js} +1 -1
  153. package/dist/{swirl-switch.entry.db053149.js → swirl-switch.entry.2419612c.js} +1 -1
  154. package/dist/{swirl-tab-bar.entry.4cd6a4ad.js → swirl-tab-bar.entry.31850c4a.js} +1 -1
  155. package/dist/{swirl-tab.entry.56ab9d8e.js → swirl-tab.entry.21b43cb8.js} +1 -1
  156. package/dist/{swirl-table-cell.entry.f7b16055.js → swirl-table-cell.entry.d896c50e.js} +1 -1
  157. package/dist/{swirl-table-column.entry.b16fc3b2.js → swirl-table-column.entry.480401f8.js} +1 -1
  158. package/dist/{swirl-table-row-group.entry.bb3868af.js → swirl-table-row-group.entry.fd4390f0.js} +1 -1
  159. package/dist/{swirl-table-row.entry.86493fed.js → swirl-table-row.entry.82d783f0.js} +1 -1
  160. package/dist/{swirl-table.entry.3755e864.js → swirl-table.entry.64ea09e5.js} +1 -1
  161. package/dist/{swirl-tabs.entry.b16a34d1.js → swirl-tabs.entry.cf974ff1.js} +1 -1
  162. package/dist/{swirl-tag.entry.f7089724.js → swirl-tag.entry.3778d605.js} +1 -1
  163. package/dist/{swirl-text-input.entry.6920a530.js → swirl-text-input.entry.b077ec61.js} +1 -1
  164. package/dist/{swirl-text.entry.e4fa536b.js → swirl-text.entry.84d06a02.js} +1 -1
  165. package/dist/{swirl-theme-provider.entry.5589e5a0.js → swirl-theme-provider.entry.a83a7642.js} +1 -1
  166. package/dist/{swirl-toast-provider.entry.48b4c01c.js → swirl-toast-provider.entry.3d72f542.js} +1 -1
  167. package/dist/{swirl-toast.entry.093bbd70.js → swirl-toast.entry.9a5d816e.js} +1 -1
  168. package/dist/{swirl-tooltip.entry.238caa83.js → swirl-tooltip.entry.0af96072.js} +2 -2
  169. package/dist/swirl-tree-navigation-item.entry.3c67189c.js +25 -0
  170. package/dist/{swirl-video-thumbnail.entry.5deee1ad.js → swirl-video-thumbnail.entry.2dddfc1d.js} +1 -1
  171. package/dist/{swirl-visually-hidden.entry.95595f3f.js → swirl-visually-hidden.entry.9ee4387b.js} +1 -1
  172. package/dist/{wc-datepicker.entry.86b6db89.js → wc-datepicker.entry.ce833f43.js} +1 -1
  173. package/package.json +2 -2
  174. package/dist/floating-ui.dom.esm-b9f28f6d.15013ef7.js +0 -752
  175. package/dist/swirl-tree-navigation-item.entry.2c5dffaf.js +0 -25
@@ -0,0 +1,780 @@
1
+ function j(t) {
2
+ return t.split("-")[1];
3
+ }
4
+ function st(t) {
5
+ return t === "y" ? "height" : "width";
6
+ }
7
+ function T(t) {
8
+ return t.split("-")[0];
9
+ }
10
+ function I(t) {
11
+ return ["top", "bottom"].includes(T(t)) ? "x" : "y";
12
+ }
13
+ function Z(t, e, n) {
14
+ let {
15
+ reference: o,
16
+ floating: i
17
+ } = t;
18
+ const s = o.x + o.width / 2 - i.width / 2, r = o.y + o.height / 2 - i.height / 2, c = I(e), l = st(c), a = o[l] / 2 - i[l] / 2, g = T(e), f = c === "x";
19
+ let u;
20
+ switch (g) {
21
+ case "top":
22
+ u = {
23
+ x: s,
24
+ y: o.y - i.height
25
+ };
26
+ break;
27
+ case "bottom":
28
+ u = {
29
+ x: s,
30
+ y: o.y + o.height
31
+ };
32
+ break;
33
+ case "right":
34
+ u = {
35
+ x: o.x + o.width,
36
+ y: r
37
+ };
38
+ break;
39
+ case "left":
40
+ u = {
41
+ x: o.x - i.width,
42
+ y: r
43
+ };
44
+ break;
45
+ default:
46
+ u = {
47
+ x: o.x,
48
+ y: o.y
49
+ };
50
+ }
51
+ switch (j(e)) {
52
+ case "start":
53
+ u[c] -= a * (n && f ? -1 : 1);
54
+ break;
55
+ case "end":
56
+ u[c] += a * (n && f ? -1 : 1);
57
+ break;
58
+ }
59
+ return u;
60
+ }
61
+ const ht = async (t, e, n) => {
62
+ const {
63
+ placement: o = "bottom",
64
+ strategy: i = "absolute",
65
+ middleware: s = [],
66
+ platform: r
67
+ } = n, c = s.filter(Boolean), l = await (r.isRTL == null ? void 0 : r.isRTL(e));
68
+ let a = await r.getElementRects({
69
+ reference: t,
70
+ floating: e,
71
+ strategy: i
72
+ }), {
73
+ x: g,
74
+ y: f
75
+ } = Z(a, o, l), u = o, d = {}, h = 0;
76
+ for (let m = 0; m < c.length; m++) {
77
+ const {
78
+ name: p,
79
+ fn: x
80
+ } = c[m], {
81
+ x: y,
82
+ y: v,
83
+ data: L,
84
+ reset: w
85
+ } = await x({
86
+ x: g,
87
+ y: f,
88
+ initialPlacement: o,
89
+ placement: u,
90
+ strategy: i,
91
+ middlewareData: d,
92
+ rects: a,
93
+ platform: r,
94
+ elements: {
95
+ reference: t,
96
+ floating: e
97
+ }
98
+ });
99
+ if (g = y != null ? y : g, f = v != null ? v : f, d = {
100
+ ...d,
101
+ [p]: {
102
+ ...d[p],
103
+ ...L
104
+ }
105
+ }, w && h <= 50) {
106
+ h++, typeof w == "object" && (w.placement && (u = w.placement), w.rects && (a = w.rects === !0 ? await r.getElementRects({
107
+ reference: t,
108
+ floating: e,
109
+ strategy: i
110
+ }) : w.rects), {
111
+ x: g,
112
+ y: f
113
+ } = Z(a, u, l)), m = -1;
114
+ continue;
115
+ }
116
+ }
117
+ return {
118
+ x: g,
119
+ y: f,
120
+ placement: u,
121
+ strategy: i,
122
+ middlewareData: d
123
+ };
124
+ };
125
+ function pt(t) {
126
+ return {
127
+ top: 0,
128
+ right: 0,
129
+ bottom: 0,
130
+ left: 0,
131
+ ...t
132
+ };
133
+ }
134
+ function wt(t) {
135
+ return typeof t != "number" ? pt(t) : {
136
+ top: t,
137
+ right: t,
138
+ bottom: t,
139
+ left: t
140
+ };
141
+ }
142
+ function $(t) {
143
+ return {
144
+ ...t,
145
+ top: t.y,
146
+ left: t.x,
147
+ right: t.x + t.width,
148
+ bottom: t.y + t.height
149
+ };
150
+ }
151
+ async function rt(t, e) {
152
+ var n;
153
+ e === void 0 && (e = {});
154
+ const {
155
+ x: o,
156
+ y: i,
157
+ platform: s,
158
+ rects: r,
159
+ elements: c,
160
+ strategy: l
161
+ } = t, {
162
+ boundary: a = "clippingAncestors",
163
+ rootBoundary: g = "viewport",
164
+ elementContext: f = "floating",
165
+ altBoundary: u = !1,
166
+ padding: d = 0
167
+ } = e, h = wt(d), p = c[u ? f === "floating" ? "reference" : "floating" : f], x = $(await s.getClippingRect({
168
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(p))) == null || n ? p : p.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
169
+ boundary: a,
170
+ rootBoundary: g,
171
+ strategy: l
172
+ })), y = f === "floating" ? {
173
+ ...r.floating,
174
+ x: o,
175
+ y: i
176
+ } : r.reference, v = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), L = await (s.isElement == null ? void 0 : s.isElement(v)) ? await (s.getScale == null ? void 0 : s.getScale(v)) || {
177
+ x: 1,
178
+ y: 1
179
+ } : {
180
+ x: 1,
181
+ y: 1
182
+ }, w = $(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
183
+ rect: y,
184
+ offsetParent: v,
185
+ strategy: l
186
+ }) : y);
187
+ return {
188
+ top: (x.top - w.top + h.top) / L.y,
189
+ bottom: (w.bottom - x.bottom + h.bottom) / L.y,
190
+ left: (x.left - w.left + h.left) / L.x,
191
+ right: (w.right - x.right + h.right) / L.x
192
+ };
193
+ }
194
+ const xt = Math.min, yt = Math.max;
195
+ function tt(t, e, n) {
196
+ return yt(t, xt(e, n));
197
+ }
198
+ const vt = {
199
+ left: "right",
200
+ right: "left",
201
+ bottom: "top",
202
+ top: "bottom"
203
+ };
204
+ function _(t) {
205
+ return t.replace(/left|right|bottom|top/g, (e) => vt[e]);
206
+ }
207
+ function bt(t, e, n) {
208
+ n === void 0 && (n = !1);
209
+ const o = j(t), i = I(t), s = st(i);
210
+ let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
211
+ return e.reference[s] > e.floating[s] && (r = _(r)), {
212
+ main: r,
213
+ cross: _(r)
214
+ };
215
+ }
216
+ const At = {
217
+ start: "end",
218
+ end: "start"
219
+ };
220
+ function q(t) {
221
+ return t.replace(/start|end/g, (e) => At[e]);
222
+ }
223
+ function Rt(t) {
224
+ const e = _(t);
225
+ return [q(t), e, q(e)];
226
+ }
227
+ function Ct(t, e, n) {
228
+ const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
229
+ switch (t) {
230
+ case "top":
231
+ case "bottom":
232
+ return n ? e ? i : o : e ? o : i;
233
+ case "left":
234
+ case "right":
235
+ return e ? s : r;
236
+ default:
237
+ return [];
238
+ }
239
+ }
240
+ function Et(t, e, n, o) {
241
+ const i = j(t);
242
+ let s = Ct(T(t), n === "start", o);
243
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(q)))), s;
244
+ }
245
+ const zt = function(t) {
246
+ return t === void 0 && (t = {}), {
247
+ name: "flip",
248
+ options: t,
249
+ async fn(e) {
250
+ var n;
251
+ const {
252
+ placement: o,
253
+ middlewareData: i,
254
+ rects: s,
255
+ initialPlacement: r,
256
+ platform: c,
257
+ elements: l
258
+ } = e, {
259
+ mainAxis: a = !0,
260
+ crossAxis: g = !0,
261
+ fallbackPlacements: f,
262
+ fallbackStrategy: u = "bestFit",
263
+ fallbackAxisSideDirection: d = "none",
264
+ flipAlignment: h = !0,
265
+ ...m
266
+ } = t, p = T(o), x = T(r) === r, y = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), v = f || (x || !h ? [_(r)] : Rt(r));
267
+ !f && d !== "none" && v.push(...Et(r, h, d, y));
268
+ const L = [r, ...v], w = await rt(e, m), B = [];
269
+ let N = ((n = i.flip) == null ? void 0 : n.overflows) || [];
270
+ if (a && B.push(w[p]), g) {
271
+ const {
272
+ main: S,
273
+ cross: F
274
+ } = bt(o, s, y);
275
+ B.push(w[S], w[F]);
276
+ }
277
+ if (N = [...N, {
278
+ placement: o,
279
+ overflows: B
280
+ }], !B.every((S) => S <= 0)) {
281
+ var J, K;
282
+ const S = (((J = i.flip) == null ? void 0 : J.index) || 0) + 1, F = L[S];
283
+ if (F)
284
+ return {
285
+ data: {
286
+ index: S,
287
+ overflows: N
288
+ },
289
+ reset: {
290
+ placement: F
291
+ }
292
+ };
293
+ let W = (K = N.filter((V) => V.overflows[0] <= 0).sort((V, k) => V.overflows[1] - k.overflows[1])[0]) == null ? void 0 : K.placement;
294
+ if (!W)
295
+ switch (u) {
296
+ case "bestFit": {
297
+ var Q;
298
+ const V = (Q = N.map((k) => [k.placement, k.overflows.filter((M) => M > 0).reduce((M, gt) => M + gt, 0)]).sort((k, M) => k[1] - M[1])[0]) == null ? void 0 : Q[0];
299
+ V && (W = V);
300
+ break;
301
+ }
302
+ case "initialPlacement":
303
+ W = r;
304
+ break;
305
+ }
306
+ if (o !== W)
307
+ return {
308
+ reset: {
309
+ placement: W
310
+ }
311
+ };
312
+ }
313
+ return {};
314
+ }
315
+ };
316
+ };
317
+ async function Lt(t, e) {
318
+ const {
319
+ placement: n,
320
+ platform: o,
321
+ elements: i
322
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = T(n), c = j(n), l = I(n) === "x", a = ["left", "top"].includes(r) ? -1 : 1, g = s && l ? -1 : 1, f = typeof e == "function" ? e(t) : e;
323
+ let {
324
+ mainAxis: u,
325
+ crossAxis: d,
326
+ alignmentAxis: h
327
+ } = typeof f == "number" ? {
328
+ mainAxis: f,
329
+ crossAxis: 0,
330
+ alignmentAxis: null
331
+ } : {
332
+ mainAxis: 0,
333
+ crossAxis: 0,
334
+ alignmentAxis: null,
335
+ ...f
336
+ };
337
+ return c && typeof h == "number" && (d = c === "end" ? h * -1 : h), l ? {
338
+ x: d * g,
339
+ y: u * a
340
+ } : {
341
+ x: u * a,
342
+ y: d * g
343
+ };
344
+ }
345
+ const Xt = function(t) {
346
+ return t === void 0 && (t = 0), {
347
+ name: "offset",
348
+ options: t,
349
+ async fn(e) {
350
+ const {
351
+ x: n,
352
+ y: o
353
+ } = e, i = await Lt(e, t);
354
+ return {
355
+ x: n + i.x,
356
+ y: o + i.y,
357
+ data: i
358
+ };
359
+ }
360
+ };
361
+ };
362
+ function Ot(t) {
363
+ return t === "x" ? "y" : "x";
364
+ }
365
+ const jt = function(t) {
366
+ return t === void 0 && (t = {}), {
367
+ name: "shift",
368
+ options: t,
369
+ async fn(e) {
370
+ const {
371
+ x: n,
372
+ y: o,
373
+ placement: i
374
+ } = e, {
375
+ mainAxis: s = !0,
376
+ crossAxis: r = !1,
377
+ limiter: c = {
378
+ fn: (p) => {
379
+ let {
380
+ x,
381
+ y
382
+ } = p;
383
+ return {
384
+ x,
385
+ y
386
+ };
387
+ }
388
+ },
389
+ ...l
390
+ } = t, a = {
391
+ x: n,
392
+ y: o
393
+ }, g = await rt(e, l), f = I(T(i)), u = Ot(f);
394
+ let d = a[f], h = a[u];
395
+ if (s) {
396
+ const p = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", y = d + g[p], v = d - g[x];
397
+ d = tt(y, d, v);
398
+ }
399
+ if (r) {
400
+ const p = u === "y" ? "top" : "left", x = u === "y" ? "bottom" : "right", y = h + g[p], v = h - g[x];
401
+ h = tt(y, h, v);
402
+ }
403
+ const m = c.fn({
404
+ ...e,
405
+ [f]: d,
406
+ [u]: h
407
+ });
408
+ return {
409
+ ...m,
410
+ data: {
411
+ x: m.x - n,
412
+ y: m.y - o
413
+ }
414
+ };
415
+ }
416
+ };
417
+ };
418
+ function ct(t) {
419
+ return t && t.document && t.location && t.alert && t.setInterval;
420
+ }
421
+ function E(t) {
422
+ if (t == null)
423
+ return window;
424
+ if (!ct(t)) {
425
+ const e = t.ownerDocument;
426
+ return e && e.defaultView || window;
427
+ }
428
+ return t;
429
+ }
430
+ function b(t) {
431
+ return E(t).getComputedStyle(t);
432
+ }
433
+ function R(t) {
434
+ return ct(t) ? "" : t ? (t.nodeName || "").toLowerCase() : "";
435
+ }
436
+ function lt() {
437
+ const t = navigator.userAgentData;
438
+ return t != null && t.brands ? t.brands.map((e) => e.brand + "/" + e.version).join(" ") : navigator.userAgent;
439
+ }
440
+ function A(t) {
441
+ return t instanceof E(t).HTMLElement;
442
+ }
443
+ function O(t) {
444
+ return t instanceof E(t).Element;
445
+ }
446
+ function Pt(t) {
447
+ return t instanceof E(t).Node;
448
+ }
449
+ function D(t) {
450
+ if (typeof ShadowRoot > "u")
451
+ return !1;
452
+ const e = E(t).ShadowRoot;
453
+ return t instanceof e || t instanceof ShadowRoot;
454
+ }
455
+ function Y(t) {
456
+ const {
457
+ overflow: e,
458
+ overflowX: n,
459
+ overflowY: o
460
+ } = b(t);
461
+ return /auto|scroll|overlay|hidden/.test(e + o + n);
462
+ }
463
+ function Tt(t) {
464
+ return ["table", "td", "th"].includes(R(t));
465
+ }
466
+ function ft(t) {
467
+ const e = /firefox/i.test(lt()), n = b(t);
468
+ return n.transform !== "none" || n.perspective !== "none" || n.contain === "paint" || ["transform", "perspective"].includes(n.willChange) || e && n.willChange === "filter" || e && (n.filter ? n.filter !== "none" : !1);
469
+ }
470
+ function at() {
471
+ return !/^((?!chrome|android).)*safari/i.test(lt());
472
+ }
473
+ const et = Math.min, H = Math.max, z = Math.round;
474
+ function C(t, e, n) {
475
+ var o, i, s, r;
476
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
477
+ const c = t.getBoundingClientRect();
478
+ let l = 1, a = 1;
479
+ e && A(t) && (l = t.offsetWidth > 0 && z(c.width) / t.offsetWidth || 1, a = t.offsetHeight > 0 && z(c.height) / t.offsetHeight || 1);
480
+ const g = O(t) ? E(t) : window, f = !at() && n, u = (c.left + (f && (o = (i = g.visualViewport) == null ? void 0 : i.offsetLeft) != null ? o : 0)) / l, d = (c.top + (f && (s = (r = g.visualViewport) == null ? void 0 : r.offsetTop) != null ? s : 0)) / a, h = c.width / l, m = c.height / a;
481
+ return {
482
+ width: h,
483
+ height: m,
484
+ top: d,
485
+ right: u + h,
486
+ bottom: d + m,
487
+ left: u,
488
+ x: u,
489
+ y: d
490
+ };
491
+ }
492
+ function P(t) {
493
+ return ((Pt(t) ? t.ownerDocument : t.document) || window.document).documentElement;
494
+ }
495
+ function U(t) {
496
+ return O(t) ? {
497
+ scrollLeft: t.scrollLeft,
498
+ scrollTop: t.scrollTop
499
+ } : {
500
+ scrollLeft: t.pageXOffset,
501
+ scrollTop: t.pageYOffset
502
+ };
503
+ }
504
+ function ut(t) {
505
+ return C(P(t)).left + U(t).scrollLeft;
506
+ }
507
+ function St(t) {
508
+ const e = C(t);
509
+ return z(e.width) !== t.offsetWidth || z(e.height) !== t.offsetHeight;
510
+ }
511
+ function Vt(t, e, n) {
512
+ const o = A(e), i = P(e), s = C(
513
+ t,
514
+ o && St(e),
515
+ n === "fixed"
516
+ );
517
+ let r = {
518
+ scrollLeft: 0,
519
+ scrollTop: 0
520
+ };
521
+ const c = {
522
+ x: 0,
523
+ y: 0
524
+ };
525
+ if (o || !o && n !== "fixed")
526
+ if ((R(e) !== "body" || Y(i)) && (r = U(e)), A(e)) {
527
+ const l = C(e, !0);
528
+ c.x = l.x + e.clientLeft, c.y = l.y + e.clientTop;
529
+ } else
530
+ i && (c.x = ut(i));
531
+ return {
532
+ x: s.left + r.scrollLeft - c.x,
533
+ y: s.top + r.scrollTop - c.y,
534
+ width: s.width,
535
+ height: s.height
536
+ };
537
+ }
538
+ function dt(t) {
539
+ return R(t) === "html" ? t : t.assignedSlot || t.parentNode || (D(t) ? t.host : null) || P(t);
540
+ }
541
+ function nt(t) {
542
+ return !A(t) || b(t).position === "fixed" ? null : kt(t);
543
+ }
544
+ function kt(t) {
545
+ let {
546
+ offsetParent: e
547
+ } = t, n = t, o = !1;
548
+ for (; n && n !== e; ) {
549
+ const {
550
+ assignedSlot: i
551
+ } = n;
552
+ if (i) {
553
+ let s = i.offsetParent;
554
+ if (b(i).display === "contents") {
555
+ const r = i.hasAttribute("style"), c = i.style.display;
556
+ i.style.display = b(n).display, s = i.offsetParent, i.style.display = c, r || i.removeAttribute("style");
557
+ }
558
+ n = i, e !== s && (e = s, o = !0);
559
+ } else if (D(n) && n.host && o)
560
+ break;
561
+ n = D(n) && n.host || n.parentNode;
562
+ }
563
+ return e;
564
+ }
565
+ function Dt(t) {
566
+ let e = dt(t);
567
+ for (D(e) && (e = e.host); A(e) && !["html", "body"].includes(R(e)); ) {
568
+ if (ft(e))
569
+ return e;
570
+ {
571
+ const n = e.parentNode;
572
+ e = D(n) ? n.host : n;
573
+ }
574
+ }
575
+ return null;
576
+ }
577
+ function G(t) {
578
+ const e = E(t);
579
+ let n = nt(t);
580
+ for (; n && Tt(n) && b(n).position === "static"; )
581
+ n = nt(n);
582
+ return n && (R(n) === "html" || R(n) === "body" && b(n).position === "static" && !ft(n)) ? e : n || Dt(t) || e;
583
+ }
584
+ function ot(t) {
585
+ if (A(t))
586
+ return {
587
+ width: t.offsetWidth,
588
+ height: t.offsetHeight
589
+ };
590
+ const e = C(t);
591
+ return {
592
+ width: e.width,
593
+ height: e.height
594
+ };
595
+ }
596
+ function Nt(t) {
597
+ let {
598
+ rect: e,
599
+ offsetParent: n,
600
+ strategy: o
601
+ } = t;
602
+ const i = A(n), s = P(n);
603
+ if (n === s)
604
+ return e;
605
+ let r = {
606
+ scrollLeft: 0,
607
+ scrollTop: 0
608
+ };
609
+ const c = {
610
+ x: 0,
611
+ y: 0
612
+ };
613
+ if ((i || !i && o !== "fixed") && ((R(n) !== "body" || Y(s)) && (r = U(n)), A(n))) {
614
+ const l = C(n, !0);
615
+ c.x = l.x + n.clientLeft, c.y = l.y + n.clientTop;
616
+ }
617
+ return {
618
+ ...e,
619
+ x: e.x - r.scrollLeft + c.x,
620
+ y: e.y - r.scrollTop + c.y
621
+ };
622
+ }
623
+ function Wt(t, e) {
624
+ const n = E(t), o = P(t), i = n.visualViewport;
625
+ let s = o.clientWidth, r = o.clientHeight, c = 0, l = 0;
626
+ if (i) {
627
+ s = i.width, r = i.height;
628
+ const a = at();
629
+ (a || !a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
630
+ }
631
+ return {
632
+ width: s,
633
+ height: r,
634
+ x: c,
635
+ y: l
636
+ };
637
+ }
638
+ function Mt(t) {
639
+ var e;
640
+ const n = P(t), o = U(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, s = H(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), r = H(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0);
641
+ let c = -o.scrollLeft + ut(t);
642
+ const l = -o.scrollTop;
643
+ return b(i || n).direction === "rtl" && (c += H(n.clientWidth, i ? i.clientWidth : 0) - s), {
644
+ width: s,
645
+ height: r,
646
+ x: c,
647
+ y: l
648
+ };
649
+ }
650
+ function mt(t) {
651
+ const e = dt(t);
652
+ return ["html", "body", "#document"].includes(R(e)) ? t.ownerDocument.body : A(e) && Y(e) ? e : mt(e);
653
+ }
654
+ function X(t, e) {
655
+ var n;
656
+ e === void 0 && (e = []);
657
+ const o = mt(t), i = o === ((n = t.ownerDocument) == null ? void 0 : n.body), s = E(o), r = i ? [s].concat(s.visualViewport || [], Y(o) ? o : []) : o, c = e.concat(r);
658
+ return i ? c : c.concat(X(r));
659
+ }
660
+ function Ht(t, e) {
661
+ const n = e.getRootNode == null ? void 0 : e.getRootNode();
662
+ if (t.contains(e))
663
+ return !0;
664
+ if (n && D(n)) {
665
+ let o = e;
666
+ do {
667
+ if (o && t === o)
668
+ return !0;
669
+ o = o.parentNode || o.host;
670
+ } while (o);
671
+ }
672
+ return !1;
673
+ }
674
+ function Bt(t, e) {
675
+ const n = C(t, !1, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft;
676
+ return {
677
+ top: o,
678
+ left: i,
679
+ x: i,
680
+ y: o,
681
+ right: i + t.clientWidth,
682
+ bottom: o + t.clientHeight,
683
+ width: t.clientWidth,
684
+ height: t.clientHeight
685
+ };
686
+ }
687
+ function it(t, e, n) {
688
+ return e === "viewport" ? $(Wt(t, n)) : O(e) ? Bt(e, n) : $(Mt(P(t)));
689
+ }
690
+ function Ft(t) {
691
+ const e = X(t), o = ["absolute", "fixed"].includes(b(t).position) && A(t) ? G(t) : t;
692
+ return O(o) ? e.filter((i) => O(i) && Ht(i, o) && R(i) !== "body") : [];
693
+ }
694
+ function $t(t) {
695
+ let {
696
+ element: e,
697
+ boundary: n,
698
+ rootBoundary: o,
699
+ strategy: i
700
+ } = t;
701
+ const r = [...n === "clippingAncestors" ? Ft(e) : [].concat(n), o], c = r[0], l = r.reduce((a, g) => {
702
+ const f = it(e, g, i);
703
+ return a.top = H(f.top, a.top), a.right = et(f.right, a.right), a.bottom = et(f.bottom, a.bottom), a.left = H(f.left, a.left), a;
704
+ }, it(e, c, i));
705
+ return {
706
+ width: l.right - l.left,
707
+ height: l.bottom - l.top,
708
+ x: l.left,
709
+ y: l.top
710
+ };
711
+ }
712
+ const _t = {
713
+ getClippingRect: $t,
714
+ convertOffsetParentRelativeRectToViewportRelativeRect: Nt,
715
+ isElement: O,
716
+ getDimensions: ot,
717
+ getOffsetParent: G,
718
+ getDocumentElement: P,
719
+ getElementRects: (t) => {
720
+ let {
721
+ reference: e,
722
+ floating: n,
723
+ strategy: o
724
+ } = t;
725
+ return {
726
+ reference: Vt(e, G(n), o),
727
+ floating: {
728
+ ...ot(n),
729
+ x: 0,
730
+ y: 0
731
+ }
732
+ };
733
+ },
734
+ getClientRects: (t) => Array.from(t.getClientRects()),
735
+ isRTL: (t) => b(t).direction === "rtl"
736
+ };
737
+ function It(t, e, n, o) {
738
+ o === void 0 && (o = {});
739
+ const {
740
+ ancestorScroll: i = !0,
741
+ ancestorResize: s = !0,
742
+ elementResize: r = !0,
743
+ animationFrame: c = !1
744
+ } = o, l = i && !c, a = s && !c, g = l || a ? [...O(t) ? X(t) : [], ...X(e)] : [];
745
+ g.forEach((m) => {
746
+ l && m.addEventListener("scroll", n, {
747
+ passive: !0
748
+ }), a && m.addEventListener("resize", n);
749
+ });
750
+ let f = null;
751
+ if (r) {
752
+ let m = !0;
753
+ f = new ResizeObserver(() => {
754
+ m || n(), m = !1;
755
+ }), O(t) && !c && f.observe(t), f.observe(e);
756
+ }
757
+ let u, d = c ? C(t) : null;
758
+ c && h();
759
+ function h() {
760
+ const m = C(t);
761
+ d && (m.x !== d.x || m.y !== d.y || m.width !== d.width || m.height !== d.height) && n(), d = m, u = requestAnimationFrame(h);
762
+ }
763
+ return n(), () => {
764
+ var m;
765
+ g.forEach((p) => {
766
+ l && p.removeEventListener("scroll", n), a && p.removeEventListener("resize", n);
767
+ }), (m = f) == null || m.disconnect(), f = null, c && cancelAnimationFrame(u);
768
+ };
769
+ }
770
+ const Yt = (t, e, n) => ht(t, e, {
771
+ platform: _t,
772
+ ...n
773
+ });
774
+ export {
775
+ It as a,
776
+ Yt as c,
777
+ zt as f,
778
+ Xt as o,
779
+ jt as s
780
+ };