@pixpilot/shadcn-ui 0.4.0 → 0.4.1

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 (320) hide show
  1. package/dist/AbsoluteFill.cjs +24 -1
  2. package/dist/AbsoluteFill.d.ts +2 -2
  3. package/dist/AbsoluteFill.js +21 -1
  4. package/dist/Alert.cjs +81 -1
  5. package/dist/Alert.js +77 -1
  6. package/dist/Button.cjs +84 -1
  7. package/dist/Button.d.ts +1 -1
  8. package/dist/Button.js +79 -1
  9. package/dist/CloseButtonAbsolute.cjs +20 -1
  10. package/dist/CloseButtonAbsolute.js +16 -1
  11. package/dist/CloseButtonRounded.cjs +22 -1
  12. package/dist/CloseButtonRounded.js +17 -1
  13. package/dist/Combobox.cjs +53 -1
  14. package/dist/Combobox.js +48 -1
  15. package/dist/CommandOptionList.cjs +29 -1
  16. package/dist/CommandOptionList.js +25 -1
  17. package/dist/ContentCard.cjs +27 -1
  18. package/dist/ContentCard.js +23 -1
  19. package/dist/DatePicker.cjs +38 -1
  20. package/dist/DatePicker.d.ts +2 -2
  21. package/dist/DatePicker.js +33 -1
  22. package/dist/LoadingOverlay.cjs +65 -1
  23. package/dist/LoadingOverlay.js +60 -1
  24. package/dist/Select.cjs +27 -1
  25. package/dist/Select.js +23 -1
  26. package/dist/Slider.cjs +19 -1
  27. package/dist/Slider.js +15 -1
  28. package/dist/ThemeToggle.cjs +98 -1
  29. package/dist/ThemeToggle.js +94 -1
  30. package/dist/_virtual/rolldown_runtime.cjs +44 -1
  31. package/dist/_virtual/rolldown_runtime.js +43 -1
  32. package/dist/confirmation-dialog/ConfirmationDialog.cjs +47 -1
  33. package/dist/confirmation-dialog/ConfirmationDialog.d.cts +1 -0
  34. package/dist/confirmation-dialog/ConfirmationDialog.js +43 -1
  35. package/dist/confirmation-dialog/DialogProvider.cjs +16 -1
  36. package/dist/confirmation-dialog/DialogProvider.js +12 -1
  37. package/dist/confirmation-dialog/confirmation-dialogs.cjs +14 -1
  38. package/dist/confirmation-dialog/confirmation-dialogs.js +12 -1
  39. package/dist/confirmation-dialog/index.cjs +7 -1
  40. package/dist/confirmation-dialog/index.js +6 -1
  41. package/dist/file-upload/FileUpload.cjs +68 -1
  42. package/dist/file-upload/FileUpload.js +63 -1
  43. package/dist/file-upload/FileUploadItems.cjs +36 -1
  44. package/dist/file-upload/FileUploadItems.js +32 -1
  45. package/dist/file-upload/FileUploadListItem.cjs +89 -1
  46. package/dist/file-upload/FileUploadListItem.js +83 -1
  47. package/dist/file-upload/hooks/index.cjs +4 -1
  48. package/dist/file-upload/hooks/index.d.cts +2 -0
  49. package/dist/file-upload/hooks/index.js +3 -1
  50. package/dist/file-upload/hooks/use-file-error.cjs +15 -1
  51. package/dist/file-upload/hooks/use-file-error.js +14 -1
  52. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +34 -1
  53. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +1 -0
  54. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +32 -1
  55. package/dist/file-upload/hooks/use-file-upload-store.cjs +77 -1
  56. package/dist/file-upload/hooks/use-file-upload-store.d.cts +2 -0
  57. package/dist/file-upload/hooks/use-file-upload-store.js +75 -1
  58. package/dist/file-upload/index.cjs +6 -1
  59. package/dist/file-upload/index.d.cts +2 -1
  60. package/dist/file-upload/index.js +5 -1
  61. package/dist/file-upload/utils/create-placeholder-file.cjs +12 -1
  62. package/dist/file-upload/utils/create-placeholder-file.js +10 -1
  63. package/dist/file-upload/utils/get-file-key.cjs +9 -1
  64. package/dist/file-upload/utils/get-file-key.d.cts +1 -0
  65. package/dist/file-upload/utils/get-file-key.js +7 -1
  66. package/dist/file-upload/utils/get-file-meta.cjs +24 -1
  67. package/dist/file-upload/utils/get-file-meta.d.cts +1 -0
  68. package/dist/file-upload/utils/get-file-meta.js +21 -1
  69. package/dist/file-upload/utils/index.d.cts +4 -0
  70. package/dist/file-upload/utils/is-file-equal.cjs +10 -1
  71. package/dist/file-upload/utils/is-file-equal.d.cts +1 -0
  72. package/dist/file-upload/utils/is-file-equal.js +8 -1
  73. package/dist/file-upload/utils/merge-file-metadata.cjs +27 -1
  74. package/dist/file-upload/utils/merge-file-metadata.d.cts +1 -0
  75. package/dist/file-upload/utils/merge-file-metadata.js +26 -1
  76. package/dist/file-upload-inline/FileUploadInline.cjs +71 -1
  77. package/dist/file-upload-inline/FileUploadInline.js +66 -1
  78. package/dist/file-upload-inline/FileUploadInlineItem.cjs +96 -1
  79. package/dist/file-upload-inline/FileUploadInlineItem.js +90 -1
  80. package/dist/file-upload-inline/defaults.cjs +12 -1
  81. package/dist/file-upload-inline/defaults.js +10 -1
  82. package/dist/file-upload-inline/index.cjs +2 -1
  83. package/dist/file-upload-inline/index.js +1 -1
  84. package/dist/file-upload-inline/utils.cjs +37 -1
  85. package/dist/file-upload-inline/utils.js +34 -1
  86. package/dist/hooks/index.cjs +2 -1
  87. package/dist/hooks/index.js +1 -1
  88. package/dist/hooks/use-media-query.cjs +9 -1
  89. package/dist/hooks/use-media-query.js +7 -1
  90. package/dist/icon-selector/IconPicker.cjs +93 -1
  91. package/dist/icon-selector/IconPicker.js +88 -1
  92. package/dist/icon-selector/constants.cjs +7 -1
  93. package/dist/icon-selector/constants.js +5 -0
  94. package/dist/icon-selector/icon-picker-container.cjs +35 -1
  95. package/dist/icon-selector/icon-picker-container.js +32 -1
  96. package/dist/icon-selector/icon-picker-content.cjs +146 -1
  97. package/dist/icon-selector/icon-picker-content.js +141 -1
  98. package/dist/icon-selector/index.cjs +2 -1
  99. package/dist/icon-selector/index.js +1 -1
  100. package/dist/icon-selector/use-async-providers.cjs +69 -1
  101. package/dist/icon-selector/use-async-providers.js +67 -1
  102. package/dist/icon-selector/utils/is-valid-provider.cjs +12 -1
  103. package/dist/icon-selector/utils/is-valid-provider.js +10 -1
  104. package/dist/icon-selector/virtualized-icon-grid.cjs +137 -1
  105. package/dist/icon-selector/virtualized-icon-grid.js +132 -1
  106. package/dist/index.cjs +76 -1
  107. package/dist/index.js +37 -1
  108. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.cjs +558 -1
  109. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js +555 -1
  110. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.cjs +566 -1
  111. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.js +565 -1
  112. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +695 -1
  113. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +679 -1
  114. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +521 -1
  115. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +503 -1
  116. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +282 -1
  117. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +266 -1
  118. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.cjs +3767 -1
  119. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js +3747 -1
  120. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +426 -1
  121. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +379 -1
  122. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +165 -1
  123. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +175 -1
  124. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +151 -1
  125. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +138 -1
  126. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
  127. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +11 -0
  128. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +33 -0
  129. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  130. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +92 -0
  131. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.js +88 -0
  132. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.cjs +310 -0
  133. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.js +299 -0
  134. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +190 -0
  135. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +187 -0
  136. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +34 -0
  137. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.js +32 -0
  138. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +203 -0
  139. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.js +200 -0
  140. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +18 -0
  141. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  142. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.cjs +29 -0
  143. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.js +25 -0
  144. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.cjs +110 -0
  145. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.js +108 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.cjs +52 -0
  147. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.js +47 -0
  148. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +92 -0
  149. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +89 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +103 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +100 -0
  152. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +15 -0
  153. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  154. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +64 -0
  155. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +62 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +19 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
  158. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +9 -0
  159. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  160. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +108 -0
  161. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +155 -0
  162. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +19 -0
  163. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  164. package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +14 -0
  165. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +9 -0
  166. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +22 -0
  167. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js +46 -0
  168. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +12 -0
  169. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  170. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +37 -0
  171. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/component.cjs +61 -0
  172. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/constants.cjs +23 -0
  173. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/index.cjs +57 -0
  174. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/utils.cjs +49 -0
  175. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +17 -0
  176. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +163 -0
  177. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +64 -0
  178. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  179. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +85 -0
  180. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +7 -0
  181. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +9 -0
  182. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/Combination.cjs +29 -0
  183. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/SideEffect.cjs +179 -0
  184. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/UI.cjs +79 -0
  185. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.cjs +27 -0
  186. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/handleScroll.cjs +98 -0
  187. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/index.cjs +19 -0
  188. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/medium.cjs +18 -0
  189. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/sidecar.cjs +21 -0
  190. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js +21 -0
  191. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.js +27 -0
  192. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  193. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.js +43 -0
  194. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/component.cjs +33 -0
  195. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/hook.cjs +40 -0
  196. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/index.cjs +39 -0
  197. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/singleton.cjs +55 -0
  198. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +347 -1
  199. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +268 -1
  200. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1895 -0
  201. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1893 -0
  202. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +557 -0
  203. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +31 -0
  204. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js +22 -0
  205. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +47 -0
  206. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
  207. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/assignRef.cjs +34 -0
  208. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/createRef.cjs +39 -0
  209. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/index.cjs +85 -0
  210. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/mergeRef.cjs +40 -0
  211. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/refToCallback.cjs +59 -0
  212. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/transformRef.cjs +34 -0
  213. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useMergeRef.cjs +61 -0
  214. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useRef.cjs +53 -0
  215. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useTransformRef.cjs +38 -0
  216. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
  217. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.js +84 -0
  218. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/config.cjs +22 -0
  219. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/env.cjs +21 -0
  220. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/exports.cjs +31 -0
  221. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hoc.cjs +31 -0
  222. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hook.cjs +60 -0
  223. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/index.cjs +69 -0
  224. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/medium.cjs +101 -0
  225. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/renderProp.cjs +58 -0
  226. package/dist/packages/shadcn/src/components/index.cjs +6 -1
  227. package/dist/packages/shadcn/src/components/index.js +5 -1
  228. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +6 -1
  229. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +3 -1
  230. package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +10 -1
  231. package/dist/packages/shadcn/src/components/ui/alert-dialog.js +6 -1
  232. package/dist/packages/shadcn/src/components/ui/alert.cjs +44 -1
  233. package/dist/packages/shadcn/src/components/ui/alert.js +38 -1
  234. package/dist/packages/shadcn/src/components/ui/avatar.cjs +5 -1
  235. package/dist/packages/shadcn/src/components/ui/avatar.js +2 -1
  236. package/dist/packages/shadcn/src/components/ui/badge.cjs +20 -1
  237. package/dist/packages/shadcn/src/components/ui/badge.js +16 -1
  238. package/dist/packages/shadcn/src/components/ui/button.cjs +50 -1
  239. package/dist/packages/shadcn/src/components/ui/button.js +45 -1
  240. package/dist/packages/shadcn/src/components/ui/calendar.cjs +8 -1
  241. package/dist/packages/shadcn/src/components/ui/calendar.js +4 -1
  242. package/dist/packages/shadcn/src/components/ui/card.cjs +5 -1
  243. package/dist/packages/shadcn/src/components/ui/card.js +2 -1
  244. package/dist/packages/shadcn/src/components/ui/checkbox.cjs +10 -1
  245. package/dist/packages/shadcn/src/components/ui/checkbox.js +6 -1
  246. package/dist/packages/shadcn/src/components/ui/command.cjs +11 -1
  247. package/dist/packages/shadcn/src/components/ui/command.js +7 -1
  248. package/dist/packages/shadcn/src/components/ui/dialog.cjs +93 -1
  249. package/dist/packages/shadcn/src/components/ui/dialog.js +81 -1
  250. package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +7 -1
  251. package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +3 -1
  252. package/dist/packages/shadcn/src/components/ui/file-upload.cjs +49 -1
  253. package/dist/packages/shadcn/src/components/ui/file-upload.js +45 -1
  254. package/dist/packages/shadcn/src/components/ui/form.cjs +12 -1
  255. package/dist/packages/shadcn/src/components/ui/form.js +9 -1
  256. package/dist/packages/shadcn/src/components/ui/index.cjs +30 -1
  257. package/dist/packages/shadcn/src/components/ui/index.js +29 -1
  258. package/dist/packages/shadcn/src/components/ui/input.cjs +5 -1
  259. package/dist/packages/shadcn/src/components/ui/input.js +2 -1
  260. package/dist/packages/shadcn/src/components/ui/label.cjs +5 -1
  261. package/dist/packages/shadcn/src/components/ui/label.js +2 -1
  262. package/dist/packages/shadcn/src/components/ui/pagination.cjs +9 -1
  263. package/dist/packages/shadcn/src/components/ui/pagination.js +4 -1
  264. package/dist/packages/shadcn/src/components/ui/popover.cjs +5 -1
  265. package/dist/packages/shadcn/src/components/ui/popover.js +2 -1
  266. package/dist/packages/shadcn/src/components/ui/radio-group.cjs +7 -1
  267. package/dist/packages/shadcn/src/components/ui/radio-group.js +3 -1
  268. package/dist/packages/shadcn/src/components/ui/select.cjs +10 -1
  269. package/dist/packages/shadcn/src/components/ui/select.js +6 -1
  270. package/dist/packages/shadcn/src/components/ui/separator.cjs +5 -1
  271. package/dist/packages/shadcn/src/components/ui/separator.js +2 -1
  272. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +26 -1
  273. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +22 -1
  274. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +6 -1
  275. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +3 -1
  276. package/dist/packages/shadcn/src/components/ui/sheet.cjs +7 -1
  277. package/dist/packages/shadcn/src/components/ui/sheet.js +3 -1
  278. package/dist/packages/shadcn/src/components/ui/slider.cjs +5 -1
  279. package/dist/packages/shadcn/src/components/ui/slider.js +2 -1
  280. package/dist/packages/shadcn/src/components/ui/switch.cjs +8 -1
  281. package/dist/packages/shadcn/src/components/ui/switch.js +5 -1
  282. package/dist/packages/shadcn/src/components/ui/tabs.cjs +5 -1
  283. package/dist/packages/shadcn/src/components/ui/tabs.js +2 -1
  284. package/dist/packages/shadcn/src/components/ui/textarea.cjs +5 -1
  285. package/dist/packages/shadcn/src/components/ui/textarea.js +2 -1
  286. package/dist/packages/shadcn/src/components/ui/tooltip.cjs +5 -1
  287. package/dist/packages/shadcn/src/components/ui/tooltip.js +2 -1
  288. package/dist/packages/shadcn/src/lib/utils.cjs +11 -1
  289. package/dist/packages/shadcn/src/lib/utils.js +10 -1
  290. package/dist/pagination/Pagination.cjs +156 -1
  291. package/dist/pagination/Pagination.js +151 -1
  292. package/dist/pagination/index.cjs +2 -1
  293. package/dist/pagination/index.js +1 -1
  294. package/dist/rich-text-editor/RichTextEditor.cjs +132 -1
  295. package/dist/rich-text-editor/RichTextEditor.js +126 -1
  296. package/dist/rich-text-editor/index.cjs +2 -1
  297. package/dist/rich-text-editor/index.js +1 -1
  298. package/dist/rich-text-editor/predefined-toolbar-options.cjs +84 -1
  299. package/dist/rich-text-editor/predefined-toolbar-options.js +81 -1
  300. package/dist/spinner/index.cjs +2 -1
  301. package/dist/spinner/index.js +1 -1
  302. package/dist/spinner/spinner.cjs +73 -6
  303. package/dist/spinner/spinner.js +70 -6
  304. package/dist/spinner/styles.cjs +25 -12
  305. package/dist/spinner/styles.js +23 -12
  306. package/dist/tags-input.cjs +226 -1
  307. package/dist/tags-input.js +222 -1
  308. package/dist/theme-provider/ThemeProvider.cjs +27 -1
  309. package/dist/theme-provider/ThemeProvider.js +23 -1
  310. package/dist/theme-provider/index.cjs +4 -1
  311. package/dist/theme-provider/index.js +4 -1
  312. package/dist/toast/AlertToast.cjs +36 -1
  313. package/dist/toast/AlertToast.js +31 -1
  314. package/dist/toast/index.cjs +2 -1
  315. package/dist/toast/index.js +1 -1
  316. package/dist/toast/toast.cjs +75 -1
  317. package/dist/toast/toast.js +66 -1
  318. package/package.json +3 -3
  319. package/dist/packages/shadcn/src/lib/index.cjs +0 -1
  320. package/dist/packages/shadcn/src/lib/index.js +0 -1
