@sparrowengg/integrations-templates-frontend 1.9.84-beta.8 → 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 (415) hide show
  1. package/dist/cjs/_virtual/index8.js +2 -2
  2. package/dist/cjs/_virtual/index9.js +2 -2
  3. package/dist/cjs/cascader-dropdown/cascader-dropdown-breadcrumb.js +118 -0
  4. package/dist/cjs/cascader-dropdown/cascader-dropdown-breadcrumb.js.map +1 -0
  5. package/dist/cjs/cascader-dropdown/cascader-dropdown-content.js +186 -0
  6. package/dist/cjs/cascader-dropdown/cascader-dropdown-content.js.map +1 -0
  7. package/dist/cjs/cascader-dropdown/cascader-dropdown-item.js +65 -0
  8. package/dist/cjs/cascader-dropdown/cascader-dropdown-item.js.map +1 -0
  9. package/dist/cjs/cascader-dropdown/cascader-dropdown-list.js +83 -0
  10. package/dist/cjs/cascader-dropdown/cascader-dropdown-list.js.map +1 -0
  11. package/dist/cjs/cascader-dropdown/cascader-dropdown-node.js +90 -0
  12. package/dist/cjs/cascader-dropdown/cascader-dropdown-node.js.map +1 -0
  13. package/dist/cjs/cascader-dropdown/cascader-dropdown-provider.js +172 -0
  14. package/dist/cjs/cascader-dropdown/cascader-dropdown-provider.js.map +1 -0
  15. package/dist/cjs/cascader-dropdown/cascader-dropdown-root-node.js +56 -0
  16. package/dist/cjs/cascader-dropdown/cascader-dropdown-root-node.js.map +1 -0
  17. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-input.js +141 -0
  18. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-input.js.map +1 -0
  19. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-list.js +174 -0
  20. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-list.js.map +1 -0
  21. package/dist/cjs/cascader-dropdown/cascader-dropdown-value-selector.js +484 -0
  22. package/dist/cjs/cascader-dropdown/cascader-dropdown-value-selector.js.map +1 -0
  23. package/dist/cjs/cascader-dropdown/cascader-dropdown.js +98 -0
  24. package/dist/cjs/cascader-dropdown/cascader-dropdown.js.map +1 -0
  25. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-constants.js +31 -0
  26. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-constants.js.map +1 -0
  27. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-utils.js +136 -0
  28. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-utils.js.map +1 -0
  29. package/dist/cjs/cascader-dropdown/styled/StyledItem.js +42 -0
  30. package/dist/cjs/cascader-dropdown/styled/StyledItem.js.map +1 -0
  31. package/dist/cjs/cascader-dropdown/use-value.js +45 -0
  32. package/dist/cjs/cascader-dropdown/use-value.js.map +1 -0
  33. package/dist/cjs/commons/components/NamingModal.js +82 -0
  34. package/dist/cjs/commons/components/NamingModal.js.map +1 -0
  35. package/dist/cjs/commons/constants/index.js +1 -2
  36. package/dist/cjs/commons/constants/index.js.map +1 -1
  37. package/dist/cjs/dynamic-mapping/components/mapping.js +502 -0
  38. package/dist/cjs/dynamic-mapping/components/mapping.js.map +1 -0
  39. package/dist/cjs/dynamic-mapping/index.js +1096 -0
  40. package/dist/cjs/dynamic-mapping/index.js.map +1 -0
  41. package/dist/cjs/filter/filter-pill-value-selector.js +56 -0
  42. package/dist/cjs/filter/filter-pill-value-selector.js.map +1 -0
  43. package/dist/cjs/filter/filter-pill.js +301 -0
  44. package/dist/cjs/filter/filter-pill.js.map +1 -0
  45. package/dist/cjs/index.js +7 -0
  46. package/dist/cjs/index.js.map +1 -1
  47. package/dist/cjs/integration-template/components/dashboard.js +222 -193
  48. package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
  49. package/dist/cjs/integration-template/index.js +29 -12
  50. package/dist/cjs/integration-template/index.js.map +1 -1
  51. package/dist/cjs/mapping/components/mapping.js +4 -5
  52. package/dist/cjs/mapping/components/mapping.js.map +1 -1
  53. package/dist/cjs/mapping/constants/index.js.map +1 -1
  54. package/dist/cjs/mapping/index.js +31 -4
  55. package/dist/cjs/mapping/index.js.map +1 -1
  56. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.js +823 -0
  57. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  58. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +378 -0
  59. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  60. package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +746 -0
  61. package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  62. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +176 -0
  63. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  64. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +160 -0
  65. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  66. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js +59 -0
  67. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -1
  68. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js +36 -0
  69. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js.map +1 -1
  70. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js +120 -0
  71. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js.map +1 -1
  72. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js +10 -0
  73. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js.map +1 -1
  74. package/dist/cjs/node_modules/@internationalized/date/dist/string.js +11 -0
  75. package/dist/cjs/node_modules/@internationalized/date/dist/string.js.map +1 -1
  76. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js +2 -1
  77. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js.map +1 -1
  78. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.js +14 -0
  79. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  80. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
  81. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  82. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js +62 -0
  83. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  84. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.js +85 -0
  85. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  86. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
  87. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  88. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.js +51 -0
  89. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  90. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
  91. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  92. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.js +37 -0
  93. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  94. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.js +337 -0
  95. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  96. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.js +308 -0
  97. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  98. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
  99. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  100. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.js +152 -0
  101. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  102. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.js +67 -0
  103. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  104. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js +111 -0
  105. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  106. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
  107. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  108. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +92 -0
  109. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  110. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
  111. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  112. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
  113. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  114. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
  115. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  116. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js +37 -0
  117. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js.map +1 -1
  118. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js +336 -0
  119. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js.map +1 -0
  120. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js +5 -0
  121. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  122. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +3 -3
  123. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -1
  124. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
  125. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  126. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +3 -3
  127. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  128. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +3 -3
  129. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  130. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js +57 -0
  131. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js.map +1 -1
  132. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js +33 -0
  133. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js.map +1 -1
  134. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js +173 -0
  135. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js.map +1 -1
  136. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-select/dist/index-baa8dc4f.esm.js +2 -2
  137. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-select/dist/index-baa8dc4f.esm.js.map +1 -1
  138. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js +5 -5
  139. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  140. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js +265 -0
  141. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js.map +1 -0
  142. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js +75 -0
  143. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js.map +1 -0
  144. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js +99 -0
  145. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js.map +1 -0
  146. package/dist/cjs/node_modules/@stitches/react/dist/index.js +9 -0
  147. package/dist/cjs/node_modules/@stitches/react/dist/index.js.map +1 -0
  148. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js +140 -0
  149. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  150. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js +11 -0
  151. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  152. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  153. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
  154. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  155. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
  156. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  157. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
  158. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  159. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
  160. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  161. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  162. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  163. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
  164. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  165. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
  166. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  167. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
  168. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  169. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
  170. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  171. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
  172. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  173. package/dist/cjs/node_modules/react-select/dist/index-a301f526.esm.js +2 -2
  174. package/dist/cjs/node_modules/react-select/dist/index-a301f526.esm.js.map +1 -1
  175. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
  176. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  177. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
  178. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  179. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
  180. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  181. package/dist/cjs/node_modules/style-to-js/cjs/index.js +1 -1
  182. package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
  183. package/dist/cjs/node_modules/tslib/tslib.es6.js +60 -0
  184. package/dist/cjs/node_modules/tslib/tslib.es6.js.map +1 -0
  185. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
  186. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  187. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +70 -0
  188. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  189. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
  190. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  191. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
  192. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  193. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
  194. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  195. package/dist/cjs/packages/frontend-templates/slitches.config.js +392 -0
  196. package/dist/cjs/packages/frontend-templates/slitches.config.js.map +1 -0
  197. package/dist/cjs/popover/popover.js +55 -0
  198. package/dist/cjs/popover/popover.js.map +1 -0
  199. package/dist/cjs/single-mapping/components/mapping.js +3 -3
  200. package/dist/cjs/single-mapping/components/mapping.js.map +1 -1
  201. package/dist/cjs/single-mapping/index.js +10 -16
  202. package/dist/cjs/single-mapping/index.js.map +1 -1
  203. package/dist/cjs/triggers/components/subcomponents.js +22 -21
  204. package/dist/cjs/triggers/components/subcomponents.js.map +1 -1
  205. package/dist/cjs/triggers/components/trigger.js +17 -14
  206. package/dist/cjs/triggers/components/trigger.js.map +1 -1
  207. package/dist/cjs/triggers/index.js +25 -21
  208. package/dist/cjs/triggers/index.js.map +1 -1
  209. package/dist/es/_virtual/index8.js +2 -2
  210. package/dist/es/_virtual/index9.js +2 -2
  211. package/dist/es/cascader-dropdown/cascader-dropdown-breadcrumb.js +116 -0
  212. package/dist/es/cascader-dropdown/cascader-dropdown-breadcrumb.js.map +1 -0
  213. package/dist/es/cascader-dropdown/cascader-dropdown-content.js +184 -0
  214. package/dist/es/cascader-dropdown/cascader-dropdown-content.js.map +1 -0
  215. package/dist/es/cascader-dropdown/cascader-dropdown-item.js +63 -0
  216. package/dist/es/cascader-dropdown/cascader-dropdown-item.js.map +1 -0
  217. package/dist/es/cascader-dropdown/cascader-dropdown-list.js +81 -0
  218. package/dist/es/cascader-dropdown/cascader-dropdown-list.js.map +1 -0
  219. package/dist/es/cascader-dropdown/cascader-dropdown-node.js +88 -0
  220. package/dist/es/cascader-dropdown/cascader-dropdown-node.js.map +1 -0
  221. package/dist/es/cascader-dropdown/cascader-dropdown-provider.js +170 -0
  222. package/dist/es/cascader-dropdown/cascader-dropdown-provider.js.map +1 -0
  223. package/dist/es/cascader-dropdown/cascader-dropdown-root-node.js +54 -0
  224. package/dist/es/cascader-dropdown/cascader-dropdown-root-node.js.map +1 -0
  225. package/dist/es/cascader-dropdown/cascader-dropdown-search-input.js +139 -0
  226. package/dist/es/cascader-dropdown/cascader-dropdown-search-input.js.map +1 -0
  227. package/dist/es/cascader-dropdown/cascader-dropdown-search-list.js +172 -0
  228. package/dist/es/cascader-dropdown/cascader-dropdown-search-list.js.map +1 -0
  229. package/dist/es/cascader-dropdown/cascader-dropdown-value-selector.js +478 -0
  230. package/dist/es/cascader-dropdown/cascader-dropdown-value-selector.js.map +1 -0
  231. package/dist/es/cascader-dropdown/cascader-dropdown.js +96 -0
  232. package/dist/es/cascader-dropdown/cascader-dropdown.js.map +1 -0
  233. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-constants.js +27 -0
  234. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-constants.js.map +1 -0
  235. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-utils.js +129 -0
  236. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-utils.js.map +1 -0
  237. package/dist/es/cascader-dropdown/styled/StyledItem.js +39 -0
  238. package/dist/es/cascader-dropdown/styled/StyledItem.js.map +1 -0
  239. package/dist/es/cascader-dropdown/use-value.js +42 -0
  240. package/dist/es/cascader-dropdown/use-value.js.map +1 -0
  241. package/dist/es/commons/components/NamingModal.js +78 -0
  242. package/dist/es/commons/components/NamingModal.js.map +1 -0
  243. package/dist/es/commons/constants/index.js +1 -2
  244. package/dist/es/commons/constants/index.js.map +1 -1
  245. package/dist/es/dynamic-mapping/components/mapping.js +498 -0
  246. package/dist/es/dynamic-mapping/components/mapping.js.map +1 -0
  247. package/dist/es/dynamic-mapping/index.js +1094 -0
  248. package/dist/es/dynamic-mapping/index.js.map +1 -0
  249. package/dist/es/filter/filter-pill-value-selector.js +52 -0
  250. package/dist/es/filter/filter-pill-value-selector.js.map +1 -0
  251. package/dist/es/filter/filter-pill.js +298 -0
  252. package/dist/es/filter/filter-pill.js.map +1 -0
  253. package/dist/es/index.js +3 -0
  254. package/dist/es/index.js.map +1 -1
  255. package/dist/es/integration-template/components/dashboard.js +222 -193
  256. package/dist/es/integration-template/components/dashboard.js.map +1 -1
  257. package/dist/es/integration-template/index.js +29 -12
  258. package/dist/es/integration-template/index.js.map +1 -1
  259. package/dist/es/mapping/components/mapping.js +4 -5
  260. package/dist/es/mapping/components/mapping.js.map +1 -1
  261. package/dist/es/mapping/constants/index.js.map +1 -1
  262. package/dist/es/mapping/index.js +31 -4
  263. package/dist/es/mapping/index.js.map +1 -1
  264. package/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +812 -0
  265. package/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  266. package/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +348 -0
  267. package/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  268. package/dist/es/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +734 -0
  269. package/dist/es/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  270. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +155 -0
  271. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  272. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
  273. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  274. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js +62 -4
  275. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -1
  276. package/dist/es/node_modules/@internationalized/date/dist/conversion.js +33 -2
  277. package/dist/es/node_modules/@internationalized/date/dist/conversion.js.map +1 -1
  278. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js +117 -1
  279. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js.map +1 -1
  280. package/dist/es/node_modules/@internationalized/date/dist/queries.js +9 -1
  281. package/dist/es/node_modules/@internationalized/date/dist/queries.js.map +1 -1
  282. package/dist/es/node_modules/@internationalized/date/dist/string.js +11 -1
  283. package/dist/es/node_modules/@internationalized/date/dist/string.js.map +1 -1
  284. package/dist/es/node_modules/@internationalized/date/dist/utils.js +2 -1
  285. package/dist/es/node_modules/@internationalized/date/dist/utils.js.map +1 -1
  286. package/dist/es/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  287. package/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  288. package/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
  289. package/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  290. package/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +40 -0
  291. package/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  292. package/dist/es/node_modules/@radix-ui/react-context/dist/index.js +64 -0
  293. package/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  294. package/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
  295. package/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  296. package/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -0
  297. package/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  298. package/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
  299. package/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  300. package/dist/es/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  301. package/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  302. package/dist/es/node_modules/@radix-ui/react-popover/dist/index.js +302 -0
  303. package/dist/es/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  304. package/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +279 -0
  305. package/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  306. package/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
  307. package/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  308. package/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +131 -0
  309. package/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  310. package/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +44 -0
  311. package/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  312. package/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
  313. package/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  314. package/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  315. package/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  316. package/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +71 -0
  317. package/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  318. package/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
  319. package/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  320. package/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
  321. package/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  322. package/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
  323. package/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  324. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js +37 -1
  325. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js.map +1 -1
  326. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js +334 -0
  327. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js.map +1 -0
  328. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js +5 -1
  329. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  330. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js +1 -1
  331. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
  332. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -1
  333. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
  334. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  335. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +2 -2
  336. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  337. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
  338. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  339. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js +58 -2
  340. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js.map +1 -1
  341. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js +33 -1
  342. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js.map +1 -1
  343. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js +175 -3
  344. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js.map +1 -1
  345. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js +5 -5
  346. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  347. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js +263 -0
  348. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js.map +1 -0
  349. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js +73 -0
  350. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js.map +1 -0
  351. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js +97 -0
  352. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js.map +1 -0
  353. package/dist/es/node_modules/@stitches/react/dist/index.js +6 -0
  354. package/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  355. package/dist/es/node_modules/aria-hidden/dist/es2015/index.js +138 -0
  356. package/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  357. package/dist/es/node_modules/get-nonce/dist/es2015/index.js +9 -0
  358. package/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  359. package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  360. package/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  361. package/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  362. package/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
  363. package/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  364. package/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  365. package/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  366. package/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  367. package/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  368. package/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
  369. package/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  370. package/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  371. package/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  372. package/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  373. package/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  374. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
  375. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  376. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
  377. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  378. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
  379. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  380. package/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
  381. package/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  382. package/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
  383. package/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  384. package/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
  385. package/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  386. package/dist/es/node_modules/style-to-js/cjs/index.js +1 -1
  387. package/dist/es/node_modules/style-to-object/cjs/index.js +1 -1
  388. package/dist/es/node_modules/tslib/tslib.es6.js +57 -0
  389. package/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  390. package/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
  391. package/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  392. package/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +49 -0
  393. package/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  394. package/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
  395. package/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  396. package/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
  397. package/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  398. package/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
  399. package/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  400. package/dist/es/packages/frontend-templates/slitches.config.js +379 -0
  401. package/dist/es/packages/frontend-templates/slitches.config.js.map +1 -0
  402. package/dist/es/popover/popover.js +52 -0
  403. package/dist/es/popover/popover.js.map +1 -0
  404. package/dist/es/single-mapping/components/mapping.js +3 -3
  405. package/dist/es/single-mapping/components/mapping.js.map +1 -1
  406. package/dist/es/single-mapping/index.js +10 -16
  407. package/dist/es/single-mapping/index.js.map +1 -1
  408. package/dist/es/triggers/components/subcomponents.js +22 -21
  409. package/dist/es/triggers/components/subcomponents.js.map +1 -1
  410. package/dist/es/triggers/components/trigger.js +17 -14
  411. package/dist/es/triggers/components/trigger.js.map +1 -1
  412. package/dist/es/triggers/index.js +25 -21
  413. package/dist/es/triggers/index.js.map +1 -1
  414. package/dist/index.d.ts +236 -23
  415. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDate.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/CalendarDate.mjs"],"sourcesContent":["import {add as $735220c2d4774dd3$export$e16d8520af44a096, addTime as $735220c2d4774dd3$export$7ed87b6bc2506470, addZoned as $735220c2d4774dd3$export$96b1d28349274637, constrain as $735220c2d4774dd3$export$c4e2ecac49351ef2, constrainTime as $735220c2d4774dd3$export$7555de1e070510cb, cycleDate as $735220c2d4774dd3$export$d52ced6badfb9a4c, cycleTime as $735220c2d4774dd3$export$dd02b3e0007dfe28, cycleZoned as $735220c2d4774dd3$export$9a297d111fc86b79, set as $735220c2d4774dd3$export$adaa4cf7ef1b65be, setTime as $735220c2d4774dd3$export$e5d5e1c1822b6e56, setZoned as $735220c2d4774dd3$export$31b5430eb18be4f8, subtract as $735220c2d4774dd3$export$4e2d2ead65e5f7e3, subtractTime as $735220c2d4774dd3$export$fe34d3a381cd7501, subtractZoned as $735220c2d4774dd3$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $14e0f24ef4ac5c92$export$68781ddf31c0090f, compareTime as $14e0f24ef4ac5c92$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $fae977aafc393c5c$export$4223de14708adc63, dateToString as $fae977aafc393c5c$export$60dfd74aa96791bd, timeToString as $fae977aafc393c5c$export$f59dee82248f5ad4, zonedDateTimeToString as $fae977aafc393c5c$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $11d87f3f76e88657$export$b21e0b124e224484, toDate as $11d87f3f76e88657$export$e67a095c620b86fe, toZoned as $11d87f3f76e88657$export$84c95a83c799e074, zonedToDate as $11d87f3f76e88657$export$83aac07b4c37b25} from \"./conversion.mjs\";\nimport {_ as $aksy1$_} from \"@swc/helpers/_/_class_private_field_init\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $35ea8db9cb2ccb90$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n// If that behavior is desired, use the AnyCalendarDate interface instead.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$99faa760c7908e4f {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */ toDate(timeZone) {\n return (0, $11d87f3f76e88657$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$60dfd74aa96791bd)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n return (0, $14e0f24ef4ac5c92$export$68781ddf31c0090f)(this, b);\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type1 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$680ea196effce5f {\n /** Returns a copy of this time. */ copy() {\n return new $35ea8db9cb2ccb90$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$fe34d3a381cd7501)(this, duration);\n }\n /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$f59dee82248f5ad4)(this);\n }\n /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */ compare(b) {\n return (0, $14e0f24ef4ac5c92$export$c19a80a9721b80f6)(this, b);\n }\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type1, {\n writable: true,\n value: void 0\n });\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $735220c2d4774dd3$export$7555de1e070510cb)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type2 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$ca871e8dbb80966f {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$adaa4cf7ef1b65be)((0, $735220c2d4774dd3$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $735220c2d4774dd3$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $735220c2d4774dd3$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $11d87f3f76e88657$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$4223de14708adc63)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n let res = (0, $14e0f24ef4ac5c92$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $14e0f24ef4ac5c92$export$c19a80a9721b80f6)(this, (0, $11d87f3f76e88657$export$b21e0b124e224484)(b));\n return res;\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type2, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type3 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$d3b7288e7994edea {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$6814caac34ca03c7)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields, disambiguation) {\n return (0, $735220c2d4774dd3$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $11d87f3f76e88657$export$83aac07b4c37b25)(this);\n }\n /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */ toString() {\n return (0, $fae977aafc393c5c$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $11d87f3f76e88657$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type3, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\n\n\nexport {$35ea8db9cb2ccb90$export$99faa760c7908e4f as CalendarDate, $35ea8db9cb2ccb90$export$680ea196effce5f as Time, $35ea8db9cb2ccb90$export$ca871e8dbb80966f as CalendarDateTime, $35ea8db9cb2ccb90$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.module.js.map\n"],"names":["$3b62074eb05584b2$export$80ee6245ec4f29ec","$735220c2d4774dd3$export$e16d8520af44a096","$735220c2d4774dd3$export$4e2d2ead65e5f7e3","$735220c2d4774dd3$export$adaa4cf7ef1b65be","$735220c2d4774dd3$export$d52ced6badfb9a4c","$11d87f3f76e88657$export$e67a095c620b86fe","$fae977aafc393c5c$export$60dfd74aa96791bd","$14e0f24ef4ac5c92$export$68781ddf31c0090f","$aksy1$_","$735220c2d4774dd3$export$c4e2ecac49351ef2","$735220c2d4774dd3$export$e5d5e1c1822b6e56","$735220c2d4774dd3$export$dd02b3e0007dfe28","$fae977aafc393c5c$export$4223de14708adc63","$14e0f24ef4ac5c92$export$c19a80a9721b80f6","$11d87f3f76e88657$export$b21e0b124e224484"],"mappings":";;;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,+BAA+B,CAAC,IAAI,EAAE;AAC/C,IAAI,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,KAAQA,mCAAyC,GAAG,CAAC;AACrH,IAAI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IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,+BAA+B,CAAC,IAAI,CAAC,CAAC;AACtF,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACjC,QAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;AACvB,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,QAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;AACvB,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACtC,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACxC,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACxC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7C,QAAQ,CAAIC,sBAAyC,EAAE,IAAI,CAAC,CAAC;AAC7D,KAAK;AACL;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarDate.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/CalendarDate.mjs"],"sourcesContent":["import {add as $735220c2d4774dd3$export$e16d8520af44a096, addTime as $735220c2d4774dd3$export$7ed87b6bc2506470, addZoned as $735220c2d4774dd3$export$96b1d28349274637, constrain as $735220c2d4774dd3$export$c4e2ecac49351ef2, constrainTime as $735220c2d4774dd3$export$7555de1e070510cb, cycleDate as $735220c2d4774dd3$export$d52ced6badfb9a4c, cycleTime as $735220c2d4774dd3$export$dd02b3e0007dfe28, cycleZoned as $735220c2d4774dd3$export$9a297d111fc86b79, set as $735220c2d4774dd3$export$adaa4cf7ef1b65be, setTime as $735220c2d4774dd3$export$e5d5e1c1822b6e56, setZoned as $735220c2d4774dd3$export$31b5430eb18be4f8, subtract as $735220c2d4774dd3$export$4e2d2ead65e5f7e3, subtractTime as $735220c2d4774dd3$export$fe34d3a381cd7501, subtractZoned as $735220c2d4774dd3$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $14e0f24ef4ac5c92$export$68781ddf31c0090f, compareTime as $14e0f24ef4ac5c92$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $fae977aafc393c5c$export$4223de14708adc63, dateToString as $fae977aafc393c5c$export$60dfd74aa96791bd, timeToString as $fae977aafc393c5c$export$f59dee82248f5ad4, zonedDateTimeToString as $fae977aafc393c5c$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $11d87f3f76e88657$export$b21e0b124e224484, toDate as $11d87f3f76e88657$export$e67a095c620b86fe, toZoned as $11d87f3f76e88657$export$84c95a83c799e074, zonedToDate as $11d87f3f76e88657$export$83aac07b4c37b25} from \"./conversion.mjs\";\nimport {_ as $aksy1$_} from \"@swc/helpers/_/_class_private_field_init\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $35ea8db9cb2ccb90$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n// If that behavior is desired, use the AnyCalendarDate interface instead.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$99faa760c7908e4f {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */ toDate(timeZone) {\n return (0, $11d87f3f76e88657$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$60dfd74aa96791bd)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n return (0, $14e0f24ef4ac5c92$export$68781ddf31c0090f)(this, b);\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type1 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$680ea196effce5f {\n /** Returns a copy of this time. */ copy() {\n return new $35ea8db9cb2ccb90$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$fe34d3a381cd7501)(this, duration);\n }\n /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$f59dee82248f5ad4)(this);\n }\n /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */ compare(b) {\n return (0, $14e0f24ef4ac5c92$export$c19a80a9721b80f6)(this, b);\n }\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type1, {\n writable: true,\n value: void 0\n });\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $735220c2d4774dd3$export$7555de1e070510cb)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type2 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$ca871e8dbb80966f {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $35ea8db9cb2ccb90$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $735220c2d4774dd3$export$adaa4cf7ef1b65be)((0, $735220c2d4774dd3$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $735220c2d4774dd3$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $735220c2d4774dd3$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $11d87f3f76e88657$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $fae977aafc393c5c$export$4223de14708adc63)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n let res = (0, $14e0f24ef4ac5c92$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $14e0f24ef4ac5c92$export$c19a80a9721b80f6)(this, (0, $11d87f3f76e88657$export$b21e0b124e224484)(b));\n return res;\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type2, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\nvar // This prevents TypeScript from allowing other types with the same fields to match.\n// @ts-ignore\n$35ea8db9cb2ccb90$var$_type3 = /*#__PURE__*/ new WeakMap();\nclass $35ea8db9cb2ccb90$export$d3b7288e7994edea {\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $735220c2d4774dd3$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $735220c2d4774dd3$export$6814caac34ca03c7)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields, disambiguation) {\n return (0, $735220c2d4774dd3$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $735220c2d4774dd3$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $11d87f3f76e88657$export$83aac07b4c37b25)(this);\n }\n /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */ toString() {\n return (0, $fae977aafc393c5c$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $11d87f3f76e88657$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n constructor(...args){\n (0, $aksy1$_)(this, $35ea8db9cb2ccb90$var$_type3, {\n writable: true,\n value: void 0\n });\n let [calendar, era, year, month, day] = $35ea8db9cb2ccb90$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(this);\n }\n}\n\n\nexport {$35ea8db9cb2ccb90$export$99faa760c7908e4f as CalendarDate, $35ea8db9cb2ccb90$export$680ea196effce5f as Time, $35ea8db9cb2ccb90$export$ca871e8dbb80966f as CalendarDateTime, $35ea8db9cb2ccb90$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.module.js.map\n"],"names":["$3b62074eb05584b2$export$80ee6245ec4f29ec","$735220c2d4774dd3$export$e16d8520af44a096","$735220c2d4774dd3$export$4e2d2ead65e5f7e3","$735220c2d4774dd3$export$adaa4cf7ef1b65be","$735220c2d4774dd3$export$d52ced6badfb9a4c","$11d87f3f76e88657$export$e67a095c620b86fe","$fae977aafc393c5c$export$60dfd74aa96791bd","$14e0f24ef4ac5c92$export$68781ddf31c0090f","$aksy1$_","$735220c2d4774dd3$export$c4e2ecac49351ef2","$735220c2d4774dd3$export$e5d5e1c1822b6e56","$735220c2d4774dd3$export$dd02b3e0007dfe28","$fae977aafc393c5c$export$4223de14708adc63","$14e0f24ef4ac5c92$export$c19a80a9721b80f6","$11d87f3f76e88657$export$b21e0b124e224484","$735220c2d4774dd3$export$96b1d28349274637","$735220c2d4774dd3$export$6814caac34ca03c7","$735220c2d4774dd3$export$31b5430eb18be4f8","$735220c2d4774dd3$export$9a297d111fc86b79","$11d87f3f76e88657$export$83aac07b4c37b25","$fae977aafc393c5c$export$bf79f1ebf4b18792","$11d87f3f76e88657$export$84c95a83c799e074"],"mappings":";;;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,+BAA+B,CAAC,IAAI,EAAE;AAC/C,IAAI,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,KAAQA,mCAAyC,GAAG,CAAC;AACrH,IAAI,IAAI,GAAG,CAAC;AACZ,IAAI,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AACxD,SAAS;AACT,QAAQ,IAAI,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;AACtC,QAAQ,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACpC,KAAK;AACL,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AAC5B,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AAC7B,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AAC3B,IAAI,OAAO;AACX,QAAQ,QAAQ;AAChB,QAAQ,GAAG;AACX,QAAQ,IA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,EAAE,CAAC;AAClC,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACjC,QAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;AACvB,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,QAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;AACvB,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACjC,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACtC,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACxC,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACxC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7C,QAAQ,CAAIC,sBAAyC,EAAE,IAAI,CAAC,CAAC;AAC7D,KAAK;AACL;;;;;;","x_google_ignoreList":[0]}
