genesys-spark-components 4.0.0-beta.27 → 4.0.0-beta.29

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 (390) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -3
  12. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-button.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-column-manager-item.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-create-option.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -10
  29. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-form-field-phone.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-listbox-multi.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -47
  49. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-option-multi.cjs.entry.js +8 -2
  54. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-radial-loading.cjs.entry.js +22 -3
  61. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/cjs/{usage-8d342ca0.js → usage-9037f66c.js} +2 -1
  91. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +2 -2
  92. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.css +3 -3
  93. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +1 -1
  94. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +30 -134
  95. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +22 -125
  96. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +26 -129
  97. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +43 -140
  98. package/dist/collection/components/stable/gux-button/gux-button.css +43 -3
  99. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -19
  100. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +43 -3
  101. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +3 -3
  102. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +25 -127
  103. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +1 -1
  104. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -1
  105. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +147 -50
  106. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +1 -1
  107. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +1 -1
  108. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +32 -135
  109. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +147 -49
  110. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +1 -1
  111. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +109 -70
  112. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +1 -1
  113. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +43 -140
  114. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +43 -140
  115. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +1 -1
  116. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +1 -0
  117. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +1 -8
  118. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -4
  119. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +28 -21
  120. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -1
  121. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +17 -13
  122. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +8 -8
  123. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +45 -31
  124. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +10 -3
  125. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +87 -192
  126. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +2 -49
  127. package/dist/collection/components/stable/gux-modal/gux-modal.css +1 -1
  128. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +188 -31
  129. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.functional.js +11 -0
  130. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -1
  131. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.service.js +4 -0
  132. package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.css +32 -136
  133. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +21 -15
  134. package/dist/collection/components/stable/gux-table/gux-table.css +26 -130
  135. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +25 -18
  136. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -1
  137. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +25 -18
  138. package/dist/component-specs.json +1 -2
  139. package/dist/deploy-info.json +3 -3
  140. package/dist/esm/genesys-webcomponents.js +1 -1
  141. package/dist/esm/gux-accordion-section.entry.js +1 -1
  142. package/dist/esm/gux-accordion.entry.js +1 -1
  143. package/dist/esm/gux-action-button.entry.js +1 -1
  144. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  145. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +2 -2
  146. package/dist/esm/gux-announce-beta.entry.js +1 -1
  147. package/dist/esm/gux-badge.entry.js +1 -1
  148. package/dist/esm/gux-blank-state.entry.js +1 -1
  149. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  150. package/dist/esm/gux-button-multi.entry.js +2 -3
  151. package/dist/esm/gux-button-slot.entry.js +2 -2
  152. package/dist/esm/gux-button.entry.js +2 -2
  153. package/dist/esm/gux-calendar.entry.js +2 -2
  154. package/dist/esm/gux-card.entry.js +1 -1
  155. package/dist/esm/gux-column-manager-item.entry.js +1 -1
  156. package/dist/esm/gux-column-manager.entry.js +1 -1
  157. package/dist/esm/gux-content-search.entry.js +1 -1
  158. package/dist/esm/gux-context-menu.entry.js +1 -1
  159. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  160. package/dist/esm/gux-create-option.entry.js +1 -1
  161. package/dist/esm/gux-date-beta.entry.js +1 -1
  162. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  163. package/dist/esm/gux-datepicker.entry.js +1 -1
  164. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  165. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  166. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  167. package/dist/esm/gux-dropdown_3.entry.js +5 -10
  168. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  169. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  170. package/dist/esm/gux-form-field-color.entry.js +2 -2
  171. package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
  172. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  173. package/dist/esm/gux-form-field-number_3.entry.js +2 -2
  174. package/dist/esm/gux-form-field-phone.entry.js +2 -2
  175. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  176. package/dist/esm/gux-form-field-range.entry.js +2 -2
  177. package/dist/esm/gux-form-field-search.entry.js +2 -2
  178. package/dist/esm/gux-form-field-select.entry.js +2 -2
  179. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  180. package/dist/esm/gux-form-field-textarea.entry.js +2 -2
  181. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  182. package/dist/esm/gux-icon.entry.js +1 -1
  183. package/dist/esm/gux-inline-alert.entry.js +1 -1
  184. package/dist/esm/gux-list-item.entry.js +1 -1
  185. package/dist/esm/gux-list.entry.js +1 -1
  186. package/dist/esm/gux-listbox-multi.entry.js +5 -5
  187. package/dist/esm/gux-loading-message.entry.js +4 -48
  188. package/dist/esm/gux-modal.entry.js +2 -2
  189. package/dist/esm/gux-month-calendar.entry.js +1 -1
  190. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  191. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  192. package/dist/esm/gux-option-multi.entry.js +8 -2
  193. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  194. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  195. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  196. package/dist/esm/gux-pagination.entry.js +1 -1
  197. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  198. package/dist/esm/gux-popover-list.entry.js +1 -1
  199. package/dist/esm/gux-radial-loading.entry.js +23 -4
  200. package/dist/esm/gux-radial-progress.entry.js +1 -1
  201. package/dist/esm/gux-rating.entry.js +1 -1
  202. package/dist/esm/gux-region-icon.entry.js +1 -1
  203. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  204. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  205. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  206. package/dist/esm/gux-sort-control.entry.js +1 -1
  207. package/dist/esm/gux-switch-item.entry.js +1 -1
  208. package/dist/esm/gux-switch.entry.js +1 -1
  209. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  210. package/dist/esm/gux-tab-panel.entry.js +1 -1
  211. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  212. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  213. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  214. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  215. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  216. package/dist/esm/gux-table.entry.js +2 -2
  217. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  218. package/dist/esm/gux-tabs.entry.js +1 -1
  219. package/dist/esm/gux-tag.entry.js +1 -1
  220. package/dist/esm/gux-text-highlight.entry.js +1 -1
  221. package/dist/esm/gux-time-beta.entry.js +1 -1
  222. package/dist/esm/gux-time-picker.entry.js +1 -1
  223. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  224. package/dist/esm/gux-toast.entry.js +1 -1
  225. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  226. package/dist/esm/gux-toggle.entry.js +1 -1
  227. package/dist/esm/gux-tooltip.entry.js +1 -1
  228. package/dist/esm/loader.js +1 -1
  229. package/dist/esm/{usage-4e7ef844.js → usage-775c758f.js} +2 -1
  230. package/dist/genesys-webcomponents/genesys-webcomponents.css +3 -3
  231. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  232. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  233. package/dist/genesys-webcomponents/p-00ee9185.entry.js +1 -0
  234. package/dist/genesys-webcomponents/p-0731b5ab.entry.js +1 -0
  235. package/dist/genesys-webcomponents/{p-77f1232b.entry.js → p-096a8642.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/p-09830c56.entry.js +1 -0
  237. package/dist/genesys-webcomponents/p-0a6e80c8.entry.js +1 -0
  238. package/dist/genesys-webcomponents/{p-0076f3f5.entry.js → p-0eb24603.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-46108dd5.entry.js → p-120ba166.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-ceed21c7.entry.js → p-17fed5ad.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/p-1890b2d6.entry.js +1 -0
  242. package/dist/genesys-webcomponents/{p-adbed625.js → p-19a7df84.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-b9a86ebe.entry.js → p-1accd06e.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-d253461a.entry.js → p-22dbcef7.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-41f2ecb4.entry.js → p-237aa911.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/p-25cbbd7d.entry.js +1 -0
  247. package/dist/genesys-webcomponents/{p-213cdf2c.entry.js → p-2ac5f1ed.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-c6fc2a5d.entry.js → p-2f6a16bc.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/p-3031a578.entry.js +1 -0
  250. package/dist/genesys-webcomponents/p-31c644b4.entry.js +1 -0
  251. package/dist/genesys-webcomponents/{p-d91f695d.entry.js → p-3231101a.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/p-391d2c94.entry.js +1 -0
  253. package/dist/genesys-webcomponents/p-39aef491.entry.js +1 -0
  254. package/dist/genesys-webcomponents/p-39e12286.entry.js +1 -0
  255. package/dist/genesys-webcomponents/{p-d3a0a97b.entry.js → p-3d6b25da.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-103ad753.entry.js → p-3eae9bb3.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-d339fb99.entry.js → p-41d752de.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-6a31fb7e.entry.js → p-4a64f632.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-c7631270.entry.js → p-4ada7287.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-0f33f457.entry.js → p-4b538970.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-ecb4b661.entry.js → p-4d0dd9f8.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-8e14e2ff.entry.js → p-4f070177.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/p-4fc8b44e.entry.js +1 -0
  264. package/dist/genesys-webcomponents/{p-c4547d4a.entry.js → p-5285168c.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/p-5676eed0.entry.js +1 -0
  266. package/dist/genesys-webcomponents/p-57dce400.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-9daee752.entry.js → p-5adbe8ab.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-0a1cc254.entry.js → p-60208c67.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-5a22f1f6.entry.js → p-631fca69.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/p-68203e47.entry.js +1 -0
  271. package/dist/genesys-webcomponents/{p-4d623f46.entry.js → p-7048200c.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-642c5650.entry.js → p-741cf5fa.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-78159639.entry.js → p-75c58b14.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/p-7a24829d.entry.js +1 -0
  275. package/dist/genesys-webcomponents/{p-f5b1fc27.entry.js → p-7a470ab8.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/p-7c5d3642.entry.js +1 -0
  277. package/dist/genesys-webcomponents/{p-8d5f3368.entry.js → p-7dd91f38.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-ea2177b4.entry.js → p-7e8613ef.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-31082d48.entry.js → p-84322c12.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-e01e8b11.entry.js → p-84b02f9a.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-8988c6ea.entry.js +1 -0
  282. package/dist/genesys-webcomponents/p-8e23c28c.entry.js +1 -0
  283. package/dist/genesys-webcomponents/{p-3ef0a725.entry.js → p-90485aff.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-68ebbf22.entry.js → p-90fce0e4.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-83f11efa.entry.js → p-96f0be69.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-362129ec.entry.js → p-973325c9.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-2498b2e3.entry.js → p-9b5ec2bd.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-2afda1fa.entry.js → p-a26af641.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-924c1da2.entry.js → p-a70ecdb7.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-cb46759e.entry.js → p-a7112589.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-30a59436.entry.js → p-a865c24e.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-287495ec.entry.js → p-b28635c6.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/p-b365e09b.entry.js +1 -0
  294. package/dist/genesys-webcomponents/p-b36d383b.entry.js +1 -0
  295. package/dist/genesys-webcomponents/{p-8b9f4bd0.entry.js → p-bbe6fe3f.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-4412b9b1.entry.js → p-bcea8f49.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-777735a1.entry.js → p-bd0759a5.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/p-bd803de8.entry.js +1 -0
  299. package/dist/genesys-webcomponents/{p-3e9d0c7b.entry.js → p-bdd7db66.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-f4af5f6b.entry.js → p-beefc3de.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-4d250c8c.entry.js → p-c1b368fa.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-34b96434.entry.js → p-c909a96c.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-501d06d9.entry.js → p-cd08cdda.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-7b0db5cc.entry.js → p-d2e07ae1.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-b005c9ec.entry.js → p-d326ca91.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-40d1b7d6.entry.js → p-d4286397.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-11b420ed.entry.js → p-d48fa55a.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/p-d5e44599.entry.js +1 -0
  309. package/dist/genesys-webcomponents/{p-44aed7b3.entry.js → p-d77d2752.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-1ce5509b.entry.js → p-d8b0b0d9.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-13b39caa.entry.js → p-d9afb24f.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-6002a77c.entry.js → p-e74ce003.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-a06dceae.entry.js → p-e7fe9d85.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/p-ef910e9b.entry.js +1 -0
  315. package/dist/genesys-webcomponents/{p-9d2abb9e.entry.js → p-f2081d0c.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/p-f758da43.entry.js +1 -0
  317. package/dist/genesys-webcomponents/{p-164fd006.entry.js → p-f9dbe1b4.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-87093380.entry.js → p-fd11ab49.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-51c934c5.entry.js → p-fd1e28c6.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-322710bc.entry.js → p-ff9e713f.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/scss/focus.scss +48 -0
  322. package/dist/genesys-webcomponents/scss/style-reset-focusable.scss +23 -0
  323. package/dist/genesys-webcomponents/scss/style-reset-typography.scss +26 -0
  324. package/dist/genesys-webcomponents/scss/typography.scss +127 -0
  325. package/dist/stencil-wrapper.js +1 -1
  326. package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +0 -4
  327. package/dist/types/components/stable/gux-listbox-multi/gux-listbox-multi.d.ts +1 -1
  328. package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +1 -0
  329. package/dist/types/components/stable/gux-loading-message/gux-loading-message.d.ts +0 -10
  330. package/dist/types/components/stable/gux-radial-loading/gux-radial-loading.functional.d.ts +8 -0
  331. package/dist/types/components/stable/gux-radial-loading/gux-radial-loading.service.d.ts +4 -0
  332. package/dist/types/components/stable/gux-radial-progress/gux-radial-progress.functional.d.ts +0 -3
  333. package/dist/types/components.d.ts +0 -8
  334. package/dist/types/stencil-wrapper.d.ts +1 -1
  335. package/package.json +2 -1
  336. package/dist/collection/components/stable/gux-loading-message/gux-loading-message-constants.js +0 -5
  337. package/dist/collection/components/stable/gux-loading-message/gux-loading-message-size.types.js +0 -1
  338. package/dist/collection/style/fonts/roboto-v20-latin-300.svg +0 -1
  339. package/dist/collection/style/fonts/roboto-v20-latin-700.svg +0 -309
  340. package/dist/collection/style/fonts/roboto-v20-latin-italic.svg +0 -323
  341. package/dist/collection/style/fonts/roboto-v20-latin-regular.svg +0 -308
  342. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.eot +0 -0
  343. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.svg +0 -1
  344. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.ttf +0 -0
  345. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.woff +0 -0
  346. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.woff2 +0 -0
  347. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.eot +0 -0
  348. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.svg +0 -309
  349. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.ttf +0 -0
  350. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.woff +0 -0
  351. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.woff2 +0 -0
  352. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.eot +0 -0
  353. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.svg +0 -323
  354. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.ttf +0 -0
  355. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.woff +0 -0
  356. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.woff2 +0 -0
  357. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.eot +0 -0
  358. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.svg +0 -308
  359. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.ttf +0 -0
  360. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.woff +0 -0
  361. package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.woff2 +0 -0
  362. package/dist/genesys-webcomponents/less/focus.less +0 -46
  363. package/dist/genesys-webcomponents/less/typography.less +0 -160
  364. package/dist/genesys-webcomponents/p-04e0fe86.entry.js +0 -1
  365. package/dist/genesys-webcomponents/p-12e01c6c.entry.js +0 -1
  366. package/dist/genesys-webcomponents/p-1aab5a86.entry.js +0 -1
  367. package/dist/genesys-webcomponents/p-1be0f29e.entry.js +0 -1
  368. package/dist/genesys-webcomponents/p-235edbf8.entry.js +0 -1
  369. package/dist/genesys-webcomponents/p-24c0304b.entry.js +0 -1
  370. package/dist/genesys-webcomponents/p-38d60100.entry.js +0 -1
  371. package/dist/genesys-webcomponents/p-3dde3588.entry.js +0 -1
  372. package/dist/genesys-webcomponents/p-6b929d2d.entry.js +0 -1
  373. package/dist/genesys-webcomponents/p-6e161af6.entry.js +0 -1
  374. package/dist/genesys-webcomponents/p-71739e39.entry.js +0 -1
  375. package/dist/genesys-webcomponents/p-844dfb88.entry.js +0 -1
  376. package/dist/genesys-webcomponents/p-8fcf1744.entry.js +0 -1
  377. package/dist/genesys-webcomponents/p-9046d865.entry.js +0 -1
  378. package/dist/genesys-webcomponents/p-9512246a.entry.js +0 -1
  379. package/dist/genesys-webcomponents/p-99e5fc7e.entry.js +0 -1
  380. package/dist/genesys-webcomponents/p-a1795d44.entry.js +0 -1
  381. package/dist/genesys-webcomponents/p-a81c0565.entry.js +0 -1
  382. package/dist/genesys-webcomponents/p-ab3e0cf2.entry.js +0 -1
  383. package/dist/genesys-webcomponents/p-bcba8202.entry.js +0 -1
  384. package/dist/genesys-webcomponents/p-c1314b3a.entry.js +0 -1
  385. package/dist/genesys-webcomponents/p-d4bae794.entry.js +0 -1
  386. package/dist/genesys-webcomponents/p-e1b518fb.entry.js +0 -1
  387. package/dist/genesys-webcomponents/p-e82dbae5.entry.js +0 -1
  388. package/dist/genesys-webcomponents/p-fdc9e35c.entry.js +0 -1
  389. package/dist/types/components/stable/gux-loading-message/gux-loading-message-constants.d.ts +0 -5
  390. package/dist/types/components/stable/gux-loading-message/gux-loading-message-size.types.d.ts +0 -1
@@ -1 +1 @@
1
- import{a as t,r as i,h as e,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-adbed625.js";import{l as n}from"./p-d0805f56.js";const a=new Map;async function o(i="unknown"){const e=function(t){return t.replace("/","-")}(i);if(a.has(e))return a.get(e);const s=async function(i){const e=await fetch(t(`./icons/${i}.svg`));if(200===e.status)return e.text();throw new Error(`[gux-icon] fetching failed for icon "${i}" with status "${e.statusText} (${e.status})".`)}(i).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),o("unknown"))));return a.set(e,s),s}const h=class{constructor(t){i(this,t),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.svgHtml=void 0}async prepIcon(t){this.baseSvgHtml=await o(t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchDecorative(t){this.validateProps(t,this.screenreaderText),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchScreenreaderText(t){this.validateProps(this.decorative,t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}async componentWillLoad(){r(this.root,{variant:this.iconName}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(t,i){this.root.isConnected&&(t||i||n(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(t){const i=(new DOMParser).parseFromString(t,"image/svg+xml").firstChild;return i.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?i.setAttribute("aria-label",this.screenreaderText):i.removeAttribute("aria-label"),i.outerHTML}render(){return this.svgHtml&&e("div",{class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return s(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};h.style=":host{display:inline-flex;width:1em;height:1em}.gux-icon-container{display:flex;align-items:center;justify-content:center;width:100%}.gux-icon-container svg{width:100%;max-width:100%;height:100%;max-height:100%;fill:currentcolor}";export{h as gux_icon}
1
+ import{a as t,r as i,h as e,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-19a7df84.js";import{l as n}from"./p-d0805f56.js";const a=new Map;async function o(i="unknown"){const e=function(t){return t.replace("/","-")}(i);if(a.has(e))return a.get(e);const s=async function(i){const e=await fetch(t(`./icons/${i}.svg`));if(200===e.status)return e.text();throw new Error(`[gux-icon] fetching failed for icon "${i}" with status "${e.statusText} (${e.status})".`)}(i).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),o("unknown"))));return a.set(e,s),s}const h=class{constructor(t){i(this,t),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.svgHtml=void 0}async prepIcon(t){this.baseSvgHtml=await o(t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchDecorative(t){this.validateProps(t,this.screenreaderText),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchScreenreaderText(t){this.validateProps(this.decorative,t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}async componentWillLoad(){r(this.root,{variant:this.iconName}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(t,i){this.root.isConnected&&(t||i||n(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(t){const i=(new DOMParser).parseFromString(t,"image/svg+xml").firstChild;return i.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?i.setAttribute("aria-label",this.screenreaderText):i.removeAttribute("aria-label"),i.outerHTML}render(){return this.svgHtml&&e("div",{class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return s(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};h.style=":host{display:inline-flex;width:1em;height:1em}.gux-icon-container{display:flex;align-items:center;justify-content:center;width:100%}.gux-icon-container svg{width:100%;max-width:100%;height:100%;max-height:100%;fill:currentcolor}";export{h as gux_icon}
@@ -0,0 +1 @@
1
+ import{r as e,h as i}from"./p-7d26b2e1.js";const s=class{constructor(i){e(this,i),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,i,s;this.labelId?null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-labelledby",this.labelId):null===(i=this.checkboxElement)||void 0===i||i.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(s=this.checkboxElement)||void 0===s||s.setAttribute("aria-describedby",this.errorId))}render(){return i("div",{class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},i("div",{class:"gux-slider"},i("div",{class:"gux-switch"},i("gux-icon",{"icon-name":"checkmark",decorative:!0}))))}};s.style='.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;width:30px;height:16px;border-radius:8px}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:none;outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:#6b7585;border-radius:8px;transition:background-color 0.5s ease}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;bottom:1px;left:1px;width:14px;height:14px;content:"";background-color:#fdfdfd;border-radius:50%;transition:0.5s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;width:12px;height:12px;padding:1px;color:#fdfdfd;opacity:0;transition:color 0.5s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:#2a60c8}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(14px)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:#2a60c8;opacity:1;transition:opacity 0.25s linear;transition-delay:0.25s}';export{s as gux_toggle_slider}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-19a7df84.js";const e=class{constructor(o){t(this,o)}componentWillLoad(){r(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};e.style=".gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{e as gux_screen_reader_beta}
@@ -1 +1 @@
1
- import{r as t,c as o,h as s,g as i}from"./p-7d26b2e1.js";import{a as e,c as r,o as a,f as p,s as h,b as n}from"./p-4e2b5bcf.js";import{O as d}from"./p-9d18d475.js";import{t as c}from"./p-adbed625.js";import{f as l}from"./p-82ffe3cc.js";const u=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const o=t.composedPath(),s=l(this.root,this.for),i=o.includes(s);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=e(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),h(),n({element:this.arrowElement,padding:16})]}).then((({x:t,y:o,middlewareData:s,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${o}px`});const e={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(s.arrow){const{x:t,y:o}=s.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:"",right:"",bottom:"",[e]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){c(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return s("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},s("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&s("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),s("div",{class:"gux-popover-content"},s("slot",null)))}get root(){return i(this)}};(function(t,o,s,i){var e,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,s,i);else for(var p=t.length-1;p>=0;p--)(e=t[p])&&(a=(r<3?e(a):r>3?e(o,s,a):e(o,s))||a);r>3&&a&&Object.defineProperty(o,s,a)})([d({triggerEvents:"mousedown"})],u.prototype,"checkForClickOutside",null),u.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0px;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-x) var(--gse-ui-popover-boxShadow-y) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:var(--gse-ui-popover-anchor-width);height:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{u as gux_popover_list}
1
+ import{r as t,c as o,h as s,g as i}from"./p-7d26b2e1.js";import{a as e,c as r,o as a,f as p,s as h,b as n}from"./p-4e2b5bcf.js";import{O as d}from"./p-9d18d475.js";import{t as c}from"./p-19a7df84.js";import{f as l}from"./p-82ffe3cc.js";const u=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const o=t.composedPath(),s=l(this.root,this.for),i=o.includes(s);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=e(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),h(),n({element:this.arrowElement,padding:16})]}).then((({x:t,y:o,middlewareData:s,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${o}px`});const e={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(s.arrow){const{x:t,y:o}=s.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:"",right:"",bottom:"",[e]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){c(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return s("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},s("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&s("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),s("div",{class:"gux-popover-content"},s("slot",null)))}get root(){return i(this)}};(function(t,o,s,i){var e,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,s,i);else for(var p=t.length-1;p>=0;p--)(e=t[p])&&(a=(r<3?e(a):r>3?e(o,s,a):e(o,s))||a);r>3&&a&&Object.defineProperty(o,s,a)})([d({triggerEvents:"mousedown"})],u.prototype,"checkForClickOutside",null),u.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0px;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-x) var(--gse-ui-popover-boxShadow-y) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:var(--gse-ui-popover-anchor-width);height:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{u as gux_popover_list}
@@ -0,0 +1 @@
1
+ import{r as e,h as n,g as a}from"./p-7d26b2e1.js";import{t as g}from"./p-19a7df84.js";const i=class{constructor(n){e(this,n)}componentWillLoad(){g(this.root)}render(){return n("div",{class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{class:"gux-progress"},n("slot",{name:"progress"})),n("div",{class:"gux-primary-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-additional-guidance"},n("slot",{name:"additional-guidance"})))}get root(){return a(this)}};i.style="/**\n * @prop --gse-progressAndLoading-loadingState-large-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-width : TODO https://inindca.atlassian.net/browse/COMUI-2264\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-width\n * @prop --gse-progressAndLoading-loadingState-small-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-width\n * @prop --gse-progressAndLoading-large-gap\n * @prop --gse-progressAndLoading-large-gapText\n * @prop --gse-progressAndLoading-pageLoading-gap\n * @prop --gse-progressAndLoading-medium-gap\n * @prop --gse-progressAndLoading-medium-gapText\n * @prop --gse-progressAndLoading-small-gap\n * @prop --gse-progressAndLoading-small-gapText\n * @prop --gse-ui-progressAndLoading-textColor\n */\n: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 color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n }\n}";export{i as gux_loading_message}
@@ -0,0 +1 @@
1
+ import{r as o,h as t,g as e}from"./p-7d26b2e1.js";import{t as r}from"./p-19a7df84.js";const n=class{constructor(t){o(this,t),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary"}componentWillLoad(){r(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return e(this)}};n.style=".gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}:host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}::slotted(*){padding-left:8px;vertical-align:middle}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-weight:var(--gse-ui-button-text-fontWeight);font-size:var(--gse-ui-button-text-fontSize);line-height:var(--gse-ui-button-text-lineHeight);color:var(--gse-ui-button-secondary-default-foregroundColor);background-color:var(--gse-ui-button-secondary-default-backgroundColor);width:100%;min-width:var(--gse-ui-button-icon-only-width);height:var(--gse-ui-button-height);padding:var(--gse-ui-button-padding);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;border:none;border-radius:var(--gse-ui-button-borderRadius)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity);cursor:default}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-width:var(--gse-ui-button-tertiary-default-border-width);border-style:var(--gse-ui-button-tertiary-default-border-style);border-color:var(--gse-ui-button-tertiary-default-border-color)}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-width:initial;height:initial;padding:0;color:var(--gse-ui-link-default-color);background:none;border:none}button.gux-inline[disabled]{color:var(--gse-ui-link-disabled-color)}button.gux-inline:hover:enabled{text-decoration:underline;color:var(--gse-ui-link-hover-color);background:none}button.gux-inline:active:enabled{text-decoration:underline;color:var(--gse-ui-link-active-color);background:none}";export{n as gux_button}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as o,H as i,g as s}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{b as r}from"./p-deee079e.js";import"./p-8a133b9b.js";const u={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},a=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.custom=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await r(this.root,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value)}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("gux-truncate",{"gux-slot-container":!0,ref:e=>this.truncateElement=e},o("slot",null)),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};a.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-height: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-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);color:var(--gse-ui-menu-option-label-foregroundColor);gap:var(--gse-ui-menu-option-gap);word-wrap:break-word;cursor:pointer}:host .gux-checkbox-container{position:relative;display:inline-block;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}: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);border-radius:var(--gse-semantic-focusRing-cornerRadius)}:host:host(.gux-hovered:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-hovered:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(.gux-hovered:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{a as gux_option_multi}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as i}from"./p-7d26b2e1.js";import{g as n}from"./p-8a133b9b.js";const r=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{role:"listitem"},t("button",{type:"button",tabIndex:-1,disabled:this.disabled},t("slot",null)))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style=":host{width:100%;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){width:var(--gse-ui-menu-option-startIcon-height);height:var(--gse-ui-menu-option-startIcon-height);margin-right:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);background-color:var(--gse-ui-menu-option-default-backgroundColor);box-sizing:border-box;width:100%;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;border:none;outline:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusRing-cornerRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){background:var(--gse-ui-menu-option-selected-backgroundColor);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);font-size:var(--gse-ui-menu-option-label-active-text-fontSize)}button:disabled{opacity:var(--gse-ui-menu-option-disabled-opacity);cursor:default}";export{r as gux_list_item}
1
+ import{r as e,h as t,H as o,g as i}from"./p-7d26b2e1.js";import{g as n}from"./p-8a133b9b.js";const r=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{role:"listitem"},t("button",{type:"button",tabIndex:-1,disabled:this.disabled},t("slot",null)))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style=":host{width:100%;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){width:var(--gse-ui-menu-option-startIcon-height);height:var(--gse-ui-menu-option-startIcon-height);margin-right:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);background-color:var(--gse-ui-menu-option-default-backgroundColor);box-sizing:border-box;width:100%;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusRing-cornerRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){background:var(--gse-ui-menu-option-selected-backgroundColor);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);font-size:var(--gse-ui-menu-option-label-active-text-fontSize)}button:disabled{opacity:var(--gse-ui-menu-option-disabled-opacity);cursor:default}";export{r as gux_list_item}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-7d26b2e1.js";import{s as h}from"./p-d176c2ae.js";import{t as e}from"./p-adbed625.js";const r=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,h(this.root,"input"),h(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){e(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{role:"group",class:`gux-${this.layout}`},s("slot",{onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};r.style=":host{display:flex;align-items:flex-end}";export{r as gux_switch}
1
+ import{r as t,h as s,H as i,g as o}from"./p-7d26b2e1.js";import{s as h}from"./p-d176c2ae.js";import{t as r}from"./p-19a7df84.js";const e=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,h(this.root,"input"),h(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){r(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{role:"group",class:`gux-${this.layout}`},s("slot",{onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};e.style=":host{display:flex;align-items:flex-end}";export{e as gux_switch}
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,g as s}from"./p-7d26b2e1.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as o}from"./p-adbed625.js";import{a as n}from"./p-d0805f56.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host(:host:focus-visible){outline:var(--gse-ui-focus-width) var(--gse-ui-focus-style) var(--gse-ui-focus-color);outline-offset:1px;box-shadow:0 0 0 1px var(--gse-ui-focus-style)}.gux-rating-star-container{color:var(--gse-ui-ui--rating-default-color)}.gux-rating-star-container.gux-disabled{pointer-events:none;color:var(--gse-ui-rating-disabled-color);opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{width:var(--gse-ui-rating-size);height:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
1
+ import{r as t,h as i,H as a,g as s}from"./p-7d26b2e1.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as o}from"./p-19a7df84.js";import{a as n}from"./p-d0805f56.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host(:host:focus-visible){outline:var(--gse-ui-focus-width) var(--gse-ui-focus-style) var(--gse-ui-focus-color);outline-offset:1px;box-shadow:0 0 0 1px var(--gse-ui-focus-style)}.gux-rating-star-container{color:var(--gse-ui-ui--rating-default-color)}.gux-rating-star-container.gux-disabled{pointer-events:none;color:var(--gse-ui-rating-disabled-color);opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{width:var(--gse-ui-rating-size);height:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
@@ -1 +1 @@
1
- import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{t as i}from"./p-adbed625.js";import{O as n}from"./p-9d18d475.js";import{b as r}from"./p-deee079e.js";import{b as u}from"./p-091f51f6.js";import"./p-8a133b9b.js";const a={additionalActions:"Additional Actions"};const c=class{constructor(o){t(this,o),this.showMenu=void 0,this.expanded=!1}handleKeyDown(t){const o=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,o.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":o.includes(this.dropdownButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){u((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){u((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,a),i(this.root)}render(){return o(s,{class:{"gux-show-menu":this.showMenu}},o("gux-popup",{expanded:this.expanded},o("div",{slot:"target",class:"gux-toolbar-menu-container"},o("gux-button-slot",{class:"gux-menu-button"},o("button",{type:"button",ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},o("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},o("span",null,o("gux-icon",{"screenreader-text":this.i18n("additionalActions"),"icon-name":"menu-kebab-horizontal"})))))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null)))))}static get delegatesFocus(){return!0}get root(){return e(this)}};(function(t,o,s,e){var i,n=arguments.length,r=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,o,s,e);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(r=(n<3?i(r):n>3?i(o,s,r):i(o,s))||r);n>3&&r&&Object.defineProperty(o,s,r)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button button{color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:grab;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none}.gux-menu-button button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-list-container{width:min-content;padding:var(--gse-ui-menu-padding);margin:0;list-style:none;background-color:var(--gse-ui-menu-backgroundColor);border:1px var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{c as gux_table_toolbar_menu_button}
1
+ import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{t as i}from"./p-19a7df84.js";import{O as n}from"./p-9d18d475.js";import{b as r}from"./p-deee079e.js";import{b as u}from"./p-091f51f6.js";import"./p-8a133b9b.js";const a={additionalActions:"Additional Actions"};const c=class{constructor(o){t(this,o),this.showMenu=void 0,this.expanded=!1}handleKeyDown(t){const o=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,o.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":o.includes(this.dropdownButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){u((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){u((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,a),i(this.root)}render(){return o(s,{class:{"gux-show-menu":this.showMenu}},o("gux-popup",{expanded:this.expanded},o("div",{slot:"target",class:"gux-toolbar-menu-container"},o("gux-button-slot",{class:"gux-menu-button"},o("button",{type:"button",ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},o("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},o("span",null,o("gux-icon",{"screenreader-text":this.i18n("additionalActions"),"icon-name":"menu-kebab-horizontal"})))))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null)))))}static get delegatesFocus(){return!0}get root(){return e(this)}};(function(t,o,s,e){var i,n=arguments.length,r=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,o,s,e);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(r=(n<3?i(r):n>3?i(o,s,r):i(o,s))||r);n>3&&r&&Object.defineProperty(o,s,r)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button button{color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:grab;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none}.gux-menu-button button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-list-container{width:min-content;padding:var(--gse-ui-menu-padding);margin:0;list-style:none;background-color:var(--gse-ui-menu-backgroundColor);border:1px var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{c as gux_table_toolbar_menu_button}
@@ -4,4 +4,4 @@ import{r as t,c as n,d as i,w as o,h as e,g as r}from"./p-7d26b2e1.js";import{O
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function h(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,o)}return i}function d(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?h(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}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 b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function v(){return v=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},v.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),x=g(/firefox/i),w=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,n,i){t.addEventListener(n,i,!m&&S)}function O(t,n,i){t.removeEventListener(n,i,!m&&S)}function k(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,n,i,o){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&k(t,n):k(t,n))||o&&t===i)return t;if(t===i)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(o+(i?" "+n:"")).replace(j," ")}}function D(t,n,i){var o=t&&t.style;if(o){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in o||-1!==n.indexOf("webkit")||(n="-webkit-"+n),o[n]=i+("string"==typeof i?"":"px")}}function _(t,n){var i="";if("string"==typeof t)i=t;else do{var o=D(t,"transform");o&&"none"!==o&&(i=o+" "+i)}while(!n&&(t=t.parentNode));var e=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return e&&new e(i)}function z(t,n,i){if(t){var o=t.getElementsByTagName(n),e=0,r=o.length;if(i)for(;e<r;e++)i(o[e],e);return o}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,n,i,o,e){if(t.getBoundingClientRect||t===window){var r,a,s,u,c,l,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,c=r.right,l=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,c=window.innerWidth,l=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(e=e||t.parentNode,!m))do{if(e&&e.getBoundingClientRect&&("none"!==D(e,"transform")||i&&"static"!==D(e,"position"))){var d=e.getBoundingClientRect();a-=d.top+parseInt(D(e,"border-top-width")),s-=d.left+parseInt(D(e,"border-left-width")),u=a+r.height,c=s+r.width;break}}while(e=e.parentNode);if(o&&t!==window){var f=_(e||t),b=f&&f.a,v=f&&f.d;f&&(u=(a/=v)+(l/=v),c=(s/=b)+(h/=b))}return{top:a,left:s,bottom:u,right:c,width:h,height:l}}}function N(t,n,i){for(var o=G(t,!0),e=L(t)[n];o;){var r=L(o)[i];if(!("top"===i||"left"===i?e>=r:e<=r))return o;if(o===R())break;o=G(o,!1)}return!1}function F(t,n,i,o){for(var e=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Kt.ghost&&(o||a[r]!==Kt.dragged)&&I(a[r],i.draggable,t,!1)){if(e===n)return a[r];e++}r++}return null}function H(t,n){for(var i=t.lastElementChild;i&&(i===Kt.ghost||"none"===D(i,"display")||n&&!k(i,n));)i=i.previousElementSibling;return i||null}function P(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||n&&!k(t,n)||i++;return i}function B(t){var n=0,i=0,o=R();if(t)do{var e=_(t);n+=t.scrollLeft*e.a,i+=t.scrollTop*e.d}while(t!==o&&(t=t.parentNode));return[n,i]}function G(t,n){if(!t||!t.getBoundingClientRect)return R();var i=t,o=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var e=D(i);if(i.clientWidth<i.scrollWidth&&("auto"==e.overflowX||"scroll"==e.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==e.overflowY||"scroll"==e.overflowY)){if(!i.getBoundingClientRect||i===document.body)return R();if(o||n)return i;o=!0}}}while(i=i.parentNode);return R()}function W(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function K(t,n){return function(){if(!C){var i=arguments;1===i.length?t.call(this,i[0]):t.apply(this,i),C=setTimeout((function(){C=void 0}),n)}}}function U(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function X(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var Y="Sortable"+(new Date).getTime();var $=[],V={initializeByDefault:!0},Z={mount:function(t){for(var n in V)V.hasOwnProperty(n)&&!(n in t)&&(t[n]=V[n]);$.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),$.push(t)},pluginEvent:function(t,n,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var e=t+"Global";$.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][e]&&n[o.pluginName][e](d({sortable:n},i)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](d({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var o in $.forEach((function(o){var e=o.pluginName;if(t.options[e]||o.initializeByDefault){var r=new o(t,n,t.options);r.sortable=t,r.options=t.options,t[e]=r,v(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var e=this.modifyOption(t,o,t.options[o]);void 0!==e&&(t.options[o]=e)}},getEventProperties:function(t,n){var i={};return $.forEach((function(o){"function"==typeof o.eventProperties&&v(i,o.eventProperties.call(n[o.pluginName],t))})),i},modifyOption:function(t,n,i){var o;return $.forEach((function(e){t[e.pluginName]&&e.optionListeners&&"function"==typeof e.optionListeners[n]&&(o=e.optionListeners[n].call(t[e.pluginName],i))})),o}},q=["evt"],J=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.evt,e=function(t,n){if(null==t)return{};var i,o,e=function(t,n){if(null==t)return{};var i,o,e={},r=Object.keys(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||(e[i]=t[i]);return e}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}return e}(i,q);Z.pluginEvent.bind(Kt)(t,n,d({dragEl:tt,parentEl:nt,ghostEl:it,rootEl:ot,nextEl:et,lastDownEl:rt,cloneEl:at,cloneHidden:st,dragStarted:wt,putSortable:ft,activeSortable:Kt.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht,hideGhostForTarget:Pt,unhideGhostForTarget:Bt,cloneNowHidden:function(){st=!0},cloneNowShown:function(){st=!1},dispatchSortableEvent:function(t){Q({sortable:n,name:t,originalEvent:o})}},e))};function Q(t){!function(t){var n=t.sortable,i=t.rootEl,o=t.name,e=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,c=t.newIndex,l=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,v=t.extraEventProperties;if(n=n||i&&i[Y]){var g,x=n.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(o,!0,!0):g=new CustomEvent(o,{bubbles:!0,cancelable:!0}),g.to=a||i,g.from=s||i,g.item=e||i,g.clone=r,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=l,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=b?b.lastPutMode:void 0;var y=d(d({},v),Z.getEventProperties(o,n));for(var E in y)g[E]=y[E];i&&i.dispatchEvent(g),x[w]&&x[w].call(n,g)}}(d({putSortable:ft,cloneEl:at,targetEl:tt,rootEl:ot,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht},t))}var tt,nt,it,ot,et,rt,at,st,ut,ct,lt,ht,dt,ft,bt,vt,gt,mt,pt,xt,wt,yt,Et,St,Tt,Ot=!1,kt=!1,Mt=[],It=!1,Ct=!1,jt=[],At=!1,Dt=[],_t="undefined"!=typeof document,zt=y,Rt=p||m?"cssFloat":"float",Lt=_t&&!E&&!y&&"draggable"in document.createElement("div"),Nt=function(){if(_t){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,n){var i=D(t),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),e=F(t,0,n),r=F(t,1,n),a=e&&D(e),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(e).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":e&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":e&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=o&&"none"===i[Rt]||r&&"none"===i[Rt]&&u+c>o)?"vertical":"horizontal"},Ht=function(t){function n(t,i){return function(o,e,r,a){if(null==t&&(i||o.options.group.name&&e.options.group.name&&o.options.group.name===e.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(o,e,r,a),i)(o,e,r,a);var s=(i?o:e).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var i={},o=t.group;o&&"object"==f(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},Pt=function(){!Nt&&it&&D(it,"display","none")},Bt=function(){!Nt&&it&&D(it,"display","")};_t&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Gt=function(t){if(tt){var n=(e=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,Mt.some((function(t){var n=t[Y].options.emptyInsertThreshold;if(n&&!H(t)){var i=L(t);return e>=i.left-n&&e<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Y]._onDragOver(i)}}var e,r,a},Wt=function(t){tt&&tt.parentNode[Y]._isOutsideThisEl(t.target)};function Kt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=v({},n),t[Y]=this;var i,o,e={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 Ft(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,n){t.setData("Text",n.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!==Kt.supportPointer&&"PointerEvent"in window&&!w,emptyInsertThreshold:5};for(var r in Z.initializePlugins(this,t,e),e)!(r in n)&&(n[r]=e[r]);for(var a in Ht(n),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.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)),Mt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),v(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Kt.ghost){o.push({target:t,rect:L(t)});var n=d({},o[o.length-1].rect);if(t.thisAnimationDuration){var i=_(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var o in n)if(n.hasOwnProperty(o)&&n[o]===t[i][o])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var e=!1,r=0;o.forEach((function(t){var i=0,o=t.target,a=o.fromRect,s=L(o),u=o.prevFromRect,c=o.prevToRect,l=t.rect,h=_(o,!0);h&&(s.top-=h.f,s.left-=h.e),o.toRect=s,o.thisAnimationDuration&&W(u,s)&&!W(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(i=function(t,n,i,o){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*o.animation}(l,u,c,n.options)),W(s,a)||(o.prevFromRect=a,o.prevToRect=s,i||(i=n.options.animation),n.animate(o,l,s,i)),i&&(e=!0,r=Math.max(r,i),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),i),o.thisAnimationDuration=i)})),clearTimeout(i),e?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,o){if(o){D(t,"transition",""),D(t,"transform","");var e=_(this.el),r=(n.left-i.left)/(e&&e.a||1),a=(n.top-i.top)/(e&&e.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+o+"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}),o)}}}))}function Ut(t,n,i,o,e,r,a,s){var u,c,l=t[Y],h=l.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=n,u.from=t,u.dragged=i,u.draggedRect=o,u.related=e||n,u.relatedRect=r||L(n),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(c=h.call(l,u,a)),c}function Xt(t){t.draggable=!1}function Yt(){At=!1}function $t(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,o=0;i--;)o+=n.charCodeAt(i);return o.toString(36)}function Vt(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(yt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,tt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,o=this.options,e=o.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=o.filter;if(function(t){Dt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var o=n[i];o.checked&&Dt.push(o)}}(i),!tt&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!w||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,o.draggable,i,!1))&&s.animated||rt===s)){if(ut=P(s),lt=P(s,o.draggable),"function"==typeof c){if(c.call(this,t,s,this))return Q({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i}),J("filter",n,{evt:t}),void(e&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=I(u,o.trim(),i,!1))return Q({sortable:n,rootEl:o,name:"filter",targetEl:s,fromEl:i,toEl:i}),J("filter",n,{evt:t}),!0}))))return void(e&&t.cancelable&&t.preventDefault());o.handle&&!I(u,o.handle,i,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,i){var o,e=this,r=e.el,a=e.options,s=r.ownerDocument;if(i&&!tt&&i.parentNode===r){var u=L(i);if(ot=r,nt=(tt=i).parentNode,et=tt.nextSibling,rt=i,dt=a.group,Kt.dragged=tt,pt=(bt={target:tt,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,tt.style["will-change"]="all",o=function(){J("delayEnded",e,{evt:t}),Kt.eventCanceled?e._onDrop():(e._disableDelayedDragEvents(),!x&&e.nativeDraggable&&(tt.draggable=!0),e._triggerDragStart(t,n),Q({sortable:e,name:"choose",originalEvent:t}),A(tt,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(tt,t.trim(),Xt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),T(s,"mouseup",e._onDrop),T(s,"touchend",e._onDrop),T(s,"touchcancel",e._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,tt.draggable=!0),J("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(p||m))o();else{if(Kt.eventCanceled)return void this._onDrop();T(s,"mouseup",e._disableDelayedDrag),T(s,"touchend",e._disableDelayedDrag),T(s,"touchcancel",e._disableDelayedDrag),T(s,"mousemove",e._delayedDragTouchMoveHandler),T(s,"touchmove",e._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",e._delayedDragTouchMoveHandler),e._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){tt&&Xt(tt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?T(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(T(tt,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(Ot=!1,ot&&tt){J("dragStarted",this,{evt:n}),this.nativeDraggable&&T(document,"dragover",Wt);var i=this.options;!t&&A(tt,i.dragClass,!1),A(tt,i.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Q({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(vt){this._lastX=vt.clientX,this._lastY=vt.clientY,Pt();for(var t=document.elementFromPoint(vt.clientX,vt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(vt.clientX,vt.clientY))!==n;)n=t;if(tt.parentNode[Y]._isOutsideThisEl(t),n)do{if(n[Y]&&n[Y]._onDragOver({clientX:vt.clientX,clientY:vt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Bt()}},_onTouchMove:function(t){if(bt){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,e=t.touches?t.touches[0]:t,r=it&&_(it,!0),a=it&&r&&r.a,s=it&&r&&r.d,u=zt&&Tt&&B(Tt),c=(e.clientX-bt.clientX+o.x)/(a||1)+(u?u[0]-jt[0]:0)/(a||1),l=(e.clientY-bt.clientY+o.y)/(s||1)+(u?u[1]-jt[1]:0)/(s||1);if(!Kt.active&&!Ot){if(i&&Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(it){r?(r.e+=c-(gt||0),r.f+=l-(mt||0)):r={a:1,b:0,c:0,d:1,e:c,f:l};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(it,"webkitTransform",h),D(it,"mozTransform",h),D(it,"msTransform",h),D(it,"transform",h),gt=c,mt=l,vt=e}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!it){var t=this.options.fallbackOnBody?document.body:ot,n=L(tt,!0,zt,!0,t),i=this.options;if(zt){for(Tt=t;"static"===D(Tt,"position")&&"none"===D(Tt,"transform")&&Tt!==document;)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=R()),n.top+=Tt.scrollTop,n.left+=Tt.scrollLeft):Tt=R(),jt=B(Tt)}A(it=tt.cloneNode(!0),i.ghostClass,!1),A(it,i.fallbackClass,!0),A(it,i.dragClass,!0),D(it,"transition",""),D(it,"transform",""),D(it,"box-sizing","border-box"),D(it,"margin",0),D(it,"top",n.top),D(it,"left",n.left),D(it,"width",n.width),D(it,"height",n.height),D(it,"opacity","0.8"),D(it,"position",zt?"absolute":"fixed"),D(it,"zIndex","100000"),D(it,"pointerEvents","none"),Kt.ghost=it,t.appendChild(it),D(it,"transform-origin",pt/parseInt(it.style.width)*100+"% "+xt/parseInt(it.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,o=t.dataTransfer,e=i.options;J("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(J("setupClone",this),Kt.eventCanceled||((at=X(tt)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Kt.clone=at),i.cloneId=Vt((function(){J("clone",i),Kt.eventCanceled||(i.options.removeCloneOnHide||ot.insertBefore(at,tt),i._hideClone(),Q({sortable:i,name:"clone"}))})),!n&&A(tt,e.dragClass,!0),n?(kt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(O(document,"mouseup",i._onDrop),O(document,"touchend",i._onDrop),O(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",e.setData&&e.setData.call(i,o,tt)),T(document,"drop",i),D(tt,"transform","translateZ(0)")),Ot=!0,i._dragStartId=Vt(i._dragStarted.bind(i,n,t)),T(document,"selectstart",i),wt=!0,w&&D(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,o,e,r=this.el,a=t.target,s=this.options,u=s.group,c=Kt.active,l=dt===u,h=s.sort,f=ft||c,b=this,v=!1;if(!At){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Kt.eventCanceled)return v;if(tt.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||b._ignoreWhileAnimating===a)return R(!1);if(kt=!1,c&&!s.disabled&&(l?h||(o=nt!==ot):ft===this||(this.lastPutMode=dt.checkPull(this,c,tt,t))&&u.checkPut(this,c,tt,t))){if(e="vertical"===this._getDirection(t,a),n=L(tt),_("dragOverValid"),Kt.eventCanceled)return v;if(o)return nt=ot,z(),this._hideClone(),_("revert"),Kt.eventCanceled||(et?ot.insertBefore(tt,et):ot.appendChild(tt)),R(!0);var g=H(r,s.draggable);if(!g||function(t,n,i){var o=L(H(i.el,i.options.draggable));return n?t.clientX>o.right+10||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+10}(t,e,this)&&!g.animated){if(g===tt)return R(!1);if(g&&r===t.target&&(a=g),a&&(i=L(a)),!1!==Ut(ot,r,tt,n,a,i,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(tt,g.nextSibling):r.appendChild(tt),nt=r,B(),R(!0)}else if(g&&function(t,n,i){var o=L(F(i.el,0,i.options,!0));return n?t.clientX<o.left-10||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-10||t.clientY<o.bottom&&t.clientX<o.left}(t,e,this)){var m=F(r,0,s,!0);if(m===tt)return R(!1);if(i=L(a=m),!1!==Ut(ot,r,tt,n,a,i,t,!1))return z(),r.insertBefore(tt,m),nt=r,B(),R(!0)}else if(a.parentNode===r){i=L(a);var p,x,w,y=tt.parentNode!==r,E=!function(t,n,i){var o=i?t.left:t.top,e=i?n.left:n.top;return o===e||(i?t.right:t.bottom)===(i?n.right:n.bottom)||o+(i?t.width:t.height)/2===e+(i?n.width:n.height)/2}(tt.animated&&tt.toRect||n,a.animated&&a.toRect||i,e),S=e?"top":"left",T=N(a,"top","top")||N(tt,"top","top"),O=T?T.scrollTop:void 0;if(yt!==a&&(x=i[S],It=!1,Ct=!E&&s.invertSwap||y),p=function(t,n,i,o,e,r,a,s){var u=o?t.clientY:t.clientX,c=o?i.height:i.width,l=o?i.top:i.left,h=o?i.bottom:i.right,d=!1;if(!a)if(s&&St<c*e){if(!It&&(1===Et?u>l+c*r/2:u<h-c*r/2)&&(It=!0),It)d=!0;else if(1===Et?u<l+St:u>h-St)return-Et}else if(u>l+c*(1-e)/2&&u<h-c*(1-e)/2)return function(t){return P(tt)<P(t)?1:-1}(n);return(d=d||a)&&(u<l+c*r/2||u>h-c*r/2)?u>l+c/2?1:-1:0}(t,a,i,e,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,yt===a),0!==p){var k=P(tt);do{w=nt.children[k-=p]}while(w&&("none"===D(w,"display")||w===it))}if(0===p||w===a)return R(!1);yt=a,Et=p;var M=a.nextElementSibling,C=!1,j=Ut(ot,r,tt,n,a,i,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(tt):a.parentNode.insertBefore(tt,C?M:a),T&&U(T,0,O-T.scrollTop),nt=tt.parentNode,void 0===x||Ct||(St=Math.abs(x-L(a)[S])),B(),R(!0)}if(r.contains(tt))return R(!1)}return!1}function _(s,u){J(s,b,d({evt:t,isOwner:l,axis:e?"vertical":"horizontal",revert:o,dragRect:n,targetRect:i,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(i,o){return Ut(ot,r,tt,n,i,L(i),t,o)},changed:B},u))}function z(){_("dragOverAnimationCapture"),b.captureAnimationState(),b!==f&&f.captureAnimationState()}function R(n){return _("dragOverCompleted",{insertion:n}),n&&(l?c._hideClone():c._showClone(b),b!==f&&(A(tt,ft?ft.options.ghostClass:c.options.ghostClass,!1),A(tt,s.ghostClass,!0)),ft!==b&&b!==Kt.active?ft=b:b===Kt.active&&ft&&(ft=null),f===b&&(b._ignoreWhileAnimating=a),b.animateAll((function(){_("dragOverAnimationComplete"),b._ignoreWhileAnimating=null})),b!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===tt&&!tt.animated||a===r&&!a.animated)&&(yt=null),s.dragoverBubble||t.rootEl||a===document||(tt.parentNode[Y]._isOutsideThisEl(t.target),!n&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){ct=P(tt),ht=P(tt,s.draggable),Q({sortable:b,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ht,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,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;ct=P(tt),ht=P(tt,i.draggable),J("drop",this,{evt:t}),nt=tt&&tt.parentNode,ct=P(tt),ht=P(tt,i.draggable),Kt.eventCanceled||(Ot=!1,Ct=!1,It=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),w&&D(document.body,"user-select",""),D(tt,"transform",""),t&&(wt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),it&&it.parentNode&&it.parentNode.removeChild(it),(ot===nt||ft&&"clone"!==ft.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),tt&&(this.nativeDraggable&&O(tt,"dragend",this),Xt(tt),tt.style["will-change"]="",wt&&!Ot&&A(tt,ft?ft.options.ghostClass:this.options.ghostClass,!1),A(tt,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(Q({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"remove",toEl:nt,originalEvent:t}),Q({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),ft&&ft.save()):ct!==ut&&ct>=0&&(Q({sortable:this,name:"update",toEl:nt,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Kt.active&&(null!=ct&&-1!==ct||(ct=ut,ht=lt),Q({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),ot=tt=nt=it=et=at=rt=st=bt=vt=wt=ct=ht=ut=lt=yt=Et=ft=dt=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,Dt.forEach((function(t){t.checked=!0})),Dt.length=gt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":tt&&(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,n=[],i=this.el.children,o=0,e=i.length,r=this.options;o<e;o++)I(t=i[o],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||$t(t));return n},sort:function(t,n){var i={},o=this.el;this.toArray().forEach((function(t,n){var e=o.children[n];I(e,this.options.draggable,o,!1)&&(i[t]=e)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(o.removeChild(i[t]),o.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return I(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var o=Z.modifyOption(this,t,n);i[t]=void 0!==o?o:n,"group"===t&&Ht(i)},destroy:function(){J("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(),Mt.splice(Mt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!st){if(J("hideClone",this),Kt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),st=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(st){if(J("showClone",this),Kt.eventCanceled)return;tt.parentNode!=ot||this.options.group.revertClone?et?ot.insertBefore(at,et):ot.appendChild(at):ot.insertBefore(at,tt),this.options.group.revertClone&&this.animate(tt,at),D(at,"display",""),st=!1}}else this._hideClone()}},_t&&T(document,"touchmove",(function(t){(Kt.active||Ot)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:T,off:O,css:D,find:z,is:function(t,n){return!!I(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:P,nextTick:Vt,cancelNextTick:Zt,detectDirection:Ft,getChild:F},Kt.get=function(t){return t[Y]},Kt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.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&&(Kt.utils=d(d({},Kt.utils),t.utils)),Z.mount(t)}))},Kt.create=function(t,n){return new Kt(t,n)},Kt.version="1.15.0";var qt,Jt,Qt,tn,nn,on,en=[],rn=!1;function an(){en.forEach((function(t){clearInterval(t.pid)})),en=[]}function sn(){clearInterval(on)}var un=K((function(t,n,i,o){if(n.scroll){var e,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=n.scrollSensitivity,u=n.scrollSpeed,c=R(),l=!1;Jt!==i&&(Jt=i,an(),e=n.scrollFn,!0===(qt=n.scroll)&&(qt=G(i,!0)));var h=0,d=qt;do{var f=d,b=L(f),v=b.top,g=b.bottom,m=b.left,p=b.right,x=b.width,w=b.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===c?(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+x<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+w<T)-(Math.abs(v-a)<=s&&!!M);if(!en[h])for(var j=0;j<=h;j++)en[j]||(en[j]={});en[h].vx==I&&en[h].vy==C&&en[h].el===f||(en[h].el=f,en[h].vx=I,en[h].vy=C,clearInterval(en[h].pid),0==I&&0==C||(l=!0,en[h].pid=setInterval(function(){o&&0===this.layer&&Kt.active._onTouchMove(nn);var n=en[this.layer].vy?en[this.layer].vy*u:0,i=en[this.layer].vx?en[this.layer].vx*u:0;"function"==typeof e&&"continue"!==e.call(Kt.dragged.parentNode[Y],i,n,t,nn,en[this.layer].el)||U(en[this.layer].el,i,n)}.bind({layer:h}),24))),h++}while(n.bubbleScroll&&d!==c&&(d=G(d,!1)));rn=l}}),30),cn=function(t){var n=t.originalEvent,i=t.putSortable,o=t.dragEl,e=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var s=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(e("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ln(){}function hn(){}ln.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:cn},v(ln,{pluginName:"revertOnSpill"}),hn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cn},v(hn,{pluginName:"removeOnSpill"}),Kt.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 n=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},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)),sn(),an(),clearTimeout(C),C=void 0},nulling:function(){nn=Jt=qt=rn=on=Qt=tn=null,en.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,o=(t.touches?t.touches[0]:t).clientX,e=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,e);if(nn=t,n||this.options.forceAutoScrollFallback||p||m||w){un(t,this.options,r,n);var a=G(r,!0);!rn||on&&o===Qt&&e===tn||(on&&sn(),on=setInterval((function(){var r=G(document.elementFromPoint(o,e),!0);r!==a&&(a=r,an()),un(t,i.options,r,n)}),10),Qt=o,tn=e)}else{if(!this.options.bubbleScroll||G(r,!0)===R())return void an();un(t,this.options,G(r,!1),!1)}}},v(t,{pluginName:"scroll",initializeByDefault:!0})}),Kt.mount(hn,ln);const dn=class{constructor(i){t(this,i),this.newTab=n(this,"newTab",7),this.sortChanged=n(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{i?this.focused=n:(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&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);let o;o=i===n.length-1?n[0]:n[i+2],t.insertBefore(this.sortTarget,o),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);t.insertBefore(this.sortTarget,n[i-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".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-scrollable-section").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.parentNode.parentNode,this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.initialSortIndex=n)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((n,i)=>{const o=n.tabId===t;n.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{this.focused===n||i||(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 Kt(this.root.querySelector(".gux-scrollable-section"),{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(){i((()=>{const t=this.root.querySelector(".gux-scrollable-section"),n=t.clientWidth<t.scrollWidth;n!==this.hasScrollbar&&(this.hasScrollbar=n)}))}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 c(this.root,l,"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(){o((()=>{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(){o((()=>{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");o((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");o((()=>{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[e("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),e("div",{class:"gux-tab-container"},e("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),e("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},e("slot",null)),e("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?e((t=>e("button",{title:this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"),class:"add-tab-button",onClick:()=>t.onClick(),disabled:this.disableAddTabButton},e("slot",{name:"add-tab"},e("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return e("div",{class:"gux-scroll-button-container"},this.hasScrollbar?e("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},e("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,n,i,o){var e,r=arguments.length,a=r<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,n,i,o);else for(var s=t.length-1;s>=0;s--)(e=t[s])&&(a=(r<3?e(a):r>3?e(n,i,a):e(n,i))||a);r>3&&a&&Object.defineProperty(n,i,a)})([a({childList:!0,subtree:!0})],dn.prototype,"onMutation",null),dn.style="gux-tab-advanced-list .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab']{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab'] gux-icon{padding-right:8px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{dn as gux_tab_advanced_list}
7
+ */function h(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,o)}return i}function d(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?h(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}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 b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function v(){return v=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},v.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),x=g(/firefox/i),w=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,n,i){t.addEventListener(n,i,!m&&S)}function O(t,n,i){t.removeEventListener(n,i,!m&&S)}function k(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,n,i,o){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&k(t,n):k(t,n))||o&&t===i)return t;if(t===i)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(o+(i?" "+n:"")).replace(j," ")}}function D(t,n,i){var o=t&&t.style;if(o){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in o||-1!==n.indexOf("webkit")||(n="-webkit-"+n),o[n]=i+("string"==typeof i?"":"px")}}function _(t,n){var i="";if("string"==typeof t)i=t;else do{var o=D(t,"transform");o&&"none"!==o&&(i=o+" "+i)}while(!n&&(t=t.parentNode));var e=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return e&&new e(i)}function z(t,n,i){if(t){var o=t.getElementsByTagName(n),e=0,r=o.length;if(i)for(;e<r;e++)i(o[e],e);return o}return[]}function L(){return document.scrollingElement||document.documentElement}function N(t,n,i,o,e){if(t.getBoundingClientRect||t===window){var r,a,s,u,c,l,h;if(t!==window&&t.parentNode&&t!==L()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,c=r.right,l=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,c=window.innerWidth,l=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(e=e||t.parentNode,!m))do{if(e&&e.getBoundingClientRect&&("none"!==D(e,"transform")||i&&"static"!==D(e,"position"))){var d=e.getBoundingClientRect();a-=d.top+parseInt(D(e,"border-top-width")),s-=d.left+parseInt(D(e,"border-left-width")),u=a+r.height,c=s+r.width;break}}while(e=e.parentNode);if(o&&t!==window){var f=_(e||t),b=f&&f.a,v=f&&f.d;f&&(u=(a/=v)+(l/=v),c=(s/=b)+(h/=b))}return{top:a,left:s,bottom:u,right:c,width:h,height:l}}}function R(t,n,i){for(var o=G(t,!0),e=N(t)[n];o;){var r=N(o)[i];if(!("top"===i||"left"===i?e>=r:e<=r))return o;if(o===L())break;o=G(o,!1)}return!1}function F(t,n,i,o){for(var e=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Kt.ghost&&(o||a[r]!==Kt.dragged)&&I(a[r],i.draggable,t,!1)){if(e===n)return a[r];e++}r++}return null}function H(t,n){for(var i=t.lastElementChild;i&&(i===Kt.ghost||"none"===D(i,"display")||n&&!k(i,n));)i=i.previousElementSibling;return i||null}function P(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||n&&!k(t,n)||i++;return i}function B(t){var n=0,i=0,o=L();if(t)do{var e=_(t);n+=t.scrollLeft*e.a,i+=t.scrollTop*e.d}while(t!==o&&(t=t.parentNode));return[n,i]}function G(t,n){if(!t||!t.getBoundingClientRect)return L();var i=t,o=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var e=D(i);if(i.clientWidth<i.scrollWidth&&("auto"==e.overflowX||"scroll"==e.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==e.overflowY||"scroll"==e.overflowY)){if(!i.getBoundingClientRect||i===document.body)return L();if(o||n)return i;o=!0}}}while(i=i.parentNode);return L()}function W(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function K(t,n){return function(){if(!C){var i=arguments;1===i.length?t.call(this,i[0]):t.apply(this,i),C=setTimeout((function(){C=void 0}),n)}}}function U(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function X(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var Y="Sortable"+(new Date).getTime();var $=[],V={initializeByDefault:!0},Z={mount:function(t){for(var n in V)V.hasOwnProperty(n)&&!(n in t)&&(t[n]=V[n]);$.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),$.push(t)},pluginEvent:function(t,n,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var e=t+"Global";$.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][e]&&n[o.pluginName][e](d({sortable:n},i)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](d({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var o in $.forEach((function(o){var e=o.pluginName;if(t.options[e]||o.initializeByDefault){var r=new o(t,n,t.options);r.sortable=t,r.options=t.options,t[e]=r,v(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var e=this.modifyOption(t,o,t.options[o]);void 0!==e&&(t.options[o]=e)}},getEventProperties:function(t,n){var i={};return $.forEach((function(o){"function"==typeof o.eventProperties&&v(i,o.eventProperties.call(n[o.pluginName],t))})),i},modifyOption:function(t,n,i){var o;return $.forEach((function(e){t[e.pluginName]&&e.optionListeners&&"function"==typeof e.optionListeners[n]&&(o=e.optionListeners[n].call(t[e.pluginName],i))})),o}},q=["evt"],J=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.evt,e=function(t,n){if(null==t)return{};var i,o,e=function(t,n){if(null==t)return{};var i,o,e={},r=Object.keys(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||(e[i]=t[i]);return e}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}return e}(i,q);Z.pluginEvent.bind(Kt)(t,n,d({dragEl:tt,parentEl:nt,ghostEl:it,rootEl:ot,nextEl:et,lastDownEl:rt,cloneEl:at,cloneHidden:st,dragStarted:wt,putSortable:ft,activeSortable:Kt.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht,hideGhostForTarget:Pt,unhideGhostForTarget:Bt,cloneNowHidden:function(){st=!0},cloneNowShown:function(){st=!1},dispatchSortableEvent:function(t){Q({sortable:n,name:t,originalEvent:o})}},e))};function Q(t){!function(t){var n=t.sortable,i=t.rootEl,o=t.name,e=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,c=t.newIndex,l=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,v=t.extraEventProperties;if(n=n||i&&i[Y]){var g,x=n.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(o,!0,!0):g=new CustomEvent(o,{bubbles:!0,cancelable:!0}),g.to=a||i,g.from=s||i,g.item=e||i,g.clone=r,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=l,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=b?b.lastPutMode:void 0;var y=d(d({},v),Z.getEventProperties(o,n));for(var E in y)g[E]=y[E];i&&i.dispatchEvent(g),x[w]&&x[w].call(n,g)}}(d({putSortable:ft,cloneEl:at,targetEl:tt,rootEl:ot,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht},t))}var tt,nt,it,ot,et,rt,at,st,ut,ct,lt,ht,dt,ft,bt,vt,gt,mt,pt,xt,wt,yt,Et,St,Tt,Ot=!1,kt=!1,Mt=[],It=!1,Ct=!1,jt=[],At=!1,Dt=[],_t="undefined"!=typeof document,zt=y,Lt=p||m?"cssFloat":"float",Nt=_t&&!E&&!y&&"draggable"in document.createElement("div"),Rt=function(){if(_t){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,n){var i=D(t),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),e=F(t,0,n),r=F(t,1,n),a=e&&D(e),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(e).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":e&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":e&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=o&&"none"===i[Lt]||r&&"none"===i[Lt]&&u+c>o)?"vertical":"horizontal"},Ht=function(t){function n(t,i){return function(o,e,r,a){if(null==t&&(i||o.options.group.name&&e.options.group.name&&o.options.group.name===e.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(o,e,r,a),i)(o,e,r,a);var s=(i?o:e).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var i={},o=t.group;o&&"object"==f(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},Pt=function(){!Rt&&it&&D(it,"display","none")},Bt=function(){!Rt&&it&&D(it,"display","")};_t&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Gt=function(t){if(tt){var n=(e=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,Mt.some((function(t){var n=t[Y].options.emptyInsertThreshold;if(n&&!H(t)){var i=N(t);return e>=i.left-n&&e<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Y]._onDragOver(i)}}var e,r,a},Wt=function(t){tt&&tt.parentNode[Y]._isOutsideThisEl(t.target)};function Kt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=v({},n),t[Y]=this;var i,o,e={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 Ft(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,n){t.setData("Text",n.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!==Kt.supportPointer&&"PointerEvent"in window&&!w,emptyInsertThreshold:5};for(var r in Z.initializePlugins(this,t,e),e)!(r in n)&&(n[r]=e[r]);for(var a in Ht(n),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.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)),Mt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),v(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Kt.ghost){o.push({target:t,rect:N(t)});var n=d({},o[o.length-1].rect);if(t.thisAnimationDuration){var i=_(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var o in n)if(n.hasOwnProperty(o)&&n[o]===t[i][o])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var e=!1,r=0;o.forEach((function(t){var i=0,o=t.target,a=o.fromRect,s=N(o),u=o.prevFromRect,c=o.prevToRect,l=t.rect,h=_(o,!0);h&&(s.top-=h.f,s.left-=h.e),o.toRect=s,o.thisAnimationDuration&&W(u,s)&&!W(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(i=function(t,n,i,o){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*o.animation}(l,u,c,n.options)),W(s,a)||(o.prevFromRect=a,o.prevToRect=s,i||(i=n.options.animation),n.animate(o,l,s,i)),i&&(e=!0,r=Math.max(r,i),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),i),o.thisAnimationDuration=i)})),clearTimeout(i),e?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,o){if(o){D(t,"transition",""),D(t,"transform","");var e=_(this.el),r=(n.left-i.left)/(e&&e.a||1),a=(n.top-i.top)/(e&&e.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+o+"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}),o)}}}))}function Ut(t,n,i,o,e,r,a,s){var u,c,l=t[Y],h=l.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=n,u.from=t,u.dragged=i,u.draggedRect=o,u.related=e||n,u.relatedRect=r||N(n),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(c=h.call(l,u,a)),c}function Xt(t){t.draggable=!1}function Yt(){At=!1}function $t(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,o=0;i--;)o+=n.charCodeAt(i);return o.toString(36)}function Vt(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(yt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,tt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,o=this.options,e=o.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=o.filter;if(function(t){Dt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var o=n[i];o.checked&&Dt.push(o)}}(i),!tt&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!w||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,o.draggable,i,!1))&&s.animated||rt===s)){if(ut=P(s),lt=P(s,o.draggable),"function"==typeof c){if(c.call(this,t,s,this))return Q({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i}),J("filter",n,{evt:t}),void(e&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=I(u,o.trim(),i,!1))return Q({sortable:n,rootEl:o,name:"filter",targetEl:s,fromEl:i,toEl:i}),J("filter",n,{evt:t}),!0}))))return void(e&&t.cancelable&&t.preventDefault());o.handle&&!I(u,o.handle,i,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,i){var o,e=this,r=e.el,a=e.options,s=r.ownerDocument;if(i&&!tt&&i.parentNode===r){var u=N(i);if(ot=r,nt=(tt=i).parentNode,et=tt.nextSibling,rt=i,dt=a.group,Kt.dragged=tt,pt=(bt={target:tt,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,tt.style["will-change"]="all",o=function(){J("delayEnded",e,{evt:t}),Kt.eventCanceled?e._onDrop():(e._disableDelayedDragEvents(),!x&&e.nativeDraggable&&(tt.draggable=!0),e._triggerDragStart(t,n),Q({sortable:e,name:"choose",originalEvent:t}),A(tt,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(tt,t.trim(),Xt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),T(s,"mouseup",e._onDrop),T(s,"touchend",e._onDrop),T(s,"touchcancel",e._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,tt.draggable=!0),J("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(p||m))o();else{if(Kt.eventCanceled)return void this._onDrop();T(s,"mouseup",e._disableDelayedDrag),T(s,"touchend",e._disableDelayedDrag),T(s,"touchcancel",e._disableDelayedDrag),T(s,"mousemove",e._delayedDragTouchMoveHandler),T(s,"touchmove",e._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",e._delayedDragTouchMoveHandler),e._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){tt&&Xt(tt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?T(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(T(tt,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(Ot=!1,ot&&tt){J("dragStarted",this,{evt:n}),this.nativeDraggable&&T(document,"dragover",Wt);var i=this.options;!t&&A(tt,i.dragClass,!1),A(tt,i.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Q({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(vt){this._lastX=vt.clientX,this._lastY=vt.clientY,Pt();for(var t=document.elementFromPoint(vt.clientX,vt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(vt.clientX,vt.clientY))!==n;)n=t;if(tt.parentNode[Y]._isOutsideThisEl(t),n)do{if(n[Y]&&n[Y]._onDragOver({clientX:vt.clientX,clientY:vt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Bt()}},_onTouchMove:function(t){if(bt){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,e=t.touches?t.touches[0]:t,r=it&&_(it,!0),a=it&&r&&r.a,s=it&&r&&r.d,u=zt&&Tt&&B(Tt),c=(e.clientX-bt.clientX+o.x)/(a||1)+(u?u[0]-jt[0]:0)/(a||1),l=(e.clientY-bt.clientY+o.y)/(s||1)+(u?u[1]-jt[1]:0)/(s||1);if(!Kt.active&&!Ot){if(i&&Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(it){r?(r.e+=c-(gt||0),r.f+=l-(mt||0)):r={a:1,b:0,c:0,d:1,e:c,f:l};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(it,"webkitTransform",h),D(it,"mozTransform",h),D(it,"msTransform",h),D(it,"transform",h),gt=c,mt=l,vt=e}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!it){var t=this.options.fallbackOnBody?document.body:ot,n=N(tt,!0,zt,!0,t),i=this.options;if(zt){for(Tt=t;"static"===D(Tt,"position")&&"none"===D(Tt,"transform")&&Tt!==document;)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=L()),n.top+=Tt.scrollTop,n.left+=Tt.scrollLeft):Tt=L(),jt=B(Tt)}A(it=tt.cloneNode(!0),i.ghostClass,!1),A(it,i.fallbackClass,!0),A(it,i.dragClass,!0),D(it,"transition",""),D(it,"transform",""),D(it,"box-sizing","border-box"),D(it,"margin",0),D(it,"top",n.top),D(it,"left",n.left),D(it,"width",n.width),D(it,"height",n.height),D(it,"opacity","0.8"),D(it,"position",zt?"absolute":"fixed"),D(it,"zIndex","100000"),D(it,"pointerEvents","none"),Kt.ghost=it,t.appendChild(it),D(it,"transform-origin",pt/parseInt(it.style.width)*100+"% "+xt/parseInt(it.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,o=t.dataTransfer,e=i.options;J("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(J("setupClone",this),Kt.eventCanceled||((at=X(tt)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Kt.clone=at),i.cloneId=Vt((function(){J("clone",i),Kt.eventCanceled||(i.options.removeCloneOnHide||ot.insertBefore(at,tt),i._hideClone(),Q({sortable:i,name:"clone"}))})),!n&&A(tt,e.dragClass,!0),n?(kt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(O(document,"mouseup",i._onDrop),O(document,"touchend",i._onDrop),O(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",e.setData&&e.setData.call(i,o,tt)),T(document,"drop",i),D(tt,"transform","translateZ(0)")),Ot=!0,i._dragStartId=Vt(i._dragStarted.bind(i,n,t)),T(document,"selectstart",i),wt=!0,w&&D(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,o,e,r=this.el,a=t.target,s=this.options,u=s.group,c=Kt.active,l=dt===u,h=s.sort,f=ft||c,b=this,v=!1;if(!At){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Kt.eventCanceled)return v;if(tt.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||b._ignoreWhileAnimating===a)return L(!1);if(kt=!1,c&&!s.disabled&&(l?h||(o=nt!==ot):ft===this||(this.lastPutMode=dt.checkPull(this,c,tt,t))&&u.checkPut(this,c,tt,t))){if(e="vertical"===this._getDirection(t,a),n=N(tt),_("dragOverValid"),Kt.eventCanceled)return v;if(o)return nt=ot,z(),this._hideClone(),_("revert"),Kt.eventCanceled||(et?ot.insertBefore(tt,et):ot.appendChild(tt)),L(!0);var g=H(r,s.draggable);if(!g||function(t,n,i){var o=N(H(i.el,i.options.draggable));return n?t.clientX>o.right+10||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+10}(t,e,this)&&!g.animated){if(g===tt)return L(!1);if(g&&r===t.target&&(a=g),a&&(i=N(a)),!1!==Ut(ot,r,tt,n,a,i,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(tt,g.nextSibling):r.appendChild(tt),nt=r,B(),L(!0)}else if(g&&function(t,n,i){var o=N(F(i.el,0,i.options,!0));return n?t.clientX<o.left-10||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-10||t.clientY<o.bottom&&t.clientX<o.left}(t,e,this)){var m=F(r,0,s,!0);if(m===tt)return L(!1);if(i=N(a=m),!1!==Ut(ot,r,tt,n,a,i,t,!1))return z(),r.insertBefore(tt,m),nt=r,B(),L(!0)}else if(a.parentNode===r){i=N(a);var p,x,w,y=tt.parentNode!==r,E=!function(t,n,i){var o=i?t.left:t.top,e=i?n.left:n.top;return o===e||(i?t.right:t.bottom)===(i?n.right:n.bottom)||o+(i?t.width:t.height)/2===e+(i?n.width:n.height)/2}(tt.animated&&tt.toRect||n,a.animated&&a.toRect||i,e),S=e?"top":"left",T=R(a,"top","top")||R(tt,"top","top"),O=T?T.scrollTop:void 0;if(yt!==a&&(x=i[S],It=!1,Ct=!E&&s.invertSwap||y),p=function(t,n,i,o,e,r,a,s){var u=o?t.clientY:t.clientX,c=o?i.height:i.width,l=o?i.top:i.left,h=o?i.bottom:i.right,d=!1;if(!a)if(s&&St<c*e){if(!It&&(1===Et?u>l+c*r/2:u<h-c*r/2)&&(It=!0),It)d=!0;else if(1===Et?u<l+St:u>h-St)return-Et}else if(u>l+c*(1-e)/2&&u<h-c*(1-e)/2)return function(t){return P(tt)<P(t)?1:-1}(n);return(d=d||a)&&(u<l+c*r/2||u>h-c*r/2)?u>l+c/2?1:-1:0}(t,a,i,e,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,yt===a),0!==p){var k=P(tt);do{w=nt.children[k-=p]}while(w&&("none"===D(w,"display")||w===it))}if(0===p||w===a)return L(!1);yt=a,Et=p;var M=a.nextElementSibling,C=!1,j=Ut(ot,r,tt,n,a,i,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(tt):a.parentNode.insertBefore(tt,C?M:a),T&&U(T,0,O-T.scrollTop),nt=tt.parentNode,void 0===x||Ct||(St=Math.abs(x-N(a)[S])),B(),L(!0)}if(r.contains(tt))return L(!1)}return!1}function _(s,u){J(s,b,d({evt:t,isOwner:l,axis:e?"vertical":"horizontal",revert:o,dragRect:n,targetRect:i,canSort:h,fromSortable:f,target:a,completed:L,onMove:function(i,o){return Ut(ot,r,tt,n,i,N(i),t,o)},changed:B},u))}function z(){_("dragOverAnimationCapture"),b.captureAnimationState(),b!==f&&f.captureAnimationState()}function L(n){return _("dragOverCompleted",{insertion:n}),n&&(l?c._hideClone():c._showClone(b),b!==f&&(A(tt,ft?ft.options.ghostClass:c.options.ghostClass,!1),A(tt,s.ghostClass,!0)),ft!==b&&b!==Kt.active?ft=b:b===Kt.active&&ft&&(ft=null),f===b&&(b._ignoreWhileAnimating=a),b.animateAll((function(){_("dragOverAnimationComplete"),b._ignoreWhileAnimating=null})),b!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===tt&&!tt.animated||a===r&&!a.animated)&&(yt=null),s.dragoverBubble||t.rootEl||a===document||(tt.parentNode[Y]._isOutsideThisEl(t.target),!n&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){ct=P(tt),ht=P(tt,s.draggable),Q({sortable:b,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ht,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,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;ct=P(tt),ht=P(tt,i.draggable),J("drop",this,{evt:t}),nt=tt&&tt.parentNode,ct=P(tt),ht=P(tt,i.draggable),Kt.eventCanceled||(Ot=!1,Ct=!1,It=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),w&&D(document.body,"user-select",""),D(tt,"transform",""),t&&(wt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),it&&it.parentNode&&it.parentNode.removeChild(it),(ot===nt||ft&&"clone"!==ft.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),tt&&(this.nativeDraggable&&O(tt,"dragend",this),Xt(tt),tt.style["will-change"]="",wt&&!Ot&&A(tt,ft?ft.options.ghostClass:this.options.ghostClass,!1),A(tt,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(Q({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"remove",toEl:nt,originalEvent:t}),Q({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),ft&&ft.save()):ct!==ut&&ct>=0&&(Q({sortable:this,name:"update",toEl:nt,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Kt.active&&(null!=ct&&-1!==ct||(ct=ut,ht=lt),Q({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),ot=tt=nt=it=et=at=rt=st=bt=vt=wt=ct=ht=ut=lt=yt=Et=ft=dt=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,Dt.forEach((function(t){t.checked=!0})),Dt.length=gt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":tt&&(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,n=[],i=this.el.children,o=0,e=i.length,r=this.options;o<e;o++)I(t=i[o],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||$t(t));return n},sort:function(t,n){var i={},o=this.el;this.toArray().forEach((function(t,n){var e=o.children[n];I(e,this.options.draggable,o,!1)&&(i[t]=e)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(o.removeChild(i[t]),o.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return I(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var o=Z.modifyOption(this,t,n);i[t]=void 0!==o?o:n,"group"===t&&Ht(i)},destroy:function(){J("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(),Mt.splice(Mt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!st){if(J("hideClone",this),Kt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),st=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(st){if(J("showClone",this),Kt.eventCanceled)return;tt.parentNode!=ot||this.options.group.revertClone?et?ot.insertBefore(at,et):ot.appendChild(at):ot.insertBefore(at,tt),this.options.group.revertClone&&this.animate(tt,at),D(at,"display",""),st=!1}}else this._hideClone()}},_t&&T(document,"touchmove",(function(t){(Kt.active||Ot)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:T,off:O,css:D,find:z,is:function(t,n){return!!I(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:P,nextTick:Vt,cancelNextTick:Zt,detectDirection:Ft,getChild:F},Kt.get=function(t){return t[Y]},Kt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.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&&(Kt.utils=d(d({},Kt.utils),t.utils)),Z.mount(t)}))},Kt.create=function(t,n){return new Kt(t,n)},Kt.version="1.15.0";var qt,Jt,Qt,tn,nn,on,en=[],rn=!1;function an(){en.forEach((function(t){clearInterval(t.pid)})),en=[]}function sn(){clearInterval(on)}var un=K((function(t,n,i,o){if(n.scroll){var e,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=n.scrollSensitivity,u=n.scrollSpeed,c=L(),l=!1;Jt!==i&&(Jt=i,an(),e=n.scrollFn,!0===(qt=n.scroll)&&(qt=G(i,!0)));var h=0,d=qt;do{var f=d,b=N(f),v=b.top,g=b.bottom,m=b.left,p=b.right,x=b.width,w=b.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===c?(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+x<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+w<T)-(Math.abs(v-a)<=s&&!!M);if(!en[h])for(var j=0;j<=h;j++)en[j]||(en[j]={});en[h].vx==I&&en[h].vy==C&&en[h].el===f||(en[h].el=f,en[h].vx=I,en[h].vy=C,clearInterval(en[h].pid),0==I&&0==C||(l=!0,en[h].pid=setInterval(function(){o&&0===this.layer&&Kt.active._onTouchMove(nn);var n=en[this.layer].vy?en[this.layer].vy*u:0,i=en[this.layer].vx?en[this.layer].vx*u:0;"function"==typeof e&&"continue"!==e.call(Kt.dragged.parentNode[Y],i,n,t,nn,en[this.layer].el)||U(en[this.layer].el,i,n)}.bind({layer:h}),24))),h++}while(n.bubbleScroll&&d!==c&&(d=G(d,!1)));rn=l}}),30),cn=function(t){var n=t.originalEvent,i=t.putSortable,o=t.dragEl,e=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var s=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(e("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ln(){}function hn(){}ln.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:cn},v(ln,{pluginName:"revertOnSpill"}),hn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cn},v(hn,{pluginName:"removeOnSpill"}),Kt.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 n=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},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)),sn(),an(),clearTimeout(C),C=void 0},nulling:function(){nn=Jt=qt=rn=on=Qt=tn=null,en.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,o=(t.touches?t.touches[0]:t).clientX,e=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,e);if(nn=t,n||this.options.forceAutoScrollFallback||p||m||w){un(t,this.options,r,n);var a=G(r,!0);!rn||on&&o===Qt&&e===tn||(on&&sn(),on=setInterval((function(){var r=G(document.elementFromPoint(o,e),!0);r!==a&&(a=r,an()),un(t,i.options,r,n)}),10),Qt=o,tn=e)}else{if(!this.options.bubbleScroll||G(r,!0)===L())return void an();un(t,this.options,G(r,!1),!1)}}},v(t,{pluginName:"scroll",initializeByDefault:!0})}),Kt.mount(hn,ln);const dn=class{constructor(i){t(this,i),this.newTab=n(this,"newTab",7),this.sortChanged=n(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{i?this.focused=n:(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&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);let o;o=i===n.length-1?n[0]:n[i+2],t.insertBefore(this.sortTarget,o),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);t.insertBefore(this.sortTarget,n[i-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".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-scrollable-section").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.parentNode.parentNode,this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.initialSortIndex=n)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((n,i)=>{const o=n.tabId===t;n.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{this.focused===n||i||(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 Kt(this.root.querySelector(".gux-scrollable-section"),{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(){i((()=>{const t=this.root.querySelector(".gux-scrollable-section"),n=t.clientWidth<t.scrollWidth;n!==this.hasScrollbar&&(this.hasScrollbar=n)}))}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 c(this.root,l,"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(){o((()=>{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(){o((()=>{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");o((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");o((()=>{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[e("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),e("div",{class:"gux-tab-container"},e("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),e("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},e("slot",null)),e("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?e((t=>e("button",{title:this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"),class:"add-tab-button",onClick:()=>t.onClick(),disabled:this.disableAddTabButton},e("slot",{name:"add-tab"},e("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return e("div",{class:"gux-scroll-button-container"},this.hasScrollbar?e("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},e("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,n,i,o){var e,r=arguments.length,a=r<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,n,i,o);else for(var s=t.length-1;s>=0;s--)(e=t[s])&&(a=(r<3?e(a):r>3?e(n,i,a):e(n,i))||a);r>3&&a&&Object.defineProperty(n,i,a)})([a({childList:!0,subtree:!0})],dn.prototype,"onMutation",null),dn.style="gux-tab-advanced-list .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab']{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-size:12px;line-height:20px;font-family:sans-serif;font-weight:400;font-weight:700}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab'] gux-icon{padding-right:8px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{dn as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as s,g as n}from"./p-7d26b2e1.js";import{O as o}from"./p-9d18d475.js";import{b as r}from"./p-deee079e.js";import{s as l}from"./p-d176c2ae.js";import{b as u}from"./p-091f51f6.js";import{o as a}from"./p-3f5341ea.js";import{t as d}from"./p-adbed625.js";import{g as h}from"./p-55cf6d81.js";import{O as c}from"./p-f34ce7dc.js";import"./p-8a133b9b.js";const x={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"};var g=function(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const p=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterable=!1,this.filterType="none",this.hasError=!1,this.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&u((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),t||(this.textInput="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){var t;return Promise.resolve((null===(t=this.value)||void 0===t?void 0:t.split(","))||[])}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0));case"Enter":this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption()}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onClearselected(t){t.stopPropagation(),this.updateValue(""),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await r(this.root,x),a(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}isFilterable(){return this.filterable||"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=t?t.split(","):void 0;if(i)return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),void this.listboxElement.focus()}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,l(this.root,"input"),l(this.root,"change"))}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const s=h(this.listboxElement,t);if(s&&"custom"!==this.filterType){const t=null===(e=s.querySelector("[gux-slot-container]"))||void 0===e?void 0:e.textContent;return null==t?void 0:t.substring(i)}return""}}renderTargetDisplay(){return s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"),this.getSrSelectedText())}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return s("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}renderTag(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return s("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":t.length})}renderFilterInputField(){if(this.expanded&&this.hasTextInput())return s("div",{class:"gux-field gux-input-field"},s("div",{class:"gux-field-content"},s("div",{class:"gux-filter"},s("div",{class:"gux-filter-display"},s("span",{class:"gux-filter-text"},this.textInput),s("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),s("div",{class:"input-and-dropdown-button"},s("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return s("div",{slot:"popup",class:"gux-listbox-container"},s("slot",null))}renderTarget(){return s("div",{class:{"gux-target-container":!0,"gux-target-container-expanded":this.expanded&&this.hasTextInput(),"gux-target-container-collapsed":!(this.expanded&&this.hasTextInput()),"gux-error":this.hasError},slot:"target"},this.renderFilterInputField(),s("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.hasTextInput())return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return s("gux-radial-loading",{context:"input"})}render(){return[s("div",{class:"gux-dropdown-container"},s("gux-popup",{expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return n(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["watchValue"],textInput:["handleFilter"]}}};g([c({childList:!0,subtree:!0})],p.prototype,"onMutation",null),g([o({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border-color:#ea0b0b}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 0 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px;cursor:text}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding:0 8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-visible,.gux-target-container-expanded:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus-visible,.gux-target-container-collapsed .gux-field-button:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}gux-popup::part(gux-popup-container){width:inherit}.gux-error-message-container{display:none;margin:4px 0}.gux-error-message-container.gux-show{display:flex}";export{p as gux_dropdown_multi_beta}
1
+ import{r as t,c as e,f as i,h as s,g as n}from"./p-7d26b2e1.js";import{O as o}from"./p-9d18d475.js";import{b as r}from"./p-deee079e.js";import{s as l}from"./p-d176c2ae.js";import{b as u}from"./p-091f51f6.js";import{o as a}from"./p-3f5341ea.js";import{t as d}from"./p-19a7df84.js";import{g as h}from"./p-55cf6d81.js";import{O as c}from"./p-f34ce7dc.js";import"./p-8a133b9b.js";const x={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"};var g=function(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const p=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterable=!1,this.filterType="none",this.hasError=!1,this.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&u((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),t||(this.textInput="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){var t;return Promise.resolve((null===(t=this.value)||void 0===t?void 0:t.split(","))||[])}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0));case"Enter":this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption()}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onClearselected(t){t.stopPropagation(),this.updateValue(""),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await r(this.root,x),a(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}isFilterable(){return this.filterable||"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=t?t.split(","):void 0;if(i)return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),void this.listboxElement.focus()}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,l(this.root,"input"),l(this.root,"change"))}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const s=h(this.listboxElement,t);if(s&&"custom"!==this.filterType){const t=null===(e=s.querySelector("[gux-slot-container]"))||void 0===e?void 0:e.textContent;return null==t?void 0:t.substring(i)}return""}}renderTargetDisplay(){return s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"),this.getSrSelectedText())}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return s("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}renderTag(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return s("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":t.length})}renderFilterInputField(){if(this.expanded&&this.hasTextInput())return s("div",{class:"gux-field gux-input-field"},s("div",{class:"gux-field-content"},s("div",{class:"gux-filter"},s("div",{class:"gux-filter-display"},s("span",{class:"gux-filter-text"},this.textInput),s("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),s("div",{class:"input-and-dropdown-button"},s("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return s("div",{slot:"popup",class:"gux-listbox-container"},s("slot",null))}renderTarget(){return s("div",{class:{"gux-target-container":!0,"gux-target-container-expanded":this.expanded&&this.hasTextInput(),"gux-target-container-collapsed":!(this.expanded&&this.hasTextInput()),"gux-error":this.hasError},slot:"target"},this.renderFilterInputField(),s("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.hasTextInput())return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return s("gux-radial-loading",{context:"input"})}render(){return[s("div",{class:"gux-dropdown-container"},s("gux-popup",{expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return n(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["watchValue"],textInput:["handleFilter"]}}};g([c({childList:!0,subtree:!0})],p.prototype,"onMutation",null),g([o({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border-color:#ea0b0b}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 0 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px;cursor:text}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding:0 8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-visible,.gux-target-container-expanded:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus-visible,.gux-target-container-collapsed .gux-field-button:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}gux-popup::part(gux-popup-container){width:inherit}.gux-error-message-container{display:none;margin:4px 0}.gux-error-message-container.gux-show{display:flex}";export{p as gux_dropdown_multi_beta}
@@ -1 +1 @@
1
- import{h as e,r,g as s}from"./p-7d26b2e1.js";import{t as i}from"./p-adbed625.js";import{a as t}from"./p-d0805f56.js";const a=2*Math.PI*22;function n(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{role:"progressbar","aria-valuenow":r,"aria-valuemin":"0","aria-valuemax":s,"aria-label":i},e("svg",{class:"gux-svg-container",viewBox:"0 0 48 48",role:"presentation"},e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-static-circle"}),e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-dynamic-circle","stroke-dashoffset":a*(1-r/s),"stroke-dasharray":a,"stroke-linecap":"round"}),e("text",{x:"50%",y:"50%","dominant-baseline":"central",class:"gux-percentage"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{"screenreader-text":r,context:"modal"}),d=class{constructor(e){r(this,e),this.value=void 0,this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&n(this.value,this.max)&&t(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return n(this.value,this.max)?e(o,{value:this.value,max:this.max,screenreaderText:this.screenreaderText}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};d.style=":host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;height:var(--gse-ui-progressAndLoading-spinner-large);width:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar] .gux-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);fill:var(--gse-ui-progressAndLoading-textColor);text-anchor:middle}";export{d as gux_radial_progress}
1
+ import{h as e,r,g as s}from"./p-7d26b2e1.js";import{t as i}from"./p-19a7df84.js";import{a as t}from"./p-d0805f56.js";const a=2*Math.PI*22;function n(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{role:"progressbar","aria-valuenow":r,"aria-valuemin":"0","aria-valuemax":s,"aria-label":i},e("svg",{class:"gux-svg-container",viewBox:"0 0 48 48",role:"presentation"},e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-static-circle"}),e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-dynamic-circle","stroke-dashoffset":a*(1-r/s),"stroke-dasharray":a,"stroke-linecap":"round"}),e("text",{x:"50%",y:"50%","dominant-baseline":"central",class:"gux-percentage"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{"screenreader-text":r,context:"modal"}),d=class{constructor(e){r(this,e),this.value=void 0,this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&n(this.value,this.max)&&t(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return n(this.value,this.max)?e(o,{value:this.value,max:this.max,screenreaderText:this.screenreaderText}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};d.style=":host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;height:var(--gse-ui-progressAndLoading-spinner-large);width:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar] .gux-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);fill:var(--gse-ui-progressAndLoading-textColor);text-anchor:middle}";export{d as gux_radial_progress}
@@ -1 +1 @@
1
- import{r,h as e,g as i}from"./p-7d26b2e1.js";import{b as o}from"./p-deee079e.js";import{t as a}from"./p-adbed625.js";import"./p-8a133b9b.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{"icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{class:"gux-message-wrapper"},e("div",{class:"gux-sr-only"},this.i18n(this.accent)),e("slot",null)))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;justify-content:flex-start;align-items:center;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
1
+ import{r,h as e,g as i}from"./p-7d26b2e1.js";import{b as o}from"./p-deee079e.js";import{t as a}from"./p-19a7df84.js";import"./p-8a133b9b.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{"icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{class:"gux-message-wrapper"},e("div",{class:"gux-sr-only"},this.i18n(this.accent)),e("slot",null)))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;justify-content:flex-start;align-items:center;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
@@ -0,0 +1 @@
1
+ import{r as o,f as e,h as t,g as i}from"./p-7d26b2e1.js";import{c as r,o as s}from"./p-3f5341ea.js";import{O as n}from"./p-f34ce7dc.js";import{o as l}from"./p-3701eff0.js";import{p as a}from"./p-c10e41a9.js";import{h as u}from"./p-08bc2e6b.js";import{h as f,d as g,G as c,a as d,g as h,v as m,b as p}from"./p-b3c9fd06.js";import{G as v,a as x}from"./p-a733f4ca.js";import{t as b}from"./p-19a7df84.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const w=class{constructor(e){o(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),e(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(x,{labelPosition:this.computedLabelPosition},t(v,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>g(this.input)}))),t(c,{show:this.hasError},t("slot",{name:"error"})),t(d,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=h(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=s(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return i(this)}};(function(o,e,t,i){var r,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,e,t,i);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(s<3?r(n):s>3?r(e,t,n):r(e,t))||n);s>3&&n&&Object.defineProperty(e,t,n)})([n({childList:!0,subtree:!0})],w.prototype,"onMutation",null),w.style='.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-icon-anchor gux-icon{padding-right:var(--gse-ui-links-inLine-padding)}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;gap:var(--gse-ui-formControl-input-gap);order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);color:var(--gse-ui-formControl-input-populatedColor);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{w as gux_form_field_search}