@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
@@ -70,26 +70,26 @@ function get_SEGMENT_SIZE() {
70
70
  var SEGMENT_SIZE;
71
71
  function decPermits($this) {
72
72
  $l$loop: while (true) {
73
- var p = $this.y1i_1.atomicfu$getAndDecrement();
74
- if (p > $this.t1i_1)
73
+ var p = $this.q1i_1.atomicfu$getAndDecrement();
74
+ if (p > $this.l1i_1)
75
75
  continue $l$loop;
76
76
  return p;
77
77
  }
78
78
  }
79
79
  function coerceAvailablePermitsAtMaximum($this) {
80
80
  $l$loop_0: while (true) {
81
- var cur = $this.y1i_1.kotlinx$atomicfu$value;
82
- if (cur <= $this.t1i_1)
81
+ var cur = $this.q1i_1.kotlinx$atomicfu$value;
82
+ if (cur <= $this.l1i_1)
83
83
  break $l$loop_0;
84
- if ($this.y1i_1.atomicfu$compareAndSet(cur, $this.t1i_1))
84
+ if ($this.q1i_1.atomicfu$compareAndSet(cur, $this.l1i_1))
85
85
  break $l$loop_0;
86
86
  }
87
87
  }
88
88
  function addAcquireToQueue($this, waiter) {
89
- var curTail = $this.w1i_1.kotlinx$atomicfu$value;
90
- var enqIdx = $this.x1i_1.atomicfu$getAndIncrement$long();
89
+ var curTail = $this.o1i_1.kotlinx$atomicfu$value;
90
+ var enqIdx = $this.p1i_1.atomicfu$getAndIncrement$long();
91
91
  var createNewSegment = createSegment$ref();
92
- var tmp0 = $this.w1i_1;
92
+ var tmp0 = $this.o1i_1;
93
93
  // Inline function 'kotlin.Long.div' call
94
94
  var other = get_SEGMENT_SIZE();
95
95
  var tmp2 = divide(enqIdx, fromInt(other));
@@ -108,23 +108,23 @@ function addAcquireToQueue($this, waiter) {
108
108
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
109
109
  while (true) {
110
110
  var cur = tmp0.kotlinx$atomicfu$value;
111
- if (cur.bz_1 >= tmp2_0.bz_1) {
111
+ if (cur.ty_1 >= tmp2_0.ty_1) {
112
112
  tmp$ret$1 = true;
113
113
  break $l$block_1;
114
114
  }
115
- if (!tmp2_0.h17()) {
115
+ if (!tmp2_0.z16()) {
116
116
  tmp$ret$1 = false;
117
117
  break $l$block_1;
118
118
  }
119
119
  if (tmp0.atomicfu$compareAndSet(cur, tmp2_0)) {
120
- if (cur.i17()) {
121
- cur.d7();
120
+ if (cur.a17()) {
121
+ cur.z6();
122
122
  }
123
123
  tmp$ret$1 = true;
124
124
  break $l$block_1;
125
125
  }
126
- if (tmp2_0.i17()) {
127
- tmp2_0.d7();
126
+ if (tmp2_0.a17()) {
127
+ tmp2_0.z6();
128
128
  }
129
129
  }
130
130
  tmp$ret$1 = Unit_instance;
@@ -143,21 +143,21 @@ function addAcquireToQueue($this, waiter) {
143
143
  var tmp$ret$4 = modulo(enqIdx, fromInt(other_0));
144
144
  var i = convertToInt(tmp$ret$4);
145
145
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
146
- if (segment.l1j_1.atomicfu$get(i).atomicfu$compareAndSet(null, waiter)) {
147
- waiter.i10(segment, i);
146
+ if (segment.d1j_1.atomicfu$get(i).atomicfu$compareAndSet(null, waiter)) {
147
+ waiter.a10(segment, i);
148
148
  return true;
149
149
  }
150
150
  var tmp4 = get_PERMIT();
151
151
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
152
152
  var value = get_TAKEN();
153
- if (segment.l1j_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value)) {
153
+ if (segment.d1j_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value)) {
154
154
  if (isInterface(waiter, CancellableContinuation())) {
155
155
  if (!isInterface(waiter, CancellableContinuation()))
156
156
  THROW_CCE();
157
- waiter.cy(Unit_instance, $this.z1i_1);
157
+ waiter.ux(Unit_instance, $this.r1i_1);
158
158
  } else {
159
159
  if (isInterface(waiter, SelectInstance())) {
160
- waiter.z1h(Unit_instance);
160
+ waiter.r1h(Unit_instance);
161
161
  } else {
162
162
  // Inline function 'kotlin.error' call
163
163
  var message = 'unexpected: ' + toString(waiter);
@@ -170,13 +170,13 @@ function addAcquireToQueue($this, waiter) {
170
170
  return false;
171
171
  }
172
172
  function tryResumeNextFromQueue($this) {
173
- var curHead = $this.u1i_1.kotlinx$atomicfu$value;
174
- var deqIdx = $this.v1i_1.atomicfu$getAndIncrement$long();
173
+ var curHead = $this.m1i_1.kotlinx$atomicfu$value;
174
+ var deqIdx = $this.n1i_1.atomicfu$getAndIncrement$long();
175
175
  // Inline function 'kotlin.Long.div' call
176
176
  var other = get_SEGMENT_SIZE();
177
177
  var id = divide(deqIdx, fromInt(other));
178
178
  var createNewSegment = createSegment$ref_0();
179
- var tmp0 = $this.u1i_1;
179
+ var tmp0 = $this.m1i_1;
180
180
  var tmp$ret$3;
181
181
  $l$block_2: {
182
182
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
@@ -192,23 +192,23 @@ function tryResumeNextFromQueue($this) {
192
192
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
193
193
  while (true) {
194
194
  var cur = tmp0.kotlinx$atomicfu$value;
195
- if (cur.bz_1 >= tmp2.bz_1) {
195
+ if (cur.ty_1 >= tmp2.ty_1) {
196
196
  tmp$ret$1 = true;
197
197
  break $l$block_1;
198
198
  }
199
- if (!tmp2.h17()) {
199
+ if (!tmp2.z16()) {
200
200
  tmp$ret$1 = false;
201
201
  break $l$block_1;
202
202
  }
203
203
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
204
- if (cur.i17()) {
205
- cur.d7();
204
+ if (cur.a17()) {
205
+ cur.z6();
206
206
  }
207
207
  tmp$ret$1 = true;
208
208
  break $l$block_1;
209
209
  }
210
- if (tmp2.i17()) {
211
- tmp2.d7();
210
+ if (tmp2.a17()) {
211
+ tmp2.z6();
212
212
  }
213
213
  }
214
214
  tmp$ret$1 = Unit_instance;
@@ -222,8 +222,8 @@ function tryResumeNextFromQueue($this) {
222
222
  }
223
223
  }
224
224
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(tmp$ret$3);
225
- segment.p17();
226
- if (segment.bz_1 > id)
225
+ segment.h17();
226
+ if (segment.ty_1 > id)
227
227
  return false;
228
228
  // Inline function 'kotlin.Long.rem' call
229
229
  var other_0 = get_SEGMENT_SIZE();
@@ -231,7 +231,7 @@ function tryResumeNextFromQueue($this) {
231
231
  var i = convertToInt(tmp$ret$4);
232
232
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.getAndSet' call
233
233
  var value = get_PERMIT();
234
- var cellState = segment.l1j_1.atomicfu$get(i).atomicfu$getAndSet(value);
234
+ var cellState = segment.d1j_1.atomicfu$get(i).atomicfu$getAndSet(value);
235
235
  if (cellState === null) {
236
236
  // Inline function 'kotlin.repeat' call
237
237
  var times = get_MAX_SPIN_CYCLES();
@@ -241,14 +241,14 @@ function tryResumeNextFromQueue($this) {
241
241
  var index = inductionVariable;
242
242
  inductionVariable = inductionVariable + 1 | 0;
243
243
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.get' call
244
- if (segment.l1j_1.atomicfu$get(i).kotlinx$atomicfu$value === get_TAKEN())
244
+ if (segment.d1j_1.atomicfu$get(i).kotlinx$atomicfu$value === get_TAKEN())
245
245
  return true;
246
246
  }
247
247
  while (inductionVariable < times);
248
248
  var tmp4 = get_PERMIT();
249
249
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
250
250
  var value_0 = get_BROKEN();
251
- return !segment.l1j_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value_0);
251
+ return !segment.d1j_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value_0);
252
252
  } else if (cellState === get_CANCELLED())
253
253
  return false;
254
254
  else
@@ -259,10 +259,10 @@ function tryResumeAcquire($this, _this__u8e3s4) {
259
259
  if (isInterface(_this__u8e3s4, CancellableContinuation())) {
260
260
  if (!isInterface(_this__u8e3s4, CancellableContinuation()))
261
261
  THROW_CCE();
262
- var token = _this__u8e3s4.yx(Unit_instance, null, $this.z1i_1);
262
+ var token = _this__u8e3s4.qx(Unit_instance, null, $this.r1i_1);
263
263
  var tmp_0;
264
264
  if (!(token == null)) {
265
- _this__u8e3s4.zx(token);
265
+ _this__u8e3s4.rx(token);
266
266
  tmp_0 = true;
267
267
  } else {
268
268
  tmp_0 = false;
@@ -270,7 +270,7 @@ function tryResumeAcquire($this, _this__u8e3s4) {
270
270
  tmp = tmp_0;
271
271
  } else {
272
272
  if (isInterface(_this__u8e3s4, SelectInstance())) {
273
- tmp = _this__u8e3s4.f18($this, Unit_instance);
273
+ tmp = _this__u8e3s4.x17($this, Unit_instance);
274
274
  } else {
275
275
  var message = 'unexpected: ' + toString(_this__u8e3s4);
276
276
  throw IllegalStateException().o(toString(message));
@@ -280,7 +280,7 @@ function tryResumeAcquire($this, _this__u8e3s4) {
280
280
  }
281
281
  function SemaphoreAndMutexImpl$onCancellationRelease$lambda(this$0) {
282
282
  return (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) => {
283
- this$0.g1j();
283
+ this$0.y1i();
284
284
  return Unit_instance;
285
285
  };
286
286
  }
@@ -299,41 +299,41 @@ function SemaphoreAndMutexImpl() {
299
299
  if (SemaphoreAndMutexImplClass === VOID) {
300
300
  class $ {
301
301
  constructor(permits, acquiredPermits) {
302
- this.t1i_1 = permits;
303
- this.v1i_1 = atomic$long$1(0n);
304
- this.x1i_1 = atomic$long$1(0n);
302
+ this.l1i_1 = permits;
303
+ this.n1i_1 = atomic$long$1(0n);
304
+ this.p1i_1 = atomic$long$1(0n);
305
305
  // Inline function 'kotlin.require' call
306
- if (!(this.t1i_1 > 0)) {
307
- var message = 'Semaphore should have at least 1 permit, but had ' + this.t1i_1;
306
+ if (!(this.l1i_1 > 0)) {
307
+ var message = 'Semaphore should have at least 1 permit, but had ' + this.l1i_1;
308
308
  throw IllegalArgumentException().t2(toString(message));
309
309
  }
310
310
  // Inline function 'kotlin.require' call
311
- if (!(0 <= acquiredPermits ? acquiredPermits <= this.t1i_1 : false)) {
312
- var message_0 = 'The number of acquired permits should be in 0..' + this.t1i_1;
311
+ if (!(0 <= acquiredPermits ? acquiredPermits <= this.l1i_1 : false)) {
312
+ var message_0 = 'The number of acquired permits should be in 0..' + this.l1i_1;
313
313
  throw IllegalArgumentException().t2(toString(message_0));
314
314
  }
315
315
  var s = new (SemaphoreSegment())(0n, null, 2);
316
- this.u1i_1 = atomic$ref$1(s);
317
- this.w1i_1 = atomic$ref$1(s);
318
- this.y1i_1 = atomic$int$1(this.t1i_1 - acquiredPermits | 0);
316
+ this.m1i_1 = atomic$ref$1(s);
317
+ this.o1i_1 = atomic$ref$1(s);
318
+ this.q1i_1 = atomic$int$1(this.l1i_1 - acquiredPermits | 0);
319
319
  var tmp = this;
320
- tmp.z1i_1 = SemaphoreAndMutexImpl$onCancellationRelease$lambda(this);
320
+ tmp.r1i_1 = SemaphoreAndMutexImpl$onCancellationRelease$lambda(this);
321
321
  }
322
- e1j() {
322
+ w1i() {
323
323
  // Inline function 'kotlin.math.max' call
324
- var a = this.y1i_1.kotlinx$atomicfu$value;
324
+ var a = this.q1i_1.kotlinx$atomicfu$value;
325
325
  return Math.max(a, 0);
326
326
  }
327
- a1j() {
327
+ s1i() {
328
328
  $l$loop: while (true) {
329
- var p = this.y1i_1.kotlinx$atomicfu$value;
330
- if (p > this.t1i_1) {
329
+ var p = this.q1i_1.kotlinx$atomicfu$value;
330
+ if (p > this.l1i_1) {
331
331
  coerceAvailablePermitsAtMaximum(this);
332
332
  continue $l$loop;
333
333
  }
334
334
  if (p <= 0)
335
335
  return false;
336
- if (this.y1i_1.atomicfu$compareAndSet(p, p - 1 | 0))
336
+ if (this.q1i_1.atomicfu$compareAndSet(p, p - 1 | 0))
337
337
  return true;
338
338
  }
339
339
  }
@@ -344,7 +344,7 @@ function SemaphoreAndMutexImpl() {
344
344
  while (true) {
345
345
  var p = decPermits(this);
346
346
  if (p > 0) {
347
- waiter.cy(Unit_instance, this.z1i_1);
347
+ waiter.ux(Unit_instance, this.r1i_1);
348
348
  tmp$ret$1 = Unit_instance;
349
349
  break $l$block_0;
350
350
  }
@@ -357,13 +357,13 @@ function SemaphoreAndMutexImpl() {
357
357
  }
358
358
  return tmp$ret$1;
359
359
  }
360
- g1j() {
360
+ y1i() {
361
361
  while (true) {
362
- var p = this.y1i_1.atomicfu$getAndIncrement();
363
- if (p >= this.t1i_1) {
362
+ var p = this.q1i_1.atomicfu$getAndIncrement();
363
+ if (p >= this.l1i_1) {
364
364
  coerceAvailablePermitsAtMaximum(this);
365
365
  // Inline function 'kotlin.error' call
366
- var message = 'The number of released permits cannot be greater than ' + this.t1i_1;
366
+ var message = 'The number of released permits cannot be greater than ' + this.l1i_1;
367
367
  throw IllegalStateException().o(toString(message));
368
368
  }
369
369
  if (p >= 0)
@@ -384,19 +384,19 @@ function SemaphoreSegment() {
384
384
  class $ extends Segment() {
385
385
  constructor(id, prev, pointers) {
386
386
  super(id, prev, pointers);
387
- this.l1j_1 = atomicfu$AtomicRefArray$ofNulls(get_SEGMENT_SIZE());
387
+ this.d1j_1 = atomicfu$AtomicRefArray$ofNulls(get_SEGMENT_SIZE());
388
388
  }
389
- i16() {
389
+ a16() {
390
390
  return get_SEGMENT_SIZE();
391
391
  }
392
- dz(index, cause, context) {
392
+ vy(index, cause, context) {
393
393
  // Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.set' call
394
394
  var value = get_CANCELLED();
395
- this.l1j_1.atomicfu$get(index).kotlinx$atomicfu$value = value;
396
- this.f17();
395
+ this.d1j_1.atomicfu$get(index).kotlinx$atomicfu$value = value;
396
+ this.x16();
397
397
  }
398
398
  toString() {
399
- return 'SemaphoreSegment[id=' + this.bz_1.toString() + ', hashCode=' + hashCode(this) + ']';
399
+ return 'SemaphoreSegment[id=' + this.ty_1.toString() + ', hashCode=' + hashCode(this) + ']';
400
400
  }
401
401
  }
402
402
  initMetadataForClass($, 'SemaphoreSegment');
@@ -36,11 +36,11 @@ function Companion() {
36
36
  class $ {
37
37
  constructor() {
38
38
  Companion_instance = this;
39
- this.b27_1 = ByteString().f27(new Int8Array(0), null);
40
- this.c27_1 = toCharArray('0123456789abcdef');
39
+ this.r26_1 = ByteString().v26(new Int8Array(0), null);
40
+ this.s26_1 = toCharArray('0123456789abcdef');
41
41
  }
42
- g27(byteArray) {
43
- return ByteString().f27(byteArray, null);
42
+ w26(byteArray) {
43
+ return ByteString().v26(byteArray, null);
44
44
  }
45
45
  }
46
46
  initMetadataForCompanion($);
@@ -58,21 +58,21 @@ var ByteStringClass;
58
58
  function ByteString() {
59
59
  if (ByteStringClass === VOID) {
60
60
  class $ {
61
- static f27(data, dummy) {
61
+ static v26(data, dummy) {
62
62
  Companion_getInstance();
63
63
  var $this = createThis(this);
64
- $this.d27_1 = data;
65
- $this.e27_1 = 0;
64
+ $this.t26_1 = data;
65
+ $this.u26_1 = 0;
66
66
  return $this;
67
67
  }
68
- static h27(data, startIndex, endIndex) {
68
+ static x26(data, startIndex, endIndex) {
69
69
  Companion_getInstance();
70
70
  startIndex = startIndex === VOID ? 0 : startIndex;
71
71
  endIndex = endIndex === VOID ? data.length : endIndex;
72
- return this.f27(copyOfRange(data, startIndex, endIndex), null);
72
+ return this.v26(copyOfRange(data, startIndex, endIndex), null);
73
73
  }
74
74
  u2() {
75
- return this.d27_1.length;
75
+ return this.t26_1.length;
76
76
  }
77
77
  equals(other) {
78
78
  if (this === other)
@@ -81,43 +81,43 @@ function ByteString() {
81
81
  return false;
82
82
  if (!(other instanceof ByteString()))
83
83
  THROW_CCE();
84
- if (!(other.d27_1.length === this.d27_1.length))
84
+ if (!(other.t26_1.length === this.t26_1.length))
85
85
  return false;
86
- if (!(other.e27_1 === 0) && !(this.e27_1 === 0) && !(other.e27_1 === this.e27_1))
86
+ if (!(other.u26_1 === 0) && !(this.u26_1 === 0) && !(other.u26_1 === this.u26_1))
87
87
  return false;
88
- return contentEquals(this.d27_1, other.d27_1);
88
+ return contentEquals(this.t26_1, other.t26_1);
89
89
  }
90
90
  hashCode() {
91
- var hc = this.e27_1;
91
+ var hc = this.u26_1;
92
92
  if (hc === 0) {
93
- hc = contentHashCode(this.d27_1);
94
- this.e27_1 = hc;
93
+ hc = contentHashCode(this.t26_1);
94
+ this.u26_1 = hc;
95
95
  }
96
96
  return hc;
97
97
  }
98
98
  v2(index) {
99
99
  if (index < 0 || index >= this.u2())
100
- throw IndexOutOfBoundsException().ne('index (' + index + ') is out of byte string bounds: [0..' + this.u2() + ')');
101
- return this.d27_1[index];
100
+ throw IndexOutOfBoundsException().je('index (' + index + ') is out of byte string bounds: [0..' + this.u2() + ')');
101
+ return this.t26_1[index];
102
102
  }
103
- i27(startIndex, endIndex) {
103
+ y26(startIndex, endIndex) {
104
104
  var tmp;
105
105
  if (startIndex === endIndex) {
106
- tmp = Companion_getInstance().b27_1;
106
+ tmp = Companion_getInstance().r26_1;
107
107
  } else {
108
- tmp = ByteString().h27(this.d27_1, startIndex, endIndex);
108
+ tmp = ByteString().x26(this.t26_1, startIndex, endIndex);
109
109
  }
110
110
  return tmp;
111
111
  }
112
- j27(startIndex, endIndex, $super) {
112
+ z26(startIndex, endIndex, $super) {
113
113
  endIndex = endIndex === VOID ? this.u2() : endIndex;
114
- return $super === VOID ? this.i27(startIndex, endIndex) : $super.i27.call(this, startIndex, endIndex);
114
+ return $super === VOID ? this.y26(startIndex, endIndex) : $super.y26.call(this, startIndex, endIndex);
115
115
  }
116
- k27(other) {
116
+ a27(other) {
117
117
  if (other === this)
118
118
  return 0;
119
- var localData = this.d27_1;
120
- var otherData = other.d27_1;
119
+ var localData = this.t26_1;
120
+ var otherData = other.t26_1;
121
121
  var inductionVariable = 0;
122
122
  var tmp0 = this.u2();
123
123
  // Inline function 'kotlin.math.min' call
@@ -146,7 +146,7 @@ function ByteString() {
146
146
  return compareTo(this.u2(), other.u2());
147
147
  }
148
148
  d(other) {
149
- return this.k27(other instanceof ByteString() ? other : THROW_CCE());
149
+ return this.a27(other instanceof ByteString() ? other : THROW_CCE());
150
150
  }
151
151
  toString() {
152
152
  if (isEmpty(this)) {
@@ -155,11 +155,11 @@ function ByteString() {
155
155
  var sizeStr = this.u2().toString();
156
156
  var len = (22 + sizeStr.length | 0) + imul(this.u2(), 2) | 0;
157
157
  // Inline function 'kotlin.with' call
158
- var $this$with = StringBuilder().nc(len);
158
+ var $this$with = StringBuilder().jc(len);
159
159
  $this$with.n1('ByteString(size=');
160
160
  $this$with.n1(sizeStr);
161
161
  $this$with.n1(' hex=');
162
- var localData = this.d27_1;
162
+ var localData = this.t26_1;
163
163
  var inductionVariable = 0;
164
164
  var last = this.u2();
165
165
  if (inductionVariable < last)
@@ -167,14 +167,14 @@ function ByteString() {
167
167
  var i = inductionVariable;
168
168
  inductionVariable = inductionVariable + 1 | 0;
169
169
  var b = localData[i];
170
- $this$with.p1(Companion_getInstance().c27_1[(b >>> 4 | 0) & 15]);
171
- $this$with.p1(Companion_getInstance().c27_1[b & 15]);
170
+ $this$with.p1(Companion_getInstance().s26_1[(b >>> 4 | 0) & 15]);
171
+ $this$with.p1(Companion_getInstance().s26_1[b & 15]);
172
172
  }
173
173
  while (inductionVariable < last);
174
174
  return $this$with.p1(_Char___init__impl__6a9atx(41)).toString();
175
175
  }
176
- l27() {
177
- return this.d27_1;
176
+ b27() {
177
+ return this.t26_1;
178
178
  }
179
179
  }
180
180
  initMetadataForClass($, 'ByteString', VOID, VOID, [Comparable()]);
@@ -186,14 +186,14 @@ function ByteString_0(bytes) {
186
186
  var tmp;
187
187
  // Inline function 'kotlin.collections.isEmpty' call
188
188
  if (bytes.length === 0) {
189
- tmp = Companion_getInstance().b27_1;
189
+ tmp = Companion_getInstance().r26_1;
190
190
  } else {
191
- tmp = Companion_getInstance().g27(bytes);
191
+ tmp = Companion_getInstance().w26(bytes);
192
192
  }
193
193
  return tmp;
194
194
  }
195
195
  function decodeToString_0(_this__u8e3s4) {
196
- return decodeToString(_this__u8e3s4.l27());
196
+ return decodeToString(_this__u8e3s4.b27());
197
197
  }
198
198
  function isEmpty(_this__u8e3s4) {
199
199
  return _this__u8e3s4.u2() === 0;
@@ -9,8 +9,8 @@ var UnsafeByteStringOperationsClass;
9
9
  function UnsafeByteStringOperations() {
10
10
  if (UnsafeByteStringOperationsClass === VOID) {
11
11
  class $ {
12
- m27(array) {
13
- return Companion_getInstance().g27(array);
12
+ c27(array) {
13
+ return Companion_getInstance().w26(array);
14
14
  }
15
15
  }
16
16
  initMetadataForObject($, 'UnsafeByteStringOperations');
@@ -7,52 +7,52 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../kotlin-kotlin-stdlib/kotlin/
7
7
  //region block: pre-declaration
8
8
  //endregion
9
9
  function init_kotlinx_io_IOException(_this__u8e3s4) {
10
- captureStack(_this__u8e3s4, _this__u8e3s4.e2b_1);
10
+ captureStack(_this__u8e3s4, _this__u8e3s4.u2a_1);
11
11
  }
12
12
  var IOExceptionClass;
13
13
  function IOException() {
14
14
  if (IOExceptionClass === VOID) {
15
15
  class $ extends Exception() {
16
- static f2b() {
17
- var $this = this.fe();
16
+ static v2a() {
17
+ var $this = this.be();
18
18
  init_kotlinx_io_IOException($this);
19
19
  return $this;
20
20
  }
21
- static g2b(message) {
22
- var $this = this.ge(message);
21
+ static w2a(message) {
22
+ var $this = this.ce(message);
23
23
  init_kotlinx_io_IOException($this);
24
24
  return $this;
25
25
  }
26
- static h2b(message, cause) {
27
- var $this = this.he(message, cause);
26
+ static x2a(message, cause) {
27
+ var $this = this.de(message, cause);
28
28
  init_kotlinx_io_IOException($this);
29
29
  return $this;
30
30
  }
31
31
  }
32
- initMetadataForClass($, 'IOException', $.f2b);
32
+ initMetadataForClass($, 'IOException', $.v2a);
33
33
  IOExceptionClass = $;
34
34
  }
35
35
  return IOExceptionClass;
36
36
  }
37
37
  function init_kotlinx_io_EOFException(_this__u8e3s4) {
38
- captureStack(_this__u8e3s4, _this__u8e3s4.s27_1);
38
+ captureStack(_this__u8e3s4, _this__u8e3s4.i27_1);
39
39
  }
40
40
  var EOFExceptionClass;
41
41
  function EOFException() {
42
42
  if (EOFExceptionClass === VOID) {
43
43
  class $ extends IOException() {
44
- static i2b() {
45
- var $this = this.f2b();
44
+ static y2a() {
45
+ var $this = this.v2a();
46
46
  init_kotlinx_io_EOFException($this);
47
47
  return $this;
48
48
  }
49
- static t27(message) {
50
- var $this = this.g2b(message);
49
+ static j27(message) {
50
+ var $this = this.w2a(message);
51
51
  init_kotlinx_io_EOFException($this);
52
52
  return $this;
53
53
  }
54
54
  }
55
- initMetadataForClass($, 'EOFException', $.i2b);
55
+ initMetadataForClass($, 'EOFException', $.y2a);
56
56
  EOFExceptionClass = $;
57
57
  }
58
58
  return EOFExceptionClass;
@@ -17,7 +17,7 @@ var HEX_DIGIT_CHARS;
17
17
  function checkBounds(size, startIndex, endIndex) {
18
18
  _init_properties__Util_kt__g8tcl9();
19
19
  if (startIndex < 0n || endIndex > size) {
20
- throw IndexOutOfBoundsException().ne('startIndex (' + startIndex.toString() + ') and endIndex (' + endIndex.toString() + ') are not within the range [0..size(' + size.toString() + '))');
20
+ throw IndexOutOfBoundsException().je('startIndex (' + startIndex.toString() + ') and endIndex (' + endIndex.toString() + ') are not within the range [0..size(' + size.toString() + '))');
21
21
  }
22
22
  if (startIndex > endIndex) {
23
23
  throw IllegalArgumentException().t2('startIndex (' + startIndex.toString() + ') > endIndex (' + endIndex.toString() + ')');