@@ -130,6 +130,21 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
130
130
  function $11d87f3f76e88657$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {
131
131
  return new Date($11d87f3f76e88657$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));
132
132
  }
133
+ function $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {
134
+ let offset = $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone);
135
+ let date = new Date(ms + offset);
136
+ let year = date.getUTCFullYear();
137
+ let month = date.getUTCMonth() + 1;
138
+ let day = date.getUTCDate();
139
+ let hour = date.getUTCHours();
140
+ let minute = date.getUTCMinutes();
141
+ let second = date.getUTCSeconds();
142
+ let millisecond = date.getUTCMilliseconds();
143
+ return new (CalendarDate.ZonedDateTime)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);
144
+ }
145
+ function $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {
146
+ return new (CalendarDate.CalendarDate)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);
147
+ }
133
148
  function $11d87f3f76e88657$export$b21e0b124e224484(date, time) {
134
149
  let hour = 0, minute = 0, second = 0, millisecond = 0;
135
150
  if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);
@@ -149,11 +164,32 @@ function $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {
149
164
  (manipulation.constrain)(copy);
150
165
  return copy;
151
166
  }
167
+ function $11d87f3f76e88657$export$84c95a83c799e074(date, timeZone, disambiguation) {
168
+ if (date instanceof (CalendarDate.ZonedDateTime)) {
169
+ if (date.timeZone === timeZone) return date;
170
+ return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);
171
+ }
172
+ let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation);
173
+ return $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone);
174
+ }
175
+ function $11d87f3f76e88657$export$83aac07b4c37b25(date) {
176
+ let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;
177
+ return new Date(ms);
178
+ }
179
+ function $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone) {
180
+ let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;
181
+ return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone), date.calendar);
182
+ }
152
183
 
