@attocash/cli 0.1.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.
- package/LICENSE +28 -0
- package/README.md +707 -0
- package/dist/application/app.d.ts +138 -0
- package/dist/application/app.js +654 -0
- package/dist/application/operations.d.ts +9 -0
- package/dist/application/operations.js +96 -0
- package/dist/cli/cli.d.ts +1 -0
- package/dist/cli/cli.js +460 -0
- package/dist/cli/help.d.ts +4 -0
- package/dist/cli/help.js +49 -0
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.js +13 -0
- package/dist/cli/onboarding.d.ts +14 -0
- package/dist/cli/onboarding.js +144 -0
- package/dist/cli/output.d.ts +2 -0
- package/dist/cli/output.js +231 -0
- package/dist/cli/terminal.d.ts +6 -0
- package/dist/cli/terminal.js +92 -0
- package/dist/cli/update-check.d.ts +1 -0
- package/dist/cli/update-check.js +12 -0
- package/dist/cli/updates.d.ts +2 -0
- package/dist/cli/updates.js +98 -0
- package/dist/core.d.ts +14 -0
- package/dist/core.js +14 -0
- package/dist/doctor/credential-probe.d.ts +7 -0
- package/dist/doctor/credential-probe.js +49 -0
- package/dist/doctor/doctor.d.ts +4 -0
- package/dist/doctor/doctor.js +213 -0
- package/dist/doctor/keyring.d.ts +7 -0
- package/dist/doctor/keyring.js +150 -0
- package/dist/doctor/profile.d.ts +19 -0
- package/dist/doctor/profile.js +73 -0
- package/dist/doctor/types.d.ts +40 -0
- package/dist/doctor/types.js +1 -0
- package/dist/domain/amount.d.ts +6 -0
- package/dist/domain/amount.js +27 -0
- package/dist/domain/errors.d.ts +10 -0
- package/dist/domain/errors.js +16 -0
- package/dist/labels/directory.d.ts +87 -0
- package/dist/labels/directory.js +140 -0
- package/dist/labels/personal.d.ts +17 -0
- package/dist/labels/personal.js +56 -0
- package/dist/labels/presentation.d.ts +154 -0
- package/dist/labels/presentation.js +90 -0
- package/dist/network/reader.d.ts +31 -0
- package/dist/network/reader.js +370 -0
- package/dist/network/retry.d.ts +7 -0
- package/dist/network/retry.js +53 -0
- package/dist/network/work.d.ts +3 -0
- package/dist/network/work.js +66 -0
- package/dist/pricing/market.d.ts +29 -0
- package/dist/pricing/market.js +150 -0
- package/dist/pricing/terms.d.ts +6 -0
- package/dist/pricing/terms.js +12 -0
- package/dist/spending/destination.d.ts +16 -0
- package/dist/spending/destination.js +42 -0
- package/dist/spending/journal.d.ts +28 -0
- package/dist/spending/journal.js +69 -0
- package/dist/spending/ledger.d.ts +118 -0
- package/dist/spending/ledger.js +444 -0
- package/dist/spending/payments.d.ts +67 -0
- package/dist/spending/payments.js +424 -0
- package/dist/spending/pool.d.ts +13 -0
- package/dist/spending/pool.js +38 -0
- package/dist/spending/reconcile.d.ts +18 -0
- package/dist/spending/reconcile.js +64 -0
- package/dist/storage/profiles.d.ts +13 -0
- package/dist/storage/profiles.js +86 -0
- package/dist/storage/secrets.d.ts +16 -0
- package/dist/storage/secrets.js +104 -0
- package/dist/storage/state.d.ts +32 -0
- package/dist/storage/state.js +255 -0
- package/dist/wallet/auto-receive.d.ts +57 -0
- package/dist/wallet/auto-receive.js +140 -0
- package/dist/wallet/defaults.d.ts +3 -0
- package/dist/wallet/defaults.js +26 -0
- package/dist/wallet/signing.d.ts +17 -0
- package/dist/wallet/signing.js +128 -0
- package/dist/wallet/types.d.ts +65 -0
- package/dist/wallet/types.js +1 -0
- package/dist/wallet/work.d.ts +29 -0
- package/dist/wallet/work.js +154 -0
- package/dist/watches/manager.d.ts +75 -0
- package/dist/watches/manager.js +197 -0
- package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs +6678 -0
- package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/LICENSE +28 -0
- package/node_modules/@attocash/commons-core/README.md +118 -0
- package/node_modules/@attocash/commons-core/commons-commons-core.d.mts +1036 -0
- package/node_modules/@attocash/commons-core/commons-commons-core.mjs +7701 -0
- package/node_modules/@attocash/commons-core/commons-commons-core.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs +17681 -0
- package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/node_modules/@attocash/commons-core/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs +209 -0
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs +2284 -0
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs +6042 -0
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-core/package.json +27 -0
- package/node_modules/@attocash/commons-node/LICENSE +28 -0
- package/node_modules/@attocash/commons-node/README.md +92 -0
- package/node_modules/@attocash/commons-node/commons-commons-node.d.mts +255 -0
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs +2977 -0
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs.map +1 -0
- package/node_modules/@attocash/commons-node/kotlin-logging.mjs +432 -0
- package/node_modules/@attocash/commons-node/kotlin-logging.mjs.map +1 -0
- package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-node/package.json +29 -0
- package/node_modules/@attocash/commons-node-remote/LICENSE +28 -0
- package/node_modules/@attocash/commons-node-remote/README.md +61 -0
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.d.mts +122 -0
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs +1810 -0
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs.map +1 -0
- package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs +432 -0
- package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs.map +1 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-browser.mjs +8 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-browser.mjs.map +1 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-node-remote/package.json +31 -0
- package/node_modules/@attocash/commons-transport/LICENSE +28 -0
- package/node_modules/@attocash/commons-transport/README.md +5 -0
- package/node_modules/@attocash/commons-transport/commons-commons-transport.d.mts +64 -0
- package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs +249 -0
- package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs +263 -0
- package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/kotlinx-browser.mjs +8 -0
- package/node_modules/@attocash/commons-transport/kotlinx-browser.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs +11604 -0
- package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs +499 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs +6456 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs +83 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs +1714 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs +3197 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs +2290 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs +46 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs +482 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs +165 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-sse.mjs +4 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-sse.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs +3222 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-websocket-serialization.mjs +4 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-websocket-serialization.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs +1485 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/package.json +29 -0
- package/node_modules/@attocash/commons-worker/LICENSE +28 -0
- package/node_modules/@attocash/commons-worker/README.md +48 -0
- package/node_modules/@attocash/commons-worker/commons-commons-worker.d.mts +73 -0
- package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs +702 -0
- package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker/kotlin-logging.mjs +432 -0
- package/node_modules/@attocash/commons-worker/kotlin-logging.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker/package.json +29 -0
- package/node_modules/@attocash/commons-worker-remote/LICENSE +28 -0
- package/node_modules/@attocash/commons-worker-remote/README.md +60 -0
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.d.mts +93 -0
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs +289 -0
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs +432 -0
- package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-browser.mjs +8 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-browser.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/node_modules/@attocash/commons-worker-remote/package.json +31 -0
- package/node_modules/@js-joda/core/CHANGELOG.md +363 -0
- package/node_modules/@js-joda/core/CheatSheet.md +947 -0
- package/node_modules/@js-joda/core/LICENSE +34 -0
- package/node_modules/@js-joda/core/README.md +155 -0
- package/node_modules/@js-joda/core/bower.json +21 -0
- package/node_modules/@js-joda/core/dist/js-joda.d.ts +2452 -0
- package/node_modules/@js-joda/core/dist/js-joda.esm.js +13564 -0
- package/node_modules/@js-joda/core/dist/js-joda.flow.js +949 -0
- package/node_modules/@js-joda/core/dist/js-joda.js +13630 -0
- package/node_modules/@js-joda/core/dist/js-joda.js.map +1 -0
- package/node_modules/@js-joda/core/dist/js-joda.min.js +5 -0
- package/node_modules/@js-joda/core/package.json +76 -0
- package/node_modules/@js-joda/core/src/Clock.js +330 -0
- package/node_modules/@js-joda/core/src/DayOfWeek.js +451 -0
- package/node_modules/@js-joda/core/src/Duration.js +1205 -0
- package/node_modules/@js-joda/core/src/Enum.js +30 -0
- package/node_modules/@js-joda/core/src/Instant.js +1012 -0
- package/node_modules/@js-joda/core/src/LocalDate.js +1703 -0
- package/node_modules/@js-joda/core/src/LocalDateTime.js +1686 -0
- package/node_modules/@js-joda/core/src/LocalTime.js +1415 -0
- package/node_modules/@js-joda/core/src/MathUtil.js +236 -0
- package/node_modules/@js-joda/core/src/Month.js +600 -0
- package/node_modules/@js-joda/core/src/MonthDay.js +730 -0
- package/node_modules/@js-joda/core/src/OffsetDateTime.js +757 -0
- package/node_modules/@js-joda/core/src/OffsetTime.js +621 -0
- package/node_modules/@js-joda/core/src/Period.js +933 -0
- package/node_modules/@js-joda/core/src/StringUtil.js +43 -0
- package/node_modules/@js-joda/core/src/Year.js +1015 -0
- package/node_modules/@js-joda/core/src/YearConstants.js +21 -0
- package/node_modules/@js-joda/core/src/YearMonth.js +1096 -0
- package/node_modules/@js-joda/core/src/ZoneId.js +236 -0
- package/node_modules/@js-joda/core/src/ZoneIdFactory.js +201 -0
- package/node_modules/@js-joda/core/src/ZoneOffset.js +486 -0
- package/node_modules/@js-joda/core/src/ZoneRegion.js +72 -0
- package/node_modules/@js-joda/core/src/ZonedDateTime.js +2007 -0
- package/node_modules/@js-joda/core/src/_init.js +68 -0
- package/node_modules/@js-joda/core/src/assert.js +33 -0
- package/node_modules/@js-joda/core/src/chrono/ChronoLocalDate.js +230 -0
- package/node_modules/@js-joda/core/src/chrono/ChronoLocalDateTime.js +130 -0
- package/node_modules/@js-joda/core/src/chrono/ChronoZonedDateTime.js +194 -0
- package/node_modules/@js-joda/core/src/chrono/IsoChronology.js +235 -0
- package/node_modules/@js-joda/core/src/convert.js +83 -0
- package/node_modules/@js-joda/core/src/errors.js +54 -0
- package/node_modules/@js-joda/core/src/format/DateTimeBuilder.js +535 -0
- package/node_modules/@js-joda/core/src/format/DateTimeFormatter.js +728 -0
- package/node_modules/@js-joda/core/src/format/DateTimeFormatterBuilder.js +1545 -0
- package/node_modules/@js-joda/core/src/format/DateTimeParseContext.js +297 -0
- package/node_modules/@js-joda/core/src/format/DateTimePrintContext.js +138 -0
- package/node_modules/@js-joda/core/src/format/DecimalStyle.js +113 -0
- package/node_modules/@js-joda/core/src/format/EnumMap.js +70 -0
- package/node_modules/@js-joda/core/src/format/ParsePosition.js +31 -0
- package/node_modules/@js-joda/core/src/format/ResolverStyle.js +93 -0
- package/node_modules/@js-joda/core/src/format/SignStyle.js +38 -0
- package/node_modules/@js-joda/core/src/format/StringBuilder.js +47 -0
- package/node_modules/@js-joda/core/src/format/TextStyle.js +114 -0
- package/node_modules/@js-joda/core/src/format/parser/CharLiteralPrinterParser.js +46 -0
- package/node_modules/@js-joda/core/src/format/parser/CompositePrinterParser.js +89 -0
- package/node_modules/@js-joda/core/src/format/parser/FractionPrinterParser.js +162 -0
- package/node_modules/@js-joda/core/src/format/parser/NumberPrinterParser.js +367 -0
- package/node_modules/@js-joda/core/src/format/parser/OffsetIdPrinterParser.js +177 -0
- package/node_modules/@js-joda/core/src/format/parser/PadPrinterParserDecorator.js +81 -0
- package/node_modules/@js-joda/core/src/format/parser/SettingsParser.js +44 -0
- package/node_modules/@js-joda/core/src/format/parser/StringLiteralPrinterParser.js +39 -0
- package/node_modules/@js-joda/core/src/format/parser/ZoneIdPrinterParser.js +218 -0
- package/node_modules/@js-joda/core/src/js-joda.js +210 -0
- package/node_modules/@js-joda/core/src/license-preamble.js +3 -0
- package/node_modules/@js-joda/core/src/temporal/ChronoField.js +470 -0
- package/node_modules/@js-joda/core/src/temporal/ChronoUnit.js +310 -0
- package/node_modules/@js-joda/core/src/temporal/DefaultInterfaceTemporal.js +118 -0
- package/node_modules/@js-joda/core/src/temporal/IsoFields.js +859 -0
- package/node_modules/@js-joda/core/src/temporal/NativeJsTemporal.js +105 -0
- package/node_modules/@js-joda/core/src/temporal/Temporal.js +346 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalAccessor.js +125 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalAdjuster.js +92 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalAdjusters.js +464 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalAmount.js +166 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalField.js +248 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalQueries.js +223 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalQueriesFactory.js +77 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalQuery.js +107 -0
- package/node_modules/@js-joda/core/src/temporal/TemporalUnit.js +179 -0
- package/node_modules/@js-joda/core/src/temporal/ValueRange.js +257 -0
- package/node_modules/@js-joda/core/src/use.js +20 -0
- package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneId.js +31 -0
- package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneRules.js +162 -0
- package/node_modules/@js-joda/core/src/zone/ZoneOffsetTransition.js +289 -0
- package/node_modules/@js-joda/core/src/zone/ZoneRules.js +464 -0
- package/node_modules/@js-joda/core/src/zone/ZoneRulesProvider.js +36 -0
- package/node_modules/@noble/hashes/LICENSE +21 -0
- package/node_modules/@noble/hashes/README.md +563 -0
- package/node_modules/@noble/hashes/_blake.d.ts +21 -0
- package/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_blake.js +52 -0
- package/node_modules/@noble/hashes/_blake.js.map +1 -0
- package/node_modules/@noble/hashes/_md.d.ts +99 -0
- package/node_modules/@noble/hashes/_md.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_md.js +202 -0
- package/node_modules/@noble/hashes/_md.js.map +1 -0
- package/node_modules/@noble/hashes/_u64.d.ts +63 -0
- package/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_u64.js +84 -0
- package/node_modules/@noble/hashes/_u64.js.map +1 -0
- package/node_modules/@noble/hashes/argon2.d.ts +112 -0
- package/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/argon2.js +517 -0
- package/node_modules/@noble/hashes/argon2.js.map +1 -0
- package/node_modules/@noble/hashes/blake1.d.ts +156 -0
- package/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake1.js +560 -0
- package/node_modules/@noble/hashes/blake1.js.map +1 -0
- package/node_modules/@noble/hashes/blake2.d.ts +184 -0
- package/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake2.js +501 -0
- package/node_modules/@noble/hashes/blake2.js.map +1 -0
- package/node_modules/@noble/hashes/blake3.d.ts +68 -0
- package/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake3.js +284 -0
- package/node_modules/@noble/hashes/blake3.js.map +1 -0
- package/node_modules/@noble/hashes/eskdf.d.ts +92 -0
- package/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/eskdf.js +218 -0
- package/node_modules/@noble/hashes/eskdf.js.map +1 -0
- package/node_modules/@noble/hashes/hkdf.d.ts +64 -0
- package/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/hkdf.js +120 -0
- package/node_modules/@noble/hashes/hkdf.js.map +1 -0
- package/node_modules/@noble/hashes/hmac.d.ts +47 -0
- package/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
- package/node_modules/@noble/hashes/hmac.js +93 -0
- package/node_modules/@noble/hashes/hmac.js.map +1 -0
- package/node_modules/@noble/hashes/index.d.ts +2 -0
- package/node_modules/@noble/hashes/index.d.ts.map +1 -0
- package/node_modules/@noble/hashes/index.js +35 -0
- package/node_modules/@noble/hashes/index.js.map +1 -0
- package/node_modules/@noble/hashes/legacy.d.ts +102 -0
- package/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
- package/node_modules/@noble/hashes/legacy.js +327 -0
- package/node_modules/@noble/hashes/legacy.js.map +1 -0
- package/node_modules/@noble/hashes/package.json +97 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts +56 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/pbkdf2.js +135 -0
- package/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
- package/node_modules/@noble/hashes/scrypt.d.ts +65 -0
- package/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
- package/node_modules/@noble/hashes/scrypt.js +257 -0
- package/node_modules/@noble/hashes/scrypt.js.map +1 -0
- package/node_modules/@noble/hashes/sha2.d.ts +249 -0
- package/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha2.js +458 -0
- package/node_modules/@noble/hashes/sha2.js.map +1 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts +461 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha3-addons.js +783 -0
- package/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
- package/node_modules/@noble/hashes/sha3.d.ts +199 -0
- package/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha3.js +431 -0
- package/node_modules/@noble/hashes/sha3.js.map +1 -0
- package/node_modules/@noble/hashes/src/_blake.ts +57 -0
- package/node_modules/@noble/hashes/src/_md.ts +222 -0
- package/node_modules/@noble/hashes/src/_u64.ts +117 -0
- package/node_modules/@noble/hashes/src/argon2.ts +667 -0
- package/node_modules/@noble/hashes/src/blake1.ts +614 -0
- package/node_modules/@noble/hashes/src/blake2.ts +582 -0
- package/node_modules/@noble/hashes/src/blake3.ts +317 -0
- package/node_modules/@noble/hashes/src/eskdf.ts +259 -0
- package/node_modules/@noble/hashes/src/hkdf.ts +133 -0
- package/node_modules/@noble/hashes/src/hmac.ts +126 -0
- package/node_modules/@noble/hashes/src/index.ts +33 -0
- package/node_modules/@noble/hashes/src/legacy.ts +339 -0
- package/node_modules/@noble/hashes/src/pbkdf2.ts +175 -0
- package/node_modules/@noble/hashes/src/scrypt.ts +315 -0
- package/node_modules/@noble/hashes/src/sha2.ts +530 -0
- package/node_modules/@noble/hashes/src/sha3-addons.ts +983 -0
- package/node_modules/@noble/hashes/src/sha3.ts +485 -0
- package/node_modules/@noble/hashes/src/utils.ts +848 -0
- package/node_modules/@noble/hashes/src/webcrypto.ts +239 -0
- package/node_modules/@noble/hashes/utils.d.ts +519 -0
- package/node_modules/@noble/hashes/utils.d.ts.map +1 -0
- package/node_modules/@noble/hashes/utils.js +578 -0
- package/node_modules/@noble/hashes/utils.js.map +1 -0
- package/node_modules/@noble/hashes/webcrypto.d.ts +120 -0
- package/node_modules/@noble/hashes/webcrypto.d.ts.map +1 -0
- package/node_modules/@noble/hashes/webcrypto.js +165 -0
- package/node_modules/@noble/hashes/webcrypto.js.map +1 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1407 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/package.json +53 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//! @version @js-joda/core - 3.2.0
|
|
2
|
+
//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
|
|
3
|
+
//! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
4
|
+
//! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
5
|
+
var JSJoda=function(t){"use strict";function e(t,e,n){function i(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,e&&e.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===n&&(n=Error),(i.prototype=Object.create(n.prototype)).name=t,i.prototype.constructor=i}var y=e("DateTimeException",function(t,e){void 0===e&&(e=null);var n=t||this.name;null!==e&&e instanceof Error&&(n+="\n-------\nCaused by: "+e.stack+"\n-------\n");this.message=n}),p=e("DateTimeParseException",function(t,e,n,i){void 0===e&&(e="");void 0===n&&(n=0);void 0===i&&(i=null);var r=t||this.name;r+=": "+e+", at index: "+n,null!==i&&i instanceof Error&&(r+="\n-------\nCaused by: "+i.stack+"\n-------\n");this.message=r,this.parsedString=function(){return e},this.errorIndex=function(){return n}}),l=e("UnsupportedTemporalTypeException",null,y),E=e("ArithmeticException"),c=e("IllegalArgumentException"),r=e("IllegalStateException"),s=e("NullPointerException");function _(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e,n){if(!t)throw n?new n(e):new Error(e)}function m(t,e){if(null==t)throw new s(e+" must not be null");return t}function o(t,e,n){if(!(t instanceof e))throw new c(n+" must be an instance of "+(e.name?e.name:e)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function i(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var n,a=Object.freeze({__proto__:null,assert:S,requireNonNull:m,requireInstance:o,abstractMethodFail:i}),u=9007199254740991,h=-9007199254740991,M=(f.intDiv=function(t,e){var n=t/e;return n=f.roundDown(n),f.safeZero(n)},f.intMod=function(t,e){var n=t-f.intDiv(t,e)*e;return n=f.roundDown(n),f.safeZero(n)},f.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},f.floorDiv=function(t,e){var n=Math.floor(t/e);return f.safeZero(n)},f.floorMod=function(t,e){var n=t-f.floorDiv(t,e)*e;return f.safeZero(n)},f.safeAdd=function(t,e){if(f.verifyInt(t),f.verifyInt(e),0===t)return f.safeZero(e);if(0===e)return f.safeZero(t);var n=f.safeToInt(t+e);if(n===t||n===e)throw new E("Invalid addition beyond MAX_SAFE_INTEGER!");return n},f.safeSubtract=function(t,e){return f.verifyInt(t),f.verifyInt(e),0===t&&0===e?0:0===t?f.safeZero(-1*e):0===e?f.safeZero(t):f.safeToInt(t-e)},f.safeMultiply=function(t,e){if(f.verifyInt(t),f.verifyInt(e),1===t)return f.safeZero(e);if(1===e)return f.safeZero(t);if(0===t||0===e)return 0;var n=f.safeToInt(t*e);if(n/e!==t||t===h&&-1===e||e===h&&-1===t)throw new E("Multiplication overflows: "+t+" * "+e);return n},f.parseInt=(n=function(t){var e=parseInt(t);return f.safeToInt(e)},O.toString=function(){return n.toString()},O),f.safeToInt=function(t){return f.verifyInt(t),f.safeZero(t)},f.verifyInt=function(t){if(null==t)throw new E("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new E("Invalid int value, using NaN as argument");if(t%1!=0)throw new E("Invalid value: '"+t+"' is a float");if(u<t||t<h)throw new E("Calculation overflows an int: "+t)},f.safeZero=function(t){return 0===t?0:+t},f.compareNumbers=function(t,e){return t<e?-1:e<t?1:0},f.smi=function(t){return t>>>1&1073741824|3221225471&t},f.hash=function(t){if(t!=t||t===1/0)return 0;for(var e=t;4294967295<t;)e^=t/=4294967295;return f.smi(e)},f.hashCode=function(){for(var t=17,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,s=n;r<s.length;r++){var o=s[r];t=(t<<5)-t+f.hash(o)}return f.hash(t)},f);function f(){}function O(t){return n.apply(this,arguments)}M.MAX_SAFE_INTEGER=u,M.MIN_SAFE_INTEGER=h;var N,D=((N=A.prototype).equals=function(t){return this===t},N.toString=function(){return this._name},N.toJSON=function(){return this.toString()},A);function A(t){this._name=t}var T,v=((T=w.prototype).get=function(){i("get")},T.units=function(){i("units")},T.addTo=function(){i("addTo")},T.subtractFrom=function(){i("subtractFrom")},w);function w(){}var R,g=((R=I.prototype).duration=function(){i("duration")},R.isDurationEstimated=function(){i("isDurationEstimated")},R.isDateBased=function(){i("isDateBased")},R.isTimeBased=function(){i("isTimeBased")},R.isSupportedBy=function(){i("isSupportedBy")},R.addTo=function(){i("addTo")},R.between=function(){i("between")},I);function I(){}var F=function(i){function d(t,e){var n;return(n=i.call(this)||this)._seconds=M.safeToInt(t),n._nanos=M.safeToInt(e),n}_(d,i),d.ofDays=function(t){return d._create(M.safeMultiply(t,On.SECONDS_PER_DAY),0)},d.ofHours=function(t){return d._create(M.safeMultiply(t,On.SECONDS_PER_HOUR),0)},d.ofMinutes=function(t){return d._create(M.safeMultiply(t,On.SECONDS_PER_MINUTE),0)},d.ofSeconds=function(t,e){void 0===e&&(e=0);var n=M.safeAdd(t,M.floorDiv(e,On.NANOS_PER_SECOND)),i=M.floorMod(e,On.NANOS_PER_SECOND);return d._create(n,i)},d.ofMillis=function(t){var e=M.intDiv(t,1e3),n=M.intMod(t,1e3);return n<0&&(n+=1e3,e--),d._create(e,1e6*n)},d.ofNanos=function(t){var e=M.intDiv(t,On.NANOS_PER_SECOND),n=M.intMod(t,On.NANOS_PER_SECOND);return n<0&&(n+=On.NANOS_PER_SECOND,e--),this._create(e,n)},d.of=function(t,e){return d.ZERO.plus(t,e)},d.from=function(e){m(e,"amount"),o(e,v);var n=d.ZERO;return e.units().forEach(function(t){n=n.plus(e.get(t),t)}),n},d.between=function(t,e){m(t,"startInclusive"),m(e,"endExclusive");var n=t.until(e,C.SECONDS),i=0;if(t.isSupported(W.NANO_OF_SECOND)&&e.isSupported(W.NANO_OF_SECOND))try{var r=t.getLong(W.NANO_OF_SECOND);if(i=e.getLong(W.NANO_OF_SECOND)-r,0<n&&i<0)i+=On.NANOS_PER_SECOND;else if(n<0&&0<i)i-=On.NANOS_PER_SECOND;else if(0===n&&0!==i){var s=e.with(W.NANO_OF_SECOND,r);n=t.until(s,C.SECONDS)}}catch(t){}return this.ofSeconds(n,i)},d.parse=function(e){m(e,"text");var t=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(e);if(null!==t&&"T"===t[3]==!1){var n="-"===t[1],i=t[2],r=t[4],s=t[5],o=t[6],a=t[7];if(null!=i||null!=r||null!=s||null!=o){var u=d._parseNumber(e,i,On.SECONDS_PER_DAY,"days"),h=d._parseNumber(e,r,On.SECONDS_PER_HOUR,"hours"),f=d._parseNumber(e,s,On.SECONDS_PER_MINUTE,"minutes"),c=d._parseNumber(e,o,1,"seconds"),l=null!=o&&"-"===o.charAt(0),_=d._parseFraction(e,a,l?-1:1);try{return d._create(n,u,h,f,c,_)}catch(t){throw new p("Text cannot be parsed to a Duration: overflow",e,0,t)}}}throw new p("Text cannot be parsed to a Duration",e,0)},d._parseNumber=function(e,t,n,i){if(null==t)return 0;try{return"+"===t[0]&&(t=t.substring(1)),M.safeMultiply(parseFloat(t),n)}catch(t){throw new p("Text cannot be parsed to a Duration: "+i,e,0,t)}},d._parseFraction=function(t,e,n){return null==e||0===e.length?0:(e=(e+"000000000").substring(0,9),parseFloat(e)*n)},d._create=function(t,e,n,i,r,s){return arguments.length<=2?d._createSecondsNanos(t,e):d._createNegateDaysHoursMinutesSecondsNanos(t,e,n,i,r,s)},d._createNegateDaysHoursMinutesSecondsNanos=function(t,e,n,i,r,s){var o=M.safeAdd(e,M.safeAdd(n,M.safeAdd(i,r)));return t?d.ofSeconds(o,s).negated():d.ofSeconds(o,s)},d._createSecondsNanos=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),0===t&&0===e?d.ZERO:new d(t,e)};var t=d.prototype;return t.get=function(t){if(t===C.SECONDS)return this._seconds;if(t===C.NANOS)return this._nanos;throw new l("Unsupported unit: "+t)},t.units=function(){return[C.SECONDS,C.NANOS]},t.isZero=function(){return 0===this._seconds&&0===this._nanos},t.isNegative=function(){return this._seconds<0},t.seconds=function(){return this._seconds},t.nano=function(){return this._nanos},t.withSeconds=function(t){return d._create(t,this._nanos)},t.withNanos=function(t){return W.NANO_OF_SECOND.checkValidIntValue(t),d._create(this._seconds,t)},t.plusDuration=function(t){return m(t,"duration"),this.plus(t.seconds(),t.nano())},t.plus=function(t,e){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&e instanceof g?this.plusAmountUnit(t,e):this.plusSecondsNanos(t,e)},t.plusAmountUnit=function(t,e){if(m(t,"amountToAdd"),m(e,"unit"),e===C.DAYS)return this.plusSecondsNanos(M.safeMultiply(t,On.SECONDS_PER_DAY),0);if(e.isDurationEstimated())throw new l("Unit must not have an estimated duration");if(0===t)return this;if(e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusSecondsNanos(1e3*M.intDiv(t,1e9),1e3*M.intMod(t,1e9));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(M.safeMultiply(e.duration().seconds(),t),0)}var n=e.duration().multipliedBy(t);return this.plusSecondsNanos(n.seconds(),n.nano())},t.plusDays=function(t){return this.plusSecondsNanos(M.safeMultiply(t,On.SECONDS_PER_DAY),0)},t.plusHours=function(t){return this.plusSecondsNanos(M.safeMultiply(t,On.SECONDS_PER_HOUR),0)},t.plusMinutes=function(t){return this.plusSecondsNanos(M.safeMultiply(t,On.SECONDS_PER_MINUTE),0)},t.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},t.plusMillis=function(t){return this.plusSecondsNanos(M.intDiv(t,1e3),1e6*M.intMod(t,1e3))},t.plusNanos=function(t){return this.plusSecondsNanos(0,t)},t.plusSecondsNanos=function(t,e){if(m(t,"secondsToAdd"),m(e,"nanosToAdd"),0===t&&0===e)return this;var n=M.safeAdd(this._seconds,t);n=M.safeAdd(n,M.intDiv(e,On.NANOS_PER_SECOND)),e=M.intMod(e,On.NANOS_PER_SECOND);var i=M.safeAdd(this._nanos,e);return d.ofSeconds(n,i)},t.minus=function(t,e){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,e)},t.minusDuration=function(t){m(t,"duration");var e=t.seconds(),n=t.nano();return e===h?this.plus(u,-n):this.plus(-e,-n)},t.minusAmountUnit=function(t,e){return m(t,"amountToSubtract"),m(e,"unit"),t===h?this.plusAmountUnit(u,e):this.plusAmountUnit(-t,e)},t.minusDays=function(t){return t===h?this.plusDays(u):this.plusDays(-t)},t.minusHours=function(t){return t===h?this.plusHours(u):this.plusHours(-t)},t.minusMinutes=function(t){return t===h?this.plusMinutes(u):this.plusMinutes(-t)},t.minusSeconds=function(t){return t===h?this.plusSeconds(u):this.plusSeconds(-t)},t.minusMillis=function(t){return t===h?this.plusMillis(u):this.plusMillis(-t)},t.minusNanos=function(t){return t===h?this.plusNanos(u):this.plusNanos(-t)},t.multipliedBy=function(t){if(0===t)return d.ZERO;if(1===t)return this;var e=M.safeMultiply(this._seconds,t),n=M.safeMultiply(this._nanos,t);return e+=M.intDiv(n,On.NANOS_PER_SECOND),n=M.intMod(n,On.NANOS_PER_SECOND),d.ofSeconds(e,n)},t.dividedBy=function(t){if(0===t)throw new E("Cannot divide by zero");if(1===t)return this;var e=M.intDiv(this._seconds,t),n=M.roundDown((this._seconds/t-e)*On.NANOS_PER_SECOND),i=M.intDiv(this._nanos,t);return d.ofSeconds(e,i=n+i)},t.negated=function(){return this.multipliedBy(-1)},t.abs=function(){return this.isNegative()?this.negated():this},t.addTo=function(t){return m(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,C.NANOS)),t},t.subtractFrom=function(t){return m(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,C.NANOS)),t},t.toDays=function(){return M.intDiv(this._seconds,On.SECONDS_PER_DAY)},t.toHours=function(){return M.intDiv(this._seconds,On.SECONDS_PER_HOUR)},t.toMinutes=function(){return M.intDiv(this._seconds,On.SECONDS_PER_MINUTE)},t.toMillis=function(){var t=Math.round(M.safeMultiply(this._seconds,1e3));return t=M.safeAdd(t,M.intDiv(this._nanos,1e6))},t.toNanos=function(){var t=M.safeMultiply(this._seconds,On.NANOS_PER_SECOND);return t=M.safeAdd(t,this._nanos)},t.compareTo=function(t){m(t,"otherDuration"),o(t,d,"otherDuration");var e=M.compareNumbers(this._seconds,t.seconds());return 0!==e?e:this._nanos-t.nano()},t.equals=function(t){return this===t||t instanceof d&&(this.seconds()===t.seconds()&&this.nano()===t.nano())},t.toString=function(){if(this===d.ZERO)return"PT0S";var t,e=M.intDiv(this._seconds,On.SECONDS_PER_HOUR),n=M.intDiv(M.intMod(this._seconds,On.SECONDS_PER_HOUR),On.SECONDS_PER_MINUTE),i=M.intMod(this._seconds,On.SECONDS_PER_MINUTE),r="PT";if(0!==e&&(r+=e+"H"),0!==n&&(r+=n+"M"),0===i&&0===this._nanos&&2<r.length)return r;if(i<0&&0<this._nanos?r+=-1===i?"-0":i+1:r+=i,0<this._nanos)for(r+=".",r+=t=(t=i<0?""+(2*On.NANOS_PER_SECOND-this._nanos):""+(On.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===r.charAt(r.length-1);)r=r.slice(0,r.length-1);return r+="S"},t.toJSON=function(){return this.toString()},d}(v);var Y=function(){};var C=function(i){function t(t,e){var n;return(n=i.call(this)||this)._name=t,n._duration=e,n}_(t,i);var e=t.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return this.isDateBased()||this===t.FOREVER},e.isDateBased=function(){return 0<=this.compareTo(t.DAYS)&&this!==t.FOREVER},e.isTimeBased=function(){return this.compareTo(t.DAYS)<0},e.isSupportedBy=function(e){if(this===t.FOREVER)return!1;try{return e.plus(1,this),!0}catch(t){try{return e.plus(-1,this),!0}catch(t){return!1}}},e.addTo=function(t,e){return t.plus(e,this)},e.between=function(t,e){return t.until(e,this)},e.toString=function(){return this._name},e.compareTo=function(t){return this.duration().compareTo(t.duration())},t}(g);var L,U=((L=P.prototype).isDateBased=function(){i("isDateBased")},L.isTimeBased=function(){i("isTimeBased")},L.baseUnit=function(){i("baseUnit")},L.rangeUnit=function(){i("rangeUnit")},L.range=function(){i("range")},L.rangeRefinedBy=function(){i("rangeRefinedBy")},L.getFrom=function(){i("getFrom")},L.adjustInto=function(){i("adjustInto")},L.isSupportedBy=function(){i("isSupportedBy")},L.displayName=function(){i("displayName")},L.equals=function(){i("equals")},L.name=function(){i("name")},P);function P(){}var V,b=((V=H.prototype).isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},V.minimum=function(){return this._minSmallest},V.largestMinimum=function(){return this._minLargest},V.maximum=function(){return this._maxLargest},V.smallestMaximum=function(){return this._maxSmallest},V.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},V.checkValidValue=function(t,e){return this.isValidValue(t)?t:S(!1,null!=e?"Invalid value for "+e+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,y)},V.checkValidIntValue=function(t,e){if(!1===this.isValidIntValue(t))throw new y("Invalid int value for "+e+": "+t);return t},V.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},V.isIntValue=function(){return this.minimum()>=M.MIN_SAFE_INTEGER&&this.maximum()<=M.MAX_SAFE_INTEGER},V.equals=function(t){return t===this||t instanceof H&&this._minSmallest===t._minSmallest&&this._minLargest===t._minLargest&&this._maxSmallest===t._maxSmallest&&this._maxLargest===t._maxLargest},V.hashCode=function(){return M.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},V.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return t+=" - ",t+=this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():"")},H.of=function(t,e,n,i){return 2===arguments.length?new H(t,t,e,e):3===arguments.length?new H(t,t,e,n):4===arguments.length?new H(t,e,n,i):S(!1,"Invalid number of arguments "+arguments.length,c)},H);function H(t,e,n,i){S(!(e<t),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+e+"'",c),S(!(i<n),"Smallest maximum value '"+n+"' must be less than largest maximum value '"+i+"'",c),S(!(i<e),"Minimum value '"+e+"' must be less than maximum value '"+i+"'",c),this._minSmallest=t,this._minLargest=e,this._maxLargest=i,this._maxSmallest=n}var W=function(s){function n(t,e,n,i){var r;return(r=s.call(this)||this)._name=t,r._baseUnit=e,r._rangeUnit=n,r._range=i,r}_(n,s),n.byName=function(t){for(var e in n)if(n[e]&&n[e]instanceof n&&n[e].name()===t)return n[e]};var t=n.prototype;return t.name=function(){return this._name},t.baseUnit=function(){return this._baseUnit},t.rangeUnit=function(){return this._rangeUnit},t.range=function(){return this._range},t.displayName=function(){return this.toString()},t.checkValidValue=function(t){return this.range().checkValidValue(t,this)},t.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},t.isDateBased=function(){return this===n.DAY_OF_WEEK||this===n.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===n.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===n.DAY_OF_MONTH||this===n.DAY_OF_YEAR||this===n.EPOCH_DAY||this===n.ALIGNED_WEEK_OF_MONTH||this===n.ALIGNED_WEEK_OF_YEAR||this===n.MONTH_OF_YEAR||this===n.YEAR_OF_ERA||this===n.YEAR||this===n.ERA},t.isTimeBased=function(){return this===n.NANO_OF_SECOND||this===n.NANO_OF_DAY||this===n.MICRO_OF_SECOND||this===n.MICRO_OF_DAY||this===n.MILLI_OF_SECOND||this===n.MILLI_OF_DAY||this===n.SECOND_OF_MINUTE||this===n.SECOND_OF_DAY||this===n.MINUTE_OF_HOUR||this===n.MINUTE_OF_DAY||this===n.HOUR_OF_AMPM||this===n.CLOCK_HOUR_OF_AMPM||this===n.HOUR_OF_DAY||this===n.CLOCK_HOUR_OF_DAY||this===n.AMPM_OF_DAY},t.rangeRefinedBy=function(t){return t.range(this)},t.getFrom=function(t){return t.getLong(this)},t.toString=function(){return this.name()},t.equals=function(t){return this===t},t.adjustInto=function(t,e){return t.with(this,e)},t.isSupportedBy=function(t){return t.isSupported(this)},n}(U);var x=(k.zoneId=function(){return k.ZONE_ID},k.chronology=function(){return k.CHRONO},k.precision=function(){return k.PRECISION},k.zone=function(){return k.ZONE},k.offset=function(){return k.OFFSET},k.localDate=function(){return k.LOCAL_DATE},k.localTime=function(){return k.LOCAL_TIME},k);function k(){}var B,q=((B=Z.prototype).query=function(t){return t===x.zoneId()||t===x.chronology()||t===x.precision()?null:t.queryFrom(this)},B.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},B.range=function(t){if(t instanceof W){if(this.isSupported(t))return t.range();throw new l("Unsupported field: "+t)}return t.rangeRefinedBy(this)},Z);function Z(){}var z,K=(_(j,z=D),j.prototype.queryFrom=function(){i("queryFrom")},j);function j(){return z.apply(this,arguments)||this}function G(t,e){var n,i=(_(r,n=K),r);function r(){return n.apply(this,arguments)||this}return i.prototype.queryFrom=e,new i(t)}var X,J=function(i){function n(t,e){var n;return(n=i.call(this)||this)._ordinal=t,n._name=e,n}_(n,i);var t=n.prototype;return t.ordinal=function(){return this._ordinal},t.name=function(){return this._name},n.values=function(){return X.slice()},n.valueOf=function(t){for(var e=0;e<X.length&&X[e].name()!==t;e++);return n.of(e+1)},n.of=function(t){if(t<1||7<t)throw new y("Invalid value for DayOfWeek: "+t);return X[t-1]},n.from=function(e){if(S(null!=e,"temporal",s),e instanceof n)return e;try{return n.of(e.get(W.DAY_OF_WEEK))}catch(t){throw t instanceof y?new y("Unable to obtain DayOfWeek from TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""),t):t}},t.value=function(){return this._ordinal+1},t.displayName=function(){throw new c("Pattern using (localized) text not implemented yet!")},t.isSupported=function(t){return t instanceof W?t===W.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},t.range=function(t){if(t===W.DAY_OF_WEEK)return t.range();if(t instanceof W)throw new l("Unsupported field: "+t);return t.rangeRefinedBy(this)},t.get=function(t){return t===W.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(t===W.DAY_OF_WEEK)return this.value();if(t instanceof W)throw new l("Unsupported field: "+t);return t.getFrom(this)},t.plus=function(t){var e=M.floorMod(t,7);return X[M.floorMod(this._ordinal+(e+7),7)]},t.minus=function(t){return this.plus(-1*M.floorMod(t,7))},t.query=function(t){return t===x.precision()?C.DAYS:t===x.localDate()||t===x.localTime()||t===x.chronology()||t===x.zone()||t===x.zoneId()||t===x.offset()?null:(S(null!=t,"query",s),t.queryFrom(this))},t.adjustInto=function(t){return m(t,"temporal"),t.with(W.DAY_OF_WEEK,this.value())},t.equals=function(t){return this===t},t.toString=function(){return this._name},t.compareTo=function(t){return m(t,"other"),o(t,n,"other"),this._ordinal-t._ordinal},t.toJSON=function(){return this.toString()},n}(q);var Q,$=function(i){function r(t,e){var n;return(n=i.call(this)||this)._value=M.safeToInt(t),n._name=e,n}_(r,i);var t=r.prototype;return t.value=function(){return this._value},t.ordinal=function(){return this._value-1},t.name=function(){return this._name},t.displayName=function(){throw new c("Pattern using (localized) text not implemented yet!")},t.isSupported=function(t){return null!==t&&(t instanceof W?t===W.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},t.get=function(t){return t===W.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(t===W.MONTH_OF_YEAR)return this.value();if(t instanceof W)throw new l("Unsupported field: "+t);return t.getFrom(this)},t.plus=function(t){var e=M.intMod(t,12)+12,n=M.intMod(this.value()+e,12);return r.of(n=0===n?12:n)},t.minus=function(t){return this.plus(-1*M.intMod(t,12))},t.length=function(t){switch(this){case r.FEBRUARY:return t?29:28;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.minLength=function(){switch(this){case r.FEBRUARY:return 28;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.maxLength=function(){switch(this){case r.FEBRUARY:return 29;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.firstDayOfYear=function(t){var e=t?1:0;switch(this){case r.JANUARY:return 1;case r.FEBRUARY:return 32;case r.MARCH:return 60+e;case r.APRIL:return 91+e;case r.MAY:return 121+e;case r.JUNE:return 152+e;case r.JULY:return 182+e;case r.AUGUST:return 213+e;case r.SEPTEMBER:return 244+e;case r.OCTOBER:return 274+e;case r.NOVEMBER:return 305+e;case r.DECEMBER:default:return 335+e}},t.firstMonthOfQuarter=function(){switch(this){case r.JANUARY:case r.FEBRUARY:case r.MARCH:return r.JANUARY;case r.APRIL:case r.MAY:case r.JUNE:return r.APRIL;case r.JULY:case r.AUGUST:case r.SEPTEMBER:return r.JULY;case r.OCTOBER:case r.NOVEMBER:case r.DECEMBER:default:return r.OCTOBER}},t.query=function(t){return S(null!=t,"query() parameter must not be null",y),t===x.chronology()?un.INSTANCE:t===x.precision()?C.MONTHS:i.prototype.query.call(this,t)},t.toString=function(){switch(this){case r.JANUARY:return"JANUARY";case r.FEBRUARY:return"FEBRUARY";case r.MARCH:return"MARCH";case r.APRIL:return"APRIL";case r.MAY:return"MAY";case r.JUNE:return"JUNE";case r.JULY:return"JULY";case r.AUGUST:return"AUGUST";case r.SEPTEMBER:return"SEPTEMBER";case r.OCTOBER:return"OCTOBER";case r.NOVEMBER:return"NOVEMBER";case r.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},t.toJSON=function(){return this.toString()},t.adjustInto=function(t){return t.with(W.MONTH_OF_YEAR,this.value())},t.compareTo=function(t){return m(t,"other"),o(t,r,"other"),this._value-t._value},t.equals=function(t){return this===t},r.valueOf=function(t){for(var e=0;e<Q.length&&Q[e].name()!==t;e++);return r.of(e+1)},r.values=function(){return Q.slice()},r.of=function(t){return(t<1||12<t)&&S(!1,"Invalid value for MonthOfYear: "+t,y),Q[t-1]},r.from=function(e){if(e instanceof r)return e;try{return r.of(e.get(W.MONTH_OF_YEAR))}catch(t){throw new y("Unable to obtain Month from TemporalAccessor: "+e+" of type "+(e&&null!=e.constructor?e.constructor.name:""),t)}},r}(q);var tt=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,et=function(a){function c(t,e,n){var i;i=a.call(this)||this;var r=M.safeToInt(t),s=M.safeToInt(e),o=M.safeToInt(n);return 0===r&&0===s&&0===o?(c.ZERO||(i._years=r,i._months=s,i._days=o,c.ZERO=d(i)),c.ZERO||d(i)):(i._years=r,i._months=s,i._days=o,i)}_(c,a),c.ofYears=function(t){return c.create(t,0,0)},c.ofMonths=function(t){return c.create(0,t,0)},c.ofWeeks=function(t){return c.create(0,0,M.safeMultiply(t,7))},c.ofDays=function(t){return c.create(0,0,t)},c.of=function(t,e,n){return c.create(t,e,n)},c.from=function(t){if(t instanceof c)return t;m(t,"amount");for(var e=0,n=0,i=0,r=t.units(),s=0;s<r.length;s++){var o=r[s],a=t.get(o);if(o===C.YEARS)e=M.safeToInt(a);else if(o===C.MONTHS)n=M.safeToInt(a);else{if(o!==C.DAYS)throw new y("Unit must be Years, Months or Days, but was "+o);i=M.safeToInt(a)}}return c.create(e,n,i)},c.between=function(t,e){return m(t,"startDate"),m(e,"endDate"),o(t,dn,"startDate"),o(e,dn,"endDate"),t.until(e)},c.parse=function(e){m(e,"text");try{return c._parse(e)}catch(t){throw t instanceof E?new p("Text cannot be parsed to a Period",e,0,t):t}},c._parse=function(t){var e=tt.exec(t);if(null!=e){var n="-"===e[1]?-1:1,i=e[2],r=e[3],s=e[4],o=e[5];if(null!=i||null!=r||null!=s||null!=o){var a=c._parseNumber(t,i,n),u=c._parseNumber(t,r,n),h=c._parseNumber(t,s,n),f=c._parseNumber(t,o,n);return f=M.safeAdd(f,M.safeMultiply(h,7)),c.create(a,u,f)}}throw new p("Text cannot be parsed to a Period",t,0)},c._parseNumber=function(t,e,n){if(null==e)return 0;var i=M.parseInt(e);return M.safeMultiply(i,n)},c.create=function(t,e,n){return new c(t,e,n)};var t=c.prototype;return t.units=function(){return[C.YEARS,C.MONTHS,C.DAYS]},t.chronology=function(){return un.INSTANCE},t.get=function(t){if(t===C.YEARS)return this._years;if(t===C.MONTHS)return this._months;if(t===C.DAYS)return this._days;throw new l("Unsupported unit: "+t)},t.isZero=function(){return this===c.ZERO},t.isNegative=function(){return this._years<0||this._months<0||this._days<0},t.years=function(){return this._years},t.months=function(){return this._months},t.days=function(){return this._days},t.withYears=function(t){return t===this._years?this:c.create(t,this._months,this._days)},t.withMonths=function(t){return t===this._months?this:c.create(this._years,t,this._days)},t.withDays=function(t){return t===this._days?this:c.create(this._years,this._months,t)},t.plus=function(t){var e=c.from(t);return c.create(M.safeAdd(this._years,e._years),M.safeAdd(this._months,e._months),M.safeAdd(this._days,e._days))},t.plusYears=function(t){return 0===t?this:c.create(M.safeToInt(M.safeAdd(this._years,t)),this._months,this._days)},t.plusMonths=function(t){return 0===t?this:c.create(this._years,M.safeToInt(M.safeAdd(this._months,t)),this._days)},t.plusDays=function(t){return 0===t?this:c.create(this._years,this._months,M.safeToInt(M.safeAdd(this._days,t)))},t.minus=function(t){var e=c.from(t);return c.create(M.safeSubtract(this._years,e._years),M.safeSubtract(this._months,e._months),M.safeSubtract(this._days,e._days))},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.multipliedBy=function(t){return this===c.ZERO||1===t?this:c.create(M.safeMultiply(this._years,t),M.safeMultiply(this._months,t),M.safeMultiply(this._days,t))},t.negated=function(){return this.multipliedBy(-1)},t.normalized=function(){var t=this.toTotalMonths(),e=M.intDiv(t,12),n=M.intMod(t,12);return e===this._years&&n===this._months?this:c.create(M.safeToInt(e),n,this._days)},t.toTotalMonths=function(){return 12*this._years+this._months},t.addTo=function(t){return m(t,"temporal"),0!==this._years?t=0!==this._months?t.plus(this.toTotalMonths(),C.MONTHS):t.plus(this._years,C.YEARS):0!==this._months&&(t=t.plus(this._months,C.MONTHS)),0!==this._days&&(t=t.plus(this._days,C.DAYS)),t},t.subtractFrom=function(t){return m(t,"temporal"),0!==this._years?t=0!==this._months?t.minus(this.toTotalMonths(),C.MONTHS):t.minus(this._years,C.YEARS):0!==this._months&&(t=t.minus(this._months,C.MONTHS)),0!==this._days&&(t=t.minus(this._days,C.DAYS)),t},t.equals=function(t){if(this===t)return!0;if(t instanceof c){var e=t;return this._years===e._years&&this._months===e._months&&this._days===e._days}return!1},t.hashCode=function(){return M.hashCode(this._years,this._months,this._days)},t.toString=function(){if(this===c.ZERO)return"P0D";var t="P";return 0!==this._years&&(t+=this._years+"Y"),0!==this._months&&(t+=this._months+"M"),0!==this._days&&(t+=this._days+"D"),t},t.toJSON=function(){return this.toString()},c}(v);var nt,it=((nt=rt.prototype).getIndex=function(){return this._index},nt.setIndex=function(t){this._index=t},nt.getErrorIndex=function(){return this._errorIndex},nt.setErrorIndex=function(t){this._errorIndex=t},rt);function rt(t){this._index=t,this._errorIndex=-1}var st,ot=((st=at.prototype).putAll=function(t){for(var e in t._map)this._map[e]=t._map[e];return this},st.containsKey=function(t){return this._map.hasOwnProperty(t.name())&&void 0!==this.get(t)},st.get=function(t){return this._map[t.name()]},st.put=function(t,e){return this.set(t,e)},st.set=function(t,e){return this._map[t.name()]=e,this},st.retainAll=function(t){for(var e={},n=0;n<t.length;n++){var i=t[n].name();e[i]=this._map[i]}return this._map=e,this},st.remove=function(t){var e=t.name(),n=this._map[e];return this._map[e]=void 0,n},st.keySet=function(){return this._map},st.clear=function(){this._map={}},at);function at(){this._map={}}var ut,ht=(_(ft,ut=D),ft);function ft(){return ut.apply(this,arguments)||this}ht.STRICT=new ht("STRICT"),ht.SMART=new ht("SMART"),ht.LENIENT=new ht("LENIENT");var ct=(lt.prototype.adjustInto=function(){i("adjustInto")},lt);function lt(){}var _t=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isSupported=function(){i("isSupported")},n.minus=function(t,e){return arguments.length<2?this.minusAmount(t):this.minusAmountUnit(t,e)},n.minusAmount=function(){i("minusAmount")},n.minusAmountUnit=function(){i("minusAmountUnit")},n.plus=function(t,e){return arguments.length<2?this.plusAmount(t):this.plusAmountUnit(t,e)},n.plusAmount=function(){i("plusAmount")},n.plusAmountUnit=function(){i("plusAmountUnit")},n.until=function(){i("until")},n.with=function(t,e){return arguments.length<2?this.withAdjuster(t):this.withFieldValue(t,e)},n.withAdjuster=function(){i("withAdjuster")},n.withFieldValue=function(){i("withFieldValue")},e}(q),dt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.withAdjuster=function(t){return m(t,"adjuster"),o(t,ct,"adjuster"),t.adjustInto(this)},n.plusAmount=function(t){return m(t,"amount"),o(t,v,"amount"),t.addTo(this)},n.minusAmount=function(t){return m(t,"amount"),o(t,v,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return m(t,"amountToSubtract"),m(e,"unit"),o(e,g,"unit"),t===h?this.plusAmountUnit(u,e).plusAmountUnit(1,e):this.plusAmount(-t,e)},e}(_t),pt=function(e){function t(){return e.apply(this,arguments)||this}_(t,e);var n=t.prototype;return n.isSupported=function(t){return t instanceof W?t.isDateBased():t instanceof C?t.isDateBased():null!=t&&t.isSupportedBy(this)},n.query=function(t){return t===x.chronology()?this.chronology():t===x.precision()?C.DAYS:t===x.localDate()?dn.ofEpochDay(this.toEpochDay()):t===x.localTime()||t===x.zone()||t===x.zoneId()||t===x.offset()?null:e.prototype.query.call(this,t)},n.adjustInto=function(t){return t.with(W.EPOCH_DAY,this.toEpochDay())},n.format=function(t){return m(t,"formatter"),o(t,Be,"formatter"),t.format(this)},t}(dt),mt=(Ot.startsWith=function(t,e){return 0===t.indexOf(e)},Ot.hashCode=function(t){var e=t.length;if(0===e)return 0;for(var n=0,i=0;i<e;i++)n=(n<<5)-n+t.charCodeAt(i),n|=0;return M.smi(n)},Ot);function Ot(){}var Et=function(){function e(){}e.systemDefault=function(){throw new y("not supported operation")},e.getAvailableZoneIds=function(){throw new y("not supported operation")},e.of=function(t){throw new y("not supported operation"+t)},e.ofOffset=function(t,e){throw new y("not supported operation"+t+e)},e.from=function(t){throw new y("not supported operation"+t)};var t=e.prototype;return t.id=function(){i("ZoneId.id")},t.rules=function(){i("ZoneId.rules")},t.normalized=function(){var t=this.rules();return t.isFixedOffset()?t.offset(En.EPOCH):this},t.equals=function(t){return this===t||t instanceof e&&this.id()===t.id()},t.hashCode=function(){return mt.hashCode(this.id())},t.toString=function(){return this.id()},t.toJSON=function(){return this.toString()},e}(),St=function(){function t(){}t.of=function(t){return m(t,"offset"),new Nt(t)};var e=t.prototype;return e.isFixedOffset=function(){i("ZoneRules.isFixedOffset")},e.offset=function(t){return t instanceof En?this.offsetOfInstant(t):this.offsetOfLocalDateTime(t)},e.offsetOfInstant=function(){i("ZoneRules.offsetInstant")},e.offsetOfEpochMilli=function(){i("ZoneRules.offsetOfEpochMilli")},e.offsetOfLocalDateTime=function(){i("ZoneRules.offsetLocalDateTime")},e.validOffsets=function(){i("ZoneRules.validOffsets")},e.transition=function(){i("ZoneRules.transition")},e.standardOffset=function(){i("ZoneRules.standardOffset")},e.daylightSavings=function(){i("ZoneRules.daylightSavings")},e.isDaylightSavings=function(){i("ZoneRules.isDaylightSavings")},e.isValidOffset=function(){i("ZoneRules.isValidOffset")},e.nextTransition=function(){i("ZoneRules.nextTransition")},e.previousTransition=function(){i("ZoneRules.previousTransition")},e.transitions=function(){i("ZoneRules.transitions")},e.transitionRules=function(){i("ZoneRules.transitionRules")},e.toString=function(){i("ZoneRules.toString")},e.toJSON=function(){return this.toString()},t}(),Nt=function(n){function e(t){var e;return(e=n.call(this)||this)._offset=t,e}_(e,n);var t=e.prototype;return t.isFixedOffset=function(){return!0},t.offsetOfInstant=function(){return this._offset},t.offsetOfEpochMilli=function(){return this._offset},t.offsetOfLocalDateTime=function(){return this._offset},t.validOffsets=function(){return[this._offset]},t.transition=function(){return null},t.standardOffset=function(){return this._offset},t.daylightSavings=function(){return F.ZERO},t.isDaylightSavings=function(){return!1},t.isValidOffset=function(t,e){return this._offset.equals(e)},t.nextTransition=function(){return null},t.previousTransition=function(){return null},t.transitions=function(){return[]},t.transitionRules=function(){return[]},t.equals=function(t){return this===t||t instanceof e&&this._offset.equals(t._offset)},t.toString=function(){return"FixedRules:"+this._offset.toString()},e}(St),Dt={},At={},Tt=function(n){function o(t){var e;return e=n.call(this)||this,o._validateTotalSeconds(t),e._totalSeconds=M.safeToInt(t),e._rules=St.of(d(e)),e._id=o._buildId(t),e}_(o,n);var t=o.prototype;return t.totalSeconds=function(){return this._totalSeconds},t.id=function(){return this._id},o._buildId=function(t){if(0===t)return"Z";var e=Math.abs(t),n=M.intDiv(e,On.SECONDS_PER_HOUR),i=M.intMod(M.intDiv(e,On.SECONDS_PER_MINUTE),On.MINUTES_PER_HOUR),r=(t<0?"-":"+")+(n<10?"0":"")+n+(i<10?":0":":")+i,s=M.intMod(e,On.SECONDS_PER_MINUTE);return 0!==s&&(r+=(s<10?":0":":")+s),r},o._validateTotalSeconds=function(t){if(Math.abs(t)>o.MAX_SECONDS)throw new y("Zone offset not in valid range: -18:00 to +18:00")},o._validate=function(t,e,n){if(t<-18||18<t)throw new y("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(0<t){if(e<0||n<0)throw new y("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(0<e||0<n)throw new y("Zone offset minutes and seconds must be negative because hours is negative")}else if(0<e&&n<0||e<0&&0<n)throw new y("Zone offset minutes and seconds must have the same sign");if(59<Math.abs(e))throw new y("Zone offset minutes not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(59<Math.abs(n))throw new y("Zone offset seconds not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(0<Math.abs(e)||0<Math.abs(n)))throw new y("Zone offset not in valid range: -18:00 to +18:00")},o.of=function(t){m(t,"offsetId");var e,n,i,r=At[t];if(null!=r)return r;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:e=o._parseNumber(t,1,!1),i=n=0;break;case 5:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,3,!1),i=0;break;case 6:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,4,!0),i=0;break;case 7:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,3,!1),i=o._parseNumber(t,5,!1);break;case 9:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,4,!0),i=o._parseNumber(t,7,!0);break;default:throw new y("Invalid ID for ZoneOffset, invalid format: "+t)}var s=t[0];if("+"!==s&&"-"!==s)throw new y("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===s?o.ofHoursMinutesSeconds(-e,-n,-i):o.ofHoursMinutesSeconds(e,n,i)},o._parseNumber=function(t,e,n){if(n&&":"!==t[e-1])throw new y("Invalid ID for ZoneOffset, colon not found when expected: "+t);var i=t[e],r=t[e+1];if(i<"0"||"9"<i||r<"0"||"9"<r)throw new y("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(i.charCodeAt(0)-48)+(r.charCodeAt(0)-48)},o.ofHours=function(t){return o.ofHoursMinutesSeconds(t,0,0)},o.ofHoursMinutes=function(t,e){return o.ofHoursMinutesSeconds(t,e,0)},o.ofHoursMinutesSeconds=function(t,e,n){o._validate(t,e,n);var i=t*On.SECONDS_PER_HOUR+e*On.SECONDS_PER_MINUTE+n;return o.ofTotalSeconds(i)},o.ofTotalMinutes=function(t){var e=t*On.SECONDS_PER_MINUTE;return o.ofTotalSeconds(e)},o.ofTotalSeconds=function(t){if(t%(15*On.SECONDS_PER_MINUTE)!=0)return new o(t);var e=t,n=Dt[e];return null==n&&(n=new o(t),Dt[e]=n,At[n.id()]=n),n},t.rules=function(){return this._rules},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t===W.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof W)throw new y("Unsupported field: "+t);return t.getFrom(this)},t.query=function(t){return m(t,"query"),t===x.offset()||t===x.zone()?this:t===x.localDate()||t===x.localTime()||t===x.precision()||t===x.chronology()||t===x.zoneId()?null:t.queryFrom(this)},t.adjustInto=function(t){return t.with(W.OFFSET_SECONDS,this._totalSeconds)},t.compareTo=function(t){return m(t,"other"),t._totalSeconds-this._totalSeconds},t.equals=function(t){return this===t||t instanceof o&&this._totalSeconds===t._totalSeconds},t.hashCode=function(){return this._totalSeconds},t.toString=function(){return this._id},o}(Et);var vt,wt=function(e){function i(){var t;return(t=e.call(this)||this).fieldValues=new ot,t.chrono=null,t.zone=null,t.date=null,t.time=null,t.leapSecond=!1,t.excessDays=null,t}_(i,e),i.create=function(t,e){var n=new i;return n._addFieldValue(t,e),n};var t=i.prototype;return t.getFieldValue0=function(t){return this.fieldValues.get(t)},t._addFieldValue=function(t,e){m(t,"field");var n=this.getFieldValue0(t);if(null!=n&&n!==e)throw new y("Conflict found: "+t+" "+n+" differs from "+t+" "+e+": "+this);return this._putFieldValue0(t,e)},t._putFieldValue0=function(t,e){return this.fieldValues.put(t,e),this},t.resolve=function(t,e){return null!=e&&this.fieldValues.retainAll(e),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=et.ZERO),this._resolveInstant(),this},t._mergeDate=function(t){this._checkDate(un.INSTANCE.resolveDate(this.fieldValues,t))},t._checkDate=function(t){if(null!=t)for(var e in this._addObject(t),this.fieldValues.keySet()){var n=W.byName(e);if(n&&void 0!==this.fieldValues.get(n)&&n.isDateBased()){var i=void 0;try{i=t.getLong(n)}catch(t){if(t instanceof y)continue;throw t}var r=this.fieldValues.get(n);if(i!==r)throw new y("Conflict found: Field "+n+" "+i+" differs from "+n+" "+r+" derived from "+t)}}},t._mergeTime=function(t){if(this.fieldValues.containsKey(W.CLOCK_HOUR_OF_DAY)){var e=this.fieldValues.remove(W.CLOCK_HOUR_OF_DAY);t!==ht.LENIENT&&(t===ht.SMART&&0===e||W.CLOCK_HOUR_OF_DAY.checkValidValue(e)),this._addFieldValue(W.HOUR_OF_DAY,24===e?0:e)}if(this.fieldValues.containsKey(W.CLOCK_HOUR_OF_AMPM)){var n=this.fieldValues.remove(W.CLOCK_HOUR_OF_AMPM);t!==ht.LENIENT&&(t===ht.SMART&&0===n||W.CLOCK_HOUR_OF_AMPM.checkValidValue(n)),this._addFieldValue(W.HOUR_OF_AMPM,12===n?0:n)}if(t!==ht.LENIENT&&(this.fieldValues.containsKey(W.AMPM_OF_DAY)&&W.AMPM_OF_DAY.checkValidValue(this.fieldValues.get(W.AMPM_OF_DAY)),this.fieldValues.containsKey(W.HOUR_OF_AMPM)&&W.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get(W.HOUR_OF_AMPM))),this.fieldValues.containsKey(W.AMPM_OF_DAY)&&this.fieldValues.containsKey(W.HOUR_OF_AMPM)){var i=this.fieldValues.remove(W.AMPM_OF_DAY),r=this.fieldValues.remove(W.HOUR_OF_AMPM);this._addFieldValue(W.HOUR_OF_DAY,12*i+r)}if(this.fieldValues.containsKey(W.NANO_OF_DAY)){var s=this.fieldValues.remove(W.NANO_OF_DAY);t!==ht.LENIENT&&W.NANO_OF_DAY.checkValidValue(s),this._addFieldValue(W.SECOND_OF_DAY,M.intDiv(s,1e9)),this._addFieldValue(W.NANO_OF_SECOND,M.intMod(s,1e9))}if(this.fieldValues.containsKey(W.MICRO_OF_DAY)){var o=this.fieldValues.remove(W.MICRO_OF_DAY);t!==ht.LENIENT&&W.MICRO_OF_DAY.checkValidValue(o),this._addFieldValue(W.SECOND_OF_DAY,M.intDiv(o,1e6)),this._addFieldValue(W.MICRO_OF_SECOND,M.intMod(o,1e6))}if(this.fieldValues.containsKey(W.MILLI_OF_DAY)){var a=this.fieldValues.remove(W.MILLI_OF_DAY);t!==ht.LENIENT&&W.MILLI_OF_DAY.checkValidValue(a),this._addFieldValue(W.SECOND_OF_DAY,M.intDiv(a,1e3)),this._addFieldValue(W.MILLI_OF_SECOND,M.intMod(a,1e3))}if(this.fieldValues.containsKey(W.SECOND_OF_DAY)){var u=this.fieldValues.remove(W.SECOND_OF_DAY);t!==ht.LENIENT&&W.SECOND_OF_DAY.checkValidValue(u),this._addFieldValue(W.HOUR_OF_DAY,M.intDiv(u,3600)),this._addFieldValue(W.MINUTE_OF_HOUR,M.intMod(M.intDiv(u,60),60)),this._addFieldValue(W.SECOND_OF_MINUTE,M.intMod(u,60))}if(this.fieldValues.containsKey(W.MINUTE_OF_DAY)){var h=this.fieldValues.remove(W.MINUTE_OF_DAY);t!==ht.LENIENT&&W.MINUTE_OF_DAY.checkValidValue(h),this._addFieldValue(W.HOUR_OF_DAY,M.intDiv(h,60)),this._addFieldValue(W.MINUTE_OF_HOUR,M.intMod(h,60))}if(t!==ht.LENIENT&&(this.fieldValues.containsKey(W.MILLI_OF_SECOND)&&W.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get(W.MILLI_OF_SECOND)),this.fieldValues.containsKey(W.MICRO_OF_SECOND)&&W.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get(W.MICRO_OF_SECOND))),this.fieldValues.containsKey(W.MILLI_OF_SECOND)&&this.fieldValues.containsKey(W.MICRO_OF_SECOND)){var f=this.fieldValues.remove(W.MILLI_OF_SECOND),c=this.fieldValues.get(W.MICRO_OF_SECOND);this._putFieldValue0(W.MICRO_OF_SECOND,1e3*f+M.intMod(c,1e3))}if(this.fieldValues.containsKey(W.MICRO_OF_SECOND)&&this.fieldValues.containsKey(W.NANO_OF_SECOND)){var l=this.fieldValues.get(W.NANO_OF_SECOND);this._putFieldValue0(W.MICRO_OF_SECOND,M.intDiv(l,1e3)),this.fieldValues.remove(W.MICRO_OF_SECOND)}if(this.fieldValues.containsKey(W.MILLI_OF_SECOND)&&this.fieldValues.containsKey(W.NANO_OF_SECOND)){var _=this.fieldValues.get(W.NANO_OF_SECOND);this._putFieldValue0(W.MILLI_OF_SECOND,M.intDiv(_,1e6)),this.fieldValues.remove(W.MILLI_OF_SECOND)}if(this.fieldValues.containsKey(W.MICRO_OF_SECOND)){var d=this.fieldValues.remove(W.MICRO_OF_SECOND);this._putFieldValue0(W.NANO_OF_SECOND,1e3*d)}else if(this.fieldValues.containsKey(W.MILLI_OF_SECOND)){var p=this.fieldValues.remove(W.MILLI_OF_SECOND);this._putFieldValue0(W.NANO_OF_SECOND,1e6*p)}},t._resolveTimeInferZeroes=function(t){var e=this.fieldValues.get(W.HOUR_OF_DAY),n=this.fieldValues.get(W.MINUTE_OF_HOUR),i=this.fieldValues.get(W.SECOND_OF_MINUTE),r=this.fieldValues.get(W.NANO_OF_SECOND);if(null!=e&&(null!=n||null==i&&null==r)&&(null==n||null!=i||null==r)){if(t!==ht.LENIENT){if(null!=e){t!==ht.SMART||24!==e||null!=n&&0!==n||null!=i&&0!==i||null!=r&&0!==r||(e=0,this.excessDays=et.ofDays(1));var s=W.HOUR_OF_DAY.checkValidIntValue(e);if(null!=n){var o=W.MINUTE_OF_HOUR.checkValidIntValue(n);if(null!=i){var a=W.SECOND_OF_MINUTE.checkValidIntValue(i);if(null!=r){var u=W.NANO_OF_SECOND.checkValidIntValue(r);this._addObject(On.of(s,o,a,u))}else this._addObject(On.of(s,o,a))}else null==r&&this._addObject(On.of(s,o))}else null==i&&null==r&&this._addObject(On.of(s,0))}}else if(null!=e){var h=e;if(null!=n)if(null!=i){null==r&&(r=0);var f=M.safeMultiply(h,36e11);f=M.safeAdd(f,M.safeMultiply(n,6e10)),f=M.safeAdd(f,M.safeMultiply(i,1e9)),f=M.safeAdd(f,r);var c=M.floorDiv(f,864e11),l=M.floorMod(f,864e11);this._addObject(On.ofNanoOfDay(l)),this.excessDays=et.ofDays(c)}else{var _=M.safeMultiply(h,3600);_=M.safeAdd(_,M.safeMultiply(n,60));var d=M.floorDiv(_,86400),p=M.floorMod(_,86400);this._addObject(On.ofSecondOfDay(p)),this.excessDays=et.ofDays(d)}else{var m=M.safeToInt(M.floorDiv(h,24));h=M.floorMod(h,24),this._addObject(On.of(h,0)),this.excessDays=et.ofDays(m)}}this.fieldValues.remove(W.HOUR_OF_DAY),this.fieldValues.remove(W.MINUTE_OF_HOUR),this.fieldValues.remove(W.SECOND_OF_MINUTE),this.fieldValues.remove(W.NANO_OF_SECOND)}},t._addObject=function(t){t instanceof pt?this.date=t:t instanceof On&&(this.time=t)},t._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get(W.OFFSET_SECONDS);if(null!=t){var e=Tt.ofTotalSeconds(t),n=this.date.atTime(this.time).atZone(e).getLong(W.INSTANT_SECONDS);this.fieldValues.put(W.INSTANT_SECONDS,n)}else if(null!=this.zone){var i=this.date.atTime(this.time).atZone(this.zone).getLong(W.INSTANT_SECONDS);this.fieldValues.put(W.INSTANT_SECONDS,i)}}},t.build=function(t){return t.queryFrom(this)},t.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},t.getLong=function(t){m(t,"field");var e=this.getFieldValue0(t);if(null!=e)return e;if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new y("Field not found: "+t)},t.query=function(t){return t===x.zoneId()?this.zone:t===x.chronology()?this.chrono:t===x.localDate()?null!=this.date?dn.from(this.date):null:t===x.localTime()?this.time:t===x.zone()||t===x.offset()?t.queryFrom(this):t===x.precision()?null:t.queryFrom(this)},i}(q),yt=((vt=Mt.prototype)._constructorParam=function(t,e,n){this._locale=t,this._symbols=e,this._overrideChronology=n},vt._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},vt._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new Rt(this)]},vt.copy=function(){return new Mt(this)},vt.symbols=function(){return this._symbols},vt.isStrict=function(){return this._strict},vt.setStrict=function(t){this._strict=t},vt.locale=function(){return this._locale},vt.setLocale=function(t){this._locale=t},vt.startOptional=function(){this._parsed.push(this.currentParsed().copy())},vt.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},vt.isCaseSensitive=function(){return this._caseSensitive},vt.setCaseSensitive=function(t){this._caseSensitive=t},vt.subSequenceEquals=function(t,e,n,i,r){if(e+r>t.length||i+r>n.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),n=n.toLowerCase());for(var s=0;s<r;s++)if(t[e+s]!==n[i+s])return!1;return!0},vt.charEquals=function(t,e){return this.isCaseSensitive()?t===e:this.charEqualsIgnoreCase(t,e)},vt.charEqualsIgnoreCase=function(t,e){return t===e||t.toLowerCase()===e.toLowerCase()},vt.setParsedField=function(t,e,n,i){var r=this.currentParsed().fieldValues,s=r.get(t);return r.set(t,e),null!=s&&s!==e?~n:i},vt.setParsedZone=function(t){m(t,"zone"),this.currentParsed().zone=t},vt.getParsed=function(t){return this.currentParsed().fieldValues.get(t)},vt.toParsed=function(){return this.currentParsed()},vt.currentParsed=function(){return this._parsed[this._parsed.length-1]},vt.setParsedLeapSecond=function(){this.currentParsed().leapSecond=!0},vt.getEffectiveChronology=function(){var t=this.currentParsed().chrono;return null==t&&null==(t=this._overrideChronology)&&(t=un.INSTANCE),t},Mt);function Mt(){if(1===arguments.length){if(arguments[0]instanceof Mt)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new Rt(this)]}var Rt=function(n){function e(t){var e;return(e=n.call(this)||this).chrono=null,e.zone=null,e.fieldValues=new ot,e.leapSecond=!1,e.dateTimeParseContext=t,e}_(e,n);var t=e.prototype;return t.copy=function(){var t=new e;return t.chrono=this.chrono,t.zone=this.zone,t.fieldValues.putAll(this.fieldValues),t.leapSecond=this.leapSecond,t.dateTimeParseContext=this.dateTimeParseContext,t},t.toString=function(){return this.fieldValues+", "+this.chrono+", "+this.zone},t.isSupported=function(t){return this.fieldValues.containsKey(t)},t.get=function(t){var e=this.fieldValues.get(t);return S(null!=e),e},t.query=function(t){return t===x.chronology()?this.chrono:t===x.zoneId()||t===x.zone()?this.zone:n.prototype.query.call(this,t)},t.toBuilder=function(){var t=new wt;return t.fieldValues.putAll(this.fieldValues),t.chrono=this.dateTimeParseContext.getEffectiveChronology(),null!=this.zone?t.zone=this.zone:t.zone=this.overrideZone,t.leapSecond=this.leapSecond,t.excessDays=this.excessDays,t},e}(_t),gt=function(){function i(t,e,n){2===arguments.length&&e instanceof Be?(this._temporal=i.adjust(t,e),this._locale=e.locale(),this._symbols=e.decimalStyle()):(this._temporal=t,this._locale=e,this._symbols=n),this._optional=0}i.adjust=function(t){return t};var t=i.prototype;return t.symbols=function(){return this._symbols},t.startOptional=function(){this._optional++},t.endOptional=function(){this._optional--},t.getValueQuery=function(t){var e=this._temporal.query(t);if(null==e&&0===this._optional)throw new y("Unable to extract value: "+this._temporal);return e},t.getValue=function(t){try{return this._temporal.getLong(t)}catch(t){if(t instanceof y&&0<this._optional)return null;throw t}},t.temporal=function(){return this._temporal},t.locale=function(){return this._locale},t.setDateTime=function(t){this._temporal=t},t.setLocale=function(t){this._locale=t},i}(),It={},Ft=[0,90,181,273,0,91,182,274],Yt=function(t){function o(){return t.apply(this,arguments)||this}_(o,t);var e=o.prototype;return e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e._isIso=function(){return!0},o._getWeekRangeByLocalDate=function(t){var e=o._getWeekBasedYear(t);return b.of(1,o._getWeekRangeByYear(e))},o._getWeekRangeByYear=function(t){var e=dn.of(t,1,1);return e.dayOfWeek()===J.THURSDAY||e.dayOfWeek()===J.WEDNESDAY&&e.isLeapYear()?53:52},o._getWeek=function(t){var e=t.dayOfWeek().ordinal(),n=t.dayOfYear()-1,i=3-e+n,r=i-7*M.intDiv(i,7)-3;if(r<-3&&(r+=7),n<r)return o._getWeekRangeByLocalDate(t.withDayOfYear(180).minusYears(1)).maximum();var s=M.intDiv(n-r,7)+1;return 53===s&&!1===(-3===r||-2===r&&t.isLeapYear())&&(s=1),s},o._getWeekBasedYear=function(t){var e=t.year(),n=t.dayOfYear();if(n<=3)n-t.dayOfWeek().ordinal()<-2&&e--;else if(363<=n){var i=t.dayOfWeek().ordinal();0<=(n=n-363-(t.isLeapYear()?1:0))-i&&e++}return e},e.displayName=function(){return this.toString()},e.resolve=function(){return null},e.name=function(){return this.toString()},o}(U),Ct=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"DayOfQuarter"},n.baseUnit=function(){return C.DAYS},n.rangeUnit=function(){return Bt},n.range=function(){return b.of(1,90,92)},n.isSupportedBy=function(t){return t.isSupported(W.DAY_OF_YEAR)&&t.isSupported(W.MONTH_OF_YEAR)&&t.isSupported(W.YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: DayOfQuarter");var e=t.getLong(Ht);if(1!==e)return 2===e?b.of(1,91):3===e||4===e?b.of(1,92):this.range();var n=t.getLong(W.YEAR);return un.isLeapYear(n)?b.of(1,91):b.of(1,90)},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: DayOfQuarter");var e=t.get(W.DAY_OF_YEAR),n=t.get(W.MONTH_OF_YEAR),i=t.getLong(W.YEAR);return e-Ft[M.intDiv(n-1,3)+(un.isLeapYear(i)?4:0)]},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(W.DAY_OF_YEAR,t.getLong(W.DAY_OF_YEAR)+(e-n))},n.resolve=function(t,e,n){var i=t.get(W.YEAR),r=t.get(Ht);if(null==i||null==r)return null;var s,o=W.YEAR.checkValidIntValue(i),a=t.get(bt);if(n===ht.LENIENT){var u=r;s=(s=(s=dn.of(o,1,1)).plusMonths(M.safeMultiply(M.safeSubtract(u,1),3))).plusDays(M.safeSubtract(a,1))}else{var h=Ht.range().checkValidIntValue(r,Ht);if(n===ht.STRICT){var f=92;1===h?f=un.isLeapYear(o)?91:90:2===h&&(f=91),b.of(1,f).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=dn.of(o,3*(h-1)+1,1).plusDays(a-1)}return t.remove(this),t.remove(W.YEAR),t.remove(Ht),s},e}(Yt),Lt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"QuarterOfYear"},n.baseUnit=function(){return Bt},n.rangeUnit=function(){return C.YEARS},n.range=function(){return b.of(1,4)},n.isSupportedBy=function(t){return t.isSupported(W.MONTH_OF_YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(){return this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: QuarterOfYear");var e=t.getLong(W.MONTH_OF_YEAR);return M.intDiv(e+2,3)},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(W.MONTH_OF_YEAR,t.getLong(W.MONTH_OF_YEAR)+3*(e-n))},e}(Yt),Ut=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"WeekOfWeekBasedYear"},n.baseUnit=function(){return C.WEEKS},n.rangeUnit=function(){return kt},n.range=function(){return b.of(1,52,53)},n.isSupportedBy=function(t){return t.isSupported(W.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekOfWeekBasedYear");return Yt._getWeekRangeByLocalDate(dn.from(t))},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekOfWeekBasedYear");return Yt._getWeek(dn.from(t))},n.adjustInto=function(t,e){return this.range().checkValidValue(e,this),t.plus(M.safeSubtract(e,this.getFrom(t)),C.WEEKS)},n.resolve=function(t,e,n){var i=t.get(xt),r=t.get(W.DAY_OF_WEEK);if(null==i||null==r)return null;var s,o=xt.range().checkValidIntValue(i,xt),a=t.get(Wt);if(n===ht.LENIENT){var u=r,h=0;7<u?(h=M.intDiv(u-1,7),u=M.intMod(u-1,7)+1):u<1&&(h=M.intDiv(u,7)-1,u=M.intMod(u,7)+7),s=dn.of(o,1,4).plusWeeks(a-1).plusWeeks(h).with(W.DAY_OF_WEEK,u)}else{var f=W.DAY_OF_WEEK.checkValidIntValue(r);if(n===ht.STRICT){var c=dn.of(o,1,4);Yt._getWeekRangeByLocalDate(c).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=dn.of(o,1,4).plusWeeks(a-1).with(W.DAY_OF_WEEK,f)}return t.remove(this),t.remove(xt),t.remove(W.DAY_OF_WEEK),s},n.displayName=function(){return"Week"},e}(Yt),Pt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"WeekBasedYear"},n.baseUnit=function(){return kt},n.rangeUnit=function(){return C.FOREVER},n.range=function(){return W.YEAR.range()},n.isSupportedBy=function(t){return t.isSupported(W.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(){return W.YEAR.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekBasedYear");return Yt._getWeekBasedYear(dn.from(t))},n.adjustInto=function(t,e){if(!1===this.isSupportedBy(t))throw new l("Unsupported field: WeekBasedYear");var n=this.range().checkValidIntValue(e,xt),i=dn.from(t),r=i.get(W.DAY_OF_WEEK),s=Yt._getWeek(i);53===s&&52===Yt._getWeekRangeByYear(n)&&(s=52);var o=dn.of(n,1,4),a=r-o.get(W.DAY_OF_WEEK)+7*(s-1);return o=o.plusDays(a),t.with(o)},e}(Yt),Vt=function(i){function t(t,e){var n;return(n=i.call(this)||this)._name=t,n._duration=e,n}_(t,i);var e=t.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return!0},e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e.isSupportedBy=function(t){return t.isSupported(W.EPOCH_DAY)},e.addTo=function(t,e){switch(this){case kt:var n=M.safeAdd(t.get(xt),e);return t.with(xt,n);case Bt:return t.plus(M.intDiv(e,256),C.YEARS).plus(3*M.intMod(e,256),C.MONTHS);default:throw new r("Unreachable")}},e.between=function(t,e){switch(this){case kt:return M.safeSubtract(e.getLong(xt),t.getLong(xt));case Bt:return M.intDiv(t.until(e,C.MONTHS),3);default:throw new r("Unreachable")}},e.toString=function(){return name},t}(g),bt=null,Ht=null,Wt=null,xt=null,kt=null,Bt=null;var qt,Zt=((qt=zt.prototype).positiveSign=function(){return this._positiveSign},qt.withPositiveSign=function(t){return t===this._positiveSign?this:new zt(this._zeroDigit,t,this._negativeSign,this._decimalSeparator)},qt.negativeSign=function(){return this._negativeSign},qt.withNegativeSign=function(t){return t===this._negativeSign?this:new zt(this._zeroDigit,this._positiveSign,t,this._decimalSeparator)},qt.zeroDigit=function(){return this._zeroDigit},qt.withZeroDigit=function(t){return t===this._zeroDigit?this:new zt(t,this._positiveSign,this._negativeSign,this._decimalSeparator)},qt.decimalSeparator=function(){return this._decimalSeparator},qt.withDecimalSeparator=function(t){return t===this._decimalSeparator?this:new zt(this._zeroDigit,this._positiveSign,this._negativeSign,t)},qt.convertToDigit=function(t){var e=t.charCodeAt(0)-this._zeroDigitCharCode;return 0<=e&&e<=9?e:-1},qt.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var e=this._zeroDigitCharCode-"0".charCodeAt(0),n="",i=0;i<t.length;i++)n+=String.fromCharCode(t.charCodeAt(i)+e);return n},qt.equals=function(t){return this===t||t instanceof zt&&this._zeroDigit===t._zeroDigit&&this._positiveSign===t._positiveSign&&this._negativeSign===t._negativeSign&&this._decimalSeparator===t._decimalSeparator},qt.hashCode=function(){return this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator},qt.toString=function(){return"DecimalStyle["+this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator+"]"},zt.of=function(){throw new Error("not yet supported")},zt.availableLocales=function(){throw new Error("not yet supported")},zt);function zt(t,e,n,i){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=e,this._negativeSign=n,this._decimalSeparator=i}Zt.STANDARD=new Zt("0","+","-",".");var Kt,jt=(_(Gt,Kt=D),Gt.prototype.parse=function(t,e,n){switch(this){case Gt.NORMAL:return!t||!e;case Gt.ALWAYS:case Gt.EXCEEDS_PAD:return!0;default:return!e&&!n}},Gt);function Gt(){return Kt.apply(this,arguments)||this}jt.NORMAL=new jt("NORMAL"),jt.NEVER=new jt("NEVER"),jt.ALWAYS=new jt("ALWAYS"),jt.EXCEEDS_PAD=new jt("EXCEEDS_PAD"),jt.NOT_NEGATIVE=new jt("NOT_NEGATIVE");var Xt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isStandalone=function(){switch(this){case e.FULL_STANDALONE:case e.SHORT_STANDALONE:case e.NARROW_STANDALONE:return!0;default:return!1}},n.asStandalone=function(){switch(this){case e.FULL:return e.FULL_STANDALONE;case e.SHORT:return e.SHORT_STANDALONE;case e.NARROW:return e.NARROW_STANDALONE;default:return this}},n.asNormal=function(){switch(this){case e.FULL_STANDALONE:return e.FULL;case e.SHORT_STANDALONE:return e.SHORT;case e.NARROW_STANDALONE:return e.NARROW;default:return this}},e}(D);Xt.FULL=new Xt("FULL"),Xt.FULL_STANDALONE=new Xt("FULL_STANDALONE"),Xt.SHORT=new Xt("SHORT"),Xt.SHORT_STANDALONE=new Xt("SHORT_STANDALONE"),Xt.NARROW=new Xt("NARROW"),Xt.NARROW_STANDALONE=new Xt("NARROW_STANDALONE");var Jt,Qt=((Jt=$t.prototype).print=function(t,e){return e.append(this._literal),!0},Jt.parse=function(t,e,n){if(n===e.length)return~n;var i=e.charAt(n);return!1===t.charEquals(this._literal,i)?~n:n+this._literal.length},Jt.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},$t);function $t(t){if(1<t.length)throw new c('invalid literal, too long: "'+t+'"');this._literal=t}var te,ee=((te=ne.prototype).withOptional=function(t){return t===this._optional?this:new ne(this._printerParsers,t)},te.print=function(t,e){var n=e.length();this._optional&&t.startOptional();try{for(var i=0;i<this._printerParsers.length;i++)if(!1===this._printerParsers[i].print(t,e))return e.setLength(n),!0}finally{this._optional&&t.endOptional()}return!0},te.parse=function(t,e,n){if(this._optional){t.startOptional();for(var i=n,r=0;r<this._printerParsers.length;r++)if((i=this._printerParsers[r].parse(t,e,i))<0)return t.endOptional(!1),n;return t.endOptional(!0),i}for(var s=0;s<this._printerParsers.length&&!((n=this._printerParsers[s].parse(t,e,n))<0);s++);return n},te.toString=function(){var t="";if(null!=this._printerParsers){t+=this._optional?"[":"(";for(var e=0;e<this._printerParsers.length;e++)t+=this._printerParsers[e].toString();t+=this._optional?"]":")"}return t},ne);function ne(t,e){this._printerParsers=t,this._optional=e}var ie,re=((ie=se.prototype).print=function(t,e){var n=t.getValue(this.field);if(null===n)return!1;var i=t.symbols();if(0===n){if(0<this.minWidth){this.decimalPoint&&e.append(i.decimalSeparator());for(var r=0;r<this.minWidth;r++)e.append(i.zeroDigit())}}else{var s=this.convertToFraction(n,i.zeroDigit()),o=Math.min(Math.max(s.length,this.minWidth),this.maxWidth);if(0<1*(s=s.substr(0,o)))for(;s.length>this.minWidth&&"0"===s[s.length-1];)s=s.substr(0,s.length-1);var a=s;a=i.convertNumberToI18N(a),this.decimalPoint&&e.append(i.decimalSeparator()),e.append(a)}return!0},ie.parse=function(t,e,n){var i=t.isStrict()?this.minWidth:0,r=t.isStrict()?this.maxWidth:9,s=e.length;if(n===s)return 0<i?~n:n;if(this.decimalPoint){if(e[n]!==t.symbols().decimalSeparator())return 0<i?~n:n;n++}var o=n+i;if(s<o)return~n;for(var a=Math.min(n+r,s),u=0,h=n;h<a;){var f=e.charAt(h++),c=t.symbols().convertToDigit(f);if(c<0){if(h<o)return~n;h--;break}u=10*u+c}var l=h-n,_=Math.pow(10,l),d=this.convertFromFraction(u,_);return t.setParsedField(this.field,d,n,h)},ie.convertToFraction=function(t,e){var n=this.field.range();n.checkValidValue(t,this.field);for(var i=n.minimum(),r=n.maximum()-i+1,s=t-i,o=""+M.intDiv(1e9*s,r);o.length<9;)o=e+o;return o},ie.convertFromFraction=function(t,e){var n=this.field.range(),i=n.minimum(),r=n.maximum()-i+1;return M.intDiv(t*r,e)},ie.toString=function(){var t=this.decimalPoint?",DecimalPoint":"";return"Fraction("+this.field+","+this.minWidth+","+this.maxWidth+t+")"},se);function se(t,e,n,i){if(m(t,"field"),!1===t.range().isFixed())throw new c("Field must have a fixed set of values: "+t);if(e<0||9<e)throw new c("Minimum width must be from 0 to 9 inclusive but was "+e);if(n<1||9<n)throw new c("Maximum width must be from 1 to 9 inclusive but was "+n);if(n<e)throw new c("Maximum width must exceed or equal the minimum width but "+n+" < "+e);this.field=t,this.minWidth=e,this.maxWidth=n,this.decimalPoint=i}var oe,ae=[0,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],ue=((oe=he.prototype).field=function(){return this._field},oe.minWidth=function(){return this._minWidth},oe.maxWidth=function(){return this._maxWidth},oe.signStyle=function(){return this._signStyle},oe.withFixedWidth=function(){return-1===this._subsequentWidth?this:new he(this._field,this._minWidth,this._maxWidth,this._signStyle,-1)},oe.withSubsequentWidth=function(t){return new he(this._field,this._minWidth,this._maxWidth,this._signStyle,this._subsequentWidth+t)},oe._isFixedWidth=function(){return-1===this._subsequentWidth||0<this._subsequentWidth&&this._minWidth===this._maxWidth&&this._signStyle===jt.NOT_NEGATIVE},oe.print=function(t,e){var n=t.getValue(this._field);if(null==n)return!1;var i=this._getValue(t,n),r=t.symbols(),s=""+Math.abs(i);if(s.length>this._maxWidth)throw new y("Field "+this._field+" cannot be printed as the value "+i+" exceeds the maximum print width of "+this._maxWidth);if(s=r.convertNumberToI18N(s),0<=i)switch(this._signStyle){case jt.EXCEEDS_PAD:this._minWidth<15&&i>=ae[this._minWidth]&&e.append(r.positiveSign());break;case jt.ALWAYS:e.append(r.positiveSign())}else switch(this._signStyle){case jt.NORMAL:case jt.EXCEEDS_PAD:case jt.ALWAYS:e.append(r.negativeSign());break;case jt.NOT_NEGATIVE:throw new y("Field "+this._field+" cannot be printed as the value "+i+" cannot be negative according to the SignStyle")}for(var o=0;o<this._minWidth-s.length;o++)e.append(r.zeroDigit());return e.append(s),!0},oe.parse=function(t,e,n){var i=e.length;if(n===i)return~n;S(0<=n&&n<i);var r=e.charAt(n),s=!1,o=!1;if(r===t.symbols().positiveSign()){if(!1===this._signStyle.parse(!0,t.isStrict(),this._minWidth===this._maxWidth))return~n;o=!0,n++}else if(r===t.symbols().negativeSign()){if(!1===this._signStyle.parse(!1,t.isStrict(),this._minWidth===this._maxWidth))return~n;s=!0,n++}else if(this._signStyle===jt.ALWAYS&&t.isStrict())return~n;var a=t.isStrict()||this._isFixedWidth()?this._minWidth:1,u=n+a;if(i<u)return~n;for(var h=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),f=0,c=n,l=0;l<2;l++){for(var _=Math.min(c+h,i);c<_;){var d=e.charAt(c++),p=t.symbols().convertToDigit(d);if(p<0){if(--c<u)return~n;break}if(15<c-n)throw new E("number text exceeds length");f=10*f+p}if(!(0<this._subsequentWidth&&0===l))break;var m=c-n;h=Math.max(a,m-this._subsequentWidth),c=n,f=0}if(s){if(0===f&&t.isStrict())return~(n-1);0!==f&&(f=-f)}else if(this._signStyle===jt.EXCEEDS_PAD&&t.isStrict()){var O=c-n;if(o){if(O<=this._minWidth)return~(n-1)}else if(O>this._minWidth)return~n}return this._setValue(t,f,n,c)},oe._getValue=function(t,e){return e},oe._setValue=function(t,e,n,i){return t.setParsedField(this._field,e,n,i)},oe.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===jt.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===jt.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},he);function he(t,e,n,i,r){void 0===r&&(r=0),this._field=t,this._minWidth=e,this._maxWidth=n,this._signStyle=i,this._subsequentWidth=r}var fe,ce=function(o){function e(t,e,n,i,r){var s;if(s=o.call(this,t,e,n,jt.NOT_NEGATIVE)||this,e<1||10<e)throw new c("The width must be from 1 to 10 inclusive but was "+e);if(n<1||10<n)throw new c("The maxWidth must be from 1 to 10 inclusive but was "+n);if(n<e)throw new c("The maxWidth must be greater than the width");if(null===r){if(!1===t.range().isValidValue(i))throw new c("The base value must be within the range of the field");if(i+ae[e]>M.MAX_SAFE_INTEGER)throw new y("Unable to add printer-parser as the range exceeds the capacity of an int")}return s._baseValue=i,s._baseDate=r,s}_(e,o);var t=e.prototype;return t._getValue=function(t,e){var n=Math.abs(e),i=this._baseValue;null!==this._baseDate&&(t.temporal(),i=un.INSTANCE.date(this._baseDate).get(this._field));return i<=e&&e<i+ae[this._minWidth]?n%ae[this._minWidth]:n%ae[this._maxWidth]},t._setValue=function(t,e,n,i){var r=this._baseValue;null!=this._baseDate&&(r=t.getEffectiveChronology().date(this._baseDate).get(this._field));if(i-n===this._minWidth&&0<=e){var s=ae[this._minWidth],o=r-r%s;(e=0<r?o+e:o-e)<r&&(e+=s)}return t.setParsedField(this._field,e,n,i)},t.withFixedWidth=function(){return-1===this._subsequentWidth?this:new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,-1)},t.withSubsequentWidth=function(t){return new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,this._subsequentWidth+t)},t.isFixedWidth=function(t){return!1!==t.isStrict()&&o.prototype.isFixedWidth.call(this,t)},t.toString=function(){return"ReducedValue("+this._field+","+this._minWidth+","+this._maxWidth+","+(null!=this._baseDate?this._baseDate:this._baseValue)+")"},e}(ue),le=["+HH","+HHmm","+HH:mm","+HHMM","+HH:MM","+HHMMss","+HH:MM:ss","+HHMMSS","+HH:MM:SS"],_e=((fe=de.prototype)._checkPattern=function(t){for(var e=0;e<le.length;e++)if(le[e]===t)return e;throw new c("Invalid zone offset pattern: "+t)},fe.print=function(t,e){var n=t.getValue(W.OFFSET_SECONDS);if(null==n)return!1;var i=M.safeToInt(n);if(0===i)e.append(this.noOffsetText);else{var r=Math.abs(M.intMod(M.intDiv(i,3600),100)),s=Math.abs(M.intMod(M.intDiv(i,60),60)),o=Math.abs(M.intMod(i,60)),a=e.length(),u=r;e.append(i<0?"-":"+").appendChar(M.intDiv(r,10)+"0").appendChar(M.intMod(r,10)+"0"),(3<=this.type||1<=this.type&&0<s)&&(e.append(this.type%2==0?":":"").appendChar(M.intDiv(s,10)+"0").appendChar(s%10+"0"),u+=s,(7<=this.type||5<=this.type&&0<o)&&(e.append(this.type%2==0?":":"").appendChar(M.intDiv(o,10)+"0").appendChar(o%10+"0"),u+=o)),0===u&&(e.setLength(a),e.append(this.noOffsetText))}return!0},fe.parse=function(t,e,n){var i=e.length,r=this.noOffsetText.length;if(0===r){if(n===i)return t.setParsedField(W.OFFSET_SECONDS,0,n,n)}else{if(n===i)return~n;if(t.subSequenceEquals(e,n,this.noOffsetText,0,r))return t.setParsedField(W.OFFSET_SECONDS,0,n,n+r)}var s=e[n];if("+"===s||"-"===s){var o="-"===s?-1:1,a=[0,0,0,0];if(a[0]=n+1,!1===(this._parseNumber(a,1,e,!0)||this._parseNumber(a,2,e,3<=this.type)||this._parseNumber(a,3,e,!1))){var u=M.safeZero(o*(3600*a[1]+60*a[2]+a[3]));return t.setParsedField(W.OFFSET_SECONDS,u,n,a[0])}}return 0===r?t.setParsedField(W.OFFSET_SECONDS,0,n,n+r):~n},fe._parseNumber=function(t,e,n,i){if((this.type+3)/2<e)return!1;var r=t[0];if(this.type%2==0&&1<e){if(r+1>n.length||":"!==n[r])return i;r++}if(r+2>n.length)return i;var s=n[r++],o=n[r++];if(s<"0"||"9"<s||o<"0"||"9"<o)return i;var a=10*(s.charCodeAt(0)-48)+(o.charCodeAt(0)-48);return a<0||59<a?i:(t[e]=a,t[0]=r,!1)},fe.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+le[this.type]+",'"+t+"')"},de);function de(t,e){m(t,"noOffsetText"),m(e,"pattern"),this.noOffsetText=t,this.type=this._checkPattern(e)}_e.INSTANCE_ID=new _e("Z","+HH:MM:ss"),_e.PATTERNS=le;var pe,me=((pe=Oe.prototype).print=function(t,e){var n=e.length();if(!1===this._printerParser.print(t,e))return!1;var i=e.length()-n;if(i>this._padWidth)throw new y("Cannot print as output of "+i+" characters exceeds pad width of "+this._padWidth);for(var r=0;r<this._padWidth-i;r++)e.insert(n,this._padChar);return!0},pe.parse=function(t,e,n){var i=t.isStrict(),r=t.isCaseSensitive();if(S(!(n>e.length)),S(0<=n),n===e.length)return~n;var s=n+this._padWidth;if(s>e.length){if(i)return~n;s=e.length}for(var o=n;o<s&&(r?e[o]===this._padChar:t.charEquals(e[o],this._padChar));)o++;e=e.substring(0,s);var a=this._printerParser.parse(t,e,o);return a!==s&&i?~(n+o):a},pe.toString=function(){return"Pad("+this._printerParser+","+this._padWidth+(" "===this._padChar?")":",'"+this._padChar+"')")},Oe);function Oe(t,e,n){this._printerParser=t,this._padWidth=e,this._padChar=n}var Ee=function(t){function i(){return t.apply(this,arguments)||this}_(i,t);var e=i.prototype;return e.print=function(){return!0},e.parse=function(t,e,n){switch(this){case i.SENSITIVE:t.setCaseSensitive(!0);break;case i.INSENSITIVE:t.setCaseSensitive(!1);break;case i.STRICT:t.setStrict(!0);break;case i.LENIENT:t.setStrict(!1)}return n},e.toString=function(){switch(this){case i.SENSITIVE:return"ParseCaseSensitive(true)";case i.INSENSITIVE:return"ParseCaseSensitive(false)";case i.STRICT:return"ParseStrict(true)";case i.LENIENT:return"ParseStrict(false)"}},i}(D);Ee.SENSITIVE=new Ee("SENSITIVE"),Ee.INSENSITIVE=new Ee("INSENSITIVE"),Ee.STRICT=new Ee("STRICT"),Ee.LENIENT=new Ee("LENIENT");var Se,Ne=((Se=De.prototype).print=function(t,e){return e.append(this._literal),!0},Se.parse=function(t,e,n){return S(!(e.length<n||n<0)),!1===t.subSequenceEquals(e,n,this._literal,0,this._literal.length)?~n:n+this._literal.length},Se.toString=function(){return"'"+this._literal.replace("'","''")+"'"},De);function De(t){this._literal=t}var Ae=(Te.getRules=function(t){throw new y("unsupported ZoneId:"+t)},Te.getAvailableZoneIds=function(){return[]},Te);function Te(){}var ve,we=function(i){function e(t,e){var n;return(n=i.call(this)||this)._id=t,n._rules=e,n}_(e,i),e.ofId=function(t){return new e(t,Ae.getRules(t))};var t=e.prototype;return t.id=function(){return this._id},t.rules=function(){return this._rules},e}(Et),ye=((ve=Me.prototype).print=function(t,e){var n=t.getValueQuery(this.query);return null!=n&&(e.append(n.id()),!0)},ve.parse=function(t,e,n){var i=e.length;if(i<n)return~n;if(n===i)return~n;var r=e.charAt(n);if("+"===r||"-"===r){var s=t.copy(),o=_e.INSTANCE_ID.parse(s,e,n);if(o<0)return o;var a=s.getParsed(W.OFFSET_SECONDS),u=Tt.ofTotalSeconds(a);return t.setParsedZone(u),o}if(n+2<=i){var h=e.charAt(n+1);if(t.charEquals(r,"U")&&t.charEquals(h,"T"))return n+3<=i&&t.charEquals(e.charAt(n+2),"C")?this._parsePrefixedOffset(t,e,n,n+3):this._parsePrefixedOffset(t,e,n,n+2);if(t.charEquals(r,"G")&&n+3<=i&&t.charEquals(h,"M")&&t.charEquals(e.charAt(n+2),"T"))return this._parsePrefixedOffset(t,e,n,n+3)}if("SYSTEM"===e.substr(n,6))return t.setParsedZone(Et.systemDefault()),n+6;if(t.charEquals(r,"Z"))return t.setParsedZone(Tt.UTC),n+1;var f=Ae.getAvailableZoneIds();Le.size!==f.length&&(Le=Re.createTreeMap(f));for(var c=i-n,l=Le.treeMap,_=null,d=0;null!=l;){var p=e.substr(n,Math.min(l.length,c));null!=(l=l.get(p))&&l.isLeaf&&(_=p,d=l.length)}return null!=_?(t.setParsedZone(we.ofId(_)),n+d):~n},ve._parsePrefixedOffset=function(t,e,n,i){var r=e.substring(n,i).toUpperCase(),s=t.copy();if(i<e.length&&t.charEquals(e.charAt(i),"Z"))return t.setParsedZone(Et.ofOffset(r,Tt.UTC)),i;var o=_e.INSTANCE_ID.parse(s,e,i);if(o<0)return t.setParsedZone(Et.ofOffset(r,Tt.UTC)),i;var a=s.getParsed(W.OFFSET_SECONDS),u=Tt.ofTotalSeconds(a);return t.setParsedZone(Et.ofOffset(r,u)),o},ve.toString=function(){return this.description},Me);function Me(t,e){this.query=t,this.description=e}var Re=(ge.createTreeMap=function(t){for(var e=t.sort(function(t,e){return t.length-e.length}),n=new Fe(e[0].length,!1),i=0;i<e.length;i++)n.add(e[i]);return new ge(e.length,n)},ge);function ge(t,e){this.size=t,this.treeMap=e}var Ie,Fe=((Ie=Ye.prototype).add=function(t){var e=t.length;if(e===this.length)this._treeMap[t]=new Ye(e,!0);else if(e>this.length){var n=t.substr(0,this.length),i=this._treeMap[n];null==i&&(i=new Ye(e,!1),this._treeMap[n]=i),i.add(t)}},Ie.get=function(t){return this._treeMap[t]},Ye);function Ye(t,e){void 0===t&&(t=0),void 0===e&&(e=!1),this.length=t,this.isLeaf=e,this._treeMap={}}var Ce,Le=new Re([]),Ue=function(){function i(){(this._active=this)._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}i._of=function(t,e){m(t,"parent"),m(e,"optional");var n=new i;return n._parent=t,n._optional=e,n};var t=i.prototype;return t.parseCaseSensitive=function(){return this._appendInternalPrinterParser(Ee.SENSITIVE),this},t.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(Ee.INSENSITIVE),this},t.parseStrict=function(){return this._appendInternalPrinterParser(Ee.STRICT),this},t.parseLenient=function(){return this._appendInternalPrinterParser(Ee.LENIENT),this},t.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},t._appendValue1=function(t){return m(t),this._appendValuePrinterParser(new ue(t,1,15,jt.NORMAL)),this},t._appendValue2=function(t,e){if(m(t),e<1||15<e)throw new c("The width must be from 1 to 15 inclusive but was "+e);var n=new ue(t,e,e,jt.NOT_NEGATIVE);return this._appendValuePrinterParser(n),this},t._appendValue4=function(t,e,n,i){if(m(t),m(i),e===n&&i===jt.NOT_NEGATIVE)return this._appendValue2(t,n);if(e<1||15<e)throw new c("The minimum width must be from 1 to 15 inclusive but was "+e);if(n<1||15<n)throw new c("The minimum width must be from 1 to 15 inclusive but was "+n);if(n<e)throw new c("The maximum width must exceed or equal the minimum width but "+n+" < "+e);var r=new ue(t,e,n,i);return this._appendValuePrinterParser(r),this},t.appendValueReduced=function(t,e,n,i){return 4===arguments.length&&i instanceof pt?this._appendValueReducedFieldWidthMaxWidthBaseDate.apply(this,arguments):this._appendValueReducedFieldWidthMaxWidthBaseValue.apply(this,arguments)},t._appendValueReducedFieldWidthMaxWidthBaseValue=function(t,e,n,i){m(t,"field");var r=new ce(t,e,n,i,null);return this._appendValuePrinterParser(r),this},t._appendValueReducedFieldWidthMaxWidthBaseDate=function(t,e,n,i){m(t,"field"),m(i,"baseDate"),o(i,pt,"baseDate");var r=new ce(t,e,n,0,i);return this._appendValuePrinterParser(r),this},t._appendValuePrinterParser=function(t){if(S(null!=t),0<=this._active._valueParserIndex&&this._active._printerParsers[this._active._valueParserIndex]instanceof ue){var e=this._active._valueParserIndex,n=this._active._printerParsers[e];t.minWidth()===t.maxWidth()&&t.signStyle()===jt.NOT_NEGATIVE?(n=n.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=e):(n=n.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[e]=n}else this._active._valueParserIndex=this._appendInternal(t);return this},t.appendFraction=function(t,e,n,i){return this._appendInternal(new re(t,e,n,i)),this},t.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||9<t)throw new c("Invalid fractional digits: "+t);return this._appendInternal(new be(t)),this},t.appendOffsetId=function(){return this._appendInternal(_e.INSTANCE_ID),this},t.appendOffset=function(t,e){return this._appendInternalPrinterParser(new _e(e,t)),this},t.appendZoneId=function(){return this._appendInternal(new ye(x.zoneId(),"ZoneId()")),this},t.appendPattern=function(t){return m(t,"pattern"),this._parsePattern(t),this},t.appendZoneText=function(){throw new c("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},t.appendText=function(){throw new c("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},t.appendLocalizedOffset=function(){throw new c("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},t.appendWeekField=function(){throw new c("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},t._parsePattern=function(t){for(var e={G:W.ERA,y:W.YEAR_OF_ERA,u:W.YEAR,Q:It.QUARTER_OF_YEAR,q:It.QUARTER_OF_YEAR,M:W.MONTH_OF_YEAR,L:W.MONTH_OF_YEAR,D:W.DAY_OF_YEAR,d:W.DAY_OF_MONTH,F:W.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:W.DAY_OF_WEEK,c:W.DAY_OF_WEEK,e:W.DAY_OF_WEEK,a:W.AMPM_OF_DAY,H:W.HOUR_OF_DAY,k:W.CLOCK_HOUR_OF_DAY,K:W.HOUR_OF_AMPM,h:W.CLOCK_HOUR_OF_AMPM,m:W.MINUTE_OF_HOUR,s:W.SECOND_OF_MINUTE,S:W.NANO_OF_SECOND,A:W.MILLI_OF_DAY,n:W.NANO_OF_SECOND,N:W.NANO_OF_DAY},n=0;n<t.length;n++){var i=t.charAt(n);if("A"<=i&&i<="Z"||"a"<=i&&i<="z"){for(var r=n++;n<t.length&&t.charAt(n)===i;n++);var s=n-r;if("p"===i){var o=0;if(n<t.length&&("A"<=(i=t.charAt(n))&&i<="Z"||"a"<=i&&i<="z")){for(o=s,r=n++;n<t.length&&t.charAt(n)===i;n++);s=n-r}if(0===o)throw new c("Pad letter 'p' must be followed by valid pad pattern: "+t);this.padNext(o)}var a=e[i];if(null!=a)this._parseField(i,s,a);else if("z"===i){if(4<s)throw new c("Too many pattern letters: "+i);4===s?this.appendZoneText(Xt.FULL):this.appendZoneText(Xt.SHORT)}else if("V"===i){if(2!==s)throw new c("Pattern letter count must be 2: "+i);this.appendZoneId()}else if("Z"===i)if(s<4)this.appendOffset("+HHMM","+0000");else if(4===s)this.appendLocalizedOffset(Xt.FULL);else{if(5!==s)throw new c("Too many pattern letters: "+i);this.appendOffset("+HH:MM:ss","Z")}else if("O"===i)if(1===s)this.appendLocalizedOffset(Xt.SHORT);else{if(4!==s)throw new c("Pattern letter count must be 1 or 4: "+i);this.appendLocalizedOffset(Xt.FULL)}else if("X"===i){if(5<s)throw new c("Too many pattern letters: "+i);this.appendOffset(_e.PATTERNS[s+(1===s?0:1)],"Z")}else if("x"===i){if(5<s)throw new c("Too many pattern letters: "+i);var u=1===s?"+00":s%2==0?"+0000":"+00:00";this.appendOffset(_e.PATTERNS[s+(1===s?0:1)],u)}else if("W"===i){if(1<s)throw new c("Too many pattern letters: "+i);this.appendWeekField("W",s)}else if("w"===i){if(2<s)throw new c("Too many pattern letters: "+i);this.appendWeekField("w",s)}else{if("Y"!==i)throw new c("Unknown pattern letter: "+i);this.appendWeekField("Y",s)}n--}else if("'"===i){for(var h=n++;n<t.length;n++)if("'"===t.charAt(n)){if(!(n+1<t.length&&"'"===t.charAt(n+1)))break;n++}if(n>=t.length)throw new c("Pattern ends with an incomplete string literal: "+t);var f=t.substring(1+h,n);0===f.length?this.appendLiteral("'"):this.appendLiteral(f.replace("''","'"))}else if("["===i)this.optionalStart();else if("]"===i){if(null===this._active._parent)throw new c("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===i||"}"===i||"#"===i)throw new c("Pattern includes reserved character: '"+i+"'");this.appendLiteral(i)}}},t._parseField=function(t,e,n){switch(t){case"u":case"y":2===e?this.appendValueReduced(n,2,2,ce.BASE_DATE):e<4?this.appendValue(n,e,15,jt.NORMAL):this.appendValue(n,e,15,jt.EXCEEDS_PAD);break;case"M":case"Q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,Xt.SHORT);break;case 4:this.appendText(n,Xt.FULL);break;case 5:this.appendText(n,Xt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"L":case"q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,Xt.SHORT_STANDALONE);break;case 4:this.appendText(n,Xt.FULL_STANDALONE);break;case 5:this.appendText(n,Xt.NARROW_STANDALONE);break;default:throw new c("Too many pattern letters: "+t)}break;case"e":switch(e){case 1:case 2:this.appendWeekField("e",e);break;case 3:this.appendText(n,Xt.SHORT);break;case 4:this.appendText(n,Xt.FULL);break;case 5:this.appendText(n,Xt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"c":switch(e){case 1:this.appendWeekField("c",e);break;case 2:throw new c("Invalid number of pattern letters: "+t);case 3:this.appendText(n,Xt.SHORT_STANDALONE);break;case 4:this.appendText(n,Xt.FULL_STANDALONE);break;case 5:this.appendText(n,Xt.NARROW_STANDALONE);break;default:throw new c("Too many pattern letters: "+t)}break;case"a":if(1!==e)throw new c("Too many pattern letters: "+t);this.appendText(n,Xt.SHORT);break;case"E":case"G":switch(e){case 1:case 2:case 3:this.appendText(n,Xt.SHORT);break;case 4:this.appendText(n,Xt.FULL);break;case 5:this.appendText(n,Xt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"S":this.appendFraction(W.NANO_OF_SECOND,e,e,!1);break;case"F":if(1!==e)throw new c("Too many pattern letters: "+t);this.appendValue(n);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===e)this.appendValue(n);else{if(2!==e)throw new c("Too many pattern letters: "+t);this.appendValue(n,e)}break;case"D":if(1===e)this.appendValue(n);else{if(!(e<=3))throw new c("Too many pattern letters: "+t);this.appendValue(n,e)}break;default:1===e?this.appendValue(n):this.appendValue(n,e)}},t.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},t._padNext1=function(t){return this._padNext2(t," ")},t._padNext2=function(t,e){if(t<1)throw new c("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=e,this._active._valueParserIndex=-1,this},t.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=i._of(this._active,!0),this},t.optionalEnd=function(){if(null==this._active._parent)throw new r("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(0<this._active._printerParsers.length){var t=new ee(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},t._appendInternal=function(t){return S(null!=t),0<this._active._padNextWidth&&(null!=t&&(t=new me(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},t.appendLiteral=function(t){return S(null!=t),0<t.length&&(1===t.length?this._appendInternalPrinterParser(new Qt(t.charAt(0))):this._appendInternalPrinterParser(new Ne(t))),this},t._appendInternalPrinterParser=function(t){return S(null!=t),0<this._active._padNextWidth&&(null!=t&&(t=new me(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},t.append=function(t){return m(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},t.toFormatter=function(t){for(void 0===t&&(t=ht.SMART);null!=this._active._parent;)this.optionalEnd();var e=new ee(this._printerParsers,!1);return new Be(e,null,Zt.STANDARD,t,null,null,null)},i}(),Pe=31556952e4,Ve=62167219200,be=((Ce=He.prototype).print=function(t,e){var n=t.getValue(W.INSTANT_SECONDS),i=0;if(t.temporal().isSupported(W.NANO_OF_SECOND)&&(i=t.temporal().getLong(W.NANO_OF_SECOND)),null==n)return!1;var r=n,s=W.NANO_OF_SECOND.checkValidIntValue(i);if(-Ve<=r){var o=r-Pe+Ve,a=M.floorDiv(o,Pe)+1,u=M.floorMod(o,Pe),h=mn.ofEpochSecond(u-Ve,0,Tt.UTC);0<a&&e.append("+").append(a),e.append(h),0===h.second()&&e.append(":00")}else{var f=r+Ve,c=M.intDiv(f,Pe),l=M.intMod(f,Pe),_=mn.ofEpochSecond(l-Ve,0,Tt.UTC),d=e.length();e.append(_),0===_.second()&&e.append(":00"),c<0&&(-1e4===_.year()?e.replace(d,d+2,""+(c-1)):0===l?e.insert(d,c):e.insert(d+1,Math.abs(c)))}if(-2===this.fractionalDigits)0!==s&&(e.append("."),0===M.intMod(s,1e6)?e.append((""+(M.intDiv(s,1e6)+1e3)).substring(1)):0===M.intMod(s,1e3)?e.append((""+(M.intDiv(s,1e3)+1e6)).substring(1)):e.append((""+(s+1e9)).substring(1)));else if(0<this.fractionalDigits||-1===this.fractionalDigits&&0<s){e.append(".");for(var p=1e8,m=0;-1===this.fractionalDigits&&0<s||m<this.fractionalDigits;m++){var O=M.intDiv(s,p);e.append(O),s-=O*p,p=M.intDiv(p,10)}}return e.append("Z"),!0},Ce.parse=function(t,e,n){var i=t.copy(),r=this.fractionalDigits<0?0:this.fractionalDigits,s=this.fractionalDigits<0?9:this.fractionalDigits,o=(new Ue).append(Be.ISO_LOCAL_DATE).appendLiteral("T").appendValue(W.HOUR_OF_DAY,2).appendLiteral(":").appendValue(W.MINUTE_OF_HOUR,2).appendLiteral(":").appendValue(W.SECOND_OF_MINUTE,2).appendFraction(W.NANO_OF_SECOND,r,s,!0).appendLiteral("Z").toFormatter()._toPrinterParser(!1).parse(i,e,n);if(o<0)return o;var a,u=i.getParsed(W.YEAR),h=i.getParsed(W.MONTH_OF_YEAR),f=i.getParsed(W.DAY_OF_MONTH),c=i.getParsed(W.HOUR_OF_DAY),l=i.getParsed(W.MINUTE_OF_HOUR),_=i.getParsed(W.SECOND_OF_MINUTE),d=i.getParsed(W.NANO_OF_SECOND),p=null!=_?_:0,m=null!=d?d:0,O=M.intMod(u,1e4),E=0;24===c&&0===l&&0===p&&0===m?(c=0,E=1):23===c&&59===l&&60===p&&(t.setParsedLeapSecond(),p=59);try{a=mn.of(O,h,f,c,l,p,0).plusDays(E).toEpochSecond(Tt.UTC),a+=M.safeMultiply(M.intDiv(u,1e4),Pe)}catch(t){return~n}var S=o;return S=t.setParsedField(W.INSTANT_SECONDS,a,n,S),t.setParsedField(W.NANO_OF_SECOND,m,n,S)},Ce.toString=function(){return"Instant()"},He);function He(t){this.fractionalDigits=t}var We,xe=((We=ke.prototype).append=function(t){return this._str+=t,this},We.appendChar=function(t){return this._str+=t[0],this},We.insert=function(t,e){return this._str=this._str.slice(0,t)+e+this._str.slice(t),this},We.replace=function(t,e,n){return this._str=this._str.slice(0,t)+n+this._str.slice(e),this},We.length=function(){return this._str.length},We.setLength=function(t){return this._str=this._str.slice(0,t),this},We.toString=function(){return this._str},ke);function ke(){this._str=""}var Be=function(){function e(t,e,n,i,r,s,o){void 0===s&&(s=un.INSTANCE),S(null!=t),S(null!=n),S(null!=i),this._printerParser=t,this._locale=e,this._decimalStyle=n,this._resolverStyle=i,this._resolverFields=r,this._chrono=s,this._zone=o}e.parsedExcessDays=function(){return e.PARSED_EXCESS_DAYS},e.parsedLeapSecond=function(){return e.PARSED_LEAP_SECOND},e.ofPattern=function(t){return(new Ue).appendPattern(t).toFormatter()};var t=e.prototype;return t.locale=function(){return this._locale},t.decimalStyle=function(){return this._decimalStyle},t.chronology=function(){return this._chrono},t.withChronology=function(t){return null!=this._chrono&&this._chrono.equals(t)?this:new e(this._printerParser,this._locale,this._decimalStyle,this._resolverStyle,this._resolverFields,t,this._zone)},t.withLocale=function(){return this},t.withResolverStyle=function(t){return m(t,"resolverStyle"),t.equals(this._resolverStyle)?this:new e(this._printerParser,this._locale,this._decimalStyle,t,this._resolverFields,this._chrono,this._zone)},t.format=function(t){var e=new xe(32);return this._formatTo(t,e),e.toString()},t._formatTo=function(t,e){m(t,"temporal"),m(e,"appendable");var n=new gt(t,this);this._printerParser.print(n,e)},t.parse=function(t,e){return 1===arguments.length?this.parse1(t):this.parse2(t,e)},t.parse1=function(e){m(e,"text");try{return this._parseToBuilder(e,null).resolve(this._resolverStyle,this._resolverFields)}catch(t){throw t instanceof p?t:this._createError(e,t)}},t.parse2=function(e,t){m(e,"text"),m(t,"type");try{return this._parseToBuilder(e,null).resolve(this._resolverStyle,this._resolverFields).build(t)}catch(t){throw t instanceof p?t:this._createError(e,t)}},t._createError=function(t,e){var n="";return n=64<t.length?t.substring(0,64)+"...":t,new p("Text '"+n+"' could not be parsed: "+e.message,t,0,e)},t._parseToBuilder=function(t,e){var n=null!=e?e:new it(0),i=this._parseUnresolved0(t,n);if(null==i||0<=n.getErrorIndex()||null==e&&n.getIndex()<t.length){var r="";throw r=64<t.length?t.substr(0,64).toString()+"...":t,0<=n.getErrorIndex()?new p("Text '"+r+"' could not be parsed at index "+n.getErrorIndex(),t,n.getErrorIndex()):new p("Text '"+r+"' could not be parsed, unparsed text found at index "+n.getIndex(),t,n.getIndex())}return i.toBuilder()},t.parseUnresolved=function(t,e){return this._parseUnresolved0(t,e)},t._parseUnresolved0=function(t,e){S(null!=t,"text",s),S(null!=e,"position",s);var n=new yt(this),i=e.getIndex();return(i=this._printerParser.parse(n,t,i))<0?(e.setErrorIndex(~i),null):(e.setIndex(i),n.toParsed())},t._toPrinterParser=function(t){return this._printerParser.withOptional(t)},t.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},e}();var qe,Ze=function(i){function n(t,e){var n;return(n=i.call(this)||this)._month=M.safeToInt(t),n._day=M.safeToInt(e),n}_(n,i),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Et?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return this.nowClock(Sn.systemDefaultZone())},n.nowZoneId=function(t){return m(t,"zone"),this.nowClock(Sn.system(t))},n.nowClock=function(t){m(t,"clock");var e=dn.now(t);return n.of(e.month(),e.dayOfMonth())},n.of=function(t,e){return 2===arguments.length&&t instanceof $?n.ofMonthNumber(t,e):n.ofNumberNumber(t,e)},n.ofMonthNumber=function(t,e){if(m(t,"month"),W.DAY_OF_MONTH.checkValidValue(e),e>t.maxLength())throw new y("Illegal value for DayOfMonth field, value "+e+" is not valid for month "+t.toString());return new n(t.value(),e)},n.ofNumberNumber=function(t,e){return m(t,"month"),m(e,"dayOfMonth"),n.of($.of(t),e)},n.from=function(e){if(m(e,"temporal"),o(e,q,"temporal"),e instanceof n)return e;try{return n.of(e.get(W.MONTH_OF_YEAR),e.get(W.DAY_OF_MONTH))}catch(t){throw new y("Unable to obtain MonthDay from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,qe)},n.parseStringFormatter=function(t,e){return m(t,"text"),m(e,"formatter"),o(e,Be,"formatter"),e.parse(t,n.FROM)};var t=n.prototype;return t.monthValue=function(){return this._month},t.month=function(){return $.of(this._month)},t.dayOfMonth=function(){return this._day},t.isSupported=function(t){return t instanceof W?t===W.MONTH_OF_YEAR||t===W.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},t.range=function(t){return t===W.MONTH_OF_YEAR?t.range():t===W.DAY_OF_MONTH?b.of(1,this.month().minLength(),this.month().maxLength()):i.prototype.range.call(this,t)},t.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(m(t,"field"),t instanceof W){switch(t){case W.DAY_OF_MONTH:return this._day;case W.MONTH_OF_YEAR:return this._month}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.isValidYear=function(t){return!1==(29===this._day&&2===this._month&&!1===Ge.isLeap(t))},t.withMonth=function(t){return this.with($.of(t))},t.with=function(t){if(m(t,"month"),t.value()===this._month)return this;var e=Math.min(this._day,t.maxLength());return new n(t.value(),e)},t.withDayOfMonth=function(t){return t===this._day?this:n.of(this._month,t)},t.query=function(t){return m(t,"query"),o(t,K,"query"),t===x.chronology()?un.INSTANCE:i.prototype.query.call(this,t)},t.adjustInto=function(t){return m(t,"temporal"),(t=t.with(W.MONTH_OF_YEAR,this._month)).with(W.DAY_OF_MONTH,Math.min(t.range(W.DAY_OF_MONTH).maximum(),this._day))},t.atYear=function(t){return dn.of(t,this._month,this.isValidYear(t)?this._day:28)},t.compareTo=function(t){m(t,"other"),o(t,n,"other");var e=this._month-t.monthValue();return 0===e&&(e=this._day-t.dayOfMonth()),e},t.isAfter=function(t){return m(t,"other"),o(t,n,"other"),0<this.compareTo(t)},t.isBefore=function(t){return m(t,"other"),o(t,n,"other"),this.compareTo(t)<0},t.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.monthValue()===e.monthValue()&&this.dayOfMonth()===e.dayOfMonth()}return!1},t.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),o(t,Be,"formatter"),t.format(this)},n}(q);var ze,Ke=function(i){function r(t,e){var n;return(n=i.call(this)||this)._year=M.safeToInt(t),n._month=M.safeToInt(e),n}_(r,i),r.now=function(t){return 0===arguments.length?r.now0():1===arguments.length&&t instanceof Et?r.nowZoneId(t):r.nowClock(t)},r.now0=function(){return r.nowClock(Sn.systemDefaultZone())},r.nowZoneId=function(t){return r.nowClock(Sn.system(t))},r.nowClock=function(t){var e=dn.now(t);return r.of(e.year(),e.month())},r.of=function(t,e){return 2===arguments.length&&e instanceof $?r.ofNumberMonth(t,e):r.ofNumberNumber(t,e)},r.ofNumberMonth=function(t,e){return m(e,"month"),o(e,$,"month"),r.ofNumberNumber(t,e.value())},r.ofNumberNumber=function(t,e){return m(t,"year"),m(e,"month"),W.YEAR.checkValidValue(t),W.MONTH_OF_YEAR.checkValidValue(e),new r(t,e)},r.from=function(e){if(m(e,"temporal"),e instanceof r)return e;try{return r.of(e.get(W.YEAR),e.get(W.MONTH_OF_YEAR))}catch(t){throw new y("Unable to obtain YearMonth from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},r.parse=function(t,e){return 1===arguments.length?r.parseString(t):r.parseStringFormatter(t,e)},r.parseString=function(t){return r.parseStringFormatter(t,ze)},r.parseStringFormatter=function(t,e){return m(e,"formatter"),e.parse(t,r.FROM)};var t=r.prototype;return t.isSupported=function(t){return 1===arguments.length&&t instanceof U?this.isSupportedField(t):this.isSupportedUnit(t)},t.isSupportedField=function(t){return t instanceof W?t===W.YEAR||t===W.MONTH_OF_YEAR||t===W.PROLEPTIC_MONTH||t===W.YEAR_OF_ERA||t===W.ERA:null!=t&&t.isSupportedBy(this)},t.isSupportedUnit=function(t){return t instanceof C?t===C.MONTHS||t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},t.range=function(t){return t===W.YEAR_OF_ERA?this.year()<=0?b.of(1,Ge.MAX_VALUE+1):b.of(1,Ge.MAX_VALUE):i.prototype.range.call(this,t)},t.get=function(t){return m(t,"field"),o(t,U,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(m(t,"field"),o(t,U,"field"),t instanceof W){switch(t){case W.MONTH_OF_YEAR:return this._month;case W.PROLEPTIC_MONTH:return this._getProlepticMonth();case W.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case W.YEAR:return this._year;case W.ERA:return this._year<1?0:1}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t._getProlepticMonth=function(){return M.safeAdd(M.safeMultiply(this._year,12),this._month-1)},t.year=function(){return this._year},t.monthValue=function(){return this._month},t.month=function(){return $.of(this._month)},t.isLeapYear=function(){return un.isLeapYear(this._year)},t.isValidDay=function(t){return 1<=t&&t<=this.lengthOfMonth()},t.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},t.lengthOfYear=function(){return this.isLeapYear()?366:365},t.with=function(t,e){return 1===arguments.length?this.withAdjuster(t):this.withFieldValue(t,e)},t.withAdjuster=function(t){return m(t,"adjuster"),t.adjustInto(this)},t.withFieldValue=function(t,e){if(m(t,"field"),o(t,U,"field"),t instanceof W){var n=t;switch(n.checkValidValue(e),n){case W.MONTH_OF_YEAR:return this.withMonth(e);case W.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(W.PROLEPTIC_MONTH));case W.YEAR_OF_ERA:return this.withYear(this._year<1?1-e:e);case W.YEAR:return this.withYear(e);case W.ERA:return this.getLong(W.ERA)===e?this:this.withYear(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withYear=function(t){return W.YEAR.checkValidValue(t),new r(t,this._month)},t.withMonth=function(t){return W.MONTH_OF_YEAR.checkValidValue(t),new r(this._year,t)},t.plusAmount=function(t){return m(t,"amount"),o(t,v,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(e,"unit"),o(e,g,"unit"),e instanceof C){switch(e){case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(M.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case C.ERAS:return this.with(W.ERA,M.safeAdd(this.getLong(W.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){if(0===t)return this;var e=W.YEAR.checkValidIntValue(this._year+t);return this.withYear(e)},t.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t;return new r(W.YEAR.checkValidIntValue(M.floorDiv(e,12)),M.floorMod(e,12)+1)},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return t===M.MIN_SAFE_INTEGER?this.plusAmountUnit(M.MAX_SAFE_INTEGER,e).plusAmountUnit(1,e):this.plusAmountUnit(-t,e)},t.minusYears=function(t){return t===M.MIN_SAFE_INTEGER?this.plusYears(M.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},t.minusMonths=function(t){return t===M.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},t.query=function(t){return m(t,"query"),o(t,K,"query"),t===x.chronology()?un.INSTANCE:t===x.precision()?C.MONTHS:t===x.localDate()||t===x.localTime()||t===x.zone()||t===x.zoneId()||t===x.offset()?null:i.prototype.query.call(this,t)},t.adjustInto=function(t){return m(t,"temporal"),o(t,_t,"temporal"),t.with(W.PROLEPTIC_MONTH,this._getProlepticMonth())},t.until=function(t,e){m(t,"endExclusive"),m(e,"unit"),o(t,_t,"endExclusive"),o(e,g,"unit");var n=r.from(t);if(e instanceof C){var i=n._getProlepticMonth()-this._getProlepticMonth();switch(e){case C.MONTHS:return i;case C.YEARS:return i/12;case C.DECADES:return i/120;case C.CENTURIES:return i/1200;case C.MILLENNIA:return i/12e3;case C.ERAS:return n.getLong(W.ERA)-this.getLong(W.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.atDay=function(t){return dn.of(this._year,this._month,t)},t.atEndOfMonth=function(){return dn.of(this._year,this._month,this.lengthOfMonth())},t.compareTo=function(t){m(t,"other"),o(t,r,"other");var e=this._year-t.year();return 0===e&&(e=this._month-t.monthValue()),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){if(this===t)return!0;if(t instanceof r){var e=t;return this.year()===e.year()&&this.monthValue()===e.monthValue()}return!1},t.toString=function(){return ze.format(this)},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),t.format(this)},r}(_t);var je,Ge=function(n){function r(t){var e;return(e=n.call(this)||this)._year=M.safeToInt(t),e}_(r,n);var t=r.prototype;return t.value=function(){return this._year},r.now=function(t){return void 0===t&&(t=void 0),void 0===t?r.now0():t instanceof Et?r.nowZoneId(t):r.nowClock(t)},r.now0=function(){return r.nowClock(Sn.systemDefaultZone())},r.nowZoneId=function(t){return m(t,"zone"),o(t,Et,"zone"),r.nowClock(Sn.system(t))},r.nowClock=function(t){m(t,"clock"),o(t,Sn,"clock");var e=dn.now(t);return r.of(e.year())},r.of=function(t){return m(t,"isoYear"),W.YEAR.checkValidValue(t),new r(t)},r.from=function(e){if(m(e,"temporal"),o(e,q,"temporal"),e instanceof r)return e;try{return r.of(e.get(W.YEAR))}catch(t){throw new y("Unable to obtain Year from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},r.parse=function(t,e){return arguments.length<=1?r.parseText(t):r.parseTextFormatter(t,e)},r.parseText=function(t){return m(t,"text"),r.parse(t,je)},r.parseTextFormatter=function(t,e){return void 0===e&&(e=je),m(t,"text"),m(e,"formatter"),o(e,Be,"formatter"),e.parse(t,r.FROM)},r.isLeap=function(t){return 0===M.intMod(t,4)&&(0!==M.intMod(t,100)||0===M.intMod(t,400))},t.isSupported=function(t){return 1===arguments.length&&t instanceof U?this.isSupportedField(t):this.isSupportedUnit(t)},t.isSupportedField=function(t){return t instanceof W?t===W.YEAR||t===W.YEAR_OF_ERA||t===W.ERA:null!=t&&t.isSupportedBy(this)},t.isSupportedUnit=function(t){return t instanceof C?t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},t.range=function(t){if(this.isSupported(t))return t.range();if(t instanceof W)throw new l("Unsupported field: "+t);return n.prototype.range.call(this,t)},t.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(m(t,"field"),t instanceof W){switch(t){case W.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case W.YEAR:return this._year;case W.ERA:return this._year<1?0:1}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.isLeap=function(){return r.isLeap(this._year)},t.withAdjuster=function(t){return m(t,"adjuster"),t.adjustInto(this)},t.withFieldValue=function(t,e){if(m(t,"field"),o(t,U,"field"),t instanceof W){switch(t.checkValidValue(e),t){case W.YEAR_OF_ERA:return r.of(this._year<1?1-e:e);case W.YEAR:return r.of(e);case W.ERA:return this.getLong(W.ERA)===e?this:r.of(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.plusAmount=function(t){return m(t,"amount"),o(t,v,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(t,"amountToAdd"),m(e,"unit"),o(e,g,"unit"),e instanceof C){switch(e){case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(M.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case C.ERAS:return this.with(W.ERA,M.safeAdd(this.getLong(W.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){return 0===t?this:r.of(W.YEAR.checkValidIntValue(M.safeAdd(this._year,t)))},t.minusAmount=function(t){return m(t,"amount"),o(t,v,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return m(t,"amountToSubtract"),m(e,"unit"),o(e,g,"unit"),t===M.MIN_SAFE_INTEGER?this.plus(M.MAX_SAFE_INTEGER,e).plus(1,e):this.plus(-t,e)},t.minusYears=function(t){return t===M.MIN_SAFE_INTEGER?this.plusYears(M.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},t.adjustInto=function(t){return m(t,"temporal"),t.with(W.YEAR,this._year)},t.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},t.length=function(){return this.isLeap()?366:365},t.atDay=function(t){return dn.ofYearDay(this._year,t)},t.atMonth=function(t){return 1===arguments.length&&t instanceof $?this.atMonthMonth(t):this.atMonthNumber(t)},t.atMonthMonth=function(t){return m(t,"month"),o(t,$,"month"),Ke.of(this._year,t)},t.atMonthNumber=function(t){return m(t,"month"),Ke.of(this._year,t)},t.atMonthDay=function(t){return m(t,"monthDay"),o(t,Ze,"monthDay"),t.atYear(this._year)},t.query=function(t){return m(t,"query()"),o(t,K,"query()"),t===x.chronology()?un.INSTANCE:t===x.precision()?C.YEARS:t===x.localDate()||t===x.localTime()||t===x.zone()||t===x.zoneId()||t===x.offset()?null:n.prototype.query.call(this,t)},t.compareTo=function(t){return m(t,"other"),o(t,r,"other"),this._year-t._year},t.isAfter=function(t){return m(t,"other"),o(t,r,"other"),this._year>t._year},t.isBefore=function(t){return m(t,"other"),o(t,r,"other"),this._year<t._year},t.format=function(t){return m(t,"formatter"),o(t,Be,"formatter"),t.format(this)},t.equals=function(t){return this===t||t instanceof r&&this.value()===t.value()},t.toString=function(){return""+this._year},t.toJSON=function(){return this.toString()},t.until=function(t,e){var n=r.from(t);if(e instanceof C){var i=n.value()-this.value();switch(e){case C.YEARS:return i;case C.DECADES:return M.intDiv(i,10);case C.CENTURIES:return M.intDiv(i,100);case C.MILLENNIA:return M.intDiv(i,1e3);case C.ERAS:return n.getLong(W.ERA)-this.getLong(W.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},r}(_t);var Xe=(Je.firstDayOfMonth=function(){return $e.FIRST_DAY_OF_MONTH},Je.lastDayOfMonth=function(){return $e.LAST_DAY_OF_MONTH},Je.firstDayOfNextMonth=function(){return $e.FIRST_DAY_OF_NEXT_MONTH},Je.firstDayOfYear=function(){return $e.FIRST_DAY_OF_YEAR},Je.lastDayOfYear=function(){return $e.LAST_DAY_OF_YEAR},Je.firstDayOfNextYear=function(){return $e.FIRST_DAY_OF_NEXT_YEAR},Je.firstInMonth=function(t){return m(t,"dayOfWeek"),new nn(1,t)},Je.lastInMonth=function(t){return m(t,"dayOfWeek"),new nn(-1,t)},Je.dayOfWeekInMonth=function(t,e){return m(e,"dayOfWeek"),new nn(t,e)},Je.next=function(t){return new on(2,t)},Je.nextOrSame=function(t){return new on(0,t)},Je.previous=function(t){return new on(3,t)},Je.previousOrSame=function(t){return new on(1,t)},Je);function Je(){}var Qe,$e=(_(tn,Qe=ct),tn.prototype.adjustInto=function(t){switch(this._ordinal){case 0:return t.with(W.DAY_OF_MONTH,1);case 1:return t.with(W.DAY_OF_MONTH,t.range(W.DAY_OF_MONTH).maximum());case 2:return t.with(W.DAY_OF_MONTH,1).plus(1,C.MONTHS);case 3:return t.with(W.DAY_OF_YEAR,1);case 4:return t.with(W.DAY_OF_YEAR,t.range(W.DAY_OF_YEAR).maximum());case 5:return t.with(W.DAY_OF_YEAR,1).plus(1,C.YEARS)}throw new r("Unreachable")},tn);function tn(t){var e;return(e=Qe.call(this)||this)._ordinal=t,e}$e.FIRST_DAY_OF_MONTH=new $e(0),$e.LAST_DAY_OF_MONTH=new $e(1),$e.FIRST_DAY_OF_NEXT_MONTH=new $e(2),$e.FIRST_DAY_OF_YEAR=new $e(3),$e.LAST_DAY_OF_YEAR=new $e(4),$e.FIRST_DAY_OF_NEXT_YEAR=new $e(5);var en,nn=(_(rn,en=ct),rn.prototype.adjustInto=function(t){if(0<=this._ordinal){var e=t.with(W.DAY_OF_MONTH,1),n=e.get(W.DAY_OF_WEEK),i=M.intMod(this._dowValue-n+7,7);return i+=7*(this._ordinal-1),e.plus(i,C.DAYS)}var r=t.with(W.DAY_OF_MONTH,t.range(W.DAY_OF_MONTH).maximum()),s=r.get(W.DAY_OF_WEEK),o=this._dowValue-s;return o=0===o?0:0<o?o-7:o,o-=7*(-this._ordinal-1),r.plus(o,C.DAYS)},rn);function rn(t,e){var n;return(n=en.call(this)||this)._ordinal=t,n._dowValue=e.value(),n}var sn,on=(_(an,sn=ct),an.prototype.adjustInto=function(t){var e=t.get(W.DAY_OF_WEEK);if(this._relative<2&&e===this._dowValue)return t;if(0==(1&this._relative)){var n=e-this._dowValue;return t.plus(0<=n?7-n:-n,C.DAYS)}var i=this._dowValue-e;return t.minus(0<=i?7-i:-i,C.DAYS)},an);function an(t,e){var n;return n=sn.call(this)||this,m(e,"dayOfWeek"),n._relative=t,n._dowValue=e.value(),n}var un=function(t){function e(){return t.apply(this,arguments)||this}_(e,t),e.isLeapYear=function(t){return 0==(3&t)&&(t%100!=0||t%400==0)};var n=e.prototype;return n._updateResolveMap=function(t,e,n){m(t,"fieldValues"),m(e,"field");var i=t.get(e);if(null!=i&&i!==n)throw new y("Invalid state, field: "+e+" "+i+" conflicts with "+e+" "+n);t.put(e,n)},n.resolveDate=function(t,e){if(t.containsKey(W.EPOCH_DAY))return dn.ofEpochDay(t.remove(W.EPOCH_DAY));var n=t.remove(W.PROLEPTIC_MONTH);null!=n&&(e!==ht.LENIENT&&W.PROLEPTIC_MONTH.checkValidValue(n),this._updateResolveMap(t,W.MONTH_OF_YEAR,M.floorMod(n,12)+1),this._updateResolveMap(t,W.YEAR,M.floorDiv(n,12)));var i=t.remove(W.YEAR_OF_ERA);if(null!=i){e!==ht.LENIENT&&W.YEAR_OF_ERA.checkValidValue(i);var r=t.remove(W.ERA);if(null==r){var s=t.get(W.YEAR);e===ht.STRICT?null!=s?this._updateResolveMap(t,W.YEAR,0<s?i:M.safeSubtract(1,i)):t.put(W.YEAR_OF_ERA,i):this._updateResolveMap(t,W.YEAR,null==s||0<s?i:M.safeSubtract(1,i))}else if(1===r)this._updateResolveMap(t,W.YEAR,i);else{if(0!==r)throw new y("Invalid value for era: "+r);this._updateResolveMap(t,W.YEAR,M.safeSubtract(1,i))}}else t.containsKey(W.ERA)&&W.ERA.checkValidValue(t.get(W.ERA));if(t.containsKey(W.YEAR)){if(t.containsKey(W.MONTH_OF_YEAR)&&t.containsKey(W.DAY_OF_MONTH)){var o=W.YEAR.checkValidIntValue(t.remove(W.YEAR)),a=t.remove(W.MONTH_OF_YEAR),u=t.remove(W.DAY_OF_MONTH);if(e!==ht.LENIENT)return e===ht.SMART&&(W.DAY_OF_MONTH.checkValidValue(u),4===a||6===a||9===a||11===a?u=Math.min(u,30):2===a&&(u=Math.min(u,$.FEBRUARY.length(Ge.isLeap(o))))),dn.of(o,a,u);var h=a-1,f=u-1;return dn.of(o,1,1).plusMonths(h).plusDays(f)}if(t.containsKey(W.DAY_OF_YEAR)){var c=W.YEAR.checkValidIntValue(t.remove(W.YEAR));if(e===ht.LENIENT){var l=M.safeSubtract(t.remove(W.DAY_OF_YEAR),1);return dn.ofYearDay(c,1).plusDays(l)}var _=W.DAY_OF_YEAR.checkValidIntValue(t.remove(W.DAY_OF_YEAR));return dn.ofYearDay(c,_)}if(t.containsKey(W.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey(W.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var d=W.YEAR.checkValidIntValue(t.remove(W.YEAR));if(e===ht.LENIENT){var p=M.safeSubtract(t.remove(W.ALIGNED_WEEK_OF_YEAR),1),m=M.safeSubtract(t.remove(W.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return dn.of(d,1,1).plusWeeks(p).plusDays(m)}var O=W.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(W.ALIGNED_WEEK_OF_YEAR)),E=W.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove(W.ALIGNED_DAY_OF_WEEK_IN_YEAR)),S=dn.of(d,1,1).plusDays(7*(O-1)+(E-1));if(e===ht.STRICT&&S.get(W.YEAR)!==d)throw new y("Strict mode rejected date parsed to a different year");return S}if(t.containsKey(W.DAY_OF_WEEK)){var N=W.YEAR.checkValidIntValue(t.remove(W.YEAR));if(e===ht.LENIENT){var D=M.safeSubtract(t.remove(W.ALIGNED_WEEK_OF_YEAR),1),A=M.safeSubtract(t.remove(W.DAY_OF_WEEK),1);return dn.of(N,1,1).plusWeeks(D).plusDays(A)}var T=W.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(W.ALIGNED_WEEK_OF_YEAR)),v=W.DAY_OF_WEEK.checkValidIntValue(t.remove(W.DAY_OF_WEEK)),w=dn.of(N,1,1).plusWeeks(T-1).with(Xe.nextOrSame(J.of(v)));if(e===ht.STRICT&&w.get(W.YEAR)!==N)throw new y("Strict mode rejected date parsed to a different month");return w}}}return null},n.date=function(t){return dn.from(t)},e}(D);var hn=function(i){function s(t,e){var n;return n=i.call(this)||this,m(t,"time"),o(t,On,"time"),m(e,"offset"),o(e,Tt,"offset"),n._time=t,n._offset=e,n}_(s,i),s.from=function(e){if(m(e,"temporal"),e instanceof s)return e;if(e instanceof ln)return e.toOffsetTime();try{return new s(On.from(e),Tt.from(e))}catch(t){throw new y("Unable to obtain OffsetTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},s.now=function(t){return s._now(0===arguments.length?Sn.systemDefaultZone():t instanceof Sn?t:Sn.system(t))},s._now=function(t){m(t,"clock");var e=t.instant();return s.ofInstant(e,t.zone().rules().offset(e))},s.of=function(){return arguments.length<=2?s.ofTimeAndOffset.apply(this,arguments):s.ofNumbers.apply(this,arguments)},s.ofNumbers=function(t,e,n,i,r){return new s(On.of(t,e,n,i),r)},s.ofTimeAndOffset=function(t,e){return new s(t,e)},s.ofInstant=function(t,e){m(t,"instant"),o(t,En,"instant"),m(e,"zone"),o(e,Et,"zone");var n=e.rules().offset(t),i=t.epochSecond()%On.SECONDS_PER_DAY;return(i=(i+n.totalSeconds())%On.SECONDS_PER_DAY)<0&&(i+=On.SECONDS_PER_DAY),new s(On.ofSecondOfDay(i,t.nano()),n)},s.parse=function(t,e){return void 0===e&&(e=Be.ISO_OFFSET_TIME),m(e,"formatter"),e.parse(t,s.FROM)};var t=s.prototype;return t.adjustInto=function(t){return t.with(W.NANO_OF_DAY,this._time.toNanoOfDay()).with(W.OFFSET_SECONDS,this.offset().totalSeconds())},t.atDate=function(t){return ln.of(t,this._time,this._offset)},t.format=function(t){return m(t,"formatter"),t.format(this,s.FROM)},t.get=function(t){return i.prototype.get.call(this,t)},t.getLong=function(t){return t instanceof W?t===W.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},t.hour=function(){return this._time.hour()},t.minute=function(){return this._time.minute()},t.second=function(){return this._time.second()},t.nano=function(){return this._time.nano()},t.offset=function(){return this._offset},t.isAfter=function(t){return m(t,"other"),this._toEpochNano()>t._toEpochNano()},t.isBefore=function(t){return m(t,"other"),this._toEpochNano()<t._toEpochNano()},t.isEqual=function(t){return m(t,"other"),this._toEpochNano()===t._toEpochNano()},t.isSupported=function(t){return t instanceof W?t.isTimeBased()||t===W.OFFSET_SECONDS:t instanceof C?t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.minusHours=function(t){return this._withLocalTimeOffset(this._time.minusHours(t),this._offset)},t.minusMinutes=function(t){return this._withLocalTimeOffset(this._time.minusMinutes(t),this._offset)},t.minusSeconds=function(t){return this._withLocalTimeOffset(this._time.minusSeconds(t),this._offset)},t.minusNanos=function(t){return this._withLocalTimeOffset(this._time.minusNanos(t),this._offset)},t.minusAmount=function(t){return m(t),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return this.plus(-1*t,e)},t.plusAmount=function(t){return m(t),t.addTo(this)},t.plusAmountUnit=function(t,e){return e instanceof C?this._withLocalTimeOffset(this._time.plus(t,e),this._offset):e.addTo(this,t)},t.plusHours=function(t){return this._withLocalTimeOffset(this._time.plusHours(t),this._offset)},t.plusMinutes=function(t){return this._withLocalTimeOffset(this._time.plusMinutes(t),this._offset)},t.plusSeconds=function(t){return this._withLocalTimeOffset(this._time.plusSeconds(t),this._offset)},t.plusNanos=function(t){return this._withLocalTimeOffset(this._time.plusNanos(t),this._offset)},t.query=function(t){return m(t,"query"),t===x.precision()?C.NANOS:t===x.offset()||t===x.zone()?this.offset():t===x.localTime()?this._time:t===x.chronology()||t===x.localDate()||t===x.zoneId()?null:i.prototype.query.call(this,t)},t.range=function(t){return t instanceof W?t===W.OFFSET_SECONDS?t.range():this._time.range(t):t.rangeRefinedBy(this)},t.toLocalTime=function(){return this._time},t.truncatedTo=function(t){return this._withLocalTimeOffset(this._time.truncatedTo(t),this._offset)},t.until=function(t,e){m(t,"endExclusive"),m(e,"unit");var n=s.from(t);if(e instanceof C){var i=n._toEpochNano()-this._toEpochNano();switch(e){case C.NANOS:return i;case C.MICROS:return Math.floor(i/1e3);case C.MILLIS:return Math.floor(i/1e6);case C.SECONDS:return Math.floor(i/On.NANOS_PER_SECOND);case C.MINUTES:return Math.floor(i/On.NANOS_PER_MINUTE);case C.HOURS:return Math.floor(i/On.NANOS_PER_HOUR);case C.HALF_DAYS:return Math.floor(i/(12*On.NANOS_PER_HOUR))}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.withHour=function(t){return this._withLocalTimeOffset(this._time.withHour(t),this._offset)},t.withMinute=function(t){return this._withLocalTimeOffset(this._time.withMinute(t),this._offset)},t.withSecond=function(t){return this._withLocalTimeOffset(this._time.withSecond(t),this._offset)},t.withNano=function(t){return this._withLocalTimeOffset(this._time.withNano(t),this._offset)},t.withOffsetSameInstant=function(t){if(m(t,"offset"),t.equals(this._offset))return this;var e=t.totalSeconds()-this._offset.totalSeconds();return new s(this._time.plusSeconds(e),t)},t.withOffsetSameLocal=function(t){return null!=t&&t.equals(this._offset)?this:new s(this._time,t)},t._toEpochNano=function(){return this._time.toNanoOfDay()-this._offset.totalSeconds()*On.NANOS_PER_SECOND},t.withAdjuster=function(t){return m(t,"adjuster"),t instanceof On?this._withLocalTimeOffset(t,this._offset):t instanceof Tt?this._withLocalTimeOffset(this._time,t):t instanceof s?t:t.adjustInto(this)},t.withFieldValue=function(t,e){return m(t,"field"),t instanceof W?t===W.OFFSET_SECONDS?this._withLocalTimeOffset(this._time,Tt.ofTotalSeconds(t.checkValidIntValue(e))):this._withLocalTimeOffset(this._time.with(t,e),this._offset):t.adjustInto(this,e)},t._withLocalTimeOffset=function(t,e){return this._time===t&&this._offset.equals(e)?this:new s(t,e)},t.compareTo=function(t){if(m(t,"other"),o(t,s,"other"),this._offset.equals(t._offset))return this._time.compareTo(t._time);var e=M.compareNumbers(this._toEpochNano(),t._toEpochNano());return 0===e?this._time.compareTo(t._time):e},t.equals=function(t){return this===t||t instanceof s&&(this._time.equals(t._time)&&this._offset.equals(t._offset))},t.hashCode=function(){return this._time.hashCode()^this._offset.hashCode()},t.toString=function(){return this._time.toString()+this._offset.toString()},t.toJSON=function(){return this.toString()},s}(dt);var fn=function(e){function n(){return e.apply(this,arguments)||this}_(n,e);var t=n.prototype;return t.query=function(t){return t===x.zoneId()||t===x.zone()?this.zone():t===x.chronology()?this.toLocalDate().chronology():t===x.precision()?C.NANOS:t===x.offset()?this.offset():t===x.localDate()?dn.ofEpochDay(this.toLocalDate().toEpochDay()):t===x.localTime()?this.toLocalTime():e.prototype.query.call(this,t)},t.format=function(t){return m(t,"formatter"),t.format(this)},t.toInstant=function(){return En.ofEpochSecond(this.toEpochSecond(),this.toLocalTime().nano())},t.toEpochSecond=function(){var t=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return t-=this.offset().totalSeconds()},t.compareTo=function(t){m(t,"other");var e=M.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===e&&0===(e=this.toLocalTime().nano()-t.toLocalTime().nano())&&0===(e=this.toLocalDateTime().compareTo(t.toLocalDateTime()))&&(e=function(t,e){if(t<e)return-1;if(e<t)return 1;return 0}(this.zone().id(),t.zone().id())),e},t.isAfter=function(t){m(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return n<e||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},t.isBefore=function(t){m(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},t.isEqual=function(t){return m(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},t.equals=function(t){return this===t||t instanceof n&&0===this.compareTo(t)},n}(dt);var cn=function(r){function h(t,e,n){var i;return m(t,"dateTime"),m(e,"offset"),m(n,"zone"),(i=r.call(this)||this)._dateTime=t,i._offset=e,i._zone=n,i}_(h,r),h.now=function(t){var e;return e=t instanceof Et?Sn.system(t):null==t?Sn.systemDefaultZone():t,h.ofInstant(e.instant(),e.zone())},h.of=function(t){return arguments.length<=2?h.of2.apply(this,arguments):3===arguments.length&&t instanceof dn?h.of3.apply(this,arguments):h.of8.apply(this,arguments)},h.of3=function(t,e,n){return h.of2(mn.of(t,e),n)},h.of2=function(t,e){return h.ofLocal(t,e,null)},h.of8=function(t,e,n,i,r,s,o,a){var u=mn.of(t,e,n,i,r,s,o);return h.ofLocal(u,a,null)},h.ofLocal=function(t,e,n){if(m(t,"localDateTime"),m(e,"zone"),e instanceof Tt)return new h(t,e,e);var i=null,r=e.rules(),s=r.validOffsets(t);if(1===s.length)i=s[0];else if(0===s.length){var o=r.transition(t);t=t.plusSeconds(o.duration().seconds()),i=o.offsetAfter()}else i=null!=n&&s.some(function(t){return t.equals(n)})?n:m(s[0],"offset");return new h(t,i,e)},h.ofInstant=function(){return 2===arguments.length?h.ofInstant2.apply(this,arguments):h.ofInstant3.apply(this,arguments)},h.ofInstant2=function(t,e){return m(t,"instant"),m(e,"zone"),h._create(t.epochSecond(),t.nano(),e)},h.ofInstant3=function(t,e,n){return m(t,"localDateTime"),m(e,"offset"),m(n,"zone"),h._create(t.toEpochSecond(e),t.nano(),n)},h._create=function(t,e,n){var i=n.rules(),r=En.ofEpochSecond(t,e),s=i.offset(r);return new h(mn.ofEpochSecond(t,e,s),s,n)},h.ofStrict=function(t,e,n){m(t,"localDateTime"),m(e,"offset"),m(n,"zone");var i=n.rules();if(!1!==i.isValidOffset(t,e))return new h(t,e,n);var r=i.transition(t);if(null!=r&&r.isGap())throw new y("LocalDateTime "+t+" does not exist in zone "+n+" due to a gap in the local time-line, typically caused by daylight savings");throw new y('ZoneOffset "'+e+'" is not valid for LocalDateTime "'+t+'" in zone "'+n+'"')},h.ofLenient=function(t,e,n){if(m(t,"localDateTime"),m(e,"offset"),m(n,"zone"),n instanceof Tt&&!1===e.equals(n))throw new c("ZoneId must match ZoneOffset");return new h(t,e,n)},h.from=function(t){if(m(t,"temporal"),t instanceof h)return t;var e=Et.from(t);if(t.isSupported(W.INSTANT_SECONDS)){var n=h._from(t,e);if(null!=n)return n}var i=mn.from(t);return h.of2(i,e)},h._from=function(t,e){try{return h.__from(t,e)}catch(t){if(!(t instanceof y))throw t}},h.__from=function(t,e){var n=t.getLong(W.INSTANT_SECONDS),i=t.get(W.NANO_OF_SECOND);return h._create(n,i,e)},h.parse=function(t,e){return void 0===e&&(e=Be.ISO_ZONED_DATE_TIME),m(e,"formatter"),e.parse(t,h.FROM)};var t=h.prototype;return t._resolveLocal=function(t){return m(t,"newDateTime"),h.ofLocal(t,this._zone,this._offset)},t._resolveInstant=function(t){return h.ofInstant3(t,this._offset,this._zone)},t._resolveOffset=function(t){return!1===t.equals(this._offset)&&this._zone.rules().isValidOffset(this._dateTime,t)?new h(this._dateTime,t,this._zone):this},t.isSupported=function(t){return t instanceof W||(t instanceof C?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this))},t.range=function(t){return t instanceof W?t===W.INSTANT_SECONDS||t===W.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t instanceof W){switch(t){case W.INSTANT_SECONDS:return this.toEpochSecond();case W.OFFSET_SECONDS:return this._offset.totalSeconds()}return this._dateTime.getLong(t)}return m(t,"field"),t.getFrom(this)},t.offset=function(){return this._offset},t.withEarlierOffsetAtOverlap=function(){var t=this._zone.rules().transition(this._dateTime);if(null!=t&&t.isOverlap()){var e=t.offsetBefore();if(!1===e.equals(this._offset))return new h(this._dateTime,e,this._zone)}return this},t.withLaterOffsetAtOverlap=function(){var t=this._zone.rules().transition(this.toLocalDateTime());if(null!=t){var e=t.offsetAfter();if(!1===e.equals(this._offset))return new h(this._dateTime,e,this._zone)}return this},t.zone=function(){return this._zone},t.withZoneSameLocal=function(t){return m(t,"zone"),this._zone.equals(t)?this:h.ofLocal(this._dateTime,t,this._offset)},t.withZoneSameInstant=function(t){return m(t,"zone"),this._zone.equals(t)?this:h._create(this._dateTime.toEpochSecond(this._offset),this._dateTime.nano(),t)},t.withFixedOffsetZone=function(){return this._zone.equals(this._offset)?this:new h(this._dateTime,this._offset,this._offset)},t.year=function(){return this._dateTime.year()},t.monthValue=function(){return this._dateTime.monthValue()},t.month=function(){return this._dateTime.month()},t.dayOfMonth=function(){return this._dateTime.dayOfMonth()},t.dayOfYear=function(){return this._dateTime.dayOfYear()},t.dayOfWeek=function(){return this._dateTime.dayOfWeek()},t.hour=function(){return this._dateTime.hour()},t.minute=function(){return this._dateTime.minute()},t.second=function(){return this._dateTime.second()},t.nano=function(){return this._dateTime.nano()},t.withAdjuster=function(t){if(t instanceof dn)return this._resolveLocal(mn.of(t,this._dateTime.toLocalTime()));if(t instanceof On)return this._resolveLocal(mn.of(this._dateTime.toLocalDate(),t));if(t instanceof mn)return this._resolveLocal(t);if(t instanceof En){var e=t;return h._create(e.epochSecond(),e.nano(),this._zone)}return t instanceof Tt?this._resolveOffset(t):(m(t,"adjuster"),t.adjustInto(this))},t.withFieldValue=function(t,e){if(t instanceof W){switch(t){case W.INSTANT_SECONDS:return h._create(e,this.nano(),this._zone);case W.OFFSET_SECONDS:var n=Tt.ofTotalSeconds(t.checkValidIntValue(e));return this._resolveOffset(n)}return this._resolveLocal(this._dateTime.with(t,e))}return t.adjustInto(this,e)},t.withYear=function(t){return this._resolveLocal(this._dateTime.withYear(t))},t.withMonth=function(t){return this._resolveLocal(this._dateTime.withMonth(t))},t.withDayOfMonth=function(t){return this._resolveLocal(this._dateTime.withDayOfMonth(t))},t.withDayOfYear=function(t){return this._resolveLocal(this._dateTime.withDayOfYear(t))},t.withHour=function(t){return this._resolveLocal(this._dateTime.withHour(t))},t.withMinute=function(t){return this._resolveLocal(this._dateTime.withMinute(t))},t.withSecond=function(t){return this._resolveLocal(this._dateTime.withSecond(t))},t.withNano=function(t){return this._resolveLocal(this._dateTime.withNano(t))},t.truncatedTo=function(t){return this._resolveLocal(this._dateTime.truncatedTo(t))},t.plusAmount=function(t){return m(t),t.addTo(this)},t.plusAmountUnit=function(t,e){return e instanceof C?e.isDateBased()?this._resolveLocal(this._dateTime.plus(t,e)):this._resolveInstant(this._dateTime.plus(t,e)):(m(e,"unit"),e.addTo(this,t))},t.plusYears=function(t){return this._resolveLocal(this._dateTime.plusYears(t))},t.plusMonths=function(t){return this._resolveLocal(this._dateTime.plusMonths(t))},t.plusWeeks=function(t){return this._resolveLocal(this._dateTime.plusWeeks(t))},t.plusDays=function(t){return this._resolveLocal(this._dateTime.plusDays(t))},t.plusHours=function(t){return this._resolveInstant(this._dateTime.plusHours(t))},t.plusMinutes=function(t){return this._resolveInstant(this._dateTime.plusMinutes(t))},t.plusSeconds=function(t){return this._resolveInstant(this._dateTime.plusSeconds(t))},t.plusNanos=function(t){return this._resolveInstant(this._dateTime.plusNanos(t))},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return this.plusAmountUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.minusHours=function(t){return this.plusHours(-1*t)},t.minusMinutes=function(t){return this.plusMinutes(-1*t)},t.minusSeconds=function(t){return this.plusSeconds(-1*t)},t.minusNanos=function(t){return this.plusNanos(-1*t)},t.query=function(t){return t===x.localDate()?this.toLocalDate():(m(t,"query"),r.prototype.query.call(this,t))},t.until=function(t,e){var n=h.from(t);if(e instanceof C){if(n=n.withZoneSameInstant(this._zone),e.isDateBased())return this._dateTime.until(n._dateTime,e);var i=this._offset.totalSeconds()-n._offset.totalSeconds(),r=n._dateTime.plusSeconds(i);return this._dateTime.until(r,e)}return e.between(this,n)},t.toLocalDateTime=function(){return this._dateTime},t.toLocalDate=function(){return this._dateTime.toLocalDate()},t.toLocalTime=function(){return this._dateTime.toLocalTime()},t.toOffsetDateTime=function(){return ln.of(this._dateTime,this._offset)},t.equals=function(t){return this===t||t instanceof h&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset)&&this._zone.equals(t._zone))},t.hashCode=function(){return M.hashCode(this._dateTime.hashCode(),this._offset.hashCode(),this._zone.hashCode())},t.toString=function(){var t=this._dateTime.toString()+this._offset.toString();return this._offset!==this._zone&&(t+="["+this._zone.toString()+"]"),t},t.toJSON=function(){return this.toString()},t.format=function(t){return r.prototype.format.call(this,t)},h}(fn);var ln=function(i){function u(t,e){var n;return n=i.call(this)||this,m(t,"dateTime"),o(t,mn,"dateTime"),m(e,"offset"),o(e,Tt,"offset"),n._dateTime=t,n._offset=e,n}_(u,i),u.from=function(e){if(m(e,"temporal"),e instanceof u)return e;try{var n=Tt.from(e);try{var t=mn.from(e);return u.of(t,n)}catch(t){var i=En.from(e);return u.ofInstant(i,n)}}catch(t){throw new y("Unable to obtain OffsetDateTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},u.now=function(t){if(0===arguments.length)return u.now(Sn.systemDefaultZone());if(m(t,"clockOrZone"),t instanceof Et)return u.now(Sn.system(t));if(t instanceof Sn){var e=t.instant();return u.ofInstant(e,t.zone().rules().offset(e))}throw new c("clockOrZone must be an instance of ZoneId or Clock")},u.of=function(){return arguments.length<=2?u.ofDateTime.apply(this,arguments):3===arguments.length?u.ofDateAndTime.apply(this,arguments):u.ofNumbers.apply(this,arguments)},u.ofDateTime=function(t,e){return new u(t,e)},u.ofDateAndTime=function(t,e,n){return new u(mn.of(t,e),n)},u.ofNumbers=function(t,e,n,i,r,s,o,a){return void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new u(mn.of(t,e,n,i,r,s,o),a)},u.ofInstant=function(t,e){m(t,"instant"),m(e,"zone");var n=e.rules().offset(t);return new u(mn.ofEpochSecond(t.epochSecond(),t.nano(),n),n)},u.parse=function(t,e){return void 0===e&&(e=Be.ISO_OFFSET_DATE_TIME),m(e,"formatter"),e.parse(t,u.FROM)};var t=u.prototype;return t.adjustInto=function(t){return t.with(W.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(W.NANO_OF_DAY,this.toLocalTime().toNanoOfDay()).with(W.OFFSET_SECONDS,this.offset().totalSeconds())},t.until=function(t,e){var n=u.from(t);return e instanceof C?(n=n.withOffsetSameInstant(this._offset),this._dateTime.until(n._dateTime,e)):e.between(this,n)},t.atZoneSameInstant=function(t){return cn.ofInstant(this._dateTime,this._offset,t)},t.atZoneSimilarLocal=function(t){return cn.ofLocal(this._dateTime,t,this._offset)},t.query=function(t){return m(t,"query"),t===x.chronology()?un.INSTANCE:t===x.precision()?C.NANOS:t===x.offset()||t===x.zone()?this.offset():t===x.localDate()?this.toLocalDate():t===x.localTime()?this.toLocalTime():t===x.zoneId()?null:i.prototype.query.call(this,t)},t.get=function(t){if(t instanceof W){switch(t){case W.INSTANT_SECONDS:throw new y("Field too large for an int: "+t);case W.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.get(t)}return i.prototype.get.call(this,t)},t.getLong=function(t){if(t instanceof W){switch(t){case W.INSTANT_SECONDS:return this.toEpochSecond();case W.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.getLong(t)}return t.getFrom(this)},t.offset=function(){return this._offset},t.year=function(){return this._dateTime.year()},t.monthValue=function(){return this._dateTime.monthValue()},t.month=function(){return this._dateTime.month()},t.dayOfMonth=function(){return this._dateTime.dayOfMonth()},t.dayOfYear=function(){return this._dateTime.dayOfYear()},t.dayOfWeek=function(){return this._dateTime.dayOfWeek()},t.hour=function(){return this._dateTime.hour()},t.minute=function(){return this._dateTime.minute()},t.second=function(){return this._dateTime.second()},t.nano=function(){return this._dateTime.nano()},t.toLocalDateTime=function(){return this._dateTime},t.toLocalDate=function(){return this._dateTime.toLocalDate()},t.toLocalTime=function(){return this._dateTime.toLocalTime()},t.toOffsetTime=function(){return hn.of(this._dateTime.toLocalTime(),this._offset)},t.toZonedDateTime=function(){return cn.of(this._dateTime,this._offset)},t.toInstant=function(){return this._dateTime.toInstant(this._offset)},t.toEpochSecond=function(){return this._dateTime.toEpochSecond(this._offset)},t.isSupported=function(t){return t instanceof W?t.isDateBased()||t.isTimeBased():t instanceof C?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return t instanceof W?t===W.INSTANT_SECONDS||t===W.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},t.withAdjuster=function(t){return m(t),t instanceof dn||t instanceof On||t instanceof mn?this._withDateTimeOffset(this._dateTime.with(t),this._offset):t instanceof En?u.ofInstant(t,this._offset):t instanceof Tt?this._withDateTimeOffset(this._dateTime,t):t instanceof u?t:t.adjustInto(this)},t.withFieldValue=function(t,e){if(m(t),t instanceof W){var n=t;switch(n){case W.INSTANT_SECONDS:return u.ofInstant(En.ofEpochSecond(e,this.nano()),this._offset);case W.OFFSET_SECONDS:return this._withDateTimeOffset(this._dateTime,Tt.ofTotalSeconds(n.checkValidIntValue(e)))}return this._withDateTimeOffset(this._dateTime.with(t,e),this._offset)}return t.adjustInto(this,e)},t._withDateTimeOffset=function(t,e){return this._dateTime===t&&this._offset.equals(e)?this:new u(t,e)},t.withYear=function(t){return this._withDateTimeOffset(this._dateTime.withYear(t),this._offset)},t.withMonth=function(t){return this._withDateTimeOffset(this._dateTime.withMonth(t),this._offset)},t.withDayOfMonth=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfMonth(t),this._offset)},t.withDayOfYear=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfYear(t),this._offset)},t.withHour=function(t){return this._withDateTimeOffset(this._dateTime.withHour(t),this._offset)},t.withMinute=function(t){return this._withDateTimeOffset(this._dateTime.withMinute(t),this._offset)},t.withSecond=function(t){return this._withDateTimeOffset(this._dateTime.withSecond(t),this._offset)},t.withNano=function(t){return this._withDateTimeOffset(this._dateTime.withNano(t),this._offset)},t.withOffsetSameLocal=function(t){return m(t,"offset"),this._withDateTimeOffset(this._dateTime,t)},t.withOffsetSameInstant=function(t){if(m(t,"offset"),t.equals(this._offset))return this;var e=t.totalSeconds()-this._offset.totalSeconds();return new u(this._dateTime.plusSeconds(e),t)},t.truncatedTo=function(t){return this._withDateTimeOffset(this._dateTime.truncatedTo(t),this._offset)},t.plusAmount=function(t){return m(t,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){return e instanceof C?this._withDateTimeOffset(this._dateTime.plus(t,e),this._offset):e.addTo(this,t)},t.plusYears=function(t){return this._withDateTimeOffset(this._dateTime.plusYears(t),this._offset)},t.plusMonths=function(t){return this._withDateTimeOffset(this._dateTime.plusMonths(t),this._offset)},t.plusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.plusWeeks(t),this._offset)},t.plusDays=function(t){return this._withDateTimeOffset(this._dateTime.plusDays(t),this._offset)},t.plusHours=function(t){return this._withDateTimeOffset(this._dateTime.plusHours(t),this._offset)},t.plusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.plusMinutes(t),this._offset)},t.plusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.plusSeconds(t),this._offset)},t.plusNanos=function(t){return this._withDateTimeOffset(this._dateTime.plusNanos(t),this._offset)},t.minusAmount=function(t){return m(t),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return this.plus(-1*t,e)},t.minusYears=function(t){return this._withDateTimeOffset(this._dateTime.minusYears(t),this._offset)},t.minusMonths=function(t){return this._withDateTimeOffset(this._dateTime.minusMonths(t),this._offset)},t.minusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.minusWeeks(t),this._offset)},t.minusDays=function(t){return this._withDateTimeOffset(this._dateTime.minusDays(t),this._offset)},t.minusHours=function(t){return this._withDateTimeOffset(this._dateTime.minusHours(t),this._offset)},t.minusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.minusMinutes(t),this._offset)},t.minusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.minusSeconds(t),this._offset)},t.minusNanos=function(t){return this._withDateTimeOffset(this._dateTime.minusNanos(t),this._offset)},t.compareTo=function(t){if(m(t,"other"),o(t,u,"other"),this.offset().equals(t.offset()))return this.toLocalDateTime().compareTo(t.toLocalDateTime());var e=M.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===e&&0===(e=this.toLocalTime().nano()-t.toLocalTime().nano())&&(e=this.toLocalDateTime().compareTo(t.toLocalDateTime())),e},t.isAfter=function(t){m(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return n<e||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},t.isBefore=function(t){m(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},t.isEqual=function(t){return m(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},t.equals=function(t){return this===t||t instanceof u&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset))},t.hashCode=function(){return this._dateTime.hashCode()^this._offset.hashCode()},t.toString=function(){return this._dateTime.toString()+this._offset.toString()},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),t.format(this)},u}(dt);var _n=146097,dn=function(r){function f(t,e,n){var i;return i=r.call(this)||this,m(t,"year"),m(e,"month"),m(n,"dayOfMonth"),e instanceof $&&(e=e.value()),i._year=M.safeToInt(t),i._month=M.safeToInt(e),i._day=M.safeToInt(n),f._validate(i._year,i._month,i._day),i}_(f,r),f.now=function(t){var e;return e=null==t?Sn.systemDefaultZone():t instanceof Et?Sn.system(t):t,f.ofInstant(e.instant(),e.zone())},f.ofInstant=function(t,e){void 0===e&&(e=Et.systemDefault()),m(t,"instant");var n=e.rules().offset(t),i=t.epochSecond()+n.totalSeconds(),r=M.floorDiv(i,On.SECONDS_PER_DAY);return f.ofEpochDay(r)},f.of=function(t,e,n){return new f(t,e,n)},f.ofYearDay=function(t,e){W.YEAR.checkValidValue(t);var n=un.isLeapYear(t);366===e&&!1===n&&S(!1,"Invalid date 'DayOfYear 366' as '"+t+"' is not a leap year",y);var i=$.of(Math.floor((e-1)/31+1));i.firstDayOfYear(n)+i.length(n)-1<e&&(i=i.plus(1));var r=e-i.firstDayOfYear(n)+1;return new f(t,i.value(),r)},f.ofEpochDay=function(t){var e,n,i,r,s;void 0===t&&(t=0),s=t+719528,(s-=60)<(e=0)&&(e=400*(n=M.intDiv(s+1,_n)-1),s+=-n*_n),(i=s-(365*(r=M.intDiv(400*s+591,_n))+M.intDiv(r,4)-M.intDiv(r,100)+M.intDiv(r,400)))<0&&(i=s-(365*--r+M.intDiv(r,4)-M.intDiv(r,100)+M.intDiv(r,400))),r+=e;var o=i,a=M.intDiv(5*o+2,153),u=(a+2)%12+1,h=o-M.intDiv(306*a+5,10)+1;return new f(r+=M.intDiv(a,10),u,h)},f.from=function(t){m(t,"temporal");var e=t.query(x.localDate());if(null==e)throw new y("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},f.parse=function(t,e){return void 0===e&&(e=Be.ISO_LOCAL_DATE),S(null!=e,"formatter",s),e.parse(t,f.FROM)},f._resolvePreviousValid=function(t,e,n){switch(e){case 2:n=Math.min(n,un.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:n=Math.min(n,30)}return f.of(t,e,n)},f._validate=function(t,e,n){var i;if(W.YEAR.checkValidValue(t),W.MONTH_OF_YEAR.checkValidValue(e),W.DAY_OF_MONTH.checkValidValue(n),28<n){switch(i=31,e){case 2:i=un.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:i=30}i<n&&S(!1,29===n?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+e+"' '"+n+"'",y)}};var t=f.prototype;return t.isSupported=function(t){return r.prototype.isSupported.call(this,t)},t.range=function(t){if(t instanceof W){if(t.isDateBased()){switch(t){case W.DAY_OF_MONTH:return b.of(1,this.lengthOfMonth());case W.DAY_OF_YEAR:return b.of(1,this.lengthOfYear());case W.ALIGNED_WEEK_OF_MONTH:return b.of(1,this.month()===$.FEBRUARY&&!1===this.isLeapYear()?4:5);case W.YEAR_OF_ERA:return this._year<=0?b.of(1,Ge.MAX_VALUE+1):b.of(1,Ge.MAX_VALUE)}return t.range()}throw new l("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){return S(null!=t,"",s),t instanceof W?this._get0(t):t.getFrom(this)},t._get0=function(t){switch(t){case W.DAY_OF_WEEK:return this.dayOfWeek().value();case W.ALIGNED_DAY_OF_WEEK_IN_MONTH:return M.intMod(this._day-1,7)+1;case W.ALIGNED_DAY_OF_WEEK_IN_YEAR:return M.intMod(this.dayOfYear()-1,7)+1;case W.DAY_OF_MONTH:return this._day;case W.DAY_OF_YEAR:return this.dayOfYear();case W.EPOCH_DAY:return this.toEpochDay();case W.ALIGNED_WEEK_OF_MONTH:return M.intDiv(this._day-1,7)+1;case W.ALIGNED_WEEK_OF_YEAR:return M.intDiv(this.dayOfYear()-1,7)+1;case W.MONTH_OF_YEAR:return this._month;case W.PROLEPTIC_MONTH:return this._prolepticMonth();case W.YEAR_OF_ERA:return 1<=this._year?this._year:1-this._year;case W.YEAR:return this._year;case W.ERA:return 1<=this._year?1:0}throw new l("Unsupported field: "+t)},t._prolepticMonth=function(){return 12*this._year+(this._month-1)},t.chronology=function(){return un.INSTANCE},t.year=function(){return this._year},t.monthValue=function(){return this._month},t.month=function(){return $.of(this._month)},t.dayOfMonth=function(){return this._day},t.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},t.dayOfWeek=function(){var t=M.floorMod(this.toEpochDay()+3,7);return J.of(t+1)},t.isLeapYear=function(){return un.isLeapYear(this._year)},t.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},t.lengthOfYear=function(){return this.isLeapYear()?366:365},t.withAdjuster=function(t){return m(t,"adjuster"),t instanceof f?t:(S("function"==typeof t.adjustInto,"adjuster",c),t.adjustInto(this))},t.withFieldValue=function(t,e){if(S(null!=t,"field",s),t instanceof W){var n=t;switch(n.checkValidValue(e),n){case W.DAY_OF_WEEK:return this.plusDays(e-this.dayOfWeek().value());case W.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(e-this.getLong(W.ALIGNED_DAY_OF_WEEK_IN_MONTH));case W.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(e-this.getLong(W.ALIGNED_DAY_OF_WEEK_IN_YEAR));case W.DAY_OF_MONTH:return this.withDayOfMonth(e);case W.DAY_OF_YEAR:return this.withDayOfYear(e);case W.EPOCH_DAY:return f.ofEpochDay(e);case W.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(e-this.getLong(W.ALIGNED_WEEK_OF_MONTH));case W.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(e-this.getLong(W.ALIGNED_WEEK_OF_YEAR));case W.MONTH_OF_YEAR:return this.withMonth(e);case W.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(W.PROLEPTIC_MONTH));case W.YEAR_OF_ERA:return this.withYear(1<=this._year?e:1-e);case W.YEAR:return this.withYear(e);case W.ERA:return this.getLong(W.ERA)===e?this:this.withYear(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withYear=function(t){return this._year===t?this:(W.YEAR.checkValidValue(t),f._resolvePreviousValid(t,this._month,this._day))},t.withMonth=function(t){var e=t instanceof $?t.value():t;return this._month===e?this:(W.MONTH_OF_YEAR.checkValidValue(e),f._resolvePreviousValid(this._year,e,this._day))},t.withDayOfMonth=function(t){return this._day===t?this:f.of(this._year,this._month,t)},t.withDayOfYear=function(t){return this.dayOfYear()===t?this:f.ofYearDay(this._year,t)},t.plusAmount=function(t){return m(t,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(t,"amountToAdd"),m(e,"unit"),e instanceof C){switch(e){case C.DAYS:return this.plusDays(t);case C.WEEKS:return this.plusWeeks(t);case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(M.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case C.ERAS:return this.with(W.ERA,M.safeAdd(this.getLong(W.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){if(0===t)return this;var e=W.YEAR.checkValidIntValue(this._year+t);return f._resolvePreviousValid(e,this._month,this._day)},t.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t,n=W.YEAR.checkValidIntValue(M.floorDiv(e,12)),i=M.floorMod(e,12)+1;return f._resolvePreviousValid(n,i,this._day)},t.plusWeeks=function(t){return this.plusDays(M.safeMultiply(t,7))},t.plusDays=function(t){if(0===t)return this;var e=M.safeAdd(this.toEpochDay(),t);return f.ofEpochDay(e)},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return m(t,"amountToSubtract"),m(e,"unit"),this.plusAmountUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.query=function(t){return m(t,"query"),t===x.localDate()?this:r.prototype.query.call(this,t)},t.adjustInto=function(t){return r.prototype.adjustInto.call(this,t)},t.until=function(t,e){return arguments.length<2?this.until1(t):this.until2(t,e)},t.until2=function(t,e){var n=f.from(t);if(e instanceof C){switch(e){case C.DAYS:return this.daysUntil(n);case C.WEEKS:return M.intDiv(this.daysUntil(n),7);case C.MONTHS:return this._monthsUntil(n);case C.YEARS:return M.intDiv(this._monthsUntil(n),12);case C.DECADES:return M.intDiv(this._monthsUntil(n),120);case C.CENTURIES:return M.intDiv(this._monthsUntil(n),1200);case C.MILLENNIA:return M.intDiv(this._monthsUntil(n),12e3);case C.ERAS:return n.getLong(W.ERA)-this.getLong(W.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},t._monthsUntil=function(t){var e=32*this._prolepticMonth()+this.dayOfMonth(),n=32*t._prolepticMonth()+t.dayOfMonth();return M.intDiv(n-e,32)},t.until1=function(t){var e=f.from(t),n=e._prolepticMonth()-this._prolepticMonth(),i=e._day-this._day;if(0<n&&i<0){n--;var r=this.plusMonths(n);i=e.toEpochDay()-r.toEpochDay()}else n<0&&0<i&&(n++,i-=e.lengthOfMonth());var s=M.intDiv(n,12),o=M.intMod(n,12);return et.of(s,o,i)},t.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},t.atTime1=function(t){if(m(t,"time"),t instanceof On)return mn.of(this,t);if(t instanceof hn)return this._atTimeOffsetTime(t);throw new c("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},t.atTime4=function(t,e,n,i){return void 0===n&&(n=0),void 0===i&&(i=0),this.atTime1(On.of(t,e,n,i))},t._atTimeOffsetTime=function(t){return ln.of(mn.of(this,t.toLocalTime()),t.offset())},t.atStartOfDay=function(t){return null!=t?this.atStartOfDayWithZone(t):mn.of(this,On.MIDNIGHT)},t.atStartOfDayWithZone=function(t){m(t,"zone");var e=this.atTime(On.MIDNIGHT);if(t instanceof Tt==!1){var n=t.rules().transition(e);null!=n&&n.isGap()&&(e=n.dateTimeAfter())}return cn.of(e,t)},t.toEpochDay=function(){var t=this._year,e=this._month,n=0;return n+=365*t,0<=t?n+=M.intDiv(t+3,4)-M.intDiv(t+99,100)+M.intDiv(t+399,400):n-=M.intDiv(t,-4)-M.intDiv(t,-100)+M.intDiv(t,-400),n+=M.intDiv(367*e-362,12),n+=this.dayOfMonth()-1,2<e&&(n--,un.isLeapYear(t)||n--),n-719528},t.compareTo=function(t){return m(t,"other"),o(t,f,"other"),this._compareTo0(t)},t._compareTo0=function(t){var e=this._year-t._year;return 0===e&&0===(e=this._month-t._month)&&(e=this._day-t._day),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.isEqual=function(t){return 0===this.compareTo(t)},t.equals=function(t){return this===t||t instanceof f&&0===this._compareTo0(t)},t.hashCode=function(){var t=this._year,e=this._month,n=this._day;return M.hash(4294965248&t^(t<<11)+(e<<6)+n)},t.toString=function(){var t=this._year,e=this._month,n=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):9999<t?"+"+t:""+t)+(e<10?"-0"+e:"-"+e)+(n<10?"-0"+n:"-"+n)},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),o(t,Be,"formatter"),r.prototype.format.call(this,t)},f}(pt);var pn=function(e){function t(){return e.apply(this,arguments)||this}_(t,e);var n=t.prototype;return n.chronology=function(){return this.toLocalDate().chronology()},n.query=function(t){return t===x.chronology()?this.chronology():t===x.precision()?C.NANOS:t===x.localDate()?dn.ofEpochDay(this.toLocalDate().toEpochDay()):t===x.localTime()?this.toLocalTime():t===x.zone()||t===x.zoneId()||t===x.offset()?null:e.prototype.query.call(this,t)},n.adjustInto=function(t){return t.with(W.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(W.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},n.toInstant=function(t){return o(t,Tt,"zoneId"),En.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},n.toEpochSecond=function(t){m(t,"offset");var e=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return e-=t.totalSeconds(),M.safeToInt(e)},t}(dt),mn=function(i){function u(t,e){var n;return n=i.call(this)||this,o(t,dn,"date"),o(e,On,"time"),n._date=t,n._time=e,n}_(u,i),u.now=function(t){return u._now(null==t?Sn.systemDefaultZone():t instanceof Sn?t:Sn.system(t))},u._now=function(t){return m(t,"clock"),u.ofInstant(t.instant(),t.zone())},u._ofEpochMillis=function(t,e){var n=M.floorDiv(t,1e3)+e.totalSeconds(),i=M.floorDiv(n,On.SECONDS_PER_DAY),r=M.floorMod(n,On.SECONDS_PER_DAY),s=1e6*M.floorMod(t,1e3);return new u(dn.ofEpochDay(i),On.ofSecondOfDay(r,s))},u.of=function(){return arguments.length<=2?u.ofDateAndTime.apply(this,arguments):u.ofNumbers.apply(this,arguments)},u.ofNumbers=function(t,e,n,i,r,s,o){return void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new u(dn.of(t,e,n),On.of(i,r,s,o))},u.ofDateAndTime=function(t,e){return m(t,"date"),m(e,"time"),new u(t,e)},u.ofInstant=function(t,e){void 0===e&&(e=Et.systemDefault()),m(t,"instant"),o(t,En,"instant"),m(e,"zone");var n=e.rules().offset(t);return u.ofEpochSecond(t.epochSecond(),t.nano(),n)},u.ofEpochSecond=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),2===arguments.length&&e instanceof Tt&&(n=e,e=0),m(n,"offset");var i=t+n.totalSeconds(),r=M.floorDiv(i,On.SECONDS_PER_DAY),s=M.floorMod(i,On.SECONDS_PER_DAY);return new u(dn.ofEpochDay(r),On.ofSecondOfDay(s,e))},u.from=function(e){if(m(e,"temporal"),e instanceof u)return e;if(e instanceof cn)return e.toLocalDateTime();try{return new u(dn.from(e),On.from(e))}catch(t){throw new y("Unable to obtain LocalDateTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},u.parse=function(t,e){return void 0===e&&(e=Be.ISO_LOCAL_DATE_TIME),m(e,"formatter"),e.parse(t,u.FROM)};var t=u.prototype;return t._withDateTime=function(t,e){return this._date.equals(t)&&this._time.equals(e)?this:new u(t,e)},t.isSupported=function(t){return t instanceof W?t.isDateBased()||t.isTimeBased():t instanceof C?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return t instanceof W?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},t.get=function(t){return t instanceof W?t.isTimeBased()?this._time.get(t):this._date.get(t):i.prototype.get.call(this,t)},t.getLong=function(t){return m(t,"field"),t instanceof W?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},t.year=function(){return this._date.year()},t.monthValue=function(){return this._date.monthValue()},t.month=function(){return this._date.month()},t.dayOfMonth=function(){return this._date.dayOfMonth()},t.dayOfYear=function(){return this._date.dayOfYear()},t.dayOfWeek=function(){return this._date.dayOfWeek()},t.hour=function(){return this._time.hour()},t.minute=function(){return this._time.minute()},t.second=function(){return this._time.second()},t.nano=function(){return this._time.nano()},t.withAdjuster=function(t){return m(t,"adjuster"),t instanceof dn?this._withDateTime(t,this._time):t instanceof On?this._withDateTime(this._date,t):t instanceof u?t:(S("function"==typeof t.adjustInto,"adjuster",c),t.adjustInto(this))},t.withFieldValue=function(t,e){return m(t,"field"),t instanceof W?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,e)):this._withDateTime(this._date.with(t,e),this._time):t.adjustInto(this,e)},t.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},t.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},t.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},t.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},t.withHour=function(t){var e=this._time.withHour(t);return this._withDateTime(this._date,e)},t.withMinute=function(t){var e=this._time.withMinute(t);return this._withDateTime(this._date,e)},t.withSecond=function(t){var e=this._time.withSecond(t);return this._withDateTime(this._date,e)},t.withNano=function(t){var e=this._time.withNano(t);return this._withDateTime(this._date,e)},t.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},t.plusAmount=function(t){return m(t,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(e,"unit"),e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusDays(M.intDiv(t,On.MICROS_PER_DAY)).plusNanos(1e3*M.intMod(t,On.MICROS_PER_DAY));case C.MILLIS:return this.plusDays(M.intDiv(t,On.MILLIS_PER_DAY)).plusNanos(1e6*M.intMod(t,On.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusDays(M.intDiv(t,256)).plusHours(12*M.intMod(t,256))}return this._withDateTime(this._date.plus(t,e),this._time)}return e.addTo(this,t)},t.plusYears=function(t){var e=this._date.plusYears(t);return this._withDateTime(e,this._time)},t.plusMonths=function(t){var e=this._date.plusMonths(t);return this._withDateTime(e,this._time)},t.plusWeeks=function(t){var e=this._date.plusWeeks(t);return this._withDateTime(e,this._time)},t.plusDays=function(t){var e=this._date.plusDays(t);return this._withDateTime(e,this._time)},t.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},t.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},t.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},t.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return m(e,"unit"),this.plusAmountUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},t.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},t.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},t.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},t._plusWithOverflow=function(t,e,n,i,r,s){if(0===e&&0===n&&0===i&&0===r)return this._withDateTime(t,this._time);var o=M.intDiv(r,On.NANOS_PER_DAY)+M.intDiv(i,On.SECONDS_PER_DAY)+M.intDiv(n,On.MINUTES_PER_DAY)+M.intDiv(e,On.HOURS_PER_DAY);o*=s;var a=M.intMod(r,On.NANOS_PER_DAY)+M.intMod(i,On.SECONDS_PER_DAY)*On.NANOS_PER_SECOND+M.intMod(n,On.MINUTES_PER_DAY)*On.NANOS_PER_MINUTE+M.intMod(e,On.HOURS_PER_DAY)*On.NANOS_PER_HOUR,u=this._time.toNanoOfDay();a=a*s+u,o+=M.floorDiv(a,On.NANOS_PER_DAY);var h=M.floorMod(a,On.NANOS_PER_DAY),f=h===u?this._time:On.ofNanoOfDay(h);return this._withDateTime(t.plusDays(o),f)},t.query=function(t){return m(t,"query"),t===x.localDate()?this.toLocalDate():i.prototype.query.call(this,t)},t.adjustInto=function(t){return i.prototype.adjustInto.call(this,t)},t.until=function(t,e){m(t,"endExclusive"),m(e,"unit");var n=u.from(t);if(e instanceof C){if(e.isTimeBased()){var i=this._date.daysUntil(n._date),r=n._time.toNanoOfDay()-this._time.toNanoOfDay();0<i&&r<0?(i--,r+=On.NANOS_PER_DAY):i<0&&0<r&&(i++,r-=On.NANOS_PER_DAY);var s=i;switch(e){case C.NANOS:return s=M.safeMultiply(s,On.NANOS_PER_DAY),M.safeAdd(s,r);case C.MICROS:return s=M.safeMultiply(s,On.MICROS_PER_DAY),M.safeAdd(s,M.intDiv(r,1e3));case C.MILLIS:return s=M.safeMultiply(s,On.MILLIS_PER_DAY),M.safeAdd(s,M.intDiv(r,1e6));case C.SECONDS:return s=M.safeMultiply(s,On.SECONDS_PER_DAY),M.safeAdd(s,M.intDiv(r,On.NANOS_PER_SECOND));case C.MINUTES:return s=M.safeMultiply(s,On.MINUTES_PER_DAY),M.safeAdd(s,M.intDiv(r,On.NANOS_PER_MINUTE));case C.HOURS:return s=M.safeMultiply(s,On.HOURS_PER_DAY),M.safeAdd(s,M.intDiv(r,On.NANOS_PER_HOUR));case C.HALF_DAYS:return s=M.safeMultiply(s,2),M.safeAdd(s,M.intDiv(r,12*On.NANOS_PER_HOUR))}throw new l("Unsupported unit: "+e)}var o=n._date,a=n._time;return o.isAfter(this._date)&&a.isBefore(this._time)?o=o.minusDays(1):o.isBefore(this._date)&&a.isAfter(this._time)&&(o=o.plusDays(1)),this._date.until(o,e)}return e.between(this,n)},t.atOffset=function(t){return ln.of(this,t)},t.atZone=function(t){return cn.of(this,t)},t.toLocalDate=function(){return this._date},t.toLocalTime=function(){return this._time},t.compareTo=function(t){return m(t,"other"),o(t,u,"other"),this._compareTo0(t)},t._compareTo0=function(t){var e=this._date.compareTo(t.toLocalDate());return 0===e&&(e=this._time.compareTo(t.toLocalTime())),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.isEqual=function(t){return 0===this.compareTo(t)},t.equals=function(t){return this===t||t instanceof u&&(this._date.equals(t._date)&&this._time.equals(t._time))},t.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},t.toString=function(){return this._date.toString()+"T"+this._time.toString()},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),t.format(this)},u}(pn);var On=function(h){function f(t,e,n,i){var r;void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),r=h.call(this)||this;var s=M.safeToInt(t),o=M.safeToInt(e),a=M.safeToInt(n),u=M.safeToInt(i);return f._validate(s,o,a,u),0===o&&0===a&&0===u?(f.HOURS[s]||(r._hour=s,r._minute=o,r._second=a,r._nano=u,f.HOURS[s]=d(r)),f.HOURS[s]||d(r)):(r._hour=s,r._minute=o,r._second=a,r._nano=u,r)}_(f,h),f.now=function(t){return f._now(null==t?Sn.systemDefaultZone():t instanceof Sn?t:Sn.system(t))},f._now=function(t){return void 0===t&&(t=Sn.systemDefaultZone()),m(t,"clock"),f.ofInstant(t.instant(),t.zone())},f.ofInstant=function(t,e){void 0===e&&(e=Et.systemDefault());var n=e.rules().offset(t),i=M.intMod(t.epochSecond(),f.SECONDS_PER_DAY);return(i=M.intMod(i+n.totalSeconds(),f.SECONDS_PER_DAY))<0&&(i+=f.SECONDS_PER_DAY),f.ofSecondOfDay(i,t.nano())},f.of=function(t,e,n,i){return new f(t,e,n,i)},f.ofSecondOfDay=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),W.SECOND_OF_DAY.checkValidValue(t),W.NANO_OF_SECOND.checkValidValue(e);var n=M.intDiv(t,f.SECONDS_PER_HOUR);t-=n*f.SECONDS_PER_HOUR;var i=M.intDiv(t,f.SECONDS_PER_MINUTE);return new f(n,i,t-=i*f.SECONDS_PER_MINUTE,e)},f.ofNanoOfDay=function(t){void 0===t&&(t=0),W.NANO_OF_DAY.checkValidValue(t);var e=M.intDiv(t,f.NANOS_PER_HOUR);t-=e*f.NANOS_PER_HOUR;var n=M.intDiv(t,f.NANOS_PER_MINUTE);t-=n*f.NANOS_PER_MINUTE;var i=M.intDiv(t,f.NANOS_PER_SECOND);return new f(e,n,i,t-=i*f.NANOS_PER_SECOND)},f.from=function(t){m(t,"temporal");var e=t.query(x.localTime());if(null==e)throw new y("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},f.parse=function(t,e){return void 0===e&&(e=Be.ISO_LOCAL_TIME),m(e,"formatter"),e.parse(t,f.FROM)},f._validate=function(t,e,n,i){W.HOUR_OF_DAY.checkValidValue(t),W.MINUTE_OF_HOUR.checkValidValue(e),W.SECOND_OF_MINUTE.checkValidValue(n),W.NANO_OF_SECOND.checkValidValue(i)};var t=f.prototype;return t.isSupported=function(t){return t instanceof W?t.isTimeBased():t instanceof C?t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return m(t),h.prototype.range.call(this,t)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){return m(t,"field"),t instanceof W?this._get0(t):t.getFrom(this)},t._get0=function(t){switch(t){case W.NANO_OF_SECOND:return this._nano;case W.NANO_OF_DAY:return this.toNanoOfDay();case W.MICRO_OF_SECOND:return M.intDiv(this._nano,1e3);case W.MICRO_OF_DAY:return M.intDiv(this.toNanoOfDay(),1e3);case W.MILLI_OF_SECOND:return M.intDiv(this._nano,1e6);case W.MILLI_OF_DAY:return M.intDiv(this.toNanoOfDay(),1e6);case W.SECOND_OF_MINUTE:return this._second;case W.SECOND_OF_DAY:return this.toSecondOfDay();case W.MINUTE_OF_HOUR:return this._minute;case W.MINUTE_OF_DAY:return 60*this._hour+this._minute;case W.HOUR_OF_AMPM:return M.intMod(this._hour,12);case W.CLOCK_HOUR_OF_AMPM:var e=M.intMod(this._hour,12);return e%12==0?12:e;case W.HOUR_OF_DAY:return this._hour;case W.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case W.AMPM_OF_DAY:return M.intDiv(this._hour,12)}throw new l("Unsupported field: "+t)},t.hour=function(){return this._hour},t.minute=function(){return this._minute},t.second=function(){return this._second},t.nano=function(){return this._nano},t.withAdjuster=function(t){return m(t,"adjuster"),t instanceof f?t:(S("function"==typeof t.adjustInto,"adjuster",c),t.adjustInto(this))},t.withFieldValue=function(t,e){if(m(t,"field"),o(t,U,"field"),t instanceof W){switch(t.checkValidValue(e),t){case W.NANO_OF_SECOND:return this.withNano(e);case W.NANO_OF_DAY:return f.ofNanoOfDay(e);case W.MICRO_OF_SECOND:return this.withNano(1e3*e);case W.MICRO_OF_DAY:return f.ofNanoOfDay(1e3*e);case W.MILLI_OF_SECOND:return this.withNano(1e6*e);case W.MILLI_OF_DAY:return f.ofNanoOfDay(1e6*e);case W.SECOND_OF_MINUTE:return this.withSecond(e);case W.SECOND_OF_DAY:return this.plusSeconds(e-this.toSecondOfDay());case W.MINUTE_OF_HOUR:return this.withMinute(e);case W.MINUTE_OF_DAY:return this.plusMinutes(e-(60*this._hour+this._minute));case W.HOUR_OF_AMPM:return this.plusHours(e-M.intMod(this._hour,12));case W.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===e?0:e)-M.intMod(this._hour,12));case W.HOUR_OF_DAY:return this.withHour(e);case W.CLOCK_HOUR_OF_DAY:return this.withHour(24===e?0:e);case W.AMPM_OF_DAY:return this.plusHours(12*(e-M.intDiv(this._hour,12)))}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new f(t,this._minute,this._second,this._nano)},t.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new f(this._hour,t,this._second,this._nano)},t.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new f(this._hour,this._minute,t,this._nano)},t.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new f(this._hour,this._minute,this._second,t)},t.truncatedTo=function(t){if(m(t,"unit"),t===C.NANOS)return this;var e=t.duration();if(e.seconds()>f.SECONDS_PER_DAY)throw new y("Unit is too large to be used for truncation");var n=e.toNanos();if(0!==M.intMod(f.NANOS_PER_DAY,n))throw new y("Unit must divide into a standard day without remainder");var i=this.toNanoOfDay();return f.ofNanoOfDay(M.intDiv(i,n)*n)},t.plusAmount=function(t){return m(t,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(e,"unit"),e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusNanos(1e3*M.intMod(t,f.MICROS_PER_DAY));case C.MILLIS:return this.plusNanos(1e6*M.intMod(t,f.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusHours(12*M.intMod(t,2))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusHours=function(t){return 0===t?this:new f(M.intMod(M.intMod(t,f.HOURS_PER_DAY)+this._hour+f.HOURS_PER_DAY,f.HOURS_PER_DAY),this._minute,this._second,this._nano)},t.plusMinutes=function(t){if(0===t)return this;var e=this._hour*f.MINUTES_PER_HOUR+this._minute,n=M.intMod(M.intMod(t,f.MINUTES_PER_DAY)+e+f.MINUTES_PER_DAY,f.MINUTES_PER_DAY);return e===n?this:new f(M.intDiv(n,f.MINUTES_PER_HOUR),M.intMod(n,f.MINUTES_PER_HOUR),this._second,this._nano)},t.plusSeconds=function(t){if(0===t)return this;var e=this._hour*f.SECONDS_PER_HOUR+this._minute*f.SECONDS_PER_MINUTE+this._second,n=M.intMod(M.intMod(t,f.SECONDS_PER_DAY)+e+f.SECONDS_PER_DAY,f.SECONDS_PER_DAY);return e===n?this:new f(M.intDiv(n,f.SECONDS_PER_HOUR),M.intMod(M.intDiv(n,f.SECONDS_PER_MINUTE),f.MINUTES_PER_HOUR),M.intMod(n,f.SECONDS_PER_MINUTE),this._nano)},t.plusNanos=function(t){if(0===t)return this;var e=this.toNanoOfDay(),n=M.intMod(M.intMod(t,f.NANOS_PER_DAY)+e+f.NANOS_PER_DAY,f.NANOS_PER_DAY);return e===n?this:new f(M.intDiv(n,f.NANOS_PER_HOUR),M.intMod(M.intDiv(n,f.NANOS_PER_MINUTE),f.MINUTES_PER_HOUR),M.intMod(M.intDiv(n,f.NANOS_PER_SECOND),f.SECONDS_PER_MINUTE),M.intMod(n,f.NANOS_PER_SECOND))},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return m(e,"unit"),this.plusAmountUnit(-1*t,e)},t.minusHours=function(t){return this.plusHours(-1*M.intMod(t,f.HOURS_PER_DAY))},t.minusMinutes=function(t){return this.plusMinutes(-1*M.intMod(t,f.MINUTES_PER_DAY))},t.minusSeconds=function(t){return this.plusSeconds(-1*M.intMod(t,f.SECONDS_PER_DAY))},t.minusNanos=function(t){return this.plusNanos(-1*M.intMod(t,f.NANOS_PER_DAY))},t.query=function(t){return m(t,"query"),t===x.precision()?C.NANOS:t===x.localTime()?this:t===x.chronology()||t===x.zoneId()||t===x.zone()||t===x.offset()||t===x.localDate()?null:t.queryFrom(this)},t.adjustInto=function(t){return t.with(f.NANO_OF_DAY,this.toNanoOfDay())},t.until=function(t,e){m(t,"endExclusive"),m(e,"unit");var n=f.from(t);if(e instanceof C){var i=n.toNanoOfDay()-this.toNanoOfDay();switch(e){case C.NANOS:return i;case C.MICROS:return M.intDiv(i,1e3);case C.MILLIS:return M.intDiv(i,1e6);case C.SECONDS:return M.intDiv(i,f.NANOS_PER_SECOND);case C.MINUTES:return M.intDiv(i,f.NANOS_PER_MINUTE);case C.HOURS:return M.intDiv(i,f.NANOS_PER_HOUR);case C.HALF_DAYS:return M.intDiv(i,12*f.NANOS_PER_HOUR)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.atDate=function(t){return mn.of(t,this)},t.toSecondOfDay=function(){var t=this._hour*f.SECONDS_PER_HOUR;return t+=this._minute*f.SECONDS_PER_MINUTE,t+=this._second},t.toNanoOfDay=function(){var t=this._hour*f.NANOS_PER_HOUR;return t+=this._minute*f.NANOS_PER_MINUTE,t+=this._second*f.NANOS_PER_SECOND,t+=this._nano},t.compareTo=function(t){m(t,"other"),o(t,f,"other");var e=M.compareNumbers(this._hour,t._hour);return 0===e&&0===(e=M.compareNumbers(this._minute,t._minute))&&0===(e=M.compareNumbers(this._second,t._second))&&(e=M.compareNumbers(this._nano,t._nano)),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){return this===t||t instanceof f&&(this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano)},t.hashCode=function(){var t=this.toNanoOfDay();return M.hash(t)},t.toString=function(){var t="",e=this._hour,n=this._minute,i=this._second,r=this._nano;return t+=e<10?"0":"",t+=e,t+=n<10?":0":":",t+=n,(0<i||0<r)&&(t+=i<10?":0":":",t+=i,0<r&&(t+=".",0===M.intMod(r,1e6)?t+=(""+(M.intDiv(r,1e6)+1e3)).substring(1):0===M.intMod(r,1e3)?t+=(""+(M.intDiv(r,1e3)+1e6)).substring(1):t+=(""+(r+1e9)).substring(1))),t},t.toJSON=function(){return this.toString()},t.format=function(t){return m(t,"formatter"),t.format(this)},f}(_t);On.HOURS_PER_DAY=24,On.MINUTES_PER_HOUR=60,On.MINUTES_PER_DAY=On.MINUTES_PER_HOUR*On.HOURS_PER_DAY,On.SECONDS_PER_MINUTE=60,On.SECONDS_PER_HOUR=On.SECONDS_PER_MINUTE*On.MINUTES_PER_HOUR,On.SECONDS_PER_DAY=On.SECONDS_PER_HOUR*On.HOURS_PER_DAY,On.MILLIS_PER_DAY=1e3*On.SECONDS_PER_DAY,On.MICROS_PER_DAY=1e6*On.SECONDS_PER_DAY,On.NANOS_PER_SECOND=1e9,On.NANOS_PER_MINUTE=On.NANOS_PER_SECOND*On.SECONDS_PER_MINUTE,On.NANOS_PER_HOUR=On.NANOS_PER_MINUTE*On.MINUTES_PER_HOUR,On.NANOS_PER_DAY=On.NANOS_PER_HOUR*On.HOURS_PER_DAY;var En=function(i){function r(t,e){var n;return n=i.call(this)||this,r._validate(t,e),n._seconds=M.safeToInt(t),n._nanos=M.safeToInt(e),n}_(r,i),r.now=function(t){return void 0===t&&(t=Sn.systemUTC()),t.instant()},r.ofEpochSecond=function(t,e){void 0===e&&(e=0);var n=t+M.floorDiv(e,On.NANOS_PER_SECOND),i=M.floorMod(e,On.NANOS_PER_SECOND);return r._create(n,i)},r.ofEpochMilli=function(t){var e=M.floorDiv(t,1e3),n=M.floorMod(t,1e3);return r._create(e,1e6*n)},r.from=function(e){try{var t=e.getLong(W.INSTANT_SECONDS),n=e.get(W.NANO_OF_SECOND);return r.ofEpochSecond(t,n)}catch(t){throw new y("Unable to obtain Instant from TemporalAccessor: "+e+", type "+typeof e,t)}},r.parse=function(t){return Be.ISO_INSTANT.parse(t,r.FROM)},r._create=function(t,e){return 0===t&&0===e?r.EPOCH:new r(t,e)},r._validate=function(t,e){if(t<r.MIN_SECONDS||r.MAX_SECONDS<t)throw new y("Instant exceeds minimum or maximum instant");if(e<0||e>On.NANOS_PER_SECOND)throw new y("Instant exceeds minimum or maximum instant")};var t=r.prototype;return t.isSupported=function(t){return t instanceof W?t===W.INSTANT_SECONDS||t===W.NANO_OF_SECOND||t===W.MICRO_OF_SECOND||t===W.MILLI_OF_SECOND:t instanceof C?t.isTimeBased()||t===C.DAYS:null!=t&&t.isSupportedBy(this)},t.range=function(t){return i.prototype.range.call(this,t)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t instanceof W){switch(t){case W.NANO_OF_SECOND:return this._nanos;case W.MICRO_OF_SECOND:return M.intDiv(this._nanos,1e3);case W.MILLI_OF_SECOND:return M.intDiv(this._nanos,1e6);case W.INSTANT_SECONDS:return this._seconds}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.epochSecond=function(){return this._seconds},t.nano=function(){return this._nanos},t.withAdjuster=function(t){return m(t,"adjuster"),t.adjustInto(this)},t.withFieldValue=function(t,e){if(m(t,"field"),t instanceof W){switch(t.checkValidValue(e),t){case W.MILLI_OF_SECOND:var n=1e6*e;return n!==this._nanos?r._create(this._seconds,n):this;case W.MICRO_OF_SECOND:var i=1e3*e;return i!==this._nanos?r._create(this._seconds,i):this;case W.NANO_OF_SECOND:return e!==this._nanos?r._create(this._seconds,e):this;case W.INSTANT_SECONDS:return e!==this._seconds?r._create(e,this._nanos):this}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.truncatedTo=function(t){if(m(t,"unit"),t===C.NANOS)return this;var e=t.duration();if(e.seconds()>On.SECONDS_PER_DAY)throw new y("Unit is too large to be used for truncation");var n=e.toNanos();if(0!==M.intMod(On.NANOS_PER_DAY,n))throw new y("Unit must divide into a standard day without remainder");var i=M.intMod(this._seconds,On.SECONDS_PER_DAY)*On.NANOS_PER_SECOND+this._nanos,r=M.intDiv(i,n)*n;return this.plusNanos(r-i)},t.plusAmount=function(t){return m(t,"amount"),t.addTo(this)},t.plusAmountUnit=function(t,e){if(m(t,"amountToAdd"),m(e,"unit"),o(e,g),e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this._plus(M.intDiv(t,1e6),1e3*M.intMod(t,1e6));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusSeconds(M.safeMultiply(t,On.SECONDS_PER_MINUTE));case C.HOURS:return this.plusSeconds(M.safeMultiply(t,On.SECONDS_PER_HOUR));case C.HALF_DAYS:return this.plusSeconds(M.safeMultiply(t,On.SECONDS_PER_DAY/2));case C.DAYS:return this.plusSeconds(M.safeMultiply(t,On.SECONDS_PER_DAY))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusSeconds=function(t){return this._plus(t,0)},t.plusMillis=function(t){return this._plus(M.intDiv(t,1e3),1e6*M.intMod(t,1e3))},t.plusNanos=function(t){return this._plus(0,t)},t._plus=function(t,e){if(0===t&&0===e)return this;var n=this._seconds+t;n+=M.intDiv(e,On.NANOS_PER_SECOND);var i=this._nanos+e%On.NANOS_PER_SECOND;return r.ofEpochSecond(n,i)},t.minusAmount=function(t){return m(t,"amount"),t.subtractFrom(this)},t.minusAmountUnit=function(t,e){return this.plusAmountUnit(-1*t,e)},t.minusSeconds=function(t){return this.plusSeconds(-1*t)},t.minusMillis=function(t){return this.plusMillis(-1*t)},t.minusNanos=function(t){return this.plusNanos(-1*t)},t.query=function(t){return m(t,"query"),t===x.precision()?C.NANOS:t===x.localDate()||t===x.localTime()||t===x.chronology()||t===x.zoneId()||t===x.zone()||t===x.offset()?null:t.queryFrom(this)},t.adjustInto=function(t){return m(t,"temporal"),t.with(W.INSTANT_SECONDS,this._seconds).with(W.NANO_OF_SECOND,this._nanos)},t.until=function(t,e){m(t,"endExclusive"),m(e,"unit");var n=r.from(t);if(e instanceof C){switch(e){case C.NANOS:return this._nanosUntil(n);case C.MICROS:return M.intDiv(this._nanosUntil(n),1e3);case C.MILLIS:return M.safeSubtract(n.toEpochMilli(),this.toEpochMilli());case C.SECONDS:return this._secondsUntil(n);case C.MINUTES:return M.intDiv(this._secondsUntil(n),On.SECONDS_PER_MINUTE);case C.HOURS:return M.intDiv(this._secondsUntil(n),On.SECONDS_PER_HOUR);case C.HALF_DAYS:return M.intDiv(this._secondsUntil(n),12*On.SECONDS_PER_HOUR);case C.DAYS:return M.intDiv(this._secondsUntil(n),On.SECONDS_PER_DAY)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t._nanosUntil=function(t){var e=M.safeSubtract(t.epochSecond(),this.epochSecond()),n=M.safeMultiply(e,On.NANOS_PER_SECOND);return M.safeAdd(n,t.nano()-this.nano())},t._secondsUntil=function(t){var e=M.safeSubtract(t.epochSecond(),this.epochSecond()),n=t.nano()-this.nano();return 0<e&&n<0?e--:e<0&&0<n&&e++,e},t.atOffset=function(t){return ln.ofInstant(this,t)},t.atZone=function(t){return cn.ofInstant(this,t)},t.toEpochMilli=function(){return M.safeMultiply(this._seconds,1e3)+M.intDiv(this._nanos,1e6)},t.compareTo=function(t){m(t,"otherInstant"),o(t,r,"otherInstant");var e=M.compareNumbers(this._seconds,t._seconds);return 0!==e?e:this._nanos-t._nanos},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){return this===t||t instanceof r&&(this.epochSecond()===t.epochSecond()&&this.nano()===t.nano())},t.hashCode=function(){return M.hashCode(this._seconds,this._nanos)},t.toString=function(){return Be.ISO_INSTANT.format(this)},t.toJSON=function(){return this.toString()},r}(_t);var Sn=function(){function t(){}t.systemUTC=function(){return new Nn(Tt.UTC)},t.systemDefaultZone=function(){return new Nn(Et.systemDefault())},t.system=function(t){return new Nn(t)},t.fixed=function(t,e){return new Dn(t,e)},t.offset=function(t,e){return new An(t,e)};var e=t.prototype;return e.millis=function(){i("Clock.millis")},e.instant=function(){i("Clock.instant")},e.zone=function(){i("Clock.zone")},e.withZone=function(){i("Clock.withZone")},t}(),Nn=function(n){function e(t){var e;return m(t,"zone"),(e=n.call(this)||this)._zone=t,e}_(e,n);var t=e.prototype;return t.zone=function(){return this._zone},t.millis=function(){return(new Date).getTime()},t.instant=function(){return En.ofEpochMilli(this.millis())},t.equals=function(t){return t instanceof e&&this._zone.equals(t._zone)},t.withZone=function(t){return t.equals(this._zone)?this:new e(t)},t.toString=function(){return"SystemClock["+this._zone.toString()+"]"},e}(Sn),Dn=function(i){function e(t,e){var n;return(n=i.call(this)||this)._instant=t,n._zoneId=e,n}_(e,i);var t=e.prototype;return t.instant=function(){return this._instant},t.millis=function(){return this._instant.toEpochMilli()},t.zone=function(){return this._zoneId},t.toString=function(){return"FixedClock[]"},t.equals=function(t){return t instanceof e&&(this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId))},t.withZone=function(t){return t.equals(this._zoneId)?this:new e(this._instant,t)},e}(Sn),An=function(i){function e(t,e){var n;return(n=i.call(this)||this)._baseClock=t,n._offset=e,n}_(e,i);var t=e.prototype;return t.zone=function(){return this._baseClock.zone()},t.withZone=function(t){return t.equals(this._baseClock.zone())?this:new e(this._baseClock.withZone(t),this._offset)},t.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},t.instant=function(){return this._baseClock.instant().plus(this._offset)},t.equals=function(t){return t instanceof e&&(this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset))},t.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},e}(Sn),Tn=function(){function i(t,e,n){if(m(t,"transition"),m(e,"offsetBefore"),m(n,"offsetAfter"),e.equals(n))throw new c("Offsets must not be equal");if(0!==t.nano())throw new c("Nano-of-second must be zero");this._transition=t instanceof mn?t:mn.ofEpochSecond(t,0,e),this._offsetBefore=e,this._offsetAfter=n}i.of=function(t,e,n){return new i(t,e,n)};var t=i.prototype;return t.instant=function(){return this._transition.toInstant(this._offsetBefore)},t.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},t.dateTimeBefore=function(){return this._transition},t.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},t.offsetBefore=function(){return this._offsetBefore},t.offsetAfter=function(){return this._offsetAfter},t.duration=function(){return F.ofSeconds(this.durationSeconds())},t.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},t.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},t.isOverlap=function(){return this._offsetAfter.totalSeconds()<this._offsetBefore.totalSeconds()},t.isValidOffset=function(t){return!this.isGap()&&(this._offsetBefore.equals(t)||this._offsetAfter.equals(t))},t.validOffsets=function(){return this.isGap()?[]:[this._offsetBefore,this._offsetAfter]},t.compareTo=function(t){return this.instant().compareTo(t.instant())},t.equals=function(t){if(t===this)return!0;if(t instanceof i){var e=t;return this._transition.equals(e._transition)&&this._offsetBefore.equals(e.offsetBefore())&&this._offsetAfter.equals(e.offsetAfter())}return!1},t.hashCode=function(){return this._transition.hashCode()^this._offsetBefore.hashCode()^this._offsetAfter.hashCode()>>>16},t.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},i}();var vn=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isFixedOffset=function(){return!1},n.offsetOfInstant=function(t){var e=new Date(t.toEpochMilli()).getTimezoneOffset();return Tt.ofTotalMinutes(-1*e)},n.offsetOfEpochMilli=function(t){var e=new Date(t).getTimezoneOffset();return Tt.ofTotalMinutes(-1*e)},n.offsetOfLocalDateTime=function(t){var e=1e3*t.toEpochSecond(Tt.UTC),n=new Date(e).getTimezoneOffset(),i=new Date(e+6e4*n).getTimezoneOffset();return Tt.ofTotalMinutes(-1*i)},n.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},n.transition=function(){return null},n.standardOffset=function(t){return this.offsetOfInstant(t)},n.daylightSavings=function(){this._throwNotSupported()},n.isDaylightSavings=function(){this._throwNotSupported()},n.isValidOffset=function(t,e){return this.offsetOfLocalDateTime(t).equals(e)},n.nextTransition=function(){this._throwNotSupported()},n.previousTransition=function(){this._throwNotSupported()},n.transitions=function(){this._throwNotSupported()},n.transitionRules=function(){this._throwNotSupported()},n._throwNotSupported=function(){throw new y("not supported operation")},n.equals=function(t){return this===t||t instanceof e},n.toString=function(){return"SYSTEM"},e}(St),wn=function(e){function t(){var t;return(t=e.call(this)||this)._rules=new vn,t}_(t,e);var n=t.prototype;return n.rules=function(){return this._rules},n.equals=function(t){return this===t},n.id=function(){return"SYSTEM"},t}(Et),yn=(Mn.systemDefault=function(){return Rn},Mn.getAvailableZoneIds=function(){return Ae.getAvailableZoneIds()},Mn.of=function(t){if(m(t,"zoneId"),"Z"===t)return Tt.UTC;if(1===t.length)throw new y("Invalid zone: "+t);if(mt.startsWith(t,"+")||mt.startsWith(t,"-"))return Tt.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new we(t,Tt.UTC.rules());if(mt.startsWith(t,"UTC+")||mt.startsWith(t,"GMT+")||mt.startsWith(t,"UTC-")||mt.startsWith(t,"GMT-")){var e=Tt.of(t.substring(3));return 0===e.totalSeconds()?new we(t.substring(0,3),e.rules()):new we(t.substring(0,3)+e.id(),e.rules())}if(mt.startsWith(t,"UT+")||mt.startsWith(t,"UT-")){var n=Tt.of(t.substring(2));return 0===n.totalSeconds()?new we("UT",n.rules()):new we("UT"+n.id(),n.rules())}return"SYSTEM"===t?Et.systemDefault():we.ofId(t)},Mn.ofOffset=function(t,e){if(m(t,"prefix"),m(e,"offset"),0===t.length)return e;if("GMT"===t||"UTC"===t||"UT"===t)return 0===e.totalSeconds()?new we(t,e.rules()):new we(t+e.id(),e.rules());throw new c("Invalid prefix, must be GMT, UTC or UT: "+t)},Mn.from=function(t){m(t,"temporal");var e=t.query(x.zone());if(null==e)throw new y("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},Mn);function Mn(){}var Rn=null;var gn=!1;gn||(gn=!0,Y.MIN_VALUE=-999999,Y.MAX_VALUE=999999,F.ZERO=new F(0,0),C.NANOS=new C("Nanos",F.ofNanos(1)),C.MICROS=new C("Micros",F.ofNanos(1e3)),C.MILLIS=new C("Millis",F.ofNanos(1e6)),C.SECONDS=new C("Seconds",F.ofSeconds(1)),C.MINUTES=new C("Minutes",F.ofSeconds(60)),C.HOURS=new C("Hours",F.ofSeconds(3600)),C.HALF_DAYS=new C("HalfDays",F.ofSeconds(43200)),C.DAYS=new C("Days",F.ofSeconds(86400)),C.WEEKS=new C("Weeks",F.ofSeconds(604800)),C.MONTHS=new C("Months",F.ofSeconds(2629746)),C.YEARS=new C("Years",F.ofSeconds(31556952)),C.DECADES=new C("Decades",F.ofSeconds(315569520)),C.CENTURIES=new C("Centuries",F.ofSeconds(3155695200)),C.MILLENNIA=new C("Millennia",F.ofSeconds(31556952e3)),C.ERAS=new C("Eras",F.ofSeconds(31556952*(Y.MAX_VALUE+1))),C.FOREVER=new C("Forever",F.ofSeconds(M.MAX_SAFE_INTEGER,999999999)),W.NANO_OF_SECOND=new W("NanoOfSecond",C.NANOS,C.SECONDS,b.of(0,999999999)),W.NANO_OF_DAY=new W("NanoOfDay",C.NANOS,C.DAYS,b.of(0,864e11-1)),W.MICRO_OF_SECOND=new W("MicroOfSecond",C.MICROS,C.SECONDS,b.of(0,999999)),W.MICRO_OF_DAY=new W("MicroOfDay",C.MICROS,C.DAYS,b.of(0,864e8-1)),W.MILLI_OF_SECOND=new W("MilliOfSecond",C.MILLIS,C.SECONDS,b.of(0,999)),W.MILLI_OF_DAY=new W("MilliOfDay",C.MILLIS,C.DAYS,b.of(0,864e5-1)),W.SECOND_OF_MINUTE=new W("SecondOfMinute",C.SECONDS,C.MINUTES,b.of(0,59)),W.SECOND_OF_DAY=new W("SecondOfDay",C.SECONDS,C.DAYS,b.of(0,86399)),W.MINUTE_OF_HOUR=new W("MinuteOfHour",C.MINUTES,C.HOURS,b.of(0,59)),W.MINUTE_OF_DAY=new W("MinuteOfDay",C.MINUTES,C.DAYS,b.of(0,1439)),W.HOUR_OF_AMPM=new W("HourOfAmPm",C.HOURS,C.HALF_DAYS,b.of(0,11)),W.CLOCK_HOUR_OF_AMPM=new W("ClockHourOfAmPm",C.HOURS,C.HALF_DAYS,b.of(1,12)),W.HOUR_OF_DAY=new W("HourOfDay",C.HOURS,C.DAYS,b.of(0,23)),W.CLOCK_HOUR_OF_DAY=new W("ClockHourOfDay",C.HOURS,C.DAYS,b.of(1,24)),W.AMPM_OF_DAY=new W("AmPmOfDay",C.HALF_DAYS,C.DAYS,b.of(0,1)),W.DAY_OF_WEEK=new W("DayOfWeek",C.DAYS,C.WEEKS,b.of(1,7)),W.ALIGNED_DAY_OF_WEEK_IN_MONTH=new W("AlignedDayOfWeekInMonth",C.DAYS,C.WEEKS,b.of(1,7)),W.ALIGNED_DAY_OF_WEEK_IN_YEAR=new W("AlignedDayOfWeekInYear",C.DAYS,C.WEEKS,b.of(1,7)),W.DAY_OF_MONTH=new W("DayOfMonth",C.DAYS,C.MONTHS,b.of(1,28,31),"day"),W.DAY_OF_YEAR=new W("DayOfYear",C.DAYS,C.YEARS,b.of(1,365,366)),W.EPOCH_DAY=new W("EpochDay",C.DAYS,C.FOREVER,b.of(Math.floor(365.25*Y.MIN_VALUE),Math.floor(365.25*Y.MAX_VALUE))),W.ALIGNED_WEEK_OF_MONTH=new W("AlignedWeekOfMonth",C.WEEKS,C.MONTHS,b.of(1,4,5)),W.ALIGNED_WEEK_OF_YEAR=new W("AlignedWeekOfYear",C.WEEKS,C.YEARS,b.of(1,53)),W.MONTH_OF_YEAR=new W("MonthOfYear",C.MONTHS,C.YEARS,b.of(1,12),"month"),W.PROLEPTIC_MONTH=new W("ProlepticMonth",C.MONTHS,C.FOREVER,b.of(12*Y.MIN_VALUE,12*Y.MAX_VALUE+11)),W.YEAR_OF_ERA=new W("YearOfEra",C.YEARS,C.FOREVER,b.of(1,Y.MAX_VALUE,Y.MAX_VALUE+1)),W.YEAR=new W("Year",C.YEARS,C.FOREVER,b.of(Y.MIN_VALUE,Y.MAX_VALUE),"year"),W.ERA=new W("Era",C.ERAS,C.FOREVER,b.of(0,1)),W.INSTANT_SECONDS=new W("InstantSeconds",C.SECONDS,C.FOREVER,b.of(h,u)),W.OFFSET_SECONDS=new W("OffsetSeconds",C.SECONDS,C.FOREVER,b.of(-64800,64800)),function(){On.HOURS=[];for(var t=0;t<24;t++)On.of(t,0,0,0);On.MIN=On.HOURS[0],On.MAX=new On(23,59,59,999999999),On.MIDNIGHT=On.HOURS[0],On.NOON=On.HOURS[12],On.FROM=G("LocalTime.FROM",function(t){return On.from(t)})}(),bt=new Ct,Ht=new Lt,Wt=new Ut,xt=new Pt,kt=new Vt("WeekBasedYears",F.ofSeconds(31556952)),Bt=new Vt("QuarterYears",F.ofSeconds(7889238)),It.DAY_OF_QUARTER=bt,It.QUARTER_OF_YEAR=Ht,It.WEEK_OF_WEEK_BASED_YEAR=Wt,It.WEEK_BASED_YEAR=xt,It.WEEK_BASED_YEARS=kt,It.QUARTER_YEARS=Bt,dn.prototype.isoWeekOfWeekyear=function(){return this.get(It.WEEK_OF_WEEK_BASED_YEAR)},dn.prototype.isoWeekyear=function(){return this.get(It.WEEK_BASED_YEAR)},x.ZONE_ID=G("ZONE_ID",function(t){return t.query(x.ZONE_ID)}),x.CHRONO=G("CHRONO",function(t){return t.query(x.CHRONO)}),x.PRECISION=G("PRECISION",function(t){return t.query(x.PRECISION)}),x.OFFSET=G("OFFSET",function(t){return t.isSupported(W.OFFSET_SECONDS)?Tt.ofTotalSeconds(t.get(W.OFFSET_SECONDS)):null}),x.ZONE=G("ZONE",function(t){var e=t.query(x.ZONE_ID);return null!=e?e:t.query(x.OFFSET)}),x.LOCAL_DATE=G("LOCAL_DATE",function(t){return t.isSupported(W.EPOCH_DAY)?dn.ofEpochDay(t.getLong(W.EPOCH_DAY)):null}),x.LOCAL_TIME=G("LOCAL_TIME",function(t){return t.isSupported(W.NANO_OF_DAY)?On.ofNanoOfDay(t.getLong(W.NANO_OF_DAY)):null}),J.MONDAY=new J(0,"MONDAY"),J.TUESDAY=new J(1,"TUESDAY"),J.WEDNESDAY=new J(2,"WEDNESDAY"),J.THURSDAY=new J(3,"THURSDAY"),J.FRIDAY=new J(4,"FRIDAY"),J.SATURDAY=new J(5,"SATURDAY"),J.SUNDAY=new J(6,"SUNDAY"),J.FROM=G("DayOfWeek.FROM",function(t){return J.from(t)}),X=[J.MONDAY,J.TUESDAY,J.WEDNESDAY,J.THURSDAY,J.FRIDAY,J.SATURDAY,J.SUNDAY],En.MIN_SECONDS=-31619119219200,En.MAX_SECONDS=31494816403199,En.EPOCH=new En(0,0),En.MIN=En.ofEpochSecond(En.MIN_SECONDS,0),En.MAX=En.ofEpochSecond(En.MAX_SECONDS,999999999),En.FROM=G("Instant.FROM",function(t){return En.from(t)}),dn.MIN=dn.of(Y.MIN_VALUE,1,1),dn.MAX=dn.of(Y.MAX_VALUE,12,31),dn.EPOCH_0=dn.ofEpochDay(0),dn.FROM=G("LocalDate.FROM",function(t){return dn.from(t)}),mn.MIN=mn.of(dn.MIN,On.MIN),mn.MAX=mn.of(dn.MAX,On.MAX),mn.FROM=G("LocalDateTime.FROM",function(t){return mn.from(t)}),Ge.MIN_VALUE=Y.MIN_VALUE,Ge.MAX_VALUE=Y.MAX_VALUE,je=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).toFormatter(),Ge.FROM=G("Year.FROM",function(t){return Ge.from(t)}),$.JANUARY=new $(1,"JANUARY"),$.FEBRUARY=new $(2,"FEBRUARY"),$.MARCH=new $(3,"MARCH"),$.APRIL=new $(4,"APRIL"),$.MAY=new $(5,"MAY"),$.JUNE=new $(6,"JUNE"),$.JULY=new $(7,"JULY"),$.AUGUST=new $(8,"AUGUST"),$.SEPTEMBER=new $(9,"SEPTEMBER"),$.OCTOBER=new $(10,"OCTOBER"),$.NOVEMBER=new $(11,"NOVEMBER"),$.DECEMBER=new $(12,"DECEMBER"),Q=[$.JANUARY,$.FEBRUARY,$.MARCH,$.APRIL,$.MAY,$.JUNE,$.JULY,$.AUGUST,$.SEPTEMBER,$.OCTOBER,$.NOVEMBER,$.DECEMBER],ze=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).appendLiteral("-").appendValue(W.MONTH_OF_YEAR,2).toFormatter(),Ke.FROM=G("YearMonth.FROM",function(t){return Ke.from(t)}),qe=(new Ue).appendLiteral("--").appendValue(W.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(W.DAY_OF_MONTH,2).toFormatter(),Ze.FROM=G("MonthDay.FROM",function(t){return Ze.from(t)}),et.ofDays(0),Tt.MAX_SECONDS=18*On.SECONDS_PER_HOUR,Tt.UTC=Tt.ofTotalSeconds(0),Tt.MIN=Tt.ofTotalSeconds(-Tt.MAX_SECONDS),Tt.MAX=Tt.ofTotalSeconds(Tt.MAX_SECONDS),cn.FROM=G("ZonedDateTime.FROM",function(t){return cn.from(t)}),Rn=new wn,Et.systemDefault=yn.systemDefault,Et.getAvailableZoneIds=yn.getAvailableZoneIds,Et.of=yn.of,Et.ofOffset=yn.ofOffset,Et.from=yn.from,Tt.from=yn.from,Et.SYSTEM=Rn,Et.UTC=Tt.ofTotalSeconds(0),un.INSTANCE=new un("IsoChronology"),Be.ISO_LOCAL_DATE=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).appendLiteral("-").appendValue(W.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(W.DAY_OF_MONTH,2).toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_LOCAL_TIME=(new Ue).appendValue(W.HOUR_OF_DAY,2).appendLiteral(":").appendValue(W.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue(W.SECOND_OF_MINUTE,2).optionalStart().appendFraction(W.NANO_OF_SECOND,0,9,!0).toFormatter(ht.STRICT),Be.ISO_LOCAL_DATE_TIME=(new Ue).parseCaseInsensitive().append(Be.ISO_LOCAL_DATE).appendLiteral("T").append(Be.ISO_LOCAL_TIME).toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_INSTANT=(new Ue).parseCaseInsensitive().appendInstant().toFormatter(ht.STRICT),Be.ISO_OFFSET_DATE_TIME=(new Ue).parseCaseInsensitive().append(Be.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_ZONED_DATE_TIME=(new Ue).append(Be.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.BASIC_ISO_DATE=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).appendValue(W.MONTH_OF_YEAR,2).appendValue(W.DAY_OF_MONTH,2).toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_OFFSET_DATE=(new Ue).parseCaseInsensitive().append(Be.ISO_LOCAL_DATE).appendOffsetId().toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_OFFSET_TIME=(new Ue).parseCaseInsensitive().append(Be.ISO_LOCAL_TIME).appendOffsetId().toFormatter(ht.STRICT).withChronology(un.INSTANCE),Be.ISO_ORDINAL_DATE=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).appendLiteral("-").appendValue(W.DAY_OF_YEAR).toFormatter(ht.STRICT),Be.ISO_WEEK_DATE=(new Ue).appendValue(W.YEAR,4,10,jt.EXCEEDS_PAD).appendLiteral("-W").appendValue(W.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue(W.DAY_OF_WEEK).toFormatter(ht.STRICT),Be.PARSED_EXCESS_DAYS=G("PARSED_EXCESS_DAYS",function(t){return t instanceof wt?t.excessDays:et.ZERO}),Be.PARSED_LEAP_SECOND=G("PARSED_LEAP_SECOND",function(t){return t instanceof wt&&t.leapSecond}),ce.BASE_DATE=dn.of(2e3,1,1),Ue.CompositePrinterParser=ee,Ue.PadPrinterParserDecorator=me,Ue.SettingsParser=Ee,Ue.CharLiteralPrinterParser=Ne,Ue.StringLiteralPrinterParser=Ne,Ue.CharLiteralPrinterParser=Qt,Ue.NumberPrinterParser=ue,Ue.ReducedPrinterParser=ce,Ue.FractionPrinterParser=re,Ue.OffsetIdPrinterParser=_e,Ue.ZoneIdPrinterParser=ye,ln.MIN=mn.MIN.atOffset(Tt.MAX),ln.MAX=mn.MAX.atOffset(Tt.MIN),ln.FROM=G("OffsetDateTime.FROM",function(t){return ln.from(t)}),hn.MIN=hn.ofNumbers(0,0,0,0,Tt.MAX),hn.MAX=hn.ofNumbers(23,59,59,999999999,Tt.MIN),hn.FROM=G("OffsetTime.FROM",function(t){return hn.from(t)}));var In,Fn=((In=Yn.prototype).toDate=function(){return new Date(this.instant.toEpochMilli())},In.toEpochMilli=function(){return this.instant.toEpochMilli()},Yn);function Yn(t,e){var n;if(t instanceof dn)e=null==e?Et.systemDefault():e,n=t.atStartOfDay(e);else if(t instanceof mn)e=null==e?Et.systemDefault():e,n=t.atZone(e);else{if(!(t instanceof cn))throw new c("unsupported instance for convert operation:"+t);n=null==e?t:t.withZoneSameInstant(e)}this.instant=n.toInstant()}function Cn(t,e){return new Fn(t,e)}var Ln=function(i){function t(t,e){var n;return void 0===e&&(e=Et.systemDefault()),(n=i.call(this)||this)._zone=e,t instanceof Date?(n._epochMilli=t.getTime(),d(n)):"function"==typeof t.toDate&&t.toDate()instanceof Date?(n._epochMilli=t.toDate().getTime(),d(n)):(S(!1,"date must be either a javascript date or a moment"),n)}_(t,i);var e=t.prototype;return e.query=function(t){return m(t,"query"),t===x.localDate()?dn.ofInstant(En.ofEpochMilli(this._epochMilli),this._zone):t===x.localTime()?On.ofInstant(En.ofEpochMilli(this._epochMilli),this._zone):t===x.zone()?this._zone:i.prototype.query.call(this,t)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(m(t,"field"),t instanceof W){switch(t){case W.NANO_OF_SECOND:return 1e6*M.floorMod(this._epochMilli,1e3);case W.INSTANT_SECONDS:return M.floorDiv(this._epochMilli,1e3)}throw new l("Unsupported field: "+t)}return t.getFrom(this)},e.isSupported=function(t){return t===W.INSTANT_SECONDS||t===W.NANO_OF_SECOND},t}(q);function Un(t,e){return new Ln(t,e)}var Pn,Vn,bn={assert:a,DateTimeBuilder:wt,DateTimeParseContext:yt,DateTimePrintContext:gt,MathUtil:M,StringUtil:mt,StringBuilder:xe},Hn={_:bn,convert:Cn,nativeJs:Un,ArithmeticException:E,DateTimeException:y,DateTimeParseException:p,IllegalArgumentException:c,IllegalStateException:r,UnsupportedTemporalTypeException:l,NullPointerException:s,Clock:Sn,DayOfWeek:J,Duration:F,Instant:En,LocalDate:dn,LocalTime:On,LocalDateTime:mn,OffsetTime:hn,OffsetDateTime:ln,Month:$,MonthDay:Ze,Period:et,Year:Ge,YearConstants:Y,YearMonth:Ke,ZonedDateTime:cn,ZoneOffset:Tt,ZoneId:Et,ZoneRegion:we,ZoneOffsetTransition:Tn,ZoneRules:St,ZoneRulesProvider:Ae,ChronoLocalDate:pt,ChronoLocalDateTime:pn,ChronoZonedDateTime:fn,IsoChronology:un,ChronoField:W,ChronoUnit:C,IsoFields:It,Temporal:_t,TemporalAccessor:q,TemporalAdjuster:ct,TemporalAdjusters:Xe,TemporalAmount:v,TemporalField:U,TemporalQueries:x,TemporalQuery:K,TemporalUnit:g,ValueRange:b,DateTimeFormatter:Be,DateTimeFormatterBuilder:Ue,DecimalStyle:Zt,ResolverStyle:ht,SignStyle:jt,TextStyle:Xt},Wn=(Vn=[],function(t){return~Vn.indexOf(t)||(t(Pn),Vn.push(t)),Pn});return(Pn=Hn).use=Wn,t.ArithmeticException=E,t.ChronoField=W,t.ChronoLocalDate=pt,t.ChronoLocalDateTime=pn,t.ChronoUnit=C,t.ChronoZonedDateTime=fn,t.Clock=Sn,t.DateTimeException=y,t.DateTimeFormatter=Be,t.DateTimeFormatterBuilder=Ue,t.DateTimeParseException=p,t.DayOfWeek=J,t.DecimalStyle=Zt,t.Duration=F,t.IllegalArgumentException=c,t.IllegalStateException=r,t.Instant=En,t.IsoChronology=un,t.IsoFields=It,t.LocalDate=dn,t.LocalDateTime=mn,t.LocalTime=On,t.Month=$,t.MonthDay=Ze,t.NullPointerException=s,t.OffsetDateTime=ln,t.OffsetTime=hn,t.Period=et,t.ResolverStyle=ht,t.SignStyle=jt,t.Temporal=_t,t.TemporalAccessor=q,t.TemporalAdjuster=ct,t.TemporalAdjusters=Xe,t.TemporalAmount=v,t.TemporalField=U,t.TemporalQueries=x,t.TemporalQuery=K,t.TemporalUnit=g,t.TextStyle=Xt,t.UnsupportedTemporalTypeException=l,t.ValueRange=b,t.Year=Ge,t.YearConstants=Y,t.YearMonth=Ke,t.ZoneId=Et,t.ZoneOffset=Tt,t.ZoneOffsetTransition=Tn,t.ZoneRegion=we,t.ZoneRules=St,t.ZoneRulesProvider=Ae,t.ZonedDateTime=cn,t._=bn,t.convert=Cn,t.nativeJs=Un,t.use=Wn,t}({});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@js-joda/core",
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"description": "a date and time library for javascript",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/js-joda/js-joda.git"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/js-joda.js",
|
|
10
|
+
"module": "dist/js-joda.esm.js",
|
|
11
|
+
"typings": "dist/js-joda.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"src",
|
|
15
|
+
"bower.json",
|
|
16
|
+
"CHANGELOG.md",
|
|
17
|
+
"CheatSheet.md",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"prepublish": "npm run build-dist",
|
|
22
|
+
"test": "NODE_ENV=test ./node_modules/.bin/mocha --timeout 5000 --require @babel/register ./test/*Test_mochaOnly.js ./test/*Test.js ./test/**/*Test.js ./test/**/**/*Test.js",
|
|
23
|
+
"test-coverage": "NODE_ENV=test COVERAGE=1 ../../node_modules/.bin/nyc --report-dir=build/coverage --reporter=lcov --reporter html ./node_modules/.bin/mocha --timeout 5000 --require @babel/register --reporter progress ./test/*Test.js ./test/**/*Test.js ./test/**/**/*Test.js",
|
|
24
|
+
"test-browser": "./node_modules/.bin/karma start --reporters=dots --single-run",
|
|
25
|
+
"test-saucelabs": "./node_modules/.bin/karma start --reporters=\"dots,saucelabs\" --browsers=\"sl_chrome,sl_ie,sl_firefox,sl_ios_simulator\" --single-run=true",
|
|
26
|
+
"test-ci": "npm run build-dist && npm run test && npm run test-browser -- --browsers \"Firefox,PhantomJS\" && npm run test-ts-definitions && npm run test-coverage",
|
|
27
|
+
"test-ts-definitions": "TS_NODE_PROJECT='test/typescript_definitions/tsconfig.json' NODE_ENV=test mocha --timeout 5000 --require ts-node/register ./test/typescript_definitions/*.ts",
|
|
28
|
+
"build-dist": "npx rollup -c rollup.config.js",
|
|
29
|
+
"build-md-toc": "./node_modules/.bin/markdown-toc -i CheatSheet.md",
|
|
30
|
+
"build-gz-check": "gzip -kf dist/js-joda.min.js && ls -alh ./dist/js-joda.min.js*",
|
|
31
|
+
"lint": "../../node_modules/.bin/eslint ./src ./test"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"date",
|
|
35
|
+
"time",
|
|
36
|
+
"timezone"
|
|
37
|
+
],
|
|
38
|
+
"nyc": {
|
|
39
|
+
"sourceMap": false,
|
|
40
|
+
"instrument": false
|
|
41
|
+
},
|
|
42
|
+
"author": "pithu",
|
|
43
|
+
"homepage": "https://js-joda.github.io/js-joda",
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@babel/cli": "^7.7.4",
|
|
46
|
+
"@babel/core": "^7.7.4",
|
|
47
|
+
"@babel/preset-env": "^7.7.4",
|
|
48
|
+
"@babel/register": "^7.7.4",
|
|
49
|
+
"@types/chai": "^4.2.11",
|
|
50
|
+
"@types/mocha": "^7.0.2",
|
|
51
|
+
"babel-loader": "^8.0.6",
|
|
52
|
+
"babel-plugin-istanbul": "^5.2.0",
|
|
53
|
+
"chai": "^4.2.0",
|
|
54
|
+
"coveralls": "^3.0.8",
|
|
55
|
+
"karma": "^4.4.1",
|
|
56
|
+
"karma-chai-plugins": "^0.9.0",
|
|
57
|
+
"karma-chrome-launcher": "^3.1.0",
|
|
58
|
+
"karma-firefox-launcher": "^1.2.0",
|
|
59
|
+
"karma-mocha": "^1.3.0",
|
|
60
|
+
"karma-phantomjs-launcher": "^1.0.4",
|
|
61
|
+
"karma-sauce-launcher": "^2.0.2",
|
|
62
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
63
|
+
"karma-webpack": "^4.0.2",
|
|
64
|
+
"markdown-toc": "^1.2.0",
|
|
65
|
+
"mocha": "^6.2.2",
|
|
66
|
+
"phantomjs-prebuilt": "^2.1.16",
|
|
67
|
+
"rollup": "^1.27.4",
|
|
68
|
+
"rollup-plugin-babel": "^4.3.3",
|
|
69
|
+
"rollup-plugin-uglify": "^6.0.3",
|
|
70
|
+
"ts-node": "^8.10.2",
|
|
71
|
+
"typescript": "^3.7.2",
|
|
72
|
+
"webpack": "^4.41.2"
|
|
73
|
+
},
|
|
74
|
+
"license": "BSD-3-Clause",
|
|
75
|
+
"dependencies": {}
|
|
76
|
+
}
|