@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.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 (1639) hide show
  1. package/README.md +37 -4
  2. package/dist/cjs/date-B28IitWe.js +24 -0
  3. package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
  4. package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
  5. package/dist/cjs/form-DTCBh5WK.js +22 -0
  6. package/dist/cjs/index--6wz7eWi.js +5183 -0
  7. package/dist/cjs/index.cjs.js +17 -0
  8. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/locale-CB5_Z7PE.js +816 -0
  11. package/dist/cjs/locale.it-CfUV2hxK.js +515 -0
  12. package/dist/cjs/magma-components.cjs.js +31 -4
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
  17. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  20. package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
  21. package/dist/cjs/mds-badge.cjs.entry.js +5 -26
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
  31. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  34. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-card.cjs.entry.js +4 -21
  36. package/dist/cjs/mds-details.cjs.entry.js +8 -18
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
  38. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  39. package/dist/cjs/mds-entity.cjs.entry.js +11 -23
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +9 -37
  41. package/dist/cjs/mds-file.cjs.entry.js +7 -35
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
  43. package/dist/cjs/mds-filter.cjs.entry.js +19 -32
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
  45. package/dist/cjs/mds-header.cjs.entry.js +8 -22
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  47. package/dist/cjs/mds-hr.cjs.entry.js +4 -17
  48. package/dist/cjs/mds-img.cjs.entry.js +8 -16
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
  51. package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
  52. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
  55. package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
  59. package/dist/cjs/mds-input.cjs.entry.js +23 -52
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +7 -29
  65. package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
  66. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  68. package/dist/cjs/mds-modal.cjs.entry.js +54 -47
  69. package/dist/cjs/mds-note.cjs.entry.js +7 -35
  70. package/dist/cjs/mds-notification.cjs.entry.js +12 -14
  71. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
  72. package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
  73. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
  74. package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
  75. package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
  76. package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
  77. package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
  78. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  79. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  80. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  81. package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
  82. package/dist/cjs/mds-pref.cjs.entry.js +40 -17
  83. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
  84. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
  85. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
  86. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
  89. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
  91. package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
  92. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
  93. package/dist/cjs/mds-quote.cjs.entry.js +4 -13
  94. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  96. package/dist/cjs/mds-separator.cjs.entry.js +4 -21
  97. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
  98. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
  99. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  100. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
  101. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
  102. package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
  103. package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
  104. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
  105. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
  106. package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
  107. package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
  108. package/dist/cjs/mds-table.cjs.entry.js +60 -50
  109. package/dist/cjs/mds-text.cjs.entry.js +36 -21
  110. package/dist/cjs/mds-toast.cjs.entry.js +10 -27
  111. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
  112. package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
  113. package/dist/cjs/mds-tree.cjs.entry.js +12 -6
  114. package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
  115. package/dist/cjs/mds-usage.cjs.entry.js +5 -33
  116. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  117. package/dist/cjs/mds-zero.cjs.entry.js +4 -25
  118. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  119. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  120. package/dist/collection/collection-manifest.json +3 -3
  121. package/dist/collection/common/date.js +9 -1
  122. package/dist/collection/common/file.js +13 -10
  123. package/dist/collection/common/floating-controller.js +175 -9
  124. package/dist/collection/common/form.js +18 -0
  125. package/dist/collection/common/keyboard-manager.js +5 -5
  126. package/dist/collection/common/locale.js +9 -31
  127. package/dist/collection/common/preference.js +83 -59
  128. package/dist/collection/common/slot.js +14 -1
  129. package/dist/collection/common/yugop/random-text.js +12 -3
  130. package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
  131. package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
  133. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
  134. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
  135. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
  137. package/dist/collection/components/mds-author/mds-author.css +4 -0
  138. package/dist/collection/components/mds-author/mds-author.js +14 -2
  139. package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
  140. package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
  141. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
  142. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  143. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
  144. package/dist/collection/components/mds-badge/mds-badge.css +168 -155
  145. package/dist/collection/components/mds-badge/mds-badge.js +2 -31
  146. package/dist/collection/components/mds-banner/mds-banner.css +149 -192
  147. package/dist/collection/components/mds-banner/mds-banner.js +10 -58
  148. package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
  149. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
  150. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
  151. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  152. package/dist/collection/components/mds-button/mds-button.css +285 -333
  153. package/dist/collection/components/mds-button/mds-button.js +4 -24
  154. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  155. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  156. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
  157. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  158. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  159. package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
  160. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  161. package/dist/collection/components/mds-card/mds-card.css +11 -35
  162. package/dist/collection/components/mds-card/mds-card.js +2 -22
  163. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  164. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  165. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  166. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  167. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  168. package/dist/collection/components/mds-chip/mds-chip.css +317 -278
  169. package/dist/collection/components/mds-chip/mds-chip.js +19 -61
  170. package/dist/collection/components/mds-details/mds-details.css +52 -28
  171. package/dist/collection/components/mds-details/mds-details.js +4 -16
  172. package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
  173. package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
  174. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  175. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  176. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  177. package/dist/collection/components/mds-entity/mds-entity.css +25 -76
  178. package/dist/collection/components/mds-entity/mds-entity.js +13 -24
  179. package/dist/collection/components/mds-file/mds-file.css +103 -79
  180. package/dist/collection/components/mds-file/mds-file.js +2 -56
  181. package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
  182. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
  183. package/dist/collection/components/mds-filter/mds-filter.css +66 -78
  184. package/dist/collection/components/mds-filter/mds-filter.js +16 -33
  185. package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
  186. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
  187. package/dist/collection/components/mds-header/mds-header.css +15 -68
  188. package/dist/collection/components/mds-header/mds-header.js +5 -22
  189. package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
  191. package/dist/collection/components/mds-help/mds-help.css +1 -19
  192. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
  193. package/dist/collection/components/mds-hr/mds-hr.css +6 -18
  194. package/dist/collection/components/mds-hr/mds-hr.js +2 -21
  195. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  196. package/dist/collection/components/mds-img/mds-img.css +12 -48
  197. package/dist/collection/components/mds-img/mds-img.js +5 -36
  198. package/dist/collection/components/mds-input/mds-input.css +120 -158
  199. package/dist/collection/components/mds-input/mds-input.js +33 -65
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
  204. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  205. package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
  206. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  207. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  208. package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
  222. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  223. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  224. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  225. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
  227. package/dist/collection/components/mds-label/mds-label.css +265 -354
  228. package/dist/collection/components/mds-label/mds-label.js +3 -54
  229. package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
  230. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
  231. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  232. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  233. package/dist/collection/components/mds-modal/mds-modal.css +71 -101
  234. package/dist/collection/components/mds-modal/mds-modal.js +72 -45
  235. package/dist/collection/components/mds-note/mds-note.css +220 -198
  236. package/dist/collection/components/mds-note/mds-note.js +3 -61
  237. package/dist/collection/components/mds-notification/mds-notification.css +55 -89
  238. package/dist/collection/components/mds-notification/mds-notification.js +9 -16
  239. package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
  240. package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
  241. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
  243. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
  245. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  246. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
  248. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
  250. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
  252. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  254. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  255. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  257. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  258. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
  260. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  261. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  263. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  264. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
  266. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
  268. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
  270. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  271. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
  273. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  275. package/dist/collection/components/mds-progress/mds-progress.css +100 -94
  276. package/dist/collection/components/mds-progress/mds-progress.js +2 -27
  277. package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
  279. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
  281. package/dist/collection/components/mds-quote/mds-quote.css +2 -2
  282. package/dist/collection/components/mds-quote/mds-quote.js +2 -16
  283. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  285. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  287. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  289. package/dist/collection/components/mds-separator/mds-separator.css +12 -42
  290. package/dist/collection/components/mds-separator/mds-separator.js +2 -26
  291. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
  292. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
  293. package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
  295. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  297. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
  299. package/dist/collection/components/mds-tab/mds-tab.css +85 -189
  300. package/dist/collection/components/mds-tab/mds-tab.js +5 -27
  301. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
  303. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
  305. package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
  307. package/dist/collection/components/mds-table/mds-table.css +86 -130
  308. package/dist/collection/components/mds-table/mds-table.js +57 -52
  309. package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
  310. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
  311. package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
  313. package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
  315. package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
  316. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
  317. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
  319. package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
  320. package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
  321. package/dist/collection/components/mds-text/mds-text.css +18 -38
  322. package/dist/collection/components/mds-text/mds-text.js +23 -22
  323. package/dist/collection/components/mds-toast/mds-toast.css +99 -90
  324. package/dist/collection/components/mds-toast/mds-toast.js +8 -28
  325. package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
  327. package/dist/collection/components/mds-tree/mds-tree.css +20 -212
  328. package/dist/collection/components/mds-tree/mds-tree.js +10 -4
  329. package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
  331. package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
  332. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
  333. package/dist/collection/components/mds-usage/mds-usage.css +80 -95
  334. package/dist/collection/components/mds-usage/mds-usage.js +2 -60
  335. package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
  337. package/dist/collection/components/mds-zero/mds-zero.css +56 -18
  338. package/dist/collection/components/mds-zero/mds-zero.js +2 -31
  339. package/dist/collection/event-detail/theme.js +1 -0
  340. package/dist/collection/type/preference.js +22 -3
  341. package/dist/components/index.d.ts +230 -0
  342. package/dist/components/index.js +1 -1
  343. package/dist/components/mds-accordion-item.js +1 -1
  344. package/dist/components/mds-accordion-timer-item.js +1 -1
  345. package/dist/components/mds-accordion-timer.js +1 -1
  346. package/dist/components/mds-accordion.js +1 -1
  347. package/dist/components/mds-author.js +1 -1
  348. package/dist/components/mds-avatar-stack-item.js +1 -1
  349. package/dist/components/mds-avatar-stack.js +1 -1
  350. package/dist/components/mds-avatar.js +1 -1
  351. package/dist/components/mds-badge.js +1 -1
  352. package/dist/components/mds-banner.js +1 -1
  353. package/dist/components/mds-benchmark-bar.js +1 -1
  354. package/dist/components/mds-bibliography.js +1 -1
  355. package/dist/components/mds-breadcrumb-item.js +1 -1
  356. package/dist/components/mds-breadcrumb.js +1 -1
  357. package/dist/components/mds-button-dropdown.js +1 -1
  358. package/dist/components/mds-button-group.js +1 -1
  359. package/dist/components/mds-button.js +1 -1
  360. package/dist/components/mds-calendar-cell.js +1 -1
  361. package/dist/components/mds-calendar.js +1 -1
  362. package/dist/components/mds-card-content.js +1 -1
  363. package/dist/components/mds-card-footer.js +1 -1
  364. package/dist/components/mds-card-header.js +1 -1
  365. package/dist/components/mds-card-media.js +1 -1
  366. package/dist/components/mds-card.js +1 -1
  367. package/dist/components/mds-chip.js +1 -1
  368. package/dist/components/mds-details.js +1 -1
  369. package/dist/components/mds-dropdown.js +1 -1
  370. package/dist/components/mds-emoji.js +3 -3
  371. package/dist/components/mds-entity.js +1 -1
  372. package/dist/components/mds-file-preview.js +1 -1
  373. package/dist/components/mds-file.js +3 -3
  374. package/dist/components/mds-filter-item.js +1 -1
  375. package/dist/components/mds-filter.js +1 -1
  376. package/dist/components/mds-header-bar.js +1 -1
  377. package/dist/components/mds-header.js +1 -1
  378. package/dist/components/mds-help.js +1 -1
  379. package/dist/components/mds-horizontal-scroll.js +1 -1
  380. package/dist/components/mds-hr.js +1 -1
  381. package/dist/components/mds-icon.js +1 -1
  382. package/dist/components/mds-img.js +1 -1
  383. package/dist/components/mds-input-date-range-preselection.js +1 -1
  384. package/dist/components/mds-input-date-range.js +1 -1
  385. package/dist/components/mds-input-date.js +1 -1
  386. package/dist/components/mds-input-field.js +1 -1
  387. package/dist/components/mds-input-otp.js +1 -1
  388. package/dist/components/mds-input-range.js +1 -1
  389. package/dist/components/mds-input-select.js +1 -1
  390. package/dist/components/mds-input-switch.js +1 -1
  391. package/dist/components/mds-input-tip-item.js +1 -1
  392. package/dist/components/mds-input-tip.js +1 -1
  393. package/dist/components/mds-input-upload.js +1 -1
  394. package/dist/components/mds-input.js +1 -1
  395. package/dist/components/mds-keyboard-key.js +1 -1
  396. package/dist/components/mds-keyboard.js +1 -1
  397. package/dist/components/mds-kpi-item.js +1 -1
  398. package/dist/components/mds-kpi.js +1 -1
  399. package/dist/components/mds-label.js +1 -1
  400. package/dist/components/mds-list-item.js +1 -1
  401. package/dist/components/mds-list.js +1 -1
  402. package/dist/components/mds-mention.js +1 -1
  403. package/dist/components/mds-modal.js +1 -1
  404. package/dist/components/mds-note.js +1 -1
  405. package/dist/components/mds-notification.js +1 -1
  406. package/dist/components/mds-paginator-item.js +1 -1
  407. package/dist/components/mds-paginator.js +1 -1
  408. package/dist/components/mds-policy-ai.js +1 -1
  409. package/dist/components/mds-pref-animation.js +1 -1
  410. package/dist/components/mds-pref-consumption.js +1 -1
  411. package/dist/components/mds-pref-contrast.js +1 -1
  412. package/dist/components/mds-pref-language-item.js +1 -1
  413. package/dist/components/mds-pref-language.js +1 -1
  414. package/dist/components/mds-pref-mode.d.ts +11 -0
  415. package/dist/components/mds-pref-mode.js +1 -0
  416. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  417. package/dist/components/mds-pref-theme-item.js +1 -0
  418. package/dist/components/mds-pref-theme.js +1 -1
  419. package/dist/components/mds-pref.js +1 -1
  420. package/dist/components/mds-price-table-features-cell.js +1 -1
  421. package/dist/components/mds-price-table-features-row.js +1 -1
  422. package/dist/components/mds-price-table-features.js +1 -1
  423. package/dist/components/mds-price-table-header.js +1 -1
  424. package/dist/components/mds-price-table-list-item.js +1 -1
  425. package/dist/components/mds-price-table-list.js +1 -1
  426. package/dist/components/mds-price-table.js +1 -1
  427. package/dist/components/mds-progress.js +1 -1
  428. package/dist/components/mds-push-notification-item.js +1 -1
  429. package/dist/components/mds-push-notification.js +1 -1
  430. package/dist/components/mds-quote.js +1 -1
  431. package/dist/components/mds-radial-menu-item.js +1 -1
  432. package/dist/components/mds-radial-menu.js +1 -1
  433. package/dist/components/mds-radial-progress.js +1 -1
  434. package/dist/components/mds-separator.js +1 -1
  435. package/dist/components/mds-spinner.js +1 -1
  436. package/dist/components/mds-status-bar.js +1 -1
  437. package/dist/components/mds-stepper-bar-item.js +1 -1
  438. package/dist/components/mds-stepper-bar.js +1 -1
  439. package/dist/components/mds-tab-bar-item.js +1 -1
  440. package/dist/components/mds-tab-bar.js +1 -1
  441. package/dist/components/mds-tab-item.js +1 -1
  442. package/dist/components/mds-tab.js +1 -1
  443. package/dist/components/mds-table-body.js +1 -1
  444. package/dist/components/mds-table-cell.js +1 -1
  445. package/dist/components/mds-table-footer.js +1 -1
  446. package/dist/components/mds-table-header-cell.js +1 -1
  447. package/dist/components/mds-table-header.js +1 -1
  448. package/dist/components/mds-table-row.js +1 -1
  449. package/dist/components/mds-table.js +1 -1
  450. package/dist/components/mds-text.js +1 -1
  451. package/dist/components/mds-toast.js +1 -1
  452. package/dist/components/mds-tooltip.js +1 -1
  453. package/dist/components/mds-tree-item.js +1 -1
  454. package/dist/components/mds-tree.js +1 -1
  455. package/dist/components/mds-url-view.js +1 -1
  456. package/dist/components/mds-usage.js +1 -1
  457. package/dist/components/mds-video-wall.js +1 -1
  458. package/dist/components/mds-zero.js +1 -1
  459. package/dist/components/p--8aaJX-p.js +1 -0
  460. package/dist/components/p-A9TZf0Ii.js +1 -0
  461. package/dist/components/p-B2A_hlV2.js +1 -0
  462. package/dist/components/p-B9DJLgwr.js +1 -0
  463. package/dist/components/p-BH3bWzRT.js +1 -0
  464. package/dist/components/p-BJNK4p33.js +1 -0
  465. package/dist/components/p-BNHXZ-JR.js +1 -0
  466. package/dist/components/p-BSxuG1vZ.js +1 -0
  467. package/dist/components/p-BTHR4xXu.js +1 -0
  468. package/dist/components/p-BhFTcUD0.js +3 -0
  469. package/dist/components/p-BouRLCYL.js +1 -0
  470. package/dist/components/p-Bss3F51Q.js +5 -0
  471. package/dist/components/p-Bt4xX5ww.js +1 -0
  472. package/dist/components/p-C03KYHGv.js +1 -0
  473. package/dist/components/p-C58NKMEE.js +1 -0
  474. package/dist/components/p-CACEYk42.js +1 -0
  475. package/dist/components/p-CBLAz3_J.js +1 -0
  476. package/dist/components/p-CHAGzQT-.js +1 -0
  477. package/dist/components/p-CVgKDZPF.js +1 -0
  478. package/dist/components/p-CVpjH8Un.js +1 -0
  479. package/dist/components/p-Caksrfcd.js +1 -0
  480. package/dist/components/p-CatD1iUY.js +1 -0
  481. package/dist/components/p-CbufYCNj.js +1 -0
  482. package/dist/components/p-Cehcn85x.js +1 -0
  483. package/dist/components/p-ClKNADBg.js +8 -0
  484. package/dist/components/p-CsgCQiHG.js +1 -0
  485. package/dist/components/p-CvIFS8oA.js +1 -0
  486. package/dist/components/p-D3-GP4KF.js +1 -0
  487. package/dist/components/p-D8I1RblC.js +1 -0
  488. package/dist/components/p-DLE5TNTp.js +1 -0
  489. package/dist/components/p-DaI5QqNu.js +1 -0
  490. package/dist/components/p-Deh5Aia-.js +1 -0
  491. package/dist/components/p-Dj_oN194.js +1 -0
  492. package/dist/components/p-DmELzfvf.js +1 -0
  493. package/dist/components/p-DtxB7DYE.js +1 -0
  494. package/dist/components/p-KRu9I7dw.js +1 -0
  495. package/dist/components/p-cBZsPiMJ.js +1 -0
  496. package/dist/components/p-s2Gu6hY7.js +1 -0
  497. package/dist/components/p-sqRs6oj4.js +1 -0
  498. package/dist/components/p-wq6nWuWE.js +1 -0
  499. package/dist/documentation.json +751 -1138
  500. package/dist/esm/date-CACEYk42.js +22 -0
  501. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  502. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  503. package/dist/esm/form-A9TZf0Ii.js +19 -0
  504. package/dist/esm/index-DIiEV39g.js +5149 -0
  505. package/dist/esm/index.js +17 -0
  506. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  507. package/dist/esm/loader.js +3 -3
  508. package/dist/esm/locale-CbJbTW_c.js +814 -0
  509. package/dist/esm/locale.it-Cvxh7La5.js +506 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -28
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +5 -22
  515. package/dist/esm/mds-author.entry.js +9 -4
  516. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  517. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  518. package/dist/esm/mds-avatar.entry.js +8 -21
  519. package/dist/esm/mds-badge.entry.js +5 -26
  520. package/dist/esm/mds-banner_3.entry.js +35 -70
  521. package/dist/esm/mds-benchmark-bar.entry.js +2 -2
  522. package/dist/esm/mds-bibliography.entry.js +2 -2
  523. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  524. package/dist/esm/mds-breadcrumb.entry.js +7 -15
  525. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  526. package/dist/esm/mds-button-group.entry.js +3 -3
  527. package/dist/esm/mds-button_3.entry.js +10 -32
  528. package/dist/esm/mds-calendar_2.entry.js +123 -102
  529. package/dist/esm/mds-card-content.entry.js +2 -2
  530. package/dist/esm/mds-card-footer.entry.js +2 -2
  531. package/dist/esm/mds-card-header.entry.js +9 -4
  532. package/dist/esm/mds-card-media.entry.js +2 -2
  533. package/dist/esm/mds-card.entry.js +4 -21
  534. package/dist/esm/mds-details.entry.js +8 -18
  535. package/dist/esm/mds-dropdown.entry.js +184 -58
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -23
  538. package/dist/esm/mds-file-preview.entry.js +9 -37
  539. package/dist/esm/mds-file.entry.js +7 -35
  540. package/dist/esm/mds-filter-item.entry.js +6 -25
  541. package/dist/esm/mds-filter.entry.js +19 -32
  542. package/dist/esm/mds-header-bar.entry.js +11 -27
  543. package/dist/esm/mds-header.entry.js +8 -22
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -17
  546. package/dist/esm/mds-img.entry.js +8 -16
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +57 -43
  549. package/dist/esm/mds-input-date.entry.js +14 -44
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +37 -3
  552. package/dist/esm/mds-input-range.entry.js +9 -29
  553. package/dist/esm/mds-input-select.entry.js +11 -41
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -55
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -40
  556. package/dist/esm/mds-input-upload.entry.js +34 -36
  557. package/dist/esm/mds-input.entry.js +23 -52
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +5 -25
  560. package/dist/esm/mds-kpi-item.entry.js +12 -25
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -29
  563. package/dist/esm/mds-list-item.entry.js +4 -13
  564. package/dist/esm/mds-list.entry.js +1 -1
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +54 -47
  567. package/dist/esm/mds-note.entry.js +7 -35
  568. package/dist/esm/mds-notification.entry.js +12 -14
  569. package/dist/esm/mds-paginator-item.entry.js +5 -20
  570. package/dist/esm/mds-paginator.entry.js +27 -32
  571. package/dist/esm/mds-policy-ai.entry.js +5 -15
  572. package/dist/esm/mds-pref-animation.entry.js +7 -23
  573. package/dist/esm/mds-pref-consumption.entry.js +7 -23
  574. package/dist/esm/mds-pref-contrast.entry.js +10 -24
  575. package/dist/esm/mds-pref-language-item.entry.js +27 -15
  576. package/dist/esm/mds-pref-language.entry.js +38 -28
  577. package/dist/esm/mds-pref-mode.entry.js +271 -0
  578. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  579. package/dist/esm/mds-pref-theme.entry.js +147 -230
  580. package/dist/esm/mds-pref.entry.js +40 -17
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -25
  583. package/dist/esm/mds-price-table-features.entry.js +4 -25
  584. package/dist/esm/mds-price-table-header.entry.js +2 -2
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -25
  587. package/dist/esm/mds-price-table.entry.js +2 -2
  588. package/dist/esm/mds-progress_2.entry.js +7 -33
  589. package/dist/esm/mds-push-notification-item.entry.js +16 -39
  590. package/dist/esm/mds-push-notification.entry.js +7 -20
  591. package/dist/esm/mds-quote.entry.js +4 -13
  592. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  593. package/dist/esm/mds-radial-menu.entry.js +7 -6
  594. package/dist/esm/mds-separator.entry.js +4 -21
  595. package/dist/esm/mds-status-bar.entry.js +4 -25
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -27
  599. package/dist/esm/mds-tab-bar.entry.js +5 -26
  600. package/dist/esm/mds-tab_2.entry.js +14 -47
  601. package/dist/esm/mds-table-body.entry.js +4 -13
  602. package/dist/esm/mds-table-footer.entry.js +4 -13
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -13
  604. package/dist/esm/mds-table-header.entry.js +19 -31
  605. package/dist/esm/mds-table-row.entry.js +20 -29
  606. package/dist/esm/mds-table.entry.js +60 -50
  607. package/dist/esm/mds-text.entry.js +36 -21
  608. package/dist/esm/mds-toast.entry.js +10 -27
  609. package/dist/esm/mds-tooltip.entry.js +16 -27
  610. package/dist/esm/mds-tree-item.entry.js +12 -14
  611. package/dist/esm/mds-tree.entry.js +12 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -41
  613. package/dist/esm/mds-usage.entry.js +5 -33
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -25
  616. package/dist/esm/preference-CKerJx2M.js +385 -0
  617. package/dist/esm/slot-C0o_l0td.js +61 -0
  618. package/dist/esm-es5/date-CACEYk42.js +6 -0
  619. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  620. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  621. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  622. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  623. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  624. package/dist/esm-es5/index.js +79 -1
  625. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  626. package/dist/esm-es5/loader.js +1 -1
  627. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  628. package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
  629. package/dist/esm-es5/magma-components.js +4 -1
  630. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  631. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  632. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  633. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  634. package/dist/esm-es5/mds-author.entry.js +1 -1
  635. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  636. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  637. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  638. package/dist/esm-es5/mds-badge.entry.js +12 -1
  639. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  640. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  641. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  642. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  643. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  644. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  645. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  646. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  647. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  648. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  651. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  652. package/dist/esm-es5/mds-card.entry.js +7 -1
  653. package/dist/esm-es5/mds-details.entry.js +4 -1
  654. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  655. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  656. package/dist/esm-es5/mds-entity.entry.js +1 -1
  657. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  658. package/dist/esm-es5/mds-file.entry.js +2823 -3
  659. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  660. package/dist/esm-es5/mds-filter.entry.js +11 -1
  661. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  662. package/dist/esm-es5/mds-header.entry.js +30 -1
  663. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  664. package/dist/esm-es5/mds-hr.entry.js +1 -1
  665. package/dist/esm-es5/mds-img.entry.js +15 -1
  666. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  667. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  668. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  669. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  670. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  671. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  672. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  673. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  674. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  675. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  676. package/dist/esm-es5/mds-input.entry.js +134 -1
  677. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  678. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  680. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  681. package/dist/esm-es5/mds-label.entry.js +16 -1
  682. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  683. package/dist/esm-es5/mds-list.entry.js +1 -1
  684. package/dist/esm-es5/mds-mention.entry.js +4 -1
  685. package/dist/esm-es5/mds-modal.entry.js +68 -1
  686. package/dist/esm-es5/mds-note.entry.js +7 -1
  687. package/dist/esm-es5/mds-notification.entry.js +13 -1
  688. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  689. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  690. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  691. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  693. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  694. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  695. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  696. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  697. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  698. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  699. package/dist/esm-es5/mds-pref.entry.js +9 -1
  700. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  701. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  704. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  705. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  706. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  707. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  708. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  709. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  710. package/dist/esm-es5/mds-quote.entry.js +7 -1
  711. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  712. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  713. package/dist/esm-es5/mds-separator.entry.js +1 -1
  714. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  715. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  716. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  717. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  718. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  719. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  720. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  722. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  723. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  724. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  725. package/dist/esm-es5/mds-table.entry.js +15 -1
  726. package/dist/esm-es5/mds-text.entry.js +27 -1
  727. package/dist/esm-es5/mds-toast.entry.js +15 -1
  728. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  729. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  730. package/dist/esm-es5/mds-tree.entry.js +20 -1
  731. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  732. package/dist/esm-es5/mds-usage.entry.js +4 -1
  733. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  734. package/dist/esm-es5/mds-zero.entry.js +1 -1
  735. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  736. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  737. package/dist/hydrate/index.js +4281 -3175
  738. package/dist/hydrate/index.mjs +4281 -3175
  739. package/dist/magma-components/index.esm.js +1 -1
  740. package/dist/magma-components/magma-components.esm.js +1 -1
  741. package/dist/magma-components/magma-components.js +1 -1
  742. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  743. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  744. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  745. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  746. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  747. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  748. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  749. package/dist/magma-components/p-0a691082.entry.js +1 -0
  750. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  751. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  752. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  753. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  754. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  755. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  756. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  757. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  758. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  759. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  760. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  761. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  762. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  763. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  764. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  765. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  766. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  767. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  768. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  769. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  770. package/dist/magma-components/p-21891a24.entry.js +1 -0
  771. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  772. package/dist/magma-components/p-231505e8.entry.js +1 -0
  773. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  774. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  775. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  776. package/dist/magma-components/p-27ea99ee.entry.js +8 -0
  777. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  778. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  779. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  780. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  781. package/dist/magma-components/p-2de17848.entry.js +1 -0
  782. package/dist/magma-components/p-34482514.entry.js +1 -0
  783. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  784. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  785. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  786. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  787. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  788. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  789. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  790. package/dist/magma-components/p-40563e33.entry.js +1 -0
  791. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  792. package/dist/magma-components/p-421a630e.entry.js +1 -0
  793. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  794. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  795. package/dist/magma-components/p-4543501c.entry.js +1 -0
  796. package/dist/magma-components/p-454c4774.entry.js +1 -0
  797. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  798. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  799. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  800. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  801. package/dist/magma-components/p-48d37230.entry.js +1 -0
  802. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  803. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  804. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  805. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  806. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  807. package/dist/magma-components/p-4f107cb2.system.entry.js +2838 -0
  808. package/dist/magma-components/p-4oB0woT9.system.js +6 -0
  809. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  810. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  811. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  812. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  813. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  814. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  815. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  816. package/dist/magma-components/p-636cc471.entry.js +1 -0
  817. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  818. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  819. package/dist/magma-components/p-6937f340.entry.js +1 -0
  820. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  821. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  822. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  823. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  824. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  825. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  826. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  827. package/dist/magma-components/p-6de37588.entry.js +1 -0
  828. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  829. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  830. package/dist/magma-components/p-7090184f.entry.js +1 -0
  831. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  832. package/dist/magma-components/p-71804224.entry.js +1 -0
  833. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  834. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  835. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  836. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  837. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  838. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  839. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  840. package/dist/magma-components/p-78248693.entry.js +1 -0
  841. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  842. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  843. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  844. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  845. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  846. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  847. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  848. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  849. package/dist/magma-components/p-8c4fb7ec.system.entry.js +30 -0
  850. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  851. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  852. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  853. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  854. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  855. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  856. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  857. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  858. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  859. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  860. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  861. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  862. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  863. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  864. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  865. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  866. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  867. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  868. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  869. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  870. package/dist/magma-components/p-B6mQg6yQ.js +1 -0
  871. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  872. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  873. package/dist/magma-components/p-BbMKuVem.js +1 -0
  874. package/dist/magma-components/p-C0o_l0td.js +1 -0
  875. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  876. package/dist/magma-components/p-CACEYk42.js +1 -0
  877. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  878. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  879. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  880. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  881. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  882. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  883. package/dist/magma-components/p-DIiEV39g.js +3 -0
  884. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  885. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  886. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  887. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  888. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  889. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  890. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  891. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  892. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  893. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  894. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  895. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  896. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  897. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  898. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  899. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  900. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  901. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  902. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  903. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  904. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  905. package/dist/magma-components/p-b35c26f8.entry.js +18 -0
  906. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  907. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  908. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  909. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  910. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  911. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  912. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  913. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  914. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  915. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  916. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  917. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  918. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  919. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  920. package/dist/magma-components/p-c573de10.entry.js +1 -0
  921. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  922. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  923. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  924. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  925. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  926. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  927. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  928. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  929. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  930. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  931. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  932. package/dist/magma-components/p-d3116844.entry.js +1 -0
  933. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  934. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  935. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  936. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  937. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  938. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  939. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  940. package/dist/magma-components/p-d921d876.entry.js +1 -0
  941. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  942. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  943. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  944. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  945. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  946. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  947. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  948. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  949. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  950. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  951. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  952. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  953. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  954. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  955. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  956. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  957. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  958. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  959. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  960. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  961. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  962. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  963. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  964. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  965. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  966. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  967. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  968. package/dist/magma-components/p-f8369939.entry.js +1 -0
  969. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  970. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  971. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  972. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  973. package/dist/magma-components/p-fff44704.entry.js +1 -0
  974. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  975. package/dist/stats.json +5356 -7143
  976. package/dist/types/common/date.d.ts +5 -1
  977. package/dist/types/common/floating-controller.d.ts +56 -2
  978. package/dist/types/common/form.d.ts +10 -0
  979. package/dist/types/common/locale.d.ts +0 -5
  980. package/dist/types/common/preference.d.ts +48 -16
  981. package/dist/types/common/slot.d.ts +11 -1
  982. package/dist/types/common/yugop/random-text.d.ts +8 -0
  983. package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
  984. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
  985. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
  986. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  987. package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
  988. package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
  989. package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
  990. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
  991. package/dist/types/components/mds-button/mds-button.d.ts +0 -7
  992. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  993. package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
  994. package/dist/types/components/mds-card/mds-card.d.ts +0 -8
  995. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  996. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
  997. package/dist/types/components/mds-details/mds-details.d.ts +0 -5
  998. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
  999. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  1000. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
  1001. package/dist/types/components/mds-file/mds-file.d.ts +0 -15
  1002. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
  1003. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
  1004. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
  1005. package/dist/types/components/mds-header/mds-header.d.ts +0 -7
  1006. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
  1007. package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
  1008. package/dist/types/components/mds-img/mds-img.d.ts +1 -7
  1009. package/dist/types/components/mds-input/mds-input.d.ts +7 -15
  1010. package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
  1011. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
  1012. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1013. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1014. package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
  1015. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
  1016. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
  1017. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
  1018. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
  1019. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
  1020. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1021. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
  1022. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1023. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1024. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
  1025. package/dist/types/components/mds-label/mds-label.d.ts +0 -12
  1026. package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
  1027. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1028. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1029. package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
  1030. package/dist/types/components/mds-note/mds-note.d.ts +0 -15
  1031. package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
  1032. package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
  1033. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
  1034. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
  1035. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1036. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
  1037. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
  1038. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
  1039. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1040. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1041. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1042. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1043. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
  1044. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1045. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1046. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
  1047. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
  1048. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
  1049. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
  1050. package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
  1051. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
  1052. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
  1053. package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
  1054. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1055. package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
  1056. package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
  1057. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
  1058. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1059. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
  1060. package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
  1061. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
  1062. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
  1063. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
  1064. package/dist/types/components/mds-table/mds-table.d.ts +10 -14
  1065. package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
  1066. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
  1067. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
  1068. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
  1069. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
  1070. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
  1071. package/dist/types/components/mds-text/mds-text.d.ts +0 -4
  1072. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
  1073. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
  1074. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
  1075. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
  1076. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
  1077. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1078. package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
  1079. package/dist/types/components.d.ts +243 -239
  1080. package/dist/types/event-detail/preference.d.ts +2 -2
  1081. package/dist/types/event-detail/theme.d.ts +5 -0
  1082. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1083. package/dist/types/type/preference.d.ts +16 -3
  1084. package/loader/index.d.ts +1 -1
  1085. package/package.json +60 -66
  1086. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1087. package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
  1088. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1089. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1090. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1091. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1092. package/dist/cjs/locale.it-D-rxNDkm.js +0 -512
  1093. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1094. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1095. package/dist/cjs/preference-BdpIXWLP.js +0 -81
  1096. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1097. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
  1098. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1099. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1100. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1101. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1102. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1103. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1104. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1105. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1106. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1107. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1108. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1109. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1110. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1111. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1112. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1113. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1114. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1115. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1116. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1117. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1118. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1119. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1120. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1121. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1122. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1123. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1124. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1125. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1126. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1127. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1128. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1129. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1130. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1131. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1132. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1133. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1134. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1135. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1136. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1137. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1138. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1139. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1140. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1141. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1142. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1143. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1144. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1145. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1146. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1147. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1148. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1149. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1150. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1151. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1152. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
  1153. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1154. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1155. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1156. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1157. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1158. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1159. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1160. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1161. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1162. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1163. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1164. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1165. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1166. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1167. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1168. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1169. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1170. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1171. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1172. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1173. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1174. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1175. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1176. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1177. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1178. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1179. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1180. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1181. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1182. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1183. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1184. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1185. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1186. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1187. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1188. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1189. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1190. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1191. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1192. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1193. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1194. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1195. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1196. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1197. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1198. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1199. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1200. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1201. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1202. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1203. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1204. package/dist/collection/storybook/example-page.stories.js +0 -10
  1205. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1206. package/dist/collection/storybook/input-form.stories.js +0 -40
  1207. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1208. package/dist/collection/test/file.js +0 -53
  1209. package/dist/collection/test/mock.js +0 -19
  1210. package/dist/components/date.js +0 -1
  1211. package/dist/components/floating-controller.js +0 -1
  1212. package/dist/components/floating-ui.dom.js +0 -1
  1213. package/dist/components/icons-set.service.js +0 -1
  1214. package/dist/components/keyboard-manager.js +0 -1
  1215. package/dist/components/locale.it.js +0 -1
  1216. package/dist/components/locale.js +0 -5
  1217. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1218. package/dist/components/mds-avatar2.js +0 -1
  1219. package/dist/components/mds-badge2.js +0 -1
  1220. package/dist/components/mds-banner2.js +0 -1
  1221. package/dist/components/mds-button2.js +0 -1
  1222. package/dist/components/mds-calendar-cell2.js +0 -1
  1223. package/dist/components/mds-calendar2.js +0 -1
  1224. package/dist/components/mds-chip2.js +0 -1
  1225. package/dist/components/mds-dropdown2.js +0 -1
  1226. package/dist/components/mds-file-preview2.js +0 -8
  1227. package/dist/components/mds-filter-item2.js +0 -1
  1228. package/dist/components/mds-help2.js +0 -1
  1229. package/dist/components/mds-icon2.js +0 -1
  1230. package/dist/components/mds-img2.js +0 -1
  1231. package/dist/components/mds-input-switch2.js +0 -1
  1232. package/dist/components/mds-input-tip-item2.js +0 -1
  1233. package/dist/components/mds-input-tip2.js +0 -1
  1234. package/dist/components/mds-input2.js +0 -1
  1235. package/dist/components/mds-modal2.js +0 -1
  1236. package/dist/components/mds-paginator-item2.js +0 -1
  1237. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1238. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1239. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1240. package/dist/components/mds-pref-theme-variant.js +0 -1
  1241. package/dist/components/mds-progress2.js +0 -1
  1242. package/dist/components/mds-radial-progress2.js +0 -1
  1243. package/dist/components/mds-separator2.js +0 -1
  1244. package/dist/components/mds-spinner2.js +0 -1
  1245. package/dist/components/mds-tab-item2.js +0 -1
  1246. package/dist/components/mds-tab2.js +0 -1
  1247. package/dist/components/mds-table-cell2.js +0 -1
  1248. package/dist/components/mds-table-header-cell2.js +0 -1
  1249. package/dist/components/mds-text2.js +0 -1
  1250. package/dist/components/mds-tooltip2.js +0 -1
  1251. package/dist/components/preference.js +0 -1
  1252. package/dist/components/slot.js +0 -1
  1253. package/dist/esm/date-C1oxPa_J.js +0 -14
  1254. package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
  1255. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1256. package/dist/esm/index-CAd5312P.js +0 -2869
  1257. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1258. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1259. package/dist/esm/locale.it-Dj8sWDfj.js +0 -503
  1260. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1261. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1262. package/dist/esm/preference-fMwnXhio.js +0 -79
  1263. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1264. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1265. package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
  1266. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1267. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1268. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1269. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1270. package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
  1271. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1272. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1273. package/dist/esm-es5/preference-fMwnXhio.js +0 -1
  1274. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1275. package/dist/magma-components/p-0105d7c7.entry.js +0 -8
  1276. package/dist/magma-components/p-022defe8.entry.js +0 -1
  1277. package/dist/magma-components/p-02d858d0.entry.js +0 -1
  1278. package/dist/magma-components/p-0607a2b3.entry.js +0 -1
  1279. package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
  1280. package/dist/magma-components/p-0b91aae4.entry.js +0 -1
  1281. package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
  1282. package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
  1283. package/dist/magma-components/p-0e986d85.entry.js +0 -18
  1284. package/dist/magma-components/p-0ea42813.entry.js +0 -1
  1285. package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
  1286. package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
  1287. package/dist/magma-components/p-11567740.entry.js +0 -1
  1288. package/dist/magma-components/p-116238cf.system.entry.js +0 -1
  1289. package/dist/magma-components/p-1239667c.system.entry.js +0 -1
  1290. package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
  1291. package/dist/magma-components/p-16c94506.system.entry.js +0 -1
  1292. package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
  1293. package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
  1294. package/dist/magma-components/p-19446c9e.entry.js +0 -1
  1295. package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
  1296. package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
  1297. package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
  1298. package/dist/magma-components/p-2035564c.system.entry.js +0 -1
  1299. package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-21ee64ec.entry.js +0 -1
  1301. package/dist/magma-components/p-224d2f55.entry.js +0 -1
  1302. package/dist/magma-components/p-23791e85.system.entry.js +0 -1
  1303. package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
  1304. package/dist/magma-components/p-249b80a5.entry.js +0 -1
  1305. package/dist/magma-components/p-262daf4f.entry.js +0 -1
  1306. package/dist/magma-components/p-288ce251.entry.js +0 -1
  1307. package/dist/magma-components/p-2a804b82.entry.js +0 -1
  1308. package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
  1309. package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
  1310. package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
  1311. package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
  1312. package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
  1313. package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
  1314. package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
  1315. package/dist/magma-components/p-31403b12.entry.js +0 -1
  1316. package/dist/magma-components/p-31616d0b.entry.js +0 -1
  1317. package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
  1318. package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
  1319. package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
  1320. package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
  1321. package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
  1322. package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
  1323. package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
  1324. package/dist/magma-components/p-385f395d.system.entry.js +0 -1
  1325. package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
  1326. package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
  1327. package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
  1328. package/dist/magma-components/p-3de6fa18.entry.js +0 -1
  1329. package/dist/magma-components/p-41da539f.entry.js +0 -1
  1330. package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
  1331. package/dist/magma-components/p-447c2d1b.entry.js +0 -1
  1332. package/dist/magma-components/p-44e2965d.entry.js +0 -1
  1333. package/dist/magma-components/p-46266f27.entry.js +0 -1
  1334. package/dist/magma-components/p-4630472f.entry.js +0 -1
  1335. package/dist/magma-components/p-4671336c.entry.js +0 -1
  1336. package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
  1337. package/dist/magma-components/p-4a929c1c.entry.js +0 -1
  1338. package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
  1339. package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
  1340. package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
  1341. package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
  1342. package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
  1343. package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
  1344. package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
  1345. package/dist/magma-components/p-5724212b.entry.js +0 -1
  1346. package/dist/magma-components/p-5be1c273.entry.js +0 -1
  1347. package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
  1348. package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
  1349. package/dist/magma-components/p-5e626696.entry.js +0 -1
  1350. package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
  1351. package/dist/magma-components/p-5fe8c814.entry.js +0 -1
  1352. package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
  1353. package/dist/magma-components/p-611fa0a4.entry.js +0 -1
  1354. package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
  1355. package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
  1356. package/dist/magma-components/p-652b4e43.entry.js +0 -1
  1357. package/dist/magma-components/p-6a92f533.entry.js +0 -1
  1358. package/dist/magma-components/p-6b3569a0.entry.js +0 -1
  1359. package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
  1360. package/dist/magma-components/p-6ecfec17.entry.js +0 -1
  1361. package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
  1362. package/dist/magma-components/p-6ee86191.entry.js +0 -1
  1363. package/dist/magma-components/p-70719b58.entry.js +0 -1
  1364. package/dist/magma-components/p-70e1a436.entry.js +0 -1
  1365. package/dist/magma-components/p-725d9e09.entry.js +0 -1
  1366. package/dist/magma-components/p-726a76f0.entry.js +0 -1
  1367. package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
  1368. package/dist/magma-components/p-73926a10.entry.js +0 -1
  1369. package/dist/magma-components/p-7499262d.system.entry.js +0 -1
  1370. package/dist/magma-components/p-750214a3.entry.js +0 -1
  1371. package/dist/magma-components/p-7590a160.entry.js +0 -1
  1372. package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
  1373. package/dist/magma-components/p-765447d4.system.entry.js +0 -1
  1374. package/dist/magma-components/p-76cb480d.entry.js +0 -1
  1375. package/dist/magma-components/p-79e12ac8.entry.js +0 -1
  1376. package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
  1377. package/dist/magma-components/p-7c464f28.entry.js +0 -1
  1378. package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
  1379. package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
  1380. package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
  1381. package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
  1382. package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
  1383. package/dist/magma-components/p-85a2d99d.entry.js +0 -1
  1384. package/dist/magma-components/p-8620f425.entry.js +0 -1
  1385. package/dist/magma-components/p-89581b08.system.entry.js +0 -1
  1386. package/dist/magma-components/p-8964a9fe.entry.js +0 -1
  1387. package/dist/magma-components/p-899cd759.entry.js +0 -1
  1388. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1389. package/dist/magma-components/p-8b2408b2.entry.js +0 -1
  1390. package/dist/magma-components/p-8b9f6896.entry.js +0 -1
  1391. package/dist/magma-components/p-8bde0c42.entry.js +0 -1
  1392. package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
  1393. package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
  1394. package/dist/magma-components/p-93538408.system.entry.js +0 -1
  1395. package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
  1396. package/dist/magma-components/p-96f7ec63.entry.js +0 -1
  1397. package/dist/magma-components/p-97144490.entry.js +0 -1
  1398. package/dist/magma-components/p-999b0698.system.entry.js +0 -1
  1399. package/dist/magma-components/p-9e533765.system.entry.js +0 -18
  1400. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1401. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1402. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1403. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1404. package/dist/magma-components/p-CAd5312P.js +0 -2
  1405. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1406. package/dist/magma-components/p-CSb7Iu19.js +0 -1
  1407. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1408. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1409. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1410. package/dist/magma-components/p-DssKRrAV.system.js +0 -1
  1411. package/dist/magma-components/p-MSUJeuJp.js +0 -1
  1412. package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
  1413. package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
  1414. package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
  1415. package/dist/magma-components/p-a2d761d6.entry.js +0 -1
  1416. package/dist/magma-components/p-a379adca.entry.js +0 -1
  1417. package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
  1418. package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
  1419. package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
  1420. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1421. package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
  1422. package/dist/magma-components/p-a6103622.entry.js +0 -1
  1423. package/dist/magma-components/p-a6b8b861.entry.js +0 -1
  1424. package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
  1425. package/dist/magma-components/p-a716833c.system.entry.js +0 -1
  1426. package/dist/magma-components/p-a877906d.system.entry.js +0 -1
  1427. package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-a92edada.entry.js +0 -1
  1429. package/dist/magma-components/p-aafec5fe.entry.js +0 -1
  1430. package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
  1431. package/dist/magma-components/p-ac2ee475.entry.js +0 -1
  1432. package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
  1433. package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
  1434. package/dist/magma-components/p-ae433eb9.entry.js +0 -1
  1435. package/dist/magma-components/p-afaef9a1.entry.js +0 -1
  1436. package/dist/magma-components/p-b257222c.system.entry.js +0 -1
  1437. package/dist/magma-components/p-b472ed3c.entry.js +0 -1
  1438. package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
  1439. package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
  1440. package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
  1441. package/dist/magma-components/p-b97edfb5.entry.js +0 -1
  1442. package/dist/magma-components/p-bc851caf.entry.js +0 -1
  1443. package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
  1444. package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
  1445. package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
  1446. package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
  1447. package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
  1448. package/dist/magma-components/p-c01c49b6.entry.js +0 -1
  1449. package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
  1450. package/dist/magma-components/p-c036f516.entry.js +0 -1
  1451. package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
  1452. package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
  1453. package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
  1454. package/dist/magma-components/p-c92a772e.entry.js +0 -1
  1455. package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
  1456. package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
  1457. package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
  1458. package/dist/magma-components/p-cd49c455.entry.js +0 -1
  1459. package/dist/magma-components/p-d0542487.entry.js +0 -1
  1460. package/dist/magma-components/p-d0dfe659.entry.js +0 -1
  1461. package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
  1462. package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
  1463. package/dist/magma-components/p-d4295773.entry.js +0 -1
  1464. package/dist/magma-components/p-d5700423.system.entry.js +0 -1
  1465. package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
  1466. package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
  1467. package/dist/magma-components/p-daa8f835.entry.js +0 -1
  1468. package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
  1469. package/dist/magma-components/p-de0dac8f.entry.js +0 -1
  1470. package/dist/magma-components/p-de8204f9.entry.js +0 -1
  1471. package/dist/magma-components/p-e0b841e3.entry.js +0 -1
  1472. package/dist/magma-components/p-e35ab355.entry.js +0 -1
  1473. package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
  1474. package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
  1475. package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
  1476. package/dist/magma-components/p-e57698df.system.entry.js +0 -1
  1477. package/dist/magma-components/p-e669739e.entry.js +0 -1
  1478. package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
  1479. package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
  1480. package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
  1481. package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
  1482. package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
  1483. package/dist/magma-components/p-ef142420.system.entry.js +0 -1
  1484. package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
  1485. package/dist/magma-components/p-f0762290.entry.js +0 -1
  1486. package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
  1487. package/dist/magma-components/p-f4b1974a.entry.js +0 -1
  1488. package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
  1489. package/dist/magma-components/p-f83a9e08.entry.js +0 -1
  1490. package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
  1491. package/dist/magma-components/p-f91dab2b.entry.js +0 -1
  1492. package/dist/magma-components/p-fMwnXhio.js +0 -1
  1493. package/dist/magma-components/p-fa61d03c.entry.js +0 -1
  1494. package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
  1495. package/dist/magma-components/p-fbfb589c.entry.js +0 -1
  1496. package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
  1497. package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
  1498. package/dist/magma-components/p-fd574e21.entry.js +0 -1
  1499. package/dist/magma-components/p-fd649ac2.entry.js +0 -1
  1500. package/dist/magma-components/p-fed36619.entry.js +0 -1
  1501. package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
  1502. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1503. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1504. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1505. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
  1506. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1507. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1508. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1509. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1510. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1511. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1512. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1513. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1514. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1515. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1516. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1517. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1518. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1519. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1520. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1521. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1522. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1523. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1524. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1525. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1526. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1527. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1528. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1529. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1530. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1531. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1532. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1533. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1534. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1535. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1536. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1537. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1538. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1539. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1540. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1541. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1542. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1543. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1544. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1545. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1546. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1547. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1548. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1549. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1550. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1551. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1552. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1553. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1554. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1555. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1556. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1557. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1558. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1559. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1560. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
  1561. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1562. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1563. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1564. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1565. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1566. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1567. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1568. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1569. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1570. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1571. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1572. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1573. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1574. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1575. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1576. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1577. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1578. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1579. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1580. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1581. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1582. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1583. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1584. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1585. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1586. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1587. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1588. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1589. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1590. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1591. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1592. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1593. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1594. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1595. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1596. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1597. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1598. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1599. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1600. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1601. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1602. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1603. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1604. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1605. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1606. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1607. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1608. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1609. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1610. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1611. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1612. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1613. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1614. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1615. package/dist/types/test/file.d.ts +0 -35
  1616. package/dist/types/test/mock.d.ts +0 -2
  1617. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1618. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1619. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1620. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1621. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1622. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1623. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1624. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1625. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1626. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1627. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1628. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1629. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1630. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1631. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1632. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1633. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1634. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1635. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1636. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1637. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1638. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1639. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -1 +1,2733 @@