153
184
  exports.epochFromDate = $11d87f3f76e88657$export$bd4fb2bc8bb06fb;
185
+ exports.fromAbsolute = $11d87f3f76e88657$export$1b96692a1ba042ac;
154
186
  exports.getTimeZoneOffset = $11d87f3f76e88657$export$59c99f3515d3493f;
155
187
  exports.toAbsolute = $11d87f3f76e88657$export$5107c82f94518f5c;
156
188
  exports.toCalendar = $11d87f3f76e88657$export$b4a036af3fc0b032;
189
+ exports.toCalendarDate = $11d87f3f76e88657$export$93522d1a439f3617;
157
190
  exports.toCalendarDateTime = $11d87f3f76e88657$export$b21e0b124e224484;
158
191
  exports.toDate = $11d87f3f76e88657$export$e67a095c620b86fe;
192
+ exports.toTimeZone = $11d87f3f76e88657$export$538b00033cc11c75;
193
+ exports.toZoned = $11d87f3f76e88657$export$84c95a83c799e074;
194
+ exports.zonedToDate = $11d87f3f76e88657$export$83aac07b4c37b25;
159
195
  //# sourceMappingURL=conversion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversion.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/conversion.mjs"],"sourcesContent":["import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f, CalendarDateTime as $35ea8db9cb2ccb90$export$ca871e8dbb80966f, Time as $35ea8db9cb2ccb90$export$680ea196effce5f, ZonedDateTime as $35ea8db9cb2ccb90$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {constrain as $735220c2d4774dd3$export$c4e2ecac49351ef2} from \"./manipulation.mjs\";\nimport {getExtendedYear as $3b62074eb05584b2$export$c36e0ecb2d4fa69d, GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\nimport {getLocalTimeZone as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, isEqualCalendar as $14e0f24ef4ac5c92$export$dbc69fd56b53d5e} from \"./queries.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n\n\nfunction $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) {\n date = $11d87f3f76e88657$export$b4a036af3fc0b032(date, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(date.era, date.year);\n return $11d87f3f76e88657$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);\n}\nfunction $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {\n // Note: Date.UTC() interprets one and two-digit years as being in the\n // 20th century, so don't use it\n let date = new Date();\n date.setUTCHours(hour, minute, second, millisecond);\n date.setUTCFullYear(year, month - 1, day);\n return date.getTime();\n}\nfunction $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone) {\n // Fast path for UTC.\n if (timeZone === 'UTC') return 0;\n // Fast path: for local timezone after 1970, use native Date.\n if (ms > 0 && timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)()) return new Date(ms).getTimezoneOffset() * -60000;\n let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone);\n let utc = $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, 0);\n return utc - Math.floor(ms / 1000) * 1000;\n}\nconst $11d87f3f76e88657$var$formattersByTimeZone = new Map();\nfunction $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {\n let formatter = $11d87f3f76e88657$var$formattersByTimeZone.get(timeZone);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat('en-US', {\n timeZone: timeZone,\n hour12: false,\n era: 'short',\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n });\n $11d87f3f76e88657$var$formattersByTimeZone.set(timeZone, formatter);\n }\n let parts = formatter.formatToParts(new Date(ms));\n let namedParts = {};\n for (let part of parts)if (part.type !== 'literal') namedParts[part.type] = part.value;\n return {\n // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253\n year: namedParts.era === 'BC' || namedParts.era === 'B' ? -namedParts.year + 1 : +namedParts.year,\n month: +namedParts.month,\n day: +namedParts.day,\n hour: namedParts.hour === '24' ? 0 : +namedParts.hour,\n minute: +namedParts.minute,\n second: +namedParts.second\n };\n}\nconst $11d87f3f76e88657$var$DAYMILLIS = 86400000;\nfunction $11d87f3f76e88657$export$136f38efe7caf549(date, timeZone) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date);\n let earlier = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let later = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n return $11d87f3f76e88657$var$getValidWallTimes(date, timeZone, earlier, later);\n}\nfunction $11d87f3f76e88657$var$getValidWallTimes(date, timeZone, earlier, later) {\n let found = earlier === later ? [\n earlier\n ] : [\n earlier,\n later\n ];\n return found.filter((absolute)=>$11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute));\n}\nfunction $11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute) {\n let parts = $11d87f3f76e88657$var$getTimeZoneParts(absolute, timeZone);\n return date.year === parts.year && date.month === parts.month && date.day === parts.day && date.hour === parts.hour && date.minute === parts.minute && date.second === parts.second;\n}\nfunction $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {\n let dateTime = $11d87f3f76e88657$export$b21e0b124e224484(date);\n // Fast path: if the time zone is UTC, use native Date.\n if (timeZone === 'UTC') return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);\n // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.\n if (timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)() && disambiguation === 'compatible') {\n dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032(dateTime, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n // Don't use Date constructor here because two-digit years are interpreted in the 20th century.\n let date = new Date();\n let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);\n date.setFullYear(year, dateTime.month - 1, dateTime.day);\n date.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n return date.getTime();\n }\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);\n let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);\n if (valid.length === 1) return valid[0];\n if (valid.length > 1) switch(disambiguation){\n // 'compatible' means 'earlier' for \"fall back\" transitions\n case 'compatible':\n case 'earlier':\n return valid[0];\n case 'later':\n return valid[valid.length - 1];\n case 'reject':\n throw new RangeError('Multiple possible absolute times found');\n }\n switch(disambiguation){\n case 'earlier':\n return Math.min(ms - offsetBefore, ms - offsetAfter);\n // 'compatible' means 'later' for \"spring forward\" transitions\n case 'compatible':\n case 'later':\n return Math.max(ms - offsetBefore, ms - offsetAfter);\n case 'reject':\n throw new RangeError('No such absolute time found');\n }\n}\nfunction $11d87f3f76e88657$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {\n return new Date($11d87f3f76e88657$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));\n}\nfunction $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {\n let offset = $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone);\n let date = new Date(ms + offset);\n let year = date.getUTCFullYear();\n let month = date.getUTCMonth() + 1;\n let day = date.getUTCDate();\n let hour = date.getUTCHours();\n let minute = date.getUTCMinutes();\n let second = date.getUTCSeconds();\n let millisecond = date.getUTCMilliseconds();\n return new (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);\n}\nfunction $11d87f3f76e88657$export$e57ff100d91bd4b9(date, timeZone) {\n return $11d87f3f76e88657$export$1b96692a1ba042ac(date.getTime(), timeZone);\n}\nfunction $11d87f3f76e88657$export$d7f92bcd3596b086(date) {\n return $11d87f3f76e88657$export$e57ff100d91bd4b9(date, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)());\n}\nfunction $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {\n return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);\n}\nfunction $11d87f3f76e88657$export$6f4d78149f3f53ac(date) {\n return {\n era: date.era,\n year: date.year,\n month: date.month,\n day: date.day\n };\n}\nfunction $11d87f3f76e88657$export$4d0393e732857be5(date) {\n return {\n hour: date.hour,\n minute: date.minute,\n second: date.second,\n millisecond: date.millisecond\n };\n}\nfunction $11d87f3f76e88657$export$b21e0b124e224484(date, time) {\n let hour = 0, minute = 0, second = 0, millisecond = 0;\n if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);\n else if ('hour' in date && !time) return date;\n if (time) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = time);\n return new (0, $35ea8db9cb2ccb90$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);\n}\nfunction $11d87f3f76e88657$export$d33f79e3ffc3dc83(dateTime) {\n return new (0, $35ea8db9cb2ccb90$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n}\nfunction $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {\n if ((0, $14e0f24ef4ac5c92$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;\n let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));\n let copy = date.copy();\n copy.calendar = calendar;\n copy.era = calendarDate.era;\n copy.year = calendarDate.year;\n copy.month = calendarDate.month;\n copy.day = calendarDate.day;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(copy);\n return copy;\n}\nfunction $11d87f3f76e88657$export$84c95a83c799e074(date, timeZone, disambiguation) {\n if (date instanceof (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)) {\n if (date.timeZone === timeZone) return date;\n return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);\n }\n let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation);\n return $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone);\n}\nfunction $11d87f3f76e88657$export$83aac07b4c37b25(date) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;\n return new Date(ms);\n}\nfunction $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;\n return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone), date.calendar);\n}\nfunction $11d87f3f76e88657$export$d9b67bc93c097491(date) {\n return $11d87f3f76e88657$export$538b00033cc11c75(date, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)());\n}\n\n\nexport {$11d87f3f76e88657$export$bd4fb2bc8bb06fb as epochFromDate, $11d87f3f76e88657$export$b4a036af3fc0b032 as toCalendar, $11d87f3f76e88657$export$59c99f3515d3493f as getTimeZoneOffset, $11d87f3f76e88657$export$136f38efe7caf549 as possibleAbsolutes, $11d87f3f76e88657$export$5107c82f94518f5c as toAbsolute, $11d87f3f76e88657$export$b21e0b124e224484 as toCalendarDateTime, $11d87f3f76e88657$export$e67a095c620b86fe as toDate, $11d87f3f76e88657$export$1b96692a1ba042ac as fromAbsolute, $11d87f3f76e88657$export$e57ff100d91bd4b9 as fromDate, $11d87f3f76e88657$export$d7f92bcd3596b086 as fromDateToLocal, $11d87f3f76e88657$export$93522d1a439f3617 as toCalendarDate, $11d87f3f76e88657$export$6f4d78149f3f53ac as toDateFields, $11d87f3f76e88657$export$4d0393e732857be5 as toTimeFields, $11d87f3f76e88657$export$d33f79e3ffc3dc83 as toTime, $11d87f3f76e88657$export$84c95a83c799e074 as toZoned, $11d87f3f76e88657$export$538b00033cc11c75 as toTimeZone, $11d87f3f76e88657$export$83aac07b4c37b25 as zonedToDate, $11d87f3f76e88657$export$d9b67bc93c097491 as toLocalTimeZone};\n//# sourceMappingURL=conversion.module.js.map\n"],"names":["$3b62074eb05584b2$export$80ee6245ec4f29ec","$3b62074eb05584b2$export$c36e0ecb2d4fa69d","$14e0f24ef4ac5c92$export$aa8b41735afcabd2","$35ea8db9cb2ccb90$export$ca871e8dbb80966f","$14e0f24ef4ac5c92$export$dbc69fd56b53d5e","$735220c2d4774dd3$export$c4e2ecac49351ef2"],"mappings":";;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,wCAAwC,CAAC,IAAI,EAAE;AACxD,IAAI,IAAI,GAAG,yCAAyC,CAAC,IAAI,EAAE,KAAQA,mCAAyC,GAAG,CAAC,CAAC;AACjH,IAAI,IAAI,IAAI,GAAG,CAAIC,iCAAyC,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AACnF,IAAI,OAAO,oCAAoC,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE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AAChB;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"conversion.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/conversion.mjs"],"sourcesContent":["import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f, CalendarDateTime as $35ea8db9cb2ccb90$export$ca871e8dbb80966f, Time as $35ea8db9cb2ccb90$export$680ea196effce5f, ZonedDateTime as $35ea8db9cb2ccb90$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {constrain as $735220c2d4774dd3$export$c4e2ecac49351ef2} from \"./manipulation.mjs\";\nimport {getExtendedYear as $3b62074eb05584b2$export$c36e0ecb2d4fa69d, GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\nimport {getLocalTimeZone as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, isEqualCalendar as $14e0f24ef4ac5c92$export$dbc69fd56b53d5e} from \"./queries.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n\n\nfunction $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) {\n date = $11d87f3f76e88657$export$b4a036af3fc0b032(date, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(date.era, date.year);\n return $11d87f3f76e88657$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);\n}\nfunction $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {\n // Note: Date.UTC() interprets one and two-digit years as being in the\n // 20th century, so don't use it\n let date = new Date();\n date.setUTCHours(hour, minute, second, millisecond);\n date.setUTCFullYear(year, month - 1, day);\n return date.getTime();\n}\nfunction $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone) {\n // Fast path for UTC.\n if (timeZone === 'UTC') return 0;\n // Fast path: for local timezone after 1970, use native Date.\n if (ms > 0 && timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)()) return new Date(ms).getTimezoneOffset() * -60000;\n let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone);\n let utc = $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, 0);\n return utc - Math.floor(ms / 1000) * 1000;\n}\nconst $11d87f3f76e88657$var$formattersByTimeZone = new Map();\nfunction $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {\n let formatter = $11d87f3f76e88657$var$formattersByTimeZone.get(timeZone);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat('en-US', {\n timeZone: timeZone,\n hour12: false,\n era: 'short',\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n });\n $11d87f3f76e88657$var$formattersByTimeZone.set(timeZone, formatter);\n }\n let parts = formatter.formatToParts(new Date(ms));\n let namedParts = {};\n for (let part of parts)if (part.type !== 'literal') namedParts[part.type] = part.value;\n return {\n // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253\n year: namedParts.era === 'BC' || namedParts.era === 'B' ? -namedParts.year + 1 : +namedParts.year,\n month: +namedParts.month,\n day: +namedParts.day,\n hour: namedParts.hour === '24' ? 0 : +namedParts.hour,\n minute: +namedParts.minute,\n second: +namedParts.second\n };\n}\nconst $11d87f3f76e88657$var$DAYMILLIS = 86400000;\nfunction $11d87f3f76e88657$export$136f38efe7caf549(date, timeZone) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date);\n let earlier = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let later = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n return $11d87f3f76e88657$var$getValidWallTimes(date, timeZone, earlier, later);\n}\nfunction $11d87f3f76e88657$var$getValidWallTimes(date, timeZone, earlier, later) {\n let found = earlier === later ? [\n earlier\n ] : [\n earlier,\n later\n ];\n return found.filter((absolute)=>$11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute));\n}\nfunction $11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute) {\n let parts = $11d87f3f76e88657$var$getTimeZoneParts(absolute, timeZone);\n return date.year === parts.year && date.month === parts.month && date.day === parts.day && date.hour === parts.hour && date.minute === parts.minute && date.second === parts.second;\n}\nfunction $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {\n let dateTime = $11d87f3f76e88657$export$b21e0b124e224484(date);\n // Fast path: if the time zone is UTC, use native Date.\n if (timeZone === 'UTC') return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);\n // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.\n if (timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)() && disambiguation === 'compatible') {\n dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032(dateTime, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n // Don't use Date constructor here because two-digit years are interpreted in the 20th century.\n let date = new Date();\n let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);\n date.setFullYear(year, dateTime.month - 1, dateTime.day);\n date.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n return date.getTime();\n }\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);\n let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);\n let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);\n if (valid.length === 1) return valid[0];\n if (valid.length > 1) switch(disambiguation){\n // 'compatible' means 'earlier' for \"fall back\" transitions\n case 'compatible':\n case 'earlier':\n return valid[0];\n case 'later':\n return valid[valid.length - 1];\n case 'reject':\n throw new RangeError('Multiple possible absolute times found');\n }\n switch(disambiguation){\n case 'earlier':\n return Math.min(ms - offsetBefore, ms - offsetAfter);\n // 'compatible' means 'later' for \"spring forward\" transitions\n case 'compatible':\n case 'later':\n return Math.max(ms - offsetBefore, ms - offsetAfter);\n case 'reject':\n throw new RangeError('No such absolute time found');\n }\n}\nfunction $11d87f3f76e88657$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {\n return new Date($11d87f3f76e88657$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));\n}\nfunction $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {\n let offset = $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone);\n let date = new Date(ms + offset);\n let year = date.getUTCFullYear();\n let month = date.getUTCMonth() + 1;\n let day = date.getUTCDate();\n let hour = date.getUTCHours();\n let minute = date.getUTCMinutes();\n let second = date.getUTCSeconds();\n let millisecond = date.getUTCMilliseconds();\n return new (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);\n}\nfunction $11d87f3f76e88657$export$e57ff100d91bd4b9(date, timeZone) {\n return $11d87f3f76e88657$export$1b96692a1ba042ac(date.getTime(), timeZone);\n}\nfunction $11d87f3f76e88657$export$d7f92bcd3596b086(date) {\n return $11d87f3f76e88657$export$e57ff100d91bd4b9(date, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)());\n}\nfunction $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {\n return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);\n}\nfunction $11d87f3f76e88657$export$6f4d78149f3f53ac(date) {\n return {\n era: date.era,\n year: date.year,\n month: date.month,\n day: date.day\n };\n}\nfunction $11d87f3f76e88657$export$4d0393e732857be5(date) {\n return {\n hour: date.hour,\n minute: date.minute,\n second: date.second,\n millisecond: date.millisecond\n };\n}\nfunction $11d87f3f76e88657$export$b21e0b124e224484(date, time) {\n let hour = 0, minute = 0, second = 0, millisecond = 0;\n if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);\n else if ('hour' in date && !time) return date;\n if (time) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = time);\n return new (0, $35ea8db9cb2ccb90$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);\n}\nfunction $11d87f3f76e88657$export$d33f79e3ffc3dc83(dateTime) {\n return new (0, $35ea8db9cb2ccb90$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n}\nfunction $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {\n if ((0, $14e0f24ef4ac5c92$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;\n let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));\n let copy = date.copy();\n copy.calendar = calendar;\n copy.era = calendarDate.era;\n copy.year = calendarDate.year;\n copy.month = calendarDate.month;\n copy.day = calendarDate.day;\n (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(copy);\n return copy;\n}\nfunction $11d87f3f76e88657$export$84c95a83c799e074(date, timeZone, disambiguation) {\n if (date instanceof (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)) {\n if (date.timeZone === timeZone) return date;\n return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);\n }\n let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation);\n return $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone);\n}\nfunction $11d87f3f76e88657$export$83aac07b4c37b25(date) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;\n return new Date(ms);\n}\nfunction $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone) {\n let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;\n return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone), date.calendar);\n}\nfunction $11d87f3f76e88657$export$d9b67bc93c097491(date) {\n return $11d87f3f76e88657$export$538b00033cc11c75(date, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)());\n}\n\n\nexport {$11d87f3f76e88657$export$bd4fb2bc8bb06fb as epochFromDate, $11d87f3f76e88657$export$b4a036af3fc0b032 as toCalendar, $11d87f3f76e88657$export$59c99f3515d3493f as getTimeZoneOffset, $11d87f3f76e88657$export$136f38efe7caf549 as possibleAbsolutes, $11d87f3f76e88657$export$5107c82f94518f5c as toAbsolute, $11d87f3f76e88657$export$b21e0b124e224484 as toCalendarDateTime, $11d87f3f76e88657$export$e67a095c620b86fe as toDate, $11d87f3f76e88657$export$1b96692a1ba042ac as fromAbsolute, $11d87f3f76e88657$export$e57ff100d91bd4b9 as fromDate, $11d87f3f76e88657$export$d7f92bcd3596b086 as fromDateToLocal, $11d87f3f76e88657$export$93522d1a439f3617 as toCalendarDate, $11d87f3f76e88657$export$6f4d78149f3f53ac as toDateFields, $11d87f3f76e88657$export$4d0393e732857be5 as toTimeFields, $11d87f3f76e88657$export$d33f79e3ffc3dc83 as toTime, $11d87f3f76e88657$export$84c95a83c799e074 as toZoned, $11d87f3f76e88657$export$538b00033cc11c75 as toTimeZone, $11d87f3f76e88657$export$83aac07b4c37b25 as zonedToDate, $11d87f3f76e88657$export$d9b67bc93c097491 as toLocalTimeZone};\n//# sourceMappingURL=conversion.module.js.map\n"],"names":["$3b62074eb05584b2$export$80ee6245ec4f29ec","$3b62074eb05584b2$export$c36e0ecb2d4fa69d","$14e0f24ef4ac5c92$export$aa8b41735afcabd2","$35ea8db9cb2ccb90$export$d3b7288e7994edea","$35ea8db9cb2ccb90$export$99faa760c7908e4f","$35ea8db9cb2ccb90$export$ca871e8dbb80966f","$14e0f24ef4ac5c92$export$dbc69fd56b53d5e","$735220c2d4774dd3$export$c4e2ecac49351ef2"],"mappings":";;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,wCAAwC,CAAC,IAAI,EAAE;AACxD,IAAI,IAAI,GAAG,yCAAyC,CAAC,IAAI,EAAE,KAAQA,mCAAyC,GAAG,CAAC,CAAC;AACjH,IAAI,IAAI,IAAI,GAAG,CAAIC,iCAAyC,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AACnF,IAAI,OAAO,oCAAoC,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;AACnI,CAAC;AACD,SAAS,oCAAoC,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE;AACnG;AACA;AACA,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;AAC1B,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;AACxD,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,C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AAC,IAAI,EAAE;AACxD,IAAI,IAAI,EAAE,GAAG,wCAAwC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;AAC1E,IAAI,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;AACxB,CAAC;AACD,SAAS,yCAAyC,CAAC,IAAI,EAAE,QAAQ,EAAE;AACnE,IAAI,IAAI,EAAE,GAAG,wCAAwC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;AAC1E,IAAI,OAAO,yCAAyC,CAAC,yCAAyC,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;AAC7H;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,21 @@
