genesys-spark-components 4.99.0 → 4.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/dist/cjs/generate-initials-5571e9d5.js +12 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -12
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +57 -0
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +78 -0
  14. package/dist/cjs/gux-avatar-group.service-c18a548f.js +115 -0
  15. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button_4.cjs.entry.js +12 -12
  22. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +4 -3
  38. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-dropdown_3.cjs.entry.js +11 -6
  41. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  48. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  53. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  56. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  58. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  61. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  62. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  68. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -1
  73. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  77. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-option-icon.cjs.entry.js +8 -3
  84. package/dist/cjs/gux-option-multi.cjs.entry.js +8 -4
  85. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  87. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +3 -9
  100. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  102. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -2
  105. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +19 -15
  106. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  112. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  139. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  141. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  142. package/dist/cjs/index-79505d14.js +8 -0
  143. package/dist/cjs/loader.cjs.js +1 -1
  144. package/dist/cjs/{usage-4c66c07b.js → usage-250cab08.js} +8 -8
  145. package/dist/collection/collection-manifest.json +2 -0
  146. package/dist/collection/components/beta/gux-avatar/gux-avatar.css +1 -1
  147. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +3 -10
  148. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.css +97 -0
  149. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +173 -0
  150. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.css +10 -0
  151. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +67 -0
  152. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.service.js +109 -0
  153. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
  154. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  155. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  156. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  157. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  158. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  159. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  160. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  161. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  162. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  163. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  164. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  165. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  166. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  167. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  168. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  169. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  170. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  171. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.css +0 -4
  172. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +2 -8
  173. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +10 -10
  174. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.css +5 -2
  175. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  176. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +7 -1
  177. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +18 -19
  178. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +20 -1
  179. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  180. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  181. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  182. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  183. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  184. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  185. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  186. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  187. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  188. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  189. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  190. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  191. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  192. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  193. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  194. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  195. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  196. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  197. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  198. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  199. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  200. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  201. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  202. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  203. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  204. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  205. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  206. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  207. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  208. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  209. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  210. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  211. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  212. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  213. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  214. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  215. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  216. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  217. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  218. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  219. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +5 -4
  220. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  221. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  222. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  223. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  224. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  225. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  226. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  227. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  228. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  229. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  230. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  231. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  232. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  233. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  234. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  235. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  236. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  237. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  242. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  243. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  244. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  245. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  246. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  247. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +19 -0
  248. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  249. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +8 -3
  250. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +8 -3
  251. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  252. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +19 -0
  253. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +8 -3
  254. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  255. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  256. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  257. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  258. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  259. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  260. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  261. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  262. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  263. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  264. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  265. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  266. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  267. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  268. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  269. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  270. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  271. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  272. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  273. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  274. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  275. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  276. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  277. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  278. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  279. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  280. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  281. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  282. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  283. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  284. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  285. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  286. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  287. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  288. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  289. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  290. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  291. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  292. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  293. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  294. package/dist/collection/utils/string/generate-initials.js +8 -0
  295. package/dist/esm/generate-initials-4f347529.js +10 -0
  296. package/dist/esm/genesys-webcomponents.js +1 -1
  297. package/dist/esm/gux-accordion-section.entry.js +5 -5
  298. package/dist/esm/gux-accordion.entry.js +2 -2
  299. package/dist/esm/gux-action-button.entry.js +2 -2
  300. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  301. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  302. package/dist/esm/gux-all-row-select.entry.js +1 -1
  303. package/dist/esm/gux-announce-beta.entry.js +1 -1
  304. package/dist/esm/gux-avatar-beta.entry.js +5 -12
  305. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  306. package/dist/esm/gux-avatar-group-beta.entry.js +53 -0
  307. package/dist/esm/gux-avatar-group-item-beta.entry.js +74 -0
  308. package/dist/esm/gux-avatar-group.service-23d9c11d.js +111 -0
  309. package/dist/esm/gux-badge.entry.js +2 -2
  310. package/dist/esm/gux-blank-state.entry.js +2 -2
  311. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  312. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  313. package/dist/esm/gux-button-multi.entry.js +2 -2
  314. package/dist/esm/gux-button-slot.entry.js +2 -2
  315. package/dist/esm/gux-button_4.entry.js +12 -12
  316. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  317. package/dist/esm/gux-calendar.entry.js +2 -2
  318. package/dist/esm/gux-card.entry.js +3 -3
  319. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  320. package/dist/esm/gux-column-manager.entry.js +2 -2
  321. package/dist/esm/gux-content-search.entry.js +3 -3
  322. package/dist/esm/gux-context-menu.entry.js +3 -3
  323. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  324. package/dist/esm/gux-create-option.entry.js +2 -2
  325. package/dist/esm/gux-cta-group.entry.js +1 -1
  326. package/dist/esm/gux-date-beta.entry.js +2 -2
  327. package/dist/esm/gux-date-time-beta.entry.js +2 -2
  328. package/dist/esm/gux-datepicker.entry.js +2 -2
  329. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  330. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  331. package/dist/esm/gux-dropdown-multi-tag.entry.js +4 -3
  332. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  333. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  334. package/dist/esm/gux-dropdown_3.entry.js +11 -6
  335. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  336. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  337. package/dist/esm/gux-form-beta.entry.js +1 -1
  338. package/dist/esm/gux-form-description.entry.js +1 -1
  339. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  340. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  341. package/dist/esm/gux-form-field-color.entry.js +4 -4
  342. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  343. package/dist/esm/gux-form-field-file.entry.js +2 -2
  344. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  345. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  346. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  347. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  348. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  349. package/dist/esm/gux-form-field-range.entry.js +3 -3
  350. package/dist/esm/gux-form-field-search.entry.js +4 -4
  351. package/dist/esm/gux-form-field-select.entry.js +4 -4
  352. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  353. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  354. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  355. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  356. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  357. package/dist/esm/gux-form-footer.entry.js +3 -3
  358. package/dist/esm/gux-form-heading.entry.js +1 -1
  359. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  360. package/dist/esm/gux-icon.entry.js +2 -2
  361. package/dist/esm/gux-inline-alert.entry.js +3 -3
  362. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  363. package/dist/esm/gux-list-divider.entry.js +1 -1
  364. package/dist/esm/gux-list-item.entry.js +1 -1
  365. package/dist/esm/gux-list.entry.js +2 -2
  366. package/dist/esm/gux-listbox-multi.entry.js +2 -1
  367. package/dist/esm/gux-loading-message.entry.js +2 -2
  368. package/dist/esm/gux-menu-option.entry.js +1 -1
  369. package/dist/esm/gux-menu.entry.js +1 -1
  370. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  371. package/dist/esm/gux-modal.entry.js +2 -2
  372. package/dist/esm/gux-month-calendar.entry.js +1 -1
  373. package/dist/esm/gux-month-list_2.entry.js +2 -2
  374. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  375. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  376. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  377. package/dist/esm/gux-option-icon.entry.js +8 -3
  378. package/dist/esm/gux-option-multi.entry.js +8 -4
  379. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  380. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  381. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  382. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  383. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  384. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  385. package/dist/esm/gux-pagination.entry.js +2 -2
  386. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  387. package/dist/esm/gux-popover-beta.entry.js +3 -3
  388. package/dist/esm/gux-popover-list.entry.js +3 -3
  389. package/dist/esm/gux-popup.entry.js +3 -3
  390. package/dist/esm/gux-radial-loading.entry.js +2 -2
  391. package/dist/esm/gux-radial-progress.entry.js +1 -1
  392. package/dist/esm/gux-rating.entry.js +2 -2
  393. package/dist/esm/gux-rich-text-editor-action-group.entry.js +3 -9
  394. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  395. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  396. package/dist/esm/gux-row-select.entry.js +2 -2
  397. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  398. package/dist/esm/gux-segmented-control-beta.entry.js +3 -2
  399. package/dist/esm/gux-segmented-control-item.entry.js +19 -15
  400. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  401. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  402. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  403. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  404. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  405. package/dist/esm/gux-sort-control.entry.js +4 -4
  406. package/dist/esm/gux-submenu.entry.js +3 -3
  407. package/dist/esm/gux-switch-item.entry.js +1 -1
  408. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  409. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  410. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  411. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  412. package/dist/esm/gux-tab-list.entry.js +2 -2
  413. package/dist/esm/gux-tab-panel.entry.js +1 -1
  414. package/dist/esm/gux-tab.entry.js +2 -2
  415. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  416. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  417. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  418. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  419. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  420. package/dist/esm/gux-table.entry.js +2 -2
  421. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  422. package/dist/esm/gux-tabs.entry.js +2 -2
  423. package/dist/esm/gux-tag.entry.js +2 -2
  424. package/dist/esm/gux-text-highlight.entry.js +1 -1
  425. package/dist/esm/gux-time-beta.entry.js +2 -2
  426. package/dist/esm/gux-time-picker.entry.js +2 -2
  427. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  428. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  429. package/dist/esm/gux-toast.entry.js +3 -3
  430. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  431. package/dist/esm/gux-toggle.entry.js +3 -3
  432. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  433. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  434. package/dist/esm/gux-tooltip.entry.js +3 -3
  435. package/dist/esm/gux-truncate.entry.js +3 -3
  436. package/dist/esm/index-b6ca2adc.js +8 -0
  437. package/dist/esm/loader.js +1 -1
  438. package/dist/esm/{usage-73738884.js → usage-719715c4.js} +8 -8
  439. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  440. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  441. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  442. package/dist/genesys-webcomponents/{p-d23c5225.entry.js → p-01089b78.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-b7c1a477.entry.js → p-010a6f1f.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/p-015ac4ce.entry.js +1 -0
  445. package/dist/genesys-webcomponents/{p-c7ddb21e.entry.js → p-020859cd.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/p-03f97776.entry.js +1 -0
  447. package/dist/genesys-webcomponents/{p-368d6081.entry.js → p-04ca2357.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-e07f3408.entry.js → p-08a44696.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-c61c07bf.entry.js → p-091a229e.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-b7825b6c.entry.js → p-0c9a9b0f.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/p-0e49b338.js +1 -0
  452. package/dist/genesys-webcomponents/{p-6dd96d2b.entry.js → p-0ee5cc22.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-f7f69e78.entry.js → p-12c715c9.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-723a186c.entry.js → p-13055400.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-6abc9bdc.entry.js → p-14dfd3e3.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/p-154a646d.entry.js +1 -0
  457. package/dist/genesys-webcomponents/p-15669011.entry.js +1 -0
  458. package/dist/genesys-webcomponents/{p-e169054a.entry.js → p-15d668ce.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-76fa3ae8.entry.js → p-1c2a1315.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-8c89ee9d.entry.js → p-2888be65.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-8ff99922.entry.js → p-28ceb042.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-d8e33821.entry.js → p-2a897c06.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-8242b51b.entry.js → p-2fe58502.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-0bdfdcb3.entry.js → p-30605c31.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-af5d0dc4.entry.js → p-32b12798.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/p-33236462.entry.js +1 -0
  467. package/dist/genesys-webcomponents/{p-2cf08e66.entry.js → p-36a5e0af.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-61a63670.entry.js → p-3809f0b7.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-b2b298d5.entry.js → p-39bb9e50.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-03c7a6af.entry.js → p-3a71b4d9.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-e8bfef2a.entry.js → p-3adbb511.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-45de37aa.entry.js → p-3cf744ce.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-95dfe63f.entry.js → p-3d99a6ee.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-721edfc5.entry.js → p-3dec3942.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-7e0d5380.entry.js → p-3df57756.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-6814a0e3.entry.js → p-3e773c2f.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-d8c85d45.entry.js → p-3f1ca1b7.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/p-41582df5.entry.js +1 -0
  479. package/dist/genesys-webcomponents/{p-b366ebe8.entry.js → p-431da236.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-00211fef.entry.js → p-437a3e11.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-21f31cf2.entry.js → p-46d00985.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/p-47053fd0.entry.js +1 -0
  483. package/dist/genesys-webcomponents/p-47a3a77c.entry.js +1 -0
  484. package/dist/genesys-webcomponents/{p-d8ada58d.entry.js → p-489446bc.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-d0206932.entry.js → p-4b714235.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-9b6c6d29.entry.js → p-4ba568d0.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-31b89d94.entry.js → p-4c3655a5.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-b13d813a.entry.js → p-4d20d472.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/p-4de871ba.entry.js +1 -0
  490. package/dist/genesys-webcomponents/{p-39fd065c.entry.js → p-4ed5efc4.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-6c9434e1.entry.js → p-4edde422.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-bfa4aa34.entry.js → p-57334200.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-ddfcafee.entry.js → p-57636e98.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-03a851a2.entry.js → p-5e43c731.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-beea7bca.entry.js → p-5fe45979.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-36ba5aa8.entry.js → p-619bec69.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/p-63eb1265.entry.js +1 -0
  498. package/dist/genesys-webcomponents/{p-ace8f5f8.entry.js → p-653ca3f6.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-0001e3b5.entry.js → p-67adc0c6.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-5e6cd14e.entry.js → p-687fd2e9.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-0350e10d.entry.js → p-6bd60873.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-c19b69e9.entry.js → p-6db6f06b.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-1ca527a8.entry.js → p-70ae177c.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-4f4694d4.entry.js → p-73e0523b.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-962567f6.entry.js → p-75ea9909.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-c7081990.entry.js → p-762e913b.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4c85984c.entry.js → p-7b7b33bd.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-bd9684a3.entry.js → p-7d8ab4cd.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-2f455b3b.entry.js → p-7dca04a7.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-c35e0c48.entry.js → p-7e32238d.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-7c948a29.entry.js → p-7eafce40.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-32401b11.entry.js → p-7feb63c5.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-da09cce4.entry.js → p-813b24f9.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/p-836ee6c0.entry.js +1 -0
  515. package/dist/genesys-webcomponents/{p-ffc46303.entry.js → p-87ab83ed.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-b0d59ea4.entry.js → p-88243422.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/p-883b4fac.entry.js +1 -0
  518. package/dist/genesys-webcomponents/p-8891af04.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-ed3aed39.entry.js → p-8a53ad0a.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/p-8be5a33c.entry.js +1 -0
  521. package/dist/genesys-webcomponents/p-8c915c29.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-983871be.entry.js → p-8dee98de.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-023ce609.entry.js → p-8e9032f1.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-84d3fe22.entry.js → p-9154b8d6.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/p-98277ea2.entry.js +1 -0
  526. package/dist/genesys-webcomponents/{p-ea152600.entry.js → p-9827f903.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-1c176170.entry.js → p-9e48854b.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-6f3c065f.entry.js → p-9ea5ca85.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-740a8e71.entry.js → p-9f47bf42.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/p-a108f4e3.entry.js +1 -0
  531. package/dist/genesys-webcomponents/{p-333a4403.entry.js → p-a4b66fd1.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-31ca2b14.entry.js → p-a4d99d1d.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-721a913f.entry.js → p-a4de4f08.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/p-a6af8bf2.entry.js +1 -0
  535. package/dist/genesys-webcomponents/p-a7f0d033.entry.js +1 -0
  536. package/dist/genesys-webcomponents/{p-611d619f.entry.js → p-aa94ba76.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-ccea4464.entry.js → p-ac843d1c.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-358de58a.entry.js → p-ad325a50.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-15ac70aa.entry.js → p-b062e2c0.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/p-b2959f4a.js +1 -0
  541. package/dist/genesys-webcomponents/{p-5be81464.entry.js → p-b348ad46.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-d39d2760.entry.js → p-ba149f44.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-c3ca77f7.entry.js → p-bb37ce78.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-a4696420.entry.js → p-bb62644e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-2ad59708.entry.js → p-bce71353.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-84612643.entry.js → p-bd8ae7f4.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-bb4451b7.entry.js → p-be663b2c.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-e492a4bb.entry.js → p-bed27524.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/p-bf62ddb3.entry.js +1 -0
  550. package/dist/genesys-webcomponents/p-c127a169.entry.js +1 -0
  551. package/dist/genesys-webcomponents/{p-46e95e5a.entry.js → p-c1338bdd.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-2d5b303f.entry.js → p-c26ab0ad.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-c6651199.entry.js +1 -0
  554. package/dist/genesys-webcomponents/{p-fe3f1c1e.entry.js → p-c7696ce7.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-d43dc84f.entry.js → p-cc7639aa.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/p-cde67e28.entry.js +1 -0
  557. package/dist/genesys-webcomponents/{p-ce00c162.entry.js → p-d00e0676.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-d0e61fc7.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-ffda4d12.entry.js → p-d3633a4c.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-3cddd55d.entry.js → p-d74520d7.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-41a00f0d.entry.js → p-d82a5532.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-887dd567.entry.js → p-da9971f2.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/p-da9d3054.entry.js +1 -0
  564. package/dist/genesys-webcomponents/{p-24e45e98.entry.js → p-daf8f296.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-e7b0a74f.entry.js → p-db7b31b9.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-1b30a46e.entry.js → p-dd3ed9ac.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-20bbd29b.entry.js → p-dd737e65.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-2f1575bb.entry.js → p-e11fd4f6.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/p-e531eaad.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-20fb4455.entry.js → p-e8fef902.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-27ff496f.entry.js → p-e9a8c05e.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/p-ef8f3eed.js +1 -0
  573. package/dist/genesys-webcomponents/{p-babcecb3.entry.js → p-f1728b06.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-a1117642.entry.js → p-f2c1fd2c.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-69bcba9b.entry.js → p-f4e1dba6.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/p-f61322db.entry.js +1 -0
  577. package/dist/genesys-webcomponents/p-f62a76d1.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-70a40ad2.entry.js → p-f9b92e64.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-c8f41cef.entry.js → p-fa1c04df.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-3fe6d324.entry.js → p-fae0388e.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-731a3414.entry.js → p-fb315264.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-5e5081c2.entry.js → p-fb789e8b.entry.js} +1 -1
  583. package/dist/stencil-wrapper.js +1 -1
  584. package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +0 -1
  585. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.d.ts +28 -0
  586. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.types.d.ts +1 -0
  587. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.d.ts +14 -0
  588. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.service.d.ts +3 -0
  589. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.d.ts +0 -2
  590. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.d.ts +7 -7
  591. package/dist/types/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.d.ts +1 -2
  592. package/dist/types/components/beta/gux-segmented-control/gux-segmented-control.d.ts +1 -0
  593. package/dist/types/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.d.ts +1 -1
  594. package/dist/types/components/stable/gux-listbox/gux-listbox.d.ts +1 -0
  595. package/dist/types/components/stable/gux-listbox/options/gux-option/gux-option.d.ts +1 -0
  596. package/dist/types/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.d.ts +1 -0
  597. package/dist/types/components/stable/gux-listbox-multi/gux-listbox-multi.d.ts +1 -0
  598. package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +1 -0
  599. package/dist/types/components.d.ts +54 -2
  600. package/dist/types/stencil-wrapper.d.ts +1 -1
  601. package/dist/types/utils/string/generate-initials.d.ts +1 -0
  602. package/package.json +8 -8
  603. package/dist/genesys-webcomponents/p-037fe133.entry.js +0 -1
  604. package/dist/genesys-webcomponents/p-0ef0c32e.entry.js +0 -1
  605. package/dist/genesys-webcomponents/p-15525646.entry.js +0 -1
  606. package/dist/genesys-webcomponents/p-159257f0.entry.js +0 -1
  607. package/dist/genesys-webcomponents/p-23f52d13.entry.js +0 -1
  608. package/dist/genesys-webcomponents/p-33068e18.entry.js +0 -1
  609. package/dist/genesys-webcomponents/p-3592458d.entry.js +0 -1
  610. package/dist/genesys-webcomponents/p-3647c79c.entry.js +0 -1
  611. package/dist/genesys-webcomponents/p-44dc2a8e.entry.js +0 -1
  612. package/dist/genesys-webcomponents/p-4f90f37c.entry.js +0 -1
  613. package/dist/genesys-webcomponents/p-629b1fdc.entry.js +0 -1
  614. package/dist/genesys-webcomponents/p-63032de1.entry.js +0 -1
  615. package/dist/genesys-webcomponents/p-70699191.entry.js +0 -1
  616. package/dist/genesys-webcomponents/p-70bea77f.entry.js +0 -1
  617. package/dist/genesys-webcomponents/p-72f4ecbb.entry.js +0 -1
  618. package/dist/genesys-webcomponents/p-7a58cc3e.entry.js +0 -1
  619. package/dist/genesys-webcomponents/p-84b01502.js +0 -1
  620. package/dist/genesys-webcomponents/p-a3b77ca5.entry.js +0 -1
  621. package/dist/genesys-webcomponents/p-c052d530.entry.js +0 -1
  622. package/dist/genesys-webcomponents/p-c50c6076.entry.js +0 -1
  623. package/dist/genesys-webcomponents/p-c61c15dc.entry.js +0 -1
  624. package/dist/genesys-webcomponents/p-c70882d8.entry.js +0 -1
  625. package/dist/genesys-webcomponents/p-ca429bb3.entry.js +0 -1
  626. package/dist/genesys-webcomponents/p-ecac4f2a.entry.js +0 -1
  627. package/dist/genesys-webcomponents/p-eea3f017.entry.js +0 -1
  628. package/dist/genesys-webcomponents/p-f6fa15e1.entry.js +0 -1
  629. package/dist/genesys-webcomponents/p-fdbfe9dc.entry.js +0 -1
  630. package/dist/types/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.types.d.ts +0 -1
  631. /package/dist/collection/components/beta/{gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.types.js → gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.types.js} +0 -0
@@ -4,4 +4,4 @@ import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-6e010355.js";import{O
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function c(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 f(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?c(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function d(t){return d="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},d(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 L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,h,c;if(t!==window&&t.parentNode&&t!==L()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,h=r.height,c=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,h=window.innerHeight,c=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 f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.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 d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(h/=b),l=(a/=v)+(c/=v))}return{top:s,left:a,bottom:u,right:l,width:c,height:h}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(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]!==Ut.ghost&&(e||s[r]!==Ut.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===Ut.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===Ut.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();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 G(t,i){if(!t||!t.getBoundingClientRect)return L();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 L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(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 K(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 U(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=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 $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.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 V.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 V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["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,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,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,h=t.oldDraggableIndex,c=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){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=h,g.newDraggableIndex=c,g.originalEvent=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},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)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ht,ct,ft,dt,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,Lt=y,Nt=p||m?"cssFloat":"float",Rt=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"},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"==d(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")},Gt=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 Wt=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[$].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[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(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[$]=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!==Ut.supportPointer&&"PointerEvent"in window&&!x,emptyInsertThreshold:5};for(var r in q.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&&Rt,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!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},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,h=t.rect,c=_(e,!0);c&&(a.top-=c.f,a.left-=c.e),e.toRect=a,e.thisAnimationDuration&&W(u,a)&&!W(s,a)&&(h.top-a.top)/(h.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}(h,u,l,i.options)),W(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,h,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,h=t[$],c=h.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),c&&(l=c.call(h,u,s)),l}function Yt(t){t.draggable=!1}function $t(){Dt=!1}function Vt(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)}Ut.prototype={constructor:Ut,_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),ct=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.cancelable&&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.cancelable&&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,dt=s.group,Ut.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}),Ut.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",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),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(Ut.eventCanceled)return void this._onDrop();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,"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){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Kt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Ut.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[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Gt()}},_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=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),h=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Ut.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+=h-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",c),D(et,"mozTransform",c),D(et,"msTransform",c),D(et,"transform",c),mt=l,pt=h,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Lt,!0,t),n=this.options;if(Lt){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=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),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",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.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}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.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,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=Ut.active,h=dt===u,c=a.sort,d=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"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(Mt=!1,l&&!a.disabled&&(h?c||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(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 L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(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(),L(!0)}else if(g&&function(t,i,n){var e=N(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 L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!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=R(s,"top","top")||R(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,h=e?n.top:n.left,c=e?n.bottom:n.right,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>h+l*r/2:u<c-l*r/2)&&(jt=!0),jt)f=!0;else if(1===St?u<h+Tt:u>c-Tt)return-St}else if(u>h+l*(1-o)/2&&u<c-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(f=f||s)&&(u<h+l*r/2||u>c-l*r/2)?u>h+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 L(!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($t,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:c,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(h?l._hideClone():l._showClone(v),v!==d&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ht=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ht,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ht=H(it),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ht=H(it),ft=H(it,n.draggable),Ut.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),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?(ht>=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()):ht!==lt&&ht>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Ut.active&&(null!=ht&&-1!==ht||(ht=lt,ft=ct),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=ht=ft=lt=ct=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.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)||Vt(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&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[$]=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),Ut.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),Ut.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){(Ut.active||kt)&&t.cancelable&&t.preventDefault()})),Ut.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:K,closest:I,toggleClass:A,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.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&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.3";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((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=L(),h=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var c=0,f=Jt;do{var d=f,v=N(d),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=d.scrollWidth,T=d.scrollHeight,O=D(d),k=d.scrollLeft,M=d.scrollTop;d===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[c])for(var C=0;C<=c;C++)oi[C]||(oi[C]={});oi[c].vx==I&&oi[c].vy==j&&oi[c].el===d||(oi[c].el=d,oi[c].vx=I,oi[c].vy=j,clearInterval(oi[c].pid),0==I&&0==j||(h=!0,oi[c].pid=setInterval(function(){e&&0===this.layer&&Ut.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(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:c}),24))),c++}while(i.bubbleScroll&&f!==l&&(f=G(f,!1)));ri=h}}),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 hi(){}function ci(){}hi.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(hi,{pluginName:"revertOnSpill"}),ci.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(ci,{pluginName:"removeOnSpill"}),Ut.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=Jt=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=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(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||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(ci,hi);const fi=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.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 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 Ut(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,h,"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:"f683884af9cbabe4b10c6a4e85a612e291bd2756",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"a9826f288df1550cd6f2d5d348ea75a8b9068990",class:"gux-scrollable-section"},o("div",{key:"4a697a8269c50ab2339324aaea1d07f4483b8ab9",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"8d2cf0beff9dfdc09654855ba744d6da4e2c977c"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}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",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":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"},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),"screenreader-text":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})],fi.prototype,"onMutation",null),fi.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;margin-block-end:16px;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;overflow-x:auto;scrollbar-width:none;border-block-end:1px solid var(--gse-ui-advancedTabs-divider-dividerColor);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{fi as gux_tab_advanced_list}
7
+ */function c(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 f(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?c(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function d(t){return d="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},d(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 L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,h,c;if(t!==window&&t.parentNode&&t!==L()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,h=r.height,c=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,h=window.innerHeight,c=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 f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.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 d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(h/=b),l=(a/=v)+(c/=v))}return{top:s,left:a,bottom:u,right:l,width:c,height:h}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(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]!==Ut.ghost&&(e||s[r]!==Ut.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===Ut.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===Ut.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();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 G(t,i){if(!t||!t.getBoundingClientRect)return L();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 L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(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 K(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 U(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=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 $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.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 V.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 V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["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,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,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,h=t.oldDraggableIndex,c=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){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=h,g.newDraggableIndex=c,g.originalEvent=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},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)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ht,ct,ft,dt,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,Lt=y,Nt=p||m?"cssFloat":"float",Rt=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"},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"==d(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")},Gt=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 Wt=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[$].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[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(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[$]=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!==Ut.supportPointer&&"PointerEvent"in window&&!x,emptyInsertThreshold:5};for(var r in q.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&&Rt,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!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},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,h=t.rect,c=_(e,!0);c&&(a.top-=c.f,a.left-=c.e),e.toRect=a,e.thisAnimationDuration&&W(u,a)&&!W(s,a)&&(h.top-a.top)/(h.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}(h,u,l,i.options)),W(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,h,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,h=t[$],c=h.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),c&&(l=c.call(h,u,s)),l}function Yt(t){t.draggable=!1}function $t(){Dt=!1}function Vt(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)}Ut.prototype={constructor:Ut,_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),ct=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.cancelable&&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.cancelable&&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,dt=s.group,Ut.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}),Ut.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",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),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(Ut.eventCanceled)return void this._onDrop();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,"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){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Kt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Ut.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[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Gt()}},_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=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),h=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Ut.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+=h-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",c),D(et,"mozTransform",c),D(et,"msTransform",c),D(et,"transform",c),mt=l,pt=h,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Lt,!0,t),n=this.options;if(Lt){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=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),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",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.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}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.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,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=Ut.active,h=dt===u,c=a.sort,d=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"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(Mt=!1,l&&!a.disabled&&(h?c||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(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 L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(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(),L(!0)}else if(g&&function(t,i,n){var e=N(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 L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!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=R(s,"top","top")||R(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,h=e?n.top:n.left,c=e?n.bottom:n.right,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>h+l*r/2:u<c-l*r/2)&&(jt=!0),jt)f=!0;else if(1===St?u<h+Tt:u>c-Tt)return-St}else if(u>h+l*(1-o)/2&&u<c-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(f=f||s)&&(u<h+l*r/2||u>c-l*r/2)?u>h+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 L(!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($t,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:c,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(h?l._hideClone():l._showClone(v),v!==d&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ht=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ht,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ht=H(it),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ht=H(it),ft=H(it,n.draggable),Ut.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),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?(ht>=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()):ht!==lt&&ht>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Ut.active&&(null!=ht&&-1!==ht||(ht=lt,ft=ct),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=ht=ft=lt=ct=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.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)||Vt(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&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[$]=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),Ut.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),Ut.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){(Ut.active||kt)&&t.cancelable&&t.preventDefault()})),Ut.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:K,closest:I,toggleClass:A,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.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&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.3";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((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=L(),h=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var c=0,f=Jt;do{var d=f,v=N(d),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=d.scrollWidth,T=d.scrollHeight,O=D(d),k=d.scrollLeft,M=d.scrollTop;d===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[c])for(var C=0;C<=c;C++)oi[C]||(oi[C]={});oi[c].vx==I&&oi[c].vy==j&&oi[c].el===d||(oi[c].el=d,oi[c].vx=I,oi[c].vy=j,clearInterval(oi[c].pid),0==I&&0==j||(h=!0,oi[c].pid=setInterval(function(){e&&0===this.layer&&Ut.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(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:c}),24))),c++}while(i.bubbleScroll&&f!==l&&(f=G(f,!1)));ri=h}}),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 hi(){}function ci(){}hi.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(hi,{pluginName:"revertOnSpill"}),ci.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(ci,{pluginName:"removeOnSpill"}),Ut.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=Jt=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=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(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||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(ci,hi);const fi=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.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 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 Ut(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,h,"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:"15928c9342f72527954c2797235b79266507ec85",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"eedac494c02ee5baf667428e1ff18e4a1a5f1560",class:"gux-scrollable-section"},o("div",{key:"7e996eb84dea03da0d4169c571a7559aa389b4f5",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"d74130abf21c7295cea247e1a34b1a5e55088231"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}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",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":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"},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),"screenreader-text":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})],fi.prototype,"onMutation",null),fi.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;margin-block-end:16px;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;overflow-x:auto;scrollbar-width:none;border-block-end:1px solid var(--gse-ui-advancedTabs-divider-dividerColor);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{fi as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as o,h as r,g as e}from"./p-6e010355.js";import{t}from"./p-84b01502.js";import{b as i}from"./p-a82e4a04.js";import"./p-4202e9f2.js";const n={clear:"Clear"},a=class{constructor(r){o(this,r)}async componentWillLoad(){t(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{key:"4e874df908895334e9a0b2d05b5fe561c7aebec6",tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{key:"721264db0fa3006cb762c33f5bd119bfbd926b17","icon-name":"fa/xmark-large-regular",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return e(this)}};a.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}";export{a as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,g as e}from"./p-6e010355.js";import{t}from"./p-b2959f4a.js";import{b as i}from"./p-a82e4a04.js";import"./p-4202e9f2.js";const n={clear:"Clear"},a=class{constructor(r){o(this,r)}async componentWillLoad(){t(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{key:"970956e1c4c181cd77d0c2e23e8613837ba2a15a",tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{key:"c5f0604870868b6e3de1fd7dad554635a3fa162b","icon-name":"fa/xmark-large-regular",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return e(this)}};a.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}";export{a as gux_form_field_input_clear_button}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,g as t}from"./p-6e010355.js";import{g as r}from"./p-4202e9f2.js";import{g as n}from"./p-0268a3e8.js";import{h as i}from"./p-6d8b4027.js";const s=class{constructor(o){e(this,o),this.value=void 0,this.selected=!1,this.disabled=!1,this.iconOnly=!1}onClick(e){(this.disabled||this.hasDisabledParent())&&e.stopPropagation()}isInStartPosition(){const e=r("gux-segmented-control-beta",this.root);return 0===Array.from(e.children).findIndex((e=>e===this.root))}isInEndPosition(){const e=r("gux-segmented-control-beta",this.root),o=Array.from(e.children);return o.findIndex((e=>e===this.root))===o.length-1}hasDisabledParent(){return r("gux-segmented-control-beta",this.root).disabled}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,o("div",{slot:"content"},n(this.root,"text")))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{key:"c2d36dae08d9d2262a104da36db66f646acd6b7a",class:{"gux-container":!0,"gux-parent-disabled":this.hasDisabledParent(),"gux-start":this.isInStartPosition(),"gux-end":this.isInEndPosition()}},o("button",{key:"d44f43beff655a8a7bdb58e1198016fc31ad8d84",class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button",disabled:this.disabled||this.hasDisabledParent()},this.renderIconSlot(),o("div",{key:"e8f7ed22abddccec02bed82091466283f4b3bc39",class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{key:"47565f55434b6dc98b40bbe40f607e22a2ccc521",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{block-size:var(--gse-ui-segmentedControl-height);border-color:var(--gse-ui-segmentedControl-divider-color);border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end:none;border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-inline-start-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-end{border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-start.gux-end{border-radius:var(--gse-ui-segmentedControl-borderRadius)}.gux-container.gux-parent-disabled{pointer-events:none;user-select:none;border-color:color-mix(in srgb, var(--gse-ui-segmentedControl-divider-color) 50%, rgba(0, 0, 0, 0))}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);place-content:stretch flex-start;align-items:center;block-size:100%;padding:var(--gse-ui-segmentedControl-button-padding);line-height:0;color:var(--gse-ui-segmentedControl-button-default-foregroundColor);cursor:pointer;background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:var(--gse-ui-segmentedControl-iconOnly-padding)}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;cursor:default;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);border-radius:var(--gse-ui-segmentedControl-borderRadius);outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset);outline-offset:var(--gse-ui-segmentedControl-focus-offset)}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{s as gux_segmented_control_item}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as e,g as o}from"./p-6e010355.js";import{s as i}from"./p-2c25e2f2.js";import{t as r}from"./p-b2959f4a.js";const n=class{constructor(s){t(this,s),this.value=void 0,this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,i(this.root,"input"),i(this.root,"change"))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(e,{key:"1952a10a27ff6ad93d8d711d0d9071268d02cad7",role:"group"},s("slot",{key:"01161b8c664e5331e200d48acc8ef0d159e5d314",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};n.style=":host{display:inline-flex}";export{n as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-6e010355.js";import{t as r}from"./p-84b01502.js";import{D as a,g as o}from"./p-fad8cf68.js";import{u as h,d as m,a as p}from"./p-2319558c.js";import{g as n}from"./p-a82e4a04.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new a(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?m(p(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(e,{key:"26d5041890230bf99ff1d98916e54d3838e007e7"},this.renderDateTime())}get root(){return i(this)}};export{d as gux_date_time_beta}
1
+ import{r as t,h as s,H as i,g as e}from"./p-6e010355.js";import{t as a}from"./p-b2959f4a.js";import{D as r,g as o}from"./p-fad8cf68.js";import{u as h,d as m,a as p}from"./p-2319558c.js";import{g as n}from"./p-a82e4a04.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){a(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new r(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?m(p(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(i,{key:"7dc17d0204f9fabcda004ad2cd414181ba3f6170"},this.renderDateTime())}get root(){return e(this)}};export{d as gux_date_time_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s,g as i}from"./p-6e010355.js";import{a as o}from"./p-cf0e7d3b.js";import{e as n}from"./p-ea5e1b2f.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-a82e4a04.js";import{t as u}from"./p-408d5857.js";import"./p-4202e9f2.js";const l=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=a("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");o((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await r(this.root,u,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions")})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"e685ddcd5df773f539b180432f4ac5f3f2fa5aad"},t("slot",{key:"918f287831476c2625f81242139dec9630799638"}),this.renderSelectDropdown())}get root(){return i(this)}};l.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);background-color:inherit;border:none;outline:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}gux-table-select-menu .gux-select-menu-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{l as gux_table_select_menu}
1
+ import{r as e,h as t,H as s,g as i}from"./p-6e010355.js";import{a as o}from"./p-cf0e7d3b.js";import{e as n}from"./p-ea5e1b2f.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-a82e4a04.js";import{t as u}from"./p-408d5857.js";import"./p-4202e9f2.js";const l=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=a("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");o((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await r(this.root,u,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions")})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"9d5841b060c561260d07be0dd13642ecb74669a0"},t("slot",{key:"28fb0869156c3f08c2aec24ff814a89c3c9352d2"}),this.renderSelectDropdown())}get root(){return i(this)}};l.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);background-color:inherit;border:none;outline:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}gux-table-select-menu .gux-select-menu-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{l as gux_table_select_menu}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h as a,H as h,g as o}from"./p-6e010355.js";import{b as n}from"./p-a82e4a04.js";import{w as l}from"./p-e97879b4.js";import{r}from"./p-0934300e.js";import{t as c}from"./p-84b01502.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.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.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkVerticalScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}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.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||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:"d87448b7a5caa57ae40723a7198b02964fca6ec8","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"ce0b9e72b9d3e1ce92f7d31f6581908042f05aeb",class:"gux-table"},a("div",{key:"e4bb77b2a8b4a231f8465cf56623d03bf9bc9d16",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"0cd69caeac1736839d85d510a799060fccbcddf6",name:"data"})),this.isTableEmpty&&a("div",{key:"6a8501e918da5d9b1c499be1ee5847461328fab4",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};b.style=":host{position:relative;z-index:var(--gse-semantic-zIndex-sticky);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);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:#596373;background:#fdfdfd;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,g as o}from"./p-6e010355.js";import{b as n}from"./p-a82e4a04.js";import{w as l}from"./p-e97879b4.js";import{r}from"./p-0934300e.js";import{t as c}from"./p-b2959f4a.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.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.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkVerticalScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}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.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||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:"49e4e604e708dccb68986bf8c636af554ca57766","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"177cececefd15a2b33f3825e56f6b6286ae40e93",class:"gux-table"},a("div",{key:"dd5159b0bf7630511eb4dc32d1ef89837c01f57a",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"cf4c6d3c16a7cfc313083838d2285e6783e334db",name:"data"})),this.isTableEmpty&&a("div",{key:"ecb503fe898157d37e2a06d0370a7a66e5883fab",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;z-index:var(--gse-semantic-zIndex-sticky);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);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:#596373;background:#fdfdfd;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 +1 @@
1
- import{r as e,h as t,H as o,g as s}from"./p-6e010355.js";import{r as i}from"./p-0934300e.js";import{t as a}from"./p-84b01502.js";import{b as r}from"./p-a82e4a04.js";import{O as c}from"./p-b0758688.js";import{b as n}from"./p-cf0e7d3b.js";import{w as u}from"./p-e97879b4.js";import"./p-4202e9f2.js";const d={contextMenuScreenreaderText:"Context menu"};const b=class{constructor(t){e(this,t),this.buttonId=i(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),o=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){u("gux-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,d)}render(){return t(o,{key:"38be5a145ece46ef106d958cd344742ab113ccda"},t("gux-popup",{key:"e35c3e51bcf49d4018a10e00198082f81e31d43a",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"0925f76f39d7e9feda8913f52a06303f864fe9c4",slot:"target",class:"gux-button-container"},t("gux-button-slot",{key:"6a36c3e7105928634dc5c4b81da9ef4629451e01",accent:"ghost"},t("button",{key:"7b1f32cc9adc0bc96bf176f6e75c10ff6e7ac72d",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},t("gux-icon",{key:"37ff1e28050e20832a06c70008b6491aa33d0cec","icon-name":"fa/ellipsis-vertical-regular","screenreader-text":this.screenreaderText||this.i18n("contextMenuScreenreaderText")})))),t("div",{key:"e0e1ea634fc99b892dabb1ec5c3e5c064aaef5ab",slot:"popup",class:"gux-list-container"},t("gux-list",{key:"67f51f74515cf53bc0a972ac66e5eedb4e6ac877",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"480973e3af6eae12ab39d6015bc8d5c5e7af5cc8"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var i,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([c({triggerEvents:"click"})],b.prototype,"onClickOutside",null),b.style=":host{display:block;max-inline-size:fit-content;white-space:normal}gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-button-ghost-default-foregroundColor)}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}button.gux-compact{block-size:var(--gse-ui-button-compact-height);padding:var(--gse-ui-button-compact-paddingIconOnly)}button:hover:enabled{background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button:hover:enabled gux-icon{color:var(--gse-ui-button-ghost-hover-foregroundColor)}button:active:enabled{background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button:active:enabled gux-icon{color:var(--gse-ui-button-ghost-active-foregroundColor)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{b as gux_context_menu}
1
+ import{r as e,h as t,H as o,g as s}from"./p-6e010355.js";import{r as i}from"./p-0934300e.js";import{t as a}from"./p-b2959f4a.js";import{b as r}from"./p-a82e4a04.js";import{O as n}from"./p-b0758688.js";import{b as c}from"./p-cf0e7d3b.js";import{w as u}from"./p-e97879b4.js";import"./p-4202e9f2.js";const d={contextMenuScreenreaderText:"Context menu"};const b=class{constructor(t){e(this,t),this.buttonId=i(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),o=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){c((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){c((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){u("gux-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,d)}render(){return t(o,{key:"95a0b9a1b4dd3293612747d84884ab1024555005"},t("gux-popup",{key:"44f36c2688903b62b934196b5b79761b5d4233e2",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"68cbc7c250297161f6eca477e5777184a5720adc",slot:"target",class:"gux-button-container"},t("gux-button-slot",{key:"73dd34369a0821bbcf008129fe818b3008b1a4ab",accent:"ghost"},t("button",{key:"f824c95c6770291287dbd34a000def633f73aec8",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},t("gux-icon",{key:"659d87a1a62fda256b5793486444512e6c161ad4","icon-name":"fa/ellipsis-vertical-regular","screenreader-text":this.screenreaderText||this.i18n("contextMenuScreenreaderText")})))),t("div",{key:"753bb69233da5bc81c6fbac0b06c563757f94f1e",slot:"popup",class:"gux-list-container"},t("gux-list",{key:"01833dbf242c9c9a1c5df6d64c7dbf7a7edee82f",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"3903e9e99a4e25f4a52e6dd2019416bc8ce06c02"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var i,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([n({triggerEvents:"click"})],b.prototype,"onClickOutside",null),b.style=":host{display:block;max-inline-size:fit-content;white-space:normal}gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-button-ghost-default-foregroundColor)}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}button.gux-compact{block-size:var(--gse-ui-button-compact-height);padding:var(--gse-ui-button-compact-paddingIconOnly)}button:hover:enabled{background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button:hover:enabled gux-icon{color:var(--gse-ui-button-ghost-hover-foregroundColor)}button:active:enabled{background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button:active:enabled gux-icon{color:var(--gse-ui-button-ghost-active-foregroundColor)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{b as gux_context_menu}
@@ -1 +1 @@
1
- import{r as i,h as t,g as e}from"./p-6e010355.js";import{b as a}from"./p-a82e4a04.js";import{t as n}from"./p-84b01502.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"4430a3ea7167907ea7ed814ecafeafff0a77e038",class:"gux-container"},t("nav",{key:"784bd8b5088b919e2058136477e1eb4cc4f32e61","aria-label":this.i18n("navigationName")},t("ul",{key:"74949a63003979e99581b1bc3b916a78331c29d7",role:"list"},t("slot",{key:"86a44bc1bdc0c05165a05cc0306a23972a843951"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,g as e}from"./p-6e010355.js";import{b as a}from"./p-a82e4a04.js";import{t as n}from"./p-b2959f4a.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"d55f6a785f3f477f0937a62447a99b047c8b8555",class:"gux-container"},t("nav",{key:"0e46eeeec2e9229afac1ed08e6662f3fe227a045","aria-label":this.i18n("navigationName")},t("ul",{key:"2ad3b534a666098ac66f243b4a3c3bfb0f5711ee",role:"list"},t("slot",{key:"2bb04098ffe1493dcdff8fa68007dc7c0eb9f4d1"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.99.0-448/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.101.0-453/genesys-webcomponents/';
11
11
  // Default domain to load assets from
12
12
  const DEFAULT_DOMAIN = 'app.mypurecloud.com';
13
13
  // List of Genesys UI domains
@@ -43,7 +43,6 @@ export declare class GuxAvatar {
43
43
  * Shows uc integration app logo on large avatar
44
44
  */
45
45
  ucIntegration: GuxAvatarUcIntegrationApps;
46
- private generateInitials;
47
46
  private getAccent;
48
47
  private validatingInputs;
49
48
  private renderBadge;
@@ -0,0 +1,28 @@
1
+ import { JSX } from '../../../../stencil-public-runtime';
2
+ import { GuxAvatarAccent } from './gux-avatar-group-item.types';
3
+ /**
4
+ * @slot image - Avatar photo.
5
+ */
6
+ export declare class GuxAvatarGroupItem {
7
+ private buttonElement;
8
+ private tooltip;
9
+ root: HTMLElement;
10
+ /**
11
+ * Name which is shown as initials. Should be formatted 'Lastname Firstname' for JA, zhCN and KO names.
12
+ * Names without blank space will show first 2 characters of string.
13
+ */
14
+ name: string;
15
+ /**
16
+ * Manually sets avatar accent
17
+ */
18
+ accent: GuxAvatarAccent;
19
+ componentWillLoad(): Promise<void>;
20
+ componentDidLoad(): void;
21
+ guxFocus(): Promise<void>;
22
+ hideTooltip(): Promise<void>;
23
+ onKeydown(event: KeyboardEvent): void;
24
+ private isLastItemInGroup;
25
+ private getAccent;
26
+ private validatingInputs;
27
+ render(): JSX.Element;
28
+ }
@@ -0,0 +1 @@
1
+ export type GuxAvatarAccent = 'default' | 'auto' | 'inherit' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
@@ -0,0 +1,14 @@
1
+ import { JSX } from '../../../stencil-public-runtime';
2
+ /**
3
+ * @slot - slot for gux-avatar-group-item components
4
+ */
5
+ export declare class GuxAvatarGroup {
6
+ root: HTMLElement;
7
+ componentWillLoad(): Promise<void>;
8
+ componentDidLoad(): void;
9
+ private setInitialFocusTarget;
10
+ onMouseOver(event: MouseEvent): void;
11
+ private hideCurrentTooltip;
12
+ private handleClick;
13
+ render(): JSX.Element;
14
+ }
@@ -0,0 +1,3 @@
1
+ export declare function groupKeyboardNavigation(event: KeyboardEvent, currentElement: Element): void;
2
+ export declare function resetFocusableSibling(element: Element): void;
3
+ export declare function setFocusTarget(element: Element): void;
@@ -4,8 +4,6 @@
4
4
  export declare class GuxRichTextEditorActionGroup {
5
5
  root: HTMLElement;
6
6
  hideActionDivider: boolean;
7
- private shouldHideDivider;
8
- private isGlobalActionsSlot;
9
7
  private renderActionGroupDivider;
10
8
  render(): JSX.Element;
11
9
  }
@@ -1,11 +1,11 @@
1
1
  import { JSX } from '../../../stencil-public-runtime';
2
2
  /**
3
- * @slot typographical-emphasis - Slot for typographical actions
4
- * @slot text-styling - Slot for text-styling actions
5
- * @slot lists-indentation - Slot for lists and indentation actions
6
- * @slot inserting - Slot for inserting actions
7
- * @slot global-actions - Slot for global actions
8
- * @slot editor - Slot for the editor
3
+ * @slot typographical-emphasis - Slot for typographical actions.
4
+ * @slot text-styling - Slot for text-styling actions.
5
+ * @slot lists-indentation - Slot for lists and indentation actions.
6
+ * @slot inserting - Slot for inserting actions.
7
+ * @slot global-action - Slot for global action.
8
+ * @slot editor - Slot for the editor.
9
9
  */
10
10
  export declare class GuxRichTextEditor {
11
11
  root: HTMLElement;
@@ -15,6 +15,6 @@ export declare class GuxRichTextEditor {
15
15
  private renderTextStyling;
16
16
  private renderListsIndentation;
17
17
  private renderInserting;
18
- private renderGlobalActions;
18
+ private renderGlobalAction;
19
19
  render(): JSX.Element;
20
20
  }
@@ -1,5 +1,4 @@
1
1
  import { JSX } from '../../../../stencil-public-runtime';
2
- import { GuxSegmentedControlItemPosition } from './gux-segmented-control-item.types';
3
2
  /**
4
3
  * @slot icon - optional slot for an icon
5
4
  * @slot text - required slot for text
@@ -10,10 +9,10 @@ export declare class GuxSegmentedControlItem {
10
9
  selected: boolean;
11
10
  disabled: boolean;
12
11
  iconOnly: boolean;
13
- position: GuxSegmentedControlItemPosition;
14
12
  onClick(e: MouseEvent): void;
15
13
  private isInStartPosition;
16
14
  private isInEndPosition;
15
+ private hasDisabledParent;
17
16
  private renderTooltip;
18
17
  private renderIconSlot;
19
18
  render(): JSX.Element;
@@ -5,6 +5,7 @@ import { JSX } from '../../../stencil-public-runtime';
5
5
  export declare class GuxSegmentedControl {
6
6
  root: HTMLElement;
7
7
  value: string;
8
+ disabled: boolean;
8
9
  items: HTMLGuxSegmentedControlItemElement[];
9
10
  onClick(e: MouseEvent): void;
10
11
  private slotChanged;
@@ -7,7 +7,7 @@ export declare class GuxDropdownMultiTag {
7
7
  */
8
8
  internalclearselected: EventEmitter<string>;
9
9
  /**
10
- * Tag is removable.
10
+ * Tag is disabled.
11
11
  */
12
12
  disabled: boolean;
13
13
  numberSelected: number;
@@ -14,6 +14,7 @@ export declare class GuxListbox {
14
14
  loading: boolean;
15
15
  filter: string;
16
16
  filterType: GuxFilterTypes;
17
+ disabled: boolean;
17
18
  emptyMessage: string;
18
19
  selectedValues: string[];
19
20
  listboxOptions: ListboxOptionElement[];
@@ -16,5 +16,6 @@ export declare class GuxOption {
16
16
  componentWillLoad(): void;
17
17
  private onSubtextChange;
18
18
  private getAriaSelected;
19
+ private hasDisabledParent;
19
20
  render(): JSX.Element;
20
21
  }
@@ -22,5 +22,6 @@ export declare class GuxOptionIcon {
22
22
  componentWillLoad(): void;
23
23
  private onSubtextChange;
24
24
  private getAriaSelected;
25
+ private hasDisabledParent;
25
26
  render(): JSX.Element;
26
27
  }
@@ -13,6 +13,7 @@ export declare class GuxListboxMulti {
13
13
  textInput: string;
14
14
  filterType: GuxFilterTypes;
15
15
  emptyMessage: string;
16
+ disabled: boolean;
16
17
  listboxOptions: HTMLGuxOptionMultiElement[];
17
18
  allListboxOptionsFiltered: boolean;
18
19
  internallistboxoptionsupdated: EventEmitter;
@@ -20,6 +20,7 @@ export declare class GuxOptionMulti {
20
20
  handleActive(active: boolean): void;
21
21
  componentWillLoad(): Promise<void>;
22
22
  private onSubtextChange;
23
+ private hasDisabledParent;
23
24
  renderSVGCheckbox(): JSX.Element;
24
25
  renderCustomOptionInstructions(): JSX.Element;
25
26
  render(): JSX.Element;