genesys-spark-components 4.184.2 → 4.185.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-BgE4aIvc.js → get-valid-timezone-DdXRWdiZ.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +4 -4
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-calendar-beta.cjs.entry.js +8 -4
  25. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  26. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  38. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +8 -8
  44. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-dropdown_3.cjs.entry.js +7 -7
  46. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  52. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  53. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  54. package/dist/cjs/{gux-form-field-container-BlfOpHgA.js → gux-form-field-container-Cp_fa5T4.js} +1 -1
  55. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  56. package/dist/cjs/{gux-form-field-error-DHbmFHU5.js → gux-form-field-error-CJasbDSU.js} +1 -1
  57. package/dist/cjs/{gux-form-field-fieldset-container-BxYQhUfj.js → gux-form-field-fieldset-container-C_7oviH1.js} +1 -1
  58. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  59. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  60. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  61. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  62. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  63. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  65. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  66. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  67. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  69. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  72. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  73. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  81. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-listbox-multi.cjs.entry.js +5 -5
  87. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  98. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-option-multi.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-option-status-beta.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  127. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +33 -19
  128. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-select-all.cjs.entry.js +3 -3
  134. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  142. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  143. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  147. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  148. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  149. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  160. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-table.cjs.entry.js +6 -6
  162. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-text-highlight.cjs.entry.js +17 -6
  166. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  167. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  168. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  170. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  171. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  172. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -6
  174. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-tooltip-title.cjs.entry.js +11 -7
  176. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  177. package/dist/cjs/{index-Vzha_UYA.js → index-Cn7TZ1ZE.js} +5 -5
  178. package/dist/cjs/{index-B_c_3UUK.js → index-CssUuaXl.js} +1 -1
  179. package/dist/cjs/loader.cjs.js +2 -2
  180. package/dist/cjs/{on-click-outside-4xyUl9_5.js → on-click-outside-Dj9hzKoL.js} +1 -1
  181. package/dist/cjs/{on-mutation-_rJ4v6zD.js → on-mutation-DjSoQmpv.js} +1 -1
  182. package/dist/cjs/{on-resize-DCaM-9aE.js → on-resize-CILpjTf-.js} +1 -1
  183. package/dist/cjs/{usage--78Yz9Ds.js → usage-BLuTFhTH.js} +1 -1
  184. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.css +1 -1
  185. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.css +9 -7
  186. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/illustrations/background-shapes/narrow.svg +1 -1
  187. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/illustrations/background-shapes/wide.svg +1 -1
  188. package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +6 -2
  189. package/dist/collection/components/beta/gux-option-status/gux-option-status.css +1 -0
  190. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +31 -17
  191. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +3 -4
  192. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +1 -1
  193. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +4 -1
  194. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
  195. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -0
  196. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +1 -0
  197. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +1 -0
  198. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +2 -1
  199. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +1 -0
  200. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.css +1 -0
  201. package/dist/collection/components/stable/gux-table/gux-table.css +1 -1
  202. package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
  203. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +6 -4
  204. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.common.js +50 -0
  205. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +9 -5
  206. package/dist/collection/utils/dom/escape-html.js +9 -0
  207. package/dist/esm/genesys-webcomponents.js +3 -3
  208. package/dist/esm/{get-valid-timezone-ulq4-9LN.js → get-valid-timezone-Dw-XYvOn.js} +1 -1
  209. package/dist/esm/gux-accordion-section.entry.js +1 -1
  210. package/dist/esm/gux-accordion.entry.js +2 -2
  211. package/dist/esm/gux-action-button.entry.js +4 -4
  212. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  213. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  214. package/dist/esm/gux-all-row-select.entry.js +2 -2
  215. package/dist/esm/gux-announce-beta.entry.js +2 -2
  216. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  217. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  218. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  219. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  220. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  221. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  222. package/dist/esm/gux-badge.entry.js +4 -4
  223. package/dist/esm/gux-blank-state-beta.entry.js +4 -4
  224. package/dist/esm/gux-blank-state.entry.js +3 -3
  225. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  226. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  227. package/dist/esm/gux-button-multi.entry.js +3 -3
  228. package/dist/esm/gux-button-slot.entry.js +2 -2
  229. package/dist/esm/gux-button_2.entry.js +3 -3
  230. package/dist/esm/gux-calendar-beta.entry.js +8 -4
  231. package/dist/esm/gux-calendar.entry.js +4 -4
  232. package/dist/esm/gux-card.entry.js +2 -2
  233. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  234. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  235. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  236. package/dist/esm/gux-column-manager.entry.js +3 -3
  237. package/dist/esm/gux-content-search.entry.js +3 -3
  238. package/dist/esm/gux-context-menu.entry.js +4 -4
  239. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  240. package/dist/esm/gux-create-option.entry.js +2 -2
  241. package/dist/esm/gux-cta-group.entry.js +1 -1
  242. package/dist/esm/gux-date-beta.entry.js +4 -4
  243. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  244. package/dist/esm/gux-datepicker.entry.js +4 -4
  245. package/dist/esm/gux-day-beta.entry.js +2 -2
  246. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  247. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  248. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  249. package/dist/esm/gux-dropdown-multi.entry.js +8 -8
  250. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  251. package/dist/esm/gux-dropdown_3.entry.js +7 -7
  252. package/dist/esm/gux-file-list-item.entry.js +3 -3
  253. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  254. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  255. package/dist/esm/gux-form-beta.entry.js +1 -1
  256. package/dist/esm/gux-form-description.entry.js +1 -1
  257. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  258. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  259. package/dist/esm/gux-form-field-color.entry.js +5 -5
  260. package/dist/esm/{gux-form-field-container-BUk7sAbQ.js → gux-form-field-container-CHfeV8KT.js} +1 -1
  261. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  262. package/dist/esm/{gux-form-field-error-CA5MLSg_.js → gux-form-field-error-BM6mkQat.js} +1 -1
  263. package/dist/esm/{gux-form-field-fieldset-container-BhyfCn5D.js → gux-form-field-fieldset-container-DTBkJ15i.js} +1 -1
  264. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  265. package/dist/esm/gux-form-field-file.entry.js +5 -5
  266. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  267. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  268. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  269. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  270. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  271. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  272. package/dist/esm/gux-form-field-range.entry.js +6 -6
  273. package/dist/esm/gux-form-field-search.entry.js +5 -5
  274. package/dist/esm/gux-form-field-select.entry.js +5 -5
  275. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  276. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  277. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  278. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  279. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  280. package/dist/esm/gux-form-footer.entry.js +2 -2
  281. package/dist/esm/gux-form-heading.entry.js +1 -1
  282. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  283. package/dist/esm/gux-icon.entry.js +2 -2
  284. package/dist/esm/gux-illustration-beta.entry.js +3 -3
  285. package/dist/esm/gux-inline-alert.entry.js +3 -3
  286. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  287. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  288. package/dist/esm/gux-link-beta.entry.js +2 -2
  289. package/dist/esm/gux-list-divider.entry.js +1 -1
  290. package/dist/esm/gux-list-item.entry.js +1 -1
  291. package/dist/esm/gux-list.entry.js +2 -2
  292. package/dist/esm/gux-listbox-multi.entry.js +5 -5
  293. package/dist/esm/gux-loading-message.entry.js +2 -2
  294. package/dist/esm/gux-logo-beta.entry.js +3 -3
  295. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  296. package/dist/esm/gux-menu-option.entry.js +1 -1
  297. package/dist/esm/gux-menu.entry.js +1 -1
  298. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  299. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  300. package/dist/esm/gux-modal.entry.js +2 -2
  301. package/dist/esm/gux-month-calendar.entry.js +2 -2
  302. package/dist/esm/gux-month-list_2.entry.js +1 -1
  303. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  304. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  305. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  306. package/dist/esm/gux-option-icon.entry.js +2 -2
  307. package/dist/esm/gux-option-multi.entry.js +3 -3
  308. package/dist/esm/gux-option-status-beta.entry.js +2 -2
  309. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  310. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  311. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  312. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  313. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  314. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  315. package/dist/esm/gux-pagination.entry.js +2 -2
  316. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  317. package/dist/esm/gux-popover-beta.entry.js +3 -3
  318. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  319. package/dist/esm/gux-popover-list.entry.js +3 -3
  320. package/dist/esm/gux-popup.entry.js +1 -1
  321. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  322. package/dist/esm/gux-radial-loading.entry.js +3 -3
  323. package/dist/esm/gux-radial-progress.entry.js +2 -2
  324. package/dist/esm/gux-rating.entry.js +4 -4
  325. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  326. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  327. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  328. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  329. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  330. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  331. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  332. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  333. package/dist/esm/gux-rich-text-editor-list.entry.js +34 -20
  334. package/dist/esm/gux-row-select.entry.js +2 -2
  335. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  336. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  337. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  338. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  339. package/dist/esm/gux-select-all.entry.js +3 -3
  340. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  341. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  342. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  343. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  344. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  345. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  346. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  347. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  348. package/dist/esm/gux-sort-control.entry.js +3 -3
  349. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  350. package/dist/esm/gux-step-title.entry.js +2 -2
  351. package/dist/esm/gux-step.entry.js +2 -2
  352. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  353. package/dist/esm/gux-submenu.entry.js +1 -1
  354. package/dist/esm/gux-switch-item.entry.js +1 -1
  355. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  356. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  357. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  358. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  359. package/dist/esm/gux-tab-list.entry.js +3 -3
  360. package/dist/esm/gux-tab-panel.entry.js +1 -1
  361. package/dist/esm/gux-tab.entry.js +1 -1
  362. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  363. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  364. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  365. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  366. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  367. package/dist/esm/gux-table.entry.js +6 -6
  368. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  369. package/dist/esm/gux-tabs.entry.js +2 -2
  370. package/dist/esm/gux-tag.entry.js +4 -4
  371. package/dist/esm/gux-text-highlight.entry.js +17 -6
  372. package/dist/esm/gux-time-beta.entry.js +4 -4
  373. package/dist/esm/gux-time-picker.entry.js +4 -4
  374. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  375. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  376. package/dist/esm/gux-toast.entry.js +2 -2
  377. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  378. package/dist/esm/gux-toggle.entry.js +3 -3
  379. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -6
  380. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  381. package/dist/esm/gux-tooltip-title.entry.js +11 -7
  382. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  383. package/dist/esm/{index-COgvjwDR.js → index-BOFduQr_.js} +5 -5
  384. package/dist/esm/{index-CP7qVmV4.js → index-D9tXajLc.js} +1 -1
  385. package/dist/esm/loader.js +3 -3
  386. package/dist/esm/{on-click-outside-C_foyGDB.js → on-click-outside-BnmQnyf5.js} +1 -1
  387. package/dist/esm/{on-mutation-DdjBYxGt.js → on-mutation-Bme_kkbU.js} +1 -1
  388. package/dist/esm/{on-resize-B4HT8D-i.js → on-resize-D5lBueiL.js} +1 -1
  389. package/dist/esm/{usage-DKcDCy3c.js → usage-CGCaUZQX.js} +1 -1
  390. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  391. package/dist/genesys-webcomponents/genesys-webcomponents.css +5 -5
  392. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  393. package/dist/genesys-webcomponents/illustrations/background-shapes/narrow.svg +1 -1
  394. package/dist/genesys-webcomponents/illustrations/background-shapes/wide.svg +1 -1
  395. package/dist/genesys-webcomponents/{p-ae7af09c.entry.js → p-0150d2bd.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-a19eee5b.entry.js → p-02a435e7.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/p-059f469b.entry.js +1 -0
  398. package/dist/genesys-webcomponents/p-05d735eb.entry.js +1 -0
  399. package/dist/genesys-webcomponents/{p-c5040cc1.entry.js → p-06b8cea7.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-99387fe4.entry.js → p-07295d61.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-706e3d92.entry.js → p-07a2ce82.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-68b66cb9.entry.js → p-0908bbb3.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/p-0b4d54cf.entry.js +1 -0
  404. package/dist/genesys-webcomponents/{p-03b9a344.entry.js → p-0d6364a7.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-2ec4b54b.entry.js → p-0f5f9f0c.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-38685ad3.entry.js → p-10c7d73d.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-f96e8f6c.entry.js → p-12ab725a.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/p-1733b548.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-994669c1.entry.js → p-17f42d2b.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-71fe25d7.entry.js → p-1885f9d5.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-c6ca9557.entry.js → p-19dc41a5.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-9bcf683d.entry.js → p-1af43ffa.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-479d35b6.entry.js → p-1d0ac011.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/p-1ecacce6.entry.js +1 -0
  415. package/dist/genesys-webcomponents/p-1eea414f.entry.js +1 -0
  416. package/dist/genesys-webcomponents/{p-c5999142.entry.js → p-205705c5.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-8e2a8059.entry.js → p-23ddd781.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-339c4c77.entry.js → p-24994b38.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/p-252942e9.entry.js +1 -0
  420. package/dist/genesys-webcomponents/{p-14ce6267.entry.js → p-258b516d.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-60488049.entry.js → p-291255d7.entry.js} +2 -2
  422. package/dist/genesys-webcomponents/p-2acc0b71.entry.js +1 -0
  423. package/dist/genesys-webcomponents/{p-c47686ee.entry.js → p-2b695277.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-cd9d1f76.entry.js → p-2cd64835.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-ff948f1f.entry.js → p-2e4bb82a.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-14d6f4f4.entry.js → p-2ec5793d.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-2eb0ba75.entry.js → p-30635fb6.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-032909a8.entry.js → p-3289c846.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-d10a92e3.entry.js → p-33a59bf8.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-ceffdb9c.entry.js → p-3517985c.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-394c5f34.entry.js → p-38b86133.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-86f35648.entry.js → p-395dd2ae.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-890d914d.entry.js → p-3a08a189.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-3d6bd40d.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-96f53e15.entry.js → p-404ab849.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-ab4502cb.entry.js → p-40b82649.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-D2nzPgXC.js → p-45DSrwlG.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-6d0fa144.entry.js → p-46838c15.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-381e3786.entry.js → p-48a250f1.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/p-495dc99c.entry.js +1 -0
  441. package/dist/genesys-webcomponents/{p-199469d5.entry.js → p-4aa5e4df.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-afde7315.entry.js → p-4b5d3454.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-3809a2bb.entry.js → p-4c4a3e66.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-51eb8acf.entry.js → p-4c5aed94.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-6b8e509e.entry.js → p-4d0a4d58.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-f3825474.entry.js → p-5038233b.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-0052f273.entry.js → p-55cdf977.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-bdc8956a.entry.js → p-5657d96d.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-d9f68d35.entry.js → p-56b62f13.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/p-57a9f1b7.entry.js +1 -0
  451. package/dist/genesys-webcomponents/p-58e92b3b.entry.js +1 -0
  452. package/dist/genesys-webcomponents/{p-bbf42725.entry.js → p-59886476.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-bbf191de.entry.js → p-5a9c4ae9.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-3f48346e.entry.js → p-5bcf23d3.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-6c3e5916.entry.js → p-5d0f636e.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-465b5345.entry.js → p-5ed2e4a6.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-c5bce121.entry.js → p-5ed4a169.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-45b4241b.entry.js → p-60feeaf4.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-367bb1c5.entry.js → p-612e01bf.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-cc7cf520.entry.js → p-635c2a37.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-5b85d815.entry.js → p-63a79dd2.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/p-644cd6aa.entry.js +1 -0
  463. package/dist/genesys-webcomponents/{p-43efd5ea.entry.js → p-64e4e05f.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-5d57e538.entry.js → p-6624e0e1.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-5372fce7.entry.js → p-679b5f72.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-a6b05d3d.entry.js → p-69c26fac.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-e180b4d1.entry.js → p-69d850ee.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-fef4b7d5.entry.js → p-6bd3a124.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-5fed056c.entry.js → p-6da9dbcb.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-022d0f31.entry.js → p-6e3a0b6b.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-249087e0.entry.js → p-6ece002b.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-cc5699b5.entry.js → p-6ed07ac2.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-d69fb198.entry.js → p-71ca9caa.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-31213415.entry.js → p-72e0a12b.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-e1a3415e.entry.js → p-74bc7713.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-6080eb8c.entry.js → p-7576aa2a.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-fc4984bc.entry.js → p-7b397d9d.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-bd8c16d2.entry.js → p-7de529f3.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-f1cd7175.entry.js → p-7ef416d6.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-ad600e43.entry.js → p-824a9441.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/p-8258f8e4.entry.js +1 -0
  482. package/dist/genesys-webcomponents/p-84887cf0.entry.js +1 -0
  483. package/dist/genesys-webcomponents/{p-20895742.entry.js → p-84a03bd6.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/p-84d71c92.entry.js +1 -0
  485. package/dist/genesys-webcomponents/{p-2bf5d790.entry.js → p-860e92bc.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-9a05b078.entry.js → p-8ce8e53c.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-56f5e6eb.entry.js → p-8fff05ed.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-59a5aa50.entry.js → p-90034e20.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-f48d383f.entry.js → p-91733fc3.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-25dcaff0.entry.js → p-94bc0cb2.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-65e12cd7.entry.js → p-9680408b.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-74a6c649.entry.js → p-97b88bd0.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-cfb67666.entry.js → p-99e274d7.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-2bfbad45.entry.js → p-9abab633.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-57230fb1.entry.js → p-9bdf8033.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-ad1e2afc.entry.js → p-9c103509.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-81fb695b.entry.js → p-9c1f6059.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-9d65ebc5.entry.js → p-9c878e88.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-296c2530.entry.js → p-9cbb834a.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-d2425e30.entry.js → p-9cf194a5.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-vOC0-qDq.js → p-B5Zw7XAl.js} +1 -1
  502. package/dist/genesys-webcomponents/p-BOFduQr_.js +2 -0
  503. package/dist/genesys-webcomponents/p-BmdndI-P.js +1 -0
  504. package/dist/genesys-webcomponents/{p-DGRFHar4.js → p-By6ZteG_.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-_icO0TVA.js → p-C3_7QavM.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-DKcDCy3c.js → p-CGCaUZQX.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-DKPAGIJA.js → p-CNQVwkBO.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-Dry1Kkrx.js → p-DVi-rLEw.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-DiDRSPEJ.js → p-DfSSbAcG.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-44b36813.entry.js → p-a1f0faff.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-4dee4e9a.entry.js → p-a2c9fe44.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-17d5bc4c.entry.js → p-a4b5b280.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-6fff7fb3.entry.js → p-a7050420.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-acda6927.entry.js → p-a9f3a7b0.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-b8f496ca.entry.js → p-aaf4007d.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-8edbfb9a.entry.js → p-ab49d10d.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-86233785.entry.js → p-abe0d3a5.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-6659389c.entry.js → p-ad013a41.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-88234cd5.entry.js → p-b12fd69d.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-e617f93e.entry.js → p-b50e6eb1.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-fc18e96e.entry.js → p-b5b4dde8.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-efab9c71.entry.js → p-b7fca381.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-bf802585.entry.js → p-b8b185b1.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-2a660878.entry.js → p-ba54a3da.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-a0fc3fe8.entry.js → p-c0bb1235.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-f8a9ddb9.entry.js → p-c19f2f30.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-8779460d.entry.js → p-c1bb7d6c.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-3c10e9e2.entry.js → p-c530a5d6.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-4e082804.entry.js → p-c6052837.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-67954907.entry.js → p-c8263bbf.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-ecf950c9.entry.js → p-ca0e6c5b.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-81014312.entry.js → p-cc001d1d.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-a533a3c7.entry.js → p-cc772233.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/p-ce44b756.entry.js +1 -0
  535. package/dist/genesys-webcomponents/{p-66a961e8.entry.js → p-ce6a058c.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-0d0d515e.entry.js → p-cfc4226c.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/p-cff6e2d8.entry.js +1 -0
  538. package/dist/genesys-webcomponents/{p-52bcb913.entry.js → p-d06c7d47.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-bccdf7bc.entry.js → p-d0cc2483.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-0b4e01e7.entry.js → p-d4063abe.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-47a3c6dd.entry.js → p-d4497065.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-d4a030c9.entry.js → p-d62a9d3b.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-bb7c2f59.entry.js → p-d6ada675.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-fb0ab87a.entry.js → p-d6f081da.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-695e27af.entry.js → p-d72a2783.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-5d004986.entry.js → p-d98eac0d.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-ddd3eee1.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-baa186ba.entry.js → p-df8c7e45.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-0bb7a36f.entry.js → p-e470a685.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/p-e4bd1efd.entry.js +1 -0
  551. package/dist/genesys-webcomponents/{p-2772771f.entry.js → p-e62c6956.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-6e0d1b38.entry.js → p-e7206741.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-11bfa242.entry.js → p-e7c20df1.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-8a11f67a.entry.js → p-e869c970.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-dde31585.entry.js → p-e9104743.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-fe158cfd.entry.js → p-e91628b6.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-383dba17.entry.js → p-ec0cda35.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-ec531223.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-d9eeccbc.entry.js → p-edf435f2.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-e24f0e69.entry.js → p-ee4f95b5.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-08aafbbb.entry.js → p-efc65478.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d460a16c.entry.js → p-f1b79651.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-05eee989.entry.js → p-f23ef344.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-5c24293f.entry.js → p-f245f3bb.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-66c433b2.entry.js → p-f314b4dd.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-8469f5ac.entry.js → p-f53c9cdf.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-9a37e410.entry.js → p-f55e682a.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-2c5d0c05.entry.js → p-f65eaa01.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-eceff729.entry.js → p-f7be9ea5.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-8cf07453.entry.js → p-f957ca4b.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-60d67962.entry.js → p-fa03608f.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-8cb6a727.entry.js → p-fa8a1272.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-dd0ead47.entry.js → p-fcd3f713.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-06b82517.entry.js → p-fdbd9159.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-fe047aa6.entry.js +1 -0
  576. package/dist/stencil-wrapper.js +1 -1
  577. package/dist/types/stencil-wrapper.d.ts +1 -1
  578. package/dist/types/utils/dom/escape-html.d.ts +1 -0
  579. package/package.json +4 -4
  580. package/dist/genesys-webcomponents/p-1989d78f.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-1ff09bf5.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-2bc088bf.entry.js +0 -1
  583. package/dist/genesys-webcomponents/p-2df5f7ff.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-4195cc93.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-65d704da.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-76845ef5.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-775f113a.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-84907edc.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-897c6df2.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-9c7f04f4.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-COgvjwDR.js +0 -2
  592. package/dist/genesys-webcomponents/p-Co3DWTSR.js +0 -1
  593. package/dist/genesys-webcomponents/p-a97d48e3.entry.js +0 -1
  594. package/dist/genesys-webcomponents/p-c0d52655.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-c3fbf0e9.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-c7bb5a03.entry.js +0 -1
  597. package/dist/genesys-webcomponents/p-ce1a28ce.entry.js +0 -1
  598. package/dist/genesys-webcomponents/p-cfdbba3c.entry.js +0 -1
  599. package/dist/genesys-webcomponents/p-d7d535a2.entry.js +0 -1
  600. package/dist/genesys-webcomponents/p-e139c262.entry.js +0 -1
  601. package/dist/genesys-webcomponents/p-efef37bc.entry.js +0 -1
  602. package/dist/genesys-webcomponents/p-f5364d02.entry.js +0 -1
  603. package/dist/genesys-webcomponents/p-f8e9b9c1.entry.js +0 -1
@@ -1,7 +1,7 @@
1
- import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-COgvjwDR.js";import{O as s}from"./p-vOC0-qDq.js";import{e as a}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D2nzPgXC.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
1
+ import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-BOFduQr_.js";import{O as s}from"./p-B5Zw7XAl.js";import{e as a}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-45DSrwlG.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
2
2
  /**!
3
3
  * Sortable 1.15.6
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var C,j=/\s+/g;function D(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(j," ")}}function A(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=A(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==A(o,"transform")||n&&"static"!==A(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(A(o,"border-top-width")),a-=d.left+parseInt(A(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=q(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=q(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"===A(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function P(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ut.clone||i&&!k(t,i)||n++;return n}function H(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function q(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=A(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function G(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function K(t,i){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout((function(){C=void 0}),i)}}}function U(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function W(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 X(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var Y="Sortable"+(new Date).getTime();var Z=[],$={initializeByDefault:!0},J={mount:function(t){for(var i in $)$.hasOwnProperty(i)&&!(i in t)&&(t[i]=$[i]);Z.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Z.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";Z.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in Z.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return Z.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return Z.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);J.pluginEvent.bind(Ut)(t,i,d({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:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Ht,unhideGhostForTarget:qt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[Y]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),J.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],Ct=!1,jt=!1,Dt=[],At=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=A(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&&A(o),a=r&&A(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Pt=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Ht=function(){!Ft&&et&&A(et,"display","none")},qt=function(){!Ft&&et&&A(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Gt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[Y].options.emptyInsertThreshold;if(i&&!B(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[Y]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[Y]._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[Y]=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||y),emptyInsertThreshold:5};for(var r in J.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Pt(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==A(t,"display")&&t!==Ut.ghost){e.push({target:t,rect:L(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&G(u,a)&&!G(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),G(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,c,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){A(t,"transition",""),A(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,A(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),A(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),A(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){A(t,"transition",""),A(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Wt(t,i,n,e,o,r,s,a){var u,l,c=t[Y],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||L(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Xt(t){t.draggable=!1}function Yt(){At=!1}function Zt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function $t(t){return setTimeout(t,0)}function Jt(t){return clearTimeout(t)}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=P(a),ht=P(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,ft=s.group,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}),D(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Xt)})),T(a,"dragover",Gt),T(a,"mousemove",Gt),T(a,"touchmove",Gt),s.supportPointer?(T(a,"pointerup",o._onDrop),!this.nativeDraggable&&T(a,"pointercancel",o._onDrop)):(T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Ut.eventCanceled)return void this._onDrop();s.supportPointer?(T(a,"pointerup",o._disableDelayedDrag),T(a,"pointercancel",o._disableDelayedDrag)):(T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag)),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Xt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?$t((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Kt);var n=this.options;!t&&D(it,n.dragClass,!1),D(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,Ht();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[Y]._isOutsideThisEl(t),i)do{if(i[Y]&&i[Y]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));qt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Rt&&Ot&&H(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-Dt[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-Dt[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+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");A(et,"webkitTransform",h),A(et,"mozTransform",h),A(et,"msTransform",h),A(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===A(Ot,"position")&&"none"===A(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),Dt=H(Ot)}D(et=it.cloneNode(!0),n.ghostClass,!1),D(et,n.fallbackClass,!0),D(et,n.dragClass,!0),A(et,"transition",""),A(et,"transform",""),A(et,"box-sizing","border-box"),A(et,"margin",0),A(et,"top",i.top),A(et,"left",i.left),A(et,"width",i.width),A(et,"height",i.height),A(et,"opacity","0.8"),A(et,"position",Rt?"absolute":"fixed"),A(et,"zIndex","100000"),A(et,"pointerEvents","none"),Ut.ghost=et,t.appendChild(et),A(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=W(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),D(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=$t((function(){Q("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&D(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),A(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=$t(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&A(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,c=ft===u,h=a.sort,f=vt||l,v=this,b=!1;if(!At){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 R(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=L(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=L(B(n.el,n.options.draggable)),o=X(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(s=g),s&&(n=L(s)),!1!==Wt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,H(),R(!0)}else if(g&&function(t,i,n){var e=L(F(n.el,0,n.options,!0)),o=X(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,a,!0);if(m===it)return R(!1);if(n=L(s=m),!1!==Wt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,H(),R(!0)}else if(s.parentNode===r){n=L(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=N(s,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],Ct=!1,jt=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!s)if(a&&Tt<l*o){if(!Ct&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(Ct=!0),Ct)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return P(it)<P(t)?1:-1}(i);return(d=d||s)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,jt,Et===s),0!==p){var k=P(it);do{x=nt.children[k-=p]}while(x&&("none"===A(x,"display")||x===et))}if(0===p||x===s)return R(!1);Et=s,St=p;var M=s.nextElementSibling,C=!1,j=Wt(ot,r,it,i,s,n,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),At=!0,setTimeout(Yt,30),z(),C&&!M?r.appendChild(it):s.parentNode.insertBefore(it,C?M:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||jt||(Tt=Math.abs(w-L(s)[S])),H(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(a,u){Q(a,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:s,completed:R,onMove:function(n,e){return Wt(ot,r,it,i,n,L(n),t,e)},changed:H},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(D(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),D(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[Y]._isOutsideThisEl(t.target),!i&&Gt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function H(){ct=P(it),dt=P(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Gt),O(document,"mousemove",Gt),O(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=P(it),dt=P(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=P(it),dt=P(it,n.draggable),Ut.eventCanceled||(kt=!1,jt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Jt(this.cloneId),Jt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&A(document.body,"user-select",""),A(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),Xt(it),it.style["will-change"]="",yt&&!kt&&D(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),D(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Ut.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=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)||Zt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=J.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Pt(n)},destroy:function(){Q("destroy",this);var t=this.el;t[Y]=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;A(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),A(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:A,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:D,clone:W,index:P,nextTick:$t,cancelNextTick:Jt,detectDirection:Bt,getChild:F,expando:Y},Ut.get=function(t){return t[Y]},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=d(d({},Ut.utils),t.utils)),J.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.6";var Vt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=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=R(),c=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=q(n,!0)));var h=0,d=Vt;do{var f=d,v=L(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=A(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&k+w<S)-(Math.abs(m-r)<=a&&!!k),C=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var j=0;j<=h;j++)oi[j]||(oi[j]={});oi[h].vx==I&&oi[h].vy==C&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=C,clearInterval(oi[h].pid),0==I&&0==C||(c=!0,oi[h].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[Y],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=q(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),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(C),C=void 0},nulling:function(){ni=Qt=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=q(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=q(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||q(r,!0)===R())return void si();ui(t,this.options,q(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new 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,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"bfd14d65683bf4e9098ca7b95e1bc6eb97e65768",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"36edb503d8db55b837de1211e13c52242107fc84",class:"gux-scrollable-section"},o("div",{key:"172b880eb4d8765d5efa0f066a9ebd509738cf14",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"5fe1989d7bfe89234d34b7af08cc503d251abe08"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
7
+ */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function F(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(D(o,"border-top-width")),a-=d.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function L(t,i,n){for(var e=G(t,!0),o=F(t)[i];e;){if(!(o>=F(e)[n]))return e;if(e===R())break;e=G(e,!1)}return!1}function N(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Wt.ghost&&(e||s[r]!==Wt.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function G(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function K(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function U(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function 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=F(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 Z="Sortable"+(new Date).getTime();var q=[],$={initializeByDefault:!0},J={mount:function(t){for(var i in $)$.hasOwnProperty(i)&&!(i in t)&&(t[i]=$[i]);q.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),q.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";q.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in q.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 q.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 q.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},Q=["evt"],V=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,Q);J.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget: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,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[Z]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),J.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Ft=p||m?"cssFloat":"float",Lt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Nt=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=N(t,0,i),r=N(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+F(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+F(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[Ft]||r&&"none"===n[Ft]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Nt&&et&&D(et,"display","none")},Gt=function(){!Nt&&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 Kt=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[Z].options.emptyInsertThreshold;if(i&&!B(t)){var n=F(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[Z]._onDragOver(n)}}var o,r,s},Ut=function(t){it&&it.parentNode[Z]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[Z]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in J.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:F(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=F(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&K(u,a)&&!K(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),K(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,c,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Xt(t,i,n,e,o,r,s,a){var u,l,c=t[Z],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||F(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Yt(t){t.draggable=!1}function Zt(){Dt=!1}function qt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function $t(t){return setTimeout(t,0)}function Jt(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=H(a),ht=H(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),V("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),V("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=F(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,ft=s.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){V("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Kt),T(a,"mousemove",Kt),T(a,"touchmove",Kt),s.supportPointer?(T(a,"pointerup",o._onDrop),!this.nativeDraggable&&T(a,"pointercancel",o._onDrop)):(T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),V("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();s.supportPointer?(T(a,"pointerup",o._disableDelayedDrag),T(a,"pointercancel",o._disableDelayedDrag)):(T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag)),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Yt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?$t((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){V("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,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[Z]._isOutsideThisEl(t),i)do{if(i[Z]&&i[Z]._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=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=F(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;V("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():(V("setupClone",this),Wt.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Wt.clone=at),n.cloneId=$t((function(){V("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=$t(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Wt.active,c=ft===u,h=a.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return R(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=F(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=F(B(n.el,n.options.draggable)),o=Y(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(s=g),s&&(n=F(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=F(N(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=N(r,0,a,!0);if(m===it)return R(!1);if(n=F(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(s.parentNode===r){n=F(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=L(s,"top","top")||L(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,Ct=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||s)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Ct,Et===s),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return R(!1);Et=s,St=p;var M=s.nextElementSibling,j=!1,C=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout(Zt,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-F(s)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(a,u){V(a,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:s,completed:R,onMove:function(n,e){return Xt(ot,r,it,i,n,F(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[Z]._isOutsideThisEl(t.target),!i&&Kt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Kt),O(document,"mousemove",Kt),O(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),V("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Jt(this.cloneId),Jt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){V("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||qt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=J.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){V("destroy",this);var t=this.el;t[Z]=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(V("hideClone",this),Wt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(V("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:U,closest:I,toggleClass:A,clone:X,index:H,nextTick:$t,cancelNextTick:Jt,detectDirection:Bt,getChild:N,expando:Z},Wt.get=function(t){return t[Z]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=d(d({},Wt.utils),t.utils)),J.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Qt,Vt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Vt!==n&&(Vt=n,si(),o=i.scrollFn,!0===(Qt=i.scroll)&&(Qt=G(n,!0)));var h=0,d=Qt;do{var f=d,v=F(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&k+w<S)-(Math.abs(m-r)<=a&&!!k),j=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var C=0;C<=h;C++)oi[C]||(oi[C]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[Z],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=G(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=N(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(j),j=void 0},nulling:function(){ni=Vt=Qt=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)===R())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"bfd14d65683bf4e9098ca7b95e1bc6eb97e65768",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"36edb503d8db55b837de1211e13c52242107fc84",class:"gux-scrollable-section"},o("div",{key:"172b880eb4d8765d5efa0f066a9ebd509738cf14",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"5fe1989d7bfe89234d34b7af08cc503d251abe08"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as o,a}from"./p-BOFduQr_.js";import{t as s}from"./p-CGCaUZQX.js";import{b as i}from"./p-Bg4q97BS.js";const r=class{constructor(e){t(this,e),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",i((()=>{this.containerElement.innerText=t}))}componentWillLoad(){s(this.root)}render(){return e(o,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},e("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),e("div",{key:"2c731aff495c684d15bda9ed006030608bc9a4e7",ref:t=>this.containerElement=t}))}get root(){return a(this)}};r.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_announce_beta}
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-COgvjwDR.js";import{t}from"./p-DKcDCy3c.js";import{O as i}from"./p-vOC0-qDq.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"1972904b2ed5339269cdc36567d15e653117a374",class:"gux-container"},n("div",{key:"833a2f5229bdb45bb6805f3bfe1feafba7fabd7c",class:"gux-image"},n("slot",{key:"452887ee580c168993a3daba42219fad0aa16d4f",name:"image"})),n("div",{key:"eb4600de623ba6958621a054ce4fbd46aa56889b",class:"gux-message"},n("slot",{key:"0a08f39a647d7a4cd2845b87034ecd38fbd99730",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,a}from"./p-BOFduQr_.js";import{t}from"./p-CGCaUZQX.js";import{O as i}from"./p-B5Zw7XAl.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"1972904b2ed5339269cdc36567d15e653117a374",class:"gux-container"},n("div",{key:"833a2f5229bdb45bb6805f3bfe1feafba7fabd7c",class:"gux-image"},n("slot",{key:"452887ee580c168993a3daba42219fad0aa16d4f",name:"image"})),n("div",{key:"eb4600de623ba6958621a054ce4fbd46aa56889b",class:"gux-message"},n("slot",{key:"0a08f39a647d7a4cd2845b87034ecd38fbd99730",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,a as i}from"./p-COgvjwDR.js";import{b as n}from"./p-D2nzPgXC.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const u=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"5c0c3ccd7df716974215710357c8f8853fba78d7",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"628e497ebabed6ac87849894a75b7c4125b27640",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"4ac48f59144bc00387102259aa7a5815e16b4e8b",accent:"ghost","icon-only":!0},a("button",{key:"1dbbabed266442321d3437c53c3cf5778d694a40",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"46ac0757bbbf1ec66f0bc5604ec6088142a77102",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"c468b46c9f5f2bede38e72f5e0b4d6983cff8492",accent:"ghost","icon-only":!0},a("button",{key:"01d061548d51532dc94a72de831b7a8f881579b3",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"e5d84417a8811ccb980bde86fff7de3a463b8b3f",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"d372255b7ef061fcbe162d5d8c3490ff39243bd0",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"48082b78c380dd01f75bcf4ea406292b82243c72",accent:"ghost","icon-only":!0},a("button",{key:"f205533cefd9c2e937ea8e3f902ce6ae5bf8cae4",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"cf981e7a782739d537de65bf78f3e9982c336e45",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"e27388694307c1593a48f351c8bfc75d0e97e15e",accent:"ghost","icon-only":!0},a("button",{key:"d0a90c1694695a3836f576fb61f0e31119477bde",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"611080e44a5cf668dad39142f50d9c933e568528",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"4ce1f622a117064a747d94e469c3ed7f6478078c",class:"gux-pagination-item-counts-container"},a("span",{key:"8bba68ae5e98cb3c3218844ca6c80a76966ffb71",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"c2f8318234796a925f07fd2e1ea572443580d09a",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as e,h as a,a as i}from"./p-BOFduQr_.js";import{b as n}from"./p-45DSrwlG.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const u=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"5c0c3ccd7df716974215710357c8f8853fba78d7",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"628e497ebabed6ac87849894a75b7c4125b27640",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"4ac48f59144bc00387102259aa7a5815e16b4e8b",accent:"ghost","icon-only":!0},a("button",{key:"1dbbabed266442321d3437c53c3cf5778d694a40",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"46ac0757bbbf1ec66f0bc5604ec6088142a77102",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"c468b46c9f5f2bede38e72f5e0b4d6983cff8492",accent:"ghost","icon-only":!0},a("button",{key:"01d061548d51532dc94a72de831b7a8f881579b3",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"e5d84417a8811ccb980bde86fff7de3a463b8b3f",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"d372255b7ef061fcbe162d5d8c3490ff39243bd0",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"48082b78c380dd01f75bcf4ea406292b82243c72",accent:"ghost","icon-only":!0},a("button",{key:"f205533cefd9c2e937ea8e3f902ce6ae5bf8cae4",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"cf981e7a782739d537de65bf78f3e9982c336e45",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"e27388694307c1593a48f351c8bfc75d0e97e15e",accent:"ghost","icon-only":!0},a("button",{key:"d0a90c1694695a3836f576fb61f0e31119477bde",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"611080e44a5cf668dad39142f50d9c933e568528",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"4ce1f622a117064a747d94e469c3ed7f6478078c",class:"gux-pagination-item-counts-container"},a("span",{key:"8bba68ae5e98cb3c3218844ca6c80a76966ffb71",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"c2f8318234796a925f07fd2e1ea572443580d09a",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -1 +1 @@
1
- import{r as t,h as r,a as e}from"./p-COgvjwDR.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-DKcDCy3c.js";import{b as s}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(r){t(this,r),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return r("gux-table-toolbar-custom-action",{key:"5a379ad915e4010fc9969763d5df56118cc54925","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},r("span",{key:"dd3e77986d266aaf3f2c08629b5a1a156123fbac",slot:"text"},this.returnActionLocale(this.action)),r("gux-icon",{key:"82faac3c693dc4f7dad714860a80e5103185fcd1",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return e(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
1
+ import{r as t,h as r,a as e}from"./p-BOFduQr_.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-CGCaUZQX.js";import{b as s}from"./p-45DSrwlG.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(r){t(this,r),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return r("gux-table-toolbar-custom-action",{key:"5a379ad915e4010fc9969763d5df56118cc54925","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},r("span",{key:"dd3e77986d266aaf3f2c08629b5a1a156123fbac",slot:"text"},this.returnActionLocale(this.action)),r("gux-icon",{key:"82faac3c693dc4f7dad714860a80e5103185fcd1",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return e(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,a as n}from"./p-COgvjwDR.js";import{r as s}from"./p-D9jKBqIb.js";import{b as a}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var r={createCustomOptionInstructions:", select to create a new custom option",createOption:'Add "{optionValue}"'};const u=class{constructor(o){e(this,o),this.internalcreatenewoption=t(this,"internalcreatenewoption",7),this.active=!1,this.hidden=!0,this.filtered=!0,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}async guxEmitInternalCreateNewOption(){this.internalcreatenewoption.emit()}handleClick(){this.internalcreatenewoption.emit(this.value)}async componentWillLoad(){this.i18n=await a(this.root,r),this.root.id=this.root.id||s("gux-option-multi")}async componentWillRender(){}renderCustomOptionInstructions(){return o("span",{class:"gux-screenreader"},this.i18n("createCustomOptionInstructions"))}render(){return o(i,{key:"8539a7c29bbde71c67aa0b7045aaec8e1a5fa121",role:"option","aria-selected":!1,class:{"gux-active":this.active,"gux-hovered":this.hovered,"gux-filtered":this.filtered}},o("div",{key:"b0b0379379371438a2e2248e9bf671964a6ea8e2",class:"gux-option"},o("gux-icon",{key:"e0229902568ef68d2fe721530756bd7d1b450841",decorative:!0,"icon-name":"fa/plus-regular",size:"small"}),o("div",{key:"0169d835175b1f9edd0467c7a2f390de408aa5b7",class:"gux-create-text"},this.i18n("createOption",{optionValue:this.value})),this.renderCustomOptionInstructions()))}get root(){return n(this)}};u.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-hovered:not([disabled])){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-filtered){display:none}:host gux-icon{padding-inline-end:var(--gse-ui-menu-option-gap)}:host .gux-option{display:inline-flex}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{u as gux_create_option}
1
+ import{r as e,c as t,h as o,H as i,a as s}from"./p-BOFduQr_.js";import{r as n}from"./p-D9jKBqIb.js";import{b as a}from"./p-45DSrwlG.js";import"./p-Cd4R0amv.js";var r={createCustomOptionInstructions:", select to create a new custom option",createOption:'Add "{optionValue}"'};const u=class{constructor(o){e(this,o),this.internalcreatenewoption=t(this,"internalcreatenewoption",7),this.active=!1,this.hidden=!0,this.filtered=!0,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}async guxEmitInternalCreateNewOption(){this.internalcreatenewoption.emit()}handleClick(){this.internalcreatenewoption.emit(this.value)}async componentWillLoad(){this.i18n=await a(this.root,r),this.root.id=this.root.id||n("gux-option-multi")}async componentWillRender(){}renderCustomOptionInstructions(){return o("span",{class:"gux-screenreader"},this.i18n("createCustomOptionInstructions"))}render(){return o(i,{key:"8539a7c29bbde71c67aa0b7045aaec8e1a5fa121",role:"option","aria-selected":!1,class:{"gux-active":this.active,"gux-hovered":this.hovered,"gux-filtered":this.filtered}},o("div",{key:"b0b0379379371438a2e2248e9bf671964a6ea8e2",class:"gux-option"},o("gux-icon",{key:"e0229902568ef68d2fe721530756bd7d1b450841",decorative:!0,"icon-name":"fa/plus-regular",size:"small"}),o("div",{key:"0169d835175b1f9edd0467c7a2f390de408aa5b7",class:"gux-create-text"},this.i18n("createOption",{optionValue:this.value})),this.renderCustomOptionInstructions()))}get root(){return s(this)}};u.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-hovered:not([disabled])){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-filtered){display:none}:host gux-icon{padding-inline-end:var(--gse-ui-menu-option-gap)}:host .gux-option{display:inline-flex}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{u as gux_create_option}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i}from"./p-COgvjwDR.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"b1f0827f1ad1f494da36fc3e7c4c9245ed9c0d6e",class:{"gux-selected":this.selected}},t("button",{key:"d0879ddb46a4792171643e79aac5e6f0b52e744f","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"3b7ad789884ff53ee92ec6ecdd843295aca690d6"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
1
+ import{r as e,h as t,H as i}from"./p-BOFduQr_.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"b1f0827f1ad1f494da36fc3e7c4c9245ed9c0d6e",class:{"gux-selected":this.selected}},t("button",{key:"d0879ddb46a4792171643e79aac5e6f0b52e744f","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"3b7ad789884ff53ee92ec6ecdd843295aca690d6"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
@@ -1 +1 @@
1
- import{r as t,c as o,h as s,a}from"./p-COgvjwDR.js";import{t as i}from"./p-DKcDCy3c.js";import{h as e}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return s("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return s("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return s("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return s("slot",{name:"icon"})}}renderLink(){return s("div",{class:"gux-buttons-bar"},s("gux-link-beta",{standalone:!0},s("slot",{name:"link"})))}renderActions(){return s("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&s("gux-button-slot",{slot:"secondary"},s("slot",{name:"secondary-button"})),s("gux-button-slot",{slot:"primary"},s("slot",{name:"primary-button"})))}render(){return s("div",{key:"07b4a8b2500cb1fdb8be31a07bfaff11ec8ba386",class:`gux-toast gux-toast-${this.toastType}`},s("div",{key:"60845287862d557e4d180f2f17ca97201bdd76d6",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),s("div",{key:"3faadc52ff78bf8176b1693025d8b499fd2bf885",class:"gux-content"},s("div",{key:"57c050f1e97635827fea5a5c9a0eab74eeb062c7",class:"gux-message"},s("gux-truncate",{key:"2e71965d6de7a5a5d895f04fd4abc052cc17fe7d",class:"gux-message-title","max-lines":1},s("slot",{key:"3e0e07ccec6663b332afe303767eb3b42f800dda",name:"title"})),s("gux-truncate",{key:"8bdbb8d47bbe46ad5941fb1b9daf11f817b10bd7",class:"gux-message-body","max-lines":2},s("slot",{key:"81e47794b10c06c666e1cf8404f71f06f7c23926",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),s("gux-dismiss-button",{key:"2835927f8e195224f6f11abf45d2d1964693758b",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return a(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
1
+ import{r as t,c as o,h as s,a}from"./p-BOFduQr_.js";import{t as i}from"./p-CGCaUZQX.js";import{h as e}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return s("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return s("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return s("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return s("slot",{name:"icon"})}}renderLink(){return s("div",{class:"gux-buttons-bar"},s("gux-link-beta",{standalone:!0},s("slot",{name:"link"})))}renderActions(){return s("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&s("gux-button-slot",{slot:"secondary"},s("slot",{name:"secondary-button"})),s("gux-button-slot",{slot:"primary"},s("slot",{name:"primary-button"})))}render(){return s("div",{key:"07b4a8b2500cb1fdb8be31a07bfaff11ec8ba386",class:`gux-toast gux-toast-${this.toastType}`},s("div",{key:"60845287862d557e4d180f2f17ca97201bdd76d6",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),s("div",{key:"3faadc52ff78bf8176b1693025d8b499fd2bf885",class:"gux-content"},s("div",{key:"57c050f1e97635827fea5a5c9a0eab74eeb062c7",class:"gux-message"},s("gux-truncate",{key:"2e71965d6de7a5a5d895f04fd4abc052cc17fe7d",class:"gux-message-title","max-lines":1},s("slot",{key:"3e0e07ccec6663b332afe303767eb3b42f800dda",name:"title"})),s("gux-truncate",{key:"8bdbb8d47bbe46ad5941fb1b9daf11f817b10bd7",class:"gux-message-body","max-lines":2},s("slot",{key:"81e47794b10c06c666e1cf8404f71f06f7c23926",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),s("gux-dismiss-button",{key:"2835927f8e195224f6f11abf45d2d1964693758b",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return a(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
@@ -1 +1 @@
1
- import{r as e,c as t,h as n,H as i,a}from"./p-COgvjwDR.js";import{t as r}from"./p-DKcDCy3c.js";import{b as o}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const g=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}handleInput(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0,this.inputElement.parentElement.dataset.replicatedValue=this.inputElement.value}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"e537d89c8b23e0d561e52019695d096f312a60c4"},n("div",{key:"772ee899c3182d61d970df82dd939e3787b6f825",class:"gux-input-container"},n("div",{key:"edf5a484139dd6f2a6e71fbeb50a8b6af6e06595",class:"gux-grow-wrap"},n("textarea",{key:"ed20fc08288f52b08e18b675f8e7cdf0a7561c66",rows:1,class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onInput:this.handleInput.bind(this),"data-testid":"prompt-input"})),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"e8fa3b0f21768e74dc4f2c8157e0ea6fbf80d7cb",class:"caution-message"},n("slot",{key:"9167218c06d8935bb4a50bba12b1cbbc965ea064",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};g.style='.gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container gux-button-slot{align-self:flex-end}.gux-input-container .gux-grow-wrap{display:grid;inline-size:100%;min-block-size:0;max-block-size:var(--gse-ui-promptInput-simple-label-maxHeight);padding:var(--gse-ui-promptInput-complex-labelContainer-scrollEnabled-padding);overflow:hidden auto}.gux-input-container .gux-grow-wrap::after{visibility:hidden;grid-area:1/1/2/2;padding:0;margin:0;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap;content:attr(data-replicated-value) " ";border:0}.gux-input-container .gux-grow-wrap>textarea{grid-area:1/1/2/2;overflow:hidden;word-break:normal;overflow-wrap:anywhere;resize:none}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}';export{g as gux_prompt_input_beta}
1
+ import{r as e,c as t,h as n,H as i,a}from"./p-BOFduQr_.js";import{t as r}from"./p-CGCaUZQX.js";import{b as o}from"./p-45DSrwlG.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const u=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}handleInput(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0,this.inputElement.parentElement.dataset.replicatedValue=this.inputElement.value}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"e537d89c8b23e0d561e52019695d096f312a60c4"},n("div",{key:"772ee899c3182d61d970df82dd939e3787b6f825",class:"gux-input-container"},n("div",{key:"edf5a484139dd6f2a6e71fbeb50a8b6af6e06595",class:"gux-grow-wrap"},n("textarea",{key:"ed20fc08288f52b08e18b675f8e7cdf0a7561c66",rows:1,class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onInput:this.handleInput.bind(this),"data-testid":"prompt-input"})),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"e8fa3b0f21768e74dc4f2c8157e0ea6fbf80d7cb",class:"caution-message"},n("slot",{key:"9167218c06d8935bb4a50bba12b1cbbc965ea064",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};u.style='.gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container gux-button-slot{align-self:flex-end}.gux-input-container .gux-grow-wrap{display:grid;inline-size:100%;min-block-size:0;max-block-size:var(--gse-ui-promptInput-simple-label-maxHeight);padding:var(--gse-ui-promptInput-complex-labelContainer-scrollEnabled-padding);overflow:hidden auto}.gux-input-container .gux-grow-wrap::after{visibility:hidden;grid-area:1/1/2/2;padding:0;margin:0;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap;content:attr(data-replicated-value) " ";border:0}.gux-input-container .gux-grow-wrap>textarea{grid-area:1/1/2/2;overflow:hidden;word-break:normal;overflow-wrap:anywhere;resize:none}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}';export{u as gux_prompt_input_beta}