1
1
  'use strict';
2
2
 
3
+ var conversion = require('./conversion.js');
4
+ var GregorianCalendar = require('./GregorianCalendar.js');
5
+
6
+ /*
7
+ * Copyright 2020 Adobe. All rights reserved.
8
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License. You may obtain a copy
10
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software distributed under
13
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
14
+ * OF ANY KIND, either express or implied. See the License for the specific language
15
+ * governing permissions and limitations under the License.
16
+ */
17
+
18
+ const $735220c2d4774dd3$var$ONE_HOUR = 3600000;
3
19
  function $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {
4
20
  let mutableDate = date.copy();
5
21
  let days = 'hour' in mutableDate ? $735220c2d4774dd3$var$addTimeFields(mutableDate, duration) : 0;
@@ -216,14 +232,118 @@ function $735220c2d4774dd3$var$cycleValue(value, amount, min, max, round = false
216
232
  }
217
233
  return value;
218
234
  }
235
+ function $735220c2d4774dd3$export$96b1d28349274637(dateTime, duration) {
236
+ let ms;
237
+ if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {
238
+ let res = $735220c2d4774dd3$export$e16d8520af44a096((conversion.toCalendarDateTime)(dateTime), {
239
+ years: duration.years,
240
+ months: duration.months,
241
+ weeks: duration.weeks,
242
+ days: duration.days
243
+ });
244
+ // Changing the date may change the timezone offset, so we need to recompute
245
+ // using the 'compatible' disambiguation.
246
+ ms = (conversion.toAbsolute)(res, dateTime.timeZone);
247
+ } else // Otherwise, preserve the offset of the original date.
248
+ ms = (conversion.epochFromDate)(dateTime) - dateTime.offset;
249
+ // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.
250
+ // For example, adding one hour during a DST transition may result in the hour field staying the same or
251
+ // skipping an hour. This results in the offset field changing value instead of the specified field.
252
+ ms += duration.milliseconds || 0;
253
+ ms += (duration.seconds || 0) * 1000;
254
+ ms += (duration.minutes || 0) * 60000;
255
+ ms += (duration.hours || 0) * 3600000;
256
+ let res = (conversion.fromAbsolute)(ms, dateTime.timeZone);
257
+ return (conversion.toCalendar)(res, dateTime.calendar);
258
+ }
259
+ function $735220c2d4774dd3$export$6814caac34ca03c7(dateTime, duration) {
260
+ return $735220c2d4774dd3$export$96b1d28349274637(dateTime, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));
261
+ }
262
+ function $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, options) {
263
+ // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.
264
+ // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC
265
+ // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.
266
+ switch(field){
267
+ case 'hour':
268
+ {
269
+ let min = 0;
270
+ let max = 23;
271
+ if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {
272
+ let isPM = dateTime.hour >= 12;
273
+ min = isPM ? 12 : 0;
274
+ max = isPM ? 23 : 11;
275
+ }
276
+ // The minimum and maximum hour may be affected by daylight saving time.
277
+ // For example, it might jump forward at midnight, and skip 1am.
278
+ // Or it might end at midnight and repeat the 11pm hour. To handle this, we get
279
+ // the possible absolute times for the min and max, and find the maximum range
280
+ // that is within the current day.
281
+ let plainDateTime = (conversion.toCalendarDateTime)(dateTime);
282
+ let minDate = (conversion.toCalendar)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {
283
+ hour: min
284
+ }), new (GregorianCalendar.GregorianCalendar)());
285
+ let minAbsolute = [
286
+ (conversion.toAbsolute)(minDate, dateTime.timeZone, 'earlier'),
287
+ (conversion.toAbsolute)(minDate, dateTime.timeZone, 'later')
288
+ ].filter((ms)=>(conversion.fromAbsolute)(ms, dateTime.timeZone).day === minDate.day)[0];
289
+ let maxDate = (conversion.toCalendar)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {
290
+ hour: max
291
+ }), new (GregorianCalendar.GregorianCalendar)());
292
+ let maxAbsolute = [
293
+ (conversion.toAbsolute)(maxDate, dateTime.timeZone, 'earlier'),
294
+ (conversion.toAbsolute)(maxDate, dateTime.timeZone, 'later')
295
+ ].filter((ms)=>(conversion.fromAbsolute)(ms, dateTime.timeZone).day === maxDate.day).pop();
296
+ // Since hours may repeat, we need to operate on the absolute time in milliseconds.
297
+ // This is done in hours from the Unix epoch so that cycleValue works correctly,
298
+ // and then converted back to milliseconds.
299
+ let ms = (conversion.epochFromDate)(dateTime) - dateTime.offset;
300
+ let hours = Math.floor(ms / $735220c2d4774dd3$var$ONE_HOUR);
301
+ let remainder = ms % $735220c2d4774dd3$var$ONE_HOUR;
302
+ ms = $735220c2d4774dd3$var$cycleValue(hours, amount, Math.floor(minAbsolute / $735220c2d4774dd3$var$ONE_HOUR), Math.floor(maxAbsolute / $735220c2d4774dd3$var$ONE_HOUR), options === null || options === void 0 ? void 0 : options.round) * $735220c2d4774dd3$var$ONE_HOUR + remainder;
303
+ // Now compute the new timezone offset, and convert the absolute time back to local time.
304
+ return (conversion.toCalendar)((conversion.fromAbsolute)(ms, dateTime.timeZone), dateTime.calendar);
305
+ }
306
+ case 'minute':
307
+ case 'second':
308
+ case 'millisecond':
309
+ // @ts-ignore
310
+ return $735220c2d4774dd3$export$dd02b3e0007dfe28(dateTime, field, amount, options);
311
+ case 'era':
312
+ case 'year':
313
+ case 'month':
314
+ case 'day':
315
+ {
316
+ let res = $735220c2d4774dd3$export$d52ced6badfb9a4c((conversion.toCalendarDateTime)(dateTime), field, amount, options);
317
+ let ms = (conversion.toAbsolute)(res, dateTime.timeZone);
318
+ return (conversion.toCalendar)((conversion.fromAbsolute)(ms, dateTime.timeZone), dateTime.calendar);
319
+ }
320
+ default:
321
+ throw new Error('Unsupported field ' + field);
322
+ }
323
+ }
324
+ function $735220c2d4774dd3$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {
325
+ // Set the date/time fields, and recompute the UTC offset to account for DST changes.
326
+ // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.
327
+ let plainDateTime = (conversion.toCalendarDateTime)(dateTime);
328
+ let res = $735220c2d4774dd3$export$e5d5e1c1822b6e56($735220c2d4774dd3$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);
329
+ // If the resulting plain date time values are equal, return the original time.
330
+ // We don't want to change the offset when setting the time to the same value.
331
+ if (res.compare(plainDateTime) === 0) return dateTime;
332
+ let ms = (conversion.toAbsolute)(res, dateTime.timeZone, disambiguation);
333
+ return (conversion.toCalendar)((conversion.fromAbsolute)(ms, dateTime.timeZone), dateTime.calendar);
334
+ }
219
335
 
