@agrotools1/at-components 0.6.13 → 0.6.15

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 (323) hide show
  1. package/README.md +7 -7
  2. package/dist/Accordion/Accordion.d.ts +4 -4
  3. package/dist/Accordion/Accordion.vue.js +4 -4
  4. package/dist/Accordion/Accordion.vue3.js +2 -2
  5. package/dist/Avatar/Avatar.d.ts +4 -4
  6. package/dist/Avatar/Avatar.vue.js +1 -1
  7. package/dist/Avatar/Avatar.vue3.js +2 -2
  8. package/dist/Button/Button.d.ts +4 -4
  9. package/dist/Button/Button.vue.js +1 -1
  10. package/dist/Button/Button.vue3.js +2 -2
  11. package/dist/CardWithInsights/CardWithInsights.vue.js +6 -6
  12. package/dist/CardWithInsights/CardWithInsights.vue4.js +2 -2
  13. package/dist/Checkbox/Checkbox.d.ts +9 -8
  14. package/dist/Checkbox/Checkbox.vue.js +1 -1
  15. package/dist/Checkbox/img/checkmarck.svg.js +1 -1
  16. package/dist/ColorPicker/ColorPicker.Saturation.d.ts +8 -8
  17. package/dist/ColorPicker/ColorPicker.Saturation.vue.js +10 -10
  18. package/dist/ColorPicker/ColorPicker.Saturation.vue3.js +2 -2
  19. package/dist/ColorPicker/ColorPicker.vue.js +4 -4
  20. package/dist/DataTable/Column/Column.d.ts +4 -3
  21. package/dist/DataTable/Column/Column.vue.js +6 -6
  22. package/dist/DataTable/Column/Column.vue3.js +2 -2
  23. package/dist/DataTable/Column/imgs/filter.svg.js +1 -1
  24. package/dist/DataTable/Counters/Counters.d.ts +6 -6
  25. package/dist/DataTable/Counters/Counters.vue.js +1 -1
  26. package/dist/DataTable/Counters/imgs/close.svg.js +1 -1
  27. package/dist/DataTable/DataTable.d.ts +9 -8
  28. package/dist/DataTable/DataTable.vue.js +5 -5
  29. package/dist/DataTable/index.d.ts +37 -37
  30. package/dist/DatePicker/DatePicker.d.ts +22 -21
  31. package/dist/DatePicker/DatePicker.scss.js +2 -2
  32. package/dist/DatePicker/DatePicker.vue.js +4 -4
  33. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.d.ts +6 -6
  34. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +2 -1
  35. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
  36. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +2 -2
  37. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.scss.js +2 -2
  38. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +4 -4
  39. package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.d.ts +5 -5
  40. package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +5 -5
  41. package/dist/DatePicker/DatePickerTime/DatePickerTime.d.ts +7 -6
  42. package/dist/DatePicker/DatePickerTime/DatePickerTime.scss.js +2 -2
  43. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +8 -8
  44. package/dist/DatePicker/index.d.ts +1 -1
  45. package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +13 -12
  46. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
  47. package/dist/Dropdown/Checklist/draggable.d.ts +2 -1
  48. package/dist/Dropdown/Dropdown.core.d.ts +9 -8
  49. package/dist/Dropdown/Dropdown.core.vue.js +2 -2
  50. package/dist/Dropdown/Dropdown.types.d.ts +1 -1
  51. package/dist/Dropdown/DropdownContent/DropdownContent.d.ts +1 -1
  52. package/dist/Faq/Faq.vue.js +5 -5
  53. package/dist/Faq/FaqItem/FaqItem.d.ts +5 -4
  54. package/dist/Faq/FaqItem/FaqItem.vue.js +1 -1
  55. package/dist/Filter/components/Filter.types.d.ts +2 -1
  56. package/dist/Filter/components/Filter.vue.js +14 -14
  57. package/dist/Filter/index.d.ts +3 -2
  58. package/dist/Filter/tests/mocks.d.ts +3 -2
  59. package/dist/Icons/icons.d.ts +1860 -1860
  60. package/dist/Illustration/Illustration.vue.js +5 -5
  61. package/dist/Illustration/images/renovabio-illustrations/biomass.svg.js +1 -1
  62. package/dist/Illustration/images/renovabio-illustrations/volume.svg.js +1 -1
  63. package/dist/Illustration/images/system-images/add-file.svg.js +1 -1
  64. package/dist/Illustration/images/system-images/cloud-connection.svg.js +1 -1
  65. package/dist/Illustration/images/system-images/cloud-download.svg.js +1 -1
  66. package/dist/Illustration/images/system-images/cloud-upload.svg.js +1 -1
  67. package/dist/Illustration/images/system-images/corrupted-file.svg.js +1 -1
  68. package/dist/Illustration/images/system-images/empty-box.svg.js +1 -1
  69. package/dist/Illustration/images/system-images/empty-folder-2.svg.js +1 -1
  70. package/dist/Illustration/images/system-images/empty-folder.svg.js +1 -1
  71. package/dist/Illustration/images/system-images/empty.svg.js +1 -1
  72. package/dist/Illustration/images/system-images/error-illustration.svg.js +1 -1
  73. package/dist/Illustration/images/system-images/file-backup-2.svg.js +1 -1
  74. package/dist/Illustration/images/system-images/file-backup.svg.js +1 -1
  75. package/dist/Illustration/images/system-images/filtering-upload.svg.js +1 -1
  76. package/dist/Illustration/images/system-images/flight.svg.js +1 -1
  77. package/dist/Illustration/images/system-images/fly.svg.js +1 -1
  78. package/dist/Illustration/images/system-images/movies.svg.js +1 -1
  79. package/dist/Illustration/images/system-images/multimedia.svg.js +1 -1
  80. package/dist/Illustration/images/system-images/notification-bell.svg.js +1 -1
  81. package/dist/Illustration/images/system-images/page-2.svg.js +1 -1
  82. package/dist/Illustration/images/system-images/page.svg.js +1 -1
  83. package/dist/Illustration/images/system-images/photos.svg.js +1 -1
  84. package/dist/Illustration/images/system-images/recycle-bin.svg.js +1 -1
  85. package/dist/Illustration/images/system-images/rocket-launch.svg.js +1 -1
  86. package/dist/Illustration/images/system-images/signal.svg.js +1 -1
  87. package/dist/Illustration/images/system-images/wrong.svg.js +1 -1
  88. package/dist/Illustration/images/tools-images/advanced-analysis.svg.js +1 -1
  89. package/dist/Illustration/images/tools-images/agriculture.svg.js +1 -1
  90. package/dist/Illustration/images/tools-images/alert-center.svg.js +1 -1
  91. package/dist/Illustration/images/tools-images/area.svg.js +1 -1
  92. package/dist/Illustration/images/tools-images/at-insights.svg.js +1 -1
  93. package/dist/Illustration/images/tools-images/conservation-unit.svg.js +1 -1
  94. package/dist/Illustration/images/tools-images/credit.svg.js +2 -2
  95. package/dist/Illustration/images/tools-images/deforestation.svg.js +1 -1
  96. package/dist/Illustration/images/tools-images/distance-proximity-rivers.svg.js +1 -1
  97. package/dist/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +1 -1
  98. package/dist/Illustration/images/tools-images/extract.svg.js +1 -1
  99. package/dist/Illustration/images/tools-images/farm.svg.js +1 -1
  100. package/dist/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +1 -1
  101. package/dist/Illustration/images/tools-images/gix.svg.js +1 -1
  102. package/dist/Illustration/images/tools-images/insurance.svg.js +1 -1
  103. package/dist/Illustration/images/tools-images/land-appreciation.svg.js +1 -1
  104. package/dist/Illustration/images/tools-images/lockdown.svg.js +1 -1
  105. package/dist/Illustration/images/tools-images/map.svg.js +1 -1
  106. package/dist/Illustration/images/tools-images/pasture.svg.js +1 -1
  107. package/dist/Illustration/images/tools-images/rating-2.svg.js +1 -1
  108. package/dist/Illustration/images/tools-images/rating.svg.js +1 -1
  109. package/dist/Illustration/images/tools-images/recurrence.svg.js +1 -1
  110. package/dist/Illustration/images/tools-images/refrigerators.svg.js +1 -1
  111. package/dist/Illustration/images/tools-images/settings.svg.js +1 -1
  112. package/dist/Illustration/images/tools-images/socio-environmental-analysis.svg.js +1 -1
  113. package/dist/Illustration/images/tools-images/soil-use.svg.js +1 -1
  114. package/dist/Illustration/images/tools-images/storm.svg.js +1 -1
  115. package/dist/Illustration/images/tools-images/territory-details.svg.js +1 -1
  116. package/dist/Illustration/images/tools-images/timeline.svg.js +1 -1
  117. package/dist/Input/Input.core.d.ts +352 -351
  118. package/dist/Input/Input.core.vue.js +10 -10
  119. package/dist/Input/imgs/error.svg.js +2 -2
  120. package/dist/Input/index.d.ts +1689 -1688
  121. package/dist/Legend/Legend.d.ts +3 -3
  122. package/dist/Legend/Legend.vue.js +1 -1
  123. package/dist/List/components/List.d.ts +9 -9
  124. package/dist/List/components/List.types.d.ts +2 -1
  125. package/dist/List/components/List.vue.js +6 -6
  126. package/dist/List/components/List.vue3.js +2 -2
  127. package/dist/List/index.d.ts +3 -2
  128. package/dist/List/tests/mocks.d.ts +2 -1
  129. package/dist/Loading/Loading.d.ts +2 -2
  130. package/dist/Map/Map.d.ts +10 -9
  131. package/dist/Map/utils/index.d.ts +2 -1
  132. package/dist/Modal/Modal.d.ts +9 -8
  133. package/dist/Modal/Modal.vue.js +102 -100
  134. package/dist/Modal/Modal.vue3.js +2 -2
  135. package/dist/Modal/images/cross.svg.js +1 -1
  136. package/dist/Notifications/Notification/Notification.d.ts +50 -50
  137. package/dist/Notifications/Notification/Notification.vue.js +4 -4
  138. package/dist/Notifications/Notifications.d.ts +10 -10
  139. package/dist/Notifications/Notifications.vue.js +6 -6
  140. package/dist/Notifications/Notifications.vue2.js +24 -20
  141. package/dist/Notifications/Notifications.vue3.js +2 -2
  142. package/dist/Paginator/Paginator.d.ts +7 -7
  143. package/dist/Paginator/Paginator.vue.js +2 -2
  144. package/dist/Paginator/imgs/double-left-arrow.svg.js +1 -1
  145. package/dist/Paginator/imgs/double-right-arrow.svg.js +1 -1
  146. package/dist/Paginator/imgs/left-arrow.svg.js +1 -1
  147. package/dist/Paginator/imgs/right-arrow.svg.js +1 -1
  148. package/dist/ProgressBar/ProgressBar.d.ts +4 -3
  149. package/dist/ProgressBar/ProgressBar.vue.js +2 -2
  150. package/dist/RadioButton/RadioButton.d.ts +3 -3
  151. package/dist/RadioButton/RadioButton.vue.js +1 -1
  152. package/dist/RadioButton/RadioButton.vue3.js +2 -2
  153. package/dist/Search/Search.d.ts +7 -6
  154. package/dist/Search/Search.vue.js +1 -1
  155. package/dist/Search/test.mocks.d.ts +2 -1
  156. package/dist/Search/utils.d.ts +2 -1
  157. package/dist/Select/Item/Item.d.ts +3 -3
  158. package/dist/Select/Item/Item.vue.js +16 -16
  159. package/dist/Select/Multiple/Select.multiple.d.ts +12 -11
  160. package/dist/Select/Multiple/Select.multiple.vue.js +1 -1
  161. package/dist/Select/Select.core.d.ts +8 -7
  162. package/dist/Select/Single/Select.single.d.ts +11 -10
  163. package/dist/Select/Single/Select.single.vue.js +6 -6
  164. package/dist/Select/imgs/indicator.svg.js +1 -1
  165. package/dist/Select/index.d.ts +22 -21
  166. package/dist/Skeleton/Skeleton.d.ts +2 -2
  167. package/dist/Stepper/Stepper.vue.js +11 -11
  168. package/dist/TableConfig/TableConfig.d.ts +11 -10
  169. package/dist/TableConfig/TableConfig.vue.js +2 -2
  170. package/dist/TableConfig/test/mocks.d.ts +2 -1
  171. package/dist/Tabs/Tab/Tab.d.ts +4 -4
  172. package/dist/Tabs/Tab/Tab.vue.js +1 -1
  173. package/dist/Tabs/Tab/Tab.vue3.js +2 -2
  174. package/dist/Tabs/Tabs.d.ts +9 -8
  175. package/dist/Tabs/Tabs.vue.js +7 -7
  176. package/dist/Tabs/Tabs.vue2.js +22 -17
  177. package/dist/Tabs/Tabs.vue3.js +2 -2
  178. package/dist/Tag/Tag.d.ts +7 -6
  179. package/dist/Tag/Tag.vue.js +1 -1
  180. package/dist/Tipograph/Paragraph/Paragraph.d.ts +2 -2
  181. package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
  182. package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
  183. package/dist/Tipograph/Title/Title.d.ts +2 -2
  184. package/dist/Tipograph/Title/Title.vue.js +2 -2
  185. package/dist/Tipograph/index.d.ts +4 -4
  186. package/dist/Toggle/Toggle.d.ts +5 -5
  187. package/dist/Toggle/Toggle.vue.js +2 -2
  188. package/dist/Tooltip/Tooltip.d.ts +12 -11
  189. package/dist/Tooltip/Tooltip.vue.js +2 -2
  190. package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +8 -7
  191. package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +5 -5
  192. package/dist/Upload/SingleUpload/SingleUpload.d.ts +6 -5
  193. package/dist/Upload/SingleUpload/SingleUpload.vue.js +1 -1
  194. package/dist/Upload/Upload.d.ts +4 -3
  195. package/dist/Upload/Upload.vue.js +1 -1
  196. package/dist/Upload/UploaderHeader/UploaderHeader.d.ts +2 -2
  197. package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +1 -1
  198. package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.d.ts +2 -2
  199. package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +1 -1
  200. package/dist/Upload/UploaderInput/UploaderInput.d.ts +6 -5
  201. package/dist/Upload/UploaderInput/UploaderInput.vue.js +1 -1
  202. package/dist/index.d.ts +32 -32
  203. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/identity/IdentityModal.js +1 -1
  204. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/zipjs-wrapper.js +3 -3
  205. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Attachments.js +1 -1
  206. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/BasemapToggle.js +1 -1
  207. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Compass.js +1 -1
  208. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureMedia.js +1 -1
  209. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureRelationship.js +1 -1
  210. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature.js +1 -1
  211. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Features/FeaturesRelatedRecords.js +1 -1
  212. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Features.js +1 -1
  213. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/NavigationToggle.js +1 -1
  214. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Zoom.js +1 -1
  215. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/MeasurementWidgetContent.js +1 -1
  216. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/UnitSelect.js +1 -1
  217. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/componentsUtils.js +2 -2
  218. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/ExpandToggle.js +3 -12
  219. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/FloatingArrow.js +3 -12
  220. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/Heading.js +2 -2
  221. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/Validation.js +2 -2
  222. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action-group.js +25 -25
  223. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action-menu.js +25 -34
  224. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action.js +46 -57
  225. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/array.js +1 -1
  226. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/button.js +18 -36
  227. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action-bar.js +21 -32
  228. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action-group.js +1 -1
  229. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action.js +1 -1
  230. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-button.js +1 -1
  231. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-flow-item.js +33 -62
  232. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-flow.js +22 -22
  233. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-icon.js +1 -1
  234. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-input.js +1 -1
  235. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-label.js +1 -1
  236. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item-group.js +68 -0
  237. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +348 -0
  238. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-list.js +92 -102
  239. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-loader.js +1 -1
  240. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-modal.js +23 -39
  241. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-notice.js +19 -29
  242. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-option.js +12 -12
  243. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-scrim.js +1 -1
  244. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-select.js +52 -43
  245. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/component.js +23 -0
  246. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +24 -0
  247. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/debounce.js +129 -0
  248. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/dom.js +15 -15
  249. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/filter.js +164 -0
  250. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/filter2.js +26 -40
  251. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/floating-ui.js +347 -305
  252. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/focusTrapComponent.js +2 -2
  253. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/form.js +151 -0
  254. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/guid.js +1 -1
  255. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/handle.js +29 -28
  256. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/icon.js +48 -41
  257. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/index.js +2 -2
  258. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/input-message.js +80 -0
  259. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/input.js +1 -1
  260. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/input2.js +104 -135
  261. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/interactive.js +2 -2
  262. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/key.js +1 -1
  263. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/label.js +8 -8
  264. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/label2.js +2 -2
  265. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/loadable.js +21 -0
  266. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/loader.js +12 -12
  267. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/locale.js +2 -2
  268. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/observers.js +2 -2
  269. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +38 -0
  270. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/panel.js +77 -75
  271. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/popover.js +63 -81
  272. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/progress.js +10 -10
  273. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/resources.js +1 -1
  274. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources2.js +15 -0
  275. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/utils3.js → @esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources4.js} +13 -31
  276. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/scrim.js +16 -20
  277. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/sortableComponent.js +1 -1
  278. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/stack.js +16 -16
  279. package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/t9n.js +20 -18
  280. package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/utils3.js +29 -0
  281. package/dist/node_modules/.pnpm/{@stencil_core@4.9.0 → @stencil_core@4.18.2}/node_modules/@stencil/core/internal/app-data/index.js +2 -1
  282. package/dist/node_modules/.pnpm/@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js +675 -0
  283. package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +401 -0
  284. package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +8 -0
  285. package/dist/style.css +1 -1
  286. package/package.json +1 -1
  287. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-list-item-group.js +0 -70
  288. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +0 -391
  289. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/component.js +0 -18
  290. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +0 -27
  291. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/debounce.js +0 -121
  292. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/filter.js +0 -154
  293. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/form.js +0 -138
  294. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/input-message.js +0 -80
  295. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/loadable.js +0 -25
  296. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +0 -37
  297. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/resources2.js +0 -12
  298. package/dist/node_modules/.pnpm/@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js +0 -560
  299. package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +0 -402
  300. package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +0 -8
  301. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/index.js +0 -0
  302. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +0 -0
  303. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +0 -0
  304. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/configuration.js +0 -0
  305. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/constants.js +0 -0
  306. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/io.js +0 -0
  307. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/aes-crypto-stream.js +0 -0
  308. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codec-stream.js +0 -0
  309. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/crc32.js +0 -0
  310. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/deflate.js +0 -0
  311. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/inflate.js +0 -0
  312. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/sjcl.js +0 -0
  313. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/common-crypto.js +0 -0
  314. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/crc32-stream.js +0 -0
  315. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/stream-adapter.js +0 -0
  316. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/zip-crypto-stream.js +0 -0
  317. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/zip-entry-stream.js +0 -0
  318. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/cp437-decode.js +0 -0
  319. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/decode-text.js +0 -0
  320. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/encode-text.js +0 -0
  321. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/mime-type.js +0 -0
  322. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +0 -0
  323. /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/zip-fs.js +0 -0
