@attocash/commons-test 6.2.0 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (525) 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 +104 -104
  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 +9 -9
  70. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
  71. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
  72. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
  73. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  74. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
  75. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
  76. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  77. package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
  78. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  79. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  80. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
  81. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
  82. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
  83. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
  84. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
  85. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  86. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
  87. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
  88. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
  89. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
  90. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
  91. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
  92. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  93. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
  94. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
  95. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
  96. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  97. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
  98. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
  99. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
  100. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
  101. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
  102. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
  103. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
  104. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
  105. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
  106. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
  107. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  108. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
  109. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  110. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
  111. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  112. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  113. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  114. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  115. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  116. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  117. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  118. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  119. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
  120. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  121. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  122. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  123. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  124. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  125. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  126. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  127. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  128. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  129. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  130. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  131. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  132. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  133. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  134. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
  135. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  136. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  137. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  138. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  139. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  140. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
  141. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  142. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
  143. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  144. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  145. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  146. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  147. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
  148. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  149. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
  150. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  151. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  152. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
  153. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
  154. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
  155. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  156. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
  157. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  158. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  159. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  160. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  161. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
  162. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  163. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
  164. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
  165. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  166. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
  167. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  168. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
  169. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  170. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  171. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  172. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
  173. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  174. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
  175. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  176. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
  177. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  178. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  179. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  180. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  181. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  182. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  183. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  184. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
  185. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  186. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  187. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  188. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  189. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  190. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  191. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  192. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  193. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  194. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  195. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  196. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  197. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  198. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  199. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  200. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  201. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  202. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  203. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  204. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  205. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  206. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  207. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  208. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  209. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
  210. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  211. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
  212. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  213. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  214. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  215. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
  216. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  217. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  218. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  219. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  220. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  221. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  222. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  223. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  224. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  225. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  226. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  227. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  228. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  229. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  230. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  231. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  232. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  233. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  234. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  235. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  236. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  237. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
  238. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  239. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  240. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
  241. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  242. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  243. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  244. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  245. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
  246. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  247. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  248. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  249. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
  250. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  251. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  252. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  253. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
  254. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
  255. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  256. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
  257. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
  258. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  259. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
  260. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  261. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  262. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  263. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
  264. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  265. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
  266. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
  267. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  268. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
  269. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  270. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
  271. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  272. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
  273. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  274. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  275. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
  276. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  277. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  278. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  279. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  280. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  281. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  282. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  283. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  284. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  285. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
  286. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  287. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
  288. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
  289. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  290. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  291. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  292. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  293. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  294. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  295. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
  296. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  297. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  298. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  299. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  300. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  301. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  302. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  303. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  304. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  305. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  306. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  307. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  308. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  309. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  310. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  311. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  312. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  313. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  314. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  315. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  316. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  317. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  318. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  319. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  320. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  321. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  322. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  323. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  324. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  325. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  326. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  327. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  328. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  329. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  330. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  331. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  332. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  333. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
  334. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  335. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  336. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  337. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  338. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  339. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  340. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  341. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  342. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  343. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  344. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  345. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  346. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  347. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  348. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  349. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  350. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  351. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  352. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  353. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  354. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  355. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  356. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  357. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  358. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  359. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  360. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  361. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  362. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  363. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  364. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  365. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  366. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  367. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  368. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  369. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  370. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  371. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  372. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  373. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  374. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  375. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  376. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  377. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  378. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  379. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  380. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  381. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  382. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  383. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  384. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  385. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
  386. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  387. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  388. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  389. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  390. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  391. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  392. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  393. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  394. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  395. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  396. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  397. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  398. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  399. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  400. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  401. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  402. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  403. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  404. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  405. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  406. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  407. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  408. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  409. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  410. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  411. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  412. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  413. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  414. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  415. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  416. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  417. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  418. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  419. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  420. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  421. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  422. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  423. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  424. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  425. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  426. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  427. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  428. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  429. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  430. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  431. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  432. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  433. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  434. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  435. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  436. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  437. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  438. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  439. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  440. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  441. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  442. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  443. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  444. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  445. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  446. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
  447. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  448. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  449. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  450. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
  451. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  452. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  453. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  454. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  455. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  456. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  457. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
  458. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  459. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  460. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  461. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  462. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  463. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  464. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  465. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  466. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  467. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  468. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  469. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  470. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  471. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  472. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  473. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  474. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  475. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  476. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  477. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  478. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  479. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  480. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  481. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  482. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  483. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  484. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  485. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  486. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  487. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  488. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  489. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  490. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  491. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  492. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  493. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  494. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  495. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  496. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  497. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  498. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  499. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  500. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  501. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  502. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
  503. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  504. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  505. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  506. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  507. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
  508. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  509. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  510. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  511. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  512. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  513. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  514. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  515. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  516. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  517. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  518. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  519. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  520. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  521. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  522. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  523. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  524. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  525. package/package.json +1 -1