220
336
  exports.add = $735220c2d4774dd3$export$e16d8520af44a096;
337
+ exports.addZoned = $735220c2d4774dd3$export$96b1d28349274637;
221
338
  exports.constrain = $735220c2d4774dd3$export$c4e2ecac49351ef2;
222
339
  exports.constrainTime = $735220c2d4774dd3$export$7555de1e070510cb;
223
340
  exports.cycleDate = $735220c2d4774dd3$export$d52ced6badfb9a4c;
224
341
  exports.cycleTime = $735220c2d4774dd3$export$dd02b3e0007dfe28;
342
+ exports.cycleZoned = $735220c2d4774dd3$export$9a297d111fc86b79;
225
343
  exports.invertDuration = $735220c2d4774dd3$export$3e2544e88a25bff8;
226
344
  exports.set = $735220c2d4774dd3$export$adaa4cf7ef1b65be;
227
345
  exports.setTime = $735220c2d4774dd3$export$e5d5e1c1822b6e56;
346
+ exports.setZoned = $735220c2d4774dd3$export$31b5430eb18be4f8;
228
347
  exports.subtract = $735220c2d4774dd3$export$4e2d2ead65e5f7e3;
348
+ exports.subtractZoned = $735220c2d4774dd3$export$6814caac34ca03c7;
229
349
  //# sourceMappingURL=manipulation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manipulation.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/manipulation.mjs"],"sourcesContent":["import {epochFromDate as $11d87f3f76e88657$export$bd4fb2bc8bb06fb, fromAbsolute as $11d87f3f76e88657$export$1b96692a1ba042ac, toAbsolute as $11d87f3f76e88657$export$5107c82f94518f5c, toCalendar as $11d87f3f76e88657$export$b4a036af3fc0b032, toCalendarDateTime as $11d87f3f76e88657$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $735220c2d4774dd3$var$ONE_HOUR = 3600000;\nfunction $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $735220c2d4774dd3$var$addTimeFields(mutableDate, duration) : 0;\n $735220c2d4774dd3$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $735220c2d4774dd3$var$balanceYearMonth(mutableDate);\n $735220c2d4774dd3$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $735220c2d4774dd3$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n var _mutableDate_calendar_isInverseEra, _mutableDate_calendar;\n let isInverseEra = (_mutableDate_calendar_isInverseEra = (_mutableDate_calendar = mutableDate.calendar).isInverseEra) === null || _mutableDate_calendar_isInverseEra === void 0 ? void 0 : _mutableDate_calendar_isInverseEra.call(_mutableDate_calendar, mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $735220c2d4774dd3$var$addYears(date, years) {\n var _date_calendar_isInverseEra, _date_calendar;\n if ((_date_calendar_isInverseEra = (_date_calendar = date.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date)) years = -years;\n date.year += years;\n}\nfunction $735220c2d4774dd3$var$balanceYearMonth(date) {\n while(date.month < 1){\n $735220c2d4774dd3$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $735220c2d4774dd3$var$addYears(date, 1);\n }\n}\nfunction $735220c2d4774dd3$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $735220c2d4774dd3$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $735220c2d4774dd3$var$balanceYearMonth(date);\n }\n}\nfunction $735220c2d4774dd3$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $735220c2d4774dd3$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $735220c2d4774dd3$var$constrainMonthDay(date);\n}\nfunction $735220c2d4774dd3$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $735220c2d4774dd3$export$4e2d2ead65e5f7e3(date, duration) {\n return $735220c2d4774dd3$export$e16d8520af44a096(date, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $735220c2d4774dd3$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $735220c2d4774dd3$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $735220c2d4774dd3$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $735220c2d4774dd3$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $735220c2d4774dd3$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $735220c2d4774dd3$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $735220c2d4774dd3$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $735220c2d4774dd3$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 1000));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $735220c2d4774dd3$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $735220c2d4774dd3$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $735220c2d4774dd3$var$balanceTime(time);\n}\nfunction $735220c2d4774dd3$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $735220c2d4774dd3$var$addTimeFields(res, duration);\n return res;\n}\nfunction $735220c2d4774dd3$export$fe34d3a381cd7501(time, duration) {\n return $735220c2d4774dd3$export$7ed87b6bc2506470(time, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $735220c2d4774dd3$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options === null || options === void 0 ? void 0 : options.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n var _mutable_calendar_isInverseEra, _mutable_calendar;\n if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $735220c2d4774dd3$var$cycleValue(value.year, amount, -Infinity, 9999, options === null || options === void 0 ? void 0 : options.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $735220c2d4774dd3$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'day':\n mutable.day = $735220c2d4774dd3$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options === null || options === void 0 ? void 0 : options.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $735220c2d4774dd3$var$cycleValue(hours, amount, min, max, options === null || options === void 0 ? void 0 : options.round);\n break;\n }\n case 'minute':\n mutable.minute = $735220c2d4774dd3$var$cycleValue(value.minute, amount, 0, 59, options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'second':\n mutable.second = $735220c2d4774dd3$var$cycleValue(value.second, amount, 0, 59, options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'millisecond':\n mutable.millisecond = $735220c2d4774dd3$var$cycleValue(value.millisecond, amount, 0, 999, options === null || options === void 0 ? void 0 : options.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $735220c2d4774dd3$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $735220c2d4774dd3$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $735220c2d4774dd3$export$e16d8520af44a096((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $735220c2d4774dd3$export$6814caac34ca03c7(dateTime, duration) {\n return $735220c2d4774dd3$export$96b1d28349274637(dateTime, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $735220c2d4774dd3$var$ONE_HOUR);\n let remainder = ms % $735220c2d4774dd3$var$ONE_HOUR;\n ms = $735220c2d4774dd3$var$cycleValue(hours, amount, Math.floor(minAbsolute / $735220c2d4774dd3$var$ONE_HOUR), Math.floor(maxAbsolute / $735220c2d4774dd3$var$ONE_HOUR), options === null || options === void 0 ? void 0 : options.round) * $735220c2d4774dd3$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $735220c2d4774dd3$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $735220c2d4774dd3$export$d52ced6badfb9a4c((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $735220c2d4774dd3$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime);\n let res = $735220c2d4774dd3$export$e5d5e1c1822b6e56($735220c2d4774dd3$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$735220c2d4774dd3$export$e16d8520af44a096 as add, $735220c2d4774dd3$export$c4e2ecac49351ef2 as constrain, $735220c2d4774dd3$export$3e2544e88a25bff8 as invertDuration, $735220c2d4774dd3$export$4e2d2ead65e5f7e3 as subtract, $735220c2d4774dd3$export$adaa4cf7ef1b65be as set, $735220c2d4774dd3$export$e5d5e1c1822b6e56 as setTime, $735220c2d4774dd3$export$7555de1e070510cb as constrainTime, $735220c2d4774dd3$export$7ed87b6bc2506470 as addTime, $735220c2d4774dd3$export$fe34d3a381cd7501 as subtractTime, $735220c2d4774dd3$export$d52ced6badfb9a4c as cycleDate, $735220c2d4774dd3$export$dd02b3e0007dfe28 as cycleTime, $735220c2d4774dd3$export$96b1d28349274637 as addZoned, $735220c2d4774dd3$export$6814caac34ca03c7 as subtractZoned, $735220c2d4774dd3$export$9a297d111fc86b79 as cycleZoned, $735220c2d4774dd3$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.module.js.map\n"],"names":[],"mappings":";;AAgBA,SAAS,yCAAyC,CAAC,IAAI,EAAE,QAAQ,EAAE;AACnE,IAAI,IAAI,WAAW,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;AAClC,IAAI,IAAI,IAAI,GAAG,MAAM,IAAI,WAAW,GAAG,mCAAmC,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;AACtG,IAAI,8BAA8B,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;AACrE,IAAI,IAAI,WAAW,CAAC,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AACxG,IAAI,WAAW,CAAC,KAAK,IAAI,QAAQ,CAAC,MAAM,IAAI,CAAC,CAAC;AAC9C,IAAI,sCAAsC,CAAC,WAAW,CAAC,CAAC;AACxD,IAAI,uCAAuC,CAAC,WAAW,CAAC,CAAC;AACzD,IAAI,WAAW,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;AACjD,IAAI,WAAW,CAAC,GAAG,IAAI,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC;AAC1C,IAAI,WAAW,CAAC,GAAG,IAAI,IAAI,CAAC;AAC5B,IAAI,gCAAgC,CAAC,WAAW,CAAC,CAAC;AAClD,IAAI,IAAI,WAAW,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AACxF;AACA;AACA;AACA;AACA,IAAI,IA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E,KAAK,GAAG,GAAG,CAAC;AACrC,QAAQ,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACnC,QAAQ,IAAI,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;AAC7D,aAAa,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;AACnD,QAAQ,IAAI,KAAK,GAAG,GAAG,EAAE,KAAK,GAAG,GAAG,CAAC;AACrC,KAAK,MAAM;AACX,QAAQ,KAAK,IAAI,MAAM,CAAC;AACxB,QAAQ,IAAI,KAAK,GAAG,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI,GAAG,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC;AACzD,aAAa,IAAI,KAAK,GAAG,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;AAC9D,KAAK;AACL,IAAI,OAAO,KAAK,CAAC;AACjB;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"manipulation.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/manipulation.mjs"],"sourcesContent":["import {epochFromDate as $11d87f3f76e88657$export$bd4fb2bc8bb06fb, fromAbsolute as $11d87f3f76e88657$export$1b96692a1ba042ac, toAbsolute as $11d87f3f76e88657$export$5107c82f94518f5c, toCalendar as $11d87f3f76e88657$export$b4a036af3fc0b032, toCalendarDateTime as $11d87f3f76e88657$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $735220c2d4774dd3$var$ONE_HOUR = 3600000;\nfunction $735220c2d4774dd3$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $735220c2d4774dd3$var$addTimeFields(mutableDate, duration) : 0;\n $735220c2d4774dd3$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $735220c2d4774dd3$var$balanceYearMonth(mutableDate);\n $735220c2d4774dd3$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $735220c2d4774dd3$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n var _mutableDate_calendar_isInverseEra, _mutableDate_calendar;\n let isInverseEra = (_mutableDate_calendar_isInverseEra = (_mutableDate_calendar = mutableDate.calendar).isInverseEra) === null || _mutableDate_calendar_isInverseEra === void 0 ? void 0 : _mutableDate_calendar_isInverseEra.call(_mutableDate_calendar, mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $735220c2d4774dd3$var$addYears(date, years) {\n var _date_calendar_isInverseEra, _date_calendar;\n if ((_date_calendar_isInverseEra = (_date_calendar = date.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date)) years = -years;\n date.year += years;\n}\nfunction $735220c2d4774dd3$var$balanceYearMonth(date) {\n while(date.month < 1){\n $735220c2d4774dd3$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $735220c2d4774dd3$var$addYears(date, 1);\n }\n}\nfunction $735220c2d4774dd3$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $735220c2d4774dd3$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $735220c2d4774dd3$var$balanceYearMonth(date);\n }\n}\nfunction $735220c2d4774dd3$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $735220c2d4774dd3$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $735220c2d4774dd3$var$constrainMonthDay(date);\n}\nfunction $735220c2d4774dd3$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $735220c2d4774dd3$export$4e2d2ead65e5f7e3(date, duration) {\n return $735220c2d4774dd3$export$e16d8520af44a096(date, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $735220c2d4774dd3$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $735220c2d4774dd3$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $735220c2d4774dd3$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $735220c2d4774dd3$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $735220c2d4774dd3$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $735220c2d4774dd3$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $735220c2d4774dd3$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $735220c2d4774dd3$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 1000));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $735220c2d4774dd3$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $735220c2d4774dd3$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $735220c2d4774dd3$var$balanceTime(time);\n}\nfunction $735220c2d4774dd3$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $735220c2d4774dd3$var$addTimeFields(res, duration);\n return res;\n}\nfunction $735220c2d4774dd3$export$fe34d3a381cd7501(time, duration) {\n return $735220c2d4774dd3$export$7ed87b6bc2506470(time, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $735220c2d4774dd3$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options === null || options === void 0 ? void 0 : options.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n var _mutable_calendar_isInverseEra, _mutable_calendar;\n if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $735220c2d4774dd3$var$cycleValue(value.year, amount, -Infinity, 9999, options === null || options === void 0 ? void 0 : options.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $735220c2d4774dd3$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'day':\n mutable.day = $735220c2d4774dd3$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options === null || options === void 0 ? void 0 : options.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $735220c2d4774dd3$var$cycleValue(hours, amount, min, max, options === null || options === void 0 ? void 0 : options.round);\n break;\n }\n case 'minute':\n mutable.minute = $735220c2d4774dd3$var$cycleValue(value.minute, amount, 0, 59, options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'second':\n mutable.second = $735220c2d4774dd3$var$cycleValue(value.second, amount, 0, 59, options === null || options === void 0 ? void 0 : options.round);\n break;\n case 'millisecond':\n mutable.millisecond = $735220c2d4774dd3$var$cycleValue(value.millisecond, amount, 0, 999, options === null || options === void 0 ? void 0 : options.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $735220c2d4774dd3$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $735220c2d4774dd3$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $735220c2d4774dd3$export$e16d8520af44a096((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $735220c2d4774dd3$export$6814caac34ca03c7(dateTime, duration) {\n return $735220c2d4774dd3$export$96b1d28349274637(dateTime, $735220c2d4774dd3$export$3e2544e88a25bff8(duration));\n}\nfunction $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $735220c2d4774dd3$var$ONE_HOUR);\n let remainder = ms % $735220c2d4774dd3$var$ONE_HOUR;\n ms = $735220c2d4774dd3$var$cycleValue(hours, amount, Math.floor(minAbsolute / $735220c2d4774dd3$var$ONE_HOUR), Math.floor(maxAbsolute / $735220c2d4774dd3$var$ONE_HOUR), options === null || options === void 0 ? void 0 : options.round) * $735220c2d4774dd3$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $735220c2d4774dd3$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $735220c2d4774dd3$export$d52ced6badfb9a4c((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $735220c2d4774dd3$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime);\n let res = $735220c2d4774dd3$export$e5d5e1c1822b6e56($735220c2d4774dd3$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$735220c2d4774dd3$export$e16d8520af44a096 as add, $735220c2d4774dd3$export$c4e2ecac49351ef2 as constrain, $735220c2d4774dd3$export$3e2544e88a25bff8 as invertDuration, $735220c2d4774dd3$export$4e2d2ead65e5f7e3 as subtract, $735220c2d4774dd3$export$adaa4cf7ef1b65be as set, $735220c2d4774dd3$export$e5d5e1c1822b6e56 as setTime, $735220c2d4774dd3$export$7555de1e070510cb as constrainTime, $735220c2d4774dd3$export$7ed87b6bc2506470 as addTime, $735220c2d4774dd3$export$fe34d3a381cd7501 as subtractTime, $735220c2d4774dd3$export$d52ced6badfb9a4c as cycleDate, $735220c2d4774dd3$export$dd02b3e0007dfe28 as cycleTime, $735220c2d4774dd3$export$96b1d28349274637 as addZoned, $735220c2d4774dd3$export$6814caac34ca03c7 as subtractZoned, $735220c2d4774dd3$export$9a297d111fc86b79 as cycleZoned, $735220c2d4774dd3$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.module.js.map\n"],"names":["$11d87f3f76e88657$export$b21e0b124e224484","$11d87f3f76e88657$export$5107c82f94518f5c","$11d87f3f76e88657$export$bd4fb2bc8bb06fb","$11d87f3f76e88657$export$1b96692a1ba042ac","$11d87f3f76e88657$export$b4a036af3fc0b032","$3b62074eb05584b2$export$80ee6245ec4f29ec"],"mappings":";;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,8BAA8B,GAAG,OAAO,CAAC;AAC/C,SAAS,yCAAyC,CAAC,IAAI,EAAE,QAAQ,EAAE;AACnE,IAAI,IAAI,WAAW,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;AAClC,IAAI,IAAI,IAAI,GAAG,MAAM,IAAI,WAAW,GAAG,mCAAmC,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;AACtG,IAAI,8BAA8B,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;AACrE,IAAI,IAAI,WAAW,CAAC,QAAQ,C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IAAI,KAAK,CAAC,oBAAoB,GAAG,KAAK,CAAC,CAAC;AAC1D,KAAK;AACL,CAAC;AACD,SAAS,yCAAyC,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE;AACrF;AACA;AACA,IAAI,IAAI,aAAa,GAAG,CAAIH,6BAAyC,EAAE,QAAQ,CAAC,CAAC;AACjF,IAAI,IAAI,GAAG,GAAG,yCAAyC,CAAC,yCAAyC,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AAClI;AACA;AACA,IAAI,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,QAAQ,CAAC;AAC1D,IAAI,IAAI,EAAE,GAAG,CAAIC,qBAAyC,EAAE,GAAG,EAAE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;AACpG,IAAI,OAAO,CAAIG,qBAAyC,EAAE,CAAID,uBAAyC,EAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACpJ;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,10 +1,18 @@