@@ -1,61 +1,61 @@
1
- import "../../../../../../@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js";
2
- import { a as zt } from "./dom.js";
3
- import { d as jt } from "./debounce.js";
1
+ import "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
2
+ import { a as jt } from "./dom.js";
3
+ import { d as Yt } from "./debounce.js";
4
4
  /*!
5
5
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
6
6
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
7
- * v2.7.1
7
+ * v2.9.0
8
8
  */
9
- const Lt = ["top", "right", "bottom", "left"], ht = ["start", "end"], wt = /* @__PURE__ */ Lt.reduce((t, e) => t.concat(e, e + "-" + ht[0], e + "-" + ht[1]), []), X = Math.min, z = Math.max, Z = Math.round, Q = Math.floor, V = (t) => ({
9
+ const Dt = ["top", "right", "bottom", "left"], yt = ["start", "end"], xt = /* @__PURE__ */ Dt.reduce((t, e) => t.concat(e, e + "-" + yt[0], e + "-" + yt[1]), []), X = Math.min, z = Math.max, et = Math.round, tt = Math.floor, V = (t) => ({
10
10
  x: t,
11
11
  y: t
12
- }), Ut = {
12
+ }), Xt = {
13
13
  left: "right",
14
14
  right: "left",
15
15
  bottom: "top",
16
16
  top: "bottom"
17
- }, Yt = {
17
+ }, qt = {
18
18
  start: "end",
19
19
  end: "start"
20
20
  };
21
- function lt(t, e, n) {
21
+ function ft(t, e, n) {
22
22
  return z(t, X(e, n));
23
23
  }
24
- function U(t, e) {
24
+ function j(t, e) {
25
25
  return typeof t == "function" ? t(e) : t;
26
26
  }
27
- function $(t) {
27
+ function W(t) {
28
28
  return t.split("-")[0];
29
29
  }
30
30
  function k(t) {
31
31
  return t.split("-")[1];
32
32
  }
33
- function Dt(t) {
33
+ function Ft(t) {
34
34
  return t === "x" ? "y" : "x";
35
35
  }
36
- function ut(t) {
36
+ function dt(t) {
37
37
  return t === "y" ? "height" : "width";
38
38
  }
39
- function it(t) {
40
- return ["top", "bottom"].includes($(t)) ? "y" : "x";
39
+ function st(t) {
40
+ return ["top", "bottom"].includes(W(t)) ? "y" : "x";
41
41
  }
42
- function dt(t) {
43
- return Dt(it(t));
42
+ function mt(t) {
43
+ return Ft(st(t));
44
44
  }
45
- function Et(t, e, n) {
45
+ function Mt(t, e, n) {
46
46
  n === void 0 && (n = !1);
47
- const o = k(t), i = dt(t), s = ut(i);
47
+ const o = k(t), i = mt(t), s = dt(i);
48
48
  let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
49
- return e.reference[s] > e.floating[s] && (r = et(r)), [r, et(r)];
49
+ return e.reference[s] > e.floating[s] && (r = ot(r)), [r, ot(r)];
50
50
  }
51
- function Xt(t) {
52
- const e = et(t);
53
- return [tt(t), e, tt(e)];
51
+ function Gt(t) {
52
+ const e = ot(t);
53
+ return [nt(t), e, nt(e)];
54
54
  }
55
- function tt(t) {
56
- return t.replace(/start|end/g, (e) => Yt[e]);
55
+ function nt(t) {
56
+ return t.replace(/start|end/g, (e) => qt[e]);
57
57
  }
58
- function qt(t, e, n) {
58
+ function Kt(t, e, n) {
59
59
  const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
60
60
  switch (t) {
61
61
  case "top":
@@ -68,15 +68,15 @@ function qt(t, e, n) {
68
68
  return [];
69
69
  }
70
70
  }
71
- function Gt(t, e, n, o) {
71
+ function Jt(t, e, n, o) {
72
72
  const i = k(t);
73
- let s = qt($(t), n === "start", o);
74
- return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(tt)))), s;
73
+ let s = Kt(W(t), n === "start", o);
74
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(nt)))), s;
75
75
  }
76
- function et(t) {
77
- return t.replace(/left|right|bottom|top/g, (e) => Ut[e]);
76
+ function ot(t) {
77
+ return t.replace(/left|right|bottom|top/g, (e) => Xt[e]);
78
78
  }
79
- function Kt(t) {
79
+ function Qt(t) {
80
80
  return {
81
81
  top: 0,
82
82
  right: 0,
@@ -85,29 +85,38 @@ function Kt(t) {
85
85
  ...t
86
86
  };
87
87
  }
88
- function Ft(t) {
89
- return typeof t != "number" ? Kt(t) : {
88
+ function kt(t) {
89
+ return typeof t != "number" ? Qt(t) : {
90
90
  top: t,
91
91
  right: t,
92
92
  bottom: t,
93
93
  left: t
94
94
  };
95
95
  }
96
- function nt(t) {
96
+ function it(t) {
97
+ const {
98
+ x: e,
99
+ y: n,
100
+ width: o,
101
+ height: i
102
+ } = t;
97
103
  return {
98
- ...t,
99
- top: t.y,
100
- left: t.x,
101
- right: t.x + t.width,
102
- bottom: t.y + t.height
104
+ width: o,
105
+ height: i,
106
+ top: n,
107
+ left: e,
108
+ right: e + o,
109
+ bottom: n + i,
110
+ x: e,
111
+ y: n
103
112
  };
104
113
  }
105
- function yt(t, e, n) {
114
+ function vt(t, e, n) {
106
115
  let {
107
116
  reference: o,
108
117
  floating: i
109
118
  } = t;
110
- const s = it(e), r = dt(e), c = ut(r), l = $(e), a = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, h = o[c] / 2 - i[c] / 2;
119
+ const s = st(e), r = mt(e), c = dt(r), l = W(e), a = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, h = o[c] / 2 - i[c] / 2;
111
120
  let f;
112
121
  switch (l) {
113
122
  case "top":
@@ -150,7 +159,7 @@ function yt(t, e, n) {
150
159
  }
151
160
  return f;
152
161
  }
153
- const Jt = async (t, e, n) => {
162
+ const Zt = async (t, e, n) => {
154
163
  const {
155
164
  placement: o = "bottom",
156
165
  strategy: i = "absolute",
@@ -164,7 +173,7 @@ const Jt = async (t, e, n) => {
164
173
  }), {
165
174
  x: d,
166
175
  y: u
167
- } = yt(a, o, l), h = o, f = {}, m = 0;
176
+ } = vt(a, o, l), h = o, f = {}, m = 0;
168
177
  for (let g = 0; g < c.length; g++) {
169
178
  const {
170
179
  name: w,
@@ -188,23 +197,20 @@ const Jt = async (t, e, n) => {
188
197
  floating: e
189
198
  }
190
199
  });
191
- if (d = y ?? d, u = x ?? u, f = {
200
+ d = y ?? d, u = x ?? u, f = {
192
201
  ...f,
193
202
  [w]: {
194
203
  ...f[w],
195
204
  ...b
196
205
  }
197
- }, v && m <= 50) {
198
- m++, typeof v == "object" && (v.placement && (h = v.placement), v.rects && (a = v.rects === !0 ? await r.getElementRects({
199
- reference: t,
200
- floating: e,
201
- strategy: i
202
- }) : v.rects), {
203
- x: d,
204
- y: u
205
- } = yt(a, h, l)), g = -1;
206
- continue;
207
- }
206
+ }, v && m <= 50 && (m++, typeof v == "object" && (v.placement && (h = v.placement), v.rects && (a = v.rects === !0 ? await r.getElementRects({
207
+ reference: t,
208
+ floating: e,
209
+ strategy: i
210
+ }) : v.rects), {
211
+ x: d,
212
+ y: u
213
+ } = vt(a, h, l)), g = -1);
208
214
  }
209
215
  return {
210
216
  x: d,
@@ -214,7 +220,7 @@ const Jt = async (t, e, n) => {
214
220
  middlewareData: f
215
221
  };
216
222
  };
217
- async function G(t, e) {
223
+ async function K(t, e) {
218
224
  var n;
219
225
  e === void 0 && (e = {});
220
226
  const {
@@ -230,22 +236,24 @@ async function G(t, e) {
230
236
  elementContext: u = "floating",
231
237
  altBoundary: h = !1,
232
238
  padding: f = 0
233
- } = U(e, t), m = Ft(f), w = c[h ? u === "floating" ? "reference" : "floating" : u], p = nt(await s.getClippingRect({
239
+ } = j(e, t), m = kt(f), w = c[h ? u === "floating" ? "reference" : "floating" : u], p = it(await s.getClippingRect({
234
240
  element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
235
241
  boundary: a,
236
242
  rootBoundary: d,
237
243
  strategy: l
238
244
  })), y = u === "floating" ? {
239
- ...r.floating,
240
245
  x: o,
241
- y: i
246
+ y: i,
247
+ width: r.floating.width,
248
+ height: r.floating.height
242
249
  } : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), b = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
243
250
  x: 1,
244
251
  y: 1
245
252
  } : {
246
253
  x: 1,
247
254
  y: 1
248
- }, v = nt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
255
+ }, v = it(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
256
+ elements: c,
249
257
  rect: y,
250
258
  offsetParent: x,
251
259
  strategy: l
@@ -257,7 +265,7 @@ async function G(t, e) {
257
265
  right: (v.right - p.right + m.right) / b.x
258
266
  };
259
267
  }
260
- const Qt = (t) => ({
268
+ const te = (t) => ({
261
269
  name: "arrow",
262
270
  options: t,
263
271
  async fn(e) {
@@ -272,33 +280,33 @@ const Qt = (t) => ({
272
280
  } = e, {
273
281
  element: a,
274
282
  padding: d = 0
275
- } = U(t, e) || {};
283
+ } = j(t, e) || {};
276
284
  if (a == null)
277
285
  return {};
278
- const u = Ft(d), h = {
286
+ const u = kt(d), h = {
279
287
  x: n,
280
288
  y: o
281
- }, f = dt(i), m = ut(f), g = await r.getDimensions(a), w = f === "y", p = w ? "top" : "left", y = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", b = s.reference[m] + s.reference[f] - h[f] - s.floating[m], v = h[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
289
+ }, f = mt(i), m = dt(f), g = await r.getDimensions(a), w = f === "y", p = w ? "top" : "left", y = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", b = s.reference[m] + s.reference[f] - h[f] - s.floating[m], v = h[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
282
290
  let O = R ? R[x] : 0;
283
291
  (!O || !await (r.isElement == null ? void 0 : r.isElement(R))) && (O = c.floating[x] || s.floating[m]);
284
- const L = b / 2 - v / 2, E = O / 2 - g[m] / 2 - 1, A = X(u[p], E), D = X(u[y], E), P = A, I = O - g[m] - D, C = O / 2 - g[m] / 2 + L, F = lt(P, C, I), M = !l.arrow && k(i) != null && C != F && s.reference[m] / 2 - (C < P ? A : D) - g[m] / 2 < 0, B = M ? C < P ? C - P : C - I : 0;
292
+ const T = b / 2 - v / 2, D = O / 2 - g[m] / 2 - 1, A = X(u[p], D), L = X(u[y], D), P = A, I = O - g[m] - L, C = O / 2 - g[m] / 2 + T, F = ft(P, C, I), M = !l.arrow && k(i) != null && C !== F && s.reference[m] / 2 - (C < P ? A : L) - g[m] / 2 < 0, $ = M ? C < P ? C - P : C - I : 0;
285
293
  return {
286
- [f]: h[f] + B,
294
+ [f]: h[f] + $,
287
295
  data: {
288
296
  [f]: F,
289
- centerOffset: C - F - B,
297
+ centerOffset: C - F - $,
290
298
  ...M && {
291
- alignmentOffset: B
299
+ alignmentOffset: $
292
300
  }
293
301
  },
294
302
  reset: M
295
303
  };
296
304
  }
297
305
  });
298
- function Zt(t, e, n) {
299
- return (t ? [...n.filter((i) => k(i) === t), ...n.filter((i) => k(i) !== t)] : n.filter((i) => $(i) === i)).filter((i) => t ? k(i) === t || (e ? tt(i) !== i : !1) : !0);
306
+ function ee(t, e, n) {
307
+ return (t ? [...n.filter((i) => k(i) === t), ...n.filter((i) => k(i) !== t)] : n.filter((i) => W(i) === i)).filter((i) => t ? k(i) === t || (e ? nt(i) !== i : !1) : !0);
300
308
  }
301
- const te = function(t) {
309
+ const ne = function(t) {
302
310
  return t === void 0 && (t = {}), {
303
311
  name: "autoPlacement",
304
312
  options: t,
@@ -313,20 +321,20 @@ const te = function(t) {
313
321
  } = e, {
314
322
  crossAxis: d = !1,
315
323
  alignment: u,
316
- allowedPlacements: h = wt,
324
+ allowedPlacements: h = xt,
317
325
  autoAlignment: f = !0,
318
326
  ...m
319
- } = U(t, e), g = u !== void 0 || h === wt ? Zt(u || null, f, h) : h, w = await G(e, m), p = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, y = g[p];
327
+ } = j(t, e), g = u !== void 0 || h === xt ? ee(u || null, f, h) : h, w = await K(e, m), p = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, y = g[p];
320
328
  if (y == null)
321
329
  return {};
322
- const x = Et(y, s, await (l.isRTL == null ? void 0 : l.isRTL(a.floating)));
330
+ const x = Mt(y, s, await (l.isRTL == null ? void 0 : l.isRTL(a.floating)));
323
331
  if (c !== y)
324
332
  return {
325
333
  reset: {
326
334
  placement: g[0]
327
335
  }
328
336
  };
329
- const b = [w[$(y)], w[x[0]], w[x[1]]], v = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
337
+ const b = [w[W(y)], w[x[0]], w[x[1]]], v = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
330
338
  placement: y,
331
339
  overflows: b
332
340
  }], R = g[p + 1];
@@ -341,32 +349,32 @@ const te = function(t) {
341
349
  }
342
350
  };
343
351
  const O = v.map((A) => {
344
- const D = k(A.placement);
345
- return [A.placement, D && d ? (
352
+ const L = k(A.placement);
353
+ return [A.placement, L && d ? (
346
354
  // Check along the mainAxis and main crossAxis side.
347
355
  A.overflows.slice(0, 2).reduce((P, I) => P + I, 0)
348
356
  ) : (
349
357
  // Check only the mainAxis.
350
358
  A.overflows[0]
351
359
  ), A.overflows];
352
- }).sort((A, D) => A[1] - D[1]), E = ((i = O.filter((A) => A[2].slice(
360
+ }).sort((A, L) => A[1] - L[1]), D = ((i = O.filter((A) => A[2].slice(
353
361
  0,
354
362
  // Aligned placements should not check their opposite crossAxis
355
363
  // side.
356
364
  k(A[0]) ? 2 : 3
357
- ).every((D) => D <= 0))[0]) == null ? void 0 : i[0]) || O[0][0];
358
- return E !== c ? {
365
+ ).every((L) => L <= 0))[0]) == null ? void 0 : i[0]) || O[0][0];
366
+ return D !== c ? {
359
367
  data: {
360
368
  index: p + 1,
361
369
  overflows: v
362
370
  },
363
371
  reset: {
364
- placement: E
372
+ placement: D
365
373
  }
366
374
  } : {};
367
375
  }
368
376
  };
369
- }, ee = function(t) {
377
+ }, oe = function(t) {
370
378
  return t === void 0 && (t = {}), {
371
379
  name: "flip",
372
380
  options: t,
@@ -387,39 +395,39 @@ const te = function(t) {
387
395
  fallbackAxisSideDirection: m = "none",
388
396
  flipAlignment: g = !0,
389
397
  ...w
390
- } = U(t, e);
398
+ } = j(t, e);
391
399
  if ((n = s.arrow) != null && n.alignmentOffset)
392
400
  return {};
393
- const p = $(i), y = $(c) === c, x = await (l.isRTL == null ? void 0 : l.isRTL(a.floating)), b = h || (y || !g ? [et(c)] : Xt(c));
394
- !h && m !== "none" && b.push(...Gt(c, g, m, x));
395
- const v = [c, ...b], R = await G(e, w), O = [];
396
- let L = ((o = s.flip) == null ? void 0 : o.overflows) || [];
401
+ const p = W(i), y = W(c) === c, x = await (l.isRTL == null ? void 0 : l.isRTL(a.floating)), b = h || (y || !g ? [ot(c)] : Gt(c));
402
+ !h && m !== "none" && b.push(...Jt(c, g, m, x));
403
+ const v = [c, ...b], R = await K(e, w), O = [];
404
+ let T = ((o = s.flip) == null ? void 0 : o.overflows) || [];
397
405
  if (d && O.push(R[p]), u) {
398
- const P = Et(i, r, x);
406
+ const P = Mt(i, r, x);
399
407
  O.push(R[P[0]], R[P[1]]);
400
408
  }
401
- if (L = [...L, {
409
+ if (T = [...T, {
402
410
  placement: i,
403
411
  overflows: O
404
412
  }], !O.every((P) => P <= 0)) {
405
- var E, A;
406
- const P = (((E = s.flip) == null ? void 0 : E.index) || 0) + 1, I = v[P];
413
+ var D, A;
414
+ const P = (((D = s.flip) == null ? void 0 : D.index) || 0) + 1, I = v[P];
407
415
  if (I)
408
416
  return {
409
417
  data: {
410
418
  index: P,
411
- overflows: L
419
+ overflows: T
412
420
  },
413
421
  reset: {
414
422
  placement: I
415
423
  }
416
424
  };
417
- let C = (A = L.filter((F) => F.overflows[0] <= 0).sort((F, M) => F.overflows[1] - M.overflows[1])[0]) == null ? void 0 : A.placement;
425
+ let C = (A = T.filter((F) => F.overflows[0] <= 0).sort((F, M) => F.overflows[1] - M.overflows[1])[0]) == null ? void 0 : A.placement;
418
426
  if (!C)
419
427
  switch (f) {
420
428
  case "bestFit": {
421
- var D;
422
- const F = (D = L.map((M) => [M.placement, M.overflows.filter((B) => B > 0).reduce((B, It) => B + It, 0)]).sort((M, B) => M[1] - B[1])[0]) == null ? void 0 : D[0];
429
+ var L;
430
+ const F = (L = T.map((M) => [M.placement, M.overflows.filter(($) => $ > 0).reduce(($, Ut) => $ + Ut, 0)]).sort((M, $) => M[1] - $[1])[0]) == null ? void 0 : L[0];
423
431
  F && (C = F);
424
432
  break;
425
433
  }
@@ -438,7 +446,7 @@ const te = function(t) {
438
446
  }
439
447
  };
440
448
  };
441
- function xt(t, e) {
449
+ function bt(t, e) {
442
450
  return {
443
451
  top: t.top - e.height,
444
452
  right: t.right - e.width,
@@ -446,10 +454,10 @@ function xt(t, e) {
446
454
  left: t.left - e.width
447
455
  };
448
456
  }
449
- function vt(t) {
450
- return Lt.some((e) => t[e] >= 0);
457
+ function Ot(t) {
458
+ return Dt.some((e) => t[e] >= 0);
451
459
  }
452
- const ne = function(t) {
460
+ const ie = function(t) {
453
461
  return t === void 0 && (t = {}), {
454
462
  name: "hide",
455
463
  options: t,
@@ -459,29 +467,29 @@ const ne = function(t) {
459
467
  } = e, {
460
468
  strategy: o = "referenceHidden",
461
469
  ...i
462
- } = U(t, e);
470
+ } = j(t, e);
463
471
  switch (o) {
464
472
  case "referenceHidden": {
465
- const s = await G(e, {
473
+ const s = await K(e, {
466
474
  ...i,
467
475
  elementContext: "reference"
468
- }), r = xt(s, n.reference);
476
+ }), r = bt(s, n.reference);
469
477
  return {
470
478
  data: {
471
479
  referenceHiddenOffsets: r,
472
- referenceHidden: vt(r)
480
+ referenceHidden: Ot(r)
473
481
  }
474
482
  };
475
483
  }
476
484
  case "escaped": {
477
- const s = await G(e, {
485
+ const s = await K(e, {
478
486
  ...i,
479
487
  altBoundary: !0
480
- }), r = xt(s, n.floating);
488
+ }), r = bt(s, n.floating);
481
489
  return {
482
490
  data: {
483
491
  escapedOffsets: r,
484
- escaped: vt(r)
492
+ escaped: Ot(r)
485
493
  }
486
494
  };
487
495
  }
@@ -491,12 +499,12 @@ const ne = function(t) {
491
499
  }
492
500
  };
493
501
  };
494
- async function oe(t, e) {
502
+ async function re(t, e) {
495
503
  const {
496
504
  placement: n,
497
505
  platform: o,
498
506
  elements: i
499
- } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = $(n), c = k(n), l = it(n) === "y", a = ["left", "top"].includes(r) ? -1 : 1, d = s && l ? -1 : 1, u = U(e, t);
507
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = W(n), c = k(n), l = st(n) === "y", a = ["left", "top"].includes(r) ? -1 : 1, d = s && l ? -1 : 1, u = j(e, t);
500
508
  let {
501
509
  mainAxis: h,
502
510
  crossAxis: f,
@@ -519,7 +527,7 @@ async function oe(t, e) {
519
527
  y: f * d
520
528
  };
521
529
  }
522
- const ie = function(t) {
530
+ const se = function(t) {
523
531
  return t === void 0 && (t = 0), {
524
532
  name: "offset",
525
533
  options: t,
@@ -530,7 +538,7 @@ const ie = function(t) {
530
538
  y: s,
531
539
  placement: r,
532
540
  middlewareData: c
533
- } = e, l = await oe(e, t);
541
+ } = e, l = await re(e, t);
534
542
  return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
535
543
  x: i + l.x,
536
544
  y: s + l.y,
@@ -541,7 +549,7 @@ const ie = function(t) {
541
549
  };
542
550
  }
543
551
  };
544
- }, re = function(t) {
552
+ }, ce = function(t) {
545
553
  return t === void 0 && (t = {}), {
546
554
  name: "shift",
547
555
  options: t,
@@ -566,18 +574,18 @@ const ie = function(t) {
566
574
  }
567
575
  },
568
576
  ...l
569
- } = U(t, e), a = {
577
+ } = j(t, e), a = {
570
578
  x: n,
571
579
  y: o
572
- }, d = await G(e, l), u = it($(i)), h = Dt(u);
580
+ }, d = await K(e, l), u = st(W(i)), h = Ft(u);
573
581
  let f = a[h], m = a[u];
574
582
  if (s) {
575
583
  const w = h === "y" ? "top" : "left", p = h === "y" ? "bottom" : "right", y = f + d[w], x = f - d[p];
576
- f = lt(y, f, x);
584
+ f = ft(y, f, x);
577
585
  }
578
586
  if (r) {
579
587
  const w = u === "y" ? "top" : "left", p = u === "y" ? "bottom" : "right", y = m + d[w], x = m - d[p];
580
- m = lt(y, m, x);
588
+ m = ft(y, m, x);
581
589
  }
582
590
  const g = c.fn({
583
591
  ...e,
@@ -594,8 +602,8 @@ const ie = function(t) {
594
602
  }
595
603
  };
596
604
  };
597
- function _(t) {
598
- return Mt(t) ? (t.nodeName || "").toLowerCase() : "#document";
605
+ function G(t) {
606
+ return Nt(t) ? (t.nodeName || "").toLowerCase() : "#document";
599
607
  }
600
608
  function S(t) {
601
609
  var e;
@@ -603,56 +611,56 @@ function S(t) {
603
611
  }
604
612
  function H(t) {
605
613
  var e;
606
- return (e = (Mt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
614
+ return (e = (Nt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
607
615
  }
608
- function Mt(t) {
616
+ function Nt(t) {
609
617
  return t instanceof Node || t instanceof S(t).Node;
610
618
  }
611
- function W(t) {
619
+ function N(t) {
612
620
  return t instanceof Element || t instanceof S(t).Element;
613
621
  }
614
- function N(t) {
622
+ function B(t) {
615
623
  return t instanceof HTMLElement || t instanceof S(t).HTMLElement;
616
624
  }
617
- function bt(t) {
625
+ function At(t) {
618
626
  return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof S(t).ShadowRoot;
619
627
  }
620
- function J(t) {
628
+ function Z(t) {
621
629
  const {
622
630
  overflow: e,
623
631
  overflowX: n,
624
632
  overflowY: o,
625
633
  display: i
626
- } = T(t);
634
+ } = E(t);
627
635
  return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
628
636
  }
629
- function se(t) {
630
- return ["table", "td", "th"].includes(_(t));
637
+ function le(t) {
638
+ return ["table", "td", "th"].includes(G(t));
631
639
  }
632
- function mt(t) {
633
- const e = gt(), n = T(t);
640
+ function gt(t) {
641
+ const e = pt(), n = E(t);
634
642
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
635
643
  }
636
- function ce(t) {
637
- let e = q(t);
638
- for (; N(e) && !rt(e); ) {
639
- if (mt(e))
644
+ function ae(t) {
645
+ let e = _(t);
646
+ for (; B(e) && !q(e); ) {
647
+ if (gt(e))
640
648
  return e;
641
- e = q(e);
649
+ e = _(e);
642
650
  }
643
651
  return null;
644
652
  }
645
- function gt() {
653
+ function pt() {
646
654
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
647
655
  }
648
- function rt(t) {
649
- return ["html", "body", "#document"].includes(_(t));
656
+ function q(t) {
657
+ return ["html", "body", "#document"].includes(G(t));
650
658
  }
651
- function T(t) {
659
+ function E(t) {
652
660
  return S(t).getComputedStyle(t);
653
661
  }
654
- function st(t) {
655
- return W(t) ? {
662
+ function ct(t) {
663
+ return N(t) ? {
656
664
  scrollLeft: t.scrollLeft,
657
665
  scrollTop: t.scrollTop
658
666
  } : {
@@ -660,92 +668,92 @@ function st(t) {
660
668
  scrollTop: t.pageYOffset
661
669
  };
662
670
  }
663
- function q(t) {
664
- if (_(t) === "html")
671
+ function _(t) {
672
+ if (G(t) === "html")
665
673
  return t;
666
674
  const e = (
667
675
  // Step into the shadow DOM of the parent of a slotted node.
668
676
  t.assignedSlot || // DOM Element detected.
669
677
  t.parentNode || // ShadowRoot detected.
670
- bt(t) && t.host || // Fallback.
678
+ At(t) && t.host || // Fallback.
671
679
  H(t)
672
680
  );
673
- return bt(e) ? e.host : e;
681
+ return At(e) ? e.host : e;
674
682
  }
675
- function kt(t) {
676
- const e = q(t);
677
- return rt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : N(e) && J(e) ? e : kt(e);
683
+ function Bt(t) {
684
+ const e = _(t);
685
+ return q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : B(e) && Z(e) ? e : Bt(e);
678
686
  }
679
- function K(t, e, n) {
687
+ function J(t, e, n) {
680
688
  var o;
681
689
  e === void 0 && (e = []), n === void 0 && (n = !0);
682
- const i = kt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = S(i);
683
- return s ? e.concat(r, r.visualViewport || [], J(i) ? i : [], r.frameElement && n ? K(r.frameElement) : []) : e.concat(i, K(i, [], n));
690
+ const i = Bt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = S(i);
691
+ return s ? e.concat(r, r.visualViewport || [], Z(i) ? i : [], r.frameElement && n ? J(r.frameElement) : []) : e.concat(i, J(i, [], n));
684
692
  }
685
- function Nt(t) {
686
- const e = T(t);
693
+ function $t(t) {
694
+ const e = E(t);
687
695
  let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
688
- const i = N(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = Z(n) !== s || Z(o) !== r;
696
+ const i = B(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = et(n) !== s || et(o) !== r;
689
697
  return c && (n = s, o = r), {
690
698
  width: n,
691
699
  height: o,
692
700
  $: c
693
701
  };
694
702
  }
695
- function pt(t) {
696
- return W(t) ? t : t.contextElement;
703
+ function ht(t) {
704
+ return N(t) ? t : t.contextElement;
697
705
  }
698
706
  function Y(t) {
699
- const e = pt(t);
700
- if (!N(e))
707
+ const e = ht(t);
708
+ if (!B(e))
701
709
  return V(1);
702
710
  const n = e.getBoundingClientRect(), {
703
711
  width: o,
704
712
  height: i,
705
713
  $: s
706
- } = Nt(e);
707
- let r = (s ? Z(n.width) : n.width) / o, c = (s ? Z(n.height) : n.height) / i;
714
+ } = $t(e);
715
+ let r = (s ? et(n.width) : n.width) / o, c = (s ? et(n.height) : n.height) / i;
708
716
  return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
709
717
  x: r,
710
718
  y: c
711
719
  };
712
720
  }
713
- const le = /* @__PURE__ */ V(0);
714
- function Bt(t) {
721
+ const fe = /* @__PURE__ */ V(0);
722
+ function Wt(t) {
715
723
  const e = S(t);
716
- return !gt() || !e.visualViewport ? le : {
724
+ return !pt() || !e.visualViewport ? fe : {
717
725
  x: e.visualViewport.offsetLeft,
718
726
  y: e.visualViewport.offsetTop
719
727
  };
720
728
  }
721
- function ae(t, e, n) {
729
+ function ue(t, e, n) {
722
730
  return e === void 0 && (e = !1), !n || e && n !== S(t) ? !1 : e;
723
731
  }
724
- function j(t, e, n, o) {
732
+ function U(t, e, n, o) {
725
733
  e === void 0 && (e = !1), n === void 0 && (n = !1);
726
- const i = t.getBoundingClientRect(), s = pt(t);
734
+ const i = t.getBoundingClientRect(), s = ht(t);
727
735
  let r = V(1);
728
- e && (o ? W(o) && (r = Y(o)) : r = Y(t));
729
- const c = ae(s, n, o) ? Bt(s) : V(0);
736
+ e && (o ? N(o) && (r = Y(o)) : r = Y(t));
737
+ const c = ue(s, n, o) ? Wt(s) : V(0);
730
738
  let l = (i.left + c.x) / r.x, a = (i.top + c.y) / r.y, d = i.width / r.x, u = i.height / r.y;
731
739
  if (s) {
732
- const h = S(s), f = o && W(o) ? S(o) : o;
740
+ const h = S(s), f = o && N(o) ? S(o) : o;
733
741
  let m = h, g = m.frameElement;
734
742
  for (; g && o && f !== m; ) {
735
- const w = Y(g), p = g.getBoundingClientRect(), y = T(g), x = p.left + (g.clientLeft + parseFloat(y.paddingLeft)) * w.x, b = p.top + (g.clientTop + parseFloat(y.paddingTop)) * w.y;
743
+ const w = Y(g), p = g.getBoundingClientRect(), y = E(g), x = p.left + (g.clientLeft + parseFloat(y.paddingLeft)) * w.x, b = p.top + (g.clientTop + parseFloat(y.paddingTop)) * w.y;
736
744
  l *= w.x, a *= w.y, d *= w.x, u *= w.y, l += x, a += b, m = S(g), g = m.frameElement;
737
745
  }
738
746
  }
739
- return nt({
747
+ return it({
740
748
  width: d,
741
749
  height: u,
742
750
  x: l,
743
751
  y: a
744
752
  });
745
753
  }
746
- const fe = [":popover-open", ":modal"];
747
- function $t(t) {
748
- return fe.some((e) => {
754
+ const de = [":popover-open", ":modal"];
755
+ function wt(t) {
756
+ return de.some((e) => {
749
757
  try {
750
758
  return t.matches(e);
751
759
  } catch {
@@ -753,23 +761,23 @@ function $t(t) {
753
761
  }
754
762
  });
755
763
  }
756
- function ue(t) {
764
+ function me(t) {
757
765
  let {
758
766
  elements: e,
759
767
  rect: n,
760
768
  offsetParent: o,
761
769
  strategy: i
762
770
  } = t;
763
- const s = i === "fixed", r = H(o), c = e ? $t(e.floating) : !1;
771
+ const s = i === "fixed", r = H(o), c = e ? wt(e.floating) : !1;
764
772
  if (o === r || c && s)
765
773
  return n;
766
774
  let l = {
767
775
  scrollLeft: 0,
768
776
  scrollTop: 0
769
777
  }, a = V(1);
770
- const d = V(0), u = N(o);
771
- if ((u || !u && !s) && ((_(o) !== "body" || J(r)) && (l = st(o)), N(o))) {
772
- const h = j(o);
778
+ const d = V(0), u = B(o);
779
+ if ((u || !u && !s) && ((G(o) !== "body" || Z(r)) && (l = ct(o)), B(o))) {
780
+ const h = U(o);
773
781
  a = Y(o), d.x = h.x + o.clientLeft, d.y = h.y + o.clientTop;
774
782
  }
775
783
  return {
@@ -779,29 +787,29 @@ function ue(t) {
779
787
  y: n.y * a.y - l.scrollTop * a.y + d.y
780
788
  };
781
789
  }
782
- function de(t) {
790
+ function ge(t) {
783
791
  return Array.from(t.getClientRects());
784
792
  }
785
- function Wt(t) {
786
- return j(H(t)).left + st(t).scrollLeft;
793
+ function Ht(t) {
794
+ return U(H(t)).left + ct(t).scrollLeft;
787
795
  }
788
- function me(t) {
789
- const e = H(t), n = st(t), o = t.ownerDocument.body, i = z(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = z(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
790
- let r = -n.scrollLeft + Wt(t);
796
+ function pe(t) {
797
+ const e = H(t), n = ct(t), o = t.ownerDocument.body, i = z(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = z(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
798
+ let r = -n.scrollLeft + Ht(t);
791
799
  const c = -n.scrollTop;
792
- return T(o).direction === "rtl" && (r += z(e.clientWidth, o.clientWidth) - i), {
800
+ return E(o).direction === "rtl" && (r += z(e.clientWidth, o.clientWidth) - i), {
793
801
  width: i,
794
802
  height: s,
795
803
  x: r,
796
804
  y: c
797
805
  };
798
806
  }
799
- function ge(t, e) {
807
+ function he(t, e) {
800
808
  const n = S(t), o = H(t), i = n.visualViewport;
801
809
  let s = o.clientWidth, r = o.clientHeight, c = 0, l = 0;
802
810
  if (i) {
803
811
  s = i.width, r = i.height;
804
- const a = gt();
812
+ const a = pt();
805
813
  (!a || a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
806
814
  }
807
815
  return {
@@ -811,8 +819,8 @@ function ge(t, e) {
811
819
  y: l
812
820
  };
813
821
  }
814
- function pe(t, e) {
815
- const n = j(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = N(t) ? Y(t) : V(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, l = i * s.x, a = o * s.y;
822
+ function we(t, e) {
823
+ const n = U(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = B(t) ? Y(t) : V(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, l = i * s.x, a = o * s.y;
816
824
  return {
817
825
  width: r,
818
826
  height: c,
@@ -820,52 +828,52 @@ function pe(t, e) {
820
828
  y: a
821
829
  };
822
830
  }
823
- function Ot(t, e, n) {
831
+ function Rt(t, e, n) {
824
832
  let o;
825
833
  if (e === "viewport")
826
- o = ge(t, n);
834
+ o = he(t, n);
827
835
  else if (e === "document")
828
- o = me(H(t));
829
- else if (W(e))
830
- o = pe(e, n);
836
+ o = pe(H(t));
837
+ else if (N(e))
838
+ o = we(e, n);
831
839
  else {
832
- const i = Bt(t);
840
+ const i = Wt(t);
833
841
  o = {
834
842
  ...e,
835
843
  x: e.x - i.x,
836
844
  y: e.y - i.y
837
845
  };
838
846
  }
839
- return nt(o);
847
+ return it(o);
840
848
  }
841
- function Ht(t, e) {
842
- const n = q(t);
843
- return n === e || !W(n) || rt(n) ? !1 : T(n).position === "fixed" || Ht(n, e);
849
+ function Vt(t, e) {
850
+ const n = _(t);
851
+ return n === e || !N(n) || q(n) ? !1 : E(n).position === "fixed" || Vt(n, e);
844
852
  }
845
- function he(t, e) {
853
+ function ye(t, e) {
846
854
  const n = e.get(t);
847
855
  if (n)
848
856
  return n;
849
- let o = K(t, [], !1).filter((c) => W(c) && _(c) !== "body"), i = null;
850
- const s = T(t).position === "fixed";
851
- let r = s ? q(t) : t;
852
- for (; W(r) && !rt(r); ) {
853
- const c = T(r), l = mt(r);
854
- !l && c.position === "fixed" && (i = null), (s ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || J(r) && !l && Ht(t, r)) ? o = o.filter((d) => d !== r) : i = c, r = q(r);
857
+ let o = J(t, [], !1).filter((c) => N(c) && G(c) !== "body"), i = null;
858
+ const s = E(t).position === "fixed";
859
+ let r = s ? _(t) : t;
860
+ for (; N(r) && !q(r); ) {
861
+ const c = E(r), l = gt(r);
862
+ !l && c.position === "fixed" && (i = null), (s ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Z(r) && !l && Vt(t, r)) ? o = o.filter((d) => d !== r) : i = c, r = _(r);
855
863
  }
856
864
  return e.set(t, o), o;
857
865
  }
858
- function we(t) {
866
+ function xe(t) {
859
867
  let {
860
868
  element: e,
861
869
  boundary: n,
862
870
  rootBoundary: o,
863
871
  strategy: i
864
872
  } = t;
865
- const r = [...n === "clippingAncestors" ? he(e, this._c) : [].concat(n), o], c = r[0], l = r.reduce((a, d) => {
866
- const u = Ot(e, d, i);
873
+ const r = [...n === "clippingAncestors" ? wt(e) ? [] : ye(e, this._c) : [].concat(n), o], c = r[0], l = r.reduce((a, d) => {
874
+ const u = Rt(e, d, i);
867
875
  return a.top = z(u.top, a.top), a.right = X(u.right, a.right), a.bottom = X(u.bottom, a.bottom), a.left = z(u.left, a.left), a;
868
- }, Ot(e, c, i));
876
+ }, Rt(e, c, i));
869
877
  return {
870
878
  width: l.right - l.left,
871
879
  height: l.bottom - l.top,
@@ -873,29 +881,29 @@ function we(t) {
873
881
  y: l.top
874
882
  };
875
883
  }
876
- function ye(t) {
884
+ function ve(t) {
877
885
  const {
878
886
  width: e,
879
887
  height: n
880
- } = Nt(t);
888
+ } = $t(t);
881
889
  return {
882
890
  width: e,
883
891
  height: n
884
892
  };
885
893
  }
886
- function xe(t, e, n) {
887
- const o = N(e), i = H(e), s = n === "fixed", r = j(t, !0, s, e);
894
+ function be(t, e, n) {
895
+ const o = B(e), i = H(e), s = n === "fixed", r = U(t, !0, s, e);
888
896
  let c = {
889
897
  scrollLeft: 0,
890
898
  scrollTop: 0
891
899
  };
892
900
  const l = V(0);
893
901
  if (o || !o && !s)
894
- if ((_(e) !== "body" || J(i)) && (c = st(e)), o) {
895
- const u = j(e, !0, s, e);
902
+ if ((G(e) !== "body" || Z(i)) && (c = ct(e)), o) {
903
+ const u = U(e, !0, s, e);
896
904
  l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
897
905
  } else
898
- i && (l.x = Wt(i));
906
+ i && (l.x = Ht(i));
899
907
  const a = r.left + c.scrollLeft - l.x, d = r.top + c.scrollTop - l.y;
900
908
  return {
901
909
  x: a,
@@ -904,45 +912,58 @@ function xe(t, e, n) {
904
912
  height: r.height
905
913
  };
906
914
  }
907
- function At(t, e) {
908
- return !N(t) || T(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
915
+ function lt(t) {
916
+ return E(t).position === "static";
909
917
  }
910
- function Vt(t, e) {
918
+ function Pt(t, e) {
919
+ return !B(t) || E(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
920
+ }
921
+ function _t(t, e) {
911
922
  const n = S(t);
912
- if (!N(t) || $t(t))
923
+ if (wt(t))
913
924
  return n;
914
- let o = At(t, e);
915
- for (; o && se(o) && T(o).position === "static"; )
916
- o = At(o, e);
917
- return o && (_(o) === "html" || _(o) === "body" && T(o).position === "static" && !mt(o)) ? n : o || ce(t) || n;
925
+ if (!B(t)) {
926
+ let i = _(t);
927
+ for (; i && !q(i); ) {
928
+ if (N(i) && !lt(i))
929
+ return i;
930
+ i = _(i);
931
+ }
932
+ return n;
933
+ }
934
+ let o = Pt(t, e);
935
+ for (; o && le(o) && lt(o); )
936
+ o = Pt(o, e);
937
+ return o && q(o) && lt(o) && !gt(o) ? n : o || ae(t) || n;
918
938
  }
919
- const ve = async function(t) {
920
- const e = this.getOffsetParent || Vt, n = this.getDimensions;
939
+ const Oe = async function(t) {
940
+ const e = this.getOffsetParent || _t, n = this.getDimensions, o = await n(t.floating);
921
941
  return {
922
- reference: xe(t.reference, await e(t.floating), t.strategy),
942
+ reference: be(t.reference, await e(t.floating), t.strategy),
923
943
  floating: {
924
944
  x: 0,
925
945
  y: 0,
926
- ...await n(t.floating)
946
+ width: o.width,
947
+ height: o.height
927
948
  }
928
949
  };
929
950
  };
930
- function be(t) {
931
- return T(t).direction === "rtl";
951
+ function Ae(t) {
952
+ return E(t).direction === "rtl";
932
953
  }
933
- const at = {
934
- convertOffsetParentRelativeRectToViewportRelativeRect: ue,
954
+ const ut = {
955
+ convertOffsetParentRelativeRectToViewportRelativeRect: me,
935
956
  getDocumentElement: H,
936
- getClippingRect: we,
937
- getOffsetParent: Vt,
938
- getElementRects: ve,
939
- getClientRects: de,
940
- getDimensions: ye,
957
+ getClippingRect: xe,
958
+ getOffsetParent: _t,
959
+ getElementRects: Oe,
960
+ getClientRects: ge,
961
+ getDimensions: ve,
941
962
  getScale: Y,
942
- isElement: W,
943
- isRTL: be
963
+ isElement: N,
964
+ isRTL: Ae
944
965
  };
945
- function Oe(t, e) {
966
+ function Re(t, e) {
946
967
  let n = null, o;
947
968
  const i = H(t);
948
969
  function s() {
@@ -959,7 +980,7 @@ function Oe(t, e) {
959
980
  } = t.getBoundingClientRect();
960
981
  if (c || e(), !u || !h)
961
982
  return;
962
- const f = Q(d), m = Q(i.clientWidth - (a + u)), g = Q(i.clientHeight - (d + h)), w = Q(a), y = {
983
+ const f = tt(d), m = tt(i.clientWidth - (a + u)), g = tt(i.clientHeight - (d + h)), w = tt(a), y = {
963
984
  rootMargin: -f + "px " + -m + "px " + -g + "px " + -w + "px",
964
985
  threshold: z(0, X(1, l)) || 1
965
986
  };
@@ -971,7 +992,7 @@ function Oe(t, e) {
971
992
  return r();
972
993
  R ? r(!1, R) : o = setTimeout(() => {
973
994
  r(!1, 1e-7);
974
- }, 100);
995
+ }, 1e3);
975
996
  }
976
997
  x = !1;
977
998
  }
@@ -988,7 +1009,7 @@ function Oe(t, e) {
988
1009
  }
989
1010
  return r(!0), s;
990
1011
  }
991
- function Ae(t, e, n, o) {
1012
+ function Pe(t, e, n, o) {
992
1013
  o === void 0 && (o = {});
993
1014
  const {
994
1015
  ancestorScroll: i = !0,
@@ -996,13 +1017,13 @@ function Ae(t, e, n, o) {
996
1017
  elementResize: r = typeof ResizeObserver == "function",
997
1018
  layoutShift: c = typeof IntersectionObserver == "function",
998
1019
  animationFrame: l = !1
999
- } = o, a = pt(t), d = i || s ? [...a ? K(a) : [], ...K(e)] : [];
1020
+ } = o, a = ht(t), d = i || s ? [...a ? J(a) : [], ...J(e)] : [];
1000
1021
  d.forEach((p) => {
1001
1022
  i && p.addEventListener("scroll", n, {
1002
1023
  passive: !0
1003
1024
  }), s && p.addEventListener("resize", n);
1004
1025
  });
1005
- const u = a && c ? Oe(a, n) : null;
1026
+ const u = a && c ? Re(a, n) : null;
1006
1027
  let h = -1, f = null;
1007
1028
  r && (f = new ResizeObserver((p) => {
1008
1029
  let [y] = p;
@@ -1011,10 +1032,10 @@ function Ae(t, e, n, o) {
1011
1032
  (x = f) == null || x.observe(e);
1012
1033
  })), n();
1013
1034
  }), a && !l && f.observe(a), f.observe(e));
1014
- let m, g = l ? j(t) : null;
1035
+ let m, g = l ? U(t) : null;
1015
1036
  l && w();
1016
1037
  function w() {
1017
- const p = j(t);
1038
+ const p = U(t);
1018
1039
  g && (p.x !== g.x || p.y !== g.y || p.width !== g.width || p.height !== g.height) && n(), g = p, m = requestAnimationFrame(w);
1019
1040
  }
1020
1041
  return n(), () => {
@@ -1024,30 +1045,30 @@ function Ae(t, e, n, o) {
1024
1045
  }), u == null || u(), (p = f) == null || p.disconnect(), f = null, l && cancelAnimationFrame(m);
1025
1046
  };
1026
1047
  }
1027
- const Re = te, Pe = re, Rt = ee, Ce = ne, Se = Qt, Te = (t, e, n) => {
1048
+ const Ce = se, Se = ne, Te = ce, Ct = oe, Le = ie, Ee = te, De = (t, e, n) => {
1028
1049
  const o = /* @__PURE__ */ new Map(), i = {
1029
- platform: at,
1050
+ platform: ut,
1030
1051
  ...n
1031
1052
  }, s = {
1032
1053
  ...i.platform,
1033
1054
  _c: o
1034
1055
  };
1035
- return Jt(t, e, {
1056
+ return Zt(t, e, {
1036
1057
  ...i,
1037
1058
  platform: s
1038
1059
  });
1039
1060
  };
1040
- function Le(t) {
1041
- return De(t);
1061
+ function Fe(t) {
1062
+ return Me(t);
1042
1063
  }
1043
- function ct(t) {
1064
+ function at(t) {
1044
1065
  return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
1045
1066
  }
1046
- function De(t) {
1047
- for (let e = t; e; e = ct(e))
1067
+ function Me(t) {
1068
+ for (let e = t; e; e = at(e))
1048
1069
  if (e instanceof Element && getComputedStyle(e).display === "none")
1049
1070
  return null;
1050
- for (let e = ct(t); e; e = ct(e)) {
1071
+ for (let e = at(t); e; e = at(e)) {
1051
1072
  if (!(e instanceof Element))
1052
1073
  continue;
1053
1074
  const n = getComputedStyle(e);
@@ -1058,24 +1079,24 @@ function De(t) {
1058
1079
  }
1059
1080
  (function() {
1060
1081
  {
1061
- const e = at.getOffsetParent;
1062
- at.getOffsetParent = (n) => e(n, Le);
1082
+ const e = ut.getOffsetParent;
1083
+ ut.getOffsetParent = (n) => e(n, Fe);
1063
1084
  }
1064
1085
  })();
1065
- function Pt(t) {
1086
+ function St(t) {
1066
1087
  const e = window.devicePixelRatio || 1;
1067
1088
  return Math.round(t * e) / e;
1068
1089
  }
1069
- const _t = (
1090
+ const It = (
1070
1091
  /* we export arrow function to allow us to spy on it during testing */
1071
1092
  async (t, { referenceEl: e, floatingEl: n, overlayPositioning: o = "absolute", placement: i, flipDisabled: s, flipPlacements: r, offsetDistance: c, offsetSkidding: l, arrowEl: a, type: d }) => {
1072
1093
  var b;
1073
1094
  if (!e || !n)
1074
1095
  return null;
1075
- const { x: u, y: h, placement: f, strategy: m, middlewareData: g } = await Te(e, n, {
1096
+ const { x: u, y: h, placement: f, strategy: m, middlewareData: g } = await De(e, n, {
1076
1097
  strategy: o,
1077
- placement: i === "auto" || i === "auto-start" || i === "auto-end" ? void 0 : Me(n, i),
1078
- middleware: Fe({
1098
+ placement: i === "auto" || i === "auto-start" || i === "auto-end" ? void 0 : Be(n, i),
1099
+ middleware: Ne({
1079
1100
  placement: i,
1080
1101
  flipDisabled: s,
1081
1102
  flipPlacements: r,
@@ -1086,27 +1107,27 @@ const _t = (
1086
1107
  })
1087
1108
  });
1088
1109
  if (a && g.arrow) {
1089
- const { x: v, y: R } = g.arrow, O = f.split("-")[0], L = v != null ? "left" : "top", E = Ne[O], A = { left: "", top: "", bottom: "", right: "" };
1110
+ const { x: v, y: R } = g.arrow, O = f.split("-")[0], T = v != null ? "left" : "top", D = We[O], A = { left: "", top: "", bottom: "", right: "" };
1090
1111
  "floatingLayout" in t && (t.floatingLayout = O === "left" || O === "right" ? "horizontal" : "vertical"), Object.assign(a.style, {
1091
1112
  ...A,
1092
- [L]: `${L == "left" ? v : R}px`,
1113
+ [T]: `${T == "left" ? v : R}px`,
1093
1114
  [O]: "100%",
1094
- transform: E
1115
+ transform: D
1095
1116
  });
1096
1117
  }
1097
1118
  const p = ((b = g.hide) == null ? void 0 : b.referenceHidden) ? "hidden" : null, y = p ? "none" : null;
1098
- n.setAttribute(Ee, f);
1119
+ n.setAttribute(ke, f);
1099
1120
  const { open: x } = t;
1100
1121
  Object.assign(n.style, {
1101
1122
  visibility: p,
1102
1123
  pointerEvents: y,
1103
1124
  position: m,
1104
- transform: x ? `translate(${Pt(u)}px,${Pt(h)}px)` : "",
1125
+ transform: x ? `translate(${St(u)}px,${St(h)}px)` : "",
1105
1126
  top: 0,
1106
1127
  left: 0
1107
1128
  });
1108
1129
  }
1109
- ), Ee = "data-placement", Ct = 100, St = [
1130
+ ), ke = "data-placement", Tt = 100, Lt = [
1110
1131
  "top",
1111
1132
  "bottom",
1112
1133
  "right",
@@ -1119,79 +1140,100 @@ const _t = (
1119
1140
  "right-end",
1120
1141
  "left-start",
1121
1142
  "left-end"
1122
- ], Ve = {
1143
+ ], ze = {
1123
1144
  animation: "calcite-floating-ui-anim",
1124
1145
  animationActive: "calcite-floating-ui-anim--active"
1125
1146
  };
1126
- function Fe({ placement: t, flipDisabled: e, flipPlacements: n, offsetDistance: o, offsetSkidding: i, arrowEl: s, type: r }) {
1127
- const c = [Pe(), Ce()];
1147
+ function Ne({ placement: t, flipDisabled: e, flipPlacements: n, offsetDistance: o, offsetSkidding: i, arrowEl: s, type: r }) {
1148
+ const c = [Te(), Le()];
1128
1149
  if (r === "menu")
1129
1150
  return [
1130
1151
  ...c,
1131
- Rt({
1152
+ Ct({
1132
1153
  fallbackPlacements: n || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
1133
1154
  })
1134
1155
  ];
1135
1156
  if (r === "popover" || r === "tooltip") {
1136
1157
  const l = [
1137
1158
  ...c,
1138
- ie({
1159
+ Ce({
1139
1160
  mainAxis: typeof o == "number" ? o : 0,
1140
1161
  crossAxis: typeof i == "number" ? i : 0
1141
1162
  })
1142
1163
  ];
1143
- return t === "auto" || t === "auto-start" || t === "auto-end" ? l.push(Re({ alignment: t === "auto-start" ? "start" : t === "auto-end" ? "end" : null })) : e || l.push(Rt(n ? { fallbackPlacements: n } : {})), s && l.push(Se({
1164
+ return t === "auto" || t === "auto-start" || t === "auto-end" ? l.push(Se({ alignment: t === "auto-start" ? "start" : t === "auto-end" ? "end" : null })) : e || l.push(Ct(n ? { fallbackPlacements: n } : {})), s && l.push(Ee({
1144
1165
  element: s
1145
1166
  })), l;
1146
1167
  }
1147
1168
  return [];
1148
1169
  }
1149
- function _e(t, e) {
1150
- const n = t.filter((o) => St.includes(o));
1151
- return n.length !== t.length && console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${St.map((o) => `"${o}"`).join(", ").trim()}`, { el: e }), n;
1170
+ function Ue(t, e) {
1171
+ const n = t.filter((o) => Lt.includes(o));
1172
+ return n.length !== t.length && console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Lt.map((o) => `"${o}"`).join(", ").trim()}`, { el: e }), n;
1152
1173
  }
1153
- function Me(t, e) {
1174
+ function Be(t, e) {
1154
1175
  const n = ["left", "right"];
1155
- return zt(t) === "rtl" && n.reverse(), e.replace(/leading/gi, n[0]).replace(/trailing/gi, n[1]);
1176
+ return jt(t) === "rtl" && n.reverse(), e.replace(/leading/gi, n[0]).replace(/trailing/gi, n[1]);
1156
1177
  }
1157
- async function Ie(t, e, n = !1) {
1158
- return t.open ? (n ? ke(t) : _t)(t, e) : void 0;
1178
+ async function je(t, e, n = !1) {
1179
+ if (!t.open || !e.floatingEl || !e.referenceEl)
1180
+ return;
1181
+ if (!Q.get(t))
1182
+ return zt(t, e.referenceEl, e.floatingEl);
1183
+ await (n ? $e(t) : It)(t, e);
1159
1184
  }
1160
- function ke(t) {
1161
- let e = ot.get(t);
1162
- return e || (e = jt(_t, Ct, {
1185
+ function $e(t) {
1186
+ let e = rt.get(t);
1187
+ return e || (e = Yt(It, Tt, {
1163
1188
  leading: !0,
1164
- maxWait: Ct
1165
- }), ot.set(t, e), e);
1189
+ maxWait: Tt
1190
+ }), rt.set(t, e), e);
1166
1191
  }
1167
- const Ne = {
1192
+ const We = {
1168
1193
  top: "",
1169
1194
  left: "rotate(-90deg)",
1170
1195
  bottom: "rotate(180deg)",
1171
1196
  right: "rotate(90deg)"
1172
- }, ft = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap();
1173
- function ze(t, e, n) {
1174
- if (!n || !e)
1197
+ }, Q = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap();
1198
+ async function zt(t, e, n) {
1199
+ if (!n.isConnected)
1175
1200
  return;
1176
- Be(t, e, n), Object.assign(n.style, {
1201
+ const o = Pe;
1202
+ Q.set(t, { state: "pending" });
1203
+ let i;
1204
+ const s = o(
1205
+ e,
1206
+ n,
1207
+ // callback is invoked immediately
1208
+ () => {
1209
+ const r = t.reposition();
1210
+ i || (i = r);
1211
+ }
1212
+ );
1213
+ return Q.set(t, { state: "active", cleanUp: s }), i;
1214
+ }
1215
+ async function Ye(t, e, n) {
1216
+ if (!(!n || !e) && (He(t, e, n), Object.assign(n.style, {
1177
1217
  visibility: "hidden",
1178
1218
  pointerEvents: "none",
1179
1219
  // initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
1180
1220
  position: t.overlayPositioning
1181
- });
1182
- const o = Ae;
1183
- ft.set(t, o(e, n, () => t.reposition()));
1221
+ }), !!t.open))
1222
+ return zt(t, e, n);
1184
1223
  }
1185
- function Be(t, e, n) {
1186
- var o, i;
1187
- !n || !e || ((o = ft.get(t)) == null || o(), ft.delete(t), (i = ot.get(t)) == null || i.cancel(), ot.delete(t));
1224
+ function He(t, e, n) {
1225
+ var i;
1226
+ if (!n || !e)
1227
+ return;
1228
+ const o = Q.get(t);
1229
+ (o == null ? void 0 : o.state) === "active" && o.cleanUp(), Q.delete(t), (i = rt.get(t)) == null || i.cancel(), rt.delete(t);
1188
1230
  }
1189
- const Tt = 4, je = Math.ceil(Math.hypot(Tt, Tt));
1231
+ const Et = 4, Xe = Math.ceil(Math.hypot(Et, Et));
1190
1232
  export {
1191
- Ve as F,
1192
- Be as a,
1193
- ze as c,
1194
- je as d,
1195
- _e as f,
1196
- Ie as r
1233
+ ze as F,
1234
+ He as a,
1235
+ Ye as c,
1236
+ Xe as d,
1237
+ Ue as f,
1238
+ je as r
1197
1239
  };