@@ -1 +1,503 @@
1
- import{__esmMin as e}from"../../../../../../../_virtual/rolldown_runtime.js";import{getComputedStyle as t,getContainingBlock as n,getDocumentElement as r,getFrameElement as i,getNodeName as a,getNodeScroll as o,getOverflowAncestors as s,getParentNode as c,getWindow as l,init_floating_ui_utils_dom as u,isContainingBlock as d,isElement as f,isHTMLElement as p,isLastTraversableNode as m,isOverflowElement as h,isTableElement as g,isTopLayer as _,isWebKit as v}from"../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";import{createCoords as y,floor as b,init_floating_ui_utils as x,max as S,min as C,rectToClientRect as w,round as T}from"../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";import{arrow as ee,autoPlacement as te,computePosition as ne,detectOverflow as re,flip as ie,hide as ae,init_floating_ui_core as oe,inline as se,limitShift as ce,offset as le,shift as ue,size as de}from"../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";function E(e){let n=t(e),r=parseFloat(n.width)||0,i=parseFloat(n.height)||0,a=p(e),o=a?e.offsetWidth:r,s=a?e.offsetHeight:i,c=T(r)!==o||T(i)!==s;return c&&(r=o,i=s),{width:r,height:i,$:c}}function D(e){return f(e)?e:e.contextElement}function O(e){let t=D(e);if(!p(t))return y(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=E(t),o=(a?T(n.width):n.width)/r,s=(a?T(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}function k(e){let t=l(e);return!v()||!t.visualViewport?z:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==l(e)?!1:t}function A(e,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),s=D(e),c=y(1);n&&(a?f(a)&&(c=O(a)):c=O(e));let u=fe(s,r,a)?k(s):y(0),d=(o.left+u.x)/c.x,p=(o.top+u.y)/c.y,m=o.width/c.x,h=o.height/c.y;if(s){let e=l(s),n=a&&f(a)?l(a):a,r=e,o=i(r);for(;o&&a&&n!==r;){let e=O(o),n=o.getBoundingClientRect(),a=t(o),s=n.left+(o.clientLeft+parseFloat(a.paddingLeft))*e.x,c=n.top+(o.clientTop+parseFloat(a.paddingTop))*e.y;d*=e.x,p*=e.y,m*=e.x,h*=e.y,d+=s,p+=c,r=l(o),o=i(r)}}return w({width:m,height:h,x:d,y:p})}function j(e,t){let n=o(e).scrollLeft;return t?t.left+n:A(r(e)).left+n}function M(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-j(e,n),y:n.top+t.scrollTop}}function pe(e){let{elements:t,rect:n,offsetParent:i,strategy:s}=e,c=s===`fixed`,l=r(i),u=t?_(t.floating):!1;if(i===l||u&&c)return n;let d={scrollLeft:0,scrollTop:0},f=y(1),m=y(0),g=p(i);if((g||!g&&!c)&&((a(i)!==`body`||h(l))&&(d=o(i)),p(i))){let e=A(i);f=O(i),m.x=e.x+i.clientLeft,m.y=e.y+i.clientTop}let v=l&&!g&&!c?M(l,d):y(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+m.x+v.x,y:n.y*f.y-d.scrollTop*f.y+m.y+v.y}}function me(e){return Array.from(e.getClientRects())}function he(e){let n=r(e),i=o(e),a=e.ownerDocument.body,s=S(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),c=S(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight),l=-i.scrollLeft+j(e),u=-i.scrollTop;return t(a).direction===`rtl`&&(l+=S(n.clientWidth,a.clientWidth)-s),{width:s,height:c,x:l,y:u}}function ge(e,t){let n=l(e),i=r(e),a=n.visualViewport,o=i.clientWidth,s=i.clientHeight,c=0,u=0;if(a){o=a.width,s=a.height;let e=v();(!e||e&&t===`fixed`)&&(c=a.offsetLeft,u=a.offsetTop)}let d=j(i);if(d<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(i.clientWidth-t.clientWidth-r);a<=B&&(o-=a)}else d<=B&&(o+=d);return{width:o,height:s,x:c,y:u}}function _e(e,t){let n=A(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=p(e)?O(e):y(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function N(e,t,n){let i;if(t===`viewport`)i=ge(e,n);else if(t===`document`)i=he(r(e));else if(f(t))i=_e(t,n);else{let n=k(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return w(i)}function P(e,n){let r=c(e);return r===n||!f(r)||m(r)?!1:t(r).position===`fixed`||P(r,n)}function ve(e,n){let r=n.get(e);if(r)return r;let i=s(e,[],!1).filter(e=>f(e)&&a(e)!==`body`),o=null,l=t(e).position===`fixed`,u=l?c(e):e;for(;f(u)&&!m(u);){let n=t(u),r=d(u);!r&&n.position===`fixed`&&(o=null),(l?!r&&!o:!r&&n.position===`static`&&o&&V.has(o.position)||h(u)&&!r&&P(e,u))?i=i.filter(e=>e!==u):o=n,u=c(u)}return n.set(e,i),i}function ye(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?_(t)?[]:ve(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=N(t,n,i);return e.top=S(r.top,e.top),e.right=C(r.right,e.right),e.bottom=C(r.bottom,e.bottom),e.left=S(r.left,e.left),e},N(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function be(e){let{width:t,height:n}=E(e);return{width:t,height:n}}function xe(e,t,n){let i=p(t),s=r(t),c=n===`fixed`,l=A(e,!0,c,t),u={scrollLeft:0,scrollTop:0},d=y(0);function f(){d.x=j(s)}if(i||!i&&!c)if((a(t)!==`body`||h(s))&&(u=o(t)),i){let e=A(t,!0,c,t);d.x=e.x+t.clientLeft,d.y=e.y+t.clientTop}else s&&f();c&&!i&&s&&f();let m=s&&!i&&!c?M(s,u):y(0);return{x:l.left+u.scrollLeft-d.x-m.x,y:l.top+u.scrollTop-d.y-m.y,width:l.width,height:l.height}}function F(e){return t(e).position===`static`}function I(e,n){if(!p(e)||t(e).position===`fixed`)return null;if(n)return n(e);let i=e.offsetParent;return r(e)===i&&(i=i.ownerDocument.body),i}function L(e,t){let r=l(e);if(_(e))return r;if(!p(e)){let t=c(e);for(;t&&!m(t);){if(f(t)&&!F(t))return t;t=c(t)}return r}let i=I(e,t);for(;i&&g(i)&&F(i);)i=I(i,t);return i&&m(i)&&F(i)&&!d(i)?r:i||n(e)||r}function Se(e){return t(e).direction===`rtl`}function R(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ce(e,t){let n=null,i,a=r(e);function o(){var e;clearTimeout(i),(e=n)==null||e.disconnect(),n=null}function s(r,c){r===void 0&&(r=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(r||t(),!f||!p)return;let m=b(d),h=b(a.clientWidth-(u+f)),g=b(a.clientHeight-(d+p)),_=b(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:S(0,C(1,c))||1},y=!0;function x(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}n===1&&!R(l,e.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(x,{...v,root:a.ownerDocument})}catch{n=new IntersectionObserver(x,v)}n.observe(e)}return s(!0),o}function we(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:c=typeof IntersectionObserver==`function`,animationFrame:l=!1}=r,u=D(e),d=i||a?[...u?s(u):[],...s(t)]:[];d.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let f=u&&c?Ce(u,n):null,p=-1,m=null;o&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;(e=m)==null||e.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?A(e):null;l&&_();function _(){let t=A(e);g&&!R(g,t)&&n(),g=t,h=requestAnimationFrame(_)}return n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),f?.(),(e=m)==null||e.disconnect(),m=null,l&&cancelAnimationFrame(h)}}var z,B,V,H,U,W,G,K,q,J,Y,X,Z,Q,Te,Ee,$=e((()=>{oe(),x(),u(),z=y(0),B=25,V=new Set([`absolute`,`fixed`]),H=async function(e){let t=this.getOffsetParent||L,n=this.getDimensions,r=await n(e.floating);return{reference:xe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},U={convertOffsetParentRelativeRectToViewportRelativeRect:pe,getDocumentElement:r,getClippingRect:ye,getOffsetParent:L,getElementRects:H,getClientRects:me,getDimensions:be,getScale:O,isElement:f,isRTL:Se},W=re,G=le,K=te,q=ue,J=ie,Y=de,X=ae,Z=ee,Q=se,Te=ce,Ee=(e,t,n)=>{let r=new Map,i={platform:U,...n},a={...i.platform,_c:r};return ne(e,t,{...i,platform:a})}}));$();export{Z as arrow,K as autoPlacement,we as autoUpdate,Ee as computePosition,W as detectOverflow,J as flip,X as hide,$ as init_floating_ui_dom,Q as inline,Te as limitShift,G as offset,U as platform,q as shift,Y as size};
1
+ import { __esm } from "../../../../../../../_virtual/rolldown_runtime.js";
2
+ import { createCoords, floor, init_floating_ui_utils, max, min, rectToClientRect, round } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
3
+ import { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, init_floating_ui_core, inline, limitShift, offset, shift, size } from "../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";
4
+ import { getComputedStyle as getComputedStyle$1, getContainingBlock, getDocumentElement, getFrameElement, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, init_floating_ui_utils_dom, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isOverflowElement, isTableElement, isTopLayer, isWebKit } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
5
+
6
+ //#region ../../node_modules/.pnpm/@floating-ui+dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
7
+ function getCssDimensions(element) {
8
+ const css = getComputedStyle$1(element);
9
+ let width = parseFloat(css.width) || 0;
10
+ let height = parseFloat(css.height) || 0;
11
+ const hasOffset = isHTMLElement(element);
12
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
13
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
14
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
15
+ if (shouldFallback) {
16
+ width = offsetWidth;
17
+ height = offsetHeight;
18
+ }
19
+ return {
20
+ width,
21
+ height,
22
+ $: shouldFallback
23
+ };
24
+ }
25
+ function unwrapElement(element) {
26
+ return !isElement(element) ? element.contextElement : element;
27
+ }
28
+ function getScale(element) {
29
+ const domElement = unwrapElement(element);
30
+ if (!isHTMLElement(domElement)) return createCoords(1);
31
+ const rect = domElement.getBoundingClientRect();
32
+ const { width, height, $ } = getCssDimensions(domElement);
33
+ let x = ($ ? round(rect.width) : rect.width) / width;
34
+ let y = ($ ? round(rect.height) : rect.height) / height;
35
+ if (!x || !Number.isFinite(x)) x = 1;
36
+ if (!y || !Number.isFinite(y)) y = 1;
37
+ return {
38
+ x,
39
+ y
40
+ };
41
+ }
42
+ function getVisualOffsets(element) {
43
+ const win = getWindow(element);
44
+ if (!isWebKit() || !win.visualViewport) return noOffsets;
45
+ return {
46
+ x: win.visualViewport.offsetLeft,
47
+ y: win.visualViewport.offsetTop
48
+ };
49
+ }
50
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
51
+ if (isFixed === void 0) isFixed = false;
52
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) return false;
53
+ return isFixed;
54
+ }
55
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
56
+ if (includeScale === void 0) includeScale = false;
57
+ if (isFixedStrategy === void 0) isFixedStrategy = false;
58
+ const clientRect = element.getBoundingClientRect();
59
+ const domElement = unwrapElement(element);
60
+ let scale = createCoords(1);
61
+ if (includeScale) if (offsetParent) {
62
+ if (isElement(offsetParent)) scale = getScale(offsetParent);
63
+ } else scale = getScale(element);
64
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
65
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
66
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
67
+ let width = clientRect.width / scale.x;
68
+ let height = clientRect.height / scale.y;
69
+ if (domElement) {
70
+ const win = getWindow(domElement);
71
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
72
+ let currentWin = win;
73
+ let currentIFrame = getFrameElement(currentWin);
74
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
75
+ const iframeScale = getScale(currentIFrame);
76
+ const iframeRect = currentIFrame.getBoundingClientRect();
77
+ const css = getComputedStyle$1(currentIFrame);
78
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
79
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
80
+ x *= iframeScale.x;
81
+ y *= iframeScale.y;
82
+ width *= iframeScale.x;
83
+ height *= iframeScale.y;
84
+ x += left;
85
+ y += top;
86
+ currentWin = getWindow(currentIFrame);
87
+ currentIFrame = getFrameElement(currentWin);
88
+ }
89
+ }
90
+ return rectToClientRect({
91
+ width,
92
+ height,
93
+ x,
94
+ y
95
+ });
96
+ }
97
+ function getWindowScrollBarX(element, rect) {
98
+ const leftScroll = getNodeScroll(element).scrollLeft;
99
+ if (!rect) return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
100
+ return rect.left + leftScroll;
101
+ }
102
+ function getHTMLOffset(documentElement, scroll) {
103
+ const htmlRect = documentElement.getBoundingClientRect();
104
+ return {
105
+ x: htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect),
106
+ y: htmlRect.top + scroll.scrollTop
107
+ };
108
+ }
109
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
110
+ let { elements, rect, offsetParent, strategy } = _ref;
111
+ const isFixed = strategy === "fixed";
112
+ const documentElement = getDocumentElement(offsetParent);
113
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
114
+ if (offsetParent === documentElement || topLayer && isFixed) return rect;
115
+ let scroll = {
116
+ scrollLeft: 0,
117
+ scrollTop: 0
118
+ };
119
+ let scale = createCoords(1);
120
+ const offsets = createCoords(0);
121
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
122
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
123
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
124
+ if (isHTMLElement(offsetParent)) {
125
+ const offsetRect = getBoundingClientRect(offsetParent);
126
+ scale = getScale(offsetParent);
127
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
128
+ offsets.y = offsetRect.y + offsetParent.clientTop;
129
+ }
130
+ }
131
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
132
+ return {
133
+ width: rect.width * scale.x,
134
+ height: rect.height * scale.y,
135
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
136
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
137
+ };
138
+ }
139
+ function getClientRects(element) {
140
+ return Array.from(element.getClientRects());
141
+ }
142
+ function getDocumentRect(element) {
143
+ const html = getDocumentElement(element);
144
+ const scroll = getNodeScroll(element);
145
+ const body = element.ownerDocument.body;
146
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
147
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
148
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
149
+ const y = -scroll.scrollTop;
150
+ if (getComputedStyle$1(body).direction === "rtl") x += max(html.clientWidth, body.clientWidth) - width;
151
+ return {
152
+ width,
153
+ height,
154
+ x,
155
+ y
156
+ };
157
+ }
158
+ function getViewportRect(element, strategy) {
159
+ const win = getWindow(element);
160
+ const html = getDocumentElement(element);
161
+ const visualViewport = win.visualViewport;
162
+ let width = html.clientWidth;
163
+ let height = html.clientHeight;
164
+ let x = 0;
165
+ let y = 0;
166
+ if (visualViewport) {
167
+ width = visualViewport.width;
168
+ height = visualViewport.height;
169
+ const visualViewportBased = isWebKit();
170
+ if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
171
+ x = visualViewport.offsetLeft;
172
+ y = visualViewport.offsetTop;
173
+ }
174
+ }
175
+ const windowScrollbarX = getWindowScrollBarX(html);
176
+ if (windowScrollbarX <= 0) {
177
+ const doc = html.ownerDocument;
178
+ const body = doc.body;
179
+ const bodyStyles = getComputedStyle(body);
180
+ const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
181
+ const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
182
+ if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) width -= clippingStableScrollbarWidth;
183
+ } else if (windowScrollbarX <= SCROLLBAR_MAX) width += windowScrollbarX;
184
+ return {
185
+ width,
186
+ height,
187
+ x,
188
+ y
189
+ };
190
+ }
191
+ function getInnerBoundingClientRect(element, strategy) {
192
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
193
+ const top = clientRect.top + element.clientTop;
194
+ const left = clientRect.left + element.clientLeft;
195
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
196
+ return {
197
+ width: element.clientWidth * scale.x,
198
+ height: element.clientHeight * scale.y,
199
+ x: left * scale.x,
200
+ y: top * scale.y
201
+ };
202
+ }
203
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
204
+ let rect;
205
+ if (clippingAncestor === "viewport") rect = getViewportRect(element, strategy);
206
+ else if (clippingAncestor === "document") rect = getDocumentRect(getDocumentElement(element));
207
+ else if (isElement(clippingAncestor)) rect = getInnerBoundingClientRect(clippingAncestor, strategy);
208
+ else {
209
+ const visualOffsets = getVisualOffsets(element);
210
+ rect = {
211
+ x: clippingAncestor.x - visualOffsets.x,
212
+ y: clippingAncestor.y - visualOffsets.y,
213
+ width: clippingAncestor.width,
214
+ height: clippingAncestor.height
215
+ };
216
+ }
217
+ return rectToClientRect(rect);
218
+ }
219
+ function hasFixedPositionAncestor(element, stopNode) {
220
+ const parentNode = getParentNode(element);
221
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) return false;
222
+ return getComputedStyle$1(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
223
+ }
224
+ function getClippingElementAncestors(element, cache) {
225
+ const cachedResult = cache.get(element);
226
+ if (cachedResult) return cachedResult;
227
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
228
+ let currentContainingBlockComputedStyle = null;
229
+ const elementIsFixed = getComputedStyle$1(element).position === "fixed";
230
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
231
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
232
+ const computedStyle = getComputedStyle$1(currentNode);
233
+ const currentNodeIsContaining = isContainingBlock(currentNode);
234
+ if (!currentNodeIsContaining && computedStyle.position === "fixed") currentContainingBlockComputedStyle = null;
235
+ if (elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode)) result = result.filter((ancestor) => ancestor !== currentNode);
236
+ else currentContainingBlockComputedStyle = computedStyle;
237
+ currentNode = getParentNode(currentNode);
238
+ }
239
+ cache.set(element, result);
240
+ return result;
241
+ }
242
+ function getClippingRect(_ref) {
243
+ let { element, boundary, rootBoundary, strategy } = _ref;
244
+ const clippingAncestors = [...boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary), rootBoundary];
245
+ const firstClippingAncestor = clippingAncestors[0];
246
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
247
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
248
+ accRect.top = max(rect.top, accRect.top);
249
+ accRect.right = min(rect.right, accRect.right);
250
+ accRect.bottom = min(rect.bottom, accRect.bottom);
251
+ accRect.left = max(rect.left, accRect.left);
252
+ return accRect;
253
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
254
+ return {
255
+ width: clippingRect.right - clippingRect.left,
256
+ height: clippingRect.bottom - clippingRect.top,
257
+ x: clippingRect.left,
258
+ y: clippingRect.top
259
+ };
260
+ }
261
+ function getDimensions(element) {
262
+ const { width, height } = getCssDimensions(element);
263
+ return {
264
+ width,
265
+ height
266
+ };
267
+ }
268
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
269
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
270
+ const documentElement = getDocumentElement(offsetParent);
271
+ const isFixed = strategy === "fixed";
272
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
273
+ let scroll = {
274
+ scrollLeft: 0,
275
+ scrollTop: 0
276
+ };
277
+ const offsets = createCoords(0);
278
+ function setLeftRTLScrollbarOffset() {
279
+ offsets.x = getWindowScrollBarX(documentElement);
280
+ }
281
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
282
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
283
+ if (isOffsetParentAnElement) {
284
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
285
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
286
+ offsets.y = offsetRect.y + offsetParent.clientTop;
287
+ } else if (documentElement) setLeftRTLScrollbarOffset();
288
+ }
289
+ if (isFixed && !isOffsetParentAnElement && documentElement) setLeftRTLScrollbarOffset();
290
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
291
+ return {
292
+ x: rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x,
293
+ y: rect.top + scroll.scrollTop - offsets.y - htmlOffset.y,
294
+ width: rect.width,
295
+ height: rect.height
296
+ };
297
+ }
298
+ function isStaticPositioned(element) {
299
+ return getComputedStyle$1(element).position === "static";
300
+ }
301
+ function getTrueOffsetParent(element, polyfill) {
302
+ if (!isHTMLElement(element) || getComputedStyle$1(element).position === "fixed") return null;
303
+ if (polyfill) return polyfill(element);
304
+ let rawOffsetParent = element.offsetParent;
305
+ if (getDocumentElement(element) === rawOffsetParent) rawOffsetParent = rawOffsetParent.ownerDocument.body;
306
+ return rawOffsetParent;
307
+ }
308
+ function getOffsetParent(element, polyfill) {
309
+ const win = getWindow(element);
310
+ if (isTopLayer(element)) return win;
311
+ if (!isHTMLElement(element)) {
312
+ let svgOffsetParent = getParentNode(element);
313
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
314
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) return svgOffsetParent;
315
+ svgOffsetParent = getParentNode(svgOffsetParent);
316
+ }
317
+ return win;
318
+ }
319
+ let offsetParent = getTrueOffsetParent(element, polyfill);
320
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) offsetParent = getTrueOffsetParent(offsetParent, polyfill);
321
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) return win;
322
+ return offsetParent || getContainingBlock(element) || win;
323
+ }
324
+ function isRTL(element) {
325
+ return getComputedStyle$1(element).direction === "rtl";
326
+ }
327
+ function rectsAreEqual(a, b) {
328
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
329
+ }
330
+ function observeMove(element, onMove) {
331
+ let io = null;
332
+ let timeoutId;
333
+ const root = getDocumentElement(element);
334
+ function cleanup() {
335
+ var _io;
336
+ clearTimeout(timeoutId);
337
+ (_io = io) == null || _io.disconnect();
338
+ io = null;
339
+ }
340
+ function refresh(skip, threshold) {
341
+ if (skip === void 0) skip = false;
342
+ if (threshold === void 0) threshold = 1;
343
+ cleanup();
344
+ const elementRectForRootMargin = element.getBoundingClientRect();
345
+ const { left, top, width, height } = elementRectForRootMargin;
346
+ if (!skip) onMove();
347
+ if (!width || !height) return;
348
+ const insetTop = floor(top);
349
+ const insetRight = floor(root.clientWidth - (left + width));
350
+ const insetBottom = floor(root.clientHeight - (top + height));
351
+ const insetLeft = floor(left);
352
+ const options = {
353
+ rootMargin: -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px",
354
+ threshold: max(0, min(1, threshold)) || 1
355
+ };
356
+ let isFirstUpdate = true;
357
+ function handleObserve(entries) {
358
+ const ratio = entries[0].intersectionRatio;
359
+ if (ratio !== threshold) {
360
+ if (!isFirstUpdate) return refresh();
361
+ if (!ratio) timeoutId = setTimeout(() => {
362
+ refresh(false, 1e-7);
363
+ }, 1e3);
364
+ else refresh(false, ratio);
365
+ }
366
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) refresh();
367
+ isFirstUpdate = false;
368
+ }
369
+ try {
370
+ io = new IntersectionObserver(handleObserve, {
371
+ ...options,
372
+ root: root.ownerDocument
373
+ });
374
+ } catch (_e) {
375
+ io = new IntersectionObserver(handleObserve, options);
376
+ }
377
+ io.observe(element);
378
+ }
379
+ refresh(true);
380
+ return cleanup;
381
+ }
382
+ /**
383
+ * Automatically updates the position of the floating element when necessary.
384
+ * Should only be called when the floating element is mounted on the DOM or
385
+ * visible on the screen.
386
+ * @returns cleanup function that should be invoked when the floating element is
387
+ * removed from the DOM or hidden from the screen.
388
+ * @see https://floating-ui.com/docs/autoUpdate
389
+ */
390
+ function autoUpdate(reference, floating, update, options) {
391
+ if (options === void 0) options = {};
392
+ const { ancestorScroll = true, ancestorResize = true, elementResize = typeof ResizeObserver === "function", layoutShift = typeof IntersectionObserver === "function", animationFrame = false } = options;
393
+ const referenceEl = unwrapElement(reference);
394
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
395
+ ancestors.forEach((ancestor) => {
396
+ ancestorScroll && ancestor.addEventListener("scroll", update, { passive: true });
397
+ ancestorResize && ancestor.addEventListener("resize", update);
398
+ });
399
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
400
+ let reobserveFrame = -1;
401
+ let resizeObserver = null;
402
+ if (elementResize) {
403
+ resizeObserver = new ResizeObserver((_ref) => {
404
+ let [firstEntry] = _ref;
405
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
406
+ resizeObserver.unobserve(floating);
407
+ cancelAnimationFrame(reobserveFrame);
408
+ reobserveFrame = requestAnimationFrame(() => {
409
+ var _resizeObserver;
410
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
411
+ });
412
+ }
413
+ update();
414
+ });
415
+ if (referenceEl && !animationFrame) resizeObserver.observe(referenceEl);
416
+ resizeObserver.observe(floating);
417
+ }
418
+ let frameId;
419
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
420
+ if (animationFrame) frameLoop();
421
+ function frameLoop() {
422
+ const nextRefRect = getBoundingClientRect(reference);
423
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) update();
424
+ prevRefRect = nextRefRect;
425
+ frameId = requestAnimationFrame(frameLoop);
426
+ }
427
+ update();
428
+ return () => {
429
+ var _resizeObserver2;
430
+ ancestors.forEach((ancestor) => {
431
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
432
+ ancestorResize && ancestor.removeEventListener("resize", update);
433
+ });
434
+ cleanupIo?.();
435
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
436
+ resizeObserver = null;
437
+ if (animationFrame) cancelAnimationFrame(frameId);
438
+ };
439
+ }
440
+ var noOffsets, SCROLLBAR_MAX, absoluteOrFixed, getElementRects, platform, detectOverflow$1, offset$1, autoPlacement$1, shift$1, flip$1, size$1, hide$1, arrow$1, inline$1, limitShift$1, computePosition$1;
441
+ var init_floating_ui_dom = __esm({ "../../node_modules/.pnpm/@floating-ui+dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs": (() => {
442
+ init_floating_ui_core();
443
+ init_floating_ui_utils();
444
+ init_floating_ui_utils_dom();
445
+ noOffsets = /* @__PURE__ */ createCoords(0);
446
+ SCROLLBAR_MAX = 25;
447
+ absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
448
+ getElementRects = async function(data) {
449
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
450
+ const getDimensionsFn = this.getDimensions;
451
+ const floatingDimensions = await getDimensionsFn(data.floating);
452
+ return {
453
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
454
+ floating: {
455
+ x: 0,
456
+ y: 0,
457
+ width: floatingDimensions.width,
458
+ height: floatingDimensions.height
459
+ }
460
+ };
461
+ };
462
+ platform = {
463
+ convertOffsetParentRelativeRectToViewportRelativeRect,
464
+ getDocumentElement,
465
+ getClippingRect,
466
+ getOffsetParent,
467
+ getElementRects,
468
+ getClientRects,
469
+ getDimensions,
470
+ getScale,
471
+ isElement,
472
+ isRTL
473
+ };
474
+ detectOverflow$1 = detectOverflow;
475
+ offset$1 = offset;
476
+ autoPlacement$1 = autoPlacement;
477
+ shift$1 = shift;
478
+ flip$1 = flip;
479
+ size$1 = size;
480
+ hide$1 = hide;
481
+ arrow$1 = arrow;
482
+ inline$1 = inline;
483
+ limitShift$1 = limitShift;
484
+ computePosition$1 = (reference, floating, options) => {
485
+ const cache = /* @__PURE__ */ new Map();
486
+ const mergedOptions = {
487
+ platform,
488
+ ...options
489
+ };
490
+ const platformWithCache = {
491
+ ...mergedOptions.platform,
492
+ _c: cache
493
+ };
494
+ return computePosition(reference, floating, {
495
+ ...mergedOptions,
496
+ platform: platformWithCache
497
+ });
498
+ };
499
+ }) });
500
+
501
+ //#endregion
502
+ init_floating_ui_dom();
503
+ export { arrow$1 as arrow, autoPlacement$1 as autoPlacement, autoUpdate, computePosition$1 as computePosition, detectOverflow$1 as detectOverflow, flip$1 as flip, hide$1 as hide, init_floating_ui_dom, inline$1 as inline, limitShift$1 as limitShift, offset$1 as offset, platform, shift$1 as shift, size$1 as size };