1
1
  'use strict';
2
2
 
3
+ var conversion = require('./conversion.js');
4
+
3
5
  function $14e0f24ef4ac5c92$export$dbc69fd56b53d5e(a, b) {
4
6
  var _a_isEqual, _b_isEqual;
5
7
  var _a_isEqual1, _ref;
6
8
  return (_ref = (_a_isEqual1 = (_a_isEqual = a.isEqual) === null || _a_isEqual === void 0 ? void 0 : _a_isEqual.call(a, b)) !== null && _a_isEqual1 !== void 0 ? _a_isEqual1 : (_b_isEqual = b.isEqual) === null || _b_isEqual === void 0 ? void 0 : _b_isEqual.call(b, a)) !== null && _ref !== void 0 ? _ref : a.identifier === b.identifier;
7
9
  }
10
+ function $14e0f24ef4ac5c92$export$461939dd4422153(timeZone) {
11
+ return (conversion.fromAbsolute)(Date.now(), timeZone);
12
+ }
13
+ function $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3(timeZone) {
14
+ return (conversion.toCalendarDate)($14e0f24ef4ac5c92$export$461939dd4422153(timeZone));
15
+ }
8
16
  function $14e0f24ef4ac5c92$export$68781ddf31c0090f(a, b) {
9
17
  return a.calendar.toJulianDay(a) - b.calendar.toJulianDay(b);
10
18
  }
@@ -25,4 +33,6 @@ exports.compareDate = $14e0f24ef4ac5c92$export$68781ddf31c0090f;
25
33
  exports.compareTime = $14e0f24ef4ac5c92$export$c19a80a9721b80f6;
26
34
  exports.getLocalTimeZone = $14e0f24ef4ac5c92$export$aa8b41735afcabd2;
27
35
  exports.isEqualCalendar = $14e0f24ef4ac5c92$export$dbc69fd56b53d5e;
36
+ exports.now = $14e0f24ef4ac5c92$export$461939dd4422153;
37
+ exports.today = $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3;
28
38
  //# sourceMappingURL=queries.js.map