genesys-spark-components 4.138.5 → 4.139.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 (376) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar-beta.cjs.entry.js +7 -2
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -2
  28. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  116. package/dist/cjs/index.umd-57a066c7.js +5 -0
  117. package/dist/cjs/{usage-e47be043.js → usage-b4888c7f.js} +2 -2
  118. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +4 -4
  119. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.css +2 -24
  120. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +8 -9
  121. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.css +7 -7
  122. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +9 -9
  123. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +3 -3
  124. package/dist/esm/gux-accordion.entry.js +1 -1
  125. package/dist/esm/gux-action-button.entry.js +1 -1
  126. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  127. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  128. package/dist/esm/gux-announce-beta.entry.js +1 -1
  129. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  130. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  131. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  132. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  133. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  134. package/dist/esm/gux-badge.entry.js +1 -1
  135. package/dist/esm/gux-blank-state.entry.js +1 -1
  136. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  137. package/dist/esm/gux-button-multi.entry.js +1 -1
  138. package/dist/esm/gux-button-slot.entry.js +1 -1
  139. package/dist/esm/gux-button_2.entry.js +1 -1
  140. package/dist/esm/gux-calendar-beta.entry.js +7 -2
  141. package/dist/esm/gux-calendar.entry.js +1 -1
  142. package/dist/esm/gux-card.entry.js +1 -1
  143. package/dist/esm/gux-column-manager.entry.js +1 -1
  144. package/dist/esm/gux-content-search.entry.js +1 -1
  145. package/dist/esm/gux-context-menu.entry.js +1 -1
  146. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  147. package/dist/esm/gux-date-beta.entry.js +1 -1
  148. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  149. package/dist/esm/gux-datepicker.entry.js +1 -1
  150. package/dist/esm/gux-day-beta.entry.js +1 -2
  151. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  152. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  153. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  154. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  155. package/dist/esm/gux-file-list-item.entry.js +1 -1
  156. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  157. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  158. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  159. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  160. package/dist/esm/gux-form-field-color.entry.js +1 -1
  161. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  162. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  163. package/dist/esm/gux-form-field-file.entry.js +1 -1
  164. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  165. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  166. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  167. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  168. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  169. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  170. package/dist/esm/gux-form-field-range.entry.js +1 -1
  171. package/dist/esm/gux-form-field-search.entry.js +1 -1
  172. package/dist/esm/gux-form-field-select.entry.js +1 -1
  173. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  174. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  175. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  176. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  177. package/dist/esm/gux-form-footer.entry.js +1 -1
  178. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  179. package/dist/esm/gux-icon.entry.js +1 -1
  180. package/dist/esm/gux-inline-alert.entry.js +1 -1
  181. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  182. package/dist/esm/gux-link-beta.entry.js +1 -1
  183. package/dist/esm/gux-list.entry.js +1 -1
  184. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  185. package/dist/esm/gux-loading-message.entry.js +1 -1
  186. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  187. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  188. package/dist/esm/gux-modal.entry.js +1 -1
  189. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  190. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  191. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  192. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  193. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  194. package/dist/esm/gux-pagination.entry.js +1 -1
  195. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  196. package/dist/esm/gux-popover-beta.entry.js +1 -1
  197. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  198. package/dist/esm/gux-popover-list.entry.js +1 -1
  199. package/dist/esm/gux-radial-loading.entry.js +1 -1
  200. package/dist/esm/gux-radial-progress.entry.js +1 -1
  201. package/dist/esm/gux-rating.entry.js +1 -1
  202. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  203. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  204. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  205. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  206. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  207. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  208. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  209. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  210. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  211. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  212. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  213. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  214. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  215. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  216. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  217. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  218. package/dist/esm/gux-sort-control.entry.js +1 -1
  219. package/dist/esm/gux-switch-item.entry.js +1 -1
  220. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  221. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  222. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  223. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  224. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  225. package/dist/esm/gux-table.entry.js +1 -1
  226. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  227. package/dist/esm/gux-tabs.entry.js +1 -1
  228. package/dist/esm/gux-tag.entry.js +1 -1
  229. package/dist/esm/gux-text-highlight.entry.js +1 -1
  230. package/dist/esm/gux-time-beta.entry.js +1 -1
  231. package/dist/esm/gux-time-picker.entry.js +1 -1
  232. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  233. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  234. package/dist/esm/gux-toast.entry.js +1 -1
  235. package/dist/esm/gux-toggle.entry.js +1 -1
  236. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  237. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  238. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  239. package/dist/esm/index.umd-ec35273e.js +3 -0
  240. package/dist/esm/{usage-36c49ec0.js → usage-a92fed66.js} +2 -2
  241. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  242. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  243. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  244. package/dist/genesys-webcomponents/{p-a6fde5d7.entry.js → p-0089df86.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-42d51817.entry.js → p-01fa87f6.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-db5d1c5a.entry.js → p-04b647b7.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-551c3120.entry.js → p-05edb692.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-82b352a2.entry.js → p-0861a8b7.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-e058d6e2.entry.js → p-0884b848.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-1031a9dc.entry.js → p-0df51dab.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-23188b9b.entry.js → p-0e5525f7.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-fb5a8709.entry.js → p-0fd84c4e.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-656ba338.entry.js → p-120ff034.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-dbd215eb.entry.js → p-13a67141.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/p-13c7b514.entry.js +1 -0
  256. package/dist/genesys-webcomponents/{p-e2de40cf.entry.js → p-1524406e.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-00d4ebc1.entry.js → p-19bcfaff.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-7b74366c.entry.js → p-21762ad7.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-34771260.entry.js → p-2257ccde.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-75ab1a5f.entry.js → p-231d66ec.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-abf63e43.entry.js → p-242982db.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-9162b418.entry.js → p-2a0e7b5d.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-c95273e6.entry.js → p-2d5e79ec.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-d2dc1456.entry.js → p-2f268fa4.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-6cd34c5c.entry.js → p-2fcf957a.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-68ccea62.entry.js → p-319f04a1.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-127513f5.entry.js → p-36112cec.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-d5f7dbcd.entry.js → p-3869822f.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-62897607.entry.js → p-39faa356.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-40c64162.entry.js → p-3e3a3cd7.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-f614b836.entry.js → p-43aa6fef.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-c3823a01.entry.js → p-44c9136a.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-a47d849d.entry.js → p-45b5c99d.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-841eb95d.entry.js → p-4685c9d0.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-d9b0f3e9.entry.js → p-46d0aa2c.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-53bdb0f2.entry.js → p-4b9b39d6.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-5a338901.entry.js → p-4f630660.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-bfad7f61.entry.js → p-50ea232f.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-2dcd8221.entry.js → p-5238ec64.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-3c003cac.entry.js → p-52d61a55.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-0167a40b.entry.js → p-5738bcd8.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-c2bd9905.entry.js → p-5d94adab.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/p-61b906b3.entry.js +1 -0
  284. package/dist/genesys-webcomponents/{p-d0af5c42.entry.js → p-658a238e.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-23d35dfa.entry.js → p-6615486d.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-e9e4fbb1.entry.js → p-665edfa8.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-320c6e88.entry.js → p-67307e16.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e984199c.entry.js → p-68661820.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/p-6ab73548.entry.js +1 -0
  290. package/dist/genesys-webcomponents/p-6f6dc966.entry.js +1 -0
  291. package/dist/genesys-webcomponents/p-73bf1e03.entry.js +1 -0
  292. package/dist/genesys-webcomponents/{p-e448baf3.entry.js → p-778987c1.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-29af1d02.entry.js → p-78d5ad24.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-d9ec9145.entry.js → p-791d11b5.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-295863b3.entry.js → p-79d488e9.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-77749cf0.entry.js → p-7a62b6c7.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-1f082cad.entry.js → p-7d5b4646.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-ef255407.entry.js → p-7e1a4a93.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-c4dfc25f.entry.js → p-7f1e3f1e.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/p-836bf69d.js +1 -0
  301. package/dist/genesys-webcomponents/{p-90e03a6f.entry.js → p-843516e2.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-3bdfbd1a.entry.js → p-84dfb446.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-479f5d41.entry.js → p-8766e0b1.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-a407b0f7.entry.js → p-88057d54.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/p-889a3b01.entry.js +1 -0
  306. package/dist/genesys-webcomponents/{p-19c6574e.entry.js → p-88aab2b0.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-557243c9.entry.js → p-899638ea.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-c60295c7.entry.js → p-8c43c92b.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-ea1dcad7.entry.js → p-8d1f0df4.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/p-9034b7f9.entry.js +1 -0
  311. package/dist/genesys-webcomponents/{p-ec3807a7.entry.js → p-908d67a3.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-24233fef.entry.js → p-93c57e43.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-68f25c14.entry.js → p-95478b0b.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-9b3e1186.entry.js → p-975b6d85.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-4cccb841.entry.js → p-9adfa8eb.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/p-9ce265cd.entry.js +1 -0
  317. package/dist/genesys-webcomponents/{p-e14eea9e.entry.js → p-9e8e6ad9.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-8286e2ad.entry.js → p-a2b97ebe.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-b8aeb1ed.entry.js → p-a5939f87.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-bb87ddc0.entry.js → p-a6525d13.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-59c2fd73.entry.js → p-aeabc546.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-59dd8b82.entry.js → p-af10ca0f.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-58fffe6f.entry.js → p-b08c9128.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-01f65240.entry.js → p-b1901446.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-ac73a9ec.entry.js → p-b5074c28.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-5d3d9a8e.entry.js → p-b57b4ae3.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-68a50beb.entry.js → p-b7119dc3.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-979e292f.entry.js → p-b8101f77.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-5fd6da4b.entry.js → p-b8449365.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-1db81cea.entry.js → p-b8c7ddda.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/p-bd24c72b.entry.js +1 -0
  332. package/dist/genesys-webcomponents/{p-ec9815a5.entry.js → p-c15ef7b9.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-601ed284.entry.js → p-c208c21e.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-42d92fb5.entry.js → p-c32363b8.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-9669b8f9.entry.js → p-c401a953.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-f82f1a80.entry.js → p-c5da8ef8.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-2f70f0f0.entry.js → p-c6798a51.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-21c6ee17.entry.js → p-cd04683e.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-bfe65171.entry.js → p-d0d7e4c2.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-04aadf90.entry.js → p-d2d6084d.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-3ed4c30e.entry.js → p-d3709bd1.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-0390258d.entry.js → p-d52b2063.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-d7c4d9a2.entry.js → p-d68f01eb.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/p-da9c7a78.entry.js +1 -0
  345. package/dist/genesys-webcomponents/{p-646b22d2.entry.js → p-dc10dfb7.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-1c644b54.entry.js → p-e40672f0.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-3c44ee26.entry.js → p-e45c6915.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-d6899122.entry.js → p-e80923e7.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-f55ae1b6.entry.js → p-ebba99f1.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-02ce759e.entry.js → p-f17002ee.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-469936c8.entry.js → p-f1c39684.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-b8be41a9.js → p-f24cbc4a.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-41dc15f5.entry.js → p-f8afafc2.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-13fe57e3.entry.js → p-f943be97.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-e14d4fcc.entry.js → p-fbac612e.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-e219d90d.entry.js → p-fbb8a44c.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-42232486.entry.js → p-fc1236eb.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-e887dd23.entry.js → p-fd27d76e.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-638c88ca.entry.js → p-fdfbce70.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-91bfb570.entry.js → p-ffe19e1d.entry.js} +1 -1
  361. package/dist/stencil-wrapper.js +1 -1
  362. package/dist/types/stencil-wrapper.d.ts +1 -1
  363. package/package.json +2 -2
  364. package/dist/cjs/index.umd-9e988797.js +0 -12
  365. package/dist/esm/index.umd-c0335c3a.js +0 -10
  366. package/dist/genesys-webcomponents/p-19c5f089.entry.js +0 -1
  367. package/dist/genesys-webcomponents/p-45586c9f.entry.js +0 -1
  368. package/dist/genesys-webcomponents/p-4c0d8275.entry.js +0 -1
  369. package/dist/genesys-webcomponents/p-649973ae.js +0 -1
  370. package/dist/genesys-webcomponents/p-7c664070.entry.js +0 -1
  371. package/dist/genesys-webcomponents/p-825c8cea.entry.js +0 -1
  372. package/dist/genesys-webcomponents/p-842c55f5.entry.js +0 -1
  373. package/dist/genesys-webcomponents/p-8642a1d7.entry.js +0 -1
  374. package/dist/genesys-webcomponents/p-8c48dfdf.entry.js +0 -1
  375. package/dist/genesys-webcomponents/p-c7f481f6.entry.js +0 -1
  376. package/dist/genesys-webcomponents/p-f407f3ca.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{c as r}from"./p-e9c4f463.js";var e={exports:{}};!function(r){function e(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function n(r){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?e(Object(t),!0).forEach((function(e){u(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):e(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t(r)}function i(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function o(r,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,k(t.key),t)}}function a(r,e,n){return e&&o(r.prototype,e),n&&o(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function u(r,e,n){return(e=k(e))in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function s(r,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&f(r,e)}function v(r){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},v(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,e){return r.__proto__=e,r},f(r,e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(r){return!1}}function c(r,e,n){return c=h()?Reflect.construct.bind():function(r,e,n){var t=[null];t.push.apply(t,e);var i=new(Function.bind.apply(r,t));return n&&f(i,n.prototype),i},c.apply(null,arguments)}function l(r){var e="function"==typeof Map?new Map:void 0;return l=function(r){if(null===r||!function(r){return-1!==Function.toString.call(r).indexOf("[native code]")}(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(r))return e.get(r);e.set(r,n)}function n(){return c(r,arguments,v(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,r)},l(r)}function d(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function y(r,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return d(r)}function w(r){var e=h();return function(){var n,t=v(r);if(e){var i=v(this).constructor;n=Reflect.construct(t,arguments,i)}else n=t.apply(this,arguments);return y(this,n)}}function m(){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,e,n){var t=function(r,e){for(;!Object.prototype.hasOwnProperty.call(r,e)&&null!==(r=v(r)););return r}(r,e);if(t){var i=Object.getOwnPropertyDescriptor(t,e);return i.get?i.get.call(arguments.length<3?r:n):i.value}},m.apply(this,arguments)}function p(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var t,i,o,a,u=[],s=!0,v=!1;try{if(o=(n=n.call(r)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(t=o.call(n)).done)&&(u.push(t.value),u.length!==e);s=!0);}catch(r){v=!0,i=r}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(v)throw i}}return u}}(r,e)||E(r,e)||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 D(r){return function(r){if(Array.isArray(r))return g(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||E(r)||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 E(r,e){if(r){if("string"==typeof r)return g(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);return"Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n?Array.from(r):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(r,e):void 0}}function g(r,e){(null==e||e>r.length)&&(e=r.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=r[n];return t}function T(r,e){var n="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=E(r))||e&&r&&"number"==typeof r.length){n&&(r=n);var t=0,i=function(){};return{s:i,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(r){throw r},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,a=!0,u=!1;return{s:function(){n=n.call(r)},n:function(){var r=n.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function k(r){var e=function(r){if("object"!=typeof r||null===r)return r;var e=r[Symbol.toPrimitive];if(void 0!==e){var n=e.call(r,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r);return"symbol"==typeof e?e:String(e)}var C=function(r){s(n,r);var e=w(n);function n(r,t){var o;if(i(this,n),(o=e.call(this,r)).sign=t,Object.setPrototypeOf(d(o),n.prototype),r>n.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded");return y(o)}return a(n,[{key:"toDebugString",value:function(){var r,e=["BigInt["],n=T(this);try{for(n.s();!(r=n.n()).done;){var t=r.value;e.push((t?(t>>>0).toString(16):t)+", ")}}catch(r){n.e(r)}finally{n.f()}return e.push("]"),e.join("")}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(2>r||36<r)throw new RangeError("toString() radix argument must be between 2 and 36");return 0===this.length?"0":r&r-1?n.__toStringGeneric(this,r,!1):n.__toStringBasePowerOfTwo(this,r)}},{key:"valueOf",value:function(){throw new Error("Convert JSBI instances to native numbers using `toNumber`.")}},{key:"__copy",value:function(){for(var r=new n(this.length,this.sign),e=0;e<this.length;e++)r[e]=this[e];return r}},{key:"__trim",value:function(){for(var r=this.length,e=this[r-1];0===e;)e=this[--r-1],this.pop();return 0===r&&(this.sign=!1),this}},{key:"__initializeDigits",value:function(){for(var r=0;r<this.length;r++)this[r]=0}},{key:"__clzmsd",value:function(){return n.__clz30(this.__digit(this.length-1))}},{key:"__inplaceMultiplyAdd",value:function(r,e,t){t>this.length&&(t=this.length);for(var i=32767&r,o=r>>>15,a=0,u=e,s=0;s<t;s++){var v=this.__digit(s),f=32767&v,h=v>>>15,c=n.__imul(f,i),l=n.__imul(f,o),d=n.__imul(h,i),y=u+c+a;a=y>>>30,y&=1073741823,a+=(y+=((32767&l)<<15)+((32767&d)<<15))>>>30,u=n.__imul(h,o)+(l>>>15)+(d>>>15),this.__setDigit(s,1073741823&y)}if(0!=a||0!==u)throw new Error("implementation bug")}},{key:"__inplaceAdd",value:function(r,e,n){for(var t=0,i=0;i<n;i++){var o=this.__halfDigit(e+i)+r.__halfDigit(i)+t;t=o>>>15,this.__setHalfDigit(e+i,32767&o)}return t}},{key:"__inplaceSub",value:function(r,e,n){var t=0;if(1&e){for(var i=this.__digit(e>>=1),o=32767&i,a=0;a<n-1>>>1;a++){var u=r.__digit(a),s=(i>>>15)-(32767&u)-t;t=1&s>>>15,this.__setDigit(e+a,(32767&s)<<15|32767&o),t=1&(o=(32767&(i=this.__digit(e+a+1)))-(u>>>15)-t)>>>15}var v=r.__digit(a),f=(i>>>15)-(32767&v)-t;if(t=1&f>>>15,this.__setDigit(e+a,(32767&f)<<15|32767&o),e+a+1>=this.length)throw new RangeError("out of bounds");!(1&n)&&(t=1&(o=(32767&(i=this.__digit(e+a+1)))-(v>>>15)-t)>>>15,this.__setDigit(e+r.length,1073709056&i|32767&o))}else{e>>=1;for(var h=0;h<r.length-1;h++){var c=this.__digit(e+h),l=r.__digit(h),d=(32767&c)-(32767&l)-t,y=(c>>>15)-(l>>>15)-(t=1&d>>>15);t=1&y>>>15,this.__setDigit(e+h,(32767&y)<<15|32767&d)}var w=this.__digit(e+h),m=r.__digit(h),p=(32767&w)-(32767&m)-t;t=1&p>>>15;var D=0;!(1&n)&&(t=1&(D=(w>>>15)-(m>>>15)-t)>>>15),this.__setDigit(e+h,(32767&D)<<15|32767&p)}return t}},{key:"__inplaceRightShift",value:function(r){if(0!==r){for(var e=this.__digit(0)>>>r,n=this.length-1,t=0;t<n;t++){var i=this.__digit(t+1);this.__setDigit(t,1073741823&i<<30-r|e),e=i>>>r}this.__setDigit(n,e)}}},{key:"__digit",value:function(r){return this[r]}},{key:"__unsignedDigit",value:function(r){return this[r]>>>0}},{key:"__setDigit",value:function(r,e){this[r]=0|e}},{key:"__setDigitGrow",value:function(r,e){this[r]=0|e}},{key:"__halfDigitLength",value:function(){var r=this.length;return 32767>=this.__unsignedDigit(r-1)?2*r-1:2*r}},{key:"__halfDigit",value:function(r){return 32767&this[r>>>1]>>>15*(1&r)}},{key:"__setHalfDigit",value:function(r,e){var n=r>>>1,t=this.__digit(n);this.__setDigit(n,1&r?32767&t|e<<15:1073709056&t|32767&e)}}],[{key:"BigInt",value:function(r){var e=Math.floor,i=Number.isFinite;if("number"==typeof r){if(0===r)return n.__zero();if(n.__isOneDigitInt(r))return 0>r?n.__oneDigit(-r,!0):n.__oneDigit(r,!1);if(!i(r)||e(r)!==r)throw new RangeError("The number "+r+" cannot be converted to BigInt because it is not an integer");return n.__fromDouble(r)}if("string"==typeof r){var o=n.__fromString(r);if(null===o)throw new SyntaxError("Cannot convert "+r+" to a BigInt");return o}if("boolean"==typeof r)return!0===r?n.__oneDigit(1,!1):n.__zero();if("object"==t(r)){if(r.constructor===n)return r;var a=n.__toPrimitive(r);return n.BigInt(a)}throw new TypeError("Cannot convert "+r+" to a BigInt")}},{key:"toNumber",value:function(r){var e=r.length;if(0===e)return 0;if(1===e){var t=r.__unsignedDigit(0);return r.sign?-t:t}var i=r.__digit(e-1),o=n.__clz30(i),a=30*e-o;if(1024<a)return r.sign?-1/0:1/0;var u=a-1,s=i,v=e-1,f=o+3,h=32===f?0:s<<f;h>>>=12;var c=f-12,l=12<=f?0:s<<20+f,d=20+f;for(0<c&&0<v&&(v--,h|=(s=r.__digit(v))>>>30-c,l=s<<c+2,d=c+2);0<d&&0<v;)v--,s=r.__digit(v),l|=30<=d?s<<d-30:s>>>30-d,d-=30;var y=n.__decideRounding(r,d,v,s);return(1===y||0===y&&!(1&~l))&&0==(l=l+1>>>0)&&0!=++h>>>20&&(h=0,1023<++u)?r.sign?-1/0:1/0:(n.__kBitConversionInts[1]=(r.sign?-2147483648:0)|(u=u+1023<<20)|h,n.__kBitConversionInts[0]=l,n.__kBitConversionDouble[0])}},{key:"unaryMinus",value:function(r){if(0===r.length)return r;var e=r.__copy();return e.sign=!r.sign,e}},{key:"bitwiseNot",value:function(r){return r.sign?n.__absoluteSubOne(r).__trim():n.__absoluteAddOne(r,!0)}},{key:"exponentiate",value:function(r,e){if(e.sign)throw new RangeError("Exponent must be positive");if(0===e.length)return n.__oneDigit(1,!1);if(0===r.length)return r;if(1===r.length&&1===r.__digit(0))return!r.sign||1&e.__digit(0)?r:n.unaryMinus(r);if(1<e.length)throw new RangeError("BigInt too big");var t=e.__unsignedDigit(0);if(1===t)return r;if(t>=n.__kMaxLengthBits)throw new RangeError("BigInt too big");if(1===r.length&&2===r.__digit(0)){var i=1+(0|t/30),o=new n(i,r.sign&&!!(1&t));return o.__initializeDigits(),o.__setDigit(i-1,1<<t%30),o}var a=null,u=r;for(!!(1&t)&&(a=r),t>>=1;0!==t;t>>=1)u=n.multiply(u,u),1&t&&(a=null===a?u:n.multiply(a,u));return a}},{key:"multiply",value:function(r,e){if(0===r.length)return r;if(0===e.length)return e;var t=r.length+e.length;30<=r.__clzmsd()+e.__clzmsd()&&t--;var i=new n(t,r.sign!==e.sign);i.__initializeDigits();for(var o=0;o<r.length;o++)n.__multiplyAccumulate(e,r.__digit(o),i,o);return i.__trim()}},{key:"divide",value:function(r,e){if(0===e.length)throw new RangeError("Division by zero");if(0>n.__absoluteCompare(r,e))return n.__zero();var t,i=r.sign!==e.sign,o=e.__unsignedDigit(0);if(1===e.length&&32767>=o){if(1===o)return i===r.sign?r:n.unaryMinus(r);t=n.__absoluteDivSmall(r,o,null)}else t=n.__absoluteDivLarge(r,e,!0,!1);return t.sign=i,t.__trim()}},{key:"remainder",value:function(r,e){if(0===e.length)throw new RangeError("Division by zero");if(0>n.__absoluteCompare(r,e))return r;var t=e.__unsignedDigit(0);if(1===e.length&&32767>=t){if(1===t)return n.__zero();var i=n.__absoluteModSmall(r,t);return 0===i?n.__zero():n.__oneDigit(i,r.sign)}var o=n.__absoluteDivLarge(r,e,!1,!0);return o.sign=r.sign,o.__trim()}},{key:"add",value:function(r,e){var t=r.sign;return t===e.sign?n.__absoluteAdd(r,e,t):0<=n.__absoluteCompare(r,e)?n.__absoluteSub(r,e,t):n.__absoluteSub(e,r,!t)}},{key:"subtract",value:function(r,e){var t=r.sign;return t===e.sign?0<=n.__absoluteCompare(r,e)?n.__absoluteSub(r,e,t):n.__absoluteSub(e,r,!t):n.__absoluteAdd(r,e,t)}},{key:"leftShift",value:function(r,e){return 0===e.length||0===r.length?r:e.sign?n.__rightShiftByAbsolute(r,e):n.__leftShiftByAbsolute(r,e)}},{key:"signedRightShift",value:function(r,e){return 0===e.length||0===r.length?r:e.sign?n.__leftShiftByAbsolute(r,e):n.__rightShiftByAbsolute(r,e)}},{key:"unsignedRightShift",value:function(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}},{key:"lessThan",value:function(r,e){return 0>n.__compareToBigInt(r,e)}},{key:"lessThanOrEqual",value:function(r,e){return 0>=n.__compareToBigInt(r,e)}},{key:"greaterThan",value:function(r,e){return 0<n.__compareToBigInt(r,e)}},{key:"greaterThanOrEqual",value:function(r,e){return 0<=n.__compareToBigInt(r,e)}},{key:"equal",value:function(r,e){if(r.sign!==e.sign)return!1;if(r.length!==e.length)return!1;for(var n=0;n<r.length;n++)if(r.__digit(n)!==e.__digit(n))return!1;return!0}},{key:"notEqual",value:function(r,e){return!n.equal(r,e)}},{key:"bitwiseAnd",value:function(r,e){var t,i=Math.max;if(!r.sign&&!e.sign)return n.__absoluteAnd(r,e).__trim();if(r.sign&&e.sign){var o=i(r.length,e.length)+1,a=n.__absoluteSubOne(r,o),u=n.__absoluteSubOne(e);return a=n.__absoluteOr(a,u,a),n.__absoluteAddOne(a,!0,a).__trim()}return r.sign&&(r=(t=[e,r])[0],e=t[1]),n.__absoluteAndNot(r,n.__absoluteSubOne(e)).__trim()}},{key:"bitwiseXor",value:function(r,e){var t,i=Math.max;if(!r.sign&&!e.sign)return n.__absoluteXor(r,e).__trim();if(r.sign&&e.sign){var o=i(r.length,e.length),a=n.__absoluteSubOne(r,o),u=n.__absoluteSubOne(e);return n.__absoluteXor(a,u,a).__trim()}var s=i(r.length,e.length)+1;r.sign&&(r=(t=[e,r])[0],e=t[1]);var v=n.__absoluteSubOne(e,s);return v=n.__absoluteXor(v,r,v),n.__absoluteAddOne(v,!0,v).__trim()}},{key:"bitwiseOr",value:function(r,e){var t,i=(0,Math.max)(r.length,e.length);if(!r.sign&&!e.sign)return n.__absoluteOr(r,e).__trim();if(r.sign&&e.sign){var o=n.__absoluteSubOne(r,i),a=n.__absoluteSubOne(e);return o=n.__absoluteAnd(o,a,o),n.__absoluteAddOne(o,!0,o).__trim()}r.sign&&(r=(t=[e,r])[0],e=t[1]);var u=n.__absoluteSubOne(e,i);return u=n.__absoluteAndNot(u,r,u),n.__absoluteAddOne(u,!0,u).__trim()}},{key:"asIntN",value:function(r,e){var t=Math.floor;if(0===e.length)return e;if(0>(r=t(r)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===r)return n.__zero();if(r>=n.__kMaxLengthBits)return e;var i=0|(r+29)/30;if(e.length<i)return e;var o=e.__unsignedDigit(i-1),a=1<<(r-1)%30;if(e.length===i&&o<a)return e;if((o&a)!==a)return n.__truncateToNBits(r,e);if(!e.sign)return n.__truncateAndSubFromPowerOfTwo(r,e,!0);if(!(o&a-1)){for(var u=i-2;0<=u;u--)if(0!==e.__digit(u))return n.__truncateAndSubFromPowerOfTwo(r,e,!1);return e.length===i&&o===a?e:n.__truncateToNBits(r,e)}return n.__truncateAndSubFromPowerOfTwo(r,e,!1)}},{key:"asUintN",value:function(r,e){var t=Math.floor;if(0===e.length)return e;if(0>(r=t(r)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===r)return n.__zero();if(e.sign){if(r>n.__kMaxLengthBits)throw new RangeError("BigInt too big");return n.__truncateAndSubFromPowerOfTwo(r,e,!1)}if(r>=n.__kMaxLengthBits)return e;var i=0|(r+29)/30;if(e.length<i)return e;var o=r%30;if(e.length==i){if(0===o)return e;if(0==e.__digit(i-1)>>>o)return e}return n.__truncateToNBits(r,e)}},{key:"ADD",value:function(r,e){if(r=n.__toPrimitive(r),e=n.__toPrimitive(e),"string"==typeof r)return"string"!=typeof e&&(e=e.toString()),r+e;if("string"==typeof e)return r.toString()+e;if(r=n.__toNumeric(r),e=n.__toNumeric(e),n.__isBigInt(r)&&n.__isBigInt(e))return n.add(r,e);if("number"==typeof r&&"number"==typeof e)return r+e;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}},{key:"LT",value:function(r,e){return n.__compare(r,e,0)}},{key:"LE",value:function(r,e){return n.__compare(r,e,1)}},{key:"GT",value:function(r,e){return n.__compare(r,e,2)}},{key:"GE",value:function(r,e){return n.__compare(r,e,3)}},{key:"EQ",value:function(r,e){for(;;){if(n.__isBigInt(r))return n.__isBigInt(e)?n.equal(r,e):n.EQ(e,r);if("number"==typeof r){if(n.__isBigInt(e))return n.__equalToNumber(e,r);if("object"!=t(e))return r==e;e=n.__toPrimitive(e)}else if("string"==typeof r){if(n.__isBigInt(e))return null!==(r=n.__fromString(r))&&n.equal(r,e);if("object"!=t(e))return r==e;e=n.__toPrimitive(e)}else if("boolean"==typeof r){if(n.__isBigInt(e))return n.__equalToNumber(e,+r);if("object"!=t(e))return r==e;e=n.__toPrimitive(e)}else if("symbol"==t(r)){if(n.__isBigInt(e))return!1;if("object"!=t(e))return r==e;e=n.__toPrimitive(e)}else{if("object"!=t(r))return r==e;if("object"==t(e)&&e.constructor!==n)return r==e;r=n.__toPrimitive(r)}}}},{key:"NE",value:function(r,e){return!n.EQ(r,e)}},{key:"DataViewGetBigInt64",value:function(r,e){return n.asIntN(64,n.DataViewGetBigUint64(r,e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]))}},{key:"DataViewGetBigUint64",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=p(t?[4,0]:[0,4],2),o=i[1],a=r.getUint32(e+i[0],t),u=r.getUint32(e+o,t),s=new n(3,!1);return s.__setDigit(0,1073741823&u),s.__setDigit(1,(268435455&a)<<2|u>>>30),s.__setDigit(2,a>>>28),s.__trim()}},{key:"DataViewSetBigInt64",value:function(r,e,t){n.DataViewSetBigUint64(r,e,t,arguments.length>3&&void 0!==arguments[3]&&arguments[3])}},{key:"DataViewSetBigUint64",value:function(r,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=0,a=0;if(0<(t=n.asUintN(64,t)).length&&(a=t.__digit(0),1<t.length)){var u=t.__digit(1);a|=u<<30,o=u>>>2,2<t.length&&(o|=t.__digit(2)<<28)}var s=p(i?[4,0]:[0,4],2),v=s[1];r.setUint32(e+s[0],o,i),r.setUint32(e+v,a,i)}},{key:"__zero",value:function(){return new n(0,!1)}},{key:"__oneDigit",value:function(r,e){var t=new n(1,e);return t.__setDigit(0,r),t}},{key:"__decideRounding",value:function(r,e,n,t){if(0<e)return-1;var i;if(0>e)i=-e-1;else{if(0===n)return-1;n--,t=r.__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!==r.__digit(n))return 1;return 0}},{key:"__fromDouble",value:function(r){n.__kBitConversionDouble[0]=r;var e,t=(2047&n.__kBitConversionInts[1]>>>20)-1023,i=1+(0|t/30),o=new n(i,0>r),a=1048575&n.__kBitConversionInts[1]|1048576,u=n.__kBitConversionInts[0],s=t%30,v=0;if(s<20){var f=20-s;v=f+32,e=a>>>f,a=a<<32-f|u>>>f,u<<=32-f}else if(20===s)v=32,e=a,a=u,u=0;else{var h=s-20;v=32-h,e=a<<h|u>>>32-h,a=u<<h,u=0}o.__setDigit(i-1,e);for(var c=i-2;0<=c;c--)0<v?(v-=30,e=a>>>2,a=a<<30|u>>>2,u<<=30):e=0,o.__setDigit(c,e);return o.__trim()}},{key:"__isWhitespace",value:function(r){return!!(13>=r&&9<=r)||(159>=r?32==r:131071>=r?160==r||5760==r:196607>=r?10>=(r&=131071)||40==r||41==r||47==r||95==r||4096==r:65279==r)}},{key:"__fromString",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=0,i=r.length,o=0;if(o===i)return n.__zero();for(var a=r.charCodeAt(o);n.__isWhitespace(a);){if(++o===i)return n.__zero();a=r.charCodeAt(o)}if(43===a){if(++o===i)return null;a=r.charCodeAt(o),t=1}else if(45===a){if(++o===i)return null;a=r.charCodeAt(o),t=-1}if(0===e){if(e=10,48===a){if(++o===i)return n.__zero();if(88===(a=r.charCodeAt(o))||120===a){if(e=16,++o===i)return null;a=r.charCodeAt(o)}else if(79===a||111===a){if(e=8,++o===i)return null;a=r.charCodeAt(o)}else if(66===a||98===a){if(e=2,++o===i)return null;a=r.charCodeAt(o)}}}else if(16===e&&48===a){if(++o===i)return n.__zero();if(88===(a=r.charCodeAt(o))||120===a){if(++o===i)return null;a=r.charCodeAt(o)}}if(0!=t&&10!==e)return null;for(;48===a;){if(++o===i)return n.__zero();a=r.charCodeAt(o)}var u=i-o,s=n.__kMaxBitsPerChar[e],v=n.__kBitsPerCharTableMultiplier-1;if(u>1073741824/s)return null;var f=new n(0|(29+(s*u+v>>>n.__kBitsPerCharTableShift))/30,!1),h=10>e?e:10,c=10<e?e-10:0;if(e&e-1){f.__initializeDigits();var l=!1,d=0;do{for(var y=0,w=1;;){var m=void 0;if(a-48>>>0<h)m=a-48;else{if(!((32|a)-97>>>0<c)){l=!0;break}m=(32|a)-87}var p=w*e;if(1073741823<p)break;if(w=p,y=y*e+m,d++,++o===i){l=!0;break}a=r.charCodeAt(o)}var D=0|(s*d+(v=30*n.__kBitsPerCharTableMultiplier-1)>>>n.__kBitsPerCharTableShift)/30;f.__inplaceMultiplyAdd(w,y,D)}while(!l)}else{s>>=n.__kBitsPerCharTableShift;var E=[],g=[],T=!1;do{for(var k=0,C=0;;){var b=void 0;if(a-48>>>0<h)b=a-48;else{if(!((32|a)-97>>>0<c)){T=!0;break}b=(32|a)-87}if(C+=s,k=k<<s|b,++o===i){T=!0;break}if(a=r.charCodeAt(o),30<C+s)break}E.push(k),g.push(C)}while(!T);n.__fillFromParts(f,E,g)}if(o!==i){if(!n.__isWhitespace(a))return null;for(o++;o<i;o++)if(a=r.charCodeAt(o),!n.__isWhitespace(a))return null}return f.sign=-1==t,f.__trim()}},{key:"__fillFromParts",value:function(r,e,n){for(var t=0,i=0,o=0,a=e.length-1;0<=a;a--){var u=e[a],s=n[a];i|=u<<o,30===(o+=s)?(r.__setDigit(t++,i),o=0,i=0):30<o&&(r.__setDigit(t++,1073741823&i),i=u>>>s-(o-=30))}if(0!==i){if(t>=r.length)throw new Error("implementation bug");r.__setDigit(t++,i)}for(;t<r.length;t++)r.__setDigit(t,0)}},{key:"__toStringBasePowerOfTwo",value:function(r,e){var t=r.length,i=e-1,o=i=(15&(i=(51&(i=(85&i>>>1)+(85&i))>>>2)+(51&i))>>>4)+(15&i),a=e-1,u=r.__digit(t-1),s=0|(30*t-n.__clz30(u)+o-1)/o;if(r.sign&&s++,268435456<s)throw new Error("string too long");for(var v=Array(s),f=s-1,h=0,c=0,l=0;l<t-1;l++){var d=r.__digit(l);v[f--]=n.__kConversionChars[(h|d<<c)&a];var y=o-c;for(h=d>>>y,c=30-y;c>=o;)v[f--]=n.__kConversionChars[h&a],h>>>=o,c-=o}for(v[f--]=n.__kConversionChars[(h|u<<c)&a],h=u>>>o-c;0!==h;)v[f--]=n.__kConversionChars[h&a],h>>>=o;if(r.sign&&(v[f--]="-"),-1!=f)throw new Error("implementation bug");return v.join("")}},{key:"__toStringGeneric",value:function(r,e,t){var i=r.length;if(0===i)return"";if(1===i){var o=r.__unsignedDigit(0).toString(e);return!1===t&&r.sign&&(o="-"+o),o}var a,u,s=30*i-n.__clz30(r.__digit(i-1)),v=n.__kMaxBitsPerChar[e]-1,f=s*n.__kBitsPerCharTableMultiplier,h=1+(f=0|(f+=v-1)/v)>>1,c=n.exponentiate(n.__oneDigit(e,!1),n.__oneDigit(h,!1)),l=c.__unsignedDigit(0);if(1===c.length&&32767>=l){(a=new n(r.length,!1)).__initializeDigits();for(var d=0,y=2*r.length-1;0<=y;y--){var w=d<<15|r.__halfDigit(y);a.__setHalfDigit(y,0|w/l),d=0|w%l}u=d.toString(e)}else{var m=n.__absoluteDivLarge(r,c,!0,!0);a=m.quotient;var p=m.remainder.__trim();u=n.__toStringGeneric(p,e,!0)}a.__trim();for(var D=n.__toStringGeneric(a,e,!0);u.length<h;)u="0"+u;return!1===t&&r.sign&&(D="-"+D),D+u}},{key:"__unequalSign",value:function(r){return r?-1:1}},{key:"__absoluteGreater",value:function(r){return r?-1:1}},{key:"__absoluteLess",value:function(r){return r?1:-1}},{key:"__compareToBigInt",value:function(r,e){var t=r.sign;if(t!==e.sign)return n.__unequalSign(t);var i=n.__absoluteCompare(r,e);return 0<i?n.__absoluteGreater(t):0>i?n.__absoluteLess(t):0}},{key:"__compareToNumber",value:function(r,e){if(n.__isOneDigitInt(e)){var t=r.sign,i=0>e;if(t!==i)return n.__unequalSign(t);if(0===r.length){if(i)throw new Error("implementation bug");return 0===e?0:-1}if(1<r.length)return n.__absoluteGreater(t);var o=Math.abs(e),a=r.__unsignedDigit(0);return a>o?n.__absoluteGreater(t):a<o?n.__absoluteLess(t):0}return n.__compareToDouble(r,e)}},{key:"__compareToDouble",value:function(r,e){if(e!=e)return e;if(e===1/0)return-1;if(e===-1/0)return 1;var t=r.sign;if(t!==0>e)return n.__unequalSign(t);if(0===e)throw new Error("implementation bug: should be handled elsewhere");if(0===r.length)return-1;n.__kBitConversionDouble[0]=e;var i=2047&n.__kBitConversionInts[1]>>>20;if(2047==i)throw new Error("implementation bug: handled elsewhere");var o=i-1023;if(0>o)return n.__absoluteGreater(t);var a=r.length,u=r.__digit(a-1),s=n.__clz30(u),v=30*a-s,f=o+1;if(v<f)return n.__absoluteLess(t);if(v>f)return n.__absoluteGreater(t);var h=1048576|1048575&n.__kBitConversionInts[1],c=n.__kBitConversionInts[0],l=29-s;if(l!==(0|(v-1)%30))throw new Error("implementation bug");var d,y=0;if(20>l){var w=20-l;y=w+32,d=h>>>w,h=h<<32-w|c>>>w,c<<=32-w}else if(20===l)y=32,d=h,h=c,c=0;else{var m=l-20;y=32-m,d=h<<m|c>>>32-m,h=c<<m,c=0}if((u>>>=0)>(d>>>=0))return n.__absoluteGreater(t);if(u<d)return n.__absoluteLess(t);for(var p=a-2;0<=p;p--){0<y?(y-=30,d=h>>>2,h=h<<30|c>>>2,c<<=30):d=0;var D=r.__unsignedDigit(p);if(D>d)return n.__absoluteGreater(t);if(D<d)return n.__absoluteLess(t)}if(0!==h||0!==c){if(0===y)throw new Error("implementation bug");return n.__absoluteLess(t)}return 0}},{key:"__equalToNumber",value:function(r,e){var t=Math.abs;return n.__isOneDigitInt(e)?0===e?0===r.length:1===r.length&&r.sign===0>e&&r.__unsignedDigit(0)===t(e):0===n.__compareToDouble(r,e)}},{key:"__comparisonResultToBool",value:function(r,e){return 0===e?0>r:1===e?0>=r:2===e?0<r:3===e?0<=r:void 0}},{key:"__compare",value:function(r,e,t){if(r=n.__toPrimitive(r),e=n.__toPrimitive(e),"string"==typeof r&&"string"==typeof e)switch(t){case 0:return r<e;case 1:return r<=e;case 2:return r>e;case 3:return r>=e}if(n.__isBigInt(r)&&"string"==typeof e)return null!==(e=n.__fromString(e))&&n.__comparisonResultToBool(n.__compareToBigInt(r,e),t);if("string"==typeof r&&n.__isBigInt(e))return null!==(r=n.__fromString(r))&&n.__comparisonResultToBool(n.__compareToBigInt(r,e),t);if(r=n.__toNumeric(r),e=n.__toNumeric(e),n.__isBigInt(r)){if(n.__isBigInt(e))return n.__comparisonResultToBool(n.__compareToBigInt(r,e),t);if("number"!=typeof e)throw new Error("implementation bug");return n.__comparisonResultToBool(n.__compareToNumber(r,e),t)}if("number"!=typeof r)throw new Error("implementation bug");if(n.__isBigInt(e))return n.__comparisonResultToBool(n.__compareToNumber(e,r),2^t);if("number"!=typeof e)throw new Error("implementation bug");return 0===t?r<e:1===t?r<=e:2===t?r>e:3===t?r>=e:void 0}},{key:"__absoluteAdd",value:function(r,e,t){if(r.length<e.length)return n.__absoluteAdd(e,r,t);if(0===r.length)return r;if(0===e.length)return r.sign===t?r:n.unaryMinus(r);var i=r.length;(0===r.__clzmsd()||e.length===r.length&&0===e.__clzmsd())&&i++;for(var o=new n(i,t),a=0,u=0;u<e.length;u++){var s=r.__digit(u)+e.__digit(u)+a;a=s>>>30,o.__setDigit(u,1073741823&s)}for(;u<r.length;u++){var v=r.__digit(u)+a;a=v>>>30,o.__setDigit(u,1073741823&v)}return u<o.length&&o.__setDigit(u,a),o.__trim()}},{key:"__absoluteSub",value:function(r,e,t){if(0===r.length)return r;if(0===e.length)return r.sign===t?r:n.unaryMinus(r);for(var i=new n(r.length,t),o=0,a=0;a<e.length;a++){var u=r.__digit(a)-e.__digit(a)-o;o=1&u>>>30,i.__setDigit(a,1073741823&u)}for(;a<r.length;a++){var s=r.__digit(a)-o;o=1&s>>>30,i.__setDigit(a,1073741823&s)}return i.__trim()}},{key:"__absoluteAddOne",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=r.length;null===t?t=new n(i,e):t.sign=e;for(var o=1,a=0;a<i;a++){var u=r.__digit(a)+o;o=u>>>30,t.__setDigit(a,1073741823&u)}return 0!=o&&t.__setDigitGrow(i,1),t}},{key:"__absoluteSubOne",value:function(r,e){for(var t=r.length,i=new n(e=e||t,!1),o=1,a=0;a<t;a++){var u=r.__digit(a)-o;o=1&u>>>30,i.__setDigit(a,1073741823&u)}if(0!=o)throw new Error("implementation bug");for(var s=t;s<e;s++)i.__setDigit(s,0);return i}},{key:"__absoluteAnd",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=r.length,o=e.length,a=o;if(i<o){a=i;var u=r,s=i;r=e,i=o,e=u,o=s}var v=a;null===t?t=new n(v,!1):v=t.length;for(var f=0;f<a;f++)t.__setDigit(f,r.__digit(f)&e.__digit(f));for(;f<v;f++)t.__setDigit(f,0);return t}},{key:"__absoluteAndNot",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=r.length,o=e.length,a=o;i<o&&(a=i);var u=i;null===t?t=new n(u,!1):u=t.length;for(var s=0;s<a;s++)t.__setDigit(s,r.__digit(s)&~e.__digit(s));for(;s<i;s++)t.__setDigit(s,r.__digit(s));for(;s<u;s++)t.__setDigit(s,0);return t}},{key:"__absoluteOr",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=r.length,o=e.length,a=o;if(i<o){a=i;var u=r,s=i;r=e,i=o,e=u,o=s}var v=i;null===t?t=new n(v,!1):v=t.length;for(var f=0;f<a;f++)t.__setDigit(f,r.__digit(f)|e.__digit(f));for(;f<i;f++)t.__setDigit(f,r.__digit(f));for(;f<v;f++)t.__setDigit(f,0);return t}},{key:"__absoluteXor",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=r.length,o=e.length,a=o;if(i<o){a=i;var u=r,s=i;r=e,i=o,e=u,o=s}var v=i;null===t?t=new n(v,!1):v=t.length;for(var f=0;f<a;f++)t.__setDigit(f,r.__digit(f)^e.__digit(f));for(;f<i;f++)t.__setDigit(f,r.__digit(f));for(;f<v;f++)t.__setDigit(f,0);return t}},{key:"__absoluteCompare",value:function(r,e){var n=r.length-e.length;if(0!=n)return n;for(var t=r.length-1;0<=t&&r.__digit(t)===e.__digit(t);)t--;return 0>t?0:r.__unsignedDigit(t)>e.__unsignedDigit(t)?1:-1}},{key:"__multiplyAccumulate",value:function(r,e,t,i){if(0!==e){for(var o,a=32767&e,u=e>>>15,s=0,v=0,f=0;f<r.length;f++,i++){o=t.__digit(i);var h=r.__digit(f),c=32767&h,l=h>>>15,d=n.__imul(c,a),y=n.__imul(c,u),w=n.__imul(l,a);s=(o+=v+d+s)>>>30,o&=1073741823,s+=(o+=((32767&y)<<15)+((32767&w)<<15))>>>30,v=n.__imul(l,u)+(y>>>15)+(w>>>15),t.__setDigit(i,1073741823&o)}for(;0!=s||0!==v;i++){var m=t.__digit(i);m+=s+v,v=0,s=m>>>30,t.__setDigit(i,1073741823&m)}}}},{key:"__internalMultiplyAdd",value:function(r,e,t,i,o){for(var a=t,u=0,s=0;s<i;s++){var v=r.__digit(s),f=n.__imul(32767&v,e),h=n.__imul(v>>>15,e),c=f+((32767&h)<<15)+u+a;a=c>>>30,u=h>>>15,o.__setDigit(s,1073741823&c)}if(o.length>i)for(o.__setDigit(i++,a+u);i<o.length;)o.__setDigit(i++,0);else if(0!==a+u)throw new Error("implementation bug")}},{key:"__absoluteDivSmall",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;null===t&&(t=new n(r.length,!1));for(var i,o=0,a=2*r.length-1;0<=a;a-=2){var u=0|(i=(o<<15|r.__halfDigit(a))>>>0)/e,s=0|(i=((o=0|i%e)<<15|r.__halfDigit(a-1))>>>0)/e;o=0|i%e,t.__setDigit(a>>>1,u<<15|s)}return t}},{key:"__absoluteModSmall",value:function(r,e){for(var n=0,t=2*r.length-1;0<=t;t--)n=0|((n<<15|r.__halfDigit(t))>>>0)%e;return n}},{key:"__absoluteDivLarge",value:function(r,e,t,i){var o=e.__halfDigitLength(),a=e.length,u=r.__halfDigitLength()-o,s=null;t&&(s=new n(u+2>>>1,!1)).__initializeDigits();var v=new n(o+2>>>1,!1);v.__initializeDigits();var f=n.__clz15(e.__halfDigit(o-1));0<f&&(e=n.__specialLeftShift(e,f,0));for(var h,c=n.__specialLeftShift(r,f,1),l=e.__halfDigit(o-1),d=0,y=u;0<=y;y--){h=32767;var w=c.__halfDigit(y+o);if(w!==l){var m=(w<<15|c.__halfDigit(y+o-1))>>>0;h=0|m/l;for(var p=0|m%l,D=e.__halfDigit(o-2),E=c.__halfDigit(y+o-2);n.__imul(h,D)>>>0>(p<<16|E)>>>0&&(h--,!(32767<(p+=l))););}n.__internalMultiplyAdd(e,h,0,a,v);var g=c.__inplaceSub(v,y,o+1);0!==g&&(g=c.__inplaceAdd(e,y,o),c.__setHalfDigit(y+o,32767&c.__halfDigit(y+o)+g),h--),t&&(1&y?d=h<<15:s.__setDigit(y>>>1,d|h))}if(i)return c.__inplaceRightShift(f),t?{quotient:s,remainder:c}:c;if(t)return s;throw new Error("unreachable")}},{key:"__clz15",value:function(r){return n.__clz30(r)-15}},{key:"__specialLeftShift",value:function(r,e,t){var i=r.length,o=new n(i+t,!1);if(0===e){for(var a=0;a<i;a++)o.__setDigit(a,r.__digit(a));return 0<t&&o.__setDigit(i,0),o}for(var u=0,s=0;s<i;s++){var v=r.__digit(s);o.__setDigit(s,1073741823&v<<e|u),u=v>>>30-e}return 0<t&&o.__setDigit(i,u),o}},{key:"__leftShiftByAbsolute",value:function(r,e){var t=n.__toShiftAmount(e);if(0>t)throw new RangeError("BigInt too big");var i=0|t/30,o=t%30,a=r.length,u=0!==o&&0!=r.__digit(a-1)>>>30-o,s=a+i+(u?1:0),v=new n(s,r.sign);if(0===o){for(var f=0;f<i;f++)v.__setDigit(f,0);for(;f<s;f++)v.__setDigit(f,r.__digit(f-i))}else{for(var h=0,c=0;c<i;c++)v.__setDigit(c,0);for(var l=0;l<a;l++){var d=r.__digit(l);v.__setDigit(l+i,1073741823&d<<o|h),h=d>>>30-o}if(u)v.__setDigit(a+i,h);else if(0!==h)throw new Error("implementation bug")}return v.__trim()}},{key:"__rightShiftByAbsolute",value:function(r,e){var t=r.length,i=r.sign,o=n.__toShiftAmount(e);if(0>o)return n.__rightShiftByMaximum(i);var a=0|o/30,u=o%30,s=t-a;if(0>=s)return n.__rightShiftByMaximum(i);var v=!1;if(i)if(r.__digit(a)&(1<<u)-1)v=!0;else for(var f=0;f<a;f++)if(0!==r.__digit(f)){v=!0;break}v&&0===u&&0==~r.__digit(t-1)&&s++;var h=new n(s,i);if(0===u){h.__setDigit(s-1,0);for(var c=a;c<t;c++)h.__setDigit(c-a,r.__digit(c))}else{for(var l=r.__digit(a)>>>u,d=t-a-1,y=0;y<d;y++){var w=r.__digit(y+a+1);h.__setDigit(y,1073741823&w<<30-u|l),l=w>>>u}h.__setDigit(d,l)}return v&&(h=n.__absoluteAddOne(h,!0,h)),h.__trim()}},{key:"__rightShiftByMaximum",value:function(r){return r?n.__oneDigit(1,!0):n.__zero()}},{key:"__toShiftAmount",value:function(r){if(1<r.length)return-1;var e=r.__unsignedDigit(0);return e>n.__kMaxLengthBits?-1:e}},{key:"__toPrimitive",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";if("object"!=t(r))return r;if(r.constructor===n)return r;if("undefined"!=typeof Symbol&&"symbol"==t(Symbol.toPrimitive)){var i=r[Symbol.toPrimitive];if(i){var o=i(e);if("object"!=t(o))return o;throw new TypeError("Cannot convert object to primitive value")}}var a=r.valueOf;if(a){var u=a.call(r);if("object"!=t(u))return u}var s=r.toString;if(s){var v=s.call(r);if("object"!=t(v))return v}throw new TypeError("Cannot convert object to primitive value")}},{key:"__toNumeric",value:function(r){return n.__isBigInt(r)?r:+r}},{key:"__isBigInt",value:function(r){return"object"==t(r)&&null!==r&&r.constructor===n}},{key:"__truncateToNBits",value:function(r,e){for(var t=0|(r+29)/30,i=new n(t,e.sign),o=t-1,a=0;a<o;a++)i.__setDigit(a,e.__digit(a));var u=e.__digit(o);if(0!=r%30){var s=32-r%30;u=u<<s>>>s}return i.__setDigit(o,u),i.__trim()}},{key:"__truncateAndSubFromPowerOfTwo",value:function(r,e,t){for(var i=Math.min,o=0|(r+29)/30,a=new n(o,t),u=0,s=o-1,v=0,f=i(s,e.length);u<f;u++){var h=0-e.__digit(u)-v;v=1&h>>>30,a.__setDigit(u,1073741823&h)}for(;u<s;u++)a.__setDigit(u,1073741823&-v);var c,l=s<e.length?e.__digit(s):0,d=r%30;if(0==d)c=0-l-v,c&=1073741823;else{var y=32-d,w=1<<32-y;c=w-(l=l<<y>>>y)-v,c&=w-1}return a.__setDigit(s,c),a.__trim()}},{key:"__digitPow",value:function(r,e){for(var n=1;0<e;)1&e&&(n*=r),e>>>=1,r*=r;return n}},{key:"__isOneDigitInt",value:function(r){return(1073741823&r)===r}}]),n}(l(Array));C.__kMaxLength=33554432,C.__kMaxLengthBits=C.__kMaxLength<<5,C.__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],C.__kBitsPerCharTableShift=5,C.__kBitsPerCharTableMultiplier=1<<C.__kBitsPerCharTableShift,C.__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"],C.__kBitConversionBuffer=new ArrayBuffer(8),C.__kBitConversionDouble=new Float64Array(C.__kBitConversionBuffer),C.__kBitConversionInts=new Int32Array(C.__kBitConversionBuffer),C.__clz30=Math.clz32?function(r){return Math.clz32(r)-2}:function(r){return 0===r?30:0|29-(0|Math.log(r>>>0)/Math.LN2)},C.__imul=Math.imul||function(r,e){return 0|r*e};var b,F,A={};function B(r,e){Object.defineProperty(r.prototype,Symbol.toStringTag,{value:e,writable:!1,enumerable:!1,configurable:!0});var n,t=T(Object.getOwnPropertyNames(r));try{for(t.s();!(n=t.n()).done;){var i=n.value,o=Object.getOwnPropertyDescriptor(r,i);o.configurable&&o.enumerable&&(o.enumerable=!1,Object.defineProperty(r,i,o))}}catch(r){t.e(r)}finally{t.f()}var a,u=T(Object.getOwnPropertyNames(r.prototype));try{for(u.s();!(a=u.n()).done;){var s=a.value,v=Object.getOwnPropertyDescriptor(r.prototype,s);v.configurable&&v.enumerable&&(v.enumerable=!1,Object.defineProperty(r.prototype,s,v))}}catch(r){u.e(r)}finally{u.f()}R(e,r),R("".concat(e,".prototype"),r.prototype)}function R(r,e){var n="%".concat(r,"%");if(void 0!==A[n])throw new Error("intrinsic ".concat(r," already exists"));A[n]=e}function I(r){return A[r]}u({},"Temporal.Duration",(function(r,e){var n=e.stylize("".concat(this[Symbol.toStringTag]," <").concat(this,">"),"special");if(r<1)return n;for(var t=[],i=0,o=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"];i<o.length;i++){var a=o[i];0!==this[a]&&t.push(" ".concat(a,": ").concat(e.stylize(this[a],"number")))}return n+" {\n"+t.join(",\n")+"\n}"}));var M="slot-epochNanoSeconds",O="slot-timezone-identifier",S="slot-year",Y="slot-month",_="slot-day",j="slot-hour",P="slot-minute",Z="slot-second",x="slot-millisecond",N="slot-microsecond",U="slot-nanosecond",L="slot-calendar",q="slot-date-brand",z="slot-year-month-brand",W="slot-month-day-brand",J="slot-cached-instant",H="slot-time-zone",$="slot-years",G="slot-months",V="slot-weeks",K="slot-days",X="slot-hours",Q="slot-minutes",rr="slot-seconds",er="slot-milliseconds",nr="slot-microseconds",tr="slot-nanoseconds",ir="slot-calendar-identifier",or=new WeakMap,ar=Symbol.for("@@Temporal__GetSlots");(b=globalThis)[ar]||(b[ar]=function(r){return or.get(r)});var ur=globalThis[ar],sr=Symbol.for("@@Temporal__CreateSlots");(F=globalThis)[sr]||(F[sr]=function(r){or.set(r,Object.create(null))});var vr=globalThis[sr];function fr(r){if(!r||"object"!==t(r))return!1;for(var e=ur(r),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return!!e&&i.every((function(r){return r in e}))}function hr(r,e){var n,t=null===(n=ur(r))||void 0===n?void 0:n[e];if(void 0===t)throw new TypeError("Missing internal slot ".concat(e));return t}function cr(r,e,n){var t=ur(r);if(void 0===t)throw new TypeError("Missing slots for the given container");if(t[e])throw new TypeError("".concat(e," already has set"));t[e]=n}var lr=/\.[-A-Za-z_]|\.\.[-A-Za-z._]{1,12}|\.[-A-Za-z_][-A-Za-z._]{0,12}|[A-Za-z_][-A-Za-z._]{0,13}/,dr=new RegExp("(?:"+["(?:".concat(lr.source,")(?:\\/(?:").concat(lr.source,"))*"),"Etc/GMT(?:0|[-+]\\d{1,2})","GMT[-+]?0","EST5EDT","CST6CDT","MST7MDT","PST8PDT",/(?:[+\u2212-][0-2][0-9](?::?[0-5][0-9](?::?[0-5][0-9](?:[.,]\d{1,9})?)?)?)/.source].join("|")+")"),yr=/(?:[+\u2212-]\d{6}|\d{4})/,wr=/(?:0[1-9]|1[0-2])/,mr=/(?:0[1-9]|[12]\d|3[01])/,pr=new RegExp("(".concat(yr.source,")(?:-(").concat(wr.source,")-(").concat(mr.source,")|(").concat(wr.source,")(").concat(mr.source,"))")),Dr=/(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/,Er=/([+\u2212-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\d{1,9}))?)?)?/,gr=new RegExp("([zZ])|".concat(Er.source,"?")),Tr=/\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g,kr=new RegExp(["^".concat(pr.source),"(?:(?:T|\\s+)".concat(Dr.source,"(?:").concat(gr.source,")?)?"),"(?:\\[!?(".concat(dr.source,")\\])?"),"((?:".concat(Tr.source,")*)$")].join(""),"i"),Cr=new RegExp(["^T?".concat(Dr.source),"(?:".concat(gr.source,")?"),"(?:\\[!?".concat(dr.source,"\\])?"),"((?:".concat(Tr.source,")*)$")].join(""),"i"),br=new RegExp("^(".concat(yr.source,")-?(").concat(wr.source,")(?:\\[!?").concat(dr.source,"\\])?((?:").concat(Tr.source,")*)$")),Fr=new RegExp("^(?:--)?(".concat(wr.source,")-?(").concat(mr.source,")(?:\\[!?").concat(dr.source,"\\])?((?:").concat(Tr.source,")*)$")),Ar=/(\d+)(?:[.,](\d{1,9}))?/,Br=new RegExp("(?:".concat(Ar.source,"H)?(?:").concat(Ar.source,"M)?(?:").concat(Ar.source,"S)?")),Rr=new RegExp("^([+−-])?P".concat(/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source,"(?:T(?!$)").concat(Br.source,")?$"),"i"),Ir=Array.prototype.includes,Mr=Array.prototype.push,Or=globalThis.Intl.DateTimeFormat,Sr=Math.min,Yr=Math.max,_r=Math.abs,jr=Math.floor,Pr=Math.sign,Zr=Math.trunc,xr=Number.isNaN,Nr=Number.isFinite,Ur=Number,Lr=String,qr=Number.MAX_SAFE_INTEGER,zr=Object.create,Wr=Object.getOwnPropertyDescriptor,Jr=Reflect.apply,Hr=Reflect.ownKeys,$r=C.BigInt(0),Gr=C.BigInt(1),Vr=C.BigInt(60),Kr=C.BigInt(24),Xr=C.BigInt(1e3),Qr=C.BigInt(1e6),re=C.BigInt(1e9),ee=C.BigInt(-1),ne=C.multiply(C.BigInt(3600),re),te=C.multiply(Vr,re),ie=C.multiply(ne,Kr),oe=C.multiply(C.BigInt(-86400),C.BigInt(1e17)),ae=C.multiply(C.BigInt(86400),C.BigInt(1e17)),ue=-271821,se=275760,ve=C.multiply(C.BigInt(-388152),C.BigInt(1e13)),fe=C.multiply(ie,C.BigInt(3660)),he=C.multiply(ie,C.BigInt(366)),ce=C.multiply(ie,C.BigInt(14)),le=["iso8601","hebrew","islamic","islamic-umalqura","islamic-tbla","islamic-civil","islamic-rgsa","islamicc","persian","ethiopic","ethioaa","coptic","chinese","dangi","roc","indian","buddhist","japanese","gregory"];function de(r){return C.equal(r,$r)}function ye(r,e){var n=r[e];if(void 0!==n)return n}function we(r,e,n){return Jr(r,e,arguments.length>2?n:[])}function me(r){return"object"===t(r)&&null!==r||"function"==typeof r}function pe(r){if("bigint"==typeof r)throw new TypeError("Cannot convert BigInt to number");return Ur(r)}function De(r){var e=pe(r);if(xr(e)||0===e)return 0;if(!Nr(e))return e;var n=jr(_r(e));return 0===n?0:Pr(e)*n}function Ee(r){if("number"!=typeof r||xr(r)||!Nr(r))return!1;var e=_r(r);return jr(e)===e}function ge(r){if("symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a String");return Lr(r)}function Te(r){var e=pe(r);if(0===e)return 0;if(xr(e)||!Nr(e))throw new RangeError("invalid number value");var n=Zr(e);return 0===n?0:n}function ke(r,e){var n=Te(r);if(n<=0){if(void 0!==e)throw new RangeError("property '".concat(e,"' 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 Ce(r){var e=pe(r);if(!Nr(e))throw new RangeError("infinity is out of range");if(!Ee(e))throw new RangeError("unsupported fractional value ".concat(r));return 0===e?0:e}function be(r,e){return{quotient:C.divide(r,e),remainder:C.remainder(r,e)}}function Fe(r){return C.lessThan(r,$r)}function Ae(r){return de(r)?0:Fe(r)?-1:1}function Be(r){return C.lessThan(r,$r)?C.multiply(r,ee):r}var Re=new Map([["year",Te],["month",ke],["monthCode",ge],["day",ke],["hour",Te],["minute",Te],["second",Te],["millisecond",Te],["microsecond",Te],["nanosecond",Te],["years",Ce],["months",Ce],["weeks",Ce],["days",Ce],["hours",Ce],["minutes",Ce],["seconds",Ce],["milliseconds",Ce],["microseconds",Ce],["nanoseconds",Ce],["era",ge],["eraYear",De],["offset",ge]]),Ie=new Map([["hour",0],["minute",0],["second",0],["millisecond",0],["microsecond",0],["nanosecond",0]]),Me=[["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"]],Oe=new Map(Me.map((function(r){return[r[0],r[1]]}))),Se=new Map(Me.map((function(r){var e=p(r,2);return[e[1],e[0]]}))),Ye=Me.map((function(r){return p(r,2)[1]})),_e=Array.from(Oe.keys()).sort(),je=new Map;function Pe(r){var e=je.get(r);return void 0===e&&(e=new Or("en-us",{timeZone:Lr(r),hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),je.set(r,e)),e}function Ze(r){if(null==r)throw new TypeError("Expected object not ".concat(r));return Object(r)}function xe(r,e,n,t){if(null!=e){var i,o=T(Hr(e));try{var a=function(){var o=i.value;if(n.some((function(r){return Object.is(r,o)})))return"continue";if(Object.prototype.propertyIsEnumerable.call(e,o)){var a=e[o];if(t&&t.some((function(r){return Object.is(r,a)})))return"continue";r[o]=a}};for(o.s();!(i=o.n()).done;)a()}catch(r){o.e(r)}finally{o.f()}}}function Ne(r){return fr(r,M)&&!fr(r,H,L)}function Ue(r){return fr(r,O)}function Le(r){return fr(r,ir)}function qe(r){return fr(r,$,G,K,X,Q,rr,er,nr,tr)}function ze(r){return fr(r,q)}function We(r){return fr(r,j,P,Z,x,N,U)&&!fr(r,S,Y,_)}function Je(r){return fr(r,S,Y,_,j,P,Z,x,N,U)}function He(r){return fr(r,z)}function $e(r){return fr(r,W)}function Ge(r){return fr(r,M,H,L)}function Ve(r){if(fr(r,L)||fr(r,H))throw new TypeError("with() does not support a calendar or timeZone property");if(We(r))throw new TypeError("with() does not accept Temporal.PlainTime, use withPlainTime() instead");if(void 0!==r.calendar)throw new TypeError("with() does not support a calendar property");if(void 0!==r.timeZone)throw new TypeError("with() does not support a timeZone property")}function Ke(r,e){return"never"===e?"":Xe(vt(r),e)}function Xe(r,e){return"never"===e||"auto"===e&&"iso8601"===r?"":"[".concat("critical"===e?"!":"","u-ca=").concat(r,"]")}function Qe(r){var e=kr.exec(r);if(!e)throw new RangeError("invalid ISO 8601 string: ".concat(r));var n=e[1];if("−"===n[0]&&(n="-".concat(n.slice(1))),"-000000"===n)throw new RangeError("invalid ISO 8601 string: ".concat(r));var t=De(n),i=De(e[2]||e[4]),o=De(e[3]||e[5]),a=De(e[6]),u=void 0!==e[6],s=De(e[7]||e[10]),v=De(e[8]||e[11]);60===v&&(v=59);var f,h=(e[9]||e[12])+"000000000",c=De(h.slice(0,3)),l=De(h.slice(3,6)),d=De(h.slice(6,9)),y=!1;if(e[13])f=void 0,y=!0;else if(e[14]&&e[15]){var w=e[15]||"00",m=e[16]||"00",D=e[17]||"00",E=e[18]||"0";if(f="".concat("-"===e[14]||"−"===e[14]?"-":"+").concat(w,":").concat(m),+E){for(;E.endsWith("0");)E=E.slice(0,-1);f+=":".concat(D,".").concat(E)}else+D&&(f+=":".concat(D));"-00:00"===f&&(f="+00:00")}var g,k,C=e[19],b=T(e[20].matchAll(Tr));try{for(b.s();!(k=b.n()).done;){var F=p(k.value,4),A=F[2],B=F[3];if("u-ca"===A)void 0===g&&(g=B);else if("!"===F[1])throw new RangeError("Unrecognized annotation: !".concat(A,"=").concat(B))}}catch(r){b.e(r)}finally{b.f()}return gi(t,i,o,a,s,v,c,l,d),{year:t,month:i,day:o,hasTime:u,hour:a,minute:s,second:v,millisecond:c,microsecond:l,nanosecond:d,ianaName:C,offset:f,z:y,calendar:g}}function rn(r){var e,n,t,i,o=br.exec(r);if(o){var a=o[1];if("−"===a[0]&&(a="-".concat(a.slice(1))),"-000000"===a)throw new RangeError("invalid ISO 8601 string: ".concat(r));e=De(a),n=De(o[2]);var u,s=T(o[3].matchAll(Tr));try{for(s.s();!(u=s.n()).done;){var v=p(u.value,4),f=v[2],h=v[3];if("u-ca"===f)void 0===t&&(t=h);else if("!"===v[1])throw new RangeError("Unrecognized annotation: !".concat(f,"=").concat(h))}}catch(r){s.e(r)}finally{s.f()}if(void 0!==t&&"iso8601"!==t)throw new RangeError("YYYY-MM format is only valid with iso8601 calendar")}else{var c=Qe(r);if(e=c.year,n=c.month,t=c.calendar,i=c.day,c.z)throw new RangeError("Z designator not supported for PlainYearMonth")}return{year:e,month:n,calendar:t,referenceISODay:i}}function en(r){var e,n,t,i,o=Fr.exec(r);if(o){e=De(o[1]),n=De(o[2]);var a,u=T(o[3].matchAll(Tr));try{for(u.s();!(a=u.n()).done;){var s=p(a.value,4),v=s[2],f=s[3];if("u-ca"===v)void 0===t&&(t=f);else if("!"===s[1])throw new RangeError("Unrecognized annotation: !".concat(v,"=").concat(f))}}catch(r){u.e(r)}finally{u.f()}if(void 0!==t&&"iso8601"!==t)throw new RangeError("MM-DD format is only valid with iso8601 calendar")}else{var h=Qe(r);if(e=h.month,n=h.day,t=h.calendar,i=h.year,h.z)throw new RangeError("Z designator not supported for PlainMonthDay")}return{month:e,day:n,calendar:t,referenceISOYear:i}}function nn(r,e,n,t){var i=r,o=e,a=n;switch(t){case"reject":pi(i,o,a);break;case"constrain":var u=wi(i,o,a);i=u.year,o=u.month,a=u.day}return{year:i,month:o,day:a}}function tn(r,e,n,t,i,o,a){var u=r,s=e,v=n,f=t,h=i,c=o;switch(a){case"reject":Ei(u,s,v,f,h,c);break;case"constrain":var l=function(r,e,n,t,i,o){return{hour:yi(r,0,23),minute:yi(e,0,59),second:yi(n,0,59),millisecond:yi(t,0,999),microsecond:yi(i,0,999),nanosecond:yi(o,0,999)}}(u,s,v,f,h,c);u=l.hour,s=l.minute,v=l.second,f=l.millisecond,h=l.microsecond,c=l.nanosecond}return{hour:u,minute:s,second:v,millisecond:f,microsecond:h,nanosecond:c}}function on(r){if(!me(r))return function(r){var e=Rr.exec(r);if(!e)throw new RangeError("invalid duration: ".concat(r));if(e.slice(2).every((function(r){return void 0===r})))throw new RangeError("invalid duration: ".concat(r));var n="-"===e[1]||"−"===e[1]?-1:1,t=void 0===e[2]?0:Te(e[2])*n,i=void 0===e[3]?0:Te(e[3])*n,o=void 0===e[4]?0:Te(e[4])*n,a=void 0===e[5]?0:Te(e[5])*n,u=void 0===e[6]?0:Te(e[6])*n,s=e[7],v=e[8],f=e[9],h=e[10],c=e[11],l=0,d=0,y=0;if(void 0!==s){var w,m,p;if(null!==(w=null!==(m=null!==(p=null!=v?v:f)&&void 0!==p?p:h)&&void 0!==m?m:c)&&void 0!==w&&w)throw new RangeError("only the smallest unit can be fractional");y=3600*De((s+"000000000").slice(0,9))*n}else if(l=void 0===v?0:Te(v)*n,void 0!==f){var D;if(null!==(D=null!=h?h:c)&&void 0!==D&&D)throw new RangeError("only the smallest unit can be fractional");y=60*De((f+"000000000").slice(0,9))*n}else d=void 0===h?0:Te(h)*n,void 0!==c&&(y=De((c+"000000000").slice(0,9))*n);var E=y%1e3,g=Zr(y/1e3)%1e3,T=Zr(y/1e6)%1e3;return d+=Zr(y/1e9)%60,Ci(t,i,o,a,u,l+=Zr(y/6e10),d,T,g,E),{years:t,months:i,weeks:o,days:a,hours:u,minutes:l,seconds:d,milliseconds:T,microseconds:g,nanoseconds:E}}(ge(r));if(qe(r))return{years:hr(r,$),months:hr(r,G),weeks:hr(r,V),days:hr(r,K),hours:hr(r,X),minutes:hr(r,Q),seconds:hr(r,rr),milliseconds:hr(r,er),microseconds:hr(r,nr),nanoseconds:hr(r,tr)};var e,n={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0},t=function(r){if(!me(r))throw new TypeError("invalid duration-like");var e,n={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},t=!1,i=T(_e);try{for(i.s();!(e=i.n()).done;){var o=e.value,a=r[o];void 0!==a&&(t=!0,n[o]=Ce(a))}}catch(r){i.e(r)}finally{i.f()}if(!t)throw new TypeError("invalid duration-like");return n}(r),i=T(_e);try{for(i.s();!(e=i.n()).done;){var o=e.value,a=t[o];void 0!==a&&(n[o]=a)}}catch(r){i.e(r)}finally{i.f()}var u=n.years,s=n.months,v=n.weeks,f=n.days,h=n.hours,c=n.minutes,l=n.seconds,d=n.milliseconds,y=n.microseconds,w=n.nanoseconds;return Ci(u,s,v,f,h,c,l,d,y,w),{years:u,months:s,weeks:v,days:f,hours:h,minutes:c,seconds:l,milliseconds:d,microseconds:y,nanoseconds:w}}function an(r){return void 0===r?"constrain":po(r,"overflow",["constrain","reject"],"constrain")}function un(r){return void 0===r?"compatible":po(r,"disambiguation",["compatible","earlier","later","reject"],"compatible")}function sn(r,e){return po(r,"roundingMode",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],e)}function vn(r,e){return void 0===r?e:po(r,"offset",["prefer","use","ignore","reject"],e)}function fn(r){return po(r,"calendarName",["auto","always","never","critical"],"auto")}function hn(r){var e=r.roundingIncrement;if(void 0===e)return 1;if(e=pe(e),!Nr(e))throw new RangeError("roundingIncrement must be finite");var n=Zr(e);if(n<1||n>1e9)throw new RangeError("roundingIncrement must be at least 1 and at most 1e9, not ".concat(e));return n}function cn(r,e,n){var t=n?e:e-1;if(r>t)throw new RangeError("roundingIncrement must be at least 1 and less than ".concat(t,", not ").concat(r));if(e%r!=0)throw new RangeError("Rounding increment must divide evenly into ".concat(e))}function ln(r){var e=r.fractionalSecondDigits;if(void 0===e)return"auto";if("number"!=typeof e){if("auto"!==ge(e))throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(e));return"auto"}var n=jr(e);if(!Nr(n)||n<0||n>9)throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(e));return n}function dn(r,e){switch(r){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(e){case"auto":return{precision:e,unit:"nanosecond",increment:1};case 0:return{precision:e,unit:"second",increment:1};case 1:case 2:case 3:return{precision:e,unit:"millisecond",increment:Math.pow(10,3-e)};case 4:case 5:case 6:return{precision:e,unit:"microsecond",increment:Math.pow(10,6-e)};case 7:case 8:case 9:return{precision:e,unit:"nanosecond",increment:Math.pow(10,9-e)};default:throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(e))}}var yn=Symbol("~required~");function wn(r,e,n,t){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=[],u=T(Me);try{for(u.s();!(i=u.n()).done;){var s=p(i.value,3);"datetime"!==n&&n!==s[2]||a.push(s[1])}}catch(r){u.e(r)}finally{u.f()}a.push.apply(a,D(o));var v=t;v===yn?v=void 0:void 0!==v&&a.push(v);for(var f=[].concat(a),h=0,c=a;h<c.length;h++){var l=Se.get(c[h]);void 0!==l&&f.push(l)}var d=po(r,e,f,v);if(void 0===d&&t===yn)throw new RangeError("".concat(e," is required"));return Oe.has(d)?Oe.get(d):d}function mn(r){var e=r.relativeTo;if(void 0===e)return e;var n,t,i,o,a,u,s,v,f,h,c,l,d="option",y=!1;if(me(e)){if(Ge(e)||ze(e))return e;if(Je(e))return gt(e);var w=Ln(h=st(e),["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);w.push("timeZone","offset");var m=En(e,w,[]),p=zr(null);p.overflow="constrain";var D=kn(h,m,p);n=D.year,t=D.month,i=D.day,o=D.hour,a=D.minute,u=D.second,s=D.millisecond,v=D.microsecond,f=D.nanosecond,void 0===(l=m.offset)&&(d="wall"),void 0!==(c=m.timeZone)&&(c=mt(c))}else{var E,g,T=Qe(ge(e));if(n=T.year,t=T.month,i=T.day,o=T.hour,a=T.minute,u=T.second,s=T.millisecond,v=T.microsecond,f=T.nanosecond,h=T.calendar,l=T.offset,g=T.z,E=T.ianaName)c=mt(E),g?d="exact":l||(d="wall"),y=!0;else if(g)throw new RangeError("Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone");if(h||(h="iso8601"),!Do(h))throw new RangeError("invalid calendar identifier ".concat(h));h=Eo(h)}return void 0===c?Sn(n,t,i,h):Un(In(n,t,i,o,a,u,s,v,f,d,"option"===d?Nt(l):0,c,"compatible","reject",y),c,h)}function pn(r,e,n,t,i,o,a,u,s,v){for(var f=0,h=[["years",r],["months",e],["weeks",n],["days",t],["hours",i],["minutes",o],["seconds",a],["milliseconds",u],["microseconds",s],["nanoseconds",v]];f<h.length;f++){var c=p(h[f],2);if(0!==c[1])return Oe.get(c[0])}return"nanosecond"}function Dn(r,e){return Ye.indexOf(r)>Ye.indexOf(e)?e:r}function En(r,e,n){var t=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{emptySourceErrorMessage:"no supported properties found"}).emptySourceErrorMessage,i=zr(null),o=!1;e.sort();var a,u=T(e);try{for(u.s();!(a=u.n()).done;){var s=a.value,v=r[s];if(void 0!==v)o=!0,Re.has(s)&&(v=Re.get(s)(v)),i[s]=v;else if("partial"!==n){if(Ir.call(n,s))throw new TypeError("required property '".concat(s,"' missing or undefined"));v=Ie.get(s),i[s]=v}}}catch(r){u.e(r)}finally{u.f()}if("partial"===n&&!o)throw new TypeError(t);return i}function gn(r){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"complete",n=["hour","microsecond","millisecond","minute","nanosecond","second"],t=En(r,n,"partial",{emptySourceErrorMessage:"invalid time-like"}),i={},o=0,a=n;o<a.length;o++){var u=a[o],s=Wr(t,u);void 0!==s?i[u]=s.value:"complete"===e&&(i[u]=0)}return i}function Tn(r,e){var n=r;if(me(n)){if(ze(n))return n;if(Ge(n)&&(an(e),n=bt(hr(n,H),hr(n,J),hr(n,L))),Je(n))return an(e),Sn(hr(n,S),hr(n,Y),hr(n,_),hr(n,L));var t=st(n);return dt(t,En(n,Ln(t,["day","month","monthCode","year"]),[]),e)}an(e);var i=function(r){return Qe(r)}(ge(n)),o=i.year,a=i.month,u=i.day,s=i.calendar;if(i.z)throw new RangeError("Z designator not supported for PlainDate");if(s||(s="iso8601"),!Do(s))throw new RangeError("invalid calendar identifier ".concat(s));return Sn(o,a,u,s=Eo(s))}function kn(r,e,n){var t=gn(e),i=t.hour,o=t.minute,a=t.second,u=t.millisecond,s=t.microsecond,v=t.nanosecond,f=an(n),h=dt(r,e,n),c=hr(h,S),l=hr(h,Y),d=hr(h,_),y=tn(i,o,a,u,s,v,f);return{year:c,month:l,day:d,hour:i=y.hour,minute:o=y.minute,second:a=y.second,millisecond:u=y.millisecond,microsecond:s=y.microsecond,nanosecond:v=y.nanosecond}}function Cn(r,e){var n,t,i,o,a,u,s,v,f,h;if(me(r)){if(Je(r))return r;if(Ge(r))return an(e),bt(hr(r,H),hr(r,J),hr(r,L));if(ze(r))return an(e),_n(hr(r,S),hr(r,Y),hr(r,_),0,0,0,0,0,0,hr(r,L));var c=kn(h=st(r),En(r,Ln(h,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]),[]),e);n=c.year,t=c.month,i=c.day,o=c.hour,a=c.minute,u=c.second,s=c.millisecond,v=c.microsecond,f=c.nanosecond}else{an(e);var l=function(r){return Qe(r)}(ge(r));if(n=l.year,t=l.month,i=l.day,o=l.hour,a=l.minute,u=l.second,s=l.millisecond,v=l.microsecond,f=l.nanosecond,h=l.calendar,l.z)throw new RangeError("Z designator not supported for PlainDateTime");if(gi(n,t,i,o,a,u,s,v,f),h||(h="iso8601"),!Do(h))throw new RangeError("invalid calendar identifier ".concat(h));h=Eo(h)}return _n(n,t,i,o,a,u,s,v,f,h)}function bn(r){if(qe(r))return r;var e=on(r),n=e.years,t=e.months,i=e.weeks,o=e.days,a=e.hours,u=e.minutes,s=e.seconds,v=e.milliseconds,f=e.microseconds,h=e.nanoseconds;return new(I("%Temporal.Duration%"))(n,t,i,o,a,u,s,v,f,h)}function Fn(r){if(Ne(r))return r;if(Ge(r))return new(I("%Temporal.Instant%"))(hr(r,M));var e=function(r){var e=function(r){var e=Qe(r);if(!e.z&&!e.offset)throw new RangeError("Temporal.Instant requires a time zone offset");return e}(r),n=e.year,t=e.month,i=e.day,o=e.hour,a=e.minute,u=e.second,s=e.millisecond,v=e.microsecond,f=e.nanosecond,h=e.offset,c=e.z;if(!c&&!h)throw new RangeError("Temporal.Instant requires a time zone offset");var l=ai(n,t,i,o,a,u,s,v,f-(c?0:Nt(h))),d=Wt(n=l.year,t=l.month,i=l.day,o=l.hour,a=l.minute,u=l.second,s=l.millisecond,v=l.microsecond,f=l.nanosecond);if(null===d)throw new RangeError("DateTime outside of supported range");return d}(ge(r));return new(I("%Temporal.Instant%"))(e)}function An(r,e){var n=r;if(me(n)){if($e(n))return n;var t,i;if(fr(n,L))t=hr(n,L),i=!1;else{var o=n.calendar;i=void 0===o,void 0===o&&(o="iso8601"),t=ut(o)}var a=En(n,Ln(t,["day","month","monthCode","year"]),[]);return i&&void 0!==a.month&&void 0===a.monthCode&&void 0===a.year&&(a.year=1972),wt(t,a,e)}an(e);var u=en(ge(n)),s=u.month,v=u.day,f=u.referenceISOYear,h=u.calendar;if(void 0===h&&(h="iso8601"),!Do(h))throw new RangeError("invalid calendar identifier ".concat(h));return h=Eo(h),void 0===f?(pi(1972,s,v),Pn(s,v,h)):wt(h,Pn(s,v,h,f))}function Bn(r){var e,n,t,i,o,a,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"constrain",s=r;if(me(s)){if(We(s))return s;if(Ge(s)&&(s=bt(hr(s,H),hr(s,J),hr(s,L))),Je(s))return new(I("%Temporal.PlainTime%"))(hr(s,j),hr(s,P),hr(s,Z),hr(s,x),hr(s,N),hr(s,U));var v=gn(s),f=tn(e=v.hour,n=v.minute,t=v.second,i=v.millisecond,o=v.microsecond,a=v.nanosecond,u);e=f.hour,n=f.minute,t=f.second,i=f.millisecond,o=f.microsecond,a=f.nanosecond}else{var h=function(r){var e,n,t,i,o,a,u=Cr.exec(r);if(u){e=De(u[1]),n=De(u[2]||u[5]),60===(t=De(u[3]||u[6]))&&(t=59);var s=(u[4]||u[7])+"000000000";i=De(s.slice(0,3)),o=De(s.slice(3,6)),a=De(s.slice(6,9));var v,f=T(u[14].matchAll(Tr));try{for(f.s();!(v=f.n()).done;){var h=p(v.value,4),c=h[2],l=h[3];if("u-ca"!==c&&"!"===h[1])throw new RangeError("Unrecognized annotation: !".concat(c,"=").concat(l))}}catch(r){f.e(r)}finally{f.f()}if(u[8])throw new RangeError("Z designator not supported for PlainTime")}else{var d,y=Qe(r);if(e=y.hour,n=y.minute,t=y.second,i=y.millisecond,o=y.microsecond,a=y.nanosecond,d=y.z,!y.hasTime)throw new RangeError("time is missing in string: ".concat(r));if(d)throw new RangeError("Z designator not supported for PlainTime")}if(/[tT ][0-9][0-9]/.test(r))return{hour:e,minute:n,second:t,millisecond:i,microsecond:o,nanosecond:a};try{var w=en(r);pi(1972,w.month,w.day)}catch(u){try{var m=rn(r);pi(m.year,m.month,1)}catch(r){return{hour:e,minute:n,second:t,millisecond:i,microsecond:o,nanosecond:a}}}throw new RangeError("invalid ISO 8601 time-only string ".concat(r,"; may need a T prefix"))}(ge(s));Ei(e=h.hour,n=h.minute,t=h.second,i=h.millisecond,o=h.microsecond,a=h.nanosecond)}return new(I("%Temporal.PlainTime%"))(e,n,t,i,o,a)}function Rn(r,e){if(me(r)){if(He(r))return r;var n=st(r);return yt(n,En(r,Ln(n,["month","monthCode","year"]),[]),e)}an(e);var t=rn(ge(r)),i=t.year,o=t.month,a=t.referenceISODay,u=t.calendar;if(void 0===u&&(u="iso8601"),!Do(u))throw new RangeError("invalid calendar identifier ".concat(u));return u=Eo(u),void 0===a?(pi(i,o,1),xn(i,o,u)):yt(u,xn(i,o,u,a))}function In(r,e,n,t,i,o,a,u,s,v,f,h,c,l,d){var y=new(I("%Temporal.PlainDateTime%"))(r,e,n,t,i,o,a,u,s);if("wall"===v||"ignore"===l)return hr(Ft(h,y,c),M);if("exact"===v||"use"===l){var w=Wt(r,e,n,t,i,o,a,u,s);if(null===w)throw new RangeError("ZonedDateTime outside of supported range");return C.subtract(w,C.BigInt(f))}var m,p=Bt(h,y),D=T(p);try{for(D.s();!(m=D.n()).done;){var E=m.value,g=kt(h,E),k=C.toNumber(Gi(C.BigInt(g),te,"halfExpand"));if(g===f||d&&k===f)return hr(E,M)}}catch(r){D.e(r)}finally{D.f()}if("reject"===l){var b=qt(f),F=Ue(h)?hr(h,O):"time zone";throw new RangeError("Offset ".concat(b," is invalid for ").concat(y.toString()," in ").concat(F))}return hr(At(p,h,y,c),M)}function Mn(r,e){var n,t,i,o,a,u,s,v,f,h,c,l,d,y,w=!1,m="option";if(me(r)){if(Ge(r))return r;var p=Ln(l=st(r),["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);p.push("timeZone","offset");var D=En(r,p,["timeZone"]);h=mt(D.timeZone),void 0===(c=D.offset)&&(m="wall"),d=un(e),y=vn(e,"reject");var E=kn(l,D,e);n=E.year,t=E.month,i=E.day,o=E.hour,a=E.minute,u=E.second,s=E.millisecond,v=E.microsecond,f=E.nanosecond}else{var g,T=function(r){var e=Qe(r);if(!e.ianaName)throw new RangeError("Temporal.ZonedDateTime requires a time zone ID in brackets");return e}(ge(r));if(n=T.year,t=T.month,i=T.day,o=T.hour,a=T.minute,u=T.second,s=T.millisecond,v=T.microsecond,f=T.nanosecond,c=T.offset,g=T.z,l=T.calendar,h=mt(T.ianaName),g?m="exact":c||(m="wall"),l||(l="iso8601"),!Do(l))throw new RangeError("invalid calendar identifier ".concat(l));l=Eo(l),w=!0,d=un(e),y=vn(e,"reject"),an(e)}var k=0;return"option"===m&&(k=Nt(c)),Un(In(n,t,i,o,a,u,s,v,f,m,k,h,d,y,w),h,l)}function On(r,e,n,t,i){pi(e,n,t),Di(e,n,t),vr(r),cr(r,S,e),cr(r,Y,n),cr(r,_,t),cr(r,L,i),cr(r,q,!0)}function Sn(r,e,n){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iso8601",i=I("%Temporal.PlainDate%"),o=zr(i.prototype);return On(o,r,e,n,t),o}function Yn(r,e,n,t,i,o,a,u,s,v,f){gi(e,n,t,i,o,a,u,s,v),Ti(e,n,t,i,o,a,u,s,v),vr(r),cr(r,S,e),cr(r,Y,n),cr(r,_,t),cr(r,j,i),cr(r,P,o),cr(r,Z,a),cr(r,x,u),cr(r,N,s),cr(r,U,v),cr(r,L,f)}function _n(r,e,n,t,i,o,a,u,s){var v=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"iso8601",f=I("%Temporal.PlainDateTime%"),h=zr(f.prototype);return Yn(h,r,e,n,t,i,o,a,u,s,v),h}function jn(r,e,n,t,i){pi(i,e,n),Di(i,e,n),vr(r),cr(r,Y,e),cr(r,_,n),cr(r,S,i),cr(r,L,t),cr(r,W,!0)}function Pn(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1972,i=I("%Temporal.PlainMonthDay%"),o=zr(i.prototype);return jn(o,r,e,n,t),o}function Zn(r,e,n,t,i){pi(e,n,i),function(r,e){mi(r,ue,se),r===ue?mi(e,4,12):r===se&&mi(e,1,9)}(e,n),vr(r),cr(r,S,e),cr(r,Y,n),cr(r,_,i),cr(r,L,t),cr(r,z,!0)}function xn(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=I("%Temporal.PlainYearMonth%"),o=zr(i.prototype);return Zn(o,r,e,n,t),o}function Nn(r,e,n,t){ki(e),vr(r),cr(r,M,e),cr(r,H,n),cr(r,L,t);var i=new(I("%Temporal.Instant%"))(hr(r,M));cr(r,J,i)}function Un(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",t=I("%Temporal.ZonedDateTime%"),i=zr(t.prototype);return Nn(i,r,e,n),i}function Ln(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.fields%"),n,[e])}var t,i=[],o=T(we(ye(r,"fields"),r,[e]));try{for(o.s();!(t=o.n()).done;){var a=t.value;if("string"!=typeof a)throw new TypeError("bad return from calendar.fields()");Mr.call(i,a)}}catch(r){o.e(r)}finally{o.f()}return i}function qn(r,e,n){if("string"==typeof r){var t=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.mergeFields%"),t,[e,n])}var i=we(ye(r,"mergeFields"),r,[e,n]);if(!me(i))throw new TypeError("bad return from calendar.mergeFields()");return i}function zn(r,e,n,t,i){var o=i;if("string"==typeof r){var a=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.dateAdd%"),a,[e,n,t])}void 0===o&&(o=ye(r,"dateAdd"));var u=Jr(o,r,[e,n,t]);if(!ze(u))throw new TypeError("invalid result");return u}function Wn(r,e,n,t,i){var o=i;if("string"==typeof r){var a=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.dateUntil%"),a,[e,n,t])}void 0===o&&(o=ye(r,"dateUntil"));var u=Jr(o,r,[e,n,t]);if(!qe(u))throw new TypeError("invalid result");return u}function Jn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.year%"),n,[e])}var t=we(ye(r,"year"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar year result must be an integer");if(!Ee(t))throw new RangeError("calendar year result must be an integer");return t}function Hn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.month%"),n,[e])}var t=we(ye(r,"month"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar month result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar month result must be a positive integer");return t}function $n(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.monthCode%"),n,[e])}var t=we(ye(r,"monthCode"),r,[e]);if("string"!=typeof t)throw new TypeError("calendar monthCode result must be a string");return t}function Gn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.day%"),n,[e])}var t=we(ye(r,"day"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar day result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar day result must be a positive integer");return t}function Vn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.era%"),n,[e])}var t=we(ye(r,"era"),r,[e]);if(void 0===t)return t;if("string"!=typeof t)throw new TypeError("calendar era result must be a string or undefined");return t}function Kn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.eraYear%"),n,[e])}var t=we(ye(r,"eraYear"),r,[e]);if(void 0===t)return t;if("number"!=typeof t)throw new TypeError("calendar eraYear result must be an integer or undefined");if(!Ee(t))throw new RangeError("calendar eraYear result must be an integer or undefined");return t}function Xn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.dayOfWeek%"),n,[e])}var t=we(ye(r,"dayOfWeek"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar dayOfWeek result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar dayOfWeek result must be a positive integer");return t}function Qn(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.dayOfYear%"),n,[e])}var t=we(ye(r,"dayOfYear"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar dayOfYear result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar dayOfYear result must be a positive integer");return t}function rt(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.weekOfYear%"),n,[e])}var t=we(ye(r,"weekOfYear"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar weekOfYear result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar weekOfYear result must be a positive integer");return t}function et(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.yearOfWeek%"),n,[e])}var t=we(ye(r,"yearOfWeek"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar yearOfWeek result must be an integer");if(!Ee(t))throw new RangeError("calendar yearOfWeek result must be an integer");return t}function nt(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.daysInWeek%"),n,[e])}var t=we(ye(r,"daysInWeek"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar daysInWeek result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar daysInWeek result must be a positive integer");return t}function tt(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.daysInMonth%"),n,[e])}var t=we(ye(r,"daysInMonth"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar daysInMonth result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar daysInMonth result must be a positive integer");return t}function it(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.daysInYear%"),n,[e])}var t=we(ye(r,"daysInYear"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar daysInYear result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar daysInYear result must be a positive integer");return t}function ot(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.monthsInYear%"),n,[e])}var t=we(ye(r,"monthsInYear"),r,[e]);if("number"!=typeof t)throw new TypeError("calendar monthsInYear result must be a positive integer");if(!Ee(t)||t<1)throw new RangeError("calendar monthsInYear result must be a positive integer");return t}function at(r,e){if("string"==typeof r){var n=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.inLeapYear%"),n,[e])}var t=we(ye(r,"inLeapYear"),r,[e]);if("boolean"!=typeof t)throw new TypeError("calendar inLeapYear result must be a boolean");return t}function ut(r){if(me(r)){if(fr(r,L))return hr(r,L);if(!function(r){return!!Le(r)||"dateAdd"in r&&"dateFromFields"in r&&"dateUntil"in r&&"day"in r&&"dayOfWeek"in r&&"dayOfYear"in r&&"daysInMonth"in r&&"daysInWeek"in r&&"daysInYear"in r&&"fields"in r&&"id"in r&&"inLeapYear"in r&&"mergeFields"in r&&"month"in r&&"monthCode"in r&&"monthDayFromFields"in r&&"monthsInYear"in r&&"weekOfYear"in r&&"year"in r&&"yearMonthFromFields"in r&&"yearOfWeek"in r}(r))throw new TypeError("expected a Temporal.Calendar or object implementing the Temporal.Calendar protocol");return r}var e,n=ge(r);if(Do(n))return Eo(n);try{e=Qe(n).calendar}catch(r){try{e=rn(n).calendar}catch(r){e=en(n).calendar}}if(e||(e="iso8601"),!Do(e))throw new RangeError("invalid calendar identifier ".concat(e));return Eo(e)}function st(r){if(fr(r,L))return hr(r,L);var e=r.calendar;return void 0===e?"iso8601":ut(e)}function vt(r){if("string"==typeof r)return r;var e=r.id;if("string"!=typeof e)throw new TypeError("calendar.id should be a string");return e}function ft(r){return me(r)?r:new(I("%Temporal.Calendar%"))(r)}function ht(r,e){return r===e||vt(r)===vt(e)}function ct(r,e,n){if(r!==e){var t=vt(r),i=vt(e);if(t!==i)throw new RangeError("cannot ".concat(n," of ").concat(t," and ").concat(i," calendars"))}}function lt(r,e){if(r===e)return e;var n=vt(r),t=vt(e);if(n===t||"iso8601"===n)return e;if("iso8601"===t)return r;throw new RangeError("irreconcilable calendars")}function dt(r,e,n,t){if("string"==typeof r){var i=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.dateFromFields%"),i,[e,n])}var o=we(null!=t?t:ye(r,"dateFromFields"),r,[e,n]);if(!ze(o))throw new TypeError("invalid result");return o}function yt(r,e,n){if("string"==typeof r){var t=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.yearMonthFromFields%"),t,[e,n])}var i=we(ye(r,"yearMonthFromFields"),r,[e,n]);if(!He(i))throw new TypeError("invalid result");return i}function wt(r,e,n){if("string"==typeof r){var t=new(I("%Temporal.Calendar%"))(r);return we(I("%Temporal.Calendar.prototype.monthDayFromFields%"),t,[e,n])}var i=we(ye(r,"monthDayFromFields"),r,[e,n]);if(!$e(i))throw new TypeError("invalid result");return i}function mt(r){if(me(r)){if(Ge(r))return hr(r,H);if(!function(r){return!!Ue(r)||"getOffsetNanosecondsFor"in r&&"getPossibleInstantsFor"in r&&"id"in r}(r))throw new TypeError("expected a Temporal.TimeZone or object implementing the Temporal.TimeZone protocol");return r}return function(r){var e=function(r){if(new RegExp("^".concat(dr.source,"$"),"i").test(r))return{ianaName:r};try{var e=Qe(r);if(e.z||e.offset||e.ianaName)return e}catch(r){}throw new RangeError("Invalid time zone: ".concat(r))}(r),n=e.ianaName,t=e.offset,i=e.z;return n?Ut(n):i?"UTC":qt(Nt(t))}(ge(r))}function pt(r){if("string"==typeof r)return r;var e=r.id;if("string"!=typeof e)throw new TypeError("timeZone.id should be a string");return e}function Dt(r){return me(r)?r:new(I("%Temporal.TimeZone%"))(r)}function Et(r,e){return r===e||pt(r)===pt(e)}function gt(r){return Sn(hr(r,S),hr(r,Y),hr(r,_),hr(r,L))}function Tt(r){return new(I("%Temporal.PlainTime%"))(hr(r,j),hr(r,P),hr(r,Z),hr(r,x),hr(r,N),hr(r,U))}function kt(r,e,n){if("string"==typeof r){var t=new(I("%Temporal.TimeZone%"))(r);return we(I("%Temporal.TimeZone.prototype.getOffsetNanosecondsFor%"),t,[e])}var i=we(null!=n?n:ye(r,"getOffsetNanosecondsFor"),r,[e]);if("number"!=typeof i)throw new TypeError("bad return from getOffsetNanosecondsFor");if(!Ee(i)||_r(i)>=864e11)throw new RangeError("out-of-range return from getOffsetNanosecondsFor");return i}function Ct(r,e){return qt(kt(r,e))}function bt(r,e,n){var t=hr(e,M),i=kt(r,e),o=Jt(t),a=o.year,u=o.month,s=o.day,v=o.hour,f=o.minute,h=o.second,c=o.millisecond,l=o.microsecond,d=o.nanosecond,y=ai(a,u,s,v,f,h,c,l,d+i);return _n(a=y.year,u=y.month,s=y.day,v=y.hour,f=y.minute,h=y.second,c=y.millisecond,l=y.microsecond,d=y.nanosecond,n)}function Ft(r,e,n){return At(Bt(r,e),r,e,n)}function At(r,e,n,t){var i=I("%Temporal.Instant%"),o=r.length;if(1===o)return r[0];if(o)switch(t){case"compatible":case"earlier":return r[0];case"later":return r[o-1];case"reject":throw new RangeError("multiple instants found")}var a=hr(n,S),u=hr(n,Y),s=hr(n,_),v=hr(n,j),f=hr(n,P),h=hr(n,Z),c=hr(n,x),l=hr(n,N),d=hr(n,U),y=Wt(a,u,s,v,f,h,c,l,d);if(null===y)throw new RangeError("DateTime outside of supported range");var w=new i(C.subtract(y,ie)),m=new i(C.add(y,ie)),p=kt(e,w),D=kt(e,m)-p;switch(t){case"earlier":var E=hr(n,L),g=I("%Temporal.PlainDateTime%"),T=Ui(a,u,s,v,f,h,c,l,d,E,0,0,0,0,0,0,0,0,0,-D,void 0);return Bt(e,new g(T.year,T.month,T.day,T.hour,T.minute,T.second,T.millisecond,T.microsecond,T.nanosecond,E))[0];case"compatible":case"later":var k=hr(n,L),b=I("%Temporal.PlainDateTime%"),F=Ui(a,u,s,v,f,h,c,l,d,k,0,0,0,0,0,0,0,0,0,D,void 0),A=Bt(e,new b(F.year,F.month,F.day,F.hour,F.minute,F.second,F.millisecond,F.microsecond,F.nanosecond,k));return A[A.length-1];case"reject":throw new RangeError("no such instant found")}}function Bt(r,e,n){if("string"==typeof r){var t=new(I("%Temporal.TimeZone%"))(r);return we(I("%Temporal.TimeZone.prototype.getPossibleInstantsFor%"),t,[e])}var i,o=[],a=T(we(null!=n?n:ye(r,"getPossibleInstantsFor"),r,[e]));try{for(a.s();!(i=a.n()).done;){var u=i.value;if(!Ne(u))throw new TypeError("bad return from getPossibleInstantsFor");Mr.call(o,u)}}catch(r){a.e(r)}finally{a.f()}return o}function Rt(r){var e;if(r<0||r>9999){var n=r<0?"-":"+",t=_r(r);e=n+"000000".concat(t).slice(-6)}else e="0000".concat(r).slice(-4);return e}function It(r){return"00".concat(r).slice(-2)}function Mt(r,e,n,t,i){if("minute"===i)return"";var o,a=":".concat(It(r)),u=1e6*e+1e3*n+t;if("auto"===i){if(0===u)return a;for(o="".concat(u).padStart(9,"0");"0"===o[o.length-1];)o=o.slice(0,-1)}else{if(0===i)return a;o="".concat(u).padStart(9,"0").slice(0,i)}return"".concat(a,".").concat(o)}function Ot(r,e,n){var t=e;void 0===t&&(t="UTC");var i=bt(t,r,"iso8601"),o=Rt(hr(i,S)),a=It(hr(i,Y)),u=It(hr(i,_)),s=It(hr(i,j)),v=It(hr(i,P)),f=Mt(hr(i,Z),hr(i,x),hr(i,N),hr(i,U),n),h="Z";return void 0!==e&&(h=zt(kt(t,r))),"".concat(o,"-").concat(a,"-").concat(u,"T").concat(s,":").concat(v).concat(f).concat(h)}function St(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;function t(r){return r<=qr?r.toString(10):C.BigInt(r).toString(10)}var i=hr(r,$),o=hr(r,G),a=hr(r,V),u=hr(r,K),s=hr(r,X),v=hr(r,Q),f=hr(r,rr),h=hr(r,er),c=hr(r,nr),l=hr(r,tr),d=ti(i,o,a,u,s,v,f,h,c,l);if(n){var y=to(0,0,0,0,0,0,f,h,c,l,n.increment,n.unit,n.roundingMode);f=y.seconds,h=y.milliseconds,c=y.microseconds,l=y.nanoseconds}var w=[];i&&w.push("".concat(t(_r(i)),"Y")),o&&w.push("".concat(t(_r(o)),"M")),a&&w.push("".concat(t(_r(a)),"W")),u&&w.push("".concat(t(_r(u)),"D"));var m=[];s&&m.push("".concat(t(_r(s)),"H")),v&&m.push("".concat(t(_r(v)),"M"));var p,D,E,g=[],T=si(0,0,0,f,h,c,l,0),k=be(T,Xr);p=k.remainder;var b=be(T=k.quotient,Xr);D=b.remainder;var F=be(T=b.quotient,Xr);E=F.quotient;var A,B=1e6*_r(C.toNumber(F.remainder))+1e3*_r(C.toNumber(D))+_r(C.toNumber(p));if("auto"===e){if(0!==B)for(A="".concat(B).padStart(9,"0");"0"===A[A.length-1];)A=A.slice(0,-1)}else 0!==e&&(A="".concat(B).padStart(9,"0").slice(0,e));return A&&g.unshift(".",A),C.equal(E,$r)&&!g.length&&"auto"===e||g.unshift(Be(E).toString()),g.length&&m.push("".concat(g.join(""),"S")),m.length&&m.unshift("T"),w.length||m.length?"".concat(d<0?"-":"","P").concat(w.join("")).concat(m.join("")):"PT0S"}function Yt(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=Rt(hr(r,S)),t=It(hr(r,Y)),i=It(hr(r,_)),o=Ke(hr(r,L),e);return"".concat(n,"-").concat(t,"-").concat(i).concat(o)}function _t(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=hr(r,S),o=hr(r,Y),a=hr(r,_),u=hr(r,j),s=hr(r,P),v=hr(r,Z),f=hr(r,x),h=hr(r,N),c=hr(r,U);if(t){var l=Ki(i,o,a,u,s,v,f,h,c,t.increment,t.unit,t.roundingMode);i=l.year,o=l.month,a=l.day,u=l.hour,s=l.minute,v=l.second,f=l.millisecond,h=l.microsecond,c=l.nanosecond}var d=Rt(i),y=It(o),w=It(a),m=It(u),p=It(s),D=Mt(v,f,h,c,e),E=Ke(hr(r,L),n);return"".concat(d,"-").concat(y,"-").concat(w,"T").concat(m,":").concat(p).concat(D).concat(E)}function jt(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=It(hr(r,Y)),t=It(hr(r,_)),i="".concat(n,"-").concat(t),o=vt(hr(r,L));if("always"===e||"critical"===e||"iso8601"!==o){var a=Rt(hr(r,S));i="".concat(a,"-").concat(i)}var u=Xe(o,e);return u&&(i+=u),i}function Pt(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=Rt(hr(r,S)),t=It(hr(r,Y)),i="".concat(n,"-").concat(t),o=vt(hr(r,L));if("always"===e||"critical"===e||"iso8601"!==o){var a=It(hr(r,_));i+="-".concat(a)}var u=Xe(o,e);return u&&(i+=u),i}function Zt(r,e){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,a=hr(r,J);if(o){var u=o.unit,s=o.increment,v=o.roundingMode,f=Vi(hr(r,M),s,u,v);a=new(I("%Temporal.Instant%"))(f)}var h=hr(r,H),c=bt(h,a,"iso8601"),l=Rt(hr(c,S)),d=It(hr(c,Y)),y=It(hr(c,_)),w=It(hr(c,j)),m=It(hr(c,P)),p=Mt(hr(c,Z),hr(c,x),hr(c,N),hr(c,U),e),D="".concat(l,"-").concat(d,"-").concat(y,"T").concat(w,":").concat(m).concat(p);if("never"!==i&&(D+=zt(kt(h,a))),"never"!==t){var E=pt(h);D+="[".concat("critical"===t?"!":"").concat(E,"]")}return D+Ke(hr(r,L),n)}function xt(r){return go.test(Lr(r))}function Nt(r){var e=go.exec(Lr(r));if(!e)throw new RangeError("invalid time zone offset: ".concat(r));return("-"===e[1]||"−"===e[1]?-1:1)*(1e9*(60*(60*+e[2]+ +(e[3]||0))+ +(e[4]||0))+ +((e[5]||0)+"000000000").slice(0,9))}function Ut(r){return xt(r)?qt(Nt(r)):Pe(Lr(r)).resolvedOptions().timeZone}function Lt(r,e){var n=Ht(r,e),t=n.year,i=n.month,o=n.day,a=n.hour,u=n.minute,s=n.second,v=n.millisecond,f=n.microsecond,h=n.nanosecond,c=t%400,l=(t-c)/400,d=C.multiply(C.BigInt(146097),ie),y=Wt(c,i,o,a,u,s,v,f,h),w=C.add(y,C.multiply(d,C.BigInt(l)));return C.toNumber(C.subtract(w,e))}function qt(r){var e=r<0?"-":"+",n=_r(r),t=n%1e9,i=jr(n/1e9)%60,o=jr(n/6e10)%60,a=It(jr(n/36e11)),u=It(o),s=It(i),v="";if(t){for(var f="".concat(t).padStart(9,"0");"0"===f[f.length-1];)f=f.slice(0,-1);v=":".concat(s,".").concat(f)}else i&&(v=":".concat(s));return"".concat(e).concat(a,":").concat(u).concat(v)}function zt(r){var e=C.toNumber(Gi(C.BigInt(r),te,"halfExpand")),n=e<0?"-":"+",t=(e=_r(e))/6e10%60,i=It(jr(e/36e11)),o=It(t);return"".concat(n).concat(i,":").concat(o)}function Wt(r,e,n,t,i,o,a,u,s){var v=new Date;v.setUTCHours(t,i,o,a),v.setUTCFullYear(r,e-1,n);var f=v.getTime();if(xr(f))return null;var h=C.multiply(C.BigInt(f),Qr);return h=C.add(h,C.multiply(C.BigInt(u),Xr)),h=C.add(h,C.BigInt(s)),C.lessThan(h,oe)||C.greaterThan(h,ae)?null:h}function Jt(r){var e=be(r,Qr),n=e.remainder,t=C.toNumber(e.quotient),i=C.toNumber(n);i<0&&(i+=1e6,t-=1);var o=jr(i/1e3)%1e3,a=i%1e3,u=new Date(t);return{epochMilliseconds:t,year:u.getUTCFullYear(),month:u.getUTCMonth()+1,day:u.getUTCDate(),hour:u.getUTCHours(),minute:u.getUTCMinutes(),second:u.getUTCSeconds(),millisecond:u.getUTCMilliseconds(),microsecond:o,nanosecond:a}}function Ht(r,e){var n=Jt(e),t=n.millisecond,i=n.microsecond,o=n.nanosecond,a=function(r,e){return function(r){var e=r.split(/[^\w]+/);if(7!==e.length)throw new RangeError('expected 7 parts in "'.concat(r));var n=+e[0],t=+e[1],i=+e[2],o=e[3].toUpperCase();if("B"===o||"BC"===o)i=1-i;else if("A"!==o&&"AD"!==o)throw new RangeError("Unknown era ".concat(o,' in "').concat(r));var a=+e[4];24===a&&(a=0);var u=+e[5],s=+e[6];if(!(Nr(i)&&Nr(n)&&Nr(t)&&Nr(a)&&Nr(u)&&Nr(s)))throw new RangeError('Invalid number in "'.concat(r));return{year:i,month:n,day:t,hour:a,minute:u,second:s}}(Pe(r).format(new Date(e)))}(r,n.epochMilliseconds);return ai(a.year,a.month,a.day,a.hour,a.minute,a.second,t,i,o)}function $t(r,e){return C.lessThan(r,e)?e:r}function Gt(){return C.add(ho(),fe)}function Vt(r,e){if(C.lessThan(e,ve))return Vt(r,ve);for(var n=C.add(e,he),t=$t(Gt(),n),i=$t(ve,e),o=Lt(r,i),a=i,u=o;o===u&&C.lessThan(C.BigInt(i),t);){if(a=C.add(i,ce),C.greaterThan(a,ae))return null;o===(u=Lt(r,a))&&(i=a)}return o===u?null:To((function(e){return Lt(r,e)}),i,a,o,u)}function Kt(r,e){var n=Gt(),t=C.greaterThan(e,n),i=t?C.subtract(e,he):ve;if("Africa/Casablanca"===r||"Africa/El_Aaiun"===r){var o=hr(Fn("2088-01-01T00Z"),M);if(C.lessThan(o,e))return Kt(r,o)}var a=C.subtract(e,Gr);if(C.lessThan(a,ve))return null;for(var u=Lt(r,a),s=a,v=u;u===v&&C.greaterThan(a,i);){if(s=C.subtract(a,ce),C.lessThan(s,ve))return null;u===(v=Lt(r,s))&&(a=s)}if(u===v){if(t){var f=C.subtract(n,ie);return Kt(r,f)}return null}return To((function(e){return Lt(r,e)}),s,a,v,u)}function Xt(r){return!(void 0===r||r%4!=0||r%100==0&&r%400!=0)}function Qt(r,e){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]}[Xt(r)?"leapyear":"standard"][e-1]}function ri(r,e,n){var t=e+(e<3?10:-2),i=r-(e<3?1:0),o=jr(i/100),a=i-100*o,u=(n+jr(2.6*t-.2)+(a+jr(a/4))+(jr(o/4)-2*o))%7;return u+(u<=0?7:0)}function ei(r,e,n){for(var t=n,i=e-1;i>0;i--)t+=Qt(r,i);return t}function ni(r,e,n){var t=ei(r,e,n),i=ri(r,e,n)||7,o=ri(r,1,1),a=jr((t-i+10)/7);return a<1?5===o||6===o&&Xt(r-1)?{week:53,year:r-1}:{week:52,year:r-1}:53===a&&(Xt(r)?366:365)-t<4-i?{week:1,year:r+1}:{week:a,year:r}}function ti(r,e,n,t,i,o,a,u,s,v){for(var f=0,h=[r,e,n,t,i,o,a,u,s,v];f<h.length;f++){var c=h[f];if(0!==c)return c<0?-1:1}return 0}function ii(r,e){var n=r,t=e;if(!Nr(n)||!Nr(t))throw new RangeError("infinity is out of range");return n+=jr((t-=1)/12),(t%=12)<0&&(t+=12),{year:n,month:t+=1}}function oi(r,e,n){var t=r,i=e,o=n;if(!Nr(o))throw new RangeError("infinity is out of range");var a=ii(t,i);t=a.year,i=a.month;var u=146097;if(_r(o)>u){var s=Zr(o/u);t+=400*s,o-=s*u}for(var v=0,f=i>2?t:t-1;o<-(v=Xt(f)?366:365);)t-=1,f-=1,o+=v;for(f+=1;o>(v=Xt(f)?366:365);)t+=1,f+=1,o-=v;for(;o<1;){var h=ii(t,i-1);o+=Qt(t=h.year,i=h.month)}for(;o>Qt(t,i);){o-=Qt(t,i);var c=ii(t,i+1);t=c.year,i=c.month}return{year:t,month:i,day:o}}function ai(r,e,n,t,i,o,a,u,s){var v=ui(t,i,o,a,u,s),f=v.hour,h=v.minute,c=v.second,l=v.millisecond,d=v.microsecond,y=v.nanosecond,w=oi(r,e,n+v.deltaDays);return{year:w.year,month:w.month,day:w.day,hour:f,minute:h,second:c,millisecond:l,microsecond:d,nanosecond:y}}function ui(r,e,n,t,i,o){var a=C.BigInt(r),u=C.BigInt(e),s=C.BigInt(n),v=C.BigInt(t),f=C.BigInt(i),h=C.BigInt(o),c=oo(h,Xr);h=c.remainder;var l=oo(f=C.add(f,c.quotient),Xr);f=l.remainder;var d=oo(v=C.add(v,l.quotient),Xr);v=d.remainder;var y=oo(s=C.add(s,d.quotient),Vr);s=y.remainder;var w=oo(u=C.add(u,y.quotient),Vr);u=w.remainder;var m=oo(a=C.add(a,w.quotient),Kr);return a=m.remainder,{deltaDays:C.toNumber(m.quotient),hour:C.toNumber(a),minute:C.toNumber(u),second:C.toNumber(s),millisecond:C.toNumber(v),microsecond:C.toNumber(f),nanosecond:C.toNumber(h)}}function si(r,e,n,t,i,o,a,u){var s=C.BigInt(r),v=C.BigInt(a);0!==r&&(v=C.subtract(C.BigInt(a),C.BigInt(u)));var f=C.add(C.BigInt(e),C.multiply(s,C.BigInt(24))),h=C.add(C.BigInt(n),C.multiply(f,Vr)),c=C.add(C.BigInt(t),C.multiply(h,Vr)),l=C.add(C.BigInt(i),C.multiply(c,Xr)),d=C.add(C.BigInt(o),C.multiply(l,Xr));return C.add(C.BigInt(v),C.multiply(d,Xr))}function vi(r,e){var n=I("%Temporal.Instant%"),t=Pr(C.toNumber(r)),i=C.BigInt(r),o=864e11;if(0===t)return{days:0,nanoseconds:$r,dayLengthNs:o};if(!Ge(e)){var a=be(i,C.BigInt(o));return i=a.remainder,{days:C.toNumber(a.quotient),nanoseconds:i,dayLengthNs:o}}var u=hr(e,M),s=hr(e,J),v=C.add(u,i),f=new n(v),h=hr(e,H),c=hr(e,L),l=bt(h,s,c),d=bt(h,f,c),y=Bi(hr(l,S),hr(l,Y),hr(l,_),hr(l,j),hr(l,P),hr(l,Z),hr(l,x),hr(l,N),hr(l,U),hr(d,S),hr(d,Y),hr(d,_),hr(d,j),hr(d,P),hr(d,Z),hr(d,x),hr(d,N),hr(d,U),c,"day",zr(null)).days,w=Li(s,h,c,0,0,0,y,0,0,0,0,0,0),m=C.BigInt(y);if(1===t)for(;C.greaterThan(m,$r)&&C.greaterThan(w,v);)m=C.subtract(m,Gr),w=Li(s,h,c,0,0,0,C.toNumber(m),0,0,0,0,0,0);i=C.subtract(v,w);var p=!1,D=new n(w);do{var E=Li(D,h,c,0,0,0,t,0,0,0,0,0,0),g=hr(D,M);o=C.toNumber(C.subtract(E,g)),(p=C.greaterThanOrEqual(C.multiply(C.subtract(i,C.BigInt(o)),C.BigInt(t)),$r))&&(i=C.subtract(i,C.BigInt(o)),D=new n(E),m=C.add(m,C.BigInt(t)))}while(p);if(!de(m)&&Ae(m)!==t)throw new RangeError("Time zone or calendar converted nanoseconds into a number of days with the opposite sign");if(!de(i)&&Ae(i)!==t){if(Fe(i)&&1===t)throw new Error("assert not reached");throw new RangeError("Time zone or calendar ended up with a remainder of nanoseconds with the opposite sign")}if(C.greaterThanOrEqual(Be(i),Be(C.BigInt(o))))throw new Error("assert not reached");return{days:C.toNumber(m),nanoseconds:i,dayLengthNs:_r(o)}}function fi(r,e,n,t,i,o,a,u){var s=hi(r,e,n,t,i,o,a,u,arguments.length>8&&void 0!==arguments[8]?arguments[8]:void 0);if("positive overflow"===s||"negative overflow"===s)throw new RangeError("Duration out of range");return s}function hi(r,e,n,t,i,o,a,u){var s,v,f,h,c,l,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:void 0,y=r;if(Ge(d)){var w=Li(hr(d,J),hr(d,H),hr(d,L),0,0,0,y,e,n,t,i,o,a),m=hr(d,M);s=C.subtract(w,m)}else s=si(y,e,n,t,i,o,a,0);if("year"===u||"month"===u||"week"===u||"day"===u){var p=vi(s,d);y=p.days,s=p.nanoseconds}else y=0;var D=C.lessThan(s,$r)?-1:1;switch(s=Be(s),v=f=h=c=l=$r,u){case"year":case"month":case"week":case"day":case"hour":var E=be(s,Xr);s=E.remainder;var g=be(v=E.quotient,Xr);v=g.remainder;var T=be(f=g.quotient,Xr);f=T.remainder;var k=be(h=T.quotient,Vr);h=k.remainder;var b=be(c=k.quotient,Vr);l=b.quotient,c=b.remainder;break;case"minute":var F=be(s,Xr);s=F.remainder;var A=be(v=F.quotient,Xr);v=A.remainder;var B=be(f=A.quotient,Xr);f=B.remainder;var R=be(h=B.quotient,Vr);c=R.quotient,h=R.remainder;break;case"second":var I=be(s,Xr);s=I.remainder;var O=be(v=I.quotient,Xr);v=O.remainder;var S=be(f=O.quotient,Xr);h=S.quotient,f=S.remainder;break;case"millisecond":var Y=be(s,Xr);s=Y.remainder;var _=be(v=Y.quotient,Xr);f=_.quotient,v=_.remainder;break;case"microsecond":var j=be(s,Xr);v=j.quotient,s=j.remainder;break;case"nanosecond":break;default:throw new Error("assert not reached")}for(var P=C.toNumber(l)*D,Z=C.toNumber(c)*D,x=C.toNumber(h)*D,N=C.toNumber(f)*D,U=C.toNumber(v)*D,q=C.toNumber(s)*D,z=0,W=[y,P,Z,x,N,U,q];z<W.length;z++)if(!Nr(W[z]))return 1===D?"positive overflow":"negative overflow";return{days:y,hours:P,minutes:Z,seconds:x,milliseconds:N,microseconds:U,nanoseconds:q}}function ci(r,e,n,t,i,o){var a=I("%Temporal.Duration%"),u=ti(r,e,n,t,0,0,0,0,0,0);if(0===u)return{years:r,months:e,weeks:n,days:t};var s,v,f=C.BigInt(u),h=C.BigInt(r),c=C.BigInt(e),l=C.BigInt(n),d=C.BigInt(t);o&&(s=hr(v=Tn(o),L));var y=new a(u),w=new a(0,u),m=new a(0,0,u);switch(i){case"year":break;case"month":if(!s)throw new RangeError("a starting point is required for months balancing");var p,D;for("string"!=typeof s&&(p=ye(s,"dateAdd"),D=ye(s,"dateUntil"));!de(h);){var E=zn(s,v,y,void 0,p),g=zr(null);g.largestUnit="month";var T=Wn(s,v,E,g,D),k=C.BigInt(hr(T,G));v=E,c=C.add(c,k),h=C.subtract(h,f)}break;case"week":if(!s)throw new RangeError("a starting point is required for weeks balancing");for(var b="string"!=typeof s?ye(s,"dateAdd"):void 0;!de(h);){var F=ro(s,v,y,b);v=F.relativeTo,d=C.add(d,C.BigInt(F.days)),h=C.subtract(h,f)}for(;!de(c);){var A=ro(s,v,w,b);v=A.relativeTo,d=C.add(d,C.BigInt(A.days)),c=C.subtract(c,f)}break;default:if(de(h)&&de(c)&&de(l))break;if(!s)throw new RangeError("a starting point is required for balancing calendar units");for(var B="string"!=typeof s?ye(s,"dateAdd"):void 0;!de(h);){var R=ro(s,v,y,B);v=R.relativeTo,d=C.add(d,C.BigInt(R.days)),h=C.subtract(h,f)}for(;!de(c);){var M=ro(s,v,w,B);v=M.relativeTo,d=C.add(d,C.BigInt(M.days)),c=C.subtract(c,f)}for(;!de(l);){var O=ro(s,v,m,B);v=O.relativeTo,d=C.add(d,C.BigInt(O.days)),l=C.subtract(l,f)}}return{years:C.toNumber(h),months:C.toNumber(c),weeks:C.toNumber(l),days:C.toNumber(d)}}function li(r,e,n,t,i){if(Ge(r)){var o=hr(r,J),a=hr(r,H),u=hr(r,L),s=kt(a,o),v=Li(o,a,u,e,n,t,i,0,0,0,0,0,0);return kt(a,new(I("%Temporal.Instant%"))(v))-s}return 0}function di(r){return new(I("%Temporal.Duration%"))(-hr(r,$),-hr(r,G),-hr(r,V),-hr(r,K),-hr(r,X),-hr(r,Q),-hr(r,rr),-hr(r,er),-hr(r,nr),-hr(r,tr))}function yi(r,e,n){return Sr(n,Yr(e,r))}function wi(r,e,n){var t=yi(e,1,12);return{year:r,month:t,day:yi(n,1,Qt(r,t))}}function mi(r,e,n){if(r<e||r>n)throw new RangeError("value out of range: ".concat(e," <= ").concat(r," <= ").concat(n))}function pi(r,e,n){mi(e,1,12),mi(n,1,Qt(r,e))}function Di(r,e,n){Ti(r,e,n,12,0,0,0,0,0)}function Ei(r,e,n,t,i,o){mi(r,0,23),mi(e,0,59),mi(n,0,59),mi(t,0,999),mi(i,0,999),mi(o,0,999)}function gi(r,e,n,t,i,o,a,u,s){pi(r,e,n),Ei(t,i,o,a,u,s)}function Ti(r,e,n,t,i,o,a,u,s){if(mi(r,ue,se),r===ue&&null==Wt(r,e,n+1,t,i,o,a,u,s-1)||r===se&&null==Wt(r,e,n-1,t,i,o,a,u,s+1))throw new RangeError("DateTime outside of supported range")}function ki(r){if(C.lessThan(r,oe)||C.greaterThan(r,ae))throw new RangeError("Instant outside of supported range")}function Ci(r,e,n,t,i,o,a,u,s,v){for(var f=ti(r,e,n,t,i,o,a,u,s,v),h=0,c=[r,e,n,t,i,o,a,u,s,v];h<c.length;h++){var l=c[h];if(!Nr(l))throw new RangeError("infinite values not allowed as duration fields");var d=Pr(l);if(0!==d&&d!==f)throw new RangeError("mixed-sign values not allowed as duration fields")}}function bi(r,e,n,t,i,o,a){switch(a){case"year":case"month":var u=-io(r,e,n,t,i,o);if(0===u)return{years:0,months:0,weeks:0,days:0};var s={year:r,month:e,day:n},v={year:t,month:i,day:o},f=v.year-s.year,h=Pi(r,e,n,f,0,0,0,"constrain"),c=-io(h.year,h.month,h.day,t,i,o);if(0===c)return"year"===a?{years:f,months:0,weeks:0,days:0}:{years:0,months:12*f,weeks:0,days:0};var l=v.month-s.month;return c!==u&&(f-=u,l+=12*u),0==(c=-io((h=Pi(r,e,n,f,l,0,0,"constrain")).year,h.month,h.day,t,i,o))?"year"===a?{years:f,months:l,weeks:0,days:0}:{years:0,months:l+12*f,weeks:0,days:0}:(c!==u&&((l-=u)==-u&&(f-=u,l=11*u),h=Pi(r,e,n,f,l,0,0,"constrain")),"month"===a&&(l+=12*f,f=0),{years:f,months:l,weeks:0,days:h.month===v.month?v.day-h.day:u<0?-h.day-(Qt(v.year,v.month)-v.day):v.day+(Qt(h.year,h.month)-h.day)});case"week":case"day":var d,y,w;io(r,e,n,t,i,o)<0?(y={year:r,month:e,day:n},d={year:t,month:i,day:o},w=1):(y={year:t,month:i,day:o},d={year:r,month:e,day:n},w=-1);for(var m=ei(d.year,d.month,d.day)-ei(y.year,y.month,y.day),p=y.year;p<d.year;++p)m+=Xt(p)?366:365;var D=0;return"week"===a&&(D=jr(m/7),m%=7),{years:0,months:0,weeks:D*=w,days:m*=w};default:throw new Error("assert not reached")}}function Fi(r,e,n,t,i,o,a,u,s,v,f,h){var c=a-r,l=u-e,d=s-n,y=v-t,w=f-i,m=h-o,p=ti(0,0,0,0,c,l,d,y,w,m),D=ui(c*=p,l*=p,d*=p,y*=p,w*=p,m*=p);if(c=D.hour,l=D.minute,d=D.second,y=D.millisecond,w=D.microsecond,m=D.nanosecond,0!=D.deltaDays)throw new Error("assertion failure in DifferenceTime: _bt_.[[Days]] should be 0");return{hours:c*=p,minutes:l*=p,seconds:d*=p,milliseconds:y*=p,microseconds:w*=p,nanoseconds:m*=p}}function Ai(r,e,n,t,i,o){var a=C.subtract(e,r),u=C.toNumber(C.remainder(a,Xr)),s=C.toNumber(C.remainder(C.divide(a,Xr),Xr)),v=C.toNumber(C.remainder(C.divide(a,Qr),Xr)),f=C.toNumber(C.divide(a,re)),h=to(0,0,0,0,0,0,f,v,s,u,n,t,o);return fi(0,h.hours,h.minutes,f=h.seconds,v=h.milliseconds,s=h.microseconds,u=h.nanoseconds,i)}function Bi(r,e,n,t,i,o,a,u,s,v,f,h,c,l,d,y,w,m,p,D,E){var g=r,T=e,k=n,C=Fi(t,i,o,a,u,s,c,l,d,y,w,m),b=C.hours,F=C.minutes,A=C.seconds,B=C.milliseconds,R=C.microseconds,I=C.nanoseconds,M=ti(0,0,0,0,b,F,A,B,R,I);if(io(v,f,h,g,T,k)===-M){var O=oi(g,T,k-M);g=O.year,T=O.month,k=O.day;var S=fi(-M,b,F,A,B,R,I,D);b=S.hours,F=S.minutes,A=S.seconds,B=S.milliseconds,R=S.microseconds,I=S.nanoseconds}var Y=Sn(g,T,k,p),_=Sn(v,f,h,p),j=Dn("day",D),P=mo(E);P.largestUnit=j;var Z=Wn(p,Y,_,P),x=Z.years,N=Z.months,U=Z.weeks,L=Z.days,q=fi(L,b,F,A,B,R,I,D);return{years:x,months:N,weeks:U,days:L=q.days,hours:b=q.hours,minutes:F=q.minutes,seconds:A=q.seconds,milliseconds:B=q.milliseconds,microseconds:R=q.microseconds,nanoseconds:I=q.nanoseconds}}function Ri(r,e,n,t,i,o){var a=C.subtract(e,r);if(C.equal(a,$r))return{years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0};var u,s=I("%Temporal.Instant%"),v=new s(r),f=new s(e),h=bt(n,v,t),c=bt(n,f,t),l=Bi(hr(h,S),hr(h,Y),hr(h,_),hr(h,j),hr(h,P),hr(h,Z),hr(h,x),hr(h,N),hr(h,U),hr(c,S),hr(c,Y),hr(c,_),hr(c,j),hr(c,P),hr(c,Z),hr(c,x),hr(c,N),hr(c,U),t,i,o),d=l.years,y=l.months,w=l.weeks,m=Li(v,n,t,d,y,w,0,0,0,0,0,0,0),p=C.subtract(e,m),D=vi(p,Un(m,n,t));u=D.days;var E=fi(0,0,0,0,0,0,C.toNumber(p=D.nanoseconds),"hour");return{years:d,months:y,weeks:w,days:u,hours:E.hours,minutes:E.minutes,seconds:E.seconds,milliseconds:E.milliseconds,microseconds:E.microseconds,nanoseconds:E.nanoseconds}}function Ii(r,e,n,t,i,o){var a=Me.reduce((function(r,e){var i=e[0],o=e[1];return"datetime"!==n&&e[2]!==n||t.includes(o)||r.push(o,i),r}),[]),u=wn(e,"largestUnit",n,"auto");if(t.includes(u))throw new RangeError("largestUnit must be one of ".concat(a.join(", "),", not ").concat(u));var s=hn(e),v=sn(e,"trunc");"since"===r&&(v=function(r){switch(r){case"ceil":return"floor";case"floor":return"ceil";case"halfCeil":return"halfFloor";case"halfFloor":return"halfCeil";default:return r}}(v));var f=wn(e,"smallestUnit",n,i);if(t.includes(f))throw new RangeError("smallestUnit must be one of ".concat(a.join(", "),", not ").concat(f));var h=Dn(o,f);if("auto"===u&&(u=h),Dn(u,f)!==u)throw new RangeError("largestUnit ".concat(u," cannot be smaller than smallestUnit ").concat(f));var c={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[f];return void 0!==c&&cn(s,c,!1),{largestUnit:u,roundingIncrement:s,roundingMode:v,smallestUnit:f}}function Mi(r,e,n,t){var i="since"===r?-1:1,o=Fn(n),a=Ii(r,mo(t),"time",[],"nanosecond","second"),u=Ai(hr(e,M),hr(o,M),a.roundingIncrement,a.smallestUnit,a.largestUnit,a.roundingMode),s=u.hours,v=u.minutes,f=u.seconds,h=u.milliseconds,c=u.microseconds,l=u.nanoseconds;return new(I("%Temporal.Duration%"))(0,0,0,0,i*s,i*v,i*f,i*h,i*c,i*l)}function Oi(r,e,n,t){var i="since"===r?-1:1,o=Tn(n),a=hr(e,L);ct(a,hr(o,L),"compute difference between dates");var u=mo(t),s=Ii(r,u,"date",[],"day","day");u.largestUnit=s.largestUnit;var v=Wn(a,e,o,u),f=v.years,h=v.months,c=v.weeks,l=v.days;if("day"!==s.smallestUnit||1!==s.roundingIncrement){var d=to(f,h,c,l,0,0,0,0,0,0,s.roundingIncrement,s.smallestUnit,s.roundingMode,e);f=d.years,h=d.months,c=d.weeks,l=d.days}return new(I("%Temporal.Duration%"))(i*f,i*h,i*c,i*l,0,0,0,0,0,0)}function Si(r,e,n,t){var i="since"===r?-1:1,o=Cn(n),a=hr(e,L);ct(a,hr(o,L),"compute difference between dates");var u=mo(t),s=Ii(r,u,"datetime",[],"nanosecond","day"),v=Bi(hr(e,S),hr(e,Y),hr(e,_),hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U),hr(o,S),hr(o,Y),hr(o,_),hr(o,j),hr(o,P),hr(o,Z),hr(o,x),hr(o,N),hr(o,U),a,s.largestUnit,u),f=v.years,h=v.months,c=v.weeks,l=v.days,d=v.hours,y=v.minutes,w=v.seconds,m=v.milliseconds,p=v.microseconds,D=v.nanoseconds,E=gt(e),g=to(f,h,c,l,d,y,w,m,p,D,s.roundingIncrement,s.smallestUnit,s.roundingMode,E);f=g.years,h=g.months,c=g.weeks;var T=fi(l=g.days,d=g.hours,y=g.minutes,w=g.seconds,m=g.milliseconds,p=g.microseconds,D=g.nanoseconds,s.largestUnit);return l=T.days,d=T.hours,y=T.minutes,w=T.seconds,m=T.milliseconds,p=T.microseconds,D=T.nanoseconds,new(I("%Temporal.Duration%"))(i*f,i*h,i*c,i*l,i*d,i*y,i*w,i*m,i*p,i*D)}function Yi(r,e,n,t){var i="since"===r?-1:1,o=Bn(n),a=Ii(r,mo(t),"time",[],"nanosecond","hour"),u=Fi(hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U),hr(o,j),hr(o,P),hr(o,Z),hr(o,x),hr(o,N),hr(o,U)),s=u.hours,v=u.minutes,f=u.seconds,h=u.milliseconds,c=u.microseconds,l=u.nanoseconds,d=to(0,0,0,0,s,v,f,h,c,l,a.roundingIncrement,a.smallestUnit,a.roundingMode),y=fi(0,s=d.hours,v=d.minutes,f=d.seconds,h=d.milliseconds,c=d.microseconds,l=d.nanoseconds,a.largestUnit);return s=y.hours,v=y.minutes,f=y.seconds,h=y.milliseconds,c=y.microseconds,l=y.nanoseconds,new(I("%Temporal.Duration%"))(0,0,0,0,i*s,i*v,i*f,i*h,i*c,i*l)}function _i(r,e,n,t){var i="since"===r?-1:1,o=Rn(n),a=hr(e,L);ct(a,hr(o,L),"compute difference between months");var u=mo(t),s=Ii(r,u,"date",["week","day"],"month","year");u.largestUnit=s.largestUnit;var v=Ln(a,["monthCode","year"]),f=En(e,v,[]);f.day=1;var h=dt(a,f),c=En(o,v,[]);c.day=1;var l=Wn(a,h,dt(a,c),u),d=l.years,y=l.months;if("month"!==s.smallestUnit||1!==s.roundingIncrement){var w=to(d,y,0,0,0,0,0,0,0,0,s.roundingIncrement,s.smallestUnit,s.roundingMode,h);d=w.years,y=w.months}return new(I("%Temporal.Duration%"))(i*d,i*y,0,0,0,0,0,0,0,0)}function ji(r,e,n,t){var i="since"===r?-1:1,o=Mn(n),a=hr(e,L);ct(a,hr(o,L),"compute difference between dates");var u=mo(t),s=Ii(r,u,"datetime",[],"nanosecond","hour");u.largestUnit=s.largestUnit;var v,f,h,c,l,d,y,w,m,p,D=hr(e,M),E=hr(o,M);if("year"!==s.largestUnit&&"month"!==s.largestUnit&&"week"!==s.largestUnit&&"day"!==s.largestUnit){v=0,f=0,h=0,c=0;var g=Ai(D,E,s.roundingIncrement,s.smallestUnit,s.largestUnit,s.roundingMode);l=g.hours,d=g.minutes,y=g.seconds,w=g.milliseconds,m=g.microseconds,p=g.nanoseconds}else{var T=hr(e,H);if(!Et(T,hr(o,H)))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.");var k=Ri(D,E,T,a,s.largestUnit,u),C=to(v=k.years,f=k.months,h=k.weeks,c=k.days,l=k.hours,d=k.minutes,y=k.seconds,w=k.milliseconds,m=k.microseconds,p=k.nanoseconds,s.roundingIncrement,s.smallestUnit,s.roundingMode,e),b=no(v=C.years,f=C.months,h=C.weeks,c=C.days,l=C.hours,d=C.minutes,y=C.seconds,w=C.milliseconds,m=C.microseconds,p=C.nanoseconds,s.roundingIncrement,s.smallestUnit,s.roundingMode,e);v=b.years,f=b.months,h=b.weeks,c=b.days,l=b.hours,d=b.minutes,y=b.seconds,w=b.milliseconds,m=b.microseconds,p=b.nanoseconds}return new(I("%Temporal.Duration%"))(i*v,i*f,i*h,i*c,i*l,i*d,i*y,i*w,i*m,i*p)}function Pi(r,e,n,t,i,o,a,u){var s=r,v=e,f=n,h=o,c=a,l=ii(s+=t,v+=i),d=nn(s=l.year,v=l.month,f,u);f=d.day;var y=oi(s=d.year,v=d.month,f+=c+=7*h);return{year:s=y.year,month:v=y.month,day:f=y.day}}function Zi(r,e,n,t,i,o,a,u,s,v,f,h){var c=r,l=e,d=n,y=t,w=i,m=o,p=ui(c+=a,l+=u,d+=s,y+=v,w+=f,m+=h);return{deltaDays:p.deltaDays,hour:c=p.hour,minute:l=p.minute,second:d=p.second,millisecond:y=p.millisecond,microsecond:w=p.microsecond,nanosecond:m=p.nanosecond}}function xi(r,e,n,t,i,o,a,u,s,v,f,h,c,l,d,y,w,m,p,D,E){var g,T,k,b,F,A,B,R,O,S,Y=Dn(pn(r,e,n,t,i,o,a,u,s,v),pn(f,h,c,l,d,y,w,m,p,D));if(E)if(ze(E)){var _=I("%Temporal.Duration%"),j=hr(E,L),P=new _(r,e,n,t,0,0,0,0,0,0),Z=new _(f,h,c,l,0,0,0,0,0,0),x="string"!=typeof j?ye(j,"dateAdd"):void 0,N=zn(j,E,P,void 0,x),U=zn(j,N,Z,void 0,x),q=Dn("day",Y),z=zr(null);z.largestUnit=q;var W=Wn(j,E,U,z);g=W.years,T=W.months,k=W.weeks;var $=fi(b=W.days,C.add(C.BigInt(i),C.BigInt(d)),C.add(C.BigInt(o),C.BigInt(y)),C.add(C.BigInt(a),C.BigInt(w)),C.add(C.BigInt(u),C.BigInt(m)),C.add(C.BigInt(s),C.BigInt(p)),C.add(C.BigInt(v),C.BigInt(D)),Y);b=$.days,F=$.hours,A=$.minutes,B=$.seconds,R=$.milliseconds,O=$.microseconds,S=$.nanoseconds}else{var G=I("%Temporal.Instant%"),V=hr(E,H),K=hr(E,L),X=Li(hr(E,J),V,K,r,e,n,t,i,o,a,u,s,v),Q=Li(new G(X),V,K,f,h,c,l,d,y,w,m,p,D);if("year"!==Y&&"month"!==Y&&"week"!==Y&&"day"!==Y){g=0,T=0,k=0,b=0;var rr=Ai(hr(E,M),Q,1,"nanosecond",Y,"halfExpand");F=rr.hours,A=rr.minutes,B=rr.seconds,R=rr.milliseconds,O=rr.microseconds,S=rr.nanoseconds}else{var er=Ri(hr(E,M),Q,V,K,Y,zr(null));g=er.years,T=er.months,k=er.weeks,b=er.days,F=er.hours,A=er.minutes,B=er.seconds,R=er.milliseconds,O=er.microseconds,S=er.nanoseconds}}else{if("year"===Y||"month"===Y||"week"===Y)throw new RangeError("relativeTo is required for years, months, or weeks arithmetic");g=T=k=0;var nr=fi(t+l,C.add(C.BigInt(i),C.BigInt(d)),C.add(C.BigInt(o),C.BigInt(y)),C.add(C.BigInt(a),C.BigInt(w)),C.add(C.BigInt(u),C.BigInt(m)),C.add(C.BigInt(s),C.BigInt(p)),C.add(C.BigInt(v),C.BigInt(D)),Y);b=nr.days,F=nr.hours,A=nr.minutes,B=nr.seconds,R=nr.milliseconds,O=nr.microseconds,S=nr.nanoseconds}return Ci(g,T,k,b,F,A,B,R,O,S),{years:g,months:T,weeks:k,days:b,hours:F,minutes:A,seconds:B,milliseconds:R,microseconds:O,nanoseconds:S}}function Ni(r,e,n,t,i,o,a){var u=$r;u=C.add(u,C.BigInt(a)),u=C.add(u,C.multiply(C.BigInt(o),Xr)),u=C.add(u,C.multiply(C.BigInt(i),Qr)),u=C.add(u,C.multiply(C.BigInt(t),re)),u=C.add(u,C.multiply(C.BigInt(n),C.BigInt(6e10))),u=C.add(u,C.multiply(C.BigInt(e),C.BigInt(36e11)));var s=C.add(r,u);return ki(s),s}function Ui(r,e,n,t,i,o,a,u,s,v,f,h,c,l,d,y,w,m,p,D,E){var g=l,T=Zi(t,i,o,a,u,s,d,y,w,m,p,D),k=T.hour,C=T.minute,b=T.second,F=T.millisecond,A=T.microsecond,B=T.nanosecond;g+=T.deltaDays;var R=I("%Temporal.Duration%"),M=zn(v,Sn(r,e,n,v),new R(f,h,c,g,0,0,0,0,0,0),E);return{year:hr(M,S),month:hr(M,Y),day:hr(M,_),hour:k,minute:C,second:b,millisecond:F,microsecond:A,nanosecond:B}}function Li(r,e,n,t,i,o,a,u,s,v,f,h,c,l){var d=I("%Temporal.Duration%");if(0===ti(t,i,o,a,0,0,0,0,0,0))return Ni(hr(r,M),u,s,v,f,h,c);var y=bt(e,r,n),w=zn(n,Sn(hr(y,S),hr(y,Y),hr(y,_),n),new d(t,i,o,a,0,0,0,0,0,0),l),m=_n(hr(w,S),hr(w,Y),hr(w,_),hr(y,j),hr(y,P),hr(y,Z),hr(y,x),hr(y,N),hr(y,U),n);return Ni(hr(Ft(e,m,"compatible"),M),u,s,v,f,h,c)}function qi(r,e,n,t){var i="subtract"===r?-1:1,o=on(n),a=o.years,u=o.months,s=o.weeks,v=o.days,f=o.hours,h=o.minutes,c=o.seconds,l=o.milliseconds,d=o.microseconds,y=o.nanoseconds,w=mn(yo(t)),m=xi(hr(e,$),hr(e,G),hr(e,V),hr(e,K),hr(e,X),hr(e,Q),hr(e,rr),hr(e,er),hr(e,nr),hr(e,tr),i*a,i*u,i*s,i*v,i*f,i*h,i*c,i*l,i*d,i*y,w);return a=m.years,u=m.months,s=m.weeks,v=m.days,f=m.hours,h=m.minutes,c=m.seconds,l=m.milliseconds,d=m.microseconds,y=m.nanoseconds,new(I("%Temporal.Duration%"))(a,u,s,v,f,h,c,l,d,y)}function zi(r,e,n){var t="subtract"===r?-1:1,i=function(r){var e,n=on(r),t=T(["years","months","weeks","days"]);try{for(t.s();!(e=t.n()).done;){var i=e.value;if(0!==n[i])throw new RangeError("Duration field ".concat(i," not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead."))}}catch(r){t.e(r)}finally{t.f()}return n}(n),o=i.hours,a=i.minutes,u=i.seconds,s=i.milliseconds,v=i.microseconds,f=i.nanoseconds,h=Ni(hr(e,M),t*o,t*a,t*u,t*s,t*v,t*f);return new(I("%Temporal.Instant%"))(h)}function Wi(r,e,n,t){var i="subtract"===r?-1:1,o=on(n),a=o.years,u=o.months,s=o.weeks,v=o.days,f=o.hours,h=o.minutes,c=o.seconds,l=o.milliseconds,d=o.microseconds,y=o.nanoseconds,w=yo(t),m=hr(e,L),p=Ui(hr(e,S),hr(e,Y),hr(e,_),hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U),m,i*a,i*u,i*s,i*v,i*f,i*h,i*c,i*l,i*d,i*y,w);return _n(p.year,p.month,p.day,p.hour,p.minute,p.second,p.millisecond,p.microsecond,p.nanosecond,m)}function Ji(r,e,n){var t="subtract"===r?-1:1,i=on(n),o=i.hours,a=i.minutes,u=i.seconds,s=i.milliseconds,v=i.microseconds,f=i.nanoseconds,h=Zi(hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U),t*o,t*a,t*u,t*s,t*v,t*f),c=h.hour,l=h.minute,d=h.second,y=h.millisecond,w=h.microsecond,m=h.nanosecond,p=tn(c,l,d,y,w,m,"reject");return c=p.hour,l=p.minute,d=p.second,y=p.millisecond,w=p.microsecond,m=p.nanosecond,new(I("%Temporal.PlainTime%"))(c,l,d,y,w,m)}function Hi(r,e,n,t){var i=on(n);"subtract"===r&&(i={years:-i.years,months:-i.months,weeks:-i.weeks,days:-i.days,hours:-i.hours,minutes:-i.minutes,seconds:-i.seconds,milliseconds:-i.milliseconds,microseconds:-i.microseconds,nanoseconds:-i.nanoseconds});var o=i.years,a=i.months,u=i.weeks,s=i.days;s=fi(s,i.hours,i.minutes,i.seconds,i.milliseconds,i.microseconds,i.nanoseconds,"day").days;var v=yo(t),f=hr(e,L),h=Ln(f,["monthCode","year"]),c=En(e,h,[]),l=zr(null);xe(l,c,[]),c.day=1;var d=dt(f,c),y=ti(o,a,u,s,0,0,0,0,0,0),w=ye(f,"dateAdd"),m=I("%Temporal.Duration%");if(y<0){var p=zn(f,d,new m(0,1,0,0,0,0,0,0,0,0),void 0,w),D=zn(f,p,new m(0,0,0,-1,0,0,0,0,0,0),void 0,w);l.day=Gn(f,D),d=dt(f,l)}var E=new m(o,a,u,s,0,0,0,0,0,0),g=mo(v);return yt(f,En(zn(f,d,E,v,w),h,[]),g)}function $i(r,e,n,t){var i="subtract"===r?-1:1,o=on(n),a=o.years,u=o.months,s=o.weeks,v=o.days,f=o.hours,h=o.minutes,c=o.seconds,l=o.milliseconds,d=o.microseconds,y=o.nanoseconds,w=yo(t),m=hr(e,H),p=hr(e,L);return Un(Li(hr(e,J),m,p,i*a,i*u,i*s,i*v,i*f,i*h,i*c,i*l,i*d,i*y,w),m,p)}function Gi(r,e,n){if(C.equal(e,Gr))return r;var t=be(r,e),i=t.quotient,o=t.remainder;if(C.equal(o,$r))return r;var a=C.lessThan(o,$r)?-1:1,u=Be(C.multiply(o,C.BigInt(2))),s=C.equal(u,e),v=C.greaterThan(u,e);switch(n){case"ceil":a>0&&(i=C.add(i,C.BigInt(a)));break;case"floor":a<0&&(i=C.add(i,C.BigInt(a)));break;case"expand":i=C.add(i,C.BigInt(a));break;case"trunc":break;case"halfCeil":(v||s&&a>0)&&(i=C.add(i,C.BigInt(a)));break;case"halfFloor":(v||s&&a<0)&&(i=C.add(i,C.BigInt(a)));break;case"halfExpand":(v||s)&&(i=C.add(i,C.BigInt(a)));break;case"halfTrunc":v&&(i=C.add(i,C.BigInt(a)));break;case"halfEven":(v||s&&1===C.toNumber(C.remainder(Be(i),C.BigInt(2))))&&(i=C.add(i,C.BigInt(a)))}return C.multiply(i,e)}function Vi(r,e,n,t){var i=oo(r,ie).remainder,o=C.subtract(r,i),a=Gi(i,C.BigInt(ko[n]*e),t);return C.add(o,a)}function Ki(r,e,n,t,i,o,a,u,s,v,f,h){var c=Xi(t,i,o,a,u,s,v,f,h,arguments.length>12&&void 0!==arguments[12]?arguments[12]:864e11),l=c.hour,d=c.minute,y=c.second,w=c.millisecond,m=c.microsecond,p=c.nanosecond,D=oi(r,e,n+c.deltaDays);return{year:D.year,month:D.month,day:D.day,hour:l,minute:d,second:y,millisecond:w,microsecond:m,nanosecond:p}}function Xi(r,e,n,t,i,o,a,u,s){var v=arguments.length>9&&void 0!==arguments[9]?arguments[9]:864e11,f=$r;switch(u){case"day":case"hour":f=C.BigInt(r);case"minute":f=C.add(C.multiply(f,Vr),C.BigInt(e));case"second":f=C.add(C.multiply(f,Vr),C.BigInt(n));case"millisecond":f=C.add(C.multiply(f,Xr),C.BigInt(t));case"microsecond":f=C.add(C.multiply(f,Xr),C.BigInt(i));case"nanosecond":f=C.add(C.multiply(f,Xr),C.BigInt(o))}var h="day"===u?v:ko[u],c=Gi(f,C.BigInt(h*a),s),l=C.toNumber(C.divide(c,C.BigInt(h)));switch(u){case"day":return{deltaDays:l,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0};case"hour":return ui(l,0,0,0,0,0);case"minute":return ui(r,l,0,0,0,0);case"second":return ui(r,e,l,0,0,0);case"millisecond":return ui(r,e,n,l,0,0);case"microsecond":return ui(r,e,n,t,l,0);case"nanosecond":return ui(r,e,n,t,i,l);default:throw new Error("Invalid unit ".concat(u))}}function Qi(r,e){return bi(hr(r,S),hr(r,Y),hr(r,_),hr(e,S),hr(e,Y),hr(e,_),"day").days}function ro(r,e,n,t){var i=zn(r,e,n,void 0,t);return{relativeTo:i,days:Qi(e,i)}}function eo(r,e,n,t,i){var o=hr(r,H),a=hr(r,L);return Un(Li(hr(r,J),o,a,e,n,t,i,0,0,0,0,0,0),o,a)}function no(r,e,n,t,i,o,a,u,s,v,f,h,c,l){var d=r,y=e,w=n,m=t,p=i,D=o,E=a,g=u,T=s,k=v;if(!Ge(l)||"year"===h||"month"===h||"week"===h||"day"===h||"nanosecond"===h&&1===f)return{years:d,months:y,weeks:w,days:m,hours:p,minutes:D,seconds:E,milliseconds:g,microseconds:T,nanoseconds:k};var b=si(0,p,D,E,g,T,k,0),F=Pr(C.toNumber(b)),A=hr(l,H),B=hr(l,L),R=Li(hr(l,J),A,B,d,y,w,m,0,0,0,0,0,0),M=Li(new(I("%Temporal.Instant%"))(R),A,B,0,0,0,F,0,0,0,0,0,0),O=C.subtract(M,R);if(C.greaterThanOrEqual(C.multiply(C.subtract(b,O),C.BigInt(F)),$r)){var S=xi(d,y,w,m,0,0,0,0,0,0,0,0,0,F,0,0,0,0,0,0,l);d=S.years,y=S.months,w=S.weeks,m=S.days,b=Vi(C.subtract(b,O),f,h,c);var Y=fi(0,0,0,0,0,0,C.toNumber(b),"hour");p=Y.hours,D=Y.minutes,E=Y.seconds,g=Y.milliseconds,T=Y.microseconds,k=Y.nanoseconds}return{years:d,months:y,weeks:w,days:m,hours:p,minutes:D,seconds:E,milliseconds:g,microseconds:T,nanoseconds:k}}function to(r,e,n,t,i,o,a,u,s,v,f,h,c){var l,d,y,w,m=arguments.length>13&&void 0!==arguments[13]?arguments[13]:void 0,p=r,D=e,E=n,g=t,T=i,k=o,b=a,F=u,A=s,B=C.BigInt(v),R=I("%Temporal.Duration%"),M=m;if(M){if(Ge(M))d=M,M=Tn(M);else if(!ze(M))throw new TypeError("starting point must be PlainDate or ZonedDateTime");l=hr(M,L)}if("year"===h||"month"===h||"week"===h||"day"===h){var O,S;B=si(0,T,k,b,F,A,v,0),d&&(O=eo(d,p,D,E,g));var Y=vi(B,O);S=Y.days,B=Y.nanoseconds,y=C.BigInt(Y.dayLengthNs),g+=S,T=k=b=F=A=0}switch(h){case"year":if(!l)throw new RangeError("A starting point is required for years rounding");var _=new R(p),j="string"!=typeof l?ye(l,"dateAdd"):void 0,P=zn(l,M,_,void 0,j),Z=zn(l,M,new R(p,D,E),void 0,j),x=zn(l,M=P,new R(0,0,0,g+=Qi(P,Z)),void 0,j),N=zr(null);N.largestUnit="year";var U=Wn(l,M,x,N).years;p+=U;var q=Qi(M,M=zn(l,M,new R(U),void 0,j)),z=ro(l,M,new R((g-=q)<0?-1:1),j).days;z=_r(z);var W=C.multiply(C.BigInt(z),y),J=Gi(B=C.add(C.add(C.multiply(W,C.BigInt(p)),C.multiply(C.BigInt(g),y)),B),C.multiply(W,C.BigInt(f)),c);w=uo(B,W),p=C.toNumber(C.divide(J,W)),B=$r,D=E=g=0;break;case"month":if(!l)throw new RangeError("A starting point is required for months rounding");var H=new R(p,D),$="string"!=typeof l?ye(l,"dateAdd"):void 0,G=zn(l,M,H,void 0,$),V=Qi(G,zn(l,M,new R(p,D,E),void 0,$));M=G;var K,X=Pr(g+=V),Q=new R(0,g<0?-1:1),rr=ro(l,M,Q,$);for(M=rr.relativeTo,K=rr.days;_r(g)>=_r(K);){D+=X,g-=K;var er=ro(l,M,Q,$);M=er.relativeTo,K=er.days}K=_r(K);var nr=C.multiply(C.BigInt(K),y),tr=Gi(B=C.add(C.add(C.multiply(nr,C.BigInt(D)),C.multiply(C.BigInt(g),y)),B),C.multiply(nr,C.BigInt(f)),c);w=uo(B,nr),D=C.toNumber(C.divide(tr,nr)),B=$r,E=g=0;break;case"week":if(!l)throw new RangeError("A starting point is required for weeks rounding");var ir,or=Pr(g),ar=new R(0,0,g<0?-1:1),ur="string"!=typeof l?ye(l,"dateAdd"):void 0,sr=ro(l,M,ar,ur);for(M=sr.relativeTo,ir=sr.days;_r(g)>=_r(ir);){E+=or,g-=ir;var vr=ro(l,M,ar,ur);M=vr.relativeTo,ir=vr.days}ir=_r(ir);var fr=C.multiply(C.BigInt(ir),y),cr=Gi(B=C.add(C.add(C.multiply(fr,C.BigInt(E)),C.multiply(C.BigInt(g),y)),B),C.multiply(fr,C.BigInt(f)),c);w=uo(B,fr),E=C.toNumber(C.divide(cr,fr)),B=$r,g=0;break;case"day":var lr=y,dr=Gi(B=C.add(C.multiply(lr,C.BigInt(g)),B),C.multiply(lr,C.BigInt(f)),c);w=uo(B,lr),g=C.toNumber(C.divide(dr,lr)),B=$r;break;case"hour":var yr=36e11,wr=C.multiply(C.BigInt(T),C.BigInt(36e11));wr=C.add(wr,C.multiply(C.BigInt(k),C.BigInt(6e10))),wr=C.add(wr,C.multiply(C.BigInt(b),re)),wr=C.add(wr,C.multiply(C.BigInt(F),Qr)),wr=C.add(wr,C.multiply(C.BigInt(A),Xr)),w=uo(wr=C.add(wr,B),C.BigInt(yr));var mr=Gi(wr,C.BigInt(yr*f),c);T=C.toNumber(C.divide(mr,C.BigInt(yr))),B=$r,k=b=F=A=0;break;case"minute":var pr=6e10,Dr=C.multiply(C.BigInt(k),C.BigInt(6e10));Dr=C.add(Dr,C.multiply(C.BigInt(b),re)),Dr=C.add(Dr,C.multiply(C.BigInt(F),Qr)),Dr=C.add(Dr,C.multiply(C.BigInt(A),Xr)),w=uo(Dr=C.add(Dr,B),C.BigInt(pr));var Er=Gi(Dr,C.BigInt(pr*f),c);k=C.toNumber(C.divide(Er,C.BigInt(pr))),B=$r,b=F=A=0;break;case"second":var gr=1e9,Tr=C.multiply(C.BigInt(b),re);Tr=C.add(Tr,C.multiply(C.BigInt(F),Qr)),Tr=C.add(Tr,C.multiply(C.BigInt(A),Xr)),w=uo(Tr=C.add(Tr,B),C.BigInt(gr));var kr=Gi(Tr,C.BigInt(gr*f),c);b=C.toNumber(C.divide(kr,C.BigInt(gr))),B=$r,F=A=0;break;case"millisecond":var Cr=1e6,br=C.multiply(C.BigInt(F),Qr);br=C.add(br,C.multiply(C.BigInt(A),Xr)),w=uo(br=C.add(br,B),C.BigInt(Cr));var Fr=Gi(br,C.BigInt(Cr*f),c);F=C.toNumber(C.divide(Fr,C.BigInt(Cr))),B=$r,A=0;break;case"microsecond":var Ar=1e3,Br=C.multiply(C.BigInt(A),Xr);w=uo(Br=C.add(Br,B),C.BigInt(Ar));var Rr=Gi(Br,C.BigInt(Ar*f),c);A=C.toNumber(C.divide(Rr,C.BigInt(Ar))),B=$r;break;case"nanosecond":w=C.toNumber(B),B=Gi(C.BigInt(B),C.BigInt(f),c)}return{years:p,months:D,weeks:E,days:g,hours:T,minutes:k,seconds:b,milliseconds:F,microseconds:A,nanoseconds:C.toNumber(B),total:w}}function io(r,e,n,t,i,o){for(var a=0,u=[[r,t],[e,i],[n,o]];a<u.length;a++){var s=p(u[a],2),v=s[0],f=s[1];if(v!==f)return lo(v-f)}return 0}function oo(r,e){var n=be(r,e),t=n.quotient,i=n.remainder;return C.lessThan(i,$r)&&(t=C.subtract(t,Gr),i=C.add(i,e)),{quotient:t,remainder:i}}function ao(r,e){var n=be(r,e),t=n.quotient;return de(n.remainder)||!Fe(r)==!Fe(e)?t:C.subtract(t,Gr)}function uo(r,e){var n=be(r,e),t=n.remainder;return C.toNumber(n.quotient)+C.toNumber(t)/C.toNumber(e)}function so(r){var e=vo(r);return void 0!==globalThis.BigInt?globalThis.BigInt(e.toString(10)):e}function vo(r){var e=r;if("object"===t(r)){var n=r[Symbol.toPrimitive];n&&"function"==typeof n&&(e=Jr(n,r,["number"]))}if("number"==typeof e)throw new TypeError("cannot convert number to bigint");return C.BigInt("bigint"==typeof e?e.toString(10):e)}var fo,ho=(fo=C.BigInt(Date.now()%1e6),function(){var r=C.BigInt(Date.now()),e=C.add(C.multiply(r,Qr),fo);return fo=C.remainder(r,Qr),C.greaterThan(e,ae)?ae:C.lessThan(e,oe)?oe:e});function co(){return(new Or).resolvedOptions().timeZone}function lo(r){return r<0?-1:r>0?1:r}function yo(r){if(void 0===r)return zr(null);if(me(r)&&null!==r)return r;throw new TypeError("Options parameter must be an object, not ".concat(null===r?"null":"".concat(t(r))))}function wo(r,e){var n=zr(null);return n[r]=e,n}function mo(r){var e=zr(null);return xe(e,yo(r),[]),e}function po(r,e,n,t){var i=r[e];if(void 0!==i){if(i=ge(i),!n.includes(i))throw new RangeError("".concat(e," must be one of ").concat(n.join(", "),", not ").concat(i));return i}return t}function Do(r){return le.includes(Eo(r))}function Eo(r){return r.replace(/[A-Z]/g,(function(r){var e=r.charCodeAt(0);return String.fromCharCode(e+32)}))}var go=new RegExp("^".concat(Er.source,"$"));function To(r,e,n){for(var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r(n),o=C.BigInt(e),a=C.BigInt(n),u=t,s=i;C.greaterThan(C.subtract(a,o),Gr);){var v=C.divide(C.add(o,a),C.BigInt(2)),f=r(v);if(f===u)o=v,u=f;else{if(f!==s)throw new Error("invalid state in bisection ".concat(u," - ").concat(f," - ").concat(s));a=v,s=f}}return a}var ko={hour:36e11,minute:6e10,second:1e9,millisecond:1e6,microsecond:1e3,nanosecond:1},Co=Symbol("date"),bo=Symbol("ym"),Fo=Symbol("md"),Ao=Symbol("time"),Bo=Symbol("datetime"),Ro=Symbol("instant"),Io=Symbol("original"),Mo=Symbol("timezone"),Oo=Symbol("calendar-id"),So=Symbol("locale"),Yo=Symbol("options"),_o=function(r){return{value:r,enumerable:!0,writable:!1,configurable:!0}},jo=globalThis.Intl.DateTimeFormat,Po=Object.assign,Zo=Object.prototype.hasOwnProperty,xo=Reflect.apply;function No(r,e){var n=r[e];return"function"==typeof n&&(n=new jo(r[So],n(r[Yo])),r[e]=n),n}function Uo(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof Uo))return new Uo(r,e);var n=void 0!==e,t=n?Po({},e):{},i=new jo(r,t),o=i.resolvedOptions();if(n){var a=Po({},o);for(var u in a)xo(Zo,t,[u])||delete a[u];this[Yo]=a}else this[Yo]=t;this[So]=o.locale,this[Io]=i,this[Mo]=o.timeZone,this[Oo]=o.calendar,this[Co]=$o,this[bo]=Jo,this[Fo]=Ho,this[Ao]=Wo,this[Bo]=Go,this[Ro]=Vo}Object.defineProperty(Uo,"name",{writable:!0,value:"DateTimeFormat"}),Uo.supportedLocalesOf=function(r,e){return jo.supportedLocalesOf(r,e)};var Lo={resolvedOptions:_o((function(){return this[Io].resolvedOptions()})),format:_o((function(r){var e,n=ea(r,this),t=n.instant,i=n.formatter;if(t&&i)return i.format(t.epochMilliseconds);for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];return(e=this[Io]).format.apply(e,[r].concat(a))})),formatRange:_o((function(r,e){if(Qo(r)||Qo(e)){if(!ra(r,e))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");var n=ea(r,this),t=n.instant,i=n.formatter,o=ea(e,this),a=o.instant,u=o.formatter;if(t&&a&&i&&u&&i===u)return i.formatRange(t.epochMilliseconds,a.epochMilliseconds)}return this[Io].formatRange(r,e)}))};"formatToParts"in jo.prototype&&(Lo.formatToParts=_o((function(r){var e,n=ea(r,this),t=n.instant,i=n.formatter;if(t&&i)return i.formatToParts(t.epochMilliseconds);for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];return(e=this[Io]).formatToParts.apply(e,[r].concat(a))}))),"formatRangeToParts"in jo.prototype&&(Lo.formatRangeToParts=_o((function(r,e){if(Qo(r)||Qo(e)){if(!ra(r,e))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");var n=ea(r,this),t=n.instant,i=n.formatter,o=ea(e,this),a=o.instant,u=o.formatter;if(t&&a&&i&&u&&i===u)return i.formatRangeToParts(t.epochMilliseconds,a.epochMilliseconds)}return this[Io].formatRangeToParts(r,e)}))),Uo.prototype=Object.create(jo.prototype,Lo),Object.defineProperty(Uo,"prototype",{writable:!1,enumerable:!1,configurable:!1});var qo=Uo;function zo(){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=Po({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),n=0,t=["year","month","day","hour","minute","second","weekday","dayPeriod","timeZoneName","dateStyle","timeStyle"];n<t.length;n++){var i=t[n];e[i]=i in r?r[i]:e[i],!1!==e[i]&&void 0!==e[i]||delete e[i]}return e}function Wo(r){var e=zo(r,{year:!1,month:!1,day:!1,weekday:!1,timeZoneName:!1,dateStyle:!1});return Xo(e)||(e=Po({},e,{hour:"numeric",minute:"numeric",second:"numeric"})),e}function Jo(r){var e=zo(r,{day:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,dateStyle:!1,timeStyle:!1});return"year"in e||"month"in e||(e=Po(e,{year:"numeric",month:"numeric"})),e}function Ho(r){var e=zo(r,{year:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,dateStyle:!1,timeStyle:!1});return"month"in e||"day"in e||(e=Po({},e,{month:"numeric",day:"numeric"})),e}function $o(r){var e=zo(r,{hour:!1,minute:!1,second:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});return Ko(e)||(e=Po({},e,{year:"numeric",month:"numeric",day:"numeric"})),e}function Go(r){var e=zo(r,{timeZoneName:!1});return Xo(e)||Ko(e)||(e=Po({},e,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),e}function Vo(r){var e=r;return Xo(e)||Ko(e)||(e=Po({},e,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),e}function Ko(r){return"year"in r||"month"in r||"day"in r||"weekday"in r||"dateStyle"in r}function Xo(r){return"hour"in r||"minute"in r||"second"in r||"timeStyle"in r||"dayPeriod"in r}function Qo(r){return ze(r)||We(r)||Je(r)||Ge(r)||He(r)||$e(r)||Ne(r)}function ra(r,e){return!(!Qo(r)||!Qo(e)||We(r)&&!We(e)||ze(r)&&!ze(e)||Je(r)&&!Je(e)||Ge(r)&&!Ge(e)||He(r)&&!He(e)||$e(r)&&!$e(e)||Ne(r)&&!Ne(e))}function ea(r,e){var n=I("%Temporal.PlainDateTime%");if(We(r)){var t=new n(1970,1,1,hr(r,j),hr(r,P),hr(r,Z),hr(r,x),hr(r,N),hr(r,U),e[Oo]);return{instant:Ft(e[Mo],t,"compatible"),formatter:No(e,Ao)}}if(He(r)){var i=hr(r,S),o=hr(r,Y),a=hr(r,_),u=vt(hr(r,L));if(u!==e[Oo])throw new RangeError("cannot format PlainYearMonth with calendar ".concat(u," in locale with calendar ").concat(e[Oo]));var s=new n(i,o,a,12,0,0,0,0,0,u);return{instant:Ft(e[Mo],s,"compatible"),formatter:No(e,bo)}}if($e(r)){var v=hr(r,S),f=hr(r,Y),h=hr(r,_),c=vt(hr(r,L));if(c!==e[Oo])throw new RangeError("cannot format PlainMonthDay with calendar ".concat(c," in locale with calendar ").concat(e[Oo]));var l=new n(v,f,h,12,0,0,0,0,0,c);return{instant:Ft(e[Mo],l,"compatible"),formatter:No(e,Fo)}}if(ze(r)){var d=hr(r,S),y=hr(r,Y),w=hr(r,_),m=vt(hr(r,L));if("iso8601"!==m&&m!==e[Oo])throw new RangeError("cannot format PlainDate with calendar ".concat(m," in locale with calendar ").concat(e[Oo]));var p=new n(d,y,w,12,0,0,0,0,0,e[Oo]);return{instant:Ft(e[Mo],p,"compatible"),formatter:No(e,Co)}}if(Je(r)){var D=hr(r,S),E=hr(r,Y),g=hr(r,_),T=hr(r,j),k=hr(r,P),C=hr(r,Z),b=hr(r,x),F=hr(r,N),A=hr(r,U),B=vt(hr(r,L));if("iso8601"!==B&&B!==e[Oo])throw new RangeError("cannot format PlainDateTime with calendar ".concat(B," in locale with calendar ").concat(e[Oo]));var R=r;return"iso8601"===B&&(R=new n(D,E,g,T,k,C,b,F,A,e[Oo])),{instant:Ft(e[Mo],R,"compatible"),formatter:No(e,Bo)}}if(Ge(r))throw new TypeError("Temporal.ZonedDateTime not supported in DateTimeFormat methods. Use toLocaleString() instead.");return Ne(r)?{instant:r,formatter:No(e,Ro)}:{}}var na=Object.freeze({__proto__:null,DateTimeFormat:qo}),ta=function(){function r(e){if(i(this,r),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");var n=vo(e);ki(n),vr(this),cr(this,M,n)}return a(r,[{key:"epochSeconds",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");var r=hr(this,M);return C.toNumber(ao(r,re))}},{key:"epochMilliseconds",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");var r=C.BigInt(hr(this,M));return C.toNumber(ao(r,Qr))}},{key:"epochMicroseconds",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");return so(ao(C.BigInt(hr(this,M)),Xr))}},{key:"epochNanoseconds",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");return so(C.BigInt(hr(this,M)))}},{key:"add",value:function(r){if(!Ne(this))throw new TypeError("invalid receiver");return zi("add",this,r)}},{key:"subtract",value:function(r){if(!Ne(this))throw new TypeError("invalid receiver");return zi("subtract",this,r)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");return Mi("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");return Mi("since",this,r,e)}},{key:"round",value:function(e){if(!Ne(this))throw new TypeError("invalid receiver");if(void 0===e)throw new TypeError("options parameter is required");var n="string"==typeof e?wo("smallestUnit",e):yo(e),t=hn(n),i=sn(n,"halfExpand"),o=wn(n,"smallestUnit","time",yn);return cn(t,{hour:24,minute:1440,second:86400,millisecond:864e5,microsecond:864e8,nanosecond:864e11}[o],!0),new r(Vi(hr(this,M),t,o,i))}},{key:"equals",value:function(r){if(!Ne(this))throw new TypeError("invalid receiver");var e=Fn(r),n=hr(this,M),t=hr(e,M);return C.equal(C.BigInt(n),C.BigInt(t))}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");var n=yo(e),t=ln(n),i=sn(n,"trunc"),o=wn(n,"smallestUnit","time",void 0);if("hour"===o)throw new RangeError('smallestUnit must be a time unit other than "hour"');var a=n.timeZone;void 0!==a&&(a=mt(a));var u=dn(o,t),s=u.precision,v=u.unit,f=u.increment;return Ot(new r(Vi(hr(this,M),f,v,i)),a,s)}},{key:"toJSON",value:function(){if(!Ne(this))throw new TypeError("invalid receiver");return Ot(this,void 0,"auto")}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.Instant")}},{key:"toZonedDateTime",value:function(r){if(!Ne(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument in toZonedDateTime");var e=r.calendar;if(void 0===e)throw new TypeError("missing calendar property in toZonedDateTime");var n=ut(e),t=r.timeZone;if(void 0===t)throw new TypeError("missing timeZone property in toZonedDateTime");var i=mt(t);return Un(hr(this,M),i,n)}},{key:"toZonedDateTimeISO",value:function(r){if(!Ne(this))throw new TypeError("invalid receiver");var e=mt(r);return Un(hr(this,M),e,"iso8601")}}],[{key:"fromEpochSeconds",value:function(e){var n=pe(e),t=C.multiply(C.BigInt(n),re);return ki(t),new r(t)}},{key:"fromEpochMilliseconds",value:function(e){var n=pe(e),t=C.multiply(C.BigInt(n),Qr);return ki(t),new r(t)}},{key:"fromEpochMicroseconds",value:function(e){var n=vo(e),t=C.multiply(n,Xr);return ki(t),new r(t)}},{key:"fromEpochNanoseconds",value:function(e){var n=vo(e);return ki(n),new r(n)}},{key:"from",value:function(e){return Ne(e)?new r(hr(e,M)):Fn(e)}},{key:"compare",value:function(r,e){var n=Fn(r),t=Fn(e),i=hr(n,M),o=hr(t,M);return C.lessThan(i,o)?-1:C.greaterThan(i,o)?1:0}}]),r}();B(ta,"Temporal.Instant");var ia=Array.prototype.includes,oa=Array.prototype.push,aa=globalThis.Intl.DateTimeFormat,ua=Array.prototype.sort,sa=Math.abs,va=Math.floor,fa=Object.create,ha=Object.entries,ca=Set,la=Reflect.ownKeys,da=Set.prototype.add,ya=Set.prototype.values,wa={},ma=function(){function r(e){if(i(this,r),arguments.length<1)throw new RangeError("missing argument: id is required");var n=ge(e);if(!Do(n))throw new RangeError("invalid calendar identifier ".concat(n));vr(this),cr(this,ir,Eo(n))}return a(r,[{key:"id",get:function(){if(!Le(this))throw new TypeError("invalid receiver");return hr(this,ir)}},{key:"dateFromFields",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Le(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid fields");var n=yo(e),t=hr(this,ir);return wa[t].dateFromFields(r,n,t)}},{key:"yearMonthFromFields",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Le(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid fields");var n=yo(e),t=hr(this,ir);return wa[t].yearMonthFromFields(r,n,t)}},{key:"monthDayFromFields",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Le(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid fields");var n=yo(e),t=hr(this,ir);return wa[t].monthDayFromFields(r,n,t)}},{key:"fields",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e,n=[],t=new Set(["year","month","monthCode","day","hour","minute","second","millisecond","microsecond","nanosecond"]),i=T(r);try{for(i.s();!(e=i.n()).done;){var o=e.value;if("string"!=typeof o)throw new TypeError("invalid fields");if(!t.has(o))throw new RangeError("invalid field name ".concat(o));t.delete(o),oa.call(n,o)}}catch(r){i.e(r)}finally{i.f()}return wa[hr(this,ir)].fields(n)}},{key:"mergeFields",value:function(r,e){if(!Le(this))throw new TypeError("invalid receiver");var n=Ze(r),t=fa(null);xe(t,n,[],[void 0]);var i=Ze(e),o=fa(null);xe(o,i,[],[void 0]);var a,u=la(o),s=wa[hr(this,ir)].fieldKeysToIgnore(u),v=fa(null),f=T(la(t));try{for(f.s();!(a=f.n()).done;){var h,c=a.value;void 0!==(h=we(ia,s,[c])?o[c]:t[c])&&(v[c]=h)}}catch(r){f.e(r)}finally{f.f()}return xe(v,o,[]),v}},{key:"dateAdd",value:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!Le(this))throw new TypeError("invalid receiver");var t=Tn(r),i=bn(e),o=an(yo(n)),a=fi(hr(i,K),hr(i,X),hr(i,Q),hr(i,rr),hr(i,er),hr(i,nr),hr(i,tr),"day").days,u=hr(this,ir);return wa[u].dateAdd(t,hr(i,$),hr(i,G),hr(i,V),a,o,u)}},{key:"dateUntil",value:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!Le(this))throw new TypeError("invalid receiver");var t=Tn(r),i=Tn(e),o=wn(yo(n),"largestUnit","date","auto");"auto"===o&&(o="day");var a=wa[hr(this,ir)].dateUntil(t,i,o),u=a.years,s=a.months,v=a.weeks,f=a.days;return new(I("%Temporal.Duration%"))(u,s,v,f,0,0,0,0,0,0)}},{key:"year",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].year(e)}},{key:"month",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");if($e(e))throw new TypeError("use monthCode on PlainMonthDay instead");return He(e)||(e=Tn(e)),wa[hr(this,ir)].month(e)}},{key:"monthCode",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||$e(e)||(e=Tn(e)),wa[hr(this,ir)].monthCode(e)}},{key:"day",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return $e(e)||(e=Tn(e)),wa[hr(this,ir)].day(e)}},{key:"era",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].era(e)}},{key:"eraYear",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].eraYear(e)}},{key:"dayOfWeek",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e=Tn(r);return wa[hr(this,ir)].dayOfWeek(e)}},{key:"dayOfYear",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e=Tn(r);return wa[hr(this,ir)].dayOfYear(e)}},{key:"weekOfYear",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e=Tn(r);return wa[hr(this,ir)].weekOfYear(e)}},{key:"yearOfWeek",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e=Tn(r);return wa[hr(this,ir)].yearOfWeek(e)}},{key:"daysInWeek",value:function(r){if(!Le(this))throw new TypeError("invalid receiver");var e=Tn(r);return wa[hr(this,ir)].daysInWeek(e)}},{key:"daysInMonth",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].daysInMonth(e)}},{key:"daysInYear",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].daysInYear(e)}},{key:"monthsInYear",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].monthsInYear(e)}},{key:"inLeapYear",value:function(r){var e=r;if(!Le(this))throw new TypeError("invalid receiver");return He(e)||(e=Tn(e)),wa[hr(this,ir)].inLeapYear(e)}},{key:"toString",value:function(){if(!Le(this))throw new TypeError("invalid receiver");return hr(this,ir)}},{key:"toJSON",value:function(){if(!Le(this))throw new TypeError("invalid receiver");return hr(this,ir)}}],[{key:"from",value:function(r){return ft(ut(r))}}]),r}();function pa(r){if(!r.startsWith("M"))throw new RangeError("Invalid month code: ".concat(r,". Month codes must start with M."));var e=+r.slice(1);if(isNaN(e))throw new RangeError("Invalid month code: ".concat(r));return e}function Da(r){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"M".concat(r.toString().padStart(2,"0")).concat(e?"L":"")}function Ea(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,i=r.month,o=r.monthCode;if(void 0===o){if(void 0===i)throw new TypeError("Either month or monthCode are required");"reject"===e&&mi(i,1,t),"constrain"===e&&(i=yi(i,1,t)),o=Da(i)}else{var a=pa(o);if(void 0!==i&&i!==a)throw new RangeError("monthCode ".concat(o," and month ").concat(i," must match if both are present"));if(o!==Da(a))throw new RangeError("Invalid month code: ".concat(o));if((i=a)<1||i>t)throw new RangeError("Invalid monthCode: ".concat(o))}return n(n({},r),{},{month:i,monthCode:o})}B(ma,"Temporal.Calendar"),R("Temporal.Calendar.from",ma.from),R("Temporal.Calendar.prototype.dateAdd",ma.prototype.dateAdd),R("Temporal.Calendar.prototype.dateFromFields",ma.prototype.dateFromFields),R("Temporal.Calendar.prototype.dateUntil",ma.prototype.dateUntil),R("Temporal.Calendar.prototype.day",ma.prototype.day),R("Temporal.Calendar.prototype.dayOfWeek",ma.prototype.dayOfWeek),R("Temporal.Calendar.prototype.dayOfYear",ma.prototype.dayOfYear),R("Temporal.Calendar.prototype.daysInMonth",ma.prototype.daysInMonth),R("Temporal.Calendar.prototype.daysInWeek",ma.prototype.daysInWeek),R("Temporal.Calendar.prototype.daysInYear",ma.prototype.daysInYear),R("Temporal.Calendar.prototype.era",ma.prototype.era),R("Temporal.Calendar.prototype.eraYear",ma.prototype.eraYear),R("Temporal.Calendar.prototype.fields",ma.prototype.fields),R("Temporal.Calendar.prototype.inLeapYear",ma.prototype.inLeapYear),R("Temporal.Calendar.prototype.mergeFields",ma.prototype.mergeFields),R("Temporal.Calendar.prototype.month",ma.prototype.month),R("Temporal.Calendar.prototype.monthCode",ma.prototype.monthCode),R("Temporal.Calendar.prototype.monthDayFromFields",ma.prototype.monthDayFromFields),R("Temporal.Calendar.prototype.monthsInYear",ma.prototype.monthsInYear),R("Temporal.Calendar.prototype.weekOfYear",ma.prototype.weekOfYear),R("Temporal.Calendar.prototype.year",ma.prototype.year),R("Temporal.Calendar.prototype.yearMonthFromFields",ma.prototype.yearMonthFromFields),R("Temporal.Calendar.prototype.yearOfWeek",ma.prototype.yearOfWeek),wa.iso8601={dateFromFields:function(r,e,n){var t=En(r,["day","month","monthCode","year"],["year","day"]),i=an(e),o=t=Ea(t),a=o.year,u=o.month,s=o.day,v=nn(a,u,s,i);return Sn(a=v.year,u=v.month,s=v.day,n)},yearMonthFromFields:function(r,e,n){var t=En(r,["month","monthCode","year"],["year"]),i=an(e),o=t=Ea(t),a=o.year,u=o.month,s=function(r,e,n){var t=r,i=e;switch(n){case"reject":pi(t,i,1);break;case"constrain":var o=wi(t,i);t=o.year,i=o.month}return{year:t,month:i}}(a,u,i);return xn(a=s.year,u=s.month,n,1)},monthDayFromFields:function(r,e,n){var t=En(r,["day","month","monthCode","year"],["day"]),i=an(e);if(void 0!==t.month&&void 0===t.year&&void 0===t.monthCode)throw new TypeError("either year or monthCode required with month");var o=void 0===t.monthCode,a=t=Ea(t),u=a.month,s=a.day,v=nn(o?a.year:1972,u,s,i);return Pn(u=v.month,s=v.day,n,1972)},fields:function(r){return r},fieldKeysToIgnore:function(r){for(var e=new ca,n=0;n<r.length;n++){var t=r[n];we(da,e,[t]),"month"===t?we(da,e,["monthCode"]):"monthCode"===t&&we(da,e,["month"])}return D(we(ya,e,[]))},dateAdd:function(r,e,n,t,i,o,a){var u=hr(r,S),s=hr(r,Y),v=hr(r,_),f=Pi(u,s,v,e,n,t,i,o);return Sn(u=f.year,s=f.month,v=f.day,a)},dateUntil:function(r,e,n){return bi(hr(r,S),hr(r,Y),hr(r,_),hr(e,S),hr(e,Y),hr(e,_),n)},year:function(r){return hr(r,S)},era:function(){},eraYear:function(){},month:function(r){return hr(r,Y)},monthCode:function(r){return Da(hr(r,Y))},day:function(r){return hr(r,_)},dayOfWeek:function(r){return ri(hr(r,S),hr(r,Y),hr(r,_))},dayOfYear:function(r){return ei(hr(r,S),hr(r,Y),hr(r,_))},weekOfYear:function(r){return ni(hr(r,S),hr(r,Y),hr(r,_)).week},yearOfWeek:function(r){return ni(hr(r,S),hr(r,Y),hr(r,_)).year},daysInWeek:function(){return 7},daysInMonth:function(r){return Qt(hr(r,S),hr(r,Y))},daysInYear:function(r){var e=r;return fr(e,S)||(e=Tn(e)),Xt(hr(e,S))?366:365},monthsInYear:function(){return 12},inLeapYear:function(r){var e=r;return fr(e,S)||(e=Tn(e)),Xt(hr(e,S))}};var ga=function(){function r(e){if(i(this,r),this.map=new Map,this.calls=0,this.hits=0,this.misses=0,this.now=globalThis.performance?globalThis.performance.now():Date.now(),void 0!==e){var n,t=0,o=T(e.map.entries());try{for(o.s();!(n=o.n()).done;){var a,u=n.value;if(++t>r.MAX_CACHE_ENTRIES)break;(a=this.map).set.apply(a,D(u))}}catch(e){o.e(e)}finally{o.f()}}}return a(r,[{key:"get",value:function(r){var e=this.map.get(r);return e&&(this.hits++,this.report()),this.calls++,e}},{key:"set",value:function(r,e){this.map.set(r,e),this.misses++,this.report()}},{key:"report",value:function(){}},{key:"setObject",value:function(e){if(r.objectMap.get(e))throw new RangeError("object already cached");r.objectMap.set(e,this),this.report()}}],[{key:"getCacheForObject",value:function(e){var n=r.objectMap.get(e);return n||(n=new r,r.objectMap.set(e,n)),n}}]),r}();function Ta(r){var e=r.isoMonth,n=r.isoDay,t=Rt(r.isoYear),i=It(e),o=It(n);return"".concat(t,"-").concat(i,"-").concat(o,"T00:00Z")}function ka(r,e){return{years:r.year-e.year,months:r.month-e.month,days:r.day-e.day}}ga.objectMap=new WeakMap,ga.MAX_CACHE_ENTRIES=1e3;var Ca=function(){function r(){i(this,r),this.eraLength="short",this.hasEra=!0,this.erasBeginMidYear=!1}return a(r,[{key:"getFormatter",value:function(){return void 0===this.formatter&&(this.formatter=new aa("en-US-u-ca-".concat(this.id),{day:"numeric",month:"numeric",year:"numeric",era:this.eraLength,timeZone:"UTC"})),this.formatter}},{key:"isoToCalendarDate",value:function(r,e){var n=this,t=r.year,i=r.month,o=r.day,a=JSON.stringify({func:"isoToCalendarDate",isoYear:t,isoMonth:i,isoDay:o,id:this.id}),u=e.get(a);if(u)return u;var s,v,f=this.getFormatter();try{v=Ta({isoYear:t,isoMonth:i,isoDay:o}),s=f.formatToParts(new Date(v))}catch(r){throw new RangeError("Invalid ISO date: ".concat(JSON.stringify({isoYear:t,isoMonth:i,isoDay:o})))}var h,c={},l=T(s);try{for(l.s();!(h=l.n()).done;){var d=h.value,y=d.type,w=d.value;if("year"===y&&(c.eraYear=+w),"relatedYear"===y&&(c.eraYear=+w),"month"===y){var m=/^([0-9]*)(.*?)$/.exec(w);if(!m||3!=m.length||!m[1]&&!m[2])throw new RangeError("Unexpected month: ".concat(w));if(c.month=m[1]?+m[1]:1,c.month<1)throw new RangeError("Invalid month ".concat(w," from ").concat(v,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10527)");if(c.month>13)throw new RangeError("Invalid month ".concat(w," from ").concat(v,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10529)");m[2]&&(c.monthExtra=m[2])}"day"===y&&(c.day=+w),this.hasEra&&"era"===y&&null!=w&&""!==w&&(w=w.split(" (")[0],c.era=w.normalize("NFD").replace(/(?:(?![ \x2D0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])[\s\S])/g,"").replace(" ","-").toLowerCase())}}catch(r){l.e(r)}finally{l.f()}if(void 0===c.eraYear)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(this.id," calendar. Try Node 14+ or modern browsers."));if(this.reviseIntlEra){var p=this.reviseIntlEra(c,r),D=p.eraYear;c.era=p.era,c.eraYear=D}this.checkIcuBugs&&this.checkIcuBugs(r);var E=this.adjustCalendarDate(c,e,"constrain",!0);if(void 0===E.year)throw new RangeError("Missing year converting ".concat(JSON.stringify(r)));if(void 0===E.month)throw new RangeError("Missing month converting ".concat(JSON.stringify(r)));if(void 0===E.day)throw new RangeError("Missing day converting ".concat(JSON.stringify(r)));return e.set(a,E),["constrain","reject"].forEach((function(t){var i=JSON.stringify({func:"calendarToIsoDate",year:E.year,month:E.month,day:E.day,overflow:t,id:n.id});e.set(i,r)})),E}},{key:"validateCalendarDate",value:function(r){var e=r.era,n=r.month,i=r.year,o=r.day,a=r.eraYear,u=r.monthCode;if(void 0!==r.monthExtra)throw new RangeError("Unexpected `monthExtra` value");if(void 0===i&&void 0===a)throw new TypeError("year or eraYear is required");if(void 0===n&&void 0===u)throw new TypeError("month or monthCode is required");if(void 0===o)throw new RangeError("Missing day");if(void 0!==u){if("string"!=typeof u)throw new RangeError("monthCode must be a string, not ".concat(t(u)));if(!/^M([01]?\d)(L?)$/.test(u))throw new RangeError("Invalid monthCode: ".concat(u))}if(this.constantEra){if(void 0!==e&&e!==this.constantEra)throw new RangeError("era must be ".concat(this.constantEra,", not ").concat(e));if(void 0!==a&&void 0!==i&&a!==i)throw new RangeError("eraYear ".concat(a," does not match year ").concat(i))}if(this.hasEra&&void 0===r.era!=(void 0===r.eraYear))throw new RangeError("properties 'era' and 'eraYear' must be provided together")}},{key:"adjustCalendarDate",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain";if("lunisolar"===this.calendarType)throw new RangeError("Override required for lunisolar calendars");var i=r;if(this.validateCalendarDate(i),this.constantEra){var o=i.year,a=i.eraYear;i=n(n({},i),{},{era:this.constantEra,year:void 0!==o?o:a,eraYear:void 0!==a?a:o})}var u,s,v=this.monthsInYear(i,e),f=Ea(i,t,v);return u=f.month,s=f.monthCode,n(n({},i),{},{month:u,monthCode:s})}},{key:"regulateMonthDayNaive",value:function(r,e,t){var i=this.monthsInYear(r,t),o=r.month,a=r.day;return"reject"===e?(mi(o,1,i),mi(a,1,this.maximumMonthLength(r))):(o=yi(o,1,i),a=yi(a,1,this.maximumMonthLength(n(n({},r),{},{month:o})))),n(n({},r),{},{month:o,day:a})}},{key:"calendarToIsoDate",value:function(r){var e,t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"constrain",o=arguments.length>2?arguments[2]:void 0,a=r,u=this.adjustCalendarDate(r,o,i,!1),s=u=this.regulateMonthDayNaive(u,i,o),v=s.year,f=s.month,h=s.day,c=JSON.stringify({func:"calendarToIsoDate",year:v,month:f,day:h,overflow:i,id:this.id}),l=o.get(c);if(l)return l;if(void 0!==a.year&&void 0!==a.month&&void 0!==a.day&&(a.year!==u.year||a.month!==u.month||a.day!==u.day)&&(e=JSON.stringify({func:"calendarToIsoDate",year:a.year,month:a.month,day:a.day,overflow:i,id:this.id}),l=o.get(e)))return l;var d=this.estimateIsoDate({year:v,month:f,day:h}),y=function(r){var e=t.addDaysIso(d,r);if(u.day>t.minimumMonthLength(u))for(var n=t.isoToCalendarDate(e,o);n.month!==f||n.year!==v;){if("reject"===i)throw new RangeError("day ".concat(h," does not exist in month ").concat(f," of year ").concat(v));e=t.addDaysIso(e,-1),n=t.isoToCalendarDate(e,o)}return e},w=0,m=this.isoToCalendarDate(d,o),p=ka(u,m);0===p.years&&0===p.months&&0===p.days||(d=this.addDaysIso(d,365*p.years+30*p.months+p.days),m=this.isoToCalendarDate(d,o),0===(p=ka(u,m)).years&&0===p.months?d=y(p.days):w=this.compareCalendarDates(u,m));for(var D=8;w;){d=this.addDaysIso(d,w*D);var E=m;m=this.isoToCalendarDate(d,o);var g=w;if(w=this.compareCalendarDates(u,m))if(0===(p=ka(u,m)).years&&0===p.months)d=y(p.days),w=0;else if(g&&w!==g)if(D>1)D/=2;else{if("reject"===i)throw new RangeError("Can't find ISO date from calendar date: ".concat(JSON.stringify(n({},a))));this.compareCalendarDates(m,E)>0&&(d=this.addDaysIso(d,-1)),w=0}}if(o.set(c,d),e&&o.set(e,d),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 d}},{key:"temporalToCalendarDate",value:function(r,e){var n={year:hr(r,S),month:hr(r,Y),day:hr(r,_)};return this.isoToCalendarDate(n,e)}},{key:"compareCalendarDates",value:function(r,e){var n=En(r,["day","month","year"],["day","month","year"]),t=En(e,["day","month","year"],["day","month","year"]);return n.year!==t.year?lo(n.year-t.year):n.month!==t.month?lo(n.month-t.month):n.day!==t.day?lo(n.day-t.day):0}},{key:"regulateDate",value:function(r){var e=arguments.length>2?arguments[2]:void 0,n=this.calendarToIsoDate(r,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"constrain",e);return this.isoToCalendarDate(n,e)}},{key:"addDaysIso",value:function(r,e){return Pi(r.year,r.month,r.day,0,0,0,e,"constrain")}},{key:"addDaysCalendar",value:function(r,e,n){var t=this.calendarToIsoDate(r,"constrain",n),i=this.addDaysIso(t,e);return this.isoToCalendarDate(i,n)}},{key:"addMonthsCalendar",value:function(r,e,t,i){for(var o=r,a=o.day,u=0,s=sa(e);u<s;u++){var v=o.month,f=o,h=e<0?-Math.max(a,this.daysInPreviousMonth(o,i)):this.daysInMonth(o,i),c=this.calendarToIsoDate(o,"constrain",i),l=this.addDaysIso(c,h);if(o=this.isoToCalendarDate(l,i),e>0)for(var d=this.monthsInYear(f,i);o.month-1!=v%d;)l=this.addDaysIso(l,-1),o=this.isoToCalendarDate(l,i);o.day!==a&&(o=this.regulateDate(n(n({},o),{},{day:a}),"constrain",i))}if("reject"===t&&o.day!==a)throw new RangeError("Day ".concat(a," does not exist in resulting calendar month"));return o}},{key:"addCalendar",value:function(r,e,n,t){var i=e.years,o=e.months,a=void 0===o?0:o,u=e.weeks,s=void 0===u?0:u,v=e.days,f=void 0===v?0:v,h=this.adjustCalendarDate({year:r.year+(void 0===i?0:i),monthCode:r.monthCode,day:r.day},t),c=this.addMonthsCalendar(h,a,n,t);return this.addDaysCalendar(c,f+7*s,t)}},{key:"untilCalendar",value:function(r,e,t,i){var o=0,a=0,u=0,s=0;switch(t){case"day":o=this.calendarDaysUntil(r,e,i);break;case"week":var v=this.calendarDaysUntil(r,e,i);a=(v-(o=v%7))/7;break;case"month":case"year":var f=this.compareCalendarDates(e,r);if(!f)return{years:0,months:0,weeks:0,days:0};var h=e.year-r.year;if("year"===t&&h){var c=0;e.monthCode>r.monthCode&&(c=1),e.monthCode<r.monthCode&&(c=-1),c||(c=Math.sign(e.day-r.day)),s=c*f<0?h-f:h}var l,d=s?this.addCalendar(r,{years:s},"constrain",i):r;do{u+=f,(d=this.addMonthsCalendar(l=d,f,"constrain",i)).day!==r.day&&(d=this.regulateDate(n(n({},d),{},{day:r.day}),"constrain",i))}while(this.compareCalendarDates(e,d)*f>=0);u-=f,o=this.calendarDaysUntil(l,e,i)}return{years:s,months:u,weeks:a,days:o}}},{key:"daysInMonth",value:function(r,e){var n=r.day,t=this.maximumMonthLength(r),i=this.minimumMonthLength(r);if(i===t)return i;var o=n<=t-i?t:i,a=this.calendarToIsoDate(r,"constrain",e),u=this.addDaysIso(a,o),s=this.isoToCalendarDate(u,e),v=this.addDaysIso(u,-s.day);return this.isoToCalendarDate(v,e).day}},{key:"daysInPreviousMonth",value:function(r,e){var t=r.day,i=r.month,o=r.year,a={year:i>1?o:o-1,month:i,day:1},u=i>1?i-1:this.monthsInYear(a,e);a=n(n({},a),{},{month:u});var s=this.minimumMonthLength(a),v=this.maximumMonthLength(a);if(s===v)return v;var f=this.calendarToIsoDate(r,"constrain",e),h=this.addDaysIso(f,-t);return this.isoToCalendarDate(h,e).day}},{key:"startOfCalendarYear",value:function(r){return{year:r.year,month:1,monthCode:"M01",day:1}}},{key:"startOfCalendarMonth",value:function(r){return{year:r.year,month:r.month,day:1}}},{key:"calendarDaysUntil",value:function(r,e,n){var t=this.calendarToIsoDate(r,"constrain",n),i=this.calendarToIsoDate(e,"constrain",n);return this.isoDaysUntil(t,i)}},{key:"isoDaysUntil",value:function(r,e){return bi(r.year,r.month,r.day,e.year,e.month,e.day,"day").days}},{key:"monthDayFromFields",value:function(r,e,n){var t,i,o=r.monthCode,a=r.day;if(void 0===o){if(void 0===r.year&&(void 0===r.era||void 0===r.eraYear))throw new TypeError("when `monthCode` is omitted, `year` (or `era` and `eraYear`) and `month` are required");var u=this.isoToCalendarDate(this.calendarToIsoDate(r,e,n),n);o=u.monthCode,a=u.day}for(var s=this.isoToCalendarDate({year:1972,month:12,day:31},n),v=s.monthCode>o||s.monthCode===o&&s.day>=a?s.year:s.year-1,f=0;f<100;f++){var h=this.adjustCalendarDate({day:a,monthCode:o,year:v-f},n),c=this.calendarToIsoDate(h,"constrain",n),l=this.isoToCalendarDate(c,n);if(l.monthCode===o&&l.day===a)return{month:c.month,day:c.day,year:c.year};"constrain"===e&&(void 0===t||l.monthCode===t.monthCode&&l.day>t.day)&&(t=l,i=c)}if("constrain"===e&&void 0!==i)return i;throw new RangeError("No recent ".concat(this.id," year with monthCode ").concat(o," and day ").concat(a))}}]),r}(),ba=function(r){s(t,r);var e=w(t);function t(){var r;return i(this,t),(r=e.apply(this,arguments)).id="hebrew",r.calendarType="lunisolar",r.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}},r.hasEra=!1,r}return a(t,[{key:"inLeapYear",value:function(r){return(7*r.year+1)%19<7}},{key:"monthsInYear",value:function(r){return this.inLeapYear(r)?13:12}},{key:"minimumMonthLength",value:function(r){return this.minMaxMonthLength(r,"min")}},{key:"maximumMonthLength",value:function(r){return this.minMaxMonthLength(r,"max")}},{key:"minMaxMonthLength",value:function(r,e){var n=r.month,t=this.getMonthCode(r.year,n),i=ha(this.months).find((function(r){return r[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[e]}},{key:"estimateIsoDate",value:function(r){return{year:r.year-3760,month:1,day:1}}},{key:"getMonthCode",value:function(r,e){return this.inLeapYear({year:r})?6===e?Da(5,!0):Da(e<6?e:e-1):Da(e)}},{key:"adjustCalendarDate",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",i=r.year,o=r.eraYear,a=r.month,u=r.monthCode,s=r.day,v=r.monthExtra;if(void 0===i&&void 0!==o&&(i=o),void 0===o&&void 0!==i&&(o=i),arguments.length>3&&void 0!==arguments[3]&&arguments[3]){if(v){var f=this.months[v];if(!f)throw new RangeError("Unrecognized month from formatToParts: ".concat(v));a=this.inLeapYear({year:i})?f.leap:f.regular}return{year:i,month:a,day:s,era:void 0,eraYear:o,monthCode:u=this.getMonthCode(i,a)}}if(this.validateCalendarDate(r),void 0===a)if(u.endsWith("L")){if("M05L"!==u)throw new RangeError("Hebrew leap month must have monthCode M05L, not ".concat(u));if(a=6,!this.inLeapYear({year:i})){if("reject"===t)throw new RangeError("Hebrew monthCode M05L is invalid in year ".concat(i," which is not a leap year"));a=6,u="M06"}}else{a=pa(u),this.inLeapYear({year:i})&&a>=6&&a++;var h=this.monthsInYear({year:i});if(a<1||a>h)throw new RangeError("Invalid monthCode: ".concat(u))}else if("reject"===t?(mi(a,1,this.monthsInYear({year:i})),mi(s,1,this.maximumMonthLength({year:i,month:a}))):(a=yi(a,1,this.monthsInYear({year:i})),s=yi(s,1,this.maximumMonthLength({year:i,month:a}))),void 0===u)u=this.getMonthCode(i,a);else if(this.getMonthCode(i,a)!==u)throw new RangeError("monthCode ".concat(u," doesn't correspond to month ").concat(a," in Hebrew year ").concat(i));return n(n({},r),{},{day:s,month:a,monthCode:u,year:i,eraYear:o})}}]),t}(Ca),Fa=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).calendarType="lunar",r.DAYS_PER_ISLAMIC_YEAR=354+11/30,r.DAYS_PER_ISO_YEAR=365.2425,r.constantEra="ah",r}return a(n,[{key:"inLeapYear",value:function(r,e){return 30===this.daysInMonth({year:r.year,month:12,day:1},e)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"estimateIsoDate",value:function(r){var e=this.adjustCalendarDate(r).year;return{year:va(e*this.DAYS_PER_ISLAMIC_YEAR/this.DAYS_PER_ISO_YEAR)+622,month:1,day:1}}}]),n}(Ca),Aa=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamic",r}return a(n)}(Fa),Ba=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamic-umalqura",r}return a(n)}(Fa),Ra=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamic-tbla",r}return a(n)}(Fa),Ia=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamic-civil",r}return a(n)}(Fa),Ma=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamic-rgsa",r}return a(n)}(Fa),Oa=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="islamicc",r}return a(n)}(Fa),Sa=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="persian",r.calendarType="solar",r.constantEra="ap",r}return a(n,[{key:"inLeapYear",value:function(r,e){return Aa.prototype.inLeapYear.call(this,r,e)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){var e=r.month;return 12===e?29:e<=6?31:30}},{key:"maximumMonthLength",value:function(r){var e=r.month;return 12===e?30:e<=6?31:30}},{key:"estimateIsoDate",value:function(r){return{year:this.adjustCalendarDate(r).year+621,month:1,day:1}}}]),n}(Ca),Ya=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="indian",r.calendarType="solar",r.constantEra="saka",r.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}},r.vulnerableToBceBug="10/11/-79 Saka"!==new Date("0000-01-01T00:00Z").toLocaleDateString("en-US-u-ca-indian",{timeZone:"UTC"}),r}return a(n,[{key:"inLeapYear",value:function(r){return _a(r.year+78)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){return this.getMonthInfo(r).length}},{key:"maximumMonthLength",value:function(r){return this.getMonthInfo(r).length}},{key:"getMonthInfo",value:function(r){var e=r.month,n=this.months[e];if(void 0===n)throw new RangeError("Invalid month: ".concat(e));return this.inLeapYear(r)&&n.leap&&(n=n.leap),n}},{key:"estimateIsoDate",value:function(r){var e=this.adjustCalendarDate(r),n=this.getMonthInfo(e);return Pi(e.year+78+(n.nextYear?1:0),n.month,n.day,0,0,0,e.day-1,"constrain")}},{key:"checkIcuBugs",value:function(r){if(this.vulnerableToBceBug&&r.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}(Ca);function _a(r){return r%4==0&&(r%100!=0||r%400==0)}for(var ja=function(r){s(t,r);var e=w(t);function t(r,n){var o;i(this,t),(o=e.call(this)).calendarType="solar",o.v8IsVulnerableToJulianBug=new Date("+001001-01-01T00:00Z").toLocaleDateString("en-US-u-ca-japanese",{timeZone:"UTC"}).startsWith("12"),o.calendarIsVulnerableToJulianBug=!1,o.id=r;var a=function(r){var e,n=r;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].name)throw new RangeError("Invalid era data: at least one named era is required");if(n.filter((function(r){return null!=r.reverseOf})).length>1)throw new RangeError("Invalid era data: only one era can count years backwards");n.forEach((function(r){if(r.isAnchor||!r.anchorEpoch&&!r.reverseOf){if(e)throw new RangeError("Invalid era data: cannot have multiple anchor eras");e=r,r.anchorEpoch={year:r.hasYearZero?0:1}}else if(!r.name)throw new RangeError("If era name is blank, it must be the anchor era")})),(n=n.filter((function(r){return r.name}))).forEach((function(r){var e=r.reverseOf;if(e){var t=n.find((function(r){return r.name===e}));if(void 0===t)throw new RangeError("Invalid era data: unmatched reverseOf era: ".concat(e));r.reverseOf=t,r.anchorEpoch=t.anchorEpoch,r.isoEpoch=t.isoEpoch}void 0===r.anchorEpoch.month&&(r.anchorEpoch.month=1),void 0===r.anchorEpoch.day&&(r.anchorEpoch.day=1)})),ua.call(n,(function(r,e){if(r.reverseOf)return 1;if(e.reverseOf)return-1;if(!r.isoEpoch||!e.isoEpoch)throw new RangeError("Invalid era data: missing ISO epoch");return e.isoEpoch.year-r.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(r,e){r.genericName="era".concat(n.length-1-e)})),{eras:n,anchorEra:e||n[0]}}(n),u=a.eras;return o.anchorEra=a.anchorEra,o.eras=u,o}return a(t,[{key:"inLeapYear",value:function(r){return _a(this.estimateIsoDate({month:1,day:1,year:r.year}).year)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){var e=r.month;return 2===e?this.inLeapYear(r)?29:28:[4,6,9,11].indexOf(e)>=0?30:31}},{key:"maximumMonthLength",value:function(r){return this.minimumMonthLength(r)}},{key:"completeEraYear",value:function(r){var e=this,t=function(e,n){var t=r[e];if(null!=t&&t!=n)throw new RangeError("Input ".concat(e," ").concat(t," doesn't match calculated value ").concat(n))},i=function(t){var i,o=n(n({},r),{},{year:t}),a=e.eras.find((function(r,n){if(n===e.eras.length-1){if(r.reverseOf){if(t>0)throw new RangeError("Signed year ".concat(t," is invalid for era ").concat(r.name));return i=r.anchorEpoch.year-t,!0}return i=t-r.anchorEpoch.year+(r.hasYearZero?0:1),!0}return e.compareCalendarDates(o,r.anchorEpoch)>=0&&(i=t-r.anchorEpoch.year+(r.hasYearZero?0:1),!0)}));if(!a)throw new RangeError("Year ".concat(t," was not matched by any era"));return{eraYear:i,era:a.name}},o=r.year,a=r.eraYear,u=r.era;if(null!=o){var s=i(o);a=s.eraYear,t("era",u=s.era),t("eraYear",a)}else{if(null==a)throw new RangeError("Either `year` or `eraYear` and `era` are required");var v=void 0===u?void 0:this.eras.find((function(r){return r.name===u||r.genericName===u}));if(!v)throw new RangeError("Era ".concat(u," (ISO year ").concat(a,") was not matched by any era"));if(a<1&&v.reverseOf)throw new RangeError("Years in ".concat(u," era must be positive, not ").concat(o));t("year",o=v.reverseOf?v.anchorEpoch.year-a:a+v.anchorEpoch.year-(v.hasYearZero?0:1));var f=i(o);a=f.eraYear,u=f.era}return n(n({},r),{},{year:o,eraYear:a,era:u})}},{key:"adjustCalendarDate",value:function(r,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",o=r,a=o.monthCode;return void 0===o.month&&(o=n(n({},o),{},{month:pa(a)})),this.validateCalendarDate(o),o=this.completeEraYear(o),m(v(t.prototype),"adjustCalendarDate",this).call(this,o,e,i)}},{key:"estimateIsoDate",value:function(r){var e=this.adjustCalendarDate(r),n=this.anchorEra;return nn(e.year+n.isoEpoch.year-(n.hasYearZero?0:1),e.month,e.day,"constrain")}},{key:"checkIcuBugs",value:function(r){if(this.calendarIsVulnerableToJulianBug&&this.v8IsVulnerableToJulianBug&&io(r.year,r.month,r.day,1582,10,15)<0)throw new RangeError("calendar '".concat(this.id,"' is broken for ISO dates before 1582-10-15")+" (see https://bugs.chromium.org/p/chromium/issues/detail?id=1173158)")}}]),t}(Ca),Pa=function(r){s(n,r);var e=w(n);function n(r,t){return i(this,n),e.call(this,r,t)}return a(n,[{key:"inLeapYear",value:function(r){return(r.year+1)%4==0}},{key:"monthsInYear",value:function(){return 13}},{key:"minimumMonthLength",value:function(r){return 13===r.month?this.inLeapYear(r)?6:5:30}},{key:"maximumMonthLength",value:function(r){return this.minimumMonthLength(r)}}]),n}(ja),Za=function(r){s(n,r);var e=w(n);function n(){return i(this,n),e.call(this,"ethioaa",[{name:"era0",isoEpoch:{year:-5492,month:7,day:17}}])}return a(n)}(Pa),xa=function(r){s(n,r);var e=w(n);function n(){return i(this,n),e.call(this,"coptic",[{name:"era1",isoEpoch:{year:284,month:8,day:29}},{name:"era0",reverseOf:"era1"}])}return a(n)}(Pa),Na=function(r){s(n,r);var e=w(n);function n(){return i(this,n),e.call(this,"ethiopic",[{name:"era0",isoEpoch:{year:-5492,month:7,day:17}},{name:"era1",isoEpoch:{year:8,month:8,day:27},anchorEpoch:{year:5501}}])}return a(n)}(Pa),Ua=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.call(this,"roc",[{name:"minguo",isoEpoch:{year:1912,month:1,day:1}},{name:"before-roc",reverseOf:"minguo"}])).calendarIsVulnerableToJulianBug=!0,r}return a(n)}(ja),La=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.call(this,"buddhist",[{name:"be",hasYearZero:!0,isoEpoch:{year:-543,month:1,day:1}}])).calendarIsVulnerableToJulianBug=!0,r}return a(n)}(ja),qa=function(r){s(n,r);var e=w(n);function n(){return i(this,n),e.call(this,"gregory",[{name:"ce",isoEpoch:{year:1,month:1,day:1}},{name:"bce",reverseOf:"ce"}])}return a(n,[{key:"reviseIntlEra",value:function(r){var e=r.era;return"bc"!==e&&"b"!==e||(e="bce"),"ad"!==e&&"a"!==e||(e="ce"),{era:e,eraYear:r.eraYear}}}]),n}(ja),za=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.call(this,"japanese",[{name:"reiwa",isoEpoch:{year:2019,month:5,day:1},anchorEpoch:{year:2019,month:5,day:1}},{name:"heisei",isoEpoch:{year:1989,month:1,day:8},anchorEpoch:{year:1989,month:1,day:8}},{name:"showa",isoEpoch:{year:1926,month:12,day:25},anchorEpoch:{year:1926,month:12,day:25}},{name:"taisho",isoEpoch:{year:1912,month:7,day:30},anchorEpoch:{year:1912,month:7,day:30}},{name:"meiji",isoEpoch:{year:1868,month:9,day:8},anchorEpoch:{year:1868,month:9,day:8}},{name:"ce",isoEpoch:{year:1,month:1,day:1}},{name:"bce",reverseOf:"ce"}])).calendarIsVulnerableToJulianBug=!0,r.eraLength="long",r.erasBeginMidYear=!0,r}return a(n,[{key:"reviseIntlEra",value:function(r,e){var n=r.era,t=r.eraYear,i=e.year;return this.eras.find((function(r){return r.name===n}))?{era:n,eraYear:t}:i<1?{era:"bce",eraYear:1-i}:{era:"ce",eraYear:i}}}]),n}(ja),Wa=function(r){s(t,r);var e=w(t);function t(){var r;return i(this,t),(r=e.apply(this,arguments)).calendarType="lunisolar",r.hasEra=!1,r}return a(t,[{key:"inLeapYear",value:function(r,e){var n=this.getMonthList(r.year,e);return 13===ha(n).length}},{key:"monthsInYear",value:function(r,e){return this.inLeapYear(r,e)?13:12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"getMonthList",value:function(r,e){var n=this;if(void 0===r)throw new TypeError("Missing year");var t=JSON.stringify({func:"getMonthList",calendarYear:r,id:this.id}),i=e.get(t);if(i)return i;var o=this.getFormatter(),a=function(r,e){var t=Ta({isoYear:r,isoMonth:2,isoDay:1}),i=new Date(t);i.setUTCDate(e+1);var a=o.formatToParts(i),u=a.find((function(r){return"month"===r.type})).value,s=+a.find((function(r){return"day"===r.type})).value,v=a.find((function(r){return"relatedYear"===r.type}));if(void 0===v)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(n.id," calendar. Try Node 14+ or modern browsers."));return{calendarMonthString:u,calendarDay:s,calendarYearToVerify:v=+v.value}},u=17,s=a(r,u),v=s.calendarMonthString,f=s.calendarDay,h=s.calendarYearToVerify;if("1"!==v){var c=a(r,u+=29);v=c.calendarMonthString,f=c.calendarDay}u-=f-5;var l,d,y={},w=1,m=!1;do{var p=a(r,u);v=p.calendarMonthString,f=p.calendarDay,h=p.calendarYearToVerify,l&&(y[d].daysInMonth=l+30-f),h!==r?m=!0:(y[v]={monthIndex:w++},u+=30),l=f,d=v}while(!m);return y[d].daysInMonth=l+30-f,e.set(t,y),y}},{key:"estimateIsoDate",value:function(r){var e=r.month;return{year:r.year,month:e>=12?12:e+1,day:1}}},{key:"adjustCalendarDate",value:function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"constrain",i=r.year,o=r.month,a=r.monthExtra,u=r.day,s=r.monthCode,v=r.eraYear;if(arguments.length>3&&void 0!==arguments[3]&&arguments[3]){if(i=v,a&&"bis"!==a)throw new RangeError("Unexpected leap month suffix: ".concat(a));var f=Da(o,void 0!==a),h="".concat(o).concat(a||""),c=this.getMonthList(i,e)[h];if(void 0===c)throw new RangeError("Unmatched month ".concat(h," in Chinese year ").concat(i));return{year:i,month:o=c.monthIndex,day:u,era:void 0,eraYear:v,monthCode:f}}if(this.validateCalendarDate(r),void 0===i&&(i=v),void 0===v&&(v=i),void 0===o){var l=this.getMonthList(i,e),d=s.replace("L","bis").slice(1);"0"===d[0]&&(d=d.slice(1));var y=l[d];if(void 0===(o=y&&y.monthIndex)&&s.endsWith("L")&&"M13L"!=s&&"constrain"===t){var w=s.slice(1,-1);"0"===w[0]&&(w=w.slice(1)),(y=l[w])&&(o=y.monthIndex,s=Da(w))}if(void 0===o)throw new RangeError("Unmatched month ".concat(s," in Chinese year ").concat(i))}else if(void 0===s){var m=this.getMonthList(i,e),D=ha(m),E=D.length;"reject"===t?(mi(o,1,E),mi(u,1,this.maximumMonthLength())):(o=yi(o,1,E),u=yi(u,1,this.maximumMonthLength()));var g=D.find((function(r){return p(r,2)[1].monthIndex===o}));if(void 0===g)throw new RangeError("Invalid month ".concat(o," in Chinese year ").concat(i));s=Da(g[0].replace("bis",""),-1!==g[0].indexOf("bis"))}else{var T=this.getMonthList(i,e),k=s.replace("L","bis").slice(1);"0"===k[0]&&(k=k.slice(1));var C=T[k];if(!C)throw new RangeError("Unmatched monthCode ".concat(s," in Chinese year ").concat(i));if(o!==C.monthIndex)throw new RangeError("monthCode ".concat(s," doesn't correspond to month ").concat(o," in Chinese year ").concat(i))}return n(n({},r),{},{year:i,eraYear:v,month:o,monthCode:s,day:u})}}]),t}(Ca),Ja=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="chinese",r}return a(n)}(Wa),Ha=function(r){s(n,r);var e=w(n);function n(){var r;return i(this,n),(r=e.apply(this,arguments)).id="dangi",r}return a(n)}(Wa),$a=function(){function r(e){i(this,r),this.helper=e}return a(r,[{key:"dateFromFields",value:function(r,e,n){var t=new ga,i=En(r,this.fields(["day","month","monthCode","year"]),[]),o=an(e),a=this.helper.calendarToIsoDate(i,o,t),u=Sn(a.year,a.month,a.day,n);return t.setObject(u),u}},{key:"yearMonthFromFields",value:function(r,e,t){var i=new ga,o=En(r,this.fields(["month","monthCode","year"]),[]),a=an(e),u=this.helper.calendarToIsoDate(n(n({},o),{},{day:1}),a,i),s=xn(u.year,u.month,t,u.day);return i.setObject(s),s}},{key:"monthDayFromFields",value:function(r,e,n){var t=new ga,i=En(r,this.fields(["day","month","monthCode","year"]),[]),o=an(e),a=this.helper.monthDayFromFields(i,o,t),u=Pn(a.month,a.day,n,a.year);return t.setObject(u),u}},{key:"fields",value:function(r){var e=r;return ia.call(e,"year")&&(e=[].concat(D(e),["era","eraYear"])),e}},{key:"fieldKeysToIgnore",value:function(r){for(var e=new ca,n=0;n<r.length;n++){var t=r[n];switch(we(da,e,[t]),t){case"era":we(da,e,["eraYear"]),we(da,e,["year"]);break;case"eraYear":we(da,e,["era"]),we(da,e,["year"]);break;case"year":we(da,e,["era"]),we(da,e,["eraYear"]);break;case"month":we(da,e,["monthCode"]),this.helper.erasBeginMidYear&&(we(da,e,["era"]),we(da,e,["eraYear"]));break;case"monthCode":we(da,e,["month"]),this.helper.erasBeginMidYear&&(we(da,e,["era"]),we(da,e,["eraYear"]));break;case"day":this.helper.erasBeginMidYear&&(we(da,e,["era"]),we(da,e,["eraYear"]))}}return D(we(ya,e,[]))}},{key:"dateAdd",value:function(r,e,n,t,i,o,a){var u=ga.getCacheForObject(r),s=this.helper.temporalToCalendarDate(r,u),v=this.helper.addCalendar(s,{years:e,months:n,weeks:t,days:i},o,u),f=this.helper.calendarToIsoDate(v,"constrain",u),h=Sn(f.year,f.month,f.day,a);return new ga(u).setObject(h),h}},{key:"dateUntil",value:function(r,e,n){var t=ga.getCacheForObject(r),i=ga.getCacheForObject(e),o=this.helper.temporalToCalendarDate(r,t),a=this.helper.temporalToCalendarDate(e,i);return this.helper.untilCalendar(o,a,n,t)}},{key:"year",value:function(r){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).year}},{key:"month",value:function(r){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).month}},{key:"day",value:function(r){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).day}},{key:"era",value:function(r){if(this.helper.hasEra){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).era}}},{key:"eraYear",value:function(r){if(this.helper.hasEra){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).eraYear}}},{key:"monthCode",value:function(r){var e=ga.getCacheForObject(r);return this.helper.temporalToCalendarDate(r,e).monthCode}},{key:"dayOfWeek",value:function(r){return wa.iso8601.dayOfWeek(r)}},{key:"dayOfYear",value:function(r){var e=ga.getCacheForObject(r),n=this.helper.isoToCalendarDate(r,e),t=this.helper.startOfCalendarYear(n);return this.helper.calendarDaysUntil(t,n,e)+1}},{key:"weekOfYear",value:function(r){return wa.iso8601.weekOfYear(r)}},{key:"yearOfWeek",value:function(r){return wa.iso8601.yearOfWeek(r)}},{key:"daysInWeek",value:function(r){return wa.iso8601.daysInWeek(r)}},{key:"daysInMonth",value:function(r){var e=ga.getCacheForObject(r),n=this.helper.temporalToCalendarDate(r,e),t=this.helper.maximumMonthLength(n);if(t===this.helper.minimumMonthLength(n))return t;var i=this.helper.startOfCalendarMonth(n),o=this.helper.addMonthsCalendar(i,1,"constrain",e);return this.helper.calendarDaysUntil(i,o,e)}},{key:"daysInYear",value:function(r){var e=r;fr(e,S)||(e=Tn(e));var n=ga.getCacheForObject(e),t=this.helper.temporalToCalendarDate(e,n),i=this.helper.startOfCalendarYear(t),o=this.helper.addCalendar(i,{years:1},"constrain",n);return this.helper.calendarDaysUntil(i,o,n)}},{key:"monthsInYear",value:function(r){var e=ga.getCacheForObject(r),n=this.helper.temporalToCalendarDate(r,e);return this.helper.monthsInYear(n,e)}},{key:"inLeapYear",value:function(r){var e=r;fr(e,S)||(e=Tn(e));var n=ga.getCacheForObject(e),t=this.helper.temporalToCalendarDate(e,n);return this.helper.inLeapYear(t,n)}}]),r}(),Ga=0,Va=[ba,Sa,Na,Za,xa,Ja,Ha,Ua,Ya,La,qa,za,Aa,Ba,Ra,Ia,Ma,Oa];Ga<Va.length;Ga++){var Ka=new Va[Ga];wa[Ka.id]=new $a(Ka)}var Xa=function(){function r(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iso8601";i(this,r),On(this,Te(e),Te(n),Te(t),ut(o))}return a(r,[{key:"calendarId",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return vt(hr(this,L))}},{key:"era",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Vn(hr(this,L),this)}},{key:"eraYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Kn(hr(this,L),this)}},{key:"year",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Jn(hr(this,L),this)}},{key:"month",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Hn(hr(this,L),this)}},{key:"monthCode",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return $n(hr(this,L),this)}},{key:"day",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Gn(hr(this,L),this)}},{key:"dayOfWeek",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Xn(hr(this,L),this)}},{key:"dayOfYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return Qn(hr(this,L),this)}},{key:"weekOfYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return rt(hr(this,L),this)}},{key:"yearOfWeek",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return et(hr(this,L),this)}},{key:"daysInWeek",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return nt(hr(this,L),this)}},{key:"daysInMonth",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return tt(hr(this,L),this)}},{key:"daysInYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return it(hr(this,L),this)}},{key:"monthsInYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return ot(hr(this,L),this)}},{key:"inLeapYear",get:function(){if(!ze(this))throw new TypeError("invalid receiver");return at(hr(this,L),this)}},{key:"with",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument");Ve(r);var n=yo(e),t=hr(this,L),i=Ln(t,["day","month","monthCode","year"]),o=En(this,i,[]),a=En(r,i,"partial");return dt(t,o=En(o=qn(t,o,a),i,[]),n)}},{key:"withCalendar",value:function(e){if(!ze(this))throw new TypeError("invalid receiver");var n=ut(e);return new r(hr(this,S),hr(this,Y),hr(this,_),n)}},{key:"add",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");var n=bn(r),t=yo(e);return zn(hr(this,L),this,n,t)}},{key:"subtract",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");var n=di(bn(r)),t=yo(e);return zn(hr(this,L),this,n,t)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");return Oi("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");return Oi("since",this,r,e)}},{key:"equals",value:function(r){if(!ze(this))throw new TypeError("invalid receiver");for(var e=Tn(r),n=0,t=[S,Y,_];n<t.length;n++){var i=t[n];if(hr(this,i)!==hr(e,i))return!1}return ht(hr(this,L),hr(e,L))}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!ze(this))throw new TypeError("invalid receiver");return Yt(this,fn(yo(r)))}},{key:"toJSON",value:function(){if(!ze(this))throw new TypeError("invalid receiver");return Yt(this)}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!ze(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainDate")}},{key:"toPlainDateTime",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!ze(this))throw new TypeError("invalid receiver");var e=hr(this,S),n=hr(this,Y),t=hr(this,_),i=hr(this,L);if(void 0===r)return _n(e,n,t,0,0,0,0,0,0,i);var o=Bn(r);return _n(e,n,t,hr(o,j),hr(o,P),hr(o,Z),hr(o,x),hr(o,N),hr(o,U),i)}},{key:"toZonedDateTime",value:function(r){if(!ze(this))throw new TypeError("invalid receiver");var e,n;if(me(r))if(Ue(r))e=r;else{var t=r.timeZone;void 0===t?e=mt(r):(e=mt(t),n=r.plainTime)}else e=mt(r);var i=hr(this,S),o=hr(this,Y),a=hr(this,_),u=hr(this,L),s=0,v=0,f=0,h=0,c=0,l=0;return void 0!==n&&(s=hr(n=Bn(n),j),v=hr(n,P),f=hr(n,Z),h=hr(n,x),c=hr(n,N),l=hr(n,U)),Un(hr(Ft(e,_n(i,o,a,s,v,f,h,c,l,u),"compatible"),M),e,u)}},{key:"toPlainYearMonth",value:function(){if(!ze(this))throw new TypeError("invalid receiver");var r=hr(this,L);return yt(r,En(this,Ln(r,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!ze(this))throw new TypeError("invalid receiver");var r=hr(this,L);return wt(r,En(this,Ln(r,["day","monthCode"]),[]))}},{key:"getISOFields",value:function(){if(!ze(this))throw new TypeError("invalid receiver");return{calendar:hr(this,L),isoDay:hr(this,_),isoMonth:hr(this,Y),isoYear:hr(this,S)}}},{key:"getCalendar",value:function(){if(!ze(this))throw new TypeError("invalid receiver");return ft(hr(this,L))}}],[{key:"from",value:function(r){var e=yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0);return ze(r)?(an(e),Sn(hr(r,S),hr(r,Y),hr(r,_),hr(r,L))):Tn(r,e)}},{key:"compare",value:function(r,e){var n=Tn(r),t=Tn(e);return io(hr(n,S),hr(n,Y),hr(n,_),hr(t,S),hr(t,Y),hr(t,_))}}]),r}();B(Xa,"Temporal.PlainDate");var Qa=function(){function r(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,v=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";i(this,r),Yn(this,Te(e),Te(n),Te(t),void 0===o?0:Te(o),void 0===a?0:Te(a),void 0===u?0:Te(u),void 0===s?0:Te(s),void 0===v?0:Te(v),void 0===f?0:Te(f),ut(h))}return a(r,[{key:"calendarId",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return vt(hr(this,L))}},{key:"year",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Jn(hr(this,L),this)}},{key:"month",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Hn(hr(this,L),this)}},{key:"monthCode",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return $n(hr(this,L),this)}},{key:"day",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Gn(hr(this,L),this)}},{key:"hour",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,j)}},{key:"minute",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,P)}},{key:"second",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,Z)}},{key:"millisecond",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,x)}},{key:"microsecond",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,N)}},{key:"nanosecond",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return hr(this,U)}},{key:"era",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Vn(hr(this,L),this)}},{key:"eraYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Kn(hr(this,L),this)}},{key:"dayOfWeek",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Xn(hr(this,L),this)}},{key:"dayOfYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return Qn(hr(this,L),this)}},{key:"weekOfYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return rt(hr(this,L),this)}},{key:"yearOfWeek",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return et(hr(this,L),this)}},{key:"daysInWeek",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return nt(hr(this,L),this)}},{key:"daysInYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return it(hr(this,L),this)}},{key:"daysInMonth",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return tt(hr(this,L),this)}},{key:"monthsInYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return ot(hr(this,L),this)}},{key:"inLeapYear",get:function(){if(!Je(this))throw new TypeError("invalid receiver");return at(hr(this,L),this)}},{key:"with",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument");Ve(r);var n=yo(e),t=hr(this,L),i=Ln(t,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]),o=En(this,i,[]),a=En(r,i,"partial"),u=kn(t,o=En(o=qn(t,o,a),i,[]),n);return _n(u.year,u.month,u.day,u.hour,u.minute,u.second,u.millisecond,u.microsecond,u.nanosecond,t)}},{key:"withPlainTime",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!Je(this))throw new TypeError("invalid receiver");var e=hr(this,S),n=hr(this,Y),t=hr(this,_),i=hr(this,L);if(void 0===r)return _n(e,n,t,0,0,0,0,0,0,i);var o=Bn(r);return _n(e,n,t,hr(o,j),hr(o,P),hr(o,Z),hr(o,x),hr(o,N),hr(o,U),i)}},{key:"withPlainDate",value:function(r){if(!Je(this))throw new TypeError("invalid receiver");var e=Tn(r),n=hr(e,S),t=hr(e,Y),i=hr(e,_),o=hr(e,L);return _n(n,t,i,hr(this,j),hr(this,P),hr(this,Z),hr(this,x),hr(this,N),hr(this,U),o=lt(hr(this,L),o))}},{key:"withCalendar",value:function(e){if(!Je(this))throw new TypeError("invalid receiver");var n=ut(e);return new r(hr(this,S),hr(this,Y),hr(this,_),hr(this,j),hr(this,P),hr(this,Z),hr(this,x),hr(this,N),hr(this,U),n)}},{key:"add",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");return Wi("add",this,r,e)}},{key:"subtract",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");return Wi("subtract",this,r,e)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");return Si("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");return Si("since",this,r,e)}},{key:"round",value:function(r){if(!Je(this))throw new TypeError("invalid receiver");if(void 0===r)throw new TypeError("options parameter is required");var e="string"==typeof r?wo("smallestUnit",r):yo(r),n=hn(e),t=sn(e,"halfExpand"),i=wn(e,"smallestUnit","time",yn,["day"]),o={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];cn(n,o,1===o);var a=hr(this,S),u=hr(this,Y),s=hr(this,_),v=hr(this,j),f=hr(this,P),h=hr(this,Z),c=hr(this,x),l=hr(this,N),d=hr(this,U),y=Ki(a,u,s,v,f,h,c,l,d,n,i,t);return _n(a=y.year,u=y.month,s=y.day,v=y.hour,f=y.minute,h=y.second,c=y.millisecond,l=y.microsecond,d=y.nanosecond,hr(this,L))}},{key:"equals",value:function(r){if(!Je(this))throw new TypeError("invalid receiver");for(var e=Cn(r),n=0,t=[S,Y,_,j,P,Z,x,N,U];n<t.length;n++){var i=t[n];if(hr(this,i)!==hr(e,i))return!1}return ht(hr(this,L),hr(e,L))}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!Je(this))throw new TypeError("invalid receiver");var e=yo(r),n=fn(e),t=ln(e),i=sn(e,"trunc"),o=wn(e,"smallestUnit","time",void 0);if("hour"===o)throw new RangeError('smallestUnit must be a time unit other than "hour"');var a=dn(o,t);return _t(this,a.precision,n,{unit:a.unit,increment:a.increment,roundingMode:i})}},{key:"toJSON",value:function(){if(!Je(this))throw new TypeError("invalid receiver");return _t(this,"auto")}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainDateTime")}},{key:"toZonedDateTime",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Je(this))throw new TypeError("invalid receiver");var n=mt(r);return Un(hr(Ft(n,this,un(yo(e))),M),n,hr(this,L))}},{key:"toPlainDate",value:function(){if(!Je(this))throw new TypeError("invalid receiver");return gt(this)}},{key:"toPlainYearMonth",value:function(){if(!Je(this))throw new TypeError("invalid receiver");var r=hr(this,L);return yt(r,En(this,Ln(r,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!Je(this))throw new TypeError("invalid receiver");var r=hr(this,L);return wt(r,En(this,Ln(r,["day","monthCode"]),[]))}},{key:"toPlainTime",value:function(){if(!Je(this))throw new TypeError("invalid receiver");return Tt(this)}},{key:"getISOFields",value:function(){if(!Je(this))throw new TypeError("invalid receiver");return{calendar:hr(this,L),isoDay:hr(this,_),isoHour:hr(this,j),isoMicrosecond:hr(this,N),isoMillisecond:hr(this,x),isoMinute:hr(this,P),isoMonth:hr(this,Y),isoNanosecond:hr(this,U),isoSecond:hr(this,Z),isoYear:hr(this,S)}}},{key:"getCalendar",value:function(){if(!Je(this))throw new TypeError("invalid receiver");return ft(hr(this,L))}}],[{key:"from",value:function(r){var e=yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0);return Je(r)?(an(e),_n(hr(r,S),hr(r,Y),hr(r,_),hr(r,j),hr(r,P),hr(r,Z),hr(r,x),hr(r,N),hr(r,U),hr(r,L))):Cn(r,e)}},{key:"compare",value:function(r,e){for(var n=Cn(r),t=Cn(e),i=0,o=[S,Y,_,j,P,Z,x,N,U];i<o.length;i++){var a=o[i],u=hr(n,a),s=hr(t,a);if(u!==s)return lo(u-s)}return 0}}]),r}();B(Qa,"Temporal.PlainDateTime");var ru=function(){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,v=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;i(this,r);var c=void 0===e?0:Ce(e),l=void 0===n?0:Ce(n),d=void 0===t?0:Ce(t),y=void 0===o?0:Ce(o),w=void 0===a?0:Ce(a),m=void 0===u?0:Ce(u),p=void 0===s?0:Ce(s),D=void 0===v?0:Ce(v),E=void 0===f?0:Ce(f),g=void 0===h?0:Ce(h);Ci(c,l,d,y,w,m,p,D,E,g),vr(this),cr(this,$,c),cr(this,G,l),cr(this,V,d),cr(this,K,y),cr(this,X,w),cr(this,Q,m),cr(this,rr,p),cr(this,er,D),cr(this,nr,E),cr(this,tr,g)}return a(r,[{key:"years",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,$)}},{key:"months",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,G)}},{key:"weeks",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,V)}},{key:"days",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,K)}},{key:"hours",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,X)}},{key:"minutes",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,Q)}},{key:"seconds",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,rr)}},{key:"milliseconds",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,er)}},{key:"microseconds",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,nr)}},{key:"nanoseconds",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return hr(this,tr)}},{key:"sign",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return ti(hr(this,$),hr(this,G),hr(this,V),hr(this,K),hr(this,X),hr(this,Q),hr(this,rr),hr(this,er),hr(this,nr),hr(this,tr))}},{key:"blank",get:function(){if(!qe(this))throw new TypeError("invalid receiver");return 0===ti(hr(this,$),hr(this,G),hr(this,V),hr(this,K),hr(this,X),hr(this,Q),hr(this,rr),hr(this,er),hr(this,nr),hr(this,tr))}},{key:"with",value:function(e){if(!qe(this))throw new TypeError("invalid receiver");var n=En(e,["days","hours","microseconds","milliseconds","minutes","months","nanoseconds","seconds","weeks","years"],"partial"),t=n.years,i=void 0===t?hr(this,$):t,o=n.months,a=void 0===o?hr(this,G):o,u=n.weeks,s=void 0===u?hr(this,V):u,v=n.days,f=void 0===v?hr(this,K):v,h=n.hours,c=void 0===h?hr(this,X):h,l=n.minutes,d=void 0===l?hr(this,Q):l,y=n.seconds,w=void 0===y?hr(this,rr):y,m=n.milliseconds,p=void 0===m?hr(this,er):m,D=n.microseconds,E=void 0===D?hr(this,nr):D,g=n.nanoseconds;return new r(i,a,s,f,c,d,w,p,E,void 0===g?hr(this,tr):g)}},{key:"negated",value:function(){if(!qe(this))throw new TypeError("invalid receiver");return di(this)}},{key:"abs",value:function(){if(!qe(this))throw new TypeError("invalid receiver");return new r(Math.abs(hr(this,$)),Math.abs(hr(this,G)),Math.abs(hr(this,V)),Math.abs(hr(this,K)),Math.abs(hr(this,X)),Math.abs(hr(this,Q)),Math.abs(hr(this,rr)),Math.abs(hr(this,er)),Math.abs(hr(this,nr)),Math.abs(hr(this,tr)))}},{key:"add",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!qe(this))throw new TypeError("invalid receiver");return qi("add",this,r,e)}},{key:"subtract",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!qe(this))throw new TypeError("invalid receiver");return qi("subtract",this,r,e)}},{key:"round",value:function(e){if(!qe(this))throw new TypeError("invalid receiver");if(void 0===e)throw new TypeError("options parameter is required");var n=hr(this,$),t=hr(this,G),i=hr(this,V),o=hr(this,K),a=hr(this,X),u=hr(this,Q),s=hr(this,rr),v=hr(this,er),f=hr(this,nr),h=hr(this,tr),c=pn(n,t,i,o,a,u,s,v,f,h),l="string"==typeof e?wo("smallestUnit",e):yo(e),d=wn(l,"largestUnit","datetime",void 0,["auto"]),y=mn(l),w=hn(l),m=sn(l,"halfExpand"),p=wn(l,"smallestUnit","datetime",void 0),D=!0;p||(D=!1,p="nanosecond"),c=Dn(c,p);var E=!0;if(d||(E=!1,d=c),"auto"===d&&(d=c),!D&&!E)throw new RangeError("at least one of smallestUnit or largestUnit is required");if(Dn(d,p)!==d)throw new RangeError("largestUnit ".concat(d," cannot be smaller than smallestUnit ").concat(p));var g={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[p];void 0!==g&&cn(w,g,!1);var T=ci(n,t,i,o,d,y),k=to(n=T.years,t=T.months,i=T.weeks,o=T.days,a,u,s,v,f,h,w,p,m,y),b=no(n=k.years,t=k.months,i=k.weeks,o=k.days,a=k.hours,u=k.minutes,s=k.seconds,v=k.milliseconds,f=k.microseconds,h=k.nanoseconds,w,p,m,y);n=b.years,t=b.months,i=b.weeks;var F=fi(o=b.days,a=b.hours,u=b.minutes,s=b.seconds,v=b.milliseconds,f=b.microseconds,h=b.nanoseconds,d,y);a=F.hours,u=F.minutes,s=F.seconds,v=F.milliseconds,f=F.microseconds,h=F.nanoseconds;var A=function(r,e,n,t,i,o){var a=I("%Temporal.Duration%"),u=ti(r,e,n,t,0,0,0,0,0,0);if(0===u)return{years:r,months:e,weeks:n,days:t};var s,v,f=C.BigInt(u),h=C.BigInt(r),c=C.BigInt(e),l=C.BigInt(n),d=C.BigInt(t);o&&(s=hr(v=Tn(o),L));var y=new a(u),w=new a(0,u),m=new a(0,0,u);switch(i){case"year":if(!s)throw new RangeError("a starting point is required for years balancing");var p,D,E,g="string"!=typeof s?ye(s,"dateAdd"):void 0,T=ro(s,v,y,g);for(p=T.relativeTo,D=T.days;C.greaterThanOrEqual(Be(d),C.BigInt(_r(D)));){d=C.subtract(d,C.BigInt(D)),h=C.add(h,f);var k=ro(s,v=p,y,g);p=k.relativeTo,D=k.days}var b=ro(s,v,w,g);for(p=b.relativeTo,E=b.days;C.greaterThanOrEqual(Be(d),C.BigInt(_r(E)));){d=C.subtract(d,C.BigInt(E)),c=C.add(c,f);var F=ro(s,v=p,w,g);p=F.relativeTo,E=F.days}p=zn(s,v,y,void 0,g);var A="string"!=typeof s?ye(s,"dateUntil"):void 0,B=zr(null);B.largestUnit="month";for(var R=Wn(s,v,p,B,A),M=hr(R,G);C.greaterThanOrEqual(Be(c),C.BigInt(_r(M)));){c=C.subtract(c,C.BigInt(M)),h=C.add(h,f),p=zn(s,v=p,y,void 0,g);var O=zr(null);O.largestUnit="month",M=hr(R=Wn(s,v,p,O,A),G)}break;case"month":if(!s)throw new RangeError("a starting point is required for months balancing");var S,Y,_="string"!=typeof s?ye(s,"dateAdd"):void 0,j=ro(s,v,w,_);for(S=j.relativeTo,Y=j.days;C.greaterThanOrEqual(Be(d),C.BigInt(_r(Y)));){d=C.subtract(d,C.BigInt(Y)),c=C.add(c,f);var P=ro(s,v=S,w,_);S=P.relativeTo,Y=P.days}break;case"week":if(!s)throw new RangeError("a starting point is required for weeks balancing");var Z,x,N="string"!=typeof s?ye(s,"dateAdd"):void 0,U=ro(s,v,m,N);for(Z=U.relativeTo,x=U.days;C.greaterThanOrEqual(Be(d),C.BigInt(_r(x)));){d=C.subtract(d,C.BigInt(x)),l=C.add(l,f);var q=ro(s,v=Z,m,N);Z=q.relativeTo,x=q.days}}return{years:C.toNumber(h),months:C.toNumber(c),weeks:C.toNumber(l),days:C.toNumber(d)}}(n,t,i,o=F.days,d,y);return new r(n=A.years,t=A.months,i=A.weeks,o=A.days,a,u,s,v,f,h)}},{key:"total",value:function(r){if(!qe(this))throw new TypeError("invalid receiver");var e=hr(this,$),n=hr(this,G),t=hr(this,V),i=hr(this,K),o=hr(this,X),a=hr(this,Q),u=hr(this,rr),s=hr(this,er),v=hr(this,nr),f=hr(this,tr);if(void 0===r)throw new TypeError("options argument is required");var h,c="string"==typeof r?wo("unit",r):yo(r),l=mn(c),d=wn(c,"unit","datetime",yn),y=ci(e,n,t,i,d,l);e=y.years,n=y.months,t=y.weeks,i=y.days,Ge(l)&&(h=eo(l,e,n,t,0));var w=hi(i,o,a,u,s,v,f,d,h);return"positive overflow"===w?1/0:"negative overflow"===w?-1/0:to(e,n,t,i=w.days,o=w.hours,a=w.minutes,u=w.seconds,s=w.milliseconds,v=w.microseconds,f=w.nanoseconds,1,d,"trunc",l).total}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!qe(this))throw new TypeError("invalid receiver");var e=yo(r),n=ln(e),t=sn(e,"trunc"),i=wn(e,"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=dn(i,n);return St(this,o.precision,{unit:o.unit,increment:o.increment,roundingMode:t})}},{key:"toJSON",value:function(){if(!qe(this))throw new TypeError("invalid receiver");return St(this)}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!qe(this))throw new TypeError("invalid receiver");return"undefined"!=typeof Intl&&void 0!==Intl.DurationFormat?new Intl.DurationFormat(r,e).format(this):(console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."),St(this))}},{key:"valueOf",value:function(){throw new TypeError("use compare() to compare Temporal.Duration")}}],[{key:"from",value:function(e){return qe(e)?new r(hr(e,$),hr(e,G),hr(e,V),hr(e,K),hr(e,X),hr(e,Q),hr(e,rr),hr(e,er),hr(e,nr),hr(e,tr)):bn(e)}},{key:"compare",value:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,t=bn(r),i=bn(e),o=mn(yo(n)),a=hr(t,$),u=hr(t,G),s=hr(t,V),v=hr(t,K),f=hr(t,X),h=hr(t,Q),c=hr(t,rr),l=hr(t,er),d=hr(t,nr),y=hr(t,tr),w=hr(i,$),m=hr(i,G),p=hr(i,V),D=hr(i,K),E=hr(i,X),g=hr(i,Q),T=hr(i,rr),k=hr(i,er),b=hr(i,nr),F=hr(i,tr),A=li(o,a,u,s,v),B=li(o,w,m,p,D);0===a&&0===w&&0===u&&0===m&&0===s&&0===p||(v=ci(a,u,s,v,"day",o).days,D=ci(w,m,p,D,"day",o).days);var R=si(v,f,h,c,l,d,y,A),I=si(D,E,g,T,k,b,F,B);return lo(C.toNumber(C.subtract(R,I)))}}]),r}();B(ru,"Temporal.Duration");var eu=Object.create,nu=function(){function r(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1972;i(this,r),jn(this,Te(e),Te(n),ut(t),Te(o))}return a(r,[{key:"monthCode",get:function(){if(!$e(this))throw new TypeError("invalid receiver");return $n(hr(this,L),this)}},{key:"day",get:function(){if(!$e(this))throw new TypeError("invalid receiver");return Gn(hr(this,L),this)}},{key:"calendarId",get:function(){if(!$e(this))throw new TypeError("invalid receiver");return vt(hr(this,L))}},{key:"with",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!$e(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument");Ve(r);var n=yo(e),t=hr(this,L),i=Ln(t,["day","month","monthCode","year"]),o=En(this,i,[]),a=En(r,i,"partial");return wt(t,o=En(o=qn(t,o,a),i,[]),n)}},{key:"equals",value:function(r){if(!$e(this))throw new TypeError("invalid receiver");for(var e=An(r),n=0,t=[Y,_,S];n<t.length;n++){var i=t[n];if(hr(this,i)!==hr(e,i))return!1}return ht(hr(this,L),hr(e,L))}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!$e(this))throw new TypeError("invalid receiver");return jt(this,fn(yo(r)))}},{key:"toJSON",value:function(){if(!$e(this))throw new TypeError("invalid receiver");return jt(this)}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!$e(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use equals() to compare Temporal.PlainMonthDay")}},{key:"toPlainDate",value:function(r){if(!$e(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("argument should be an object");var e=hr(this,L),n=Ln(e,["day","monthCode"]),t=En(this,n,[]),i=Ln(e,["year"]),o=qn(e,t,En(r,i,[]));o=En(o,D(new Set([].concat(D(n),D(i)))),[]);var a=eu(null);return a.overflow="reject",dt(e,o,a)}},{key:"getISOFields",value:function(){if(!$e(this))throw new TypeError("invalid receiver");return{calendar:hr(this,L),isoDay:hr(this,_),isoMonth:hr(this,Y),isoYear:hr(this,S)}}},{key:"getCalendar",value:function(){if(!$e(this))throw new TypeError("invalid receiver");return ft(hr(this,L))}}],[{key:"from",value:function(r){var e=yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0);return $e(r)?(an(e),Pn(hr(r,Y),hr(r,_),hr(r,L),hr(r,S))):An(r,e)}}]),r}();B(nu,"Temporal.PlainMonthDay");var tu=function(){return new(I("%Temporal.Instant%"))(ho())},iu=function(r){var e=mt(arguments.length>1&&void 0!==arguments[1]?arguments[1]:co()),n=ut(r);return bt(e,tu(),n)},ou=function(){return bt(mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:co()),tu(),"iso8601")},au=function(r){var e=mt(arguments.length>1&&void 0!==arguments[1]?arguments[1]:co()),n=ut(r);return Un(ho(),e,n)},uu=u({instant:tu,plainDateTime:iu,plainDateTimeISO:ou,plainDate:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:co();return gt(iu(r,e))},plainDateISO:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:co();return gt(ou(r))},plainTimeISO:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:co();return Tt(ou(r))},timeZoneId:function(){return co()},zonedDateTime:au,zonedDateTimeISO:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:co();return au("iso8601",r)}},Symbol.toStringTag,"Temporal.Now");Object.defineProperty(uu,Symbol.toStringTag,{value:"Temporal.Now",writable:!1,enumerable:!1,configurable:!0});var su=Object.assign;function vu(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,t=hr(r,j),i=hr(r,P),o=hr(r,Z),a=hr(r,x),u=hr(r,N),s=hr(r,U);if(n){var v=Xi(t,i,o,a,u,s,n.increment,n.unit,n.roundingMode);t=v.hour,i=v.minute,o=v.second,a=v.millisecond,u=v.microsecond,s=v.nanosecond}var f=It(t),h=It(i),c=Mt(o,a,u,s,e);return"".concat(f,":").concat(h).concat(c)}var fu=function(){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;i(this,r);var s=void 0===e?0:Te(e),v=void 0===n?0:Te(n),f=void 0===t?0:Te(t),h=void 0===o?0:Te(o),c=void 0===a?0:Te(a),l=void 0===u?0:Te(u);Ei(s,v,f,h,c,l),vr(this),cr(this,j,s),cr(this,P,v),cr(this,Z,f),cr(this,x,h),cr(this,N,c),cr(this,U,l)}return a(r,[{key:"hour",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,j)}},{key:"minute",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,P)}},{key:"second",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,Z)}},{key:"millisecond",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,x)}},{key:"microsecond",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,N)}},{key:"nanosecond",get:function(){if(!We(this))throw new TypeError("invalid receiver");return hr(this,U)}},{key:"with",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!We(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Ve(e);var t=an(yo(n)),i=gn(e,"partial"),o=gn(this),a=su(o,i),u=a.hour,s=a.minute,v=a.second,f=a.millisecond,h=a.microsecond,c=a.nanosecond,l=tn(u,s,v,f,h,c,t);return new r(u=l.hour,s=l.minute,v=l.second,f=l.millisecond,h=l.microsecond,c=l.nanosecond)}},{key:"add",value:function(r){if(!We(this))throw new TypeError("invalid receiver");return Ji("add",this,r)}},{key:"subtract",value:function(r){if(!We(this))throw new TypeError("invalid receiver");return Ji("subtract",this,r)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!We(this))throw new TypeError("invalid receiver");return Yi("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!We(this))throw new TypeError("invalid receiver");return Yi("since",this,r,e)}},{key:"round",value:function(e){if(!We(this))throw new TypeError("invalid receiver");if(void 0===e)throw new TypeError("options parameter is required");var n="string"==typeof e?wo("smallestUnit",e):yo(e),t=hn(n),i=sn(n,"halfExpand"),o=wn(n,"smallestUnit","time",yn);cn(t,{hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[o],!1);var a=hr(this,j),u=hr(this,P),s=hr(this,Z),v=hr(this,x),f=hr(this,N),h=hr(this,U),c=Xi(a,u,s,v,f,h,t,o,i);return new r(a=c.hour,u=c.minute,s=c.second,v=c.millisecond,f=c.microsecond,h=c.nanosecond)}},{key:"equals",value:function(r){if(!We(this))throw new TypeError("invalid receiver");for(var e=Bn(r),n=0,t=[j,P,Z,x,N,U];n<t.length;n++){var i=t[n];if(hr(this,i)!==hr(e,i))return!1}return!0}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!We(this))throw new TypeError("invalid receiver");var e=yo(r),n=ln(e),t=sn(e,"trunc"),i=wn(e,"smallestUnit","time",void 0);if("hour"===i)throw new RangeError('smallestUnit must be a time unit other than "hour"');var o=dn(i,n);return vu(this,o.precision,{unit:o.unit,increment:o.increment,roundingMode:t})}},{key:"toJSON",value:function(){if(!We(this))throw new TypeError("invalid receiver");return vu(this,"auto")}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!We(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainTime")}},{key:"toPlainDateTime",value:function(r){if(!We(this))throw new TypeError("invalid receiver");var e=Tn(r),n=hr(e,S),t=hr(e,Y),i=hr(e,_),o=hr(e,L);return _n(n,t,i,hr(this,j),hr(this,P),hr(this,Z),hr(this,x),hr(this,N),hr(this,U),o)}},{key:"toZonedDateTime",value:function(r){if(!We(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument");var e=r.plainDate;if(void 0===e)throw new TypeError("missing date property");var n=Tn(e),t=r.timeZone;if(void 0===t)throw new TypeError("missing timeZone property");var i=mt(t),o=hr(n,S),a=hr(n,Y),u=hr(n,_),s=hr(n,L),v=hr(this,j),f=hr(this,P),h=hr(this,Z),c=hr(this,x),l=hr(this,N),d=hr(this,U);return Un(hr(Ft(i,new(I("%Temporal.PlainDateTime%"))(o,a,u,v,f,h,c,l,d,s),"compatible"),M),i,s)}},{key:"getISOFields",value:function(){if(!We(this))throw new TypeError("invalid receiver");return{isoHour:hr(this,j),isoMicrosecond:hr(this,N),isoMillisecond:hr(this,x),isoMinute:hr(this,P),isoNanosecond:hr(this,U),isoSecond:hr(this,Z)}}}],[{key:"from",value:function(e){var n=an(yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0));return We(e)?new r(hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U)):Bn(e,n)}},{key:"compare",value:function(r,e){for(var n=Bn(r),t=Bn(e),i=0,o=[j,P,Z,x,N,U];i<o.length;i++){var a=o[i],u=hr(n,a),s=hr(t,a);if(u!==s)return lo(u-s)}return 0}}]),r}();B(fu,"Temporal.PlainTime");var hu=function(){function r(e){if(i(this,r),arguments.length<1)throw new RangeError("missing argument: identifier is required");var n=Ut(e);vr(this),cr(this,O,n)}return a(r,[{key:"id",get:function(){if(!Ue(this))throw new TypeError("invalid receiver");return hr(this,O)}},{key:"getOffsetNanosecondsFor",value:function(r){if(!Ue(this))throw new TypeError("invalid receiver");var e=Fn(r),n=hr(this,O);return xt(n)?Nt(n):Lt(n,hr(e,M))}},{key:"getOffsetStringFor",value:function(r){if(!Ue(this))throw new TypeError("invalid receiver");return Ct(this,Fn(r))}},{key:"getPlainDateTimeFor",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iso8601";if(!Ue(this))throw new TypeError("invalid receiver");return bt(this,Fn(r),ut(e))}},{key:"getInstantFor",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ue(this))throw new TypeError("invalid receiver");return Ft(this,Cn(r),un(yo(e)))}},{key:"getPossibleInstantsFor",value:function(r){if(!Ue(this))throw new TypeError("invalid receiver");var e=Cn(r),n=I("%Temporal.Instant%"),t=hr(this,O);if(xt(t)){var i=Wt(hr(e,S),hr(e,Y),hr(e,_),hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U));if(null===i)throw new RangeError("DateTime outside of supported range");var o=Nt(t);return[new n(C.subtract(i,C.BigInt(o)))]}var a=function(r,e,n,t,i,o,a,u,s,v){var f=Wt(e,n,t,i,o,a,u,s,v);if(null===f)throw new RangeError("DateTime outside of supported range");var h=C.subtract(f,ie);C.lessThan(h,oe)&&(h=f);var c=C.add(f,ie);C.greaterThan(c,ae)&&(c=f);var l=Lt(r,h),d=Lt(r,c);return(l===d?[l]:[l,d]).map((function(h){var c=C.subtract(f,C.BigInt(h)),l=Ht(r,c);if(e===l.year&&n===l.month&&t===l.day&&i===l.hour&&o===l.minute&&a===l.second&&u===l.millisecond&&s===l.microsecond&&v===l.nanosecond)return c})).filter((function(r){return void 0!==r}))}(t,hr(e,S),hr(e,Y),hr(e,_),hr(e,j),hr(e,P),hr(e,Z),hr(e,x),hr(e,N),hr(e,U));return a.map((function(r){return new n(r)}))}},{key:"getNextTransition",value:function(r){if(!Ue(this))throw new TypeError("invalid receiver");var e=Fn(r),n=hr(this,O);if(xt(n)||"UTC"===n)return null;var t=hr(e,M),i=I("%Temporal.Instant%");return null===(t=Vt(n,t))?null:new i(t)}},{key:"getPreviousTransition",value:function(r){if(!Ue(this))throw new TypeError("invalid receiver");var e=Fn(r),n=hr(this,O);if(xt(n)||"UTC"===n)return null;var t=hr(e,M),i=I("%Temporal.Instant%");return null===(t=Kt(n,t))?null:new i(t)}},{key:"toString",value:function(){if(!Ue(this))throw new TypeError("invalid receiver");return hr(this,O)}},{key:"toJSON",value:function(){if(!Ue(this))throw new TypeError("invalid receiver");return hr(this,O)}}],[{key:"from",value:function(r){return Dt(mt(r))}}]),r}();B(hu,"Temporal.TimeZone"),R("Temporal.TimeZone.prototype.getOffsetNanosecondsFor",hu.prototype.getOffsetNanosecondsFor),R("Temporal.TimeZone.prototype.getPossibleInstantsFor",hu.prototype.getPossibleInstantsFor);var cu=Object.create,lu=function(){function r(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;i(this,r),Zn(this,Te(e),Te(n),ut(t),Te(o))}return a(r,[{key:"year",get:function(){if(!He(this))throw new TypeError("invalid receiver");return Jn(hr(this,L),this)}},{key:"month",get:function(){if(!He(this))throw new TypeError("invalid receiver");return Hn(hr(this,L),this)}},{key:"monthCode",get:function(){if(!He(this))throw new TypeError("invalid receiver");return $n(hr(this,L),this)}},{key:"calendarId",get:function(){if(!He(this))throw new TypeError("invalid receiver");return vt(hr(this,L))}},{key:"era",get:function(){if(!He(this))throw new TypeError("invalid receiver");return Vn(hr(this,L),this)}},{key:"eraYear",get:function(){if(!He(this))throw new TypeError("invalid receiver");return Kn(hr(this,L),this)}},{key:"daysInMonth",get:function(){if(!He(this))throw new TypeError("invalid receiver");return tt(hr(this,L),this)}},{key:"daysInYear",get:function(){if(!He(this))throw new TypeError("invalid receiver");return it(hr(this,L),this)}},{key:"monthsInYear",get:function(){if(!He(this))throw new TypeError("invalid receiver");return ot(hr(this,L),this)}},{key:"inLeapYear",get:function(){if(!He(this))throw new TypeError("invalid receiver");return at(hr(this,L),this)}},{key:"with",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid argument");Ve(r);var n=yo(e),t=hr(this,L),i=Ln(t,["month","monthCode","year"]),o=En(this,i,[]),a=En(r,i,"partial");return yt(t,o=En(o=qn(t,o,a),i,[]),n)}},{key:"add",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");return Hi("add",this,r,e)}},{key:"subtract",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");return Hi("subtract",this,r,e)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");return _i("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");return _i("since",this,r,e)}},{key:"equals",value:function(r){if(!He(this))throw new TypeError("invalid receiver");for(var e=Rn(r),n=0,t=[S,Y,_];n<t.length;n++){var i=t[n];if(hr(this,i)!==hr(e,i))return!1}return ht(hr(this,L),hr(e,L))}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!He(this))throw new TypeError("invalid receiver");return Pt(this,fn(yo(r)))}},{key:"toJSON",value:function(){if(!He(this))throw new TypeError("invalid receiver");return Pt(this)}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!He(this))throw new TypeError("invalid receiver");return new qo(r,e).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainYearMonth")}},{key:"toPlainDate",value:function(r){if(!He(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("argument should be an object");var e=hr(this,L),n=Ln(e,["monthCode","year"]),t=En(this,n,[]),i=Ln(e,["day"]),o=qn(e,t,En(r,i,[]));o=En(o,D(new Set([].concat(D(n),D(i)))),[]);var a=cu(null);return a.overflow="reject",dt(e,o,a)}},{key:"getISOFields",value:function(){if(!He(this))throw new TypeError("invalid receiver");return{calendar:hr(this,L),isoDay:hr(this,_),isoMonth:hr(this,Y),isoYear:hr(this,S)}}},{key:"getCalendar",value:function(){if(!He(this))throw new TypeError("invalid receiver");return ft(hr(this,L))}}],[{key:"from",value:function(r){var e=yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0);return He(r)?(an(e),xn(hr(r,S),hr(r,Y),hr(r,L),hr(r,_))):Rn(r,e)}},{key:"compare",value:function(r,e){var n=Rn(r),t=Rn(e);return io(hr(n,S),hr(n,Y),hr(n,_),hr(t,S),hr(t,Y),hr(t,_))}}]),r}();B(lu,"Temporal.PlainYearMonth");var du=qo.prototype.resolvedOptions,yu=Object.create,wu=function(){function r(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iso8601";if(i(this,r),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");Nn(this,vo(e),mt(n),ut(t))}return a(r,[{key:"calendarId",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return vt(hr(this,L))}},{key:"timeZoneId",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return pt(hr(this,H))}},{key:"year",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Jn(hr(this,L),mu(this))}},{key:"month",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Hn(hr(this,L),mu(this))}},{key:"monthCode",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return $n(hr(this,L),mu(this))}},{key:"day",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Gn(hr(this,L),mu(this))}},{key:"hour",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),j)}},{key:"minute",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),P)}},{key:"second",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),Z)}},{key:"millisecond",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),x)}},{key:"microsecond",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),N)}},{key:"nanosecond",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return hr(mu(this),U)}},{key:"era",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Vn(hr(this,L),mu(this))}},{key:"eraYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Kn(hr(this,L),mu(this))}},{key:"epochSeconds",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=hr(this,M);return C.toNumber(ao(r,re))}},{key:"epochMilliseconds",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=hr(this,M);return C.toNumber(ao(r,Qr))}},{key:"epochMicroseconds",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return so(ao(hr(this,M),Xr))}},{key:"epochNanoseconds",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return so(hr(this,M))}},{key:"dayOfWeek",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Xn(hr(this,L),mu(this))}},{key:"dayOfYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Qn(hr(this,L),mu(this))}},{key:"weekOfYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return rt(hr(this,L),mu(this))}},{key:"yearOfWeek",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return et(hr(this,L),mu(this))}},{key:"hoursInDay",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=mu(this),e=I("%Temporal.PlainDateTime%"),n=hr(r,S),t=hr(r,Y),i=hr(r,_),o=new e(n,t,i,0,0,0,0,0,0),a=Pi(n,t,i,0,0,0,1,"reject"),u=new e(a.year,a.month,a.day,0,0,0,0,0,0),s=hr(this,H),v=hr(Ft(s,o,"compatible"),M),f=hr(Ft(s,u,"compatible"),M);return uo(C.subtract(f,v),ne)}},{key:"daysInWeek",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return nt(hr(this,L),mu(this))}},{key:"daysInMonth",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return tt(hr(this,L),mu(this))}},{key:"daysInYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return it(hr(this,L),mu(this))}},{key:"monthsInYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return ot(hr(this,L),mu(this))}},{key:"inLeapYear",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return at(hr(this,L),mu(this))}},{key:"offset",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Ct(hr(this,H),hr(this,J))}},{key:"offsetNanoseconds",get:function(){if(!Ge(this))throw new TypeError("invalid receiver");return kt(hr(this,H),hr(this,J))}},{key:"with",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");if(!me(r))throw new TypeError("invalid zoned-date-time-like");Ve(r);var n=yo(e),t=hr(this,L),i=Ln(t,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);i.push("offset");var o=En(this,i,["offset"]),a=En(r,i,"partial");o=En(o=qn(t,o,a),i,["offset"]);var u=un(n),s=vn(n,"prefer"),v=kn(t,o,n),f=v.year,h=v.month,c=v.day,l=v.hour,d=v.minute,y=v.second,w=v.millisecond,m=v.microsecond,p=v.nanosecond,D=Nt(o.offset),E=hr(this,H);return Un(In(f,h,c,l,d,y,w,m,p,"option",D,E,u,s,!1),E,t)}},{key:"withPlainDate",value:function(r){if(!Ge(this))throw new TypeError("invalid receiver");var e=Tn(r),n=hr(e,S),t=hr(e,Y),i=hr(e,_),o=hr(e,L),a=mu(this),u=hr(a,j),s=hr(a,P),v=hr(a,Z),f=hr(a,x),h=hr(a,N),c=hr(a,U);o=lt(hr(this,L),o);var l=hr(this,H);return Un(hr(Ft(l,new(I("%Temporal.PlainDateTime%"))(n,t,i,u,s,v,f,h,c,o),"compatible"),M),l,o)}},{key:"withPlainTime",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");var e=I("%Temporal.PlainTime%"),n=void 0===r?new e:Bn(r),t=mu(this),i=hr(t,S),o=hr(t,Y),a=hr(t,_),u=hr(this,L),s=hr(n,j),v=hr(n,P),f=hr(n,Z),h=hr(n,x),c=hr(n,N),l=hr(n,U),d=hr(this,H);return Un(hr(Ft(d,new(I("%Temporal.PlainDateTime%"))(i,o,a,s,v,f,h,c,l,u),"compatible"),M),d,u)}},{key:"withTimeZone",value:function(r){if(!Ge(this))throw new TypeError("invalid receiver");var e=mt(r);return Un(hr(this,M),e,hr(this,L))}},{key:"withCalendar",value:function(r){if(!Ge(this))throw new TypeError("invalid receiver");var e=ut(r);return Un(hr(this,M),hr(this,H),e)}},{key:"add",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");return $i("add",this,r,e)}},{key:"subtract",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");return $i("subtract",this,r,e)}},{key:"until",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");return ji("until",this,r,e)}},{key:"since",value:function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");return ji("since",this,r,e)}},{key:"round",value:function(r){if(!Ge(this))throw new TypeError("invalid receiver");if(void 0===r)throw new TypeError("options parameter is required");var e="string"==typeof r?wo("smallestUnit",r):yo(r),n=hn(e),t=sn(e,"halfExpand"),i=wn(e,"smallestUnit","time",yn,["day"]),o={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];cn(n,o,1===o);var a=mu(this),u=hr(a,S),s=hr(a,Y),v=hr(a,_),f=hr(a,j),h=hr(a,P),c=hr(a,Z),l=hr(a,x),d=hr(a,N),y=hr(a,U),w=I("%Temporal.PlainDateTime%"),m=hr(this,H),p=hr(this,L),D=Ft(m,new w(hr(a,S),hr(a,Y),hr(a,_),0,0,0,0,0,0),"compatible"),E=Li(D,m,p,0,0,0,1,0,0,0,0,0,0),g=C.subtract(E,C.BigInt(hr(D,M)));if(C.lessThanOrEqual(g,$r))throw new RangeError("cannot round a ZonedDateTime in a calendar with zero or negative length days");var T=Ki(u,s,v,f,h,c,l,d,y,n,i,t,C.toNumber(g));return Un(In(u=T.year,s=T.month,v=T.day,f=T.hour,h=T.minute,c=T.second,l=T.millisecond,d=T.microsecond,y=T.nanosecond,"option",kt(m,hr(this,J)),m,"compatible","prefer",!1),m,hr(this,L))}},{key:"equals",value:function(r){if(!Ge(this))throw new TypeError("invalid receiver");var e=Mn(r),n=hr(this,M),t=hr(e,M);return!!C.equal(C.BigInt(n),C.BigInt(t))&&!!Et(hr(this,H),hr(e,H))&&ht(hr(this,L),hr(e,L))}},{key:"toString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");var e=yo(r),n=fn(e),t=ln(e),i=function(r){return po(r,"offset",["auto","never"],"auto")}(e),o=sn(e,"trunc"),a=wn(e,"smallestUnit","time",void 0);if("hour"===a)throw new RangeError('smallestUnit must be a time unit other than "hour"');var u=function(r){return po(r,"timeZoneName",["auto","never","critical"],"auto")}(e),s=dn(a,t);return Zt(this,s.precision,n,u,i,{unit:s.unit,increment:s.increment,roundingMode:o})}},{key:"toLocaleString",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!Ge(this))throw new TypeError("invalid receiver");var n=yo(e),t=yu(null);if(xe(t,n,["timeZone"]),void 0!==n.timeZone)throw new TypeError("ZonedDateTime toLocaleString does not accept a timeZone option");void 0===t.year&&void 0===t.month&&void 0===t.day&&void 0===t.weekday&&void 0===t.dateStyle&&void 0===t.hour&&void 0===t.minute&&void 0===t.second&&void 0===t.timeStyle&&void 0===t.dayPeriod&&void 0===t.timeZoneName&&(t.timeZoneName="short");var i=pt(hr(this,H));if(xt(i))throw new RangeError("toLocaleString does not support offset string time zones");i=Ut(i),t.timeZone=i;var o=new qo(r,t),a=we(du,o,[]).calendar,u=vt(hr(this,L));if("iso8601"!==u&&"iso8601"!==a&&a!==u)throw new RangeError("cannot format ZonedDateTime with calendar ".concat(u)+" in locale with calendar ".concat(a));return o.format(hr(this,J))}},{key:"toJSON",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Zt(this,"auto")}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.ZonedDateTime")}},{key:"startOfDay",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=mu(this),e=I("%Temporal.PlainDateTime%"),n=hr(this,L),t=new e(hr(r,S),hr(r,Y),hr(r,_),0,0,0,0,0,0,n),i=hr(this,H);return Un(hr(Ft(i,t,"compatible"),M),i,n)}},{key:"toInstant",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return new(I("%Temporal.Instant%"))(hr(this,M))}},{key:"toPlainDate",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return gt(mu(this))}},{key:"toPlainTime",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Tt(mu(this))}},{key:"toPlainDateTime",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return mu(this)}},{key:"toPlainYearMonth",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=hr(this,L);return yt(r,En(this,Ln(r,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=hr(this,L);return wt(r,En(this,Ln(r,["day","monthCode"]),[]))}},{key:"getISOFields",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");var r=mu(this),e=hr(this,H);return{calendar:hr(this,L),isoDay:hr(r,_),isoHour:hr(r,j),isoMicrosecond:hr(r,N),isoMillisecond:hr(r,x),isoMinute:hr(r,P),isoMonth:hr(r,Y),isoNanosecond:hr(r,U),isoSecond:hr(r,Z),isoYear:hr(r,S),offset:Ct(e,hr(this,J)),timeZone:e}}},{key:"getCalendar",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return ft(hr(this,L))}},{key:"getTimeZone",value:function(){if(!Ge(this))throw new TypeError("invalid receiver");return Dt(hr(this,H))}}],[{key:"from",value:function(r){var e=yo(arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0);return Ge(r)?(un(e),vn(e,"reject"),an(e),Un(hr(r,M),hr(r,H),hr(r,L))):Mn(r,e)}},{key:"compare",value:function(r,e){var n=Mn(r),t=Mn(e),i=hr(n,M),o=hr(t,M);return C.lessThan(C.BigInt(i),C.BigInt(o))?-1:C.greaterThan(C.BigInt(i),C.BigInt(o))?1:0}}]),r}();function mu(r){return bt(hr(r,H),hr(r,J),hr(r,L))}B(wu,"Temporal.ZonedDateTime");for(var pu=Object.freeze({__proto__:null,Calendar:ma,Duration:ru,Instant:ta,Now:uu,PlainDate:Xa,PlainDateTime:Qa,PlainMonthDay:nu,PlainTime:fu,PlainYearMonth:lu,TimeZone:hu,ZonedDateTime:wu}),Du=0,Eu=[ta,ma,Xa,Qa,ru,nu,fu,hu,lu,wu];Du<Eu.length;Du++){var gu=Eu[Du],Tu=Object.getOwnPropertyDescriptor(gu,"prototype");(Tu.configurable||Tu.enumerable||Tu.writable)&&(Tu.configurable=!1,Tu.enumerable=!1,Tu.writable=!1,Object.defineProperty(gu,"prototype",Tu))}r.Intl=na,r.Temporal=pu,r.toTemporalInstant=function(){var r=C.multiply(C.BigInt(+this),Qr);return new ta(r)}}(e.exports);export{e as i}