1
- var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++){n=arguments[r];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))e[i]=n[i]}return e};return __assign.apply(this,arguments)};var __rest=this&&this.__rest||function(e,n){var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0)r[t]=e[t];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++){if(n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i]))r[t[i]]=e[t[i]]}return r};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,u;t<i;t++){if(u||!(t in n)){if(!u)u=Array.prototype.slice.call(n,0,t);u[t]=n[t]}}return e.concat(u||Array.prototype.slice.call(n))};System.register([],(function(e){"use strict";return{execute:function(){var n=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);var r=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(n);var t=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(n);var i=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(n);var u=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(n);var a=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(n);var s=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(n);var o=function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(n);var f="numeric",c="short",l="long";var h={year:f,month:f,day:f};var v={year:f,month:c,day:f};var d={year:f,month:c,day:f,weekday:c};var m={year:f,month:l,day:f};var b={year:f,month:l,day:f,weekday:l};var g={hour:f,minute:f};var y={hour:f,minute:f,second:f};var w={hour:f,minute:f,second:f,timeZoneName:c};var _={hour:f,minute:f,second:f,timeZoneName:l};var O={hour:f,minute:f,hourCycle:"h23"};var M={hour:f,minute:f,second:f,hourCycle:"h23"};var j={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:c};var p={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:l};var N={year:f,month:f,day:f,hour:f,minute:f};var k={year:f,month:f,day:f,hour:f,minute:f,second:f};var T={year:f,month:c,day:f,hour:f,minute:f};var E={year:f,month:c,day:f,hour:f,minute:f,second:f};var S={year:f,month:c,day:f,weekday:c,hour:f,minute:f};var D={year:f,month:l,day:f,hour:f,minute:f,timeZoneName:c};var I={year:f,month:l,day:f,hour:f,minute:f,second:f,timeZoneName:c};var x={year:f,month:l,day:f,weekday:l,hour:f,minute:f,timeZoneName:l};var A={year:f,month:l,day:f,weekday:l,hour:f,minute:f,second:f,timeZoneName:l};var Z=function(){function e(){}Object.defineProperty(e.prototype,"type",{get:function(){throw new o},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){throw new o},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{get:function(){throw new o},enumerable:false,configurable:true});e.prototype.offsetName=function(e,n){throw new o};e.prototype.formatOffset=function(e,n){throw new o};e.prototype.offset=function(e){throw new o};e.prototype.equals=function(e){throw new o};Object.defineProperty(e.prototype,"isValid",{get:function(){throw new o},enumerable:false,configurable:true});return e}();var L=null;var W=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{get:function(){if(L===null){L=new n}return L},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return Nn(e,r,t)};n.prototype.formatOffset=function(e,n){return Sn(this.offset(e),n)};n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Z);var F=new Map;function C(e){var n=F.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});F.set(e,n)}return n}var H={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function q(e,n){var r=e.format(n).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=t[1],u=t[2],a=t[3],s=t[4],o=t[5],f=t[6],c=t[7];return[a,i,u,s,o,f,c]}function z(e,n){var r=e.formatToParts(n);var t=[];for(var i=0;i<r.length;i++){var u=r[i],a=u.type,s=u.value;var o=H[a];if(a==="era"){t[o]=s}else if(!Qe(o)){t[o]=parseInt(s,10)}}return t}var J=new Map;var R=function(e){__extends(n,e);function n(r){var t=e.call(this)||this;t.zoneName=r;t.valid=n.isValidZone(r);return t}n.create=function(e){var r=J.get(e);if(r===undefined){J.set(e,r=new n(e))}return r};n.resetCache=function(){J.clear();F.clear()};n.isValidSpecifier=function(e){return this.isValidZone(e)};n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return Nn(e,r,t,this.name)};n.prototype.formatOffset=function(e,n){return Sn(this.offset(e),n)};n.prototype.offset=function(e){if(!this.valid)return NaN;var n=new Date(e);if(isNaN(n))return NaN;var r=C(this.name);var t=r.formatToParts?z(r,n):q(r,n),i=t[0],u=t[1],a=t[2],s=t[3],o=t[4],f=t[5],c=t[6];if(s==="BC"){i=-Math.abs(i)+1}var l=o===24?0:o;var h=On({year:i,month:u,day:a,hour:l,minute:f,second:c,millisecond:0});var v=+n;var d=v%1e3;v-=d>=0?d:1e3+d;return(h-v)/(60*1e3)};n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{get:function(){return this.valid},enumerable:false,configurable:true});return n}(Z);var U={};function G(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=U[r];if(!t){t=new Intl.ListFormat(e,n);U[r]=t}return t}var Y=new Map;function P(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=Y.get(r);if(t===undefined){t=new Intl.DateTimeFormat(e,n);Y.set(r,t)}return t}var $=new Map;function V(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=$.get(r);if(t===undefined){t=new Intl.NumberFormat(e,n);$.set(r,t)}return t}var B=new Map;function K(e,n){if(n===void 0){n={}}var r=n.base,t=__rest(n,["base"]);var i=JSON.stringify([e,t]);var u=B.get(i);if(u===undefined){u=new Intl.RelativeTimeFormat(e,n);B.set(i,u)}return u}var Q=null;function X(){if(Q){return Q}else{Q=(new Intl.DateTimeFormat).resolvedOptions().locale;return Q}}var ee=new Map;function ne(e){var n=ee.get(e);if(n===undefined){n=new Intl.DateTimeFormat(e).resolvedOptions();ee.set(e,n)}return n}var re=new Map;function te(e){var n=re.get(e);if(!n){var r=new Intl.Locale(e);n="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;if(!("minimalDays"in n)){n=__assign(__assign({},ve),n)}re.set(e,n)}return n}function ie(e){var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var r=e.indexOf("-u-");if(r===-1){return[e]}else{var t=void 0;var i=void 0;try{t=P(e).resolvedOptions();i=e}catch(n){var u=e.substring(0,r);t=P(u).resolvedOptions();i=u}var a=t.numberingSystem,s=t.calendar;return[i,a,s]}}function ue(e,n,r){if(r||n){if(!e.includes("-u-")){e+="-u"}if(r){e+="-ca-".concat(r)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function ae(e){var n=[];for(var r=1;r<=12;r++){var t=gi.utc(2009,r,1);n.push(e(t))}return n}function se(e){var n=[];for(var r=1;r<=7;r++){var t=gi.utc(2016,11,13+r);n.push(e(t))}return n}function oe(e,n,r,t){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return r(n)}else{return t(n)}}function fe(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||ne(e.locale).numberingSystem==="latn"}}var ce=function(){function e(e,n,r){this.padTo=r.padTo||0;this.floor=r.floor||false;var t=r.padTo,i=r.floor,u=__rest(r,["padTo","floor"]);if(!n||Object.keys(u).length>0){var a=__assign({useGrouping:false},r);if(r.padTo>0)a.minimumIntegerDigits=r.padTo;this.inf=V(e,a)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{var n=this.floor?Math.floor(e):gn(e,3);return vn(n,this.padTo)}};return e}();var le=function(){function e(e,n,r){this.opts=r;this.originalZone=undefined;var t=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){var i=-1*(e.offset/60);var u=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&R.create(u).valid){t=u;this.dt=e}else{t="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;t=e.zone.name}else{t="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var a=__assign({},this.opts);a.timeZone=a.timeZone||t;this.dtf=P(n,a)}e.prototype.format=function(){if(this.originalZone){return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var r=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:r})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();var he=function(){function e(e,n,r){this.opts=__assign({style:"long"},r);if(!n&&tn()){this.rtf=K(e,r)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return $n(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var ve={firstDay:1,minimalDays:4,weekend:[6,7]};var de=function(){function e(e,n,r,t,i){var u=ie(e),a=u[0],s=u[1],o=u[2];this.locale=a;this.numberingSystem=n||s||null;this.outputCalendar=r||o||null;this.weekSettings=t;this.intl=ue(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,r,t,i,u){if(u===void 0){u=false}var a=n||Ze.defaultLocale;var s=a||(u?"en-US":X());var o=r||Ze.defaultNumberingSystem;var f=t||Ze.defaultOutputCalendar;var c=cn(i)||Ze.defaultWeekSettings;return new e(s,o,f,c,a)};e.resetCache=function(){Q=null;Y.clear();$.clear();B.clear();ee.clear();re.clear()};e.fromObject=function(n){var r=n===void 0?{}:n,t=r.locale,i=r.numberingSystem,u=r.outputCalendar,a=r.weekSettings;return e.create(t,i,u,a)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=fe(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,cn(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Zn,(function(){var t=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!r.monthsCache[i][e]){r.monthsCache[i][e]=ae((function(e){return r.extract(e,t,"month")}))}return r.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Cn,(function(){var t=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!r.weekdaysCache[i][e]){r.weekdaysCache[i][e]=se((function(e){return r.extract(e,t,"weekday")}))}return r.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return oe(this,undefined,(function(){return Hn}),(function(){if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[gi.utc(2016,11,13,9),gi.utc(2016,11,13,19)].map((function(r){return e.extract(r,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return oe(this,e,Rn,(function(){var r={era:e};if(!n.eraCache[e]){n.eraCache[e]=[gi.utc(-40,1,1),gi.utc(2017,1,1)].map((function(e){return n.extract(e,r,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,r){var t=this.dtFormatter(e,n),i=t.formatToParts(),u=i.find((function(e){return e.type.toLowerCase()===r}));return u?u.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}return new ce(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new le(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new he(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return G(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||ne(this.intl).locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!un()){return ve}else{return te(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};e.prototype.toString=function(){return"Locale(".concat(this.locale,", ").concat(this.numberingSystem,", ").concat(this.outputCalendar,")")};return e}();var me=null;var be=function(e){__extends(n,e);function n(n){var r=e.call(this)||this;r.fixed=n;return r}Object.defineProperty(n,"utcInstance",{get:function(){if(me===null){me=new n(0)}return me},enumerable:false,configurable:true});n.instance=function(e){return e===0?n.utcInstance:new n(e)};n.parseSpecifier=function(e){if(e){var r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r){return new n(kn(r[1],r[2]))}}return null};Object.defineProperty(n.prototype,"type",{get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.fixed===0?"UTC":"UTC".concat(Sn(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(Sn(-this.fixed,"narrow"))}},enumerable:false,configurable:true});n.prototype.offsetName=function(){return this.name};n.prototype.formatOffset=function(e,n){return Sn(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{get:function(){return true},enumerable:false,configurable:true});n.prototype.offset=function(){return this.fixed};n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Z);var ge=function(e){__extends(n,e);function n(n){var r=e.call(this)||this;r.zoneName=n;return r}Object.defineProperty(n.prototype,"type",{get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(){return null};n.prototype.formatOffset=function(){return""};n.prototype.offset=function(){return NaN};n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{get:function(){return false},enumerable:false,configurable:true});return n}(Z);function ye(e,n){if(Qe(e)||e===null){return n}else if(e instanceof Z){return e}else if(nn(e)){var r=e.toLowerCase();if(r==="default")return n;else if(r==="local"||r==="system")return W.instance;else if(r==="utc"||r==="gmt")return be.utcInstance;else return be.parseSpecifier(r)||R.create(e)}else if(Xe(e)){return be.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new ge(e)}}var we={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var _e={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};var Oe=we.hanidec.replace(/[\[|\]]/g,"").split("");function Me(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var r=0;r<e.length;r++){var t=e.charCodeAt(r);if(e[r].search(we.hanidec)!==-1){n+=Oe.indexOf(e[r])}else{for(var i in _e){var u=_e[i],a=u[0],s=u[1];if(t>=a&&t<=s){n+=t-a}}}}return parseInt(n,10)}else{return n}}var je=new Map;function pe(){je.clear()}function Ne(e,n){var r=e.numberingSystem;if(n===void 0){n=""}var t=r||"latn";var i=je.get(t);if(i===undefined){i=new Map;je.set(t,i)}var u=i.get(n);if(u===undefined){u=new RegExp("".concat(we[t]).concat(n));i.set(n,u)}return u}var ke=function(){return Date.now()},Te="system",Ee=null,Se=null,De=null,Ie=60,xe,Ae=null;var Ze=function(){function e(){}Object.defineProperty(e,"now",{get:function(){return ke},set:function(e){ke=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{get:function(){return ye(Te,W.instance)},set:function(e){Te=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{get:function(){return Ee},set:function(e){Ee=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{get:function(){return Se},set:function(e){Se=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{get:function(){return De},set:function(e){De=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{get:function(){return Ae},set:function(e){Ae=cn(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{get:function(){return Ie},set:function(e){Ie=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{get:function(){return xe},set:function(e){xe=e},enumerable:false,configurable:true});e.resetCaches=function(){de.resetCache();R.resetCache();gi.resetCache();pe()};return e}();var Le=function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var We=[0,31,59,90,120,151,181,212,243,273,304,334],Fe=[0,31,60,91,121,152,182,213,244,274,305,335];function Ce(e,n){return new Le("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function He(e,n,r){var t=new Date(Date.UTC(e,n-1,r));if(e<100&&e>=0){t.setUTCFullYear(t.getUTCFullYear()-1900)}var i=t.getUTCDay();return i===0?7:i}function qe(e,n,r){return r+(yn(e)?Fe:We)[n-1]}function ze(e,n){var r=yn(e)?Fe:We,t=r.findIndex((function(e){return e<n})),i=n-r[t];return{month:t+1,day:i}}function Je(e,n){return(e-n+7)%7+1}function Re(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.year,i=e.month,u=e.day,a=qe(t,i,u),s=Je(He(t,i,u),r);var o=Math.floor((a-s+14-n)/7),f;if(o<1){f=t-1;o=jn(f,n,r)}else if(o>jn(t,n,r)){f=t+1;o=1}else{f=t}return __assign({weekYear:f,weekNumber:o,weekday:s},Dn(e))}function Ue(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.weekYear,i=e.weekNumber,u=e.weekday,a=Je(He(t,1,n),r),s=wn(t);var o=i*7+u-a-7+n,f;if(o<1){f=t-1;o+=wn(f)}else if(o>s){f=t+1;o-=wn(t)}else{f=t}var c=ze(f,o),l=c.month,h=c.day;return __assign({year:f,month:l,day:h},Dn(e))}function Ge(e){var n=e.year,r=e.month,t=e.day;var i=qe(n,r,t);return __assign({year:n,ordinal:i},Dn(e))}function Ye(e){var n=e.year,r=e.ordinal;var t=ze(n,r),i=t.month,u=t.day;return __assign({year:n,month:i,day:u},Dn(e))}function Pe(e,n){var r=!Qe(e.localWeekday)||!Qe(e.localWeekNumber)||!Qe(e.localWeekYear);if(r){var t=!Qe(e.weekday)||!Qe(e.weekNumber)||!Qe(e.weekYear);if(t){throw new u("Cannot mix locale-based week fields with ISO-based week fields")}if(!Qe(e.localWeekday))e.weekday=e.localWeekday;if(!Qe(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!Qe(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function $e(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=en(e.weekYear),i=ln(e.weekNumber,1,jn(e.weekYear,n,r)),u=ln(e.weekday,1,7);if(!t){return Ce("weekYear",e.weekYear)}else if(!i){return Ce("week",e.weekNumber)}else if(!u){return Ce("weekday",e.weekday)}else return false}function Ve(e){var n=en(e.year),r=ln(e.ordinal,1,wn(e.year));if(!n){return Ce("year",e.year)}else if(!r){return Ce("ordinal",e.ordinal)}else return false}function Be(e){var n=en(e.year),r=ln(e.month,1,12),t=ln(e.day,1,_n(e.year,e.month));if(!n){return Ce("year",e.year)}else if(!r){return Ce("month",e.month)}else if(!t){return Ce("day",e.day)}else return false}function Ke(e){var n=e.hour,r=e.minute,t=e.second,i=e.millisecond;var u=ln(n,0,23)||n===24&&r===0&&t===0&&i===0,a=ln(r,0,59),s=ln(t,0,59),o=ln(i,0,999);if(!u){return Ce("hour",n)}else if(!a){return Ce("minute",r)}else if(!s){return Ce("second",t)}else if(!o){return Ce("millisecond",i)}else return false}function Qe(e){return typeof e==="undefined"}function Xe(e){return typeof e==="number"}function en(e){return typeof e==="number"&&e%1===0}function nn(e){return typeof e==="string"}function rn(e){return Object.prototype.toString.call(e)==="[object Date]"}function tn(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function un(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function an(e){return Array.isArray(e)?e:[e]}function sn(e,n,r){if(e.length===0){return undefined}return e.reduce((function(e,t){var i=[n(t),t];if(!e){return i}else if(r(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function on(e,n){return n.reduce((function(n,r){n[r]=e[r];return n}),{})}function fn(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function cn(e){if(e==null){return null}else if(typeof e!=="object"){throw new s("Week settings must be an object")}else{if(!ln(e.firstDay,1,7)||!ln(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!ln(e,1,7)}))){throw new s("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function ln(e,n,r){return en(e)&&e>=n&&e<=r}function hn(e,n){return e-n*Math.floor(e/n)}function vn(e,n){if(n===void 0){n=2}var r=e<0;var t;if(r){t="-"+(""+-e).padStart(n,"0")}else{t=(""+e).padStart(n,"0")}return t}function dn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function mn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function bn(e){if(Qe(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function gn(e,n,r){if(r===void 0){r=false}var t=Math.pow(10,n),i=r?Math.trunc:Math.round;return i(e*t)/t}function yn(e){return e%4===0&&(e%100!==0||e%400===0)}function wn(e){return yn(e)?366:365}function _n(e,n){var r=hn(n-1,12)+1,t=e+(n-r)/12;if(r===2){return yn(t)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}function On(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){n=new Date(n);n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}function Mn(e,n,r){var t=Je(He(e,1,n),r);return-t+n-1}function jn(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=Mn(e,n,r);var i=Mn(e+1,n,r);return(wn(e)-t+i)/7}function pn(e){if(e>99){return e}else return e>Ze.twoDigitCutoffYear?1900+e:2e3+e}function Nn(e,n,r,t){if(t===void 0){t=null}var i=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(t){u.timeZone=t}var a=__assign({timeZoneName:n},u);var s=new Intl.DateTimeFormat(r,a).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}function kn(e,n){var r=parseInt(e,10);if(Number.isNaN(r)){r=0}var t=parseInt(n,10)||0,i=r<0||Object.is(r,-0)?-t:t;return r*60+i}function Tn(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new s("Invalid unit value ".concat(e));return n}function En(e,n){var r={};for(var t in e){if(fn(e,t)){var i=e[t];if(i===undefined||i===null)continue;r[n(t)]=Tn(i)}}return r}function Sn(e,n){var r=Math.trunc(Math.abs(e/60)),t=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(vn(r,2),":").concat(vn(t,2));case"narrow":return"".concat(i).concat(r).concat(t>0?":".concat(t):"");case"techie":return"".concat(i).concat(vn(r,2)).concat(vn(t,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function Dn(e){return on(e,["hour","minute","second","millisecond"])}var In=["January","February","March","April","May","June","July","August","September","October","November","December"];var xn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var An=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zn(e){switch(e){case"narrow":return __spreadArray([],An,true);case"short":return __spreadArray([],xn,true);case"long":return __spreadArray([],In,true);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var Fn=["M","T","W","T","F","S","S"];function Cn(e){switch(e){case"narrow":return __spreadArray([],Fn,true);case"short":return __spreadArray([],Wn,true);case"long":return __spreadArray([],Ln,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Hn=["AM","PM"];var qn=["Before Christ","Anno Domini"];var zn=["BC","AD"];var Jn=["B","A"];function Rn(e){switch(e){case"narrow":return __spreadArray([],Jn,true);case"short":return __spreadArray([],zn,true);case"long":return __spreadArray([],qn,true);default:return null}}function Un(e){return Hn[e.hour<12?0:1]}function Gn(e,n){return Cn(n)[e.weekday-1]}function Yn(e,n){return Zn(n)[e.month-1]}function Pn(e,n){return Rn(n)[e.year<0?0:1]}function $n(e,n,r,t){if(r===void 0){r="always"}if(t===void 0){t=false}var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};var u=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&u){var a=e==="days";switch(n){case 1:return a?"tomorrow":"next ".concat(i[e][0]);case-1:return a?"yesterday":"last ".concat(i[e][0]);case 0:return a?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,c=i[e],l=t?f?c[1]:c[2]||c[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(l," ago"):"in ".concat(o," ").concat(l)}function Vn(e,n){var r="";for(var t=0,i=e;t<i.length;t++){var u=i[t];if(u.literal){r+=u.val}else{r+=n(u.val)}}return r}var Bn={D:h,DD:v,DDD:m,DDDD:b,t:g,tt:y,ttt:w,tttt:_,T:O,TT:M,TTT:j,TTTT:p,f:N,ff:T,fff:D,ffff:x,F:k,FF:E,FFF:I,FFFF:A};var Kn=function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,r){if(r===void 0){r={}}return new e(n,r)};e.parseFormat=function(e){var n=null,r="",t=false;var i=[];for(var u=0;u<e.length;u++){var a=e.charAt(u);if(a==="'"){if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}n=null;r="";t=!t}else if(t){r+=a}else if(a===n){r+=a}else{if(r.length>0){i.push({literal:/^\s+$/.test(r),val:r})}r=a;n=a}}if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}return i};e.macroTokenToFormatOpts=function(e){return Bn[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var r=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return r.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var r=this.dtFormatter(e.start,n);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}if(this.opts.forceSimple){return vn(e,n)}var r=__assign({},this.opts);if(n>0){r.padTo=n}return this.loc.numberFormatter(r).format(e)};e.prototype.formatDateTimeFromString=function(n,r){var t=this;var i=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=function(e,r){return t.loc.extract(n,e,r)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?Un(n):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,r){return i?Yn(n,e):a(r?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,r){return i?Gn(n,e):a(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(r){var i=e.macroTokenToFormatOpts(r);if(i){return t.formatWithSystemDefault(n,i)}else{return r}},h=function(e){return i?Pn(n,e):a({era:e},"era")},v=function(e){switch(e){case"S":return t.num(n.millisecond);case"u":case"SSS":return t.num(n.millisecond,3);case"s":return t.num(n.second);case"ss":return t.num(n.second,2);case"uu":return t.num(Math.floor(n.millisecond/10),2);case"uuu":return t.num(Math.floor(n.millisecond/100));case"m":return t.num(n.minute);case"mm":return t.num(n.minute,2);case"h":return t.num(n.hour%12===0?12:n.hour%12);case"hh":return t.num(n.hour%12===0?12:n.hour%12,2);case"H":return t.num(n.hour);case"HH":return t.num(n.hour,2);case"Z":return s({format:"narrow",allowZ:t.opts.allowZ});case"ZZ":return s({format:"short",allowZ:t.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:t.opts.allowZ});case"ZZZZ":return n.zone.offsetName(n.ts,{format:"short",locale:t.loc.locale});case"ZZZZZ":return n.zone.offsetName(n.ts,{format:"long",locale:t.loc.locale});case"z":return n.zoneName;case"a":return o();case"d":return u?a({day:"numeric"},"day"):t.num(n.day);case"dd":return u?a({day:"2-digit"},"day"):t.num(n.day,2);case"c":return t.num(n.weekday);case"ccc":return c("short",true);case"cccc":return c("long",true);case"ccccc":return c("narrow",true);case"E":return t.num(n.weekday);case"EEE":return c("short",false);case"EEEE":return c("long",false);case"EEEEE":return c("narrow",false);case"L":return u?a({month:"numeric",day:"numeric"},"month"):t.num(n.month);case"LL":return u?a({month:"2-digit",day:"numeric"},"month"):t.num(n.month,2);case"LLL":return f("short",true);case"LLLL":return f("long",true);case"LLLLL":return f("narrow",true);case"M":return u?a({month:"numeric"},"month"):t.num(n.month);case"MM":return u?a({month:"2-digit"},"month"):t.num(n.month,2);case"MMM":return f("short",false);case"MMMM":return f("long",false);case"MMMMM":return f("narrow",false);case"y":return u?a({year:"numeric"},"year"):t.num(n.year);case"yy":return u?a({year:"2-digit"},"year"):t.num(n.year.toString().slice(-2),2);case"yyyy":return u?a({year:"numeric"},"year"):t.num(n.year,4);case"yyyyyy":return u?a({year:"numeric"},"year"):t.num(n.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return t.num(n.weekYear.toString().slice(-2),2);case"kkkk":return t.num(n.weekYear,4);case"W":return t.num(n.weekNumber);case"WW":return t.num(n.weekNumber,2);case"n":return t.num(n.localWeekNumber);case"nn":return t.num(n.localWeekNumber,2);case"ii":return t.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return t.num(n.localWeekYear,4);case"o":return t.num(n.ordinal);case"ooo":return t.num(n.ordinal,3);case"q":return t.num(n.quarter);case"qq":return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":return t.num(n.ts);default:return l(e)}};return Vn(e.parseFormat(r),v)};e.prototype.formatDurationFromString=function(n,r){var t=this;var i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=function(e){return function(n){var r=i(n);if(r){return t.num(e.get(r),n.length)}else{return n}}},a=e.parseFormat(r),s=a.reduce((function(e,n){var r=n.literal,t=n.val;return r?e:e.concat(t)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return Vn(a,u(o))};return e}();var Qn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var r=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(r,"$"))}function er(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,r){var t=e[0],i=e[1],u=e[2];var a=r(n,u),s=a[0],o=a[1],f=a[2];return[__assign(__assign({},t),s),o||i,f]}),[{},null,1]).slice(0,2)}}function nr(e){var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}if(e==null){return[null,null]}for(var t=0,i=n;t<i.length;t++){var u=i[t],a=u[0],s=u[1];var o=a.exec(e);if(o){return s(o)}}return[null,null]}function rr(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,r){var t={};var i;for(i=0;i<e.length;i++){t[e[i]]=dn(n[r+i])}return[t,null,r+i]}}var tr=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var ir="(?:".concat(tr.source,"?(?:\\[(").concat(Qn.source,")\\])?)?");var ur=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var ar=RegExp("".concat(ur.source).concat(ir));var sr=RegExp("(?:T".concat(ar.source,")?"));var or=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var fr=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var cr=/(\d{4})-?(\d{3})/;var lr=rr("weekYear","weekNumber","weekDay");var hr=rr("year","ordinal");var vr=/(\d{4})-(\d\d)-(\d\d)/;var dr=RegExp("".concat(ur.source," ?(?:").concat(tr.source,"|(").concat(Qn.source,"))?"));var mr=RegExp("(?: ".concat(dr.source,")?"));function br(e,n,r){var t=e[n];return Qe(t)?r:dn(t)}function gr(e,n){var r={year:br(e,n),month:br(e,n+1,1),day:br(e,n+2,1)};return[r,null,n+3]}function yr(e,n){var r={hours:br(e,n,0),minutes:br(e,n+1,0),seconds:br(e,n+2,0),milliseconds:bn(e[n+3])};return[r,null,n+4]}function wr(e,n){var r=!e[n]&&!e[n+1],t=kn(e[n+1],e[n+2]),i=r?null:be.instance(t);return[{},i,n+3]}function _r(e,n){var r=e[n]?R.create(e[n]):null;return[{},r,n+1]}var Or=RegExp("^T?".concat(ur.source,"$"));var Mr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function jr(e){var n=e[0],r=e[1],t=e[2],i=e[3],u=e[4],a=e[5],s=e[6],o=e[7],f=e[8];var c=n[0]==="-";var l=o&&o[0]==="-";var h=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&c)?-e:e};return[{years:h(mn(r)),months:h(mn(t)),weeks:h(mn(i)),days:h(mn(u)),hours:h(mn(a)),minutes:h(mn(s)),seconds:h(mn(o),o==="-0"),milliseconds:h(bn(f),l)}]}var pr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Nr(e,n,r,t,i,u,a){var s={year:n.length===2?pn(dn(n)):dn(n),month:xn.indexOf(r)+1,day:dn(t),hour:dn(i),minute:dn(u)};if(a)s.second=dn(a);if(e){s.weekday=e.length>3?Ln.indexOf(e)+1:Wn.indexOf(e)+1}return s}var kr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Tr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=e[8],f=e[9],c=e[10],l=e[11],h=Nr(n,i,t,r,u,a,s);var v;if(o){v=pr[o]}else if(f){v=0}else{v=kn(c,l)}return[h,new be(v)]}function Er(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Sr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Dr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ir=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function xr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,i,t,r,u,a,s);return[o,be.utcInstance]}function Ar(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,s,r,t,i,u,a);return[o,be.utcInstance]}var Zr=Xn(or,sr);var Lr=Xn(fr,sr);var Wr=Xn(cr,sr);var Fr=Xn(ar);var Cr=er(gr,yr,wr,_r);var Hr=er(lr,yr,wr,_r);var qr=er(hr,yr,wr,_r);var zr=er(yr,wr,_r);function Jr(e){return nr(e,[Zr,Cr],[Lr,Hr],[Wr,qr],[Fr,zr])}function Rr(e){return nr(Er(e),[kr,Tr])}function Ur(e){return nr(e,[Sr,xr],[Dr,xr],[Ir,Ar])}function Gr(e){return nr(e,[Mr,jr])}var Yr=er(yr);function Pr(e){return nr(e,[Or,Yr])}var $r=Xn(vr,mr);var Vr=Xn(dr);var Br=er(yr,wr,_r);function Kr(e){return nr(e,[$r,Cr],[Vr,Br])}var Qr="Invalid Duration";var Xr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},et=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Xr),nt=146097/400,rt=146097/4800,tt=__assign({years:{quarters:4,months:12,weeks:nt/7,days:nt,hours:nt*24,minutes:nt*24*60,seconds:nt*24*60*60,milliseconds:nt*24*60*60*1e3},quarters:{months:3,weeks:nt/28,days:nt/4,hours:nt*24/4,minutes:nt*24*60/4,seconds:nt*24*60*60/4,milliseconds:nt*24*60*60*1e3/4},months:{weeks:rt/7,days:rt,hours:rt*24,minutes:rt*24*60,seconds:rt*24*60*60,milliseconds:rt*24*60*60*1e3}},Xr);var it=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var ut=it.slice(0).reverse();function at(e,n,r){if(r===void 0){r=false}var t={values:r?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new ct(t)}function st(e,n){var r;var t=(r=n.milliseconds)!==null&&r!==void 0?r:0;for(var i=0,u=ut.slice(1);i<u.length;i++){var a=u[i];if(n[a]){t+=n[a]*e[a]["milliseconds"]}}return t}function ot(e,n){var r=st(e,n)<0?-1:1;it.reduceRight((function(t,i){if(!Qe(n[i])){if(t){var u=n[t]*r;var a=e[i][t];var s=Math.floor(u/a);n[i]+=s*r;n[t]-=s*a*r}return i}else{return t}}),null);it.reduce((function(r,t){if(!Qe(n[t])){if(r){var i=n[r]%1;n[r]-=i;n[t]+=i*e[r][t]}return t}else{return r}}),null)}function ft(e){var n={};for(var r=0,t=Object.entries(e);r<t.length;r++){var i=t[r],u=i[0],a=i[1];if(a!==0){n[u]=a}}return n}var ct=function(){function e(e){var n=e.conversionAccuracy==="longterm"||false;var r=n?tt:et;if(e.matrix){r=e.matrix}this.values=e.values;this.loc=e.loc||de.create();this.conversionAccuracy=n?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=r;this.isLuxonDuration=true}e.fromMillis=function(n,r){return e.fromObject({milliseconds:n},r)};e.fromObject=function(n,r){if(r===void 0){r={}}if(n==null||typeof n!=="object"){throw new s("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:En(n,e.normalizeUnit),loc:de.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})};e.fromDurationLike=function(n){if(Xe(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new s("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};e.fromISO=function(n,r){var t=Gr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.fromISOTime=function(n,r){var t=Pr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new s("need to specify a reason the Duration is invalid")}var t=n instanceof Le?n:new Le(n,r);if(Ze.throwOnInvalid){throw new i(t)}else{return new e({invalid:t})}};e.normalizeUnit=function(e){var n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!n)throw new a(e);return n};e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});e.prototype.toFormat=function(e,n){if(n===void 0){n={}}var r=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Kn.create(this.loc,r).formatDurationFromString(this,e):Qr};e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return Qr;var r=it.map((function(r){var t=n.values[r];if(Qe(t)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:r.slice(0,-1)})).format(t)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(r)};e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};e.prototype.toISO=function(){if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=gn(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var r=gi.fromMillis(n,{zone:"UTC"});return r.toISOTime(e)};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toString=function(){return this.toISO()};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toMillis=function(){if(!this.isValid)return NaN;return st(this.matrix,this.values)};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.plus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n),t={};for(var i=0,u=it;i<u.length;i++){var a=u[i];if(fn(r.values,a)||fn(this.values,a)){t[a]=r.get(a)+this.get(a)}}return at(this,{values:t},true)};e.prototype.minus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n);return this.plus(r.negate())};e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var r=0,t=Object.keys(this.values);r<t.length;r++){var i=t[r];n[i]=Tn(e(this.values[i],i))}return at(this,{values:n},true)};e.prototype.get=function(n){return this[e.normalizeUnit(n)]};e.prototype.set=function(n){if(!this.isValid)return this;var r=__assign(__assign({},this.values),En(n,e.normalizeUnit));return at(this,{values:r})};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.conversionAccuracy,u=n.matrix;var a=this.loc.clone({locale:r,numberingSystem:t});var s={loc:a,matrix:u,conversionAccuracy:i};return at(this,s)};e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();ot(this.matrix,e);return at(this,{values:e},true)};e.prototype.rescale=function(){if(!this.isValid)return this;var e=ft(this.normalize().shiftToAll().toObject());return at(this,{values:e},true)};e.prototype.shiftTo=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var t={},i={},u=this.toObject();var a;for(var s=0,o=it;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){a=f;var c=0;for(var l in i){c+=this.matrix[l][f]*i[l];i[l]=0}if(Xe(u[f])){c+=u[f]}var h=Math.trunc(c);t[f]=h;i[f]=(c*1e3-h*1e3)/1e3}else if(Xe(u[f])){i[f]=u[f]}}for(var v in i){if(i[v]!==0){t[a]+=v===a?i[v]:i[v]/this.matrix[a][v]}}ot(this.matrix,t);return at(this,{values:t},true)};e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,r=Object.keys(this.values);n<r.length;n++){var t=r[n];e[t]=this.values[t]===0?0:-this.values[t]}return at(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var r=0,t=it;r<t.length;r++){var i=t[r];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var lt="Invalid Interval";function ht(e,n){if(!e||!e.isValid){return vt.invalid("missing or invalid start")}else if(!n||!n.isValid){return vt.invalid("missing or invalid end")}else if(n<e){return vt.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}var vt=function(){function e(e){this.s=e.start;this.e=e.end;this.invalid=e.invalid||null;this.isLuxonInterval=true}e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new s("need to specify a reason the Interval is invalid")}var i=n instanceof Le?n:new Le(n,r);if(Ze.throwOnInvalid){throw new t(i)}else{return new e({invalid:i})}};e.fromDateTimes=function(n,r){var t=yi(n),i=yi(r);var u=ht(t,i);if(u==null){return new e({start:t,end:i})}else{return u}};e.after=function(n,r){var t=ct.fromDurationLike(r),i=yi(n);return e.fromDateTimes(i,i.plus(t))};e.before=function(n,r){var t=ct.fromDurationLike(r),i=yi(n);return e.fromDateTimes(i.minus(t),i)};e.fromISO=function(n,r){var t=(n||"").split("/",2),i=t[0],u=t[1];if(i&&u){var a=void 0,s=void 0;try{a=gi.fromISO(i,r);s=a.isValid}catch(u){s=false}var o=void 0,f=void 0;try{o=gi.fromISO(u,r);f=o.isValid}catch(u){f=false}if(s&&f){return e.fromDateTimes(a,o)}if(s){var c=ct.fromISO(u,r);if(c.isValid){return e.after(a,c)}}else if(f){var c=ct.fromISO(i,r);if(c.isValid){return e.before(o,c)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDateTime",{get:function(){return this.isValid?this.e?this.e.minus(1):null:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var r=this.start.startOf(e,n);var t;if(n===null||n===void 0?void 0:n.useLocaleWeeks){t=this.end.reconfigure({locale:r.locale})}else{t=this.end}t=t.startOf(e,n);return Math.floor(t.diff(r,e).get(e))+(t.valueOf()!==this.end.valueOf())};e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};e.prototype.set=function(n){var r=n===void 0?{}:n,t=r.start,i=r.end;if(!this.isValid)return this;return e.fromDateTimes(t||this.s,i||this.e)};e.prototype.splitAt=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}if(!this.isValid)return[];var i=r.map(yi).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),u=[];var a=this.s,s=0;while(a<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;u.push(e.fromDateTimes(a,f));a=f;s+=1}return u};e.prototype.splitBy=function(n){var r=ct.fromDurationLike(n);if(!this.isValid||!r.isValid||r.as("milliseconds")===0){return[]}var t=this.s,i=1,u;var a=[];while(t<this.e){var s=this.start.plus(r.mapUnits((function(e){return e*i})));u=+s>+this.e?this.e:s;a.push(e.fromDateTimes(t,u));t=u;i+=1}return a};e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};e.prototype.intersection=function(n){if(!this.isValid)return this;var r=this.s>n.s?this.s:n.s,t=this.e<n.e?this.e:n.e;if(r>=t){return null}else{return e.fromDateTimes(r,t)}};e.prototype.union=function(n){if(!this.isValid)return this;var r=this.s<n.s?this.s:n.s,t=this.e>n.e?this.e:n.e;return e.fromDateTimes(r,t)};e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var r=e[0],t=e[1];if(!t){return[r,n]}else if(t.overlaps(n)||t.abutsStart(n)){return[r,t.union(n)]}else{return[r.concat([t]),n]}}),[[],null]),r=n[0],t=n[1];if(t){r.push(t)}return r};e.xor=function(n){var r;var t=null,i=0;var u=[],a=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(r=Array.prototype).concat.apply(r,a),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,c=o;f<c.length;f++){var l=c[f];i+=l.type==="s"?1:-1;if(i===1){t=l.time}else{if(t&&+t!==+l.time){u.push(e.fromDateTimes(t,l.time))}t=null}}return e.merge(u)};e.prototype.difference=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return e.xor([this].concat(r)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};e.prototype.toString=function(){if(!this.isValid)return lt;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.s.loc.clone(n),e).formatInterval(this):lt};e.prototype.toISO=function(e){if(!this.isValid)return lt;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};e.prototype.toISODate=function(){if(!this.isValid)return lt;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};e.prototype.toISOTime=function(e){if(!this.isValid)return lt;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};e.prototype.toFormat=function(e,n){var r=n===void 0?{}:n,t=r.separator,i=t===void 0?" – ":t;if(!this.isValid)return lt;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};e.prototype.toDuration=function(e,n){if(!this.isValid){return ct.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();var dt=function(){function e(){}e.hasDST=function(e){if(e===void 0){e=Ze.defaultZone}var n=gi.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};e.isValidIANAZone=function(e){return R.isValidZone(e)};e.normalizeZone=function(e){return ye(e,Ze.defaultZone)};e.getStartOfWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||de.create(t)).getStartOfWeek()};e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||de.create(t)).getMinDaysInFirstWeek()};e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||de.create(t)).getWeekendDays().slice()};e.months=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||de.create(i,a,c)).months(e)};e.monthsFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||de.create(i,a,c)).months(e,true)};e.weekdays=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||de.create(i,a,null)).weekdays(e)};e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||de.create(i,a,null)).weekdays(e,true)};e.meridiems=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r;return de.create(t).meridiems()};e.eras=function(e,n){if(e===void 0){e="short"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t;return de.create(i,null,"gregory").eras(e)};e.features=function(){return{relative:tn(),localeWeek:un()}};return e}();function mt(e,n){var r=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},t=r(n)-r(e);return Math.floor(ct.fromMillis(t).as("days"))}function bt(e,n,r){var t=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var r=mt(e,n);return(r-r%7)/7}],["days",mt]];var i={};var u=e;var a,s;for(var o=0,f=t;o<f.length;o++){var c=f[o],l=c[0],h=c[1];if(r.indexOf(l)>=0){a=l;i[l]=h(e,n);s=u.plus(i);if(s>n){i[l]--;e=u.plus(i);if(e>n){s=e;i[l]--;e=u.plus(i)}}else{e=s}}}return[e,i,s,a]}function gt(e,n,r,t){var i,u;var a=bt(e,n,r),s=a[0],o=a[1],f=a[2],c=a[3];var l=n-s;var h=r.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(h.length===0){if(f<n){f=s.plus((i={},i[c]=1,i))}if(f!==s){o[c]=(o[c]||0)+l/(f-s)}}var v=ct.fromObject(o,t);if(h.length>0){return(u=ct.fromMillis(l,t)).shiftTo.apply(u,h).plus(v)}else{return v}}var yt="missing Intl.DateTimeFormat.formatToParts support";function wt(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var r=e[0];return n(Me(r))}}}var _t=String.fromCharCode(160);var Ot="[ ".concat(_t,"]");var Mt=new RegExp(Ot,"g");function jt(e){return e.replace(/\./g,"\\.?").replace(Mt,Ot)}function pt(e){return e.replace(/\./g,"").replace(Mt," ").toLowerCase()}function Nt(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(jt).join("|")),deser:function(r){var t=r[0];return e.findIndex((function(e){return pt(t)===pt(e)}))+n}}}}function kt(e,n){return{regex:e,deser:function(e){var n=e[1],r=e[2];return kn(n,r)},groups:n}}function Tt(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function Et(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function St(e,n){var r=Ne(n),t=Ne(n,"{2}"),i=Ne(n,"{3}"),u=Ne(n,"{4}"),a=Ne(n,"{6}"),s=Ne(n,"{1,2}"),o=Ne(n,"{1,3}"),f=Ne(n,"{1,6}"),c=Ne(n,"{1,9}"),l=Ne(n,"{2,4}"),h=Ne(n,"{4,6}"),v=function(e){return{regex:RegExp(Et(e.val)),deser:function(e){var n=e[0];return n},literal:true}},d=function(d){if(e.literal){return v(d)}switch(d.val){case"G":return Nt(n.eras("short"),0);case"GG":return Nt(n.eras("long"),0);case"y":return wt(f);case"yy":return wt(l,pn);case"yyyy":return wt(u);case"yyyyy":return wt(h);case"yyyyyy":return wt(a);case"M":return wt(s);case"MM":return wt(t);case"MMM":return Nt(n.months("short",true),1);case"MMMM":return Nt(n.months("long",true),1);case"L":return wt(s);case"LL":return wt(t);case"LLL":return Nt(n.months("short",false),1);case"LLLL":return Nt(n.months("long",false),1);case"d":return wt(s);case"dd":return wt(t);case"o":return wt(o);case"ooo":return wt(i);case"HH":return wt(t);case"H":return wt(s);case"hh":return wt(t);case"h":return wt(s);case"mm":return wt(t);case"m":return wt(s);case"q":return wt(s);case"qq":return wt(t);case"s":return wt(s);case"ss":return wt(t);case"S":return wt(o);case"SSS":return wt(i);case"u":return Tt(c);case"uu":return Tt(s);case"uuu":return wt(r);case"a":return Nt(n.meridiems(),0);case"kkkk":return wt(u);case"kk":return wt(l,pn);case"W":return wt(s);case"WW":return wt(t);case"E":case"c":return wt(r);case"EEE":return Nt(n.weekdays("short",false),1);case"EEEE":return Nt(n.weekdays("long",false),1);case"ccc":return Nt(n.weekdays("short",true),1);case"cccc":return Nt(n.weekdays("long",true),1);case"Z":case"ZZ":return kt(new RegExp("([+-]".concat(s.source,")(?::(").concat(t.source,"))?")),2);case"ZZZ":return kt(new RegExp("([+-]".concat(s.source,")(").concat(t.source,")?")),2);case"z":return Tt(/[a-z_+-/]{1,256}?/i);case" ":return Tt(/[^\S\n\r]/);default:return v(d)}};var m=d(e)||{invalidReason:yt};m.token=e;return m}var Dt={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function It(e,n,r){var t=e.type,i=e.value;if(t==="literal"){var u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}var a=n[t];var s=t;if(t==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{s=r.hour12?"hour12":"hour24"}}var o=Dt[s];if(typeof o==="object"){o=o[a]}if(o){return{literal:false,val:o}}return undefined}function xt(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function At(e,n,r){var t=e.match(n);if(t){var i={};var u=1;for(var a in r){if(fn(r,a)){var s=r[a],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(t.slice(u,u+o))}u+=o}}return[t,i]}else{return[t,{}]}}function Zt(e){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var t;if(!Qe(e.z)){r=R.create(e.z)}if(!Qe(e.Z)){if(!r){r=new be(e.Z)}t=e.Z}if(!Qe(e.q)){e.M=(e.q-1)*3+1}if(!Qe(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!Qe(e.u)){e.S=bn(e.u)}var i=Object.keys(e).reduce((function(r,t){var i=n(t);if(i){r[i]=e[t]}return r}),{});return[i,r,t]}var Lt=null;function Wt(){if(!Lt){Lt=gi.fromMillis(1555555555555)}return Lt}function Ft(e,n){if(e.literal){return e}var r=Kn.macroTokenToFormatOpts(e.val);var t=Jt(r,n);if(t==null||t.includes(undefined)){return e}return t}function Ct(e,n){var r;return(r=Array.prototype).concat.apply(r,e.map((function(e){return Ft(e,n)})))}var Ht=function(){function e(e,n){this.locale=e;this.format=n;this.tokens=Ct(Kn.parseFormat(n),e);this.units=this.tokens.map((function(n){return St(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var r=xt(this.units),t=r[0],i=r[1];this.regex=RegExp(t,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=At(e,this.regex,this.handlers),r=n[0],t=n[1],i=t?Zt(t):[null,null,undefined],a=i[0],s=i[1],o=i[2];if(fn(t,"a")&&fn(t,"H")){throw new u("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:t,result:a,zone:s,specificOffset:o}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function qt(e,n,r){var t=new Ht(e,r);return t.explainFromTokens(n)}function zt(e,n,r){var t=qt(e,n,r),i=t.result,u=t.zone,a=t.specificOffset,s=t.invalidReason;return[i,u,a,s]}function Jt(e,n){if(!e){return null}var r=Kn.create(n,e);var t=r.dtFormatter(Wt());var i=t.formatToParts();var u=t.resolvedOptions();return i.map((function(n){return It(n,e,u)}))}var Rt="Invalid DateTime";var Ut=864e13;function Gt(e){return new Le("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}function Yt(e){if(e.weekData===null){e.weekData=Re(e.c)}return e.weekData}function Pt(e){if(e.localWeekData===null){e.localWeekData=Re(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function $t(e,n){var r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new gi(__assign(__assign(__assign({},r),n),{old:r}))}function Vt(e,n,r){var t=e-n*60*1e3;var i=r.offset(t);if(n===i){return[t,n]}t-=(i-n)*60*1e3;var u=r.offset(t);if(i===u){return[t,i]}return[e-Math.min(i,u)*60*1e3,Math.max(i,u)]}function Bt(e,n){e+=n*60*1e3;var r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Kt(e,n,r){return Vt(On(e),n,r)}function Qt(e,n){var r=e.o,t=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,u=__assign(__assign({},e.c),{year:t,month:i,day:Math.min(e.c.day,_n(t,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),a=ct.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=On(u);var o=Vt(s,r,e.zone),f=o[0],c=o[1];if(a!==0){f+=a;c=e.zone.offset(f)}return{ts:f,o:c}}function Xt(e,n,r,t,i,u){var a=r.setZone,s=r.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=gi.fromObject(e,__assign(__assign({},r),{zone:o,specificOffset:u}));return a?f:f.setZone(s)}else{return gi.invalid(new Le("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(t)))}}function ei(e,n,r){if(r===void 0){r=true}return e.isValid?Kn.create(de.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,n):null}function ni(e,n){var r=e.c.year>9999||e.c.year<0;var t="";if(r&&e.c.year>=0)t+="+";t+=vn(e.c.year,r?6:4);if(n){t+="-";t+=vn(e.c.month);t+="-";t+=vn(e.c.day)}else{t+=vn(e.c.month);t+=vn(e.c.day)}return t}function ri(e,n,r,t,i,u){var a=vn(e.c.hour);if(n){a+=":";a+=vn(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!r){a+=":"}}else{a+=vn(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!r){a+=vn(e.c.second);if(e.c.millisecond!==0||!t){a+=".";a+=vn(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!u){a+="Z"}else if(e.o<0){a+="-";a+=vn(Math.trunc(-e.o/60));a+=":";a+=vn(Math.trunc(-e.o%60))}else{a+="+";a+=vn(Math.trunc(e.o/60));a+=":";a+=vn(Math.trunc(e.o%60))}}if(u){a+="["+e.zone.ianaName+"]"}return a}var ti={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ii={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ui={ordinal:1,hour:0,minute:0,second:0,millisecond:0};var ai=["year","month","day","hour","minute","second","millisecond"],si=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],oi=["year","ordinal","hour","minute","second","millisecond"];function fi(e){var n={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!n)throw new a(e);return n}function ci(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return fi(e)}}function li(e){if(mi===undefined){mi=Ze.now()}if(e.type!=="iana"){return e.offset(mi)}var n=e.name;var r=bi.get(n);if(r===undefined){r=e.offset(mi);bi.set(n,r)}return r}function hi(e,n){var r;var t=ye(n.zone,Ze.defaultZone);if(!t.isValid){return gi.invalid(Gt(t))}var i=de.fromObject(n);var u,a;if(!Qe(e.year)){for(var s=0,o=ai;s<o.length;s++){var f=o[s];if(Qe(e[f])){e[f]=ti[f]}}var c=Be(e)||Ke(e);if(c){return gi.invalid(c)}var l=li(t);r=Kt(e,l,t),u=r[0],a=r[1]}else{u=Ze.now()}return new gi({ts:u,zone:t,loc:i,o:a})}function vi(e,n,r){var t=Qe(r.round)?true:r.round,i=function(e,i){e=gn(e,t||r.calendary?0:2,true);var u=n.loc.clone(r).relFormatter(r);return u.format(e,i)},u=function(t){if(r.calendary){if(!n.hasSame(e,t)){return n.startOf(t).diff(e.startOf(t),t).get(t)}else return 0}else{return n.diff(e,t).get(t)}};if(r.unit){return i(u(r.unit),r.unit)}for(var a=0,s=r.units;a<s.length;a++){var o=s[a];var f=u(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,r.units[r.units.length-1])}function di(e){var n={},r;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[n,r]}var mi;var bi=new Map;var gi=function(){function e(e){var n;var r=e.zone||Ze.defaultZone;var t=e.invalid||(Number.isNaN(e.ts)?new Le("invalid input"):null)||(!r.isValid?Gt(r):null);this.ts=Qe(e.ts)?Ze.now():e.ts;var i=null,u=null;if(!t){var a=e.old&&e.old.ts===this.ts&&e.old.zone.equals(r);if(a){n=[e.old.c,e.old.o],i=n[0],u=n[1]}else{var s=Xe(e.o)&&!e.old?e.o:r.offset(this.ts);i=Bt(this.ts,s);t=Number.isNaN(i.year)?new Le("invalid input"):null;i=t?null:i;u=t?null:s}}this._zone=r;this.loc=e.loc||de.create();this.invalid=t;this.weekData=null;this.localWeekData=null;this.c=i;this.o=u;this.isLuxonDateTime=true}e.now=function(){return new e({})};e.local=function(){var e=di(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];return hi({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};e.utc=function(){var e=di(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];n.zone=be.utcInstance;return hi({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};e.fromJSDate=function(n,r){if(r===void 0){r={}}var t=rn(n)?n.valueOf():NaN;if(Number.isNaN(t)){return e.invalid("invalid input")}var i=ye(r.zone,Ze.defaultZone);if(!i.isValid){return e.invalid(Gt(i))}return new e({ts:t,zone:i,loc:de.fromObject(r)})};e.fromMillis=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-Ut||n>Ut){return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:ye(r.zone,Ze.defaultZone),loc:de.fromObject(r)})}};e.fromSeconds=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:ye(r.zone,Ze.defaultZone),loc:de.fromObject(r)})}};e.fromObject=function(n,r){if(r===void 0){r={}}n=n||{};var t=ye(r.zone,Ze.defaultZone);if(!t.isValid){return e.invalid(Gt(t))}var i=de.fromObject(r);var a=En(n,ci);var s=Pe(a,i),o=s.minDaysInFirstWeek,f=s.startOfWeek;var c=Ze.now(),l=!Qe(r.specificOffset)?r.specificOffset:t.offset(c),h=!Qe(a.ordinal),v=!Qe(a.year),d=!Qe(a.month)||!Qe(a.day),m=v||d,b=a.weekYear||a.weekNumber;if((m||h)&&b){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(d&&h){throw new u("Can't mix ordinal dates with month/day")}var g=b||a.weekday&&!m;var y,w,_=Bt(c,l);if(g){y=si;w=ii;_=Re(_,o,f)}else if(h){y=oi;w=ui;_=Ge(_)}else{y=ai;w=ti}var O=false;for(var M=0,j=y;M<j.length;M++){var p=j[M];var N=a[p];if(!Qe(N)){O=true}else if(O){a[p]=w[p]}else{a[p]=_[p]}}var k=g?$e(a,o,f):h?Ve(a):Be(a),T=k||Ke(a);if(T){return e.invalid(T)}var E=g?Ue(a,o,f):h?Ye(a):a,S=Kt(E,l,t),D=S[0],I=S[1],x=new e({ts:D,zone:t,o:I,loc:i});if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(x.toISO()))}if(!x.isValid){return e.invalid(x.invalid)}return x};e.fromISO=function(e,n){if(n===void 0){n={}}var r=Jr(e),t=r[0],i=r[1];return Xt(t,i,n,"ISO 8601",e)};e.fromRFC2822=function(e,n){if(n===void 0){n={}}var r=Rr(e),t=r[0],i=r[1];return Xt(t,i,n,"RFC 2822",e)};e.fromHTTP=function(e,n){if(n===void 0){n={}}var r=Ur(e),t=r[0],i=r[1];return Xt(t,i,n,"HTTP",n)};e.fromFormat=function(n,r,t){if(t===void 0){t={}}if(Qe(n)||Qe(r)){throw new s("fromFormat requires an input string and a format")}var i=t.locale,u=i===void 0?null:i,a=t.numberingSystem,o=a===void 0?null:a,f=de.fromOpts({locale:u,numberingSystem:o,defaultToEN:true}),c=zt(f,n,r),l=c[0],h=c[1],v=c[2],d=c[3];if(d){return e.invalid(d)}else{return Xt(l,h,t,"format ".concat(r),n,v)}};e.fromString=function(n,r,t){if(t===void 0){t={}}return e.fromFormat(n,r,t)};e.fromSQL=function(e,n){if(n===void 0){n={}}var r=Kr(e),t=r[0],i=r[1];return Xt(t,i,n,"SQL",e)};e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new s("need to specify a reason the DateTime is invalid")}var i=n instanceof Le?n:new Le(n,t);if(Ze.throwOnInvalid){throw new r(i)}else{return new e({invalid:i})}};e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var r=Jt(e,de.fromObject(n));return!r?null:r.map((function(e){return e?e.val:null})).join("")};e.expandFormat=function(e,n){if(n===void 0){n={}}var r=Ct(Kn.parseFormat(e),de.fromObject(n));return r.map((function(e){return e.val})).join("")};e.resetCache=function(){mi=undefined;bi.clear()};e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{get:function(){return this.isValid?Yt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{get:function(){return this.isValid?Yt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{get:function(){return this.isValid?Yt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{get:function(){return this.isValid?Pt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{get:function(){return this.isValid?Pt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{get:function(){return this.isValid?Pt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{get:function(){return this.isValid?Ge(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{get:function(){return this.isValid?dt.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{get:function(){return this.isValid?dt.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{get:function(){return this.isValid?dt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{get:function(){return this.isValid?dt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var r=On(this.c);var t=this.zone.offset(r-e);var i=this.zone.offset(r+e);var u=this.zone.offset(r-t*n);var a=this.zone.offset(r-i*n);if(u===a){return[this]}var s=r-u*n;var o=r-a*n;var f=Bt(s,u);var c=Bt(o,a);if(f.hour===c.hour&&f.minute===c.minute&&f.second===c.second&&f.millisecond===c.millisecond){return[$t(this,{ts:s}),$t(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{get:function(){return yn(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{get:function(){return _n(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{get:function(){return this.isValid?wn(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{get:function(){return this.isValid?jn(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{get:function(){return this.isValid?jn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Kn.create(this.loc.clone(e),e).resolvedOptions(this),r=n.locale,t=n.numberingSystem,i=n.calendar;return{locale:r,numberingSystem:t,outputCalendar:i}};e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(be.instance(e),n)};e.prototype.toLocal=function(){return this.setZone(Ze.defaultZone)};e.prototype.setZone=function(n,r){var t=r===void 0?{}:r,i=t.keepLocalTime,u=i===void 0?false:i,a=t.keepCalendarTime,s=a===void 0?false:a;n=ye(n,Ze.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(Gt(n))}else{var o=this.ts;if(u||s){var f=n.offset(this.ts);var c=this.toObject();o=Kt(c,f,n)[0]}return $t(this,{ts:o,zone:n})}};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.outputCalendar;var u=this.loc.clone({locale:r,numberingSystem:t,outputCalendar:i});return $t(this,{loc:u})};e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};e.prototype.set=function(e){if(!this.isValid)return this;var n=En(e,ci);var r=Pe(n,this.loc),t=r.minDaysInFirstWeek,i=r.startOfWeek;var a=!Qe(n.weekYear)||!Qe(n.weekNumber)||!Qe(n.weekday),s=!Qe(n.ordinal),o=!Qe(n.year),f=!Qe(n.month)||!Qe(n.day),c=o||f,l=n.weekYear||n.weekNumber;if((c||s)&&l){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(f&&s){throw new u("Can't mix ordinal dates with month/day")}var h;if(a){h=Ue(__assign(__assign({},Re(this.c,t,i)),n),t,i)}else if(!Qe(n.ordinal)){h=Ye(__assign(__assign({},Ge(this.c)),n))}else{h=__assign(__assign({},this.toObject()),n);if(Qe(n.day)){h.day=Math.min(_n(h.year,h.month),h.day)}}var v=Kt(h,this.o,this.zone),d=v[0],m=v[1];return $t(this,{ts:d,o:m})};e.prototype.plus=function(e){if(!this.isValid)return this;var n=ct.fromDurationLike(e);return $t(this,Qt(this,n))};e.prototype.minus=function(e){if(!this.isValid)return this;var n=ct.fromDurationLike(e).negate();return $t(this,Qt(this,n))};e.prototype.startOf=function(e,n){var r=n===void 0?{}:n,t=r.useLocaleWeeks,i=t===void 0?false:t;if(!this.isValid)return this;var u={},a=ct.normalizeUnit(e);switch(a){case"years":u.month=1;case"quarters":case"months":u.day=1;case"weeks":case"days":u.hour=0;case"hours":u.minute=0;case"minutes":u.second=0;case"seconds":u.millisecond=0;break}if(a==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){u.weekNumber=this.weekNumber-1}u.weekday=s}else{u.weekday=1}}if(a==="quarters"){var f=Math.ceil(this.month/3);u.month=(f-1)*3+1}return this.set(u)};e.prototype.endOf=function(e,n){var r;return this.isValid?this.plus((r={},r[e]=1,r)).startOf(e,n).minus(1):this};e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Rt};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.clone(n),e).formatDateTime(this):Rt};e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Kn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};e.prototype.toISO=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.suppressMilliseconds,s=a===void 0?false:a,o=n.includeOffset,f=o===void 0?true:o,c=n.extendedZone,l=c===void 0?false:c;if(!this.isValid){return null}var h=t==="extended";var v=ni(this,h);v+="T";v+=ri(this,h,u,s,f,l);return v};e.prototype.toISODate=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r;if(!this.isValid){return null}return ni(this,t==="extended")};e.prototype.toISOWeekDate=function(){return ei(this,"kkkk-'W'WW-c")};e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,r=n.suppressMilliseconds,t=r===void 0?false:r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.includeOffset,s=a===void 0?true:a,o=n.includePrefix,f=o===void 0?false:o,c=n.extendedZone,l=c===void 0?false:c,h=n.format,v=h===void 0?"extended":h;if(!this.isValid){return null}var d=f?"T":"";return d+ri(this,v==="extended",u,t,s,l)};e.prototype.toRFC2822=function(){return ei(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};e.prototype.toHTTP=function(){return ei(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};e.prototype.toSQLDate=function(){if(!this.isValid){return null}return ni(this,true)};e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,r=n.includeOffset,t=r===void 0?true:r,i=n.includeZone,u=i===void 0?false:i,a=n.includeOffsetSpace,s=a===void 0?true:a;var o="HH:mm:ss.SSS";if(u||t){if(s){o+=" "}if(u){o+="z"}else if(t){o+="ZZ"}}return ei(this,o,true)};e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};e.prototype.toString=function(){return this.isValid?this.toISO():Rt};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toBSON=function(){return this.toJSDate()};e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};e.prototype.diff=function(e,n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}if(!this.isValid||!e.isValid){return ct.invalid("created by diffing an invalid DateTime")}var t=__assign({locale:this.locale,numberingSystem:this.numberingSystem},r);var i=an(n).map(ct.normalizeUnit),u=e.valueOf()>this.valueOf(),a=u?this:e,s=u?e:this,o=gt(a,s,i,t);return u?o.negate():o};e.prototype.diffNow=function(n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}return this.diff(e.now(),n,r)};e.prototype.until=function(e){return this.isValid?vt.fromDateTimes(this,e):this};e.prototype.hasSame=function(e,n,r){if(!this.isValid)return false;var t=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,r)<=t&&t<=i.endOf(n,r)};e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var r=n.base||e.fromObject({},{zone:this.zone}),t=n.padding?this<r?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var u=n.unit;if(Array.isArray(n.unit)){i=n.unit;u=undefined}return vi(r,this.plus(t),__assign(__assign({},n),{numeric:"always",units:i,unit:u}))};e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return vi(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};e.min=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new s("min requires all arguments be DateTimes")}return sn(n,(function(e){return e.valueOf()}),Math.min)};e.max=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new s("max requires all arguments be DateTimes")}return sn(n,(function(e){return e.valueOf()}),Math.max)};e.fromFormatExplain=function(e,n,r){if(r===void 0){r={}}var t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=de.fromOpts({locale:i,numberingSystem:a,defaultToEN:true});return qt(s,e,n)};e.fromStringExplain=function(n,r,t){if(t===void 0){t={}}return e.fromFormatExplain(n,r,t)};e.buildFormatParser=function(e,n){if(n===void 0){n={}}var r=n.locale,t=r===void 0?null:r,i=n.numberingSystem,u=i===void 0?null:i,a=de.fromOpts({locale:t,numberingSystem:u,defaultToEN:true});return new Ht(a,e)};e.fromFormatParser=function(n,r,t){if(t===void 0){t={}}if(Qe(n)||Qe(r)){throw new s("fromFormatParser requires an input string and a format parser")}var i=t.locale,u=i===void 0?null:i,a=t.numberingSystem,o=a===void 0?null:a,f=de.fromOpts({locale:u,numberingSystem:o,defaultToEN:true});if(!f.equals(r.locale)){throw new s("fromFormatParser called with a locale of ".concat(f,", ")+"but the format parser was created for ".concat(r.locale))}var c=r.explainFromTokens(n),l=c.result,h=c.zone,v=c.specificOffset,d=c.invalidReason;if(d){return e.invalid(d)}else{return Xt(l,h,t,"format ".concat(r.format),n,v)}};Object.defineProperty(e,"DATE_SHORT",{get:function(){return h},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{get:function(){return v},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{get:function(){return d},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{get:function(){return m},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{get:function(){return b},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{get:function(){return g},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{get:function(){return y},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{get:function(){return w},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{get:function(){return _},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{get:function(){return O},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{get:function(){return M},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{get:function(){return j},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{get:function(){return p},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{get:function(){return N},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{get:function(){return k},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{get:function(){return T},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{get:function(){return E},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{get:function(){return S},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{get:function(){return D},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{get:function(){return I},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{get:function(){return x},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{get:function(){return A},enumerable:false,configurable:true});return e}();e("D",gi);function yi(e){if(gi.isDateTime(e)){return e}else if(e&&e.valueOf&&Xe(e.valueOf())){return gi.fromJSDate(e)}else if(e&&typeof e==="object"){return gi.fromObject(e)}else{throw new s("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}}}}));
1
+ var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++){n=arguments[r];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))e[i]=n[i]}return e};return __assign.apply(this,arguments)};var __rest=this&&this.__rest||function(e,n){var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0)r[t]=e[t];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++){if(n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i]))r[t[i]]=e[t[i]]}return r};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,u;t<i;t++){if(u||!(t in n)){if(!u)u=Array.prototype.slice.call(n,0,t);u[t]=n[t]}}return e.concat(u||Array.prototype.slice.call(n))};System.register([],(function(e){"use strict";return{execute:function(){
2
+ // these aren't really private, but nor are they really useful to document
3
+ /**
4
+ * @private
5
+ */
6
+ var n=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);
7
+ /**
8
+ * @private
9
+ */var r=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(n);
10
+ /**
11
+ * @private
12
+ */var t=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(n);
13
+ /**
14
+ * @private
15
+ */var i=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(n);
16
+ /**
17
+ * @private
18
+ */var u=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(n);
19
+ /**
20
+ * @private
21
+ */var a=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(n);
22
+ /**
23
+ * @private
24
+ */var s=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(n);
25
+ /**
26
+ * @private
27
+ */var o=/** @class */function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(n);
28
+ /**
29
+ * @private
30
+ */var f="numeric",c="short",l="long";var h={year:f,month:f,day:f};var v={year:f,month:c,day:f};var d={year:f,month:c,day:f,weekday:c};var m={year:f,month:l,day:f};var b={year:f,month:l,day:f,weekday:l};var g={hour:f,minute:f};var y={hour:f,minute:f,second:f};var w={hour:f,minute:f,second:f,timeZoneName:c};var _={hour:f,minute:f,second:f,timeZoneName:l};var O={hour:f,minute:f,hourCycle:"h23"};var M={hour:f,minute:f,second:f,hourCycle:"h23"};var j={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:c};var p={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:l};var N={year:f,month:f,day:f,hour:f,minute:f};var k={year:f,month:f,day:f,hour:f,minute:f,second:f};var T={year:f,month:c,day:f,hour:f,minute:f};var E={year:f,month:c,day:f,hour:f,minute:f,second:f};var S={year:f,month:c,day:f,weekday:c,hour:f,minute:f};var D={year:f,month:l,day:f,hour:f,minute:f,timeZoneName:c};var I={year:f,month:l,day:f,hour:f,minute:f,second:f,timeZoneName:c};var x={year:f,month:l,day:f,weekday:l,hour:f,minute:f,timeZoneName:l};var A={year:f,month:l,day:f,weekday:l,hour:f,minute:f,second:f,timeZoneName:l};
31
+ /**
32
+ * @interface
33
+ */var Z=/** @class */function(){function e(){}Object.defineProperty(e.prototype,"type",{
34
+ /**
35
+ * The type of zone
36
+ * @abstract
37
+ * @type {string}
38
+ */
39
+ get:function(){throw new o},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{
40
+ /**
41
+ * The name of this zone.
42
+ * @abstract
43
+ * @type {string}
44
+ */
45
+ get:function(){throw new o},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{
46
+ /**
47
+ * The IANA name of this zone.
48
+ * Defaults to `name` if not overwritten by a subclass.
49
+ * @abstract
50
+ * @type {string}
51
+ */
52
+ get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{
53
+ /**
54
+ * Returns whether the offset is known to be fixed for the whole year.
55
+ * @abstract
56
+ * @type {boolean}
57
+ */
58
+ get:function(){throw new o},enumerable:false,configurable:true});
59
+ /**
60
+ * Returns the offset's common name (such as EST) at the specified timestamp
61
+ * @abstract
62
+ * @param {number} ts - Epoch milliseconds for which to get the name
63
+ * @param {Object} opts - Options to affect the format
64
+ * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
65
+ * @param {string} opts.locale - What locale to return the offset name in.
66
+ * @return {string}
67
+ */e.prototype.offsetName=function(e,n){throw new o};
68
+ /**
69
+ * Returns the offset's value as a string
70
+ * @abstract
71
+ * @param {number} ts - Epoch milliseconds for which to get the offset
72
+ * @param {string} format - What style of offset to return.
73
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
74
+ * @return {string}
75
+ */e.prototype.formatOffset=function(e,n){throw new o};
76
+ /**
77
+ * Return the offset in minutes for this zone at the specified timestamp.
78
+ * @abstract
79
+ * @param {number} ts - Epoch milliseconds for which to compute the offset
80
+ * @return {number}
81
+ */e.prototype.offset=function(e){throw new o};
82
+ /**
83
+ * Return whether this Zone is equal to another zone
84
+ * @abstract
85
+ * @param {Zone} otherZone - the zone to compare
86
+ * @return {boolean}
87
+ */e.prototype.equals=function(e){throw new o};Object.defineProperty(e.prototype,"isValid",{
88
+ /**
89
+ * Return whether this Zone is valid.
90
+ * @abstract
91
+ * @type {boolean}
92
+ */
93
+ get:function(){throw new o},enumerable:false,configurable:true});return e}();var L=null;
94
+ /**
95
+ * Represents the local zone for this JavaScript environment.
96
+ * @implements {Zone}
97
+ */var W=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{
98
+ /**
99
+ * Get a singleton instance of the local zone
100
+ * @return {SystemZone}
101
+ */
102
+ get:function(){if(L===null){L=new n}return L},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{
103
+ /** @override **/
104
+ get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
105
+ /** @override **/
106
+ get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
107
+ /** @override **/
108
+ get:function(){return false},enumerable:false,configurable:true});
109
+ /** @override **/n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return Nn(e,r,t)};
110
+ /** @override **/n.prototype.formatOffset=function(e,n){return Sn(this.offset(e),n)};
111
+ /** @override **/n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};
112
+ /** @override **/n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{
113
+ /** @override **/
114
+ get:function(){return true},enumerable:false,configurable:true});return n}(Z);var F=new Map;function C(e){var n=F.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});F.set(e,n)}return n}var H={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function q(e,n){var r=e.format(n).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=t[1],u=t[2],a=t[3],s=t[4],o=t[5],f=t[6],c=t[7];return[a,i,u,s,o,f,c]}function z(e,n){var r=e.formatToParts(n);var t=[];for(var i=0;i<r.length;i++){var u=r[i],a=u.type,s=u.value;var o=H[a];if(a==="era"){t[o]=s}else if(!Qe(o)){t[o]=parseInt(s,10)}}return t}var J=new Map;
115
+ /**
116
+ * A zone identified by an IANA identifier, like America/New_York
117
+ * @implements {Zone}
118
+ */var R=/** @class */function(e){__extends(n,e);function n(r){var t=e.call(this)||this;
119
+ /** @private **/t.zoneName=r;
120
+ /** @private **/t.valid=n.isValidZone(r);return t}
121
+ /**
122
+ * @param {string} name - Zone name
123
+ * @return {IANAZone}
124
+ */n.create=function(e){var r=J.get(e);if(r===undefined){J.set(e,r=new n(e))}return r};
125
+ /**
126
+ * Reset local caches. Should only be necessary in testing scenarios.
127
+ * @return {void}
128
+ */n.resetCache=function(){J.clear();F.clear()};
129
+ /**
130
+ * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
131
+ * @param {string} s - The string to check validity on
132
+ * @example IANAZone.isValidSpecifier("America/New_York") //=> true
133
+ * @example IANAZone.isValidSpecifier("Sport~~blorp") //=> false
134
+ * @deprecated For backward compatibility, this forwards to isValidZone, better use `isValidZone()` directly instead.
135
+ * @return {boolean}
136
+ */n.isValidSpecifier=function(e){return this.isValidZone(e)};
137
+ /**
138
+ * Returns whether the provided string identifies a real zone
139
+ * @param {string} zone - The string to check
140
+ * @example IANAZone.isValidZone("America/New_York") //=> true
141
+ * @example IANAZone.isValidZone("Fantasia/Castle") //=> false
142
+ * @example IANAZone.isValidZone("Sport~~blorp") //=> false
143
+ * @return {boolean}
144
+ */n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{
145
+ /**
146
+ * The type of zone. `iana` for all instances of `IANAZone`.
147
+ * @override
148
+ * @type {string}
149
+ */
150
+ get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
151
+ /**
152
+ * The name of this zone (i.e. the IANA zone name).
153
+ * @override
154
+ * @type {string}
155
+ */
156
+ get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
157
+ /**
158
+ * Returns whether the offset is known to be fixed for the whole year:
159
+ * Always returns false for all IANA zones.
160
+ * @override
161
+ * @type {boolean}
162
+ */
163
+ get:function(){return false},enumerable:false,configurable:true});
164
+ /**
165
+ * Returns the offset's common name (such as EST) at the specified timestamp
166
+ * @override
167
+ * @param {number} ts - Epoch milliseconds for which to get the name
168
+ * @param {Object} opts - Options to affect the format
169
+ * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
170
+ * @param {string} opts.locale - What locale to return the offset name in.
171
+ * @return {string}
172
+ */n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return Nn(e,r,t,this.name)};
173
+ /**
174
+ * Returns the offset's value as a string
175
+ * @override
176
+ * @param {number} ts - Epoch milliseconds for which to get the offset
177
+ * @param {string} format - What style of offset to return.
178
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
179
+ * @return {string}
180
+ */n.prototype.formatOffset=function(e,n){return Sn(this.offset(e),n)};
181
+ /**
182
+ * Return the offset in minutes for this zone at the specified timestamp.
183
+ * @override
184
+ * @param {number} ts - Epoch milliseconds for which to compute the offset
185
+ * @return {number}
186
+ */n.prototype.offset=function(e){if(!this.valid)return NaN;var n=new Date(e);if(isNaN(n))return NaN;var r=C(this.name);var t=r.formatToParts?z(r,n):q(r,n),i=t[0],u=t[1],a=t[2],s=t[3],o=t[4],f=t[5],c=t[6];if(s==="BC"){i=-Math.abs(i)+1}
187
+ // because we're using hour12 and https://bugs.chromium.org/p/chromium/issues/detail?id=1025564&can=2&q=%2224%3A00%22%20datetimeformat
188
+ var l=o===24?0:o;var h=On({year:i,month:u,day:a,hour:l,minute:f,second:c,millisecond:0});var v=+n;var d=v%1e3;v-=d>=0?d:1e3+d;return(h-v)/(60*1e3)};
189
+ /**
190
+ * Return whether this Zone is equal to another zone
191
+ * @override
192
+ * @param {Zone} otherZone - the zone to compare
193
+ * @return {boolean}
194
+ */n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{
195
+ /**
196
+ * Return whether this Zone is valid.
197
+ * @override
198
+ * @type {boolean}
199
+ */
200
+ get:function(){return this.valid},enumerable:false,configurable:true});return n}(Z);
201
+ // todo - remap caching
202
+ var U={};function G(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=U[r];if(!t){t=new Intl.ListFormat(e,n);U[r]=t}return t}var Y=new Map;function P(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=Y.get(r);if(t===undefined){t=new Intl.DateTimeFormat(e,n);Y.set(r,t)}return t}var $=new Map;function V(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=$.get(r);if(t===undefined){t=new Intl.NumberFormat(e,n);$.set(r,t)}return t}var B=new Map;function K(e,n){if(n===void 0){n={}}var r=n.base,t=__rest(n,["base"]);// exclude `base` from the options
203
+ var i=JSON.stringify([e,t]);var u=B.get(i);if(u===undefined){u=new Intl.RelativeTimeFormat(e,n);B.set(i,u)}return u}var Q=null;function X(){if(Q){return Q}else{Q=(new Intl.DateTimeFormat).resolvedOptions().locale;return Q}}var ee=new Map;function ne(e){var n=ee.get(e);if(n===undefined){n=new Intl.DateTimeFormat(e).resolvedOptions();ee.set(e,n)}return n}var re=new Map;function te(e){var n=re.get(e);if(!n){var r=new Intl.Locale(e);
204
+ // browsers currently implement this as a property, but spec says it should be a getter function
205
+ n="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;
206
+ // minimalDays was removed from WeekInfo: https://github.com/tc39/proposal-intl-locale-info/issues/86
207
+ if(!("minimalDays"in n)){n=__assign(__assign({},ve),n)}re.set(e,n)}return n}function ie(e){
208
+ // I really want to avoid writing a BCP 47 parser
209
+ // see, e.g. https://github.com/wooorm/bcp-47
210
+ // Instead, we'll do this:
211
+ // a) if the string has no -u extensions, just leave it alone
212
+ // b) if it does, use Intl to resolve everything
213
+ // c) if Intl fails, try again without the -u
214
+ // private subtags and unicode subtags have ordering requirements,
215
+ // and we're not properly parsing this, so just strip out the
216
+ // private ones if they exist.
217
+ var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var r=e.indexOf("-u-");if(r===-1){return[e]}else{var t=void 0;var i=void 0;try{t=P(e).resolvedOptions();i=e}catch(n){var u=e.substring(0,r);t=P(u).resolvedOptions();i=u}var a=t.numberingSystem,s=t.calendar;return[i,a,s]}}function ue(e,n,r){if(r||n){if(!e.includes("-u-")){e+="-u"}if(r){e+="-ca-".concat(r)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function ae(e){var n=[];for(var r=1;r<=12;r++){var t=gi.utc(2009,r,1);n.push(e(t))}return n}function se(e){var n=[];for(var r=1;r<=7;r++){var t=gi.utc(2016,11,13+r);n.push(e(t))}return n}function oe(e,n,r,t){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return r(n)}else{return t(n)}}function fe(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||ne(e.locale).numberingSystem==="latn"}}
218
+ /**
219
+ * @private
220
+ */var ce=/** @class */function(){function e(e,n,r){this.padTo=r.padTo||0;this.floor=r.floor||false;var t=r.padTo,i=r.floor,u=__rest(r,["padTo","floor"]);if(!n||Object.keys(u).length>0){var a=__assign({useGrouping:false},r);if(r.padTo>0)a.minimumIntegerDigits=r.padTo;this.inf=V(e,a)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{
221
+ // to match the browser's numberformatter defaults
222
+ var n=this.floor?Math.floor(e):gn(e,3);return vn(n,this.padTo)}};return e}();
223
+ /**
224
+ * @private
225
+ */var le=/** @class */function(){function e(e,n,r){this.opts=r;this.originalZone=undefined;var t=undefined;if(this.opts.timeZone){
226
+ // Don't apply any workarounds if a timeZone is explicitly provided in opts
227
+ this.dt=e}else if(e.zone.type==="fixed"){
228
+ // UTC-8 or Etc/UTC-8 are not part of tzdata, only Etc/GMT+8 and the like.
229
+ // That is why fixed-offset TZ is set to that unless it is:
230
+ // 1. Representing offset 0 when UTC is used to maintain previous behavior and does not become GMT.
231
+ // 2. Unsupported by the browser:
232
+ // - some do not support Etc/
233
+ // - < Etc/GMT-14, > Etc/GMT+12, and 30-minute or 45-minute offsets are not part of tzdata
234
+ var i=-1*(e.offset/60);var u=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&R.create(u).valid){t=u;this.dt=e}else{
235
+ // Not all fixed-offset zones like Etc/+4:30 are present in tzdata so
236
+ // we manually apply the offset and substitute the zone as needed.
237
+ t="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;t=e.zone.name}else{
238
+ // Custom zones can have any offset / offsetName so we just manually
239
+ // apply the offset and substitute the zone as needed.
240
+ t="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var a=__assign({},this.opts);a.timeZone=a.timeZone||t;this.dtf=P(n,a)}e.prototype.format=function(){if(this.originalZone){
241
+ // If we have to substitute in the actual zone name, we have to use
242
+ // formatToParts so that the timezone can be replaced.
243
+ return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var r=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:r})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();
244
+ /**
245
+ * @private
246
+ */var he=/** @class */function(){function e(e,n,r){this.opts=__assign({style:"long"},r);if(!n&&tn()){this.rtf=K(e,r)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return $n(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var ve={firstDay:1,minimalDays:4,weekend:[6,7]};
247
+ /**
248
+ * @private
249
+ */var de=/** @class */function(){function e(e,n,r,t,i){var u=ie(e),a=u[0],s=u[1],o=u[2];this.locale=a;this.numberingSystem=n||s||null;this.outputCalendar=r||o||null;this.weekSettings=t;this.intl=ue(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,r,t,i,u){if(u===void 0){u=false}var a=n||Ze.defaultLocale;
250
+ // the system locale is useful for human-readable strings but annoying for parsing/formatting known formats
251
+ var s=a||(u?"en-US":X());var o=r||Ze.defaultNumberingSystem;var f=t||Ze.defaultOutputCalendar;var c=cn(i)||Ze.defaultWeekSettings;return new e(s,o,f,c,a)};e.resetCache=function(){Q=null;Y.clear();$.clear();B.clear();ee.clear();re.clear()};e.fromObject=function(n){var r=n===void 0?{}:n,t=r.locale,i=r.numberingSystem,u=r.outputCalendar,a=r.weekSettings;return e.create(t,i,u,a)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=fe(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,cn(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Zn,(function(){var t=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!r.monthsCache[i][e]){r.monthsCache[i][e]=ae((function(e){return r.extract(e,t,"month")}))}return r.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Cn,(function(){var t=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!r.weekdaysCache[i][e]){r.weekdaysCache[i][e]=se((function(e){return r.extract(e,t,"weekday")}))}return r.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return oe(this,undefined,(function(){return Hn}),(function(){
252
+ // In theory there could be aribitrary day periods. We're gonna assume there are exactly two
253
+ // for AM and PM. This is probably wrong, but it's makes parsing way easier.
254
+ if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[gi.utc(2016,11,13,9),gi.utc(2016,11,13,19)].map((function(r){return e.extract(r,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return oe(this,e,Rn,(function(){var r={era:e};
255
+ // This is problematic. Different calendars are going to define eras totally differently. What I need is the minimum set of dates
256
+ // to definitely enumerate them.
257
+ if(!n.eraCache[e]){n.eraCache[e]=[gi.utc(-40,1,1),gi.utc(2017,1,1)].map((function(e){return n.extract(e,r,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,r){var t=this.dtFormatter(e,n),i=t.formatToParts(),u=i.find((function(e){return e.type.toLowerCase()===r}));return u?u.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}
258
+ // this forcesimple option is never used (the only caller short-circuits on it, but it seems safer to leave)
259
+ // (in contrast, the rest of the condition is used heavily)
260
+ return new ce(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new le(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new he(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return G(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||ne(this.intl).locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!un()){return ve}else{return te(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};e.prototype.toString=function(){return"Locale(".concat(this.locale,", ").concat(this.numberingSystem,", ").concat(this.outputCalendar,")")};return e}();var me=null;
261
+ /**
262
+ * A zone with a fixed offset (meaning no DST)
263
+ * @implements {Zone}
264
+ */var be=/** @class */function(e){__extends(n,e);function n(n){var r=e.call(this)||this;
265
+ /** @private **/r.fixed=n;return r}Object.defineProperty(n,"utcInstance",{
266
+ /**
267
+ * Get a singleton instance of UTC
268
+ * @return {FixedOffsetZone}
269
+ */
270
+ get:function(){if(me===null){me=new n(0)}return me},enumerable:false,configurable:true});
271
+ /**
272
+ * Get an instance with a specified offset
273
+ * @param {number} offset - The offset in minutes
274
+ * @return {FixedOffsetZone}
275
+ */n.instance=function(e){return e===0?n.utcInstance:new n(e)};
276
+ /**
277
+ * Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
278
+ * @param {string} s - The offset string to parse
279
+ * @example FixedOffsetZone.parseSpecifier("UTC+6")
280
+ * @example FixedOffsetZone.parseSpecifier("UTC+06")
281
+ * @example FixedOffsetZone.parseSpecifier("UTC-6:00")
282
+ * @return {FixedOffsetZone}
283
+ */n.parseSpecifier=function(e){if(e){var r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r){return new n(kn(r[1],r[2]))}}return null};Object.defineProperty(n.prototype,"type",{
284
+ /**
285
+ * The type of zone. `fixed` for all instances of `FixedOffsetZone`.
286
+ * @override
287
+ * @type {string}
288
+ */
289
+ get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
290
+ /**
291
+ * The name of this zone.
292
+ * All fixed zones' names always start with "UTC" (plus optional offset)
293
+ * @override
294
+ * @type {string}
295
+ */
296
+ get:function(){return this.fixed===0?"UTC":"UTC".concat(Sn(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{
297
+ /**
298
+ * The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
299
+ *
300
+ * @override
301
+ * @type {string}
302
+ */
303
+ get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(Sn(-this.fixed,"narrow"))}},enumerable:false,configurable:true});
304
+ /**
305
+ * Returns the offset's common name at the specified timestamp.
306
+ *
307
+ * For fixed offset zones this equals to the zone name.
308
+ * @override
309
+ */n.prototype.offsetName=function(){return this.name};
310
+ /**
311
+ * Returns the offset's value as a string
312
+ * @override
313
+ * @param {number} ts - Epoch milliseconds for which to get the offset
314
+ * @param {string} format - What style of offset to return.
315
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
316
+ * @return {string}
317
+ */n.prototype.formatOffset=function(e,n){return Sn(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{
318
+ /**
319
+ * Returns whether the offset is known to be fixed for the whole year:
320
+ * Always returns true for all fixed offset zones.
321
+ * @override
322
+ * @type {boolean}
323
+ */
324
+ get:function(){return true},enumerable:false,configurable:true});
325
+ /**
326
+ * Return the offset in minutes for this zone at the specified timestamp.
327
+ *
328
+ * For fixed offset zones, this is constant and does not depend on a timestamp.
329
+ * @override
330
+ * @return {number}
331
+ */n.prototype.offset=function(){return this.fixed};
332
+ /**
333
+ * Return whether this Zone is equal to another zone (i.e. also fixed and same offset)
334
+ * @override
335
+ * @param {Zone} otherZone - the zone to compare
336
+ * @return {boolean}
337
+ */n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{
338
+ /**
339
+ * Return whether this Zone is valid:
340
+ * All fixed offset zones are valid.
341
+ * @override
342
+ * @type {boolean}
343
+ */
344
+ get:function(){return true},enumerable:false,configurable:true});return n}(Z);
345
+ /**
346
+ * A zone that failed to parse. You should never need to instantiate this.
347
+ * @implements {Zone}
348
+ */var ge=/** @class */function(e){__extends(n,e);function n(n){var r=e.call(this)||this;
349
+ /** @private */r.zoneName=n;return r}Object.defineProperty(n.prototype,"type",{
350
+ /** @override **/
351
+ get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
352
+ /** @override **/
353
+ get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
354
+ /** @override **/
355
+ get:function(){return false},enumerable:false,configurable:true});
356
+ /** @override **/n.prototype.offsetName=function(){return null};
357
+ /** @override **/n.prototype.formatOffset=function(){return""};
358
+ /** @override **/n.prototype.offset=function(){return NaN};
359
+ /** @override **/n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{
360
+ /** @override **/
361
+ get:function(){return false},enumerable:false,configurable:true});return n}(Z);
362
+ /**
363
+ * @private
364
+ */function ye(e,n){if(Qe(e)||e===null){return n}else if(e instanceof Z){return e}else if(nn(e)){var r=e.toLowerCase();if(r==="default")return n;else if(r==="local"||r==="system")return W.instance;else if(r==="utc"||r==="gmt")return be.utcInstance;else return be.parseSpecifier(r)||R.create(e)}else if(Xe(e)){return be.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){
365
+ // This is dumb, but the instanceof check above doesn't seem to really work
366
+ // so we're duck checking it
367
+ return e}else{return new ge(e)}}var we={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var _e={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};var Oe=we.hanidec.replace(/[\[|\]]/g,"").split("");function Me(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var r=0;r<e.length;r++){var t=e.charCodeAt(r);if(e[r].search(we.hanidec)!==-1){n+=Oe.indexOf(e[r])}else{for(var i in _e){var u=_e[i],a=u[0],s=u[1];if(t>=a&&t<=s){n+=t-a}}}}return parseInt(n,10)}else{return n}}
368
+ // cache of {numberingSystem: {append: regex}}
369
+ var je=new Map;function pe(){je.clear()}function Ne(e,n){var r=e.numberingSystem;if(n===void 0){n=""}var t=r||"latn";var i=je.get(t);if(i===undefined){i=new Map;je.set(t,i)}var u=i.get(n);if(u===undefined){u=new RegExp("".concat(we[t]).concat(n));i.set(n,u)}return u}var ke=function(){return Date.now()},Te="system",Ee=null,Se=null,De=null,Ie=60,xe,Ae=null;
370
+ /**
371
+ * Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.
372
+ */var Ze=/** @class */function(){function e(){}Object.defineProperty(e,"now",{
373
+ /**
374
+ * Get the callback for returning the current timestamp.
375
+ * @type {function}
376
+ */
377
+ get:function(){return ke},
378
+ /**
379
+ * Set the callback for returning the current timestamp.
380
+ * The function should return a number, which will be interpreted as an Epoch millisecond count
381
+ * @type {function}
382
+ * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future
383
+ * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
384
+ */
385
+ set:function(e){ke=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{
386
+ /**
387
+ * Get the default time zone object currently used to create DateTimes. Does not affect existing instances.
388
+ * The default value is the system's time zone (the one set on the machine that runs this code).
389
+ * @type {Zone}
390
+ */
391
+ get:function(){return ye(Te,W.instance)},
392
+ /**
393
+ * Set the default time zone to create DateTimes in. Does not affect existing instances.
394
+ * Use the value "system" to reset this value to the system's time zone.
395
+ * @type {string}
396
+ */
397
+ set:function(e){Te=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{
398
+ /**
399
+ * Get the default locale to create DateTimes with. Does not affect existing instances.
400
+ * @type {string}
401
+ */
402
+ get:function(){return Ee},
403
+ /**
404
+ * Set the default locale to create DateTimes with. Does not affect existing instances.
405
+ * @type {string}
406
+ */
407
+ set:function(e){Ee=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{
408
+ /**
409
+ * Get the default numbering system to create DateTimes with. Does not affect existing instances.
410
+ * @type {string}
411
+ */
412
+ get:function(){return Se},
413
+ /**
414
+ * Set the default numbering system to create DateTimes with. Does not affect existing instances.
415
+ * @type {string}
416
+ */
417
+ set:function(e){Se=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{
418
+ /**
419
+ * Get the default output calendar to create DateTimes with. Does not affect existing instances.
420
+ * @type {string}
421
+ */
422
+ get:function(){return De},
423
+ /**
424
+ * Set the default output calendar to create DateTimes with. Does not affect existing instances.
425
+ * @type {string}
426
+ */
427
+ set:function(e){De=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{
428
+ /**
429
+ * @typedef {Object} WeekSettings
430
+ * @property {number} firstDay
431
+ * @property {number} minimalDays
432
+ * @property {number[]} weekend
433
+ */
434
+ /**
435
+ * @return {WeekSettings|null}
436
+ */
437
+ get:function(){return Ae},
438
+ /**
439
+ * Allows overriding the default locale week settings, i.e. the start of the week, the weekend and
440
+ * how many days are required in the first week of a year.
441
+ * Does not affect existing instances.
442
+ *
443
+ * @param {WeekSettings|null} weekSettings
444
+ */
445
+ set:function(e){Ae=cn(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{
446
+ /**
447
+ * Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
448
+ * @type {number}
449
+ */
450
+ get:function(){return Ie},
451
+ /**
452
+ * Set the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
453
+ * @type {number}
454
+ * @example Settings.twoDigitCutoffYear = 0 // all 'yy' are interpreted as 20th century
455
+ * @example Settings.twoDigitCutoffYear = 99 // all 'yy' are interpreted as 21st century
456
+ * @example Settings.twoDigitCutoffYear = 50 // '49' -> 2049; '50' -> 1950
457
+ * @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
458
+ * @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
459
+ */
460
+ set:function(e){Ie=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{
461
+ /**
462
+ * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
463
+ * @type {boolean}
464
+ */
465
+ get:function(){return xe},
466
+ /**
467
+ * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
468
+ * @type {boolean}
469
+ */
470
+ set:function(e){xe=e},enumerable:false,configurable:true});
471
+ /**
472
+ * Reset Luxon's global caches. Should only be necessary in testing scenarios.
473
+ * @return {void}
474
+ */e.resetCaches=function(){de.resetCache();R.resetCache();gi.resetCache();pe()};return e}();var Le=/** @class */function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var We=[0,31,59,90,120,151,181,212,243,273,304,334],Fe=[0,31,60,91,121,152,182,213,244,274,305,335];function Ce(e,n){return new Le("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function He(e,n,r){var t=new Date(Date.UTC(e,n-1,r));if(e<100&&e>=0){t.setUTCFullYear(t.getUTCFullYear()-1900)}var i=t.getUTCDay();return i===0?7:i}function qe(e,n,r){return r+(yn(e)?Fe:We)[n-1]}function ze(e,n){var r=yn(e)?Fe:We,t=r.findIndex((function(e){return e<n})),i=n-r[t];return{month:t+1,day:i}}function Je(e,n){return(e-n+7)%7+1}
475
+ /**
476
+ * @private
477
+ */function Re(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.year,i=e.month,u=e.day,a=qe(t,i,u),s=Je(He(t,i,u),r);var o=Math.floor((a-s+14-n)/7),f;if(o<1){f=t-1;o=jn(f,n,r)}else if(o>jn(t,n,r)){f=t+1;o=1}else{f=t}return __assign({weekYear:f,weekNumber:o,weekday:s},Dn(e))}function Ue(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.weekYear,i=e.weekNumber,u=e.weekday,a=Je(He(t,1,n),r),s=wn(t);var o=i*7+u-a-7+n,f;if(o<1){f=t-1;o+=wn(f)}else if(o>s){f=t+1;o-=wn(t)}else{f=t}var c=ze(f,o),l=c.month,h=c.day;return __assign({year:f,month:l,day:h},Dn(e))}function Ge(e){var n=e.year,r=e.month,t=e.day;var i=qe(n,r,t);return __assign({year:n,ordinal:i},Dn(e))}function Ye(e){var n=e.year,r=e.ordinal;var t=ze(n,r),i=t.month,u=t.day;return __assign({year:n,month:i,day:u},Dn(e))}
478
+ /**
479
+ * Check if local week units like localWeekday are used in obj.
480
+ * If so, validates that they are not mixed with ISO week units and then copies them to the normal week unit properties.
481
+ * Modifies obj in-place!
482
+ * @param obj the object values
483
+ */function Pe(e,n){var r=!Qe(e.localWeekday)||!Qe(e.localWeekNumber)||!Qe(e.localWeekYear);if(r){var t=!Qe(e.weekday)||!Qe(e.weekNumber)||!Qe(e.weekYear);if(t){throw new u("Cannot mix locale-based week fields with ISO-based week fields")}if(!Qe(e.localWeekday))e.weekday=e.localWeekday;if(!Qe(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!Qe(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function $e(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=en(e.weekYear),i=ln(e.weekNumber,1,jn(e.weekYear,n,r)),u=ln(e.weekday,1,7);if(!t){return Ce("weekYear",e.weekYear)}else if(!i){return Ce("week",e.weekNumber)}else if(!u){return Ce("weekday",e.weekday)}else return false}function Ve(e){var n=en(e.year),r=ln(e.ordinal,1,wn(e.year));if(!n){return Ce("year",e.year)}else if(!r){return Ce("ordinal",e.ordinal)}else return false}function Be(e){var n=en(e.year),r=ln(e.month,1,12),t=ln(e.day,1,_n(e.year,e.month));if(!n){return Ce("year",e.year)}else if(!r){return Ce("month",e.month)}else if(!t){return Ce("day",e.day)}else return false}function Ke(e){var n=e.hour,r=e.minute,t=e.second,i=e.millisecond;var u=ln(n,0,23)||n===24&&r===0&&t===0&&i===0,a=ln(r,0,59),s=ln(t,0,59),o=ln(i,0,999);if(!u){return Ce("hour",n)}else if(!a){return Ce("minute",r)}else if(!s){return Ce("second",t)}else if(!o){return Ce("millisecond",i)}else return false}
484
+ /*
485
+ This is just a junk drawer, containing anything used across multiple classes.
486
+ Because Luxon is small(ish), this should stay small and we won't worry about splitting
487
+ it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area.
488
+ */
489
+ /**
490
+ * @private
491
+ */
492
+ // TYPES
493
+ function Qe(e){return typeof e==="undefined"}function Xe(e){return typeof e==="number"}function en(e){return typeof e==="number"&&e%1===0}function nn(e){return typeof e==="string"}function rn(e){return Object.prototype.toString.call(e)==="[object Date]"}
494
+ // CAPABILITIES
495
+ function tn(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function un(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}
496
+ // OBJECTS AND ARRAYS
497
+ function an(e){return Array.isArray(e)?e:[e]}function sn(e,n,r){if(e.length===0){return undefined}return e.reduce((function(e,t){var i=[n(t),t];if(!e){return i}else if(r(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function on(e,n){return n.reduce((function(n,r){n[r]=e[r];return n}),{})}function fn(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function cn(e){if(e==null){return null}else if(typeof e!=="object"){throw new s("Week settings must be an object")}else{if(!ln(e.firstDay,1,7)||!ln(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!ln(e,1,7)}))){throw new s("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}
498
+ // NUMBERS AND STRINGS
499
+ function ln(e,n,r){return en(e)&&e>=n&&e<=r}
500
+ // x % n but takes the sign of n instead of x
501
+ function hn(e,n){return e-n*Math.floor(e/n)}function vn(e,n){if(n===void 0){n=2}var r=e<0;var t;if(r){t="-"+(""+-e).padStart(n,"0")}else{t=(""+e).padStart(n,"0")}return t}function dn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function mn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function bn(e){
502
+ // Return undefined (instead of 0) in these cases, where fraction is not set
503
+ if(Qe(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function gn(e,n,r){if(r===void 0){r=false}var t=Math.pow(10,n),i=r?Math.trunc:Math.round;return i(e*t)/t}
504
+ // DATE BASICS
505
+ function yn(e){return e%4===0&&(e%100!==0||e%400===0)}function wn(e){return yn(e)?366:365}function _n(e,n){var r=hn(n-1,12)+1,t=e+(n-r)/12;if(r===2){return yn(t)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}
506
+ // convert a calendar object to a local timestamp (epoch, but with the offset baked in)
507
+ function On(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);
508
+ // for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that
509
+ if(e.year<100&&e.year>=0){n=new Date(n);
510
+ // set the month and day again, this is necessary because year 2000 is a leap year, but year 100 is not
511
+ // so if obj.year is in 99, but obj.day makes it roll over into year 100,
512
+ // the calculations done by Date.UTC are using year 2000 - which is incorrect
513
+ n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}
514
+ // adapted from moment.js: https://github.com/moment/moment/blob/000ac1800e620f770f4eb31b5ae908f6167b0ab2/src/lib/units/week-calendar-utils.js
515
+ function Mn(e,n,r){var t=Je(He(e,1,n),r);return-t+n-1}function jn(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=Mn(e,n,r);var i=Mn(e+1,n,r);return(wn(e)-t+i)/7}function pn(e){if(e>99){return e}else return e>Ze.twoDigitCutoffYear?1900+e:2e3+e}
516
+ // PARSING
517
+ function Nn(e,n,r,t){if(t===void 0){t=null}var i=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(t){u.timeZone=t}var a=__assign({timeZoneName:n},u);var s=new Intl.DateTimeFormat(r,a).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}
518
+ // signedOffset('-5', '30') -> -330
519
+ function kn(e,n){var r=parseInt(e,10);
520
+ // don't || this because we want to preserve -0
521
+ if(Number.isNaN(r)){r=0}var t=parseInt(n,10)||0,i=r<0||Object.is(r,-0)?-t:t;return r*60+i}
522
+ // COERCION
523
+ function Tn(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new s("Invalid unit value ".concat(e));return n}function En(e,n){var r={};for(var t in e){if(fn(e,t)){var i=e[t];if(i===undefined||i===null)continue;r[n(t)]=Tn(i)}}return r}
524
+ /**
525
+ * Returns the offset's value as a string
526
+ * @param {number} ts - Epoch milliseconds for which to get the offset
527
+ * @param {string} format - What style of offset to return.
528
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
529
+ * @return {string}
530
+ */function Sn(e,n){var r=Math.trunc(Math.abs(e/60)),t=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(vn(r,2),":").concat(vn(t,2));case"narrow":return"".concat(i).concat(r).concat(t>0?":".concat(t):"");case"techie":return"".concat(i).concat(vn(r,2)).concat(vn(t,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function Dn(e){return on(e,["hour","minute","second","millisecond"])}
531
+ /**
532
+ * @private
533
+ */var In=["January","February","March","April","May","June","July","August","September","October","November","December"];var xn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var An=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zn(e){switch(e){case"narrow":return __spreadArray([],An,true);case"short":return __spreadArray([],xn,true);case"long":return __spreadArray([],In,true);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var Fn=["M","T","W","T","F","S","S"];function Cn(e){switch(e){case"narrow":return __spreadArray([],Fn,true);case"short":return __spreadArray([],Wn,true);case"long":return __spreadArray([],Ln,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Hn=["AM","PM"];var qn=["Before Christ","Anno Domini"];var zn=["BC","AD"];var Jn=["B","A"];function Rn(e){switch(e){case"narrow":return __spreadArray([],Jn,true);case"short":return __spreadArray([],zn,true);case"long":return __spreadArray([],qn,true);default:return null}}function Un(e){return Hn[e.hour<12?0:1]}function Gn(e,n){return Cn(n)[e.weekday-1]}function Yn(e,n){return Zn(n)[e.month-1]}function Pn(e,n){return Rn(n)[e.year<0?0:1]}function $n(e,n,r,t){if(r===void 0){r="always"}if(t===void 0){t=false}var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};var u=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&u){var a=e==="days";switch(n){case 1:return a?"tomorrow":"next ".concat(i[e][0]);case-1:return a?"yesterday":"last ".concat(i[e][0]);case 0:return a?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,c=i[e],l=t?f?c[1]:c[2]||c[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(l," ago"):"in ".concat(o," ").concat(l)}function Vn(e,n){var r="";for(var t=0,i=e;t<i.length;t++){var u=i[t];if(u.literal){r+=u.val}else{r+=n(u.val)}}return r}var Bn={D:h,DD:v,DDD:m,DDDD:b,t:g,tt:y,ttt:w,tttt:_,T:O,TT:M,TTT:j,TTTT:p,f:N,ff:T,fff:D,ffff:x,F:k,FF:E,FFF:I,FFFF:A};
534
+ /**
535
+ * @private
536
+ */var Kn=/** @class */function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,r){if(r===void 0){r={}}return new e(n,r)};e.parseFormat=function(e){
537
+ // white-space is always considered a literal in user-provided formats
538
+ // the " " token has a special meaning (see unitForToken)
539
+ var n=null,r="",t=false;var i=[];for(var u=0;u<e.length;u++){var a=e.charAt(u);if(a==="'"){if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}n=null;r="";t=!t}else if(t){r+=a}else if(a===n){r+=a}else{if(r.length>0){i.push({literal:/^\s+$/.test(r),val:r})}r=a;n=a}}if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}return i};e.macroTokenToFormatOpts=function(e){return Bn[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var r=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return r.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var r=this.dtFormatter(e.start,n);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}
540
+ // we get some perf out of doing this here, annoyingly
541
+ if(this.opts.forceSimple){return vn(e,n)}var r=__assign({},this.opts);if(n>0){r.padTo=n}return this.loc.numberFormatter(r).format(e)};e.prototype.formatDateTimeFromString=function(n,r){var t=this;var i=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=function(e,r){return t.loc.extract(n,e,r)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?Un(n):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,r){return i?Yn(n,e):a(r?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,r){return i?Gn(n,e):a(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(r){var i=e.macroTokenToFormatOpts(r);if(i){return t.formatWithSystemDefault(n,i)}else{return r}},h=function(e){return i?Pn(n,e):a({era:e},"era")},v=function(e){
542
+ // Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
543
+ switch(e){
544
+ // ms
545
+ case"S":return t.num(n.millisecond);case"u":
546
+ // falls through
547
+ case"SSS":return t.num(n.millisecond,3);
548
+ // seconds
549
+ case"s":return t.num(n.second);case"ss":return t.num(n.second,2);
550
+ // fractional seconds
551
+ case"uu":return t.num(Math.floor(n.millisecond/10),2);case"uuu":return t.num(Math.floor(n.millisecond/100));
552
+ // minutes
553
+ case"m":return t.num(n.minute);case"mm":return t.num(n.minute,2);
554
+ // hours
555
+ case"h":return t.num(n.hour%12===0?12:n.hour%12);case"hh":return t.num(n.hour%12===0?12:n.hour%12,2);case"H":return t.num(n.hour);case"HH":return t.num(n.hour,2);
556
+ // offset
557
+ case"Z":
558
+ // like +6
559
+ return s({format:"narrow",allowZ:t.opts.allowZ});case"ZZ":
560
+ // like +06:00
561
+ return s({format:"short",allowZ:t.opts.allowZ});case"ZZZ":
562
+ // like +0600
563
+ return s({format:"techie",allowZ:t.opts.allowZ});case"ZZZZ":
564
+ // like EST
565
+ return n.zone.offsetName(n.ts,{format:"short",locale:t.loc.locale});case"ZZZZZ":
566
+ // like Eastern Standard Time
567
+ return n.zone.offsetName(n.ts,{format:"long",locale:t.loc.locale});
568
+ // zone
569
+ case"z":
570
+ // like America/New_York
571
+ return n.zoneName;
572
+ // meridiems
573
+ case"a":return o();
574
+ // dates
575
+ case"d":return u?a({day:"numeric"},"day"):t.num(n.day);case"dd":return u?a({day:"2-digit"},"day"):t.num(n.day,2);
576
+ // weekdays - standalone
577
+ case"c":
578
+ // like 1
579
+ return t.num(n.weekday);case"ccc":
580
+ // like 'Tues'
581
+ return c("short",true);case"cccc":
582
+ // like 'Tuesday'
583
+ return c("long",true);case"ccccc":
584
+ // like 'T'
585
+ return c("narrow",true);
586
+ // weekdays - format
587
+ case"E":
588
+ // like 1
589
+ return t.num(n.weekday);case"EEE":
590
+ // like 'Tues'
591
+ return c("short",false);case"EEEE":
592
+ // like 'Tuesday'
593
+ return c("long",false);case"EEEEE":
594
+ // like 'T'
595
+ return c("narrow",false);
596
+ // months - standalone
597
+ case"L":
598
+ // like 1
599
+ return u?a({month:"numeric",day:"numeric"},"month"):t.num(n.month);case"LL":
600
+ // like 01, doesn't seem to work
601
+ return u?a({month:"2-digit",day:"numeric"},"month"):t.num(n.month,2);case"LLL":
602
+ // like Jan
603
+ return f("short",true);case"LLLL":
604
+ // like January
605
+ return f("long",true);case"LLLLL":
606
+ // like J
607
+ return f("narrow",true);
608
+ // months - format
609
+ case"M":
610
+ // like 1
611
+ return u?a({month:"numeric"},"month"):t.num(n.month);case"MM":
612
+ // like 01
613
+ return u?a({month:"2-digit"},"month"):t.num(n.month,2);case"MMM":
614
+ // like Jan
615
+ return f("short",false);case"MMMM":
616
+ // like January
617
+ return f("long",false);case"MMMMM":
618
+ // like J
619
+ return f("narrow",false);
620
+ // years
621
+ case"y":
622
+ // like 2014
623
+ return u?a({year:"numeric"},"year"):t.num(n.year);case"yy":
624
+ // like 14
625
+ return u?a({year:"2-digit"},"year"):t.num(n.year.toString().slice(-2),2);case"yyyy":
626
+ // like 0012
627
+ return u?a({year:"numeric"},"year"):t.num(n.year,4);case"yyyyyy":
628
+ // like 000012
629
+ return u?a({year:"numeric"},"year"):t.num(n.year,6);
630
+ // eras
631
+ case"G":
632
+ // like AD
633
+ return h("short");case"GG":
634
+ // like Anno Domini
635
+ return h("long");case"GGGGG":return h("narrow");case"kk":return t.num(n.weekYear.toString().slice(-2),2);case"kkkk":return t.num(n.weekYear,4);case"W":return t.num(n.weekNumber);case"WW":return t.num(n.weekNumber,2);case"n":return t.num(n.localWeekNumber);case"nn":return t.num(n.localWeekNumber,2);case"ii":return t.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return t.num(n.localWeekYear,4);case"o":return t.num(n.ordinal);case"ooo":return t.num(n.ordinal,3);case"q":
636
+ // like 1
637
+ return t.num(n.quarter);case"qq":
638
+ // like 01
639
+ return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":return t.num(n.ts);default:return l(e)}};return Vn(e.parseFormat(r),v)};e.prototype.formatDurationFromString=function(n,r){var t=this;var i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=function(e){return function(n){var r=i(n);if(r){return t.num(e.get(r),n.length)}else{return n}}},a=e.parseFormat(r),s=a.reduce((function(e,n){var r=n.literal,t=n.val;return r?e:e.concat(t)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return Vn(a,u(o))};return e}();
640
+ /*
641
+ * This file handles parsing for well-specified formats. Here's how it works:
642
+ * Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.
643
+ * An extractor is just a function that takes a regex match array and returns a { year: ..., month: ... } object
644
+ * parse() does the work of executing the regex and applying the extractor. It takes multiple regex/extractor pairs to try in sequence.
645
+ * Extractors can take a "cursor" representing the offset in the match to look at. This makes it easy to combine extractors.
646
+ * combineExtractors() does the work of combining them, keeping track of the cursor through multiple extractions.
647
+ * Some extractions are super dumb and simpleParse and fromStrings help DRY them.
648
+ */var Qn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var r=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(r,"$"))}function er(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,r){var t=e[0],i=e[1],u=e[2];var a=r(n,u),s=a[0],o=a[1],f=a[2];return[__assign(__assign({},t),s),o||i,f]}),[{},null,1]).slice(0,2)}}function nr(e){var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}if(e==null){return[null,null]}for(var t=0,i=n;t<i.length;t++){var u=i[t],a=u[0],s=u[1];var o=a.exec(e);if(o){return s(o)}}return[null,null]}function rr(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,r){var t={};var i;for(i=0;i<e.length;i++){t[e[i]]=dn(n[r+i])}return[t,null,r+i]}}
649
+ // ISO and SQL parsing
650
+ var tr=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var ir="(?:".concat(tr.source,"?(?:\\[(").concat(Qn.source,")\\])?)?");var ur=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var ar=RegExp("".concat(ur.source).concat(ir));var sr=RegExp("(?:T".concat(ar.source,")?"));var or=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var fr=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var cr=/(\d{4})-?(\d{3})/;var lr=rr("weekYear","weekNumber","weekDay");var hr=rr("year","ordinal");var vr=/(\d{4})-(\d\d)-(\d\d)/;// dumbed-down version of the ISO one
651
+ var dr=RegExp("".concat(ur.source," ?(?:").concat(tr.source,"|(").concat(Qn.source,"))?"));var mr=RegExp("(?: ".concat(dr.source,")?"));function br(e,n,r){var t=e[n];return Qe(t)?r:dn(t)}function gr(e,n){var r={year:br(e,n),month:br(e,n+1,1),day:br(e,n+2,1)};return[r,null,n+3]}function yr(e,n){var r={hours:br(e,n,0),minutes:br(e,n+1,0),seconds:br(e,n+2,0),milliseconds:bn(e[n+3])};return[r,null,n+4]}function wr(e,n){var r=!e[n]&&!e[n+1],t=kn(e[n+1],e[n+2]),i=r?null:be.instance(t);return[{},i,n+3]}function _r(e,n){var r=e[n]?R.create(e[n]):null;return[{},r,n+1]}
652
+ // ISO time parsing
653
+ var Or=RegExp("^T?".concat(ur.source,"$"));
654
+ // ISO duration parsing
655
+ var Mr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function jr(e){var n=e[0],r=e[1],t=e[2],i=e[3],u=e[4],a=e[5],s=e[6],o=e[7],f=e[8];var c=n[0]==="-";var l=o&&o[0]==="-";var h=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&c)?-e:e};return[{years:h(mn(r)),months:h(mn(t)),weeks:h(mn(i)),days:h(mn(u)),hours:h(mn(a)),minutes:h(mn(s)),seconds:h(mn(o),o==="-0"),milliseconds:h(bn(f),l)}]}
656
+ // These are a little braindead. EDT *should* tell us that we're in, say, America/New_York
657
+ // and not just that we're in -240 *right now*. But since I don't think these are used that often
658
+ // I'm just going to ignore that
659
+ var pr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Nr(e,n,r,t,i,u,a){var s={year:n.length===2?pn(dn(n)):dn(n),month:xn.indexOf(r)+1,day:dn(t),hour:dn(i),minute:dn(u)};if(a)s.second=dn(a);if(e){s.weekday=e.length>3?Ln.indexOf(e)+1:Wn.indexOf(e)+1}return s}
660
+ // RFC 2822/5322
661
+ var kr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Tr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=e[8],f=e[9],c=e[10],l=e[11],h=Nr(n,i,t,r,u,a,s);var v;if(o){v=pr[o]}else if(f){v=0}else{v=kn(c,l)}return[h,new be(v)]}function Er(e){
662
+ // Remove comments and folding whitespace and replace multiple-spaces with a single space
663
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}
664
+ // http date
665
+ var Sr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Dr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ir=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function xr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,i,t,r,u,a,s);return[o,be.utcInstance]}function Ar(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,s,r,t,i,u,a);return[o,be.utcInstance]}var Zr=Xn(or,sr);var Lr=Xn(fr,sr);var Wr=Xn(cr,sr);var Fr=Xn(ar);var Cr=er(gr,yr,wr,_r);var Hr=er(lr,yr,wr,_r);var qr=er(hr,yr,wr,_r);var zr=er(yr,wr,_r);
666
+ /*
667
+ * @private
668
+ */function Jr(e){return nr(e,[Zr,Cr],[Lr,Hr],[Wr,qr],[Fr,zr])}function Rr(e){return nr(Er(e),[kr,Tr])}function Ur(e){return nr(e,[Sr,xr],[Dr,xr],[Ir,Ar])}function Gr(e){return nr(e,[Mr,jr])}var Yr=er(yr);function Pr(e){return nr(e,[Or,Yr])}var $r=Xn(vr,mr);var Vr=Xn(dr);var Br=er(yr,wr,_r);function Kr(e){return nr(e,[$r,Cr],[Vr,Br])}var Qr="Invalid Duration";
669
+ // unit conversion constants
670
+ var Xr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},et=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Xr),nt=146097/400,rt=146097/4800,tt=__assign({years:{quarters:4,months:12,weeks:nt/7,days:nt,hours:nt*24,minutes:nt*24*60,seconds:nt*24*60*60,milliseconds:nt*24*60*60*1e3},quarters:{months:3,weeks:nt/28,days:nt/4,hours:nt*24/4,minutes:nt*24*60/4,seconds:nt*24*60*60/4,milliseconds:nt*24*60*60*1e3/4},months:{weeks:rt/7,days:rt,hours:rt*24,minutes:rt*24*60,seconds:rt*24*60*60,milliseconds:rt*24*60*60*1e3}},Xr);
671
+ // units ordered by size
672
+ var it=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var ut=it.slice(0).reverse();
673
+ // clone really means "create another instance just like this one, but with these changes"
674
+ function at(e,n,r){if(r===void 0){r=false}
675
+ // deep merge for vals
676
+ var t={values:r?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new ct(t)}function st(e,n){var r;var t=(r=n.milliseconds)!==null&&r!==void 0?r:0;for(var i=0,u=ut.slice(1);i<u.length;i++){var a=u[i];if(n[a]){t+=n[a]*e[a]["milliseconds"]}}return t}
677
+ // NB: mutates parameters
678
+ function ot(e,n){
679
+ // the logic below assumes the overall value of the duration is positive
680
+ // if this is not the case, factor is used to make it so
681
+ var r=st(e,n)<0?-1:1;it.reduceRight((function(t,i){if(!Qe(n[i])){if(t){var u=n[t]*r;var a=e[i][t];
682
+ // if (previousVal < 0):
683
+ // lower order unit is negative (e.g. { years: 2, days: -2 })
684
+ // normalize this by reducing the higher order unit by the appropriate amount
685
+ // and increasing the lower order unit
686
+ // this can never make the higher order unit negative, because this function only operates
687
+ // on positive durations, so the amount of time represented by the lower order unit cannot
688
+ // be larger than the higher order unit
689
+ // else:
690
+ // lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
691
+ // in this case we attempt to convert as much as possible from the lower order unit into
692
+ // the higher order one
693
+
694
+ // Math.floor takes care of both of these cases, rounding away from 0
695
+ // if previousVal < 0 it makes the absolute value larger
696
+ // if previousVal >= it makes the absolute value smaller
697
+ var s=Math.floor(u/a);n[i]+=s*r;n[t]-=s*a*r}return i}else{return t}}),null);
698
+ // try to convert any decimals into smaller units if possible
699
+ // for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
700
+ it.reduce((function(r,t){if(!Qe(n[t])){if(r){var i=n[r]%1;n[r]-=i;n[t]+=i*e[r][t]}return t}else{return r}}),null)}
701
+ // Remove all properties with a value of 0 from an object
702
+ function ft(e){var n={};for(var r=0,t=Object.entries(e);r<t.length;r++){var i=t[r],u=i[0],a=i[1];if(a!==0){n[u]=a}}return n}
703
+ /**
704
+ * A Duration object represents a period of time, like "2 months" or "1 day, 1 hour". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime#plus} to add a Duration object to a DateTime, producing another DateTime.
705
+ *
706
+ * Here is a brief overview of commonly used methods and getters in Duration:
707
+ *
708
+ * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.
709
+ * * **Unit values** See the {@link Duration#years}, {@link Duration#months}, {@link Duration#weeks}, {@link Duration#days}, {@link Duration#hours}, {@link Duration#minutes}, {@link Duration#seconds}, {@link Duration#milliseconds} accessors.
710
+ * * **Configuration** See {@link Duration#locale} and {@link Duration#numberingSystem} accessors.
711
+ * * **Transformation** To create new Durations out of old ones use {@link Duration#plus}, {@link Duration#minus}, {@link Duration#normalize}, {@link Duration#set}, {@link Duration#reconfigure}, {@link Duration#shiftTo}, and {@link Duration#negate}.
712
+ * * **Output** To convert the Duration into other representations, see {@link Duration#as}, {@link Duration#toISO}, {@link Duration#toFormat}, and {@link Duration#toJSON}
713
+ *
714
+ * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.
715
+ */var ct=/** @class */function(){
716
+ /**
717
+ * @private
718
+ */
719
+ function e(e){var n=e.conversionAccuracy==="longterm"||false;var r=n?tt:et;if(e.matrix){r=e.matrix}
720
+ /**
721
+ * @access private
722
+ */this.values=e.values;
723
+ /**
724
+ * @access private
725
+ */this.loc=e.loc||de.create();
726
+ /**
727
+ * @access private
728
+ */this.conversionAccuracy=n?"longterm":"casual";
729
+ /**
730
+ * @access private
731
+ */this.invalid=e.invalid||null;
732
+ /**
733
+ * @access private
734
+ */this.matrix=r;
735
+ /**
736
+ * @access private
737
+ */this.isLuxonDuration=true}
738
+ /**
739
+ * Create Duration from a number of milliseconds.
740
+ * @param {number} count of milliseconds
741
+ * @param {Object} opts - options for parsing
742
+ * @param {string} [opts.locale='en-US'] - the locale to use
743
+ * @param {string} opts.numberingSystem - the numbering system to use
744
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
745
+ * @return {Duration}
746
+ */e.fromMillis=function(n,r){return e.fromObject({milliseconds:n},r)};
747
+ /**
748
+ * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
749
+ * If this object is empty then a zero milliseconds duration is returned.
750
+ * @param {Object} obj - the object to create the DateTime from
751
+ * @param {number} obj.years
752
+ * @param {number} obj.quarters
753
+ * @param {number} obj.months
754
+ * @param {number} obj.weeks
755
+ * @param {number} obj.days
756
+ * @param {number} obj.hours
757
+ * @param {number} obj.minutes
758
+ * @param {number} obj.seconds
759
+ * @param {number} obj.milliseconds
760
+ * @param {Object} [opts=[]] - options for creating this Duration
761
+ * @param {string} [opts.locale='en-US'] - the locale to use
762
+ * @param {string} opts.numberingSystem - the numbering system to use
763
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
764
+ * @param {string} [opts.matrix=Object] - the custom conversion system to use
765
+ * @return {Duration}
766
+ */e.fromObject=function(n,r){if(r===void 0){r={}}if(n==null||typeof n!=="object"){throw new s("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:En(n,e.normalizeUnit),loc:de.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})};
767
+ /**
768
+ * Create a Duration from DurationLike.
769
+ *
770
+ * @param {Object | number | Duration} durationLike
771
+ * One of:
772
+ * - object with keys like 'years' and 'hours'.
773
+ * - number representing milliseconds
774
+ * - Duration instance
775
+ * @return {Duration}
776
+ */e.fromDurationLike=function(n){if(Xe(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new s("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};
777
+ /**
778
+ * Create a Duration from an ISO 8601 duration string.
779
+ * @param {string} text - text to parse
780
+ * @param {Object} opts - options for parsing
781
+ * @param {string} [opts.locale='en-US'] - the locale to use
782
+ * @param {string} opts.numberingSystem - the numbering system to use
783
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
784
+ * @param {string} [opts.matrix=Object] - the preset conversion system to use
785
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
786
+ * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
787
+ * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
788
+ * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
789
+ * @return {Duration}
790
+ */e.fromISO=function(n,r){var t=Gr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};
791
+ /**
792
+ * Create a Duration from an ISO 8601 time string.
793
+ * @param {string} text - text to parse
794
+ * @param {Object} opts - options for parsing
795
+ * @param {string} [opts.locale='en-US'] - the locale to use
796
+ * @param {string} opts.numberingSystem - the numbering system to use
797
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
798
+ * @param {string} [opts.matrix=Object] - the conversion system to use
799
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
800
+ * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }
801
+ * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
802
+ * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
803
+ * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
804
+ * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
805
+ * @return {Duration}
806
+ */e.fromISOTime=function(n,r){var t=Pr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};
807
+ /**
808
+ * Create an invalid Duration.
809
+ * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent
810
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
811
+ * @return {Duration}
812
+ */e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new s("need to specify a reason the Duration is invalid")}var t=n instanceof Le?n:new Le(n,r);if(Ze.throwOnInvalid){throw new i(t)}else{return new e({invalid:t})}};
813
+ /**
814
+ * @private
815
+ */e.normalizeUnit=function(e){var n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!n)throw new a(e);return n};
816
+ /**
817
+ * Check if an object is a Duration. Works across context boundaries
818
+ * @param {object} o
819
+ * @return {boolean}
820
+ */e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{
821
+ /**
822
+ * Get the locale of a Duration, such 'en-GB'
823
+ * @type {string}
824
+ */
825
+ get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{
826
+ /**
827
+ * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration
828
+ *
829
+ * @type {string}
830
+ */
831
+ get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});
832
+ /**
833
+ * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:
834
+ * * `S` for milliseconds
835
+ * * `s` for seconds
836
+ * * `m` for minutes
837
+ * * `h` for hours
838
+ * * `d` for days
839
+ * * `w` for weeks
840
+ * * `M` for months
841
+ * * `y` for years
842
+ * Notes:
843
+ * * Add padding by repeating the token, e.g. "yy" pads the years to two digits, "hhhh" pads the hours out to four digits
844
+ * * Tokens can be escaped by wrapping with single quotes.
845
+ * * The duration will be converted to the set of units in the format string using {@link Duration#shiftTo} and the Durations's conversion accuracy setting.
846
+ * @param {string} fmt - the format string
847
+ * @param {Object} opts - options
848
+ * @param {boolean} [opts.floor=true] - floor numerical values
849
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
850
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
851
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
852
+ * @return {string}
853
+ */e.prototype.toFormat=function(e,n){if(n===void 0){n={}}
854
+ // reverse-compat since 1.2; we always round down now, never up, and we do it by default
855
+ var r=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Kn.create(this.loc,r).formatDurationFromString(this,e):Qr};
856
+ /**
857
+ * Returns a string representation of a Duration with all units included.
858
+ * To modify its behavior, use `listStyle` and any Intl.NumberFormat option, though `unitDisplay` is especially relevant.
859
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options
860
+ * @param {Object} opts - Formatting options. Accepts the same keys as the options parameter of the native `Intl.NumberFormat` constructor, as well as `listStyle`.
861
+ * @param {string} [opts.listStyle='narrow'] - How to format the merged list. Corresponds to the `style` property of the options parameter of the native `Intl.ListFormat` constructor.
862
+ * @example
863
+ * ```js
864
+ * var dur = Duration.fromObject({ days: 1, hours: 5, minutes: 6 })
865
+ * dur.toHuman() //=> '1 day, 5 hours, 6 minutes'
866
+ * dur.toHuman({ listStyle: "long" }) //=> '1 day, 5 hours, and 6 minutes'
867
+ * dur.toHuman({ unitDisplay: "short" }) //=> '1 day, 5 hr, 6 min'
868
+ * ```
869
+ */e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return Qr;var r=it.map((function(r){var t=n.values[r];if(Qe(t)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:r.slice(0,-1)})).format(t)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(r)};
870
+ /**
871
+ * Returns a JavaScript object with this Duration's values.
872
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
873
+ * @return {Object}
874
+ */e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};
875
+ /**
876
+ * Returns an ISO 8601-compliant string representation of this Duration.
877
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
878
+ * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'
879
+ * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'
880
+ * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'
881
+ * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'
882
+ * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'
883
+ * @return {string}
884
+ */e.prototype.toISO=function(){
885
+ // we could use the formatter, but this is an easier way to get the minimum string
886
+ if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)
887
+ // this will handle "floating point madness" by removing extra decimal places
888
+ // https://stackoverflow.com/questions/588004/is-floating-point-math-broken
889
+ e+=gn(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};
890
+ /**
891
+ * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
892
+ * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.
893
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
894
+ * @param {Object} opts - options
895
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
896
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
897
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
898
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
899
+ * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'
900
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'
901
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'
902
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'
903
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'
904
+ * @return {string}
905
+ */e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var r=gi.fromMillis(n,{zone:"UTC"});return r.toISOTime(e)};
906
+ /**
907
+ * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
908
+ * @return {string}
909
+ */e.prototype.toJSON=function(){return this.toISO()};
910
+ /**
911
+ * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.
912
+ * @return {string}
913
+ */e.prototype.toString=function(){return this.toISO()};
914
+ /**
915
+ * Returns a string representation of this Duration appropriate for the REPL.
916
+ * @return {string}
917
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};
918
+ /**
919
+ * Returns an milliseconds value of this Duration.
920
+ * @return {number}
921
+ */e.prototype.toMillis=function(){if(!this.isValid)return NaN;return st(this.matrix,this.values)};
922
+ /**
923
+ * Returns an milliseconds value of this Duration. Alias of {@link toMillis}
924
+ * @return {number}
925
+ */e.prototype.valueOf=function(){return this.toMillis()};
926
+ /**
927
+ * Make this Duration longer by the specified amount. Return a newly-constructed Duration.
928
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
929
+ * @return {Duration}
930
+ */e.prototype.plus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n),t={};for(var i=0,u=it;i<u.length;i++){var a=u[i];if(fn(r.values,a)||fn(this.values,a)){t[a]=r.get(a)+this.get(a)}}return at(this,{values:t},true)};
931
+ /**
932
+ * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
933
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
934
+ * @return {Duration}
935
+ */e.prototype.minus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n);return this.plus(r.negate())};
936
+ /**
937
+ * Scale this Duration by the specified amount. Return a newly-constructed Duration.
938
+ * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.
939
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits(x => x * 2) //=> { hours: 2, minutes: 60 }
940
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits((x, u) => u === "hours" ? x * 2 : x) //=> { hours: 2, minutes: 30 }
941
+ * @return {Duration}
942
+ */e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var r=0,t=Object.keys(this.values);r<t.length;r++){var i=t[r];n[i]=Tn(e(this.values[i],i))}return at(this,{values:n},true)};
943
+ /**
944
+ * Get the value of unit.
945
+ * @param {string} unit - a unit such as 'minute' or 'day'
946
+ * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2
947
+ * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0
948
+ * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3
949
+ * @return {number}
950
+ */e.prototype.get=function(n){return this[e.normalizeUnit(n)]};
951
+ /**
952
+ * "Set" the values of specified units. Return a newly-constructed Duration.
953
+ * @param {Object} values - a mapping of units to numbers
954
+ * @example dur.set({ years: 2017 })
955
+ * @example dur.set({ hours: 8, minutes: 30 })
956
+ * @return {Duration}
957
+ */e.prototype.set=function(n){if(!this.isValid)return this;var r=__assign(__assign({},this.values),En(n,e.normalizeUnit));return at(this,{values:r})};
958
+ /**
959
+ * "Set" the locale and/or numberingSystem. Returns a newly-constructed Duration.
960
+ * @example dur.reconfigure({ locale: 'en-GB' })
961
+ * @return {Duration}
962
+ */e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.conversionAccuracy,u=n.matrix;var a=this.loc.clone({locale:r,numberingSystem:t});var s={loc:a,matrix:u,conversionAccuracy:i};return at(this,s)};
963
+ /**
964
+ * Return the length of the duration in the specified unit.
965
+ * @param {string} unit - a unit such as 'minutes' or 'days'
966
+ * @example Duration.fromObject({years: 1}).as('days') //=> 365
967
+ * @example Duration.fromObject({years: 1}).as('months') //=> 12
968
+ * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5
969
+ * @return {number}
970
+ */e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};
971
+ /**
972
+ * Reduce this Duration to its canonical representation in its current units.
973
+ * Assuming the overall value of the Duration is positive, this means:
974
+ * - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
975
+ * - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
976
+ * the overall value would be negative, see third example)
977
+ * - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
978
+ *
979
+ * If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
980
+ * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
981
+ * @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
982
+ * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
983
+ * @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
984
+ * @return {Duration}
985
+ */e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();ot(this.matrix,e);return at(this,{values:e},true)};
986
+ /**
987
+ * Rescale units to its largest representation
988
+ * @example Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 }
989
+ * @return {Duration}
990
+ */e.prototype.rescale=function(){if(!this.isValid)return this;var e=ft(this.normalize().shiftToAll().toObject());return at(this,{values:e},true)};
991
+ /**
992
+ * Convert this Duration into its representation in a different set of units.
993
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }
994
+ * @return {Duration}
995
+ */e.prototype.shiftTo=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var t={},i={},u=this.toObject();var a;for(var s=0,o=it;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){a=f;var c=0;
996
+ // anything we haven't boiled down yet should get boiled to this unit
997
+ for(var l in i){c+=this.matrix[l][f]*i[l];i[l]=0}
998
+ // plus anything that's already in this unit
999
+ if(Xe(u[f])){c+=u[f]}
1000
+ // only keep the integer part for now in the hopes of putting any decimal part
1001
+ // into a smaller unit later
1002
+ var h=Math.trunc(c);t[f]=h;i[f]=(c*1e3-h*1e3)/1e3;
1003
+ // otherwise, keep it in the wings to boil it later
1004
+ }else if(Xe(u[f])){i[f]=u[f]}}
1005
+ // anything leftover becomes the decimal for the last unit
1006
+ // lastUnit must be defined since units is not empty
1007
+ for(var v in i){if(i[v]!==0){t[a]+=v===a?i[v]:i[v]/this.matrix[a][v]}}ot(this.matrix,t);return at(this,{values:t},true)};
1008
+ /**
1009
+ * Shift this Duration to all available units.
1010
+ * Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds")
1011
+ * @return {Duration}
1012
+ */e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};
1013
+ /**
1014
+ * Return the negative of this Duration.
1015
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
1016
+ * @return {Duration}
1017
+ */e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,r=Object.keys(this.values);n<r.length;n++){var t=r[n];e[t]=this.values[t]===0?0:-this.values[t]}return at(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{
1018
+ /**
1019
+ * Get the years.
1020
+ * @type {number}
1021
+ */
1022
+ get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{
1023
+ /**
1024
+ * Get the quarters.
1025
+ * @type {number}
1026
+ */
1027
+ get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{
1028
+ /**
1029
+ * Get the months.
1030
+ * @type {number}
1031
+ */
1032
+ get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{
1033
+ /**
1034
+ * Get the weeks
1035
+ * @type {number}
1036
+ */
1037
+ get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{
1038
+ /**
1039
+ * Get the days.
1040
+ * @type {number}
1041
+ */
1042
+ get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{
1043
+ /**
1044
+ * Get the hours.
1045
+ * @type {number}
1046
+ */
1047
+ get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{
1048
+ /**
1049
+ * Get the minutes.
1050
+ * @type {number}
1051
+ */
1052
+ get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{
1053
+ /**
1054
+ * Get the seconds.
1055
+ * @return {number}
1056
+ */
1057
+ get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{
1058
+ /**
1059
+ * Get the milliseconds.
1060
+ * @return {number}
1061
+ */
1062
+ get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{
1063
+ /**
1064
+ * Returns whether the Duration is invalid. Invalid durations are returned by diff operations
1065
+ * on invalid DateTimes or Intervals.
1066
+ * @return {boolean}
1067
+ */
1068
+ get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1069
+ /**
1070
+ * Returns an error code if this Duration became invalid, or null if the Duration is valid
1071
+ * @return {string}
1072
+ */
1073
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1074
+ /**
1075
+ * Returns an explanation of why this Duration became invalid, or null if the Duration is valid
1076
+ * @type {string}
1077
+ */
1078
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});
1079
+ /**
1080
+ * Equality check
1081
+ * Two Durations are equal iff they have the same units and the same values for each unit.
1082
+ * @param {Duration} other
1083
+ * @return {boolean}
1084
+ */e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){
1085
+ // Consider 0 and undefined as equal
1086
+ if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var r=0,t=it;r<t.length;r++){var i=t[r];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var lt="Invalid Interval";
1087
+ // checks if the start is equal to or before the end
1088
+ function ht(e,n){if(!e||!e.isValid){return vt.invalid("missing or invalid start")}else if(!n||!n.isValid){return vt.invalid("missing or invalid end")}else if(n<e){return vt.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}
1089
+ /**
1090
+ * An Interval object represents a half-open interval of time, where each endpoint is a {@link DateTime}. Conceptually, it's a container for those two endpoints, accompanied by methods for creating, parsing, interrogating, comparing, transforming, and formatting them.
1091
+ *
1092
+ * Here is a brief overview of the most commonly used methods and getters in Interval:
1093
+ *
1094
+ * * **Creation** To create an Interval, use {@link Interval.fromDateTimes}, {@link Interval.after}, {@link Interval.before}, or {@link Interval.fromISO}.
1095
+ * * **Accessors** Use {@link Interval#start} and {@link Interval#end} to get the start and end.
1096
+ * * **Interrogation** To analyze the Interval, use {@link Interval#count}, {@link Interval#length}, {@link Interval#hasSame}, {@link Interval#contains}, {@link Interval#isAfter}, or {@link Interval#isBefore}.
1097
+ * * **Transformation** To create other Intervals out of this one, use {@link Interval#set}, {@link Interval#splitAt}, {@link Interval#splitBy}, {@link Interval#divideEqually}, {@link Interval.merge}, {@link Interval.xor}, {@link Interval#union}, {@link Interval#intersection}, or {@link Interval#difference}.
1098
+ * * **Comparison** To compare this Interval to another one, use {@link Interval#equals}, {@link Interval#overlaps}, {@link Interval#abutsStart}, {@link Interval#abutsEnd}, {@link Interval#engulfs}
1099
+ * * **Output** To convert the Interval into other representations, see {@link Interval#toString}, {@link Interval#toLocaleString}, {@link Interval#toISO}, {@link Interval#toISODate}, {@link Interval#toISOTime}, {@link Interval#toFormat}, and {@link Interval#toDuration}.
1100
+ */var vt=/** @class */function(){
1101
+ /**
1102
+ * @private
1103
+ */
1104
+ function e(e){
1105
+ /**
1106
+ * @access private
1107
+ */
1108
+ this.s=e.start;
1109
+ /**
1110
+ * @access private
1111
+ */this.e=e.end;
1112
+ /**
1113
+ * @access private
1114
+ */this.invalid=e.invalid||null;
1115
+ /**
1116
+ * @access private
1117
+ */this.isLuxonInterval=true}
1118
+ /**
1119
+ * Create an invalid Interval.
1120
+ * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent
1121
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
1122
+ * @return {Interval}
1123
+ */e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new s("need to specify a reason the Interval is invalid")}var i=n instanceof Le?n:new Le(n,r);if(Ze.throwOnInvalid){throw new t(i)}else{return new e({invalid:i})}};
1124
+ /**
1125
+ * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.
1126
+ * @param {DateTime|Date|Object} start
1127
+ * @param {DateTime|Date|Object} end
1128
+ * @return {Interval}
1129
+ */e.fromDateTimes=function(n,r){var t=yi(n),i=yi(r);var u=ht(t,i);if(u==null){return new e({start:t,end:i})}else{return u}};
1130
+ /**
1131
+ * Create an Interval from a start DateTime and a Duration to extend to.
1132
+ * @param {DateTime|Date|Object} start
1133
+ * @param {Duration|Object|number} duration - the length of the Interval.
1134
+ * @return {Interval}
1135
+ */e.after=function(n,r){var t=ct.fromDurationLike(r),i=yi(n);return e.fromDateTimes(i,i.plus(t))};
1136
+ /**
1137
+ * Create an Interval from an end DateTime and a Duration to extend backwards to.
1138
+ * @param {DateTime|Date|Object} end
1139
+ * @param {Duration|Object|number} duration - the length of the Interval.
1140
+ * @return {Interval}
1141
+ */e.before=function(n,r){var t=ct.fromDurationLike(r),i=yi(n);return e.fromDateTimes(i.minus(t),i)};
1142
+ /**
1143
+ * Create an Interval from an ISO 8601 string.
1144
+ * Accepts `<start>/<end>`, `<start>/<duration>`, and `<duration>/<end>` formats.
1145
+ * @param {string} text - the ISO string to parse
1146
+ * @param {Object} [opts] - options to pass {@link DateTime#fromISO} and optionally {@link Duration#fromISO}
1147
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1148
+ * @return {Interval}
1149
+ */e.fromISO=function(n,r){var t=(n||"").split("/",2),i=t[0],u=t[1];if(i&&u){var a=void 0,s=void 0;try{a=gi.fromISO(i,r);s=a.isValid}catch(u){s=false}var o=void 0,f=void 0;try{o=gi.fromISO(u,r);f=o.isValid}catch(u){f=false}if(s&&f){return e.fromDateTimes(a,o)}if(s){var c=ct.fromISO(u,r);if(c.isValid){return e.after(a,c)}}else if(f){var c=ct.fromISO(i,r);if(c.isValid){return e.before(o,c)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};
1150
+ /**
1151
+ * Check if an object is an Interval. Works across context boundaries
1152
+ * @param {object} o
1153
+ * @return {boolean}
1154
+ */e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{
1155
+ /**
1156
+ * Returns the start of the Interval
1157
+ * @type {DateTime}
1158
+ */
1159
+ get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{
1160
+ /**
1161
+ * Returns the end of the Interval
1162
+ * @type {DateTime}
1163
+ */
1164
+ get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDateTime",{
1165
+ /**
1166
+ * Returns the last DateTime included in the interval (since end is not part of the interval)
1167
+ * @type {DateTime}
1168
+ */
1169
+ get:function(){return this.isValid?this.e?this.e.minus(1):null:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{
1170
+ /**
1171
+ * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.
1172
+ * @type {boolean}
1173
+ */
1174
+ get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1175
+ /**
1176
+ * Returns an error code if this Interval is invalid, or null if the Interval is valid
1177
+ * @type {string}
1178
+ */
1179
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1180
+ /**
1181
+ * Returns an explanation of why this Interval became invalid, or null if the Interval is valid
1182
+ * @type {string}
1183
+ */
1184
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});
1185
+ /**
1186
+ * Returns the length of the Interval in the specified unit.
1187
+ * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.
1188
+ * @return {number}
1189
+ */e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};
1190
+ /**
1191
+ * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.
1192
+ * Unlike {@link Interval#length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'
1193
+ * asks 'what dates are included in this interval?', not 'how many days long is this interval?'
1194
+ * @param {string} [unit='milliseconds'] - the unit of time to count.
1195
+ * @param {Object} opts - options
1196
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; this operation will always use the locale of the start DateTime
1197
+ * @return {number}
1198
+ */e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var r=this.start.startOf(e,n);var t;if(n===null||n===void 0?void 0:n.useLocaleWeeks){t=this.end.reconfigure({locale:r.locale})}else{t=this.end}t=t.startOf(e,n);return Math.floor(t.diff(r,e).get(e))+(t.valueOf()!==this.end.valueOf())};
1199
+ /**
1200
+ * Returns whether this Interval's start and end are both in the same unit of time
1201
+ * @param {string} unit - the unit of time to check sameness on
1202
+ * @return {boolean}
1203
+ */e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};
1204
+ /**
1205
+ * Return whether this Interval has the same start and end DateTimes.
1206
+ * @return {boolean}
1207
+ */e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};
1208
+ /**
1209
+ * Return whether this Interval's start is after the specified DateTime.
1210
+ * @param {DateTime} dateTime
1211
+ * @return {boolean}
1212
+ */e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};
1213
+ /**
1214
+ * Return whether this Interval's end is before the specified DateTime.
1215
+ * @param {DateTime} dateTime
1216
+ * @return {boolean}
1217
+ */e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};
1218
+ /**
1219
+ * Return whether this Interval contains the specified DateTime.
1220
+ * @param {DateTime} dateTime
1221
+ * @return {boolean}
1222
+ */e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};
1223
+ /**
1224
+ * "Sets" the start and/or end dates. Returns a newly-constructed Interval.
1225
+ * @param {Object} values - the values to set
1226
+ * @param {DateTime} values.start - the starting DateTime
1227
+ * @param {DateTime} values.end - the ending DateTime
1228
+ * @return {Interval}
1229
+ */e.prototype.set=function(n){var r=n===void 0?{}:n,t=r.start,i=r.end;if(!this.isValid)return this;return e.fromDateTimes(t||this.s,i||this.e)};
1230
+ /**
1231
+ * Split this Interval at each of the specified DateTimes
1232
+ * @param {...DateTime} dateTimes - the unit of time to count.
1233
+ * @return {Array}
1234
+ */e.prototype.splitAt=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}if(!this.isValid)return[];var i=r.map(yi).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),u=[];var a=this.s,s=0;while(a<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;u.push(e.fromDateTimes(a,f));a=f;s+=1}return u};
1235
+ /**
1236
+ * Split this Interval into smaller Intervals, each of the specified length.
1237
+ * Left over time is grouped into a smaller interval
1238
+ * @param {Duration|Object|number} duration - The length of each resulting interval.
1239
+ * @return {Array}
1240
+ */e.prototype.splitBy=function(n){var r=ct.fromDurationLike(n);if(!this.isValid||!r.isValid||r.as("milliseconds")===0){return[]}var t=this.s,i=1,u;var a=[];while(t<this.e){var s=this.start.plus(r.mapUnits((function(e){return e*i})));u=+s>+this.e?this.e:s;a.push(e.fromDateTimes(t,u));t=u;i+=1}return a};
1241
+ /**
1242
+ * Split this Interval into the specified number of smaller intervals.
1243
+ * @param {number} numberOfParts - The number of Intervals to divide the Interval into.
1244
+ * @return {Array}
1245
+ */e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};
1246
+ /**
1247
+ * Return whether this Interval overlaps with the specified Interval
1248
+ * @param {Interval} other
1249
+ * @return {boolean}
1250
+ */e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};
1251
+ /**
1252
+ * Return whether this Interval's end is adjacent to the specified Interval's start.
1253
+ * @param {Interval} other
1254
+ * @return {boolean}
1255
+ */e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};
1256
+ /**
1257
+ * Return whether this Interval's start is adjacent to the specified Interval's end.
1258
+ * @param {Interval} other
1259
+ * @return {boolean}
1260
+ */e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};
1261
+ /**
1262
+ * Returns true if this Interval fully contains the specified Interval, specifically if the intersect (of this Interval and the other Interval) is equal to the other Interval; false otherwise.
1263
+ * @param {Interval} other
1264
+ * @return {boolean}
1265
+ */e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};
1266
+ /**
1267
+ * Return whether this Interval has the same start and end as the specified Interval.
1268
+ * @param {Interval} other
1269
+ * @return {boolean}
1270
+ */e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};
1271
+ /**
1272
+ * Return an Interval representing the intersection of this Interval and the specified Interval.
1273
+ * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.
1274
+ * Returns null if the intersection is empty, meaning, the intervals don't intersect.
1275
+ * @param {Interval} other
1276
+ * @return {Interval}
1277
+ */e.prototype.intersection=function(n){if(!this.isValid)return this;var r=this.s>n.s?this.s:n.s,t=this.e<n.e?this.e:n.e;if(r>=t){return null}else{return e.fromDateTimes(r,t)}};
1278
+ /**
1279
+ * Return an Interval representing the union of this Interval and the specified Interval.
1280
+ * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.
1281
+ * @param {Interval} other
1282
+ * @return {Interval}
1283
+ */e.prototype.union=function(n){if(!this.isValid)return this;var r=this.s<n.s?this.s:n.s,t=this.e>n.e?this.e:n.e;return e.fromDateTimes(r,t)};
1284
+ /**
1285
+ * Merge an array of Intervals into an equivalent minimal set of Intervals.
1286
+ * Combines overlapping and adjacent Intervals.
1287
+ * The resulting array will contain the Intervals in ascending order, that is, starting with the earliest Interval
1288
+ * and ending with the latest.
1289
+ *
1290
+ * @param {Array} intervals
1291
+ * @return {Array}
1292
+ */e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var r=e[0],t=e[1];if(!t){return[r,n]}else if(t.overlaps(n)||t.abutsStart(n)){return[r,t.union(n)]}else{return[r.concat([t]),n]}}),[[],null]),r=n[0],t=n[1];if(t){r.push(t)}return r};
1293
+ /**
1294
+ * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.
1295
+ * @param {Array} intervals
1296
+ * @return {Array}
1297
+ */e.xor=function(n){var r;var t=null,i=0;var u=[],a=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(r=Array.prototype).concat.apply(r,a),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,c=o;f<c.length;f++){var l=c[f];i+=l.type==="s"?1:-1;if(i===1){t=l.time}else{if(t&&+t!==+l.time){u.push(e.fromDateTimes(t,l.time))}t=null}}return e.merge(u)};
1298
+ /**
1299
+ * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.
1300
+ * @param {...Interval} intervals
1301
+ * @return {Array}
1302
+ */e.prototype.difference=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return e.xor([this].concat(r)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};
1303
+ /**
1304
+ * Returns a string representation of this Interval appropriate for debugging.
1305
+ * @return {string}
1306
+ */e.prototype.toString=function(){if(!this.isValid)return lt;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};
1307
+ /**
1308
+ * Returns a string representation of this Interval appropriate for the REPL.
1309
+ * @return {string}
1310
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};
1311
+ /**
1312
+ * Returns a localized string representing this Interval. Accepts the same options as the
1313
+ * Intl.DateTimeFormat constructor and any presets defined by Luxon, such as
1314
+ * {@link DateTime.DATE_FULL} or {@link DateTime.TIME_SIMPLE}. The exact behavior of this method
1315
+ * is browser-specific, but in general it will return an appropriate representation of the
1316
+ * Interval in the assigned locale. Defaults to the system's locale if no locale has been
1317
+ * specified.
1318
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1319
+ * @param {Object} [formatOpts=DateTime.DATE_SHORT] - Either a DateTime preset or
1320
+ * Intl.DateTimeFormat constructor options.
1321
+ * @param {Object} opts - Options to override the configuration of the start DateTime.
1322
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(); //=> 11/7/2022 – 11/8/2022
1323
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL); //=> November 7 – 8, 2022
1324
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL, { locale: 'fr-FR' }); //=> 7–8 novembre 2022
1325
+ * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString(DateTime.TIME_SIMPLE); //=> 6:00 – 8:00 PM
1326
+ * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> Mon, Nov 07, 6:00 – 8:00 p
1327
+ * @return {string}
1328
+ */e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.s.loc.clone(n),e).formatInterval(this):lt};
1329
+ /**
1330
+ * Returns an ISO 8601-compliant string representation of this Interval.
1331
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1332
+ * @param {Object} opts - The same options as {@link DateTime#toISO}
1333
+ * @return {string}
1334
+ */e.prototype.toISO=function(e){if(!this.isValid)return lt;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};
1335
+ /**
1336
+ * Returns an ISO 8601-compliant string representation of date of this Interval.
1337
+ * The time components are ignored.
1338
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1339
+ * @return {string}
1340
+ */e.prototype.toISODate=function(){if(!this.isValid)return lt;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};
1341
+ /**
1342
+ * Returns an ISO 8601-compliant string representation of time of this Interval.
1343
+ * The date components are ignored.
1344
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1345
+ * @param {Object} opts - The same options as {@link DateTime#toISO}
1346
+ * @return {string}
1347
+ */e.prototype.toISOTime=function(e){if(!this.isValid)return lt;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};
1348
+ /**
1349
+ * Returns a string representation of this Interval formatted according to the specified format
1350
+ * string. **You may not want this.** See {@link Interval#toLocaleString} for a more flexible
1351
+ * formatting tool.
1352
+ * @param {string} dateFormat - The format string. This string formats the start and end time.
1353
+ * See {@link DateTime#toFormat} for details.
1354
+ * @param {Object} opts - Options.
1355
+ * @param {string} [opts.separator = ' – '] - A separator to place between the start and end
1356
+ * representations.
1357
+ * @return {string}
1358
+ */e.prototype.toFormat=function(e,n){var r=n===void 0?{}:n,t=r.separator,i=t===void 0?" – ":t;if(!this.isValid)return lt;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};
1359
+ /**
1360
+ * Return a Duration representing the time spanned by this interval.
1361
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.
1362
+ * @param {Object} opts - options that affect the creation of the Duration
1363
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1364
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }
1365
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }
1366
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }
1367
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }
1368
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }
1369
+ * @return {Duration}
1370
+ */e.prototype.toDuration=function(e,n){if(!this.isValid){return ct.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};
1371
+ /**
1372
+ * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
1373
+ * @param {function} mapFn
1374
+ * @return {Interval}
1375
+ * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())
1376
+ * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))
1377
+ */e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();
1378
+ /**
1379
+ * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST, for listing the months in any supported locale, and for discovering which of Luxon features are available in the current environment.
1380
+ */var dt=/** @class */function(){function e(){}
1381
+ /**
1382
+ * Return whether the specified zone contains a DST.
1383
+ * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
1384
+ * @return {boolean}
1385
+ */e.hasDST=function(e){if(e===void 0){e=Ze.defaultZone}var n=gi.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};
1386
+ /**
1387
+ * Return whether the specified zone is a valid IANA specifier.
1388
+ * @param {string} zone - Zone to check
1389
+ * @return {boolean}
1390
+ */e.isValidIANAZone=function(e){return R.isValidZone(e)};
1391
+ /**
1392
+ * Converts the input into a {@link Zone} instance.
1393
+ *
1394
+ * * If `input` is already a Zone instance, it is returned unchanged.
1395
+ * * If `input` is a string containing a valid time zone name, a Zone instance
1396
+ * with that name is returned.
1397
+ * * If `input` is a string that doesn't refer to a known time zone, a Zone
1398
+ * instance with {@link Zone#isValid} == false is returned.
1399
+ * * If `input is a number, a Zone instance with the specified fixed offset
1400
+ * in minutes is returned.
1401
+ * * If `input` is `null` or `undefined`, the default zone is returned.
1402
+ * @param {string|Zone|number} [input] - the value to be converted
1403
+ * @return {Zone}
1404
+ */e.normalizeZone=function(e){return ye(e,Ze.defaultZone)};
1405
+ /**
1406
+ * Get the weekday on which the week starts according to the given locale.
1407
+ * @param {Object} opts - options
1408
+ * @param {string} [opts.locale] - the locale code
1409
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1410
+ * @returns {number} the start of the week, 1 for Monday through 7 for Sunday
1411
+ */e.getStartOfWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||de.create(t)).getStartOfWeek()};
1412
+ /**
1413
+ * Get the minimum number of days necessary in a week before it is considered part of the next year according
1414
+ * to the given locale.
1415
+ * @param {Object} opts - options
1416
+ * @param {string} [opts.locale] - the locale code
1417
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1418
+ * @returns {number}
1419
+ */e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||de.create(t)).getMinDaysInFirstWeek()};
1420
+ /**
1421
+ * Get the weekdays, which are considered the weekend according to the given locale
1422
+ * @param {Object} opts - options
1423
+ * @param {string} [opts.locale] - the locale code
1424
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1425
+ * @returns {number[]} an array of weekdays, 1 for Monday through 7 for Sunday
1426
+ */e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;
1427
+ // copy the array, because we cache it internally
1428
+ return(u||de.create(t)).getWeekendDays().slice()};
1429
+ /**
1430
+ * Return an array of standalone month names.
1431
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1432
+ * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
1433
+ * @param {Object} opts - options
1434
+ * @param {string} [opts.locale] - the locale code
1435
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1436
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1437
+ * @param {string} [opts.outputCalendar='gregory'] - the calendar
1438
+ * @example Info.months()[0] //=> 'January'
1439
+ * @example Info.months('short')[0] //=> 'Jan'
1440
+ * @example Info.months('numeric')[0] //=> '1'
1441
+ * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'
1442
+ * @example Info.months('numeric', { locale: 'ar' })[0] //=> '١'
1443
+ * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'Rabiʻ I'
1444
+ * @return {Array}
1445
+ */e.months=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||de.create(i,a,c)).months(e)};
1446
+ /**
1447
+ * Return an array of format month names.
1448
+ * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that
1449
+ * changes the string.
1450
+ * See {@link Info#months}
1451
+ * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
1452
+ * @param {Object} opts - options
1453
+ * @param {string} [opts.locale] - the locale code
1454
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1455
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1456
+ * @param {string} [opts.outputCalendar='gregory'] - the calendar
1457
+ * @return {Array}
1458
+ */e.monthsFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||de.create(i,a,c)).months(e,true)};
1459
+ /**
1460
+ * Return an array of standalone week names.
1461
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1462
+ * @param {string} [length='long'] - the length of the weekday representation, such as "narrow", "short", "long".
1463
+ * @param {Object} opts - options
1464
+ * @param {string} [opts.locale] - the locale code
1465
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1466
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1467
+ * @example Info.weekdays()[0] //=> 'Monday'
1468
+ * @example Info.weekdays('short')[0] //=> 'Mon'
1469
+ * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'
1470
+ * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'
1471
+ * @return {Array}
1472
+ */e.weekdays=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||de.create(i,a,null)).weekdays(e)};
1473
+ /**
1474
+ * Return an array of format week names.
1475
+ * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that
1476
+ * changes the string.
1477
+ * See {@link Info#weekdays}
1478
+ * @param {string} [length='long'] - the length of the month representation, such as "narrow", "short", "long".
1479
+ * @param {Object} opts - options
1480
+ * @param {string} [opts.locale=null] - the locale code
1481
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1482
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1483
+ * @return {Array}
1484
+ */e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||de.create(i,a,null)).weekdays(e,true)};
1485
+ /**
1486
+ * Return an array of meridiems.
1487
+ * @param {Object} opts - options
1488
+ * @param {string} [opts.locale] - the locale code
1489
+ * @example Info.meridiems() //=> [ 'AM', 'PM' ]
1490
+ * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]
1491
+ * @return {Array}
1492
+ */e.meridiems=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r;return de.create(t).meridiems()};
1493
+ /**
1494
+ * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.
1495
+ * @param {string} [length='short'] - the length of the era representation, such as "short" or "long".
1496
+ * @param {Object} opts - options
1497
+ * @param {string} [opts.locale] - the locale code
1498
+ * @example Info.eras() //=> [ 'BC', 'AD' ]
1499
+ * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]
1500
+ * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]
1501
+ * @return {Array}
1502
+ */e.eras=function(e,n){if(e===void 0){e="short"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t;return de.create(i,null,"gregory").eras(e)};
1503
+ /**
1504
+ * Return the set of available features in this environment.
1505
+ * Some features of Luxon are not available in all environments. For example, on older browsers, relative time formatting support is not available. Use this function to figure out if that's the case.
1506
+ * Keys:
1507
+ * * `relative`: whether this environment supports relative time formatting
1508
+ * * `localeWeek`: whether this environment supports different weekdays for the start of the week based on the locale
1509
+ * @example Info.features() //=> { relative: false, localeWeek: true }
1510
+ * @return {Object}
1511
+ */e.features=function(){return{relative:tn(),localeWeek:un()}};return e}();function mt(e,n){var r=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},t=r(n)-r(e);return Math.floor(ct.fromMillis(t).as("days"))}function bt(e,n,r){var t=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var r=mt(e,n);return(r-r%7)/7}],["days",mt]];var i={};var u=e;var a,s;
1512
+ /* This loop tries to diff using larger units first.
1513
+ If we overshoot, we backtrack and try the next smaller unit.
1514
+ "cursor" starts out at the earlier timestamp and moves closer and closer to "later"
1515
+ as we use smaller and smaller units.
1516
+ highWater keeps track of where we would be if we added one more of the smallest unit,
1517
+ this is used later to potentially convert any difference smaller than the smallest higher order unit
1518
+ into a fraction of that smallest higher order unit
1519
+ */for(var o=0,f=t;o<f.length;o++){var c=f[o],l=c[0],h=c[1];if(r.indexOf(l)>=0){a=l;i[l]=h(e,n);s=u.plus(i);if(s>n){
1520
+ // we overshot the end point, backtrack cursor by 1
1521
+ i[l]--;e=u.plus(i);
1522
+ // if we are still overshooting now, we need to backtrack again
1523
+ // this happens in certain situations when diffing times in different zones,
1524
+ // because this calculation ignores time zones
1525
+ if(e>n){
1526
+ // keep the "overshot by 1" around as highWater
1527
+ s=e;
1528
+ // backtrack cursor by 1
1529
+ i[l]--;e=u.plus(i)}}else{e=s}}}return[e,i,s,a]}function gt(e,n,r,t){var i,u;var a=bt(e,n,r),s=a[0],o=a[1],f=a[2],c=a[3];var l=n-s;var h=r.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(h.length===0){if(f<n){f=s.plus((i={},i[c]=1,i))}if(f!==s){o[c]=(o[c]||0)+l/(f-s)}}var v=ct.fromObject(o,t);if(h.length>0){return(u=ct.fromMillis(l,t)).shiftTo.apply(u,h).plus(v)}else{return v}}var yt="missing Intl.DateTimeFormat.formatToParts support";function wt(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var r=e[0];return n(Me(r))}}}var _t=String.fromCharCode(160);var Ot="[ ".concat(_t,"]");var Mt=new RegExp(Ot,"g");function jt(e){
1530
+ // make dots optional and also make them literal
1531
+ // make space and non breakable space characters interchangeable
1532
+ return e.replace(/\./g,"\\.?").replace(Mt,Ot)}function pt(e){return e.replace(/\./g,"").replace(Mt," ").toLowerCase()}function Nt(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(jt).join("|")),deser:function(r){var t=r[0];return e.findIndex((function(e){return pt(t)===pt(e)}))+n}}}}function kt(e,n){return{regex:e,deser:function(e){var n=e[1],r=e[2];return kn(n,r)},groups:n}}function Tt(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function Et(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}
1533
+ /**
1534
+ * @param token
1535
+ * @param {Locale} loc
1536
+ */function St(e,n){var r=Ne(n),t=Ne(n,"{2}"),i=Ne(n,"{3}"),u=Ne(n,"{4}"),a=Ne(n,"{6}"),s=Ne(n,"{1,2}"),o=Ne(n,"{1,3}"),f=Ne(n,"{1,6}"),c=Ne(n,"{1,9}"),l=Ne(n,"{2,4}"),h=Ne(n,"{4,6}"),v=function(e){return{regex:RegExp(Et(e.val)),deser:function(e){var n=e[0];return n},literal:true}},d=function(d){if(e.literal){return v(d)}switch(d.val){
1537
+ // era
1538
+ case"G":return Nt(n.eras("short"),0);case"GG":return Nt(n.eras("long"),0);
1539
+ // years
1540
+ case"y":return wt(f);case"yy":return wt(l,pn);case"yyyy":return wt(u);case"yyyyy":return wt(h);case"yyyyyy":return wt(a);
1541
+ // months
1542
+ case"M":return wt(s);case"MM":return wt(t);case"MMM":return Nt(n.months("short",true),1);case"MMMM":return Nt(n.months("long",true),1);case"L":return wt(s);case"LL":return wt(t);case"LLL":return Nt(n.months("short",false),1);case"LLLL":return Nt(n.months("long",false),1);
1543
+ // dates
1544
+ case"d":return wt(s);case"dd":return wt(t);
1545
+ // ordinals
1546
+ case"o":return wt(o);case"ooo":return wt(i);
1547
+ // time
1548
+ case"HH":return wt(t);case"H":return wt(s);case"hh":return wt(t);case"h":return wt(s);case"mm":return wt(t);case"m":return wt(s);case"q":return wt(s);case"qq":return wt(t);case"s":return wt(s);case"ss":return wt(t);case"S":return wt(o);case"SSS":return wt(i);case"u":return Tt(c);case"uu":return Tt(s);case"uuu":return wt(r);
1549
+ // meridiem
1550
+ case"a":return Nt(n.meridiems(),0);
1551
+ // weekYear (k)
1552
+ case"kkkk":return wt(u);case"kk":return wt(l,pn);
1553
+ // weekNumber (W)
1554
+ case"W":return wt(s);case"WW":return wt(t);
1555
+ // weekdays
1556
+ case"E":case"c":return wt(r);case"EEE":return Nt(n.weekdays("short",false),1);case"EEEE":return Nt(n.weekdays("long",false),1);case"ccc":return Nt(n.weekdays("short",true),1);case"cccc":return Nt(n.weekdays("long",true),1);
1557
+ // offset/zone
1558
+ case"Z":case"ZZ":return kt(new RegExp("([+-]".concat(s.source,")(?::(").concat(t.source,"))?")),2);case"ZZZ":return kt(new RegExp("([+-]".concat(s.source,")(").concat(t.source,")?")),2);
1559
+ // we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing
1560
+ // because we don't have any way to figure out what they are
1561
+ case"z":return Tt(/[a-z_+-/]{1,256}?/i);
1562
+ // this special-case "token" represents a place where a macro-token expanded into a white-space literal
1563
+ // in this case we accept any non-newline white-space
1564
+ case" ":return Tt(/[^\S\n\r]/);default:return v(d)}};var m=d(e)||{invalidReason:yt};m.token=e;return m}var Dt={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function It(e,n,r){var t=e.type,i=e.value;if(t==="literal"){var u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}var a=n[t];
1565
+ // The user might have explicitly specified hour12 or hourCycle
1566
+ // if so, respect their decision
1567
+ // if not, refer back to the resolvedOpts, which are based on the locale
1568
+ var s=t;if(t==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{
1569
+ // tokens only differentiate between 24 hours or not,
1570
+ // so we do not need to check hourCycle here, which is less supported anyways
1571
+ s=r.hour12?"hour12":"hour24"}}var o=Dt[s];if(typeof o==="object"){o=o[a]}if(o){return{literal:false,val:o}}return undefined}function xt(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function At(e,n,r){var t=e.match(n);if(t){var i={};var u=1;for(var a in r){if(fn(r,a)){var s=r[a],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(t.slice(u,u+o))}u+=o}}return[t,i]}else{return[t,{}]}}function Zt(e){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var t;if(!Qe(e.z)){r=R.create(e.z)}if(!Qe(e.Z)){if(!r){r=new be(e.Z)}t=e.Z}if(!Qe(e.q)){e.M=(e.q-1)*3+1}if(!Qe(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!Qe(e.u)){e.S=bn(e.u)}var i=Object.keys(e).reduce((function(r,t){var i=n(t);if(i){r[i]=e[t]}return r}),{});return[i,r,t]}var Lt=null;function Wt(){if(!Lt){Lt=gi.fromMillis(1555555555555)}return Lt}function Ft(e,n){if(e.literal){return e}var r=Kn.macroTokenToFormatOpts(e.val);var t=Jt(r,n);if(t==null||t.includes(undefined)){return e}return t}function Ct(e,n){var r;return(r=Array.prototype).concat.apply(r,e.map((function(e){return Ft(e,n)})))}
1572
+ /**
1573
+ * @private
1574
+ */var Ht=/** @class */function(){function e(e,n){this.locale=e;this.format=n;this.tokens=Ct(Kn.parseFormat(n),e);this.units=this.tokens.map((function(n){return St(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var r=xt(this.units),t=r[0],i=r[1];this.regex=RegExp(t,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=At(e,this.regex,this.handlers),r=n[0],t=n[1],i=t?Zt(t):[null,null,undefined],a=i[0],s=i[1],o=i[2];if(fn(t,"a")&&fn(t,"H")){throw new u("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:t,result:a,zone:s,specificOffset:o}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function qt(e,n,r){var t=new Ht(e,r);return t.explainFromTokens(n)}function zt(e,n,r){var t=qt(e,n,r),i=t.result,u=t.zone,a=t.specificOffset,s=t.invalidReason;return[i,u,a,s]}function Jt(e,n){if(!e){return null}var r=Kn.create(n,e);var t=r.dtFormatter(Wt());var i=t.formatToParts();var u=t.resolvedOptions();return i.map((function(n){return It(n,e,u)}))}var Rt="Invalid DateTime";var Ut=864e13;function Gt(e){return new Le("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}
1575
+ // we cache week data on the DT object and this intermediates the cache
1576
+ /**
1577
+ * @param {DateTime} dt
1578
+ */function Yt(e){if(e.weekData===null){e.weekData=Re(e.c)}return e.weekData}
1579
+ /**
1580
+ * @param {DateTime} dt
1581
+ */function Pt(e){if(e.localWeekData===null){e.localWeekData=Re(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}
1582
+ // clone really means, "make a new object with these modifications". all "setters" really use this
1583
+ // to create a new object while only changing some of the properties
1584
+ function $t(e,n){var r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new gi(__assign(__assign(__assign({},r),n),{old:r}))}
1585
+ // find the right offset a given local time. The o input is our guess, which determines which
1586
+ // offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)
1587
+ function Vt(e,n,r){
1588
+ // Our UTC time is just a guess because our offset is just a guess
1589
+ var t=e-n*60*1e3;
1590
+ // Test whether the zone matches the offset for this ts
1591
+ var i=r.offset(t);
1592
+ // If so, offset didn't change and we're done
1593
+ if(n===i){return[t,n]}
1594
+ // If not, change the ts by the difference in the offset
1595
+ t-=(i-n)*60*1e3;
1596
+ // If that gives us the local time we want, we're done
1597
+ var u=r.offset(t);if(i===u){return[t,i]}
1598
+ // If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time
1599
+ return[e-Math.min(i,u)*60*1e3,Math.max(i,u)]}
1600
+ // convert an epoch timestamp into a calendar object with the given offset
1601
+ function Bt(e,n){e+=n*60*1e3;var r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}
1602
+ // convert a calendar object to a epoch timestamp
1603
+ function Kt(e,n,r){return Vt(On(e),n,r)}
1604
+ // create a new DT instance by adding a duration, adjusting for DSTs
1605
+ function Qt(e,n){var r=e.o,t=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,u=__assign(__assign({},e.c),{year:t,month:i,day:Math.min(e.c.day,_n(t,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),a=ct.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=On(u);var o=Vt(s,r,e.zone),f=o[0],c=o[1];if(a!==0){f+=a;
1606
+ // that could have changed the offset by going over a DST, but we want to keep the ts the same
1607
+ c=e.zone.offset(f)}return{ts:f,o:c}}
1608
+ // helper useful in turning the results of parsing into real dates
1609
+ // by handling the zone options
1610
+ function Xt(e,n,r,t,i,u){var a=r.setZone,s=r.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=gi.fromObject(e,__assign(__assign({},r),{zone:o,specificOffset:u}));return a?f:f.setZone(s)}else{return gi.invalid(new Le("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(t)))}}
1611
+ // if you want to output a technical format (e.g. RFC 2822), this helper
1612
+ // helps handle the details
1613
+ function ei(e,n,r){if(r===void 0){r=true}return e.isValid?Kn.create(de.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,n):null}function ni(e,n){var r=e.c.year>9999||e.c.year<0;var t="";if(r&&e.c.year>=0)t+="+";t+=vn(e.c.year,r?6:4);if(n){t+="-";t+=vn(e.c.month);t+="-";t+=vn(e.c.day)}else{t+=vn(e.c.month);t+=vn(e.c.day)}return t}function ri(e,n,r,t,i,u){var a=vn(e.c.hour);if(n){a+=":";a+=vn(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!r){a+=":"}}else{a+=vn(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!r){a+=vn(e.c.second);if(e.c.millisecond!==0||!t){a+=".";a+=vn(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!u){a+="Z"}else if(e.o<0){a+="-";a+=vn(Math.trunc(-e.o/60));a+=":";a+=vn(Math.trunc(-e.o%60))}else{a+="+";a+=vn(Math.trunc(e.o/60));a+=":";a+=vn(Math.trunc(e.o%60))}}if(u){a+="["+e.zone.ianaName+"]"}return a}
1614
+ // defaults for unspecified units in the supported calendars
1615
+ var ti={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ii={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ui={ordinal:1,hour:0,minute:0,second:0,millisecond:0};
1616
+ // Units in the supported calendars, sorted by bigness
1617
+ var ai=["year","month","day","hour","minute","second","millisecond"],si=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],oi=["year","ordinal","hour","minute","second","millisecond"];
1618
+ // standardize case and plurality in units
1619
+ function fi(e){var n={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!n)throw new a(e);return n}function ci(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return fi(e)}}
1620
+ // cache offsets for zones based on the current timestamp when this function is
1621
+ // first called. When we are handling a datetime from components like (year,
1622
+ // month, day, hour) in a time zone, we need a guess about what the timezone
1623
+ // offset is so that we can convert into a UTC timestamp. One way is to find the
1624
+ // offset of now in the zone. The actual date may have a different offset (for
1625
+ // example, if we handle a date in June while we're in December in a zone that
1626
+ // observes DST), but we can check and adjust that.
1627
+
1628
+ // When handling many dates, calculating the offset for now every time is
1629
+ // expensive. It's just a guess, so we can cache the offset to use even if we
1630
+ // are right on a time change boundary (we'll just correct in the other
1631
+ // direction). Using a timestamp from first read is a slight optimization for
1632
+ // handling dates close to the current date, since those dates will usually be
1633
+ // in the same offset (we could set the timestamp statically, instead). We use a
1634
+ // single timestamp for all zones to make things a bit more predictable.
1635
+
1636
+ // This is safe for quickDT (used by local() and utc()) because we don't fill in
1637
+ // higher-order units from tsNow (as we do in fromObject, this requires that
1638
+ // offset is calculated from tsNow).
1639
+ /**
1640
+ * @param {Zone} zone
1641
+ * @return {number}
1642
+ */function li(e){if(mi===undefined){mi=Ze.now()}
1643
+ // Do not cache anything but IANA zones, because it is not safe to do so.
1644
+ // Guessing an offset which is not present in the zone can cause wrong results from fixOffset
1645
+ if(e.type!=="iana"){return e.offset(mi)}var n=e.name;var r=bi.get(n);if(r===undefined){r=e.offset(mi);bi.set(n,r)}return r}
1646
+ // this is a dumbed down version of fromObject() that runs about 60% faster
1647
+ // but doesn't do any validation, makes a bunch of assumptions about what units
1648
+ // are present, and so on.
1649
+ function hi(e,n){var r;var t=ye(n.zone,Ze.defaultZone);if(!t.isValid){return gi.invalid(Gt(t))}var i=de.fromObject(n);var u,a;
1650
+ // assume we have the higher-order units
1651
+ if(!Qe(e.year)){for(var s=0,o=ai;s<o.length;s++){var f=o[s];if(Qe(e[f])){e[f]=ti[f]}}var c=Be(e)||Ke(e);if(c){return gi.invalid(c)}var l=li(t);r=Kt(e,l,t),u=r[0],a=r[1]}else{u=Ze.now()}return new gi({ts:u,zone:t,loc:i,o:a})}function vi(e,n,r){var t=Qe(r.round)?true:r.round,i=function(e,i){e=gn(e,t||r.calendary?0:2,true);var u=n.loc.clone(r).relFormatter(r);return u.format(e,i)},u=function(t){if(r.calendary){if(!n.hasSame(e,t)){return n.startOf(t).diff(e.startOf(t),t).get(t)}else return 0}else{return n.diff(e,t).get(t)}};if(r.unit){return i(u(r.unit),r.unit)}for(var a=0,s=r.units;a<s.length;a++){var o=s[a];var f=u(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,r.units[r.units.length-1])}function di(e){var n={},r;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[n,r]}
1652
+ /**
1653
+ * Timestamp to use for cached zone offset guesses (exposed for test)
1654
+ */var mi;
1655
+ /**
1656
+ * Cache for zone offset guesses (exposed for test).
1657
+ *
1658
+ * This optimizes quickDT via guessOffsetForZone to avoid repeated calls of
1659
+ * zone.offset().
1660
+ */var bi=new Map;
1661
+ /**
1662
+ * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.
1663
+ *
1664
+ * A DateTime comprises of:
1665
+ * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.
1666
+ * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).
1667
+ * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.
1668
+ *
1669
+ * Here is a brief overview of the most commonly used functionality it provides:
1670
+ *
1671
+ * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link DateTime.local}, {@link DateTime.utc}, and (most flexibly) {@link DateTime.fromObject}. To create one from a standard string format, use {@link DateTime.fromISO}, {@link DateTime.fromHTTP}, and {@link DateTime.fromRFC2822}. To create one from a custom string format, use {@link DateTime.fromFormat}. To create one from a native JS date, use {@link DateTime.fromJSDate}.
1672
+ * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link DateTime#toObject}), use the {@link DateTime#year}, {@link DateTime#month},
1673
+ * {@link DateTime#day}, {@link DateTime#hour}, {@link DateTime#minute}, {@link DateTime#second}, {@link DateTime#millisecond} accessors.
1674
+ * * **Week calendar**: For ISO week calendar attributes, see the {@link DateTime#weekYear}, {@link DateTime#weekNumber}, and {@link DateTime#weekday} accessors.
1675
+ * * **Configuration** See the {@link DateTime#locale} and {@link DateTime#numberingSystem} accessors.
1676
+ * * **Transformation**: To transform the DateTime into other DateTimes, use {@link DateTime#set}, {@link DateTime#reconfigure}, {@link DateTime#setZone}, {@link DateTime#setLocale}, {@link DateTime.plus}, {@link DateTime#minus}, {@link DateTime#endOf}, {@link DateTime#startOf}, {@link DateTime#toUTC}, and {@link DateTime#toLocal}.
1677
+ * * **Output**: To convert the DateTime to other representations, use the {@link DateTime#toRelative}, {@link DateTime#toRelativeCalendar}, {@link DateTime#toJSON}, {@link DateTime#toISO}, {@link DateTime#toHTTP}, {@link DateTime#toObject}, {@link DateTime#toRFC2822}, {@link DateTime#toString}, {@link DateTime#toLocaleString}, {@link DateTime#toFormat}, {@link DateTime#toMillis} and {@link DateTime#toJSDate}.
1678
+ *
1679
+ * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.
1680
+ */var gi=/** @class */function(){
1681
+ /**
1682
+ * @access private
1683
+ */
1684
+ function e(e){var n;var r=e.zone||Ze.defaultZone;var t=e.invalid||(Number.isNaN(e.ts)?new Le("invalid input"):null)||(!r.isValid?Gt(r):null);
1685
+ /**
1686
+ * @access private
1687
+ */this.ts=Qe(e.ts)?Ze.now():e.ts;var i=null,u=null;if(!t){var a=e.old&&e.old.ts===this.ts&&e.old.zone.equals(r);if(a){n=[e.old.c,e.old.o],i=n[0],u=n[1]}else{
1688
+ // If an offset has been passed and we have not been called from
1689
+ // clone(), we can trust it and avoid the offset calculation.
1690
+ var s=Xe(e.o)&&!e.old?e.o:r.offset(this.ts);i=Bt(this.ts,s);t=Number.isNaN(i.year)?new Le("invalid input"):null;i=t?null:i;u=t?null:s}}
1691
+ /**
1692
+ * @access private
1693
+ */this._zone=r;
1694
+ /**
1695
+ * @access private
1696
+ */this.loc=e.loc||de.create();
1697
+ /**
1698
+ * @access private
1699
+ */this.invalid=t;
1700
+ /**
1701
+ * @access private
1702
+ */this.weekData=null;
1703
+ /**
1704
+ * @access private
1705
+ */this.localWeekData=null;
1706
+ /**
1707
+ * @access private
1708
+ */this.c=i;
1709
+ /**
1710
+ * @access private
1711
+ */this.o=u;
1712
+ /**
1713
+ * @access private
1714
+ */this.isLuxonDateTime=true}
1715
+ // CONSTRUCT
1716
+ /**
1717
+ * Create a DateTime for the current instant, in the system's time zone.
1718
+ *
1719
+ * Use Settings to override these default values if needed.
1720
+ * @example DateTime.now().toISO() //~> now in the ISO format
1721
+ * @return {DateTime}
1722
+ */e.now=function(){return new e({})};
1723
+ /**
1724
+ * Create a local DateTime
1725
+ * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
1726
+ * @param {number} [month=1] - The month, 1-indexed
1727
+ * @param {number} [day=1] - The day of the month, 1-indexed
1728
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
1729
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
1730
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
1731
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
1732
+ * @example DateTime.local() //~> now
1733
+ * @example DateTime.local({ zone: "America/New_York" }) //~> now, in US east coast time
1734
+ * @example DateTime.local(2017) //~> 2017-01-01T00:00:00
1735
+ * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00
1736
+ * @example DateTime.local(2017, 3, 12, { locale: "fr" }) //~> 2017-03-12T00:00:00, with a French locale
1737
+ * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00
1738
+ * @example DateTime.local(2017, 3, 12, 5, { zone: "utc" }) //~> 2017-03-12T05:00:00, in UTC
1739
+ * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00
1740
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10
1741
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765
1742
+ * @return {DateTime}
1743
+ */e.local=function(){var e=di(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];return hi({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};
1744
+ /**
1745
+ * Create a DateTime in UTC
1746
+ * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
1747
+ * @param {number} [month=1] - The month, 1-indexed
1748
+ * @param {number} [day=1] - The day of the month
1749
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
1750
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
1751
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
1752
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
1753
+ * @param {Object} options - configuration options for the DateTime
1754
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1755
+ * @param {string} [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
1756
+ * @param {string} [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
1757
+ * @param {string} [options.weekSettings] - the week settings to set on the resulting DateTime instance
1758
+ * @example DateTime.utc() //~> now
1759
+ * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z
1760
+ * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z
1761
+ * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z
1762
+ * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z
1763
+ * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z
1764
+ * @example DateTime.utc(2017, 3, 12, 5, 45, { locale: "fr" }) //~> 2017-03-12T05:45:00Z with a French locale
1765
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z
1766
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765, { locale: "fr" }) //~> 2017-03-12T05:45:10.765Z with a French locale
1767
+ * @return {DateTime}
1768
+ */e.utc=function(){var e=di(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];n.zone=be.utcInstance;return hi({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};
1769
+ /**
1770
+ * Create a DateTime from a JavaScript Date object. Uses the default zone.
1771
+ * @param {Date} date - a JavaScript Date object
1772
+ * @param {Object} options - configuration options for the DateTime
1773
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1774
+ * @return {DateTime}
1775
+ */e.fromJSDate=function(n,r){if(r===void 0){r={}}var t=rn(n)?n.valueOf():NaN;if(Number.isNaN(t)){return e.invalid("invalid input")}var i=ye(r.zone,Ze.defaultZone);if(!i.isValid){return e.invalid(Gt(i))}return new e({ts:t,zone:i,loc:de.fromObject(r)})};
1776
+ /**
1777
+ * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
1778
+ * @param {number} milliseconds - a number of milliseconds since 1970 UTC
1779
+ * @param {Object} options - configuration options for the DateTime
1780
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1781
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1782
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
1783
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
1784
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
1785
+ * @return {DateTime}
1786
+ */e.fromMillis=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-Ut||n>Ut){
1787
+ // this isn't perfect because we can still end up out of range because of additional shifting, but it's a start
1788
+ return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:ye(r.zone,Ze.defaultZone),loc:de.fromObject(r)})}};
1789
+ /**
1790
+ * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
1791
+ * @param {number} seconds - a number of seconds since 1970 UTC
1792
+ * @param {Object} options - configuration options for the DateTime
1793
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1794
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1795
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
1796
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
1797
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
1798
+ * @return {DateTime}
1799
+ */e.fromSeconds=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:ye(r.zone,Ze.defaultZone),loc:de.fromObject(r)})}};
1800
+ /**
1801
+ * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
1802
+ * @param {Object} obj - the object to create the DateTime from
1803
+ * @param {number} obj.year - a year, such as 1987
1804
+ * @param {number} obj.month - a month, 1-12
1805
+ * @param {number} obj.day - a day of the month, 1-31, depending on the month
1806
+ * @param {number} obj.ordinal - day of the year, 1-365 or 366
1807
+ * @param {number} obj.weekYear - an ISO week year
1808
+ * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
1809
+ * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
1810
+ * @param {number} obj.localWeekYear - a week year, according to the locale
1811
+ * @param {number} obj.localWeekNumber - a week number, between 1 and 52 or 53, depending on the year, according to the locale
1812
+ * @param {number} obj.localWeekday - a weekday, 1-7, where 1 is the first and 7 is the last day of the week, according to the locale
1813
+ * @param {number} obj.hour - hour of the day, 0-23
1814
+ * @param {number} obj.minute - minute of the hour, 0-59
1815
+ * @param {number} obj.second - second of the minute, 0-59
1816
+ * @param {number} obj.millisecond - millisecond of the second, 0-999
1817
+ * @param {Object} opts - options for creating this DateTime
1818
+ * @param {string|Zone} [opts.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
1819
+ * @param {string} [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
1820
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1821
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1822
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1823
+ * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
1824
+ * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
1825
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
1826
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'utc' }),
1827
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'local' })
1828
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'America/New_York' })
1829
+ * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
1830
+ * @example DateTime.fromObject({ localWeekYear: 2022, localWeekNumber: 1, localWeekday: 1 }, { locale: "en-US" }).toISODate() //=> '2021-12-26'
1831
+ * @return {DateTime}
1832
+ */e.fromObject=function(n,r){if(r===void 0){r={}}n=n||{};var t=ye(r.zone,Ze.defaultZone);if(!t.isValid){return e.invalid(Gt(t))}var i=de.fromObject(r);var a=En(n,ci);var s=Pe(a,i),o=s.minDaysInFirstWeek,f=s.startOfWeek;var c=Ze.now(),l=!Qe(r.specificOffset)?r.specificOffset:t.offset(c),h=!Qe(a.ordinal),v=!Qe(a.year),d=!Qe(a.month)||!Qe(a.day),m=v||d,b=a.weekYear||a.weekNumber;
1833
+ // cases:
1834
+ // just a weekday -> this week's instance of that weekday, no worries
1835
+ // (gregorian data or ordinal) + (weekYear or weekNumber) -> error
1836
+ // (gregorian month or day) + ordinal -> error
1837
+ // otherwise just use weeks or ordinals or gregorian, depending on what's specified
1838
+ if((m||h)&&b){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(d&&h){throw new u("Can't mix ordinal dates with month/day")}var g=b||a.weekday&&!m;
1839
+ // configure ourselves to deal with gregorian dates or week stuff
1840
+ var y,w,_=Bt(c,l);if(g){y=si;w=ii;_=Re(_,o,f)}else if(h){y=oi;w=ui;_=Ge(_)}else{y=ai;w=ti}
1841
+ // set default values for missing stuff
1842
+ var O=false;for(var M=0,j=y;M<j.length;M++){var p=j[M];var N=a[p];if(!Qe(N)){O=true}else if(O){a[p]=w[p]}else{a[p]=_[p]}}
1843
+ // make sure the values we have are in range
1844
+ var k=g?$e(a,o,f):h?Ve(a):Be(a),T=k||Ke(a);if(T){return e.invalid(T)}
1845
+ // compute the actual time
1846
+ var E=g?Ue(a,o,f):h?Ye(a):a,S=Kt(E,l,t),D=S[0],I=S[1],x=new e({ts:D,zone:t,o:I,loc:i});
1847
+ // gregorian data + weekday serves only to validate
1848
+ if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(x.toISO()))}if(!x.isValid){return e.invalid(x.invalid)}return x};
1849
+ /**
1850
+ * Create a DateTime from an ISO 8601 string
1851
+ * @param {string} text - the ISO string
1852
+ * @param {Object} opts - options to affect the creation
1853
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
1854
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
1855
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1856
+ * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
1857
+ * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
1858
+ * @param {string} [opts.weekSettings] - the week settings to set on the resulting DateTime instance
1859
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123')
1860
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
1861
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
1862
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
1863
+ * @example DateTime.fromISO('2016-W05-4')
1864
+ * @return {DateTime}
1865
+ */e.fromISO=function(e,n){if(n===void 0){n={}}var r=Jr(e),t=r[0],i=r[1];return Xt(t,i,n,"ISO 8601",e)};
1866
+ /**
1867
+ * Create a DateTime from an RFC 2822 string
1868
+ * @param {string} text - the RFC 2822 string
1869
+ * @param {Object} opts - options to affect the creation
1870
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
1871
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
1872
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1873
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1874
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1875
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1876
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
1877
+ * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
1878
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
1879
+ * @return {DateTime}
1880
+ */e.fromRFC2822=function(e,n){if(n===void 0){n={}}var r=Rr(e),t=r[0],i=r[1];return Xt(t,i,n,"RFC 2822",e)};
1881
+ /**
1882
+ * Create a DateTime from an HTTP header date
1883
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
1884
+ * @param {string} text - the HTTP header date
1885
+ * @param {Object} opts - options to affect the creation
1886
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
1887
+ * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
1888
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1889
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1890
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1891
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1892
+ * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
1893
+ * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
1894
+ * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
1895
+ * @return {DateTime}
1896
+ */e.fromHTTP=function(e,n){if(n===void 0){n={}}var r=Ur(e),t=r[0],i=r[1];return Xt(t,i,n,"HTTP",n)};
1897
+ /**
1898
+ * Create a DateTime from an input string and format string.
1899
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
1900
+ * @param {string} text - the string to parse
1901
+ * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
1902
+ * @param {Object} opts - options to affect the creation
1903
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
1904
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
1905
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
1906
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
1907
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1908
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1909
+ * @return {DateTime}
1910
+ */e.fromFormat=function(n,r,t){if(t===void 0){t={}}if(Qe(n)||Qe(r)){throw new s("fromFormat requires an input string and a format")}var i=t.locale,u=i===void 0?null:i,a=t.numberingSystem,o=a===void 0?null:a,f=de.fromOpts({locale:u,numberingSystem:o,defaultToEN:true}),c=zt(f,n,r),l=c[0],h=c[1],v=c[2],d=c[3];if(d){return e.invalid(d)}else{return Xt(l,h,t,"format ".concat(r),n,v)}};
1911
+ /**
1912
+ * @deprecated use fromFormat instead
1913
+ */e.fromString=function(n,r,t){if(t===void 0){t={}}return e.fromFormat(n,r,t)};
1914
+ /**
1915
+ * Create a DateTime from a SQL date, time, or datetime
1916
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale
1917
+ * @param {string} text - the string to parse
1918
+ * @param {Object} opts - options to affect the creation
1919
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
1920
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
1921
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
1922
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
1923
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1924
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1925
+ * @example DateTime.fromSQL('2017-05-15')
1926
+ * @example DateTime.fromSQL('2017-05-15 09:12:34')
1927
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
1928
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
1929
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
1930
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
1931
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
1932
+ * @example DateTime.fromSQL('09:12:34.342')
1933
+ * @return {DateTime}
1934
+ */e.fromSQL=function(e,n){if(n===void 0){n={}}var r=Kr(e),t=r[0],i=r[1];return Xt(t,i,n,"SQL",e)};
1935
+ /**
1936
+ * Create an invalid DateTime.
1937
+ * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
1938
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
1939
+ * @return {DateTime}
1940
+ */e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new s("need to specify a reason the DateTime is invalid")}var i=n instanceof Le?n:new Le(n,t);if(Ze.throwOnInvalid){throw new r(i)}else{return new e({invalid:i})}};
1941
+ /**
1942
+ * Check if an object is an instance of DateTime. Works across context boundaries
1943
+ * @param {object} o
1944
+ * @return {boolean}
1945
+ */e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};
1946
+ /**
1947
+ * Produce the format string for a set of options
1948
+ * @param formatOpts
1949
+ * @param localeOpts
1950
+ * @returns {string}
1951
+ */e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var r=Jt(e,de.fromObject(n));return!r?null:r.map((function(e){return e?e.val:null})).join("")};
1952
+ /**
1953
+ * Produce the the fully expanded format token for the locale
1954
+ * Does NOT quote characters, so quoted tokens will not round trip correctly
1955
+ * @param fmt
1956
+ * @param localeOpts
1957
+ * @returns {string}
1958
+ */e.expandFormat=function(e,n){if(n===void 0){n={}}var r=Ct(Kn.parseFormat(e),de.fromObject(n));return r.map((function(e){return e.val})).join("")};e.resetCache=function(){mi=undefined;bi.clear()};
1959
+ // INFO
1960
+ /**
1961
+ * Get the value of unit.
1962
+ * @param {string} unit - a unit such as 'minute' or 'day'
1963
+ * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
1964
+ * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
1965
+ * @return {number}
1966
+ */e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{
1967
+ /**
1968
+ * Returns whether the DateTime is valid. Invalid DateTimes occur when:
1969
+ * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
1970
+ * * The DateTime was created by an operation on another invalid date
1971
+ * @type {boolean}
1972
+ */
1973
+ get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1974
+ /**
1975
+ * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
1976
+ * @type {string}
1977
+ */
1978
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1979
+ /**
1980
+ * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
1981
+ * @type {string}
1982
+ */
1983
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{
1984
+ /**
1985
+ * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
1986
+ *
1987
+ * @type {string}
1988
+ */
1989
+ get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{
1990
+ /**
1991
+ * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
1992
+ *
1993
+ * @type {string}
1994
+ */
1995
+ get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{
1996
+ /**
1997
+ * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
1998
+ *
1999
+ * @type {string}
2000
+ */
2001
+ get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{
2002
+ /**
2003
+ * Get the time zone associated with this DateTime.
2004
+ * @type {Zone}
2005
+ */
2006
+ get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{
2007
+ /**
2008
+ * Get the name of the time zone.
2009
+ * @type {string}
2010
+ */
2011
+ get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{
2012
+ /**
2013
+ * Get the year
2014
+ * @example DateTime.local(2017, 5, 25).year //=> 2017
2015
+ * @type {number}
2016
+ */
2017
+ get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{
2018
+ /**
2019
+ * Get the quarter
2020
+ * @example DateTime.local(2017, 5, 25).quarter //=> 2
2021
+ * @type {number}
2022
+ */
2023
+ get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{
2024
+ /**
2025
+ * Get the month (1-12).
2026
+ * @example DateTime.local(2017, 5, 25).month //=> 5
2027
+ * @type {number}
2028
+ */
2029
+ get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{
2030
+ /**
2031
+ * Get the day of the month (1-30ish).
2032
+ * @example DateTime.local(2017, 5, 25).day //=> 25
2033
+ * @type {number}
2034
+ */
2035
+ get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{
2036
+ /**
2037
+ * Get the hour of the day (0-23).
2038
+ * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
2039
+ * @type {number}
2040
+ */
2041
+ get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{
2042
+ /**
2043
+ * Get the minute of the hour (0-59).
2044
+ * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
2045
+ * @type {number}
2046
+ */
2047
+ get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{
2048
+ /**
2049
+ * Get the second of the minute (0-59).
2050
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
2051
+ * @type {number}
2052
+ */
2053
+ get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{
2054
+ /**
2055
+ * Get the millisecond of the second (0-999).
2056
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
2057
+ * @type {number}
2058
+ */
2059
+ get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{
2060
+ /**
2061
+ * Get the week year
2062
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2063
+ * @example DateTime.local(2014, 12, 31).weekYear //=> 2015
2064
+ * @type {number}
2065
+ */
2066
+ get:function(){return this.isValid?Yt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{
2067
+ /**
2068
+ * Get the week number of the week year (1-52ish).
2069
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2070
+ * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
2071
+ * @type {number}
2072
+ */
2073
+ get:function(){return this.isValid?Yt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{
2074
+ /**
2075
+ * Get the day of the week.
2076
+ * 1 is Monday and 7 is Sunday
2077
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2078
+ * @example DateTime.local(2014, 11, 31).weekday //=> 4
2079
+ * @type {number}
2080
+ */
2081
+ get:function(){return this.isValid?Yt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{
2082
+ /**
2083
+ * Returns true if this date is on a weekend according to the locale, false otherwise
2084
+ * @returns {boolean}
2085
+ */
2086
+ get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{
2087
+ /**
2088
+ * Get the day of the week according to the locale.
2089
+ * 1 is the first day of the week and 7 is the last day of the week.
2090
+ * If the locale assigns Sunday as the first day of the week, then a date which is a Sunday will return 1,
2091
+ * @returns {number}
2092
+ */
2093
+ get:function(){return this.isValid?Pt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{
2094
+ /**
2095
+ * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
2096
+ * because the week can start on different days of the week (see localWeekday) and because a different number of days
2097
+ * is required for a week to count as the first week of a year.
2098
+ * @returns {number}
2099
+ */
2100
+ get:function(){return this.isValid?Pt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{
2101
+ /**
2102
+ * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
2103
+ * differently, see localWeekNumber.
2104
+ * @returns {number}
2105
+ */
2106
+ get:function(){return this.isValid?Pt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{
2107
+ /**
2108
+ * Get the ordinal (meaning the day of the year)
2109
+ * @example DateTime.local(2017, 5, 25).ordinal //=> 145
2110
+ * @type {number|DateTime}
2111
+ */
2112
+ get:function(){return this.isValid?Ge(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{
2113
+ /**
2114
+ * Get the human readable short month name, such as 'Oct'.
2115
+ * Defaults to the system's locale if no locale has been specified
2116
+ * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
2117
+ * @type {string}
2118
+ */
2119
+ get:function(){return this.isValid?dt.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{
2120
+ /**
2121
+ * Get the human readable long month name, such as 'October'.
2122
+ * Defaults to the system's locale if no locale has been specified
2123
+ * @example DateTime.local(2017, 10, 30).monthLong //=> October
2124
+ * @type {string}
2125
+ */
2126
+ get:function(){return this.isValid?dt.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{
2127
+ /**
2128
+ * Get the human readable short weekday, such as 'Mon'.
2129
+ * Defaults to the system's locale if no locale has been specified
2130
+ * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
2131
+ * @type {string}
2132
+ */
2133
+ get:function(){return this.isValid?dt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{
2134
+ /**
2135
+ * Get the human readable long weekday, such as 'Monday'.
2136
+ * Defaults to the system's locale if no locale has been specified
2137
+ * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
2138
+ * @type {string}
2139
+ */
2140
+ get:function(){return this.isValid?dt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{
2141
+ /**
2142
+ * Get the UTC offset of this DateTime in minutes
2143
+ * @example DateTime.now().offset //=> -240
2144
+ * @example DateTime.utc().offset //=> 0
2145
+ * @type {number}
2146
+ */
2147
+ get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{
2148
+ /**
2149
+ * Get the short human name for the zone's current offset, for example "EST" or "EDT".
2150
+ * Defaults to the system's locale if no locale has been specified
2151
+ * @type {string}
2152
+ */
2153
+ get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{
2154
+ /**
2155
+ * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
2156
+ * Defaults to the system's locale if no locale has been specified
2157
+ * @type {string}
2158
+ */
2159
+ get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{
2160
+ /**
2161
+ * Get whether this zone's offset ever changes, as in a DST.
2162
+ * @type {boolean}
2163
+ */
2164
+ get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{
2165
+ /**
2166
+ * Get whether the DateTime is in a DST.
2167
+ * @type {boolean}
2168
+ */
2169
+ get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});
2170
+ /**
2171
+ * Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
2172
+ * in this DateTime's zone. During DST changes local time can be ambiguous, for example
2173
+ * `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
2174
+ * This method will return both possible DateTimes if this DateTime's local time is ambiguous.
2175
+ * @returns {DateTime[]}
2176
+ */e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var r=On(this.c);var t=this.zone.offset(r-e);var i=this.zone.offset(r+e);var u=this.zone.offset(r-t*n);var a=this.zone.offset(r-i*n);if(u===a){return[this]}var s=r-u*n;var o=r-a*n;var f=Bt(s,u);var c=Bt(o,a);if(f.hour===c.hour&&f.minute===c.minute&&f.second===c.second&&f.millisecond===c.millisecond){return[$t(this,{ts:s}),$t(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{
2177
+ /**
2178
+ * Returns true if this DateTime is in a leap year, false otherwise
2179
+ * @example DateTime.local(2016).isInLeapYear //=> true
2180
+ * @example DateTime.local(2013).isInLeapYear //=> false
2181
+ * @type {boolean}
2182
+ */
2183
+ get:function(){return yn(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{
2184
+ /**
2185
+ * Returns the number of days in this DateTime's month
2186
+ * @example DateTime.local(2016, 2).daysInMonth //=> 29
2187
+ * @example DateTime.local(2016, 3).daysInMonth //=> 31
2188
+ * @type {number}
2189
+ */
2190
+ get:function(){return _n(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{
2191
+ /**
2192
+ * Returns the number of days in this DateTime's year
2193
+ * @example DateTime.local(2016).daysInYear //=> 366
2194
+ * @example DateTime.local(2013).daysInYear //=> 365
2195
+ * @type {number}
2196
+ */
2197
+ get:function(){return this.isValid?wn(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{
2198
+ /**
2199
+ * Returns the number of weeks in this DateTime's year
2200
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2201
+ * @example DateTime.local(2004).weeksInWeekYear //=> 53
2202
+ * @example DateTime.local(2013).weeksInWeekYear //=> 52
2203
+ * @type {number}
2204
+ */
2205
+ get:function(){return this.isValid?jn(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{
2206
+ /**
2207
+ * Returns the number of weeks in this DateTime's local week year
2208
+ * @example DateTime.local(2020, 6, {locale: 'en-US'}).weeksInLocalWeekYear //=> 52
2209
+ * @example DateTime.local(2020, 6, {locale: 'de-DE'}).weeksInLocalWeekYear //=> 53
2210
+ * @type {number}
2211
+ */
2212
+ get:function(){return this.isValid?jn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});
2213
+ /**
2214
+ * Returns the resolved Intl options for this DateTime.
2215
+ * This is useful in understanding the behavior of formatting methods
2216
+ * @param {Object} opts - the same options as toLocaleString
2217
+ * @return {Object}
2218
+ */e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Kn.create(this.loc.clone(e),e).resolvedOptions(this),r=n.locale,t=n.numberingSystem,i=n.calendar;return{locale:r,numberingSystem:t,outputCalendar:i}};
2219
+ // TRANSFORM
2220
+ /**
2221
+ * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
2222
+ *
2223
+ * Equivalent to {@link DateTime#setZone}('utc')
2224
+ * @param {number} [offset=0] - optionally, an offset from UTC in minutes
2225
+ * @param {Object} [opts={}] - options to pass to `setZone()`
2226
+ * @return {DateTime}
2227
+ */e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(be.instance(e),n)};
2228
+ /**
2229
+ * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
2230
+ *
2231
+ * Equivalent to `setZone('local')`
2232
+ * @return {DateTime}
2233
+ */e.prototype.toLocal=function(){return this.setZone(Ze.defaultZone)};
2234
+ /**
2235
+ * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
2236
+ *
2237
+ * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link DateTime#plus}. You may wish to use {@link DateTime#toLocal} and {@link DateTime#toUTC} which provide simple convenience wrappers for commonly used zones.
2238
+ * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link DateTime#Zone} class.
2239
+ * @param {Object} opts - options
2240
+ * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
2241
+ * @return {DateTime}
2242
+ */e.prototype.setZone=function(n,r){var t=r===void 0?{}:r,i=t.keepLocalTime,u=i===void 0?false:i,a=t.keepCalendarTime,s=a===void 0?false:a;n=ye(n,Ze.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(Gt(n))}else{var o=this.ts;if(u||s){var f=n.offset(this.ts);var c=this.toObject();o=Kt(c,f,n)[0]}return $t(this,{ts:o,zone:n})}};
2243
+ /**
2244
+ * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
2245
+ * @param {Object} properties - the properties to set
2246
+ * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
2247
+ * @return {DateTime}
2248
+ */e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.outputCalendar;var u=this.loc.clone({locale:r,numberingSystem:t,outputCalendar:i});return $t(this,{loc:u})};
2249
+ /**
2250
+ * "Set" the locale. Returns a newly-constructed DateTime.
2251
+ * Just a convenient alias for reconfigure({ locale })
2252
+ * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
2253
+ * @return {DateTime}
2254
+ */e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};
2255
+ /**
2256
+ * "Set" the values of specified units. Returns a newly-constructed DateTime.
2257
+ * You can only set units with this method; for "setting" metadata, see {@link DateTime#reconfigure} and {@link DateTime#setZone}.
2258
+ *
2259
+ * This method also supports setting locale-based week units, i.e. `localWeekday`, `localWeekNumber` and `localWeekYear`.
2260
+ * They cannot be mixed with ISO-week units like `weekday`.
2261
+ * @param {Object} values - a mapping of units to numbers
2262
+ * @example dt.set({ year: 2017 })
2263
+ * @example dt.set({ hour: 8, minute: 30 })
2264
+ * @example dt.set({ weekday: 5 })
2265
+ * @example dt.set({ year: 2005, ordinal: 234 })
2266
+ * @return {DateTime}
2267
+ */e.prototype.set=function(e){if(!this.isValid)return this;var n=En(e,ci);var r=Pe(n,this.loc),t=r.minDaysInFirstWeek,i=r.startOfWeek;var a=!Qe(n.weekYear)||!Qe(n.weekNumber)||!Qe(n.weekday),s=!Qe(n.ordinal),o=!Qe(n.year),f=!Qe(n.month)||!Qe(n.day),c=o||f,l=n.weekYear||n.weekNumber;if((c||s)&&l){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(f&&s){throw new u("Can't mix ordinal dates with month/day")}var h;if(a){h=Ue(__assign(__assign({},Re(this.c,t,i)),n),t,i)}else if(!Qe(n.ordinal)){h=Ye(__assign(__assign({},Ge(this.c)),n))}else{h=__assign(__assign({},this.toObject()),n);
2268
+ // if we didn't set the day but we ended up on an overflow date,
2269
+ // use the last day of the right month
2270
+ if(Qe(n.day)){h.day=Math.min(_n(h.year,h.month),h.day)}}var v=Kt(h,this.o,this.zone),d=v[0],m=v[1];return $t(this,{ts:d,o:m})};
2271
+ /**
2272
+ * Add a period of time to this DateTime and return the resulting DateTime
2273
+ *
2274
+ * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
2275
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
2276
+ * @example DateTime.now().plus(123) //~> in 123 milliseconds
2277
+ * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes
2278
+ * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow
2279
+ * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday
2280
+ * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
2281
+ * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
2282
+ * @return {DateTime}
2283
+ */e.prototype.plus=function(e){if(!this.isValid)return this;var n=ct.fromDurationLike(e);return $t(this,Qt(this,n))};
2284
+ /**
2285
+ * Subtract a period of time to this DateTime and return the resulting DateTime
2286
+ * See {@link DateTime#plus}
2287
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
2288
+ @return {DateTime}
2289
+ */e.prototype.minus=function(e){if(!this.isValid)return this;var n=ct.fromDurationLike(e).negate();return $t(this,Qt(this,n))};
2290
+ /**
2291
+ * "Set" this DateTime to the beginning of a unit of time.
2292
+ * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
2293
+ * @param {Object} opts - options
2294
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
2295
+ * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
2296
+ * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
2297
+ * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays
2298
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
2299
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
2300
+ * @return {DateTime}
2301
+ */e.prototype.startOf=function(e,n){var r=n===void 0?{}:n,t=r.useLocaleWeeks,i=t===void 0?false:t;if(!this.isValid)return this;var u={},a=ct.normalizeUnit(e);switch(a){case"years":u.month=1;
2302
+ // falls through
2303
+ case"quarters":case"months":u.day=1;
2304
+ // falls through
2305
+ case"weeks":case"days":u.hour=0;
2306
+ // falls through
2307
+ case"hours":u.minute=0;
2308
+ // falls through
2309
+ case"minutes":u.second=0;
2310
+ // falls through
2311
+ case"seconds":u.millisecond=0;break;
2312
+ // no default, invalid units throw in normalizeUnit()
2313
+ }if(a==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){u.weekNumber=this.weekNumber-1}u.weekday=s}else{u.weekday=1}}if(a==="quarters"){var f=Math.ceil(this.month/3);u.month=(f-1)*3+1}return this.set(u)};
2314
+ /**
2315
+ * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
2316
+ * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
2317
+ * @param {Object} opts - options
2318
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
2319
+ * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
2320
+ * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
2321
+ * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays
2322
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
2323
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
2324
+ * @return {DateTime}
2325
+ */e.prototype.endOf=function(e,n){var r;return this.isValid?this.plus((r={},r[e]=1,r)).startOf(e,n).minus(1):this};
2326
+ // OUTPUT
2327
+ /**
2328
+ * Returns a string representation of this DateTime formatted according to the specified format string.
2329
+ * **You may not want this.** See {@link DateTime#toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).
2330
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale.
2331
+ * @param {string} fmt - the format string
2332
+ * @param {Object} opts - opts to override the configuration options on this DateTime
2333
+ * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
2334
+ * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
2335
+ * @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
2336
+ * @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
2337
+ * @return {string}
2338
+ */e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Rt};
2339
+ /**
2340
+ * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
2341
+ * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
2342
+ * of the DateTime in the assigned locale.
2343
+ * Defaults to the system's locale if no locale has been specified
2344
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
2345
+ * @param formatOpts {Object} - Intl.DateTimeFormat constructor options and configuration options
2346
+ * @param {Object} opts - opts to override the configuration options on this DateTime
2347
+ * @example DateTime.now().toLocaleString(); //=> 4/20/2017
2348
+ * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
2349
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
2350
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL, { locale: 'fr' }); //=> '28 août 2022'
2351
+ * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
2352
+ * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
2353
+ * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
2354
+ * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
2355
+ * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
2356
+ * @return {string}
2357
+ */e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.clone(n),e).formatDateTime(this):Rt};
2358
+ /**
2359
+ * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
2360
+ * Defaults to the system's locale if no locale has been specified
2361
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
2362
+ * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
2363
+ * @example DateTime.now().toLocaleParts(); //=> [
2364
+ * //=> { type: 'day', value: '25' },
2365
+ * //=> { type: 'literal', value: '/' },
2366
+ * //=> { type: 'month', value: '05' },
2367
+ * //=> { type: 'literal', value: '/' },
2368
+ * //=> { type: 'year', value: '1982' }
2369
+ * //=> ]
2370
+ */e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Kn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};
2371
+ /**
2372
+ * Returns an ISO 8601-compliant string representation of this DateTime
2373
+ * @param {Object} opts - options
2374
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
2375
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
2376
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2377
+ * @param {boolean} [opts.extendedZone=false] - add the time zone format extension
2378
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2379
+ * @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
2380
+ * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
2381
+ * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
2382
+ * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
2383
+ * @return {string|null}
2384
+ */e.prototype.toISO=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.suppressMilliseconds,s=a===void 0?false:a,o=n.includeOffset,f=o===void 0?true:o,c=n.extendedZone,l=c===void 0?false:c;if(!this.isValid){return null}var h=t==="extended";var v=ni(this,h);v+="T";v+=ri(this,h,u,s,f,l);return v};
2385
+ /**
2386
+ * Returns an ISO 8601-compliant string representation of this DateTime's date component
2387
+ * @param {Object} opts - options
2388
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2389
+ * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
2390
+ * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
2391
+ * @return {string|null}
2392
+ */e.prototype.toISODate=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r;if(!this.isValid){return null}return ni(this,t==="extended")};
2393
+ /**
2394
+ * Returns an ISO 8601-compliant string representation of this DateTime's week date
2395
+ * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
2396
+ * @return {string}
2397
+ */e.prototype.toISOWeekDate=function(){return ei(this,"kkkk-'W'WW-c")};
2398
+ /**
2399
+ * Returns an ISO 8601-compliant string representation of this DateTime's time component
2400
+ * @param {Object} opts - options
2401
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
2402
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
2403
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2404
+ * @param {boolean} [opts.extendedZone=true] - add the time zone format extension
2405
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
2406
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2407
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
2408
+ * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
2409
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
2410
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
2411
+ * @return {string}
2412
+ */e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,r=n.suppressMilliseconds,t=r===void 0?false:r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.includeOffset,s=a===void 0?true:a,o=n.includePrefix,f=o===void 0?false:o,c=n.extendedZone,l=c===void 0?false:c,h=n.format,v=h===void 0?"extended":h;if(!this.isValid){return null}var d=f?"T":"";return d+ri(this,v==="extended",u,t,s,l)};
2413
+ /**
2414
+ * Returns an RFC 2822-compatible string representation of this DateTime
2415
+ * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
2416
+ * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
2417
+ * @return {string}
2418
+ */e.prototype.toRFC2822=function(){return ei(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};
2419
+ /**
2420
+ * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
2421
+ * Specifically, the string conforms to RFC 1123.
2422
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
2423
+ * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
2424
+ * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
2425
+ * @return {string}
2426
+ */e.prototype.toHTTP=function(){return ei(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};
2427
+ /**
2428
+ * Returns a string representation of this DateTime appropriate for use in SQL Date
2429
+ * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
2430
+ * @return {string|null}
2431
+ */e.prototype.toSQLDate=function(){if(!this.isValid){return null}return ni(this,true)};
2432
+ /**
2433
+ * Returns a string representation of this DateTime appropriate for use in SQL Time
2434
+ * @param {Object} opts - options
2435
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
2436
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2437
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
2438
+ * @example DateTime.utc().toSQL() //=> '05:15:16.345'
2439
+ * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'
2440
+ * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'
2441
+ * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
2442
+ * @return {string}
2443
+ */e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,r=n.includeOffset,t=r===void 0?true:r,i=n.includeZone,u=i===void 0?false:i,a=n.includeOffsetSpace,s=a===void 0?true:a;var o="HH:mm:ss.SSS";if(u||t){if(s){o+=" "}if(u){o+="z"}else if(t){o+="ZZ"}}return ei(this,o,true)};
2444
+ /**
2445
+ * Returns a string representation of this DateTime appropriate for use in SQL DateTime
2446
+ * @param {Object} opts - options
2447
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
2448
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2449
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
2450
+ * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
2451
+ * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
2452
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
2453
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
2454
+ * @return {string}
2455
+ */e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};
2456
+ /**
2457
+ * Returns a string representation of this DateTime appropriate for debugging
2458
+ * @return {string}
2459
+ */e.prototype.toString=function(){return this.isValid?this.toISO():Rt};
2460
+ /**
2461
+ * Returns a string representation of this DateTime appropriate for the REPL.
2462
+ * @return {string}
2463
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};
2464
+ /**
2465
+ * Returns the epoch milliseconds of this DateTime. Alias of {@link DateTime#toMillis}
2466
+ * @return {number}
2467
+ */e.prototype.valueOf=function(){return this.toMillis()};
2468
+ /**
2469
+ * Returns the epoch milliseconds of this DateTime.
2470
+ * @return {number}
2471
+ */e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};
2472
+ /**
2473
+ * Returns the epoch seconds (including milliseconds in the fractional part) of this DateTime.
2474
+ * @return {number}
2475
+ */e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};
2476
+ /**
2477
+ * Returns the epoch seconds (as a whole number) of this DateTime.
2478
+ * @return {number}
2479
+ */e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};
2480
+ /**
2481
+ * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
2482
+ * @return {string}
2483
+ */e.prototype.toJSON=function(){return this.toISO()};
2484
+ /**
2485
+ * Returns a BSON serializable equivalent to this DateTime.
2486
+ * @return {Date}
2487
+ */e.prototype.toBSON=function(){return this.toJSDate()};
2488
+ /**
2489
+ * Returns a JavaScript object with this DateTime's year, month, day, and so on.
2490
+ * @param opts - options for generating the object
2491
+ * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
2492
+ * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
2493
+ * @return {Object}
2494
+ */e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};
2495
+ /**
2496
+ * Returns a JavaScript Date equivalent to this DateTime.
2497
+ * @return {Date}
2498
+ */e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};
2499
+ // COMPARE
2500
+ /**
2501
+ * Return the difference between two DateTimes as a Duration.
2502
+ * @param {DateTime} otherDateTime - the DateTime to compare this one to
2503
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
2504
+ * @param {Object} opts - options that affect the creation of the Duration
2505
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
2506
+ * @example
2507
+ * var i1 = DateTime.fromISO('1982-05-25T09:45'),
2508
+ * i2 = DateTime.fromISO('1983-10-14T10:30');
2509
+ * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
2510
+ * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
2511
+ * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
2512
+ * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
2513
+ * @return {Duration}
2514
+ */e.prototype.diff=function(e,n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}if(!this.isValid||!e.isValid){return ct.invalid("created by diffing an invalid DateTime")}var t=__assign({locale:this.locale,numberingSystem:this.numberingSystem},r);var i=an(n).map(ct.normalizeUnit),u=e.valueOf()>this.valueOf(),a=u?this:e,s=u?e:this,o=gt(a,s,i,t);return u?o.negate():o};
2515
+ /**
2516
+ * Return the difference between this DateTime and right now.
2517
+ * See {@link DateTime#diff}
2518
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
2519
+ * @param {Object} opts - options that affect the creation of the Duration
2520
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
2521
+ * @return {Duration}
2522
+ */e.prototype.diffNow=function(n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}return this.diff(e.now(),n,r)};
2523
+ /**
2524
+ * Return an Interval spanning between this DateTime and another DateTime
2525
+ * @param {DateTime} otherDateTime - the other end point of the Interval
2526
+ * @return {Interval|DateTime}
2527
+ */e.prototype.until=function(e){return this.isValid?vt.fromDateTimes(this,e):this};
2528
+ /**
2529
+ * Return whether this DateTime is in the same unit of time as another DateTime.
2530
+ * Higher-order units must also be identical for this function to return `true`.
2531
+ * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link DateTime#setZone} to convert one of the dates if needed.
2532
+ * @param {DateTime} otherDateTime - the other DateTime
2533
+ * @param {string} unit - the unit of time to check sameness on
2534
+ * @param {Object} opts - options
2535
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; only the locale of this DateTime is used
2536
+ * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day
2537
+ * @return {boolean}
2538
+ */e.prototype.hasSame=function(e,n,r){if(!this.isValid)return false;var t=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,r)<=t&&t<=i.endOf(n,r)};
2539
+ /**
2540
+ * Equality check
2541
+ * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
2542
+ * To compare just the millisecond values, use `+dt1 === +dt2`.
2543
+ * @param {DateTime} other - the other DateTime
2544
+ * @return {boolean}
2545
+ */e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};
2546
+ /**
2547
+ * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
2548
+ * platform supports Intl.RelativeTimeFormat. Rounds down by default.
2549
+ * @param {Object} options - options that affect the output
2550
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
2551
+ * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
2552
+ * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
2553
+ * @param {boolean} [options.round=true] - whether to round the numbers in the output.
2554
+ * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
2555
+ * @param {string} options.locale - override the locale of this DateTime
2556
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
2557
+ * @example DateTime.now().plus({ days: 1 }).toRelative() //=> "in 1 day"
2558
+ * @example DateTime.now().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
2559
+ * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
2560
+ * @example DateTime.now().minus({ days: 2 }).toRelative() //=> "2 days ago"
2561
+ * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
2562
+ * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
2563
+ */e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var r=n.base||e.fromObject({},{zone:this.zone}),t=n.padding?this<r?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var u=n.unit;if(Array.isArray(n.unit)){i=n.unit;u=undefined}return vi(r,this.plus(t),__assign(__assign({},n),{numeric:"always",units:i,unit:u}))};
2564
+ /**
2565
+ * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
2566
+ * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
2567
+ * @param {Object} options - options that affect the output
2568
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
2569
+ * @param {string} options.locale - override the locale of this DateTime
2570
+ * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
2571
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
2572
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
2573
+ * @example DateTime.now().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
2574
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
2575
+ * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
2576
+ */e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return vi(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};
2577
+ /**
2578
+ * Return the min of several date times
2579
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
2580
+ * @return {DateTime} the min DateTime, or undefined if called with no argument
2581
+ */e.min=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new s("min requires all arguments be DateTimes")}return sn(n,(function(e){return e.valueOf()}),Math.min)};
2582
+ /**
2583
+ * Return the max of several date times
2584
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
2585
+ * @return {DateTime} the max DateTime, or undefined if called with no argument
2586
+ */e.max=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new s("max requires all arguments be DateTimes")}return sn(n,(function(e){return e.valueOf()}),Math.max)};
2587
+ // MISC
2588
+ /**
2589
+ * Explain how a string would be parsed by fromFormat()
2590
+ * @param {string} text - the string to parse
2591
+ * @param {string} fmt - the format the string is expected to be in (see description)
2592
+ * @param {Object} options - options taken by fromFormat()
2593
+ * @return {Object}
2594
+ */e.fromFormatExplain=function(e,n,r){if(r===void 0){r={}}var t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=de.fromOpts({locale:i,numberingSystem:a,defaultToEN:true});return qt(s,e,n)};
2595
+ /**
2596
+ * @deprecated use fromFormatExplain instead
2597
+ */e.fromStringExplain=function(n,r,t){if(t===void 0){t={}}return e.fromFormatExplain(n,r,t)};
2598
+ /**
2599
+ * Build a parser for `fmt` using the given locale. This parser can be passed
2600
+ * to {@link DateTime.fromFormatParser} to a parse a date in this format. This
2601
+ * can be used to optimize cases where many dates need to be parsed in a
2602
+ * specific format.
2603
+ *
2604
+ * @param {String} fmt - the format the string is expected to be in (see
2605
+ * description)
2606
+ * @param {Object} options - options used to set locale and numberingSystem
2607
+ * for parser
2608
+ * @returns {TokenParser} - opaque object to be used
2609
+ */e.buildFormatParser=function(e,n){if(n===void 0){n={}}var r=n.locale,t=r===void 0?null:r,i=n.numberingSystem,u=i===void 0?null:i,a=de.fromOpts({locale:t,numberingSystem:u,defaultToEN:true});return new Ht(a,e)};
2610
+ /**
2611
+ * Create a DateTime from an input string and format parser.
2612
+ *
2613
+ * The format parser must have been created with the same locale as this call.
2614
+ *
2615
+ * @param {String} text - the string to parse
2616
+ * @param {TokenParser} formatParser - parser from {@link DateTime.buildFormatParser}
2617
+ * @param {Object} opts - options taken by fromFormat()
2618
+ * @returns {DateTime}
2619
+ */e.fromFormatParser=function(n,r,t){if(t===void 0){t={}}if(Qe(n)||Qe(r)){throw new s("fromFormatParser requires an input string and a format parser")}var i=t.locale,u=i===void 0?null:i,a=t.numberingSystem,o=a===void 0?null:a,f=de.fromOpts({locale:u,numberingSystem:o,defaultToEN:true});if(!f.equals(r.locale)){throw new s("fromFormatParser called with a locale of ".concat(f,", ")+"but the format parser was created for ".concat(r.locale))}var c=r.explainFromTokens(n),l=c.result,h=c.zone,v=c.specificOffset,d=c.invalidReason;if(d){return e.invalid(d)}else{return Xt(l,h,t,"format ".concat(r.format),n,v)}};Object.defineProperty(e,"DATE_SHORT",{
2620
+ // FORMAT PRESETS
2621
+ /**
2622
+ * {@link DateTime#toLocaleString} format like 10/14/1983
2623
+ * @type {Object}
2624
+ */
2625
+ get:function(){return h},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{
2626
+ /**
2627
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
2628
+ * @type {Object}
2629
+ */
2630
+ get:function(){return v},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{
2631
+ /**
2632
+ * {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
2633
+ * @type {Object}
2634
+ */
2635
+ get:function(){return d},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{
2636
+ /**
2637
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983'
2638
+ * @type {Object}
2639
+ */
2640
+ get:function(){return m},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{
2641
+ /**
2642
+ * {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
2643
+ * @type {Object}
2644
+ */
2645
+ get:function(){return b},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{
2646
+ /**
2647
+ * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
2648
+ * @type {Object}
2649
+ */
2650
+ get:function(){return g},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{
2651
+ /**
2652
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
2653
+ * @type {Object}
2654
+ */
2655
+ get:function(){return y},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{
2656
+ /**
2657
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
2658
+ * @type {Object}
2659
+ */
2660
+ get:function(){return w},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{
2661
+ /**
2662
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2663
+ * @type {Object}
2664
+ */
2665
+ get:function(){return _},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{
2666
+ /**
2667
+ * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
2668
+ * @type {Object}
2669
+ */
2670
+ get:function(){return O},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{
2671
+ /**
2672
+ * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
2673
+ * @type {Object}
2674
+ */
2675
+ get:function(){return M},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{
2676
+ /**
2677
+ * {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
2678
+ * @type {Object}
2679
+ */
2680
+ get:function(){return j},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{
2681
+ /**
2682
+ * {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
2683
+ * @type {Object}
2684
+ */
2685
+ get:function(){return p},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{
2686
+ /**
2687
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
2688
+ * @type {Object}
2689
+ */
2690
+ get:function(){return N},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{
2691
+ /**
2692
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
2693
+ * @type {Object}
2694
+ */
2695
+ get:function(){return k},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{
2696
+ /**
2697
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
2698
+ * @type {Object}
2699
+ */
2700
+ get:function(){return T},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{
2701
+ /**
2702
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
2703
+ * @type {Object}
2704
+ */
2705
+ get:function(){return E},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{
2706
+ /**
2707
+ * {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
2708
+ * @type {Object}
2709
+ */
2710
+ get:function(){return S},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{
2711
+ /**
2712
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
2713
+ * @type {Object}
2714
+ */
2715
+ get:function(){return D},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{
2716
+ /**
2717
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
2718
+ * @type {Object}
2719
+ */
2720
+ get:function(){return I},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{
2721
+ /**
2722
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2723
+ * @type {Object}
2724
+ */
2725
+ get:function(){return x},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{
2726
+ /**
2727
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2728
+ * @type {Object}
2729
+ */
2730
+ get:function(){return A},enumerable:false,configurable:true});return e}();e("D",gi);
2731
+ /**
2732
+ * @private
2733
+ */function yi(e){if(gi.isDateTime(e)){return e}else if(e&&e.valueOf&&Xe(e.valueOf())){return gi.fromJSDate(e)}else if(e&&typeof e==="object"){return gi.fromObject(e)}else{throw new s("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}}}}));