genesys-spark-components 4.122.0 → 4.124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/dist/cjs/{en-b47b8378.js → en-63e86478.js} +3 -1
  2. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  3. package/dist/cjs/{get-valid-timezone-a3319313.js → get-valid-timezone-92648ac9.js} +1 -1
  4. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  5. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  6. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  7. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  9. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  15. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
  24. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  26. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  28. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  30. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  31. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-create-option.cjs.entry.js +5 -5
  33. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  46. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +9 -9
  49. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +7 -7
  50. package/dist/cjs/gux-form-field-color.cjs.entry.js +9 -9
  51. package/dist/cjs/{gux-form-field-container-d667bd55.js → gux-form-field-container-131e8408.js} +1 -1
  52. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +10 -10
  53. package/dist/cjs/{gux-form-field-error-ce0cf9e4.js → gux-form-field-error-ccb568cb.js} +2 -2
  54. package/dist/cjs/{gux-form-field-fieldset-container-1b27772e.js → gux-form-field-fieldset-container-3e2ced98.js} +1 -1
  55. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +8 -8
  56. package/dist/cjs/gux-form-field-file.cjs.entry.js +7 -7
  57. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +5 -5
  58. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +16 -16
  60. package/dist/cjs/gux-form-field-phone.cjs.entry.js +11 -11
  61. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +9 -9
  62. package/dist/cjs/gux-form-field-radio.cjs.entry.js +7 -7
  63. package/dist/cjs/gux-form-field-range.cjs.entry.js +9 -9
  64. package/dist/cjs/gux-form-field-search.cjs.entry.js +9 -9
  65. package/dist/cjs/gux-form-field-select.cjs.entry.js +9 -9
  66. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +9 -9
  67. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +8 -8
  68. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +11 -11
  69. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +10 -10
  70. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-inline-alert.cjs.entry.js +6 -6
  76. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  81. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  86. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
  87. package/dist/cjs/gux-modal.cjs.entry.js +4 -4
  88. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-option-icon.cjs.entry.js +5 -5
  94. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  97. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  98. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +6 -6
  99. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  103. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  106. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  107. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  108. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +299 -0
  112. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +8 -6
  114. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +14 -11
  115. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +6 -6
  116. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +5 -5
  117. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +140 -3
  118. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +6 -5
  119. package/dist/cjs/gux-rich-text-editor.service-a1f5a275.js +84 -0
  120. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  124. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  131. package/dist/cjs/gux-sort-control.cjs.entry.js +7 -7
  132. package/dist/cjs/gux-submenu.cjs.entry.js +5 -5
  133. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  136. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  139. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  141. package/dist/cjs/gux-table-select-menu.cjs.entry.js +5 -5
  142. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  143. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +6 -6
  145. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  146. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  150. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  152. package/dist/cjs/gux-time-picker.cjs.entry.js +7 -7
  153. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  154. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  155. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  156. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  157. package/dist/cjs/gux-toggle.cjs.entry.js +7 -7
  158. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
  159. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  160. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  161. package/dist/cjs/{index-77202cdc.js → index-8f08a5ed.js} +31 -19
  162. package/dist/cjs/{index-8194d25c.js → index-c5d18923.js} +1 -1
  163. package/dist/cjs/loader.cjs.js +2 -2
  164. package/dist/cjs/{on-click-outside-2faf7467.js → on-click-outside-18d3c600.js} +1 -1
  165. package/dist/cjs/{on-mutation-e89e880e.js → on-mutation-86c636e6.js} +1 -1
  166. package/dist/cjs/{on-resize-810e9012.js → on-resize-15ff32b7.js} +5 -2
  167. package/dist/cjs/{usage-bdf54f32.js → usage-e7656f4f.js} +1 -1
  168. package/dist/collection/collection-manifest.json +2 -0
  169. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  170. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -1
  171. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.css +1 -1
  172. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +7 -4
  173. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.css +7 -0
  174. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +163 -3
  175. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +2 -2
  176. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +4 -3
  177. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.css +89 -0
  178. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +213 -0
  179. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.css +24 -0
  180. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +142 -0
  181. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +42 -0
  182. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  183. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  184. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  185. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  186. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  187. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  188. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +2 -2
  189. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  190. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  191. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  192. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  193. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  194. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  195. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  196. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  197. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  198. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  199. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  200. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  201. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  202. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  203. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  204. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  205. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  206. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  207. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  208. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  209. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  210. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  211. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  212. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  213. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  214. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  215. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  216. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  217. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  218. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  219. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  220. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  221. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  222. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  223. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  224. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  225. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  226. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  227. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  228. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  229. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  230. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  231. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  232. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  233. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +0 -2
  234. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  235. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +0 -2
  236. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  237. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.css +0 -4
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +0 -2
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +0 -2
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.css +0 -2
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.css +0 -2
  247. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  248. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +0 -2
  249. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  250. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +0 -2
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +0 -2
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.css +0 -4
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  256. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +0 -2
  257. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  258. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +1 -5
  259. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  260. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +0 -4
  261. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  262. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +0 -2
  263. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  264. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +0 -2
  265. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  266. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +0 -2
  267. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  268. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +0 -2
  269. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  270. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
  271. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +0 -2
  272. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  273. package/dist/collection/components/stable/gux-icon/gux-icon.js +2 -2
  274. package/dist/collection/components/stable/gux-icon/icons/custom/amb.svg +1 -0
  275. package/dist/collection/components/stable/gux-icon/icons/custom/sun-bright-slash.svg +1 -0
  276. package/dist/collection/components/stable/gux-icon/icons/fa/message-plus-regular.svg +1 -0
  277. package/dist/collection/components/stable/gux-icon/icons/fa/wrench-regular.svg +1 -0
  278. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.css +0 -2
  279. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  280. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  281. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  282. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  283. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  284. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  285. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +0 -2
  286. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +3 -3
  287. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +0 -2
  288. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  289. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  290. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  291. package/dist/collection/components/stable/gux-modal/gux-modal.css +2 -0
  292. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  293. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  294. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  295. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +0 -2
  296. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  297. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  298. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  299. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  300. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +0 -2
  301. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +2 -2
  302. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  303. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  304. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  305. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  306. package/dist/collection/components/stable/gux-rating/gux-rating.css +0 -2
  307. package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
  308. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  309. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  310. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  311. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  312. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +0 -2
  313. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  314. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +0 -4
  315. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
  316. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  317. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  318. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  319. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.css +0 -2
  320. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  321. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  322. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  323. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  324. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  325. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  326. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  327. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  328. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  329. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  330. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  331. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +0 -2
  332. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  333. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  334. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  335. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +0 -2
  336. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
  337. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  338. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  339. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  340. package/dist/collection/utils/decorator/on-resize.js +4 -1
  341. package/dist/esm/{en-d5a4e07d.js → en-abdadc27.js} +3 -1
  342. package/dist/esm/genesys-webcomponents.js +3 -3
  343. package/dist/esm/{get-valid-timezone-8f24f07d.js → get-valid-timezone-cecad33f.js} +1 -1
  344. package/dist/esm/gux-accordion-section.entry.js +6 -6
  345. package/dist/esm/gux-accordion.entry.js +3 -3
  346. package/dist/esm/gux-action-button.entry.js +5 -5
  347. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  348. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  349. package/dist/esm/gux-all-row-select.entry.js +3 -3
  350. package/dist/esm/gux-announce-beta.entry.js +2 -2
  351. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  352. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  353. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  354. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  355. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  356. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  357. package/dist/esm/gux-badge.entry.js +4 -4
  358. package/dist/esm/gux-blank-state.entry.js +4 -4
  359. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  360. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  361. package/dist/esm/gux-button-multi.entry.js +4 -4
  362. package/dist/esm/gux-button-slot.entry.js +3 -3
  363. package/dist/esm/gux-button_2.entry.js +7 -7
  364. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  365. package/dist/esm/gux-calendar.entry.js +4 -4
  366. package/dist/esm/gux-card.entry.js +4 -4
  367. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  368. package/dist/esm/gux-column-manager.entry.js +4 -4
  369. package/dist/esm/gux-content-search.entry.js +5 -5
  370. package/dist/esm/gux-context-menu.entry.js +6 -6
  371. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  372. package/dist/esm/gux-create-option.entry.js +5 -5
  373. package/dist/esm/gux-cta-group.entry.js +1 -1
  374. package/dist/esm/gux-date-beta.entry.js +4 -4
  375. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  376. package/dist/esm/gux-datepicker.entry.js +5 -5
  377. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  378. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  379. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  380. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  381. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  382. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  383. package/dist/esm/gux-file-list-item.entry.js +5 -5
  384. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  385. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  386. package/dist/esm/gux-form-beta.entry.js +1 -1
  387. package/dist/esm/gux-form-description.entry.js +1 -1
  388. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +9 -9
  389. package/dist/esm/gux-form-field-checkbox.entry.js +7 -7
  390. package/dist/esm/gux-form-field-color.entry.js +9 -9
  391. package/dist/esm/{gux-form-field-container-8ca069d2.js → gux-form-field-container-ddad54b9.js} +1 -1
  392. package/dist/esm/gux-form-field-dropdown.entry.js +10 -10
  393. package/dist/esm/{gux-form-field-error-ffe2439b.js → gux-form-field-error-129036c1.js} +2 -2
  394. package/dist/esm/{gux-form-field-fieldset-container-afc88f04.js → gux-form-field-fieldset-container-c4354c28.js} +1 -1
  395. package/dist/esm/gux-form-field-file-beta.entry.js +8 -8
  396. package/dist/esm/gux-form-field-file.entry.js +7 -7
  397. package/dist/esm/gux-form-field-input-clear-button.entry.js +5 -5
  398. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  399. package/dist/esm/gux-form-field-number_2.entry.js +16 -16
  400. package/dist/esm/gux-form-field-phone.entry.js +11 -11
  401. package/dist/esm/gux-form-field-radio-group-beta.entry.js +9 -9
  402. package/dist/esm/gux-form-field-radio.entry.js +7 -7
  403. package/dist/esm/gux-form-field-range.entry.js +9 -9
  404. package/dist/esm/gux-form-field-search.entry.js +9 -9
  405. package/dist/esm/gux-form-field-select.entry.js +9 -9
  406. package/dist/esm/gux-form-field-text-like.entry.js +9 -9
  407. package/dist/esm/gux-form-field-textarea.entry.js +8 -8
  408. package/dist/esm/gux-form-field-time-picker.entry.js +11 -11
  409. package/dist/esm/gux-form-field-time-zone-picker.entry.js +10 -10
  410. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  411. package/dist/esm/gux-form-footer.entry.js +2 -2
  412. package/dist/esm/gux-form-heading.entry.js +1 -1
  413. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  414. package/dist/esm/gux-icon.entry.js +3 -3
  415. package/dist/esm/gux-inline-alert.entry.js +6 -6
  416. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  417. package/dist/esm/gux-link-beta.entry.js +2 -2
  418. package/dist/esm/gux-list-divider.entry.js +2 -2
  419. package/dist/esm/gux-list-item.entry.js +2 -2
  420. package/dist/esm/gux-list.entry.js +3 -3
  421. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  422. package/dist/esm/gux-loading-message.entry.js +3 -3
  423. package/dist/esm/gux-menu-option.entry.js +2 -2
  424. package/dist/esm/gux-menu.entry.js +2 -2
  425. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  426. package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
  427. package/dist/esm/gux-modal.entry.js +4 -4
  428. package/dist/esm/gux-month-calendar.entry.js +2 -2
  429. package/dist/esm/gux-month-list_2.entry.js +1 -1
  430. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  431. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  432. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  433. package/dist/esm/gux-option-icon.entry.js +5 -5
  434. package/dist/esm/gux-option-multi.entry.js +4 -4
  435. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  436. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  437. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  438. package/dist/esm/gux-pagination-cursor.entry.js +6 -6
  439. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  440. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  441. package/dist/esm/gux-pagination.entry.js +3 -3
  442. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  443. package/dist/esm/gux-popover-beta.entry.js +3 -3
  444. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  445. package/dist/esm/gux-popover-list.entry.js +5 -5
  446. package/dist/esm/gux-popup.entry.js +4 -4
  447. package/dist/esm/gux-radial-loading.entry.js +4 -4
  448. package/dist/esm/gux-radial-progress.entry.js +2 -2
  449. package/dist/esm/gux-rating.entry.js +5 -5
  450. package/dist/esm/gux-rich-highlight-list-item.entry.js +4 -4
  451. package/dist/esm/gux-rich-style-list-item_3.entry.js +293 -0
  452. package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
  453. package/dist/esm/gux-rich-text-editor-action-link.entry.js +8 -6
  454. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +14 -11
  455. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +6 -6
  456. package/dist/esm/gux-rich-text-editor-action.entry.js +5 -5
  457. package/dist/esm/gux-rich-text-editor-beta.entry.js +140 -3
  458. package/dist/esm/gux-rich-text-editor-list.entry.js +6 -5
  459. package/dist/esm/gux-rich-text-editor.service-dcce5e51.js +80 -0
  460. package/dist/esm/gux-row-select.entry.js +4 -4
  461. package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
  462. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  463. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  464. package/dist/esm/gux-selector-card-beta.entry.js +4 -4
  465. package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
  466. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  467. package/dist/esm/gux-side-panel-heading.entry.js +3 -3
  468. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  469. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  470. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  471. package/dist/esm/gux-sort-control.entry.js +7 -7
  472. package/dist/esm/gux-submenu.entry.js +5 -5
  473. package/dist/esm/gux-switch-item.entry.js +2 -2
  474. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  475. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  476. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  477. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  478. package/dist/esm/gux-tab-list.entry.js +5 -5
  479. package/dist/esm/gux-tab-panel.entry.js +2 -2
  480. package/dist/esm/gux-tab.entry.js +3 -3
  481. package/dist/esm/gux-table-select-menu.entry.js +5 -5
  482. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  483. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  484. package/dist/esm/gux-table-toolbar-menu-button.entry.js +6 -6
  485. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  486. package/dist/esm/gux-table.entry.js +4 -4
  487. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  488. package/dist/esm/gux-tabs.entry.js +3 -3
  489. package/dist/esm/gux-tag.entry.js +4 -4
  490. package/dist/esm/gux-text-highlight.entry.js +2 -2
  491. package/dist/esm/gux-time-beta.entry.js +5 -5
  492. package/dist/esm/gux-time-picker.entry.js +7 -7
  493. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  494. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  495. package/dist/esm/gux-toast.entry.js +4 -4
  496. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  497. package/dist/esm/gux-toggle.entry.js +7 -7
  498. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
  499. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  500. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  501. package/dist/esm/{index-5a5cba3c.js → index-6de381c6.js} +1 -1
  502. package/dist/esm/{index-46ac98b8.js → index-91950719.js} +31 -19
  503. package/dist/esm/loader.js +3 -3
  504. package/dist/esm/{on-click-outside-fe48b6ef.js → on-click-outside-25728f99.js} +1 -1
  505. package/dist/esm/{on-mutation-c5880cd8.js → on-mutation-22820853.js} +1 -1
  506. package/dist/esm/{on-resize-6439d074.js → on-resize-61e616c2.js} +5 -2
  507. package/dist/esm/{usage-d372c506.js → usage-bcb279ed.js} +1 -1
  508. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  509. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  510. package/dist/genesys-webcomponents/icons/custom/amb.svg +1 -0
  511. package/dist/genesys-webcomponents/icons/custom/sun-bright-slash.svg +1 -0
  512. package/dist/genesys-webcomponents/icons/fa/message-plus-regular.svg +1 -0
  513. package/dist/genesys-webcomponents/icons/fa/wrench-regular.svg +1 -0
  514. package/dist/genesys-webcomponents/{p-19cccd9f.entry.js → p-00dc7d8e.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-013c853c.entry.js +1 -0
  516. package/dist/genesys-webcomponents/{p-03f266ff.entry.js → p-01780e86.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/p-0184d448.entry.js +1 -0
  518. package/dist/genesys-webcomponents/{p-156a6e4f.entry.js → p-01fd383c.entry.js} +2 -2
  519. package/dist/genesys-webcomponents/{p-1b49d50e.entry.js → p-0203f213.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-af51c01b.entry.js → p-0284e857.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-6a9e378e.entry.js → p-0484a785.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-3fb29222.entry.js → p-05f563b8.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-70889d47.entry.js → p-08066a45.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/p-093919fa.entry.js +1 -0
  525. package/dist/genesys-webcomponents/p-09e761ab.entry.js +1 -0
  526. package/dist/genesys-webcomponents/{p-72f1b4f0.entry.js → p-0ccc6e58.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/p-0ce04063.entry.js +1 -0
  528. package/dist/genesys-webcomponents/{p-a6018a4e.entry.js → p-0d6a8191.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-5839f7c7.entry.js → p-0e0ef4a2.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/p-0e793fef.entry.js +1 -0
  531. package/dist/genesys-webcomponents/{p-74728e83.entry.js → p-105a1ebe.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-0c59b369.entry.js → p-138c748a.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-e07238b5.js → p-166634e1.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-bfa03c2c.entry.js → p-1ceaf1b1.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/p-1d9ed425.js +1 -0
  536. package/dist/genesys-webcomponents/{p-2f3649fb.entry.js → p-1dc5e034.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-525ba72c.entry.js → p-1ecf1dcc.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-3a253565.entry.js → p-1fb466df.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-217ee853.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-23c1644e.entry.js → p-22614ed6.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-bad8b63e.entry.js → p-242adbc0.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-9049f423.entry.js → p-24ee5102.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/p-28672bd9.entry.js +1 -0
  544. package/dist/genesys-webcomponents/p-288ccac0.entry.js +1 -0
  545. package/dist/genesys-webcomponents/p-29a591e0.entry.js +1 -0
  546. package/dist/genesys-webcomponents/{p-aa28f49d.entry.js → p-2a1112c5.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-2b3ce4ab.entry.js +1 -0
  548. package/dist/genesys-webcomponents/p-2dc5b2a4.entry.js +1 -0
  549. package/dist/genesys-webcomponents/p-32818ae5.entry.js +1 -0
  550. package/dist/genesys-webcomponents/{p-e337e4f3.entry.js → p-3356414d.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-4044624d.entry.js → p-359a690d.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-e7563f9c.entry.js → p-366caebe.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-3bd3f533.entry.js +1 -0
  554. package/dist/genesys-webcomponents/p-3eddac75.entry.js +1 -0
  555. package/dist/genesys-webcomponents/{p-959b68b0.entry.js → p-3f38e775.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/p-432cd76a.entry.js +1 -0
  557. package/dist/genesys-webcomponents/{p-f77cd9ec.entry.js → p-46cb96e3.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-4ab918aa.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-02c19f87.entry.js → p-4b05e93e.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-94335d0e.entry.js → p-4b08d0dc.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/p-4ea2e4ff.entry.js +1 -0
  562. package/dist/genesys-webcomponents/{p-81bc147c.entry.js → p-50310211.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-ceb6b5c5.entry.js → p-51275efd.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-23ecd747.entry.js → p-51a3d71f.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-533c04a9.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-c1b4631f.entry.js → p-53cbae9c.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-588c3008.entry.js +1 -0
  568. package/dist/genesys-webcomponents/p-5ad06550.entry.js +1 -0
  569. package/dist/genesys-webcomponents/p-5d600723.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-e0de3453.js → p-5d9df6a7.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-7bbf9306.entry.js → p-5e4c9c9f.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-669dc8f1.entry.js → p-5f83c070.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/p-6081e7aa.entry.js +1 -0
  574. package/dist/genesys-webcomponents/{p-3e82ba34.entry.js → p-623f9bd8.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-03ec1443.entry.js → p-62e365b7.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-9fd58cdf.entry.js → p-635f8ea1.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-674a37cb.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-d6f546c2.entry.js → p-68dc8fac.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-edc7ae8c.entry.js → p-692f036a.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/p-6d9923a3.entry.js +1 -0
  581. package/dist/genesys-webcomponents/p-6e122c13.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-b55922ab.entry.js → p-6ef63173.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-f6303698.entry.js → p-70955497.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-1cf82469.entry.js → p-72352af0.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-d6f38841.entry.js → p-725055fe.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-1f6c052d.js → p-727bfafa.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-cbf07c42.entry.js → p-72981e91.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/p-72b10e95.entry.js +1 -0
  589. package/dist/genesys-webcomponents/p-74dfe388.entry.js +1 -0
  590. package/dist/genesys-webcomponents/{p-b6ae205e.entry.js → p-76362633.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-8782623d.entry.js → p-78694209.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-49d373a2.entry.js → p-791cc7a9.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/p-7e0eb41c.entry.js +1 -0
  594. package/dist/genesys-webcomponents/{p-c618ea3d.entry.js → p-7e212f17.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-f75fe956.js → p-8437bb5a.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-3dca373a.entry.js → p-862a716d.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-6c6e5e86.entry.js → p-863c7de1.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/{p-ab664ee0.entry.js → p-876113fc.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-788ff701.entry.js → p-877930b3.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-9734718d.entry.js → p-8acb26fd.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/p-8b5211be.entry.js +1 -0
  602. package/dist/genesys-webcomponents/p-8d41c7cc.entry.js +1 -0
  603. package/dist/genesys-webcomponents/p-8eb94348.entry.js +1 -0
  604. package/dist/genesys-webcomponents/p-90e2551c.entry.js +1 -0
  605. package/dist/genesys-webcomponents/p-912e0a41.entry.js +1 -0
  606. package/dist/genesys-webcomponents/{p-715a2bf5.entry.js → p-92331ca5.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/p-935faa35.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-f153a23b.entry.js → p-9626cf96.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-96a12e3b.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-8210954a.entry.js → p-99e97692.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/p-9b926648.entry.js +1 -0
  612. package/dist/genesys-webcomponents/{p-6c82f724.entry.js → p-9f7230e6.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-9a9f68a3.entry.js → p-a04d1e8e.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/p-a0dc5b67.entry.js +1 -0
  615. package/dist/genesys-webcomponents/{p-c227247d.entry.js → p-a10f06d2.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/p-a13db3b7.entry.js +1 -0
  617. package/dist/genesys-webcomponents/{p-3229e45d.entry.js → p-a26b6fd7.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/p-a3bb728d.entry.js +1 -0
  619. package/dist/genesys-webcomponents/{p-b4e8a137.entry.js → p-a5ca2cf7.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-5c75223b.entry.js → p-a62fb010.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-a7330c41.entry.js +1 -0
  622. package/dist/genesys-webcomponents/{p-d1c0eba2.entry.js → p-a7512630.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-b620cf75.entry.js → p-aa4d28c9.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/{p-73e1f574.js → p-ad9b3d73.js} +1 -1
  625. package/dist/genesys-webcomponents/p-ade33823.entry.js +1 -0
  626. package/dist/genesys-webcomponents/p-b2e29026.js +1 -0
  627. package/dist/genesys-webcomponents/{p-c9578616.entry.js → p-b5cdeb34.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/p-b61f80ae.entry.js +1 -0
  629. package/dist/genesys-webcomponents/{p-53b378de.entry.js → p-b728fdc9.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-b8648528.entry.js +1 -0
  631. package/dist/genesys-webcomponents/p-b8652722.entry.js +1 -0
  632. package/dist/genesys-webcomponents/p-ba830adf.entry.js +1 -0
  633. package/dist/genesys-webcomponents/{p-f88537e3.entry.js → p-bd544cf5.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/p-c149f50c.entry.js +1 -0
  635. package/dist/genesys-webcomponents/{p-41f5525e.entry.js → p-c3b298ac.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/{p-60b61478.entry.js → p-c4bb140c.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-99b0bec7.entry.js → p-c6493f6c.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/{p-950fe7d0.entry.js → p-c7249ecf.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-b26f188d.entry.js → p-c8dcd40e.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-5e83d256.entry.js → p-c9186c88.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-15d211bb.entry.js → p-cb05620c.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/{p-a4f54a2b.entry.js → p-cb7a3a2c.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-f153bd1b.entry.js → p-cc60bc33.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/p-cd2d0445.entry.js +1 -0
  645. package/dist/genesys-webcomponents/p-cd46dba6.entry.js +1 -0
  646. package/dist/genesys-webcomponents/{p-b0ceecdf.entry.js → p-ce97b48a.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-d15985f1.js → p-cfeaf436.js} +1 -1
  648. package/dist/genesys-webcomponents/{p-f974f2b1.entry.js → p-d00a1daf.entry.js} +1 -1
  649. package/dist/genesys-webcomponents/{p-36136141.entry.js → p-d2105aa1.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-031e43e4.entry.js → p-d62c6a71.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-9e1bda51.js → p-da087c59.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-00d0e30c.entry.js → p-db241209.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-f7322e3f.entry.js → p-db2f7dc7.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-16ccc26e.entry.js → p-dcc0b820.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/{p-7478a2e2.entry.js → p-dd63b8f1.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/p-ddd20c69.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-817d0096.entry.js → p-e03a69b0.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-fbf14218.js → p-e556534e.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-8c60e5e0.entry.js → p-e9e6a64d.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-593829be.entry.js → p-eb313a5f.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-6d6befbf.entry.js → p-ec305737.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-864d63fe.js → p-f01d2320.js} +1 -1
  663. package/dist/genesys-webcomponents/{p-1a98d8f7.entry.js → p-f0f830ec.entry.js} +1 -1
  664. package/dist/genesys-webcomponents/{p-26c67c23.entry.js → p-f18089ca.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-2bb7fe1e.entry.js → p-f1eb64ea.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-efa0ee25.entry.js → p-f325a037.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-a896f5f8.entry.js → p-f58d0228.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-f63df650.entry.js +1 -0
  669. package/dist/genesys-webcomponents/{p-9a720e22.entry.js → p-f72f970c.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-5deeb893.entry.js → p-f8dce124.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/p-f900b897.entry.js +1 -0
  672. package/dist/genesys-webcomponents/{p-493e725b.entry.js → p-fdc9bae9.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/p-fe23764b.entry.js +1 -0
  674. package/dist/genesys-webcomponents/p-fe71fb5e.entry.js +1 -0
  675. package/dist/genesys-webcomponents/{p-f5162a61.entry.js → p-ff12eb63.entry.js} +1 -1
  676. package/dist/genesys-webcomponents/{p-43ceec2e.entry.js → p-ffae26f6.entry.js} +1 -1
  677. package/dist/genesys-webcomponents/p-ffb7c9dc.js +2 -0
  678. package/dist/genesys-webcomponents/{p-f5a4cbb4.entry.js → p-ffd91cee.entry.js} +1 -1
  679. package/dist/stencil-wrapper.js +1 -1
  680. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.d.ts +1 -0
  681. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.d.ts +20 -1
  682. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.d.ts +24 -0
  683. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.d.ts +18 -0
  684. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.d.ts +1 -0
  685. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  686. package/dist/types/components.d.ts +44 -0
  687. package/dist/types/stencil-wrapper.d.ts +1 -1
  688. package/package.json +1 -1
  689. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +0 -44
  690. package/dist/cjs/gux-rich-text-editor.service-fd5edfcf.js +0 -41
  691. package/dist/esm/gux-rich-style-list-item.entry.js +0 -40
  692. package/dist/esm/gux-rich-text-editor.service-144f4651.js +0 -38
  693. package/dist/genesys-webcomponents/p-02a96aaf.entry.js +0 -1
  694. package/dist/genesys-webcomponents/p-052d33b8.entry.js +0 -1
  695. package/dist/genesys-webcomponents/p-05a13181.entry.js +0 -1
  696. package/dist/genesys-webcomponents/p-068ca6fe.entry.js +0 -1
  697. package/dist/genesys-webcomponents/p-086c5088.js +0 -2
  698. package/dist/genesys-webcomponents/p-1edb3199.entry.js +0 -1
  699. package/dist/genesys-webcomponents/p-274517cc.js +0 -1
  700. package/dist/genesys-webcomponents/p-2b0c8ff4.entry.js +0 -1
  701. package/dist/genesys-webcomponents/p-2cf243a7.entry.js +0 -1
  702. package/dist/genesys-webcomponents/p-35aac0eb.entry.js +0 -1
  703. package/dist/genesys-webcomponents/p-3858d3fa.entry.js +0 -1
  704. package/dist/genesys-webcomponents/p-3b0c65e9.entry.js +0 -1
  705. package/dist/genesys-webcomponents/p-3f7710bd.entry.js +0 -1
  706. package/dist/genesys-webcomponents/p-4005a230.entry.js +0 -1
  707. package/dist/genesys-webcomponents/p-40103e74.entry.js +0 -1
  708. package/dist/genesys-webcomponents/p-402a7403.entry.js +0 -1
  709. package/dist/genesys-webcomponents/p-4a0524d1.entry.js +0 -1
  710. package/dist/genesys-webcomponents/p-4ba0a9ab.entry.js +0 -1
  711. package/dist/genesys-webcomponents/p-52e46262.entry.js +0 -1
  712. package/dist/genesys-webcomponents/p-5ad436b9.entry.js +0 -1
  713. package/dist/genesys-webcomponents/p-5b054a3b.entry.js +0 -1
  714. package/dist/genesys-webcomponents/p-6209de55.entry.js +0 -1
  715. package/dist/genesys-webcomponents/p-661feac4.entry.js +0 -1
  716. package/dist/genesys-webcomponents/p-684ca644.entry.js +0 -1
  717. package/dist/genesys-webcomponents/p-6b664cea.entry.js +0 -1
  718. package/dist/genesys-webcomponents/p-708df7d5.entry.js +0 -1
  719. package/dist/genesys-webcomponents/p-72a20918.entry.js +0 -1
  720. package/dist/genesys-webcomponents/p-762b36ab.entry.js +0 -1
  721. package/dist/genesys-webcomponents/p-77c66cd7.entry.js +0 -1
  722. package/dist/genesys-webcomponents/p-835c9a18.entry.js +0 -1
  723. package/dist/genesys-webcomponents/p-87b364b8.entry.js +0 -1
  724. package/dist/genesys-webcomponents/p-884db9fa.entry.js +0 -1
  725. package/dist/genesys-webcomponents/p-8a771398.entry.js +0 -1
  726. package/dist/genesys-webcomponents/p-947897ba.entry.js +0 -1
  727. package/dist/genesys-webcomponents/p-96e00955.entry.js +0 -1
  728. package/dist/genesys-webcomponents/p-a19f8576.entry.js +0 -1
  729. package/dist/genesys-webcomponents/p-a2c71d6c.entry.js +0 -1
  730. package/dist/genesys-webcomponents/p-a6c36b2c.js +0 -1
  731. package/dist/genesys-webcomponents/p-acb6a6cc.entry.js +0 -1
  732. package/dist/genesys-webcomponents/p-af7417cb.entry.js +0 -1
  733. package/dist/genesys-webcomponents/p-b053d117.entry.js +0 -1
  734. package/dist/genesys-webcomponents/p-b22d4324.entry.js +0 -1
  735. package/dist/genesys-webcomponents/p-b292833d.entry.js +0 -1
  736. package/dist/genesys-webcomponents/p-bdd95974.entry.js +0 -1
  737. package/dist/genesys-webcomponents/p-c2ca148a.entry.js +0 -1
  738. package/dist/genesys-webcomponents/p-c44ef054.entry.js +0 -1
  739. package/dist/genesys-webcomponents/p-c779ede7.entry.js +0 -1
  740. package/dist/genesys-webcomponents/p-cfb37a0d.entry.js +0 -1
  741. package/dist/genesys-webcomponents/p-d5c90cea.entry.js +0 -1
  742. package/dist/genesys-webcomponents/p-dd16bde2.entry.js +0 -1
  743. package/dist/genesys-webcomponents/p-dd99330f.entry.js +0 -1
  744. package/dist/genesys-webcomponents/p-eeed1a2d.entry.js +0 -1
  745. package/dist/genesys-webcomponents/p-f0437bd4.entry.js +0 -1
  746. package/dist/genesys-webcomponents/p-f180ea4f.entry.js +0 -1
  747. package/dist/genesys-webcomponents/p-f96c5d72.entry.js +0 -1
  748. package/dist/genesys-webcomponents/p-fd7d71a2.entry.js +0 -1
  749. package/dist/genesys-webcomponents/p-ffe75834.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as t,g as e,c as r}from"./p-086c5088.js";import{t as i}from"./p-e0de3453.js";import{r as n}from"./p-0934300e.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-864af39c.js";import{O as g}from"./p-9e1bda51.js";import{g as b}from"./p-1ccc4961.js";import{f as h}from"./p-9b0d3713.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary",this.autofocus=!1,this.iconOnly=void 0}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"abb493ee85bcfdc518784bf593b3afe7c3a15fce",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"ed943237a31b0227d1d295e2f092083f24984862",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":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){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:8px;vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}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:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}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-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}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-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:13;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return t("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return t("div",{key:"e59b939ea5345143047c3a2a326d2c95d7624b03",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"37fb3f3ef84513490436a943c703832d1f68d47b",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"258664db187e6ef0fa438788e4884b420ad4d2fe",class:"gux-arrow-caret"})),t("div",{key:"5be4fb53d86fe167a2bcc489835997f7411abdcf",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"50bb69a0ad8a52ddacc6f791f28983f1a16ac6c0",name:"title"}),this.renderDismissButton()),t("div",{key:"f1f65d5c09431e4bce28c567e2a4d3e8fa30e452",class:"gux-popover-content"},t("slot",{key:"3d96a3b8be65f5fb1bf3084cddbe273d616f8c4c"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;min-inline-size:280px;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper gux-dismiss-button{float:inline-end}";export{p as gux_button,f as gux_popover}
1
+ import{r as o,h as t,g as e,c as r}from"./p-ffb7c9dc.js";import{t as i}from"./p-5d9df6a7.js";import{r as n}from"./p-0934300e.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-864af39c.js";import{O as g}from"./p-da087c59.js";import{g as b}from"./p-1ccc4961.js";import{f as h}from"./p-9b0d3713.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary",this.autofocus=!1,this.iconOnly=void 0}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"9c064f7a47d8a4b4deaa4e60af5756a030d716af",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"ee0e8501a4cd24a1fac1cb4c29c452b03bf434bf",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":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){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:8px;vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}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:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}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-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}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-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:13;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return t("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return t("div",{key:"593e0d4dc00162d267c770e3d852e6f98cd09ec1",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"b5e9cfc95642b71717c554422179919793c3f93b",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"00d9c68141aee90aa2e059a03e798fc319e8316e",class:"gux-arrow-caret"})),t("div",{key:"08256b1de728e35a44eb3bf754f5896fcc9e0974",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"ac6a177631f319bc3546c30ddcf128e5708972aa",name:"title"}),this.renderDismissButton()),t("div",{key:"b4cb89cecfd37a147c42ffdeba785f73b9cfdac4",class:"gux-popover-content"},t("slot",{key:"d2de26578fc354c803a454ac52a2bdcfbc93d101"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;min-inline-size:280px;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper gux-dismiss-button{float:inline-end}";export{p as gux_button,f as gux_popover}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as r}from"./p-086c5088.js";import{a as s,c as o,o as a,f as n}from"./p-864af39c.js";import{r as u}from"./p-0934300e.js";import{a as d}from"./p-cf0e7d3b.js";import{f as l,b as c,a as h,c as p}from"./p-9349b5e4.js";import{O as g}from"./p-9e1bda51.js";import{t as f}from"./p-e0de3453.js";import{b as x}from"./p-d15985f1.js";import{u as b,g as k,a as m}from"./p-2319558c.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const v={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function y(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function C(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?C(t,y(-1,e)):i}function w(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function D(t){return t.match(/\W/)[0]}function F(t){const e=D(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function R(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const I=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.value=void 0,this.label="",this.numberOfMonths=1,this.startDayOfWeek=void 0,this.minDate="",this.maxDate="",this.mode="single",this.format=void 0,this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.minDateDate=void 0,this.maxDateDate=void 0,this.toFormattedValue="",this.active=!1,this.pressedKeys=[]}watchValue(){this.format&&this.updateDate()}watchMinDate(t){this.minDateDate=t?l(t):null}watchMaxDate(t){this.maxDateDate=t?l(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=F(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=l(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");d((()=>{t.focus()}));break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1,this.pressedKeys.length=0}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=R(this.format,w(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return R(this.format,w(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){this.pressedKeys.push(t.key);const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===w(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)&&this.pressedKeys.length>=2?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=D(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),o=parseInt(r[i.indexOf("mm")],10)-1,a=parseInt(r[i.indexOf("dd")],10),n=new Date(s,o,a);return"yy"===this.yearFormat&&n.getFullYear()<1970&&this.lastYear>1970&&n.setFullYear(n.getFullYear()+100),n}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);this.value=c(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);this.value=h(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(w(this.format,this.focusedField.selectionStart)){case"d":{const t=l(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp(Object.keys(e).join("|"),"gi")}}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:o}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(o,(t=>s[t]))}else{const t=l(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return l(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=w(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=y(t,i);break;case"m":r=C(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,o,a;s=r,o=this.minDateDate,((a=this.maxDateDate)&&a<s||o&&o>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=D(e),r=e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,v),this.format=b()?this.format||k(m(this.root)):this.format||"mm/dd/yyyy",this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?c(t,t):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){o(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[a({crossAxis:-3}),n({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"fa/calendar-regular",size:"small"}))}renderCalendar(){return i("gux-calendar",{tabIndex:-1,ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{key:"69c0e0294c404f3422945d527db1dd0c3b18e848",class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return r(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([g({triggerEvents:"mousedown"})],I.prototype,"onClickOutside",null),I.style=":host{display:block;inline-size:fit-content}.gux-datepicker{display:flex}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;inline-size:100%;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-inline-start:var(--gse-ui-datePicker-range-gap)}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-block-start:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{margin-inline-end:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-formControl-helper-gap);font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;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-datepicker .gux-datepicker-field .gux-datepicker-field-input:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input: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);outline-offset:var(--gse-semantic-focusOutline-offset);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-datepicker .gux-datepicker-field .gux-datepicker-field-input.gux-active{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);outline-offset:var(--gse-semantic-focusOutline-offset);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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;inline-size:calc(var(--gse-ui-calendarMenu-day-input-width) - var(--gse-ui-icon-small-size));padding:0;overflow:hidden;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:transparent;border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button: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);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline-offset:var(--gse-ui-datePicker-focusCalendar-gap);border:none;border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-datePicker-iconHover);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gse-semantic-zIndex-popup);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{I as gux_datepicker}
1
+ import{r as t,c as e,h as i,g as r}from"./p-ffb7c9dc.js";import{a as s,c as o,o as a,f as n}from"./p-864af39c.js";import{r as u}from"./p-0934300e.js";import{a as d}from"./p-cf0e7d3b.js";import{f as l,b as c,a as h,c as p}from"./p-9349b5e4.js";import{O as g}from"./p-da087c59.js";import{t as f}from"./p-5d9df6a7.js";import{b as x}from"./p-cfeaf436.js";import{u as b,g as k,a as m}from"./p-2319558c.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const v={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function y(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function C(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?C(t,y(-1,e)):i}function w(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function D(t){return t.match(/\W/)[0]}function F(t){const e=D(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function R(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const I=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.value=void 0,this.label="",this.numberOfMonths=1,this.startDayOfWeek=void 0,this.minDate="",this.maxDate="",this.mode="single",this.format=void 0,this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.minDateDate=void 0,this.maxDateDate=void 0,this.toFormattedValue="",this.active=!1,this.pressedKeys=[]}watchValue(){this.format&&this.updateDate()}watchMinDate(t){this.minDateDate=t?l(t):null}watchMaxDate(t){this.maxDateDate=t?l(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=F(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=l(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");d((()=>{t.focus()}));break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1,this.pressedKeys.length=0}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=R(this.format,w(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return R(this.format,w(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){this.pressedKeys.push(t.key);const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===w(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)&&this.pressedKeys.length>=2?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=D(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),o=parseInt(r[i.indexOf("mm")],10)-1,a=parseInt(r[i.indexOf("dd")],10),n=new Date(s,o,a);return"yy"===this.yearFormat&&n.getFullYear()<1970&&this.lastYear>1970&&n.setFullYear(n.getFullYear()+100),n}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);this.value=c(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);this.value=h(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(w(this.format,this.focusedField.selectionStart)){case"d":{const t=l(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp(Object.keys(e).join("|"),"gi")}}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:o}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(o,(t=>s[t]))}else{const t=l(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return l(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=w(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=y(t,i);break;case"m":r=C(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,o,a;s=r,o=this.minDateDate,((a=this.maxDateDate)&&a<s||o&&o>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=D(e),r=e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,v),this.format=b()?this.format||k(m(this.root)):this.format||"mm/dd/yyyy",this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?c(t,t):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){o(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[a({crossAxis:-3}),n({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"fa/calendar-regular",size:"small"}))}renderCalendar(){return i("gux-calendar",{tabIndex:-1,ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{key:"8f4fb3c6d75c099911fee07b2ec3f3315776e4ce",class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return r(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([g({triggerEvents:"mousedown"})],I.prototype,"onClickOutside",null),I.style=":host{display:block;inline-size:fit-content}.gux-datepicker{display:flex}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;inline-size:100%;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-inline-start:var(--gse-ui-datePicker-range-gap)}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-block-start:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{margin-inline-end:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-formControl-helper-gap);font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;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-datepicker .gux-datepicker-field .gux-datepicker-field-input:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input: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);outline-offset:var(--gse-semantic-focusOutline-offset);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-datepicker .gux-datepicker-field .gux-datepicker-field-input.gux-active{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);outline-offset:var(--gse-semantic-focusOutline-offset);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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;inline-size:calc(var(--gse-ui-calendarMenu-day-input-width) - var(--gse-ui-icon-small-size));padding:0;overflow:hidden;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:transparent;border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button: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);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline-offset:var(--gse-ui-datePicker-focusCalendar-gap);border:none;border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-datePicker-iconHover);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gse-semantic-zIndex-popup);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{I as gux_datepicker}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as s,g as a}from"./p-ffb7c9dc.js";import{b as i}from"./p-cfeaf436.js";import{t as n}from"./p-5d9df6a7.js";import{g as r}from"./p-4202e9f2.js";import{o}from"./p-0f60c7b5.js";import{t as c}from"./p-408d5857.js";const d=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.headerContent=void 0,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){n(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=r("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"2ea9f436e1bef1beadbf635249cebd45a8b51607",class:"gux-container"},s("button",{key:"1e901b7e59f0213f63238c2b9c3236d0de186598",class:{"gux-sort-button":!0,"gux-active":this.active},type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"e57cf1a7d19e3f5c3b539cc25c3dbabd282687ae",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"6e2af1e568cce8849012e891b0fd8ae5b5db8b4f",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{d as gux_sort_control}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,g as r}from"./p-ffb7c9dc.js";import{O as t}from"./p-166634e1.js";import{h as i}from"./p-6d8b4027.js";import{b as l}from"./p-cfeaf436.js";import{G as a,a as s}from"./p-e556534e.js";import{G as f,a as n,b as d}from"./p-8437bb5a.js";import{g as u}from"./p-0268a3e8.js";import{t as h}from"./p-5d9df6a7.js";import"./p-4202e9f2.js";const g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help")}handleKeyup(e){var o,r;"Tab"===e.key?this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help"),this.hasGroupLabelInfo=i(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"2eb182ced11f796f8a0524fcf7790d88ca7fca9e",labelPosition:"above",disabled:this.disabled},o(n,{key:"8ce290e6964ee5f609f3253659c317ce19b176b0"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"7bdbcff0095157f6a122ffd2fdf6613ebc9bd091",position:"above",required:this.required},o("slot",{key:"19016758f3bf890b18439bf3ddf85ac5149e142a",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"72a6b19db5c8f42109f22f03d18ec64f4d381d5d",variant:this.indicatorMark,required:this.required}),o("slot",{key:"4f21b3646beca70b8751707387db85862bc66566",name:"group-label-info"})),o("slot",{key:"acee53340e2fb41fe667e6f862e1b5a9d020e2e2"}),o(s,{key:"5585e3fa5e0134f2a5867739f16e69563aa73f82",show:this.hasGroupError},o("slot",{key:"c5271ceca928c159b35a44d57d78717b21ef1688",name:"group-error"})),o(a,{key:"eb7221b200a431c6d04d7342253a9b188c94d02d",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"b56818ff33713d6a87e346f126de29c37ba52da5",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([t({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{p as gux_form_field_radio_group_beta}
@@ -1 +1 @@
1
- import{h as a,r as e,g as i}from"./p-086c5088.js";import{t}from"./p-e0de3453.js";import{a as r}from"./p-8eaf8caf.js";import{b as g}from"./p-d15985f1.js";import{g as n,a as o}from"./p-5fcdcbfd.js";import"./p-4202e9f2.js";const u={notifications:"Notifications"},s=class{constructor(a){e(this,a),this.size="large",this.name=void 0,this.accent="default",this.presence="none",this.label=void 0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size)return a("div",{class:"gux-avatar-integration-badge"},this.renderUcIntegrationsIcon(this.ucIntegration),a("gux-screen-reader-beta",null,this.getUcIntegrationText(this.ucIntegration)))}renderTooltip(){return["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){return this.notifications?`${this.name} (${this.i18n("notifications")})`:this.label&&"none"!==this.presence?`${this.name} (${this.label})`:`${this.name}`}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await g(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"cef226c15517c37cc2729cecf7bb1e06166d4fa9",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"9cc33a7794aaf2f1853f6f7569a7c5af5d063340",class:"gux-content"},a("slot",{key:"b95fd0f65798bf47c959cfdaecea586e8635dbb0",name:"image"},a("abbr",{key:"ee135fd29f555c8bf808c69fb33a8d5c224999a7","aria-label":this.getDescriptionText()},n(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
1
+ import{h as a,r as e,g as i}from"./p-ffb7c9dc.js";import{t}from"./p-5d9df6a7.js";import{a as r}from"./p-8eaf8caf.js";import{b as g}from"./p-cfeaf436.js";import{g as n,a as o}from"./p-5fcdcbfd.js";import"./p-4202e9f2.js";const u={notifications:"Notifications"},s=class{constructor(a){e(this,a),this.size="large",this.name=void 0,this.accent="default",this.presence="none",this.label=void 0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size)return a("div",{class:"gux-avatar-integration-badge"},this.renderUcIntegrationsIcon(this.ucIntegration),a("gux-screen-reader-beta",null,this.getUcIntegrationText(this.ucIntegration)))}renderTooltip(){return["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){return this.notifications?`${this.name} (${this.i18n("notifications")})`:this.label&&"none"!==this.presence?`${this.name} (${this.label})`:`${this.name}`}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await g(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"cef226c15517c37cc2729cecf7bb1e06166d4fa9",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"9cc33a7794aaf2f1853f6f7569a7c5af5d063340",class:"gux-content"},a("slot",{key:"b95fd0f65798bf47c959cfdaecea586e8635dbb0",name:"image"},a("abbr",{key:"ee135fd29f555c8bf808c69fb33a8d5c224999a7","aria-label":this.getDescriptionText()},n(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
@@ -1 +1 @@
1
- import{a as t}from"./p-086c5088.js";import{g as r}from"./p-4202e9f2.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:B})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f,l,H,B=function(){return JSON.stringify(arguments)},b=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,r){this.cache[t]=r},t}(),v={create:function(){return new b}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)},monadic:function(t,r){return u(t,this,o,r.cache.create(),r.serializer)}};function E(t){return t.type===l.literal}function d(t){return t.type===l.argument}function g(t){return t.type===l.number}function m(t){return t.type===l.date}function y(t){return t.type===l.time}function w(t){return t.type===l.select}function T(t){return t.type===l.plural}function A(t){return t.type===l.pound}function S(t){return t.type===l.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==H.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==H.dateTime)}!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(f||(f={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(l||(l={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(H||(H={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),r}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function D(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function x(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),Y=new RegExp("".concat(I.source,"*$"));function W(t,r){return{start:t,end:r}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=X?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(Y,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:l.pound,location:W(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(e,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(f.INVALID_TAG,W(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,W(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:e,children:i,location:W(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,W(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,W(n,this.clonePosition()))}return this.error(f.INVALID_TAG,W(n,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=W(n,this.clonePosition());return{val:{type:l.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,W(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:e,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:W(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,W(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:W(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var B=W(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var b=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(b,u.styleLocation)).err?m:{val:{type:l.number,value:n,location:B,style:m.val},err:null};if(0===b.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(b,this.locale));var p={type:H.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?l.date:l.time,value:n,location:B,style:p},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:n,location:B,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,W(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=W(e,this.clonePosition());return"select"===o?{val:{type:l.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:l.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,W(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(f.INVALID_NUMBER_SKELETON,r)}return{val:{type:H.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=W(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;s.push([a,{value:B.val,location:W(H,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=W(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=st(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(et(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(f[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=pt,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const _t=St,Nt={},It=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],Mt={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0},Rt="en";async function Lt(r,n,e){let h=n,i="en";void 0!==r&&(i=Ct(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Rt)try{s=await(async(r,n)=>{if(!Nt[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();Nt[n]=h}return Nt[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new _t(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new _t(n,Rt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Ct(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Rt}(t),e=n.split(/[_-]/)[0];return It.indexOf(n)>=0?n:It.indexOf(e)>=0?e:Rt}function Ot(t=Rt){return Mt[t]?Mt[t]:Mt[Rt]}export{Ot as a,Lt as b,Ct as g,It as l}
1
+ import{a as t}from"./p-ffb7c9dc.js";import{g as r}from"./p-4202e9f2.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:B})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f,l,H,B=function(){return JSON.stringify(arguments)},b=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,r){this.cache[t]=r},t}(),v={create:function(){return new b}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)},monadic:function(t,r){return u(t,this,o,r.cache.create(),r.serializer)}};function E(t){return t.type===l.literal}function d(t){return t.type===l.argument}function g(t){return t.type===l.number}function m(t){return t.type===l.date}function y(t){return t.type===l.time}function w(t){return t.type===l.select}function T(t){return t.type===l.plural}function A(t){return t.type===l.pound}function S(t){return t.type===l.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==H.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==H.dateTime)}!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(f||(f={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(l||(l={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(H||(H={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),r}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function D(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function x(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),Y=new RegExp("".concat(I.source,"*$"));function W(t,r){return{start:t,end:r}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=X?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(Y,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:l.pound,location:W(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(e,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(f.INVALID_TAG,W(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,W(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:e,children:i,location:W(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,W(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,W(n,this.clonePosition()))}return this.error(f.INVALID_TAG,W(n,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=W(n,this.clonePosition());return{val:{type:l.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,W(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:e,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:W(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,W(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:W(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var B=W(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var b=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(b,u.styleLocation)).err?m:{val:{type:l.number,value:n,location:B,style:m.val},err:null};if(0===b.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(b,this.locale));var p={type:H.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?l.date:l.time,value:n,location:B,style:p},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:n,location:B,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,W(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=W(e,this.clonePosition());return"select"===o?{val:{type:l.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:l.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,W(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(f.INVALID_NUMBER_SKELETON,r)}return{val:{type:H.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=W(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;s.push([a,{value:B.val,location:W(H,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=W(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=st(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(et(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(f[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=pt,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const _t=St,Nt={},It=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],Mt={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0},Rt="en";async function Lt(r,n,e){let h=n,i="en";void 0!==r&&(i=Ct(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Rt)try{s=await(async(r,n)=>{if(!Nt[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();Nt[n]=h}return Nt[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new _t(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new _t(n,Rt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Ct(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Rt}(t),e=n.split(/[_-]/)[0];return It.indexOf(n)>=0?n:It.indexOf(e)>=0?e:Rt}function Ot(t=Rt){return Mt[t]?Mt[t]:Mt[Rt]}export{Ot as a,Lt as b,Ct as g,It as l}
@@ -1 +1 @@
1
- import{r as t,h as e,g as s}from"./p-086c5088.js";import{g as o}from"./p-43af726d.js";import{t as i}from"./p-e0de3453.js";import{g as n}from"./p-0268a3e8.js";const a=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},n(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"88d9de6b7149a7f8ad1fb120e631e2f39d7ec519",accent:this.accent},e("button",{key:"c4974c220849b92a2192c7cb5abeddcdb79d53b4",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"8a344f493b272731155c1d44e749354f804bcae3",name:"icon"}),e("span",{key:"4fc844b57f99a02b68b3cc37351f28fdf3b067c1",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"395533c149a5ecea3b60b4e2a5cd5111b12eb928",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};a.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{a as gux_table_toolbar_custom_action}
1
+ import{r as t,h as e,g as s}from"./p-ffb7c9dc.js";import{g as o}from"./p-43af726d.js";import{t as i}from"./p-5d9df6a7.js";import{g as a}from"./p-0268a3e8.js";const n=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},a(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"e95ed88fbc315651c53e06bc6f240c7c19975d3d",accent:this.accent},e("button",{key:"3a247124c4d98cfc192b5c8b56a3a797e4c26814",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"8bfb89962a79bfc3cdd1f7012ab0aaf6964d5c1a",name:"icon"}),e("span",{key:"a1660a93fb37bc8b3e3da7ec7b6689aa9a2f262c",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"63cc4299432223d86c90f98aeae5286955be7be8",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};n.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{n as gux_table_toolbar_custom_action}