@planningcenter/tapestry 3.3.1 → 3.3.2-qa-891.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 (146) hide show
  1. package/dist/components/button/Button.d.ts +1 -0
  2. package/dist/components/button/Button.d.ts.map +1 -1
  3. package/dist/components/button/Button.js +1 -0
  4. package/dist/components/button/Button.js.map +1 -1
  5. package/dist/components/button/DropdownButton.d.ts +18 -4
  6. package/dist/components/button/DropdownButton.d.ts.map +1 -1
  7. package/dist/components/button/DropdownButton.js +7 -0
  8. package/dist/components/button/DropdownButton.js.map +1 -1
  9. package/dist/components/button/DropdownIconButton.d.ts +8 -0
  10. package/dist/components/button/DropdownIconButton.d.ts.map +1 -1
  11. package/dist/components/button/DropdownIconButton.js +8 -0
  12. package/dist/components/button/DropdownIconButton.js.map +1 -1
  13. package/dist/components/button/IconButton.d.ts +1 -0
  14. package/dist/components/button/IconButton.d.ts.map +1 -1
  15. package/dist/components/button/IconButton.js +1 -0
  16. package/dist/components/button/IconButton.js.map +1 -1
  17. package/dist/components/button/LoadingButton.d.ts +1 -0
  18. package/dist/components/button/LoadingButton.d.ts.map +1 -1
  19. package/dist/components/button/LoadingButton.js +1 -0
  20. package/dist/components/button/LoadingButton.js.map +1 -1
  21. package/dist/components/button/PageHeaderActionsDropdownButton.d.ts +8 -0
  22. package/dist/components/button/PageHeaderActionsDropdownButton.d.ts.map +1 -1
  23. package/dist/components/button/PageHeaderActionsDropdownButton.js +8 -0
  24. package/dist/components/button/PageHeaderActionsDropdownButton.js.map +1 -1
  25. package/dist/components/checkbox/Checkbox.d.ts +1 -0
  26. package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
  27. package/dist/components/checkbox/Checkbox.js +1 -0
  28. package/dist/components/checkbox/Checkbox.js.map +1 -1
  29. package/dist/components/combo-box/ComboBox.d.ts +3 -1
  30. package/dist/components/combo-box/ComboBox.d.ts.map +1 -1
  31. package/dist/components/combo-box/ComboBox.js +5 -1
  32. package/dist/components/combo-box/ComboBox.js.map +1 -1
  33. package/dist/components/date-picker/DatePicker.d.ts +1 -1
  34. package/dist/components/date-picker/DatePicker.d.ts.map +1 -1
  35. package/dist/components/date-picker/DatePicker.js +12 -9
  36. package/dist/components/date-picker/DatePicker.js.map +1 -1
  37. package/dist/components/dropdown/Dropdown.d.ts +155 -0
  38. package/dist/components/dropdown/Dropdown.d.ts.map +1 -0
  39. package/dist/components/dropdown/Dropdown.js +103 -0
  40. package/dist/components/dropdown/Dropdown.js.map +1 -0
  41. package/dist/components/dropdown/index.d.ts +4 -0
  42. package/dist/components/dropdown/index.d.ts.map +1 -0
  43. package/dist/components/input/Input.d.ts +9 -0
  44. package/dist/components/input/Input.d.ts.map +1 -1
  45. package/dist/components/input/Input.js +9 -0
  46. package/dist/components/input/Input.js.map +1 -1
  47. package/dist/components/link/IconLink.d.ts +7 -0
  48. package/dist/components/link/IconLink.d.ts.map +1 -1
  49. package/dist/components/link/IconLink.js +7 -0
  50. package/dist/components/link/IconLink.js.map +1 -1
  51. package/dist/components/link/Link.d.ts +8 -0
  52. package/dist/components/link/Link.d.ts.map +1 -1
  53. package/dist/components/link/Link.js +8 -0
  54. package/dist/components/link/Link.js.map +1 -1
  55. package/dist/components/number-stepper/NumberStepper.d.ts +1 -1
  56. package/dist/components/number-stepper/NumberStepper.d.ts.map +1 -1
  57. package/dist/components/number-stepper/NumberStepper.js +1 -1
  58. package/dist/components/number-stepper/NumberStepper.js.map +1 -1
  59. package/dist/components/page-header/PageHeader.d.ts +8 -0
  60. package/dist/components/page-header/PageHeader.d.ts.map +1 -1
  61. package/dist/components/page-header/PageHeader.js +8 -0
  62. package/dist/components/page-header/PageHeader.js.map +1 -1
  63. package/dist/components/radio/Radio.d.ts +1 -0
  64. package/dist/components/radio/Radio.d.ts.map +1 -1
  65. package/dist/components/radio/Radio.js +1 -0
  66. package/dist/components/radio/Radio.js.map +1 -1
  67. package/dist/components/radio-group/RadioGroup.d.ts +1 -0
  68. package/dist/components/radio-group/RadioGroup.d.ts.map +1 -1
  69. package/dist/components/radio-group/RadioGroup.js +1 -0
  70. package/dist/components/radio-group/RadioGroup.js.map +1 -1
  71. package/dist/components/select/Select.d.ts +9 -0
  72. package/dist/components/select/Select.d.ts.map +1 -1
  73. package/dist/components/select/Select.js +9 -0
  74. package/dist/components/select/Select.js.map +1 -1
  75. package/dist/components/select/SelectNative.d.ts +10 -0
  76. package/dist/components/select/SelectNative.d.ts.map +1 -1
  77. package/dist/components/select/SelectNative.js +10 -0
  78. package/dist/components/select/SelectNative.js.map +1 -1
  79. package/dist/components/select/SelectPopover.d.ts +10 -0
  80. package/dist/components/select/SelectPopover.d.ts.map +1 -1
  81. package/dist/components/select/SelectPopover.js +10 -0
  82. package/dist/components/select/SelectPopover.js.map +1 -1
  83. package/dist/components/sidenav/Sidenav.d.ts +3 -0
  84. package/dist/components/sidenav/Sidenav.d.ts.map +1 -1
  85. package/dist/components/sidenav/Sidenav.js +3 -0
  86. package/dist/components/sidenav/Sidenav.js.map +1 -1
  87. package/dist/components/sidenav/SidenavItem.d.ts +3 -0
  88. package/dist/components/sidenav/SidenavItem.d.ts.map +1 -1
  89. package/dist/components/sidenav/SidenavItem.js +3 -0
  90. package/dist/components/sidenav/SidenavItem.js.map +1 -1
  91. package/dist/components/sidenav/SidenavSection.d.ts +3 -0
  92. package/dist/components/sidenav/SidenavSection.d.ts.map +1 -1
  93. package/dist/components/sidenav/SidenavSection.js +3 -0
  94. package/dist/components/sidenav/SidenavSection.js.map +1 -1
  95. package/dist/components/text-area/TextArea.d.ts +8 -0
  96. package/dist/components/text-area/TextArea.d.ts.map +1 -1
  97. package/dist/components/text-area/TextArea.js +8 -0
  98. package/dist/components/text-area/TextArea.js.map +1 -1
  99. package/dist/components/time-field/TimeField.d.ts +1 -1
  100. package/dist/components/time-field/TimeField.d.ts.map +1 -1
  101. package/dist/components/time-field/TimeField.js +1 -1
  102. package/dist/components/time-field/TimeField.js.map +1 -1
  103. package/dist/components/toggle-switch/ToggleSwitch.d.ts +3 -0
  104. package/dist/components/toggle-switch/ToggleSwitch.d.ts.map +1 -1
  105. package/dist/components/toggle-switch/ToggleSwitch.js +3 -0
  106. package/dist/components/toggle-switch/ToggleSwitch.js.map +1 -1
  107. package/dist/ext/@internationalized/date/dist/{CalendarDate.js → private/CalendarDate.js} +74 -88
  108. package/dist/ext/@internationalized/date/dist/private/CalendarDate.js.map +1 -0
  109. package/dist/ext/@internationalized/date/dist/{GregorianCalendar.js → private/calendars/GregorianCalendar.js} +26 -26
  110. package/dist/ext/@internationalized/date/dist/private/calendars/GregorianCalendar.js.map +1 -0
  111. package/dist/ext/@internationalized/date/dist/{conversion.js → private/conversion.js} +55 -55
  112. package/dist/ext/@internationalized/date/dist/private/conversion.js.map +1 -0
  113. package/dist/ext/@internationalized/date/dist/{manipulation.js → private/manipulation.js} +88 -91
  114. package/dist/ext/@internationalized/date/dist/private/manipulation.js.map +1 -0
  115. package/dist/ext/@internationalized/date/dist/private/queries.js +32 -0
  116. package/dist/ext/@internationalized/date/dist/private/queries.js.map +1 -0
  117. package/dist/ext/@internationalized/date/dist/private/string.js +51 -0
  118. package/dist/ext/@internationalized/date/dist/private/string.js.map +1 -0
  119. package/dist/ext/@internationalized/date/dist/{utils.js → private/utils.js} +2 -2
  120. package/dist/ext/@internationalized/date/dist/private/utils.js.map +1 -0
  121. package/dist/index.css +11 -6
  122. package/dist/index.css.map +1 -1
  123. package/dist/reactRender.css +1412 -1282
  124. package/dist/reactRender.css.map +1 -1
  125. package/dist/reactRenderLegacy.css +1412 -1282
  126. package/dist/reactRenderLegacy.css.map +1 -1
  127. package/dist/unstable.css +136 -6
  128. package/dist/unstable.css.map +1 -1
  129. package/dist/unstable.d.ts +1 -0
  130. package/dist/unstable.d.ts.map +1 -1
  131. package/dist/unstable.js +1 -0
  132. package/dist/unstable.js.map +1 -1
  133. package/package.json +6 -6
  134. package/dist/ext/@internationalized/date/dist/CalendarDate.js.map +0 -1
  135. package/dist/ext/@internationalized/date/dist/GregorianCalendar.js.map +0 -1
  136. package/dist/ext/@internationalized/date/dist/conversion.js.map +0 -1
  137. package/dist/ext/@internationalized/date/dist/manipulation.js.map +0 -1
  138. package/dist/ext/@internationalized/date/dist/queries.js +0 -34
  139. package/dist/ext/@internationalized/date/dist/queries.js.map +0 -1
  140. package/dist/ext/@internationalized/date/dist/string.js +0 -51
  141. package/dist/ext/@internationalized/date/dist/string.js.map +0 -1
  142. package/dist/ext/@internationalized/date/dist/utils.js.map +0 -1
  143. package/dist/ext/@swc/helpers/esm/_check_private_redeclaration.js +0 -8
  144. package/dist/ext/@swc/helpers/esm/_check_private_redeclaration.js.map +0 -1
  145. package/dist/ext/@swc/helpers/esm/_class_private_field_init.js +0 -9
  146. package/dist/ext/@swc/helpers/esm/_class_private_field_init.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarDate.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/CalendarDate.mjs"],"sourcesContent":["import {add as $435a2ceaa8778ed8$export$e16d8520af44a096, addTime as $435a2ceaa8778ed8$export$7ed87b6bc2506470, addZoned as $435a2ceaa8778ed8$export$96b1d28349274637, constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2, constrainTime as $435a2ceaa8778ed8$export$7555de1e070510cb, cycleDate as $435a2ceaa8778ed8$export$d52ced6badfb9a4c, cycleTime as $435a2ceaa8778ed8$export$dd02b3e0007dfe28, cycleZoned as $435a2ceaa8778ed8$export$9a297d111fc86b79, set as $435a2ceaa8778ed8$export$adaa4cf7ef1b65be, setTime as $435a2ceaa8778ed8$export$e5d5e1c1822b6e56, setZoned as $435a2ceaa8778ed8$export$31b5430eb18be4f8, subtract as $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3, subtractTime as $435a2ceaa8778ed8$export$fe34d3a381cd7501, subtractZoned as $435a2ceaa8778ed8$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $ad063034c8620db8$export$68781ddf31c0090f, compareTime as $ad063034c8620db8$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $58246871e4652552$export$4223de14708adc63, dateToString as $58246871e4652552$export$60dfd74aa96791bd, timeToString as $58246871e4652552$export$f59dee82248f5ad4, zonedDateTimeToString as $58246871e4652552$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toDate as $d07e34cce18680fd$export$e67a095c620b86fe, toZoned as $d07e34cce18680fd$export$84c95a83c799e074, zonedToDate as $d07e34cce18680fd$export$83aac07b4c37b25} from \"./conversion.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\n\n\n\nfunction $2aaf608024c21ca1$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $93635573935797de$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}\nclass $2aaf608024c21ca1$export$99faa760c7908e4f {\n // 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 #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$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, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$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, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$680ea196effce5f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);\n }\n /** Returns a copy of this time. */ copy() {\n return new $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$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, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$ca871e8dbb80966f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $435a2ceaa8778ed8$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, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$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, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));\n return res;\n }\n}\nclass $2aaf608024c21ca1$export$d3b7288e7994edea {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$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 $2aaf608024c21ca1$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, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$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, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $d07e34cce18680fd$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, $58246871e4652552$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, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n}\n\n\nexport {$2aaf608024c21ca1$export$99faa760c7908e4f as CalendarDate, $2aaf608024c21ca1$export$680ea196effce5f as Time, $2aaf608024c21ca1$export$ca871e8dbb80966f as CalendarDateTime, $2aaf608024c21ca1$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.mjs.map\n"],"names":[],"mappings":";;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA,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,KAAQ,yCAAyC,GAAG;AACpH,IAAI,IAAI,GAAG;AACX,IAAI,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE;AACvD,SAAS;AACT,QAAQ,IAAI,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE;AACrC,QAAQ,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;AACnC,IAAI;AACJ,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE;AAC3B,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AAC5B,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE;AAC1B,IAAI,OAAO;AACX,QAAQ,QAAQ;AAChB,QAAQ,GAAG;AACX,QAAQ,IAAI;AACZ,QAAQ,KAAK;AACb,QAAQ;AACR,KAAK;AACL;AACA,MAAM,yCAAyC,CAAC;AAChD;AACA;AACA;AACA;AACA,IAAI,KAAK;AACT,IAAI,WAAW,CAAC,GAAG,IAAI,CAAC;AACxB,QAAQ,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE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,OAAO,CAAI,yCAAyC,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC;AAC3F,IAAI;AACJ;AACA;AACA;AACA,MAAM,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE;AACpC,QAAQ,OAAO,CAAI,yCAAyC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;AAC3F,IAAI;AACJ,iEAAiE,MAAM,GAAG;AAC1E,QAAQ,OAAO,CAAI,wCAAwC,EAAE,IAAI,CAAC;AAClE,IAAI;AACJ,iHAAiH,QAAQ,GAAG;AAC5H,QAAQ,OAAO,CAAI,yCAAyC,EAAE,IAAI,CAAC;AACnE,IAAI;AACJ,qEAAqE,gBAAgB,GAAG;AACxF,QAAQ,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;AAC1C,IAAI;AACJ,gKAAgK,OAAO,CAAC,CAAC,EAAE;AAC3K;AACA,QAAQ,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,GAAG,CAAI,yCAAyC,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;AAC5H,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
