genesys-spark-components 4.138.5 → 4.140.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 (684) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  3. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  21. package/dist/cjs/gux-calendar-beta.cjs.entry.js +7 -2
  22. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -2
  34. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-dropdown_3.cjs.entry.js +14 -8
  40. package/dist/cjs/gux-file-list-item.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  46. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  47. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  48. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  52. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  53. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  56. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  58. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  61. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  62. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +274 -0
  67. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  73. package/dist/cjs/{gux-listbox.service-27157877.js → gux-listbox.service-700ba659.js} +6 -1
  74. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  78. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-option-status-beta.cjs.entry.js +56 -0
  88. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  97. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  99. package/dist/cjs/gux-popup.cjs.entry.js +10 -5
  100. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +6 -6
  105. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
  107. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  116. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +32 -0
  125. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  129. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  139. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  144. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  147. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  150. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  152. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  155. package/dist/cjs/index-e321455d.js +20 -8
  156. package/dist/cjs/index.umd-60279d14.js +5 -0
  157. package/dist/cjs/loader.cjs.js +1 -1
  158. package/dist/cjs/{usage-e47be043.js → usage-e250be95.js} +2 -2
  159. package/dist/collection/collection-manifest.json +3 -0
  160. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.css +180 -0
  161. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +425 -0
  162. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  163. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  164. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  165. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  166. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  167. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  168. package/dist/collection/components/beta/gux-option-status/gux-option-status.css +124 -0
  169. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +171 -0
  170. package/dist/collection/components/beta/gux-option-status/gux-option-status.types.js +1 -0
  171. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  172. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  173. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  174. 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 +1 -1
  175. 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 +1 -1
  176. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
  177. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  178. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  179. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  180. 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 +1 -1
  181. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  182. 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 +3 -3
  183. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  184. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  185. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  186. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  187. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  188. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  189. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  190. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  191. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  192. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.css +57 -0
  193. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +66 -0
  194. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.types.js +1 -0
  195. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  196. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  197. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  198. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  199. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  200. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  201. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +4 -4
  202. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  203. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  204. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  205. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  206. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.css +2 -24
  207. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  208. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +8 -9
  209. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  210. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  211. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  212. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  213. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  214. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.css +7 -7
  215. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  216. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +9 -9
  217. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  218. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  219. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  220. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  221. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  222. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  223. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  224. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  225. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  226. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  227. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  228. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  229. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  230. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  231. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  232. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  233. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  234. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  235. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  236. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  237. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  238. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +5 -3
  239. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  240. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  241. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  242. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  243. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  244. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  247. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  248. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  249. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  250. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.css +10 -0
  251. 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
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +0 -22
  256. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  257. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  258. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +0 -20
  259. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  260. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  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.js +3 -3
  263. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  264. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  265. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  266. 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
  267. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  268. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  269. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  270. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  271. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  272. package/dist/collection/components/stable/gux-listbox/gux-listbox.service.js +6 -1
  273. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  274. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  275. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  276. package/dist/collection/components/stable/gux-listbox/options/option-types.js +5 -1
  277. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  278. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  279. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  280. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  281. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  282. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  283. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  284. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  285. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  286. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  287. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  288. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  289. package/dist/collection/components/stable/gux-popup/gux-popup.js +30 -5
  290. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  291. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  292. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  293. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  294. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  295. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  296. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  297. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  298. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  299. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  300. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  301. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  302. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  303. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  304. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  305. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  306. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  307. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  308. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  309. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  310. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  311. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  312. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  313. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  314. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +5 -5
  315. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  316. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  317. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  318. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  319. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  320. package/dist/esm/genesys-webcomponents.js +1 -1
  321. package/dist/esm/gux-accordion-section.entry.js +5 -5
  322. package/dist/esm/gux-accordion.entry.js +2 -2
  323. package/dist/esm/gux-action-button.entry.js +2 -2
  324. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  325. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  326. package/dist/esm/gux-all-row-select.entry.js +1 -1
  327. package/dist/esm/gux-announce-beta.entry.js +1 -1
  328. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  329. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  330. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  331. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  332. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  333. package/dist/esm/gux-badge.entry.js +2 -2
  334. package/dist/esm/gux-blank-state.entry.js +2 -2
  335. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  336. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  337. package/dist/esm/gux-button-multi.entry.js +2 -2
  338. package/dist/esm/gux-button-slot.entry.js +2 -2
  339. package/dist/esm/gux-button_2.entry.js +5 -5
  340. package/dist/esm/gux-calendar-beta.entry.js +7 -2
  341. package/dist/esm/gux-calendar.entry.js +2 -2
  342. package/dist/esm/gux-card.entry.js +3 -3
  343. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  344. package/dist/esm/gux-column-manager.entry.js +2 -2
  345. package/dist/esm/gux-content-search.entry.js +3 -3
  346. package/dist/esm/gux-context-menu.entry.js +3 -3
  347. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  348. package/dist/esm/gux-create-option.entry.js +2 -2
  349. package/dist/esm/gux-date-beta.entry.js +1 -1
  350. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  351. package/dist/esm/gux-datepicker.entry.js +2 -2
  352. package/dist/esm/gux-day-beta.entry.js +1 -2
  353. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  354. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  355. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  356. package/dist/esm/gux-dropdown-multi.entry.js +3 -3
  357. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  358. package/dist/esm/gux-dropdown_3.entry.js +14 -8
  359. package/dist/esm/gux-file-list-item.entry.js +4 -4
  360. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  361. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  362. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  363. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  364. package/dist/esm/gux-form-field-color.entry.js +4 -4
  365. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  366. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  367. package/dist/esm/gux-form-field-file.entry.js +2 -2
  368. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  369. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  370. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  371. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  372. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  373. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  374. package/dist/esm/gux-form-field-range.entry.js +3 -3
  375. package/dist/esm/gux-form-field-search.entry.js +4 -4
  376. package/dist/esm/gux-form-field-select.entry.js +4 -4
  377. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  378. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  379. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  380. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  381. package/dist/esm/gux-form-footer.entry.js +1 -1
  382. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  383. package/dist/esm/gux-icon.entry.js +2 -2
  384. package/dist/esm/gux-inline-alert.entry.js +3 -3
  385. package/dist/esm/gux-inline-dropdown-beta.entry.js +270 -0
  386. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  387. package/dist/esm/gux-link-beta.entry.js +2 -2
  388. package/dist/esm/gux-list-divider.entry.js +1 -1
  389. package/dist/esm/gux-list-item.entry.js +1 -1
  390. package/dist/esm/gux-list.entry.js +2 -2
  391. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  392. package/dist/esm/{gux-listbox.service-1b2f1a6e.js → gux-listbox.service-250c2b08.js} +7 -2
  393. package/dist/esm/gux-loading-message.entry.js +2 -2
  394. package/dist/esm/gux-menu-option.entry.js +1 -1
  395. package/dist/esm/gux-menu.entry.js +1 -1
  396. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  397. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  398. package/dist/esm/gux-modal.entry.js +2 -2
  399. package/dist/esm/gux-month-calendar.entry.js +1 -1
  400. package/dist/esm/gux-month-list_2.entry.js +2 -2
  401. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  402. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  403. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  404. package/dist/esm/gux-option-icon.entry.js +2 -2
  405. package/dist/esm/gux-option-multi.entry.js +2 -2
  406. package/dist/esm/gux-option-status-beta.entry.js +52 -0
  407. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  408. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  409. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  410. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  411. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  412. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  413. package/dist/esm/gux-pagination.entry.js +2 -2
  414. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  415. package/dist/esm/gux-popover-beta.entry.js +3 -3
  416. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  417. package/dist/esm/gux-popover-list.entry.js +3 -3
  418. package/dist/esm/gux-popup.entry.js +10 -5
  419. package/dist/esm/gux-radial-loading.entry.js +2 -2
  420. package/dist/esm/gux-radial-progress.entry.js +1 -1
  421. package/dist/esm/gux-rating.entry.js +2 -2
  422. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  423. package/dist/esm/gux-rich-style-list-item_3.entry.js +6 -6
  424. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  425. package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
  426. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
  427. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
  428. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  429. package/dist/esm/gux-rich-text-editor-beta.entry.js +3 -3
  430. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  431. package/dist/esm/gux-row-select.entry.js +2 -2
  432. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  433. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  434. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  435. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  436. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  437. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  438. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  439. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  440. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  441. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  442. package/dist/esm/gux-sort-control.entry.js +4 -4
  443. package/dist/esm/gux-status-indicator-beta.entry.js +28 -0
  444. package/dist/esm/gux-submenu.entry.js +3 -3
  445. package/dist/esm/gux-switch-item.entry.js +2 -2
  446. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  447. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  448. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  449. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  450. package/dist/esm/gux-tab-list.entry.js +2 -2
  451. package/dist/esm/gux-tab-panel.entry.js +1 -1
  452. package/dist/esm/gux-tab.entry.js +2 -2
  453. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  454. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  455. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  456. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  457. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  458. package/dist/esm/gux-table.entry.js +2 -2
  459. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  460. package/dist/esm/gux-tabs.entry.js +2 -2
  461. package/dist/esm/gux-tag.entry.js +2 -2
  462. package/dist/esm/gux-text-highlight.entry.js +1 -1
  463. package/dist/esm/gux-time-beta.entry.js +2 -2
  464. package/dist/esm/gux-time-picker.entry.js +2 -2
  465. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  466. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  467. package/dist/esm/gux-toast.entry.js +3 -3
  468. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  469. package/dist/esm/gux-toggle.entry.js +3 -3
  470. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  471. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  472. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  473. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  474. package/dist/esm/index-1f4f2f77.js +20 -8
  475. package/dist/esm/index.umd-fcc3210d.js +3 -0
  476. package/dist/esm/loader.js +1 -1
  477. package/dist/esm/{usage-36c49ec0.js → usage-86a3ca46.js} +2 -2
  478. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  479. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  480. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  481. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  482. package/dist/genesys-webcomponents/p-01ff7495.js +1 -0
  483. package/dist/genesys-webcomponents/{p-bfad7f61.entry.js → p-029f2578.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-9568c71c.entry.js → p-037dfdce.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-8286e2ad.entry.js → p-0567d807.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-24233fef.entry.js → p-07ef5294.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/p-0acc15c2.entry.js +1 -0
  488. package/dist/genesys-webcomponents/{p-40b60461.entry.js → p-0b976681.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-db5d1c5a.entry.js → p-0bd9ff39.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-ac73a9ec.entry.js → p-0da572e5.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-557243c9.entry.js → p-0defe51e.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-ba653870.entry.js → p-0e0fdebb.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-59dd8b82.entry.js → p-0ead7661.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/p-0ec91462.entry.js +1 -0
  495. package/dist/genesys-webcomponents/{p-e058d6e2.entry.js → p-0f25f9cc.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-59c2fd73.entry.js → p-111c618c.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/p-113b759f.entry.js +1 -0
  498. package/dist/genesys-webcomponents/{p-d6899122.entry.js → p-11e55da2.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/p-13891320.entry.js +1 -0
  500. package/dist/genesys-webcomponents/{p-21c6ee17.entry.js → p-1554a49f.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-53bdb0f2.entry.js → p-17939feb.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-0ab9131f.entry.js → p-180661df.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/p-190d1a19.entry.js +1 -0
  504. package/dist/genesys-webcomponents/p-19190802.entry.js +1 -0
  505. package/dist/genesys-webcomponents/{p-e448baf3.entry.js → p-1b281bb7.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-01f65240.entry.js → p-1c3fd942.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-3c003cac.entry.js → p-1c4c6389.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-abf63e43.entry.js → p-214adf37.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-62897607.entry.js → p-22f29f45.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-6e8d35da.entry.js → p-2570d3f8.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/p-27330014.entry.js +1 -0
  512. package/dist/genesys-webcomponents/{p-e984199c.entry.js → p-2a2b11cd.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-8150e45a.entry.js → p-2ae30099.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-1db81cea.entry.js → p-2bca98ba.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-9b3e1186.entry.js → p-2c7c22e9.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/p-300864df.entry.js +1 -0
  517. package/dist/genesys-webcomponents/{p-dce97667.entry.js → p-31961c13.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-329c5ad9.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-d0af5c42.entry.js → p-32ddfb9b.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/p-333d5662.entry.js +1 -0
  521. package/dist/genesys-webcomponents/{p-82b352a2.entry.js → p-3347f06f.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-295863b3.entry.js → p-36ff3220.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-6cd34c5c.entry.js → p-3772bd0a.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-63b5fe38.entry.js → p-3813d88a.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/p-390ff152.js +1 -0
  526. package/dist/genesys-webcomponents/{p-a6fde5d7.entry.js → p-3956d334.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-c4dfc25f.entry.js → p-3acaaf4a.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-479f5d41.entry.js → p-3b7bd46c.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/p-3b9eaeca.entry.js +1 -0
  530. package/dist/genesys-webcomponents/p-3d00ef92.entry.js +1 -0
  531. package/dist/genesys-webcomponents/{p-40c64162.entry.js → p-3d7f212b.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/p-3de03182.entry.js +1 -0
  533. package/dist/genesys-webcomponents/p-3e6d1aa0.entry.js +1 -0
  534. package/dist/genesys-webcomponents/{p-37ff7da7.entry.js → p-3edc3f93.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-f614b836.entry.js → p-40562c51.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-ae33292c.entry.js → p-40792dfd.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-e219d90d.entry.js → p-42f7b23f.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-ec3807a7.entry.js → p-433a2b72.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-1f09aeba.entry.js → p-437d300e.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-e9e4fbb1.entry.js → p-4a858b8b.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-b8c8a83a.entry.js → p-4ac3f930.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-42d92fb5.entry.js → p-4c8167d9.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-fd4034a4.entry.js → p-4cd161bf.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-e785819b.entry.js → p-4d7a5009.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-dbd215eb.entry.js → p-4e3282e1.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-cb3498e0.entry.js → p-50e2808b.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-da68f2b9.entry.js → p-5696f91c.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-256fd8ac.entry.js → p-57a449ba.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-e14d4fcc.entry.js → p-57b79797.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-a47d849d.entry.js → p-5842c262.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-fb5a8709.entry.js → p-59bc9035.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-9eaf8395.entry.js → p-59dfdf90.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-0390258d.entry.js → p-5a736b09.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/p-5b524730.entry.js +1 -0
  555. package/dist/genesys-webcomponents/p-5ba52d36.entry.js +1 -0
  556. package/dist/genesys-webcomponents/{p-c60295c7.entry.js → p-5bf6108a.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-2f70f0f0.entry.js → p-60a9ee62.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-3c44ee26.entry.js → p-61a6e310.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-11b192eb.entry.js → p-61f69d70.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-f09b2662.entry.js → p-65ca9f83.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-93c51b06.entry.js → p-65ea0c87.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/p-667ea547.entry.js +1 -0
  563. package/dist/genesys-webcomponents/{p-c53235ef.entry.js → p-6e7a4d3d.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-93f718f8.entry.js → p-6ecaa139.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-68ccea62.entry.js → p-6edfd46f.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-bb87ddc0.entry.js → p-6f2808b0.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-04aadf90.entry.js → p-70ceb3f1.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/p-73db410c.entry.js +1 -0
  569. package/dist/genesys-webcomponents/p-74a3336c.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-0167a40b.entry.js → p-77bfd3dd.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/p-7821b337.entry.js +1 -0
  572. package/dist/genesys-webcomponents/p-7c3983bd.entry.js +1 -0
  573. package/dist/genesys-webcomponents/{p-ef255407.entry.js → p-850b3b42.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-9669b8f9.entry.js → p-85b99a69.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-19c6574e.entry.js → p-88966a19.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-b8aeb1ed.entry.js → p-89fc5f40.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-58fffe6f.entry.js → p-8c93a456.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/p-8c986bdf.entry.js +1 -0
  579. package/dist/genesys-webcomponents/{p-f60ca8d8.entry.js → p-8d3ffd9f.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-d7c4d9a2.entry.js → p-9031c6e5.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/p-90416cdf.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-469936c8.entry.js → p-909772be.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-68a50beb.entry.js → p-91c66e36.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-4dcab63c.entry.js → p-97c76337.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-7b74366c.entry.js → p-98b3fd11.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/p-9f9d5a2d.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-e186875c.entry.js → p-9fca283f.entry.js} +2 -2
  588. package/dist/genesys-webcomponents/{p-42232486.entry.js → p-a1841c00.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-a407b0f7.entry.js → p-a3dcd27f.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-d2dc1456.entry.js → p-a4a2a10b.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-f82f1a80.entry.js → p-a9804747.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-551c3120.entry.js → p-b04f776a.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-23188b9b.entry.js → p-b09373ff.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/p-b193389e.entry.js +1 -0
  595. package/dist/genesys-webcomponents/{p-38cd7fcb.entry.js → p-be74d638.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-77749cf0.entry.js → p-bf202dd4.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-34771260.entry.js → p-bf8748c3.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/p-bfebd852.entry.js +1 -0
  599. package/dist/genesys-webcomponents/{p-1c644b54.entry.js → p-c0181580.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-bfe65171.entry.js → p-c7750101.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-13fe57e3.entry.js → p-ccbc9ecb.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-3bdfbd1a.entry.js → p-ccc294a5.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-1031a9dc.entry.js → p-cdb22353.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/p-cf5b82fe.entry.js +1 -0
  605. package/dist/genesys-webcomponents/{p-42d51817.entry.js → p-cf93ccf6.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-02ce759e.entry.js → p-d32347c1.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-29af1d02.entry.js → p-d3bb18e2.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-90e03a6f.entry.js → p-d7d1ee3c.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-d83ae876.entry.js +1 -0
  610. package/dist/genesys-webcomponents/p-d940fad0.entry.js +1 -0
  611. package/dist/genesys-webcomponents/p-dc0347e2.entry.js +1 -0
  612. package/dist/genesys-webcomponents/{p-e14eea9e.entry.js → p-e09c2856.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-68f25c14.entry.js → p-e1c87bb6.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-f55ae1b6.entry.js → p-e2fd54ce.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-127513f5.entry.js → p-e46bf6a0.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-5fd6da4b.entry.js → p-e4ecefde.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-d9ec9145.entry.js → p-e565b884.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-320c6e88.entry.js → p-e598fe85.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-b8be41a9.js → p-e8cbd5aa.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-2dcd8221.entry.js → p-eb32b9ec.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-91bfb570.entry.js → p-ee8a6306.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-548d3d8a.entry.js → p-ef438006.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-f0bb61de.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-91f876e2.entry.js → p-f12aa4e1.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/{p-656ba338.entry.js → p-f209bc4c.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-638c88ca.entry.js → p-f318244c.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/p-f4e1e1c7.entry.js +1 -0
  628. package/dist/genesys-webcomponents/p-f6300815.entry.js +1 -0
  629. package/dist/genesys-webcomponents/{p-601ed284.entry.js → p-f6d9995c.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-f8317ca6.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-e2de40cf.entry.js → p-f9ab8727.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-d9b0f3e9.entry.js → p-fbe78c1c.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/p-fd9e2702.entry.js +1 -0
  634. package/dist/genesys-webcomponents/{p-4cccb841.entry.js → p-fe265fc0.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/p-feafe9aa.entry.js +1 -0
  636. package/dist/genesys-webcomponents/{p-75ab1a5f.entry.js → p-ff8f3b29.entry.js} +1 -1
  637. package/dist/stencil-wrapper.js +1 -1
  638. package/dist/types/components/beta/gux-inline-dropdown/gux-inline-dropdown.d.ts +65 -0
  639. package/dist/types/components/beta/gux-option-status/gux-option-status.d.ts +19 -0
  640. package/dist/types/components/beta/gux-option-status/gux-option-status.types.d.ts +1 -0
  641. package/dist/types/components/beta/gux-status-indicator/gux-status-indicator.d.ts +13 -0
  642. package/dist/types/components/beta/gux-status-indicator/gux-status-indicator.types.d.ts +1 -0
  643. package/dist/types/components/stable/gux-listbox/options/option-types.d.ts +1 -1
  644. package/dist/types/components/stable/gux-popup/gux-popup.d.ts +4 -0
  645. package/dist/types/components.d.ts +111 -0
  646. package/dist/types/stencil-wrapper.d.ts +1 -1
  647. package/package.json +2 -2
  648. package/dist/cjs/index.umd-9e988797.js +0 -12
  649. package/dist/esm/index.umd-c0335c3a.js +0 -10
  650. package/dist/genesys-webcomponents/p-00d4ebc1.entry.js +0 -1
  651. package/dist/genesys-webcomponents/p-19c5f089.entry.js +0 -1
  652. package/dist/genesys-webcomponents/p-1f082cad.entry.js +0 -1
  653. package/dist/genesys-webcomponents/p-23d35dfa.entry.js +0 -1
  654. package/dist/genesys-webcomponents/p-379254a5.js +0 -1
  655. package/dist/genesys-webcomponents/p-3ed4c30e.entry.js +0 -1
  656. package/dist/genesys-webcomponents/p-41dc15f5.entry.js +0 -1
  657. package/dist/genesys-webcomponents/p-42f12293.entry.js +0 -1
  658. package/dist/genesys-webcomponents/p-45586c9f.entry.js +0 -1
  659. package/dist/genesys-webcomponents/p-4c0d8275.entry.js +0 -1
  660. package/dist/genesys-webcomponents/p-53d82198.entry.js +0 -1
  661. package/dist/genesys-webcomponents/p-5a338901.entry.js +0 -1
  662. package/dist/genesys-webcomponents/p-5d3d9a8e.entry.js +0 -1
  663. package/dist/genesys-webcomponents/p-646b22d2.entry.js +0 -1
  664. package/dist/genesys-webcomponents/p-649973ae.js +0 -1
  665. package/dist/genesys-webcomponents/p-7c664070.entry.js +0 -1
  666. package/dist/genesys-webcomponents/p-825c8cea.entry.js +0 -1
  667. package/dist/genesys-webcomponents/p-841eb95d.entry.js +0 -1
  668. package/dist/genesys-webcomponents/p-842c55f5.entry.js +0 -1
  669. package/dist/genesys-webcomponents/p-8642a1d7.entry.js +0 -1
  670. package/dist/genesys-webcomponents/p-8c48dfdf.entry.js +0 -1
  671. package/dist/genesys-webcomponents/p-9111f90e.entry.js +0 -1
  672. package/dist/genesys-webcomponents/p-9162b418.entry.js +0 -1
  673. package/dist/genesys-webcomponents/p-979e292f.entry.js +0 -1
  674. package/dist/genesys-webcomponents/p-a0e9545a.entry.js +0 -1
  675. package/dist/genesys-webcomponents/p-c2bd9905.entry.js +0 -1
  676. package/dist/genesys-webcomponents/p-c3823a01.entry.js +0 -1
  677. package/dist/genesys-webcomponents/p-c7f481f6.entry.js +0 -1
  678. package/dist/genesys-webcomponents/p-c95273e6.entry.js +0 -1
  679. package/dist/genesys-webcomponents/p-d4267928.entry.js +0 -1
  680. package/dist/genesys-webcomponents/p-d5f7dbcd.entry.js +0 -1
  681. package/dist/genesys-webcomponents/p-e887dd23.entry.js +0 -1
  682. package/dist/genesys-webcomponents/p-ea1dcad7.entry.js +0 -1
  683. package/dist/genesys-webcomponents/p-ec9815a5.entry.js +0 -1
  684. package/dist/genesys-webcomponents/p-f407f3ca.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as a,H as i,g as s}from"./p-cf74fd3d.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-b8be41a9.js";import{a as n}from"./p-8eaf8caf.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"ff9593ff50916c8eb9bd5a749712d2c232b66ac1",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"e73bb89716b389959d264e7344d55aa543cb9018",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
1
+ import{r as t,h as a,H as i,g as s}from"./p-cf74fd3d.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-e8cbd5aa.js";import{a as n}from"./p-8eaf8caf.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"57c06c38d906ceda4290cd20b4676cf8659f95a6",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"a00ca1dbf3ad5163a0d7aa145db929afcf487238",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-cf74fd3d.js";import{O as a}from"./p-f3d844c7.js";import{w as n}from"./p-e97879b4.js";import{a as o}from"./p-cf0e7d3b.js";import{t as c}from"./p-e8cbd5aa.js";import{b as r}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const d={moreOptions:"More options"},u=["primary","secondary","tertiary","danger"];function b(t){return u.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){o((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){o((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){n("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){c(this.root,{variant:this.type}),this.i18n=await r(this.root,d)}render(){return i("div",{key:"7633255e916dadb6e24229a0ef559ea3428f9a47",class:"gux-action-button-container"},i("gux-popup",{key:"b458ecea7ea0d89b13cd291af0fd25377d9fa0c0",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"414e7dc5173548b76af86b89b1bef794594e2d35",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"c02b2c61bf8cdb4a19e971dd3e82bf36fa905ee6",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"3108ca30cea4691b20a737285082712e4f17646f",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},i("slot",{key:"afc6c2a8e15aed25d3d89b3d039a75df31e95205",name:"title"}))),i("gux-button-slot",{key:"afab832bb050d69d1a81a10f4eff450203e432f6",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"a4ba7ab4edc377020cdb2ba45bb955b76c68f648",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},i("gux-icon",{key:"8cbc807c178ff77489fb9ce69882875edf206dcd",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"5a64c0e7a02e4ead6ce1d2f6c4f34968f06187d9",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"3e5610e97b431d515683b3f0d7170c42efc4550b",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"4ef52f6ee1d003738bb48bea67cc50a2ff7861fc"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var a,n=arguments.length,o=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(o=(n<3?a(o):n>3?a(e,i,o):a(e,i))||o);n>3&&o&&Object.defineProperty(e,i,o)})([a({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-action-button button:focus-visible:enabled{position:relative}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
@@ -0,0 +1 @@
1
+ import{r as e,f as r,h as n,g as t}from"./p-cf74fd3d.js";import{i}from"./p-390ff152.js";import{g as o,a as u,b as a}from"./p-e5e644b3.js";import{a as s}from"./p-cf0e7d3b.js";import{l as c}from"./p-8eaf8caf.js";import{s as f}from"./p-2c25e2f2.js";import{c as h}from"./p-e9c4f463.js";import"./p-4202e9f2.js";function d(e,r){return e.toLocaleString(r,{year:"numeric",month:"long"})}!function(e){function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function i(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,g(t.key),t)}}function o(e,r,n){return r&&i(e.prototype,r),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var t=0,i=function(){};return{s:i,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw o}}}}function a(e){var r=d();return function(){var n,t=f(e);if(r){var i=f(this).constructor;n=Reflect.construct(t,arguments,i)}else n=t.apply(this,arguments);return m(this,n)}}function s(e,r,n){return(r=g(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,r,n){var t=function(e,r){for(;!{}.hasOwnProperty.call(e,r)&&null!==(e=f(e)););return e}(e,r);if(t){var i=Object.getOwnPropertyDescriptor(t,r);return i.get?i.get.call(arguments.length<3?e:n):i.value}},c.apply(null,arguments)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&y(e,r)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function v(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?v(Object(n),!0).forEach((function(r){s(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function m(e,r){if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)}function y(e,r){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},y(e,r)}function D(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,i,o,u,a=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;s=!1}else for(;!(s=(t=o.call(n)).done)&&(a.push(t.value),a.length!==r);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(e,r)||p(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e){var r=function(e){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof r?r:r+""}function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function p(e,n){if(e){if("string"==typeof e)return r(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}function E(e){var r="function"==typeof Map?new Map:void 0;return E=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(r){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return function(e,r,n){if(d())return Reflect.construct.apply(null,arguments);var t=[null];t.push.apply(t,r);var i=new(e.bind.apply(e,t));return n&&y(i,n.prototype),i}(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),y(n,e)},E(e)}var k=function(e){h(i,e);var r=a(i);function i(e,o){var u;if(t(this,i),(u=r.call(this,e)).sign=o,Object.setPrototypeOf(n(u),i.prototype),e>i.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded");return m(u)}return o(i,[{key:"toDebugString",value:function(){var e,r=["BigInt["],n=u(this);try{for(n.s();!(e=n.n()).done;){var t=e.value;r.push((t?(t>>>0).toString(16):t)+", ")}}catch(e){n.e(e)}finally{n.f()}return r.push("]"),r.join("")}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(2>e||36<e)throw new RangeError("toString() radix argument must be between 2 and 36");return 0===this.length?"0":e&e-1?i.__toStringGeneric(this,e,!1):i.__toStringBasePowerOfTwo(this,e)}},{key:"valueOf",value:function(){throw new Error("Convert JSBI instances to native numbers using `toNumber`.")}},{key:"__copy",value:function(){for(var e=new i(this.length,this.sign),r=0;r<this.length;r++)e[r]=this[r];return e}},{key:"__trim",value:function(){for(var e=this.length,r=this[e-1];0===r;)r=this[--e-1],this.pop();return 0===e&&(this.sign=!1),this}},{key:"__initializeDigits",value:function(){for(var e=0;e<this.length;e++)this[e]=0}},{key:"__clzmsd",value:function(){return i.__clz30(this.__digit(this.length-1))}},{key:"__inplaceMultiplyAdd",value:function(e,r,n){n>this.length&&(n=this.length);for(var t=32767&e,o=e>>>15,u=0,a=r,s=0;s<n;s++){var c=this.__digit(s),f=32767&c,h=c>>>15,d=i.__imul(f,t),v=i.__imul(f,o),l=i.__imul(h,t),m=a+d+u;u=m>>>30,m&=1073741823,u+=(m+=((32767&v)<<15)+((32767&l)<<15))>>>30,a=i.__imul(h,o)+(v>>>15)+(l>>>15),this.__setDigit(s,1073741823&m)}if(0!=u||0!==a)throw new Error("implementation bug")}},{key:"__inplaceAdd",value:function(e,r,n){for(var t=0,i=0;i<n;i++){var o=this.__halfDigit(r+i)+e.__halfDigit(i)+t;t=o>>>15,this.__setHalfDigit(r+i,32767&o)}return t}},{key:"__inplaceSub",value:function(e,r,n){var t=0;if(1&r){for(var i=this.__digit(r>>=1),o=32767&i,u=0;u<n-1>>>1;u++){var a=e.__digit(u),s=(i>>>15)-(32767&a)-t;t=1&s>>>15,this.__setDigit(r+u,(32767&s)<<15|32767&o),t=1&(o=(32767&(i=this.__digit(r+u+1)))-(a>>>15)-t)>>>15}var c=e.__digit(u),f=(i>>>15)-(32767&c)-t;if(t=1&f>>>15,this.__setDigit(r+u,(32767&f)<<15|32767&o),r+u+1>=this.length)throw new RangeError("out of bounds");!(1&n)&&(t=1&(o=(32767&(i=this.__digit(r+u+1)))-(c>>>15)-t)>>>15,this.__setDigit(r+e.length,1073709056&i|32767&o))}else{r>>=1;for(var h=0;h<e.length-1;h++){var d=this.__digit(r+h),v=e.__digit(h),l=(32767&d)-(32767&v)-t,m=(d>>>15)-(v>>>15)-(t=1&l>>>15);t=1&m>>>15,this.__setDigit(r+h,(32767&m)<<15|32767&l)}var y=this.__digit(r+h),D=e.__digit(h),w=(32767&y)-(32767&D)-t;t=1&w>>>15;var g=0;!(1&n)&&(t=1&(g=(y>>>15)-(D>>>15)-t)>>>15),this.__setDigit(r+h,(32767&g)<<15|32767&w)}return t}},{key:"__inplaceRightShift",value:function(e){if(0!==e){for(var r=this.__digit(0)>>>e,n=this.length-1,t=0;t<n;t++){var i=this.__digit(t+1);this.__setDigit(t,1073741823&i<<30-e|r),r=i>>>e}this.__setDigit(n,r)}}},{key:"__digit",value:function(e){return this[e]}},{key:"__unsignedDigit",value:function(e){return this[e]>>>0}},{key:"__setDigit",value:function(e,r){this[e]=0|r}},{key:"__setDigitGrow",value:function(e,r){this[e]=0|r}},{key:"__halfDigitLength",value:function(){var e=this.length;return 32767>=this.__unsignedDigit(e-1)?2*e-1:2*e}},{key:"__halfDigit",value:function(e){return 32767&this[e>>>1]>>>15*(1&e)}},{key:"__setHalfDigit",value:function(e,r){var n=e>>>1,t=this.__digit(n);this.__setDigit(n,1&e?32767&t|r<<15:1073709056&t|32767&r)}}],[{key:"BigInt",value:function(e){var r=Math.floor,n=Number.isFinite;if("number"==typeof e){if(0===e)return i.__zero();if(i.__isOneDigitInt(e))return 0>e?i.__oneDigit(-e,!0):i.__oneDigit(e,!1);if(!n(e)||r(e)!==e)throw new RangeError("The number "+e+" cannot be converted to BigInt because it is not an integer");return i.__fromDouble(e)}if("string"==typeof e){var t=i.__fromString(e);if(null===t)throw new SyntaxError("Cannot convert "+e+" to a BigInt");return t}if("boolean"==typeof e)return!0===e?i.__oneDigit(1,!1):i.__zero();if("object"==F(e)){if(e.constructor===i)return e;var o=i.__toPrimitive(e);return i.BigInt(o)}throw new TypeError("Cannot convert "+e+" to a BigInt")}},{key:"toNumber",value:function(e){var r=e.length;if(0===r)return 0;if(1===r){var n=e.__unsignedDigit(0);return e.sign?-n:n}var t=e.__digit(r-1),o=i.__clz30(t),u=30*r-o;if(1024<u)return e.sign?-1/0:1/0;var a=u-1,s=t,c=r-1,f=o+3,h=32===f?0:s<<f;h>>>=12;var d=f-12,v=12<=f?0:s<<20+f,l=20+f;for(0<d&&0<c&&(c--,h|=(s=e.__digit(c))>>>30-d,v=s<<d+2,l=d+2);0<l&&0<c;)c--,s=e.__digit(c),v|=30<=l?s<<l-30:s>>>30-l,l-=30;var m=i.__decideRounding(e,l,c,s);return(1===m||0===m&&!(1&~v))&&0==(v=v+1>>>0)&&0!=++h>>>20&&(h=0,1023<++a)?e.sign?-1/0:1/0:(i.__kBitConversionInts[1]=(e.sign?-2147483648:0)|(a=a+1023<<20)|h,i.__kBitConversionInts[0]=v,i.__kBitConversionDouble[0])}},{key:"unaryMinus",value:function(e){if(0===e.length)return e;var r=e.__copy();return r.sign=!e.sign,r}},{key:"bitwiseNot",value:function(e){return e.sign?i.__absoluteSubOne(e).__trim():i.__absoluteAddOne(e,!0)}},{key:"exponentiate",value:function(e,r){if(r.sign)throw new RangeError("Exponent must be positive");if(0===r.length)return i.__oneDigit(1,!1);if(0===e.length)return e;if(1===e.length&&1===e.__digit(0))return!e.sign||1&r.__digit(0)?e:i.unaryMinus(e);if(1<r.length)throw new RangeError("BigInt too big");var n=r.__unsignedDigit(0);if(1===n)return e;if(n>=i.__kMaxLengthBits)throw new RangeError("BigInt too big");if(1===e.length&&2===e.__digit(0)){var t=1+(0|n/30),o=new i(t,e.sign&&!!(1&n));return o.__initializeDigits(),o.__setDigit(t-1,1<<n%30),o}var u=null,a=e;for(!!(1&n)&&(u=e),n>>=1;0!==n;n>>=1)a=i.multiply(a,a),1&n&&(u=null===u?a:i.multiply(u,a));return u}},{key:"multiply",value:function(e,r){if(0===e.length)return e;if(0===r.length)return r;var n=e.length+r.length;30<=e.__clzmsd()+r.__clzmsd()&&n--;var t=new i(n,e.sign!==r.sign);t.__initializeDigits();for(var o=0;o<e.length;o++)i.__multiplyAccumulate(r,e.__digit(o),t,o);return t.__trim()}},{key:"divide",value:function(e,r){if(0===r.length)throw new RangeError("Division by zero");if(0>i.__absoluteCompare(e,r))return i.__zero();var n,t=e.sign!==r.sign,o=r.__unsignedDigit(0);if(1===r.length&&32767>=o){if(1===o)return t===e.sign?e:i.unaryMinus(e);n=i.__absoluteDivSmall(e,o,null)}else n=i.__absoluteDivLarge(e,r,!0,!1);return n.sign=t,n.__trim()}},{key:"remainder",value:function(e,r){if(0===r.length)throw new RangeError("Division by zero");if(0>i.__absoluteCompare(e,r))return e;var n=r.__unsignedDigit(0);if(1===r.length&&32767>=n){if(1===n)return i.__zero();var t=i.__absoluteModSmall(e,n);return 0===t?i.__zero():i.__oneDigit(t,e.sign)}var o=i.__absoluteDivLarge(e,r,!1,!0);return o.sign=e.sign,o.__trim()}},{key:"add",value:function(e,r){var n=e.sign;return n===r.sign?i.__absoluteAdd(e,r,n):0<=i.__absoluteCompare(e,r)?i.__absoluteSub(e,r,n):i.__absoluteSub(r,e,!n)}},{key:"subtract",value:function(e,r){var n=e.sign;return n===r.sign?0<=i.__absoluteCompare(e,r)?i.__absoluteSub(e,r,n):i.__absoluteSub(r,e,!n):i.__absoluteAdd(e,r,n)}},{key:"leftShift",value:function(e,r){return 0===r.length||0===e.length?e:r.sign?i.__rightShiftByAbsolute(e,r):i.__leftShiftByAbsolute(e,r)}},{key:"signedRightShift",value:function(e,r){return 0===r.length||0===e.length?e:r.sign?i.__leftShiftByAbsolute(e,r):i.__rightShiftByAbsolute(e,r)}},{key:"unsignedRightShift",value:function(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}},{key:"lessThan",value:function(e,r){return 0>i.__compareToBigInt(e,r)}},{key:"lessThanOrEqual",value:function(e,r){return 0>=i.__compareToBigInt(e,r)}},{key:"greaterThan",value:function(e,r){return 0<i.__compareToBigInt(e,r)}},{key:"greaterThanOrEqual",value:function(e,r){return 0<=i.__compareToBigInt(e,r)}},{key:"equal",value:function(e,r){if(e.sign!==r.sign)return!1;if(e.length!==r.length)return!1;for(var n=0;n<e.length;n++)if(e.__digit(n)!==r.__digit(n))return!1;return!0}},{key:"notEqual",value:function(e,r){return!i.equal(e,r)}},{key:"bitwiseAnd",value:function(e,r){var n,t=Math.max;if(!e.sign&&!r.sign)return i.__absoluteAnd(e,r).__trim();if(e.sign&&r.sign){var o=t(e.length,r.length)+1,u=i.__absoluteSubOne(e,o),a=i.__absoluteSubOne(r);return u=i.__absoluteOr(u,a,u),i.__absoluteAddOne(u,!0,u).__trim()}return e.sign&&(e=(n=[r,e])[0],r=n[1]),i.__absoluteAndNot(e,i.__absoluteSubOne(r)).__trim()}},{key:"bitwiseXor",value:function(e,r){var n,t=Math.max;if(!e.sign&&!r.sign)return i.__absoluteXor(e,r).__trim();if(e.sign&&r.sign){var o=t(e.length,r.length),u=i.__absoluteSubOne(e,o),a=i.__absoluteSubOne(r);return i.__absoluteXor(u,a,u).__trim()}var s=t(e.length,r.length)+1;e.sign&&(e=(n=[r,e])[0],r=n[1]);var c=i.__absoluteSubOne(r,s);return c=i.__absoluteXor(c,e,c),i.__absoluteAddOne(c,!0,c).__trim()}},{key:"bitwiseOr",value:function(e,r){var n,t=(0,Math.max)(e.length,r.length);if(!e.sign&&!r.sign)return i.__absoluteOr(e,r).__trim();if(e.sign&&r.sign){var o=i.__absoluteSubOne(e,t),u=i.__absoluteSubOne(r);return o=i.__absoluteAnd(o,u,o),i.__absoluteAddOne(o,!0,o).__trim()}e.sign&&(e=(n=[r,e])[0],r=n[1]);var a=i.__absoluteSubOne(r,t);return a=i.__absoluteAndNot(a,e,a),i.__absoluteAddOne(a,!0,a).__trim()}},{key:"asIntN",value:function(e,r){var n=Math.floor;if(0===r.length)return r;if(0>(e=n(e)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===e)return i.__zero();if(e>=i.__kMaxLengthBits)return r;var t=0|(e+29)/30;if(r.length<t)return r;var o=r.__unsignedDigit(t-1),u=1<<(e-1)%30;if(r.length===t&&o<u)return r;if((o&u)!==u)return i.__truncateToNBits(e,r);if(!r.sign)return i.__truncateAndSubFromPowerOfTwo(e,r,!0);if(!(o&u-1)){for(var a=t-2;0<=a;a--)if(0!==r.__digit(a))return i.__truncateAndSubFromPowerOfTwo(e,r,!1);return r.length===t&&o===u?r:i.__truncateToNBits(e,r)}return i.__truncateAndSubFromPowerOfTwo(e,r,!1)}},{key:"asUintN",value:function(e,r){var n=Math.floor;if(0===r.length)return r;if(0>(e=n(e)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===e)return i.__zero();if(r.sign){if(e>i.__kMaxLengthBits)throw new RangeError("BigInt too big");return i.__truncateAndSubFromPowerOfTwo(e,r,!1)}if(e>=i.__kMaxLengthBits)return r;var t=0|(e+29)/30;if(r.length<t)return r;var o=e%30;if(r.length==t){if(0===o)return r;if(0==r.__digit(t-1)>>>o)return r}return i.__truncateToNBits(e,r)}},{key:"ADD",value:function(e,r){if(e=i.__toPrimitive(e),r=i.__toPrimitive(r),"string"==typeof e)return"string"!=typeof r&&(r=r.toString()),e+r;if("string"==typeof r)return e.toString()+r;if(e=i.__toNumeric(e),r=i.__toNumeric(r),i.__isBigInt(e)&&i.__isBigInt(r))return i.add(e,r);if("number"==typeof e&&"number"==typeof r)return e+r;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}},{key:"LT",value:function(e,r){return i.__compare(e,r,0)}},{key:"LE",value:function(e,r){return i.__compare(e,r,1)}},{key:"GT",value:function(e,r){return i.__compare(e,r,2)}},{key:"GE",value:function(e,r){return i.__compare(e,r,3)}},{key:"EQ",value:function(e,r){for(;;){if(i.__isBigInt(e))return i.__isBigInt(r)?i.equal(e,r):i.EQ(r,e);if("number"==typeof e){if(i.__isBigInt(r))return i.__equalToNumber(r,e);if("object"!=F(r))return e==r;r=i.__toPrimitive(r)}else if("string"==typeof e){if(i.__isBigInt(r))return null!==(e=i.__fromString(e))&&i.equal(e,r);if("object"!=F(r))return e==r;r=i.__toPrimitive(r)}else if("boolean"==typeof e){if(i.__isBigInt(r))return i.__equalToNumber(r,+e);if("object"!=F(r))return e==r;r=i.__toPrimitive(r)}else if("symbol"==F(e)){if(i.__isBigInt(r))return!1;if("object"!=F(r))return e==r;r=i.__toPrimitive(r)}else{if("object"!=F(e))return e==r;if("object"==F(r)&&r.constructor!==i)return e==r;e=i.__toPrimitive(e)}}}},{key:"NE",value:function(e,r){return!i.EQ(e,r)}},{key:"DataViewGetBigInt64",value:function(e,r){return i.asIntN(64,i.DataViewGetBigUint64(e,r,arguments.length>2&&void 0!==arguments[2]&&arguments[2]))}},{key:"DataViewGetBigUint64",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=D(n?[4,0]:[0,4],2),o=t[1],u=e.getUint32(r+t[0],n),a=e.getUint32(r+o,n),s=new i(3,!1);return s.__setDigit(0,1073741823&a),s.__setDigit(1,(268435455&u)<<2|a>>>30),s.__setDigit(2,u>>>28),s.__trim()}},{key:"DataViewSetBigInt64",value:function(e,r,n){i.DataViewSetBigUint64(e,r,n,arguments.length>3&&void 0!==arguments[3]&&arguments[3])}},{key:"DataViewSetBigUint64",value:function(e,r,n){var t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=0,u=0;if(0<(n=i.asUintN(64,n)).length&&(u=n.__digit(0),1<n.length)){var a=n.__digit(1);u|=a<<30,o=a>>>2,2<n.length&&(o|=n.__digit(2)<<28)}var s=D(t?[4,0]:[0,4],2),c=s[1];e.setUint32(r+s[0],o,t),e.setUint32(r+c,u,t)}},{key:"__zero",value:function(){return new i(0,!1)}},{key:"__oneDigit",value:function(e,r){var n=new i(1,r);return n.__setDigit(0,e),n}},{key:"__decideRounding",value:function(e,r,n,t){if(0<r)return-1;var i;if(0>r)i=-r-1;else{if(0===n)return-1;n--,t=e.__digit(n),i=29}var o=1<<i;if(!(t&o))return-1;if(t&(o-=1))return 1;for(;0<n;)if(n--,0!==e.__digit(n))return 1;return 0}},{key:"__fromDouble",value:function(e){i.__kBitConversionDouble[0]=e;var r,n=(2047&i.__kBitConversionInts[1]>>>20)-1023,t=1+(0|n/30),o=new i(t,0>e),u=1048575&i.__kBitConversionInts[1]|1048576,a=i.__kBitConversionInts[0],s=n%30,c=0;if(s<20){var f=20-s;c=f+32,r=u>>>f,u=u<<32-f|a>>>f,a<<=32-f}else if(20===s)c=32,r=u,u=a,a=0;else{var h=s-20;c=32-h,r=u<<h|a>>>32-h,u=a<<h,a=0}o.__setDigit(t-1,r);for(var d=t-2;0<=d;d--)0<c?(c-=30,r=u>>>2,u=u<<30|a>>>2,a<<=30):r=0,o.__setDigit(d,r);return o.__trim()}},{key:"__isWhitespace",value:function(e){return!!(13>=e&&9<=e)||(159>=e?32==e:131071>=e?160==e||5760==e:196607>=e?10>=(e&=131071)||40==e||41==e||47==e||95==e||4096==e:65279==e)}},{key:"__fromString",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0,t=e.length,o=0;if(o===t)return i.__zero();for(var u=e.charCodeAt(o);i.__isWhitespace(u);){if(++o===t)return i.__zero();u=e.charCodeAt(o)}if(43===u){if(++o===t)return null;u=e.charCodeAt(o),n=1}else if(45===u){if(++o===t)return null;u=e.charCodeAt(o),n=-1}if(0===r){if(r=10,48===u){if(++o===t)return i.__zero();if(88===(u=e.charCodeAt(o))||120===u){if(r=16,++o===t)return null;u=e.charCodeAt(o)}else if(79===u||111===u){if(r=8,++o===t)return null;u=e.charCodeAt(o)}else if(66===u||98===u){if(r=2,++o===t)return null;u=e.charCodeAt(o)}}}else if(16===r&&48===u){if(++o===t)return i.__zero();if(88===(u=e.charCodeAt(o))||120===u){if(++o===t)return null;u=e.charCodeAt(o)}}if(0!=n&&10!==r)return null;for(;48===u;){if(++o===t)return i.__zero();u=e.charCodeAt(o)}var a=t-o,s=i.__kMaxBitsPerChar[r],c=i.__kBitsPerCharTableMultiplier-1;if(a>1073741824/s)return null;var f=new i(0|(29+(s*a+c>>>i.__kBitsPerCharTableShift))/30,!1),h=10>r?r:10,d=10<r?r-10:0;if(r&r-1){f.__initializeDigits();var v=!1,l=0;do{for(var m=0,y=1;;){var D=void 0;if(u-48>>>0<h)D=u-48;else{if(!((32|u)-97>>>0<d)){v=!0;break}D=(32|u)-87}var w=y*r;if(1073741823<w)break;if(y=w,m=m*r+D,l++,++o===t){v=!0;break}u=e.charCodeAt(o)}var g=0|(s*l+(c=30*i.__kBitsPerCharTableMultiplier-1)>>>i.__kBitsPerCharTableShift)/30;f.__inplaceMultiplyAdd(y,m,g)}while(!v)}else{s>>=i.__kBitsPerCharTableShift;var F=[],p=[],E=!1;do{for(var k=0,b=0;;){var C=void 0;if(u-48>>>0<h)C=u-48;else{if(!((32|u)-97>>>0<d)){E=!0;break}C=(32|u)-87}if(b+=s,k=k<<s|C,++o===t){E=!0;break}if(u=e.charCodeAt(o),30<b+s)break}F.push(k),p.push(b)}while(!E);i.__fillFromParts(f,F,p)}if(o!==t){if(!i.__isWhitespace(u))return null;for(o++;o<t;o++)if(u=e.charCodeAt(o),!i.__isWhitespace(u))return null}return f.sign=-1==n,f.__trim()}},{key:"__fillFromParts",value:function(e,r,n){for(var t=0,i=0,o=0,u=r.length-1;0<=u;u--){var a=r[u],s=n[u];i|=a<<o,30===(o+=s)?(e.__setDigit(t++,i),o=0,i=0):30<o&&(e.__setDigit(t++,1073741823&i),i=a>>>s-(o-=30))}if(0!==i){if(t>=e.length)throw new Error("implementation bug");e.__setDigit(t++,i)}for(;t<e.length;t++)e.__setDigit(t,0)}},{key:"__toStringBasePowerOfTwo",value:function(e,r){var n=e.length,t=r-1,o=t=(15&(t=(51&(t=(85&t>>>1)+(85&t))>>>2)+(51&t))>>>4)+(15&t),u=r-1,a=e.__digit(n-1),s=0|(30*n-i.__clz30(a)+o-1)/o;if(e.sign&&s++,268435456<s)throw new Error("string too long");for(var c=Array(s),f=s-1,h=0,d=0,v=0;v<n-1;v++){var l=e.__digit(v);c[f--]=i.__kConversionChars[(h|l<<d)&u];var m=o-d;for(h=l>>>m,d=30-m;d>=o;)c[f--]=i.__kConversionChars[h&u],h>>>=o,d-=o}for(c[f--]=i.__kConversionChars[(h|a<<d)&u],h=a>>>o-d;0!==h;)c[f--]=i.__kConversionChars[h&u],h>>>=o;if(e.sign&&(c[f--]="-"),-1!=f)throw new Error("implementation bug");return c.join("")}},{key:"__toStringGeneric",value:function(e,r,n){var t=e.length;if(0===t)return"";if(1===t){var o=e.__unsignedDigit(0).toString(r);return!1===n&&e.sign&&(o="-"+o),o}var u,a,s=30*t-i.__clz30(e.__digit(t-1)),c=i.__kMaxBitsPerChar[r]-1,f=s*i.__kBitsPerCharTableMultiplier,h=1+(f=0|(f+=c-1)/c)>>1,d=i.exponentiate(i.__oneDigit(r,!1),i.__oneDigit(h,!1)),v=d.__unsignedDigit(0);if(1===d.length&&32767>=v){(u=new i(e.length,!1)).__initializeDigits();for(var l=0,m=2*e.length-1;0<=m;m--){var y=l<<15|e.__halfDigit(m);u.__setHalfDigit(m,0|y/v),l=0|y%v}a=l.toString(r)}else{var D=i.__absoluteDivLarge(e,d,!0,!0);u=D.quotient;var w=D.remainder.__trim();a=i.__toStringGeneric(w,r,!0)}u.__trim();for(var g=i.__toStringGeneric(u,r,!0);a.length<h;)a="0"+a;return!1===n&&e.sign&&(g="-"+g),g+a}},{key:"__unequalSign",value:function(e){return e?-1:1}},{key:"__absoluteGreater",value:function(e){return e?-1:1}},{key:"__absoluteLess",value:function(e){return e?1:-1}},{key:"__compareToBigInt",value:function(e,r){var n=e.sign;if(n!==r.sign)return i.__unequalSign(n);var t=i.__absoluteCompare(e,r);return 0<t?i.__absoluteGreater(n):0>t?i.__absoluteLess(n):0}},{key:"__compareToNumber",value:function(e,r){if(i.__isOneDigitInt(r)){var n=e.sign,t=0>r;if(n!==t)return i.__unequalSign(n);if(0===e.length){if(t)throw new Error("implementation bug");return 0===r?0:-1}if(1<e.length)return i.__absoluteGreater(n);var o=Math.abs(r),u=e.__unsignedDigit(0);return u>o?i.__absoluteGreater(n):u<o?i.__absoluteLess(n):0}return i.__compareToDouble(e,r)}},{key:"__compareToDouble",value:function(e,r){if(r!=r)return r;if(r===1/0)return-1;if(r===-1/0)return 1;var n=e.sign;if(n!==0>r)return i.__unequalSign(n);if(0===r)throw new Error("implementation bug: should be handled elsewhere");if(0===e.length)return-1;i.__kBitConversionDouble[0]=r;var t=2047&i.__kBitConversionInts[1]>>>20;if(2047==t)throw new Error("implementation bug: handled elsewhere");var o=t-1023;if(0>o)return i.__absoluteGreater(n);var u=e.length,a=e.__digit(u-1),s=i.__clz30(a),c=30*u-s,f=o+1;if(c<f)return i.__absoluteLess(n);if(c>f)return i.__absoluteGreater(n);var h=1048576|1048575&i.__kBitConversionInts[1],d=i.__kBitConversionInts[0],v=29-s;if(v!==(0|(c-1)%30))throw new Error("implementation bug");var l,m=0;if(20>v){var y=20-v;m=y+32,l=h>>>y,h=h<<32-y|d>>>y,d<<=32-y}else if(20===v)m=32,l=h,h=d,d=0;else{var D=v-20;m=32-D,l=h<<D|d>>>32-D,h=d<<D,d=0}if((a>>>=0)>(l>>>=0))return i.__absoluteGreater(n);if(a<l)return i.__absoluteLess(n);for(var w=u-2;0<=w;w--){0<m?(m-=30,l=h>>>2,h=h<<30|d>>>2,d<<=30):l=0;var g=e.__unsignedDigit(w);if(g>l)return i.__absoluteGreater(n);if(g<l)return i.__absoluteLess(n)}if(0!==h||0!==d){if(0===m)throw new Error("implementation bug");return i.__absoluteLess(n)}return 0}},{key:"__equalToNumber",value:function(e,r){var n=Math.abs;return i.__isOneDigitInt(r)?0===r?0===e.length:1===e.length&&e.sign===0>r&&e.__unsignedDigit(0)===n(r):0===i.__compareToDouble(e,r)}},{key:"__comparisonResultToBool",value:function(e,r){return 0===r?0>e:1===r?0>=e:2===r?0<e:3===r?0<=e:void 0}},{key:"__compare",value:function(e,r,n){if(e=i.__toPrimitive(e),r=i.__toPrimitive(r),"string"==typeof e&&"string"==typeof r)switch(n){case 0:return e<r;case 1:return e<=r;case 2:return e>r;case 3:return e>=r}if(i.__isBigInt(e)&&"string"==typeof r)return null!==(r=i.__fromString(r))&&i.__comparisonResultToBool(i.__compareToBigInt(e,r),n);if("string"==typeof e&&i.__isBigInt(r))return null!==(e=i.__fromString(e))&&i.__comparisonResultToBool(i.__compareToBigInt(e,r),n);if(e=i.__toNumeric(e),r=i.__toNumeric(r),i.__isBigInt(e)){if(i.__isBigInt(r))return i.__comparisonResultToBool(i.__compareToBigInt(e,r),n);if("number"!=typeof r)throw new Error("implementation bug");return i.__comparisonResultToBool(i.__compareToNumber(e,r),n)}if("number"!=typeof e)throw new Error("implementation bug");if(i.__isBigInt(r))return i.__comparisonResultToBool(i.__compareToNumber(r,e),2^n);if("number"!=typeof r)throw new Error("implementation bug");return 0===n?e<r:1===n?e<=r:2===n?e>r:3===n?e>=r:void 0}},{key:"__absoluteAdd",value:function(e,r,n){if(e.length<r.length)return i.__absoluteAdd(r,e,n);if(0===e.length)return e;if(0===r.length)return e.sign===n?e:i.unaryMinus(e);var t=e.length;(0===e.__clzmsd()||r.length===e.length&&0===r.__clzmsd())&&t++;for(var o=new i(t,n),u=0,a=0;a<r.length;a++){var s=e.__digit(a)+r.__digit(a)+u;u=s>>>30,o.__setDigit(a,1073741823&s)}for(;a<e.length;a++){var c=e.__digit(a)+u;u=c>>>30,o.__setDigit(a,1073741823&c)}return a<o.length&&o.__setDigit(a,u),o.__trim()}},{key:"__absoluteSub",value:function(e,r,n){if(0===e.length)return e;if(0===r.length)return e.sign===n?e:i.unaryMinus(e);for(var t=new i(e.length,n),o=0,u=0;u<r.length;u++){var a=e.__digit(u)-r.__digit(u)-o;o=1&a>>>30,t.__setDigit(u,1073741823&a)}for(;u<e.length;u++){var s=e.__digit(u)-o;o=1&s>>>30,t.__setDigit(u,1073741823&s)}return t.__trim()}},{key:"__absoluteAddOne",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=e.length;null===n?n=new i(t,r):n.sign=r;for(var o=1,u=0;u<t;u++){var a=e.__digit(u)+o;o=a>>>30,n.__setDigit(u,1073741823&a)}return 0!=o&&n.__setDigitGrow(t,1),n}},{key:"__absoluteSubOne",value:function(e,r){for(var n=e.length,t=new i(r=r||n,!1),o=1,u=0;u<n;u++){var a=e.__digit(u)-o;o=1&a>>>30,t.__setDigit(u,1073741823&a)}if(0!=o)throw new Error("implementation bug");for(var s=n;s<r;s++)t.__setDigit(s,0);return t}},{key:"__absoluteAnd",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=e.length,o=r.length,u=o;if(t<o){u=t;var a=e,s=t;e=r,t=o,r=a,o=s}var c=u;null===n?n=new i(c,!1):c=n.length;for(var f=0;f<u;f++)n.__setDigit(f,e.__digit(f)&r.__digit(f));for(;f<c;f++)n.__setDigit(f,0);return n}},{key:"__absoluteAndNot",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=e.length,o=r.length,u=o;t<o&&(u=t);var a=t;null===n?n=new i(a,!1):a=n.length;for(var s=0;s<u;s++)n.__setDigit(s,e.__digit(s)&~r.__digit(s));for(;s<t;s++)n.__setDigit(s,e.__digit(s));for(;s<a;s++)n.__setDigit(s,0);return n}},{key:"__absoluteOr",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=e.length,o=r.length,u=o;if(t<o){u=t;var a=e,s=t;e=r,t=o,r=a,o=s}var c=t;null===n?n=new i(c,!1):c=n.length;for(var f=0;f<u;f++)n.__setDigit(f,e.__digit(f)|r.__digit(f));for(;f<t;f++)n.__setDigit(f,e.__digit(f));for(;f<c;f++)n.__setDigit(f,0);return n}},{key:"__absoluteXor",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=e.length,o=r.length,u=o;if(t<o){u=t;var a=e,s=t;e=r,t=o,r=a,o=s}var c=t;null===n?n=new i(c,!1):c=n.length;for(var f=0;f<u;f++)n.__setDigit(f,e.__digit(f)^r.__digit(f));for(;f<t;f++)n.__setDigit(f,e.__digit(f));for(;f<c;f++)n.__setDigit(f,0);return n}},{key:"__absoluteCompare",value:function(e,r){var n=e.length-r.length;if(0!=n)return n;for(var t=e.length-1;0<=t&&e.__digit(t)===r.__digit(t);)t--;return 0>t?0:e.__unsignedDigit(t)>r.__unsignedDigit(t)?1:-1}},{key:"__multiplyAccumulate",value:function(e,r,n,t){if(0!==r){for(var o,u=32767&r,a=r>>>15,s=0,c=0,f=0;f<e.length;f++,t++){o=n.__digit(t);var h=e.__digit(f),d=32767&h,v=h>>>15,l=i.__imul(d,u),m=i.__imul(d,a),y=i.__imul(v,u);s=(o+=c+l+s)>>>30,o&=1073741823,s+=(o+=((32767&m)<<15)+((32767&y)<<15))>>>30,c=i.__imul(v,a)+(m>>>15)+(y>>>15),n.__setDigit(t,1073741823&o)}for(;0!=s||0!==c;t++){var D=n.__digit(t);D+=s+c,c=0,s=D>>>30,n.__setDigit(t,1073741823&D)}}}},{key:"__internalMultiplyAdd",value:function(e,r,n,t,o){for(var u=n,a=0,s=0;s<t;s++){var c=e.__digit(s),f=i.__imul(32767&c,r),h=i.__imul(c>>>15,r),d=f+((32767&h)<<15)+a+u;u=d>>>30,a=h>>>15,o.__setDigit(s,1073741823&d)}if(o.length>t)for(o.__setDigit(t++,u+a);t<o.length;)o.__setDigit(t++,0);else if(0!==u+a)throw new Error("implementation bug")}},{key:"__absoluteDivSmall",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;null===n&&(n=new i(e.length,!1));for(var t,o=0,u=2*e.length-1;0<=u;u-=2){var a=0|(t=(o<<15|e.__halfDigit(u))>>>0)/r,s=0|(t=((o=0|t%r)<<15|e.__halfDigit(u-1))>>>0)/r;o=0|t%r,n.__setDigit(u>>>1,a<<15|s)}return n}},{key:"__absoluteModSmall",value:function(e,r){for(var n=0,t=2*e.length-1;0<=t;t--)n=0|((n<<15|e.__halfDigit(t))>>>0)%r;return n}},{key:"__absoluteDivLarge",value:function(e,r,n,t){var o=r.__halfDigitLength(),u=r.length,a=e.__halfDigitLength()-o,s=null;n&&(s=new i(a+2>>>1,!1)).__initializeDigits();var c=new i(o+2>>>1,!1);c.__initializeDigits();var f=i.__clz15(r.__halfDigit(o-1));0<f&&(r=i.__specialLeftShift(r,f,0));for(var h,d=i.__specialLeftShift(e,f,1),v=r.__halfDigit(o-1),l=0,m=a;0<=m;m--){h=32767;var y=d.__halfDigit(m+o);if(y!==v){var D=(y<<15|d.__halfDigit(m+o-1))>>>0;h=0|D/v;for(var w=0|D%v,g=r.__halfDigit(o-2),F=d.__halfDigit(m+o-2);i.__imul(h,g)>>>0>(w<<16|F)>>>0&&(h--,!(32767<(w+=v))););}i.__internalMultiplyAdd(r,h,0,u,c);var p=d.__inplaceSub(c,m,o+1);0!==p&&(p=d.__inplaceAdd(r,m,o),d.__setHalfDigit(m+o,32767&d.__halfDigit(m+o)+p),h--),n&&(1&m?l=h<<15:s.__setDigit(m>>>1,l|h))}if(t)return d.__inplaceRightShift(f),n?{quotient:s,remainder:d}:d;if(n)return s;throw new Error("unreachable")}},{key:"__clz15",value:function(e){return i.__clz30(e)-15}},{key:"__specialLeftShift",value:function(e,r,n){var t=e.length,o=new i(t+n,!1);if(0===r){for(var u=0;u<t;u++)o.__setDigit(u,e.__digit(u));return 0<n&&o.__setDigit(t,0),o}for(var a=0,s=0;s<t;s++){var c=e.__digit(s);o.__setDigit(s,1073741823&c<<r|a),a=c>>>30-r}return 0<n&&o.__setDigit(t,a),o}},{key:"__leftShiftByAbsolute",value:function(e,r){var n=i.__toShiftAmount(r);if(0>n)throw new RangeError("BigInt too big");var t=0|n/30,o=n%30,u=e.length,a=0!==o&&0!=e.__digit(u-1)>>>30-o,s=u+t+(a?1:0),c=new i(s,e.sign);if(0===o){for(var f=0;f<t;f++)c.__setDigit(f,0);for(;f<s;f++)c.__setDigit(f,e.__digit(f-t))}else{for(var h=0,d=0;d<t;d++)c.__setDigit(d,0);for(var v=0;v<u;v++){var l=e.__digit(v);c.__setDigit(v+t,1073741823&l<<o|h),h=l>>>30-o}if(a)c.__setDigit(u+t,h);else if(0!==h)throw new Error("implementation bug")}return c.__trim()}},{key:"__rightShiftByAbsolute",value:function(e,r){var n=e.length,t=e.sign,o=i.__toShiftAmount(r);if(0>o)return i.__rightShiftByMaximum(t);var u=0|o/30,a=o%30,s=n-u;if(0>=s)return i.__rightShiftByMaximum(t);var c=!1;if(t)if(e.__digit(u)&(1<<a)-1)c=!0;else for(var f=0;f<u;f++)if(0!==e.__digit(f)){c=!0;break}c&&0===a&&0==~e.__digit(n-1)&&s++;var h=new i(s,t);if(0===a){h.__setDigit(s-1,0);for(var d=u;d<n;d++)h.__setDigit(d-u,e.__digit(d))}else{for(var v=e.__digit(u)>>>a,l=n-u-1,m=0;m<l;m++){var y=e.__digit(m+u+1);h.__setDigit(m,1073741823&y<<30-a|v),v=y>>>a}h.__setDigit(l,v)}return c&&(h=i.__absoluteAddOne(h,!0,h)),h.__trim()}},{key:"__rightShiftByMaximum",value:function(e){return e?i.__oneDigit(1,!0):i.__zero()}},{key:"__toShiftAmount",value:function(e){if(1<e.length)return-1;var r=e.__unsignedDigit(0);return r>i.__kMaxLengthBits?-1:r}},{key:"__toPrimitive",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";if("object"!=F(e))return e;if(e.constructor===i)return e;if("undefined"!=typeof Symbol&&"symbol"==F(Symbol.toPrimitive)){var n=e[Symbol.toPrimitive];if(n){var t=n(r);if("object"!=F(t))return t;throw new TypeError("Cannot convert object to primitive value")}}var o=e.valueOf;if(o){var u=o.call(e);if("object"!=F(u))return u}var a=e.toString;if(a){var s=a.call(e);if("object"!=F(s))return s}throw new TypeError("Cannot convert object to primitive value")}},{key:"__toNumeric",value:function(e){return i.__isBigInt(e)?e:+e}},{key:"__isBigInt",value:function(e){return"object"==F(e)&&null!==e&&e.constructor===i}},{key:"__truncateToNBits",value:function(e,r){for(var n=0|(e+29)/30,t=new i(n,r.sign),o=n-1,u=0;u<o;u++)t.__setDigit(u,r.__digit(u));var a=r.__digit(o);if(0!=e%30){var s=32-e%30;a=a<<s>>>s}return t.__setDigit(o,a),t.__trim()}},{key:"__truncateAndSubFromPowerOfTwo",value:function(e,r,n){for(var t=Math.min,o=0|(e+29)/30,u=new i(o,n),a=0,s=o-1,c=0,f=t(s,r.length);a<f;a++){var h=0-r.__digit(a)-c;c=1&h>>>30,u.__setDigit(a,1073741823&h)}for(;a<s;a++)u.__setDigit(a,1073741823&-c);var d,v=s<r.length?r.__digit(s):0,l=e%30;if(0==l)d=0-v-c,d&=1073741823;else{var m=32-l,y=1<<32-m;d=y-(v=v<<m>>>m)-c,d&=y-1}return u.__setDigit(s,d),u.__trim()}},{key:"__digitPow",value:function(e,r){for(var n=1;0<r;)1&r&&(n*=e),r>>>=1,e*=e;return n}},{key:"__isOneDigitInt",value:function(e){return(1073741823&e)===e}}]),i}(E(Array));k.__kMaxLength=33554432,k.__kMaxLengthBits=k.__kMaxLength<<5,k.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],k.__kBitsPerCharTableShift=5,k.__kBitsPerCharTableMultiplier=1<<k.__kBitsPerCharTableShift,k.__kConversionChars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],k.__kBitConversionBuffer=new ArrayBuffer(8),k.__kBitConversionDouble=new Float64Array(k.__kBitConversionBuffer),k.__kBitConversionInts=new Int32Array(k.__kBitConversionBuffer),k.__clz30=Math.clz32?function(e){return Math.clz32(e)-2}:function(e){return 0===e?30:0|29-(0|Math.log(e>>>0)/Math.LN2)},k.__imul=Math.imul||function(e,r){return 0|e*r};var b,C,A=k.BigInt(0),M=k.BigInt(1),T=k.BigInt(2),B=k.BigInt(10),I=k.BigInt(24),R=k.BigInt(60),O=k.BigInt(1e3),j=k.BigInt(1e6),S=k.BigInt(1e9),x=k.multiply(k.BigInt(3600),S),_=k.multiply(R,S),Y=k.multiply(x,I);function N(e){return"bigint"==typeof e?k.BigInt(e.toString(10)):e}function L(e){return k.equal(k.remainder(e,T),A)}function P(e){return k.lessThan(e,A)?k.unaryMinus(e):e}function U(e,r){return k.lessThan(e,r)?-1:k.greaterThan(e,r)?1:0}function z(e,r){return{quotient:k.divide(e,r),remainder:k.remainder(e,r)}}var Z="slot-epochNanoSeconds",q="slot-iso-date",W="slot-iso-date-time",$="slot-time",J="slot-calendar",G="slot-date-brand",H="slot-year-month-brand",K="slot-month-day-brand",V="slot-time-zone",X="slot-years",Q="slot-months",ee="slot-weeks",re="slot-days",ne="slot-hours",te="slot-minutes",ie="slot-seconds",oe="slot-milliseconds",ue="slot-microseconds",ae="slot-nanoseconds",se="date",ce="ym",fe="md",he="time",de="datetime",ve="instant",le="original",me="timezone-canonical",ye="timezone-original",De="calendar-id",we="locale",ge="options",Fe=new WeakMap,pe=Symbol.for("@@Temporal__GetSlots");(b=globalThis)[pe]||(b[pe]=function(e){return Fe.get(e)});var Ee=globalThis[pe],ke=Symbol.for("@@Temporal__CreateSlots");(C=globalThis)[ke]||(C[ke]=function(e){Fe.set(e,Object.create(null))});var be,Ce=globalThis[ke];function Ae(e){if(!e||"object"!==F(e))return!1;for(var r=Ee(e),n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++)t[i-1]=arguments[i];return!!r&&t.every((function(e){return e in r}))}function Me(e,r){var n,t=null===(n=Ee(e))||void 0===n?void 0:n[r];if(void 0===t)throw new TypeError("Missing internal slot ".concat(r));return t}function Te(e,r,n){var t=Ee(e);if(void 0===t)throw new TypeError("Missing slots for the given container");if(t[r])throw new TypeError("".concat(r," already has set"));t[r]=n}var Be={};function Ie(e,r){Object.defineProperty(e.prototype,Symbol.toStringTag,{value:r,writable:!1,enumerable:!1,configurable:!0});for(var n=Object.getOwnPropertyNames(e),t=0;t<n.length;t++){var i=n[t],o=Object.getOwnPropertyDescriptor(e,i);o.configurable&&o.enumerable&&(o.enumerable=!1,Object.defineProperty(e,i,o))}for(var u=Object.getOwnPropertyNames(e.prototype),a=0;a<u.length;a++){var s=u[a],c=Object.getOwnPropertyDescriptor(e.prototype,s);c.configurable&&c.enumerable&&(c.enumerable=!1,Object.defineProperty(e.prototype,s,c))}Re(r,e),Re("".concat(r,".prototype"),e.prototype)}function Re(e,r){var n="%".concat(e,"%");if(void 0!==Be[n])throw new Error("intrinsic ".concat(e," already exists"));Be[n]=r}function Oe(e){return Be[e]}function je(e,r){var n=e;if(0===n)return{div:n,mod:n};var t=Math.sign(n);n=Math.abs(n);var i=Math.trunc(1+Math.log10(n));if(r>=i)return{div:0*t,mod:t*n};if(0===r)return{div:t*n,mod:0*t};var o=n.toPrecision(i);return{div:t*Number.parseInt(o.slice(0,i-r),10),mod:t*Number.parseInt(o.slice(i-r),10)}}function Se(e,r,n){var t=e,i=n;if(0===t)return i;var o=Math.sign(t)||Math.sign(i);t=Math.abs(t),i=Math.abs(i);var u=t.toPrecision(Math.trunc(1+Math.log10(t)));if(0===i)return o*Number.parseInt(u+"0".repeat(r),10);var a=u+i.toPrecision(Math.trunc(1+Math.log10(i))).padStart(r,"0");return o*Number.parseInt(a,10)}function xe(e,r){var n="negative"===r;switch(e){case"ceil":return n?"zero":"infinity";case"floor":return n?"infinity":"zero";case"expand":return"infinity";case"trunc":return"zero";case"halfCeil":return n?"half-zero":"half-infinity";case"halfFloor":return n?"half-infinity":"half-zero";case"halfExpand":return"half-infinity";case"halfTrunc":return"half-zero";case"halfEven":return"half-even"}}function _e(e,r,n,t,i){return"zero"===i?e:"infinity"===i?r:n<0?e:n>0?r:"half-zero"===i?e:"half-infinity"===i?r:t?e:r}s(be={},"Intl.DateTimeFormat",(function(e,r,n){return n(Me(this,le),l({depth:e},r))})),s(be,"Temporal.Duration",(function(e,r){var n=r.stylize(this._repr_,"special");if(e<1)return n;for(var t=[],i=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],o=0;o<i.length;o++){var u=i[o];0!==this[u]&&t.push(" ".concat(u,": ").concat(r.stylize(this[u],"number")))}return n+" {\n"+t.join(",\n")+"\n}"}));var Ye=function(){function e(r){t(this,e),this.totalNs=N(r),this.sec=k.toNumber(k.divide(this.totalNs,S)),this.subsec=k.toNumber(k.remainder(this.totalNs,S))}return o(e,[{key:"abs",value:function(){return new e(P(this.totalNs))}},{key:"add",value:function(r){return e.validateNew(k.add(this.totalNs,r.totalNs),"sum")}},{key:"add24HourDays",value:function(r){return e.validateNew(k.add(this.totalNs,k.multiply(k.BigInt(r),Y)),"sum")}},{key:"addToEpochNs",value:function(e){return k.add(N(e),this.totalNs)}},{key:"cmp",value:function(e){return U(this.totalNs,e.totalNs)}},{key:"divmod",value:function(r){var n=z(this.totalNs,k.BigInt(r)),t=n.remainder;return{quotient:k.toNumber(n.quotient),remainder:new e(t)}}},{key:"fdiv",value:function(e){for(var r=N(e),n=k.BigInt(r),t=z(this.totalNs,n),i=t.quotient,o=t.remainder,u=[],a=(k.lessThan(this.totalNs,A)?-1:1)*Math.sign(k.toNumber(r));!k.equal(o,A)&&u.length<50;){var s=z(o=k.multiply(o,B),n);o=s.remainder,u.push(Math.abs(k.toNumber(s.quotient)))}return a*Number(P(i).toString()+"."+u.join(""))}},{key:"isZero",value:function(){return k.equal(this.totalNs,A)}},{key:"round",value:function(r,n){var t=N(r);if(k.equal(t,M))return this;var i=z(this.totalNs,t),o=i.quotient,u=i.remainder,a=k.lessThan(this.totalNs,A)?"negative":"positive",s=k.multiply(P(o),t),c=k.add(s,t),f=U(P(k.multiply(u,T)),t),h=xe(n,a),d=k.equal(P(this.totalNs),s)?s:_e(s,c,f,L(o),h),v="positive"===a?d:k.unaryMinus(d);return e.validateNew(v,"rounding")}},{key:"sign",value:function(){return this.cmp(new e(A))}},{key:"subtract",value:function(r){return e.validateNew(k.subtract(this.totalNs,r.totalNs),"difference")}}],[{key:"validateNew",value:function(r,n){if(k.greaterThan(P(r),e.MAX))throw new RangeError("".concat(n," of duration time units cannot exceed ").concat(e.MAX," s"));return new e(r)}},{key:"fromEpochNsDiff",value:function(r,n){return new e(k.subtract(N(r),N(n)))}},{key:"fromComponents",value:function(r,n,t,i,o,u){var a=k.add(k.add(k.add(k.add(k.add(k.BigInt(u),k.multiply(k.BigInt(o),O)),k.multiply(k.BigInt(i),j)),k.multiply(k.BigInt(t),S)),k.multiply(k.BigInt(n),_)),k.multiply(k.BigInt(r),x));return e.validateNew(a,"total")}}]),e}();Ye.MAX=k.BigInt("9007199254740991999999999"),Ye.ZERO=new Ye(A);var Ne=/[A-Za-z._][A-Za-z._0-9+-]*/,Le=new RegExp("(?:".concat(/(?:[+-](?:[01][0-9]|2[0-3])(?::?[0-5][0-9])?)/.source,"|(?:").concat(Ne.source,")(?:\\/(?:").concat(Ne.source,"))*)")),Pe=/(?:[+-]\d{6}|\d{4})/,Ue=/(?:0[1-9]|1[0-2])/,ze=/(?:0[1-9]|[12]\d|3[01])/,Ze=new RegExp("(".concat(Pe.source,")(?:-(").concat(Ue.source,")-(").concat(ze.source,")|(").concat(Ue.source,")(").concat(ze.source,"))")),qe=/(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/,We=/((?:[+-])(?:[01][0-9]|2[0-3])(?::?(?:[0-5][0-9])(?::?(?:[0-5][0-9])(?:[.,](?:\d{1,9}))?)?)?)/,$e=new RegExp("([zZ])|".concat(We.source,"?")),Je=/\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g,Ge=new RegExp(["^".concat(Ze.source),"(?:(?:[tT]|\\s+)".concat(qe.source,"(?:").concat($e.source,")?)?"),"(?:\\[!?(".concat(Le.source,")\\])?"),"((?:".concat(Je.source,")*)$")].join("")),He=new RegExp(["^[tT]?".concat(qe.source),"(?:".concat($e.source,")?"),"(?:\\[!?".concat(Le.source,"\\])?"),"((?:".concat(Je.source,")*)$")].join("")),Ke=new RegExp("^(".concat(Pe.source,")-?(").concat(Ue.source,")(?:\\[!?").concat(Le.source,"\\])?((?:").concat(Je.source,")*)$")),Ve=new RegExp("^(?:--)?(".concat(Ue.source,")-?(").concat(ze.source,")(?:\\[!?").concat(Le.source,"\\])?((?:").concat(Je.source,")*)$")),Xe=/(\d+)(?:[.,](\d{1,9}))?/,Qe=new RegExp("(?:".concat(Xe.source,"H)?(?:").concat(Xe.source,"M)?(?:").concat(Xe.source,"S)?")),er=new RegExp("^([+-])?P".concat(/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source,"(?:T(?!$)").concat(Qe.source,")?$"),"i"),rr=864e5,nr=1e6*rr,tr=6e10,ir=1e8*rr,or=oo(ir),ur=k.unaryMinus(or),ar=k.add(k.subtract(ur,Y),M),sr=k.subtract(k.add(or,Y),M),cr=146097*rr,fr=-271821,hr=275760,dr=Date.UTC(1847,0,1),vr=["iso8601","hebrew","islamic","islamic-umalqura","islamic-tbla","islamic-civil","islamic-rgsa","islamicc","persian","ethiopic","ethioaa","ethiopic-amete-alem","coptic","chinese","dangi","roc","indian","buddhist","japanese","gregory"],lr=new Set(["ACT","AET","AGT","ART","AST","BET","BST","CAT","CNT","CST","CTT","EAT","ECT","IET","IST","JST","MIT","NET","NST","PLT","PNT","PRT","PST","SST","VST"]);function mr(e){return"object"===F(e)&&null!==e||"function"==typeof e}function yr(e){if("bigint"==typeof e)throw new TypeError("Cannot convert BigInt to number");return Number(e)}function Dr(e){if("symbol"===F(e))throw new TypeError("Cannot convert a Symbol value to a String");return String(e)}function wr(e){var r=yr(e);if(0===r)return 0;if(Number.isNaN(r)||r===1/0||r===-1/0)throw new RangeError("invalid number value");var n=Math.trunc(r);return 0===n?0:n}function gr(e,r){var n=wr(e);if(n<=0){if(void 0!==r)throw new RangeError("property '".concat(r,"' cannot be a a number less than one"));throw new RangeError("Cannot convert a number less than one to a positive integer")}return n}function Fr(e){var r=yr(e);if(Number.isNaN(r))throw new RangeError("not a number");if(r===1/0||r===-1/0)throw new RangeError("infinity is out of range");if(!function(e){if("number"!=typeof e||Number.isNaN(e)||e===1/0||e===-1/0)return!1;var r=Math.abs(e);return Math.floor(r)===r}(r))throw new RangeError("unsupported fractional value ".concat(e));return 0===r?0:r}function pr(e,r){return String(e).padStart(r,"0")}function Er(e){if("string"!=typeof e)throw new TypeError("expected a string, not ".concat(String(e)));return e}function kr(e){if(mr(e)){var r=null==e?void 0:e.toString();if("string"==typeof r||"number"==typeof r)return r;throw new TypeError("Cannot convert object to primitive value")}return e}var br=["era","eraYear","year","month","monthCode","day","hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],Cr={era:Dr,eraYear:wr,year:wr,month:gr,monthCode:function(e){var r=Er(kr(e));if(r.length<3||r.length>4||"M"!==r[0]||-1==="0123456789".indexOf(r[1])||-1==="0123456789".indexOf(r[2])||r[1]+r[2]==="00"&&"L"!==r[3]||"L"!==r[3]&&void 0!==r[3])throw new RangeError("bad month code ".concat(r,"; must match M01-M99 or M00L-M99L"));return r},day:gr,hour:wr,minute:wr,second:wr,millisecond:wr,microsecond:wr,nanosecond:wr,offset:function(e){var r=Er(kr(e));return Ot(r),r},timeZone:ft},Ar={hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},Mr=[["years","year","date"],["months","month","date"],["weeks","week","date"],["days","day","date"],["hours","hour","time"],["minutes","minute","time"],["seconds","second","time"],["milliseconds","millisecond","time"],["microseconds","microsecond","time"],["nanoseconds","nanosecond","time"]],Tr=Object.fromEntries(Mr.map((function(e){return[e[0],e[1]]}))),Br=Object.fromEntries(Mr.map((function(e){var r=D(e,2);return[r[1],r[0]]}))),Ir=Mr.map((function(e){return D(e,2)[1]})),Rr={day:nr,hour:36e11,minute:6e10,second:1e9,millisecond:1e6,microsecond:1e3,nanosecond:1},Or=["days","hours","microseconds","milliseconds","minutes","months","nanoseconds","seconds","weeks","years"],jr=Intl.DateTimeFormat,Sr=new Map;function xr(e){var r=yo(e),n=Sr.get(r);return void 0===n&&(n=new jr("en-us",{timeZone:r,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Sr.set(r,n)),n}function _r(e){return Ae(e,Z)&&!Ae(e,V,J)}function Yr(e){return Ae(e,X,Q,re,ne,te,ie,oe,ue,ae)}function Nr(e){return Ae(e,G)}function Lr(e){return Ae(e,$)}function Pr(e){return Ae(e,W)}function Ur(e){return Ae(e,H)}function zr(e){return Ae(e,K)}function Zr(e){return Ae(e,Z,V,J)}function qr(e,r){if(!r(e))throw new TypeError("invalid receiver: method called with the wrong type of this-object")}function Wr(e){if(Ae(e,J)||Ae(e,V))throw new TypeError("with() does not support a calendar or timeZone property");if(Lr(e))throw new TypeError("with() does not accept Temporal.PlainTime, use withPlainTime() instead");if(void 0!==e.calendar)throw new TypeError("with() does not support a calendar property");if(void 0!==e.timeZone)throw new TypeError("with() does not support a timeZone property")}function $r(e,r){return"never"===r||"auto"===r&&"iso8601"===e?"":"[".concat("critical"===r?"!":"","u-ca=").concat(e,"]")}function Jr(e){var r,n,t=!1;for(Je.lastIndex=0;n=Je.exec(e);){var i=n[1],o=n[2],u=n[3];if("u-ca"===o){if(void 0===r)r=u,t="!"===i;else if("!"===i||t)throw new RangeError("Invalid annotations in ".concat(e,": more than one u-ca present with critical flag"))}else if("!"===i)throw new RangeError("Unrecognized annotation: !".concat(o,"=").concat(u))}return r}function Gr(e){var r,n,t,i,o,u,a,s,c,f,h,d=Ge.exec(e);if(!d)throw new RangeError("invalid RFC 9557 string: ".concat(e));var v=Jr(d[16]),l=d[1];if("-000000"===l)throw new RangeError("invalid RFC 9557 string: ".concat(e));var m=+l,y=+(null!==(r=null!==(n=d[2])&&void 0!==n?n:d[4])&&void 0!==r?r:1),D=+(null!==(t=null!==(i=d[3])&&void 0!==i?i:d[5])&&void 0!==t?t:1),w=void 0!==d[6],g=+(null!==(o=d[6])&&void 0!==o?o:0),F=+(null!==(u=null!==(a=d[7])&&void 0!==a?a:d[10])&&void 0!==u?u:0),p=+(null!==(s=null!==(c=d[8])&&void 0!==c?c:d[11])&&void 0!==s?s:0);60===p&&(p=59);var E,k=(null!==(f=null!==(h=d[9])&&void 0!==h?h:d[12])&&void 0!==f?f:"")+"000000000",b=+k.slice(0,3),C=+k.slice(3,6),A=+k.slice(6,9),M=!1;d[13]?(E=void 0,M=!0):d[14]&&(E=d[14]);var T=d[15];return ci(m,y,D,g,F,p,b,C,A),{year:m,month:y,day:D,time:w?{hour:g,minute:F,second:p,millisecond:b,microsecond:C,nanosecond:A}:"start-of-day",tzAnnotation:T,offset:E,z:M,calendar:v}}function Hr(e){var r,n,t,i,o,u,a,s=He.exec(e);if(s){var c,f,h,d,v,l,m;a=Jr(s[10]),r=+(null!==(c=s[1])&&void 0!==c?c:0),n=+(null!==(f=null!==(h=s[2])&&void 0!==h?h:s[5])&&void 0!==f?f:0),60==(t=+(null!==(d=null!==(v=s[3])&&void 0!==v?v:s[6])&&void 0!==d?d:0))&&(t=59);var y=(null!==(l=null!==(m=s[4])&&void 0!==m?m:s[7])&&void 0!==l?l:"")+"000000000";if(i=+y.slice(0,3),o=+y.slice(3,6),u=+y.slice(6,9),s[8])throw new RangeError("Z designator not supported for PlainTime")}else{var D,w,g=Gr(e);if(w=g.z,a=g.calendar,"start-of-day"===(D=g.time))throw new RangeError("time is missing in string: ".concat(e));if(w)throw new RangeError("Z designator not supported for PlainTime");r=D.hour,n=D.minute,t=D.second,i=D.millisecond,o=D.microsecond,u=D.nanosecond}if(si(r,n,t,i,o,u),/[tT ][0-9][0-9]/.test(e))return{hour:r,minute:n,second:t,millisecond:i,microsecond:o,nanosecond:u,calendar:a};try{var F=Vr(e);ui(1972,F.month,F.day)}catch(s){try{var p=Kr(e);ui(p.year,p.month,1)}catch(e){return{hour:r,minute:n,second:t,millisecond:i,microsecond:o,nanosecond:u,calendar:a}}}throw new RangeError("invalid RFC 9557 time-only string ".concat(e,"; may need a T prefix"))}function Kr(e){var r,n,t,i,o=Ke.exec(e);if(o){t=Jr(o[3]);var u=o[1];if("-000000"===u)throw new RangeError("invalid RFC 9557 string: ".concat(e));if(r=+u,n=+o[2],i=1,void 0!==t&&"iso8601"!==t)throw new RangeError("YYYY-MM format is only valid with iso8601 calendar")}else{var a=Gr(e);if(r=a.year,n=a.month,t=a.calendar,i=a.day,a.z)throw new RangeError("Z designator not supported for PlainYearMonth")}return{year:r,month:n,calendar:t,referenceISODay:i}}function Vr(e){var r,n,t,i,o=Ve.exec(e);if(o){if(t=Jr(o[3]),r=+o[1],n=+o[2],void 0!==t&&"iso8601"!==t)throw new RangeError("MM-DD format is only valid with iso8601 calendar")}else{var u=Gr(e);if(r=u.month,n=u.day,t=u.calendar,i=u.year,u.z)throw new RangeError("Z designator not supported for PlainMonthDay")}return{month:r,day:n,calendar:t,referenceISOYear:i}}var Xr=new RegExp("^".concat(Le.source,"$"),"i"),Qr=new RegExp("^".concat(/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])?)?/.source,"$"));function en(e){var r=wo.test(e)?"Seconds not allowed in offset time zone":"Invalid time zone";throw new RangeError("".concat(r,": ").concat(e))}function rn(e){return Xr.test(e)||en(e),Qr.test(e)?{offsetMinutes:Ot(e)/6e10}:{tzName:e}}function nn(e,r,n,t){var i=e,o=r,u=n;switch(t){case"reject":ui(i,o,u);break;case"constrain":var a=ii(i,o,u);i=a.year,o=a.month,u=a.day}return{year:i,month:o,day:u}}function tn(e,r,n,t,i,o,u){var a=e,s=r,c=n,f=t,h=i,d=o;switch(u){case"reject":si(a,s,c,f,h,d);break;case"constrain":a=ti(a,0,23),s=ti(s,0,59),c=ti(c,0,59),f=ti(f,0,999),h=ti(h,0,999),d=ti(d,0,999)}return{hour:a,minute:s,second:c,millisecond:f,microsecond:h,nanosecond:d}}function on(e){if(!mr(e))throw new TypeError("invalid duration-like");for(var r={years:void 0,months:void 0,weeks:void 0,days:void 0,hours:void 0,minutes:void 0,seconds:void 0,milliseconds:void 0,microseconds:void 0,nanoseconds:void 0},n=!1,t=0;t<Or.length;t++){var i=Or[t],o=e[i];void 0!==o&&(n=!0,r[i]=Fr(o))}if(!n)throw new TypeError("invalid duration-like");return r}function un(e,r,n,t){return{years:e.years,months:null!=t?t:e.months,weeks:null!=n?n:e.weeks,days:null!=r?r:e.days}}function an(e,r){return{isoDate:e,time:r}}function sn(e){return lo(e,"overflow",["constrain","reject"],"constrain")}function cn(e){return lo(e,"disambiguation",["compatible","earlier","later","reject"],"compatible")}function fn(e,r){return lo(e,"roundingMode",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],r)}function hn(e,r){return lo(e,"offset",["prefer","use","ignore","reject"],r)}function dn(e){return lo(e,"calendarName",["auto","always","never","critical"],"auto")}function vn(e){var r=e.roundingIncrement;if(void 0===r)return 1;var n=wr(r);if(n<1||n>1e9)throw new RangeError("roundingIncrement must be at least 1 and at most 1e9, not ".concat(r));return n}function ln(e,r,n){var t=n?r:r-1;if(e>t)throw new RangeError("roundingIncrement must be at least 1 and less than ".concat(t,", not ").concat(e));if(r%e!=0)throw new RangeError("Rounding increment must divide evenly into ".concat(r))}function mn(e){var r=e.fractionalSecondDigits;if(void 0===r)return"auto";if("number"!=typeof r){if("auto"!==Dr(r))throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(r));return"auto"}var n=Math.floor(r);if(!Number.isFinite(n)||n<0||n>9)throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(r));return n}function yn(e,r){switch(e){case"minute":return{precision:"minute",unit:"minute",increment:1};case"second":return{precision:0,unit:"second",increment:1};case"millisecond":return{precision:3,unit:"millisecond",increment:1};case"microsecond":return{precision:6,unit:"microsecond",increment:1};case"nanosecond":return{precision:9,unit:"nanosecond",increment:1}}switch(r){case"auto":return{precision:r,unit:"nanosecond",increment:1};case 0:return{precision:r,unit:"second",increment:1};case 1:case 2:case 3:return{precision:r,unit:"millisecond",increment:Math.pow(10,3-r)};case 4:case 5:case 6:return{precision:r,unit:"microsecond",increment:Math.pow(10,6-r)};case 7:case 8:case 9:return{precision:r,unit:"nanosecond",increment:Math.pow(10,9-r)};default:throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(r))}}var Dn=Symbol("~required~");function wn(e,r,n,t){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=[],u=0;u<Mr.length;u++){var a=Mr[u];"datetime"!==n&&n!==a[2]||o.push(a[1])}o=o.concat(i);var s=t;s===Dn?s=void 0:void 0!==s&&o.push(s);var c=[];c=c.concat(o);for(var f=0;f<o.length;f++){var h=Br[o[f]];void 0!==h&&c.push(h)}var d=lo(e,r,c,s);if(void 0===d&&t===Dn)throw new RangeError("".concat(r," is required"));return d&&d in Tr?Tr[d]:d}function gn(e){var r=e.relativeTo;if(void 0===r)return{};var n,t,i,o,u,a="option",s=!1;if(mr(r)){if(Zr(r))return{zonedRelativeTo:r};if(Nr(r))return{plainRelativeTo:r};if(Pr(r))return{plainRelativeTo:Un(Me(r,W).isoDate,Me(r,J))};var c=Mn(i=ot(r),r,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],[]),f=In(i,c,"constrain");n=f.isoDate,t=f.time,o=c.timeZone,void 0===(u=c.offset)&&(a="wall")}else{var h,d,v,l,m,y=Gr(Er(r));if(v=y.year,l=y.month,m=y.day,t=y.time,i=y.calendar,u=y.offset,d=y.z,h=y.tzAnnotation)o=ft(h),d?a="exact":u||(a="wall"),s=!0;else if(d)throw new RangeError("Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone");i||(i="iso8601"),i=mo(i),n={year:v,month:l,day:m}}return void 0===o?{plainRelativeTo:Un(n,i)}:{zonedRelativeTo:Qn(Nn(n,t,a,"option"===a?Ot(u):0,o,"compatible","reject",s),o,i)}}function Fn(e){return 0!==Me(e,X)?"year":0!==Me(e,Q)?"month":0!==Me(e,ee)?"week":0!==Me(e,re)?"day":0!==Me(e,ne)?"hour":0!==Me(e,te)?"minute":0!==Me(e,ie)?"second":0!==Me(e,oe)?"millisecond":0!==Me(e,ue)?"microsecond":"nanosecond"}function pn(e,r){return Ir.indexOf(e)>Ir.indexOf(r)?r:e}function En(e){return"year"===e||"month"===e||"week"===e}function kn(e){return En(e)||"day"===e?"date":"time"}function bn(e){return Oe("%calendarImpl%")(e)}function Cn(e){return Oe("%calendarImpl%")(Me(e,J))}function An(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"date",t=Object.create(null),i=bn(e).isoToDate(r,{year:!0,monthCode:!0,day:!0});return t.monthCode=i.monthCode,"month-day"!==n&&"date"!==n||(t.day=i.day),"year-month"!==n&&"date"!==n||(t.year=i.year),t}function Mn(e,r,n,t,i){var o=bn(e).extraFields(n),u=n.concat(t,o),a=Object.create(null),s=!1;u.sort();for(var c=0;c<u.length;c++){var f=u[c],h=r[f];if(void 0!==h)s=!0,a[f]=(0,Cr[f])(h);else if("partial"!==i){if(i.includes(f))throw new TypeError("required property '".concat(f,"' missing or undefined"));a[f]=Ar[f]}}if("partial"===i&&!s)throw new TypeError("no supported properties found");return a}function Tn(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"complete",n=["hour","microsecond","millisecond","minute","nanosecond","second"],t=!1,i=Object.create(null),o=0;o<n.length;o++){var u=n[o],a=e[u];void 0!==a?(i[u]=wr(a),t=!0):"complete"===r&&(i[u]=0)}if(!t)throw new TypeError("invalid time-like");return i}function Bn(e,r){if(mr(e)){if(Nr(e))return sn(ho(r)),Un(Me(e,q),Me(e,J));if(Zr(e)){var n=lt(Me(e,V),Me(e,Z));return sn(ho(r)),Un(n.isoDate,Me(e,J))}if(Pr(e))return sn(ho(r)),Un(Me(e,W).isoDate,Me(e,J));var t=ot(e);return Un(at(t,Mn(t,e,["year","month","monthCode","day"],[],[]),sn(ho(r))),t)}var i=function(e){return Gr(e)}(Er(e)),o=i.year,u=i.month,a=i.day,s=i.calendar;if(i.z)throw new RangeError("Z designator not supported for PlainDate");return s||(s="iso8601"),s=mo(s),sn(ho(r)),Un({year:o,month:u,day:a},s)}function In(e,r,n){return an(at(e,r,n),tn(r.hour,r.minute,r.second,r.millisecond,r.microsecond,r.nanosecond,n))}function Rn(e,r){var n,t,i;if(mr(e)){if(Pr(e))return sn(ho(r)),Zn(Me(e,W),Me(e,J));if(Zr(e)){var o=lt(Me(e,V),Me(e,Z));return sn(ho(r)),Zn(o,Me(e,J))}if(Nr(e))return sn(ho(r)),Zn(an(Me(e,q),{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),Me(e,J));var u=In(i=ot(e),Mn(i,e,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond"],[]),sn(ho(r)));n=u.isoDate,t=u.time}else{var a,s,c,f=function(e){return Gr(e)}(Er(e));if(a=f.year,s=f.month,c=f.day,t=f.time,i=f.calendar,f.z)throw new RangeError("Z designator not supported for PlainDateTime");"start-of-day"===t&&(t={deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),ci(a,s,c,t.hour,t.minute,t.second,t.millisecond,t.microsecond,t.nanosecond),i||(i="iso8601"),i=mo(i),sn(ho(r)),n={year:a,month:s,day:c}}return Zn(an(n,t),i)}function On(e){var r=Oe("%Temporal.Duration%");if(Yr(e))return new r(Me(e,X),Me(e,Q),Me(e,ee),Me(e,re),Me(e,ne),Me(e,te),Me(e,ie),Me(e,oe),Me(e,ue),Me(e,ae));if(!mr(e))return function(e){var r=function(e){var r=er.exec(e);if(!r)throw new RangeError("invalid duration: ".concat(e));if(r.every((function(e,r){return r<2||void 0===e})))throw new RangeError("invalid duration: ".concat(e));var n="-"===r[1]?-1:1,t=void 0===r[2]?0:wr(r[2])*n,i=void 0===r[3]?0:wr(r[3])*n,o=void 0===r[4]?0:wr(r[4])*n,u=void 0===r[5]?0:wr(r[5])*n,a=void 0===r[6]?0:wr(r[6])*n,s=r[7],c=r[8],f=r[9],h=r[10],d=r[11],v=0,l=0,m=0;if(void 0!==s){var y,D,w;if(null!==(y=null!==(D=null!==(w=null!=c?c:f)&&void 0!==w?w:h)&&void 0!==D?D:d)&&void 0!==y&&y)throw new RangeError("only the smallest unit can be fractional");m=3600*wr((s+"000000000").slice(0,9))*n}else if(v=void 0===c?0:wr(c)*n,void 0!==f){var g;if(null!==(g=null!=h?h:d)&&void 0!==g&&g)throw new RangeError("only the smallest unit can be fractional");m=60*wr((f+"000000000").slice(0,9))*n}else l=void 0===h?0:wr(h)*n,void 0!==d&&(m=wr((d+"000000000").slice(0,9))*n);var F=m%1e3,p=Math.trunc(m/1e3)%1e3,E=Math.trunc(m/1e6)%1e3;return l+=Math.trunc(m/1e9)%60,li(t,i,o,u,a,v+=Math.trunc(m/6e10),l,E,p,F),{years:t,months:i,weeks:o,days:u,hours:a,minutes:v,seconds:l,milliseconds:E,microseconds:p,nanoseconds:F}}(e),n=r.years,t=r.months,i=r.weeks,o=r.days,u=r.hours,a=r.minutes,s=r.seconds,c=r.milliseconds,f=r.microseconds,h=r.nanoseconds;return new(Oe("%Temporal.Duration%"))(n,t,i,o,u,a,s,c,f,h)}(Er(e));for(var n={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0},t=on(e),i=0;i<Or.length;i++){var o=Or[i],u=t[o];void 0!==u&&(n[o]=u)}return new r(n.years,n.months,n.weeks,n.days,n.hours,n.minutes,n.seconds,n.milliseconds,n.microseconds,n.nanoseconds)}function jn(e){var r;if(mr(e)){if(_r(e)||Zr(e))return Vn(Me(e,Z));r=kr(e)}else r=e;var n=function(e){var r=Gr(e);if(!r.z&&!r.offset)throw new RangeError("Temporal.Instant requires a time zone offset");return r}(Er(r)),t=n.time,i="start-of-day"===t?{}:t,o=i.hour,u=i.minute,a=i.second,s=i.millisecond,c=i.microsecond,f=i.nanosecond,h=Qt(n.year,n.month,n.day,void 0===o?0:o,void 0===u?0:u,void 0===a?0:a,void 0===s?0:s,void 0===c?0:c,(void 0===f?0:f)-(n.z?0:Ot(n.offset)));return pi(h.isoDate),Vn(Ut(h))}function Sn(e,r){var n;if(mr(e))return zr(e)?(sn(ho(r)),Wn(Me(e,q),Me(e,J))):(Ae(e,J)?n=Me(e,J):(void 0===(n=e.calendar)&&(n="iso8601"),n=it(n)),Wn(ct(n,Mn(n,e,["year","month","monthCode","day"],[],[]),sn(ho(r))),n));var t=Vr(Er(e)),i=t.month,o=t.day,u=t.referenceISOYear,a=t.calendar;if(void 0===a&&(a="iso8601"),a=mo(a),sn(ho(r)),"iso8601"===a)return Wn({year:1972,month:i,day:o},a);var s={year:u,month:i,day:o};return ai(s),Wn(s=ct(a,An(a,s,"month-day"),"constrain"),a)}function xn(e,r){var n;if(mr(e)){if(Lr(e))return sn(ho(r)),Jn(Me(e,$));if(Pr(e))return sn(ho(r)),Jn(Me(e,W).time);if(Zr(e)){var t=lt(Me(e,V),Me(e,Z));return sn(ho(r)),Jn(t.time)}var i=Tn(e);n=tn(i.hour,i.minute,i.second,i.millisecond,i.microsecond,i.nanosecond,sn(ho(r)))}else n=Hr(Er(e)),sn(ho(r));return Jn(n)}function _n(e){return void 0===e?{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}:Me(xn(e),$)}function Yn(e,r){if(mr(e)){if(Ur(e))return sn(ho(r)),Hn(Me(e,q),Me(e,J));var n=ot(e);return Hn(st(n,Mn(n,e,["year","month","monthCode"],[],[]),sn(ho(r))),n)}var t=Kr(Er(e)),i=t.year,o=t.month,u=t.referenceISODay,a=t.calendar;void 0===a&&(a="iso8601"),a=mo(a),sn(ho(r));var s={year:i,month:o,day:u};return vi(s),Hn(s=st(a,An(a,s,"year-month"),"constrain"),a)}function Nn(e,r,n,t,i,o,u,a){if("start-of-day"===r)return wt(i,e);var s=an(e,r);if("wall"===n||"ignore"===u)return mt(i,s,o);if("exact"===n||"use"===u){var c=Qt(e.year,e.month,e.day,r.hour,r.minute,r.second,r.millisecond,r.microsecond,r.nanosecond-t);pi(c.isoDate);var f=Ut(c);return di(f),f}pi(e);for(var h=Ut(s),d=Dt(i,s),v=0;v<d.length;v++){var l=d[v],m=k.toNumber(k.subtract(h,l)),y=Gi(m,6e10,"halfExpand");if(m===t||a&&y===t)return l}if("reject"===u){var D=vt(t),w=Mt(s,"iso8601","auto");throw new RangeError("Offset ".concat(D," is invalid for ").concat(w," in ").concat(i))}return yt(d,i,s,o)}function Ln(e,r){var n,t,i,o,u,a,s,c=!1,f="option";if(mr(e)){if(Zr(e)){var h=ho(r);return cn(h),hn(h,"reject"),sn(h),Qn(Me(e,Z),Me(e,V),Me(e,J))}var d=Mn(u=ot(e),e,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],["timeZone"]);i=d.timeZone,void 0===(o=d.offset)&&(f="wall");var v=ho(r);a=cn(v),s=hn(v,"reject");var l=In(u,d,sn(v));n=l.isoDate,t=l.time}else{var m,y,D,w,g=function(e){var r=Gr(e);if(!r.tzAnnotation)throw new RangeError("Temporal.ZonedDateTime requires a time zone ID in brackets");return r}(Er(e));y=g.year,D=g.month,w=g.day,t=g.time,o=g.offset,m=g.z,u=g.calendar,i=ft(g.tzAnnotation),m?f="exact":o||(f="wall"),u||(u="iso8601"),u=mo(u),c=!0;var F=ho(r);a=cn(F),s=hn(F,"reject"),sn(F),n={year:y,month:D,day:w}}var p=0;return"option"===f&&(p=Ot(o)),Qn(Nn(n,t,f,p,i,a,s,c),i,u)}function Pn(e,r,n){ai(r),Ce(e),Te(e,q,r),Te(e,J,n),Te(e,G,!0)}function Un(e,r){var n=Oe("%Temporal.PlainDate%"),t=Object.create(n.prototype);return Pn(t,e,r),t}function zn(e,r,n){fi(r),Ce(e),Te(e,W,r),Te(e,J,n)}function Zn(e,r){var n=Oe("%Temporal.PlainDateTime%"),t=Object.create(n.prototype);return zn(t,e,r),t}function qn(e,r,n){ai(r),Ce(e),Te(e,q,r),Te(e,J,n),Te(e,K,!0)}function Wn(e,r){var n=Oe("%Temporal.PlainMonthDay%"),t=Object.create(n.prototype);return qn(t,e,r),t}function $n(e,r){Ce(e),Te(e,$,r)}function Jn(e){var r=Oe("%Temporal.PlainTime%"),n=Object.create(r.prototype);return $n(n,e),n}function Gn(e,r,n){vi(r),Ce(e),Te(e,q,r),Te(e,J,n),Te(e,H,!0)}function Hn(e,r){var n=Oe("%Temporal.PlainYearMonth%"),t=Object.create(n.prototype);return Gn(t,e,r),t}function Kn(e,r){di(r),Ce(e),Te(e,Z,r)}function Vn(e){var r=Oe("%Temporal.Instant%"),n=Object.create(r.prototype);return Kn(n,e),n}function Xn(e,r,n,t){di(r),Ce(e),Te(e,Z,r),Te(e,V,n),Te(e,J,t)}function Qn(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",t=Oe("%Temporal.ZonedDateTime%"),i=Object.create(t.prototype);return Xn(i,e,r,n),i}function et(e){return br.filter((function(r){return void 0!==e[r]}))}function rt(e,r,n){for(var t=et(n),i=bn(e).fieldKeysToIgnore(t),o=Object.create(null),u=et(r),a=0;a<br.length;a++){var s=void 0,c=br[a];u.includes(c)&&!i.includes(c)&&(s=r[c]),t.includes(c)&&(s=n[c]),void 0!==s&&(o[c]=s)}return o}function nt(e,r,n,t){var i=bn(e).dateAdd(r,n,t);return ai(i),i}function tt(e,r,n,t){return bn(e).dateUntil(r,n,t)}function it(e){if(mr(e)&&Ae(e,J))return Me(e,J);var r,n=Er(e);try{return mo(n)}catch(e){}try{r=Gr(n).calendar}catch(e){try{r=Hr(n).calendar}catch(e){try{r=Kr(n).calendar}catch(e){r=Vr(n).calendar}}}return r||(r="iso8601"),mo(r)}function ot(e){if(Ae(e,J))return Me(e,J);var r=e.calendar;return void 0===r?"iso8601":it(r)}function ut(e,r){return mo(e)===mo(r)}function at(e,r,n){var t=bn(e);t.resolveFields(r,"date");var i=t.dateToISO(r,n);return ai(i),i}function st(e,r,n){var t=bn(e);t.resolveFields(r,"year-month"),r.day=1;var i=t.dateToISO(r,n);return vi(i),i}function ct(e,r,n){var t=bn(e);t.resolveFields(r,"month-day");var i=t.monthDayToISOReferenceDate(r,n);return ai(i),i}function ft(e){if(mr(e)&&Zr(e))return Me(e,V);var r=Er(e);if("UTC"===r)return"UTC";var n=function(e){var r=function(e){if(Xr.test(e))return{tzAnnotation:e,offset:void 0,z:!1};try{var r=Gr(e),n=r.tzAnnotation,t=r.offset,i=r.z;if(i||n||t)return{tzAnnotation:n,offset:t,z:i}}catch(e){}en(e)}(e),n=r.tzAnnotation,t=r.offset,i=r.z;return n?rn(n):i?rn("UTC"):t?rn(t):void 0}(r),t=n.tzName,i=n.offsetMinutes;if(void 0!==i)return Nt(i);var o=xt(t);if(!o)throw new RangeError("Unrecognized time zone ".concat(t));return o.identifier}function ht(e,r){if(e===r)return!0;var n=rn(e).offsetMinutes,t=rn(r).offsetMinutes;if(void 0===n&&void 0===t){var i=xt(r);if(!i)return!1;var o=xt(e);return!!o&&o.primaryIdentifier===i.primaryIdentifier}return n===t}function dt(e,r){var n=rn(e).offsetMinutes;return void 0!==n?6e10*n:Yt(e,r)}function vt(e){var r=e<0?"-":"+",n=Math.abs(e),t=Math.floor(n/36e11),i=Math.floor(n/6e10)%60,o=Math.floor(n/1e9)%60,u=n%1e9,a=Et(t,i,o,u,0===o&&0===u?"minute":"auto");return"".concat(r).concat(a)}function lt(e,r){var n=dt(e,r),t=zt(r),i=t.isoDate,o=t.time;return Qt(i.year,i.month,i.day,o.hour,o.minute,o.second,o.millisecond,o.microsecond,o.nanosecond+n)}function mt(e,r,n){return yt(Dt(e,r),e,r,n)}function yt(e,r,n,t){var i=e.length;if(1===i)return e[0];if(i)switch(t){case"compatible":case"earlier":return e[0];case"later":return e[i-1];case"reject":throw new RangeError("multiple instants found")}if("reject"===t)throw new RangeError("multiple instants found");var o=Ut(n),u=k.subtract(o,Y);di(u);var a=dt(r,u),s=k.add(o,Y);di(s);var c=dt(r,s)-a;switch(t){case"earlier":var f=Ye.fromComponents(0,0,0,0,0,-c),h=Ni(n.time,f);return Dt(r,an(Xt(n.isoDate.year,n.isoDate.month,n.isoDate.day+h.deltaDays),h))[0];case"compatible":case"later":var d=Ye.fromComponents(0,0,0,0,0,c),v=Ni(n.time,d),l=Dt(r,an(Xt(n.isoDate.year,n.isoDate.month,n.isoDate.day+v.deltaDays),v));return l[l.length-1]}}function Dt(e,r){if("UTC"===e)return pi(r.isoDate),[Ut(r)];var n=rn(e).offsetMinutes;if(void 0!==n){var t=Qt(r.isoDate.year,r.isoDate.month,r.isoDate.day,r.time.hour,r.time.minute-n,r.time.second,r.time.millisecond,r.time.microsecond,r.time.nanosecond);pi(t.isoDate);var i=Ut(t);return di(i),[i]}return pi(r.isoDate),function(e,r){var n=Ut(r),t=k.subtract(n,Y);k.lessThan(t,ur)&&(t=n);var i=k.add(n,Y);k.greaterThan(i,or)&&(i=n);var o=Yt(e,t),u=Yt(e,i),a=(o===u?[o]:[o,u]).map((function(t){var i=k.subtract(n,k.BigInt(t)),o=function(e,r){var n=zt(r),t=n.time,i=t.millisecond,o=t.microsecond,u=t.nanosecond,a=Wt(e,n.epochMilliseconds);return Qt(a.year,a.month,a.day,a.hour,a.minute,a.second,i,o,u)}(e,i);if(0===no(r,o))return di(i),i}));return a.filter((function(e){return void 0!==e}))}(e,r)}function wt(e,r){var n=an(r,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),t=Dt(e,n);if(t.length)return t[0];var i=Ut(n),o=k.subtract(i,Y);return di(o),Zt(e,o)}function gt(e){return e<0||e>9999?(e<0?"-":"+")+pr(Math.abs(e),6):pr(e,4)}function Ft(e){return pr(e,2)}function pt(e,r){var n;if("auto"===r){if(0===e)return"";n=pr(e,9).replace(/0+$/,"")}else{if(0===r)return"";n=pr(e,9).slice(0,r)}return".".concat(n)}function Et(e,r,n,t,i){var o="".concat(Ft(e),":").concat(Ft(r));return"minute"===i?o:(o+=":".concat(Ft(n)),o+=pt(t,i))}function kt(e,r,n){var t=r;void 0===t&&(t="UTC");var i=Me(e,Z),o=Mt(lt(t,i),"iso8601",n,"never"),u="Z";return void 0!==r&&(u=Lt(dt(t,i))),"".concat(o).concat(u)}function bt(e,r){var n=Me(e,X),t=Me(e,Q),i=Me(e,ee),o=Me(e,re),u=Me(e,ne),a=Me(e,te),s=Gt(e),c="";0!==n&&(c+="".concat(Math.abs(n),"Y")),0!==t&&(c+="".concat(Math.abs(t),"M")),0!==i&&(c+="".concat(Math.abs(i),"W")),0!==o&&(c+="".concat(Math.abs(o),"D"));var f="";0!==u&&(f+="".concat(Math.abs(u),"H")),0!==a&&(f+="".concat(Math.abs(a),"M"));var h=Ye.fromComponents(0,0,Me(e,ie),Me(e,oe),Me(e,ue),Me(e,ae));if(!h.isZero()||["second","millisecond","microsecond","nanosecond"].includes(Fn(e))||"auto"!==r){var d=Math.abs(h.sec),v=pt(Math.abs(h.subsec),r);f+="".concat(d).concat(v,"S")}var l="".concat(s<0?"-":"","P").concat(c);return f&&(l="".concat(l,"T").concat(f)),l}function Ct(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=Me(e,q),t=n.month,i=n.day,o=gt(n.year),u=Ft(t),a=Ft(i),s=$r(Me(e,J),r);return"".concat(o,"-").concat(u,"-").concat(a).concat(s)}function At(e,r){return Et(e.hour,e.minute,e.second,1e6*e.millisecond+1e3*e.microsecond+e.nanosecond,r)}function Mt(e,r,n){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"auto",i=e.isoDate,o=i.month,u=i.day,a=e.time,s=a.hour,c=a.minute,f=a.second,h=a.millisecond,d=a.microsecond,v=a.nanosecond,l=gt(i.year),m=Ft(o),y=Ft(u),D=Et(s,c,f,1e6*h+1e3*d+v,n),w=$r(r,t);return"".concat(l,"-").concat(m,"-").concat(y,"T").concat(D).concat(w)}function Tt(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=Me(e,q),t=n.year,i=n.day,o=Ft(n.month),u=Ft(i),a="".concat(o,"-").concat(u),s=Me(e,J);if("always"===r||"critical"===r||"iso8601"!==s){var c=gt(t);a="".concat(c,"-").concat(a)}var f=$r(s,r);return f&&(a+=f),a}function Bt(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=Me(e,q),t=n.month,i=n.day,o=gt(n.year),u=Ft(t),a="".concat(o,"-").concat(u),s=Me(e,J);if("always"===r||"critical"===r||"iso8601"!==s){var c=Ft(i);a+="-".concat(c)}var f=$r(s,r);return f&&(a+=f),a}function It(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"auto",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"auto",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0,u=Me(e,Z);o&&(u=Hi(u,o.increment,o.unit,o.roundingMode));var a=Me(e,V),s=dt(a,u),c=Mt(lt(a,u),"iso8601",r,"never");return"never"!==i&&(c+=Lt(s)),"never"!==t&&(c+="[".concat("critical"===t?"!":"").concat(a,"]")),c+$r(Me(e,J),n)}function Rt(e){return Qr.test(e)}function Ot(e){var r=go.exec(e);if(!r)throw new RangeError("invalid time zone offset: ".concat(e,"; must match ±HH:MM[:SS.SSSSSSSSS]"));return("-"===r[1]?-1:1)*(1e9*(60*(60*+r[2]+ +(r[3]||0))+ +(r[4]||0))+ +((r[5]||0)+"000000000").slice(0,9))}var jt=void 0,St=Object.assign(Object.create(null),{"/":!0,"-":!0,_:!0});function xt(e){var r,n,t;if(void 0===jt){var i,o,u=null===(i=(o=Intl).supportedValuesOf)||void 0===i?void 0:i.call(o,"timeZone");if(u){jt=new Map;for(var a=0;a<u.length;a++){var s=u[a];jt.set(yo(s),s)}}else jt=null}var c=yo(e),f=null===(r=jt)||void 0===r?void 0:r.get(c);if(f)return{identifier:f,primaryIdentifier:f};try{f=xr(e).resolvedOptions().timeZone}catch(e){return}if("antarctica/south_pole"===c&&(f="Antarctica/McMurdo"),lr.has(e))throw new RangeError("".concat(e," is a legacy time zone identifier from ICU. Use ").concat(f," instead"));var h=w(c).map((function(e,r){return 0===r||St[c[r-1]]?e.toUpperCase():e})).join("").split("/");if(1===h.length)return"gb-eire"===c?{identifier:"GB-Eire",primaryIdentifier:f}:{identifier:c.length<=3||/[-0-9]/.test(c)?c.toUpperCase():h[0],primaryIdentifier:f};if("Etc"===h[0]){var d=["Zulu","Greenwich","Universal"].includes(h[1])?h[1]:h[1].toUpperCase();return{identifier:"Etc/".concat(d),primaryIdentifier:f}}if("Us"===h[0])return{identifier:"US/".concat(h[1]),primaryIdentifier:f};var v=new Map([["Act","ACT"],["Lhi","LHI"],["Nsw","NSW"],["Dar_Es_Salaam","Dar_es_Salaam"],["Port_Of_Spain","Port_of_Spain"],["Port-Au-Prince","Port-au-Prince"],["Isle_Of_Man","Isle_of_Man"],["Comodrivadavia","ComodRivadavia"],["Knox_In","Knox_IN"],["Dumontdurville","DumontDUrville"],["Mcmurdo","McMurdo"],["Denoronha","DeNoronha"],["Easterisland","EasterIsland"],["Bajanorte","BajaNorte"],["Bajasur","BajaSur"]]);return h[1]=null!==(n=v.get(h[1]))&&void 0!==n?n:h[1],h.length>2&&(h[2]=null!==(t=v.get(h[2]))&&void 0!==t?t:h[2]),{identifier:h.join("/"),primaryIdentifier:f}}function _t(e,r){var n=Wt(e,r),t=r%1e3;return t<0&&(t+=1e3),1e6*(Pt({isoDate:{year:n.year,month:n.month,day:n.day},time:{hour:n.hour,minute:n.minute,second:n.second,millisecond:t}})-r)}function Yt(e,r){return _t(e,io(r,"floor"))}function Nt(e){var r=e<0?"-":"+",n=Math.abs(e),t=Et(Math.floor(n/60),n%60,0,0,"minute");return"".concat(r).concat(t)}function Lt(e){return Nt(Gi(e,tr,"halfExpand")/6e10)}function Pt(e){var r=e.isoDate,n=r.year,t=r.month,i=r.day,o=e.time,u=o.hour,a=o.minute,s=o.second,c=o.millisecond,f=n%400,h=(n-f)/400,d=new Date;return d.setUTCHours(u,a,s,c),d.setUTCFullYear(f,t-1,i),d.getTime()+cr*h}function Ut(e){var r=Pt(e),n=1e3*e.time.microsecond+e.time.nanosecond;return k.add(oo(r),k.BigInt(n))}function zt(e){var r=io(e,"trunc"),n=k.toNumber(k.remainder(e,j));n<0&&(n+=1e6,r-=1);var t=Math.floor(n/1e3)%1e3,i=n%1e3,o=new Date(r);return{epochMilliseconds:r,isoDate:{year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate()},time:{hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds(),microsecond:t,nanosecond:i}}}function Zt(e,r){if("UTC"===e)return null;var n=io(r,"floor");if(n<dr)return Zt(e,oo(dr));for(var t=Date.now(),i=Math.max(n,t)+366*rr*3,o=n,u=_t(e,o),a=o,s=u;u===s&&o<i;){if((a=o+2*rr*7)>ir)return null;u===(s=_t(e,a))&&(o=a)}return u===s?null:oo(Fo((function(r){return _t(e,r)}),o,a,u,s))}function qt(e,r){if("UTC"===e)return null;var n=io(r,"ceil"),t=Date.now(),i=t+366*rr*3;if(n>i){var o=qt(e,oo(i));if(null===o||k.lessThan(o,oo(t)))return o}if("Africa/Casablanca"===e||"Africa/El_Aaiun"===e){var u=Date.UTC(2088,0,1);if(u<n)return qt(e,oo(u))}var a=n-1;if(a<dr)return null;for(var s=_t(e,a),c=a,f=s;s===f&&a>dr;){if((c=a-2*rr*7)<dr)return null;s===(f=_t(e,c))&&(a=c)}return s===f?null:oo(Fo((function(r){return _t(e,r)}),c,a,f,s))}function Wt(e,r){return function(e){var r=e.split(/[^\w]+/);if(7!==r.length)throw new RangeError('expected 7 parts in "'.concat(e));var n=+r[0],t=+r[1],i=+r[2],o=r[3];if("b"===o[0]||"B"===o[0])i=1-i;else if("a"!==o[0]&&"A"!==o[0])throw new RangeError("Unknown era ".concat(o,' in "').concat(e));var u="24"===r[4]?0:+r[4],a=+r[5],s=+r[6];if(!(Number.isFinite(i)&&Number.isFinite(n)&&Number.isFinite(t)&&Number.isFinite(u)&&Number.isFinite(a)&&Number.isFinite(s)))throw new RangeError('Invalid number in "'.concat(e));return{year:i,month:n,day:t,hour:u,minute:a,second:s}}(xr(e).format(r))}function $t(e){return!(void 0===e||e%4!=0||e%100==0&&e%400!=0)}function Jt(e,r){return{standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]}[$t(e)?"leapyear":"standard"][r-1]}function Gt(e){for(var r=[Me(e,X),Me(e,Q),Me(e,ee),Me(e,re),Me(e,ne),Me(e,te),Me(e,ie),Me(e,oe),Me(e,ue),Me(e,ae)],n=0;n<r.length;n++){var t=r[n];if(0!==t)return t<0?-1:1}return 0}function Ht(e){for(var r=["years","months","weeks","days"],n=0;n<r.length;n++){var t=e[r[n]];if(0!==t)return t<0?-1:1}return 0}function Kt(e){var r=Ht(e.date);return 0!==r?r:e.time.sign()}function Vt(e,r){var n=e,t=r;if(!Number.isFinite(n)||!Number.isFinite(t))throw new RangeError("infinity is out of range");return t-=1,n+=Math.floor(t/12),(t%=12)<0&&(t+=12),{year:n,month:t+=1}}function Xt(e,r,n){var t=e,i=r,o=n;if(!Number.isFinite(o))throw new RangeError("infinity is out of range");var u=Vt(t,i);t=u.year,i=u.month;var a=146097;if(Math.abs(o)>a){var s=Math.trunc(o/a);t+=400*s,o-=s*a}for(var c=0,f=i>2?t:t-1;o<-(c=$t(f)?366:365);)t-=1,f-=1,o+=c;for(f+=1;o>(c=$t(f)?366:365);)t+=1,f+=1,o-=c;for(;o<1;){var h=Vt(t,i-1);o+=Jt(t=h.year,i=h.month)}for(;o>Jt(t,i);){o-=Jt(t,i);var d=Vt(t,i+1);t=d.year,i=d.month}return{year:t,month:i,day:o}}function Qt(e,r,n,t,i,o,u,a,s){var c=ei(t,i,o,u,a,s);return an(Xt(e,r,n+c.deltaDays),c)}function ei(e,r,n,t,i,o){var u=e,a=r,s=n,c=t,f=i,h=o,d=je(h,3);f+=d.div,(h=d.mod)<0&&(f-=1,h+=1e3);var v=je(f,3);c+=v.div,(f=v.mod)<0&&(c-=1,f+=1e3),s+=Math.trunc(c/1e3),(c%=1e3)<0&&(s-=1,c+=1e3),a+=Math.trunc(s/60),(s%=60)<0&&(a-=1,s+=60),u+=Math.trunc(a/60),(a%=60)<0&&(u-=1,a+=60);var l=Math.trunc(u/24);return(u%=24)<0&&(l-=1,u+=24),{deltaDays:l+=0,hour:u+=0,minute:a+=0,second:s+=0,millisecond:c+=0,microsecond:f+=0,nanosecond:h+=0}}function ri(e,r){var n=un(e,0);if(0===Ht(n))return e.days;var t=Me(r,q),i=nt(Me(r,J),t,n,"constrain"),o=Fi(t.year,t.month-1,t.day),u=Fi(i.year,i.month-1,i.day)-o;return e.days+u}function ni(e){return new(Oe("%Temporal.Duration%"))(-Me(e,X),-Me(e,Q),-Me(e,ee),-Me(e,re),-Me(e,ne),-Me(e,te),-Me(e,ie),-Me(e,oe),-Me(e,ue),-Me(e,ae))}function ti(e,r,n){return Math.min(n,Math.max(r,e))}function ii(e,r,n){var t=ti(r,1,12);return{year:e,month:t,day:ti(n,1,Jt(e,t))}}function oi(e,r,n){if(e<r||e>n)throw new RangeError("value out of range: ".concat(r," <= ").concat(e," <= ").concat(n))}function ui(e,r,n){oi(r,1,12),oi(n,1,Jt(e,r))}function ai(e){fi(an(e,{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}))}function si(e,r,n,t,i,o){oi(e,0,23),oi(r,0,59),oi(n,0,59),oi(t,0,999),oi(i,0,999),oi(o,0,999)}function ci(e,r,n,t,i,o,u,a,s){ui(e,r,n),si(t,i,o,u,a,s)}function fi(e){var r=Ut(e);(k.lessThan(r,ar)||k.greaterThan(r,sr))&&di(r)}function hi(e){Ut(e)}function di(e){if(k.lessThan(e,ur)||k.greaterThan(e,or))throw new RangeError("date/time value is outside of supported range")}function vi(e){var r=e.year,n=e.month;oi(r,fr,hr),r===fr?oi(n,4,12):r===hr&&oi(n,1,9)}function li(e,r,n,t,i,o,u,a,s,c){for(var f=0,h=[e,r,n,t,i,o,u,a,s,c],d=0;d<h.length;d++){var v=h[d];if(v===1/0||v===-1/0)throw new RangeError("infinite values not allowed as duration fields");if(0!==v){var l=v<0?-1:1;if(0!==f&&l!==f)throw new RangeError("mixed-sign values not allowed as duration fields");f=l}}if(Math.abs(e)>=Math.pow(2,32)||Math.abs(r)>=Math.pow(2,32)||Math.abs(n)>=Math.pow(2,32))throw new RangeError("years, months, and weeks must be < 2³²");var m=je(a,3),y=je(s,6),D=je(c,9),w=je(1e6*m.mod+1e3*y.mod+D.mod,9).div;if(!Number.isSafeInteger(86400*t+3600*i+60*o+u+m.div+y.div+D.div+w))throw new RangeError("total of duration time units cannot exceed 9007199254740991.999999999 s")}function mi(e){return{date:{years:Me(e,X),months:Me(e,Q),weeks:Me(e,ee),days:Me(e,re)},time:Ye.fromComponents(Me(e,ne),Me(e,te),Me(e,ie),Me(e,oe),Me(e,ue),Me(e,ae))}}function yi(e){var r=Ye.fromComponents(Me(e,ne),Me(e,te),Me(e,ie),Me(e,oe),Me(e,ue),Me(e,ae)).add24HourDays(Me(e,re));return{date:{years:Me(e,X),months:Me(e,Q),weeks:Me(e,ee),days:0},time:r}}function Di(e){var r=yi(e),n=Math.trunc(r.time.sec/86400);return li(r.date.years,r.date.months,r.date.weeks,n,0,0,0,0,0,0),l(l({},r.date),{},{days:n})}function wi(e,r){var n=e.time.sign(),t=e.time.abs().subsec,i=0,o=0,u=e.time.abs().sec,a=0,s=0,c=0;switch(r){case"year":case"month":case"week":case"day":i=Math.trunc(t/1e3),t%=1e3,o=Math.trunc(i/1e3),i%=1e3,u+=Math.trunc(o/1e3),o%=1e3,a=Math.trunc(u/60),u%=60,s=Math.trunc(a/60),a%=60,c=Math.trunc(s/24),s%=24;break;case"hour":i=Math.trunc(t/1e3),t%=1e3,o=Math.trunc(i/1e3),i%=1e3,u+=Math.trunc(o/1e3),o%=1e3,a=Math.trunc(u/60),u%=60,s=Math.trunc(a/60),a%=60;break;case"minute":i=Math.trunc(t/1e3),t%=1e3,o=Math.trunc(i/1e3),i%=1e3,u+=Math.trunc(o/1e3),o%=1e3,a=Math.trunc(u/60),u%=60;break;case"second":i=Math.trunc(t/1e3),t%=1e3,o=Math.trunc(i/1e3),i%=1e3,u+=Math.trunc(o/1e3),o%=1e3;break;case"millisecond":i=Math.trunc(t/1e3),t%=1e3,o=Se(u,3,Math.trunc(i/1e3)),i%=1e3,u=0;break;case"microsecond":i=Se(u,6,Math.trunc(t/1e3)),t%=1e3,u=0;break;case"nanosecond":t=Se(u,9,t),u=0}return new(Oe("%Temporal.Duration%"))(e.date.years,e.date.months,e.date.weeks,e.date.days+n*c,n*s,n*a,n*u,n*o,n*i,n*t)}function gi(e,r){return Ht(e),r.sign(),{date:e,time:r}}function Fi(e,r,n){return Pt({isoDate:{year:e,month:r+1,day:n},time:{hour:0,minute:0,second:0,millisecond:0}})/rr}function pi(e){if(Math.abs(Fi(e.year,e.month-1,e.day))>1e8)throw new RangeError("date/time value is outside the supported range")}function Ei(e,r){return Ye.fromComponents(r.hour-e.hour,r.minute-e.minute,r.second-e.second,r.millisecond-e.millisecond,r.microsecond-e.microsecond,r.nanosecond-e.nanosecond)}function ki(e,r,n,t,i){var o=Ye.fromEpochNsDiff(r,e);return gi({years:0,months:0,weeks:0,days:0},o=Xi(o,n,t,i))}function bi(e,r,n,t){hi(e),hi(r);var i=Ei(e.time,r.time),o=i.sign(),u=eo(e.isoDate,r.isoDate),a=r.isoDate;u===o&&(a=Xt(a.year,a.month,a.day+o),i=i.add24HourDays(-o));var s=pn("day",t),c=tt(n,e.isoDate,a,s);return t!==s&&(i=i.add24HourDays(c.days),c.days=0),gi(c,i)}function Ci(e,r,n,t,i){var o=k.subtract(r,e);if(k.equal(o,A))return{date:{years:0,months:0,weeks:0,days:0},time:Ye.ZERO};var u,a=k.lessThan(o,A)?-1:1,s=lt(n,e),c=lt(n,r),f=0,h=1===a?2:1,d=Ei(s.time,c.time);for(d.sign()===-a&&f++;f<=h;f++){var v=mt(n,u=an(Xt(c.isoDate.year,c.isoDate.month,c.isoDate.day-f*a),s.time),"compatible");if((d=Ye.fromEpochNsDiff(r,v)).sign()!==-a)break}var l=pn("day",i);return gi(tt(t,s.isoDate,u.isoDate,l),d)}function Ai(e,r,n,t,i,o,u,a,s){var c,f,h,d,v=r;switch(a){case"year":var m=Gi(v.date.years,u,"trunc");f=m+u*e,d=l(l({},h={years:c=m,months:0,weeks:0,days:0}),{},{years:f});break;case"month":var y=Gi(v.date.months,u,"trunc");f=y+u*e,h=un(v.date,0,0,c=y),d=un(v.date,0,0,f);break;case"week":var D=un(v.date,0,0),w=nt(o,t.isoDate,D,"constrain"),g=tt(o,w,Xt(w.year,w.month,w.day+v.date.days),"week"),F=Gi(v.date.weeks+g.weeks,u,"trunc");f=F+u*e,h=un(v.date,0,c=F),d=un(v.date,0,f);break;case"day":var p=Gi(v.date.days,u,"trunc");f=p+u*e,h=un(v.date,c=p),d=un(v.date,f)}var E,b,C=nt(o,t.isoDate,h,"constrain"),A=nt(o,t.isoDate,d,"constrain"),M=an(C,t.time),T=an(A,t.time);i?(E=mt(i,M,"compatible"),b=mt(i,T,"compatible")):(E=Ut(M),b=Ut(T));var B=Ye.fromEpochNsDiff(n,E),I=Ye.fromEpochNsDiff(b,E),R=xe(s,e<0?"negative":"positive"),O=B.add(B).abs().subtract(I.abs()).sign(),j=Math.abs(c)/u%2==0,S=B.isZero()?Math.abs(c):B.cmp(I)?_e(Math.abs(c),Math.abs(f),O,j,R):Math.abs(f),x=new Ye(k.add(k.multiply(I.totalNs,k.BigInt(c)),k.multiply(B.totalNs,k.BigInt(u*e)))).fdiv(I.totalNs),_=S===Math.abs(f);return{nudgeResult:{duration:v={date:_?d:h,time:Ye.ZERO},nudgedEpochNs:_?b:E,didExpandCalendarUnit:_},total:x}}function Mi(e,r,n,t,i,o,u,a,s){var c,f=e,h=En(a)||t&&"day"===a,d=Kt(f)<0?-1:1;return c=h?Ai(d,f,r,n,t,i,u,a,s).nudgeResult:t?function(e,r,n,t,i,o,u,a){var s=r,c=nt(i,n.isoDate,s.date,"constrain"),f=an(c,n.time),h=an(Xt(c.year,c.month,c.day+e),n.time),d=mt(t,f,"compatible"),v=mt(t,h,"compatible"),l=Ye.fromEpochNsDiff(v,d);if(l.sign()!==e)throw new RangeError("time zone returned inconsistent Instants");var m,y,D=k.BigInt(Rr[u]*o),w=s.time.round(D,a),g=w.subtract(l),F=g.sign()!==-e;return F?(m=e,y=(w=g.round(D,a)).addToEpochNs(v)):(m=0,y=w.addToEpochNs(d)),{duration:gi(un(s.date,s.date.days+m),w),nudgedEpochNs:y,didExpandCalendarUnit:F}}(d,f,n,t,i,u,a,s):function(e,r,n,t,i,o){var u=e,a=u.time.add24HourDays(u.date.days),s=a.round(k.BigInt(t*Rr[i]),o),c=s.subtract(a),f=a.divmod(nr).quotient,h=s.divmod(nr).quotient,d=Math.sign(h-f)===a.sign(),v=c.addToEpochNs(r),l=0,m=s;return"date"===kn(n)&&(l=h,m=s.add(Ye.fromComponents(24*-h,0,0,0,0,0))),{duration:{date:un(u.date,l),time:m},nudgedEpochNs:v,didExpandCalendarUnit:d}}(f,r,o,u,a,s),f=c.duration,c.didExpandCalendarUnit&&"week"!==a&&(f=function(e,r,n,t,i,o,u,a){var s=r;if(a===u)return s;for(var c=Ir.indexOf(u),f=Ir.indexOf(a)-1;f>=c;f--){var h=Ir[f];if("week"!==h||"week"===u){var d=void 0;switch(h){case"year":d={years:s.date.years+e,months:0,weeks:0,days:0};break;case"month":d=un(s.date,0,0,s.date.months+e);break;case"week":d=un(s.date,0,s.date.weeks+e)}var v=an(nt(o,t.isoDate,d,"constrain"),t.time);if(U(n,i?mt(i,v,"compatible"):Ut(v))===-e)break;s={date:d,time:Ye.ZERO}}}return s}(d,f,c.nudgedEpochNs,n,t,i,o,pn(a,"day"))),f}function Ti(e,r,n,t,i,o){return En(o)||t&&"day"===o?Ai(Kt(e)<0?-1:1,e,r,n,t,i,1,o,"trunc").total:Qi(e.time.add24HourDays(e.date.days),o)}function Bi(e,r,n,t,i,o,u){if(0==no(e,r))return{date:{years:0,months:0,weeks:0,days:0},time:Ye.ZERO};fi(e),fi(r);var a=bi(e,r,n,t);return"nanosecond"===o&&1===i?a:Mi(a,Ut(r),e,null,n,t,i,o,u)}function Ii(e,r,n,t,i,o,u,a){if("time"===kn(i))return ki(e,r,o,u,a);var s=Ci(e,r,n,t,i);return"nanosecond"===u&&1===o?s:Mi(s,r,lt(n,e),n,t,i,o,u,a)}function Ri(e,r,n,t,i,o){var u=Mr.reduce((function(e,r){var i=r[0],o=r[1];return"datetime"!==n&&r[2]!==n||t.includes(o)||e.push(o,i),e}),[]),a=wn(r,"largestUnit",n,"auto");if(t.includes(a))throw new RangeError("largestUnit must be one of ".concat(u.join(", "),", not ").concat(a));var s=vn(r),c=fn(r,"trunc");"since"===e&&(c=function(e){switch(e){case"ceil":return"floor";case"floor":return"ceil";case"halfCeil":return"halfFloor";case"halfFloor":return"halfCeil";default:return e}}(c));var f=wn(r,"smallestUnit",n,i);if(t.includes(f))throw new RangeError("smallestUnit must be one of ".concat(u.join(", "),", not ").concat(f));var h=pn(o,f);if("auto"===a&&(a=h),pn(a,f)!==a)throw new RangeError("largestUnit ".concat(a," cannot be smaller than smallestUnit ").concat(f));var d={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[f];return void 0!==d&&ln(s,d,!1),{largestUnit:a,roundingIncrement:s,roundingMode:c,smallestUnit:f}}function Oi(e,r,n,t){var i=jn(n),o=Ri(e,ho(t),"time",[],"nanosecond","second"),u=wi(ki(Me(r,Z),Me(i,Z),o.roundingIncrement,o.smallestUnit,o.roundingMode),o.largestUnit);return"since"===e&&(u=ni(u)),u}function ji(e,r,n,t){var i=Bn(n),o=Me(r,J),u=Me(i,J);if(!ut(o,u))throw new RangeError("cannot compute difference between dates of ".concat(o," and ").concat(u," calendars"));var a=Ri(e,ho(t),"date",[],"day","day"),s=Oe("%Temporal.Duration%"),c=Me(r,q),f=Me(i,q);if(0===eo(c,f))return new s;var h={date:tt(o,c,f,a.largestUnit),time:Ye.ZERO};if("day"!==a.smallestUnit||1!==a.roundingIncrement){var d=an(c,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});h=Mi(h,Ut(an(f,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),d,null,o,a.largestUnit,a.roundingIncrement,a.smallestUnit,a.roundingMode)}var v=wi(h,"day");return"since"===e&&(v=ni(v)),v}function Si(e,r,n,t){var i=Rn(n),o=Me(r,J),u=Me(i,J);if(!ut(o,u))throw new RangeError("cannot compute difference between dates of ".concat(o," and ").concat(u," calendars"));var a=Ri(e,ho(t),"datetime",[],"nanosecond","day"),s=Oe("%Temporal.Duration%"),c=Me(r,W),f=Me(i,W);if(0===no(c,f))return new s;var h=wi(Bi(c,f,o,a.largestUnit,a.roundingIncrement,a.smallestUnit,a.roundingMode),a.largestUnit);return"since"===e&&(h=ni(h)),h}function xi(e,r,n,t){var i=xn(n),o=Ri(e,ho(t),"time",[],"nanosecond","hour"),u=Ei(Me(r,$),Me(i,$)),a=wi(gi({years:0,months:0,weeks:0,days:0},u=Xi(u,o.roundingIncrement,o.smallestUnit,o.roundingMode)),o.largestUnit);return"since"===e&&(a=ni(a)),a}function _i(e,r,n,t){var i=Yn(n),o=Me(r,J),u=Me(i,J);if(!ut(o,u))throw new RangeError("cannot compute difference between months of ".concat(o," and ").concat(u," calendars"));var a=Ri(e,ho(t),"date",["week","day"],"month","year"),s=Oe("%Temporal.Duration%");if(0==eo(Me(r,q),Me(i,q)))return new s;var c=An(o,Me(r,q),"year-month");c.day=1;var f=at(o,c,"constrain"),h=An(o,Me(i,q),"year-month");h.day=1;var d=at(o,h,"constrain"),v={date:un(tt(o,f,d,a.largestUnit),0,0),time:Ye.ZERO};if("month"!==a.smallestUnit||1!==a.roundingIncrement){var l=an(f,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});v=Mi(v,Ut(an(d,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),l,null,o,a.largestUnit,a.roundingIncrement,a.smallestUnit,a.roundingMode)}var m=wi(v,"day");return"since"===e&&(m=ni(m)),m}function Yi(e,r,n,t){var i=Ln(n),o=Me(r,J),u=Me(i,J);if(!ut(o,u))throw new RangeError("cannot compute difference between dates of ".concat(o," and ").concat(u," calendars"));var a,s=Ri(e,ho(t),"datetime",[],"nanosecond","hour"),c=Me(r,Z),f=Me(i,Z),h=Oe("%Temporal.Duration%");if("date"!==kn(s.largestUnit))a=wi(ki(c,f,s.roundingIncrement,s.smallestUnit,s.roundingMode),s.largestUnit);else{var d=Me(r,V);if(!ht(d,Me(i,V)))throw new RangeError("When calculating difference between time zones, largestUnit must be 'hours' or smaller because day lengths can vary between time zones due to DST or time zone offset changes.");if(k.equal(c,f))return new h;a=wi(Ii(c,f,d,o,s.largestUnit,s.roundingIncrement,s.smallestUnit,s.roundingMode),"hour")}return"since"===e&&(a=ni(a)),a}function Ni(e,r){var n=e.second,t=e.nanosecond;return ei(e.hour,e.minute,n+=r.sec,e.millisecond,e.microsecond,t+=r.subsec)}function Li(e,r){var n=r.addToEpochNs(e);return di(n),n}function Pi(e,r,n,t){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"constrain";if(0===Ht(t.date))return Li(e,t.time);var o=lt(r,e);return Li(mt(r,an(nt(n,o.isoDate,t.date,i),o.time),"compatible"),t.time)}function Ui(e,r,n){var t=On(n);"subtract"===e&&(t=ni(t));var i=pn(Fn(r),Fn(t));if(En(i))throw new RangeError("For years, months, or weeks arithmetic, use date arithmetic relative to a starting point");var o=yi(r),u=yi(t);return wi(gi({years:0,months:0,weeks:0,days:0},o.time.add(u.time)),i)}function zi(e,r,n){var t=On(n);"subtract"===e&&(t=ni(t));var i=Fn(t);if("date"===kn(i))throw new RangeError("Duration field ".concat(i," not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead."));var o=yi(t);return Vn(Li(Me(r,Z),o.time))}function Zi(e,r,n,t){var i=Me(r,J),o=On(n);"subtract"===e&&(o=ni(o));var u=Di(o),a=sn(ho(t));return Un(nt(i,Me(r,q),u,a),i)}function qi(e,r,n,t){var i=On(n);"subtract"===e&&(i=ni(i));var o=sn(ho(t)),u=Me(r,J),a=yi(i),s=Me(r,W),c=Ni(s.time,a.time),f=un(a.date,c.deltaDays);return li(f.years,f.months,f.weeks,f.days,0,0,0,0,0,0),Zn(an(nt(u,s.isoDate,f,o),c),u)}function Wi(e,r,n){var t=On(n);"subtract"===e&&(t=ni(t));var i=yi(t),o=Ni(Me(r,$),i.time);return Jn(tn(o.hour,o.minute,o.second,o.millisecond,o.microsecond,o.nanosecond,"reject"))}function $i(e,r,n,t){var i=On(n);"subtract"===e&&(i=ni(i));var o=sn(ho(t)),u=Gt(i),a=Me(r,J),s=An(a,Me(r,q),"year-month");s.day=1;var c=at(a,s,"constrain");if(u<0){var f=nt(a,c,{months:1},"constrain");c=Xt(f.year,f.month,f.day-1)}var h=Di(i);return ai(c),Hn(st(a,An(a,nt(a,c,h,o),"year-month"),o),a)}function Ji(e,r,n,t){var i=On(n);"subtract"===e&&(i=ni(i));var o=sn(ho(t)),u=Me(r,V),a=Me(r,J),s=mi(i);return Qn(Pi(Me(r,Z),u,a,s,o),u,a)}function Gi(e,r,n){var t=Math.trunc(e/r),i=e%r,o=e<0?"negative":"positive",u=Math.abs(t),a=u+1,s=fo(Math.abs(2*i)-r),c=u%2==0,f=xe(n,o),h=0===i?u:_e(u,a,s,c,f);return r*("positive"===o?h:-h)}function Hi(e,r,n,t){return function(e,r,n){var t,i,o=N(e),u=N(r),a=k.divide(o,u),s=k.remainder(o,u),c=xe(n,"positive");k.lessThan(o,A)?(t=k.subtract(a,M),i=a):(t=a,i=k.add(a,M));var f=U(P(k.multiply(s,T)),u)*(k.lessThan(o,A)?-1:1)+0,h=k.equal(s,A)?a:_e(t,i,f,L(t),c);return k.multiply(h,u)}(e,k.BigInt(Rr[n]*r),t)}function Ki(e,r,n,t){hi(e);var i=e.isoDate,o=i.year,u=i.month,a=i.day,s=Vi(e.time,r,n,t);return an(Xt(o,u,a+s.deltaDays),s)}function Vi(e,r,n,t){var i,o=e.hour,u=e.minute,a=e.second,s=e.millisecond,c=e.microsecond,f=e.nanosecond;switch(n){case"day":case"hour":i=1e3*(1e3*(1e3*(60*(60*o+u)+a)+s)+c)+f;break;case"minute":i=1e3*(1e3*(1e3*(60*u+a)+s)+c)+f;break;case"second":i=1e3*(1e3*(1e3*a+s)+c)+f;break;case"millisecond":i=1e3*(1e3*s+c)+f;break;case"microsecond":i=1e3*c+f;break;case"nanosecond":i=f}var h=Rr[n],d=Gi(i,h*r,t)/h;switch(n){case"day":return{deltaDays:d,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0};case"hour":return ei(d,0,0,0,0,0);case"minute":return ei(o,d,0,0,0,0);case"second":return ei(o,u,d,0,0,0);case"millisecond":return ei(o,u,a,d,0,0);case"microsecond":return ei(o,u,a,s,d,0);case"nanosecond":return ei(o,u,a,s,c,d);default:throw new Error("Invalid unit ".concat(n))}}function Xi(e,r,n,t){return e.round(k.BigInt(Rr[n]*r),t)}function Qi(e,r){return e.fdiv(k.BigInt(Rr[r]))}function eo(e,r){return e.year!==r.year?fo(e.year-r.year):e.month!==r.month?fo(e.month-r.month):e.day!==r.day?fo(e.day-r.day):0}function ro(e,r){return e.hour!==r.hour?fo(e.hour-r.hour):e.minute!==r.minute?fo(e.minute-r.minute):e.second!==r.second?fo(e.second-r.second):e.millisecond!==r.millisecond?fo(e.millisecond-r.millisecond):e.microsecond!==r.microsecond?fo(e.microsecond-r.microsecond):e.nanosecond!==r.nanosecond?fo(e.nanosecond-r.nanosecond):0}function no(e,r){var n=eo(e.isoDate,r.isoDate);return 0!==n?n:ro(e.time,r.time)}function to(e){var r=uo(e);return void 0!==globalThis.BigInt?globalThis.BigInt(r.toString(10)):r}function io(e,r){var n=z(N(e),j),t=n.remainder,i=k.toNumber(n.quotient);return"floor"===r&&k.toNumber(t)<0&&(i-=1),"ceil"===r&&k.toNumber(t)>0&&(i+=1),i}function oo(e){if(!Number.isInteger(e))throw new RangeError("epoch milliseconds must be an integer");return k.multiply(k.BigInt(e),j)}function uo(e){var r=e;if("object"===F(e)){var n=e[Symbol.toPrimitive];n&&"function"==typeof n&&(r=n.call(e,"number"))}if("number"==typeof r)throw new TypeError("cannot convert number to bigint");return k.BigInt("bigint"==typeof r?r.toString(10):r)}var ao,so=(ao=k.BigInt(Date.now()%1e6),function(){var e=Date.now(),r=k.BigInt(e),n=k.add(oo(e),ao);return ao=k.remainder(r,j),k.greaterThan(n,or)?or:k.lessThan(n,ur)?ur:n});function co(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}function fo(e){return e<0?-1:e>0?1:e}function ho(e){if(void 0===e)return Object.create(null);if(mr(e)&&null!==e)return e;throw new TypeError("Options parameter must be an object, not ".concat(null===e?"null":"".concat(F(e))))}function vo(e,r){var n=Object.create(null);return n[e]=r,n}function lo(e,r,n,t){var i=e[r];if(void 0!==i){if(i=Dr(i),!n.includes(i))throw new RangeError("".concat(r," must be one of ").concat(n.join(", "),", not ").concat(i));return i}if(t===Dn)throw new RangeError("".concat(r," option is required"));return t}function mo(e){var r=yo(e);if(!vr.includes(yo(r)))throw new RangeError("invalid calendar identifier ".concat(r));switch(r){case"ethiopic-amete-alem":return"ethioaa";case"islamicc":return"islamic-civil"}return r}function yo(e){for(var r="",n=0;n<e.length;n++){var t=e.charCodeAt(n);r+=String.fromCharCode(t>=65&&t<=90?t+32:t)}return r}function Do(e){var r="PlainMonthDay"===e?"Temporal.PlainDate.compare(obj1.toPlainDate(year), obj2.toPlainDate(year))":"Temporal.".concat(e,".compare(obj1, obj2)");throw new TypeError("Do not use built-in arithmetic operators with Temporal objects. "+"When comparing, use ".concat(r,", not obj1 > obj2. ")+"When coercing to strings, use `${obj}` or String(obj), not '' + obj. When coercing to numbers, use properties or methods of the object, not `+obj`. When concatenating with strings, use `${str}${obj}` or str.concat(obj), not str + obj. In React, coerce to a string before rendering a Temporal object.")}var wo=new RegExp("^".concat(We.source,"$")),go=new RegExp("^".concat(/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\d{1,9}))?)?)?/.source,"$"));function Fo(e,r,n){for(var t=r,i=n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e(r),u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e(n);i-t>1;){var a=Math.trunc((t+i)/2),s=e(a);s===o?(t=a,o=s):s===u&&(i=a,u=s)}return i}function po(e){return w(e)}function Eo(e,r){if("gregory"===e||"iso8601"===e){var n=bo[e],t=r.year,i=n.isoToDate(r,{dayOfWeek:!0,dayOfYear:!0,daysInYear:!0}),o=i.dayOfWeek,u=i.dayOfYear,a=i.daysInYear,s=n.getFirstDayOfWeek(),c=n.getMinimalDaysInFirstWeek(),f=(o+7-s)%7,h=(o-u+7001-s)%7,d=Math.floor((u-1+h)/7);if(7-h>=c&&++d,0==d)d=function(e,r,n,t){var i=(t-e-n+1)%7;i<0&&(i+=7);var o=Math.floor((n+i-1)/7);return 7-i>=r&&++o,o}(s,c,u+n.isoToDate(n.dateAdd(r,{years:-1},"constrain"),{daysInYear:!0}).daysInYear,o),t--;else if(u>=a-5){var v=(f+a-u)%7;v<0&&(v+=7),6-v>=c&&u+7-f>a&&(d=1,t++)}return{week:d,year:t}}}function ko(e,r,n,t,i){if(r!==i.year){if(e*(r-i.year)>0)return!0}else if(n!==i.month){if(e*(n-i.month)>0)return!0}else if(t!==i.day&&e*(t-i.day)>0)return!0;return!1}var bo={};function Co(e){if(!e.startsWith("M"))throw new RangeError("Invalid month code: ".concat(e,". Month codes must start with M."));var r=+e.slice(1);if(Number.isNaN(r))throw new RangeError("Invalid month code: ".concat(e));return r}function Ao(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(e).padStart(2,"0"),t=r?"L":"";return"M".concat(n).concat(t)}function Mo(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,t=e.month,i=e.monthCode;if(void 0===i){if(void 0===t)throw new TypeError("Either month or monthCode are required");"reject"===r&&oi(t,1,n),"constrain"===r&&(t=ti(t,1,n)),i=Ao(t)}else{var o=Co(i);if(i!==Ao(o))throw new RangeError("Invalid month code: ".concat(i));if(void 0!==t&&t!==o)throw new RangeError("monthCode ".concat(i," and month ").concat(t," must match if both are present"));if((t=o)<1||t>n)throw new RangeError("Invalid monthCode: ".concat(i))}return l(l({},e),{},{month:t,monthCode:i})}bo.iso8601={resolveFields:function(e,r){if(("date"===r||"year-month"===r)&&void 0===e.year)throw new TypeError("year is required");if(("date"===r||"month-day"===r)&&void 0===e.day)throw new TypeError("day is required");Object.assign(e,Mo(e))},dateToISO:function(e,r){return nn(e.year,e.month,e.day,r)},monthDayToISOReferenceDate:function(e,r){var n,t=nn(null!==(n=e.year)&&void 0!==n?n:1972,e.month,e.day,r);return{month:t.month,day:t.day,year:1972}},extraFields:function(){return[]},fieldKeysToIgnore:function(e){for(var r=new Set,n=0;n<e.length;n++){var t=e[n];r.add(t),"month"===t?r.add("monthCode"):"monthCode"===t&&r.add("month")}return po(r)},dateAdd:function(e,r,n){var t=r.years,i=r.months,o=r.weeks,u=void 0===o?0:o,a=r.days,s=void 0===a?0:a,c=e.year,f=e.month,h=e.day,d=Vt(c+=void 0===t?0:t,f+=void 0===i?0:i),v=nn(c=d.year,f=d.month,h,n);return h=v.day,Xt(c=v.year,f=v.month,h+=s+7*u)},dateUntil:function(e,r,n){var t=-eo(e,r);if(0===t)return{years:0,months:0,weeks:0,days:0};var i,o=0,u=0;if("year"===n||"month"===n){var a=r.year-e.year;for(0!==a&&(a-=t);!ko(t,e.year+a,e.month,e.day,r);)o=a,a+=t;var s=t;for(i=Vt(e.year+o,e.month+s);!ko(t,i.year,i.month,e.day,r);)u=s,s+=t,i=Vt(i.year,i.month+t);"month"===n&&(u+=12*o,o=0)}var c=ii((i=Vt(e.year+o,e.month+u)).year,i.month,e.day),f=0,h=Fi(r.year,r.month-1,r.day)-Fi(c.year,c.month-1,c.day);return"week"===n&&(f=Math.trunc(h/7),h%=7),{years:o,months:u,weeks:f,days:h}},isoToDate:function(e,r){var n=e.year,t=e.month,i=e.day,o={era:void 0,eraYear:void 0,year:n,month:t,day:i,daysInWeek:7,monthsInYear:12};if(r.monthCode&&(o.monthCode=Ao(t)),r.dayOfWeek){var u=t+(t<3?10:-2),a=n-(t<3?1:0),s=Math.floor(a/100),c=a-100*s,f=(i+Math.floor(2.6*u-.2)+(c+Math.floor(c/4))+(Math.floor(s/4)-2*s))%7;o.dayOfWeek=f+(f<=0?7:0)}if(r.dayOfYear){for(var h=i,d=t-1;d>0;d--)h+=Jt(n,d);o.dayOfYear=h}return r.weekOfYear&&(o.weekOfYear=Eo("iso8601",{year:n,month:t,day:i})),r.daysInMonth&&(o.daysInMonth=Jt(n,t)),(r.daysInYear||r.inLeapYear)&&(o.inLeapYear=$t(n),o.daysInYear=o.inLeapYear?366:365),o},getFirstDayOfWeek:function(){return 1},getMinimalDaysInFirstWeek:function(){return 4}};var To=function(){function e(r){if(t(this,e),this.map=new Map,this.calls=0,this.hits=0,this.misses=0,void 0!==r){var n,i=0,o=u(r.map.entries());try{for(o.s();!(n=o.n()).done;){var a,s=n.value;if(++i>e.MAX_CACHE_ENTRIES)break;(a=this.map).set.apply(a,w(s))}}catch(r){o.e(r)}finally{o.f()}}}return o(e,[{key:"get",value:function(e){var r=this.map.get(e);return r&&(this.hits++,this.report()),this.calls++,r}},{key:"set",value:function(e,r){this.map.set(e,r),this.misses++,this.report()}},{key:"report",value:function(){}},{key:"setObject",value:function(r){if(e.objectMap.get(r))throw new RangeError("object already cached");e.objectMap.set(r,this),this.report()}}],[{key:"getCacheForObject",value:function(r){var n=e.objectMap.get(r);return n||(n=new e,e.objectMap.set(r,n)),n}}]),e}();function Bo(e){var r=e.isoMonth,n=e.isoDay,t=gt(e.isoYear),i=Ft(r),o=Ft(n);return"".concat(t,"-").concat(i,"-").concat(o,"T00:00Z")}function Io(e,r){return{years:e.year-r.year,months:e.month-r.month,days:e.day-r.day}}To.objectMap=new WeakMap,To.MAX_CACHE_ENTRIES=1e3;var Ro=function(){function e(){t(this,e),this.eras=[],this.hasEra=!1,this.erasBeginMidYear=!1}return o(e,[{key:"getFormatter",value:function(){return void 0===this.formatter&&(this.formatter=new Intl.DateTimeFormat("en-US-u-ca-".concat(this.id),{day:"numeric",month:"numeric",year:"numeric",era:"short",timeZone:"UTC"})),this.formatter}},{key:"getCalendarParts",value:function(e){var r=this.getFormatter(),n=new Date(e);if("-271821-04-19T00:00Z"===e){var t=r.resolvedOptions();r=new Intl.DateTimeFormat(t.locale,l(l({},t),{},{timeZone:"Etc/GMT+1"})),n=new Date("-271821-04-20T00:00Z")}try{return r.formatToParts(n)}catch(r){throw new RangeError("Invalid ISO date: ".concat(e))}}},{key:"isoToCalendarDate",value:function(e,r){var n=this,t=e.year,i=e.month,o=e.day,u=JSON.stringify({func:"isoToCalendarDate",isoYear:t,isoMonth:i,isoDay:o,id:this.id}),a=r.get(u);if(a)return a;for(var s=Bo({isoYear:t,isoMonth:i,isoDay:o}),c=this.getCalendarParts(s),f={},h=0;h<c.length;h++){var d=c[h],v=d.type,l=d.value;if("year"!==v&&"relatedYear"!==v||(this.hasEra?f.eraYear=+l:f.year=+l),"month"===v){var m=/^([0-9]*)(.*?)$/.exec(l);if(!m||3!=m.length||!m[1]&&!m[2])throw new RangeError("Unexpected month: ".concat(l));if(f.month=m[1]?+m[1]:1,f.month<1)throw new RangeError("Invalid month ".concat(l," from ").concat(s,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10527)");if(f.month>13)throw new RangeError("Invalid month ".concat(l," from ").concat(s,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10529)");m[2]&&(f.monthExtra=m[2])}"day"===v&&(f.day=+l),this.hasEra&&"era"===v&&null!=l&&""!==l&&(f.era=l.split(" (")[0].normalize("NFD").replace(/(?:[\0-\x1F!-,\.\/:-@\[-`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u0530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07C9\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09EF\u09F2-\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B70\u0B72-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57-\u0D5E\u0D62-\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0EDB\u0EE0-\u0EFF\u0F01-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u1040-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16F0\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u194F\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19FF\u1A17-\u1A1F\u1A55-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BFF\u1C24-\u1C4C\u1C50-\u1C59\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u2182\u2185-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3007-\u3030\u3036-\u303A\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA620-\uA629\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6E6-\uA716\uA720\uA721\uA789\uA78A\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA802\uA806\uA80B\uA823-\uA83F\uA874-\uA881\uA8B4-\uA8F1\uA8F8-\uA8FA\uA8FC\uA8FF-\uA909\uA926-\uA92F\uA947-\uA95F\uA97D-\uA983\uA9B3-\uA9CE\uA9D0-\uA9DF\uA9E5\uA9F0-\uA9F9\uA9FF\uAA29-\uAA3F\uAA43\uAA4C-\uAA5F\uAA77-\uAA79\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAC3-\uAADA\uAADE\uAADF\uAAEB-\uAAF1\uAAF5-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABE3-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB1E\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFE6F\uFE75\uFEFD-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEFF\uDF20-\uDF2C\uDF41\uDF4A-\uDF4F\uDF76-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0-\uDFFF]|\uD801[\uDC9E-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6F\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE01-\uDE0F\uDE14\uDE18\uDE36-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE5-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD24-\uDE7F\uDEAA-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF46-\uDF6F\uDF82-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC00-\uDC02\uDC38-\uDC70\uDC73\uDC74\uDC76-\uDC82\uDCB0-\uDCCF\uDCE9-\uDD02\uDD27-\uDD43\uDD45\uDD46\uDD48-\uDD4F\uDD73-\uDD75\uDD77-\uDD82\uDDB3-\uDDC0\uDDC5-\uDDD9\uDDDB\uDDDD-\uDDFF\uDE12\uDE2C-\uDE3E\uDE41-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEDF-\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A-\uDF3C\uDF3E-\uDF4F\uDF51-\uDF5C\uDF62-\uDFFF]|\uD805[\uDC35-\uDC46\uDC4B-\uDC5E\uDC62-\uDC7F\uDCB0-\uDCC3\uDCC6\uDCC8-\uDD7F\uDDAF-\uDDD7\uDDDC-\uDDFF\uDE30-\uDE43\uDE45-\uDE7F\uDEAB-\uDEB7\uDEB9-\uDEFF\uDF1B-\uDF3F\uDF47-\uDFFF]|\uD806[\uDC2C-\uDC9F\uDCE0-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD30-\uDD3E\uDD40\uDD42-\uDD9F\uDDA8\uDDA9\uDDD1-\uDDE0\uDDE2\uDDE4-\uDDFF\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE4F\uDE51-\uDE5B\uDE8A-\uDE9C\uDE9E-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC2F-\uDC3F\uDC41-\uDC71\uDC90-\uDCFF\uDD07\uDD0A\uDD31-\uDD45\uDD47-\uDD5F\uDD66\uDD69\uDD8A-\uDD97\uDD99-\uDEDF\uDEF3-\uDF01\uDF03\uDF11\uDF34-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC00-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD834\uD836\uD83C-\uD83F\uD87B-\uD87D\uD87F\uD889-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF1-\uDFFF]|\uD80D[\uDC30-\uDC40\uDC47-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F-\uDE6F\uDEBF-\uDECF\uDEEE-\uDEFF\uDF30-\uDF3F\uDF44-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4F\uDF51-\uDF92\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD31\uDD33-\uDD4F\uDD53\uDD54\uDD56-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDF24\uDF2B-\uDFFF]|\uD838[\uDC00-\uDC2F\uDC6E-\uDCFF\uDD2D-\uDD36\uDD3E-\uDD4D\uDD4F-\uDE8F\uDEAE-\uDEBF\uDEEC-\uDFFF]|\uD839[\uDC00-\uDCCF\uDCEC-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5-\uDCFF\uDD44-\uDD4A\uDD4C-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,"").replace(/ /g,"-").toLowerCase())}if(this.hasEra&&void 0===f.eraYear)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(this.id," calendar. Try Node 14+ or modern browsers."));if(this.hasEra){var y=this.eras.find((function(e){return f.era===e.genericName}));y&&(f.era=y.code)}if(this.reviseIntlEra){var D=this.reviseIntlEra(f,e),w=D.eraYear;f.era=D.era,f.eraYear=w}this.checkIcuBugs&&this.checkIcuBugs(e);var g=this.adjustCalendarDate(f,r,"constrain",!0);if(void 0===g.year)throw new RangeError("Missing year converting ".concat(JSON.stringify(e)));if(void 0===g.month)throw new RangeError("Missing month converting ".concat(JSON.stringify(e)));if(void 0===g.day)throw new RangeError("Missing day converting ".concat(JSON.stringify(e)));return r.set(u,g),["constrain","reject"].forEach((function(t){var i=JSON.stringify({func:"calendarToIsoDate",year:g.year,month:g.month,day:g.day,overflow:t,id:n.id});r.set(i,e)})),g}},{key:"validateCalendarDate",value:function(e){var r=e.month,n=e.year,t=e.day,i=e.eraYear,o=e.monthCode;if(void 0!==e.monthExtra)throw new RangeError("Unexpected `monthExtra` value");if(void 0===n&&void 0===i)throw new TypeError("year or eraYear is required");if(void 0===r&&void 0===o)throw new TypeError("month or monthCode is required");if(void 0===t)throw new RangeError("Missing day");if(void 0!==o){if("string"!=typeof o)throw new RangeError("monthCode must be a string, not ".concat(F(o)));if(!/^M([01]?\d)(L?)$/.test(o))throw new RangeError("Invalid monthCode: ".concat(o))}if(this.hasEra&&void 0===e.era!=(void 0===e.eraYear))throw new TypeError("properties era and eraYear must be provided together")}},{key:"adjustCalendarDate",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain";if("lunisolar"===this.calendarType)throw new RangeError("Override required for lunisolar calendars");var t=e;this.validateCalendarDate(t);var i,o,u=this.monthsInYear(t,r),a=Mo(t,n,u);return i=a.month,o=a.monthCode,l(l({},t),{},{month:i,monthCode:o})}},{key:"regulateMonthDayNaive",value:function(e,r,n){var t=this.monthsInYear(e,n),i=e.month,o=e.day;return"reject"===r?(oi(i,1,t),oi(o,1,this.maximumMonthLength(e))):(i=ti(i,1,t),o=ti(o,1,this.maximumMonthLength(l(l({},e),{},{month:i})))),l(l({},e),{},{month:i,day:o})}},{key:"calendarToIsoDate",value:function(e){var r,n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"constrain",i=arguments.length>2?arguments[2]:void 0,o=e,u=this.adjustCalendarDate(e,i,t,!1),a=u=this.regulateMonthDayNaive(u,t,i),s=a.year,c=a.month,f=a.day,h=JSON.stringify({func:"calendarToIsoDate",year:s,month:c,day:f,overflow:t,id:this.id}),d=i.get(h);if(d)return d;if(void 0!==o.year&&void 0!==o.month&&void 0!==o.day&&(o.year!==u.year||o.month!==u.month||o.day!==u.day)&&(r=JSON.stringify({func:"calendarToIsoDate",year:o.year,month:o.month,day:o.day,overflow:t,id:this.id}),d=i.get(r)))return d;var v=this.estimateIsoDate({year:s,month:c,day:f}),m=function(e){var r=n.addDaysIso(v,e);if(u.day>n.minimumMonthLength(u))for(var o=n.isoToCalendarDate(r,i);o.month!==c||o.year!==s;){if("reject"===t)throw new RangeError("day ".concat(f," does not exist in month ").concat(c," of year ").concat(s));r=n.addDaysIso(r,-1),o=n.isoToCalendarDate(r,i)}return r},y=0,D=this.isoToCalendarDate(v,i),w=Io(u,D);0===w.years&&0===w.months&&0===w.days||(v=this.addDaysIso(v,365*w.years+30*w.months+w.days),D=this.isoToCalendarDate(v,i),0===(w=Io(u,D)).years&&0===w.months?v=m(w.days):y=this.compareCalendarDates(u,D));for(var g=8;y;){v=this.addDaysIso(v,y*g);var F=D;D=this.isoToCalendarDate(v,i);var p=y;if(y=this.compareCalendarDates(u,D))if(0===(w=Io(u,D)).years&&0===w.months)v=m(w.days),y=0;else if(p&&y!==p)if(g>1)g/=2;else{if("reject"===t)throw new RangeError("Can't find ISO date from calendar date: ".concat(JSON.stringify(l({},o))));this.compareCalendarDates(D,F)>0&&(v=this.addDaysIso(v,-1)),y=0}}if(i.set(h,v),r&&i.set(r,v),void 0===u.year||void 0===u.month||void 0===u.day||void 0===u.monthCode||this.hasEra&&(void 0===u.era||void 0===u.eraYear))throw new RangeError("Unexpected missing property");return v}},{key:"compareCalendarDates",value:function(e,r){return e.year!==r.year?fo(e.year-r.year):e.month!==r.month?fo(e.month-r.month):e.day!==r.day?fo(e.day-r.day):0}},{key:"regulateDate",value:function(e){var r=arguments.length>2?arguments[2]:void 0,n=this.calendarToIsoDate(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"constrain",r);return this.isoToCalendarDate(n,r)}},{key:"addDaysIso",value:function(e,r){return Xt(e.year,e.month,e.day+r)}},{key:"addDaysCalendar",value:function(e,r,n){var t=this.calendarToIsoDate(e,"constrain",n),i=this.addDaysIso(t,r);return this.isoToCalendarDate(i,n)}},{key:"addMonthsCalendar",value:function(e,r,n,t){for(var i=e,o=i.day,u=0,a=Math.abs(r);u<a;u++){var s=i.month,c=i,f=r<0?-Math.max(o,this.daysInPreviousMonth(i,t)):this.daysInMonth(i,t),h=this.calendarToIsoDate(i,"constrain",t),d=this.addDaysIso(h,f);if(i=this.isoToCalendarDate(d,t),r>0)for(var v=this.monthsInYear(c,t);i.month-1!=s%v;)d=this.addDaysIso(d,-1),i=this.isoToCalendarDate(d,t);i.day!==o&&(i=this.regulateDate(l(l({},i),{},{day:o}),"constrain",t))}if("reject"===n&&i.day!==o)throw new RangeError("Day ".concat(o," does not exist in resulting calendar month"));return i}},{key:"addCalendar",value:function(e,r,n,t){var i=r.years,o=r.months,u=void 0===o?0:o,a=r.weeks,s=void 0===a?0:a,c=r.days,f=void 0===c?0:c,h=this.adjustCalendarDate({year:e.year+(void 0===i?0:i),monthCode:e.monthCode,day:e.day},t),d=this.addMonthsCalendar(h,u,n,t);return this.addDaysCalendar(d,f+7*s,t)}},{key:"untilCalendar",value:function(e,r,n,t){var i=0,o=0,u=0,a=0;switch(n){case"day":i=this.calendarDaysUntil(e,r,t);break;case"week":var s=this.calendarDaysUntil(e,r,t);o=(s-(i=s%7))/7;break;case"month":case"year":var c=this.compareCalendarDates(r,e);if(!c)return{years:0,months:0,weeks:0,days:0};var f=r.year-e.year;if("year"===n&&f){var h=0;r.monthCode>e.monthCode&&(h=1),r.monthCode<e.monthCode&&(h=-1),h||(h=Math.sign(r.day-e.day)),a=h*c<0?f-c:f}var d,v=a?this.addCalendar(e,{years:a},"constrain",t):e;do{u+=c,(v=this.addMonthsCalendar(d=v,c,"constrain",t)).day!==e.day&&(v=this.regulateDate(l(l({},v),{},{day:e.day}),"constrain",t))}while(this.compareCalendarDates(r,v)*c>=0);u-=c,i=this.calendarDaysUntil(d,r,t)}return{years:a,months:u,weeks:o,days:i}}},{key:"daysInMonth",value:function(e,r){var n=e.day,t=this.maximumMonthLength(e),i=this.minimumMonthLength(e);if(i===t)return i;var o=n<=t-i?t:i,u=this.calendarToIsoDate(e,"constrain",r),a=this.addDaysIso(u,o),s=this.isoToCalendarDate(a,r),c=this.addDaysIso(a,-s.day);return this.isoToCalendarDate(c,r).day}},{key:"daysInPreviousMonth",value:function(e,r){var n=e.day,t=e.month,i=e.year,o={year:t>1?i:i-1,month:t,day:1},u=t>1?t-1:this.monthsInYear(o,r);o=l(l({},o),{},{month:u});var a=this.minimumMonthLength(o),s=this.maximumMonthLength(o);if(a===s)return s;var c=this.calendarToIsoDate(e,"constrain",r),f=this.addDaysIso(c,-n);return this.isoToCalendarDate(f,r).day}},{key:"startOfCalendarYear",value:function(e){return{year:e.year,month:1,monthCode:"M01",day:1}}},{key:"startOfCalendarMonth",value:function(e){return{year:e.year,month:e.month,day:1}}},{key:"calendarDaysUntil",value:function(e,r,n){var t=this.calendarToIsoDate(e,"constrain",n),i=this.calendarToIsoDate(r,"constrain",n);return Fi(i.year,i.month-1,i.day)-Fi(t.year,t.month-1,t.day)}},{key:"monthDaySearchStartYear",value:function(){return 1972}},{key:"monthDayFromFields",value:function(e,r,n){var t,i,o,u,a,s=e.eraYear,c=e.year,f=e.monthCode,h=e.day;if(void 0!==e.month&&void 0===c&&(!this.hasEra||void 0===e.era||void 0===s))throw new TypeError("when month is present, year (or era and eraYear) are required");if(void 0===f||void 0!==c||this.hasEra&&void 0!==s){var d=this.isoToCalendarDate(this.calendarToIsoDate(e,r,n),n);f=d.monthCode,h=d.day}for(var v={year:this.monthDaySearchStartYear(f,h),month:12,day:31},l=this.isoToCalendarDate(v,n),m=l.monthCode>f||l.monthCode===f&&l.day>=h?l.year:l.year-1,y=0;y<20;y++){var D=this.adjustCalendarDate({day:h,monthCode:f,year:m-y},n),w=this.calendarToIsoDate(D,"constrain",n),g=this.isoToCalendarDate(w,n);if(t=w.year,i=w.month,o=w.day,g.monthCode===f&&g.day===h)return{month:i,day:o,year:t};if("constrain"===r){var F=this.maxLengthOfMonthCodeInAnyYear(g.monthCode);if(g.monthCode===f&&g.day===F&&h>F)return{month:i,day:o,year:t};(void 0===u||g.monthCode===u.monthCode&&g.day>u.day)&&(u=g,a=w)}}if("constrain"===r&&void 0!==a)return a;throw new RangeError("No recent ".concat(this.id," year with monthCode ").concat(f," and day ").concat(h))}},{key:"getFirstDayOfWeek",value:function(){}},{key:"getMinimalDaysInFirstWeek",value:function(){}}]),e}(),Oo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="hebrew",e.calendarType="lunisolar",e.months={Tishri:{leap:1,regular:1,monthCode:"M01",days:30},Heshvan:{leap:2,regular:2,monthCode:"M02",days:{min:29,max:30}},Kislev:{leap:3,regular:3,monthCode:"M03",days:{min:29,max:30}},Tevet:{leap:4,regular:4,monthCode:"M04",days:29},Shevat:{leap:5,regular:5,monthCode:"M05",days:30},Adar:{leap:void 0,regular:6,monthCode:"M06",days:29},"Adar I":{leap:6,regular:void 0,monthCode:"M05L",days:30},"Adar II":{leap:7,regular:void 0,monthCode:"M06",days:29},Nisan:{leap:8,regular:7,monthCode:"M07",days:30},Iyar:{leap:9,regular:8,monthCode:"M08",days:29},Sivan:{leap:10,regular:9,monthCode:"M09",days:30},Tamuz:{leap:11,regular:10,monthCode:"M10",days:29},Av:{leap:12,regular:11,monthCode:"M11",days:30},Elul:{leap:13,regular:12,monthCode:"M12",days:29}},e}return o(n,[{key:"inLeapYear",value:function(e){return(7*e.year+1)%19<7}},{key:"monthsInYear",value:function(e){return this.inLeapYear(e)?13:12}},{key:"minimumMonthLength",value:function(e){return this.minMaxMonthLength(e,"min")}},{key:"maximumMonthLength",value:function(e){return this.minMaxMonthLength(e,"max")}},{key:"minMaxMonthLength",value:function(e,r){var n=e.month,t=this.getMonthCode(e.year,n),i=Object.entries(this.months).find((function(e){return e[1].monthCode===t}));if(void 0===i)throw new RangeError("unmatched Hebrew month: ".concat(n));var o=i[1].days;return"number"==typeof o?o:o[r]}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){return["M04","M06","M08","M10","M12"].includes(e)?29:30}},{key:"estimateIsoDate",value:function(e){return{year:e.year-3760,month:1,day:1}}},{key:"getMonthCode",value:function(e,r){return this.inLeapYear({year:e})?6===r?Ao(5,!0):Ao(r<6?r:r-1):Ao(r)}},{key:"adjustCalendarDate",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.year,o=e.month,u=e.monthCode,a=e.day,s=e.monthExtra;if(void 0===i)throw new TypeError("Missing property: year");if(t){if(s){var c=this.months[s];if(!c)throw new RangeError("Unrecognized month from formatToParts: ".concat(s));o=this.inLeapYear({year:i})?c.leap:c.regular}return{year:i,month:o,day:a,monthCode:u=this.getMonthCode(i,o)}}if(this.validateCalendarDate(e),void 0===o)if(u.endsWith("L")){if("M05L"!==u)throw new RangeError("Hebrew leap month must have monthCode M05L, not ".concat(u));if(o=6,!this.inLeapYear({year:i})){if("reject"===n)throw new RangeError("Hebrew monthCode M05L is invalid in year ".concat(i," which is not a leap year"));o=6,u="M06"}}else{o=Co(u),this.inLeapYear({year:i})&&o>=6&&o++;var f=this.monthsInYear({year:i});if(o<1||o>f)throw new RangeError("Invalid monthCode: ".concat(u))}else if("reject"===n?(oi(o,1,this.monthsInYear({year:i})),oi(a,1,this.maximumMonthLength({year:i,month:o}))):(o=ti(o,1,this.monthsInYear({year:i})),a=ti(a,1,this.maximumMonthLength({year:i,month:o}))),void 0===u)u=this.getMonthCode(i,o);else if(this.getMonthCode(i,o)!==u)throw new RangeError("monthCode ".concat(u," doesn't correspond to month ").concat(o," in Hebrew year ").concat(i));return l(l({},e),{},{day:a,month:o,monthCode:u,year:i})}}]),n}(Ro),jo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).calendarType="lunar",e.DAYS_PER_ISLAMIC_YEAR=354+11/30,e.DAYS_PER_ISO_YEAR=365.2425,e}return o(n,[{key:"inLeapYear",value:function(e,r){return 355===this.calendarDaysUntil({year:e.year,month:1,monthCode:"M01",day:1},{year:e.year+1,month:1,monthCode:"M01",day:1},r)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(){return 30}},{key:"estimateIsoDate",value:function(e){var r=this.adjustCalendarDate(e).year;return{year:Math.floor(r*this.DAYS_PER_ISLAMIC_YEAR/this.DAYS_PER_ISO_YEAR)+622,month:1,day:1}}}]),n}(Ro),So=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamic",e}return o(n)}(jo),xo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamic-umalqura",e}return o(n)}(jo),_o=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamic-tbla",e}return o(n)}(jo),Yo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamic-civil",e}return o(n)}(jo),No=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamic-rgsa",e}return o(n)}(jo),Lo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="islamicc",e}return o(n)}(jo),Po=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="persian",e.calendarType="solar",e}return o(n,[{key:"inLeapYear",value:function(e,r){return 30===this.daysInMonth({year:e.year,month:12,day:1},r)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(e){var r=e.month;return 12===r?29:r<=6?31:30}},{key:"maximumMonthLength",value:function(e){var r=e.month;return 12===r?30:r<=6?31:30}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){return Co(e)<=6?31:30}},{key:"estimateIsoDate",value:function(e){return{year:this.adjustCalendarDate(e).year+621,month:1,day:1}}}]),n}(Ro),Uo=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="indian",e.calendarType="solar",e.months={1:{length:30,month:3,day:22,leap:{length:31,month:3,day:21}},2:{length:31,month:4,day:21},3:{length:31,month:5,day:22},4:{length:31,month:6,day:22},5:{length:31,month:7,day:23},6:{length:31,month:8,day:23},7:{length:30,month:9,day:23},8:{length:30,month:10,day:23},9:{length:30,month:11,day:22},10:{length:30,month:12,day:22},11:{length:30,month:1,nextYear:!0,day:21},12:{length:30,month:2,nextYear:!0,day:20}},e.vulnerableToBceBug="10/11/-79 Saka"!==new Date("0000-01-01T00:00Z").toLocaleDateString("en-US-u-ca-indian",{timeZone:"UTC"}),e}return o(n,[{key:"inLeapYear",value:function(e){return zo(e.year+78)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(e){return this.getMonthInfo(e).length}},{key:"maximumMonthLength",value:function(e){return this.getMonthInfo(e).length}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){var r,n=Co(e),t=this.months[n];return(t=null!==(r=t.leap)&&void 0!==r?r:t).length}},{key:"getMonthInfo",value:function(e){var r=e.month,n=this.months[r];if(void 0===n)throw new RangeError("Invalid month: ".concat(r));return this.inLeapYear(e)&&n.leap&&(n=n.leap),n}},{key:"estimateIsoDate",value:function(e){var r=this.adjustCalendarDate(e),n=this.getMonthInfo(r);return Xt(r.year+78+(n.nextYear?1:0),n.month,n.day+r.day-1)}},{key:"checkIcuBugs",value:function(e){if(this.vulnerableToBceBug&&e.year<1)throw new RangeError("calendar '".concat(this.id,"' is broken for ISO dates before 0001-01-01")+" (see https://bugs.chromium.org/p/v8/issues/detail?id=10529)")}}]),n}(Ro);function zo(e){return e%4==0&&(e%100!=0||e%400==0)}for(var Zo,qo,Wo,$o=function(e){h(n,e);var r=a(n);function n(e,i){var o;return t(this,n),(o=r.call(this)).calendarType="solar",o.id=e,o.isoEpoch=i,o}return o(n,[{key:"inLeapYear",value:function(e){return zo(this.estimateIsoDate({month:1,day:1,year:e.year}).year)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(e){var r=e.month;return 2===r?this.inLeapYear(e)?29:28:[4,6,9,11].indexOf(r)>=0?30:31}},{key:"maximumMonthLength",value:function(e){return this.minimumMonthLength(e)}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){return[31,29,31,30,31,30,31,31,30,31,30,31][Co(e)-1]}},{key:"estimateIsoDate",value:function(e){var r=this.adjustCalendarDate(e);return nn(r.year+this.isoEpoch.year,r.month+this.isoEpoch.month,r.day+this.isoEpoch.day,"constrain")}}]),n}(Ro),Jo=function(e){h(n,e);var r=a(n);function n(e,i){var o;t(this,n),(o=r.call(this)).hasEra=!0,o.calendarType="solar",o.id=e;var u=function(e){var r,n=e;if(0===n.length)throw new RangeError("Invalid era data: eras are required");if(1===n.length&&n[0].reverseOf)throw new RangeError("Invalid era data: anchor era cannot count years backwards");if(1===n.length&&!n[0].code)throw new RangeError("Invalid era data: at least one named era is required");if(n.filter((function(e){return null!=e.reverseOf})).length>1)throw new RangeError("Invalid era data: only one era can count years backwards");n.forEach((function(e){if(e.isAnchor||!e.anchorEpoch&&!e.reverseOf){if(r)throw new RangeError("Invalid era data: cannot have multiple anchor eras");r=e,e.anchorEpoch={year:e.hasYearZero?0:1}}else if(!e.code)throw new RangeError("If era name is blank, it must be the anchor era")})),(n=n.filter((function(e){return e.code}))).forEach((function(e){var r=e.reverseOf;if(r){var t=n.find((function(e){return e.code===r}));if(void 0===t)throw new RangeError("Invalid era data: unmatched reverseOf era: ".concat(r));e.reverseOf=t,e.anchorEpoch=t.anchorEpoch,e.isoEpoch=t.isoEpoch}void 0===e.anchorEpoch.month&&(e.anchorEpoch.month=1),void 0===e.anchorEpoch.day&&(e.anchorEpoch.day=1)})),n.sort((function(e,r){if(e.reverseOf)return 1;if(r.reverseOf)return-1;if(!e.isoEpoch||!r.isoEpoch)throw new RangeError("Invalid era data: missing ISO epoch");return r.isoEpoch.year-e.isoEpoch.year}));var t=n[n.length-1].reverseOf;if(t&&t!==n[n.length-2])throw new RangeError("Invalid era data: invalid reverse-sign era");return n.forEach((function(e,r){e.genericName="era".concat(n.length-1-r)})),{eras:n,anchorEra:r||n[0]}}(i),a=u.eras;return o.anchorEra=u.anchorEra,o.eras=a,o}return o(n,[{key:"inLeapYear",value:function(e){return zo(this.estimateIsoDate({month:1,day:1,year:e.year}).year)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(e){var r=e.month;return 2===r?this.inLeapYear(e)?29:28:[4,6,9,11].indexOf(r)>=0?30:31}},{key:"maximumMonthLength",value:function(e){return this.minimumMonthLength(e)}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){return[31,29,31,30,31,30,31,31,30,31,30,31][Co(e)-1]}},{key:"completeEraYear",value:function(e){var r=this,n=function(r,n,t){var i=e[r];if(null!=i&&i!=n&&!(t||[]).includes(i)){var o=null==t?void 0:t[0],u=o?"".concat(n," (also called ").concat(o,")"):n;throw new RangeError("Input ".concat(r," ").concat(i," doesn't match calculated value ").concat(u))}},t=function(n){var t,i=l(l({},e),{},{year:n}),o=r.eras.find((function(e,o){if(o===r.eras.length-1){if(e.reverseOf){if(n>0)throw new RangeError("Signed year ".concat(n," is invalid for era ").concat(e.code));return t=e.anchorEpoch.year-n,!0}return t=n-e.anchorEpoch.year+(e.hasYearZero?0:1),!0}return r.compareCalendarDates(i,e.anchorEpoch)>=0&&(t=n-e.anchorEpoch.year+(e.hasYearZero?0:1),!0)}));if(!o)throw new RangeError("Year ".concat(n," was not matched by any era"));return{eraYear:t,era:o.code,eraNames:o.names}},i=e.year,o=e.eraYear,u=e.era;if(null!=i){var a=t(i);o=a.eraYear,n("era",u=a.era,null==a?void 0:a.eraNames),n("eraYear",o)}else{if(null==o)throw new RangeError("Either year or eraYear and era are required");if(void 0===u)throw new RangeError("era and eraYear must be provided together");var s=this.eras.find((function(e){var r=e.names;return e.code===u||(void 0===r?[]:r).includes(u)}));if(!s)throw new RangeError("Era ".concat(u," (ISO year ").concat(o,") was not matched by any era"));n("year",i=s.reverseOf?s.anchorEpoch.year-o:o+s.anchorEpoch.year-(s.hasYearZero?0:1));var c=t(i);o=c.eraYear,u=c.era}return l(l({},e),{},{year:i,eraYear:o,era:u})}},{key:"adjustCalendarDate",value:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",i=e,o=i.monthCode;return void 0===i.month&&(i=l(l({},i),{},{month:Co(o)})),this.validateCalendarDate(i),i=this.completeEraYear(i),c(f(n.prototype),"adjustCalendarDate",this).call(this,i,r,t)}},{key:"estimateIsoDate",value:function(e){var r=this.adjustCalendarDate(e),n=this.anchorEra;return nn(r.year+n.isoEpoch.year-(n.hasYearZero?0:1),r.month,r.day,"constrain")}}]),n}(Ro),Go=function(e){h(n,e);var r=a(n);function n(e,i){return t(this,n),r.call(this,e,i)}return o(n,[{key:"isoToCalendarDate",value:function(e){var r=e.year,n=e.month,t=e.day,i=Ao(n);return this.completeEraYear({year:r-this.anchorEra.isoEpoch.year+1,month:n,monthCode:i,day:t})}}]),n}(Jo),Ho=function(e){return(e.year+1)%4==0},Ko=function(){return 13},Vo=function(e){return 13===e.month?this.inLeapYear(e)?6:5:30},Xo=function(e){return this.minimumMonthLength(e)},Qo=function(e){return"M13"===e?6:30},eu=function(e){h(n,e);var r=a(n);function n(e,i){var o;return t(this,n),(o=r.call(this,e,i)).inLeapYear=Ho,o.monthsInYear=Ko,o.minimumMonthLength=Vo,o.maximumMonthLength=Xo,o.maxLengthOfMonthCodeInAnyYear=Qo,o}return o(n)}($o),ru=function(e){h(n,e);var r=a(n);function n(e,i){var o;return t(this,n),(o=r.call(this,e,i)).inLeapYear=Ho,o.monthsInYear=Ko,o.minimumMonthLength=Vo,o.maximumMonthLength=Xo,o.maxLengthOfMonthCodeInAnyYear=Qo,o}return o(n)}(Jo),nu=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"ethioaa",{year:-5492,month:7,day:17})}return o(n)}(eu),tu=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"coptic",[{code:"coptic",isoEpoch:{year:284,month:8,day:29}},{code:"coptic-inverse",reverseOf:"coptic"}])}return o(n)}(ru),iu=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"ethiopic",[{code:"ethioaa",names:["ethiopic-amete-alem","mundi"],isoEpoch:{year:-5492,month:7,day:17}},{code:"ethiopic",names:["incar"],isoEpoch:{year:8,month:8,day:27},anchorEpoch:{year:5501}}])}return o(n)}(ru),ou=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"roc",[{code:"roc",names:["minguo"],isoEpoch:{year:1912,month:1,day:1}},{code:"roc-inverse",names:["before-roc"],reverseOf:"roc"}])}return o(n)}(Go),uu=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"buddhist",{year:-543,month:1,day:1})}return o(n)}($o),au=function(e){h(n,e);var r=a(n);function n(){return t(this,n),r.call(this,"gregory",[{code:"gregory",names:["ad","ce"],isoEpoch:{year:1,month:1,day:1}},{code:"gregory-inverse",names:["be","bce"],reverseOf:"gregory"}])}return o(n,[{key:"reviseIntlEra",value:function(e){var r=e.era;return"b"===r&&(r="gregory-inverse"),"a"===r&&(r="gregory"),{era:r,eraYear:e.eraYear}}},{key:"getFirstDayOfWeek",value:function(){return 1}},{key:"getMinimalDaysInFirstWeek",value:function(){return 1}}]),n}(Go),su=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.call(this,"japanese",[{code:"reiwa",isoEpoch:{year:2019,month:5,day:1},anchorEpoch:{year:2019,month:5,day:1}},{code:"heisei",isoEpoch:{year:1989,month:1,day:8},anchorEpoch:{year:1989,month:1,day:8}},{code:"showa",isoEpoch:{year:1926,month:12,day:25},anchorEpoch:{year:1926,month:12,day:25}},{code:"taisho",isoEpoch:{year:1912,month:7,day:30},anchorEpoch:{year:1912,month:7,day:30}},{code:"meiji",isoEpoch:{year:1868,month:9,day:8},anchorEpoch:{year:1868,month:9,day:8}},{code:"japanese",names:["japanese","gregory","ad","ce"],isoEpoch:{year:1,month:1,day:1}},{code:"japanese-inverse",names:["japanese-inverse","gregory-inverse","bc","bce"],reverseOf:"japanese"}])).erasBeginMidYear=!0,e}return o(n,[{key:"reviseIntlEra",value:function(e,r){var n=e.era,t=e.eraYear,i=r.year;return this.eras.find((function(e){return e.code===n}))?{era:n,eraYear:t}:i<1?{era:"japanese-inverse",eraYear:1-i}:{era:"japanese",eraYear:i}}}]),n}(Go),cu=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).calendarType="lunisolar",e}return o(n,[{key:"inLeapYear",value:function(e,r){var n=this.getMonthList(e.year,r);return 13===Object.entries(n).length}},{key:"monthsInYear",value:function(e,r){return this.inLeapYear(e,r)?13:12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"maxLengthOfMonthCodeInAnyYear",value:function(e){return["M01L","M09L","M10L","M11L","M12L"].includes(e)?29:30}},{key:"monthDaySearchStartYear",value:function(e,r){var n,t=null!==(n={M01L:[1651,1651],M02L:[1947,1765],M03L:[1966,1955],M04L:[1963,1944],M05L:[1971,1952],M06L:[1960,1941],M07L:[1968,1938],M08L:[1957,1718],M09L:[1832,1832],M10L:[1870,1870],M11L:[1814,1814],M12L:[1890,1890]}[e])&&void 0!==n?n:[1972,1972];return r<30?t[0]:t[1]}},{key:"getMonthList",value:function(e,r){var n=this;if(void 0===e)throw new TypeError("Missing year");var t=JSON.stringify({func:"getMonthList",calendarYear:e,id:this.id}),i=r.get(t);if(i)return i;var o=this.getFormatter(),u=function(e,r){var t=Bo({isoYear:e,isoMonth:2,isoDay:1}),i=new Date(t);i.setUTCDate(r+1);var u=o.formatToParts(i),a=u.find((function(e){return"month"===e.type})).value,s=+u.find((function(e){return"day"===e.type})).value,c=u.find((function(e){return"relatedYear"===e.type}));if(void 0===c)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(n.id," calendar. Try Node 14+ or modern browsers."));return{calendarMonthString:a,calendarDay:s,calendarYearToVerify:+c.value}},a=17,s=u(e,a),c=s.calendarMonthString,f=s.calendarDay,h=s.calendarYearToVerify;if("1"!==c){var d=u(e,a+=29);c=d.calendarMonthString,f=d.calendarDay}a-=f-5;var v,l,m={},y=1,D=!1;do{var w=u(e,a);c=w.calendarMonthString,f=w.calendarDay,h=w.calendarYearToVerify,v&&(m[l].daysInMonth=v+30-f),h!==e?D=!0:(m[c]={monthIndex:y++},a+=30),v=f,l=c}while(!D);return m[l].daysInMonth=v+30-f,r.set(t,m),m}},{key:"estimateIsoDate",value:function(e){var r=e.month;return{year:e.year,month:r>=12?12:r+1,day:1}}},{key:"adjustCalendarDate",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.year,o=e.month,u=e.monthExtra,a=e.day,s=e.monthCode;if(void 0===i)throw new TypeError("Missing property: year");if(t){if(u&&"bis"!==u)throw new RangeError("Unexpected leap month suffix: ".concat(u));var c=Ao(o,void 0!==u),f="".concat(o).concat(u||""),h=this.getMonthList(i,r)[f];if(void 0===h)throw new RangeError("Unmatched month ".concat(f," in Chinese year ").concat(i));return{year:i,month:o=h.monthIndex,day:a,monthCode:c}}if(this.validateCalendarDate(e),void 0===o){var d=this.getMonthList(i,r),v=s.replace(/^M|L$/g,(function(e){return"L"===e?"bis":""}));"0"===v[0]&&(v=v.slice(1));var m=d[v];if(void 0===(o=m&&m.monthIndex)&&s.endsWith("L")&&"M13L"!=s&&"constrain"===n){var y=+s.replace(/^M0?|L$/g,"");(m=d[y])&&(o=m.monthIndex,s=Ao(y))}if(void 0===o)throw new RangeError("Unmatched month ".concat(s," in Chinese year ").concat(i))}else if(void 0===s){var D=this.getMonthList(i,r),w=Object.entries(D),g=w.length;"reject"===n?(oi(o,1,g),oi(a,1,this.maximumMonthLength())):(o=ti(o,1,g),a=ti(a,1,this.maximumMonthLength()));var F=w.find((function(e){return e[1].monthIndex===o}));if(void 0===F)throw new RangeError("Invalid month ".concat(o," in Chinese year ").concat(i));s=Ao(+F[0].replace("bis",""),-1!==F[0].indexOf("bis"))}else{var p=this.getMonthList(i,r),E=s.replace(/^M|L$/g,(function(e){return"L"===e?"bis":""}));"0"===E[0]&&(E=E.slice(1));var k=p[E];if(!k)throw new RangeError("Unmatched monthCode ".concat(s," in Chinese year ").concat(i));if(o!==k.monthIndex)throw new RangeError("monthCode ".concat(s," doesn't correspond to month ").concat(o," in Chinese year ").concat(i))}return l(l({},e),{},{year:i,month:o,monthCode:s,day:a})}}]),n}(Ro),fu=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="chinese",e}return o(n)}(cu),hu=function(e){h(n,e);var r=a(n);function n(){var e;return t(this,n),(e=r.apply(this,arguments)).id="dangi",e}return o(n)}(cu),du=function(){function e(r){t(this,e),this.helper=r}return o(e,[{key:"extraFields",value:function(e){return this.helper.hasEra&&e.includes("year")?["era","eraYear"]:[]}},{key:"resolveFields",value:function(e){if("lunisolar"!==this.helper.calendarType){var r,n=new To;Mo(e,void 0,this.helper.monthsInYear({year:null!==(r=e.year)&&void 0!==r?r:1972},n))}}},{key:"dateToISO",value:function(e,r){var n=new To,t=this.helper.calendarToIsoDate(e,r,n);return n.setObject(t),t}},{key:"monthDayToISOReferenceDate",value:function(e,r){var n=new To,t=this.helper.monthDayFromFields(e,r,n);return n.setObject(t),t}},{key:"fieldKeysToIgnore",value:function(e){for(var r=new Set,n=0;n<e.length;n++){var t=e[n];switch(r.add(t),t){case"era":r.add("eraYear"),r.add("year");break;case"eraYear":r.add("era"),r.add("year");break;case"year":r.add("era"),r.add("eraYear");break;case"month":r.add("monthCode"),this.helper.erasBeginMidYear&&(r.add("era"),r.add("eraYear"));break;case"monthCode":r.add("month"),this.helper.erasBeginMidYear&&(r.add("era"),r.add("eraYear"));break;case"day":this.helper.erasBeginMidYear&&(r.add("era"),r.add("eraYear"))}}return po(r)}},{key:"dateAdd",value:function(e,r,n){var t=r.years,i=r.months,o=r.weeks,u=r.days,a=To.getCacheForObject(e),s=this.helper.isoToCalendarDate(e,a),c=this.helper.addCalendar(s,{years:t,months:i,weeks:o,days:u},n,a),f=this.helper.calendarToIsoDate(c,"constrain",a);return To.getCacheForObject(f)||new To(a).setObject(f),f}},{key:"dateUntil",value:function(e,r,n){var t=To.getCacheForObject(e),i=To.getCacheForObject(r),o=this.helper.isoToCalendarDate(e,t),u=this.helper.isoToCalendarDate(r,i);return this.helper.untilCalendar(o,u,n,t)}},{key:"isoToDate",value:function(e,r){var n=To.getCacheForObject(e),t=this.helper.isoToCalendarDate(e,n);if(r.dayOfWeek&&(t.dayOfWeek=bo.iso8601.isoToDate(e,{dayOfWeek:!0}).dayOfWeek),r.dayOfYear){var i=this.helper.startOfCalendarYear(t),o=this.helper.calendarDaysUntil(i,t,n);t.dayOfYear=o+1}if(r.weekOfYear&&(t.weekOfYear=Eo(this.helper.id,e)),t.daysInWeek=7,r.daysInMonth&&(t.daysInMonth=this.helper.daysInMonth(t,n)),r.daysInYear){var u=this.helper.startOfCalendarYear(t),a=this.helper.addCalendar(u,{years:1},"constrain",n);t.daysInYear=this.helper.calendarDaysUntil(u,a,n)}return r.monthsInYear&&(t.monthsInYear=this.helper.monthsInYear(t,n)),r.inLeapYear&&(t.inLeapYear=this.helper.inLeapYear(t,n)),t}},{key:"getFirstDayOfWeek",value:function(){return this.helper.getFirstDayOfWeek()}},{key:"getMinimalDaysInFirstWeek",value:function(){return this.helper.getMinimalDaysInFirstWeek()}}]),e}(),vu=0,lu=[Oo,Po,iu,nu,tu,fu,hu,ou,Uo,uu,au,su,So,xo,_o,Yo,No,Lo];vu<lu.length;vu++){var mu=new lu[vu];bo[mu.id]=new du(mu)}Re("calendarImpl",(function(e){return bo[e]}));var yu=Intl.DateTimeFormat;function Du(e,r){var n=Me(e,r);return"function"==typeof n&&function(e,r,n){var t=Ee(e);if(void 0===t)throw new TypeError("Missing slots for the given container");if(void 0===t[r])throw new TypeError("tried to reset ".concat(r," which was not set"));t[r]=n}(e,r,n=new yu(Me(e,we),n(Me(e,ge)))),n}function wu(e){return Ae(e,le)}var gu=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;t(this,e),function(e,r,n){var t,i=void 0!==n;if(i){var o=["localeMatcher","calendar","numberingSystem","hour12","hourCycle","timeZone","weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName","formatMatcher","dateStyle","timeStyle"];t=function(e){if(null==e)throw new TypeError("Expected object not ".concat(e));return Object(e)}(n);for(var u=Object.create(null),a=0;a<o.length;a++){var s=o[a];Object.prototype.hasOwnProperty.call(t,s)&&(u[s]=t[s])}t=u}else t=Object.create(null);var c=new yu(r,t),f=c.resolvedOptions();if(Ce(e),i){var h=Object.assign(Object.create(null),f);for(var d in h)Object.prototype.hasOwnProperty.call(t,d)||delete h[d];h.hour12=t.hour12,h.hourCycle=t.hourCycle,Te(e,ge,h)}else Te(e,ge,t);Te(e,we,f.locale),Te(e,le,c),Te(e,me,f.timeZone),Te(e,De,f.calendar),Te(e,se,Iu),Te(e,ce,Tu),Te(e,fe,Bu),Te(e,he,Mu),Te(e,de,Ru),Te(e,ve,Ou);var v=i?t.timeZone:void 0;if(void 0===v)Te(e,ye,f.timeZone);else{var l=Dr(v);if(l.startsWith("−"))throw new RangeError("Unicode minus (U+2212) is not supported in time zone offsets");Te(e,ye,ft(l))}}(this,r,n)}return o(e,[{key:"format",get:function(){qr(this,wu);var e=Eu.bind(this);return Object.defineProperties(e,{length:{value:1,enumerable:!1,writable:!1,configurable:!0},name:{value:"",enumerable:!1,writable:!1,configurable:!0}}),e}},{key:"formatRange",value:function(e,r){return qr(this,wu),bu.call(this,e,r)}},{key:"formatToParts",value:function(e){qr(this,wu);for(var r=arguments.length,n=new Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];return ku.call.apply(ku,[this,e].concat(n))}},{key:"formatRangeToParts",value:function(e,r){return qr(this,wu),Cu.call(this,e,r)}},{key:"resolvedOptions",value:function(){return qr(this,wu),pu.call(this)}}]),e}();"formatToParts"in yu.prototype||delete gu.prototype.formatToParts,"formatRangeToParts"in yu.prototype||delete gu.prototype.formatRangeToParts;var Fu=function(){return new gu(arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)};function pu(){var e=Me(this,le).resolvedOptions();return e.timeZone=Me(this,ye),e}function Eu(e){var r,n,t,i=Lu(e,this);if(i.formatter)n=i.formatter,t=[io(i.epochNs,"floor")];else{n=Me(this,le);for(var o=arguments.length,u=new Array(o>1?o-1:0),a=1;a<o;a++)u[a-1]=arguments[a];t=[e].concat(u)}return(r=n).format.apply(r,w(t))}function ku(e){var r,n,t,i=Lu(e,this);if(i.formatter)n=i.formatter,t=[io(i.epochNs,"floor")];else{n=Me(this,le);for(var o=arguments.length,u=new Array(o>1?o-1:0),a=1;a<o;a++)u[a-1]=arguments[a];t=[e].concat(u)}return(r=n).formatToParts.apply(r,w(t))}function bu(e,r){var n;if(void 0===e||void 0===r)throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");var t,i=Yu(e),o=Yu(r),u=[i,o];if(_u(i)!==_u(o))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");if(_u(i)){if(!Nu(i,o))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");var a=Lu(i,this),s=a.epochNs,c=a.formatter,f=Lu(o,this).epochNs;c&&(t=c,u=[io(s,"floor"),io(f,"floor")])}return t||(t=Me(this,le)),(n=t).formatRange.apply(n,w(u))}function Cu(e,r){var n;if(void 0===e||void 0===r)throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");var t,i=Yu(e),o=Yu(r),u=[i,o];if(_u(i)!==_u(o))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");if(_u(i)){if(!Nu(i,o))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");var a=Lu(i,this),s=a.epochNs,c=a.formatter,f=Lu(o,this).epochNs;c&&(t=c,u=[io(s,"floor"),io(f,"floor")])}return t||(t=Me(this,le)),(n=t).formatRangeToParts.apply(n,w(u))}function Au(){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),n=["year","month","day","hour","minute","second","weekday","dayPeriod","timeZoneName","dateStyle","timeStyle"],t=0;t<n.length;t++){var i=n[t];r[i]=i in e?e[i]:r[i],!1!==r[i]&&void 0!==r[i]||delete r[i]}return r}function Mu(e){var r=Au(e,{year:!1,month:!1,day:!1,weekday:!1,timeZoneName:!1,dateStyle:!1});if("long"!==r.timeStyle&&"full"!==r.timeStyle||(delete r.timeStyle,Object.assign(r,{hour:"numeric",minute:"2-digit",second:"2-digit"})),!Su(r)){if(xu(e))throw new TypeError("cannot format Temporal.PlainTime with options [".concat(Object.keys(e),"]"));Object.assign(r,{hour:"numeric",minute:"numeric",second:"numeric"})}return r}function Tu(e){var r=Au(e,{day:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if("dateStyle"in r&&r.dateStyle){var n=r.dateStyle;delete r.dateStyle,Object.assign(r,{short:{year:"2-digit",month:"numeric"},medium:{year:"numeric",month:"short"},long:{year:"numeric",month:"long"},full:{year:"numeric",month:"long"}}[n])}if(!("year"in r||"month"in r||"era"in r)){if(xu(e))throw new TypeError("cannot format PlainYearMonth with options [".concat(Object.keys(e),"]"));Object.assign(r,{year:"numeric",month:"numeric"})}return r}function Bu(e){var r=Au(e,{year:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if("dateStyle"in r&&r.dateStyle){var n=r.dateStyle;delete r.dateStyle,Object.assign(r,{short:{month:"numeric",day:"numeric"},medium:{month:"short",day:"numeric"},long:{month:"long",day:"numeric"},full:{month:"long",day:"numeric"}}[n])}if(!("month"in r)&&!("day"in r)){if(xu(e))throw new TypeError("cannot format PlainMonthDay with options [".concat(Object.keys(e),"]"));Object.assign(r,{month:"numeric",day:"numeric"})}return r}function Iu(e){var r=Au(e,{hour:!1,minute:!1,second:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if(!ju(r)){if(xu(e))throw new TypeError("cannot format PlainDate with options [".concat(Object.keys(e),"]"));Object.assign(r,{year:"numeric",month:"numeric",day:"numeric"})}return r}function Ru(e){var r=Au(e,{timeZoneName:!1});if("long"!==r.timeStyle&&"full"!==r.timeStyle||(delete r.timeStyle,Object.assign(r,{hour:"numeric",minute:"2-digit",second:"2-digit"}),!r.dateStyle)||(Object.assign(r,{short:{year:"numeric",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"short",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{year:"numeric",month:"long",day:"numeric",weekday:"long"}}[r.dateStyle]),delete r.dateStyle),!Su(r)&&!ju(r)){if(xu(e))throw new TypeError("cannot format PlainDateTime with options [".concat(Object.keys(e),"]"));Object.assign(r,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})}return r}function Ou(e){var r=e;return Su(r)||ju(r)||(r=Object.assign({},r,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),r}function ju(e){return"year"in e||"month"in e||"day"in e||"weekday"in e||"dateStyle"in e||"era"in e}function Su(e){return"hour"in e||"minute"in e||"second"in e||"timeStyle"in e||"dayPeriod"in e||"fractionalSecondDigits"in e}function xu(e){return ju(e)||Su(e)||"dateStyle"in e||"timeStyle"in e||"timeZoneName"in e}function _u(e){return Nr(e)||Lr(e)||Pr(e)||Zr(e)||Ur(e)||zr(e)||_r(e)}function Yu(e){return _u(e)?e:yr(e)}function Nu(e,r){return!(!_u(e)||!_u(r)||Lr(e)&&!Lr(r)||Nr(e)&&!Nr(r)||Pr(e)&&!Pr(r)||Zr(e)&&!Zr(r)||Ur(e)&&!Ur(r)||zr(e)&&!zr(r)||_r(e)&&!_r(r))}function Lu(e,r){if(Lr(e)){var n={isoDate:{year:1970,month:1,day:1},time:Me(e,$)};return{epochNs:mt(Me(r,me),n,"compatible"),formatter:Du(r,he)}}if(Ur(e)){var t=Me(e,J),i=Me(r,De);if(t!==i)throw new RangeError("cannot format PlainYearMonth with calendar ".concat(t," in locale with calendar ").concat(i));var o=an(Me(e,q),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:mt(Me(r,me),o,"compatible"),formatter:Du(r,ce)}}if(zr(e)){var u=Me(e,J),a=Me(r,De);if(u!==a)throw new RangeError("cannot format PlainMonthDay with calendar ".concat(u," in locale with calendar ").concat(a));var s=an(Me(e,q),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:mt(Me(r,me),s,"compatible"),formatter:Du(r,fe)}}if(Nr(e)){var c=Me(e,J),f=Me(r,De);if("iso8601"!==c&&c!==f)throw new RangeError("cannot format PlainDate with calendar ".concat(c," in locale with calendar ").concat(f));var h=an(Me(e,q),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:mt(Me(r,me),h,"compatible"),formatter:Du(r,se)}}if(Pr(e)){var d=Me(e,J),v=Me(r,De);if("iso8601"!==d&&d!==v)throw new RangeError("cannot format PlainDateTime with calendar ".concat(d," in locale with calendar ").concat(v));var l=Me(e,W);return{epochNs:mt(Me(r,me),l,"compatible"),formatter:Du(r,de)}}if(Zr(e))throw new TypeError("Temporal.ZonedDateTime not supported in DateTimeFormat methods. Use toLocaleString() instead.");return _r(e)?{epochNs:Me(e,Z),formatter:Du(r,ve)}:{}}function Pu(e){var r=Object.create(null);return r.years=Me(e,X),r.months=Me(e,Q),r.weeks=Me(e,ee),r.days=Me(e,re),r.hours=Me(e,ne),r.minutes=Me(e,te),r.seconds=Me(e,ie),r.milliseconds=Me(e,oe),r.microseconds=Me(e,ue),r.nanoseconds=Me(e,ae),r}gu.prototype.constructor=Fu,Object.defineProperty(Fu,"prototype",{value:gu.prototype,writable:!1,enumerable:!1,configurable:!1}),Fu.supportedLocalesOf=yu.supportedLocalesOf,Ie(Fu,"Intl.DateTimeFormat");var Uu=null!==(Zo=null===(qo=Intl.DurationFormat)||void 0===qo?void 0:qo.prototype)&&void 0!==Zo?Zo:Object.create(null),zu=Uu.format,Zu=Uu.formatToParts;function qu(e){Intl.DurationFormat.prototype.resolvedOptions.call(this);var r=Pu(On(e));return zu.call(this,r)}null!==(Wo=Intl.DurationFormat)&&void 0!==Wo&&Wo.prototype&&(Intl.DurationFormat.prototype.format=qu,Intl.DurationFormat.prototype.formatToParts=function(e){Intl.DurationFormat.prototype.resolvedOptions.call(this);var r=Pu(On(e));return Zu.call(this,r)});var Wu=Object.freeze({__proto__:null,DateTimeFormat:Fu,ModifiedIntlDurationFormatPrototypeFormat:qu}),$u=function(){function e(r){if(t(this,e),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");Kn(this,uo(r))}return o(e,[{key:"epochMilliseconds",get:function(){return qr(this,_r),io(Me(this,Z),"floor")}},{key:"epochNanoseconds",get:function(){return qr(this,_r),to(k.BigInt(Me(this,Z)))}},{key:"add",value:function(e){return qr(this,_r),zi("add",this,e)}},{key:"subtract",value:function(e){return qr(this,_r),zi("subtract",this,e)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,_r),Oi("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,_r),Oi("since",this,e,r)}},{key:"round",value:function(e){if(qr(this,_r),void 0===e)throw new TypeError("options parameter is required");var r="string"==typeof e?vo("smallestUnit",e):ho(e),n=vn(r),t=fn(r,"halfExpand"),i=wn(r,"smallestUnit","time",Dn);return ln(n,{hour:24,minute:1440,second:86400,millisecond:864e5,microsecond:864e8,nanosecond:864e11}[i],!0),Vn(Hi(Me(this,Z),n,i,t))}},{key:"equals",value:function(e){qr(this,_r);var r=jn(e),n=Me(this,Z),t=Me(r,Z);return k.equal(k.BigInt(n),k.BigInt(t))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,_r);var r=ho(e),n=mn(r),t=fn(r,"trunc"),i=wn(r,"smallestUnit","time",void 0);if("hour"===i)throw new RangeError('smallestUnit must be a time unit other than "hour"');var o=r.timeZone;void 0!==o&&(o=ft(o));var u=yn(i,n),a=u.precision,s=u.unit,c=u.increment;return kt(Vn(Hi(Me(this,Z),c,s,t)),o,a)}},{key:"toJSON",value:function(){return qr(this,_r),kt(this,void 0,"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,_r),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("Instant")}},{key:"toZonedDateTimeISO",value:function(e){qr(this,_r);var r=ft(e);return Qn(Me(this,Z),r,"iso8601")}}],[{key:"fromEpochMilliseconds",value:function(e){return Vn(oo(yr(e)))}},{key:"fromEpochNanoseconds",value:function(e){return Vn(uo(e))}},{key:"from",value:function(e){return jn(e)}},{key:"compare",value:function(e,r){var n=jn(e),t=jn(r),i=Me(n,Z),o=Me(t,Z);return k.lessThan(i,o)?-1:k.greaterThan(i,o)?1:0}}]),e}();Ie($u,"Temporal.Instant");var Ju=function(){function e(r,n,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iso8601";t(this,e);var u=wr(r),a=wr(n),s=wr(i),c=mo(void 0===o?"iso8601":Er(o));ui(u,a,s),Pn(this,{year:u,month:a,day:s},c)}return o(e,[{key:"calendarId",get:function(){return qr(this,Nr),Me(this,J)}},{key:"era",get:function(){return Gu(this,"era")}},{key:"eraYear",get:function(){return Gu(this,"eraYear")}},{key:"year",get:function(){return Gu(this,"year")}},{key:"month",get:function(){return Gu(this,"month")}},{key:"monthCode",get:function(){return Gu(this,"monthCode")}},{key:"day",get:function(){return Gu(this,"day")}},{key:"dayOfWeek",get:function(){return Gu(this,"dayOfWeek")}},{key:"dayOfYear",get:function(){return Gu(this,"dayOfYear")}},{key:"weekOfYear",get:function(){var e;return null===(e=Gu(this,"weekOfYear"))||void 0===e?void 0:e.week}},{key:"yearOfWeek",get:function(){var e;return null===(e=Gu(this,"weekOfYear"))||void 0===e?void 0:e.year}},{key:"daysInWeek",get:function(){return Gu(this,"daysInWeek")}},{key:"daysInMonth",get:function(){return Gu(this,"daysInMonth")}},{key:"daysInYear",get:function(){return Gu(this,"daysInYear")}},{key:"monthsInYear",get:function(){return Gu(this,"monthsInYear")}},{key:"inLeapYear",get:function(){return Gu(this,"inLeapYear")}},{key:"with",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Nr),!mr(e))throw new TypeError("invalid argument");Wr(e);var n=Me(this,J),t=An(n,Me(this,q));return Un(at(n,t=rt(n,t,Mn(n,e,["year","month","monthCode","day"],[],"partial")),sn(ho(r))),n)}},{key:"withCalendar",value:function(e){qr(this,Nr);var r=it(e);return Un(Me(this,q),r)}},{key:"add",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Nr),Zi("add",this,e,r)}},{key:"subtract",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Nr),Zi("subtract",this,e,r)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Nr),ji("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Nr),ji("since",this,e,r)}},{key:"equals",value:function(e){qr(this,Nr);var r=Bn(e);return 0===eo(Me(this,q),Me(r,q))&&ut(Me(this,J),Me(r,J))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return qr(this,Nr),Ct(this,dn(ho(e)))}},{key:"toJSON",value:function(){return qr(this,Nr),Ct(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Nr),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("PlainDate")}},{key:"toPlainDateTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Nr);var r=_n(e);return Zn(an(Me(this,q),r),Me(this,J))}},{key:"toZonedDateTime",value:function(e){var r,n;if(qr(this,Nr),mr(e)){var t=e.timeZone;void 0===t?r=ft(e):(r=ft(t),n=e.plainTime)}else r=ft(e);var i=Me(this,q);return Qn(void 0===n?wt(r,i):mt(r,an(i,Me(n=xn(n),$)),"compatible"),r,Me(this,J))}},{key:"toPlainYearMonth",value:function(){qr(this,Nr);var e=Me(this,J);return Hn(st(e,An(e,Me(this,q)),"constrain"),e)}},{key:"toPlainMonthDay",value:function(){qr(this,Nr);var e=Me(this,J);return Wn(ct(e,An(e,Me(this,q)),"constrain"),e)}}],[{key:"from",value:function(e){return Bn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}},{key:"compare",value:function(e,r){var n=Bn(e),t=Bn(r);return eo(Me(n,q),Me(t,q))}}]),e}();function Gu(e,r){qr(e,Nr);var n=Me(e,q);return Cn(e).isoToDate(n,s({},r,!0))[r]}Ie(Ju,"Temporal.PlainDate");var Hu=function(){function e(r,n,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,f=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"iso8601";t(this,e);var d=wr(r),v=wr(n),l=wr(i),m=void 0===o?0:wr(o),y=void 0===u?0:wr(u),D=void 0===a?0:wr(a),w=void 0===s?0:wr(s),g=void 0===c?0:wr(c),F=void 0===f?0:wr(f),p=mo(void 0===h?"iso8601":Er(h));ci(d,v,l,m,y,D,w,g,F),zn(this,{isoDate:{year:d,month:v,day:l},time:{hour:m,minute:y,second:D,millisecond:w,microsecond:g,nanosecond:F}},p)}return o(e,[{key:"calendarId",get:function(){return qr(this,Pr),Me(this,J)}},{key:"year",get:function(){return Ku(this,"year")}},{key:"month",get:function(){return Ku(this,"month")}},{key:"monthCode",get:function(){return Ku(this,"monthCode")}},{key:"day",get:function(){return Ku(this,"day")}},{key:"hour",get:function(){return Vu(this,"hour")}},{key:"minute",get:function(){return Vu(this,"minute")}},{key:"second",get:function(){return Vu(this,"second")}},{key:"millisecond",get:function(){return Vu(this,"millisecond")}},{key:"microsecond",get:function(){return Vu(this,"microsecond")}},{key:"nanosecond",get:function(){return Vu(this,"nanosecond")}},{key:"era",get:function(){return Ku(this,"era")}},{key:"eraYear",get:function(){return Ku(this,"eraYear")}},{key:"dayOfWeek",get:function(){return Ku(this,"dayOfWeek")}},{key:"dayOfYear",get:function(){return Ku(this,"dayOfYear")}},{key:"weekOfYear",get:function(){var e;return null===(e=Ku(this,"weekOfYear"))||void 0===e?void 0:e.week}},{key:"yearOfWeek",get:function(){var e;return null===(e=Ku(this,"weekOfYear"))||void 0===e?void 0:e.year}},{key:"daysInWeek",get:function(){return Ku(this,"daysInWeek")}},{key:"daysInYear",get:function(){return Ku(this,"daysInYear")}},{key:"daysInMonth",get:function(){return Ku(this,"daysInMonth")}},{key:"monthsInYear",get:function(){return Ku(this,"monthsInYear")}},{key:"inLeapYear",get:function(){return Ku(this,"inLeapYear")}},{key:"with",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Pr),!mr(e))throw new TypeError("invalid argument");Wr(e);var n=Me(this,J),t=Me(this,W),i=l(l({},An(n,t.isoDate)),t.time);return Zn(In(n,i=rt(n,i,Mn(n,e,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond"],"partial")),sn(ho(r))),n)}},{key:"withPlainTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Pr);var r=_n(e);return Zn(an(Me(this,W).isoDate,r),Me(this,J))}},{key:"withCalendar",value:function(e){qr(this,Pr);var r=it(e);return Zn(Me(this,W),r)}},{key:"add",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Pr),qi("add",this,e,r)}},{key:"subtract",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Pr),qi("subtract",this,e,r)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Pr),Si("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Pr),Si("since",this,e,r)}},{key:"round",value:function(e){if(qr(this,Pr),void 0===e)throw new TypeError("options parameter is required");var r="string"==typeof e?vo("smallestUnit",e):ho(e),n=vn(r),t=fn(r,"halfExpand"),i=wn(r,"smallestUnit","time",Dn,["day"]),o={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];ln(n,o,1===o);var u=Me(this,W);return Zn(1===n&&"nanosecond"===i?u:Ki(u,n,i,t),Me(this,J))}},{key:"equals",value:function(e){qr(this,Pr);var r=Rn(e);return 0===no(Me(this,W),Me(r,W))&&ut(Me(this,J),Me(r,J))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Pr);var r=ho(e),n=dn(r),t=mn(r),i=fn(r,"trunc"),o=wn(r,"smallestUnit","time",void 0);if("hour"===o)throw new RangeError('smallestUnit must be a time unit other than "hour"');var u=yn(o,t),a=u.precision,s=u.unit,c=u.increment,f=Ki(Me(this,W),c,s,i);return fi(f),Mt(f,Me(this,J),a,n)}},{key:"toJSON",value:function(){return qr(this,Pr),Mt(Me(this,W),Me(this,J),"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Pr),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("PlainDateTime")}},{key:"toZonedDateTime",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;qr(this,Pr);var n=ft(e),t=cn(ho(r));return Qn(mt(n,Me(this,W),t),n,Me(this,J))}},{key:"toPlainDate",value:function(){return qr(this,Pr),Un(Me(this,W).isoDate,Me(this,J))}},{key:"toPlainTime",value:function(){return qr(this,Pr),Jn(Me(this,W).time)}}],[{key:"from",value:function(e){return Rn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}},{key:"compare",value:function(e,r){var n=Rn(e),t=Rn(r);return no(Me(n,W),Me(t,W))}}]),e}();function Ku(e,r){qr(e,Pr);var n=Me(e,W).isoDate;return Cn(e).isoToDate(n,s({},r,!0))[r]}function Vu(e,r){return qr(e,Pr),Me(e,W).time[r]}Ie(Hu,"Temporal.PlainDateTime");var Xu=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,f=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0;t(this,e);var d=void 0===r?0:Fr(r),v=void 0===n?0:Fr(n),l=void 0===i?0:Fr(i),m=void 0===o?0:Fr(o),y=void 0===u?0:Fr(u),D=void 0===a?0:Fr(a),w=void 0===s?0:Fr(s),g=void 0===c?0:Fr(c),F=void 0===f?0:Fr(f),p=void 0===h?0:Fr(h);li(d,v,l,m,y,D,w,g,F,p),Ce(this),Te(this,X,d),Te(this,Q,v),Te(this,ee,l),Te(this,re,m),Te(this,ne,y),Te(this,te,D),Te(this,ie,w),Te(this,oe,g),Te(this,ue,F),Te(this,ae,p)}return o(e,[{key:"years",get:function(){return qr(this,Yr),Me(this,X)}},{key:"months",get:function(){return qr(this,Yr),Me(this,Q)}},{key:"weeks",get:function(){return qr(this,Yr),Me(this,ee)}},{key:"days",get:function(){return qr(this,Yr),Me(this,re)}},{key:"hours",get:function(){return qr(this,Yr),Me(this,ne)}},{key:"minutes",get:function(){return qr(this,Yr),Me(this,te)}},{key:"seconds",get:function(){return qr(this,Yr),Me(this,ie)}},{key:"milliseconds",get:function(){return qr(this,Yr),Me(this,oe)}},{key:"microseconds",get:function(){return qr(this,Yr),Me(this,ue)}},{key:"nanoseconds",get:function(){return qr(this,Yr),Me(this,ae)}},{key:"sign",get:function(){return qr(this,Yr),Gt(this)}},{key:"blank",get:function(){return qr(this,Yr),0===Gt(this)}},{key:"with",value:function(r){qr(this,Yr);var n=on(r),t=n.years,i=void 0===t?Me(this,X):t,o=n.months,u=void 0===o?Me(this,Q):o,a=n.weeks,s=void 0===a?Me(this,ee):a,c=n.days,f=void 0===c?Me(this,re):c,h=n.hours,d=void 0===h?Me(this,ne):h,v=n.minutes,l=void 0===v?Me(this,te):v,m=n.seconds,y=void 0===m?Me(this,ie):m,D=n.milliseconds,w=void 0===D?Me(this,oe):D,g=n.microseconds,F=void 0===g?Me(this,ue):g,p=n.nanoseconds;return new e(i,u,s,f,d,l,y,w,F,void 0===p?Me(this,ae):p)}},{key:"negated",value:function(){return qr(this,Yr),ni(this)}},{key:"abs",value:function(){return qr(this,Yr),new e(Math.abs(Me(this,X)),Math.abs(Me(this,Q)),Math.abs(Me(this,ee)),Math.abs(Me(this,re)),Math.abs(Me(this,ne)),Math.abs(Me(this,te)),Math.abs(Me(this,ie)),Math.abs(Me(this,oe)),Math.abs(Me(this,ue)),Math.abs(Me(this,ae)))}},{key:"add",value:function(e){return qr(this,Yr),Ui("add",this,e)}},{key:"subtract",value:function(e){return qr(this,Yr),Ui("subtract",this,e)}},{key:"round",value:function(e){if(qr(this,Yr),void 0===e)throw new TypeError("options parameter is required");var r=Fn(this),n="string"==typeof e?vo("smallestUnit",e):ho(e),t=wn(n,"largestUnit","datetime",void 0,["auto"]),i=gn(n),o=i.plainRelativeTo,u=i.zonedRelativeTo,a=vn(n),s=fn(n,"halfExpand"),c=wn(n,"smallestUnit","datetime",void 0),f=!0;c||(f=!1,c="nanosecond");var h=pn(r,c),d=!0;if(t||(d=!1,t=h),"auto"===t&&(t=h),!f&&!d)throw new RangeError("at least one of smallestUnit or largestUnit is required");if(pn(t,c)!==t)throw new RangeError("largestUnit ".concat(t," cannot be smaller than smallestUnit ").concat(c));var v={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[c];if(void 0!==v&&ln(a,v,!1),a>1&&"date"===kn(c)&&t!==c)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");if(u){var l=mi(this),m=Me(u,V),y=Me(u,J),D=Me(u,Z);return l=Ii(D,Pi(D,m,y,l),m,y,t,a,c,s),"date"===kn(t)&&(t="hour"),wi(l,t)}if(o){var w=yi(this),g=Ni({deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},w.time),F=Me(o,q),p=Me(o,J),E=nt(p,F,un(w.date,g.deltaDays),"constrain");return wi(w=Bi(an(F,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),an(E,g),p,t,a,c,s),t)}if(En(r))throw new RangeError("a starting point is required for ".concat(r,"s balancing"));if(En(t))throw new RangeError("a starting point is required for ".concat(t,"s balancing"));var k=yi(this);if("day"===c){var b=k.time.divmod(nr),C=k.date.days+b.quotient+Qi(b.remainder,"day");k=gi({years:0,months:0,weeks:0,days:C=Gi(C,a,s)},Ye.ZERO)}else k=gi({years:0,months:0,weeks:0,days:0},Xi(k.time,a,c,s));return wi(k,t)}},{key:"total",value:function(e){if(qr(this,Yr),void 0===e)throw new TypeError("options argument is required");var r="string"==typeof e?vo("unit",e):ho(e),n=gn(r),t=n.plainRelativeTo,i=n.zonedRelativeTo,o=wn(r,"unit","datetime",Dn);if(i){var u=mi(this),a=Me(i,V),s=Me(i,J),c=Me(i,Z);return function(e,r,n,t,i){return"time"===kn(i)?Qi(Ye.fromEpochNsDiff(r,e),i):Ti(Ci(e,r,n,t,i),r,lt(n,e),n,t,i)}(c,Pi(c,a,s,u),a,s,o)}if(t){var f=yi(this),h=Ni({deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},f.time),d=Me(t,q),v=Me(t,J),l=nt(v,d,un(f.date,h.deltaDays),"constrain");return function(e,r,n,t){if(0==no(e,r))return 0;fi(e),fi(r);var i=bi(e,r,n,t);return"nanosecond"===t?k.toNumber(i.time.totalNs):Ti(i,Ut(r),e,null,n,t)}(an(d,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),an(l,h),v,o)}var m=Fn(this);if(En(m))throw new RangeError("a starting point is required for ".concat(m,"s total"));if(En(o))throw new RangeError("a starting point is required for ".concat(o,"s total"));return Qi(yi(this).time,o)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Yr);var r=ho(e),n=mn(r),t=fn(r,"trunc"),i=wn(r,"smallestUnit","time",void 0);if("hour"===i||"minute"===i)throw new RangeError('smallestUnit must be a time unit other than "hours" or "minutes"');var o=yn(i,n),u=o.precision,a=o.unit,s=o.increment;if("nanosecond"===a&&1===s)return bt(this,u);var c=Fn(this),f=mi(this),h=Xi(f.time,s,a,t);return bt(wi(f=gi(f.date,h),pn(c,"second")),u)}},{key:"toJSON",value:function(){return qr(this,Yr),bt(this,"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Yr),"function"==typeof Intl.DurationFormat){var n=new Intl.DurationFormat(e,r);return qu.call(n,this)}return console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."),bt(this,"auto")}},{key:"valueOf",value:function(){Do("Duration")}}],[{key:"from",value:function(e){return On(e)}},{key:"compare",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,t=On(e),i=On(r),o=gn(ho(n)),u=o.plainRelativeTo,a=o.zonedRelativeTo;if(Me(t,X)===Me(i,X)&&Me(t,Q)===Me(i,Q)&&Me(t,ee)===Me(i,ee)&&Me(t,re)===Me(i,re)&&Me(t,ne)===Me(i,ne)&&Me(t,te)===Me(i,te)&&Me(t,ie)===Me(i,ie)&&Me(t,oe)===Me(i,oe)&&Me(t,ue)===Me(i,ue)&&Me(t,ae)===Me(i,ae))return 0;var s=Fn(t),c=Fn(i),f=mi(t),h=mi(i);if(a&&("date"===kn(s)||"date"===kn(c))){var d=Me(a,V),v=Me(a,J),l=Me(a,Z),m=Pi(l,d,v,f),y=Pi(l,d,v,h);return fo(k.toNumber(k.subtract(m,y)))}var D=f.date.days,w=h.date.days;if(En(s)||En(c)){if(!u)throw new RangeError("A starting point is required for years, months, or weeks comparison");D=ri(f.date,u),w=ri(h.date,u)}var g=f.time.add24HourDays(D),F=h.time.add24HourDays(w);return g.cmp(F)}}]),e}();Ie(Xu,"Temporal.Duration");var Qu=function(){function e(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1972;t(this,e);var u=wr(r),a=wr(n),s=mo(void 0===i?"iso8601":Er(i)),c=wr(o);ui(c,u,a),qn(this,{year:c,month:u,day:a},s)}return o(e,[{key:"monthCode",get:function(){return ea(this,"monthCode")}},{key:"day",get:function(){return ea(this,"day")}},{key:"calendarId",get:function(){return qr(this,zr),Me(this,J)}},{key:"with",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,zr),!mr(e))throw new TypeError("invalid argument");Wr(e);var n=Me(this,J),t=An(n,Me(this,q),"month-day");return Wn(ct(n,t=rt(n,t,Mn(n,e,["year","month","monthCode","day"],[],"partial")),sn(ho(r))),n)}},{key:"equals",value:function(e){qr(this,zr);var r=Sn(e);return 0===eo(Me(this,q),Me(r,q))&&ut(Me(this,J),Me(r,J))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return qr(this,zr),Tt(this,dn(ho(e)))}},{key:"toJSON",value:function(){return qr(this,zr),Tt(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,zr),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("PlainMonthDay")}},{key:"toPlainDate",value:function(e){if(qr(this,zr),!mr(e))throw new TypeError("argument should be an object");var r=Me(this,J);return Un(at(r,rt(r,An(r,Me(this,q),"month-day"),Mn(r,e,["year"],[],[])),"constrain"),r)}}],[{key:"from",value:function(e){return Sn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}}]),e}();function ea(e,r){qr(e,zr);var n=Me(e,q);return Cn(e).isoToDate(n,s({},r,!0))[r]}function ra(e){return lt(e,so())}Ie(Qu,"Temporal.PlainMonthDay");var na=s({instant:function(){return Vn(so())},plainDateTimeISO:function(){return Zn(ra(ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:co())),"iso8601")},plainDateISO:function(){return Un(ra(ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:co())).isoDate,"iso8601")},plainTimeISO:function(){return Jn(ra(ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:co())).time)},timeZoneId:function(){return co()},zonedDateTimeISO:function(){var e=ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:co());return Qn(so(),e,"iso8601")}},Symbol.toStringTag,"Temporal.Now");Object.defineProperty(na,Symbol.toStringTag,{value:"Temporal.Now",writable:!1,enumerable:!1,configurable:!0});var ta=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;t(this,e);var s=void 0===r?0:wr(r),c=void 0===n?0:wr(n),f=void 0===i?0:wr(i),h=void 0===o?0:wr(o),d=void 0===u?0:wr(u),v=void 0===a?0:wr(a);si(s,c,f,h,d,v),$n(this,{hour:s,minute:c,second:f,millisecond:h,microsecond:d,nanosecond:v})}return o(e,[{key:"hour",get:function(){return qr(this,Lr),Me(this,$).hour}},{key:"minute",get:function(){return qr(this,Lr),Me(this,$).minute}},{key:"second",get:function(){return qr(this,Lr),Me(this,$).second}},{key:"millisecond",get:function(){return qr(this,Lr),Me(this,$).millisecond}},{key:"microsecond",get:function(){return qr(this,Lr),Me(this,$).microsecond}},{key:"nanosecond",get:function(){return qr(this,Lr),Me(this,$).nanosecond}},{key:"with",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Lr),!mr(r))throw new TypeError("invalid argument");Wr(r);var t=Tn(r,"partial"),i=Tn(this),o=Object.assign(i,t),u=o.hour,a=o.minute,s=o.second,c=o.millisecond,f=o.microsecond,h=o.nanosecond,d=tn(u,a,s,c,f,h,sn(ho(n)));return new e(u=d.hour,a=d.minute,s=d.second,c=d.millisecond,f=d.microsecond,h=d.nanosecond)}},{key:"add",value:function(e){return qr(this,Lr),Wi("add",this,e)}},{key:"subtract",value:function(e){return qr(this,Lr),Wi("subtract",this,e)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Lr),xi("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Lr),xi("since",this,e,r)}},{key:"round",value:function(e){if(qr(this,Lr),void 0===e)throw new TypeError("options parameter is required");var r="string"==typeof e?vo("smallestUnit",e):ho(e),n=vn(r),t=fn(r,"halfExpand"),i=wn(r,"smallestUnit","time",Dn);return ln(n,{hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i],!1),Jn(Vi(Me(this,$),n,i,t))}},{key:"equals",value:function(e){qr(this,Lr);var r=xn(e);return 0===ro(Me(this,$),Me(r,$))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Lr);var r=ho(e),n=mn(r),t=fn(r,"trunc"),i=wn(r,"smallestUnit","time",void 0);if("hour"===i)throw new RangeError('smallestUnit must be a time unit other than "hour"');var o=yn(i,n),u=o.precision,a=o.unit,s=o.increment;return At(Vi(Me(this,$),s,a,t),u)}},{key:"toJSON",value:function(){return qr(this,Lr),At(Me(this,$),"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Lr),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("PlainTime")}}],[{key:"from",value:function(e){return xn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}},{key:"compare",value:function(e,r){var n=xn(e),t=xn(r);return ro(Me(n,$),Me(t,$))}}]),e}();Ie(ta,"Temporal.PlainTime");var ia=function(){function e(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;t(this,e);var u=wr(r),a=wr(n),s=mo(void 0===i?"iso8601":Er(i)),c=wr(o);ui(u,a,c),Gn(this,{year:u,month:a,day:c},s)}return o(e,[{key:"year",get:function(){return oa(this,"year")}},{key:"month",get:function(){return oa(this,"month")}},{key:"monthCode",get:function(){return oa(this,"monthCode")}},{key:"calendarId",get:function(){return qr(this,Ur),Me(this,J)}},{key:"era",get:function(){return oa(this,"era")}},{key:"eraYear",get:function(){return oa(this,"eraYear")}},{key:"daysInMonth",get:function(){return oa(this,"daysInMonth")}},{key:"daysInYear",get:function(){return oa(this,"daysInYear")}},{key:"monthsInYear",get:function(){return oa(this,"monthsInYear")}},{key:"inLeapYear",get:function(){return oa(this,"inLeapYear")}},{key:"with",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Ur),!mr(e))throw new TypeError("invalid argument");Wr(e);var n=Me(this,J),t=An(n,Me(this,q),"year-month");return Hn(st(n,t=rt(n,t,Mn(n,e,["year","month","monthCode"],[],"partial")),sn(ho(r))),n)}},{key:"add",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Ur),$i("add",this,e,r)}},{key:"subtract",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Ur),$i("subtract",this,e,r)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Ur),_i("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Ur),_i("since",this,e,r)}},{key:"equals",value:function(e){qr(this,Ur);var r=Yn(e);return 0===eo(Me(this,q),Me(r,q))&&ut(Me(this,J),Me(r,J))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return qr(this,Ur),Bt(this,dn(ho(e)))}},{key:"toJSON",value:function(){return qr(this,Ur),Bt(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Ur),new Fu(e,r).format(this)}},{key:"valueOf",value:function(){Do("PlainYearMonth")}},{key:"toPlainDate",value:function(e){if(qr(this,Ur),!mr(e))throw new TypeError("argument should be an object");var r=Me(this,J);return Un(at(r,rt(r,An(r,Me(this,q),"year-month"),Mn(r,e,["day"],[],[])),"constrain"),r)}}],[{key:"from",value:function(e){return Yn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}},{key:"compare",value:function(e,r){var n=Yn(e),t=Yn(r);return eo(Me(n,q),Me(t,q))}}]),e}();function oa(e,r){qr(e,Ur);var n=Me(e,q);return Cn(e).isoToDate(n,s({},r,!0))[r]}Ie(ia,"Temporal.PlainYearMonth");var ua=Fu.prototype.resolvedOptions,aa=function(){function e(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601";if(t(this,e),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");var o=uo(r),u=Er(n),a=rn(u),s=a.tzName,c=a.offsetMinutes;if(void 0===c){var f=xt(s);if(!f)throw new RangeError("unknown time zone ".concat(s));u=f.identifier}else u=Nt(c);Xn(this,o,u,mo(void 0===i?"iso8601":Er(i)))}return o(e,[{key:"calendarId",get:function(){return qr(this,Zr),Me(this,J)}},{key:"timeZoneId",get:function(){return qr(this,Zr),Me(this,V)}},{key:"year",get:function(){return ca(this,"year")}},{key:"month",get:function(){return ca(this,"month")}},{key:"monthCode",get:function(){return ca(this,"monthCode")}},{key:"day",get:function(){return ca(this,"day")}},{key:"hour",get:function(){return fa(this,"hour")}},{key:"minute",get:function(){return fa(this,"minute")}},{key:"second",get:function(){return fa(this,"second")}},{key:"millisecond",get:function(){return fa(this,"millisecond")}},{key:"microsecond",get:function(){return fa(this,"microsecond")}},{key:"nanosecond",get:function(){return fa(this,"nanosecond")}},{key:"era",get:function(){return ca(this,"era")}},{key:"eraYear",get:function(){return ca(this,"eraYear")}},{key:"epochMilliseconds",get:function(){return qr(this,Zr),io(Me(this,Z),"floor")}},{key:"epochNanoseconds",get:function(){return qr(this,Zr),to(Me(this,Z))}},{key:"dayOfWeek",get:function(){return ca(this,"dayOfWeek")}},{key:"dayOfYear",get:function(){return ca(this,"dayOfYear")}},{key:"weekOfYear",get:function(){var e;return null===(e=ca(this,"weekOfYear"))||void 0===e?void 0:e.week}},{key:"yearOfWeek",get:function(){var e;return null===(e=ca(this,"weekOfYear"))||void 0===e?void 0:e.year}},{key:"hoursInDay",get:function(){qr(this,Zr);var e=Me(this,V),r=sa(this).isoDate,n=Xt(r.year,r.month,r.day+1),t=wt(e,r),i=wt(e,n);return Qi(Ye.fromEpochNsDiff(i,t),"hour")}},{key:"daysInWeek",get:function(){return ca(this,"daysInWeek")}},{key:"daysInMonth",get:function(){return ca(this,"daysInMonth")}},{key:"daysInYear",get:function(){return ca(this,"daysInYear")}},{key:"monthsInYear",get:function(){return ca(this,"monthsInYear")}},{key:"inLeapYear",get:function(){return ca(this,"inLeapYear")}},{key:"offset",get:function(){return qr(this,Zr),vt(dt(Me(this,V),Me(this,Z)))}},{key:"offsetNanoseconds",get:function(){return qr(this,Zr),dt(Me(this,V),Me(this,Z))}},{key:"with",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(qr(this,Zr),!mr(e))throw new TypeError("invalid zoned-date-time-like");Wr(e);var n=Me(this,J),t=Me(this,V),i=dt(t,Me(this,Z)),o=sa(this),u=l(l(l({},An(n,o.isoDate)),o.time),{},{offset:vt(i)});u=rt(n,u,Mn(n,e,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset"],"partial"));var a=ho(r),s=cn(a),c=hn(a,"prefer"),f=In(n,u,sn(a)),h=Ot(u.offset);return Qn(Nn(f.isoDate,f.time,"option",h,t,s,c,!1),t,n)}},{key:"withPlainTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Zr);var r=Me(this,V),n=Me(this,J),t=sa(this).isoDate;return Qn(void 0===e?wt(r,t):mt(r,an(t,Me(xn(e),$)),"compatible"),r,n)}},{key:"withTimeZone",value:function(e){qr(this,Zr);var r=ft(e);return Qn(Me(this,Z),r,Me(this,J))}},{key:"withCalendar",value:function(e){qr(this,Zr);var r=it(e);return Qn(Me(this,Z),Me(this,V),r)}},{key:"add",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Zr),Ji("add",this,e,r)}},{key:"subtract",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Zr),Ji("subtract",this,e,r)}},{key:"until",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Zr),Yi("until",this,e,r)}},{key:"since",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return qr(this,Zr),Yi("since",this,e,r)}},{key:"round",value:function(e){if(qr(this,Zr),void 0===e)throw new TypeError("options parameter is required");var r="string"==typeof e?vo("smallestUnit",e):ho(e),n=vn(r),t=fn(r,"halfExpand"),i=wn(r,"smallestUnit","time",Dn,["day"]),o={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];if(ln(n,o,1===o),"nanosecond"===i&&1===n)return Qn(Me(this,Z),Me(this,V),Me(this,J));var u,a=Me(this,V),s=Me(this,Z),c=sa(this);if("day"===i){var f=c.isoDate,h=Xt(f.year,f.month,f.day+1),d=wt(a,f),v=wt(a,h),l=k.subtract(v,d);u=Ye.fromEpochNsDiff(s,d).round(l,t).addToEpochNs(d)}else{var m=Ki(c,n,i,t),y=dt(a,s);u=Nn(m.isoDate,m.time,"option",y,a,"compatible","prefer",!1)}return Qn(u,a,Me(this,J))}},{key:"equals",value:function(e){qr(this,Zr);var r=Ln(e),n=Me(this,Z),t=Me(r,Z);return!!k.equal(k.BigInt(n),k.BigInt(t))&&!!ht(Me(this,V),Me(r,V))&&ut(Me(this,J),Me(r,J))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;qr(this,Zr);var r=ho(e),n=dn(r),t=mn(r),i=function(e){return lo(e,"offset",["auto","never"],"auto")}(r),o=fn(r,"trunc"),u=wn(r,"smallestUnit","time",void 0);if("hour"===u)throw new RangeError('smallestUnit must be a time unit other than "hour"');var a=function(e){return lo(e,"timeZoneName",["auto","never","critical"],"auto")}(r),s=yn(u,t);return It(this,s.precision,n,a,i,{unit:s.unit,increment:s.increment,roundingMode:o})}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;qr(this,Zr);var n=ho(r),t=Object.create(null);if(function(e,r,n,t){if(null!=r)for(var i=Reflect.ownKeys(r),o=function(){var o=i[u];if(n.some((function(e){return Object.is(e,o)})))return"continue";if(Object.prototype.propertyIsEnumerable.call(r,o)){var a=r[o];t,e[o]=a}},u=0;u<i.length;u++)o()}(t,n,["timeZone"]),void 0!==n.timeZone)throw new TypeError("ZonedDateTime toLocaleString does not accept a timeZone option");if(void 0===t.year&&void 0===t.month&&void 0===t.day&&void 0===t.era&&void 0===t.weekday&&void 0===t.dateStyle&&void 0===t.hour&&void 0===t.minute&&void 0===t.second&&void 0===t.fractionalSecondDigits&&void 0===t.timeStyle&&void 0===t.dayPeriod&&void 0===t.timeZoneName&&(t.timeZoneName="short"),t.timeZone=Me(this,V),Rt(t.timeZone))throw new RangeError("toLocaleString does not currently support offset time zones");var i=new Fu(e,t),o=ua.call(i).calendar,u=Me(this,J);if("iso8601"!==u&&"iso8601"!==o&&!ut(o,u))throw new RangeError("cannot format ZonedDateTime with calendar ".concat(u)+" in locale with calendar ".concat(o));return i.format(Vn(Me(this,Z)))}},{key:"toJSON",value:function(){return qr(this,Zr),It(this,"auto")}},{key:"valueOf",value:function(){Do("ZonedDateTime")}},{key:"startOfDay",value:function(){qr(this,Zr);var e=Me(this,V);return Qn(wt(e,sa(this).isoDate),e,Me(this,J))}},{key:"getTimeZoneTransition",value:function(e){qr(this,Zr);var r=Me(this,V);if(void 0===e)throw new TypeError("options parameter is required");var n=function(e){return lo(e,"direction",["next","previous"],Dn)}("string"==typeof e?vo("direction",e):ho(e));if(void 0===n)throw new TypeError("direction option is required");if(Rt(r)||"UTC"===r)return null;var t=Me(this,Z),i="next"===n?Zt(r,t):qt(r,t);return null===i?null:Qn(i,r,Me(this,J))}},{key:"toInstant",value:function(){return qr(this,Zr),Vn(Me(this,Z))}},{key:"toPlainDate",value:function(){return qr(this,Zr),Un(sa(this).isoDate,Me(this,J))}},{key:"toPlainTime",value:function(){return qr(this,Zr),Jn(sa(this).time)}},{key:"toPlainDateTime",value:function(){return qr(this,Zr),Zn(sa(this),Me(this,J))}}],[{key:"from",value:function(e){return Ln(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}},{key:"compare",value:function(e,r){var n=Ln(e),t=Ln(r),i=Me(n,Z),o=Me(t,Z);return k.lessThan(k.BigInt(i),k.BigInt(o))?-1:k.greaterThan(k.BigInt(i),k.BigInt(o))?1:0}}]),e}();function sa(e){return lt(Me(e,V),Me(e,Z))}function ca(e,r){qr(e,Zr);var n=sa(e).isoDate;return Cn(e).isoToDate(n,s({},r,!0))[r]}function fa(e,r){return qr(e,Zr),sa(e).time[r]}Ie(aa,"Temporal.ZonedDateTime");for(var ha=Object.freeze({__proto__:null,Duration:Xu,Instant:$u,Now:na,PlainDate:Ju,PlainDateTime:Hu,PlainMonthDay:Qu,PlainTime:ta,PlainYearMonth:ia,ZonedDateTime:aa}),da=function(){function e(){t(this,e)}return o(e,[{key:"toTemporalInstant",value:function(){return Vn(oo(Date.prototype.valueOf.call(this)))}}]),e}().prototype.toTemporalInstant,va=0,la=[$u,Ju,Hu,Xu,Qu,ta,ia,aa];va<la.length;va++){var ma=la[va],ya=Object.getOwnPropertyDescriptor(ma,"prototype");(ya.configurable||ya.enumerable||ya.writable)&&(ya.configurable=!1,ya.enumerable=!1,ya.writable=!1,Object.defineProperty(ma,"prototype",ya))}e.Intl=Wu,e.Temporal=ha,e.toTemporalInstant=da}(i.exports);class v{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}const l={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"},m=class{constructor(r){e(this,r),this.focusDate=i.exports.Temporal.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){r(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||c(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=o(this.root),this.startDayOfWeek=this.startDayOfWeek||u(this.locale),this.i18n=await a(this.root,l);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new v({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?i.exports.Temporal.PlainDate.from(e):void 0,max:e=>e?i.exports.Temporal.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const r=i.exports.Temporal.PlainDate.from(e.target.day);this.selectDate(r),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const r=e.toString();this.slottedInput.value=r,this.focusDate=e,this.focusOnFocusDate(),f(this.root,"input"),f(this.root,"change")}shiftFocusDate(e){const r=i.exports.Temporal.Duration.from(e);let n=this.focusDate.add(r);this.min&&-1==i.exports.Temporal.PlainDate.compare(n,this.min)?n=this.min:this.max&&1==i.exports.Temporal.PlainDate.compare(n,this.max)&&(n=this.max),this.focusDate=n}focusOnFocusDate(){s((()=>{const e=this.focusDate.toString(),r=this.getGuxDayForDate(e);r&&r.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==i.exports.Temporal.PlainDate.compare(e,this.min)||this.max&&1==i.exports.Temporal.PlainDate.compare(e,this.max)}getMonthDays(){const e=i.exports.Temporal.Now.plainDateISO(),r=(n=this.getFocusDate(),i.exports.Temporal.PlainDate.from({day:1,month:n.month,year:n.year}));var n;const t=[];let o={dates:[]},u=0;const a=r.month,s=this.getSelectedDate();let c=function(e,r){let n=r-e.dayOfWeek;return n>0&&(n-=7),e.add({days:n})}(r,this.startDayOfWeek);for(let r=0;r<this.MONTH_DATE_COUNT+1;r+=1)u>0&&u%7==0&&(t.push(o),o={dates:[]}),o.dates.push({date:i.exports.Temporal.PlainDate.from(c),disabled:this.isInvalidDate(c),inCurrentMonth:a===c.month,selected:null==s?void 0:s.equals(c),focused:this.getFocusDate().equals(c),isCurrentDate:c.equals(e)}),u+=1,c=c.add({days:1});return t}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?i.exports.Temporal.PlainDate.from(this.slottedInput.value):null}renderHeader(){return n("div",{class:"gux-header"},n("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:d(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},n("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),n("span",{class:"gux-header-month-and-year"},d(this.getFocusDate(),this.locale)),n("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:d(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},n("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return n("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},n("div",{class:"gux-content"},n("div",{class:"gux-week-days"},function(e,r){const n=[],t=new Date(1970,0,4);for(let r=0;r<7;r++){const r=t.toLocaleString(e,{weekday:"narrow"});n.push(r),t.setDate(t.getDate()+1)}return(i=n).concat(i.splice(0,r%i.length));var i}(this.locale,this.startDayOfWeek).map((e=>n("div",{class:"gux-week-day"},e)))),n("div",null,this.getMonthDays().map((e=>n("div",{class:"gux-content-week"},e.dates.map((e=>{const r=e.date.toString();return n("gux-day-beta",{day:r,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${r} \n `})}))))))))}render(){return n("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},n("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return t(this)}};m.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{m as gux_calendar_beta}