@siemens/ix 1.6.2 → 2.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1110) hide show
  1. package/dist/cjs/a11y-fa9abd92.js +82 -0
  2. package/dist/cjs/a11y-fa9abd92.js.map +1 -0
  3. package/dist/cjs/base-button-497db257.js.map +1 -1
  4. package/dist/cjs/context-2ce9a350.js +26 -0
  5. package/dist/cjs/context-2ce9a350.js.map +1 -0
  6. package/dist/cjs/{flip-tile-state-b5ff5ea0.js → flip-tile-state-183236a1.js} +6 -6
  7. package/dist/cjs/{flip-tile-state-b5ff5ea0.js.map → flip-tile-state-183236a1.js.map} +1 -1
  8. package/dist/cjs/{floating-ui.dom.esm-01fe5abe.js → floating-ui.dom.esm-b79b633f.js} +1 -103
  9. package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +1 -0
  10. package/dist/cjs/{icon-4c954853.js → icon-eeb2940a.js} +2 -2
  11. package/dist/cjs/{icon-4c954853.js.map → icon-eeb2940a.js.map} +1 -1
  12. package/dist/cjs/{index-c978628a.js → index-e56a1d39.js} +77 -21
  13. package/dist/cjs/index-e56a1d39.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +46 -7
  15. package/dist/cjs/index.cjs.js.map +1 -1
  16. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ix-application-header.cjs.entry.js +21 -18
  19. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ix-avatar.cjs.entry.js +39 -0
  21. package/dist/cjs/ix-avatar.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ix-basic-navigation.cjs.entry.js +13 -15
  23. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ix-blind.cjs.entry.js +3 -12
  25. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-burger-menu.cjs.entry.js +7 -3
  28. package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ix-button.cjs.entry.js +22 -4
  30. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
  32. package/dist/cjs/ix-card-list.cjs.entry.js +1 -1
  33. package/dist/cjs/ix-card_2.cjs.entry.js +36 -0
  34. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
  36. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-chip.cjs.entry.js +23 -15
  38. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  40. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  42. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  43. package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -9
  44. package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -3
  46. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  48. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  50. package/dist/cjs/ix-drawer.cjs.entry.js +4 -1
  51. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ix-dropdown-button.cjs.entry.js +7 -6
  53. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ix-dropdown-header.cjs.entry.js +22 -0
  55. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  57. package/dist/cjs/ix-dropdown_2.cjs.entry.js +67 -33
  58. package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  60. package/dist/cjs/ix-event-list_2.cjs.entry.js +44 -25
  61. package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -8
  63. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ix-filter-chip.cjs.entry.js +3 -3
  65. package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +3 -3
  67. package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ix-group-context-menu.cjs.entry.js +26 -14
  69. package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ix-group_2.cjs.entry.js +159 -0
  71. package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ix-icon-button.cjs.entry.js +26 -5
  73. package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ix-icon.cjs.entry.js +2 -2
  75. package/dist/cjs/ix-index-button.cjs.entry.js +4 -4
  76. package/dist/cjs/ix-index-button.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  78. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  80. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  81. package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
  82. package/dist/cjs/ix-link-button.cjs.entry.js +30 -0
  83. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -0
  84. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +17 -7
  85. package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ix-menu-category.cjs.entry.js +138 -0
  87. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -0
  88. package/dist/cjs/ix-menu_9.cjs.entry.js +252 -339
  89. package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  91. package/dist/cjs/ix-modal-content.cjs.entry.js +21 -0
  92. package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ix-modal-example.cjs.entry.js +6 -4
  94. package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ix-modal-footer.cjs.entry.js +21 -0
  96. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ix-modal-header.cjs.entry.js +48 -0
  98. package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -0
  99. package/dist/cjs/ix-modal-loading.cjs.entry.js +21 -0
  100. package/dist/cjs/ix-modal-loading.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ix-modal.cjs.entry.js +130 -0
  102. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -0
  103. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  104. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ix-pill.cjs.entry.js +28 -10
  106. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  108. package/dist/cjs/ix-select_2.cjs.entry.js +20 -8
  109. package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ix-spinner.cjs.entry.js +10 -3
  111. package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ix-split-button_2.cjs.entry.js +15 -11
  113. package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ix-tab-item.cjs.entry.js +2 -2
  115. package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ix-tabs.cjs.entry.js +14 -6
  117. package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ix-tile.cjs.entry.js +18 -3
  119. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ix-toast_2.cjs.entry.js +6 -7
  121. package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ix-toggle.cjs.entry.js +11 -30
  123. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  125. package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
  126. package/dist/cjs/ix-typography.cjs.entry.js +46 -0
  127. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
  128. package/dist/cjs/ix-upload.cjs.entry.js +19 -7
  129. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  130. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +6 -19
  131. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +14 -18
  133. package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/loader.cjs.js +2 -2
  135. package/dist/cjs/menu-service-d1b87142.js +80 -0
  136. package/dist/cjs/menu-service-d1b87142.js.map +1 -0
  137. package/dist/cjs/modal-26ae4715.js +253 -0
  138. package/dist/cjs/modal-26ae4715.js.map +1 -0
  139. package/dist/cjs/my-component.cjs.entry.js +1 -1
  140. package/dist/cjs/my-component.cjs.entry.js.map +1 -1
  141. package/dist/cjs/service-0e27b06b.js +145 -0
  142. package/dist/cjs/service-0e27b06b.js.map +1 -0
  143. package/dist/cjs/shadow-dom-f9b90696.js +21 -0
  144. package/dist/cjs/shadow-dom-f9b90696.js.map +1 -0
  145. package/dist/cjs/siemens-ix.cjs.js +2 -2
  146. package/dist/collection/collection-manifest.json +18 -20
  147. package/dist/collection/components/application-header/application-header.css +2 -2
  148. package/dist/collection/components/application-header/application-header.js +43 -16
  149. package/dist/collection/components/application-header/application-header.js.map +1 -1
  150. package/dist/collection/components/avatar/avatar.css +70 -0
  151. package/dist/collection/components/avatar/avatar.js +80 -0
  152. package/dist/collection/components/avatar/avatar.js.map +1 -0
  153. package/dist/collection/components/basic-navigation/basic-navigation.css +32 -4
  154. package/dist/collection/components/basic-navigation/basic-navigation.js +11 -13
  155. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  156. package/dist/collection/components/button/base-button.js.map +1 -1
  157. package/dist/collection/components/button/button.css +31 -2
  158. package/dist/collection/components/button/button.js +60 -4
  159. package/dist/collection/components/button/button.js.map +1 -1
  160. package/dist/collection/components/button/test/button.ct.js +36 -0
  161. package/dist/collection/components/button/test/button.ct.js.map +1 -0
  162. package/dist/collection/components/category-filter/category-filter.js +1 -1
  163. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  164. package/dist/collection/components/chip/chip.css +149 -149
  165. package/dist/collection/components/chip/chip.js +22 -14
  166. package/dist/collection/components/chip/chip.js.map +1 -1
  167. package/dist/collection/components/content-header/content-header.js +4 -4
  168. package/dist/collection/components/content-header/content-header.js.map +1 -1
  169. package/dist/collection/components/date-picker/date-picker.css +12 -2
  170. package/dist/collection/components/date-picker/date-picker.js +4 -4
  171. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  172. package/dist/collection/components/date-time-card/date-time-card.css +28 -8
  173. package/dist/collection/components/date-time-card/date-time-card.js +1 -2
  174. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  175. package/dist/collection/components/datetime-picker/datetime-picker.css +16 -6
  176. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  177. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  178. package/dist/collection/components/drawer/drawer.js +3 -0
  179. package/dist/collection/components/drawer/drawer.js.map +1 -1
  180. package/dist/collection/components/drawer/test/drawer.ct.js +47 -0
  181. package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -0
  182. package/dist/collection/components/dropdown/dropdown.css +16 -471
  183. package/dist/collection/components/dropdown/dropdown.js +77 -63
  184. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  185. package/dist/collection/components/dropdown/placement.js.map +1 -1
  186. package/dist/collection/components/dropdown-button/dropdown-button.css +16 -2
  187. package/dist/collection/components/dropdown-button/dropdown-button.js +13 -9
  188. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  189. package/dist/collection/components/dropdown-header/dropdown-header.css +32 -0
  190. package/dist/collection/components/{group-dropdown-item/group-dropdown-item.js → dropdown-header/dropdown-header.js} +11 -26
  191. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -0
  192. package/dist/collection/components/dropdown-item/dropdown-item.css +85 -37
  193. package/dist/collection/components/dropdown-item/dropdown-item.js +57 -12
  194. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  195. package/dist/collection/components/event-list/event-list.css +20 -35
  196. package/dist/collection/components/event-list/event-list.js +35 -16
  197. package/dist/collection/components/event-list/event-list.js.map +1 -1
  198. package/dist/collection/components/event-list-item/event-list-item.css +62 -35
  199. package/dist/collection/components/event-list-item/event-list-item.js +17 -10
  200. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  201. package/dist/collection/components/expanding-search/expanding-search.css +262 -8
  202. package/dist/collection/components/expanding-search/expanding-search.js +4 -7
  203. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  204. package/dist/collection/components/expanding-search/test/expanding-search.ct.js +56 -0
  205. package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -0
  206. package/dist/collection/components/filter-chip/filter-chip.css +39 -26
  207. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  208. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  209. package/dist/collection/components/flip-tile/flip-tile-state.js +5 -5
  210. package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
  211. package/dist/collection/components/flip-tile/flip-tile.js +1 -1
  212. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  213. package/dist/collection/components/group/group-context-menu.css +2 -3
  214. package/dist/collection/components/group/group-context-menu.js +27 -15
  215. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  216. package/dist/collection/components/group/group.css +6 -0
  217. package/dist/collection/components/group/group.js +29 -48
  218. package/dist/collection/components/group/group.js.map +1 -1
  219. package/dist/collection/components/group-item/group-item.css +59 -33
  220. package/dist/collection/components/group-item/group-item.js +2 -2
  221. package/dist/collection/components/group-item/group-item.js.map +1 -1
  222. package/dist/collection/components/icon-button/icon-button.css +34 -3
  223. package/dist/collection/components/icon-button/icon-button.js +52 -7
  224. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  225. package/dist/collection/components/icon-button/test/icon-button.ct.js +26 -0
  226. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -0
  227. package/dist/collection/components/index-button/index-button.js +5 -5
  228. package/dist/collection/components/index-button/index-button.js.map +1 -1
  229. package/dist/collection/components/input-group/input-group.css +2 -0
  230. package/dist/collection/components/link-button/link-button.css +440 -0
  231. package/dist/collection/components/link-button/link-button.js +98 -0
  232. package/dist/collection/components/link-button/link-button.js.map +1 -0
  233. package/dist/collection/components/map-navigation/map-navigation.css +17 -1
  234. package/dist/collection/components/map-navigation/map-navigation.js +18 -7
  235. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  236. package/dist/collection/components/menu/burger-menu.css +388 -5
  237. package/dist/collection/components/menu/burger-menu.js +42 -2
  238. package/dist/collection/components/menu/burger-menu.js.map +1 -1
  239. package/dist/collection/components/menu/menu.css +1727 -24
  240. package/dist/collection/components/menu/menu.js +319 -335
  241. package/dist/collection/components/menu/menu.js.map +1 -1
  242. package/dist/collection/components/menu/test/menu.ct.js +164 -0
  243. package/dist/collection/components/menu/test/menu.ct.js.map +1 -0
  244. package/dist/collection/components/menu-about/menu-about.js +8 -7
  245. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  246. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  247. package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
  248. package/dist/collection/components/menu-about-news/menu-about-news.css +21 -6
  249. package/dist/collection/components/menu-about-news/menu-about-news.js +3 -3
  250. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  251. package/dist/collection/components/menu-avatar/menu-avatar.css +13 -1
  252. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -9
  253. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  254. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +13 -1
  255. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
  256. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
  257. package/dist/collection/components/menu-category/menu-category.css +63 -0
  258. package/dist/collection/components/menu-category/menu-category.js +212 -0
  259. package/dist/collection/components/menu-category/menu-category.js.map +1 -0
  260. package/dist/collection/components/menu-category/test/menu-category.ct.js +107 -0
  261. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -0
  262. package/dist/collection/components/menu-item/menu-item.css +6 -10
  263. package/dist/collection/components/menu-item/menu-item.js +40 -7
  264. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  265. package/dist/collection/components/menu-settings/menu-settings.css +13 -0
  266. package/dist/collection/components/menu-settings/menu-settings.js +9 -8
  267. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  268. package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -1
  269. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  270. package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
  271. package/dist/collection/components/modal/modal.css +58 -75
  272. package/dist/collection/components/modal/modal.js +143 -312
  273. package/dist/collection/components/modal/modal.js.map +1 -1
  274. package/dist/collection/components/modal-content/modal-content.css +27 -0
  275. package/dist/collection/components/modal-content/modal-content.js +30 -0
  276. package/dist/collection/components/modal-content/modal-content.js.map +1 -0
  277. package/dist/collection/components/modal-footer/modal-footer.css +30 -0
  278. package/dist/collection/components/modal-footer/modal-footer.js +30 -0
  279. package/dist/collection/components/modal-footer/modal-footer.js.map +1 -0
  280. package/dist/collection/components/modal-header/modal-header.css +34 -0
  281. package/dist/collection/components/modal-header/modal-header.js +139 -0
  282. package/dist/collection/components/modal-header/modal-header.js.map +1 -0
  283. package/dist/collection/components/modal-loading/modal-loading.css +22 -0
  284. package/dist/collection/components/modal-loading/modal-loading.js +30 -0
  285. package/dist/collection/components/modal-loading/modal-loading.js.map +1 -0
  286. package/dist/collection/components/my-component/example-modal.js +1 -1
  287. package/dist/collection/components/my-component/example-modal.js.map +1 -1
  288. package/dist/collection/components/my-component/my-component.js.map +1 -1
  289. package/dist/collection/components/pagination/pagination.js +3 -3
  290. package/dist/collection/components/pagination/pagination.js.map +1 -1
  291. package/dist/collection/components/pill/pill.css +102 -166
  292. package/dist/collection/components/pill/pill.js +27 -9
  293. package/dist/collection/components/pill/pill.js.map +1 -1
  294. package/dist/collection/components/select/select.css +4 -1
  295. package/dist/collection/components/select/select.js +32 -5
  296. package/dist/collection/components/select/select.js.map +1 -1
  297. package/dist/collection/components/select/test/select.ct.js +115 -0
  298. package/dist/collection/components/select/test/select.ct.js.map +1 -0
  299. package/dist/collection/components/select-item/select-item.css +12 -0
  300. package/dist/collection/components/select-item/select-item.js +3 -1
  301. package/dist/collection/components/select-item/select-item.js.map +1 -1
  302. package/dist/collection/components/spinner/spinner.css +428 -23
  303. package/dist/collection/components/spinner/spinner.js +33 -5
  304. package/dist/collection/components/spinner/spinner.js.map +1 -1
  305. package/dist/collection/components/split-button/split-button.css +40 -2
  306. package/dist/collection/components/split-button/split-button.js +18 -35
  307. package/dist/collection/components/split-button/split-button.js.map +1 -1
  308. package/dist/collection/components/split-button-item/split-button-item.css +1 -1
  309. package/dist/collection/components/split-button-item/split-button-item.js +2 -2
  310. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  311. package/dist/collection/components/tab-item/tab-item.css +115 -82
  312. package/dist/collection/components/tab-item/tab-item.js +1 -0
  313. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  314. package/dist/collection/components/tabs/tabs.css +37 -19
  315. package/dist/collection/components/tabs/tabs.js +13 -4
  316. package/dist/collection/components/tabs/tabs.js.map +1 -1
  317. package/dist/collection/components/tile/tile.css +57 -27
  318. package/dist/collection/components/tile/tile.js +23 -2
  319. package/dist/collection/components/tile/tile.js.map +1 -1
  320. package/dist/collection/components/time-picker/time-picker.css +253 -30
  321. package/dist/collection/components/time-picker/time-picker.js +3 -4
  322. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  323. package/dist/collection/components/toast/toast-container.js +2 -3
  324. package/dist/collection/components/toast/toast-container.js.map +1 -1
  325. package/dist/collection/components/toast/toast.css +37 -0
  326. package/dist/collection/components/toast/toast.js +5 -5
  327. package/dist/collection/components/toast/toast.js.map +1 -1
  328. package/dist/collection/components/toggle/test/toggle.ct.js +52 -0
  329. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -0
  330. package/dist/collection/components/toggle/toggle.css +72 -153
  331. package/dist/collection/components/toggle/toggle.js +11 -60
  332. package/dist/collection/components/toggle/toggle.js.map +1 -1
  333. package/dist/collection/components/typography/typography.css +53 -14
  334. package/dist/collection/components/typography/typography.js +2 -2
  335. package/dist/collection/components/typography/typography.js.map +1 -1
  336. package/dist/collection/components/upload/upload.css +24 -3
  337. package/dist/collection/components/upload/upload.js +18 -6
  338. package/dist/collection/components/upload/upload.js.map +1 -1
  339. package/dist/collection/components/utils/a11y.js +66 -0
  340. package/dist/collection/components/utils/a11y.js.map +1 -1
  341. package/dist/collection/components/utils/delegate.js +29 -0
  342. package/dist/collection/components/utils/delegate.js.map +1 -0
  343. package/dist/collection/components/utils/menu-service/menu-service.js +25 -0
  344. package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
  345. package/dist/collection/components/{modal-container/modal-container.css → utils/modal/index.js} +4 -6
  346. package/dist/collection/components/utils/modal/index.js.map +1 -0
  347. package/dist/collection/components/utils/modal/loading.js +35 -0
  348. package/dist/collection/components/utils/modal/loading.js.map +1 -0
  349. package/dist/collection/components/utils/modal/message.js +138 -0
  350. package/dist/collection/components/utils/modal/message.js.map +1 -0
  351. package/dist/collection/components/utils/modal/modal.js +77 -0
  352. package/dist/collection/components/utils/modal/modal.js.map +1 -0
  353. package/dist/collection/components/utils/screen/context.js +4 -0
  354. package/dist/collection/components/utils/screen/context.js.map +1 -1
  355. package/dist/collection/components/utils/screen/mode.js +57 -9
  356. package/dist/collection/components/utils/screen/mode.js.map +1 -1
  357. package/dist/collection/components/utils/screen/service.js +26 -4
  358. package/dist/collection/components/utils/screen/service.js.map +1 -1
  359. package/dist/collection/components/utils/shadow-dom.js +19 -0
  360. package/dist/collection/components/utils/shadow-dom.js.map +1 -0
  361. package/dist/collection/components/validation-tooltip/validation-tooltip.js +29 -12
  362. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  363. package/dist/collection/components/workflow-step/workflow-step.css +13 -0
  364. package/dist/collection/components/workflow-step/workflow-step.js +3 -12
  365. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  366. package/dist/collection/components/workflow-steps/workflow-steps.css +13 -0
  367. package/dist/collection/components/workflow-steps/workflow-steps.js +19 -14
  368. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  369. package/dist/collection/index.js +2 -1
  370. package/dist/collection/index.js.map +1 -1
  371. package/dist/collection/tests/utils/test/page.js +12 -5
  372. package/dist/collection/tests/utils/test/page.js.map +1 -1
  373. package/dist/components/a11y.js +79 -0
  374. package/dist/components/a11y.js.map +1 -0
  375. package/dist/components/application-header.js +40 -18
  376. package/dist/components/application-header.js.map +1 -1
  377. package/dist/components/avatar.js +53 -0
  378. package/dist/components/avatar.js.map +1 -0
  379. package/dist/components/base-button.js.map +1 -1
  380. package/dist/components/burger-menu.js +28 -4
  381. package/dist/components/burger-menu.js.map +1 -1
  382. package/dist/components/button.js +37 -5
  383. package/dist/components/button.js.map +1 -1
  384. package/dist/components/context.js +22 -0
  385. package/dist/components/context.js.map +1 -0
  386. package/dist/components/date-picker.js +22 -15
  387. package/dist/components/date-picker.js.map +1 -1
  388. package/dist/components/date-time-card.js +3 -3
  389. package/dist/components/date-time-card.js.map +1 -1
  390. package/dist/components/divider.js +32 -0
  391. package/dist/components/divider.js.map +1 -0
  392. package/dist/components/dropdown-item.js +21 -13
  393. package/dist/components/dropdown-item.js.map +1 -1
  394. package/dist/components/dropdown.js +50 -22
  395. package/dist/components/dropdown.js.map +1 -1
  396. package/dist/components/filter-chip.js +18 -5
  397. package/dist/components/filter-chip.js.map +1 -1
  398. package/dist/components/flip-tile-state.js +5 -5
  399. package/dist/components/flip-tile-state.js.map +1 -1
  400. package/dist/components/floating-ui.dom.esm.js +1 -102
  401. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  402. package/dist/components/group-context-menu.js +52 -19
  403. package/dist/components/group-context-menu.js.map +1 -1
  404. package/dist/components/group-item.js +4 -3
  405. package/dist/components/group-item.js.map +1 -1
  406. package/dist/components/icon-button.js +35 -7
  407. package/dist/components/icon-button.js.map +1 -1
  408. package/dist/components/index-button.js +3 -3
  409. package/dist/components/index-button.js.map +1 -1
  410. package/dist/components/index.js +37 -2
  411. package/dist/components/index.js.map +1 -1
  412. package/dist/components/{ix-group-dropdown-item.d.ts → ix-avatar.d.ts} +4 -4
  413. package/dist/components/ix-avatar.js +8 -0
  414. package/dist/components/ix-avatar.js.map +1 -0
  415. package/dist/components/ix-basic-navigation.js +35 -18
  416. package/dist/components/ix-basic-navigation.js.map +1 -1
  417. package/dist/components/ix-blind.js +1 -10
  418. package/dist/components/ix-blind.js.map +1 -1
  419. package/dist/components/ix-card-list.js +16 -10
  420. package/dist/components/ix-card-list.js.map +1 -1
  421. package/dist/components/ix-category-filter.js +15 -9
  422. package/dist/components/ix-category-filter.js.map +1 -1
  423. package/dist/components/ix-chip.js +38 -17
  424. package/dist/components/ix-chip.js.map +1 -1
  425. package/dist/components/ix-content-header.js +12 -6
  426. package/dist/components/ix-content-header.js.map +1 -1
  427. package/dist/components/ix-datetime-picker.js +21 -14
  428. package/dist/components/ix-datetime-picker.js.map +1 -1
  429. package/dist/components/ix-divider.js +1 -28
  430. package/dist/components/ix-divider.js.map +1 -1
  431. package/dist/components/ix-drawer.js +13 -4
  432. package/dist/components/ix-drawer.js.map +1 -1
  433. package/dist/components/ix-dropdown-button.js +22 -14
  434. package/dist/components/ix-dropdown-button.js.map +1 -1
  435. package/dist/components/{ix-modal-container.d.ts → ix-dropdown-header.d.ts} +4 -4
  436. package/dist/components/ix-dropdown-header.js +44 -0
  437. package/dist/components/ix-dropdown-header.js.map +1 -0
  438. package/dist/components/ix-empty-state.js +10 -4
  439. package/dist/components/ix-empty-state.js.map +1 -1
  440. package/dist/components/ix-event-list-item.js +21 -11
  441. package/dist/components/ix-event-list-item.js.map +1 -1
  442. package/dist/components/ix-event-list.js +34 -17
  443. package/dist/components/ix-event-list.js.map +1 -1
  444. package/dist/components/ix-expanding-search.js +16 -12
  445. package/dist/components/ix-expanding-search.js.map +1 -1
  446. package/dist/components/ix-flip-tile.js +11 -5
  447. package/dist/components/ix-flip-tile.js.map +1 -1
  448. package/dist/components/ix-group.js +50 -49
  449. package/dist/components/ix-group.js.map +1 -1
  450. package/dist/components/ix-input-group.js +1 -1
  451. package/dist/components/ix-input-group.js.map +1 -1
  452. package/dist/components/ix-link-button.d.ts +11 -0
  453. package/dist/components/ix-link-button.js +54 -0
  454. package/dist/components/ix-link-button.js.map +1 -0
  455. package/dist/components/ix-map-navigation.js +35 -17
  456. package/dist/components/ix-map-navigation.js.map +1 -1
  457. package/dist/components/ix-menu-about-item.js +3 -2
  458. package/dist/components/ix-menu-about-item.js.map +1 -1
  459. package/dist/components/ix-menu-about-news.js +27 -8
  460. package/dist/components/ix-menu-about-news.js.map +1 -1
  461. package/dist/components/ix-menu-about.js +18 -10
  462. package/dist/components/ix-menu-about.js.map +1 -1
  463. package/dist/components/ix-menu-avatar.js +11 -19
  464. package/dist/components/ix-menu-avatar.js.map +1 -1
  465. package/dist/components/ix-menu-category.d.ts +11 -0
  466. package/dist/components/ix-menu-category.js +196 -0
  467. package/dist/components/ix-menu-category.js.map +1 -0
  468. package/dist/components/ix-menu-settings-item.js +3 -2
  469. package/dist/components/ix-menu-settings-item.js.map +1 -1
  470. package/dist/components/ix-menu-settings.js +19 -11
  471. package/dist/components/ix-menu-settings.js.map +1 -1
  472. package/dist/components/ix-menu.js +238 -315
  473. package/dist/components/ix-menu.js.map +1 -1
  474. package/dist/components/ix-message-bar.js +10 -4
  475. package/dist/components/ix-message-bar.js.map +1 -1
  476. package/dist/components/ix-modal-content.d.ts +11 -0
  477. package/dist/components/ix-modal-content.js +35 -0
  478. package/dist/components/ix-modal-content.js.map +1 -0
  479. package/dist/components/ix-modal-example.js +10 -15
  480. package/dist/components/ix-modal-example.js.map +1 -1
  481. package/dist/components/{ix-counter-pill.d.ts → ix-modal-footer.d.ts} +4 -4
  482. package/dist/components/ix-modal-footer.js +35 -0
  483. package/dist/components/ix-modal-footer.js.map +1 -0
  484. package/dist/components/ix-modal-header.d.ts +11 -0
  485. package/dist/components/ix-modal-header.js +90 -0
  486. package/dist/components/ix-modal-header.js.map +1 -0
  487. package/dist/components/ix-modal-loading.d.ts +11 -0
  488. package/dist/components/ix-modal-loading.js +41 -0
  489. package/dist/components/ix-modal-loading.js.map +1 -0
  490. package/dist/components/ix-modal.js +148 -1
  491. package/dist/components/ix-modal.js.map +1 -1
  492. package/dist/components/ix-pagination.js +25 -19
  493. package/dist/components/ix-pagination.js.map +1 -1
  494. package/dist/components/ix-pill.js +29 -10
  495. package/dist/components/ix-pill.js.map +1 -1
  496. package/dist/components/ix-split-button-item.js +4 -3
  497. package/dist/components/ix-split-button-item.js.map +1 -1
  498. package/dist/components/ix-split-button.js +36 -14
  499. package/dist/components/ix-split-button.js.map +1 -1
  500. package/dist/components/ix-tile.js +22 -4
  501. package/dist/components/ix-tile.js.map +1 -1
  502. package/dist/components/ix-toast-container.js +12 -6
  503. package/dist/components/ix-toast-container.js.map +1 -1
  504. package/dist/components/ix-toggle.js +15 -34
  505. package/dist/components/ix-toggle.js.map +1 -1
  506. package/dist/components/ix-upload.js +28 -10
  507. package/dist/components/ix-upload.js.map +1 -1
  508. package/dist/components/ix-validation-tooltip.js +6 -18
  509. package/dist/components/ix-validation-tooltip.js.map +1 -1
  510. package/dist/components/ix-workflow-step.js +6 -5
  511. package/dist/components/ix-workflow-step.js.map +1 -1
  512. package/dist/components/ix-workflow-steps.js +13 -16
  513. package/dist/components/ix-workflow-steps.js.map +1 -1
  514. package/dist/components/map-navigation-overlay.js +10 -4
  515. package/dist/components/map-navigation-overlay.js.map +1 -1
  516. package/dist/components/menu-avatar-item.js +3 -2
  517. package/dist/components/menu-avatar-item.js.map +1 -1
  518. package/dist/components/menu-item.js +17 -3
  519. package/dist/components/menu-item.js.map +1 -1
  520. package/dist/components/menu-service.js +78 -0
  521. package/dist/components/menu-service.js.map +1 -0
  522. package/dist/components/modal.js +225 -165
  523. package/dist/components/modal.js.map +1 -1
  524. package/dist/components/my-component.js.map +1 -1
  525. package/dist/components/select-item.js +4 -2
  526. package/dist/components/select-item.js.map +1 -1
  527. package/dist/components/select.js +33 -17
  528. package/dist/components/select.js.map +1 -1
  529. package/dist/components/service.js +83 -81
  530. package/dist/components/service.js.map +1 -1
  531. package/dist/components/spinner.js +11 -3
  532. package/dist/components/spinner.js.map +1 -1
  533. package/dist/components/tab-item.js +3 -2
  534. package/dist/components/tab-item.js.map +1 -1
  535. package/dist/components/tabs.js +22 -7
  536. package/dist/components/tabs.js.map +1 -1
  537. package/dist/components/time-picker.js +19 -13
  538. package/dist/components/time-picker.js.map +1 -1
  539. package/dist/components/toast.js +17 -10
  540. package/dist/components/toast.js.map +1 -1
  541. package/dist/components/typography.js +3 -3
  542. package/dist/components/typography.js.map +1 -1
  543. package/dist/esm/a11y-aa83c2d1.js +79 -0
  544. package/dist/esm/a11y-aa83c2d1.js.map +1 -0
  545. package/dist/esm/base-button-5bfeb71c.js.map +1 -1
  546. package/dist/esm/context-381170ae.js +22 -0
  547. package/dist/esm/context-381170ae.js.map +1 -0
  548. package/dist/esm/{flip-tile-state-051bb2fd.js → flip-tile-state-db31345f.js} +6 -6
  549. package/dist/esm/{flip-tile-state-051bb2fd.js.map → flip-tile-state-db31345f.js.map} +1 -1
  550. package/dist/esm/{floating-ui.dom.esm-3130eda0.js → floating-ui.dom.esm-9b203a02.js} +2 -103
  551. package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +1 -0
  552. package/dist/esm/{icon-c659fc0f.js → icon-4ac90a6d.js} +2 -2
  553. package/dist/esm/{icon-c659fc0f.js.map → icon-4ac90a6d.js.map} +1 -1
  554. package/dist/esm/{index-8ddfb6d8.js → index-7334ee80.js} +77 -22
  555. package/dist/esm/index-7334ee80.js.map +1 -0
  556. package/dist/esm/index.js +40 -5
  557. package/dist/esm/index.js.map +1 -1
  558. package/dist/esm/ix-action-card.entry.js +1 -1
  559. package/dist/esm/ix-animated-tab_2.entry.js +1 -1
  560. package/dist/esm/ix-application-header.entry.js +20 -17
  561. package/dist/esm/ix-application-header.entry.js.map +1 -1
  562. package/dist/esm/ix-avatar.entry.js +35 -0
  563. package/dist/esm/ix-avatar.entry.js.map +1 -0
  564. package/dist/esm/ix-basic-navigation.entry.js +13 -15
  565. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  566. package/dist/esm/ix-blind.entry.js +2 -11
  567. package/dist/esm/ix-blind.entry.js.map +1 -1
  568. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  569. package/dist/esm/ix-burger-menu.entry.js +7 -3
  570. package/dist/esm/ix-burger-menu.entry.js.map +1 -1
  571. package/dist/esm/ix-button.entry.js +22 -4
  572. package/dist/esm/ix-button.entry.js.map +1 -1
  573. package/dist/esm/ix-card-accordion_2.entry.js +1 -1
  574. package/dist/esm/ix-card-list.entry.js +1 -1
  575. package/dist/esm/ix-card_2.entry.js +31 -0
  576. package/dist/esm/ix-card_2.entry.js.map +1 -0
  577. package/dist/esm/ix-category-filter.entry.js +2 -2
  578. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  579. package/dist/esm/ix-chip.entry.js +23 -15
  580. package/dist/esm/ix-chip.entry.js.map +1 -1
  581. package/dist/esm/ix-content-header.entry.js +3 -3
  582. package/dist/esm/ix-content-header.entry.js.map +1 -1
  583. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  584. package/dist/esm/ix-css-grid.entry.js +1 -1
  585. package/dist/esm/ix-date-picker_2.entry.js +8 -9
  586. package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
  587. package/dist/esm/ix-date-time-card.entry.js +2 -3
  588. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  589. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  590. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  591. package/dist/esm/ix-divider.entry.js +1 -1
  592. package/dist/esm/ix-drawer.entry.js +4 -1
  593. package/dist/esm/ix-drawer.entry.js.map +1 -1
  594. package/dist/esm/ix-dropdown-button.entry.js +7 -6
  595. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  596. package/dist/esm/ix-dropdown-header.entry.js +18 -0
  597. package/dist/esm/ix-dropdown-header.entry.js.map +1 -0
  598. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  599. package/dist/esm/ix-dropdown_2.entry.js +67 -33
  600. package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
  601. package/dist/esm/ix-empty-state.entry.js +1 -1
  602. package/dist/esm/ix-event-list_2.entry.js +44 -25
  603. package/dist/esm/ix-event-list_2.entry.js.map +1 -1
  604. package/dist/esm/ix-expanding-search.entry.js +5 -8
  605. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  606. package/dist/esm/ix-filter-chip.entry.js +3 -3
  607. package/dist/esm/ix-filter-chip.entry.js.map +1 -1
  608. package/dist/esm/ix-flip-tile_2.entry.js +3 -3
  609. package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
  610. package/dist/esm/ix-group-context-menu.entry.js +26 -14
  611. package/dist/esm/ix-group-context-menu.entry.js.map +1 -1
  612. package/dist/esm/ix-group_2.entry.js +154 -0
  613. package/dist/esm/ix-group_2.entry.js.map +1 -0
  614. package/dist/esm/ix-icon-button.entry.js +26 -5
  615. package/dist/esm/ix-icon-button.entry.js.map +1 -1
  616. package/dist/esm/ix-icon.entry.js +2 -2
  617. package/dist/esm/ix-index-button.entry.js +4 -4
  618. package/dist/esm/ix-index-button.entry.js.map +1 -1
  619. package/dist/esm/ix-input-group.entry.js +2 -2
  620. package/dist/esm/ix-input-group.entry.js.map +1 -1
  621. package/dist/esm/ix-key-value-list.entry.js +1 -1
  622. package/dist/esm/ix-key-value.entry.js +1 -1
  623. package/dist/esm/ix-kpi.entry.js +1 -1
  624. package/dist/esm/ix-link-button.entry.js +26 -0
  625. package/dist/esm/ix-link-button.entry.js.map +1 -0
  626. package/dist/esm/ix-map-navigation_2.entry.js +17 -7
  627. package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
  628. package/dist/esm/ix-menu-category.entry.js +134 -0
  629. package/dist/esm/ix-menu-category.entry.js.map +1 -0
  630. package/dist/esm/ix-menu_9.entry.js +251 -338
  631. package/dist/esm/ix-menu_9.entry.js.map +1 -1
  632. package/dist/esm/ix-message-bar.entry.js +1 -1
  633. package/dist/esm/ix-modal-content.entry.js +17 -0
  634. package/dist/esm/ix-modal-content.entry.js.map +1 -0
  635. package/dist/esm/ix-modal-example.entry.js +4 -2
  636. package/dist/esm/ix-modal-example.entry.js.map +1 -1
  637. package/dist/esm/ix-modal-footer.entry.js +17 -0
  638. package/dist/esm/ix-modal-footer.entry.js.map +1 -0
  639. package/dist/esm/ix-modal-header.entry.js +44 -0
  640. package/dist/esm/ix-modal-header.entry.js.map +1 -0
  641. package/dist/esm/ix-modal-loading.entry.js +17 -0
  642. package/dist/esm/ix-modal-loading.entry.js.map +1 -0
  643. package/dist/esm/ix-modal.entry.js +126 -0
  644. package/dist/esm/ix-modal.entry.js.map +1 -0
  645. package/dist/esm/ix-pagination.entry.js +4 -4
  646. package/dist/esm/ix-pagination.entry.js.map +1 -1
  647. package/dist/esm/ix-pill.entry.js +28 -10
  648. package/dist/esm/ix-pill.entry.js.map +1 -1
  649. package/dist/esm/ix-push-card.entry.js +1 -1
  650. package/dist/esm/ix-select_2.entry.js +20 -8
  651. package/dist/esm/ix-select_2.entry.js.map +1 -1
  652. package/dist/esm/ix-spinner.entry.js +10 -3
  653. package/dist/esm/ix-spinner.entry.js.map +1 -1
  654. package/dist/esm/ix-split-button_2.entry.js +15 -11
  655. package/dist/esm/ix-split-button_2.entry.js.map +1 -1
  656. package/dist/esm/ix-tab-item.entry.js +2 -2
  657. package/dist/esm/ix-tab-item.entry.js.map +1 -1
  658. package/dist/esm/ix-tabs.entry.js +14 -6
  659. package/dist/esm/ix-tabs.entry.js.map +1 -1
  660. package/dist/esm/ix-tile.entry.js +18 -3
  661. package/dist/esm/ix-tile.entry.js.map +1 -1
  662. package/dist/esm/ix-toast_2.entry.js +6 -7
  663. package/dist/esm/ix-toast_2.entry.js.map +1 -1
  664. package/dist/esm/ix-toggle.entry.js +11 -30
  665. package/dist/esm/ix-toggle.entry.js.map +1 -1
  666. package/dist/esm/ix-tooltip.entry.js +2 -2
  667. package/dist/esm/ix-tree_2.entry.js +1 -1
  668. package/dist/esm/ix-typography.entry.js +42 -0
  669. package/dist/esm/ix-typography.entry.js.map +1 -0
  670. package/dist/esm/ix-upload.entry.js +19 -7
  671. package/dist/esm/ix-upload.entry.js.map +1 -1
  672. package/dist/esm/ix-validation-tooltip.entry.js +6 -19
  673. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  674. package/dist/esm/ix-workflow-step_2.entry.js +14 -18
  675. package/dist/esm/ix-workflow-step_2.entry.js.map +1 -1
  676. package/dist/esm/loader.js +3 -3
  677. package/dist/esm/menu-service-b3076949.js +78 -0
  678. package/dist/esm/menu-service-b3076949.js.map +1 -0
  679. package/dist/esm/modal-68c6d3f6.js +245 -0
  680. package/dist/esm/modal-68c6d3f6.js.map +1 -0
  681. package/dist/esm/my-component.entry.js +1 -1
  682. package/dist/esm/my-component.entry.js.map +1 -1
  683. package/dist/esm/service-586129b5.js +143 -0
  684. package/dist/esm/service-586129b5.js.map +1 -0
  685. package/dist/esm/shadow-dom-6860b1c4.js +18 -0
  686. package/dist/esm/shadow-dom-6860b1c4.js.map +1 -0
  687. package/dist/esm/siemens-ix.js +3 -3
  688. package/dist/siemens-ix/index.esm.js +1 -1
  689. package/dist/siemens-ix/index.esm.js.map +1 -1
  690. package/dist/siemens-ix/{p-d848739e.entry.js → p-00f74fc9.entry.js} +2 -2
  691. package/dist/siemens-ix/p-01c37ebe.entry.js +2 -0
  692. package/dist/siemens-ix/p-01c37ebe.entry.js.map +1 -0
  693. package/dist/siemens-ix/{p-6acce5c9.entry.js → p-02f01e39.entry.js} +2 -2
  694. package/dist/siemens-ix/p-0574cf88.entry.js +2 -0
  695. package/dist/siemens-ix/p-0574cf88.entry.js.map +1 -0
  696. package/dist/siemens-ix/p-06603826.entry.js +2 -0
  697. package/dist/siemens-ix/p-06603826.entry.js.map +1 -0
  698. package/dist/siemens-ix/p-06fcaee3.entry.js +2 -0
  699. package/dist/siemens-ix/p-06fcaee3.entry.js.map +1 -0
  700. package/dist/siemens-ix/{p-07c932da.entry.js → p-07a0b330.entry.js} +2 -2
  701. package/dist/siemens-ix/{p-3f4a9e1f.entry.js → p-09ce5f12.entry.js} +2 -2
  702. package/dist/siemens-ix/p-0b71cde4.js +2 -0
  703. package/dist/siemens-ix/p-0b71cde4.js.map +1 -0
  704. package/dist/siemens-ix/{p-f74c7692.entry.js → p-0c9ead45.entry.js} +2 -2
  705. package/dist/siemens-ix/{p-f74c7692.entry.js.map → p-0c9ead45.entry.js.map} +1 -1
  706. package/dist/siemens-ix/p-0dea55bf.entry.js +2 -0
  707. package/dist/siemens-ix/p-0dea55bf.entry.js.map +1 -0
  708. package/dist/siemens-ix/p-0e86b47b.entry.js +2 -0
  709. package/dist/siemens-ix/p-0e86b47b.entry.js.map +1 -0
  710. package/dist/siemens-ix/{p-13bda5ea.entry.js → p-0fab8cae.entry.js} +2 -2
  711. package/dist/siemens-ix/p-157f7ec0.entry.js +2 -0
  712. package/dist/siemens-ix/p-157f7ec0.entry.js.map +1 -0
  713. package/dist/siemens-ix/p-15996fa7.entry.js +2 -0
  714. package/dist/siemens-ix/p-15996fa7.entry.js.map +1 -0
  715. package/dist/siemens-ix/p-1b1bc523.entry.js +2 -0
  716. package/dist/siemens-ix/p-1b1bc523.entry.js.map +1 -0
  717. package/dist/siemens-ix/p-1b227e9a.js +2 -0
  718. package/dist/siemens-ix/{p-15bebd8a.js.map → p-1b227e9a.js.map} +1 -1
  719. package/dist/siemens-ix/{p-003e9355.entry.js → p-20aa7350.entry.js} +2 -2
  720. package/dist/siemens-ix/p-2ea3d53a.entry.js +2 -0
  721. package/dist/siemens-ix/p-2ea3d53a.entry.js.map +1 -0
  722. package/dist/siemens-ix/p-303b8c2f.entry.js +2 -0
  723. package/dist/siemens-ix/p-303b8c2f.entry.js.map +1 -0
  724. package/dist/siemens-ix/{p-f6ae45fb.entry.js → p-33670e98.entry.js} +2 -2
  725. package/dist/siemens-ix/p-34633470.entry.js +2 -0
  726. package/dist/siemens-ix/p-34633470.entry.js.map +1 -0
  727. package/dist/siemens-ix/{p-3ec2368b.entry.js → p-34807901.entry.js} +2 -2
  728. package/dist/siemens-ix/{p-3ec2368b.entry.js.map → p-34807901.entry.js.map} +1 -1
  729. package/dist/siemens-ix/p-38e69215.entry.js +2 -0
  730. package/dist/siemens-ix/p-38e69215.entry.js.map +1 -0
  731. package/dist/siemens-ix/p-3a99b0c8.entry.js +2 -0
  732. package/dist/siemens-ix/p-3a99b0c8.entry.js.map +1 -0
  733. package/dist/siemens-ix/p-45738e84.js +2 -0
  734. package/dist/siemens-ix/p-45738e84.js.map +1 -0
  735. package/dist/siemens-ix/{p-a89a1fa5.entry.js → p-4d194d55.entry.js} +2 -2
  736. package/dist/siemens-ix/{p-652ba2c1.entry.js → p-56a27b34.entry.js} +2 -2
  737. package/dist/siemens-ix/{p-652ba2c1.entry.js.map → p-56a27b34.entry.js.map} +1 -1
  738. package/dist/siemens-ix/p-5b39e04e.js.map +1 -1
  739. package/dist/siemens-ix/p-5fedb19b.entry.js +2 -0
  740. package/dist/siemens-ix/p-5fedb19b.entry.js.map +1 -0
  741. package/dist/siemens-ix/p-627148db.entry.js +2 -0
  742. package/dist/siemens-ix/p-627148db.entry.js.map +1 -0
  743. package/dist/siemens-ix/p-62f4db99.entry.js +2 -0
  744. package/dist/siemens-ix/p-62f4db99.entry.js.map +1 -0
  745. package/dist/siemens-ix/{p-626fbee2.entry.js → p-63b82e40.entry.js} +2 -2
  746. package/dist/siemens-ix/{p-626fbee2.entry.js.map → p-63b82e40.entry.js.map} +1 -1
  747. package/dist/siemens-ix/p-68c44614.entry.js +2 -0
  748. package/dist/siemens-ix/p-68c44614.entry.js.map +1 -0
  749. package/dist/siemens-ix/p-7021c2d1.entry.js +2 -0
  750. package/dist/siemens-ix/p-7021c2d1.entry.js.map +1 -0
  751. package/dist/siemens-ix/{p-d2225fc2.entry.js → p-709d38fe.entry.js} +2 -2
  752. package/dist/siemens-ix/p-785726e8.entry.js +2 -0
  753. package/dist/siemens-ix/p-785726e8.entry.js.map +1 -0
  754. package/dist/siemens-ix/p-7d2aec76.entry.js +2 -0
  755. package/dist/siemens-ix/{p-f207e578.entry.js.map → p-7d2aec76.entry.js.map} +1 -1
  756. package/dist/siemens-ix/{p-1331a920.entry.js → p-81333042.entry.js} +2 -2
  757. package/dist/siemens-ix/p-8c14a4a3.entry.js +2 -0
  758. package/dist/siemens-ix/p-8c14a4a3.entry.js.map +1 -0
  759. package/dist/siemens-ix/p-8ce73af1.entry.js +2 -0
  760. package/dist/siemens-ix/p-8ce73af1.entry.js.map +1 -0
  761. package/dist/siemens-ix/{p-85f01dba.entry.js → p-904aa275.entry.js} +2 -2
  762. package/dist/siemens-ix/{p-cd3cfc78.entry.js → p-918450cd.entry.js} +2 -2
  763. package/dist/siemens-ix/p-9547706d.entry.js +2 -0
  764. package/dist/siemens-ix/p-9547706d.entry.js.map +1 -0
  765. package/dist/siemens-ix/p-9903e755.entry.js +2 -0
  766. package/dist/siemens-ix/p-9903e755.entry.js.map +1 -0
  767. package/dist/siemens-ix/p-9c030990.js +2 -0
  768. package/dist/siemens-ix/p-9c030990.js.map +1 -0
  769. package/dist/siemens-ix/p-9d264ca8.entry.js +2 -0
  770. package/dist/siemens-ix/p-9d264ca8.entry.js.map +1 -0
  771. package/dist/siemens-ix/p-a64d88de.entry.js +2 -0
  772. package/dist/siemens-ix/p-a64d88de.entry.js.map +1 -0
  773. package/dist/siemens-ix/p-a8e8a942.entry.js +2 -0
  774. package/dist/siemens-ix/p-a8e8a942.entry.js.map +1 -0
  775. package/dist/siemens-ix/p-a9619a92.entry.js +2 -0
  776. package/dist/siemens-ix/p-a9619a92.entry.js.map +1 -0
  777. package/dist/siemens-ix/{p-a7212f01.entry.js → p-b21bc31c.entry.js} +2 -2
  778. package/dist/siemens-ix/p-b6d52b6f.entry.js +2 -0
  779. package/dist/siemens-ix/p-b6d52b6f.entry.js.map +1 -0
  780. package/dist/siemens-ix/{p-6c033b08.entry.js → p-b89172b4.entry.js} +2 -2
  781. package/dist/siemens-ix/p-b899b25b.js +3 -0
  782. package/dist/siemens-ix/p-b899b25b.js.map +1 -0
  783. package/dist/siemens-ix/p-bf019e35.entry.js +2 -0
  784. package/dist/siemens-ix/p-bf019e35.entry.js.map +1 -0
  785. package/dist/siemens-ix/p-c0345859.entry.js +2 -0
  786. package/dist/siemens-ix/p-c0345859.entry.js.map +1 -0
  787. package/dist/siemens-ix/{p-55b54a81.entry.js → p-c4ea8815.entry.js} +2 -2
  788. package/dist/siemens-ix/p-c4ea8815.entry.js.map +1 -0
  789. package/dist/siemens-ix/p-c84a43ef.entry.js +2 -0
  790. package/dist/siemens-ix/p-c84a43ef.entry.js.map +1 -0
  791. package/dist/siemens-ix/p-d0a8aa6f.entry.js +2 -0
  792. package/dist/siemens-ix/p-d43bf856.js +2 -0
  793. package/dist/siemens-ix/p-d43bf856.js.map +1 -0
  794. package/dist/siemens-ix/{p-b60bd26c.entry.js → p-d48d74af.entry.js} +2 -2
  795. package/dist/siemens-ix/{p-b60bd26c.entry.js.map → p-d48d74af.entry.js.map} +1 -1
  796. package/dist/siemens-ix/p-d737ad96.js +2 -0
  797. package/dist/siemens-ix/p-d737ad96.js.map +1 -0
  798. package/dist/siemens-ix/p-d7e8417d.entry.js +2 -0
  799. package/dist/siemens-ix/p-d7e8417d.entry.js.map +1 -0
  800. package/dist/siemens-ix/p-d81d0f62.entry.js +2 -0
  801. package/dist/siemens-ix/p-d81d0f62.entry.js.map +1 -0
  802. package/dist/siemens-ix/p-d991a3d6.entry.js +2 -0
  803. package/dist/siemens-ix/p-d991a3d6.entry.js.map +1 -0
  804. package/dist/siemens-ix/{p-b1db27a3.js → p-db74796e.js} +2 -2
  805. package/dist/siemens-ix/p-dbca4dd5.entry.js +2 -0
  806. package/dist/siemens-ix/p-dbca4dd5.entry.js.map +1 -0
  807. package/dist/siemens-ix/p-e1c92dcb.entry.js +2 -0
  808. package/dist/siemens-ix/p-e1c92dcb.entry.js.map +1 -0
  809. package/dist/siemens-ix/p-e275814e.js +2 -0
  810. package/dist/siemens-ix/p-e275814e.js.map +1 -0
  811. package/dist/siemens-ix/p-e3db25ef.entry.js +2 -0
  812. package/dist/siemens-ix/p-e3db25ef.entry.js.map +1 -0
  813. package/dist/siemens-ix/p-e8f2e141.entry.js +2 -0
  814. package/dist/siemens-ix/p-e8f2e141.entry.js.map +1 -0
  815. package/dist/siemens-ix/p-eca0b89c.entry.js +2 -0
  816. package/dist/siemens-ix/p-eca0b89c.entry.js.map +1 -0
  817. package/dist/siemens-ix/p-ef73f7e3.entry.js +2 -0
  818. package/dist/siemens-ix/p-ef73f7e3.entry.js.map +1 -0
  819. package/dist/siemens-ix/{p-bd24f35f.entry.js → p-f0219d7a.entry.js} +2 -2
  820. package/dist/siemens-ix/p-f22423c2.js +2 -0
  821. package/dist/siemens-ix/p-f22423c2.js.map +1 -0
  822. package/dist/siemens-ix/{p-1e8ee4af.entry.js → p-f38e7420.entry.js} +2 -2
  823. package/dist/siemens-ix/p-f4d634f5.entry.js +2 -0
  824. package/dist/siemens-ix/p-f4d634f5.entry.js.map +1 -0
  825. package/dist/siemens-ix/{p-94ab7c1c.entry.js → p-fafe1aeb.entry.js} +2 -2
  826. package/dist/siemens-ix/{p-94ab7c1c.entry.js.map → p-fafe1aeb.entry.js.map} +1 -1
  827. package/dist/siemens-ix/p-fe073f2a.entry.js +2 -0
  828. package/dist/siemens-ix/p-fe073f2a.entry.js.map +1 -0
  829. package/dist/siemens-ix/{p-6124d173.entry.js → p-ff17104c.entry.js} +2 -2
  830. package/dist/siemens-ix/siemens-ix-core.css +12289 -0
  831. package/dist/siemens-ix/siemens-ix.css +941 -875
  832. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  833. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  834. package/dist/siemens-ix/theme/classic-dark.css +1062 -0
  835. package/dist/siemens-ix/theme/classic-light.css +1062 -0
  836. package/dist/siemens-ix/theme/legacy-classic-dark.css +1061 -0
  837. package/dist/siemens-ix/theme/legacy-classic-light.css +1061 -0
  838. package/dist/types/components/application-header/application-header.d.ts +5 -1
  839. package/dist/types/components/avatar/avatar.d.ts +17 -0
  840. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -3
  841. package/dist/types/components/button/base-button.d.ts +2 -1
  842. package/dist/types/components/button/button.d.ts +18 -1
  843. package/dist/types/components/button/test/button.ct.d.ts +1 -0
  844. package/dist/types/components/content-header/content-header.d.ts +1 -1
  845. package/dist/types/components/date-time-card/date-time-card.d.ts +0 -1
  846. package/dist/types/components/drawer/drawer.d.ts +1 -0
  847. package/dist/types/components/drawer/test/drawer.ct.d.ts +1 -0
  848. package/dist/types/components/dropdown/dropdown.d.ts +10 -13
  849. package/dist/types/components/dropdown/placement.d.ts +3 -4
  850. package/dist/types/components/dropdown-button/dropdown-button.d.ts +3 -1
  851. package/dist/types/components/dropdown-header/dropdown-header.d.ts +10 -0
  852. package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -0
  853. package/dist/types/components/event-list/event-list.d.ts +3 -1
  854. package/dist/types/components/event-list-item/event-list-item.d.ts +4 -2
  855. package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +1 -0
  856. package/dist/types/components/flip-tile/flip-tile-state.d.ts +5 -5
  857. package/dist/types/components/group/group-context-menu.d.ts +3 -4
  858. package/dist/types/components/group/group.d.ts +7 -8
  859. package/dist/types/components/icon-button/icon-button.d.ts +16 -1
  860. package/dist/types/components/icon-button/test/icon-button.ct.d.ts +1 -0
  861. package/dist/types/components/link-button/link-button.d.ts +20 -0
  862. package/dist/types/components/map-navigation/map-navigation.d.ts +3 -1
  863. package/dist/types/components/menu/burger-menu.d.ts +9 -1
  864. package/dist/types/components/menu/menu.d.ts +45 -34
  865. package/dist/types/components/menu/test/menu.ct.d.ts +1 -0
  866. package/dist/types/components/menu-about/menu-about.d.ts +4 -1
  867. package/dist/types/components/menu-category/menu-category.d.ts +37 -0
  868. package/dist/types/components/menu-category/test/menu-category.ct.d.ts +1 -0
  869. package/dist/types/components/menu-item/menu-item.d.ts +9 -2
  870. package/dist/types/components/menu-settings/menu-settings.d.ts +4 -1
  871. package/dist/types/components/modal/modal.d.ts +35 -66
  872. package/dist/types/components/modal-content/modal-content.d.ts +6 -0
  873. package/dist/types/components/modal-footer/modal-footer.d.ts +6 -0
  874. package/dist/types/components/modal-header/modal-header.d.ts +28 -0
  875. package/dist/types/components/modal-loading/modal-loading.d.ts +6 -0
  876. package/dist/types/components/select/select.d.ts +9 -1
  877. package/dist/types/components/select/test/select.ct.d.ts +1 -0
  878. package/dist/types/components/spinner/spinner.d.ts +7 -2
  879. package/dist/types/components/split-button/split-button.d.ts +3 -9
  880. package/dist/types/components/tile/tile.d.ts +5 -0
  881. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  882. package/dist/types/components/toast/toast-container.d.ts +0 -1
  883. package/dist/types/components/toast/toast.d.ts +1 -1
  884. package/dist/types/components/toggle/test/toggle.ct.d.ts +1 -0
  885. package/dist/types/components/toggle/toggle.d.ts +3 -10
  886. package/dist/types/components/utils/a11y.d.ts +7 -0
  887. package/dist/types/components/utils/delegate.d.ts +15 -0
  888. package/dist/types/components/utils/menu-service/menu-service.d.ts +3 -0
  889. package/dist/types/components/utils/modal/index.d.ts +3 -0
  890. package/dist/types/components/utils/modal/loading.d.ts +4 -0
  891. package/dist/types/components/utils/modal/message.d.ts +41 -0
  892. package/dist/types/components/utils/modal/modal.d.ts +25 -0
  893. package/dist/types/components/utils/screen/context.d.ts +1 -0
  894. package/dist/types/components/utils/screen/mode.d.ts +5 -2
  895. package/dist/types/components/utils/screen/service.d.ts +5 -0
  896. package/dist/types/components/utils/shadow-dom.d.ts +3 -0
  897. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +8 -2
  898. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -1
  899. package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -1
  900. package/dist/types/components.d.ts +466 -265
  901. package/dist/types/index.d.ts +2 -1
  902. package/package.json +7 -6
  903. package/scss/components/_buttons.scss +4 -0
  904. package/scss/components/_dropdown.scss +1 -0
  905. package/scss/components/_forms.scss +1 -0
  906. package/scss/components/_links.scss +24 -0
  907. package/scss/ix-core.scss +84 -0
  908. package/scss/mixins/_hover.scss +32 -0
  909. package/{dist/collection/components/group-dropdown-item/group-dropdown-item.css → scss/mixins/shadow-dom/_host-disabled.scss} +6 -3
  910. package/scss/mixins/shadow-dom/_hover.scss +26 -0
  911. package/scss/theme/classic-dark/_borderRadius.scss +5 -5
  912. package/scss/theme/classic-dark/_borderWidth.scss +5 -5
  913. package/scss/theme/classic-dark/_boxShadow.scss +7 -7
  914. package/scss/theme/classic-dark/_color.scss +423 -418
  915. package/scss/theme/classic-dark/_other.scss +4 -4
  916. package/scss/theme/classic-dark/_sizing.scss +1 -1
  917. package/scss/theme/classic-light/_borderRadius.scss +4 -4
  918. package/scss/theme/classic-light/_borderWidth.scss +5 -5
  919. package/scss/theme/classic-light/_boxShadow.scss +7 -7
  920. package/scss/theme/classic-light/_color.scss +420 -415
  921. package/scss/theme/classic-light/_other.scss +4 -4
  922. package/scss/theme/classic-light/_sizing.scss +1 -1
  923. package/scss/theme/legacy-classic-dark/_border.scss +35 -0
  924. package/scss/theme/legacy-classic-dark/_borderRadius.scss +24 -0
  925. package/scss/theme/legacy-classic-dark/_borderWidth.scss +18 -0
  926. package/scss/theme/legacy-classic-dark/_boxShadow.scss +19 -0
  927. package/scss/theme/legacy-classic-dark/_color.scss +864 -0
  928. package/scss/theme/legacy-classic-dark/_fontFamilies.scss +8 -0
  929. package/scss/theme/legacy-classic-dark/_fontSizes.scss +13 -0
  930. package/scss/theme/legacy-classic-dark/_fontWeights.scss +9 -0
  931. package/scss/theme/legacy-classic-dark/_index.scss +16 -0
  932. package/scss/theme/legacy-classic-dark/_lineHeights.scss +18 -0
  933. package/scss/theme/legacy-classic-dark/_other.scss +16 -0
  934. package/scss/theme/legacy-classic-dark/_sizing.scss +16 -0
  935. package/scss/theme/legacy-classic-dark/_spacing.scss +9 -0
  936. package/scss/theme/legacy-classic-dark/_typography.scss +23 -0
  937. package/scss/theme/legacy-classic-light/_border.scss +35 -0
  938. package/scss/theme/legacy-classic-light/_borderRadius.scss +24 -0
  939. package/scss/theme/legacy-classic-light/_borderWidth.scss +18 -0
  940. package/scss/theme/legacy-classic-light/_boxShadow.scss +19 -0
  941. package/scss/theme/legacy-classic-light/_color.scss +864 -0
  942. package/scss/theme/legacy-classic-light/_fontFamilies.scss +8 -0
  943. package/scss/theme/legacy-classic-light/_fontSizes.scss +13 -0
  944. package/scss/theme/legacy-classic-light/_fontWeights.scss +9 -0
  945. package/scss/theme/legacy-classic-light/_index.scss +16 -0
  946. package/scss/theme/legacy-classic-light/_lineHeights.scss +18 -0
  947. package/scss/theme/legacy-classic-light/_other.scss +16 -0
  948. package/scss/theme/legacy-classic-light/_sizing.scss +16 -0
  949. package/scss/theme/legacy-classic-light/_spacing.scss +9 -0
  950. package/scss/theme/legacy-classic-light/_typography.scss +23 -0
  951. package/dist/cjs/context-a0900b95.js +0 -77
  952. package/dist/cjs/context-a0900b95.js.map +0 -1
  953. package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +0 -1
  954. package/dist/cjs/index-c978628a.js.map +0 -1
  955. package/dist/cjs/ix-card_3.cjs.entry.js +0 -74
  956. package/dist/cjs/ix-card_3.cjs.entry.js.map +0 -1
  957. package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -35
  958. package/dist/cjs/ix-counter-pill.cjs.entry.js.map +0 -1
  959. package/dist/cjs/ix-group_3.cjs.entry.js +0 -181
  960. package/dist/cjs/ix-group_3.cjs.entry.js.map +0 -1
  961. package/dist/cjs/ix-modal_2.cjs.entry.js +0 -227
  962. package/dist/cjs/ix-modal_2.cjs.entry.js.map +0 -1
  963. package/dist/cjs/modal-utils-b645989b.js +0 -44
  964. package/dist/cjs/modal-utils-b645989b.js.map +0 -1
  965. package/dist/cjs/service-18dc5907.js +0 -75
  966. package/dist/cjs/service-18dc5907.js.map +0 -1
  967. package/dist/collection/components/counter-pill/counter-pill.css +0 -323
  968. package/dist/collection/components/counter-pill/counter-pill.js +0 -135
  969. package/dist/collection/components/counter-pill/counter-pill.js.map +0 -1
  970. package/dist/collection/components/dropdown/alignment.js +0 -10
  971. package/dist/collection/components/dropdown/alignment.js.map +0 -1
  972. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +0 -1
  973. package/dist/collection/components/modal/modal-utils.js +0 -37
  974. package/dist/collection/components/modal/modal-utils.js.map +0 -1
  975. package/dist/collection/components/modal-container/modal-container.js +0 -126
  976. package/dist/collection/components/modal-container/modal-container.js.map +0 -1
  977. package/dist/components/ix-counter-pill.js +0 -54
  978. package/dist/components/ix-counter-pill.js.map +0 -1
  979. package/dist/components/ix-group-dropdown-item.js +0 -51
  980. package/dist/components/ix-group-dropdown-item.js.map +0 -1
  981. package/dist/components/ix-modal-container.js +0 -8
  982. package/dist/components/ix-modal-container.js.map +0 -1
  983. package/dist/components/modal-container.js +0 -109
  984. package/dist/components/modal-container.js.map +0 -1
  985. package/dist/components/modal-utils.js +0 -40
  986. package/dist/components/modal-utils.js.map +0 -1
  987. package/dist/esm/context-f6a2b727.js +0 -73
  988. package/dist/esm/context-f6a2b727.js.map +0 -1
  989. package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +0 -1
  990. package/dist/esm/index-8ddfb6d8.js.map +0 -1
  991. package/dist/esm/ix-card_3.entry.js +0 -68
  992. package/dist/esm/ix-card_3.entry.js.map +0 -1
  993. package/dist/esm/ix-counter-pill.entry.js +0 -31
  994. package/dist/esm/ix-counter-pill.entry.js.map +0 -1
  995. package/dist/esm/ix-group_3.entry.js +0 -175
  996. package/dist/esm/ix-group_3.entry.js.map +0 -1
  997. package/dist/esm/ix-modal_2.entry.js +0 -222
  998. package/dist/esm/ix-modal_2.entry.js.map +0 -1
  999. package/dist/esm/modal-utils-aecbcba5.js +0 -40
  1000. package/dist/esm/modal-utils-aecbcba5.js.map +0 -1
  1001. package/dist/esm/service-fc436c5b.js +0 -73
  1002. package/dist/esm/service-fc436c5b.js.map +0 -1
  1003. package/dist/siemens-ix/p-1572aab3.js +0 -2
  1004. package/dist/siemens-ix/p-1572aab3.js.map +0 -1
  1005. package/dist/siemens-ix/p-15bebd8a.js +0 -2
  1006. package/dist/siemens-ix/p-1c64b073.js +0 -3
  1007. package/dist/siemens-ix/p-1c64b073.js.map +0 -1
  1008. package/dist/siemens-ix/p-3172249b.entry.js +0 -2
  1009. package/dist/siemens-ix/p-3172249b.entry.js.map +0 -1
  1010. package/dist/siemens-ix/p-3ddf017b.entry.js +0 -2
  1011. package/dist/siemens-ix/p-40982e21.entry.js +0 -2
  1012. package/dist/siemens-ix/p-40982e21.entry.js.map +0 -1
  1013. package/dist/siemens-ix/p-4597dd77.entry.js +0 -2
  1014. package/dist/siemens-ix/p-4597dd77.entry.js.map +0 -1
  1015. package/dist/siemens-ix/p-46ced516.entry.js +0 -2
  1016. package/dist/siemens-ix/p-46ced516.entry.js.map +0 -1
  1017. package/dist/siemens-ix/p-47422d47.entry.js +0 -2
  1018. package/dist/siemens-ix/p-47422d47.entry.js.map +0 -1
  1019. package/dist/siemens-ix/p-4851ea38.entry.js +0 -2
  1020. package/dist/siemens-ix/p-4851ea38.entry.js.map +0 -1
  1021. package/dist/siemens-ix/p-4e851aa3.entry.js +0 -2
  1022. package/dist/siemens-ix/p-4e851aa3.entry.js.map +0 -1
  1023. package/dist/siemens-ix/p-51c81a20.entry.js +0 -2
  1024. package/dist/siemens-ix/p-51c81a20.entry.js.map +0 -1
  1025. package/dist/siemens-ix/p-529d7530.js +0 -2
  1026. package/dist/siemens-ix/p-529d7530.js.map +0 -1
  1027. package/dist/siemens-ix/p-55b54a81.entry.js.map +0 -1
  1028. package/dist/siemens-ix/p-67be3720.entry.js +0 -2
  1029. package/dist/siemens-ix/p-67be3720.entry.js.map +0 -1
  1030. package/dist/siemens-ix/p-821ca55e.entry.js +0 -2
  1031. package/dist/siemens-ix/p-821ca55e.entry.js.map +0 -1
  1032. package/dist/siemens-ix/p-8719eeff.entry.js +0 -2
  1033. package/dist/siemens-ix/p-8719eeff.entry.js.map +0 -1
  1034. package/dist/siemens-ix/p-9a82921b.entry.js +0 -2
  1035. package/dist/siemens-ix/p-9a82921b.entry.js.map +0 -1
  1036. package/dist/siemens-ix/p-a08e1bbc.entry.js +0 -2
  1037. package/dist/siemens-ix/p-a08e1bbc.entry.js.map +0 -1
  1038. package/dist/siemens-ix/p-a422c64a.entry.js +0 -2
  1039. package/dist/siemens-ix/p-a422c64a.entry.js.map +0 -1
  1040. package/dist/siemens-ix/p-a73580a5.entry.js +0 -2
  1041. package/dist/siemens-ix/p-a73580a5.entry.js.map +0 -1
  1042. package/dist/siemens-ix/p-b14308ed.js +0 -2
  1043. package/dist/siemens-ix/p-b14308ed.js.map +0 -1
  1044. package/dist/siemens-ix/p-b5c40bb3.entry.js +0 -2
  1045. package/dist/siemens-ix/p-b5c40bb3.entry.js.map +0 -1
  1046. package/dist/siemens-ix/p-c5124f7b.entry.js +0 -2
  1047. package/dist/siemens-ix/p-c5124f7b.entry.js.map +0 -1
  1048. package/dist/siemens-ix/p-c7109071.entry.js +0 -2
  1049. package/dist/siemens-ix/p-c7109071.entry.js.map +0 -1
  1050. package/dist/siemens-ix/p-c724bb65.entry.js +0 -2
  1051. package/dist/siemens-ix/p-c724bb65.entry.js.map +0 -1
  1052. package/dist/siemens-ix/p-ca4d28fb.entry.js +0 -2
  1053. package/dist/siemens-ix/p-ca4d28fb.entry.js.map +0 -1
  1054. package/dist/siemens-ix/p-cd4e3593.entry.js +0 -2
  1055. package/dist/siemens-ix/p-cd4e3593.entry.js.map +0 -1
  1056. package/dist/siemens-ix/p-cd75b455.entry.js +0 -2
  1057. package/dist/siemens-ix/p-cd75b455.entry.js.map +0 -1
  1058. package/dist/siemens-ix/p-cf2717c1.entry.js +0 -2
  1059. package/dist/siemens-ix/p-cf2717c1.entry.js.map +0 -1
  1060. package/dist/siemens-ix/p-d5302336.entry.js +0 -2
  1061. package/dist/siemens-ix/p-d5302336.entry.js.map +0 -1
  1062. package/dist/siemens-ix/p-d784a04b.entry.js +0 -2
  1063. package/dist/siemens-ix/p-d784a04b.entry.js.map +0 -1
  1064. package/dist/siemens-ix/p-d7e23a1f.entry.js +0 -2
  1065. package/dist/siemens-ix/p-d7e23a1f.entry.js.map +0 -1
  1066. package/dist/siemens-ix/p-dbcec49e.entry.js +0 -2
  1067. package/dist/siemens-ix/p-dbcec49e.entry.js.map +0 -1
  1068. package/dist/siemens-ix/p-dc98d3f4.entry.js +0 -2
  1069. package/dist/siemens-ix/p-dc98d3f4.entry.js.map +0 -1
  1070. package/dist/siemens-ix/p-df138b2a.entry.js +0 -2
  1071. package/dist/siemens-ix/p-df138b2a.entry.js.map +0 -1
  1072. package/dist/siemens-ix/p-ea55afa3.entry.js +0 -2
  1073. package/dist/siemens-ix/p-ea55afa3.entry.js.map +0 -1
  1074. package/dist/siemens-ix/p-eccc2475.entry.js +0 -2
  1075. package/dist/siemens-ix/p-eccc2475.entry.js.map +0 -1
  1076. package/dist/siemens-ix/p-ecd1145b.entry.js +0 -2
  1077. package/dist/siemens-ix/p-ecd1145b.entry.js.map +0 -1
  1078. package/dist/siemens-ix/p-f207e578.entry.js +0 -2
  1079. package/dist/siemens-ix/p-f34a16c6.js +0 -2
  1080. package/dist/siemens-ix/p-f34a16c6.js.map +0 -1
  1081. package/dist/siemens-ix/p-f48b706b.entry.js +0 -2
  1082. package/dist/siemens-ix/p-f48b706b.entry.js.map +0 -1
  1083. package/dist/siemens-ix/p-f50697b9.entry.js +0 -2
  1084. package/dist/siemens-ix/p-f50697b9.entry.js.map +0 -1
  1085. package/dist/siemens-ix/p-feb8c2c4.entry.js +0 -2
  1086. package/dist/siemens-ix/p-feb8c2c4.entry.js.map +0 -1
  1087. package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
  1088. package/dist/types/components/dropdown/alignment.d.ts +0 -2
  1089. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
  1090. package/dist/types/components/modal/modal-utils.d.ts +0 -29
  1091. package/dist/types/components/modal-container/modal-container.d.ts +0 -12
  1092. /package/dist/siemens-ix/{p-d848739e.entry.js.map → p-00f74fc9.entry.js.map} +0 -0
  1093. /package/dist/siemens-ix/{p-6acce5c9.entry.js.map → p-02f01e39.entry.js.map} +0 -0
  1094. /package/dist/siemens-ix/{p-07c932da.entry.js.map → p-07a0b330.entry.js.map} +0 -0
  1095. /package/dist/siemens-ix/{p-3f4a9e1f.entry.js.map → p-09ce5f12.entry.js.map} +0 -0
  1096. /package/dist/siemens-ix/{p-13bda5ea.entry.js.map → p-0fab8cae.entry.js.map} +0 -0
  1097. /package/dist/siemens-ix/{p-003e9355.entry.js.map → p-20aa7350.entry.js.map} +0 -0
  1098. /package/dist/siemens-ix/{p-f6ae45fb.entry.js.map → p-33670e98.entry.js.map} +0 -0
  1099. /package/dist/siemens-ix/{p-a89a1fa5.entry.js.map → p-4d194d55.entry.js.map} +0 -0
  1100. /package/dist/siemens-ix/{p-d2225fc2.entry.js.map → p-709d38fe.entry.js.map} +0 -0
  1101. /package/dist/siemens-ix/{p-1331a920.entry.js.map → p-81333042.entry.js.map} +0 -0
  1102. /package/dist/siemens-ix/{p-85f01dba.entry.js.map → p-904aa275.entry.js.map} +0 -0
  1103. /package/dist/siemens-ix/{p-cd3cfc78.entry.js.map → p-918450cd.entry.js.map} +0 -0
  1104. /package/dist/siemens-ix/{p-a7212f01.entry.js.map → p-b21bc31c.entry.js.map} +0 -0
  1105. /package/dist/siemens-ix/{p-6c033b08.entry.js.map → p-b89172b4.entry.js.map} +0 -0
  1106. /package/dist/siemens-ix/{p-3ddf017b.entry.js.map → p-d0a8aa6f.entry.js.map} +0 -0
  1107. /package/dist/siemens-ix/{p-b1db27a3.js.map → p-db74796e.js.map} +0 -0
  1108. /package/dist/siemens-ix/{p-bd24f35f.entry.js.map → p-f0219d7a.entry.js.map} +0 -0
  1109. /package/dist/siemens-ix/{p-1e8ee4af.entry.js.map → p-f38e7420.entry.js.map} +0 -0
  1110. /package/dist/siemens-ix/{p-6124d173.entry.js.map → p-ff17104c.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as r,F as n,H as i,g as s}from"./p-1c64b073.js";import{c as u}from"./p-37417714.js";var a=u((function(e,t){Object.defineProperty(t,"__esModule",{value:true});function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,k(n.key),n)}}function n(e,t,n){if(t)r(e.prototype,t);if(n)r(e,n);Object.defineProperty(e,"prototype",{writable:false});return e}function i(){i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){if(Object.prototype.hasOwnProperty.call(r,n)){e[n]=r[n]}}}return e};return i.apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;a(e,t)}function u(e){u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function e(t){return t.__proto__||Object.getPrototypeOf(t)};return u(e)}function a(e,t){a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,r){t.__proto__=r;return t};return a(e,t)}function o(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(e){return false}}function c(e,t,r){if(o()){c=Reflect.construct.bind()}else{c=function e(t,r,n){var i=[null];i.push.apply(i,r);var s=Function.bind.apply(t,i);var u=new s;if(n)a(u,n.prototype);return u}}return c.apply(null,arguments)}function h(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function f(e){var t=typeof Map==="function"?new Map:undefined;f=function e(r){if(r===null||!h(r))return r;if(typeof r!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return c(r,arguments,u(this).constructor)}n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:false,writable:true,configurable:true}});return a(n,r)};return f(e)}function l(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,s;for(s=0;s<n.length;s++){i=n[s];if(t.indexOf(i)>=0)continue;r[i]=e[i]}return r}function d(e,t){if(!e)return;if(typeof e==="string")return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}function v(e,t){if(t==null||t>e.length)t=e.length;for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){var r=typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=d(e))||t&&e&&typeof e.length==="number"){if(r)e=r;var n=0;return function(){if(n>=e.length)return{done:true};return{done:false,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){if(typeof e!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if(typeof n!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function k(e){var t=y(e,"string");return typeof t==="symbol"?t:String(t)}var p=function(e){s(t,e);function t(){return e.apply(this,arguments)||this}return t}(f(Error));var g=function(e){s(t,e);function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return t}(p);var w=function(e){s(t,e);function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return t}(p);var b=function(e){s(t,e);function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return t}(p);var x=function(e){s(t,e);function t(){return e.apply(this,arguments)||this}return t}(p);var M=function(e){s(t,e);function t(t){return e.call(this,"Invalid unit "+t)||this}return t}(p);var T=function(e){s(t,e);function t(){return e.apply(this,arguments)||this}return t}(p);var N=function(e){s(t,e);function t(){return e.call(this,"Zone is an abstract class")||this}return t}(p);var E="numeric",S="short",D="long";var I={year:E,month:E,day:E};var O={year:E,month:S,day:E};var A={year:E,month:S,day:E,weekday:S};var C={year:E,month:D,day:E};var Z={year:E,month:D,day:E,weekday:D};var j={hour:E,minute:E};var _={hour:E,minute:E,second:E};var L={hour:E,minute:E,second:E,timeZoneName:S};var z={hour:E,minute:E,second:E,timeZoneName:D};var F={hour:E,minute:E,hourCycle:"h23"};var H={hour:E,minute:E,second:E,hourCycle:"h23"};var W={hour:E,minute:E,second:E,hourCycle:"h23",timeZoneName:S};var q={hour:E,minute:E,second:E,hourCycle:"h23",timeZoneName:D};var R={year:E,month:E,day:E,hour:E,minute:E};var P={year:E,month:E,day:E,hour:E,minute:E,second:E};var Y={year:E,month:S,day:E,hour:E,minute:E};var U={year:E,month:S,day:E,hour:E,minute:E,second:E};var G={year:E,month:S,day:E,weekday:S,hour:E,minute:E};var J={year:E,month:D,day:E,hour:E,minute:E,timeZoneName:S};var $={year:E,month:D,day:E,hour:E,minute:E,second:E,timeZoneName:S};var V={year:E,month:D,day:E,weekday:D,hour:E,minute:E,timeZoneName:D};var B={year:E,month:D,day:E,weekday:D,hour:E,minute:E,second:E,timeZoneName:D};var K=function(){function e(){}var t=e.prototype;t.offsetName=function e(t,r){throw new N};t.formatOffset=function e(t,r){throw new N};t.offset=function e(t){throw new N};t.equals=function e(t){throw new N};n(e,[{key:"type",get:function e(){throw new N}},{key:"name",get:function e(){throw new N}},{key:"ianaName",get:function e(){return this.name}},{key:"isUniversal",get:function e(){throw new N}},{key:"isValid",get:function e(){throw new N}}]);return e}();var Q=null;var X=function(e){s(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;r.offsetName=function e(t,r){var n=r.format,i=r.locale;return ht(t,n,i)};r.formatOffset=function e(t,r){return vt(this.offset(t),r)};r.offset=function e(t){return-new Date(t).getTimezoneOffset()};r.equals=function e(t){return t.type==="system"};n(t,[{key:"type",get:function e(){return"system"}},{key:"name",get:function e(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function e(){return false}},{key:"isValid",get:function e(){return true}}],[{key:"instance",get:function e(){if(Q===null){Q=new t}return Q}}]);return t}(K);var ee={};function te(e){if(!ee[e]){ee[e]=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})}return ee[e]}var re={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function ne(e,t){var r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=n[1],s=n[2],u=n[3],a=n[4],o=n[5],c=n[6],h=n[7];return[u,i,s,a,o,c,h]}function ie(e,t){var r=e.formatToParts(t);var n=[];for(var i=0;i<r.length;i++){var s=r[i],u=s.type,a=s.value;var o=re[u];if(u==="era"){n[o]=a}else if(!qe(o)){n[o]=parseInt(a,10)}}return n}var se={};var ue=function(e){s(t,e);t.create=function e(r){if(!se[r]){se[r]=new t(r)}return se[r]};t.resetCache=function e(){se={};ee={}};t.isValidSpecifier=function e(t){return this.isValidZone(t)};t.isValidZone=function e(t){if(!t){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:t}).format();return true}catch(e){return false}};function t(r){var n;n=e.call(this)||this;n.zoneName=r;n.valid=t.isValidZone(r);return n}var r=t.prototype;r.offsetName=function e(t,r){var n=r.format,i=r.locale;return ht(t,n,i,this.name)};r.formatOffset=function e(t,r){return vt(this.offset(t),r)};r.offset=function e(t){var r=new Date(t);if(isNaN(r))return NaN;var n=te(this.name);var i=n.formatToParts?ie(n,r):ne(n,r),s=i[0],u=i[1],a=i[2],o=i[3],c=i[4],h=i[5],f=i[6];if(o==="BC"){s=-Math.abs(s)+1}var l=c===24?0:c;var d=at({year:s,month:u,day:a,hour:l,minute:h,second:f,millisecond:0});var v=+r;var m=v%1e3;v-=m>=0?m:1e3+m;return(d-v)/(60*1e3)};r.equals=function e(t){return t.type==="iana"&&t.name===this.name};n(t,[{key:"type",get:function e(){return"iana"}},{key:"name",get:function e(){return this.zoneName}},{key:"isUniversal",get:function e(){return false}},{key:"isValid",get:function e(){return this.valid}}]);return t}(K);var ae=["base"],oe=["padTo","floor"];var ce={};function he(e,t){if(t===void 0){t={}}var r=JSON.stringify([e,t]);var n=ce[r];if(!n){n=new Intl.ListFormat(e,t);ce[r]=n}return n}var fe={};function le(e,t){if(t===void 0){t={}}var r=JSON.stringify([e,t]);var n=fe[r];if(!n){n=new Intl.DateTimeFormat(e,t);fe[r]=n}return n}var de={};function ve(e,t){if(t===void 0){t={}}var r=JSON.stringify([e,t]);var n=de[r];if(!n){n=new Intl.NumberFormat(e,t);de[r]=n}return n}var me={};function ye(e,t){if(t===void 0){t={}}var r=t;var n=l(r,ae);var i=JSON.stringify([e,n]);var s=me[i];if(!s){s=new Intl.RelativeTimeFormat(e,t);me[i]=s}return s}var ke=null;function pe(){if(ke){return ke}else{ke=(new Intl.DateTimeFormat).resolvedOptions().locale;return ke}}function ge(e){var t=e.indexOf("-x-");if(t!==-1){e=e.substring(0,t)}var r=e.indexOf("-u-");if(r===-1){return[e]}else{var n;var i;try{n=le(e).resolvedOptions();i=e}catch(t){var s=e.substring(0,r);n=le(s).resolvedOptions();i=s}var u=n,a=u.numberingSystem,o=u.calendar;return[i,a,o]}}function we(e,t,r){if(r||t){if(!e.includes("-u-")){e+="-u"}if(r){e+="-ca-"+r}if(t){e+="-nu-"+t}return e}else{return e}}function be(e){var t=[];for(var r=1;r<=12;r++){var n=pi.utc(2016,r,1);t.push(e(n))}return t}function xe(e){var t=[];for(var r=1;r<=7;r++){var n=pi.utc(2016,11,13+r);t.push(e(n))}return t}function Me(e,t,r,n,i){var s=e.listingMode(r);if(s==="error"){return null}else if(s==="en"){return n(t)}else{return i(t)}}function Te(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}}var Ne=function(){function e(e,t,r){this.padTo=r.padTo||0;this.floor=r.floor||false;var n=l(r,oe);if(!t||Object.keys(n).length>0){var s=i({useGrouping:false},r);if(r.padTo>0)s.minimumIntegerDigits=r.padTo;this.inf=ve(e,s)}}var t=e.prototype;t.format=function e(t){if(this.inf){var r=this.floor?Math.floor(t):t;return this.inf.format(r)}else{var n=this.floor?Math.floor(t):nt(t,3);return Xe(n,this.padTo)}};return e}();var Ee=function(){function e(e,t,r){this.opts=r;this.originalZone=undefined;var n=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){var s=-1*(e.offset/60);var u=s>=0?"Etc/GMT+"+s:"Etc/GMT"+s;if(e.offset!==0&&ue.create(u).valid){n=u;this.dt=e}else{n="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;n=e.zone.name}else{n="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var a=i({},this.opts);a.timeZone=a.timeZone||n;this.dtf=le(t,a)}var t=e.prototype;t.format=function e(){if(this.originalZone){return this.formatToParts().map((function(e){var t=e.value;return t})).join("")}return this.dtf.format(this.dt.toJSDate())};t.formatToParts=function e(){var t=this;var r=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return r.map((function(e){if(e.type==="timeZoneName"){var r=t.originalZone.offsetName(t.dt.ts,{locale:t.dt.locale,format:t.opts.timeZoneName});return i({},e,{value:r})}else{return e}}))}return r};t.resolvedOptions=function e(){return this.dtf.resolvedOptions()};return e}();var Se=function(){function e(e,t,r){this.opts=i({style:"long"},r);if(!t&&Ge()){this.rtf=ye(e,r)}}var t=e.prototype;t.format=function e(t,r){if(this.rtf){return this.rtf.format(t,r)}else{return Zt(r,t,this.opts.numeric,this.opts.style!=="long")}};t.formatToParts=function e(t,r){if(this.rtf){return this.rtf.formatToParts(t,r)}else{return[]}};return e}();var De=function(){e.fromOpts=function t(r){return e.create(r.locale,r.numberingSystem,r.outputCalendar,r.defaultToEN)};e.create=function t(r,n,i,s){if(s===void 0){s=false}var u=r||We.defaultLocale;var a=u||(s?"en-US":pe());var o=n||We.defaultNumberingSystem;var c=i||We.defaultOutputCalendar;return new e(a,o,c,u)};e.resetCache=function e(){ke=null;fe={};de={};me={}};e.fromObject=function t(r){var n=r===void 0?{}:r,i=n.locale,s=n.numberingSystem,u=n.outputCalendar;return e.create(i,s,u)};function e(e,t,r,n){var i=ge(e),s=i[0],u=i[1],a=i[2];this.locale=s;this.numberingSystem=t||u||null;this.outputCalendar=r||a||null;this.intl=we(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=n;this.fastNumbersCached=null}var t=e.prototype;t.listingMode=function e(){var t=this.isEnglish();var r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"};t.clone=function t(r){if(!r||Object.getOwnPropertyNames(r).length===0){return this}else{return e.create(r.locale||this.specifiedLocale,r.numberingSystem||this.numberingSystem,r.outputCalendar||this.outputCalendar,r.defaultToEN||false)}};t.redefaultToEN=function e(t){if(t===void 0){t={}}return this.clone(i({},t,{defaultToEN:true}))};t.redefaultToSystem=function e(t){if(t===void 0){t={}}return this.clone(i({},t,{defaultToEN:false}))};t.months=function e(t,r,n){var i=this;if(r===void 0){r=false}if(n===void 0){n=true}return Me(this,t,n,gt,(function(){var e=r?{month:t,day:"numeric"}:{month:t},n=r?"format":"standalone";if(!i.monthsCache[n][t]){i.monthsCache[n][t]=be((function(t){return i.extract(t,e,"month")}))}return i.monthsCache[n][t]}))};t.weekdays=function e(t,r,n){var i=this;if(r===void 0){r=false}if(n===void 0){n=true}return Me(this,t,n,Mt,(function(){var e=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=r?"format":"standalone";if(!i.weekdaysCache[n][t]){i.weekdaysCache[n][t]=xe((function(t){return i.extract(t,e,"weekday")}))}return i.weekdaysCache[n][t]}))};t.meridiems=function e(t){var r=this;if(t===void 0){t=true}return Me(this,undefined,t,(function(){return Tt}),(function(){if(!r.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};r.meridiemCache=[pi.utc(2016,11,13,9),pi.utc(2016,11,13,19)].map((function(t){return r.extract(t,e,"dayperiod")}))}return r.meridiemCache}))};t.eras=function e(t,r){var n=this;if(r===void 0){r=true}return Me(this,t,r,Dt,(function(){var e={era:t};if(!n.eraCache[t]){n.eraCache[t]=[pi.utc(-40,1,1),pi.utc(2017,1,1)].map((function(t){return n.extract(t,e,"era")}))}return n.eraCache[t]}))};t.extract=function e(t,r,n){var i=this.dtFormatter(t,r),s=i.formatToParts(),u=s.find((function(e){return e.type.toLowerCase()===n}));return u?u.value:null};t.numberFormatter=function e(t){if(t===void 0){t={}}return new Ne(this.intl,t.forceSimple||this.fastNumbers,t)};t.dtFormatter=function e(t,r){if(r===void 0){r={}}return new Ee(t,this.intl,r)};t.relFormatter=function e(t){if(t===void 0){t={}}return new Se(this.intl,this.isEnglish(),t)};t.listFormatter=function e(t){if(t===void 0){t={}}return he(this.intl,t)};t.isEnglish=function e(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")};t.equals=function e(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar};n(e,[{key:"fastNumbers",get:function e(){if(this.fastNumbersCached==null){this.fastNumbersCached=Te(this)}return this.fastNumbersCached}}]);return e}();var Ie=null;var Oe=function(e){s(t,e);t.instance=function e(r){return r===0?t.utcInstance:new t(r)};t.parseSpecifier=function e(r){if(r){var n=r.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n){return new t(ft(n[1],n[2]))}}return null};function t(t){var r;r=e.call(this)||this;r.fixed=t;return r}var r=t.prototype;r.offsetName=function e(){return this.name};r.formatOffset=function e(t,r){return vt(this.fixed,r)};r.offset=function e(){return this.fixed};r.equals=function e(t){return t.type==="fixed"&&t.fixed===this.fixed};n(t,[{key:"type",get:function e(){return"fixed"}},{key:"name",get:function e(){return this.fixed===0?"UTC":"UTC"+vt(this.fixed,"narrow")}},{key:"ianaName",get:function e(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT"+vt(-this.fixed,"narrow")}}},{key:"isUniversal",get:function e(){return true}},{key:"isValid",get:function e(){return true}}],[{key:"utcInstance",get:function e(){if(Ie===null){Ie=new t(0)}return Ie}}]);return t}(K);var Ae=function(e){s(t,e);function t(t){var r;r=e.call(this)||this;r.zoneName=t;return r}var r=t.prototype;r.offsetName=function e(){return null};r.formatOffset=function e(){return""};r.offset=function e(){return NaN};r.equals=function e(){return false};n(t,[{key:"type",get:function e(){return"invalid"}},{key:"name",get:function e(){return this.zoneName}},{key:"isUniversal",get:function e(){return false}},{key:"isValid",get:function e(){return false}}]);return t}(K);function Ce(e,t){if(qe(e)||e===null){return t}else if(e instanceof K){return e}else if(Ye(e)){var r=e.toLowerCase();if(r==="default")return t;else if(r==="local"||r==="system")return X.instance;else if(r==="utc"||r==="gmt")return Oe.utcInstance;else return Oe.parseSpecifier(r)||ue.create(e)}else if(Re(e)){return Oe.instance(e)}else if(typeof e==="object"&&e.offset&&typeof e.offset==="number"){return e}else{return new Ae(e)}}var Ze=function e(){return Date.now()},je="system",_e=null,Le=null,ze=null,Fe=60,He;var We=function(){function e(){}e.resetCaches=function e(){De.resetCache();ue.resetCache()};n(e,null,[{key:"now",get:function e(){return Ze},set:function e(t){Ze=t}},{key:"defaultZone",get:function e(){return Ce(je,X.instance)},set:function e(t){je=t}},{key:"defaultLocale",get:function e(){return _e},set:function e(t){_e=t}},{key:"defaultNumberingSystem",get:function e(){return Le},set:function e(t){Le=t}},{key:"defaultOutputCalendar",get:function e(){return ze},set:function e(t){ze=t}},{key:"twoDigitCutoffYear",get:function e(){return Fe},set:function e(t){Fe=t%100}},{key:"throwOnInvalid",get:function e(){return He},set:function e(t){He=t}}]);return e}();function qe(e){return typeof e==="undefined"}function Re(e){return typeof e==="number"}function Pe(e){return typeof e==="number"&&e%1===0}function Ye(e){return typeof e==="string"}function Ue(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ge(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function Je(e){return Array.isArray(e)?e:[e]}function $e(e,t,r){if(e.length===0){return undefined}return e.reduce((function(e,n){var i=[t(n),n];if(!e){return i}else if(r(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function Ve(e,t){return t.reduce((function(t,r){t[r]=e[r];return t}),{})}function Be(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ke(e,t,r){return Pe(e)&&e>=t&&e<=r}function Qe(e,t){return e-t*Math.floor(e/t)}function Xe(e,t){if(t===void 0){t=2}var r=e<0;var n;if(r){n="-"+(""+-e).padStart(t,"0")}else{n=(""+e).padStart(t,"0")}return n}function et(e){if(qe(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function tt(e){if(qe(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function rt(e){if(qe(e)||e===null||e===""){return undefined}else{var t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function nt(e,t,r){if(r===void 0){r=false}var n=Math.pow(10,t),i=r?Math.trunc:Math.round;return i(e*n)/n}function it(e){return e%4===0&&(e%100!==0||e%400===0)}function st(e){return it(e)?366:365}function ut(e,t){var r=Qe(t-1,12)+1,n=e+(t-r)/12;if(r===2){return it(n)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}function at(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){t=new Date(t);t.setUTCFullYear(e.year,e.month-1,e.day)}return+t}function ot(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,r=e-1,n=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return t===4||n===3?53:52}function ct(e){if(e>99){return e}else return e>We.twoDigitCutoffYear?1900+e:2e3+e}function ht(e,t,r,n){if(n===void 0){n=null}var s=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(n){u.timeZone=n}var a=i({timeZoneName:t},u);var o=new Intl.DateTimeFormat(r,a).formatToParts(s).find((function(e){return e.type.toLowerCase()==="timezonename"}));return o?o.value:null}function ft(e,t){var r=parseInt(e,10);if(Number.isNaN(r)){r=0}var n=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function lt(e){var t=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(t))throw new T("Invalid unit value "+e);return t}function dt(e,t){var r={};for(var n in e){if(Be(e,n)){var i=e[n];if(i===undefined||i===null)continue;r[t(n)]=lt(i)}}return r}function vt(e,t){var r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+Xe(r,2)+":"+Xe(n,2);case"narrow":return""+i+r+(n>0?":"+n:"");case"techie":return""+i+Xe(r,2)+Xe(n,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function mt(e){return Ve(e,["hour","minute","second","millisecond"])}var yt=["January","February","March","April","May","June","July","August","September","October","November","December"];var kt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var pt=["J","F","M","A","M","J","J","A","S","O","N","D"];function gt(e){switch(e){case"narrow":return[].concat(pt);case"short":return[].concat(kt);case"long":return[].concat(yt);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var wt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var bt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var xt=["M","T","W","T","F","S","S"];function Mt(e){switch(e){case"narrow":return[].concat(xt);case"short":return[].concat(bt);case"long":return[].concat(wt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Tt=["AM","PM"];var Nt=["Before Christ","Anno Domini"];var Et=["BC","AD"];var St=["B","A"];function Dt(e){switch(e){case"narrow":return[].concat(St);case"short":return[].concat(Et);case"long":return[].concat(Nt);default:return null}}function It(e){return Tt[e.hour<12?0:1]}function Ot(e,t){return Mt(t)[e.weekday-1]}function At(e,t){return gt(t)[e.month-1]}function Ct(e,t){return Dt(t)[e.year<0?0:1]}function Zt(e,t,r,n){if(r===void 0){r="always"}if(n===void 0){n=false}var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};var s=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&s){var u=e==="days";switch(t){case 1:return u?"tomorrow":"next "+i[e][0];case-1:return u?"yesterday":"last "+i[e][0];case 0:return u?"today":"this "+i[e][0]}}var a=Object.is(t,-0)||t<0,o=Math.abs(t),c=o===1,h=i[e],f=n?c?h[1]:h[2]||h[1]:c?i[e][0]:e;return a?o+" "+f+" ago":"in "+o+" "+f}function jt(e,t){var r="";for(var n=m(e),i;!(i=n()).done;){var s=i.value;if(s.literal){r+=s.val}else{r+=t(s.val)}}return r}var _t={D:I,DD:O,DDD:C,DDDD:Z,t:j,tt:_,ttt:L,tttt:z,T:F,TT:H,TTT:W,TTTT:q,f:R,ff:Y,fff:J,ffff:V,F:P,FF:U,FFF:$,FFFF:B};var Lt=function(){e.create=function t(r,n){if(n===void 0){n={}}return new e(r,n)};e.parseFormat=function e(t){var r=null,n="",i=false;var s=[];for(var u=0;u<t.length;u++){var a=t.charAt(u);if(a==="'"){if(n.length>0){s.push({literal:i||/^\s+$/.test(n),val:n})}r=null;n="";i=!i}else if(i){n+=a}else if(a===r){n+=a}else{if(n.length>0){s.push({literal:/^\s+$/.test(n),val:n})}n=a;r=a}}if(n.length>0){s.push({literal:i||/^\s+$/.test(n),val:n})}return s};e.macroTokenToFormatOpts=function e(t){return _t[t]};function e(e,t){this.opts=t;this.loc=e;this.systemLoc=null}var t=e.prototype;t.formatWithSystemDefault=function e(t,r){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var n=this.systemLoc.dtFormatter(t,i({},this.opts,r));return n.format()};t.formatDateTime=function e(t,r){if(r===void 0){r={}}var n=this.loc.dtFormatter(t,i({},this.opts,r));return n.format()};t.formatDateTimeParts=function e(t,r){if(r===void 0){r={}}var n=this.loc.dtFormatter(t,i({},this.opts,r));return n.formatToParts()};t.formatInterval=function e(t,r){if(r===void 0){r={}}var n=this.loc.dtFormatter(t.start,i({},this.opts,r));return n.dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())};t.resolvedOptions=function e(t,r){if(r===void 0){r={}}var n=this.loc.dtFormatter(t,i({},this.opts,r));return n.resolvedOptions()};t.num=function e(t,r){if(r===void 0){r=0}if(this.opts.forceSimple){return Xe(t,r)}var n=i({},this.opts);if(r>0){n.padTo=r}return this.loc.numberFormatter(n).format(t)};t.formatDateTimeFromString=function t(r,n){var i=this;var s=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=function e(t,n){return i.loc.extract(r,t,n)},o=function e(t){if(r.isOffsetFixed&&r.offset===0&&t.allowZ){return"Z"}return r.isValid?r.zone.formatOffset(r.ts,t.format):""},c=function e(){return s?It(r):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},h=function e(t,n){return s?At(r,t):a(n?{month:t}:{month:t,day:"numeric"},"month")},f=function e(t,n){return s?Ot(r,t):a(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},l=function t(n){var s=e.macroTokenToFormatOpts(n);if(s){return i.formatWithSystemDefault(r,s)}else{return n}},d=function e(t){return s?Ct(r,t):a({era:t},"era")},v=function e(t){switch(t){case"S":return i.num(r.millisecond);case"u":case"SSS":return i.num(r.millisecond,3);case"s":return i.num(r.second);case"ss":return i.num(r.second,2);case"uu":return i.num(Math.floor(r.millisecond/10),2);case"uuu":return i.num(Math.floor(r.millisecond/100));case"m":return i.num(r.minute);case"mm":return i.num(r.minute,2);case"h":return i.num(r.hour%12===0?12:r.hour%12);case"hh":return i.num(r.hour%12===0?12:r.hour%12,2);case"H":return i.num(r.hour);case"HH":return i.num(r.hour,2);case"Z":return o({format:"narrow",allowZ:i.opts.allowZ});case"ZZ":return o({format:"short",allowZ:i.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:i.opts.allowZ});case"ZZZZ":return r.zone.offsetName(r.ts,{format:"short",locale:i.loc.locale});case"ZZZZZ":return r.zone.offsetName(r.ts,{format:"long",locale:i.loc.locale});case"z":return r.zoneName;case"a":return c();case"d":return u?a({day:"numeric"},"day"):i.num(r.day);case"dd":return u?a({day:"2-digit"},"day"):i.num(r.day,2);case"c":return i.num(r.weekday);case"ccc":return f("short",true);case"cccc":return f("long",true);case"ccccc":return f("narrow",true);case"E":return i.num(r.weekday);case"EEE":return f("short",false);case"EEEE":return f("long",false);case"EEEEE":return f("narrow",false);case"L":return u?a({month:"numeric",day:"numeric"},"month"):i.num(r.month);case"LL":return u?a({month:"2-digit",day:"numeric"},"month"):i.num(r.month,2);case"LLL":return h("short",true);case"LLLL":return h("long",true);case"LLLLL":return h("narrow",true);case"M":return u?a({month:"numeric"},"month"):i.num(r.month);case"MM":return u?a({month:"2-digit"},"month"):i.num(r.month,2);case"MMM":return h("short",false);case"MMMM":return h("long",false);case"MMMMM":return h("narrow",false);case"y":return u?a({year:"numeric"},"year"):i.num(r.year);case"yy":return u?a({year:"2-digit"},"year"):i.num(r.year.toString().slice(-2),2);case"yyyy":return u?a({year:"numeric"},"year"):i.num(r.year,4);case"yyyyyy":return u?a({year:"numeric"},"year"):i.num(r.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return i.num(r.weekYear.toString().slice(-2),2);case"kkkk":return i.num(r.weekYear,4);case"W":return i.num(r.weekNumber);case"WW":return i.num(r.weekNumber,2);case"o":return i.num(r.ordinal);case"ooo":return i.num(r.ordinal,3);case"q":return i.num(r.quarter);case"qq":return i.num(r.quarter,2);case"X":return i.num(Math.floor(r.ts/1e3));case"x":return i.num(r.ts);default:return l(t)}};return jt(e.parseFormat(n),v)};t.formatDurationFromString=function t(r,n){var i=this;var s=function e(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=function e(t){return function(e){var r=s(e);if(r){return i.num(t.get(r),e.length)}else{return e}}},a=e.parseFormat(n),o=a.reduce((function(e,t){var r=t.literal,n=t.val;return r?e:e.concat(n)}),[]),c=r.shiftTo.apply(r,o.map(s).filter((function(e){return e})));return jt(a,u(c))};return e}();var zt=function(){function e(e,t){this.reason=e;this.explanation=t}var t=e.prototype;t.toMessage=function e(){if(this.explanation){return this.reason+": "+this.explanation}else{return this.reason}};return e}();var Ft=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ht(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}var n=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+n+"$")}function Wt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return function(e){return t.reduce((function(t,r){var n=t[0],s=t[1],u=t[2];var a=r(e,u),o=a[0],c=a[1],h=a[2];return[i({},n,o),c||s,h]}),[{},null,1]).slice(0,2)}}function qt(e){if(e==null){return[null,null]}for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}for(var i=0,s=r;i<s.length;i++){var u=s[i],a=u[0],o=u[1];var c=a.exec(e);if(c){return o(c)}}return[null,null]}function Rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return function(e,r){var n={};var i;for(i=0;i<t.length;i++){n[t[i]]=et(e[r+i])}return[n,null,r+i]}}var Pt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var Yt="(?:"+Pt.source+"?(?:\\[("+Ft.source+")\\])?)?";var Ut=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var Gt=RegExp(""+Ut.source+Yt);var Jt=RegExp("(?:T"+Gt.source+")?");var $t=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var Vt=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var Bt=/(\d{4})-?(\d{3})/;var Kt=Rt("weekYear","weekNumber","weekDay");var Qt=Rt("year","ordinal");var Xt=/(\d{4})-(\d\d)-(\d\d)/;var er=RegExp(Ut.source+" ?(?:"+Pt.source+"|("+Ft.source+"))?");var tr=RegExp("(?: "+er.source+")?");function rr(e,t,r){var n=e[t];return qe(n)?r:et(n)}function nr(e,t){var r={year:rr(e,t),month:rr(e,t+1,1),day:rr(e,t+2,1)};return[r,null,t+3]}function ir(e,t){var r={hours:rr(e,t,0),minutes:rr(e,t+1,0),seconds:rr(e,t+2,0),milliseconds:rt(e[t+3])};return[r,null,t+4]}function sr(e,t){var r=!e[t]&&!e[t+1],n=ft(e[t+1],e[t+2]),i=r?null:Oe.instance(n);return[{},i,t+3]}function ur(e,t){var r=e[t]?ue.create(e[t]):null;return[{},r,t+1]}var ar=RegExp("^T?"+Ut.source+"$");var or=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function cr(e){var t=e[0],r=e[1],n=e[2],i=e[3],s=e[4],u=e[5],a=e[6],o=e[7],c=e[8];var h=t[0]==="-";var f=o&&o[0]==="-";var l=function e(t,r){if(r===void 0){r=false}return t!==undefined&&(r||t&&h)?-t:t};return[{years:l(tt(r)),months:l(tt(n)),weeks:l(tt(i)),days:l(tt(s)),hours:l(tt(u)),minutes:l(tt(a)),seconds:l(tt(o),o==="-0"),milliseconds:l(rt(c),f)}]}var hr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fr(e,t,r,n,i,s,u){var a={year:t.length===2?ct(et(t)):et(t),month:kt.indexOf(r)+1,day:et(n),hour:et(i),minute:et(s)};if(u)a.second=et(u);if(e){a.weekday=e.length>3?wt.indexOf(e)+1:bt.indexOf(e)+1}return a}var lr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function dr(e){var t=e[1],r=e[2],n=e[3],i=e[4],s=e[5],u=e[6],a=e[7],o=e[8],c=e[9],h=e[10],f=e[11],l=fr(t,i,n,r,s,u,a);var d;if(o){d=hr[o]}else if(c){d=0}else{d=ft(h,f)}return[l,new Oe(d)]}function vr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var mr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,yr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,kr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function pr(e){var t=e[1],r=e[2],n=e[3],i=e[4],s=e[5],u=e[6],a=e[7],o=fr(t,i,n,r,s,u,a);return[o,Oe.utcInstance]}function gr(e){var t=e[1],r=e[2],n=e[3],i=e[4],s=e[5],u=e[6],a=e[7],o=fr(t,a,r,n,i,s,u);return[o,Oe.utcInstance]}var wr=Ht($t,Jt);var br=Ht(Vt,Jt);var xr=Ht(Bt,Jt);var Mr=Ht(Gt);var Tr=Wt(nr,ir,sr,ur);var Nr=Wt(Kt,ir,sr,ur);var Er=Wt(Qt,ir,sr,ur);var Sr=Wt(ir,sr,ur);function Dr(e){return qt(e,[wr,Tr],[br,Nr],[xr,Er],[Mr,Sr])}function Ir(e){return qt(vr(e),[lr,dr])}function Or(e){return qt(e,[mr,pr],[yr,pr],[kr,gr])}function Ar(e){return qt(e,[or,cr])}var Cr=Wt(ir);function Zr(e){return qt(e,[ar,Cr])}var jr=Ht(Xt,tr);var _r=Ht(er);var Lr=Wt(ir,sr,ur);function zr(e){return qt(e,[jr,Tr],[_r,Lr])}var Fr="Invalid Duration";var Hr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Wr=i({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Hr),qr=146097/400,Rr=146097/4800,Pr=i({years:{quarters:4,months:12,weeks:qr/7,days:qr,hours:qr*24,minutes:qr*24*60,seconds:qr*24*60*60,milliseconds:qr*24*60*60*1e3},quarters:{months:3,weeks:qr/28,days:qr/4,hours:qr*24/4,minutes:qr*24*60/4,seconds:qr*24*60*60/4,milliseconds:qr*24*60*60*1e3/4},months:{weeks:Rr/7,days:Rr,hours:Rr*24,minutes:Rr*24*60,seconds:Rr*24*60*60,milliseconds:Rr*24*60*60*1e3}},Hr);var Yr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var Ur=Yr.slice(0).reverse();function Gr(e,t,r){if(r===void 0){r=false}var n={values:r?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Kr(n)}function Jr(e){return e<0?Math.floor(e):Math.ceil(e)}function $r(e,t,r,n,i){var s=e[i][r],u=t[r]/s,a=Math.sign(u)===Math.sign(n[i]),o=!a&&n[i]!==0&&Math.abs(u)<=1?Jr(u):Math.trunc(u);n[i]+=o;t[r]-=o*s}function Vr(e,t){Ur.reduce((function(r,n){if(!qe(t[n])){if(r){$r(e,t,r,t,n)}return n}else{return r}}),null)}function Br(e){var t={};for(var r=0,n=Object.entries(e);r<n.length;r++){var i=n[r],s=i[0],u=i[1];if(u!==0){t[s]=u}}return t}var Kr=function(){function e(e){var t=e.conversionAccuracy==="longterm"||false;var r=t?Pr:Wr;if(e.matrix){r=e.matrix}this.values=e.values;this.loc=e.loc||De.create();this.conversionAccuracy=t?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=r;this.isLuxonDuration=true}e.fromMillis=function t(r,n){return e.fromObject({milliseconds:r},n)};e.fromObject=function t(r,n){if(n===void 0){n={}}if(r==null||typeof r!=="object"){throw new T("Duration.fromObject: argument expected to be an object, got "+(r===null?"null":typeof r))}return new e({values:dt(r,e.normalizeUnit),loc:De.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})};e.fromDurationLike=function t(r){if(Re(r)){return e.fromMillis(r)}else if(e.isDuration(r)){return r}else if(typeof r==="object"){return e.fromObject(r)}else{throw new T("Unknown duration argument "+r+" of type "+typeof r)}};e.fromISO=function t(r,n){var i=Ar(r),s=i[0];if(s){return e.fromObject(s,n)}else{return e.invalid("unparsable",'the input "'+r+"\" can't be parsed as ISO 8601")}};e.fromISOTime=function t(r,n){var i=Zr(r),s=i[0];if(s){return e.fromObject(s,n)}else{return e.invalid("unparsable",'the input "'+r+"\" can't be parsed as ISO 8601")}};e.invalid=function t(r,n){if(n===void 0){n=null}if(!r){throw new T("need to specify a reason the Duration is invalid")}var t=r instanceof zt?r:new zt(r,n);if(We.throwOnInvalid){throw new b(t)}else{return new e({invalid:t})}};e.normalizeUnit=function e(t){var r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!r)throw new M(t);return r};e.isDuration=function e(t){return t&&t.isLuxonDuration||false};var t=e.prototype;t.toFormat=function e(t,r){if(r===void 0){r={}}var n=i({},r,{floor:r.round!==false&&r.floor!==false});return this.isValid?Lt.create(this.loc,n).formatDurationFromString(this,t):Fr};t.toHuman=function e(t){var r=this;if(t===void 0){t={}}var n=Yr.map((function(e){var n=r.values[e];if(qe(n)){return null}return r.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},t,{unit:e.slice(0,-1)})).format(n)})).filter((function(e){return e}));return this.loc.listFormatter(i({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)};t.toObject=function e(){if(!this.isValid)return{};return i({},this.values)};t.toISO=function e(){if(!this.isValid)return null;var t="P";if(this.years!==0)t+=this.years+"Y";if(this.months!==0||this.quarters!==0)t+=this.months+this.quarters*3+"M";if(this.weeks!==0)t+=this.weeks+"W";if(this.days!==0)t+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)t+="T";if(this.hours!==0)t+=this.hours+"H";if(this.minutes!==0)t+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)t+=nt(this.seconds+this.milliseconds/1e3,3)+"S";if(t==="P")t+="T0S";return t};t.toISOTime=function e(t){if(t===void 0){t={}}if(!this.isValid)return null;var r=this.toMillis();if(r<0||r>=864e5)return null;t=i({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds");var s=t.format==="basic"?"hhmm":"hh:mm";if(!t.suppressSeconds||n.seconds!==0||n.milliseconds!==0){s+=t.format==="basic"?"ss":":ss";if(!t.suppressMilliseconds||n.milliseconds!==0){s+=".SSS"}}var u=n.toFormat(s);if(t.includePrefix){u="T"+u}return u};t.toJSON=function e(){return this.toISO()};t.toString=function e(){return this.toISO()};t.toMillis=function e(){return this.as("milliseconds")};t.valueOf=function e(){return this.toMillis()};t.plus=function t(r){if(!this.isValid)return this;var n=e.fromDurationLike(r),i={};for(var s=0,u=Yr;s<u.length;s++){var a=u[s];if(Be(n.values,a)||Be(this.values,a)){i[a]=n.get(a)+this.get(a)}}return Gr(this,{values:i},true)};t.minus=function t(r){if(!this.isValid)return this;var n=e.fromDurationLike(r);return this.plus(n.negate())};t.mapUnits=function e(t){if(!this.isValid)return this;var r={};for(var n=0,i=Object.keys(this.values);n<i.length;n++){var s=i[n];r[s]=lt(t(this.values[s],s))}return Gr(this,{values:r},true)};t.get=function t(r){return this[e.normalizeUnit(r)]};t.set=function t(r){if(!this.isValid)return this;var n=i({},this.values,dt(r,e.normalizeUnit));return Gr(this,{values:n})};t.reconfigure=function e(t){var r=t===void 0?{}:t,n=r.locale,i=r.numberingSystem,s=r.conversionAccuracy,u=r.matrix;var a=this.loc.clone({locale:n,numberingSystem:i});var o={loc:a,matrix:u,conversionAccuracy:s};return Gr(this,o)};t.as=function e(t){return this.isValid?this.shiftTo(t).get(t):NaN};t.normalize=function e(){if(!this.isValid)return this;var t=this.toObject();Vr(this.matrix,t);return Gr(this,{values:t},true)};t.rescale=function e(){if(!this.isValid)return this;var t=Br(this.normalize().shiftToAll().toObject());return Gr(this,{values:t},true)};t.shiftTo=function t(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++){n[i]=arguments[i]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(t){return e.normalizeUnit(t)}));var s={},u={},a=this.toObject();var o;for(var c=0,h=Yr;c<h.length;c++){var f=h[c];if(n.indexOf(f)>=0){o=f;var l=0;for(var d in u){l+=this.matrix[d][f]*u[d];u[d]=0}if(Re(a[f])){l+=a[f]}var v=Math.trunc(l);s[f]=v;u[f]=(l*1e3-v*1e3)/1e3;for(var m in a){if(Yr.indexOf(m)>Yr.indexOf(f)){$r(this.matrix,a,m,s,f)}}}else if(Re(a[f])){u[f]=a[f]}}for(var y in u){if(u[y]!==0){s[o]+=y===o?u[y]:u[y]/this.matrix[o][y]}}return Gr(this,{values:s},true).normalize()};t.shiftToAll=function e(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};t.negate=function e(){if(!this.isValid)return this;var t={};for(var r=0,n=Object.keys(this.values);r<n.length;r++){var i=n[r];t[i]=this.values[i]===0?0:-this.values[i]}return Gr(this,{values:t},true)};t.equals=function e(t){if(!this.isValid||!t.isValid){return false}if(!this.loc.equals(t.loc)){return false}function r(e,t){if(e===undefined||e===0)return t===undefined||t===0;return e===t}for(var n=0,i=Yr;n<i.length;n++){var s=i[n];if(!r(this.values[s],t.values[s])){return false}}return true};n(e,[{key:"locale",get:function e(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function e(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function e(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function e(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function e(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function e(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function e(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function e(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function e(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function e(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function e(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function e(){return this.invalid===null}},{key:"invalidReason",get:function e(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function e(){return this.invalid?this.invalid.explanation:null}}]);return e}();var Qr="Invalid Interval";function Xr(e,t){if(!e||!e.isValid){return en.invalid("missing or invalid start")}else if(!t||!t.isValid){return en.invalid("missing or invalid end")}else if(t<e){return en.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO())}else{return null}}var en=function(){function e(e){this.s=e.start;this.e=e.end;this.invalid=e.invalid||null;this.isLuxonInterval=true}e.invalid=function t(r,n){if(n===void 0){n=null}if(!r){throw new T("need to specify a reason the Interval is invalid")}var t=r instanceof zt?r:new zt(r,n);if(We.throwOnInvalid){throw new w(t)}else{return new e({invalid:t})}};e.fromDateTimes=function t(r,n){var i=gi(r),s=gi(n);var u=Xr(i,s);if(u==null){return new e({start:i,end:s})}else{return u}};e.after=function t(r,n){var i=Kr.fromDurationLike(n),s=gi(r);return e.fromDateTimes(s,s.plus(i))};e.before=function t(r,n){var i=Kr.fromDurationLike(n),s=gi(r);return e.fromDateTimes(s.minus(i),s)};e.fromISO=function t(r,n){var i=(r||"").split("/",2),s=i[0],u=i[1];if(s&&u){var a,o;try{a=pi.fromISO(s,n);o=a.isValid}catch(u){o=false}var c,h;try{c=pi.fromISO(u,n);h=c.isValid}catch(u){h=false}if(o&&h){return e.fromDateTimes(a,c)}if(o){var f=Kr.fromISO(u,n);if(f.isValid){return e.after(a,f)}}else if(h){var l=Kr.fromISO(s,n);if(l.isValid){return e.before(c,l)}}}return e.invalid("unparsable",'the input "'+r+"\" can't be parsed as ISO 8601")};e.isInterval=function e(t){return t&&t.isLuxonInterval||false};var t=e.prototype;t.length=function e(t){if(t===void 0){t="milliseconds"}return this.isValid?this.toDuration.apply(this,[t]).get(t):NaN};t.count=function e(t){if(t===void 0){t="milliseconds"}if(!this.isValid)return NaN;var r=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(r,t).get(t))+(n.valueOf()!==this.end.valueOf())};t.hasSame=function e(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):false};t.isEmpty=function e(){return this.s.valueOf()===this.e.valueOf()};t.isAfter=function e(t){if(!this.isValid)return false;return this.s>t};t.isBefore=function e(t){if(!this.isValid)return false;return this.e<=t};t.contains=function e(t){if(!this.isValid)return false;return this.s<=t&&this.e>t};t.set=function t(r){var n=r===void 0?{}:r,i=n.start,s=n.end;if(!this.isValid)return this;return e.fromDateTimes(i||this.s,s||this.e)};t.splitAt=function t(){var r=this;if(!this.isValid)return[];for(var n=arguments.length,i=new Array(n),s=0;s<n;s++){i[s]=arguments[s]}var u=i.map(gi).filter((function(e){return r.contains(e)})).sort(),a=[];var o=this.s,c=0;while(o<this.e){var h=u[c]||this.e,f=+h>+this.e?this.e:h;a.push(e.fromDateTimes(o,f));o=f;c+=1}return a};t.splitBy=function t(r){var n=Kr.fromDurationLike(r);if(!this.isValid||!n.isValid||n.as("milliseconds")===0){return[]}var i=this.s,s=1,u;var a=[];while(i<this.e){var o=this.start.plus(n.mapUnits((function(e){return e*s})));u=+o>+this.e?this.e:o;a.push(e.fromDateTimes(i,u));i=u;s+=1}return a};t.divideEqually=function e(t){if(!this.isValid)return[];return this.splitBy(this.length()/t).slice(0,t)};t.overlaps=function e(t){return this.e>t.s&&this.s<t.e};t.abutsStart=function e(t){if(!this.isValid)return false;return+this.e===+t.s};t.abutsEnd=function e(t){if(!this.isValid)return false;return+t.e===+this.s};t.engulfs=function e(t){if(!this.isValid)return false;return this.s<=t.s&&this.e>=t.e};t.equals=function e(t){if(!this.isValid||!t.isValid){return false}return this.s.equals(t.s)&&this.e.equals(t.e)};t.intersection=function t(r){if(!this.isValid)return this;var n=this.s>r.s?this.s:r.s,i=this.e<r.e?this.e:r.e;if(n>=i){return null}else{return e.fromDateTimes(n,i)}};t.union=function t(r){if(!this.isValid)return this;var n=this.s<r.s?this.s:r.s,i=this.e>r.e?this.e:r.e;return e.fromDateTimes(n,i)};e.merge=function e(t){var r=t.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var r=e[0],n=e[1];if(!n){return[r,t]}else if(n.overlaps(t)||n.abutsStart(t)){return[r,n.union(t)]}else{return[r.concat([n]),t]}}),[[],null]),n=r[0],i=r[1];if(i){n.push(i)}return n};e.xor=function t(r){var n;var i=null,s=0;var u=[],a=r.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),o=(n=Array.prototype).concat.apply(n,a),c=o.sort((function(e,t){return e.time-t.time}));for(var h=m(c),f;!(f=h()).done;){var l=f.value;s+=l.type==="s"?1:-1;if(s===1){i=l.time}else{if(i&&+i!==+l.time){u.push(e.fromDateTimes(i,l.time))}i=null}}return e.merge(u)};t.difference=function t(){var r=this;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++){i[s]=arguments[s]}return e.xor([this].concat(i)).map((function(e){return r.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};t.toString=function e(){if(!this.isValid)return Qr;return"["+this.s.toISO()+" – "+this.e.toISO()+")"};t.toLocaleString=function e(t,r){if(t===void 0){t=I}if(r===void 0){r={}}return this.isValid?Lt.create(this.s.loc.clone(r),t).formatInterval(this):Qr};t.toISO=function e(t){if(!this.isValid)return Qr;return this.s.toISO(t)+"/"+this.e.toISO(t)};t.toISODate=function e(){if(!this.isValid)return Qr;return this.s.toISODate()+"/"+this.e.toISODate()};t.toISOTime=function e(t){if(!this.isValid)return Qr;return this.s.toISOTime(t)+"/"+this.e.toISOTime(t)};t.toFormat=function e(t,r){var n=r===void 0?{}:r,i=n.separator,s=i===void 0?" – ":i;if(!this.isValid)return Qr;return""+this.s.toFormat(t)+s+this.e.toFormat(t)};t.toDuration=function e(t,r){if(!this.isValid){return Kr.invalid(this.invalidReason)}return this.e.diff(this.s,t,r)};t.mapEndpoints=function t(r){return e.fromDateTimes(r(this.s),r(this.e))};n(e,[{key:"start",get:function e(){return this.isValid?this.s:null}},{key:"end",get:function e(){return this.isValid?this.e:null}},{key:"isValid",get:function e(){return this.invalidReason===null}},{key:"invalidReason",get:function e(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function e(){return this.invalid?this.invalid.explanation:null}}]);return e}();var tn=function(){function e(){}e.hasDST=function e(t){if(t===void 0){t=We.defaultZone}var r=pi.now().setZone(t).set({month:12});return!t.isUniversal&&r.offset!==r.set({month:6}).offset};e.isValidIANAZone=function e(t){return ue.isValidZone(t)};e.normalizeZone=function e(t){return Ce(t,We.defaultZone)};e.months=function e(t,r){if(t===void 0){t="long"}var n=r===void 0?{}:r,i=n.locale,s=i===void 0?null:i,u=n.numberingSystem,a=u===void 0?null:u,o=n.locObj,c=o===void 0?null:o,h=n.outputCalendar,f=h===void 0?"gregory":h;return(c||De.create(s,a,f)).months(t)};e.monthsFormat=function e(t,r){if(t===void 0){t="long"}var n=r===void 0?{}:r,i=n.locale,s=i===void 0?null:i,u=n.numberingSystem,a=u===void 0?null:u,o=n.locObj,c=o===void 0?null:o,h=n.outputCalendar,f=h===void 0?"gregory":h;return(c||De.create(s,a,f)).months(t,true)};e.weekdays=function e(t,r){if(t===void 0){t="long"}var n=r===void 0?{}:r,i=n.locale,s=i===void 0?null:i,u=n.numberingSystem,a=u===void 0?null:u,o=n.locObj,c=o===void 0?null:o;return(c||De.create(s,a,null)).weekdays(t)};e.weekdaysFormat=function e(t,r){if(t===void 0){t="long"}var n=r===void 0?{}:r,i=n.locale,s=i===void 0?null:i,u=n.numberingSystem,a=u===void 0?null:u,o=n.locObj,c=o===void 0?null:o;return(c||De.create(s,a,null)).weekdays(t,true)};e.meridiems=function e(t){var r=t===void 0?{}:t,n=r.locale,i=n===void 0?null:n;return De.create(i).meridiems()};e.eras=function e(t,r){if(t===void 0){t="short"}var n=r===void 0?{}:r,i=n.locale,s=i===void 0?null:i;return De.create(s,null,"gregory").eras(t)};e.features=function e(){return{relative:Ge()}};return e}();function rn(e,t){var r=function e(t){return t.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},n=r(t)-r(e);return Math.floor(Kr.fromMillis(n).as("days"))}function nn(e,t,r){var n=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter+(t.year-e.year)*4}],["months",function(e,t){return t.month-e.month+(t.year-e.year)*12}],["weeks",function(e,t){var r=rn(e,t);return(r-r%7)/7}],["days",rn]];var i={};var s=e;var u,a;for(var o=0,c=n;o<c.length;o++){var h=c[o],f=h[0],l=h[1];if(r.indexOf(f)>=0){u=f;i[f]=l(e,t);a=s.plus(i);if(a>t){i[f]--;e=s.plus(i)}else{e=a}}}return[e,i,a,u]}function sn(e,t,r,n){var i=nn(e,t,r),s=i[0],u=i[1],a=i[2],o=i[3];var c=t-s;var h=r.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(h.length===0){if(a<t){var f;a=s.plus((f={},f[o]=1,f))}if(a!==s){u[o]=(u[o]||0)+c/(a-s)}}var l=Kr.fromObject(u,n);if(h.length>0){var d;return(d=Kr.fromMillis(c,n)).shiftTo.apply(d,h).plus(l)}else{return l}}var un={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var an={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};var on=un.hanidec.replace(/[\[|\]]/g,"").split("");function cn(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var r=0;r<e.length;r++){var n=e.charCodeAt(r);if(e[r].search(un.hanidec)!==-1){t+=on.indexOf(e[r])}else{for(var i in an){var s=an[i],u=s[0],a=s[1];if(n>=u&&n<=a){t+=n-u}}}}return parseInt(t,10)}else{return t}}function hn(e,t){var r=e.numberingSystem;if(t===void 0){t=""}return new RegExp(""+un[r||"latn"]+t)}var fn="missing Intl.DateTimeFormat.formatToParts support";function ln(e,t){if(t===void 0){t=function e(t){return t}}return{regex:e,deser:function e(r){var n=r[0];return t(cn(n))}}}var dn=String.fromCharCode(160);var vn="[ "+dn+"]";var mn=new RegExp(vn,"g");function yn(e){return e.replace(/\./g,"\\.?").replace(mn,vn)}function kn(e){return e.replace(/\./g,"").replace(mn," ").toLowerCase()}function pn(e,t){if(e===null){return null}else{return{regex:RegExp(e.map(yn).join("|")),deser:function r(n){var i=n[0];return e.findIndex((function(e){return kn(i)===kn(e)}))+t}}}}function gn(e,t){return{regex:e,deser:function e(t){var r=t[1],n=t[2];return ft(r,n)},groups:t}}function wn(e){return{regex:e,deser:function e(t){var r=t[0];return r}}}function bn(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function xn(e,t){var r=hn(t),n=hn(t,"{2}"),i=hn(t,"{3}"),s=hn(t,"{4}"),u=hn(t,"{6}"),a=hn(t,"{1,2}"),o=hn(t,"{1,3}"),c=hn(t,"{1,6}"),h=hn(t,"{1,9}"),f=hn(t,"{2,4}"),l=hn(t,"{4,6}"),d=function e(t){return{regex:RegExp(bn(t.val)),deser:function e(t){var r=t[0];return r},literal:true}},v=function v(m){if(e.literal){return d(m)}switch(m.val){case"G":return pn(t.eras("short",false),0);case"GG":return pn(t.eras("long",false),0);case"y":return ln(c);case"yy":return ln(f,ct);case"yyyy":return ln(s);case"yyyyy":return ln(l);case"yyyyyy":return ln(u);case"M":return ln(a);case"MM":return ln(n);case"MMM":return pn(t.months("short",true,false),1);case"MMMM":return pn(t.months("long",true,false),1);case"L":return ln(a);case"LL":return ln(n);case"LLL":return pn(t.months("short",false,false),1);case"LLLL":return pn(t.months("long",false,false),1);case"d":return ln(a);case"dd":return ln(n);case"o":return ln(o);case"ooo":return ln(i);case"HH":return ln(n);case"H":return ln(a);case"hh":return ln(n);case"h":return ln(a);case"mm":return ln(n);case"m":return ln(a);case"q":return ln(a);case"qq":return ln(n);case"s":return ln(a);case"ss":return ln(n);case"S":return ln(o);case"SSS":return ln(i);case"u":return wn(h);case"uu":return wn(a);case"uuu":return ln(r);case"a":return pn(t.meridiems(),0);case"kkkk":return ln(s);case"kk":return ln(f,ct);case"W":return ln(a);case"WW":return ln(n);case"E":case"c":return ln(r);case"EEE":return pn(t.weekdays("short",false,false),1);case"EEEE":return pn(t.weekdays("long",false,false),1);case"ccc":return pn(t.weekdays("short",true,false),1);case"cccc":return pn(t.weekdays("long",true,false),1);case"Z":case"ZZ":return gn(new RegExp("([+-]"+a.source+")(?::("+n.source+"))?"),2);case"ZZZ":return gn(new RegExp("([+-]"+a.source+")("+n.source+")?"),2);case"z":return wn(/[a-z_+-/]{1,256}?/i);case" ":return wn(/[^\S\n\r]/);default:return d(m)}};var m=v(e)||{invalidReason:fn};m.token=e;return m}var Mn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Tn(e,t){var r=e.type,n=e.value;if(r==="literal"){var i=/^\s+$/.test(n);return{literal:!i,val:i?" ":n}}var s=t[r];var u=Mn[r];if(typeof u==="object"){u=u[s]}if(u){return{literal:false,val:u}}return undefined}function Nn(e){var t=e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"");return["^"+t+"$",e]}function En(e,t,r){var n=e.match(t);if(n){var i={};var s=1;for(var u in r){if(Be(r,u)){var a=r[u],o=a.groups?a.groups+1:1;if(!a.literal&&a.token){i[a.token.val[0]]=a.deser(n.slice(s,s+o))}s+=o}}return[n,i]}else{return[n,{}]}}function Sn(e){var t=function e(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var n;if(!qe(e.z)){r=ue.create(e.z)}if(!qe(e.Z)){if(!r){r=new Oe(e.Z)}n=e.Z}if(!qe(e.q)){e.M=(e.q-1)*3+1}if(!qe(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!qe(e.u)){e.S=rt(e.u)}var i=Object.keys(e).reduce((function(r,n){var i=t(n);if(i){r[i]=e[n]}return r}),{});return[i,r,n]}var Dn=null;function In(){if(!Dn){Dn=pi.fromMillis(1555555555555)}return Dn}function On(e,t){if(e.literal){return e}var r=Lt.macroTokenToFormatOpts(e.val);var n=jn(r,t);if(n==null||n.includes(undefined)){return e}return n}function An(e,t){var r;return(r=Array.prototype).concat.apply(r,e.map((function(e){return On(e,t)})))}function Cn(e,t,r){var n=An(Lt.parseFormat(r),e),i=n.map((function(t){return xn(t,e)})),s=i.find((function(e){return e.invalidReason}));if(s){return{input:t,tokens:n,invalidReason:s.invalidReason}}else{var u=Nn(i),a=u[0],o=u[1],c=RegExp(a,"i"),h=En(t,c,o),f=h[0],l=h[1],d=l?Sn(l):[null,null,undefined],v=d[0],m=d[1],y=d[2];if(Be(l,"a")&&Be(l,"H")){throw new x("Can't include meridiem when specifying 24-hour format")}return{input:t,tokens:n,regex:c,rawMatches:f,matches:l,result:v,zone:m,specificOffset:y}}}function Zn(e,t,r){var n=Cn(e,t,r),i=n.result,s=n.zone,u=n.specificOffset,a=n.invalidReason;return[i,s,u,a]}function jn(e,t){if(!e){return null}var r=Lt.create(t,e);var n=r.formatDateTimeParts(In());return n.map((function(t){return Tn(t,e)}))}var _n=[0,31,59,90,120,151,181,212,243,273,304,334],Ln=[0,31,60,91,121,152,182,213,244,274,305,335];function zn(e,t){return new zt("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Fn(e,t,r){var n=new Date(Date.UTC(e,t-1,r));if(e<100&&e>=0){n.setUTCFullYear(n.getUTCFullYear()-1900)}var i=n.getUTCDay();return i===0?7:i}function Hn(e,t,r){return r+(it(e)?Ln:_n)[t-1]}function Wn(e,t){var r=it(e)?Ln:_n,n=r.findIndex((function(e){return e<t})),i=t-r[n];return{month:n+1,day:i}}function qn(e){var t=e.year,r=e.month,n=e.day,s=Hn(t,r,n),u=Fn(t,r,n);var a=Math.floor((s-u+10)/7),o;if(a<1){o=t-1;a=ot(o)}else if(a>ot(t)){o=t+1;a=1}else{o=t}return i({weekYear:o,weekNumber:a,weekday:u},mt(e))}function Rn(e){var t=e.weekYear,r=e.weekNumber,n=e.weekday,s=Fn(t,1,4),u=st(t);var a=r*7+n-s-3,o;if(a<1){o=t-1;a+=st(o)}else if(a>u){o=t+1;a-=st(t)}else{o=t}var c=Wn(o,a),h=c.month,f=c.day;return i({year:o,month:h,day:f},mt(e))}function Pn(e){var t=e.year,r=e.month,n=e.day;var s=Hn(t,r,n);return i({year:t,ordinal:s},mt(e))}function Yn(e){var t=e.year,r=e.ordinal;var n=Wn(t,r),s=n.month,u=n.day;return i({year:t,month:s,day:u},mt(e))}function Un(e){var t=Pe(e.weekYear),r=Ke(e.weekNumber,1,ot(e.weekYear)),n=Ke(e.weekday,1,7);if(!t){return zn("weekYear",e.weekYear)}else if(!r){return zn("week",e.week)}else if(!n){return zn("weekday",e.weekday)}else return false}function Gn(e){var t=Pe(e.year),r=Ke(e.ordinal,1,st(e.year));if(!t){return zn("year",e.year)}else if(!r){return zn("ordinal",e.ordinal)}else return false}function Jn(e){var t=Pe(e.year),r=Ke(e.month,1,12),n=Ke(e.day,1,ut(e.year,e.month));if(!t){return zn("year",e.year)}else if(!r){return zn("month",e.month)}else if(!n){return zn("day",e.day)}else return false}function $n(e){var t=e.hour,r=e.minute,n=e.second,i=e.millisecond;var s=Ke(t,0,23)||t===24&&r===0&&n===0&&i===0,u=Ke(r,0,59),a=Ke(n,0,59),o=Ke(i,0,999);if(!s){return zn("hour",t)}else if(!u){return zn("minute",r)}else if(!a){return zn("second",n)}else if(!o){return zn("millisecond",i)}else return false}var Vn="Invalid DateTime";var Bn=864e13;function Kn(e){return new zt("unsupported zone",'the zone "'+e.name+'" is not supported')}function Qn(e){if(e.weekData===null){e.weekData=qn(e.c)}return e.weekData}function Xn(e,t){var r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new pi(i({},r,t,{old:r}))}function ei(e,t,r){var n=e-t*60*1e3;var i=r.offset(n);if(t===i){return[n,t]}n-=(i-t)*60*1e3;var s=r.offset(n);if(i===s){return[n,i]}return[e-Math.min(i,s)*60*1e3,Math.max(i,s)]}function ti(e,t){e+=t*60*1e3;var r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function ri(e,t,r){return ei(at(e),t,r)}function ni(e,t){var r=e.o,n=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,u=i({},e.c,{year:n,month:s,day:Math.min(e.c.day,ut(n,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7}),a=Kr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=at(u);var c=ei(o,r,e.zone),h=c[0],f=c[1];if(a!==0){h+=a;f=e.zone.offset(h)}return{ts:h,o:f}}function ii(e,t,r,n,s,u){var a=r.setZone,o=r.zone;if(e&&Object.keys(e).length!==0||t){var c=t||o,h=pi.fromObject(e,i({},r,{zone:c,specificOffset:u}));return a?h:h.setZone(o)}else{return pi.invalid(new zt("unparsable",'the input "'+s+"\" can't be parsed as "+n))}}function si(e,t,r){if(r===void 0){r=true}return e.isValid?Lt.create(De.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,t):null}function ui(e,t){var r=e.c.year>9999||e.c.year<0;var n="";if(r&&e.c.year>=0)n+="+";n+=Xe(e.c.year,r?6:4);if(t){n+="-";n+=Xe(e.c.month);n+="-";n+=Xe(e.c.day)}else{n+=Xe(e.c.month);n+=Xe(e.c.day)}return n}function ai(e,t,r,n,i,s){var u=Xe(e.c.hour);if(t){u+=":";u+=Xe(e.c.minute);if(e.c.second!==0||!r){u+=":"}}else{u+=Xe(e.c.minute)}if(e.c.second!==0||!r){u+=Xe(e.c.second);if(e.c.millisecond!==0||!n){u+=".";u+=Xe(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!s){u+="Z"}else if(e.o<0){u+="-";u+=Xe(Math.trunc(-e.o/60));u+=":";u+=Xe(Math.trunc(-e.o%60))}else{u+="+";u+=Xe(Math.trunc(e.o/60));u+=":";u+=Xe(Math.trunc(e.o%60))}}if(s){u+="["+e.zone.ianaName+"]"}return u}var oi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ci={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hi={ordinal:1,hour:0,minute:0,second:0,millisecond:0};var fi=["year","month","day","hour","minute","second","millisecond"],li=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],di=["year","ordinal","hour","minute","second","millisecond"];function vi(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new M(e);return t}function mi(e,t){var r=Ce(t.zone,We.defaultZone),n=De.fromObject(t),i=We.now();var s,u;if(!qe(e.year)){for(var a=0,o=fi;a<o.length;a++){var c=o[a];if(qe(e[c])){e[c]=oi[c]}}var h=Jn(e)||$n(e);if(h){return pi.invalid(h)}var f=r.offset(i);var l=ri(e,f,r);s=l[0];u=l[1]}else{s=i}return new pi({ts:s,zone:r,loc:n,o:u})}function yi(e,t,r){var n=qe(r.round)?true:r.round,i=function e(i,s){i=nt(i,n||r.calendary?0:2,true);var u=t.loc.clone(r).relFormatter(r);return u.format(i,s)},s=function n(i){if(r.calendary){if(!t.hasSame(e,i)){return t.startOf(i).diff(e.startOf(i),i).get(i)}else return 0}else{return t.diff(e,i).get(i)}};if(r.unit){return i(s(r.unit),r.unit)}for(var u=m(r.units),a;!(a=u()).done;){var o=a.value;var c=s(o);if(Math.abs(c)>=1){return i(c,o)}}return i(e>t?-0:0,r.units[r.units.length-1])}function ki(e){var t={},r;if(e.length>0&&typeof e[e.length-1]==="object"){t=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[t,r]}var pi=function(){function e(e){var t=e.zone||We.defaultZone;var r=e.invalid||(Number.isNaN(e.ts)?new zt("invalid input"):null)||(!t.isValid?Kn(t):null);this.ts=qe(e.ts)?We.now():e.ts;var n=null,i=null;if(!r){var s=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(s){var u=[e.old.c,e.old.o];n=u[0];i=u[1]}else{var a=t.offset(this.ts);n=ti(this.ts,a);r=Number.isNaN(n.year)?new zt("invalid input"):null;n=r?null:n;i=r?null:a}}this._zone=t;this.loc=e.loc||De.create();this.invalid=r;this.weekData=null;this.c=n;this.o=i;this.isLuxonDateTime=true}e.now=function t(){return new e({})};e.local=function e(){var t=ki(arguments),r=t[0],n=t[1],i=n[0],s=n[1],u=n[2],a=n[3],o=n[4],c=n[5],h=n[6];return mi({year:i,month:s,day:u,hour:a,minute:o,second:c,millisecond:h},r)};e.utc=function e(){var t=ki(arguments),r=t[0],n=t[1],i=n[0],s=n[1],u=n[2],a=n[3],o=n[4],c=n[5],h=n[6];r.zone=Oe.utcInstance;return mi({year:i,month:s,day:u,hour:a,minute:o,second:c,millisecond:h},r)};e.fromJSDate=function t(r,n){if(n===void 0){n={}}var i=Ue(r)?r.valueOf():NaN;if(Number.isNaN(i)){return e.invalid("invalid input")}var s=Ce(n.zone,We.defaultZone);if(!s.isValid){return e.invalid(Kn(s))}return new e({ts:i,zone:s,loc:De.fromObject(n)})};e.fromMillis=function t(r,n){if(n===void 0){n={}}if(!Re(r)){throw new T("fromMillis requires a numerical input, but received a "+typeof r+" with value "+r)}else if(r<-Bn||r>Bn){return e.invalid("Timestamp out of range")}else{return new e({ts:r,zone:Ce(n.zone,We.defaultZone),loc:De.fromObject(n)})}};e.fromSeconds=function t(r,n){if(n===void 0){n={}}if(!Re(r)){throw new T("fromSeconds requires a numerical input")}else{return new e({ts:r*1e3,zone:Ce(n.zone,We.defaultZone),loc:De.fromObject(n)})}};e.fromObject=function t(r,n){if(n===void 0){n={}}r=r||{};var i=Ce(n.zone,We.defaultZone);if(!i.isValid){return e.invalid(Kn(i))}var s=We.now(),u=!qe(n.specificOffset)?n.specificOffset:i.offset(s),a=dt(r,vi),o=!qe(a.ordinal),c=!qe(a.year),h=!qe(a.month)||!qe(a.day),f=c||h,l=a.weekYear||a.weekNumber,d=De.fromObject(n);if((f||o)&&l){throw new x("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(h&&o){throw new x("Can't mix ordinal dates with month/day")}var v=l||a.weekday&&!f;var y,k,p=ti(s,u);if(v){y=li;k=ci;p=qn(p)}else if(o){y=di;k=hi;p=Pn(p)}else{y=fi;k=oi}var g=false;for(var w=m(y),b;!(b=w()).done;){var M=b.value;var T=a[M];if(!qe(T)){g=true}else if(g){a[M]=k[M]}else{a[M]=p[M]}}var N=v?Un(a):o?Gn(a):Jn(a),E=N||$n(a);if(E){return e.invalid(E)}var S=v?Rn(a):o?Yn(a):a,D=ri(S,u,i),I=D[0],O=D[1],A=new e({ts:I,zone:i,o:O,loc:d});if(a.weekday&&f&&r.weekday!==A.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+A.toISO())}return A};e.fromISO=function e(t,r){if(r===void 0){r={}}var n=Dr(t),i=n[0],s=n[1];return ii(i,s,r,"ISO 8601",t)};e.fromRFC2822=function e(t,r){if(r===void 0){r={}}var n=Ir(t),i=n[0],s=n[1];return ii(i,s,r,"RFC 2822",t)};e.fromHTTP=function e(t,r){if(r===void 0){r={}}var n=Or(t),i=n[0],s=n[1];return ii(i,s,r,"HTTP",r)};e.fromFormat=function t(r,n,i){if(i===void 0){i={}}if(qe(r)||qe(n)){throw new T("fromFormat requires an input string and a format")}var s=i,u=s.locale,a=u===void 0?null:u,o=s.numberingSystem,c=o===void 0?null:o,h=De.fromOpts({locale:a,numberingSystem:c,defaultToEN:true}),f=Zn(h,r,n),l=f[0],d=f[1],v=f[2],m=f[3];if(m){return e.invalid(m)}else{return ii(l,d,i,"format "+n,r,v)}};e.fromString=function t(r,n,i){if(i===void 0){i={}}return e.fromFormat(r,n,i)};e.fromSQL=function e(t,r){if(r===void 0){r={}}var n=zr(t),i=n[0],s=n[1];return ii(i,s,r,"SQL",t)};e.invalid=function t(r,n){if(n===void 0){n=null}if(!r){throw new T("need to specify a reason the DateTime is invalid")}var t=r instanceof zt?r:new zt(r,n);if(We.throwOnInvalid){throw new g(t)}else{return new e({invalid:t})}};e.isDateTime=function e(t){return t&&t.isLuxonDateTime||false};e.parseFormatForOpts=function e(t,r){if(r===void 0){r={}}var n=jn(t,De.fromObject(r));return!n?null:n.map((function(e){return e?e.val:null})).join("")};e.expandFormat=function e(t,r){if(r===void 0){r={}}var n=An(Lt.parseFormat(t),De.fromObject(r));return n.map((function(e){return e.val})).join("")};var t=e.prototype;t.get=function e(t){return this[t]};t.resolvedLocaleOptions=function e(t){if(t===void 0){t={}}var r=Lt.create(this.loc.clone(t),t).resolvedOptions(this),n=r.locale,i=r.numberingSystem,s=r.calendar;return{locale:n,numberingSystem:i,outputCalendar:s}};t.toUTC=function e(t,r){if(t===void 0){t=0}if(r===void 0){r={}}return this.setZone(Oe.instance(t),r)};t.toLocal=function e(){return this.setZone(We.defaultZone)};t.setZone=function t(r,n){var i=n===void 0?{}:n,s=i.keepLocalTime,u=s===void 0?false:s,a=i.keepCalendarTime,o=a===void 0?false:a;r=Ce(r,We.defaultZone);if(r.equals(this.zone)){return this}else if(!r.isValid){return e.invalid(Kn(r))}else{var c=this.ts;if(u||o){var h=r.offset(this.ts);var f=this.toObject();var l=ri(f,h,r);c=l[0]}return Xn(this,{ts:c,zone:r})}};t.reconfigure=function e(t){var r=t===void 0?{}:t,n=r.locale,i=r.numberingSystem,s=r.outputCalendar;var u=this.loc.clone({locale:n,numberingSystem:i,outputCalendar:s});return Xn(this,{loc:u})};t.setLocale=function e(t){return this.reconfigure({locale:t})};t.set=function e(t){if(!this.isValid)return this;var r=dt(t,vi),n=!qe(r.weekYear)||!qe(r.weekNumber)||!qe(r.weekday),s=!qe(r.ordinal),u=!qe(r.year),a=!qe(r.month)||!qe(r.day),o=u||a,c=r.weekYear||r.weekNumber;if((o||s)&&c){throw new x("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(a&&s){throw new x("Can't mix ordinal dates with month/day")}var h;if(n){h=Rn(i({},qn(this.c),r))}else if(!qe(r.ordinal)){h=Yn(i({},Pn(this.c),r))}else{h=i({},this.toObject(),r);if(qe(r.day)){h.day=Math.min(ut(h.year,h.month),h.day)}}var f=ri(h,this.o,this.zone),l=f[0],d=f[1];return Xn(this,{ts:l,o:d})};t.plus=function e(t){if(!this.isValid)return this;var r=Kr.fromDurationLike(t);return Xn(this,ni(this,r))};t.minus=function e(t){if(!this.isValid)return this;var r=Kr.fromDurationLike(t).negate();return Xn(this,ni(this,r))};t.startOf=function e(t){if(!this.isValid)return this;var r={},n=Kr.normalizeUnit(t);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(n==="weeks"){r.weekday=1}if(n==="quarters"){var i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)};t.endOf=function e(t){var r;return this.isValid?this.plus((r={},r[t]=1,r)).startOf(t).minus(1):this};t.toFormat=function e(t,r){if(r===void 0){r={}}return this.isValid?Lt.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,t):Vn};t.toLocaleString=function e(t,r){if(t===void 0){t=I}if(r===void 0){r={}}return this.isValid?Lt.create(this.loc.clone(r),t).formatDateTime(this):Vn};t.toLocaleParts=function e(t){if(t===void 0){t={}}return this.isValid?Lt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]};t.toISO=function e(t){var r=t===void 0?{}:t,n=r.format,i=n===void 0?"extended":n,s=r.suppressSeconds,u=s===void 0?false:s,a=r.suppressMilliseconds,o=a===void 0?false:a,c=r.includeOffset,h=c===void 0?true:c,f=r.extendedZone,l=f===void 0?false:f;if(!this.isValid){return null}var d=i==="extended";var v=ui(this,d);v+="T";v+=ai(this,d,u,o,h,l);return v};t.toISODate=function e(t){var r=t===void 0?{}:t,n=r.format,i=n===void 0?"extended":n;if(!this.isValid){return null}return ui(this,i==="extended")};t.toISOWeekDate=function e(){return si(this,"kkkk-'W'WW-c")};t.toISOTime=function e(t){var r=t===void 0?{}:t,n=r.suppressMilliseconds,i=n===void 0?false:n,s=r.suppressSeconds,u=s===void 0?false:s,a=r.includeOffset,o=a===void 0?true:a,c=r.includePrefix,h=c===void 0?false:c,f=r.extendedZone,l=f===void 0?false:f,d=r.format,v=d===void 0?"extended":d;if(!this.isValid){return null}var m=h?"T":"";return m+ai(this,v==="extended",u,i,o,l)};t.toRFC2822=function e(){return si(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};t.toHTTP=function e(){return si(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};t.toSQLDate=function e(){if(!this.isValid){return null}return ui(this,true)};t.toSQLTime=function e(t){var r=t===void 0?{}:t,n=r.includeOffset,i=n===void 0?true:n,s=r.includeZone,u=s===void 0?false:s,a=r.includeOffsetSpace,o=a===void 0?true:a;var c="HH:mm:ss.SSS";if(u||i){if(o){c+=" "}if(u){c+="z"}else if(i){c+="ZZ"}}return si(this,c,true)};t.toSQL=function e(t){if(t===void 0){t={}}if(!this.isValid){return null}return this.toSQLDate()+" "+this.toSQLTime(t)};t.toString=function e(){return this.isValid?this.toISO():Vn};t.valueOf=function e(){return this.toMillis()};t.toMillis=function e(){return this.isValid?this.ts:NaN};t.toSeconds=function e(){return this.isValid?this.ts/1e3:NaN};t.toUnixInteger=function e(){return this.isValid?Math.floor(this.ts/1e3):NaN};t.toJSON=function e(){return this.toISO()};t.toBSON=function e(){return this.toJSDate()};t.toObject=function e(t){if(t===void 0){t={}}if(!this.isValid)return{};var r=i({},this.c);if(t.includeConfig){r.outputCalendar=this.outputCalendar;r.numberingSystem=this.loc.numberingSystem;r.locale=this.loc.locale}return r};t.toJSDate=function e(){return new Date(this.isValid?this.ts:NaN)};t.diff=function e(t,r,n){if(r===void 0){r="milliseconds"}if(n===void 0){n={}}if(!this.isValid||!t.isValid){return Kr.invalid("created by diffing an invalid DateTime")}var s=i({locale:this.locale,numberingSystem:this.numberingSystem},n);var u=Je(r).map(Kr.normalizeUnit),a=t.valueOf()>this.valueOf(),o=a?this:t,c=a?t:this,h=sn(o,c,u,s);return a?h.negate():h};t.diffNow=function t(r,n){if(r===void 0){r="milliseconds"}if(n===void 0){n={}}return this.diff(e.now(),r,n)};t.until=function e(t){return this.isValid?en.fromDateTimes(this,t):this};t.hasSame=function e(t,r){if(!this.isValid)return false;var n=t.valueOf();var i=this.setZone(t.zone,{keepLocalTime:true});return i.startOf(r)<=n&&n<=i.endOf(r)};t.equals=function e(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)};t.toRelative=function t(r){if(r===void 0){r={}}if(!this.isValid)return null;var n=r.base||e.fromObject({},{zone:this.zone}),s=r.padding?this<n?-r.padding:r.padding:0;var u=["years","months","days","hours","minutes","seconds"];var a=r.unit;if(Array.isArray(r.unit)){u=r.unit;a=undefined}return yi(n,this.plus(s),i({},r,{numeric:"always",units:u,unit:a}))};t.toRelativeCalendar=function t(r){if(r===void 0){r={}}if(!this.isValid)return null;return yi(r.base||e.fromObject({},{zone:this.zone}),this,i({},r,{numeric:"auto",units:["years","months","days"],calendary:true}))};e.min=function t(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++){n[i]=arguments[i]}if(!n.every(e.isDateTime)){throw new T("min requires all arguments be DateTimes")}return $e(n,(function(e){return e.valueOf()}),Math.min)};e.max=function t(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++){n[i]=arguments[i]}if(!n.every(e.isDateTime)){throw new T("max requires all arguments be DateTimes")}return $e(n,(function(e){return e.valueOf()}),Math.max)};e.fromFormatExplain=function e(t,r,n){if(n===void 0){n={}}var i=n,s=i.locale,u=s===void 0?null:s,a=i.numberingSystem,o=a===void 0?null:a,c=De.fromOpts({locale:u,numberingSystem:o,defaultToEN:true});return Cn(c,t,r)};e.fromStringExplain=function t(r,n,i){if(i===void 0){i={}}return e.fromFormatExplain(r,n,i)};n(e,[{key:"isValid",get:function e(){return this.invalid===null}},{key:"invalidReason",get:function e(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function e(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function e(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function e(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function e(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function e(){return this._zone}},{key:"zoneName",get:function e(){return this.isValid?this.zone.name:null}},{key:"year",get:function e(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function e(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function e(){return this.isValid?this.c.month:NaN}},{key:"day",get:function e(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function e(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function e(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function e(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function e(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function e(){return this.isValid?Qn(this).weekYear:NaN}},{key:"weekNumber",get:function e(){return this.isValid?Qn(this).weekNumber:NaN}},{key:"weekday",get:function e(){return this.isValid?Qn(this).weekday:NaN}},{key:"ordinal",get:function e(){return this.isValid?Pn(this.c).ordinal:NaN}},{key:"monthShort",get:function e(){return this.isValid?tn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function e(){return this.isValid?tn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function e(){return this.isValid?tn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function e(){return this.isValid?tn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function e(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function e(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}}},{key:"offsetNameLong",get:function e(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}}},{key:"isOffsetFixed",get:function e(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function e(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}}},{key:"isInLeapYear",get:function e(){return it(this.year)}},{key:"daysInMonth",get:function e(){return ut(this.year,this.month)}},{key:"daysInYear",get:function e(){return this.isValid?st(this.year):NaN}},{key:"weeksInWeekYear",get:function e(){return this.isValid?ot(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function e(){return I}},{key:"DATE_MED",get:function e(){return O}},{key:"DATE_MED_WITH_WEEKDAY",get:function e(){return A}},{key:"DATE_FULL",get:function e(){return C}},{key:"DATE_HUGE",get:function e(){return Z}},{key:"TIME_SIMPLE",get:function e(){return j}},{key:"TIME_WITH_SECONDS",get:function e(){return _}},{key:"TIME_WITH_SHORT_OFFSET",get:function e(){return L}},{key:"TIME_WITH_LONG_OFFSET",get:function e(){return z}},{key:"TIME_24_SIMPLE",get:function e(){return F}},{key:"TIME_24_WITH_SECONDS",get:function e(){return H}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function e(){return W}},{key:"TIME_24_WITH_LONG_OFFSET",get:function e(){return q}},{key:"DATETIME_SHORT",get:function e(){return R}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function e(){return P}},{key:"DATETIME_MED",get:function e(){return Y}},{key:"DATETIME_MED_WITH_SECONDS",get:function e(){return U}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function e(){return G}},{key:"DATETIME_FULL",get:function e(){return J}},{key:"DATETIME_FULL_WITH_SECONDS",get:function e(){return $}},{key:"DATETIME_HUGE",get:function e(){return V}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function e(){return B}}]);return e}();function gi(e){if(pi.isDateTime(e)){return e}else if(e&&e.valueOf&&Re(e.valueOf())){return pi.fromJSDate(e)}else if(e&&typeof e==="object"){return pi.fromObject(e)}else{throw new T("Unknown datetime argument: "+e+", of type "+typeof e)}}var wi="3.3.0";t.DateTime=pi;t.Duration=Kr;t.FixedOffsetZone=Oe;t.IANAZone=ue;t.Info=tn;t.Interval=en;t.InvalidZone=Ae;t.Settings=We;t.SystemZone=X;t.VERSION=wi;t.Zone=K}));const o=".sc-ix-date-picker-h ix-date-time-card.sc-ix-date-picker{display:inline-block}.sc-ix-date-picker-h .header.sc-ix-date-picker{display:flex;align-items:center;justify-content:space-between}.sc-ix-date-picker-h .selector.sc-ix-date-picker{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0.25rem 1rem}.sc-ix-date-picker-h .selector.sc-ix-date-picker .dropdown.sc-ix-date-picker{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .fontSize.sc-ix-date-picker{font-size:16px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .capitalize.sc-ix-date-picker{text-transform:capitalize}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker:hover{background-color:var(--theme-select-list-item--background--hover)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.selected.sc-ix-date-picker{background-color:var(--theme-select-list-item--background--selected)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .arrowPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .checkPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .monthMargin.sc-ix-date-picker{margin-left:10px}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker{display:flex}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker .overflow.sc-ix-date-picker{overflow-y:scroll;max-height:250px}.sc-ix-date-picker-h .grid.sc-ix-date-picker{display:grid;grid-template-columns:repeat(8, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker{border:1px solid var(--theme-datepicker-today--border-color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker{box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.disabled.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default;pointer-events:none}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-day.sc-ix-date-picker{color:var(--theme-datepicker-weekday--color);font-size:12px;line-height:20px;border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.empty-day.sc-ix-date-picker{border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-number.sc-ix-date-picker{font-size:10px;line-height:14px;color:var(--theme-datepicker-ix--color);border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:focus-visible{background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}.sc-ix-date-picker-h .button.sc-ix-date-picker{display:flex;justify-content:flex-end}.sc-ix-date-picker-h .hidden.sc-ix-date-picker{display:none}";const c=class{constructor(r){e(this,r);this.dateChange=t(this,"dateChange",7);this.dateRangeChange=t(this,"dateRangeChange",7);this.done=t(this,"done",7);this.dateSelect=t(this,"dateSelect",7);this.daysInWeek=7;this.dayNames=a.Info.weekdays();this.monthNames=a.Info.months();this.format="yyyy/LL/dd";this.range=true;this.individual=true;this.corners="rounded";this.from=a.DateTime.now().toFormat(this.format);this.to=null;this.minDate=undefined;this.maxDate=undefined;this.eventDelimiter=" - ";this.textSelectDate="Done";this.yearValue=this.year;this.today=a.DateTime.now();this.monthValue=this.month;this.calendar=[];this.years=[...Array(10).keys()].map((e=>e+this.year-5));this.tempYear=this.yearValue;this.tempMonth=this.monthValue;this.start=a.DateTime.fromObject({year:this.year,month:this.month,day:this.day});this.end=this.to?a.DateTime.fromFormat(this.to,this.format):null;this.dropdownButtonRef=undefined;this.yearContainerRef=undefined}get year(){if(this.from!==null){return a.DateTime.fromFormat(this.from,this.format).year}return a.DateTime.now().year}get day(){if(this.from!==null){return a.DateTime.fromFormat(this.from,this.format).day}return null}get month(){if(this.from!==null){return a.DateTime.fromFormat(this.from,this.format).month}return a.DateTime.now().month}onDone(){var e,t;this.done.emit(this.getOutputFormat());this.dateSelect.emit({from:(e=this.start)===null||e===void 0?void 0:e.toFormat(this.format),to:(t=this.end)===null||t===void 0?void 0:t.toFormat(this.format)})}onDateChange(){var e,t;const r=(e=this.start)===null||e===void 0?void 0:e.toFormat(this.format);const n=(t=this.end)===null||t===void 0?void 0:t.toFormat(this.format);this.from=r;this.to=n;if(this.eventDelimiter){this.dateChange.emit(this.getOutputFormat())}else{this.dateChange.emit({from:r,to:n})}if(this.range){this.dateRangeChange.emit({from:r,to:n})}}getStartOfMonth(e=a.DateTime.local().get("year"),t=a.DateTime.local().get("month")){return a.DateTime.local(e,t).startOf("month")}getEndOfMonth(e=a.DateTime.local().get("year"),t=a.DateTime.local().get("month")){return a.DateTime.local(e,t).endOf("month")}getDaysInMonth(e=this.getStartOfMonth(),t=this.getEndOfMonth()){return Math.ceil(t.diff(e,"days").days)}calculateCalendar(){const e=this.getStartOfMonth(this.yearValue,this.monthValue);const t=this.getEndOfMonth(this.yearValue,this.monthValue);const r=this.getDaysInMonth(e,t);const n=6;const i=n*this.daysInWeek;const s=e.weekday;const u=s-1;const o=i-r-u;let c=[];const h=[];let f=[...new Array(i).keys()].map((e=>e+1));f.unshift(...new Array(u));f=f.slice(0,f.length-u-o);f.push(...new Array(o));c=f.reduce(((e,t,r)=>{const n=Math.floor(r/this.daysInWeek);if(!e[n])e[n]=[];e[n].push(t);return e}),[]);for(let e=1;e<=n;e++){const t=c[e-1];const r=t.find((e=>e!==undefined));const n=r?a.DateTime.local(this.yearValue,this.monthValue,c[e-1][0]).weekNumber:undefined;h.push([n,t])}this.calendar=h}changeMonth(e){if(this.monthValue+e<1){this.yearValue--;this.monthValue=12}else if(this.monthValue+e>12){this.yearValue++;this.monthValue=1}else{this.monthValue+=e}this.calculateCalendar()}selectMonth(e){this.monthValue=e;this.yearValue=this.tempYear;this.tempMonth=e}infiniteScrollYears(){const e=this.yearContainerRef.scrollTop;const t=this.yearContainerRef.scrollHeight;const r=e===0;const n=e+this.yearContainerRef.getBoundingClientRect().height===t;const i=200;if(this.years.length>i)return;if(r){this.years=[...[...Array(5).keys()].map((e=>e+this.years[0]-5)),...this.years];this.yearContainerRef.scroll({behavior:"smooth",top:e+100})}if(n){this.years=[...this.years,...[...Array(5).keys()].map((e=>e+this.years[this.years.length-1]))];this.yearContainerRef.scroll({behavior:"smooth",top:e-50})}}selectTempYear(e,t){e.stopPropagation();this.tempYear=t}getDayClasses(e){var t,r;if(!e){return}const n=a.DateTime.local();const i=a.DateTime.local(this.yearValue,this.monthValue,e);const s=i.toISO();const u=(t=this.start)===null||t===void 0?void 0:t.toISO();const o=(r=this.end)===null||r===void 0?void 0:r.toISO();const c=Math.ceil(i.diff(n,"days").days)===0;return{"calendar-item":true,"empty-day":e===undefined,today:c,selected:this.start&&s===u||this.end&&s===o,range:this.start&&this.end&&s>u&&s<o,disabled:!this.isWithinMinMax(i)}}selectDay(e){const t=a.DateTime.local(this.yearValue,this.monthValue,e);const r=this.start&&this.start.toISO()<t.toISO();const n=this.start&&!this.end&&this.start.toISO()===t.toISO();if(e===undefined)return;if(n){this.start=null;this.onDateChange();return}if(this.range){if(this.start===null){this.start=t}else if(this.end===null){if(r){this.end=t}else{this.end=this.start;this.start=t}}else{this.start=t;this.end=null}}else{this.start=t}this.onDateChange()}getOutputFormat(){if(!this.start){return null}if(!this.end){return this.start.toFormat(this.format)}return[this.start.toFormat(this.format),this.end.toFormat(this.format)].join(this.eventDelimiter)}isWithinMinMax(e){const t=e.toISO();const r=this.minDate?a.DateTime.fromFormat(this.minDate,this.format):null;const n=this.maxDate?a.DateTime.fromFormat(this.maxDate,this.format):null;return(!r||r.toISO()<=t)&&(!n||n.toISO()>=t)}componentWillLoad(){if(this.from===null){this.start=null}if(this.year!==null){this.yearValue=this.year}if(this.month){this.monthValue=this.month}}componentWillRender(){this.calculateCalendar()}async getCurrentDate(){var e,t;return{start:(e=this.start)===null||e===void 0?void 0:e.toFormat(this.format),end:(t=this.end)===null||t===void 0?void 0:t.toFormat(this.format)}}render(){return r(i,null,r("ix-date-time-card",{individual:this.individual,corners:this.corners},r("div",{class:"header",slot:"header"},r("ix-icon-button",{onClick:()=>this.changeMonth(-1),ghost:true,icon:"chevron-left",variant:"Primary",class:"arrows"}),r("div",{class:"selector"},r("ix-button",{ghost:true,ref:e=>this.dropdownButtonRef=e},r("span",{class:"fontSize capitalize"},this.monthNames[this.monthValue-1]," ",this.yearValue)),r("ix-dropdown",{class:"dropdown",trigger:this.dropdownButtonRef,placement:"bottom"},r("div",{class:"wrapper"},r("div",{class:"overflow",onScroll:()=>this.infiniteScrollYears(),ref:e=>this.yearContainerRef=e},this.years.map((e=>r("div",{key:e,class:{arrowYear:true},onClick:t=>this.selectTempYear(t,e)},r("ix-icon",{class:{hidden:this.tempYear!==e,arrowPosition:true},name:"chevron-right",size:"12"}),r("div",{style:{"min-width":"max-content"}},`${e}`))))),r("div",{class:"overflow"},this.monthNames.map(((e,t)=>r("div",{key:e,class:{arrowYear:true,selected:this.tempMonth-1===t},onClick:()=>this.selectMonth(t+1)},r("ix-icon",{class:{hidden:this.tempMonth-1!==t,checkPosition:true},name:"single-check",size:"16"}),r("div",null,r("span",{class:{capitalize:true,monthMargin:true}},`${e} ${this.tempYear}`))))))))),r("ix-icon-button",{onClick:()=>this.changeMonth(1),ghost:true,icon:"chevron-right",variant:"Primary",class:"arrows"})),r("div",{class:"grid"},r("div",{class:"calendar-item week-day"}),this.dayNames.map((e=>r("div",{key:e,class:"calendar-item week-day"},e.slice(0,3)))),this.calendar.map((e=>r(n,null,r("div",{class:"calendar-item week-number"},e[0]),e[1].map((e=>r("div",{key:e,class:this.getDayClasses(e),onClick:()=>this.selectDay(e)},e))))))),r("div",{class:{button:true,hidden:!this.individual}},r("ix-button",{onClick:()=>this.onDone()},this.textSelectDate))))}};c.style=o;const h=".header.sc-ix-time-picker{display:flex;align-items:center;justify-content:center}.title.sc-ix-time-picker{display:flex;align-items:center;font:var(--theme-text-default-title);min-height:2.5rem;color:var(--theme-datepicker-time-header--color)}.clock.sc-ix-time-picker{height:100%;display:flex;justify-content:center;align-items:center;padding:5rem 0}input.sc-ix-time-picker,.time-reference.sc-ix-time-picker{width:2.625rem;height:1.5rem;text-align:center;margin-top:0.5rem;margin-bottom:0.5rem}input.sc-ix-time-picker::-webkit-outer-spin-button,input.sc-ix-time-picker::-webkit-inner-spin-button,.time-reference.sc-ix-time-picker::-webkit-outer-spin-button,.time-reference.sc-ix-time-picker::-webkit-inner-spin-button{-webkit-appearance:none;margin:0 0.3125rem}input[type=number].sc-ix-time-picker,.time-reference[type=number].sc-ix-time-picker{-moz-appearance:textfield}.form-control[type=number].sc-ix-time-picker{text-align:center}.columns.sc-ix-time-picker{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.column-seperator.sc-ix-time-picker{display:flex;align-items:center;margin:0 0.25rem}.button.sc-ix-time-picker{display:flex;justify-content:flex-end}.default-space.sc-ix-time-picker{margin-left:1rem}.text-align.sc-ix-time-picker{text-align:center}.hidden.sc-ix-time-picker{display:none}.time-reference.sc-ix-time-picker{margin:0.75rem 0}";const f=class{constructor(r){e(this,r);this.done=t(this,"done",7);this.timeChange=t(this,"timeChange",7);this._time=a.DateTime.now();this.format="TT";this.corners="rounded";this.individual=true;this.showHour=false;this.showMinutes=false;this.showSeconds=false;this.time=a.DateTime.now().toFormat(this.format);this.showTimeReference=undefined;this.timeReference=a.DateTime.fromFormat(this.time,this.format).toFormat("a");this.textSelectTime="Done";this.hourInputRef=undefined;this.minuteInputRef=undefined;this.secondInputRef=undefined;this.referenceInputRef=undefined}get hour(){return this._time.hour}get minutes(){return this._time.minute}get seconds(){return this._time.second}setInputValue(e,t,r){if(t>r){e.value=r.toString()}else if(t<0){e.value="0"}else{e.value=t.toString()}this.updateAndEmitTime()}updateAndEmitTime(){this._time=this._time.set({hour:Number(this.hourInputRef.value),minute:Number(this.minuteInputRef.value),second:Number(this.secondInputRef.value)});this.setHourAccordingToReference();this.emitTimeChange()}toggleInputValue(e,t,r,n){if(r==="up"){if(t===n){e.value="0"}else{e.stepUp()}}else{if(t===0){e.value=n.toString()}else{e.stepDown()}}}toggleHourInputWithRef(e,t,r){if(r==="up"){if(t===this.getMaxHour()){e.value="0"}else{e.stepUp()}}else{if(this.showTimeReference&&this.timeReference==="PM"&&t===12||t===0){e.value=this.getMaxDisplayedHour().toString()}else{e.stepDown()}}}updateInput(e,{hours:t=undefined,minutes:r=undefined,seconds:n=undefined}){if(t){if(this.showTimeReference){this.toggleHourInputWithRef(this.hourInputRef,this.hour,e)}else{this.toggleInputValue(this.hourInputRef,this.hour,e,23)}}if(r){this.toggleInputValue(this.minuteInputRef,this.minutes,e,59)}if(n){this.toggleInputValue(this.secondInputRef,this.seconds,e,59)}this.updateAndEmitTime()}changeReference(){if(this.timeReference==="AM"){this.timeReference="PM"}else{this.timeReference="AM"}this.setHourAccordingToReference();this.emitTimeChange()}setHourAccordingToReference(){if(!this.showTimeReference){return}let e=Number(this.hourInputRef.value);if(this.timeReference==="PM")e+=12;this._time=this._time.set({hour:e})}emitTimeChange(){const e=this._time.toFormat(this.format);this.timeChange.emit(e)}componentWillLoad(){this._time=a.DateTime.fromFormat(this.time,this.format);if(this.showTimeReference===undefined){const e=Object.keys(a.DateTime.fromFormatExplain(this.time,this.format).matches);this.showTimeReference=e.includes("a")}}async getCurrentTime(){return this._time.toFormat(this.format)}getDisplayedHour(){if(this.showTimeReference&&this.timeReference==="PM"){return this._time.hour-12}return this._time.hour}getMaxDisplayedHour(){if(this.showTimeReference){return 11}return 23}getMaxHour(){if(this.showTimeReference&&this.timeReference==="AM"){return 11}return 23}render(){let e=!this.showHour;let t=!this.showMinutes;let n=!this.showSeconds;const s=!this.showTimeReference;const u=!this.individual;if(e&&t&&n){e=false;t=false;n=false}const a=t||e;const o=n||t;return r(i,null,r("ix-date-time-card",{individual:this.individual,corners:this.corners},r("div",{class:"header",slot:"header"},r("div",{class:"title"},"Time")),r("div",{class:"clock"},r("div",{class:{columns:true,hidden:e}},r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{hours:true}),ghost:true,icon:"chevron-up",variant:"Primary",class:"arrows"}),r("input",{class:"form-control",name:"hours",type:"number",placeholder:"HH",min:"0",max:this.getMaxDisplayedHour(),value:this.getDisplayedHour(),ref:e=>this.hourInputRef=e,onChange:()=>this.setInputValue(this.hourInputRef,Number(this.hourInputRef.value),this.getMaxDisplayedHour())}),r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{hours:true}),ghost:true,icon:"chevron-down",variant:"Primary",class:"arrows"})),r("div",{class:{"column-seperator":true,hidden:a}},":"),r("div",{class:{columns:true,hidden:t}},r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{minutes:true}),ghost:true,icon:"chevron-up",variant:"Primary",class:"arrows"}),r("input",{class:"form-control",name:"minutes",type:"number",placeholder:"MM",min:"0",max:"59",value:this.minutes,ref:e=>this.minuteInputRef=e,onChange:()=>this.setInputValue(this.minuteInputRef,Number(this.minuteInputRef.value),59)}),r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{minutes:true}),ghost:true,icon:"chevron-down",variant:"Primary",class:"arrows"})),r("div",{class:{"column-seperator":true,hidden:o}},":"),r("div",{class:{columns:true,hidden:n}},r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{seconds:true}),ghost:true,icon:"chevron-up",variant:"Primary",class:"arrows"}),r("input",{class:"form-control",name:"seconds",type:"number",placeholder:"SS",min:"0",max:"59",value:this.seconds,ref:e=>this.secondInputRef=e,onChange:()=>this.setInputValue(this.secondInputRef,Number(this.secondInputRef.value),59)}),r("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{seconds:true}),ghost:true,icon:"chevron-down",variant:"Primary",class:"arrows"})),r("div",{class:{columns:true,"default-space":true,hidden:s}},r("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:true,icon:"chevron-up",variant:"Primary",class:"arrows"}),r("div",{class:"time-reference"},this.timeReference),r("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:true,icon:"chevron-down",variant:"Primary",class:"arrows"}))),r("div",{class:{button:true,hidden:u}},r("ix-button",{onClick:()=>this.done.emit(this._time.toFormat(this.format))},this.textSelectTime))))}get hostElement(){return s(this)}};f.style=h;export{c as ix_date_picker,f as ix_time_picker};
2
- //# sourceMappingURL=p-f207e578.entry.js.map
@@ -1,2 +0,0 @@
1
- function t(t){return t.split("-")[1]}function n(t){return t==="y"?"height":"width"}function e(t){return t.split("-")[0]}function o(t){return["top","bottom"].includes(e(t))?"x":"y"}function r(r,s,c){let{reference:i,floating:l}=r;const a=i.x+i.width/2-l.width/2;const f=i.y+i.height/2-l.height/2;const u=o(s);const d=n(u);const m=i[d]/2-l[d]/2;const y=e(s);const p=u==="x";let g;switch(y){case"top":g={x:a,y:i.y-l.height};break;case"bottom":g={x:a,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:f};break;case"left":g={x:i.x-l.width,y:f};break;default:g={x:i.x,y:i.y}}switch(t(s)){case"start":g[u]-=m*(c&&p?-1:1);break;case"end":g[u]+=m*(c&&p?-1:1);break}return g}const s=async(t,n,e)=>{const{placement:o="bottom",strategy:s="absolute",middleware:c=[],platform:i}=e;const l=c.filter(Boolean);const a=await(i.isRTL==null?void 0:i.isRTL(n));let f=await i.getElementRects({reference:t,floating:n,strategy:s});let{x:u,y:d}=r(f,o,a);let m=o;let y={};let p=0;for(let e=0;e<l.length;e++){const{name:c,fn:g}=l[e];const{x:h,y:x,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:s,middlewareData:y,rects:f,platform:i,elements:{reference:t,floating:n}});u=h!=null?h:u;d=x!=null?x:d;y={...y,[c]:{...y[c],...w}};if(v&&p<=50){p++;if(typeof v==="object"){if(v.placement){m=v.placement}if(v.rects){f=v.rects===true?await i.getElementRects({reference:t,floating:n,strategy:s}):v.rects}({x:u,y:d}=r(f,m,a))}e=-1;continue}}return{x:u,y:d,placement:m,strategy:s,middlewareData:y}};function c(t){return{top:0,right:0,bottom:0,left:0,...t}}function i(t){return typeof t!=="number"?c(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function a(t,n){var e;if(n===void 0){n={}}const{x:o,y:r,platform:s,rects:c,elements:a,strategy:f}=t;const{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:y=false,padding:p=0}=n;const g=i(p);const h=m==="floating"?"reference":"floating";const x=a[y?h:m];const w=l(await s.getClippingRect({element:((e=await(s.isElement==null?void 0:s.isElement(x)))!=null?e:true)?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:f}));const v=m==="floating"?{...c.floating,x:o,y:r}:c.reference;const b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating));const A=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1};const R=l(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:f}):v);return{top:(w.top-R.top+g.top)/A.y,bottom:(R.bottom-w.bottom+g.bottom)/A.y,left:(w.left-R.left+g.left)/A.x,right:(R.right-w.right+g.right)/A.x}}const f=Math.min;const u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=e=>({name:"arrow",options:e,async fn(r){const{element:s,padding:c=0}=e||{};const{x:l,y:a,placement:f,rects:u,platform:m}=r;if(s==null){return{}}const y=i(c);const p={x:l,y:a};const g=o(f);const h=n(g);const x=await m.getDimensions(s);const w=g==="y"?"top":"left";const v=g==="y"?"bottom":"right";const b=u.reference[h]+u.reference[g]-p[g]-u.floating[h];const A=p[g]-u.reference[g];const R=await(m.getOffsetParent==null?void 0:m.getOffsetParent(s));let k=R?g==="y"?R.clientHeight||0:R.clientWidth||0:0;if(k===0){k=u.floating[h]}const P=b/2-A/2;const F=y[w];const D=k-x[h]-y[v];const S=k/2-x[h]/2+P;const B=d(F,S,D);const M=t(f)!=null&&S!=B&&u.reference[h]/2-(S<F?y[w]:y[v])-x[h]/2<0;const T=M?S<F?F-S:D-S:0;return{[g]:p[g]-T,data:{[g]:B,centerOffset:S-B}}}});const y=["top","right","bottom","left"];const p=y.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]);const g={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function x(e,r,s){if(s===void 0){s=false}const c=t(e);const i=o(e);const l=n(i);let a=i==="x"?c===(s?"end":"start")?"right":"left":c==="start"?"bottom":"top";if(r.reference[l]>r.floating[l]){a=h(a)}return{main:a,cross:h(a)}}const w={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>w[t]))}function b(n,o,r){const s=n?[...r.filter((e=>t(e)===n)),...r.filter((e=>t(e)!==n))]:r.filter((t=>e(t)===t));return s.filter((e=>{if(n){return t(e)===n||(o?v(e)!==e:false)}return true}))}const A=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,async fn(n){var o,r,s;const{rects:c,middlewareData:i,placement:l,platform:f,elements:u}=n;const{alignment:d,allowedPlacements:m=p,autoAlignment:y=true,...g}=t;const h=d!==undefined||m===p?b(d||null,y,m):m;const w=await a(n,g);const v=((o=i.autoPlacement)==null?void 0:o.index)||0;const A=h[v];if(A==null){return{}}const{main:R,cross:k}=x(A,c,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==A){return{reset:{placement:h[0]}}}const P=[w[e(A)],w[R],w[k]];const F=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:A,overflows:P}];const D=h[v+1];if(D){return{data:{index:v+1,overflows:F},reset:{placement:D}}}const S=F.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0]));const B=(s=S.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))==null?void 0:s.placement;const M=B||S[0].placement;if(M!==l){return{data:{index:v+1,overflows:F},reset:{placement:M}}}return{}}}};function R(t){const n=h(t);return[v(t),n,v(n)]}function k(t,n,e){const o=["left","right"];const r=["right","left"];const s=["top","bottom"];const c=["bottom","top"];switch(t){case"top":case"bottom":if(e)return n?r:o;return n?o:r;case"left":case"right":return n?s:c;default:return[]}}function P(n,o,r,s){const c=t(n);let i=k(e(n),r==="start",s);if(c){i=i.map((t=>t+"-"+c));if(o){i=i.concat(i.map(v))}}return i}const F=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var o;const{placement:r,middlewareData:s,rects:c,initialPlacement:i,platform:l,elements:f}=n;const{mainAxis:u=true,crossAxis:d=true,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=true,...w}=t;const v=e(r);const b=e(i)===i;const A=await(l.isRTL==null?void 0:l.isRTL(f.floating));const k=m||(b||!g?[h(i)]:R(i));if(!m&&p!=="none"){k.push(...P(i,g,p,A))}const F=[i,...k];const D=await a(n,w);const S=[];let B=((o=s.flip)==null?void 0:o.overflows)||[];if(u){S.push(D[v])}if(d){const{main:t,cross:n}=x(r,c,A);S.push(D[t],D[n])}B=[...B,{placement:r,overflows:S}];if(!S.every((t=>t<=0))){var M;const t=(((M=s.flip)==null?void 0:M.index)||0)+1;const n=F[t];if(n){return{data:{index:t,overflows:B},reset:{placement:n}}}let e="bottom";switch(y){case"bestFit":{var T;const t=(T=B.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:T[0].placement;if(t){e=t}break}case"initialPlacement":e=i;break}if(r!==e){return{reset:{placement:e}}}}return{}}}};const D=function(t){if(t===void 0){t={}}return{name:"inline",options:t,async fn(n){const{placement:r,elements:s,rects:c,platform:a,strategy:d}=n;const{padding:m=2,x:y,y:p}=t;const g=l(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:c.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:d}):c.reference);const h=await(a.getClientRects==null?void 0:a.getClientRects(s.reference))||[];const x=i(m);function w(){if(h.length===2&&h[0].left>h[1].right&&y!=null&&p!=null){return h.find((t=>y>t.left-x.left&&y<t.right+x.right&&p>t.top-x.top&&p<t.bottom+x.bottom))||g}if(h.length>=2){if(o(r)==="x"){const t=h[0];const n=h[h.length-1];const o=e(r)==="top";const s=t.top;const c=n.bottom;const i=o?t.left:n.left;const l=o?t.right:n.right;const a=l-i;const f=c-s;return{top:s,bottom:c,left:i,right:l,width:a,height:f,x:i,y:s}}const t=e(r)==="left";const n=u(...h.map((t=>t.right)));const s=f(...h.map((t=>t.left)));const c=h.filter((e=>t?e.left===s:e.right===n));const i=c[0].top;const l=c[c.length-1].bottom;const a=s;const d=n;const m=d-a;const y=l-i;return{top:i,bottom:l,left:a,right:d,width:m,height:y,x:a,y:i}}return g}const v=await a.getElementRects({reference:{getBoundingClientRect:w},floating:s.floating,strategy:d});if(c.reference.x!==v.reference.x||c.reference.y!==v.reference.y||c.reference.width!==v.reference.width||c.reference.height!==v.reference.height){return{reset:{rects:v}}}return{}}}};async function S(n,r){const{placement:s,platform:c,elements:i}=n;const l=await(c.isRTL==null?void 0:c.isRTL(i.floating));const a=e(s);const f=t(s);const u=o(s)==="x";const d=["left","top"].includes(a)?-1:1;const m=l&&u?-1:1;const y=typeof r==="function"?r(n):r;let{mainAxis:p,crossAxis:g,alignmentAxis:h}=typeof y==="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};if(f&&typeof h==="number"){g=f==="end"?h*-1:h}return u?{x:g*m,y:p*d}:{x:p*d,y:g*m}}const B=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){const{x:e,y:o}=n;const r=await S(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function M(t){return t==="x"?"y":"x"}const T=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:r,y:s,placement:c}=n;const{mainAxis:i=true,crossAxis:l=false,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=t;const m={x:r,y:s};const y=await a(n,u);const p=o(e(c));const g=M(p);let h=m[p];let x=m[g];if(i){const t=p==="y"?"top":"left";const n=p==="y"?"bottom":"right";const e=h+y[t];const o=h-y[n];h=d(e,h,o)}if(l){const t=g==="y"?"top":"left";const n=g==="y"?"bottom":"right";const e=x+y[t];const o=x-y[n];x=d(e,x,o)}const w=f.fn({...n,[p]:h,[g]:x});return{...w,data:{x:w.x-r,y:w.y-s}}}}};function z(t){var n;return((n=t.ownerDocument)==null?void 0:n.defaultView)||window}function C(t){return z(t).getComputedStyle(t)}function L(t){return q(t)?(t.nodeName||"").toLowerCase():""}let O;function E(){if(O){return O}const t=navigator.userAgentData;if(t&&Array.isArray(t.brands)){O=t.brands.map((t=>t.brand+"/"+t.version)).join(" ");return O}return navigator.userAgent}function N(t){return t instanceof z(t).HTMLElement}function j(t){return t instanceof z(t).Element}function q(t){return t instanceof z(t).Node}function V(t){if(typeof ShadowRoot==="undefined"){return false}const n=z(t).ShadowRoot;return t instanceof n||t instanceof ShadowRoot}function X(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=C(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function Y(t){return["table","td","th"].includes(L(t))}function _(t){const n=/firefox/i.test(E());const e=C(t);const o=e.backdropFilter||e.WebkitBackdropFilter;return e.transform!=="none"||e.perspective!=="none"||(o?o!=="none":false)||n&&e.willChange==="filter"||n&&(e.filter?e.filter!=="none":false)||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return n!=null?n.includes(t):false}))}function G(){return!/^((?!chrome|android).)*safari/i.test(E())}function H(t){return["html","body","#document"].includes(L(t))}const I=Math.min;const J=Math.max;const K=Math.round;function Q(t){const n=C(t);let e=parseFloat(n.width);let o=parseFloat(n.height);const r=t.offsetWidth;const s=t.offsetHeight;const c=K(e)!==r||K(o)!==s;if(c){e=r;o=s}return{width:e,height:o,fallback:c}}function U(t){return!j(t)?t.contextElement:t}const W={x:1,y:1};function Z(t){const n=U(t);if(!N(n)){return W}const e=n.getBoundingClientRect();const{width:o,height:r,fallback:s}=Q(n);let c=(s?K(e.width):e.width)/o;let i=(s?K(e.height):e.height)/r;if(!c||!Number.isFinite(c)){c=1}if(!i||!Number.isFinite(i)){i=1}return{x:c,y:i}}function $(t,n,e,o){var r,s;if(n===void 0){n=false}if(e===void 0){e=false}const c=t.getBoundingClientRect();const i=U(t);let l=W;if(n){if(o){if(j(o)){l=Z(o)}}else{l=Z(t)}}const a=i?z(i):window;const f=!G()&&e;let u=(c.left+(f?((r=a.visualViewport)==null?void 0:r.offsetLeft)||0:0))/l.x;let d=(c.top+(f?((s=a.visualViewport)==null?void 0:s.offsetTop)||0:0))/l.y;let m=c.width/l.x;let y=c.height/l.y;if(i){const t=z(i);const n=o&&j(o)?z(o):o;let e=t.frameElement;while(e&&o&&n!==t){const t=Z(e);const n=e.getBoundingClientRect();const o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x;n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y;u*=t.x;d*=t.y;m*=t.x;y*=t.y;u+=n.x;d+=n.y;e=z(e).frameElement}}return{width:m,height:y,top:d,right:u+m,bottom:d+y,left:u,x:u,y:d}}function tt(t){return((q(t)?t.ownerDocument:t.document)||window.document).documentElement}function nt(t){if(j(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function et(t){return $(tt(t)).left+nt(t).scrollLeft}function ot(t,n,e){const o=N(n);const r=tt(n);const s=$(t,true,e==="fixed",n);let c={scrollLeft:0,scrollTop:0};const i={x:0,y:0};if(o||!o&&e!=="fixed"){if(L(n)!=="body"||X(r)){c=nt(n)}if(N(n)){const t=$(n,true);i.x=t.x+n.clientLeft;i.y=t.y+n.clientTop}else if(r){i.x=et(r)}}return{x:s.left+c.scrollLeft-i.x,y:s.top+c.scrollTop-i.y,width:s.width,height:s.height}}function rt(t){if(L(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||(V(t)?t.host:null)||tt(t);return V(n)?n.host:n}function st(t){if(!N(t)||C(t).position==="fixed"){return null}return t.offsetParent}function ct(t){let n=rt(t);while(N(n)&&!H(n)){if(_(n)){return n}else{n=rt(n)}}return null}function it(t){const n=z(t);let e=st(t);while(e&&Y(e)&&C(e).position==="static"){e=st(e)}if(e&&(L(e)==="html"||L(e)==="body"&&C(e).position==="static"&&!_(e))){return n}return e||ct(t)||n}function lt(t){return Q(t)}function at(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=N(e);const s=tt(e);if(e===s){return n}let c={scrollLeft:0,scrollTop:0};let i={x:1,y:1};const l={x:0,y:0};if(r||!r&&o!=="fixed"){if(L(e)!=="body"||X(s)){c=nt(e)}if(N(e)){const t=$(e);i=Z(e);l.x=t.x+e.clientLeft;l.y=t.y+e.clientTop}}return{width:n.width*i.x,height:n.height*i.y,x:n.x*i.x-c.scrollLeft*i.x+l.x,y:n.y*i.y-c.scrollTop*i.y+l.y}}function ft(t,n){const e=z(t);const o=tt(t);const r=e.visualViewport;let s=o.clientWidth;let c=o.clientHeight;let i=0;let l=0;if(r){s=r.width;c=r.height;const t=G();if(t||!t&&n==="fixed"){i=r.offsetLeft;l=r.offsetTop}}return{width:s,height:c,x:i,y:l}}function ut(t){var n;const e=tt(t);const o=nt(t);const r=(n=t.ownerDocument)==null?void 0:n.body;const s=J(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0);const c=J(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let i=-o.scrollLeft+et(t);const l=-o.scrollTop;if(C(r||e).direction==="rtl"){i+=J(e.clientWidth,r?r.clientWidth:0)-s}return{width:s,height:c,x:i,y:l}}function dt(t){const n=rt(t);if(H(n)){return t.ownerDocument.body}if(N(n)&&X(n)){return n}return dt(n)}function mt(t,n){var e;if(n===void 0){n=[]}const o=dt(t);const r=o===((e=t.ownerDocument)==null?void 0:e.body);const s=z(o);if(r){return n.concat(s,s.visualViewport||[],X(o)?o:[])}return n.concat(o,mt(o))}function yt(t,n){const e=$(t,true,n==="fixed");const o=e.top+t.clientTop;const r=e.left+t.clientLeft;const s=N(t)?Z(t):{x:1,y:1};const c=t.clientWidth*s.x;const i=t.clientHeight*s.y;const l=r*s.x;const a=o*s.y;return{top:a,left:l,right:l+c,bottom:a+i,x:l,y:a,width:c,height:i}}function pt(t,n,e){if(n==="viewport"){return l(ft(t,e))}if(j(n)){return yt(n,e)}return l(ut(tt(t)))}function gt(t,n){const e=n.get(t);if(e){return e}let o=mt(t).filter((t=>j(t)&&L(t)!=="body"));let r=null;const s=C(t).position==="fixed";let c=s?rt(t):t;while(j(c)&&!H(c)){const t=C(c);const n=_(c);const e=s?!n&&!r:!n&&t.position==="static"&&!!r&&["absolute","fixed"].includes(r.position);if(e){o=o.filter((t=>t!==c))}else{r=t}c=rt(c)}n.set(t,o);return o}function ht(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const s=e==="clippingAncestors"?gt(n,this._c):[].concat(e);const c=[...s,o];const i=c[0];const l=c.reduce(((t,e)=>{const o=pt(n,e,r);t.top=J(o.top,t.top);t.right=I(o.right,t.right);t.bottom=I(o.bottom,t.bottom);t.left=J(o.left,t.left);return t}),pt(n,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const xt={getClippingRect:ht,convertOffsetParentRelativeRectToViewportRelativeRect:at,isElement:j,getDimensions:lt,getOffsetParent:it,getDocumentElement:tt,getScale:Z,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it;const s=this.getDimensions;return{reference:ot(n,await r(e),o),floating:{x:0,y:0,...await s(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>C(t).direction==="rtl"};function wt(t,n,e,o){if(o===void 0){o={}}const{ancestorScroll:r=true,ancestorResize:s=true,elementResize:c=true,animationFrame:i=false}=o;const l=r&&!i;const a=l||s?[...j(t)?mt(t):t.contextElement?mt(t.contextElement):[],...mt(n)]:[];a.forEach((t=>{l&&t.addEventListener("scroll",e,{passive:true});s&&t.addEventListener("resize",e)}));let f=null;if(c){let o=true;f=new ResizeObserver((()=>{if(!o){e()}o=false}));j(t)&&!i&&f.observe(t);if(!j(t)&&t.contextElement&&!i){f.observe(t.contextElement)}f.observe(n)}let u;let d=i?$(t):null;if(i){m()}function m(){const n=$(t);if(d&&(n.x!==d.x||n.y!==d.y||n.width!==d.width||n.height!==d.height)){e()}d=n;u=requestAnimationFrame(m)}e();return()=>{var t;a.forEach((t=>{l&&t.removeEventListener("scroll",e);s&&t.removeEventListener("resize",e)}));(t=f)==null?void 0:t.disconnect();f=null;if(i){cancelAnimationFrame(u)}}}const vt=(t,n,e)=>{const o=new Map;const r={platform:xt,...e};const c={...r.platform,_c:o};return s(t,n,{...r,platform:c})};export{wt as a,m as b,vt as c,A as d,F as f,D as i,B as o,T as s};
2
- //# sourceMappingURL=p-f34a16c6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getAlignment","placement","split","getLengthFromAxis","axis","getSide","getMainAxisFromPlacement","includes","computeCoordsFromPlacement","_ref","rtl","reference","floating","commonX","x","width","commonY","y","height","mainAxis","length","commonAlign","side","isVertical","coords","computePosition","async","config","strategy","middleware","platform","validMiddleware","filter","Boolean","isRTL","rects","getElementRects","statefulPlacement","middlewareData","resetCount","i","name","fn","nextX","nextY","data","reset","initialPlacement","elements","expandPaddingObject","padding","top","right","bottom","left","getSideObjectFromPadding","rectToClientRect","rect","detectOverflow","middlewareArguments","options","_await$platform$isEle","boundary","rootBoundary","elementContext","altBoundary","paddingObject","altContext","element","clippingClientRect","getClippingRect","isElement","contextElement","getDocumentElement","offsetParent","getOffsetParent","offsetScale","getScale","elementClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","min","Math","max","within","min$1","value","max$1","arrow","arrowDimensions","getDimensions","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","center","offset","shouldAddOffset","alignmentOffset","centerOffset","sides","allPlacements","reduce","acc","concat","oppositeSideMap","getOppositePlacement","replace","getAlignmentSides","alignment","mainAlignmentSide","main","cross","oppositeAlignmentMap","start","end","getOppositeAlignmentPlacement","getPlacementList","autoAlignment","allowedPlacements","allowedPlacementsSortedByAlignment","autoPlacement","_middlewareData$autoP","_middlewareData$autoP2","_placementsSortedByLe","detectOverflowOptions","placements","undefined","overflow","currentIndex","index","currentPlacement","currentOverflows","allOverflows","overflows","nextPlacement","placementsSortedByLeastOverflow","slice","sort","a","b","placementThatFitsOnAllSides","find","every","resetPlacement","getExpandedPlacements","oppositePlacement","getSideList","isStart","lr","rl","tb","bt","getOppositeAxisPlacements","flipAlignment","direction","list","map","flip","_middlewareData$flip","checkMainAxis","crossAxis","checkCrossAxis","fallbackPlacements","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","isBasePlacement","push","overflowsData","_middlewareData$flip2","nextIndex","_overflowsData$map$so","d","inline","fallback","clientRects","getClientRects","getBoundingClientRect","firstRect","lastRect","isTop","isLeftSide","maxRight","minLeft","measureRects","resetRects","convertValueToCoords","mainAxisMulti","crossAxisMulti","rawValue","alignmentAxis","diffCoords","getCrossAxis","shift","limiter","mainAxisCoord","crossAxisCoord","minSide","maxSide","limitedCoords","getWindow","node","_node$ownerDocument","ownerDocument","defaultView","window","getComputedStyle$1","getComputedStyle","getNodeName","isNode","nodeName","toLowerCase","uaString","getUAString","uaData","navigator","userAgentData","Array","isArray","brands","item","brand","version","join","userAgent","isHTMLElement","HTMLElement","Element","Node","isShadowRoot","ShadowRoot","OwnElement","isOverflowElement","overflowX","overflowY","display","test","isTableElement","isContainingBlock","isFirefox","css","backdropFilter","WebkitBackdropFilter","transform","perspective","willChange","some","contain","isLayoutViewport","isLastTraversableNode","round","getCssDimensions","parseFloat","offsetWidth","offsetHeight","shouldFallback","unwrapElement","FALLBACK_SCALE","domElement","Number","isFinite","includeScale","isFixedStrategy","_win$visualViewport","_win$visualViewport2","clientRect","scale","win","addVisualOffsets","visualViewport","offsetLeft","offsetTop","offsetWin","currentIFrame","frameElement","iframeScale","iframeRect","clientLeft","paddingLeft","clientTop","paddingTop","document","documentElement","getNodeScroll","scrollLeft","scrollTop","pageXOffset","pageYOffset","getWindowScrollBarX","getRectRelativeToOffsetParent","isOffsetParentAnElement","scroll","offsets","offsetRect","getParentNode","result","assignedSlot","parentNode","host","getTrueOffsetParent","position","getContainingBlock","currentNode","getViewportRect","html","layoutViewport","getDocumentRect","_element$ownerDocumen","body","scrollWidth","scrollHeight","getNearestOverflowAncestor","getOverflowAncestors","scrollableAncestor","isBody","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","getClippingElementAncestors","cache","cachedResult","get","el","currentContainingBlockComputedStyle","elementIsFixed","computedStyle","containingBlock","shouldDropCurrentNode","ancestor","set","elementClippingAncestors","this","_c","clippingAncestors","firstClippingAncestor","clippingRect","accRect","getOffsetParentFn","getDimensionsFn","from","autoUpdate","update","ancestorScroll","_ancestorScroll","ancestorResize","elementResize","animationFrame","ancestors","forEach","addEventListener","passive","observer","initialUpdate","ResizeObserver","observe","frameId","prevRefRect","frameLoop","nextRefRect","requestAnimationFrame","_observer","removeEventListener","disconnect","cancelAnimationFrame","Map","mergedOptions","platformWithCache","computePosition$1"],"sources":["../../node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","../../node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js"],"sourcesContent":["function getAlignment(placement) {\n return placement.split('-')[1];\n}\n\nfunction getLengthFromAxis(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\n\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\n\nfunction getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'x' : 'y';\n}\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const mainAxis = getMainAxisFromPlacement(placement);\n const length = getLengthFromAxis(mainAxis);\n const commonAlign = reference[length] / 2 - floating[length] / 2;\n const side = getSide(placement);\n const isVertical = mainAxis === 'x';\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[mainAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[mainAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain positioning strategy.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n if (process.env.NODE_ENV !== \"production\") {\n if (platform == null) {\n console.error(['Floating UI: `platform` property was not passed to config. If you', 'want to use Floating UI on the web, install @floating-ui/dom', 'instead of the /core package. Otherwise, you can create your own', '`platform`: https://floating-ui.com/docs/platform'].join(' '));\n }\n if (validMiddleware.filter(_ref => {\n let {\n name\n } = _ref;\n return name === 'autoPlacement' || name === 'flip';\n }).length > 1) {\n throw new Error(['Floating UI: duplicate `flip` and/or `autoPlacement` middleware', 'detected. This will lead to an infinite loop. Ensure only one of', 'either has been passed to the `middleware` array.'].join(' '));\n }\n if (!reference || !floating) {\n console.error(['Floating UI: The reference and/or floating element was not defined', 'when `computePosition()` was called. Ensure that both elements have', 'been created and can be measured.'].join(' '));\n }\n }\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (process.env.NODE_ENV !== \"production\") {\n if (resetCount > 50) {\n console.warn(['Floating UI: The middleware lifecycle appears to be running in an', 'infinite loop. This is usually caused by a `reset` continually', 'being returned without a break condition.'].join(' '));\n }\n }\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n continue;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\n\nfunction getSideObjectFromPadding(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\n\nfunction rectToClientRect(rect) {\n return {\n ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(middlewareArguments, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = middlewareArguments;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = options;\n const paddingObject = getSideObjectFromPadding(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n ...rects.floating,\n x,\n y\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n rect,\n offsetParent,\n strategy\n }) : rect);\n if (process.env.NODE_ENV !== \"production\") ;\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\nconst min = Math.min;\nconst max = Math.max;\n\nfunction within(min$1, value, max$1) {\n return max(min$1, min(value, max$1));\n}\n\n/**\n * Positions an inner element of the floating element such that it is centered\n * to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(middlewareArguments) {\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = options || {};\n const {\n x,\n y,\n placement,\n rects,\n platform\n } = middlewareArguments;\n if (element == null) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn('Floating UI: No `element` was passed to the `arrow` middleware.');\n }\n return {};\n }\n const paddingObject = getSideObjectFromPadding(padding);\n const coords = {\n x,\n y\n };\n const axis = getMainAxisFromPlacement(placement);\n const length = getLengthFromAxis(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const minProp = axis === 'y' ? 'top' : 'left';\n const maxProp = axis === 'y' ? 'bottom' : 'right';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n if (clientSize === 0) {\n clientSize = rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min = paddingObject[minProp];\n const max = clientSize - arrowDimensions[length] - paddingObject[maxProp];\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = within(min, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. This stops `shift()` from taking action, but can\n // be worked around by calling it again after the `arrow()` if desired.\n const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ? paddingObject[minProp] : paddingObject[maxProp]) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;\n return {\n [axis]: coords[axis] - alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset\n }\n };\n }\n});\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst allPlacements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-start\", side + \"-end\"), []);\n\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\n\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const mainAxis = getMainAxisFromPlacement(placement);\n const length = getLengthFromAxis(mainAxis);\n let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return {\n main: mainAlignmentSide,\n cross: getOppositePlacement(mainAlignmentSide)\n };\n}\n\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Automatically chooses the `placement` which has the most space available.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(middlewareArguments) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsSortedByLe;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = middlewareArguments;\n const {\n alignment,\n allowedPlacements = allPlacements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = options;\n const placements = alignment !== undefined || allowedPlacements === allPlacements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const {\n main,\n cross\n } = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[main], overflow[cross]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByLeastOverflow = allOverflows.slice().sort((a, b) => a.overflows[0] - b.overflows[0]);\n const placementThatFitsOnAllSides = (_placementsSortedByLe = placementsSortedByLeastOverflow.find(_ref => {\n let {\n overflows\n } = _ref;\n return overflows.every(overflow => overflow <= 0);\n })) == null ? void 0 : _placementsSortedByLe.placement;\n const resetPlacement = placementThatFitsOnAllSides || placementsSortedByLeastOverflow[0].placement;\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\n\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\n\n/**\n * Changes the placement of the floating element to one that will fit if the\n * initially specified `placement` does not.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(middlewareArguments) {\n var _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = middlewareArguments;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = options;\n const side = getSide(placement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const {\n main,\n cross\n } = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[main], overflow[cross]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n let resetPlacement = 'bottom';\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$map$so;\n const placement = (_overflowsData$map$so = overflowsData.map(d => [d, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0].placement;\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(middlewareArguments) {\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = options;\n const {\n rects\n } = middlewareArguments;\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(middlewareArguments, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(middlewareArguments, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(middlewareArguments) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = middlewareArguments;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = options;\n const fallback = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n rect: rects.reference,\n offsetParent: await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating)),\n strategy\n }) : rects.reference);\n const clientRects = (await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || [];\n const paddingObject = getSideObjectFromPadding(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getMainAxisFromPlacement(placement) === 'x') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\nasync function convertValueToCoords(middlewareArguments, value) {\n const {\n placement,\n platform,\n elements\n } = middlewareArguments;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getMainAxisFromPlacement(placement) === 'x';\n const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = typeof value === 'function' ? value(middlewareArguments) : value;\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: 0,\n crossAxis: 0,\n alignmentAxis: null,\n ...rawValue\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Displaces the floating element from its reference element.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (value) {\n if (value === void 0) {\n value = 0;\n }\n return {\n name: 'offset',\n options: value,\n async fn(middlewareArguments) {\n const {\n x,\n y\n } = middlewareArguments;\n const diffCoords = await convertValueToCoords(middlewareArguments, value);\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: diffCoords\n };\n }\n };\n};\n\nfunction getCrossAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\n\n/**\n * Shifts the floating element in order to keep it in view when it will overflow\n * a clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(middlewareArguments) {\n const {\n x,\n y,\n placement\n } = middlewareArguments;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = options;\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const mainAxis = getMainAxisFromPlacement(getSide(placement));\n const crossAxis = getCrossAxis(mainAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = within(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = within(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...middlewareArguments,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(middlewareArguments) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = middlewareArguments;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = options;\n const coords = {\n x,\n y\n };\n const mainAxis = getMainAxisFromPlacement(placement);\n const crossAxis = getCrossAxis(mainAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = typeof offset === 'function' ? offset(middlewareArguments) : offset;\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = ['top', 'left'].includes(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data to change the size of the floating element. For instance,\n * prevent it from overflowing its clipping boundary or match the width of the\n * reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(middlewareArguments) {\n const {\n placement,\n rects,\n platform,\n elements\n } = middlewareArguments;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = options;\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n const dimensions = {\n availableHeight: rects.floating.height - (['left', 'right'].includes(placement) ? 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom)) : overflow[heightSide]),\n availableWidth: rects.floating.width - (['top', 'bottom'].includes(placement) ? 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right)) : overflow[widthSide])\n };\n await apply({\n ...middlewareArguments,\n ...dimensions\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (rects.floating.width !== nextDimensions.width || rects.floating.height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, rectToClientRect, shift, size };\n","import { rectToClientRect, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { arrow, autoPlacement, detectOverflow, flip, hide, inline, limitShift, offset, shift, size } from '@floating-ui/core';\n\nfunction getWindow(node) {\n var _node$ownerDocument;\n return ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\n\nfunction getComputedStyle$1(element) {\n return getWindow(element).getComputedStyle(element);\n}\n\nfunction getNodeName(node) {\n return isNode(node) ? (node.nodeName || '').toLowerCase() : '';\n}\n\nlet uaString;\nfunction getUAString() {\n if (uaString) {\n return uaString;\n }\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n uaString = uaData.brands.map(item => item.brand + \"/\" + item.version).join(' ');\n return uaString;\n }\n return navigator.userAgent;\n}\n\nfunction isHTMLElement(value) {\n return value instanceof getWindow(value).HTMLElement;\n}\nfunction isElement(value) {\n return value instanceof getWindow(value).Element;\n}\nfunction isNode(value) {\n return value instanceof getWindow(value).Node;\n}\nfunction isShadowRoot(node) {\n // Browsers without `ShadowRoot` support\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle$1(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isContainingBlock(element) {\n // TODO: Try and use feature detection here instead\n const isFirefox = /firefox/i.test(getUAString());\n const css = getComputedStyle$1(element);\n const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter;\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some(\n // TS 4.1 compat\n value => {\n const contain = css.contain;\n return contain != null ? contain.includes(value) : false;\n });\n}\nfunction isLayoutViewport() {\n // Not Safari\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n // Feature detection for this fails in various ways\n // • Always-visible scrollbar or not\n // • Width of <html>, etc.\n // const vV = win.visualViewport;\n // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;\n}\n\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\n\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n let width = parseFloat(css.width);\n let height = parseFloat(css.height);\n const offsetWidth = element.offsetWidth;\n const offsetHeight = element.offsetHeight;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n fallback: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nconst FALLBACK_SCALE = {\n x: 1,\n y: 1\n};\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return FALLBACK_SCALE;\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n fallback\n } = getCssDimensions(domElement);\n let x = (fallback ? round(rect.width) : rect.width) / width;\n let y = (fallback ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n var _win$visualViewport, _win$visualViewport2;\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = FALLBACK_SCALE;\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const win = domElement ? getWindow(domElement) : window;\n const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n let x = (clientRect.left + (addVisualOffsets ? ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0 : 0)) / scale.x;\n let y = (clientRect.top + (addVisualOffsets ? ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0 : 0)) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentIFrame = win.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== win) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n iframeRect.x += (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n iframeRect.y += (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += iframeRect.x;\n y += iframeRect.y;\n currentIFrame = getWindow(currentIFrame).frameElement;\n }\n }\n return {\n width,\n height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x,\n y\n };\n}\n\nfunction getDocumentElement(node) {\n return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;\n}\n\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(element, true, strategy === 'fixed', offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = {\n x: 0,\n y: 0\n };\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node\n node.assignedSlot ||\n // DOM Element detected\n node.parentNode || (\n // ShadowRoot detected\n isShadowRoot(node) ? node.host : null) ||\n // Fallback\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n return element.offsetParent;\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else {\n currentNode = getParentNode(currentNode);\n }\n }\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element) {\n const window = getWindow(element);\n let offsetParent = getTrueOffsetParent(element);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nfunction getDimensions(element) {\n return getCssDimensions(element);\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n if (offsetParent === documentElement) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = {\n x: 1,\n y: 1\n };\n const offsets = {\n x: 0,\n y: 0\n };\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n // This doesn't appear to need to be negated.\n // else if (documentElement) {\n // offsets.x = getWindowScrollBarX(documentElement);\n // }\n }\n\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const layoutViewport = isLayoutViewport();\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\nfunction getDocumentRect(element) {\n var _element$ownerDocumen;\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n const width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n // @ts-ignore assume body is always available\n return node.ownerDocument.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\n\nfunction getOverflowAncestors(node, list) {\n var _node$ownerDocument;\n if (list === void 0) {\n list = [];\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));\n}\n\n// Returns the inner client rect, subtracting scrollbars if present\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : {\n x: 1,\n y: 1\n };\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y,\n width,\n height\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n if (clippingAncestor === 'viewport') {\n return rectToClientRect(getViewportRect(element, strategy));\n }\n if (isElement(clippingAncestor)) {\n return getInnerBoundingClientRect(clippingAncestor, strategy);\n }\n return rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const containingBlock = isContainingBlock(currentNode);\n const shouldDropCurrentNode = elementIsFixed ? !containingBlock && !currentContainingBlockComputedStyle : !containingBlock && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nconst platform = {\n getClippingRect,\n convertOffsetParentRelativeRectToViewportRelativeRect,\n isElement,\n getDimensions,\n getOffsetParent,\n getDocumentElement,\n getScale,\n async getElementRects(_ref) {\n let {\n reference,\n floating,\n strategy\n } = _ref;\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(floating))\n }\n };\n },\n getClientRects: element => Array.from(element.getClientRects()),\n isRTL: element => getComputedStyle$1(element).direction === 'rtl'\n};\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll: _ancestorScroll = true,\n ancestorResize = true,\n elementResize = true,\n animationFrame = false\n } = options;\n const ancestorScroll = _ancestorScroll && !animationFrame;\n const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n let observer = null;\n if (elementResize) {\n let initialUpdate = true;\n observer = new ResizeObserver(() => {\n if (!initialUpdate) {\n update();\n }\n initialUpdate = false;\n });\n isElement(reference) && !animationFrame && observer.observe(reference);\n if (!isElement(reference) && reference.contextElement && !animationFrame) {\n observer.observe(reference.contextElement);\n }\n observer.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _observer;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n (_observer = observer) == null ? void 0 : _observer.disconnect();\n observer = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain CSS positioning\n * strategy.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { autoUpdate, computePosition, getOverflowAncestors, platform };\n"],"mappings":"AAAA,SAASA,EAAaC,GACpB,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CAEA,SAASC,EAAkBC,GACzB,OAAOA,IAAS,IAAM,SAAW,OACnC,CAEA,SAASC,EAAQJ,GACf,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CAEA,SAASI,EAAyBL,GAChC,MAAO,CAAC,MAAO,UAAUM,SAASF,EAAQJ,IAAc,IAAM,GAChE,CAEA,SAASO,EAA2BC,EAAMR,EAAWS,GACnD,IAAIC,UACFA,EAASC,SACTA,GACEH,EACJ,MAAMI,EAAUF,EAAUG,EAAIH,EAAUI,MAAQ,EAAIH,EAASG,MAAQ,EACrE,MAAMC,EAAUL,EAAUM,EAAIN,EAAUO,OAAS,EAAIN,EAASM,OAAS,EACvE,MAAMC,EAAWb,EAAyBL,GAC1C,MAAMmB,EAASjB,EAAkBgB,GACjC,MAAME,EAAcV,EAAUS,GAAU,EAAIR,EAASQ,GAAU,EAC/D,MAAME,EAAOjB,EAAQJ,GACrB,MAAMsB,EAAaJ,IAAa,IAChC,IAAIK,EACJ,OAAQF,GACN,IAAK,MACHE,EAAS,CACPV,EAAGD,EACHI,EAAGN,EAAUM,EAAIL,EAASM,QAE5B,MACF,IAAK,SACHM,EAAS,CACPV,EAAGD,EACHI,EAAGN,EAAUM,EAAIN,EAAUO,QAE7B,MACF,IAAK,QACHM,EAAS,CACPV,EAAGH,EAAUG,EAAIH,EAAUI,MAC3BE,EAAGD,GAEL,MACF,IAAK,OACHQ,EAAS,CACPV,EAAGH,EAAUG,EAAIF,EAASG,MAC1BE,EAAGD,GAEL,MACF,QACEQ,EAAS,CACPV,EAAGH,EAAUG,EACbG,EAAGN,EAAUM,GAGnB,OAAQjB,EAAaC,IACnB,IAAK,QACHuB,EAAOL,IAAaE,GAAeX,GAAOa,GAAc,EAAI,GAC5D,MACF,IAAK,MACHC,EAAOL,IAAaE,G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WC,EAAUgD,KAI5C,MAAMwQ,EAAQ,IAAI6C,IAClB,MAAMC,EAAgB,CACpBpV,eACG8B,GAEL,MAAMuT,EAAoB,IACrBD,EAAcpV,SACjBmT,GAAIb,GAEN,OAAOgD,EAAkBzW,EAAWC,EAAU,IACzCsW,EACHpV,SAAUqV,GACV,S"}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,H as r}from"./p-1c64b073.js";const s=":host{display:flex;justify-content:center;align-items:center;height:2rem;width:2.5rem;border-radius:var(--theme-btn--border-radius)}:host svg{display:inline-block;position:relative}:host .line{fill:var(--theme-menu-btn--color);opacity:1;x:2px;transition:x 0.075s ease-in 0.15s, transform 0.075s ease-in-out 0.075s, y 0.075s ease-in-out, opacity 0.075s linear 0.075s;transform-origin:center}:host(:hover){background-color:var(--theme-menu-btn--background--hover);border-radius:var(--theme-btn--border-radius)}:host(:active){background-color:var(--theme-menu-btn--background--active);border-radius:var(--theme-btn--border-radius)}:host(.expanded) svg .line-1{opacity:1;transform:rotate(-45deg);y:11px}:host(.expanded) svg .line-2{opacity:0;x:9}:host(.expanded) svg .line-3{opacity:1;transform:rotate(45deg);y:11px}";const i=class{constructor(t){e(this,t);this.expanded=false}render(){return t(r,{class:{expanded:this.expanded}},t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t("rect",{class:"line line-1",x:"2",y:"5",width:"20",height:"2"}),t("rect",{class:"line line-2",x:"2",y:"11",width:"13",height:"2"}),t("rect",{class:"line line-3",x:"2",y:"17",width:"20",height:"2"})))}};i.style=s;export{i as ix_burger_menu};
2
- //# sourceMappingURL=p-f48b706b.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["burgerMenuCss","BurgerMenu","render","h","Host","class","expanded","this","xmlns","viewBox","width","height","x","y"],"sources":["./src/components/menu/burger-menu.scss?tag=ix-burger-menu&encapsulation=shadow","./src/components/menu/burger-menu.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'mixins/hover';\n\n:host {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 2rem;\n width: 2.5rem;\n border-radius: var(--theme-btn--border-radius);\n\n svg {\n display: inline-block;\n position: relative;\n }\n\n .line {\n fill: var(--theme-menu-btn--color);\n opacity: 1;\n x: 2px;\n transition: x 0.075s ease-in 0.15s, transform 0.075s ease-in-out 0.075s,\n y 0.075s ease-in-out, opacity 0.075s linear 0.075s;\n transform-origin: center;\n }\n}\n\n:host(:hover) {\n background-color: var(--theme-menu-btn--background--hover);\n border-radius: var(--theme-btn--border-radius);\n}\n\n:host(:active) {\n background-color: var(--theme-menu-btn--background--active);\n border-radius: var(--theme-btn--border-radius);\n}\n\n:host(.expanded) {\n svg .line-1 {\n opacity: 1;\n transform: rotate(-45deg);\n y: 11px;\n }\n\n svg .line-2 {\n opacity: 0;\n x: 9;\n }\n\n svg .line-3 {\n opacity: 1;\n transform: rotate(45deg);\n y: 11px;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-burger-menu',\n styleUrl: './burger-menu.scss',\n shadow: true,\n})\nexport class BurgerMenu {\n /**\n * Is menu displayed as expanded\n */\n @Prop({ reflect: true }) expanded = false;\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n >\n <rect class=\"line line-1\" x=\"2\" y=\"5\" width=\"20\" height=\"2\"></rect>\n <rect class=\"line line-2\" x=\"2\" y=\"11\" width=\"13\" height=\"2\"></rect>\n <rect class=\"line line-3\" x=\"2\" y=\"17\" width=\"20\" height=\"2\"></rect>\n </svg>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAgB,+yB,MC2BTC,EAAU,M,uCAIe,K,CAEpCC,SACE,OACEC,EAACC,EAAI,CACHC,MAAO,CACLC,SAAUC,KAAKD,WAGjBH,EAAA,OACEK,MAAM,6BACNC,QAAQ,YACRC,MAAM,KACNC,OAAO,MAEPR,EAAA,QAAME,MAAM,cAAcO,EAAE,IAAIC,EAAE,IAAIH,MAAM,KAAKC,OAAO,MACxDR,EAAA,QAAME,MAAM,cAAcO,EAAE,IAAIC,EAAE,KAAKH,MAAM,KAAKC,OAAO,MACzDR,EAAA,QAAME,MAAM,cAAcO,EAAE,IAAIC,EAAE,KAAKH,MAAM,KAAKC,OAAO,O"}