- import { CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f } from './CalendarDate.js';
2
- import { mod as $2b4dce13dd5a17fa$export$842a2cf37af977e1 } from './utils.js';
1
+ import { CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f } from '../CalendarDate.js';
2
+ import { mod as $09ec6a572d60460f$export$842a2cf37af977e1 } from '../utils.js';
3
3
 
4
4
  /*
5
5
  * Copyright 2020 Adobe. All rights reserved.
@@ -15,22 +15,22 @@ import { mod as $2b4dce13dd5a17fa$export$842a2cf37af977e1 } from './utils.js';
15
15
  // Original licensing can be found in the NOTICE file in the root directory of this source tree.
16
16
 
17
17
 
18
- const $3b62074eb05584b2$var$EPOCH = 1721426; // 001/01/03 Julian C.E.
19
- function $3b62074eb05584b2$export$f297eb839006d339(era, year, month, day) {
20
- year = $3b62074eb05584b2$export$c36e0ecb2d4fa69d(era, year);
18
+ const $93635573935797de$var$EPOCH = 1721426; // 001/01/03 Julian C.E.
19
+ function $93635573935797de$export$f297eb839006d339(era, year, month, day) {
20
+ year = $93635573935797de$export$c36e0ecb2d4fa69d(era, year);
21
21
  let y1 = year - 1;
22
22
  let monthOffset = -2;
23
23
  if (month <= 2) monthOffset = 0;
24
- else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) monthOffset = -1;
25
- return $3b62074eb05584b2$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);
24
+ else if ($93635573935797de$export$553d7fa8e3805fc0(year)) monthOffset = -1;
25
+ return $93635573935797de$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);
26
26
  }
27
- function $3b62074eb05584b2$export$553d7fa8e3805fc0(year) {
27
+ function $93635573935797de$export$553d7fa8e3805fc0(year) {
28
28
  return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
29
29
  }
30
- function $3b62074eb05584b2$export$c36e0ecb2d4fa69d(era, year) {
30
+ function $93635573935797de$export$c36e0ecb2d4fa69d(era, year) {
31
31
  return era === 'BC' ? 1 - year : year;
32
32
  }
33
- function $3b62074eb05584b2$export$4475b7e617eb123c(year) {
33
+ function $93635573935797de$export$4475b7e617eb123c(year) {
34
34
  let era = 'AD';
35
35
  if (year <= 0) {
36
36
  era = 'BC';
@@ -41,7 +41,7 @@ function $3b62074eb05584b2$export$4475b7e617eb123c(year) {
41
41
  year
42
42
  ];
43
43
  }
44
- const $3b62074eb05584b2$var$daysInMonth = {
44
+ const $93635573935797de$var$daysInMonth = {
45
45
  standard: [
46
46
  31,
47
47
  28,
@@ -71,39 +71,39 @@ const $3b62074eb05584b2$var$daysInMonth = {
71
71
  31
72
72
  ]
73
73
  };
74
- class $3b62074eb05584b2$export$80ee6245ec4f29ec {
74
+ class $93635573935797de$export$80ee6245ec4f29ec {
75
75
  fromJulianDay(jd) {
76
76
  let jd0 = jd;
77
- let depoch = jd0 - $3b62074eb05584b2$var$EPOCH;
77
+ let depoch = jd0 - $93635573935797de$var$EPOCH;
78
78
  let quadricent = Math.floor(depoch / 146097);
79
- let dqc = ($2b4dce13dd5a17fa$export$842a2cf37af977e1)(depoch, 146097);
79
+ let dqc = ($09ec6a572d60460f$export$842a2cf37af977e1)(depoch, 146097);
80
80
  let cent = Math.floor(dqc / 36524);
81
- let dcent = ($2b4dce13dd5a17fa$export$842a2cf37af977e1)(dqc, 36524);
81
+ let dcent = ($09ec6a572d60460f$export$842a2cf37af977e1)(dqc, 36524);
82
82
  let quad = Math.floor(dcent / 1461);
83
- let dquad = ($2b4dce13dd5a17fa$export$842a2cf37af977e1)(dcent, 1461);
83
+ let dquad = ($09ec6a572d60460f$export$842a2cf37af977e1)(dcent, 1461);
84
84
  let yindex = Math.floor(dquad / 365);
85
85
  let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0);
86
- let [era, year] = $3b62074eb05584b2$export$4475b7e617eb123c(extendedYear);
87
- let yearDay = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, 1, 1);
86
+ let [era, year] = $93635573935797de$export$4475b7e617eb123c(extendedYear);
87
+ let yearDay = jd0 - $93635573935797de$export$f297eb839006d339(era, year, 1, 1);
88
88
  let leapAdj = 2;
89
- if (jd0 < $3b62074eb05584b2$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;
90
- else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) leapAdj = 1;
89
+ if (jd0 < $93635573935797de$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;
90
+ else if ($93635573935797de$export$553d7fa8e3805fc0(year)) leapAdj = 1;
91
91
  let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);
92
- let day = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, month, 1) + 1;
93
- return new ($35ea8db9cb2ccb90$export$99faa760c7908e4f)(era, year, month, day);
92
+ let day = jd0 - $93635573935797de$export$f297eb839006d339(era, year, month, 1) + 1;
93
+ return new ($2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, month, day);
94
94
  }
95
95
  toJulianDay(date) {
96
- return $3b62074eb05584b2$export$f297eb839006d339(date.era, date.year, date.month, date.day);
96
+ return $93635573935797de$export$f297eb839006d339(date.era, date.year, date.month, date.day);
97
97
  }
98
98
  getDaysInMonth(date) {
99
- return $3b62074eb05584b2$var$daysInMonth[$3b62074eb05584b2$export$553d7fa8e3805fc0(date.year) ? 'leapyear' : 'standard'][date.month - 1];
99
+ return $93635573935797de$var$daysInMonth[$93635573935797de$export$553d7fa8e3805fc0(date.year) ? 'leapyear' : 'standard'][date.month - 1];
100
100
  }
101
101
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
102
102
  getMonthsInYear(date) {
103
103
  return 12;
104
104
  }
105
105
  getDaysInYear(date) {
106
- return $3b62074eb05584b2$export$553d7fa8e3805fc0(date.year) ? 366 : 365;
106
+ return $93635573935797de$export$553d7fa8e3805fc0(date.year) ? 366 : 365;
107
107
  }
108
108
  getMaximumMonthsInYear() {
109
109
  return 12;
@@ -135,5 +135,5 @@ class $3b62074eb05584b2$export$80ee6245ec4f29ec {
135
135
  }
136
136
  }
137
137
 
138
- export { $3b62074eb05584b2$export$80ee6245ec4f29ec as GregorianCalendar, $3b62074eb05584b2$export$4475b7e617eb123c as fromExtendedYear, $3b62074eb05584b2$export$c36e0ecb2d4fa69d as getExtendedYear, $3b62074eb05584b2$export$f297eb839006d339 as gregorianToJulianDay, $3b62074eb05584b2$export$553d7fa8e3805fc0 as isLeapYear };
138
+ export { $93635573935797de$export$80ee6245ec4f29ec as GregorianCalendar, $93635573935797de$export$4475b7e617eb123c as fromExtendedYear, $93635573935797de$export$c36e0ecb2d4fa69d as getExtendedYear, $93635573935797de$export$f297eb839006d339 as gregorianToJulianDay, $93635573935797de$export$553d7fa8e3805fc0 as isLeapYear };
139
139
  //# sourceMappingURL=GregorianCalendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GregorianCalendar.js","sources":["../../../../../../../../../node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.mjs"],"sourcesContent":["import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.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 ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $93635573935797de$var$EPOCH = 1721426; // 001/01/03 Julian C.E.\nfunction $93635573935797de$export$f297eb839006d339(era, year, month, day) {\n year = $93635573935797de$export$c36e0ecb2d4fa69d(era, year);\n let y1 = year - 1;\n let monthOffset = -2;\n if (month <= 2) monthOffset = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) monthOffset = -1;\n return $93635573935797de$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);\n}\nfunction $93635573935797de$export$553d7fa8e3805fc0(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nfunction $93635573935797de$export$c36e0ecb2d4fa69d(era, year) {\n return era === 'BC' ? 1 - year : year;\n}\nfunction $93635573935797de$export$4475b7e617eb123c(year) {\n let era = 'AD';\n if (year <= 0) {\n era = 'BC';\n year = 1 - year;\n }\n return [\n era,\n year\n ];\n}\nconst $93635573935797de$var$daysInMonth = {\n standard: [\n 31,\n 28,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ],\n leapyear: [\n 31,\n 29,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ]\n};\nclass $93635573935797de$export$80ee6245ec4f29ec {\n fromJulianDay(jd) {\n let jd0 = jd;\n let depoch = jd0 - $93635573935797de$var$EPOCH;\n let quadricent = Math.floor(depoch / 146097);\n let dqc = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(depoch, 146097);\n let cent = Math.floor(dqc / 36524);\n let dcent = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dqc, 36524);\n let quad = Math.floor(dcent / 1461);\n let dquad = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dcent, 1461);\n let yindex = Math.floor(dquad / 365);\n let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0);\n let [era, year] = $93635573935797de$export$4475b7e617eb123c(extendedYear);\n let yearDay = jd0 - $93635573935797de$export$f297eb839006d339(era, year, 1, 1);\n let leapAdj = 2;\n if (jd0 < $93635573935797de$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) leapAdj = 1;\n let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);\n let day = jd0 - $93635573935797de$export$f297eb839006d339(era, year, month, 1) + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, month, day);\n }\n toJulianDay(date) {\n return $93635573935797de$export$f297eb839006d339(date.era, date.year, date.month, date.day);\n }\n getDaysInMonth(date) {\n return $93635573935797de$var$daysInMonth[$93635573935797de$export$553d7fa8e3805fc0(date.year) ? 'leapyear' : 'standard'][date.month - 1];\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getMonthsInYear(date) {\n return 12;\n }\n getDaysInYear(date) {\n return $93635573935797de$export$553d7fa8e3805fc0(date.year) ? 366 : 365;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 31;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getYearsInEra(date) {\n return 9999;\n }\n getEras() {\n return [\n 'BC',\n 'AD'\n ];\n }\n isInverseEra(date) {\n return date.era === 'BC';\n }\n balanceDate(date) {\n if (date.year <= 0) {\n date.era = date.era === 'BC' ? 'AD' : 'BC';\n date.year = 1 - date.year;\n }\n }\n constructor(){\n this.identifier = 'gregory';\n }\n}\n\n\nexport {$93635573935797de$export$f297eb839006d339 as gregorianToJulianDay, $93635573935797de$export$c36e0ecb2d4fa69d as getExtendedYear, $93635573935797de$export$553d7fa8e3805fc0 as isLeapYear, $93635573935797de$export$4475b7e617eb123c as fromExtendedYear, $93635573935797de$export$80ee6245ec4f29ec as GregorianCalendar};\n//# sourceMappingURL=GregorianCalendar.mjs.map\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAC5C,SAAS,yCAAyC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE;AAC1E,IAAI,IAAI,GAAG,yCAAyC,CAAC,GAAG,EAAE,IAAI,CAAC;AAC/D,IAAI,IAAI,EAAE,GAAG,IAAI,GAAG,CAAC;AACrB,IAAI,IAAI,WAAW,GAAG,EAAE;AACxB,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE,WAAW,GAAG,CAAC;AACnC,SAAS,IAAI,yCAAyC,CAAC,IAAI,CAAC,EA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AAsB,GAAG;AAC7B,QAAQ,OAAO,EAAE;AACjB,IAAI;AACJ,IAAI,qBAAqB,GAAG;AAC5B,QAAQ,OAAO,EAAE;AACjB,IAAI;AACJ;AACA,IAAI,aAAa,CAAC,IAAI,EAAE;AACxB,QAAQ,OAAO,IAAI;AACnB,IAAI;AACJ,IAAI,OAAO,GAAG;AACd,QAAQ,OAAO;AACf,YAAY,IAAI;AAChB,YAAY;AACZ,SAAS;AACT,IAAI;AACJ,IAAI,YAAY,CAAC,IAAI,EAAE;AACvB,QAAQ,OAAO,IAAI,CAAC,GAAG,KAAK,IAAI;AAChC,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,EAAE;AACtB,QAAQ,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,EAAE;AAC5B,YAAY,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI;AACtD,YAAY,IAAI,CAAC,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI;AACrC,QAAQ;AACR,IAAI;AACJ,IAAI,WAAW,EAAE;AACjB,QAAQ,IAAI,CAAC,UAAU,GAAG,SAAS;AACnC,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
- import { CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f, ZonedDateTime as $35ea8db9cb2ccb90$export$d3b7288e7994edea, CalendarDateTime as $35ea8db9cb2ccb90$export$ca871e8dbb80966f } from './CalendarDate.js';
2
- import { constrain as $735220c2d4774dd3$export$c4e2ecac49351ef2 } from './manipulation.js';
3
- import { getExtendedYear as $3b62074eb05584b2$export$c36e0ecb2d4fa69d, GregorianCalendar as $3b62074eb05584b2$export$80ee6245ec4f29ec } from './GregorianCalendar.js';
4
- import { getLocalTimeZone as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, isLocalTimeZoneOverridden as $14e0f24ef4ac5c92$export$6ab69b273755230b, isEqualCalendar as $14e0f24ef4ac5c92$export$dbc69fd56b53d5e } from './queries.js';
1
+ import { CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f } from './CalendarDate.js';
2
+ import { constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2 } from './manipulation.js';
3
+ import { getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec } from './calendars/GregorianCalendar.js';
4
+ import { getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2, isLocalTimeZoneOverridden as $ad063034c8620db8$export$6ab69b273755230b, isEqualCalendar as $ad063034c8620db8$export$dbc69fd56b53d5e } from './queries.js';
5
5
 
6
6
  /*
7
7
  * Copyright 2020 Adobe. All rights reserved.
@@ -19,12 +19,12 @@ import { getLocalTimeZone as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, isLocalT
19
19
 
20
20
 
21
21
 
22
- function $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) {
23
- date = $11d87f3f76e88657$export$b4a036af3fc0b032(date, new ($3b62074eb05584b2$export$80ee6245ec4f29ec)());
24
- let year = ($3b62074eb05584b2$export$c36e0ecb2d4fa69d)(date.era, date.year);
25
- return $11d87f3f76e88657$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);
22
+ function $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) {
23
+ date = $d07e34cce18680fd$export$b4a036af3fc0b032(date, new ($93635573935797de$export$80ee6245ec4f29ec)());
24
+ let year = ($93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);
25
+ return $d07e34cce18680fd$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);
26
26
  }
27
- function $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {
27
+ function $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {
28
28
  // Note: Date.UTC() interprets one and two-digit years as being in the
29
29
  // 20th century, so don't use it
30
30
  let date = new Date();
@@ -32,20 +32,20 @@ function $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, se
32
32
  date.setUTCFullYear(year, month - 1, day);
33
33
  return date.getTime();
34
34
  }
35
- function $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone) {
35
+ function $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone) {
36
36
  // Fast path for UTC.
37
37
  if (timeZone === 'UTC') return 0;
38
38
  // Fast path: for local timezone after 1970, use native Date.
39
39
  // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,
40
40
  // since native Date always uses the browser's timezone, not the overridden one.
41
- if (ms > 0 && timeZone === ($14e0f24ef4ac5c92$export$aa8b41735afcabd2)() && !($14e0f24ef4ac5c92$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -6e4;
42
- let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone);
43
- let utc = $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second, 0);
41
+ if (ms > 0 && timeZone === ($ad063034c8620db8$export$aa8b41735afcabd2)() && !($ad063034c8620db8$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -6e4;
42
+ let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone);
43
+ let utc = $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, 0);
44
44
  return utc - Math.floor(ms / 1000) * 1000;
45
45
  }
46
- const $11d87f3f76e88657$var$formattersByTimeZone = new Map();
47
- function $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {
48
- let formatter = $11d87f3f76e88657$var$formattersByTimeZone.get(timeZone);
46
+ const $d07e34cce18680fd$var$formattersByTimeZone = new Map();
47
+ function $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone) {
48
+ let formatter = $d07e34cce18680fd$var$formattersByTimeZone.get(timeZone);
49
49
  if (!formatter) {
50
50
  formatter = new Intl.DateTimeFormat('en-US', {
51
51
  timeZone: timeZone,
@@ -58,7 +58,7 @@ function $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {
58
58
  minute: 'numeric',
59
59
  second: 'numeric'
60
60
  });
61
- $11d87f3f76e88657$var$formattersByTimeZone.set(timeZone, formatter);
61
+ $d07e34cce18680fd$var$formattersByTimeZone.set(timeZone, formatter);
62
62
  }
63
63
  let parts = formatter.formatToParts(new Date(ms));
64
64
  let namedParts = {};
@@ -73,40 +73,40 @@ function $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) {
73
73
  second: +namedParts.second
74
74
  };
75
75
  }
76
- const $11d87f3f76e88657$var$DAYMILLIS = 86400000;
77
- function $11d87f3f76e88657$var$getValidWallTimes(date, timeZone, earlier, later) {
76
+ const $d07e34cce18680fd$var$DAYMILLIS = 86400000;
77
+ function $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later) {
78
78
  let found = earlier === later ? [
79
79
  earlier
80
80
  ] : [
81
81
  earlier,
82
82
  later
83
83
  ];
84
- return found.filter((absolute)=>$11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute));
84
+ return found.filter((absolute)=>$d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute));
85
85
  }
86
- function $11d87f3f76e88657$var$isValidWallTime(date, timeZone, absolute) {
87
- let parts = $11d87f3f76e88657$var$getTimeZoneParts(absolute, timeZone);
86
+ function $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute) {
87
+ let parts = $d07e34cce18680fd$var$getTimeZoneParts(absolute, timeZone);
88
88
  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;
89
89
  }
90
- function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {
91
- let dateTime = $11d87f3f76e88657$export$b21e0b124e224484(date);
90
+ function $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {
91
+ let dateTime = $d07e34cce18680fd$export$b21e0b124e224484(date);
92
92
  // Fast path: if the time zone is UTC, use native Date.
93
- if (timeZone === 'UTC') return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);
93
+ if (timeZone === 'UTC') return $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);
94
94
  // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.
95
95
  // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,
96
96
  // since native Date always uses the browser's timezone, not the overridden one.
97
- if (timeZone === ($14e0f24ef4ac5c92$export$aa8b41735afcabd2)() && disambiguation === 'compatible' && !($14e0f24ef4ac5c92$export$6ab69b273755230b)()) {
98
- dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032(dateTime, new ($3b62074eb05584b2$export$80ee6245ec4f29ec)());
97
+ if (timeZone === ($ad063034c8620db8$export$aa8b41735afcabd2)() && disambiguation === 'compatible' && !($ad063034c8620db8$export$6ab69b273755230b)()) {
98
+ dateTime = $d07e34cce18680fd$export$b4a036af3fc0b032(dateTime, new ($93635573935797de$export$80ee6245ec4f29ec)());
99
99
  // Don't use Date constructor here because two-digit years are interpreted in the 20th century.
100
100
  let date = new Date();
101
- let year = ($3b62074eb05584b2$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);
101
+ let year = ($93635573935797de$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);
102
102
  date.setFullYear(year, dateTime.month - 1, dateTime.day);
103
103
  date.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);
104
104
  return date.getTime();
105
105
  }
106
- let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime);
107
- let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone);
108
- let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone);
109
- let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
106
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);
107
+ let offsetBefore = $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);
108
+ let offsetAfter = $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);
109
+ let valid = $d07e34cce18680fd$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
110
110
  if (valid.length === 1) return valid[0];
111
111
  if (valid.length > 1) switch(disambiguation){
112
112
  // 'compatible' means 'earlier' for "fall back" transitions
@@ -129,11 +129,11 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
129
129
  throw new RangeError('No such absolute time found');
130
130
  }
131
131
  }
132
- function $11d87f3f76e88657$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {
133
- return new Date($11d87f3f76e88657$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));
132
+ function $d07e34cce18680fd$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {
133
+ return new Date($d07e34cce18680fd$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));
134
134
  }
135
- function $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {
136
- let offset = $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone);
135
+ function $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone) {
136
+ let offset = $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone);
137
137
  let date = new Date(ms + offset);
138
138
  let year = date.getUTCFullYear();
139
139
  let month = date.getUTCMonth() + 1;
@@ -142,20 +142,20 @@ function $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {
142
142
  let minute = date.getUTCMinutes();
143
143
  let second = date.getUTCSeconds();
144
144
  let millisecond = date.getUTCMilliseconds();
145
- return new ($35ea8db9cb2ccb90$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);
145
+ return new ($2aaf608024c21ca1$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);
146
146
  }
147
- function $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {
148
- return new ($35ea8db9cb2ccb90$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);
147
+ function $d07e34cce18680fd$export$93522d1a439f3617(dateTime) {
148
+ return new ($2aaf608024c21ca1$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);
149
149
  }
150
- function $11d87f3f76e88657$export$b21e0b124e224484(date, time) {
150
+ function $d07e34cce18680fd$export$b21e0b124e224484(date, time) {
151
151
  let hour = 0, minute = 0, second = 0, millisecond = 0;
152
152
  if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);
153
153
  else if ('hour' in date && !time) return date;
154
154
  if (time) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = time);
155
- return new ($35ea8db9cb2ccb90$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);
155
+ return new ($2aaf608024c21ca1$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);
156
156
  }
157
- function $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {
158
- if (($14e0f24ef4ac5c92$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;
157
+ function $d07e34cce18680fd$export$b4a036af3fc0b032(date, calendar) {
158
+ if (($ad063034c8620db8$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;
159
159
  let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));
160
160
  let copy = date.copy();
161
161
  copy.calendar = calendar;
@@ -163,25 +163,25 @@ function $11d87f3f76e88657$export$b4a036af3fc0b032(date, calendar) {
163
163
  copy.year = calendarDate.year;
164
164
  copy.month = calendarDate.month;
165
165
  copy.day = calendarDate.day;
166
- ($735220c2d4774dd3$export$c4e2ecac49351ef2)(copy);
166
+ ($435a2ceaa8778ed8$export$c4e2ecac49351ef2)(copy);
167
167
  return copy;
168
168
  }
169
- function $11d87f3f76e88657$export$84c95a83c799e074(date, timeZone, disambiguation) {
170
- if (date instanceof ($35ea8db9cb2ccb90$export$d3b7288e7994edea)) {
169
+ function $d07e34cce18680fd$export$84c95a83c799e074(date, timeZone, disambiguation) {
170
+ if (date instanceof ($2aaf608024c21ca1$export$d3b7288e7994edea)) {
171
171
  if (date.timeZone === timeZone) return date;
172
- return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);
172
+ return $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone);
173
173
  }
174
- let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguation);
175
- return $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone);
174
+ let ms = $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation);
175
+ return $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone);
176
176
  }
177
- function $11d87f3f76e88657$export$83aac07b4c37b25(date) {
178
- let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;
177
+ function $d07e34cce18680fd$export$83aac07b4c37b25(date) {
178
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;
179
179
  return new Date(ms);
180
180
  }
181
- function $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone) {
182
- let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date) - date.offset;
183
- return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone), date.calendar);
181
+ function $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone) {
182
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;
183
+ return $d07e34cce18680fd$export$b4a036af3fc0b032($d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone), date.calendar);
184
184
  }
185
185
 
186
- export { $11d87f3f76e88657$export$bd4fb2bc8bb06fb as epochFromDate, $11d87f3f76e88657$export$1b96692a1ba042ac as fromAbsolute, $11d87f3f76e88657$export$59c99f3515d3493f as getTimeZoneOffset, $11d87f3f76e88657$export$5107c82f94518f5c as toAbsolute, $11d87f3f76e88657$export$b4a036af3fc0b032 as toCalendar, $11d87f3f76e88657$export$93522d1a439f3617 as toCalendarDate, $11d87f3f76e88657$export$b21e0b124e224484 as toCalendarDateTime, $11d87f3f76e88657$export$e67a095c620b86fe as toDate, $11d87f3f76e88657$export$538b00033cc11c75 as toTimeZone, $11d87f3f76e88657$export$84c95a83c799e074 as toZoned, $11d87f3f76e88657$export$83aac07b4c37b25 as zonedToDate };
186
+ export { $d07e34cce18680fd$export$bd4fb2bc8bb06fb as epochFromDate, $d07e34cce18680fd$export$1b96692a1ba042ac as fromAbsolute, $d07e34cce18680fd$export$59c99f3515d3493f as getTimeZoneOffset, $d07e34cce18680fd$export$5107c82f94518f5c as toAbsolute, $d07e34cce18680fd$export$b4a036af3fc0b032 as toCalendar, $d07e34cce18680fd$export$93522d1a439f3617 as toCalendarDate, $d07e34cce18680fd$export$b21e0b124e224484 as toCalendarDateTime, $d07e34cce18680fd$export$e67a095c620b86fe as toDate, $d07e34cce18680fd$export$538b00033cc11c75 as toTimeZone, $d07e34cce18680fd$export$84c95a83c799e074 as toZoned, $d07e34cce18680fd$export$83aac07b4c37b25 as zonedToDate };
187
187
  //# sourceMappingURL=conversion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversion.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/conversion.mjs"],"sourcesContent":["import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f, Time as $2aaf608024c21ca1$export$680ea196effce5f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2} from \"./manipulation.mjs\";\nimport {getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2, isEqualCalendar as $ad063034c8620db8$export$dbc69fd56b53d5e, isLocalTimeZoneOverridden as $ad063034c8620db8$export$6ab69b273755230b} 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 $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) {\n date = $d07e34cce18680fd$export$b4a036af3fc0b032(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);\n return $d07e34cce18680fd$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);\n}\nfunction $d07e34cce18680fd$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 $d07e34cce18680fd$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 // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (ms > 0 && timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -60000;\n let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone);\n let utc = $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, 0);\n return utc - Math.floor(ms / 1000) * 1000;\n}\nconst $d07e34cce18680fd$var$formattersByTimeZone = new Map();\nfunction $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone) {\n let formatter = $d07e34cce18680fd$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 $d07e34cce18680fd$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 $d07e34cce18680fd$var$DAYMILLIS = 86400000;\nfunction $d07e34cce18680fd$export$136f38efe7caf549(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date);\n let earlier = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let later = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n return $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later);\n}\nfunction $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later) {\n let found = earlier === later ? [\n earlier\n ] : [\n earlier,\n later\n ];\n return found.filter((absolute)=>$d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute));\n}\nfunction $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute) {\n let parts = $d07e34cce18680fd$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 $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {\n let dateTime = $d07e34cce18680fd$export$b21e0b124e224484(date);\n // Fast path: if the time zone is UTC, use native Date.\n if (timeZone === 'UTC') return $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.\n // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && disambiguation === 'compatible' && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) {\n dateTime = $d07e34cce18680fd$export$b4a036af3fc0b032(dateTime, new (0, $93635573935797de$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, $93635573935797de$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 = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n let offsetBefore = $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let offsetAfter = $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let valid = $d07e34cce18680fd$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 $d07e34cce18680fd$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {\n return new Date($d07e34cce18680fd$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));\n}\nfunction $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone) {\n let offset = $d07e34cce18680fd$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, $2aaf608024c21ca1$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$e57ff100d91bd4b9(date, timeZone) {\n return $d07e34cce18680fd$export$1b96692a1ba042ac(date.getTime(), timeZone);\n}\nfunction $d07e34cce18680fd$export$d7f92bcd3596b086(date) {\n return $d07e34cce18680fd$export$e57ff100d91bd4b9(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\nfunction $d07e34cce18680fd$export$93522d1a439f3617(dateTime) {\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);\n}\nfunction $d07e34cce18680fd$export$6f4d78149f3f53ac(date) {\n return {\n era: date.era,\n year: date.year,\n month: date.month,\n day: date.day\n };\n}\nfunction $d07e34cce18680fd$export$4d0393e732857be5(date) {\n return {\n hour: date.hour,\n minute: date.minute,\n second: date.second,\n millisecond: date.millisecond\n };\n}\nfunction $d07e34cce18680fd$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, $2aaf608024c21ca1$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$d33f79e3ffc3dc83(dateTime) {\n return new (0, $2aaf608024c21ca1$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n}\nfunction $d07e34cce18680fd$export$b4a036af3fc0b032(date, calendar) {\n if ((0, $ad063034c8620db8$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, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(copy);\n return copy;\n}\nfunction $d07e34cce18680fd$export$84c95a83c799e074(date, timeZone, disambiguation) {\n if (date instanceof (0, $2aaf608024c21ca1$export$d3b7288e7994edea)) {\n if (date.timeZone === timeZone) return date;\n return $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone);\n }\n let ms = $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation);\n return $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone);\n}\nfunction $d07e34cce18680fd$export$83aac07b4c37b25(date) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return new Date(ms);\n}\nfunction $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return $d07e34cce18680fd$export$b4a036af3fc0b032($d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone), date.calendar);\n}\nfunction $d07e34cce18680fd$export$d9b67bc93c097491(date) {\n return $d07e34cce18680fd$export$538b00033cc11c75(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\n\n\nexport {$d07e34cce18680fd$export$bd4fb2bc8bb06fb as epochFromDate, $d07e34cce18680fd$export$b4a036af3fc0b032 as toCalendar, $d07e34cce18680fd$export$59c99f3515d3493f as getTimeZoneOffset, $d07e34cce18680fd$export$136f38efe7caf549 as possibleAbsolutes, $d07e34cce18680fd$export$5107c82f94518f5c as toAbsolute, $d07e34cce18680fd$export$b21e0b124e224484 as toCalendarDateTime, $d07e34cce18680fd$export$e67a095c620b86fe as toDate, $d07e34cce18680fd$export$1b96692a1ba042ac as fromAbsolute, $d07e34cce18680fd$export$e57ff100d91bd4b9 as fromDate, $d07e34cce18680fd$export$d7f92bcd3596b086 as fromDateToLocal, $d07e34cce18680fd$export$93522d1a439f3617 as toCalendarDate, $d07e34cce18680fd$export$6f4d78149f3f53ac as toDateFields, $d07e34cce18680fd$export$4d0393e732857be5 as toTimeFields, $d07e34cce18680fd$export$d33f79e3ffc3dc83 as toTime, $d07e34cce18680fd$export$84c95a83c799e074 as toZoned, $d07e34cce18680fd$export$538b00033cc11c75 as toTimeZone, $d07e34cce18680fd$export$83aac07b4c37b25 as zonedToDate, $d07e34cce18680fd$export$d9b67bc93c097491 as toLocalTimeZone};\n//# sourceMappingURL=conversion.mjs.map\n"],"names":[],"mappings":";;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA,SAAS,wCAAwC,CAAC,IAAI,EAAE;AACxD,IAAI,IAAI,GAAG,yCAAyC,CAAC,IAAI,EAAE,KAAQ,yCAAyC,GAAG,CAAC;AAChH,IAAI,IAAI,IAAI,GAAG,CAAI,yCAAyC,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC;AAClF,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;AAClI;AACA,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;AACzB,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;AACvD,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,CAAC;AAC7C,IAAI,OAAO,IAAI,CAAC,OAAO,EAAE;AACzB;AACA,SAAS,yCAAyC,CAAC,EAAE,EAAE,QAAQ,EAAE;AACjE;AACA,IAAI,IAAI,QAAQ,KAAK,KAAK,EAAE,OAAO,CAAC;AACpC;AACA;AACA;AACA,IAAI,IAAI,EAAE,GAAG,CAAC,IAAI,QA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