@attocash/commons-js 5.0.0 → 5.1.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 (311) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
  40. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
  41. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  42. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
  43. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  44. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  45. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  46. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  47. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  48. package/commons-commons-node.mjs +1 -0
  49. package/commons-commons-node.mjs.map +1 -1
  50. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  51. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  52. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  53. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  54. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  55. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  56. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  57. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  58. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  59. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  69. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  70. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  71. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  72. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  73. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  74. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  75. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  76. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  77. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  78. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  79. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  80. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  81. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  84. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  85. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  86. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  87. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  88. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  89. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  90. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  91. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  92. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  93. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  94. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  95. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  96. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  97. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  98. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  99. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  100. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  101. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  102. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  103. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  104. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  105. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  106. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  107. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  108. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  109. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  110. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  111. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  112. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  113. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  114. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  115. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  116. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  117. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  118. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  119. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  120. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  121. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  122. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  123. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  124. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  125. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  126. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  127. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  128. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  129. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  130. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  131. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  132. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  133. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  134. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  135. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  136. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  137. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  138. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  139. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  140. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  141. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  142. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  143. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  144. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  145. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  146. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  147. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  148. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  149. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  150. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  151. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  152. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  153. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  154. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  155. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  156. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  157. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  158. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  159. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  160. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  161. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  162. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  163. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  164. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  165. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  166. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  167. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  168. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  169. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  170. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  171. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  172. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  173. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  174. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  175. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  176. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  177. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  178. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  179. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  180. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  181. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  184. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  185. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  186. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  187. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  188. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  189. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  190. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  191. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  192. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  193. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  194. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  195. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  196. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  197. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  198. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  199. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  200. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  201. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  202. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  203. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  204. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  205. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  206. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  207. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  208. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  209. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  210. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  211. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  212. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  213. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  214. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  215. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  216. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  217. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  218. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  219. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  220. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  221. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  222. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  223. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  224. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  225. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  226. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  227. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  228. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  229. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  230. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  231. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  232. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  233. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  234. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  235. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  236. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  237. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  238. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  239. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  240. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  241. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  242. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  243. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  244. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  245. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  246. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  247. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  248. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  249. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  250. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  251. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  252. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  253. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  254. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  255. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  256. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  257. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  258. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  259. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  260. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  261. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  262. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
  263. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  264. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  265. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  266. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
  267. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  268. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  269. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  270. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  271. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  272. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  273. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  274. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  275. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  276. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  277. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  278. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  279. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  280. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  281. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  282. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  283. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  284. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  285. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  286. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  287. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  288. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  289. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  290. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  291. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  292. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  293. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  294. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  295. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  296. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  297. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  298. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  299. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  300. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  301. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  302. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  303. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  304. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  305. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  306. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  307. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  308. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  309. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  310. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  311. package/package.json +1 -1
@@ -35,7 +35,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/k
35
35
  //region block: pre-declaration
36
36
  //endregion
37
37
  function _set_interceptors__wod97b($this, _set____db54di) {
38
- var tmp0 = $this.c3w_1;
38
+ var tmp0 = $this.q3w_1;
39
39
  var tmp = KMutableProperty1();
40
40
  var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e_0();
41
41
  // Inline function 'kotlinx.atomicfu.AtomicRef.setValue' call
@@ -44,7 +44,7 @@ function _set_interceptors__wod97b($this, _set____db54di) {
44
44
  return Unit_instance;
45
45
  }
46
46
  function _get_interceptors__h4min7($this) {
47
- var tmp0 = $this.c3w_1;
47
+ var tmp0 = $this.q3w_1;
48
48
  var tmp = KMutableProperty1();
49
49
  var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
50
50
  // Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
@@ -52,10 +52,10 @@ function _get_interceptors__h4min7($this) {
52
52
  return tmp0.kotlinx$atomicfu$value;
53
53
  }
54
54
  function createContext($this, context, subject, coroutineContext) {
55
- return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.f3w());
55
+ return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.t3w());
56
56
  }
