@attocash/commons-test 6.2.0 → 6.2.1
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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -43,10 +43,10 @@ import { lazy2hsh8ze7j6ikd as lazy } from '../../../kotlin-kotlin-stdlib/kotlin/
|
|
|
43
43
|
//region block: pre-declaration
|
|
44
44
|
//endregion
|
|
45
45
|
function getIsoDateTimeFormat() {
|
|
46
|
-
return Formats_getInstance().
|
|
46
|
+
return Formats_getInstance().b42_1;
|
|
47
47
|
}
|
|
48
48
|
function format(_this__u8e3s4, format) {
|
|
49
|
-
return format.
|
|
49
|
+
return format.a42(_this__u8e3s4);
|
|
50
50
|
}
|
|
51
51
|
function get_ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS() {
|
|
52
52
|
_init_properties_LocalDateTime_kt__bewbbg();
|
|
@@ -63,15 +63,15 @@ function Companion() {
|
|
|
63
63
|
class $ {
|
|
64
64
|
constructor() {
|
|
65
65
|
Companion_instance_0 = this;
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
66
|
+
this.y4f_1 = new (LocalDateTime())(Companion_getInstance().r4f_1, Companion_getInstance_0().d4g_1);
|
|
67
|
+
this.z4f_1 = new (LocalDateTime())(Companion_getInstance().s4f_1, Companion_getInstance_0().e4g_1);
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
return format.
|
|
69
|
+
o4h(input, format) {
|
|
70
|
+
return format.gp(input);
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
a4g(input, format, $super) {
|
|
73
73
|
format = format === VOID ? getIsoDateTimeFormat() : format;
|
|
74
|
-
return $super === VOID ? this.
|
|
74
|
+
return $super === VOID ? this.o4h(input, format) : $super.o4h.call(this, input, format);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
initMetadataForCompanion($);
|
|
@@ -91,7 +91,7 @@ function Formats() {
|
|
|
91
91
|
class $ {
|
|
92
92
|
constructor() {
|
|
93
93
|
Formats_instance = this;
|
|
94
|
-
this.
|
|
94
|
+
this.b42_1 = get_ISO_DATETIME();
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
initMetadataForObject($, 'Formats');
|
|
@@ -111,24 +111,24 @@ function LocalDateTime() {
|
|
|
111
111
|
class $ {
|
|
112
112
|
constructor(date, time) {
|
|
113
113
|
Companion_getInstance_1();
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
114
|
+
this.b46_1 = date;
|
|
115
|
+
this.c46_1 = time;
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
return this.
|
|
117
|
+
f44() {
|
|
118
|
+
return this.b46_1.g44_1;
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
return this.
|
|
120
|
+
j46() {
|
|
121
|
+
return this.c46_1.y46_1;
|
|
122
122
|
}
|
|
123
|
-
|
|
124
|
-
var d = this.
|
|
123
|
+
p4h(other) {
|
|
124
|
+
var d = this.b46_1.l4h(other.b46_1);
|
|
125
125
|
if (!(d === 0)) {
|
|
126
126
|
return d;
|
|
127
127
|
}
|
|
128
|
-
return this.
|
|
128
|
+
return this.c46_1.q4h(other.c46_1);
|
|
129
129
|
}
|
|
130
130
|
d(other) {
|
|
131
|
-
return this.
|
|
131
|
+
return this.p4h(other instanceof LocalDateTime() ? other : THROW_CCE());
|
|
132
132
|
}
|
|
133
133
|
equals(other) {
|
|
134
134
|
var tmp;
|
|
@@ -137,7 +137,7 @@ function LocalDateTime() {
|
|
|
137
137
|
} else {
|
|
138
138
|
var tmp_0;
|
|
139
139
|
if (other instanceof LocalDateTime()) {
|
|
140
|
-
tmp_0 = this.
|
|
140
|
+
tmp_0 = this.p4h(other) === 0;
|
|
141
141
|
} else {
|
|
142
142
|
tmp_0 = false;
|
|
143
143
|
}
|
|
@@ -146,21 +146,21 @@ function LocalDateTime() {
|
|
|
146
146
|
return tmp;
|
|
147
147
|
}
|
|
148
148
|
hashCode() {
|
|
149
|
-
return this.
|
|
149
|
+
return this.b46_1.hashCode() ^ this.c46_1.hashCode();
|
|
150
150
|
}
|
|
151
151
|
toString() {
|
|
152
152
|
return format(this, get_ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS());
|
|
153
153
|
}
|
|
154
|
-
|
|
155
|
-
var epochDay = this.
|
|
154
|
+
r4h(offset) {
|
|
155
|
+
var epochDay = this.b46_1.k4h();
|
|
156
156
|
// Inline function 'kotlin.Long.times' call
|
|
157
157
|
var tmp0 = multiply(epochDay, fromInt(86400));
|
|
158
158
|
// Inline function 'kotlin.Long.plus' call
|
|
159
|
-
var other = this.
|
|
159
|
+
var other = this.c46_1.s4h();
|
|
160
160
|
var secs = add(tmp0, fromInt(other));
|
|
161
161
|
var tmp0_0 = secs;
|
|
162
162
|
// Inline function 'kotlin.Long.minus' call
|
|
163
|
-
var other_0 = offset.
|
|
163
|
+
var other_0 = offset.z48_1;
|
|
164
164
|
secs = subtract(tmp0_0, fromInt(other_0));
|
|
165
165
|
return secs;
|
|
166
166
|
}
|
|
@@ -175,7 +175,7 @@ function plusSeconds(_this__u8e3s4, seconds) {
|
|
|
175
175
|
if (seconds === 0) {
|
|
176
176
|
return _this__u8e3s4;
|
|
177
177
|
}
|
|
178
|
-
var currentNanoOfDay = _this__u8e3s4.
|
|
178
|
+
var currentNanoOfDay = _this__u8e3s4.c46_1.t4h();
|
|
179
179
|
var totalNanos = add(multiply(numberToLong(seconds % 86400 | 0), 1000000000n), currentNanoOfDay);
|
|
180
180
|
var tmp = seconds / 86400 | 0;
|
|
181
181
|
// Inline function 'kotlin.floorDiv' call
|
|
@@ -191,20 +191,20 @@ function plusSeconds(_this__u8e3s4, seconds) {
|
|
|
191
191
|
var other_0 = 86400000000000n;
|
|
192
192
|
var r = modulo(totalNanos, other_0);
|
|
193
193
|
var newNanoOfDay = add(r, other_0 & shiftRight((r ^ other_0) & (r | negate(r)), 63));
|
|
194
|
-
var newTime = newNanoOfDay === currentNanoOfDay ? _this__u8e3s4.
|
|
195
|
-
return new (LocalDateTime())(_this__u8e3s4.
|
|
194
|
+
var newTime = newNanoOfDay === currentNanoOfDay ? _this__u8e3s4.c46_1 : Companion_getInstance_0().u4h(newNanoOfDay);
|
|
195
|
+
return new (LocalDateTime())(_this__u8e3s4.b46_1.n4h(totalDays), newTime);
|
|
196
196
|
}
|
|
197
197
|
function ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda() {
|
|
198
198
|
_init_properties_LocalDateTime_kt__bewbbg();
|
|
199
199
|
var tmp = Companion_instance;
|
|
200
|
-
return tmp.
|
|
200
|
+
return tmp.k45(ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda);
|
|
201
201
|
}
|
|
202
202
|
function ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda($this$build) {
|
|
203
203
|
_init_properties_LocalDateTime_kt__bewbbg();
|
|
204
|
-
$this$build.
|
|
204
|
+
$this$build.x42(get_ISO_DATE());
|
|
205
205
|
var tmp = [ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda];
|
|
206
206
|
alternativeParsing($this$build, tmp, ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda_0);
|
|
207
|
-
$this$build.
|
|
207
|
+
$this$build.f43(get_ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS());
|
|
208
208
|
return Unit_instance;
|
|
209
209
|
}
|
|
210
210
|
function ISO_DATETIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda($this$alternativeParsing) {
|
|
@@ -41,10 +41,10 @@ var imul = Math.imul;
|
|
|
41
41
|
//region block: pre-declaration
|
|
42
42
|
//endregion
|
|
43
43
|
function getIsoTimeFormat() {
|
|
44
|
-
return Formats_instance.
|
|
44
|
+
return Formats_instance.z41();
|
|
45
45
|
}
|
|
46
46
|
function format(_this__u8e3s4, format) {
|
|
47
|
-
return format.
|
|
47
|
+
return format.a42(_this__u8e3s4);
|
|
48
48
|
}
|
|
49
49
|
function get_ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS() {
|
|
50
50
|
_init_properties_LocalTime_kt__nmhi56();
|
|
@@ -61,17 +61,17 @@ function Companion() {
|
|
|
61
61
|
class $ {
|
|
62
62
|
constructor() {
|
|
63
63
|
Companion_instance_0 = this;
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
64
|
+
this.d4g_1 = new (LocalTime())(0, 0, 0, 0);
|
|
65
|
+
this.e4g_1 = new (LocalTime())(23, 59, 59, 999999999);
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
return format.
|
|
67
|
+
v4h(input, format) {
|
|
68
|
+
return format.gp(input);
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
f4g(input, format, $super) {
|
|
71
71
|
format = format === VOID ? getIsoTimeFormat() : format;
|
|
72
|
-
return $super === VOID ? this.
|
|
72
|
+
return $super === VOID ? this.v4h(input, format) : $super.v4h.call(this, input, format);
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
w4h(secondOfDay, nanoOfSecond) {
|
|
75
75
|
// Inline function 'kotlin.require' call
|
|
76
76
|
// Inline function 'kotlin.require' call
|
|
77
77
|
if (!(0 <= secondOfDay ? secondOfDay < 86400 : false)) {
|
|
@@ -90,7 +90,7 @@ function Companion() {
|
|
|
90
90
|
var second = secondWithoutHours - imul(minutes, 60) | 0;
|
|
91
91
|
return new (LocalTime())(hours, minutes, second, nanoOfSecond);
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
u4h(nanoOfDay) {
|
|
94
94
|
var tmp;
|
|
95
95
|
if (nanoOfDay >= 0n) {
|
|
96
96
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -137,7 +137,7 @@ var FormatsClass;
|
|
|
137
137
|
function Formats() {
|
|
138
138
|
if (FormatsClass === VOID) {
|
|
139
139
|
class $ {
|
|
140
|
-
|
|
140
|
+
z41() {
|
|
141
141
|
return get_ISO_TIME();
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -166,52 +166,52 @@ function LocalTime() {
|
|
|
166
166
|
Companion_getInstance_0();
|
|
167
167
|
second = second === VOID ? 0 : second;
|
|
168
168
|
nanosecond = nanosecond === VOID ? 0 : nanosecond;
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
_init_$check(this.
|
|
174
|
-
_init_$check(this.
|
|
175
|
-
_init_$check(this.
|
|
176
|
-
_init_$check(this.
|
|
169
|
+
this.v46_1 = hour;
|
|
170
|
+
this.w46_1 = minute;
|
|
171
|
+
this.x46_1 = second;
|
|
172
|
+
this.y46_1 = nanosecond;
|
|
173
|
+
_init_$check(this.v46_1, 0, 23, 'hour');
|
|
174
|
+
_init_$check(this.w46_1, 0, 59, 'minute');
|
|
175
|
+
_init_$check(this.x46_1, 0, 59, 'second');
|
|
176
|
+
_init_$check(this.y46_1, 0, 999999999, 'nanosecond');
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
var h = compareTo(this.
|
|
178
|
+
q4h(other) {
|
|
179
|
+
var h = compareTo(this.v46_1, other.v46_1);
|
|
180
180
|
if (!(h === 0)) {
|
|
181
181
|
return h;
|
|
182
182
|
}
|
|
183
|
-
var m = compareTo(this.
|
|
183
|
+
var m = compareTo(this.w46_1, other.w46_1);
|
|
184
184
|
if (!(m === 0)) {
|
|
185
185
|
return m;
|
|
186
186
|
}
|
|
187
|
-
var s = compareTo(this.
|
|
187
|
+
var s = compareTo(this.x46_1, other.x46_1);
|
|
188
188
|
if (!(s === 0)) {
|
|
189
189
|
return s;
|
|
190
190
|
}
|
|
191
|
-
return compareTo(this.
|
|
191
|
+
return compareTo(this.y46_1, other.y46_1);
|
|
192
192
|
}
|
|
193
193
|
d(other) {
|
|
194
|
-
return this.
|
|
194
|
+
return this.q4h(other instanceof LocalTime() ? other : THROW_CCE());
|
|
195
195
|
}
|
|
196
196
|
hashCode() {
|
|
197
|
-
var nod = this.
|
|
197
|
+
var nod = this.t4h();
|
|
198
198
|
return convertToInt(nod ^ shiftRightUnsigned(nod, 32));
|
|
199
199
|
}
|
|
200
|
-
|
|
201
|
-
var total = imul(this.
|
|
202
|
-
total = total + imul(this.
|
|
203
|
-
total = total + this.
|
|
200
|
+
s4h() {
|
|
201
|
+
var total = imul(this.v46_1, 3600);
|
|
202
|
+
total = total + imul(this.w46_1, 60) | 0;
|
|
203
|
+
total = total + this.x46_1 | 0;
|
|
204
204
|
return total;
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
var tmp0 = fromInt(this.
|
|
206
|
+
t4h() {
|
|
207
|
+
var tmp0 = fromInt(this.v46_1);
|
|
208
208
|
// Inline function 'kotlin.Long.times' call
|
|
209
209
|
var other = 1000000000;
|
|
210
210
|
// Inline function 'kotlin.Long.times' call
|
|
211
211
|
var this_0 = multiply(tmp0, fromInt(other));
|
|
212
212
|
var total = multiply(this_0, fromInt(3600));
|
|
213
213
|
var tmp = total;
|
|
214
|
-
var tmp0_0 = fromInt(this.
|
|
214
|
+
var tmp0_0 = fromInt(this.w46_1);
|
|
215
215
|
// Inline function 'kotlin.Long.times' call
|
|
216
216
|
var other_0 = 1000000000;
|
|
217
217
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -219,12 +219,12 @@ function LocalTime() {
|
|
|
219
219
|
var tmp$ret$3 = multiply(this_1, fromInt(60));
|
|
220
220
|
total = add(tmp, tmp$ret$3);
|
|
221
221
|
var tmp_0 = total;
|
|
222
|
-
var tmp0_1 = fromInt(this.
|
|
222
|
+
var tmp0_1 = fromInt(this.x46_1);
|
|
223
223
|
// Inline function 'kotlin.Long.times' call
|
|
224
224
|
var other_1 = 1000000000;
|
|
225
225
|
var tmp$ret$4 = multiply(tmp0_1, fromInt(other_1));
|
|
226
226
|
total = add(tmp_0, tmp$ret$4);
|
|
227
|
-
total = add(total, fromInt(this.
|
|
227
|
+
total = add(total, fromInt(this.y46_1));
|
|
228
228
|
return total;
|
|
229
229
|
}
|
|
230
230
|
toString() {
|
|
@@ -233,7 +233,7 @@ function LocalTime() {
|
|
|
233
233
|
equals(other) {
|
|
234
234
|
var tmp;
|
|
235
235
|
if (other instanceof LocalTime()) {
|
|
236
|
-
tmp = this.
|
|
236
|
+
tmp = this.q4h(other) === 0;
|
|
237
237
|
} else {
|
|
238
238
|
tmp = false;
|
|
239
239
|
}
|
|
@@ -248,27 +248,27 @@ function LocalTime() {
|
|
|
248
248
|
function ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda() {
|
|
249
249
|
_init_properties_LocalTime_kt__nmhi56();
|
|
250
250
|
var tmp = Companion_instance;
|
|
251
|
-
return tmp.
|
|
251
|
+
return tmp.z46(ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda);
|
|
252
252
|
}
|
|
253
253
|
function ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda($this$build) {
|
|
254
254
|
_init_properties_LocalTime_kt__nmhi56();
|
|
255
|
-
$this$build.
|
|
255
|
+
$this$build.z42();
|
|
256
256
|
char($this$build, _Char___init__impl__6a9atx(58));
|
|
257
|
-
$this$build.
|
|
257
|
+
$this$build.b43();
|
|
258
258
|
optional($this$build, VOID, ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda);
|
|
259
259
|
return Unit_instance;
|
|
260
260
|
}
|
|
261
261
|
function ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda($this$optional) {
|
|
262
262
|
_init_properties_LocalTime_kt__nmhi56();
|
|
263
263
|
char($this$optional, _Char___init__impl__6a9atx(58));
|
|
264
|
-
$this$optional.
|
|
264
|
+
$this$optional.d43();
|
|
265
265
|
optional($this$optional, VOID, ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda$lambda);
|
|
266
266
|
return Unit_instance;
|
|
267
267
|
}
|
|
268
268
|
function ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS$delegate$lambda$lambda$lambda$lambda($this$optional) {
|
|
269
269
|
_init_properties_LocalTime_kt__nmhi56();
|
|
270
270
|
char($this$optional, _Char___init__impl__6a9atx(46));
|
|
271
|
-
secondFractionInternal($this$optional, 1, 9, Companion_getInstance().
|
|
271
|
+
secondFractionInternal($this$optional, 1, 9, Companion_getInstance().a48_1);
|
|
272
272
|
return Unit_instance;
|
|
273
273
|
}
|
|
274
274
|
function _get_ISO_TIME_OPTIONAL_SECONDS_TRAILING_ZEROS_$ref_fmwpvv() {
|
|
@@ -73,9 +73,9 @@ function get_lenientOffsetFormat() {
|
|
|
73
73
|
}
|
|
74
74
|
var lenientOffsetFormat;
|
|
75
75
|
function atStartOfDayIn(_this__u8e3s4, timeZone, youShallNotPass) {
|
|
76
|
-
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().
|
|
76
|
+
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().c42_1 : youShallNotPass;
|
|
77
77
|
_init_properties_TimeZone_kt__dwyks9();
|
|
78
|
-
return timeZone.
|
|
78
|
+
return timeZone.a4h(_this__u8e3s4);
|
|
79
79
|
}
|
|
80
80
|
var CompanionClass;
|
|
81
81
|
function Companion() {
|
|
@@ -94,32 +94,32 @@ var FixedOffsetTimeZoneClass;
|
|
|
94
94
|
function FixedOffsetTimeZone() {
|
|
95
95
|
if (FixedOffsetTimeZoneClass === VOID) {
|
|
96
96
|
class $ extends TimeZone() {
|
|
97
|
-
static
|
|
98
|
-
var $this = this.
|
|
99
|
-
$this.
|
|
100
|
-
$this.
|
|
97
|
+
static x4h(offset, id) {
|
|
98
|
+
var $this = this.z4g();
|
|
99
|
+
$this.d42_1 = offset;
|
|
100
|
+
$this.e42_1 = id;
|
|
101
101
|
return $this;
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
return this.
|
|
103
|
+
n4g() {
|
|
104
|
+
return this.e42_1;
|
|
105
105
|
}
|
|
106
|
-
static
|
|
107
|
-
return this.
|
|
106
|
+
static f42(offset) {
|
|
107
|
+
return this.x4h(offset, offset.toString());
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
return toInstant_0(new (LocalDateTime())(date, Companion_getInstance_0().
|
|
109
|
+
a4h(date) {
|
|
110
|
+
return toInstant_0(new (LocalDateTime())(date, Companion_getInstance_0().d4g_1), this.d42_1);
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
return this.
|
|
112
|
+
c4h(instant) {
|
|
113
|
+
return this.d42_1;
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
return new (ZonedDateTime())(dateTime, this, this.
|
|
115
|
+
d4h(dateTime, preferred) {
|
|
116
|
+
return new (ZonedDateTime())(dateTime, this, this.d42_1);
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
return toLocalDateTime_0(instant, this.
|
|
118
|
+
e4h(instant) {
|
|
119
|
+
return toLocalDateTime_0(instant, this.d42_1);
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return toInstant_0(dateTime, this.
|
|
121
|
+
f4h(dateTime) {
|
|
122
|
+
return toInstant_0(dateTime, this.d42_1);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
initMetadataForClass($, 'FixedOffsetTimeZone', VOID, VOID, VOID, VOID, VOID, {0: FixedOffsetTimeZoneSerializer_getInstance});
|
|
@@ -133,50 +133,50 @@ function Companion_0() {
|
|
|
133
133
|
class $ {
|
|
134
134
|
constructor() {
|
|
135
135
|
Companion_instance_1 = this;
|
|
136
|
-
this.
|
|
136
|
+
this.i4g_1 = FixedOffsetTimeZone().x4h(Companion_getInstance_1().p4g_1, 'UTC');
|
|
137
137
|
}
|
|
138
|
-
|
|
138
|
+
y4h() {
|
|
139
139
|
var _destruct__k2r9zo = currentSystemDefaultZone();
|
|
140
|
-
var name = _destruct__k2r9zo.
|
|
141
|
-
var zone = _destruct__k2r9zo.
|
|
142
|
-
return zone == null ? this.
|
|
140
|
+
var name = _destruct__k2r9zo.ye();
|
|
141
|
+
var zone = _destruct__k2r9zo.ze();
|
|
142
|
+
return zone == null ? this.j4g(name) : zone;
|
|
143
143
|
}
|
|
144
|
-
|
|
144
|
+
j4g(zoneId) {
|
|
145
145
|
if (zoneId === 'UTC') {
|
|
146
|
-
return this.
|
|
146
|
+
return this.i4g_1;
|
|
147
147
|
}
|
|
148
148
|
if (zoneId === 'Z' || zoneId === 'z') {
|
|
149
|
-
return asTimeZone(Companion_getInstance_1().
|
|
149
|
+
return asTimeZone(Companion_getInstance_1().p4g_1);
|
|
150
150
|
}
|
|
151
151
|
if (zoneId === 'SYSTEM') {
|
|
152
|
-
return this.
|
|
152
|
+
return this.y4h();
|
|
153
153
|
}
|
|
154
154
|
if (zoneId.length === 1) {
|
|
155
|
-
throw IllegalTimeZoneException().
|
|
155
|
+
throw IllegalTimeZoneException().q41('Invalid zone ID: ' + zoneId);
|
|
156
156
|
}
|
|
157
157
|
try {
|
|
158
158
|
if (startsWith(zoneId, '+') || startsWith(zoneId, '-')) {
|
|
159
|
-
return asTimeZone(get_lenientOffsetFormat().
|
|
159
|
+
return asTimeZone(get_lenientOffsetFormat().gp(zoneId));
|
|
160
160
|
}
|
|
161
161
|
switch (zoneId) {
|
|
162
162
|
case 'UTC':
|
|
163
163
|
case 'GMT':
|
|
164
164
|
case 'UT':
|
|
165
|
-
return FixedOffsetTimeZone().
|
|
165
|
+
return FixedOffsetTimeZone().x4h(Companion_getInstance_1().p4g_1, zoneId);
|
|
166
166
|
}
|
|
167
167
|
if (startsWith(zoneId, 'UTC+') || startsWith(zoneId, 'GMT+') || startsWith(zoneId, 'UTC-') || startsWith(zoneId, 'GMT-')) {
|
|
168
168
|
var prefix = take(zoneId, 3);
|
|
169
|
-
var offset = get_lenientOffsetFormat().
|
|
170
|
-
return offset.
|
|
169
|
+
var offset = get_lenientOffsetFormat().gp(substring(zoneId, 3));
|
|
170
|
+
return offset.z48_1 === 0 ? FixedOffsetTimeZone().x4h(offset, prefix) : FixedOffsetTimeZone().x4h(offset, prefix + offset.toString());
|
|
171
171
|
}
|
|
172
172
|
if (startsWith(zoneId, 'UT+') || startsWith(zoneId, 'UT-')) {
|
|
173
|
-
var offset_0 = get_lenientOffsetFormat().
|
|
174
|
-
return offset_0.
|
|
173
|
+
var offset_0 = get_lenientOffsetFormat().gp(substring(zoneId, 2));
|
|
174
|
+
return offset_0.z48_1 === 0 ? FixedOffsetTimeZone().x4h(offset_0, 'UT') : FixedOffsetTimeZone().x4h(offset_0, 'UT' + offset_0.toString());
|
|
175
175
|
}
|
|
176
176
|
} catch ($p) {
|
|
177
177
|
if ($p instanceof DateTimeFormatException()) {
|
|
178
178
|
var e = $p;
|
|
179
|
-
throw IllegalTimeZoneException().
|
|
179
|
+
throw IllegalTimeZoneException().r41(e);
|
|
180
180
|
} else {
|
|
181
181
|
throw $p;
|
|
182
182
|
}
|
|
@@ -188,7 +188,7 @@ function Companion_0() {
|
|
|
188
188
|
var tmp_0;
|
|
189
189
|
if ($p instanceof Exception()) {
|
|
190
190
|
var e_0 = $p;
|
|
191
|
-
throw IllegalTimeZoneException().
|
|
191
|
+
throw IllegalTimeZoneException().s41('Invalid zone ID: ' + zoneId, e_0);
|
|
192
192
|
} else {
|
|
193
193
|
throw $p;
|
|
194
194
|
}
|
|
@@ -211,47 +211,47 @@ var TimeZoneClass;
|
|
|
211
211
|
function TimeZone() {
|
|
212
212
|
if (TimeZoneClass === VOID) {
|
|
213
213
|
class $ {
|
|
214
|
-
static
|
|
214
|
+
static z4g() {
|
|
215
215
|
Companion_getInstance_5();
|
|
216
216
|
return createThis(this);
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
n4g() {
|
|
219
219
|
var message = 'Should be overridden';
|
|
220
220
|
throw IllegalStateException().o(toString(message));
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
a4h(date) {
|
|
223
223
|
var message = 'Should be overridden';
|
|
224
224
|
throw IllegalStateException().o(toString(message));
|
|
225
225
|
}
|
|
226
|
-
|
|
226
|
+
c4h(instant) {
|
|
227
227
|
var message = 'Should be overridden';
|
|
228
228
|
throw IllegalStateException().o(toString(message));
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
e4h(instant) {
|
|
231
231
|
var tmp;
|
|
232
232
|
try {
|
|
233
|
-
tmp = toLocalDateTimeImpl(instant, this.
|
|
233
|
+
tmp = toLocalDateTimeImpl(instant, this.c4h(instant));
|
|
234
234
|
} catch ($p) {
|
|
235
235
|
var tmp_0;
|
|
236
236
|
if ($p instanceof IllegalArgumentException()) {
|
|
237
237
|
var e = $p;
|
|
238
|
-
throw DateTimeArithmeticException().
|
|
238
|
+
throw DateTimeArithmeticException().x41('Instant ' + instant.toString() + ' is not representable as LocalDateTime.', e);
|
|
239
239
|
} else {
|
|
240
240
|
throw $p;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
return tmp;
|
|
244
244
|
}
|
|
245
|
-
|
|
246
|
-
return toInstant(this.
|
|
245
|
+
f4h(dateTime) {
|
|
246
|
+
return toInstant(this.b4h(dateTime));
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
d4h(dateTime, preferred) {
|
|
249
249
|
var message = 'Should be overridden';
|
|
250
250
|
throw IllegalStateException().o(toString(message));
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
b4h(dateTime, preferred, $super) {
|
|
253
253
|
preferred = preferred === VOID ? null : preferred;
|
|
254
|
-
return $super === VOID ? this.
|
|
254
|
+
return $super === VOID ? this.d4h(dateTime, preferred) : $super.d4h.call(this, dateTime, preferred);
|
|
255
255
|
}
|
|
256
256
|
equals(other) {
|
|
257
257
|
var tmp;
|
|
@@ -260,7 +260,7 @@ function TimeZone() {
|
|
|
260
260
|
} else {
|
|
261
261
|
var tmp_0;
|
|
262
262
|
if (other instanceof TimeZone()) {
|
|
263
|
-
tmp_0 = this.
|
|
263
|
+
tmp_0 = this.n4g() === other.n4g();
|
|
264
264
|
} else {
|
|
265
265
|
tmp_0 = false;
|
|
266
266
|
}
|
|
@@ -269,10 +269,10 @@ function TimeZone() {
|
|
|
269
269
|
return tmp;
|
|
270
270
|
}
|
|
271
271
|
hashCode() {
|
|
272
|
-
return getStringHashCode(this.
|
|
272
|
+
return getStringHashCode(this.n4g());
|
|
273
273
|
}
|
|
274
274
|
toString() {
|
|
275
|
-
return this.
|
|
275
|
+
return this.n4g();
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
initMetadataForClass($, 'TimeZone', VOID, VOID, VOID, VOID, VOID, {0: TimeZoneSerializer_getInstance});
|
|
@@ -282,12 +282,12 @@ function TimeZone() {
|
|
|
282
282
|
}
|
|
283
283
|
function toLocalDateTime(_this__u8e3s4, timeZone) {
|
|
284
284
|
_init_properties_TimeZone_kt__dwyks9();
|
|
285
|
-
return timeZone.
|
|
285
|
+
return timeZone.e4h(_this__u8e3s4);
|
|
286
286
|
}
|
|
287
287
|
function toInstant_0(_this__u8e3s4, offset, youShallNotPass) {
|
|
288
|
-
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().
|
|
288
|
+
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().c42_1 : youShallNotPass;
|
|
289
289
|
_init_properties_TimeZone_kt__dwyks9();
|
|
290
|
-
return Companion_getInstance_2().
|
|
290
|
+
return Companion_getInstance_2().dp(_this__u8e3s4.r4h(offset), _this__u8e3s4.j46());
|
|
291
291
|
}
|
|
292
292
|
function toLocalDateTime_0(_this__u8e3s4, offset) {
|
|
293
293
|
_init_properties_TimeZone_kt__dwyks9();
|
|
@@ -298,7 +298,7 @@ function toLocalDateTime_0(_this__u8e3s4, offset) {
|
|
|
298
298
|
var tmp_0;
|
|
299
299
|
if ($p instanceof IllegalArgumentException()) {
|
|
300
300
|
var e = $p;
|
|
301
|
-
throw DateTimeArithmeticException().
|
|
301
|
+
throw DateTimeArithmeticException().x41('Instant ' + _this__u8e3s4.toString() + ' is not representable as LocalDateTime', e);
|
|
302
302
|
} else {
|
|
303
303
|
throw $p;
|
|
304
304
|
}
|
|
@@ -307,9 +307,9 @@ function toLocalDateTime_0(_this__u8e3s4, offset) {
|
|
|
307
307
|
}
|
|
308
308
|
function toLocalDateTimeImpl(_this__u8e3s4, offset) {
|
|
309
309
|
_init_properties_TimeZone_kt__dwyks9();
|
|
310
|
-
var tmp0 = _this__u8e3s4.
|
|
310
|
+
var tmp0 = _this__u8e3s4.ip_1;
|
|
311
311
|
// Inline function 'kotlin.Long.plus' call
|
|
312
|
-
var other = offset.
|
|
312
|
+
var other = offset.z48_1;
|
|
313
313
|
var localSecond = add(tmp0, fromInt(other));
|
|
314
314
|
// Inline function 'kotlin.floorDiv' call
|
|
315
315
|
var q = divide(localSecond, 86400n);
|
|
@@ -322,14 +322,14 @@ function toLocalDateTimeImpl(_this__u8e3s4, offset) {
|
|
|
322
322
|
var r = modulo(localSecond, 86400n);
|
|
323
323
|
var tmp$ret$2 = add(r, 86400n & shiftRight((r ^ 86400n) & (r | negate(r)), 63));
|
|
324
324
|
var secsOfDay = convertToInt(tmp$ret$2);
|
|
325
|
-
var date = Companion_getInstance_3().
|
|
326
|
-
var time = Companion_getInstance_0().
|
|
325
|
+
var date = Companion_getInstance_3().j4h(localEpochDay);
|
|
326
|
+
var time = Companion_getInstance_0().w4h(secsOfDay, _this__u8e3s4.jp_1);
|
|
327
327
|
return new (LocalDateTime())(date, time);
|
|
328
328
|
}
|
|
329
329
|
function toInstant_1(_this__u8e3s4, timeZone, youShallNotPass) {
|
|
330
|
-
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().
|
|
330
|
+
youShallNotPass = youShallNotPass === VOID ? Companion_getInstance().c42_1 : youShallNotPass;
|
|
331
331
|
_init_properties_TimeZone_kt__dwyks9();
|
|
332
|
-
return timeZone.
|
|
332
|
+
return timeZone.f4h(_this__u8e3s4);
|
|
333
333
|
}
|
|
334
334
|
function lenientOffsetFormat$lambda($this$build) {
|
|
335
335
|
_init_properties_TimeZone_kt__dwyks9();
|
|
@@ -340,7 +340,7 @@ function lenientOffsetFormat$lambda($this$build) {
|
|
|
340
340
|
}
|
|
341
341
|
function lenientOffsetFormat$lambda$lambda($this$alternativeParsing) {
|
|
342
342
|
_init_properties_TimeZone_kt__dwyks9();
|
|
343
|
-
$this$alternativeParsing.
|
|
343
|
+
$this$alternativeParsing.g43(Padding_NONE_getInstance());
|
|
344
344
|
return Unit_instance;
|
|
345
345
|
}
|
|
346
346
|
function lenientOffsetFormat$lambda$lambda_0($this$alternativeParsing) {
|
|
@@ -358,7 +358,7 @@ function _init_properties_TimeZone_kt__dwyks9() {
|
|
|
358
358
|
if (!properties_initialized_TimeZone_kt_fgsidh) {
|
|
359
359
|
properties_initialized_TimeZone_kt_fgsidh = true;
|
|
360
360
|
var tmp = Companion_instance;
|
|
361
|
-
lenientOffsetFormat = tmp.
|
|
361
|
+
lenientOffsetFormat = tmp.j49(lenientOffsetFormat$lambda);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
//region block: init
|