@attocash/commons-js 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.
Files changed (542) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
  40. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
  41. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
  42. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
  43. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
  44. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
  45. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
  46. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
  47. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
  48. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
  49. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
  50. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
  51. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
  52. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  53. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
  54. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
  55. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
  56. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
  57. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
  58. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
  59. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  60. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
  61. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
  62. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  63. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  64. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  65. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  66. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
  67. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  68. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  69. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
  70. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
  71. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
  72. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
  73. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
  74. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  75. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
  76. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
  77. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  78. package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
  79. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  80. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  81. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
  82. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
  83. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
  84. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
  85. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
  86. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  87. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
  88. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
  89. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
  90. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
  91. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
  92. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
  93. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  94. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
  95. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
  96. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
  97. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  98. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
  99. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
  100. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
  101. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  102. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
  103. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  104. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  105. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  106. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  107. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  108. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  109. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  110. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  111. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  112. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
  113. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  114. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  115. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  116. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  117. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  118. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  119. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  120. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  121. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  122. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  123. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  124. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  125. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  126. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  127. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
  128. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  129. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  130. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  131. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  132. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  133. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
  134. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  135. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
  136. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  137. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  138. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  139. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  140. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
  141. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  142. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
  143. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  144. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  145. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
  146. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
  147. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
  148. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  149. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
  150. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  151. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  152. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  153. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  154. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
  155. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  156. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
  157. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
  158. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  159. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
  160. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
  161. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  162. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  163. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  164. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
  165. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
  166. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  167. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
  168. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  169. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  170. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  171. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  172. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  173. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  174. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  175. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
  176. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  177. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  178. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  179. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  180. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  181. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  182. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  183. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  184. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  185. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  186. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  187. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  188. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  189. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  190. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  191. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  192. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  193. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  194. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  195. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  196. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  197. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  198. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  199. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  200. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
  201. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  202. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
  203. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  204. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  205. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  206. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
  207. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  208. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  209. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  210. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  211. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  212. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  213. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  214. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  215. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  216. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  217. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  218. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  219. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  220. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  221. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  222. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
  223. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
  224. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  225. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  226. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
  227. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
  228. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
  229. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
  230. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  231. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
  232. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  233. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  234. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  235. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  236. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  237. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  238. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  239. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  240. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  241. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  242. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  243. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  244. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  245. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  246. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
  247. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  248. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  249. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  250. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  251. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  252. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  253. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
  254. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  255. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  256. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  257. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
  258. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  259. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  260. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  261. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  262. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  263. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
  264. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  265. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  266. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  267. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
  268. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  269. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  270. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  271. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  272. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  273. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  274. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
  275. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  276. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
  277. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
  278. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
  279. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
  280. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  281. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
  282. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  283. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
  284. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
  285. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
  286. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  287. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
  288. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  289. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  290. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
  291. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  292. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  293. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  294. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  295. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  296. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  297. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  298. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  299. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  300. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  301. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  302. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  303. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  304. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  305. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  306. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  307. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  308. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  309. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  310. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  311. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
  312. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  313. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  314. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  315. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  316. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  317. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  318. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  319. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  320. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  321. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  322. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  323. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  324. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  325. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  326. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  327. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  328. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  329. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  330. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  331. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  332. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  333. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  334. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  335. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  336. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  337. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  338. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  339. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  340. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  341. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  342. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  343. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  344. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  345. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  346. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  347. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
  348. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  349. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  350. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  351. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  352. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  353. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  354. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  355. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  356. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  357. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  358. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  359. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  360. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  361. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  362. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  363. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  364. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  365. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  366. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  367. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  368. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  369. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  370. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  371. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  372. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  373. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  374. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  375. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  376. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  377. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  378. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  379. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  380. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  381. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  382. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  383. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  384. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  385. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  386. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  387. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  388. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  389. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  390. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  391. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  392. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  393. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  394. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  395. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  396. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  397. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  398. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  399. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
  400. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  401. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  402. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  403. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  404. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  405. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  406. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  407. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  408. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  409. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  410. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  411. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  412. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  413. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  414. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  415. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  416. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  417. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  418. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  419. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  420. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  421. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  422. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  423. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  424. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  425. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  426. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  427. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  428. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  429. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  430. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  431. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  432. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  433. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  434. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  435. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  436. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  437. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  438. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  439. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  440. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  441. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  442. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  443. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  444. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  445. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  446. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  447. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  448. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  449. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  450. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  451. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  452. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  453. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  454. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  455. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  456. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  457. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  458. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  459. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  460. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  461. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  462. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
  463. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  464. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  465. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  466. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
  467. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  468. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  469. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  470. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  471. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  472. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  473. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
  474. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  475. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  476. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  477. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  478. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  479. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  480. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  481. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  482. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  483. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  484. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  485. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  486. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  487. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  488. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  489. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  490. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  491. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  492. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  493. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  494. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  495. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  496. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  497. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  498. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  499. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  500. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  501. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  502. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  503. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  504. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  505. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  506. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  507. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  508. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  509. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  510. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  511. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  512. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  513. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  514. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  515. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  516. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  517. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  518. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  519. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
  520. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  521. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  522. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  523. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  524. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
  525. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  526. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  527. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  528. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  529. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  530. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  531. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  532. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  533. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  534. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  535. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  536. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  537. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  538. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  539. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  540. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  541. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  542. package/package.json +1 -1
