genesys-spark-components 4.186.0 → 4.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-CxcDLGWB.js → get-valid-timezone-wrCyyRlV.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-3csXa1_D.js → gux-form-field-container-C_ksnWvh.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  58. package/dist/cjs/{gux-form-field-error-Zis2K2ea.js → gux-form-field-error-DsQplUhW.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-BcJCmFTG.js → gux-form-field-fieldset-container-DDS9BG7u.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  176. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  183. package/dist/cjs/{gux-tree-multi.service-SP7ZA2lB.js → gux-tree-multi.service-BFBspBvZ.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-w78yRmzF.js → gux-tree.service-DM6q_PoD.js} +1 -1
  185. package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +1 -1
  186. package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{on-click-outside-DSTNdYO6.js → on-click-outside-CXDzyPsA.js} +1 -1
  189. package/dist/cjs/{on-mutation-C-pkBYfu.js → on-mutation-Bpt2qL-s.js} +1 -1
  190. package/dist/cjs/{on-resize-CCaffmJ7.js → on-resize-nisbdZkE.js} +1 -1
  191. package/dist/cjs/{usage-CIw4kGaR.js → usage-o6I3mOuO.js} +1 -1
  192. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +8 -7
  193. package/dist/esm/genesys-webcomponents.js +2 -2
  194. package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
  195. package/dist/esm/gux-accordion-section.entry.js +1 -1
  196. package/dist/esm/gux-accordion.entry.js +2 -2
  197. package/dist/esm/gux-action-button.entry.js +4 -4
  198. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  199. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  200. package/dist/esm/gux-all-row-select.entry.js +2 -2
  201. package/dist/esm/gux-announce-beta.entry.js +2 -2
  202. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  203. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  204. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  205. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  206. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  207. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  208. package/dist/esm/gux-badge.entry.js +4 -4
  209. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  210. package/dist/esm/gux-blank-state.entry.js +3 -3
  211. package/dist/esm/gux-branch-multi.entry.js +2 -2
  212. package/dist/esm/gux-branch.entry.js +2 -2
  213. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  214. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  215. package/dist/esm/gux-button-multi.entry.js +3 -3
  216. package/dist/esm/gux-button-slot.entry.js +2 -2
  217. package/dist/esm/gux-button_2.entry.js +3 -3
  218. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  219. package/dist/esm/gux-calendar.entry.js +3 -3
  220. package/dist/esm/gux-card.entry.js +2 -2
  221. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  222. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  223. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  224. package/dist/esm/gux-column-manager.entry.js +3 -3
  225. package/dist/esm/gux-content-search.entry.js +3 -3
  226. package/dist/esm/gux-context-menu.entry.js +4 -4
  227. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  228. package/dist/esm/gux-create-option.entry.js +2 -2
  229. package/dist/esm/gux-cta-group.entry.js +1 -1
  230. package/dist/esm/gux-date-beta.entry.js +4 -4
  231. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  232. package/dist/esm/gux-datepicker.entry.js +4 -4
  233. package/dist/esm/gux-day-beta.entry.js +2 -2
  234. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  235. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  236. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  237. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  238. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  239. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  240. package/dist/esm/gux-file-list-item.entry.js +3 -3
  241. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  242. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  243. package/dist/esm/gux-form-beta.entry.js +1 -1
  244. package/dist/esm/gux-form-description.entry.js +1 -1
  245. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  246. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  247. package/dist/esm/gux-form-field-color.entry.js +5 -5
  248. package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
  249. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  250. package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
  251. package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
  252. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  253. package/dist/esm/gux-form-field-file.entry.js +5 -5
  254. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  255. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  256. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  257. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  258. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  259. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  260. package/dist/esm/gux-form-field-range.entry.js +6 -6
  261. package/dist/esm/gux-form-field-search.entry.js +5 -5
  262. package/dist/esm/gux-form-field-select.entry.js +5 -5
  263. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  264. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  265. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  266. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  267. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  268. package/dist/esm/gux-form-footer.entry.js +2 -2
  269. package/dist/esm/gux-form-heading.entry.js +1 -1
  270. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  271. package/dist/esm/gux-icon.entry.js +2 -2
  272. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  273. package/dist/esm/gux-inline-alert.entry.js +3 -3
  274. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  275. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  276. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  277. package/dist/esm/gux-leaf.entry.js +2 -2
  278. package/dist/esm/gux-link-beta.entry.js +2 -2
  279. package/dist/esm/gux-list-divider.entry.js +1 -1
  280. package/dist/esm/gux-list-item.entry.js +1 -1
  281. package/dist/esm/gux-list.entry.js +2 -2
  282. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  283. package/dist/esm/gux-loading-message.entry.js +2 -2
  284. package/dist/esm/gux-logo-beta.entry.js +3 -3
  285. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  286. package/dist/esm/gux-menu-option.entry.js +1 -1
  287. package/dist/esm/gux-menu.entry.js +1 -1
  288. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  289. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  290. package/dist/esm/gux-modal.entry.js +2 -2
  291. package/dist/esm/gux-month-calendar.entry.js +2 -2
  292. package/dist/esm/gux-month-list_2.entry.js +1 -1
  293. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  294. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  295. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  296. package/dist/esm/gux-option-icon.entry.js +1 -1
  297. package/dist/esm/gux-option-multi.entry.js +2 -2
  298. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  299. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  300. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  301. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  302. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  303. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  304. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  305. package/dist/esm/gux-pagination.entry.js +2 -2
  306. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  307. package/dist/esm/gux-popover-beta.entry.js +3 -3
  308. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  309. package/dist/esm/gux-popover-list.entry.js +3 -3
  310. package/dist/esm/gux-popup.entry.js +1 -1
  311. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  312. package/dist/esm/gux-radial-loading.entry.js +3 -3
  313. package/dist/esm/gux-radial-progress.entry.js +2 -2
  314. package/dist/esm/gux-rating.entry.js +4 -4
  315. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  316. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  317. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  318. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  319. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  320. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  321. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  322. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  323. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  324. package/dist/esm/gux-row-select.entry.js +2 -2
  325. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  326. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  327. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  328. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  329. package/dist/esm/gux-select-all.entry.js +2 -2
  330. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  331. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  332. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  333. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  334. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  335. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  336. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  337. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  338. package/dist/esm/gux-sort-control.entry.js +3 -3
  339. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  340. package/dist/esm/gux-step-title.entry.js +2 -2
  341. package/dist/esm/gux-step.entry.js +2 -2
  342. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  343. package/dist/esm/gux-submenu.entry.js +1 -1
  344. package/dist/esm/gux-switch-item.entry.js +1 -1
  345. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  346. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  347. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  348. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  349. package/dist/esm/gux-tab-list.entry.js +3 -3
  350. package/dist/esm/gux-tab-panel.entry.js +1 -1
  351. package/dist/esm/gux-tab.entry.js +1 -1
  352. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  353. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  354. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  355. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  356. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  357. package/dist/esm/gux-table.entry.js +3 -3
  358. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  359. package/dist/esm/gux-tabs.entry.js +2 -2
  360. package/dist/esm/gux-tag.entry.js +4 -4
  361. package/dist/esm/gux-text-highlight.entry.js +2 -2
  362. package/dist/esm/gux-time-beta.entry.js +4 -4
  363. package/dist/esm/gux-time-picker.entry.js +4 -4
  364. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  365. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  366. package/dist/esm/gux-toast.entry.js +2 -2
  367. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  368. package/dist/esm/gux-toggle.entry.js +3 -3
  369. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  370. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  371. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  372. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  373. package/dist/esm/gux-tree-beta.entry.js +3 -3
  374. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  375. package/dist/esm/{gux-tree-multi.service-rN4u4zJA.js → gux-tree-multi.service-BLZ1mRfa.js} +1 -1
  376. package/dist/esm/{gux-tree.service-g_oSRmLT.js → gux-tree.service-BDeQhvUY.js} +1 -1
  377. package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
  378. package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +1 -1
  379. package/dist/esm/loader.js +2 -2
  380. package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
  381. package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
  382. package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
  383. package/dist/esm/{usage-P-hdUE3M.js → usage-m3Lae7sj.js} +1 -1
  384. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  385. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  386. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  387. package/dist/genesys-webcomponents/{p-5e36e00c.entry.js → p-017cb9d5.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-63fc23b7.entry.js → p-056a7c6b.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-0f906c83.entry.js → p-083804b1.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-e1c5a946.entry.js → p-099f666a.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-ae7f9a42.entry.js → p-0b052d60.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-8d17c505.entry.js → p-0cd588f1.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-1d8461af.entry.js → p-11837668.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-8b00a8b1.entry.js → p-135367e9.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-250e46d5.entry.js → p-139620e1.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-d5df8246.entry.js → p-13ac38be.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-83c72397.entry.js → p-150a39e6.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-fdc40086.entry.js → p-154def26.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-10c4aba5.entry.js → p-16b176e0.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-2b21f5b0.entry.js → p-19aae774.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-878fb957.entry.js → p-1d3c2d91.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-efd89c57.entry.js → p-1f64bf9d.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-f6be54af.entry.js → p-1fa2732f.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-8bfe887d.entry.js → p-21d62416.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
  408. package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-59691ec8.entry.js → p-25fd3256.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-1eb0e7e1.entry.js → p-26332854.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-5e688f82.entry.js → p-26ae37e2.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-e324984d.entry.js → p-27917cd5.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-181db322.entry.js → p-285ee4a0.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-d80ed019.entry.js → p-28bb190c.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-840e5e72.entry.js → p-2afa3fa3.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-b011264f.entry.js → p-2d4c4294.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
  418. package/dist/genesys-webcomponents/{p-e51be612.entry.js → p-324d6857.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-4378ea79.entry.js → p-32e6acb8.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-22774ede.entry.js → p-34fdea73.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-c7674d3e.entry.js → p-35a486e5.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-88fe97ab.entry.js → p-38f5b4f6.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-952f83d8.entry.js → p-39260f95.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-b7ded211.entry.js → p-3da05df8.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-f09ea52d.entry.js → p-3e99d726.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-25b54535.entry.js → p-3eba96cc.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-95c9d6e5.entry.js → p-42a37e44.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-2eba7fa7.entry.js → p-467b440a.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-46122325.entry.js → p-46a34101.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-94dec58d.entry.js → p-48ca42f5.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-bc87db5c.entry.js → p-49ee0c6f.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-d91b4089.entry.js → p-4a7ea7e8.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-a9ae1a36.entry.js → p-4ad8978f.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-0bacc1c0.entry.js → p-4b45cd72.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-d638b856.entry.js → p-4f2bbd47.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-233754d3.entry.js → p-514148f5.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-08f65ffb.entry.js → p-52373db0.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-f92de177.entry.js → p-53e22ff1.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-a5da5222.entry.js → p-541fb3fb.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-38ca0c04.entry.js → p-556113ac.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-40a8659f.entry.js → p-5725af26.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-ba631fa5.entry.js → p-57f2d1dc.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-4e86d6b0.entry.js → p-5800a64c.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-80ac162c.entry.js → p-5942b0f1.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-cf6f951b.entry.js → p-59895996.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-3885a340.entry.js → p-5ac0a470.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-1b993de4.entry.js → p-5b40c6e6.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-a0c70c7d.entry.js → p-5cf1b2ba.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-761dfdfc.entry.js → p-5cf81958.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
  456. package/dist/genesys-webcomponents/{p-0a45b162.entry.js → p-60011440.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-a28fb4d6.entry.js → p-6041e65b.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-2d1decba.entry.js → p-6143b5da.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-7b9ee43c.entry.js → p-68dec694.entry.js} +2 -2
  460. package/dist/genesys-webcomponents/{p-10bc670e.entry.js → p-6a47bd85.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-084d7985.entry.js → p-6d83742a.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-44fccf34.entry.js → p-6f9cfe1b.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-ce75d98e.entry.js → p-7091f5b2.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-68c4c1f6.entry.js → p-70999d68.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-f9ad0cfb.entry.js → p-7122ffc2.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-8b77906f.entry.js → p-73082b46.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-ce7e92de.entry.js → p-7467d78b.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-d57f4f0f.entry.js → p-7869bfd9.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-8fe5946c.entry.js → p-7b70f2df.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-eace50ae.entry.js → p-7ee9b69d.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-d71e1784.entry.js → p-8033fd0b.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-72cae5e3.entry.js → p-84f88012.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-7c225701.entry.js → p-863302cc.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-5a2afb00.entry.js → p-8a13909f.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-5df2e379.entry.js → p-8b78c6e6.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-52bf984a.entry.js → p-8e9f07a4.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-a96b217c.entry.js → p-8f4e6f19.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-9921a228.entry.js → p-8ff107e5.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
  481. package/dist/genesys-webcomponents/p-908ebad2.entry.js +1 -0
  482. package/dist/genesys-webcomponents/{p-c321b784.entry.js → p-91abcf19.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-8125094f.entry.js → p-9445c461.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-8da560e6.entry.js → p-9579eeaa.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-9f072d6e.entry.js → p-95f7a089.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-cf2837df.entry.js → p-96154710.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-2c7f70e8.entry.js → p-994e4f51.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-dd96e223.entry.js → p-9a3086e6.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-aa8035f2.entry.js → p-9a59a9ca.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-edaea90f.entry.js → p-9a739818.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-d323c56f.entry.js → p-9d0d3fa8.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-8388d345.entry.js → p-9d22b1ee.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-e7fbc88d.entry.js → p-9f983574.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-14def48a.entry.js → p-9fa06bad.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1K6Bdrw6.js → p-BS-Yw6fq.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
  499. package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
  500. package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
  501. package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
  503. package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
  504. package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-3ef8c2ee.entry.js → p-a02a5f08.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-12879f8e.entry.js → p-a352dd2e.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4cc59941.entry.js → p-a466db49.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-6750f1bd.entry.js → p-a619a0ff.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-8d2c4040.entry.js → p-a8143e2c.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-5f013968.entry.js → p-aaae46b8.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-50a70b04.entry.js → p-aab878b2.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-ee3875eb.entry.js → p-aede3166.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-2e560175.entry.js → p-b0d02114.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-5adef61c.entry.js → p-b12a8508.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-21925e45.entry.js → p-b21ed8c2.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-1ed1d90f.entry.js → p-b2334e35.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-355c6058.entry.js → p-b5a01b48.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-b5b441a3.entry.js +1 -0
  519. package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
  520. package/dist/genesys-webcomponents/{p-22fc8bc7.entry.js → p-b823a092.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-70039747.entry.js → p-bd8741a3.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-f63d28a3.entry.js → p-be9f6a45.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-9c805410.entry.js → p-bf044a81.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-bd7562f2.entry.js → p-bf7dad16.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
  527. package/dist/genesys-webcomponents/{p-e2c96d2c.entry.js → p-c1eb882e.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-2ca52d1d.entry.js → p-c8c0a498.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-ca3e3fbb.entry.js → p-c905638c.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-c691ee28.entry.js → p-c961265f.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
  534. package/dist/genesys-webcomponents/{p-e19f8f0f.entry.js → p-cd9a57b8.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-e165bcea.entry.js → p-ceb683a7.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-bb4bdcbe.entry.js → p-cf412061.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-586b74de.entry.js → p-d4cf29da.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d28c5369.entry.js → p-d5c18713.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-0b8494e4.entry.js → p-d895c2d4.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-0e62a28a.entry.js → p-d8cbd44a.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-14e56a8a.entry.js → p-da5bf7b1.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-1567ea4b.entry.js → p-dad081b0.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-e53bba61.entry.js → p-daff771e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-98887eea.entry.js → p-dfca7776.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-72efcee2.entry.js → p-e0314387.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-86e60f03.entry.js → p-e181a441.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-0a9b5aa9.entry.js → p-e1b2080a.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-ae35a482.entry.js → p-e1fe1a06.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-62d5a576.entry.js → p-e77358d8.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-c86f2a82.entry.js → p-e7841f8f.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-34c49dae.entry.js → p-e84d3b25.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-be4dfcc9.entry.js → p-e8541175.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-73bc81ae.entry.js → p-e96fa35a.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-3c3be6b2.entry.js → p-e9973aeb.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-7c04a9a6.entry.js → p-ec5d01d6.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-71bfc382.entry.js → p-eeaf3569.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-406efc68.entry.js → p-ef9c62f0.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-c619ecb1.entry.js → p-f19811e6.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d951d08a.entry.js → p-f21766df.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-8a79bc83.entry.js → p-f46d7dc9.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-1aefd34b.entry.js → p-f59113f5.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-7f80b420.entry.js → p-f68b47d9.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-59f93cf5.entry.js → p-f6ecef3e.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-b0f65767.entry.js → p-fa3dd755.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-f308e9ad.entry.js → p-fb37efda.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-c7212fc2.entry.js → p-fcdc8ed7.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-CkugK5PE.js → p-hPZIPnvb.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-P-hdUE3M.js → p-m3Lae7sj.js} +1 -1
  576. package/dist/stencil-wrapper.js +1 -1
  577. package/dist/types/stencil-wrapper.d.ts +1 -1
  578. package/package.json +1 -1
  579. package/dist/genesys-webcomponents/p-02406da9.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-07276a2e.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-07e854e0.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
  583. package/dist/genesys-webcomponents/p-13121646.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-20f953d3.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-37fc8995.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-42cb5452.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-42fd437b.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-46ad732d.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-527f7a1a.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-5a7fcba4.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-78797c2a.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
  593. package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
  594. package/dist/genesys-webcomponents/p-bff08f71.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-cb2f68ed.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-e479e4d9.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as a,a as e}from"./p-CjVJoR6g.js";import{l as o,n as r,f as c,p as i,b as n,a as l}from"./p-BebXX5IS.js";import{t as m}from"./p-m3Lae7sj.js";const p=["gux-list-item"],u=class{constructor(t){s(this,t)}componentWillLoad(){m(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),i(this.root,p);break;case"Home":s.preventDefault(),c(this.root,p);break;case"ArrowDown":s.preventDefault(),r(this.root,p);break;case"End":s.preventDefault(),o(this.root,p)}}async guxFocusFirstItem(){c(this.root,p)}async guxFocusItemById(s){n(this.root,p,s)}async guxFocusItemByClosestId(s){l(this.root,p,s)}async guxFocusLastItem(){o(this.root,p)}render(){return t(a,{key:"5a527fac514f95a9c88b31f86ea871055417cab3",tabindex:"-1",role:"list"},t("slot",{key:"c4b45d259bbf1e81cc8e42fd8bcb4bf405782c38"}))}get root(){return e(this)}};u.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{u as gux_list}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,a as n}from"./p-Dz_2h4jr.js";import{t as r}from"./p-P-hdUE3M.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"31ca4b09af9bb76bd9a4a15f7fd2ee9e640c759a",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"16ee328a47ab75d0d4ccecf70c57f373d83c3d92"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}:host([accent=copilot]) ::slotted(input[type=button]),:host([accent=copilot]) ::slotted(input[type=submit]),:host([accent=copilot]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background:linear-gradient(64deg, var(--gse-ui-copilotButton-default-backgroundColor-bottomLeft) 5.51%, var(--gse-ui-copilotButton-default-backgroundColor-middle) 48.28%, var(--gse-ui-copilotButton-default-backgroundColor-topRight) 88.65%);border:none;box-shadow:var(--gse-ui-copilotButton-glow-default)}:host([accent=copilot]) ::slotted(input[type=button]:hover:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:hover:enabled),:host([accent=copilot]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-hover-backgroundColor-bottomLeft) 7.09%, var(--gse-ui-copilotButton-hover-backgroundColor-middle) 47.64%, var(--gse-ui-copilotButton-hover-backgroundColor-topRight) 103.51%);box-shadow:var(--gse-ui-copilotButton-glow-hover)}:host([accent=copilot]) ::slotted(input[type=button]:active:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:active:enabled),:host([accent=copilot]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-active-backgroundColor-bottomLeft) 7.17%, var(--gse-ui-copilotButton-active-backgroundColor-middle) 46.7%, var(--gse-ui-copilotButton-active-backgroundColor-topRight) 83.3%);box-shadow:var(--gse-ui-copilotButton-glow-active)}";export{i as gux_button_slot}
1
+ import{r as t,h as o,H as e,a as n}from"./p-CjVJoR6g.js";import{t as r}from"./p-m3Lae7sj.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"31ca4b09af9bb76bd9a4a15f7fd2ee9e640c759a",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"16ee328a47ab75d0d4ccecf70c57f373d83c3d92"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}:host([accent=copilot]) ::slotted(input[type=button]),:host([accent=copilot]) ::slotted(input[type=submit]),:host([accent=copilot]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background:linear-gradient(64deg, var(--gse-ui-copilotButton-default-backgroundColor-bottomLeft) 5.51%, var(--gse-ui-copilotButton-default-backgroundColor-middle) 48.28%, var(--gse-ui-copilotButton-default-backgroundColor-topRight) 88.65%);border:none;box-shadow:var(--gse-ui-copilotButton-glow-default)}:host([accent=copilot]) ::slotted(input[type=button]:hover:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:hover:enabled),:host([accent=copilot]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-hover-backgroundColor-bottomLeft) 7.09%, var(--gse-ui-copilotButton-hover-backgroundColor-middle) 47.64%, var(--gse-ui-copilotButton-hover-backgroundColor-topRight) 103.51%);box-shadow:var(--gse-ui-copilotButton-glow-hover)}:host([accent=copilot]) ::slotted(input[type=button]:active:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:active:enabled),:host([accent=copilot]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-active-backgroundColor-bottomLeft) 7.17%, var(--gse-ui-copilotButton-active-backgroundColor-middle) 46.7%, var(--gse-ui-copilotButton-active-backgroundColor-topRight) 83.3%);box-shadow:var(--gse-ui-copilotButton-glow-active)}";export{i as gux_button_slot}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,a as i}from"./p-Dz_2h4jr.js";import{b as r}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var s={clearSelection:"Clear {numberSelected} selected items"};const o=class{constructor(a){e(this,a),this.internalclearselected=t(this,"internalclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(e){switch(e.key){case"Backspace":case"Delete":this.removeTag(e)}}onFocusin(e){e.stopPropagation()}removeTag(e){e.stopPropagation(),this.disabled||this.internalclearselected.emit()}renderRemoveButton(){return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon",size:"small","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await r(this.root,s)}render(){return a("div",{key:"42492d83dbea4a38dc4bbe0652380c66ab4bf7d7",class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};o.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-removable-padding);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight);color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag .gux-sr-only{}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center;margin-inline-start:var(--gse-ui-tag-removable-gap)}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-tag.gux-disabled{opacity:var(--gse-ui-tag-disabled-opacity)}";export{o as gux_dropdown_multi_tag}
1
+ import{r as e,c as t,h as a,a as i}from"./p-CjVJoR6g.js";import{b as r}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var s={clearSelection:"Clear {numberSelected} selected items"};const o=class{constructor(a){e(this,a),this.internalclearselected=t(this,"internalclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(e){switch(e.key){case"Backspace":case"Delete":this.removeTag(e)}}onFocusin(e){e.stopPropagation()}removeTag(e){e.stopPropagation(),this.disabled||this.internalclearselected.emit()}renderRemoveButton(){return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon",size:"small","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await r(this.root,s)}render(){return a("div",{key:"42492d83dbea4a38dc4bbe0652380c66ab4bf7d7",class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};o.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-removable-padding);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight);color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag .gux-sr-only{}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center;margin-inline-start:var(--gse-ui-tag-removable-gap)}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-tag.gux-disabled{opacity:var(--gse-ui-tag-disabled-opacity)}";export{o as gux_dropdown_multi_tag}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-Dz_2h4jr.js";import{b as n}from"./p-DmaAM9UB.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-P-hdUE3M.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const b=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"db52357ea044984d1310fbdb1f30bc1ce7a46c5d","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"2313d84a986a01256f39e52dadaf47d428a34840",class:"gux-table"},a("div",{key:"9b1bb4db3ad871d3ca46e4cacb7f8bdbdd699a92",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"2992b5d7d002e6755b686af4e8cb22c0b4423ecf",name:"data"})),this.isTableEmpty&&a("div",{key:"d74753a19e51803581e520206a20a581d50d2d34",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};b.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{b as gux_table}
1
+ import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-CjVJoR6g.js";import{b as n}from"./p-D1QZQXQN.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-m3Lae7sj.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"db52357ea044984d1310fbdb1f30bc1ce7a46c5d","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"2313d84a986a01256f39e52dadaf47d428a34840",class:"gux-table"},a("div",{key:"9b1bb4db3ad871d3ca46e4cacb7f8bdbdd699a92",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"2992b5d7d002e6755b686af4e8cb22c0b4423ecf",name:"data"})),this.isTableEmpty&&a("div",{key:"d74753a19e51803581e520206a20a581d50d2d34",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
@@ -1,7 +1,7 @@
1
- import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-Dz_2h4jr.js";import{O as s}from"./p-0yc9CKxX.js";import{e as a}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-DmaAM9UB.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
1
+ import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-CjVJoR6g.js";import{O as s}from"./p-DaK6PJIg.js";import{e as a}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D1QZQXQN.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
2
2
  /**!
3
3
  * Sortable 1.15.6
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(D(o,"border-top-width")),a-=d.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=K(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=K(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Wt.ghost&&(e||s[r]!==Wt.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function K(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function U(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function G(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function X(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var q="Sortable"+(new Date).getTime();var Z=[],$={initializeByDefault:!0},J={mount:function(t){for(var i in $)$.hasOwnProperty(i)&&!(i in t)&&(t[i]=$[i]);Z.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Z.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";Z.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in Z.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return Z.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return Z.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);J.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Kt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[q]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),J.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Ft&&et&&D(et,"display","none")},Kt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Ut=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[q].options.emptyInsertThreshold;if(i&&!B(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[q]._onDragOver(n)}}var o,r,s},Gt=function(t){it&&it.parentNode[q]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[q]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in J.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:L(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&U(u,a)&&!U(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),U(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,c,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Xt(t,i,n,e,o,r,s,a){var u,l,c=t[q],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||L(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Yt(t){t.draggable=!1}function qt(){Dt=!1}function Zt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function $t(t){return setTimeout(t,0)}function Jt(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=H(a),ht=H(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,ft=s.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Ut),T(a,"mousemove",Ut),T(a,"touchmove",Ut),s.supportPointer?(T(a,"pointerup",o._onDrop),!this.nativeDraggable&&T(a,"pointercancel",o._onDrop)):(T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();s.supportPointer?(T(a,"pointerup",o._disableDelayedDrag),T(a,"pointercancel",o._disableDelayedDrag)):(T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag)),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Yt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?$t((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Gt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Pt();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[q]._isOutsideThisEl(t),i)do{if(i[q]&&i[q]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Kt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():(Q("setupClone",this),Wt.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Wt.clone=at),n.cloneId=$t((function(){Q("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=$t(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Wt.active,c=ft===u,h=a.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return R(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=L(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=L(B(n.el,n.options.draggable)),o=Y(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(s=g),s&&(n=L(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=L(F(n.el,0,n.options,!0)),o=Y(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,a,!0);if(m===it)return R(!1);if(n=L(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(s.parentNode===r){n=L(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=N(s,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,Ct=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||s)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Ct,Et===s),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return R(!1);Et=s,St=p;var M=s.nextElementSibling,j=!1,C=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout(qt,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-L(s)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(a,u){Q(a,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:s,completed:R,onMove:function(n,e){return Xt(ot,r,it,i,n,L(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[q]._isOutsideThisEl(t.target),!i&&Ut(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Ut),O(document,"mousemove",Ut),O(document,"touchmove",Ut)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Jt(this.cloneId),Jt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Zt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=J.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[q]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Wt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:G,closest:I,toggleClass:A,clone:X,index:H,nextTick:$t,cancelNextTick:Jt,detectDirection:Bt,getChild:F,expando:q},Wt.get=function(t){return t[q]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=d(d({},Wt.utils),t.utils)),J.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Vt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=G((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=K(n,!0)));var h=0,d=Vt;do{var f=d,v=L(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&k+w<S)-(Math.abs(m-r)<=a&&!!k),j=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var C=0;C<=h;C++)oi[C]||(oi[C]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[q],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=K(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(j),j=void 0},nulling:function(){ni=Qt=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=K(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=K(document.elementFromPoint(e,o),!0);r!==s&&(s=r,si()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||K(r,!0)===R())return void si();ui(t,this.options,K(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"70d045c953d1cd407223753de6e33f47dc4b3ff2",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"125bf3437d31da8277c45d4bffba76244f175f88",class:"gux-scrollable-section"},o("div",{key:"306bed4c1e3da97573af7194c3111223e82fe828",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"3f12dce89b1b8129948d185d804c321bea31f456"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
7
+ */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(D(o,"border-top-width")),a-=d.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function L(t,i,n){for(var e=K(t,!0),o=N(t)[i];e;){if(!(o>=N(e)[n]))return e;if(e===R())break;e=K(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Wt.ghost&&(e||s[r]!==Wt.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function P(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function H(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function K(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function G(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function U(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function J(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Q(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=N(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var X="Sortable"+(new Date).getTime();var Y=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);Y.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Y.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";Y.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in Y.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return Y.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return Y.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],$=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);q.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Ht,unhideGhostForTarget:Kt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[X]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Nt=p||m?"cssFloat":"float",Lt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Pt=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Ht=function(){!Ft&&et&&D(et,"display","none")},Kt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Gt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[X].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[X]._onDragOver(n)}}var o,r,s},Ut=function(t){it&&it.parentNode[X]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[X]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Pt(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:N(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=N(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&G(u,a)&&!G(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),G(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,c,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Jt(t,i,n,e,o,r,s,a){var u,l,c=t[X],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||N(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Qt(t){t.draggable=!1}function Xt(){Dt=!1}function Yt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=P(a),ht=P(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),$("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),$("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,ft=s.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){$("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Qt)})),T(a,"dragover",Gt),T(a,"mousemove",Gt),T(a,"touchmove",Gt),s.supportPointer?(T(a,"pointerup",o._onDrop),!this.nativeDraggable&&T(a,"pointercancel",o._onDrop)):(T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),$("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();s.supportPointer?(T(a,"pointerup",o._disableDelayedDrag),T(a,"pointercancel",o._disableDelayedDrag)):(T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag)),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Qt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){$("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Ht();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[X]._isOutsideThisEl(t),i)do{if(i[X]&&i[X]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Kt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Rt&&Ot&&H(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=H(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;$("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():($("setupClone",this),Wt.eventCanceled||((at=J(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Wt.clone=at),n.cloneId=Zt((function(){$("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Wt.active,c=ft===u,h=a.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return R(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(B(n.el,n.options.draggable)),o=Q(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(s=g),s&&(n=N(s)),!1!==Jt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,H(),R(!0)}else if(g&&function(t,i,n){var e=N(F(n.el,0,n.options,!0)),o=Q(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,a,!0);if(m===it)return R(!1);if(n=N(s=m),!1!==Jt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,H(),R(!0)}else if(s.parentNode===r){n=N(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=L(s,"top","top")||L(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,Ct=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return P(it)<P(t)?1:-1}(i);return(d=d||s)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Ct,Et===s),0!==p){var k=P(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return R(!1);Et=s,St=p;var M=s.nextElementSibling,j=!1,C=Jt(ot,r,it,i,s,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout(Xt,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(s)[S])),H(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(a,u){$(a,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:s,completed:R,onMove:function(n,e){return Jt(ot,r,it,i,n,N(n),t,e)},changed:H},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[X]._isOutsideThisEl(t.target),!i&&Gt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function H(){ct=P(it),dt=P(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Gt),O(document,"mousemove",Gt),O(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=P(it),dt=P(it,n.draggable),$("drop",this,{evt:t}),nt=it&&it.parentNode,ct=P(it),dt=P(it,n.draggable),Wt.eventCanceled||(kt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Qt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){$("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Yt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=q.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Pt(n)},destroy:function(){$("destroy",this);var t=this.el;t[X]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if($("hideClone",this),Wt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if($("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:U,closest:I,toggleClass:A,clone:J,index:P,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:X},Wt.get=function(t){return t[X]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=d(d({},Wt.utils),t.utils)),q.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Vt,$t,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;$t!==n&&($t=n,si(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=K(n,!0)));var h=0,d=Vt;do{var f=d,v=N(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&k+w<S)-(Math.abs(m-r)<=a&&!!k),j=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var C=0;C<=h;C++)oi[C]||(oi[C]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[X],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=K(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(j),j=void 0},nulling:function(){ni=$t=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=K(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=K(document.elementFromPoint(e,o),!0);r!==s&&(s=r,si()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||K(r,!0)===R())return void si();ui(t,this.options,K(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"70d045c953d1cd407223753de6e33f47dc4b3ff2",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"125bf3437d31da8277c45d4bffba76244f175f88",class:"gux-scrollable-section"},o("div",{key:"306bed4c1e3da97573af7194c3111223e82fe828",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"3f12dce89b1b8129948d185d804c321bea31f456"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-Dz_2h4jr.js";import{b as n}from"./p-DmaAM9UB.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"ad1d39e218e5ff60a3f4bcd362d44365da58b13b",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"f756695ab38998229d372499fb6d508675c5a2b1",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"5ee8b59991c724439904d11b4e92781a7c628e70",accent:"ghost","icon-only":!0},e("button",{key:"b2ea338010aa62a680419cf4ff6eaace0b1e0fe0",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"723f24e0ee3effb27bbedb2b17d074df6aa6cfac",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"0b2624a8b9c8b35a6299acd4f39843dc67e6e423",accent:"ghost","icon-only":!0},e("button",{key:"2db911756af0b2c27bfec9fa7411a01a70fcedc2",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"5fe8bd4bae9b08fd1de52c8fc58bb37eb8e0dfb2",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"43c9df42ec681c423ac746016a4079fbb80387cf",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"267748c572d22bc4a383245707653576bc00f58d",accent:"ghost","icon-only":!0},e("button",{key:"8d5341b6b4cdd2e5fc5073f7100a15d6b863125f",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"886bf162cd341b4e1d63284a3a0dbb47ac40ea97",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"8f0902b5c0185cb99420cd2a71f2b1ad380d7eee",accent:"ghost","icon-only":!0},e("button",{key:"bd85a491f9e6a108cbed5ad43a80cd66cabdafbd",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"c7104b44d5968ff34e44af8beff34895ba110631",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"52a3958d1b29e0b97fa48b73ab4dd786d402d3dd",class:"gux-pagination-item-counts-container"},e("span",{key:"d11108a181fc8d47dac4930bb2e15f59e51271dc",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"59376888f073f637bc77faed3707ac7ac1f69367",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as a,h as e,a as i}from"./p-CjVJoR6g.js";import{b as n}from"./p-D1QZQXQN.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"ad1d39e218e5ff60a3f4bcd362d44365da58b13b",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"f756695ab38998229d372499fb6d508675c5a2b1",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"5ee8b59991c724439904d11b4e92781a7c628e70",accent:"ghost","icon-only":!0},e("button",{key:"b2ea338010aa62a680419cf4ff6eaace0b1e0fe0",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"723f24e0ee3effb27bbedb2b17d074df6aa6cfac",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"0b2624a8b9c8b35a6299acd4f39843dc67e6e423",accent:"ghost","icon-only":!0},e("button",{key:"2db911756af0b2c27bfec9fa7411a01a70fcedc2",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"5fe8bd4bae9b08fd1de52c8fc58bb37eb8e0dfb2",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"43c9df42ec681c423ac746016a4079fbb80387cf",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"267748c572d22bc4a383245707653576bc00f58d",accent:"ghost","icon-only":!0},e("button",{key:"8d5341b6b4cdd2e5fc5073f7100a15d6b863125f",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"886bf162cd341b4e1d63284a3a0dbb47ac40ea97",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"8f0902b5c0185cb99420cd2a71f2b1ad380d7eee",accent:"ghost","icon-only":!0},e("button",{key:"bd85a491f9e6a108cbed5ad43a80cd66cabdafbd",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"c7104b44d5968ff34e44af8beff34895ba110631",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"52a3958d1b29e0b97fa48b73ab4dd786d402d3dd",class:"gux-pagination-item-counts-container"},e("span",{key:"d11108a181fc8d47dac4930bb2e15f59e51271dc",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"59376888f073f637bc77faed3707ac7ac1f69367",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-Dz_2h4jr.js";import{b as o}from"./p-DmaAM9UB.js";import{O as r}from"./p-0yc9CKxX.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-JPhxXbs4.js";import{G as d,a as u,b as c}from"./p-DrJn2EIj.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"d2f7764c644607c9b789004ac4ff304ebdd4b4a4",labelPosition:this.computedLabelPosition},i(u,{key:"5955af50f76717c3f71c74496bc3650b35827de8"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"adb26994aac740a439f422214360ce4d6caff4d9",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fe93a8ac8adb56a3301acd300534ed9ee1cfacc9",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"d34b01db638337a6ef2f0ec4e70f800282d9194c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"43c259c58bae02c4add5af49f20444cbd56fc8c6",name:"label-info"})),i("slot",{key:"a6373c8a837b30773dd1a6a15988a7478830c2f2",name:"label-info"}),i("div",{key:"29bfd01f032980cbf711321905a7dd9936b606df",class:"gux-input-and-error-container"},i("div",{key:"e486176ee7af9d4bd4e727ec9acb13536b6dd65d",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"9e0a291fda7f248569cee134e2185593d13cfece"})),i(f,{key:"f812a98c5f20074cec5137e844b7e42fadedc96e",show:this.hasError},i("slot",{key:"ebc5e12d4dcf82600ce62b0ccd4b906b1106cb15",name:"error"})),i(h,{key:"01f4843c6fc27fac61235201845aa7fc8d3f4386",show:!this.hasError&&this.hasHelp},i("slot",{key:"049fe7400e15d7e8fcff0e283d4a93b523b2f6de",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
1
+ import{r as e,h as i,a as t}from"./p-CjVJoR6g.js";import{b as o}from"./p-D1QZQXQN.js";import{O as r}from"./p-DaK6PJIg.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-kyGdOoF4.js";import{G as d,a as u,b as c}from"./p-5GSd1tCA.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"d2f7764c644607c9b789004ac4ff304ebdd4b4a4",labelPosition:this.computedLabelPosition},i(u,{key:"5955af50f76717c3f71c74496bc3650b35827de8"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"adb26994aac740a439f422214360ce4d6caff4d9",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fe93a8ac8adb56a3301acd300534ed9ee1cfacc9",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"d34b01db638337a6ef2f0ec4e70f800282d9194c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"43c259c58bae02c4add5af49f20444cbd56fc8c6",name:"label-info"})),i("slot",{key:"a6373c8a837b30773dd1a6a15988a7478830c2f2",name:"label-info"}),i("div",{key:"29bfd01f032980cbf711321905a7dd9936b606df",class:"gux-input-and-error-container"},i("div",{key:"e486176ee7af9d4bd4e727ec9acb13536b6dd65d",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"9e0a291fda7f248569cee134e2185593d13cfece"})),i(f,{key:"f812a98c5f20074cec5137e844b7e42fadedc96e",show:this.hasError},i("slot",{key:"ebc5e12d4dcf82600ce62b0ccd4b906b1106cb15",name:"error"})),i(h,{key:"01f4843c6fc27fac61235201845aa7fc8d3f4386",show:!this.hasError&&this.hasHelp},i("slot",{key:"049fe7400e15d7e8fcff0e283d4a93b523b2f6de",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
@@ -1 +1 @@
1
- import{r as a,h as e,H as t,a as i}from"./p-Dz_2h4jr.js";import{t as o}from"./p-P-hdUE3M.js";import{g as r}from"./p-vciQk5kR.js";import{b as n}from"./p-DmaAM9UB.js";import{a as s,c as u,o as c}from"./p-C8aV-TzO.js";import{O as l}from"./p-Ct81NxWr.js";import{l as d}from"./p-DxtJDeL9.js";import{a as g}from"./p-Bg4q97BS.js";import{g as v,a as f}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var b={addToGroup:"Add more items to group"};const m=class{constructor(e){a(this,e)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,b)}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){r(a,this.root)}render(){return e(t,{key:"c2208087a0df24f9930d65f5cc0b4e33e9365f3d",role:"menuitem"},e("button",{key:"c84beab4ccbf57c154859e7bd16ba4de69705ffa",type:"button","aria-label":this.i18n("addToGroup"),tabIndex:-1,class:"gux-avatar"},e("span",{key:"de3cafb76d43b51a17d80d825a1902662e55585c","aria-hidden":"true"},"+"),e("gux-tooltip-beta",{key:"02843211a8a4cedfbaafa6b650ddc29d77802a7d","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},e("div",{key:"a5c8e606aa2cbb12517bf295d26520ca5358aeff",slot:"content"},this.i18n("addToGroup")))))}static get delegatesFocus(){return!0}get root(){return i(this)}};m.style="button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-add);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-add);border:none;border-radius:50%}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus)}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";const h=class{constructor(e){a(this,e),this.delayTime=250,this.count=0,this.expanded=!1}async componentWillLoad(){o(this.root)}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){clearTimeout(this.focusDelayTimeout),clearTimeout(this.hideDelayTimeout),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}onClickOutside(){this.expanded=!1}onKeydown(a){switch(r(a,this.root),a.key){case"Escape":this.hide(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.focusDelayTimeout=g((()=>{var a;null===(a=this.overflowButtonElement)||void 0===a||a.focus()})));break;case"Tab":this.hide()}}onClick(a){a.stopPropagation(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.menuElement.scrollTop=0,this.expanded=!1)}async guxClose(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(this.overflowButtonElement,this.menuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&u(this.overflowButtonElement,this.menuElement,{placement:"bottom-start",strategy:"fixed",middleware:[c({mainAxis:4,crossAxis:4})]}).then((({x:a,y:e})=>{Object.assign(this.menuElement.style,{left:`${a}px`,top:`${e}px`})}))}getCount(){const a=Array.from(this.root.children);if(a.some((a=>"GUX-AVATAR-OVERFLOW-ITEM-BETA"!==a.tagName))&&d(this.root,"Only gux-avatar-overflow-item-beta elements are allowed as children."),a)return a.length}toggleOverflowMenu(){this.expanded?this.hide():this.show()}show(){clearTimeout(this.hideDelayTimeout),this.expanded=!0,this.hideDelayTimeout=g((()=>{this.focusOnMenu()}))}hide(){this.expanded&&(this.hideDelayTimeout=setTimeout((()=>{this.expanded=!1}),this.delayTime))}focusOnMenu(){Array.from(this.root.children)[0].focus()}render(){return e(t,{key:"289b013c9d67271a08acc35a6f61cd90d2e733c5",role:"menuitem"},e("button",{key:"48465ecf48d5f3a72924b6d4bb6d029550839367",class:"gux-avatar-overflow",ref:a=>this.overflowButtonElement=a,onClick:()=>this.toggleOverflowMenu(),tabIndex:-1,"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("span",{key:"6743688d97606a5524c9746d2e808c2224106628",class:"gux-avatar-overflow-wrapper"},e("span",{key:"c8cf521169d3b6999d70d12bf95f902f7c2910a9",class:"gux-avatar-overflow-content"}," +",this.getCount()))),e("div",{key:"6c9081633ec976b9fb380ee5c1fd77f2a71b424b",class:{"gux-menu-wrapper":!0,"gux-shown":this.expanded},ref:a=>this.menuElement=a},e("div",{key:"f99f53607731b8121276ca8f9b1469ef980f2601",role:"menu",class:"gux-menu-content"},e("slot",{key:"e82d2ac9cf9f02d0acdbebb29a5dfd8df31e4d72"}))))}static get delegatesFocus(){return!0}get root(){return i(this)}};function p(a){const e=function(a){let e=a;for(;null!==e.previousElementSibling;)e=e.previousElementSibling;return e}(a);e&&e.focus()}function x(a){const e=function(a){let e=a;for(;null!==e.nextElementSibling;)e=e.nextElementSibling;return e}(a);e&&e.focus()}(function(a,e,t,i){var o,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(a,e,t,i);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(n=(r<3?o(n):r>3?o(e,t,n):o(e,t))||n);r>3&&n&&Object.defineProperty(e,t,n)})([l({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block;margin-inline-end:var(--gse-ui-avatar-groupSet-gap)}.gux-avatar-overflow{position:relative;box-sizing:border-box;inline-size:100%;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-avatar-overflow:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-avatar-overflow:hover,.gux-avatar-overflow:focus{z-index:var(--gse-semantic-zIndex-showFocus)}.gux-avatar-overflow .gux-avatar-overflow-wrapper{position:relative;display:flex}.gux-avatar-overflow .gux-avatar-overflow-wrapper .gux-avatar-overflow-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-core-lineHeight-matchFontSize);color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-overflowCount);border-radius:50%}.gux-menu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;flex-direction:column;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow-y:auto;background-color:var(--gse-ui-menu-backgroundColor);border:none;border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-menu-wrapper.gux-shown{visibility:visible}";const k=class{constructor(e){a(this,e),this.accent="auto"}async componentWillLoad(){o(this.root)}componentDidLoad(){this.validatingInputs()}onKeydown(a){!function(a,e){switch(a.key){case"ArrowUp":case"ArrowLeft":a.stopPropagation(),a.preventDefault(),function(a){const e=a.previousElementSibling;e?e.focus():x(a)}(e);break;case"ArrowDown":case"ArrowRight":a.stopPropagation(),a.preventDefault(),function(a){const e=a.nextElementSibling;e?e.focus():p(a)}(e);break;case"Home":a.stopPropagation(),a.preventDefault(),p(e);break;case"End":a.stopPropagation(),a.preventDefault(),x(e)}}(a,this.root)}validatingInputs(){const a=this.root.querySelector("img");this.name||d(this.root,"Name prop is required"),a&&!a.getAttribute("alt")&&d(this.root,"Alt attribute is required for slotted image.")}render(){return e(t,{key:"769668526c1644357e51102afffcd6793d58d310",role:"menuitem"},e("button",{key:"dca0f9b8c7eedb19046a8d8c4e5f9d79c6784b4d",type:"button","aria-label":this.name,tabIndex:-1},e("span",{key:"da5d47925ee28f53d33e6b3caebd5efe101f32c1",class:{"gux-avatar":!0,[v(this.accent,this.name)]:!0}},e("slot",{key:"f8c55899e81654c14b662c9af82cf7347c8b0706",name:"image"},e("span",{key:"48b1658a2d111d22ed473ba738b5fbb0a075a8a3",class:"gux-avatar-initials","aria-hidden":"true"},f(this.name)))),e("span",{key:"1ea090bc03df200e7696ea9c5e30a01715e14978"},this.name)))}static get delegatesFocus(){return!0}get root(){return i(this)}};k.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{all:unset;box-sizing:border-box;display:flex;gap:var(--gse-ui-menu-option-gap);align-items:center;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover{background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button .gux-avatar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-xsmall-content-size);block-size:var(--gse-ui-avatar-xsmall-content-size);padding:0;margin:0;overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%}button .gux-avatar .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button .gux-avatar.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button .gux-avatar.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button .gux-avatar.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button .gux-avatar.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button .gux-avatar.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button .gux-avatar.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button .gux-avatar.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button .gux-avatar.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button .gux-avatar.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button .gux-avatar.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button .gux-avatar.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button .gux-avatar.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button .gux-avatar.gux-accent-inherit{color:inherit;background-color:inherit}";export{m as gux_avatar_group_add_item_beta,h as gux_avatar_overflow_beta,k as gux_avatar_overflow_item_beta}
1
+ import{r as a,h as e,H as t,a as i}from"./p-CjVJoR6g.js";import{t as o}from"./p-m3Lae7sj.js";import{g as r}from"./p-vciQk5kR.js";import{b as n}from"./p-D1QZQXQN.js";import{a as s,c as u,o as c}from"./p-C8aV-TzO.js";import{O as l}from"./p-BvVMx5eW.js";import{l as d}from"./p-DxtJDeL9.js";import{a as g}from"./p-Bg4q97BS.js";import{g as v,a as f}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var b={addToGroup:"Add more items to group"};const m=class{constructor(e){a(this,e)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,b)}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){r(a,this.root)}render(){return e(t,{key:"c2208087a0df24f9930d65f5cc0b4e33e9365f3d",role:"menuitem"},e("button",{key:"c84beab4ccbf57c154859e7bd16ba4de69705ffa",type:"button","aria-label":this.i18n("addToGroup"),tabIndex:-1,class:"gux-avatar"},e("span",{key:"de3cafb76d43b51a17d80d825a1902662e55585c","aria-hidden":"true"},"+"),e("gux-tooltip-beta",{key:"02843211a8a4cedfbaafa6b650ddc29d77802a7d","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},e("div",{key:"a5c8e606aa2cbb12517bf295d26520ca5358aeff",slot:"content"},this.i18n("addToGroup")))))}static get delegatesFocus(){return!0}get root(){return i(this)}};m.style="button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-add);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-add);border:none;border-radius:50%}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus)}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";const h=class{constructor(e){a(this,e),this.delayTime=250,this.count=0,this.expanded=!1}async componentWillLoad(){o(this.root)}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){clearTimeout(this.focusDelayTimeout),clearTimeout(this.hideDelayTimeout),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}onClickOutside(){this.expanded=!1}onKeydown(a){switch(r(a,this.root),a.key){case"Escape":this.hide(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.focusDelayTimeout=g((()=>{var a;null===(a=this.overflowButtonElement)||void 0===a||a.focus()})));break;case"Tab":this.hide()}}onClick(a){a.stopPropagation(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.menuElement.scrollTop=0,this.expanded=!1)}async guxClose(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(this.overflowButtonElement,this.menuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&u(this.overflowButtonElement,this.menuElement,{placement:"bottom-start",strategy:"fixed",middleware:[c({mainAxis:4,crossAxis:4})]}).then((({x:a,y:e})=>{Object.assign(this.menuElement.style,{left:`${a}px`,top:`${e}px`})}))}getCount(){const a=Array.from(this.root.children);if(a.some((a=>"GUX-AVATAR-OVERFLOW-ITEM-BETA"!==a.tagName))&&d(this.root,"Only gux-avatar-overflow-item-beta elements are allowed as children."),a)return a.length}toggleOverflowMenu(){this.expanded?this.hide():this.show()}show(){clearTimeout(this.hideDelayTimeout),this.expanded=!0,this.hideDelayTimeout=g((()=>{this.focusOnMenu()}))}hide(){this.expanded&&(this.hideDelayTimeout=setTimeout((()=>{this.expanded=!1}),this.delayTime))}focusOnMenu(){Array.from(this.root.children)[0].focus()}render(){return e(t,{key:"289b013c9d67271a08acc35a6f61cd90d2e733c5",role:"menuitem"},e("button",{key:"48465ecf48d5f3a72924b6d4bb6d029550839367",class:"gux-avatar-overflow",ref:a=>this.overflowButtonElement=a,onClick:()=>this.toggleOverflowMenu(),tabIndex:-1,"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("span",{key:"6743688d97606a5524c9746d2e808c2224106628",class:"gux-avatar-overflow-wrapper"},e("span",{key:"c8cf521169d3b6999d70d12bf95f902f7c2910a9",class:"gux-avatar-overflow-content"}," +",this.getCount()))),e("div",{key:"6c9081633ec976b9fb380ee5c1fd77f2a71b424b",class:{"gux-menu-wrapper":!0,"gux-shown":this.expanded},ref:a=>this.menuElement=a},e("div",{key:"f99f53607731b8121276ca8f9b1469ef980f2601",role:"menu",class:"gux-menu-content"},e("slot",{key:"e82d2ac9cf9f02d0acdbebb29a5dfd8df31e4d72"}))))}static get delegatesFocus(){return!0}get root(){return i(this)}};function p(a){const e=function(a){let e=a;for(;null!==e.previousElementSibling;)e=e.previousElementSibling;return e}(a);e&&e.focus()}function x(a){const e=function(a){let e=a;for(;null!==e.nextElementSibling;)e=e.nextElementSibling;return e}(a);e&&e.focus()}(function(a,e,t,i){var o,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(a,e,t,i);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(n=(r<3?o(n):r>3?o(e,t,n):o(e,t))||n);r>3&&n&&Object.defineProperty(e,t,n)})([l({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block;margin-inline-end:var(--gse-ui-avatar-groupSet-gap)}.gux-avatar-overflow{position:relative;box-sizing:border-box;inline-size:100%;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-avatar-overflow:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-avatar-overflow:hover,.gux-avatar-overflow:focus{z-index:var(--gse-semantic-zIndex-showFocus)}.gux-avatar-overflow .gux-avatar-overflow-wrapper{position:relative;display:flex}.gux-avatar-overflow .gux-avatar-overflow-wrapper .gux-avatar-overflow-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-core-lineHeight-matchFontSize);color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-overflowCount);border-radius:50%}.gux-menu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;flex-direction:column;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow-y:auto;background-color:var(--gse-ui-menu-backgroundColor);border:none;border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-menu-wrapper.gux-shown{visibility:visible}";const k=class{constructor(e){a(this,e),this.accent="auto"}async componentWillLoad(){o(this.root)}componentDidLoad(){this.validatingInputs()}onKeydown(a){!function(a,e){switch(a.key){case"ArrowUp":case"ArrowLeft":a.stopPropagation(),a.preventDefault(),function(a){const e=a.previousElementSibling;e?e.focus():x(a)}(e);break;case"ArrowDown":case"ArrowRight":a.stopPropagation(),a.preventDefault(),function(a){const e=a.nextElementSibling;e?e.focus():p(a)}(e);break;case"Home":a.stopPropagation(),a.preventDefault(),p(e);break;case"End":a.stopPropagation(),a.preventDefault(),x(e)}}(a,this.root)}validatingInputs(){const a=this.root.querySelector("img");this.name||d(this.root,"Name prop is required"),a&&!a.getAttribute("alt")&&d(this.root,"Alt attribute is required for slotted image.")}render(){return e(t,{key:"769668526c1644357e51102afffcd6793d58d310",role:"menuitem"},e("button",{key:"dca0f9b8c7eedb19046a8d8c4e5f9d79c6784b4d",type:"button","aria-label":this.name,tabIndex:-1},e("span",{key:"da5d47925ee28f53d33e6b3caebd5efe101f32c1",class:{"gux-avatar":!0,[v(this.accent,this.name)]:!0}},e("slot",{key:"f8c55899e81654c14b662c9af82cf7347c8b0706",name:"image"},e("span",{key:"48b1658a2d111d22ed473ba738b5fbb0a075a8a3",class:"gux-avatar-initials","aria-hidden":"true"},f(this.name)))),e("span",{key:"1ea090bc03df200e7696ea9c5e30a01715e14978"},this.name)))}static get delegatesFocus(){return!0}get root(){return i(this)}};k.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{all:unset;box-sizing:border-box;display:flex;gap:var(--gse-ui-menu-option-gap);align-items:center;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover{background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button .gux-avatar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-xsmall-content-size);block-size:var(--gse-ui-avatar-xsmall-content-size);padding:0;margin:0;overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%}button .gux-avatar .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button .gux-avatar.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button .gux-avatar.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button .gux-avatar.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button .gux-avatar.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button .gux-avatar.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button .gux-avatar.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button .gux-avatar.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button .gux-avatar.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button .gux-avatar.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button .gux-avatar.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button .gux-avatar.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button .gux-avatar.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button .gux-avatar.gux-accent-inherit{color:inherit;background-color:inherit}";export{m as gux_avatar_group_add_item_beta,h as gux_avatar_overflow_beta,k as gux_avatar_overflow_item_beta}