@@ -45,37 +45,37 @@ var imul = Math.imul;
45
45
  //region block: pre-declaration
46
46
  //endregion
47
47
  function throwEof($this, byteCount) {
48
- throw EOFException().w2h("Buffer doesn't contain required number of bytes (size: " + $this.u2().toString() + ', required: ' + byteCount.toString() + ')');
48
+ throw EOFException().k2h("Buffer doesn't contain required number of bytes (size: " + $this.u2().toString() + ', required: ' + byteCount.toString() + ')');
49
49
  }
50
50
  var BufferClass;
51
51
  function Buffer() {
52
52
  if (BufferClass === VOID) {
53
53
  class $ {
54
54
  constructor() {
55
- this.q2h_1 = null;
56
- this.r2h_1 = null;
57
- this.s2h_1 = 0n;
55
+ this.e2h_1 = null;
56
+ this.f2h_1 = null;
57
+ this.g2h_1 = 0n;
58
58
  }
59
59
  u2() {
60
- return this.s2h_1;
60
+ return this.g2h_1;
61
61
  }
62
- x2h() {
62
+ l2h() {
63
63
  return this;
64
64
  }
65
- y2h() {
65
+ m2h() {
66
66
  return this.u2() === 0n;
67
67
  }
68
- z2h(byteCount) {
68
+ n2h(byteCount) {
69
69
  // Inline function 'kotlin.require' call
70
70
  if (!(byteCount >= 0n)) {
71
71
  var message = 'byteCount: ' + byteCount.toString();
72
72
  throw IllegalArgumentException().s2(toString(message));
73
73
  }
74
74
  if (this.u2() < byteCount) {
75
- throw EOFException().w2h("Buffer doesn't contain required number of bytes (size: " + this.u2().toString() + ', required: ' + byteCount.toString() + ')');
75
+ throw EOFException().k2h("Buffer doesn't contain required number of bytes (size: " + this.u2().toString() + ', required: ' + byteCount.toString() + ')');
76
76
  }
77
77
  }
78
- a2i(byteCount) {
78
+ o2h(byteCount) {
79
79
  // Inline function 'kotlin.require' call
80
80
  if (!(byteCount >= 0n)) {
81
81
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
@@ -83,8 +83,8 @@ function Buffer() {
83
83
  }
84
84
  return this.u2() >= byteCount;
85
85
  }
86
- b2i() {
87
- var tmp0_elvis_lhs = this.q2h_1;
86
+ p2h() {
87
+ var tmp0_elvis_lhs = this.e2h_1;
88
88
  var tmp;
89
89
  if (tmp0_elvis_lhs == null) {
90
90
  throwEof(this, 1n);
@@ -94,18 +94,18 @@ function Buffer() {
94
94
  var segment = tmp;
95
95
  var segmentSize = segment.u2();
96
96
  if (segmentSize === 0) {
97
- this.j2i();
98
- return this.b2i();
97
+ this.x2h();
98
+ return this.p2h();
99
99
  }
100
- var v = segment.k2i();
101
- this.s2h_1 = subtract(this.s2h_1, 1n);
100
+ var v = segment.y2h();
101
+ this.g2h_1 = subtract(this.g2h_1, 1n);
102
102
  if (segmentSize === 1) {
103
- this.j2i();
103
+ this.x2h();
104
104
  }
105
105
  return v;
106
106
  }
107
- l2i() {
108
- var tmp0_elvis_lhs = this.q2h_1;
107
+ z2h() {
108
+ var tmp0_elvis_lhs = this.e2h_1;
109
109
  var tmp;
110
110
  if (tmp0_elvis_lhs == null) {
111
111
  throwEof(this, 2n);
@@ -115,26 +115,26 @@ function Buffer() {
115
115
  var segment = tmp;
116
116
  var segmentSize = segment.u2();
117
117
  if (segmentSize < 2) {
118
- this.z2h(2n);
118
+ this.n2h(2n);
119
119
  if (segmentSize === 0) {
120
- this.j2i();
121
- return this.l2i();
120
+ this.x2h();
121
+ return this.z2h();
122
122
  }
123
123
  // Inline function 'kotlinx.io.and' call
124
- var tmp_0 = (this.b2i() & 255) << 8;
124
+ var tmp_0 = (this.p2h() & 255) << 8;
125
125
  // Inline function 'kotlinx.io.and' call
126
- var tmp$ret$1 = this.b2i() & 255;
126
+ var tmp$ret$1 = this.p2h() & 255;
127
127
  return toShort(tmp_0 | tmp$ret$1);
128
128
  }
129
- var v = segment.m2i();
130
- this.s2h_1 = subtract(this.s2h_1, 2n);
129
+ var v = segment.a2i();
130
+ this.g2h_1 = subtract(this.g2h_1, 2n);
131
131
  if (segmentSize === 2) {
132
- this.j2i();
132
+ this.x2h();
133
133
  }
134
134
  return v;
135
135
  }
136
- n2i() {
137
- var tmp0_elvis_lhs = this.q2h_1;
136
+ b2i() {
137
+ var tmp0_elvis_lhs = this.e2h_1;
138
138
  var tmp;
139
139
  if (tmp0_elvis_lhs == null) {
140
140
  throwEof(this, 4n);
@@ -144,22 +144,22 @@ function Buffer() {
144
144
  var segment = tmp;
145
145
  var segmentSize = segment.u2();
146
146
  if (segmentSize < 4) {
147
- this.z2h(4n);
147
+ this.n2h(4n);
148
148
  if (segmentSize === 0) {
149
- this.j2i();
150
- return this.n2i();
149
+ this.x2h();
150
+ return this.b2i();
151
151
  }
152
- return this.l2i() << 16 | this.l2i() & 65535;
152
+ return this.z2h() << 16 | this.z2h() & 65535;
153
153
  }
154
- var v = segment.o2i();
155
- this.s2h_1 = subtract(this.s2h_1, 4n);
154
+ var v = segment.c2i();
155
+ this.g2h_1 = subtract(this.g2h_1, 4n);
156
156
  if (segmentSize === 4) {
157
- this.j2i();
157
+ this.x2h();
158
158
  }
159
159
  return v;
160
160
  }
161
- p2i() {
162
- var tmp0_elvis_lhs = this.q2h_1;
161
+ d2i() {
162
+ var tmp0_elvis_lhs = this.e2h_1;
163
163
  var tmp;
164
164
  if (tmp0_elvis_lhs == null) {
165
165
  throwEof(this, 8n);
@@ -169,115 +169,115 @@ function Buffer() {
169
169
  var segment = tmp;
170
170
  var segmentSize = segment.u2();
171
171
  if (segmentSize < 8) {
172
- this.z2h(8n);
172
+ this.n2h(8n);
173
173
  if (segmentSize === 0) {
174
- this.j2i();
175
- return this.p2i();
174
+ this.x2h();
175
+ return this.d2i();
176
176
  }
177
- return shiftLeft(fromInt(this.n2i()), 32) | fromInt(this.n2i()) & 4294967295n;
177
+ return shiftLeft(fromInt(this.b2i()), 32) | fromInt(this.b2i()) & 4294967295n;
178
178
  }
179
- var v = segment.q2i();
180
- this.s2h_1 = subtract(this.s2h_1, 8n);
179
+ var v = segment.e2i();
180
+ this.g2h_1 = subtract(this.g2h_1, 8n);
181
181
  if (segmentSize === 8) {
182
- this.j2i();
182
+ this.x2h();
183
183
  }
184
184
  return v;
185
185
  }
186
- r2i() {
186
+ f2i() {
187
187
  return Unit_instance;
188
188
  }
189
- s2i(out, startIndex, endIndex) {
189
+ g2i(out, startIndex, endIndex) {
190
190
  checkBounds(this.u2(), startIndex, endIndex);
191
191
  if (startIndex === endIndex)
192
192
  return Unit_instance;
193
193
  var currentOffset = startIndex;
194
194
  var remainingByteCount = subtract(endIndex, startIndex);
195
- out.s2h_1 = add(out.s2h_1, remainingByteCount);
196
- var s = this.q2h_1;
197
- while (currentOffset >= fromInt(ensureNotNull(s).e2i_1 - s.d2i_1 | 0)) {
198
- currentOffset = subtract(currentOffset, fromInt(s.e2i_1 - s.d2i_1 | 0));
199
- s = s.h2i_1;
195
+ out.g2h_1 = add(out.g2h_1, remainingByteCount);
196
+ var s = this.e2h_1;
197
+ while (currentOffset >= fromInt(ensureNotNull(s).s2h_1 - s.r2h_1 | 0)) {
198
+ currentOffset = subtract(currentOffset, fromInt(s.s2h_1 - s.r2h_1 | 0));
199
+ s = s.v2h_1;
200
200
  }
201
201
  while (remainingByteCount > 0n) {
202
- var copy = ensureNotNull(s).t2i();
203
- copy.d2i_1 = copy.d2i_1 + convertToInt(currentOffset) | 0;
202
+ var copy = ensureNotNull(s).h2i();
203
+ copy.r2h_1 = copy.r2h_1 + convertToInt(currentOffset) | 0;
204
204
  var tmp = copy;
205
- var tmp0 = copy.d2i_1 + convertToInt(remainingByteCount) | 0;
205
+ var tmp0 = copy.r2h_1 + convertToInt(remainingByteCount) | 0;
206
206
  // Inline function 'kotlin.comparisons.minOf' call
207
- var b = copy.e2i_1;
208
- tmp.e2i_1 = Math.min(tmp0, b);
207
+ var b = copy.s2h_1;
208
+ tmp.s2h_1 = Math.min(tmp0, b);
209
209
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
210
- if (out.q2h_1 == null) {
211
- out.q2h_1 = copy;
212
- out.r2h_1 = copy;
210
+ if (out.e2h_1 == null) {
211
+ out.e2h_1 = copy;
212
+ out.f2h_1 = copy;
213
213
  } else if (false) {
214
- out.r2h_1 = ensureNotNull(out.r2h_1).u2i(copy).v2i();
215
- if (ensureNotNull(out.r2h_1).i2i_1 == null) {
216
- out.q2h_1 = out.r2h_1;
214
+ out.f2h_1 = ensureNotNull(out.f2h_1).i2i(copy).j2i();
215
+ if (ensureNotNull(out.f2h_1).w2h_1 == null) {
216
+ out.e2h_1 = out.f2h_1;
217
217
  }
218
218
  } else {
219
- out.r2h_1 = ensureNotNull(out.r2h_1).u2i(copy);
219
+ out.f2h_1 = ensureNotNull(out.f2h_1).i2i(copy);
220
220
  }
221
- remainingByteCount = subtract(remainingByteCount, fromInt(copy.e2i_1 - copy.d2i_1 | 0));
221
+ remainingByteCount = subtract(remainingByteCount, fromInt(copy.s2h_1 - copy.r2h_1 | 0));
222
222
  currentOffset = 0n;
223
- s = s.h2i_1;
223
+ s = s.v2h_1;
224
224
  }
225
225
  }
226
- w2i() {
226
+ k2i() {
227
227
  var result = this.u2();
228
228
  if (result === 0n)
229
229
  return 0n;
230
- var tail = ensureNotNull(this.r2h_1);
231
- if (tail.e2i_1 < 8192 && tail.g2i_1) {
232
- result = subtract(result, fromInt(tail.e2i_1 - tail.d2i_1 | 0));
230
+ var tail = ensureNotNull(this.f2h_1);
231
+ if (tail.s2h_1 < 8192 && tail.u2h_1) {
232
+ result = subtract(result, fromInt(tail.s2h_1 - tail.r2h_1 | 0));
233
233
  }
234
234
  return result;
235
235
  }
236
- x2i(position) {
236
+ l2i(position) {
237
237
  if (position < 0n || position >= this.u2()) {
238
- throw IndexOutOfBoundsException().he('position (' + position.toString() + ') is not within the range [0..size(' + this.u2().toString() + '))');
238
+ throw IndexOutOfBoundsException().de('position (' + position.toString() + ') is not within the range [0..size(' + this.u2().toString() + '))');
239
239
  }
240
240
  if (position === 0n) {
241
- return ensureNotNull(this.q2h_1).y2i(0);
241
+ return ensureNotNull(this.e2h_1).m2i(0);
242
242
  }
243
243
  // Inline function 'kotlinx.io.seek' call
244
- if (this.q2h_1 == null) {
245
- return ensureNotNull(null).y2i(convertToInt(subtract(position, -1n)));
244
+ if (this.e2h_1 == null) {
245
+ return ensureNotNull(null).m2i(convertToInt(subtract(position, -1n)));
246
246
  }
247
247
  if (subtract(this.u2(), position) < position) {
248
- var s = this.r2h_1;
248
+ var s = this.f2h_1;
249
249
  var offset = this.u2();
250
250
  $l$loop: while (!(s == null) && offset > position) {
251
- offset = subtract(offset, fromInt(s.e2i_1 - s.d2i_1 | 0));
251
+ offset = subtract(offset, fromInt(s.s2h_1 - s.r2h_1 | 0));
252
252
  if (offset <= position)
253
253
  break $l$loop;
254
- s = s.i2i_1;
254
+ s = s.w2h_1;
255
255
  }
256
256
  var tmp0 = s;
257
257
  var offset_0 = offset;
258
- return ensureNotNull(tmp0).y2i(convertToInt(subtract(position, offset_0)));
258
+ return ensureNotNull(tmp0).m2i(convertToInt(subtract(position, offset_0)));
259
259
  } else {
260
- var s_0 = this.q2h_1;
260
+ var s_0 = this.e2h_1;
261
261
  var offset_1 = 0n;
262
262
  $l$loop_0: while (!(s_0 == null)) {
263
263
  var tmp0_0 = offset_1;
264
264
  // Inline function 'kotlin.Long.plus' call
265
- var other = s_0.e2i_1 - s_0.d2i_1 | 0;
265
+ var other = s_0.s2h_1 - s_0.r2h_1 | 0;
266
266
  var nextOffset = add(tmp0_0, fromInt(other));
267
267
  if (nextOffset > position)
268
268
  break $l$loop_0;
269
- s_0 = s_0.h2i_1;
269
+ s_0 = s_0.v2h_1;
270
270
  offset_1 = nextOffset;
271
271
  }
272
272
  var tmp0_1 = s_0;
273
273
  var offset_2 = offset_1;
274
- return ensureNotNull(tmp0_1).y2i(convertToInt(subtract(position, offset_2)));
274
+ return ensureNotNull(tmp0_1).m2i(convertToInt(subtract(position, offset_2)));
275
275
  }
276
276
  }
277
- y4() {
278
- return this.z2i(this.u2());
277
+ u4() {
278
+ return this.n2i(this.u2());
279
279
  }
280
- z2i(byteCount) {
280
+ n2i(byteCount) {
281
281
  // Inline function 'kotlinx.io.checkByteCount' call
282
282
  // Inline function 'kotlin.require' call
283
283
  if (!(byteCount >= 0n)) {
@@ -286,34 +286,34 @@ function Buffer() {
286
286
  }
287
287
  var remainingByteCount = byteCount;
288
288
  while (remainingByteCount > 0n) {
289
- var tmp0_elvis_lhs = this.q2h_1;
289
+ var tmp0_elvis_lhs = this.e2h_1;
290
290
  var tmp;
291
291
  if (tmp0_elvis_lhs == null) {
292
- throw EOFException().w2h('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
292
+ throw EOFException().k2h('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
293
293
  } else {
294
294
  tmp = tmp0_elvis_lhs;
295
295
  }
296
296
  var head = tmp;
297
297
  var tmp0 = remainingByteCount;
298
298
  // Inline function 'kotlinx.io.minOf' call
299
- var b = head.e2i_1 - head.d2i_1 | 0;
299
+ var b = head.s2h_1 - head.r2h_1 | 0;
300
300
  // Inline function 'kotlin.comparisons.minOf' call
301
301
  var b_0 = fromInt(b);
302
302
  var tmp$ret$4 = tmp0 <= b_0 ? tmp0 : b_0;
303
303
  var toSkip = convertToInt(tmp$ret$4);
304
- this.s2h_1 = subtract(this.s2h_1, fromInt(toSkip));
304
+ this.g2h_1 = subtract(this.g2h_1, fromInt(toSkip));
305
305
  remainingByteCount = subtract(remainingByteCount, fromInt(toSkip));
306
- head.d2i_1 = head.d2i_1 + toSkip | 0;
307
- if (head.d2i_1 === head.e2i_1) {
308
- this.j2i();
306
+ head.r2h_1 = head.r2h_1 + toSkip | 0;
307
+ if (head.r2h_1 === head.s2h_1) {
308
+ this.x2h();
309
309
  }
310
310
  }
311
311
  }
312
- a2j(sink, startIndex, endIndex) {
312
+ o2i(sink, startIndex, endIndex) {
313
313
  // Inline function 'kotlinx.io.checkBounds' call
314
314
  var size = sink.length;
315
315
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
316
- var tmp0_elvis_lhs = this.q2h_1;
316
+ var tmp0_elvis_lhs = this.e2h_1;
317
317
  var tmp;
318
318
  if (tmp0_elvis_lhs == null) {
319
319
  return -1;
@@ -325,14 +325,14 @@ function Buffer() {
325
325
  // Inline function 'kotlin.comparisons.minOf' call
326
326
  var b = s.u2();
327
327
  var toCopy = Math.min(tmp0, b);
328
- s.b2j(sink, startIndex, startIndex + toCopy | 0);
329
- this.s2h_1 = subtract(this.s2h_1, fromInt(toCopy));
328
+ s.p2i(sink, startIndex, startIndex + toCopy | 0);
329
+ this.g2h_1 = subtract(this.g2h_1, fromInt(toCopy));
330
330
  if (isEmpty(s)) {
331
- this.j2i();
331
+ this.x2h();
332
332
  }
333
333
  return toCopy;
334
334
  }
335
- c2j(sink, byteCount) {
335
+ q2i(sink, byteCount) {
336
336
  // Inline function 'kotlinx.io.checkByteCount' call
337
337
  // Inline function 'kotlin.require' call
338
338
  if (!(byteCount >= 0n)) {
@@ -342,10 +342,10 @@ function Buffer() {
342
342
  if (this.u2() === 0n)
343
343
  return -1n;
344
344
  var bytesWritten = byteCount > this.u2() ? this.u2() : byteCount;
345
- sink.d2j(this, bytesWritten);
345
+ sink.r2i(this, bytesWritten);
346
346
  return bytesWritten;
347
347
  }
348
- e2j(sink, byteCount) {
348
+ s2i(sink, byteCount) {
349
349
  // Inline function 'kotlinx.io.checkByteCount' call
350
350
  // Inline function 'kotlin.require' call
351
351
  if (!(byteCount >= 0n)) {
@@ -353,159 +353,159 @@ function Buffer() {
353
353
  throw IllegalArgumentException().s2(toString(message));
354
354
  }
355
355
  if (this.u2() < byteCount) {
356
- sink.d2j(this, this.u2());
357
- throw EOFException().w2h('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.u2().toString() + ' bytes were written.');
356
+ sink.r2i(this, this.u2());
357
+ throw EOFException().k2h('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.u2().toString() + ' bytes were written.');
358
358
  }
359
- sink.d2j(this, byteCount);
359
+ sink.r2i(this, byteCount);
360
360
  }
361
- f2j(sink) {
361
+ t2i(sink) {
362
362
  var byteCount = this.u2();
363
363
  if (byteCount > 0n) {
364
- sink.d2j(this, byteCount);
364
+ sink.r2i(this, byteCount);
365
365
  }
366
366
  return byteCount;
367
367
  }
368
- g2j() {
368
+ u2i() {
369
369
  return buffered(new (PeekSource())(this));
370
370
  }
371
- h2j(minimumCapacity) {
371
+ v2i(minimumCapacity) {
372
372
  // Inline function 'kotlin.require' call
373
373
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
374
374
  var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
375
375
  throw IllegalArgumentException().s2(toString(message));
376
376
  }
377
- if (this.r2h_1 == null) {
378
- var result = SegmentPool_instance.k2j();
379
- this.q2h_1 = result;
380
- this.r2h_1 = result;
377
+ if (this.f2h_1 == null) {
378
+ var result = SegmentPool_instance.y2i();
379
+ this.e2h_1 = result;
380
+ this.f2h_1 = result;
381
381
  return result;
382
382
  }
383
- var t = ensureNotNull(this.r2h_1);
384
- if ((t.e2i_1 + minimumCapacity | 0) > 8192 || !t.g2i_1) {
385
- var newTail = t.u2i(SegmentPool_instance.k2j());
386
- this.r2h_1 = newTail;
383
+ var t = ensureNotNull(this.f2h_1);
384
+ if ((t.s2h_1 + minimumCapacity | 0) > 8192 || !t.u2h_1) {
385
+ var newTail = t.i2i(SegmentPool_instance.y2i());
386
+ this.f2h_1 = newTail;
387
387
  return newTail;
388
388
  }
389
389
  return t;
390
390
  }
391
- l2j(source, startIndex, endIndex) {
391
+ z2i(source, startIndex, endIndex) {
392
392
  // Inline function 'kotlinx.io.checkBounds' call
393
393
  var size = source.length;
394
394
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
395
395
  var currentOffset = startIndex;
396
396
  while (currentOffset < endIndex) {
397
- var tail = this.h2j(1);
397
+ var tail = this.v2i(1);
398
398
  var tmp0 = endIndex - currentOffset | 0;
399
399
  // Inline function 'kotlin.comparisons.minOf' call
400
- var b = tail.m2j();
400
+ var b = tail.a2j();
401
401
  var toCopy = Math.min(tmp0, b);
402
- tail.n2j(source, currentOffset, currentOffset + toCopy | 0);
402
+ tail.b2j(source, currentOffset, currentOffset + toCopy | 0);
403
403
  currentOffset = currentOffset + toCopy | 0;
404
404
  }
405
405
  var tmp = this;
406
- var tmp0_0 = this.s2h_1;
406
+ var tmp0_0 = this.g2h_1;
407
407
  // Inline function 'kotlin.Long.plus' call
408
408
  var other = endIndex - startIndex | 0;
409
- tmp.s2h_1 = add(tmp0_0, fromInt(other));
409
+ tmp.g2h_1 = add(tmp0_0, fromInt(other));
410
410
  }
411
- d2j(source, byteCount) {
411
+ r2i(source, byteCount) {
412
412
  // Inline function 'kotlin.require' call
413
413
  if (!!(source === this)) {
414
414
  var message = 'source == this';
415
415
  throw IllegalArgumentException().s2(toString(message));
416
416
  }
417
- checkOffsetAndCount(source.s2h_1, 0n, byteCount);
417
+ checkOffsetAndCount(source.g2h_1, 0n, byteCount);
418
418
  var remainingByteCount = byteCount;
419
419
  while (remainingByteCount > 0n) {
420
- if (remainingByteCount < fromInt(ensureNotNull(source.q2h_1).u2())) {
421
- var tail = this.r2h_1;
420
+ if (remainingByteCount < fromInt(ensureNotNull(source.e2h_1).u2())) {
421
+ var tail = this.f2h_1;
422
422
  var tmp;
423
- if (!(tail == null) && tail.g2i_1) {
423
+ if (!(tail == null) && tail.u2h_1) {
424
424
  var tmp0 = remainingByteCount;
425
425
  // Inline function 'kotlin.Long.plus' call
426
- var other = tail.e2i_1;
426
+ var other = tail.s2h_1;
427
427
  var tmp0_0 = add(tmp0, fromInt(other));
428
428
  // Inline function 'kotlin.Long.minus' call
429
- var other_0 = tail.p2j() ? 0 : tail.d2i_1;
429
+ var other_0 = tail.d2j() ? 0 : tail.r2h_1;
430
430
  tmp = subtract(tmp0_0, fromInt(other_0)) <= 8192n;
431
431
  } else {
432
432
  tmp = false;
433
433
  }
434
434
  if (tmp) {
435
- ensureNotNull(source.q2h_1).r2j(tail, convertToInt(remainingByteCount));
436
- source.s2h_1 = subtract(source.s2h_1, remainingByteCount);
437
- this.s2h_1 = add(this.s2h_1, remainingByteCount);
435
+ ensureNotNull(source.e2h_1).f2j(tail, convertToInt(remainingByteCount));
436
+ source.g2h_1 = subtract(source.g2h_1, remainingByteCount);
437
+ this.g2h_1 = add(this.g2h_1, remainingByteCount);
438
438
  return Unit_instance;
439
439
  } else {
440
- source.q2h_1 = ensureNotNull(source.q2h_1).q2j(convertToInt(remainingByteCount));
440
+ source.e2h_1 = ensureNotNull(source.e2h_1).e2j(convertToInt(remainingByteCount));
441
441
  }
442
442
  }
443
- var segmentToMove = ensureNotNull(source.q2h_1);
443
+ var segmentToMove = ensureNotNull(source.e2h_1);
444
444
  var movedByteCount = fromInt(segmentToMove.u2());
445
- source.q2h_1 = segmentToMove.s2j();
446
- if (source.q2h_1 == null) {
447
- source.r2h_1 = null;
445
+ source.e2h_1 = segmentToMove.g2j();
446
+ if (source.e2h_1 == null) {
447
+ source.f2h_1 = null;
448
448
  }
449
449
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
450
- if (this.q2h_1 == null) {
451
- this.q2h_1 = segmentToMove;
452
- this.r2h_1 = segmentToMove;
450
+ if (this.e2h_1 == null) {
451
+ this.e2h_1 = segmentToMove;
452
+ this.f2h_1 = segmentToMove;
453
453
  } else if (true) {
454
- this.r2h_1 = ensureNotNull(this.r2h_1).u2i(segmentToMove).v2i();
455
- if (ensureNotNull(this.r2h_1).i2i_1 == null) {
456
- this.q2h_1 = this.r2h_1;
454
+ this.f2h_1 = ensureNotNull(this.f2h_1).i2i(segmentToMove).j2i();
455
+ if (ensureNotNull(this.f2h_1).w2h_1 == null) {
456
+ this.e2h_1 = this.f2h_1;
457
457
  }
458
458
  } else {
459
- this.r2h_1 = ensureNotNull(this.r2h_1).u2i(segmentToMove);
459
+ this.f2h_1 = ensureNotNull(this.f2h_1).i2i(segmentToMove);
460
460
  }
461
- source.s2h_1 = subtract(source.s2h_1, movedByteCount);
462
- this.s2h_1 = add(this.s2h_1, movedByteCount);
461
+ source.g2h_1 = subtract(source.g2h_1, movedByteCount);
462
+ this.g2h_1 = add(this.g2h_1, movedByteCount);
463
463
  remainingByteCount = subtract(remainingByteCount, movedByteCount);
464
464
  }
465
465
  }
466
- t2j(source) {
466
+ h2j(source) {
467
467
  var totalBytesRead = 0n;
468
468
  $l$loop: while (true) {
469
- var readCount = source.c2j(this, 8192n);
469
+ var readCount = source.q2i(this, 8192n);
470
470
  if (readCount === -1n)
471
471
  break $l$loop;
472
472
  totalBytesRead = add(totalBytesRead, readCount);
473
473
  }
474
474
  return totalBytesRead;
475
475
  }
476
- u2j(byte) {
477
- this.h2j(1).v2j(byte);
478
- this.s2h_1 = add(this.s2h_1, 1n);
476
+ i2j(byte) {
477
+ this.v2i(1).j2j(byte);
478
+ this.g2h_1 = add(this.g2h_1, 1n);
479
479
  }
480
- w2j(short) {
481
- this.h2j(2).x2j(short);
482
- this.s2h_1 = add(this.s2h_1, 2n);
480
+ k2j(short) {
481
+ this.v2i(2).l2j(short);
482
+ this.g2h_1 = add(this.g2h_1, 2n);
483
483
  }
484
- y2j(int) {
485
- this.h2j(4).z2j(int);
486
- this.s2h_1 = add(this.s2h_1, 4n);
484
+ m2j(int) {
485
+ this.v2i(4).n2j(int);
486
+ this.g2h_1 = add(this.g2h_1, 4n);
487
487
  }
488
- z1i(long) {
489
- this.h2j(8).a2k(long);
490
- this.s2h_1 = add(this.s2h_1, 8n);
488
+ p1i(long) {
489
+ this.v2i(8).o2j(long);
490
+ this.g2h_1 = add(this.g2h_1, 8n);
491
491
  }
492
- b2k() {
492
+ p2j() {
493
493
  var result = new (Buffer())();
494
494
  if (this.u2() === 0n)
495
495
  return result;
496
- var head = ensureNotNull(this.q2h_1);
497
- var headCopy = head.t2i();
498
- result.q2h_1 = headCopy;
499
- result.r2h_1 = headCopy;
500
- var s = head.h2i_1;
496
+ var head = ensureNotNull(this.e2h_1);
497
+ var headCopy = head.h2i();
498
+ result.e2h_1 = headCopy;
499
+ result.f2h_1 = headCopy;
500
+ var s = head.v2h_1;
501
501
  while (!(s == null)) {
502
- result.r2h_1 = ensureNotNull(result.r2h_1).u2i(s.t2i());
503
- s = s.h2i_1;
502
+ result.f2h_1 = ensureNotNull(result.f2h_1).i2i(s.h2i());
503
+ s = s.v2h_1;
504
504
  }
505
- result.s2h_1 = this.u2();
505
+ result.g2h_1 = this.u2();
506
506
  return result;
507
507
  }
508
- y6() {
508
+ u6() {
509
509
  return Unit_instance;
510
510
  }
511
511
  toString() {
@@ -518,10 +518,10 @@ function Buffer() {
518
518
  var a = fromInt(maxPrintableBytes);
519
519
  var tmp$ret$1 = a <= b ? a : b;
520
520
  var len = convertToInt(tmp$ret$1);
521
- var builder = StringBuilder().hc(imul(len, 2) + (this.u2() > fromInt(maxPrintableBytes) ? 1 : 0) | 0);
521
+ var builder = StringBuilder().dc(imul(len, 2) + (this.u2() > fromInt(maxPrintableBytes) ? 1 : 0) | 0);
522
522
  var bytesWritten = 0;
523
523
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
524
- var curr = this.q2h_1;
524
+ var curr = this.e2h_1;
525
525
  while (!(curr == null)) {
526
526
  var tmp0 = get_SegmentReadContextImpl();
527
527
  var segment = curr;
@@ -529,7 +529,7 @@ function Buffer() {
529
529
  while (bytesWritten < len && idx < segment.u2()) {
530
530
  var _unary__edvuaz = idx;
531
531
  idx = _unary__edvuaz + 1 | 0;
532
- var b_0 = tmp0.c2k(segment, _unary__edvuaz);
532
+ var b_0 = tmp0.q2j(segment, _unary__edvuaz);
533
533
  bytesWritten = bytesWritten + 1 | 0;
534
534
  var tmp = get_HEX_DIGIT_CHARS();
535
535
  // Inline function 'kotlinx.io.shr' call
@@ -540,39 +540,39 @@ function Buffer() {
540
540
  var tmp$ret$3 = b_0 & 15;
541
541
  tmp_0.p1(tmp_1[tmp$ret$3]);
542
542
  }
543
- curr = curr.h2i_1;
543
+ curr = curr.v2h_1;
544
544
  }
545
545
  if (this.u2() > fromInt(maxPrintableBytes)) {
546
546
  builder.p1(_Char___init__impl__6a9atx(8230));
547
547
  }
548
548
  return 'Buffer(size=' + this.u2().toString() + ' hex=' + builder.toString() + ')';
549
549
  }
550
- j2i() {
551
- var oldHead = ensureNotNull(this.q2h_1);
552
- var nextHead = oldHead.h2i_1;
553
- this.q2h_1 = nextHead;
550
+ x2h() {
551
+ var oldHead = ensureNotNull(this.e2h_1);
552
+ var nextHead = oldHead.v2h_1;
553
+ this.e2h_1 = nextHead;
554
554
  if (nextHead == null) {
555
- this.r2h_1 = null;
555
+ this.f2h_1 = null;
556
556
  } else {
557
- nextHead.i2i_1 = null;
557
+ nextHead.w2h_1 = null;
558
558
  }
559
- oldHead.h2i_1 = null;
560
- SegmentPool_instance.d2k(oldHead);
559
+ oldHead.v2h_1 = null;
560
+ SegmentPool_instance.r2j(oldHead);
561
561
  }
562
- e2k() {
563
- var oldTail = ensureNotNull(this.r2h_1);
564
- var newTail = oldTail.i2i_1;
565
- this.r2h_1 = newTail;
562
+ s2j() {
563
+ var oldTail = ensureNotNull(this.f2h_1);
564
+ var newTail = oldTail.w2h_1;
565
+ this.f2h_1 = newTail;
566
566
  if (newTail == null) {
567
- this.q2h_1 = null;
567
+ this.e2h_1 = null;
568
568
  } else {
569
- newTail.h2i_1 = null;
569
+ newTail.v2h_1 = null;
570
570
  }
571
- oldTail.i2i_1 = null;
572
- SegmentPool_instance.d2k(oldTail);
571
+ oldTail.w2h_1 = null;
572
+ SegmentPool_instance.r2j(oldTail);
573
573
  }
574
574
  }
575
- protoOf($).o2j = write$default;
575
+ protoOf($).c2j = write$default;
576
576
  initMetadataForClass($, 'Buffer', Buffer, VOID, [Source(), Sink()]);
577
577
  BufferClass = $;
578
578
  }