@@ -86,59 +86,59 @@ function TimeBased() {
86
86
  class $ extends DateTimeUnit() {
87
87
  constructor(nanoseconds) {
88
88
  super();
89
- this.j2b_1 = nanoseconds;
89
+ this.z2a_1 = nanoseconds;
90
90
  // Inline function 'kotlin.require' call
91
- if (!(this.j2b_1 > 0n)) {
92
- var message = 'Unit duration must be positive, but was ' + this.j2b_1.toString() + ' ns.';
91
+ if (!(this.z2a_1 > 0n)) {
92
+ var message = 'Unit duration must be positive, but was ' + this.z2a_1.toString() + ' ns.';
93
93
  throw IllegalArgumentException().t2(toString(message));
94
94
  }
95
- if (modulo(this.j2b_1, 3600000000000n) === 0n) {
96
- this.k2b_1 = 'HOUR';
97
- this.l2b_1 = divide(this.j2b_1, 3600000000000n);
95
+ if (modulo(this.z2a_1, 3600000000000n) === 0n) {
96
+ this.a2b_1 = 'HOUR';
97
+ this.b2b_1 = divide(this.z2a_1, 3600000000000n);
98
98
  } else {
99
- if (modulo(this.j2b_1, 60000000000n) === 0n) {
100
- this.k2b_1 = 'MINUTE';
101
- this.l2b_1 = divide(this.j2b_1, 60000000000n);
99
+ if (modulo(this.z2a_1, 60000000000n) === 0n) {
100
+ this.a2b_1 = 'MINUTE';
101
+ this.b2b_1 = divide(this.z2a_1, 60000000000n);
102
102
  } else {
103
- var tmp0 = this.j2b_1;
103
+ var tmp0 = this.z2a_1;
104
104
  // Inline function 'kotlin.Long.rem' call
105
105
  var other = 1000000000;
106
106
  if (modulo(tmp0, fromInt(other)) === 0n) {
107
- this.k2b_1 = 'SECOND';
107
+ this.a2b_1 = 'SECOND';
108
108
  var tmp = this;
109
- var tmp0_0 = this.j2b_1;
109
+ var tmp0_0 = this.z2a_1;
110
110
  // Inline function 'kotlin.Long.div' call
111
111
  var other_0 = 1000000000;
112
- tmp.l2b_1 = divide(tmp0_0, fromInt(other_0));
112
+ tmp.b2b_1 = divide(tmp0_0, fromInt(other_0));
113
113
  } else {
114
114
  // Inline function 'kotlin.Long.rem' call
115
- var this_0 = this.j2b_1;
115
+ var this_0 = this.z2a_1;
116
116
  if (modulo(this_0, fromInt(1000000)) === 0n) {
117
- this.k2b_1 = 'MILLISECOND';
117
+ this.a2b_1 = 'MILLISECOND';
118
118
  var tmp_0 = this;
119
119
  // Inline function 'kotlin.Long.div' call
120
- var this_1 = this.j2b_1;
121
- tmp_0.l2b_1 = divide(this_1, fromInt(1000000));
120
+ var this_1 = this.z2a_1;
121
+ tmp_0.b2b_1 = divide(this_1, fromInt(1000000));
122
122
  } else {
123
123
  // Inline function 'kotlin.Long.rem' call
124
- var this_2 = this.j2b_1;
124
+ var this_2 = this.z2a_1;
125
125
  if (modulo(this_2, fromInt(1000)) === 0n) {
126
- this.k2b_1 = 'MICROSECOND';
126
+ this.a2b_1 = 'MICROSECOND';
127
127
  var tmp_1 = this;
128
128
  // Inline function 'kotlin.Long.div' call
129
- var this_3 = this.j2b_1;
130
- tmp_1.l2b_1 = divide(this_3, fromInt(1000));
129
+ var this_3 = this.z2a_1;
130
+ tmp_1.b2b_1 = divide(this_3, fromInt(1000));
131
131
  } else {
132
- this.k2b_1 = 'NANOSECOND';
133
- this.l2b_1 = this.j2b_1;
132
+ this.a2b_1 = 'NANOSECOND';
133
+ this.b2b_1 = this.z2a_1;
134
134
  }
135
135
  }
136
136
  }
137
137
  }
138
138
  }
139
139
  }
140
- m2b(scalar) {
141
- return new (TimeBased())(safeMultiply(this.j2b_1, fromInt(scalar)));
140
+ c2b(scalar) {
141
+ return new (TimeBased())(safeMultiply(this.z2a_1, fromInt(scalar)));
142
142
  }
143
143
  equals(other) {
144
144
  var tmp;
@@ -147,7 +147,7 @@ function TimeBased() {
147
147
  } else {
148
148
  var tmp_0;
149
149
  if (other instanceof TimeBased()) {
150
- tmp_0 = this.j2b_1 === other.j2b_1;
150
+ tmp_0 = this.z2a_1 === other.z2a_1;
151
151
  } else {
152
152
  tmp_0 = false;
153
153
  }
@@ -156,10 +156,10 @@ function TimeBased() {
156
156
  return tmp;
157
157
  }
158
158
  hashCode() {
159
- return convertToInt(this.j2b_1) ^ convertToInt(shiftRight(this.j2b_1, 32));
159
+ return convertToInt(this.z2a_1) ^ convertToInt(shiftRight(this.z2a_1, 32));
160
160
  }
161
161
  toString() {
162
- return this.n2b(this.l2b_1, this.k2b_1);
162
+ return this.d2b(this.b2b_1, this.a2b_1);
163
163
  }
164
164
  }
165
165
  initMetadataForClass($, 'TimeBased', VOID, VOID, VOID, VOID, VOID, {0: TimeBasedDateTimeUnitSerializer_getInstance});
@@ -182,15 +182,15 @@ function DayBased() {
182
182
  class $ extends DateBased() {
183
183
  constructor(days) {
184
184
  super();
185
- this.p2b_1 = days;
185
+ this.f2b_1 = days;
186
186
  // Inline function 'kotlin.require' call
187
- if (!(this.p2b_1 > 0)) {
188
- var message = 'Unit duration must be positive, but was ' + this.p2b_1 + ' days.';
187
+ if (!(this.f2b_1 > 0)) {
188
+ var message = 'Unit duration must be positive, but was ' + this.f2b_1 + ' days.';
189
189
  throw IllegalArgumentException().t2(toString(message));
190
190
  }
191
191
  }
192
- m2b(scalar) {
193
- return new (DayBased())(safeMultiply_0(this.p2b_1, scalar));
192
+ c2b(scalar) {
193
+ return new (DayBased())(safeMultiply_0(this.f2b_1, scalar));
194
194
  }
195
195
  equals(other) {
196
196
  var tmp;
@@ -199,7 +199,7 @@ function DayBased() {
199
199
  } else {
200
200
  var tmp_0;
201
201
  if (other instanceof DayBased()) {
202
- tmp_0 = this.p2b_1 === other.p2b_1;
202
+ tmp_0 = this.f2b_1 === other.f2b_1;
203
203
  } else {
204
204
  tmp_0 = false;
205
205
  }
@@ -208,10 +208,10 @@ function DayBased() {
208
208
  return tmp;
209
209
  }
210
210
  hashCode() {
211
- return this.p2b_1 ^ 65536;
211
+ return this.f2b_1 ^ 65536;
212
212
  }
213
213
  toString() {
214
- return (this.p2b_1 % 7 | 0) === 0 ? this.o2b(this.p2b_1 / 7 | 0, 'WEEK') : this.o2b(this.p2b_1, 'DAY');
214
+ return (this.f2b_1 % 7 | 0) === 0 ? this.e2b(this.f2b_1 / 7 | 0, 'WEEK') : this.e2b(this.f2b_1, 'DAY');
215
215
  }
216
216
  }
217
217
  initMetadataForClass($, 'DayBased', VOID, VOID, VOID, VOID, VOID, {0: DayBasedDateTimeUnitSerializer_getInstance});
@@ -225,15 +225,15 @@ function MonthBased() {
225
225
  class $ extends DateBased() {
226
226
  constructor(months) {
227
227
  super();
228
- this.q2b_1 = months;
228
+ this.g2b_1 = months;
229
229
  // Inline function 'kotlin.require' call
230
- if (!(this.q2b_1 > 0)) {
231
- var message = 'Unit duration must be positive, but was ' + this.q2b_1 + ' months.';
230
+ if (!(this.g2b_1 > 0)) {
231
+ var message = 'Unit duration must be positive, but was ' + this.g2b_1 + ' months.';
232
232
  throw IllegalArgumentException().t2(toString(message));
233
233
  }
234
234
  }
235
- m2b(scalar) {
236
- return new (MonthBased())(safeMultiply_0(this.q2b_1, scalar));
235
+ c2b(scalar) {
236
+ return new (MonthBased())(safeMultiply_0(this.g2b_1, scalar));
237
237
  }
238
238
  equals(other) {
239
239
  var tmp;
@@ -242,7 +242,7 @@ function MonthBased() {
242
242
  } else {
243
243
  var tmp_0;
244
244
  if (other instanceof MonthBased()) {
245
- tmp_0 = this.q2b_1 === other.q2b_1;
245
+ tmp_0 = this.g2b_1 === other.g2b_1;
246
246
  } else {
247
247
  tmp_0 = false;
248
248
  }
@@ -251,10 +251,10 @@ function MonthBased() {
251
251
  return tmp;
252
252
  }
253
253
  hashCode() {
254
- return this.q2b_1 ^ 131072;
254
+ return this.g2b_1 ^ 131072;
255
255
  }
256
256
  toString() {
257
- return (this.q2b_1 % 1200 | 0) === 0 ? this.o2b(this.q2b_1 / 1200 | 0, 'CENTURY') : (this.q2b_1 % 12 | 0) === 0 ? this.o2b(this.q2b_1 / 12 | 0, 'YEAR') : (this.q2b_1 % 3 | 0) === 0 ? this.o2b(this.q2b_1 / 3 | 0, 'QUARTER') : this.o2b(this.q2b_1, 'MONTH');
257
+ return (this.g2b_1 % 1200 | 0) === 0 ? this.e2b(this.g2b_1 / 1200 | 0, 'CENTURY') : (this.g2b_1 % 12 | 0) === 0 ? this.e2b(this.g2b_1 / 12 | 0, 'YEAR') : (this.g2b_1 % 3 | 0) === 0 ? this.e2b(this.g2b_1 / 3 | 0, 'QUARTER') : this.e2b(this.g2b_1, 'MONTH');
258
258
  }
259
259
  }
260
260
  initMetadataForClass($, 'MonthBased', VOID, VOID, VOID, VOID, VOID, {0: MonthBasedDateTimeUnitSerializer_getInstance});
@@ -268,18 +268,18 @@ function Companion_3() {
268
268
  class $ {
269
269
  constructor() {
270
270
  Companion_instance_3 = this;
271
- this.r2b_1 = new (TimeBased())(1n);
272
- this.s2b_1 = this.r2b_1.m2b(1000);
273
- this.t2b_1 = this.s2b_1.m2b(1000);
274
- this.u2b_1 = this.t2b_1.m2b(1000);
275
- this.v2b_1 = this.u2b_1.m2b(60);
276
- this.w2b_1 = this.v2b_1.m2b(60);
277
- this.x2b_1 = new (DayBased())(1);
278
- this.y2b_1 = this.x2b_1.m2b(7);
279
- this.z2b_1 = new (MonthBased())(1);
280
- this.a2c_1 = this.z2b_1.m2b(3);
281
- this.b2c_1 = this.z2b_1.m2b(12);
282
- this.c2c_1 = this.b2c_1.m2b(100);
271
+ this.h2b_1 = new (TimeBased())(1n);
272
+ this.i2b_1 = this.h2b_1.c2b(1000);
273
+ this.j2b_1 = this.i2b_1.c2b(1000);
274
+ this.k2b_1 = this.j2b_1.c2b(1000);
275
+ this.l2b_1 = this.k2b_1.c2b(60);
276
+ this.m2b_1 = this.l2b_1.c2b(60);
277
+ this.n2b_1 = new (DayBased())(1);
278
+ this.o2b_1 = this.n2b_1.c2b(7);
279
+ this.p2b_1 = new (MonthBased())(1);
280
+ this.q2b_1 = this.p2b_1.c2b(3);
281
+ this.r2b_1 = this.p2b_1.c2b(12);
282
+ this.s2b_1 = this.r2b_1.c2b(100);
283
283
  }
284
284
  }
285
285
  initMetadataForCompanion($);
@@ -300,10 +300,10 @@ function DateTimeUnit() {
300
300
  constructor() {
301
301
  Companion_getInstance_3();
302
302
  }
303
- o2b(value, unit) {
303
+ e2b(value, unit) {
304
304
  return value === 1 ? unit : '' + value + '-' + unit;
305
305
  }
306
- n2b(value, unit) {
306
+ d2b(value, unit) {
307
307
  return value === 1n ? unit : value.toString() + '-' + unit;
308
308
  }
309
309
  }
@@ -10,85 +10,85 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../kotlin-kotlin-stdlib/kotlin/
10
10
  //region block: pre-declaration
11
11
  //endregion
12
12
  function init_kotlinx_datetime_DateTimeFormatException(_this__u8e3s4) {
13
- captureStack(_this__u8e3s4, _this__u8e3s4.g2c_1);
13
+ captureStack(_this__u8e3s4, _this__u8e3s4.w2b_1);
14
14
  }
15
15
  var DateTimeFormatExceptionClass;
16
16
  function DateTimeFormatException() {
17
17
  if (DateTimeFormatExceptionClass === VOID) {
18
18
  class $ extends IllegalArgumentException() {
19
- static h2c() {
20
- var $this = this.ae();
19
+ static x2b() {
20
+ var $this = this.wd();
21
21
  init_kotlinx_datetime_DateTimeFormatException($this);
22
22
  return $this;
23
23
  }
24
- static i2c(message) {
24
+ static y2b(message) {
25
25
  var $this = this.t2(message);
26
26
  init_kotlinx_datetime_DateTimeFormatException($this);
27
27
  return $this;
28
28
  }
29
- static j2c(message, cause) {
30
- var $this = this.be(message, cause);
29
+ static z2b(message, cause) {
30
+ var $this = this.xd(message, cause);
31
31
  init_kotlinx_datetime_DateTimeFormatException($this);
32
32
  return $this;
33
33
  }
34
34
  }
35
- initMetadataForClass($, 'DateTimeFormatException', $.h2c);
35
+ initMetadataForClass($, 'DateTimeFormatException', $.x2b);
36
36
  DateTimeFormatExceptionClass = $;
37
37
  }
38
38
  return DateTimeFormatExceptionClass;
39
39
  }
40
40
  function init_kotlinx_datetime_IllegalTimeZoneException(_this__u8e3s4) {
41
- captureStack(_this__u8e3s4, _this__u8e3s4.n2c_1);
41
+ captureStack(_this__u8e3s4, _this__u8e3s4.d2c_1);
42
42
  }
43
43
  var IllegalTimeZoneExceptionClass;
44
44
  function IllegalTimeZoneException() {
45
45
  if (IllegalTimeZoneExceptionClass === VOID) {
46
46
  class $ extends IllegalArgumentException() {
47
- static o2c() {
48
- var $this = this.ae();
47
+ static e2c() {
48
+ var $this = this.wd();
49
49
  init_kotlinx_datetime_IllegalTimeZoneException($this);
50
50
  return $this;
51
51
  }
52
- static p2c(message) {
52
+ static f2c(message) {
53
53
  var $this = this.t2(message);
54
54
  init_kotlinx_datetime_IllegalTimeZoneException($this);
55
55
  return $this;
56
56
  }
57
- static q2c(cause) {
58
- var $this = this.ce(cause);
57
+ static g2c(cause) {
58
+ var $this = this.yd(cause);
59
59
  init_kotlinx_datetime_IllegalTimeZoneException($this);
60
60
  return $this;
61
61
  }
62
- static r2c(message, cause) {
63
- var $this = this.be(message, cause);
62
+ static h2c(message, cause) {
63
+ var $this = this.xd(message, cause);
64
64
  init_kotlinx_datetime_IllegalTimeZoneException($this);
65
65
  return $this;
66
66
  }
67
67
  }
68
- initMetadataForClass($, 'IllegalTimeZoneException', $.o2c);
68
+ initMetadataForClass($, 'IllegalTimeZoneException', $.e2c);
69
69
  IllegalTimeZoneExceptionClass = $;
70
70
  }
71
71
  return IllegalTimeZoneExceptionClass;
72
72
  }
73
73
  function init_kotlinx_datetime_DateTimeArithmeticException(_this__u8e3s4) {
74
- captureStack(_this__u8e3s4, _this__u8e3s4.u2c_1);
74
+ captureStack(_this__u8e3s4, _this__u8e3s4.k2c_1);
75
75
  }
76
76
  var DateTimeArithmeticExceptionClass;
77
77
  function DateTimeArithmeticException() {
78
78
  if (DateTimeArithmeticExceptionClass === VOID) {
79
79
  class $ extends RuntimeException() {
80
- static v2c() {
80
+ static l2c() {
81
81
  var $this = this.w3();
82
82
  init_kotlinx_datetime_DateTimeArithmeticException($this);
83
83
  return $this;
84
84
  }
85
- static w2c(message, cause) {
86
- var $this = this.zd(message, cause);
85
+ static m2c(message, cause) {
86
+ var $this = this.vd(message, cause);
87
87
  init_kotlinx_datetime_DateTimeArithmeticException($this);
88
88
  return $this;
89
89
  }
90
90
  }
91
- initMetadataForClass($, 'DateTimeArithmeticException', $.v2c);
91
+ initMetadataForClass($, 'DateTimeArithmeticException', $.l2c);
92
92
  DateTimeArithmeticExceptionClass = $;
93
93
  }
94
94
  return DateTimeArithmeticExceptionClass;
@@ -66,10 +66,10 @@ function plus(_this__u8e3s4, value, unit) {
66
66
  return plus_0(_this__u8e3s4, fromInt(value), unit);
67
67
  }
68
68
  function getIsoDateFormat() {
69
- return Formats_getInstance().y2c();
69
+ return Formats_getInstance().o2c();
70
70
  }
71
71
  function format(_this__u8e3s4, format) {
72
- return format.z2c(_this__u8e3s4);
72
+ return format.p2c(_this__u8e3s4);
73
73
  }
74
74
  function atTime(_this__u8e3s4, time) {
75
75
  return new (LocalDateTime())(_this__u8e3s4, time);
@@ -80,19 +80,19 @@ function Companion() {
80
80
  class $ {
81
81
  constructor() {
82
82
  Companion_instance = this;
83
- this.r2q_1 = new (LocalDate())(-999999999, 1, 1);
84
- this.s2q_1 = new (LocalDate())(999999999, 12, 31);
85
- this.t2q_1 = -365243219162n;
86
- this.u2q_1 = 365241780471n;
83
+ this.h2q_1 = new (LocalDate())(-999999999, 1, 1);
84
+ this.i2q_1 = new (LocalDate())(999999999, 12, 31);
85
+ this.j2q_1 = -365243219162n;
86
+ this.k2q_1 = 365241780471n;
87
87
  }
88
- i2s(input, format) {
89
- return format.up(input);
88
+ y2r(input, format) {
89
+ return format.mp(input);
90
90
  }
91
- v2q(input, format, $super) {
91
+ l2q(input, format, $super) {
92
92
  format = format === VOID ? getIsoDateFormat() : format;
93
- return $super === VOID ? this.i2s(input, format) : $super.i2s.call(this, input, format);
93
+ return $super === VOID ? this.y2r(input, format) : $super.y2r.call(this, input, format);
94
94
  }
95
- j2s(epochDays) {
95
+ z2r(epochDays) {
96
96
  // Inline function 'kotlin.require' call
97
97
  if (!(-365243219162n <= epochDays ? epochDays <= 365241780471n : false)) {
98
98
  var message = 'Invalid date: epoch day ' + epochDays.toString() + ' is outside the boundaries of LocalDate';
@@ -186,9 +186,9 @@ function Formats() {
186
186
  class $ {
187
187
  constructor() {
188
188
  Formats_instance = this;
189
- this.x2c_1 = get_ISO_DATE_BASIC();
189
+ this.n2c_1 = get_ISO_DATE_BASIC();
190
190
  }
191
- y2c() {
191
+ o2c() {
192
192
  return get_ISO_DATE();
193
193
  }
194
194
  }
@@ -215,37 +215,37 @@ function LocalDate() {
215
215
  class $ {
216
216
  constructor(year, month, day) {
217
217
  Companion_getInstance();
218
- this.g2f_1 = year;
219
- this.h2f_1 = day;
220
- this.i2f_1 = month;
218
+ this.w2e_1 = year;
219
+ this.x2e_1 = day;
220
+ this.y2e_1 = month;
221
221
  // Inline function 'kotlin.require' call
222
- if (!isValidYear(this.g2f_1)) {
222
+ if (!isValidYear(this.w2e_1)) {
223
223
  var message = 'Invalid date: the year is out of range';
224
224
  throw IllegalArgumentException().t2(toString(message));
225
225
  }
226
- var containsArg = this.i2f_1;
226
+ var containsArg = this.y2e_1;
227
227
  // Inline function 'kotlin.require' call
228
228
  if (!(1 <= containsArg ? containsArg <= 12 : false)) {
229
- var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.i2f_1;
229
+ var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.y2e_1;
230
230
  throw IllegalArgumentException().t2(toString(message_0));
231
231
  }
232
- var containsArg_0 = this.h2f_1;
232
+ var containsArg_0 = this.x2e_1;
233
233
  // Inline function 'kotlin.require' call
234
234
  if (!(1 <= containsArg_0 ? containsArg_0 <= 31 : false)) {
235
- var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.h2f_1;
235
+ var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.x2e_1;
236
236
  throw IllegalArgumentException().t2(toString(message_1));
237
237
  }
238
- if (this.h2f_1 > 28 && this.h2f_1 > monthLength(this.i2f_1, isLeapYear(this.g2f_1))) {
239
- if (this.h2f_1 === 29) {
240
- throw IllegalArgumentException().t2("Invalid date 'February 29' as '" + this.g2f_1 + "' is not a leap year");
238
+ if (this.x2e_1 > 28 && this.x2e_1 > monthLength(this.y2e_1, isLeapYear(this.w2e_1))) {
239
+ if (this.x2e_1 === 29) {
240
+ throw IllegalArgumentException().t2("Invalid date 'February 29' as '" + this.w2e_1 + "' is not a leap year");
241
241
  } else {
242
- throw IllegalArgumentException().t2("Invalid date '" + Month(month).toString() + ' ' + this.h2f_1 + "'");
242
+ throw IllegalArgumentException().t2("Invalid date '" + Month(month).toString() + ' ' + this.x2e_1 + "'");
243
243
  }
244
244
  }
245
245
  }
246
- k2s() {
247
- var y = fromInt(this.g2f_1);
248
- var m = fromInt(this.i2f_1);
246
+ a2s() {
247
+ var y = fromInt(this.w2e_1);
248
+ var m = fromInt(this.y2e_1);
249
249
  var total = 0n;
250
250
  total = add(total, multiply(numberToLong(365), y));
251
251
  if (y >= 0n) {
@@ -284,12 +284,12 @@ function LocalDate() {
284
284
  total = add(tmp_5, tmp$ret$10);
285
285
  var tmp0 = total;
286
286
  // Inline function 'kotlin.Long.plus' call
287
- var other = this.h2f_1 - 1 | 0;
287
+ var other = this.x2e_1 - 1 | 0;
288
288
  total = add(tmp0, fromInt(other));
289
289
  if (m > 2n) {
290
290
  var _unary__edvuaz = total;
291
291
  total = subtract(_unary__edvuaz, get_ONE());
292
- if (!isLeapYear(this.g2f_1)) {
292
+ if (!isLeapYear(this.w2e_1)) {
293
293
  var _unary__edvuaz_0 = total;
294
294
  total = subtract(_unary__edvuaz_0, get_ONE());
295
295
  }
@@ -298,12 +298,12 @@ function LocalDate() {
298
298
  var this_5 = total;
299
299
  return subtract(this_5, fromInt(719528));
300
300
  }
301
- j2f() {
302
- return Month(this.i2f_1);
301
+ z2e() {
302
+ return Month(this.y2e_1);
303
303
  }
304
- b2f() {
304
+ r2e() {
305
305
  // Inline function 'kotlin.Long.plus' call
306
- var this_0 = this.k2s();
306
+ var this_0 = this.a2s();
307
307
  // Inline function 'kotlin.mod' call
308
308
  var tmp0 = add(this_0, fromInt(3));
309
309
  // Inline function 'kotlin.mod' call
@@ -313,30 +313,30 @@ function LocalDate() {
313
313
  var dow0 = convertToInt(tmp$ret$1);
314
314
  return DayOfWeek(dow0 + 1 | 0);
315
315
  }
316
- d2f() {
317
- return (firstDayOfYear(this.j2f(), isLeapYear(this.g2f_1)) + this.h2f_1 | 0) - 1 | 0;
316
+ t2e() {
317
+ return (firstDayOfYear(this.z2e(), isLeapYear(this.w2e_1)) + this.x2e_1 | 0) - 1 | 0;
318
318
  }
319
- l2s(other) {
320
- var y = compareTo(this.g2f_1, other.g2f_1);
319
+ b2s(other) {
320
+ var y = compareTo(this.w2e_1, other.w2e_1);
321
321
  if (!(y === 0)) {
322
322
  return y;
323
323
  }
324
- var m = compareTo(this.i2f_1, other.i2f_1);
324
+ var m = compareTo(this.y2e_1, other.y2e_1);
325
325
  if (!(m === 0)) {
326
326
  return m;
327
327
  }
328
- return compareTo(this.h2f_1, other.h2f_1);
328
+ return compareTo(this.x2e_1, other.x2e_1);
329
329
  }
330
330
  d(other) {
331
- return this.l2s(other instanceof LocalDate() ? other : THROW_CCE());
331
+ return this.b2s(other instanceof LocalDate() ? other : THROW_CCE());
332
332
  }
333
- m2s(monthsToAdd) {
333
+ c2s(monthsToAdd) {
334
334
  if (monthsToAdd === 0n) {
335
335
  return this;
336
336
  }
337
- var tmp0 = multiply(numberToLong(this.g2f_1), 12n);
337
+ var tmp0 = multiply(numberToLong(this.w2e_1), 12n);
338
338
  // Inline function 'kotlin.Long.plus' call
339
- var other = this.i2f_1 - 1 | 0;
339
+ var other = this.y2e_1 - 1 | 0;
340
340
  var monthCount = add(tmp0, fromInt(other));
341
341
  var calcMonths = safeAdd(monthCount, monthsToAdd);
342
342
  // Inline function 'kotlin.floorDiv' call
@@ -359,10 +359,10 @@ function LocalDate() {
359
359
  var r = modulo(calcMonths, other_1);
360
360
  var tmp$ret$4 = add(r, other_1 & shiftRight((r ^ other_1) & (r | negate(r)), 63));
361
361
  var newMonth = convertToInt(tmp$ret$4) + 1 | 0;
362
- return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.h2f_1);
362
+ return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.x2e_1);
363
363
  }
364
- n2s(daysToAdd) {
365
- return daysToAdd === 0n ? this : Companion_getInstance().j2s(safeAdd(this.k2s(), daysToAdd));
364
+ d2s(daysToAdd) {
365
+ return daysToAdd === 0n ? this : Companion_getInstance().z2r(safeAdd(this.a2s(), daysToAdd));
366
366
  }
367
367
  equals(other) {
368
368
  var tmp;
@@ -371,7 +371,7 @@ function LocalDate() {
371
371
  } else {
372
372
  var tmp_0;
373
373
  if (other instanceof LocalDate()) {
374
- tmp_0 = this.l2s(other) === 0;
374
+ tmp_0 = this.b2s(other) === 0;
375
375
  } else {
376
376
  tmp_0 = false;
377
377
  }
@@ -380,13 +380,13 @@ function LocalDate() {
380
380
  return tmp;
381
381
  }
382
382
  hashCode() {
383
- var yearValue = this.g2f_1;
384
- var monthValue = this.i2f_1;
385
- var dayValue = this.h2f_1;
383
+ var yearValue = this.w2e_1;
384
+ var monthValue = this.y2e_1;
385
+ var dayValue = this.x2e_1;
386
386
  return yearValue & -2048 ^ (((yearValue << 11) + (monthValue << 6) | 0) + dayValue | 0);
387
387
  }
388
388
  toString() {
389
- return format(this, Formats_getInstance().y2c());
389
+ return format(this, Formats_getInstance().o2c());
390
390
  }
391
391
  }
392
392
  initMetadataForClass($, 'LocalDate', VOID, VOID, [Comparable()], VOID, VOID, {0: LocalDateSerializer_getInstance});
@@ -402,10 +402,10 @@ function plus_0(_this__u8e3s4, value, unit) {
402
402
  try {
403
403
  var tmp_0;
404
404
  if (unit instanceof DayBased()) {
405
- tmp_0 = _this__u8e3s4.n2s(safeMultiply(value, fromInt(unit.p2b_1)));
405
+ tmp_0 = _this__u8e3s4.d2s(safeMultiply(value, fromInt(unit.f2b_1)));
406
406
  } else {
407
407
  if (unit instanceof MonthBased()) {
408
- tmp_0 = _this__u8e3s4.m2s(safeMultiply(value, fromInt(unit.q2b_1)));
408
+ tmp_0 = _this__u8e3s4.c2s(safeMultiply(value, fromInt(unit.g2b_1)));
409
409
  } else {
410
410
  noWhenBranchMatchedException();
411
411
  }
@@ -415,11 +415,11 @@ function plus_0(_this__u8e3s4, value, unit) {
415
415
  var tmp_1;
416
416
  if ($p instanceof ArithmeticException()) {
417
417
  var e = $p;
418
- throw DateTimeArithmeticException().w2c('Arithmetic overflow when adding a value to a date', e);
418
+ throw DateTimeArithmeticException().m2c('Arithmetic overflow when adding a value to a date', e);
419
419
  } else {
420
420
  if ($p instanceof IllegalArgumentException()) {
421
421
  var e_0 = $p;
422
- throw DateTimeArithmeticException().w2c('Boundaries of LocalDate exceeded when adding a value', e_0);
422
+ throw DateTimeArithmeticException().m2c('Boundaries of LocalDate exceeded when adding a value', e_0);
423
423
  } else {
424
424
  throw $p;
425
425
  }