57
57
  function findPhase($this, phase) {
58
- var phasesList = $this.a3w_1;
58
+ var phasesList = $this.o3w_1;
59
59
  var inductionVariable = 0;
60
60
  var last = phasesList.i1();
61
61
  if (inductionVariable < last)
@@ -64,13 +64,13 @@ function findPhase($this, phase) {
64
64
  inductionVariable = inductionVariable + 1 | 0;
65
65
  var current = phasesList.j1(index);
66
66
  if (current === phase) {
67
- var content = PhaseContent().s3v(phase, Last_getInstance());
67
+ var content = PhaseContent().g3w(phase, Last_getInstance());
68
68
  phasesList.a3(index, content);
69
69
  return content;
70
70
  }
71
71
  var tmp;
72
72
  if (current instanceof PhaseContent()) {
73
- tmp = current.m3v_1 === phase;
73
+ tmp = current.a3w_1 === phase;
74
74
  } else {
75
75
  tmp = false;
76
76
  }
@@ -82,7 +82,7 @@ function findPhase($this, phase) {
82
82
  return null;
83
83
  }
84
84
  function findPhaseIndex($this, phase) {
85
- var phasesList = $this.a3w_1;
85
+ var phasesList = $this.o3w_1;
86
86
  var inductionVariable = 0;
87
87
  var last = phasesList.i1();
88
88
  if (inductionVariable < last)
@@ -96,7 +96,7 @@ function findPhaseIndex($this, phase) {
96
96
  } else {
97
97
  var tmp_0;
98
98
  if (current instanceof PhaseContent()) {
99
- tmp_0 = current.m3v_1 === phase;
99
+ tmp_0 = current.a3w_1 === phase;
100
100
  } else {
101
101
  tmp_0 = false;
102
102
  }
@@ -110,7 +110,7 @@ function findPhaseIndex($this, phase) {
110
110
  return -1;
111
111
  }
112
112
  function hasPhase($this, phase) {
113
- var phasesList = $this.a3w_1;
113
+ var phasesList = $this.o3w_1;
114
114
  var inductionVariable = 0;
115
115
  var last = phasesList.i1();
116
116
  if (inductionVariable < last)
@@ -124,7 +124,7 @@ function hasPhase($this, phase) {
124
124
  } else {
125
125
  var tmp_0;
126
126
  if (current instanceof PhaseContent()) {
127
- tmp_0 = current.m3v_1 === phase;
127
+ tmp_0 = current.a3w_1 === phase;
128
128
  } else {
129
129
  tmp_0 = false;
130
130
  }
@@ -138,12 +138,12 @@ function hasPhase($this, phase) {
138
138
  return false;
139
139
  }
140
140
  function cacheInterceptors($this) {
141
- var interceptorsQuantity = $this.b3w_1;
141
+ var interceptorsQuantity = $this.p3w_1;
142
142
  if (interceptorsQuantity === 0) {
143
143
  notSharedInterceptorsList($this, emptyList());
144
144
  return emptyList();
145
145
  }
146
- var phases = $this.a3w_1;
146
+ var phases = $this.o3w_1;
147
147
  if (interceptorsQuantity === 1) {
148
148
  var inductionVariable = 0;
149
149
  var last = get_lastIndex(phases);
@@ -160,9 +160,9 @@ function cacheInterceptors($this) {
160
160
  tmp_0 = tmp0_elvis_lhs;
161
161
  }
162
162
  var phaseContent = tmp_0;
163
- if (phaseContent.t3v())
163
+ if (phaseContent.h3w())
164
164
  continue $l$loop_0;
165
- var interceptors = phaseContent.w3v();
165
+ var interceptors = phaseContent.k3w();
166
166
  setInterceptorsListFromPhase($this, phaseContent);
167
167
  return interceptors;
168
168
  }
@@ -185,7 +185,7 @@ function cacheInterceptors($this) {
185
185
  tmp_2 = tmp1_elvis_lhs;
186
186
  }
187
187
  var phase = tmp_2;
188
- phase.v3v(destination);
188
+ phase.j3w(destination);
189
189
  }
190
190
  while (!(phaseIndex_0 === last_0));
191
191
  notSharedInterceptorsList($this, destination);
@@ -195,31 +195,31 @@ function sharedInterceptorsList($this) {
195
195
  if (_get_interceptors__h4min7($this) == null) {
196
196
  cacheInterceptors($this);
197
197
  }
198
- $this.d3w_1 = true;
198
+ $this.r3w_1 = true;
199
199
  return ensureNotNull(_get_interceptors__h4min7($this));
200
200
  }
201
201
  function resetInterceptorsList($this) {
202
202
  _set_interceptors__wod97b($this, null);
203
- $this.d3w_1 = false;
204
- $this.e3w_1 = null;
203
+ $this.r3w_1 = false;
204
+ $this.s3w_1 = null;
205
205
  }
206
206
  function notSharedInterceptorsList($this, list) {
207
207
  _set_interceptors__wod97b($this, list);
208
- $this.d3w_1 = false;
209
- $this.e3w_1 = null;
208
+ $this.r3w_1 = false;
209
+ $this.s3w_1 = null;
210
210
  }
211
211
  function setInterceptorsListFromPhase($this, phaseContent) {
212
- _set_interceptors__wod97b($this, phaseContent.w3v());
213
- $this.d3w_1 = false;
214
- $this.e3w_1 = phaseContent.m3v_1;
212
+ _set_interceptors__wod97b($this, phaseContent.k3w());
213
+ $this.r3w_1 = false;
214
+ $this.s3w_1 = phaseContent.a3w_1;
215
215
  }
216
216
  function tryAddToPhaseFastPath($this, phase, block) {
217
217
  var currentInterceptors = _get_interceptors__h4min7($this);
218
- if ($this.a3w_1.j() || currentInterceptors == null) {
218
+ if ($this.o3w_1.j() || currentInterceptors == null) {
219
219
  return false;
220
220
  }
221
221
  var tmp;
222
- if ($this.d3w_1) {
222
+ if ($this.r3w_1) {
223
223
  tmp = true;
224
224
  } else {
225
225
  tmp = !(!(currentInterceptors == null) ? isInterface(currentInterceptors, KtMutableList()) : false);
@@ -227,12 +227,12 @@ function tryAddToPhaseFastPath($this, phase, block) {
227
227
  if (tmp) {
228
228
  return false;
229
229
  }
230
- if (equals($this.e3w_1, phase)) {
230
+ if (equals($this.s3w_1, phase)) {
231
231
  currentInterceptors.m(block);
232
232
  return true;
233
233
  }
234
- if (equals(phase, last($this.a3w_1)) || findPhaseIndex($this, phase) === get_lastIndex($this.a3w_1)) {
235
- ensureNotNull(findPhase($this, phase)).u3v(block);
234
+ if (equals(phase, last($this.o3w_1)) || findPhaseIndex($this, phase) === get_lastIndex($this.o3w_1)) {
235
+ ensureNotNull(findPhase($this, phase)).i3w(block);
236
236
  currentInterceptors.m(block);
237
237
  return true;
238
238
  }
@@ -265,23 +265,23 @@ function Pipeline() {
265
265
  if (PipelineClass === VOID) {
266
266
  class $ {
267
267
  constructor(phases) {
268
- this.y3v_1 = AttributesJsFn(true);
269
- this.z3v_1 = false;
270
- this.a3w_1 = mutableListOf(phases.slice());
271
- this.b3w_1 = 0;
272
- this.c3w_1 = atomic$ref$1(null);
273
- this.d3w_1 = false;
274
- this.e3w_1 = null;
268
+ this.m3w_1 = AttributesJsFn(true);
269
+ this.n3w_1 = false;
270
+ this.o3w_1 = mutableListOf(phases.slice());
271
+ this.p3w_1 = 0;
272
+ this.q3w_1 = atomic$ref$1(null);
273
+ this.r3w_1 = false;
274
+ this.s3w_1 = null;
275
275
  }
276
- f3w() {
277
- return this.z3v_1;
276
+ t3w() {
277
+ return this.n3w_1;
278
278
  }
279
- g3w(context, subject, $completion) {
279
+ u3w(context, subject, $completion) {
280
280
  // Inline function 'kotlin.js.getCoroutineContext' call
281
281
  var tmp$ret$0 = $completion.gc();
282
- return createContext(this, context, subject, tmp$ret$0).l3v(subject, $completion);
282
+ return createContext(this, context, subject, tmp$ret$0).z3v(subject, $completion);
283
283
  }
284
- i3w(reference, phase) {
284
+ w3w(reference, phase) {
285
285
  if (hasPhase(this, phase))
286
286
  return Unit_instance;
287
287
  var index = findPhaseIndex(this, reference);
@@ -290,14 +290,14 @@ function Pipeline() {
290
290
  }
291
291
  var lastRelatedPhaseIndex = index;
292
292
  var inductionVariable = index + 1 | 0;
293
- var last = get_lastIndex(this.a3w_1);
293
+ var last = get_lastIndex(this.o3w_1);
294
294
  if (inductionVariable <= last)
295
295
  $l$loop_0: do {
296
296
  var i = inductionVariable;
297
297
  inductionVariable = inductionVariable + 1 | 0;
298
- var tmp = this.a3w_1.j1(i);
298
+ var tmp = this.o3w_1.j1(i);
299
299
  var tmp0_safe_receiver = tmp instanceof PhaseContent() ? tmp : null;
300
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n3v_1;
300
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3w_1;
301
301
  var tmp_0;
302
302
  if (tmp1_elvis_lhs == null) {
303
303
  break $l$loop_0;
@@ -306,7 +306,7 @@ function Pipeline() {
306
306
  }
307
307
  var relation = tmp_0;
308
308
  var tmp2_safe_receiver = relation instanceof After() ? relation : null;
309
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j3w_1;
309
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.x3w_1;
310
310
  var tmp_1;
311
311
  if (tmp3_elvis_lhs == null) {
312
312
  continue $l$loop_0;
@@ -317,18 +317,18 @@ function Pipeline() {
317
317
  lastRelatedPhaseIndex = equals(relatedTo, reference) ? i : lastRelatedPhaseIndex;
318
318
  }
319
319
  while (!(i === last));
320
- this.a3w_1.b3(lastRelatedPhaseIndex + 1 | 0, PhaseContent().s3v(phase, new (After())(reference)));
320
+ this.o3w_1.b3(lastRelatedPhaseIndex + 1 | 0, PhaseContent().g3w(phase, new (After())(reference)));
321
321
  }
322
- k3w(reference, phase) {
322
+ y3w(reference, phase) {
323
323
  if (hasPhase(this, phase))
324
324
  return Unit_instance;
325
325
  var index = findPhaseIndex(this, reference);
326
326
  if (index === -1) {
327
327
  throw new (InvalidPhaseException())('Phase ' + reference.toString() + ' was not registered for this pipeline');
328
328
  }
329
- this.a3w_1.b3(index, PhaseContent().s3v(phase, new (Before())(reference)));
329
+ this.o3w_1.b3(index, PhaseContent().g3w(phase, new (Before())(reference)));
330
330
  }
331
- l3w(phase, block) {
331
+ z3w(phase, block) {
332
332
  var tmp0_elvis_lhs = findPhase(this, phase);
333
333
  var tmp;
334
334
  if (tmp0_elvis_lhs == null) {
@@ -338,15 +338,15 @@ function Pipeline() {
338
338
  }
339
339
  var phaseContent = tmp;
340
340
  if (tryAddToPhaseFastPath(this, phase, block)) {
341
- this.b3w_1 = this.b3w_1 + 1 | 0;
341
+ this.p3w_1 = this.p3w_1 + 1 | 0;
342
342
  return Unit_instance;
343
343
  }
344
- phaseContent.u3v(block);
345
- this.b3w_1 = this.b3w_1 + 1 | 0;
344
+ phaseContent.i3w(block);
345
+ this.p3w_1 = this.p3w_1 + 1 | 0;
346
346
  resetInterceptorsList(this);
347
- this.m3w();
347
+ this.a3x();
348
348
  }
349
- m3w() {
349
+ a3x() {
350
350
  }
351
351
  toString() {
352
352
  return anyToString(this);
@@ -13,7 +13,7 @@ function PipelineContext() {
13
13
  if (PipelineContextClass === VOID) {
14
14
  class $ {
15
15
  constructor(context) {
16
- this.h3w_1 = context;
16
+ this.v3w_1 = context;
17
17
  }
18
18
  }
19
19
  initMetadataForClass($, 'PipelineContext', VOID, VOID, [CoroutineScope()], [1, 0]);
@@ -14,10 +14,10 @@ function PipelinePhase() {
14
14
  if (PipelinePhaseClass === VOID) {
15
15
  class $ {
16
16
  constructor(name) {
17
- this.x3v_1 = name;
17
+ this.l3w_1 = name;
18
18
  }
19
19
  toString() {
20
- return "Phase('" + this.x3v_1 + "')";
20
+ return "Phase('" + this.l3w_1 + "')";
21
21
  }
22
22
  }
23
23
  initMetadataForClass($, 'PipelinePhase');
@@ -32,7 +32,7 @@ function InvalidPhaseException() {
32
32
  constructor(message) {
33
33
  super(message);
34
34
  setPropertiesToThrowableInstance(this, message);
35
- captureStack(this, this.n3w_1);
35
+ captureStack(this, this.b3x_1);
36
36
  }
37
37
  }
38
38
  initMetadataForClass($, 'InvalidPhaseException');
@@ -14,7 +14,7 @@ function After() {
14
14
  class $ extends PipelinePhaseRelation() {
15
15
  constructor(relativeTo) {
16
16
  super();
17
- this.j3w_1 = relativeTo;
17
+ this.x3w_1 = relativeTo;
18
18
  }
19
19
  }
20
20
  initMetadataForClass($, 'After');
@@ -28,7 +28,7 @@ function Before() {
28
28
  class $ extends PipelinePhaseRelation() {
29
29
  constructor(relativeTo) {
30
30
  super();
31
- this.o3w_1 = relativeTo;
31
+ this.c3x_1 = relativeTo;
32
32
  }
33
33
  }
34
34
  initMetadataForClass($, 'Before');
@@ -23,21 +23,21 @@ import { intercepted2ogpsikxxj4u0 as intercepted } from '../../../../../kotlin-k
23
23
  //endregion
24
24
  function loop($this, direct) {
25
25
  do {
26
- var currentIndex = $this.v3w_1;
27
- if (currentIndex === $this.q3w_1.i1()) {
26
+ var currentIndex = $this.j3x_1;
27
+ if (currentIndex === $this.e3x_1.i1()) {
28
28
  if (!direct) {
29
29
  // Inline function 'kotlin.Companion.success' call
30
- var value = $this.s3w_1;
30
+ var value = $this.g3x_1;
31
31
  var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
32
32
  resumeRootWith($this, tmp$ret$0);
33
33
  return false;
34
34
  }
35
35
  return true;
36
36
  }
37
- $this.v3w_1 = currentIndex + 1 | 0;
38
- var next = $this.q3w_1.j1(currentIndex);
37
+ $this.j3x_1 = currentIndex + 1 | 0;
38
+ var next = $this.e3x_1.j1(currentIndex);
39
39
  try {
40
- var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.s3w_1, $this.r3w_1);
40
+ var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.g3x_1, $this.f3x_1);
41
41
  if (result === get_COROUTINE_SUSPENDED())
42
42
  return false;
43
43
  } catch ($p) {
@@ -55,15 +55,15 @@ function loop($this, direct) {
55
55
  while (true);
56
56
  }
57
57
  function resumeRootWith($this, result) {
58
- if ($this.u3w_1 < 0) {
58
+ if ($this.i3x_1 < 0) {
59
59
  // Inline function 'kotlin.error' call
60
60
  var message = 'No more continuations to resume';
61
61
  throw IllegalStateException().o4(toString(message));
62
62
  }
63
- var next = ensureNotNull($this.t3w_1[$this.u3w_1]);
64
- var _unary__edvuaz = $this.u3w_1;
65
- $this.u3w_1 = _unary__edvuaz - 1 | 0;
66
- $this.t3w_1[_unary__edvuaz] = null;
63
+ var next = ensureNotNull($this.h3x_1[$this.i3x_1]);
64
+ var _unary__edvuaz = $this.i3x_1;
65
+ $this.i3x_1 = _unary__edvuaz - 1 | 0;
66
+ $this.h3x_1[_unary__edvuaz] = null;
67
67
  if (!_Result___get_isFailure__impl__jpiriv(result)) {
68
68
  next.lc(result);
69
69
  } else {
@@ -75,29 +75,29 @@ function resumeRootWith($this, result) {
75
75
  }
76
76
  }
77
77
  function discardLastRootContinuation($this) {
78
- if ($this.u3w_1 < 0)
78
+ if ($this.i3x_1 < 0)
79
79
  throw IllegalStateException().o4('No more continuations to resume');
80
- var _unary__edvuaz = $this.u3w_1;
81
- $this.u3w_1 = _unary__edvuaz - 1 | 0;
82
- $this.t3w_1[_unary__edvuaz] = null;
80
+ var _unary__edvuaz = $this.i3x_1;
81
+ $this.i3x_1 = _unary__edvuaz - 1 | 0;
82
+ $this.h3x_1[_unary__edvuaz] = null;
83
83
  }
84
84
  var SuspendFunctionGun$continuation$1Class;
85
85
  function SuspendFunctionGun$continuation$1() {
86
86
  if (SuspendFunctionGun$continuation$1Class === VOID) {
87
87
  class $ {
88
88
  constructor(this$0) {
89
- this.x3w_1 = this$0;
90
- this.w3w_1 = -2147483648;
89
+ this.l3x_1 = this$0;
90
+ this.k3x_1 = -2147483648;
91
91
  }
92
92
  gc() {
93
- var continuation = this.x3w_1.t3w_1[this.x3w_1.u3w_1];
93
+ var continuation = this.l3x_1.h3x_1[this.l3x_1.i3x_1];
94
94
  if (!(continuation === this) && !(continuation == null))
95
95
  return continuation.gc();
96
- var index = this.x3w_1.u3w_1 - 1 | 0;
96
+ var index = this.l3x_1.i3x_1 - 1 | 0;
97
97
  while (index >= 0) {
98
98
  var _unary__edvuaz = index;
99
99
  index = _unary__edvuaz - 1 | 0;
100
- var cont = this.x3w_1.t3w_1[_unary__edvuaz];
100
+ var cont = this.l3x_1.h3x_1[_unary__edvuaz];
101
101
  if (!(cont === this) && !(cont == null))
102
102
  return cont.gc();
103
103
  }
@@ -110,10 +110,10 @@ function SuspendFunctionGun$continuation$1() {
110
110
  // Inline function 'kotlin.Companion.failure' call
111
111
  var exception = ensureNotNull(Result__exceptionOrNull_impl_p6xea9(result));
112
112
  var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
113
- resumeRootWith(this.x3w_1, tmp$ret$0);
113
+ resumeRootWith(this.l3x_1, tmp$ret$0);
114
114
  return Unit_instance;
115
115
  }
116
- loop(this.x3w_1, false);
116
+ loop(this.l3x_1, false);
117
117
  }
118
118
  lc(result) {
119
119
  return this.rl(result);
@@ -130,56 +130,56 @@ function SuspendFunctionGun() {
130
130
  class $ extends PipelineContext() {
131
131
  constructor(initial, context, blocks) {
132
132
  super(context);
133
- this.q3w_1 = blocks;
133
+ this.e3x_1 = blocks;
134
134
  var tmp = this;
135
- tmp.r3w_1 = new (SuspendFunctionGun$continuation$1())(this);
136
- this.s3w_1 = initial;
135
+ tmp.f3x_1 = new (SuspendFunctionGun$continuation$1())(this);
136
+ this.g3x_1 = initial;
137
137
  var tmp_0 = this;
138
138
  // Inline function 'kotlin.arrayOfNulls' call
139
- var size = this.q3w_1.i1();
140
- tmp_0.t3w_1 = Array(size);
141
- this.u3w_1 = -1;
142
- this.v3w_1 = 0;
139
+ var size = this.e3x_1.i1();
140
+ tmp_0.h3x_1 = Array(size);
141
+ this.i3x_1 = -1;
142
+ this.j3x_1 = 0;
143
143
  }
144
144
  s1x() {
145
- return this.r3w_1.gc();
145
+ return this.f3x_1.gc();
146
146
  }
147
- i3v() {
148
- return this.s3w_1;
147
+ w3v() {
148
+ return this.g3x_1;
149
149
  }
150
- k3v($completion) {
150
+ y3v($completion) {
151
151
  var tmp$ret$0;
152
152
  $l$block_0: {
153
- if (this.v3w_1 === this.q3w_1.i1()) {
154
- tmp$ret$0 = this.s3w_1;
153
+ if (this.j3x_1 === this.e3x_1.i1()) {
154
+ tmp$ret$0 = this.g3x_1;
155
155
  break $l$block_0;
156
156
  }
157
- this.y3w(intercepted($completion));
157
+ this.m3x(intercepted($completion));
158
158
  if (loop(this, true)) {
159
159
  discardLastRootContinuation(this);
160
- tmp$ret$0 = this.s3w_1;
160
+ tmp$ret$0 = this.g3x_1;
161
161
  break $l$block_0;
162
162
  }
163
163
  tmp$ret$0 = get_COROUTINE_SUSPENDED();
164
164
  }
165
165
  return tmp$ret$0;
166
166
  }
167
- j3v(subject, $completion) {
168
- this.s3w_1 = subject;
169
- return this.k3v($completion);
167
+ x3v(subject, $completion) {
168
+ this.g3x_1 = subject;
169
+ return this.y3v($completion);
170
170
  }
171
- l3v(initial, $completion) {
172
- this.v3w_1 = 0;
173
- if (this.v3w_1 === this.q3w_1.i1())
171
+ z3v(initial, $completion) {
172
+ this.j3x_1 = 0;
173
+ if (this.j3x_1 === this.e3x_1.i1())
174
174
  return initial;
175
- this.s3w_1 = initial;
176
- if (this.u3w_1 >= 0)
175
+ this.g3x_1 = initial;
176
+ if (this.i3x_1 >= 0)
177
177
  throw IllegalStateException().o4('Already started');
178
- return this.k3v($completion);
178
+ return this.y3v($completion);
179
179
  }
180
- y3w(continuation) {
181
- this.u3w_1 = this.u3w_1 + 1 | 0;
182
- this.t3w_1[this.u3w_1] = continuation;
180
+ m3x(continuation) {
181
+ this.i3x_1 = this.i3x_1 + 1 | 0;
182
+ this.h3x_1[this.i3x_1] = continuation;
183
183
  }
184
184
  }
185
185
  initMetadataForClass($, 'SuspendFunctionGun', VOID, VOID, VOID, [0, 1]);
@@ -15,13 +15,13 @@ function TypeInfo() {
15
15
  class $ {
16
16
  constructor(type, kotlinType) {
17
17
  kotlinType = kotlinType === VOID ? null : kotlinType;
18
- this.z3w_1 = type;
19
- this.a3x_1 = kotlinType;
18
+ this.n3x_1 = type;
19
+ this.o3x_1 = kotlinType;
20
20
  }
21
21
  hashCode() {
22
- var tmp0_safe_receiver = this.a3x_1;
22
+ var tmp0_safe_receiver = this.o3x_1;
23
23
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
24
- return tmp1_elvis_lhs == null ? this.z3w_1.hashCode() : tmp1_elvis_lhs;
24
+ return tmp1_elvis_lhs == null ? this.n3x_1.hashCode() : tmp1_elvis_lhs;
25
25
  }
26
26
  equals(other) {
27
27
  if (this === other)
@@ -29,16 +29,16 @@ function TypeInfo() {
29
29
  if (!(other instanceof TypeInfo()))
30
30
  return false;
31
31
  var tmp;
32
- if (!(this.a3x_1 == null) || !(other.a3x_1 == null)) {
33
- tmp = equals(this.a3x_1, other.a3x_1);
32
+ if (!(this.o3x_1 == null) || !(other.o3x_1 == null)) {
33
+ tmp = equals(this.o3x_1, other.o3x_1);
34
34
  } else {
35
- tmp = this.z3w_1.equals(other.z3w_1);
35
+ tmp = this.n3x_1.equals(other.n3x_1);
36
36
  }
37
37
  return tmp;
38
38
  }
39
39
  toString() {
40
- var tmp0_elvis_lhs = this.a3x_1;
41
- return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.z3w_1 : tmp0_elvis_lhs) + ')';
40
+ var tmp0_elvis_lhs = this.o3x_1;
41
+ return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.n3x_1 : tmp0_elvis_lhs) + ')';
42
42
  }
43
43
  }
44
44
  initMetadataForClass($, 'TypeInfo');
@@ -48,14 +48,14 @@ function Companion() {
48
48
  var _iterator__ex2g4s = this_0.d1();
49
49
  while (_iterator__ex2g4s.e1()) {
50
50
  var element = _iterator__ex2g4s.f1();
51
- var tmp$ret$0 = element.f4o_1;
51
+ var tmp$ret$0 = element.t4o_1;
52
52
  destination.d3(tmp$ret$0, element);
53
53
  }
54
- tmp.g4o_1 = destination;
55
- this.h4o_1 = Codes_INTERNAL_ERROR_getInstance();
54
+ tmp.u4o_1 = destination;
55
+ this.v4o_1 = Codes_INTERNAL_ERROR_getInstance();
56
56
  }
57
- i4o(code) {
58
- return this.g4o_1.w2(code);
57
+ w4o(code) {
58
+ return this.u4o_1.w2(code);
59
59
  }
60
60
  }
61
61
  initMetadataForCompanion($);
@@ -104,7 +104,7 @@ function Codes() {
104
104
  class $ extends Enum() {
105
105
  constructor(name, ordinal, code) {
106
106
  super(name, ordinal);
107
- this.f4o_1 = code;
107
+ this.t4o_1 = code;
108
108
  }
109
109
  }
110
110
  initMetadataForClass($, 'Codes');
@@ -164,25 +164,25 @@ var CloseReasonClass;
164
164
  function CloseReason() {
165
165
  if (CloseReasonClass === VOID) {
166
166
  class $ {
167
- static l4o(code, message) {
167
+ static z4o(code, message) {
168
168
  var $this = createThis(this);
169
- $this.j4o_1 = code;
170
- $this.k4o_1 = message;
169
+ $this.x4o_1 = code;
170
+ $this.y4o_1 = message;
171
171
  return $this;
172
172
  }
173
- static m4o(code, message) {
174
- return this.l4o(code.f4o_1, message);
173
+ static a4p(code, message) {
174
+ return this.z4o(code.t4o_1, message);
175
175
  }
176
- n4o() {
177
- return Companion_getInstance().i4o(this.j4o_1);
176
+ b4p() {
177
+ return Companion_getInstance().w4o(this.x4o_1);
178
178
  }
179
179
  toString() {
180
- var tmp0_elvis_lhs = this.n4o();
181
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.j4o_1 : tmp0_elvis_lhs) + ', message=' + this.k4o_1 + ')';
180
+ var tmp0_elvis_lhs = this.b4p();
181
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.x4o_1 : tmp0_elvis_lhs) + ', message=' + this.y4o_1 + ')';
182
182
  }
183
183
  hashCode() {
184
- var result = this.j4o_1;
185
- result = imul(result, 31) + getStringHashCode(this.k4o_1) | 0;
184
+ var result = this.x4o_1;
185
+ result = imul(result, 31) + getStringHashCode(this.y4o_1) | 0;
186
186
  return result;
187
187
  }
188
188
  equals(other) {
@@ -191,9 +191,9 @@ function CloseReason() {
191
191
  if (!(other instanceof CloseReason()))
192
192
  return false;
193
193
  var tmp0_other_with_cast = other instanceof CloseReason() ? other : THROW_CCE();
194
- if (!(this.j4o_1 === tmp0_other_with_cast.j4o_1))
194
+ if (!(this.x4o_1 === tmp0_other_with_cast.x4o_1))
195
195
  return false;
196
- if (!(this.k4o_1 === tmp0_other_with_cast.k4o_1))
196
+ if (!(this.y4o_1 === tmp0_other_with_cast.y4o_1))
197
197
  return false;
198
198
  return true;
199
199
  }