@attocash/commons-js 5.0.0 → 5.1.0

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 (282) 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-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -79,12 +79,12 @@ function HttpPlainTextConfig() {
79
79
  constructor() {
80
80
  var tmp = this;
81
81
  // Inline function 'kotlin.collections.mutableSetOf' call
82
- tmp.y5j_1 = LinkedHashSet().m1();
82
+ tmp.m5k_1 = LinkedHashSet().m1();
83
83
  var tmp_0 = this;
84
84
  // Inline function 'kotlin.collections.mutableMapOf' call
85
- tmp_0.z5j_1 = LinkedHashMap().ub();
86
- this.a5k_1 = null;
87
- this.b5k_1 = Charsets_getInstance().y3p_1;
85
+ tmp_0.n5k_1 = LinkedHashMap().ub();
86
+ this.o5k_1 = null;
87
+ this.p5k_1 = Charsets_getInstance().m3q_1;
88
88
  }
89
89
  }
90
90
  initMetadataForClass($, 'HttpPlainTextConfig', HttpPlainTextConfig);
@@ -99,18 +99,18 @@ function RenderRequestHook$install$slambda() {
99
99
  constructor($handler, resultContinuation, $box) {
100
100
  if ($box === VOID)
101
101
  $box = {};
102
- $box.k5k_1 = $handler;
102
+ $box.y5k_1 = $handler;
103
103
  super(resultContinuation, $box);
104
104
  }
105
- s4y($this$intercept, content, $completion) {
106
- var tmp = this.t4y($this$intercept, content, $completion);
105
+ g4z($this$intercept, content, $completion) {
106
+ var tmp = this.h4z($this$intercept, content, $completion);
107
107
  tmp.cc_1 = Unit_instance;
108
108
  tmp.dc_1 = null;
109
109
  return tmp.ic();
110
110
  }
111
111
  ld(p1, p2, $completion) {
112
112
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
113
- return this.s4y(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
113
+ return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
114
114
  }
115
115
  ic() {
116
116
  var suspendResult = this.cc_1;
@@ -121,17 +121,17 @@ function RenderRequestHook$install$slambda() {
121
121
  case 0:
122
122
  this.bc_1 = 4;
123
123
  this.ac_1 = 1;
124
- suspendResult = this.k5k_1(this.l5k_1.h3w_1, this.m5k_1, this);
124
+ suspendResult = this.y5k_1(this.z5k_1.v3w_1, this.a5l_1, this);
125
125
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
126
126
  return suspendResult;
127
127
  }
128
128
 
129
129
  continue $sm;
130
130
  case 1:
131
- this.n5k_1 = suspendResult;
132
- if (!(this.n5k_1 == null)) {
131
+ this.b5l_1 = suspendResult;
132
+ if (!(this.b5l_1 == null)) {
133
133
  this.ac_1 = 2;
134
- suspendResult = this.l5k_1.j3v(this.n5k_1, this);
134
+ suspendResult = this.z5k_1.x3v(this.b5l_1, this);
135
135
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
136
136
  return suspendResult;
137
137
  }
@@ -160,10 +160,10 @@ function RenderRequestHook$install$slambda() {
160
160
  }
161
161
  while (true);
162
162
  }
163
- t4y($this$intercept, content, completion) {
164
- var i = new (RenderRequestHook$install$slambda())(this.k5k_1, completion);
165
- i.l5k_1 = $this$intercept;
166
- i.m5k_1 = content;
163
+ h4z($this$intercept, content, completion) {
164
+ var i = new (RenderRequestHook$install$slambda())(this.y5k_1, completion);
165
+ i.z5k_1 = $this$intercept;
166
+ i.a5l_1 = content;
167
167
  return i;
168
168
  }
169
169
  }
@@ -175,7 +175,7 @@ function RenderRequestHook$install$slambda() {
175
175
  function RenderRequestHook$install$slambda_0($handler, resultContinuation) {
176
176
  var i = new (RenderRequestHook$install$slambda())($handler, resultContinuation);
177
177
  var l = function ($this$intercept, content, $completion) {
178
- return i.s4y($this$intercept, content, $completion);
178
+ return i.g4z($this$intercept, content, $completion);
179
179
  };
180
180
  l.$arity = 2;
181
181
  return l;
@@ -184,12 +184,12 @@ var RenderRequestHookClass;
184
184
  function RenderRequestHook() {
185
185
  if (RenderRequestHookClass === VOID) {
186
186
  class $ {
187
- o5k(client, handler) {
188
- var tmp = Phases_getInstance().x58_1;
189
- client.y4x_1.l3w(tmp, RenderRequestHook$install$slambda_0(handler, null));
187
+ c5l(client, handler) {
188
+ var tmp = Phases_getInstance().l59_1;
189
+ client.m4y_1.z3w(tmp, RenderRequestHook$install$slambda_0(handler, null));
190
190
  }
191
- z58(client, handler) {
192
- return this.o5k(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
191
+ n59(client, handler) {
192
+ return this.c5l(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
193
193
  }
194
194
  }
195
195
  initMetadataForObject($, 'RenderRequestHook');
@@ -211,20 +211,20 @@ function HttpPlainTextConfig$_init_$ref_isjudo() {
211
211
  function HttpPlainText$lambda($this$createClientPlugin) {
212
212
  _init_properties_HttpPlainText_kt__iy89z1();
213
213
  // Inline function 'kotlin.collections.sortedByDescending' call
214
- var this_0 = toList($this$createClientPlugin.u59_1.z5j_1);
214
+ var this_0 = toList($this$createClientPlugin.i5a_1.n5k_1);
215
215
  // Inline function 'kotlin.comparisons.compareByDescending' call
216
216
  var tmp = HttpPlainText$lambda$lambda;
217
217
  var tmp$ret$0 = new (sam$kotlin_Comparator$0())(tmp);
218
218
  var withQuality = sortedWith(this_0, tmp$ret$0);
219
- var responseCharsetFallback = $this$createClientPlugin.u59_1.b5k_1;
219
+ var responseCharsetFallback = $this$createClientPlugin.i5a_1.p5k_1;
220
220
  // Inline function 'kotlin.collections.filter' call
221
- var tmp0 = $this$createClientPlugin.u59_1.y5j_1;
221
+ var tmp0 = $this$createClientPlugin.i5a_1.m5k_1;
222
222
  // Inline function 'kotlin.collections.filterTo' call
223
223
  var destination = ArrayList().l1();
224
224
  var _iterator__ex2g4s = tmp0.d1();
225
225
  while (_iterator__ex2g4s.e1()) {
226
226
  var element = _iterator__ex2g4s.f1();
227
- if (!$this$createClientPlugin.u59_1.z5j_1.u2(element)) {
227
+ if (!$this$createClientPlugin.i5a_1.n5k_1.u2(element)) {
228
228
  destination.m(element);
229
229
  }
230
230
  }
@@ -270,7 +270,7 @@ function HttpPlainText$lambda($this$createClientPlugin) {
270
270
  this_1.jb(get_name(responseCharsetFallback));
271
271
  }
272
272
  var acceptCharsetHeader = this_1.toString();
273
- var tmp0_elvis_lhs = $this$createClientPlugin.u59_1.a5k_1;
273
+ var tmp0_elvis_lhs = $this$createClientPlugin.i5a_1.o5k_1;
274
274
  var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? firstOrNull(withoutQuality) : tmp0_elvis_lhs;
275
275
  var tmp_1;
276
276
  if (tmp1_elvis_lhs == null) {
@@ -280,10 +280,10 @@ function HttpPlainText$lambda($this$createClientPlugin) {
280
280
  tmp_1 = tmp1_elvis_lhs;
281
281
  }
282
282
  var tmp3_elvis_lhs = tmp_1;
283
- var requestCharset = tmp3_elvis_lhs == null ? Charsets_getInstance().y3p_1 : tmp3_elvis_lhs;
283
+ var requestCharset = tmp3_elvis_lhs == null ? Charsets_getInstance().m3q_1 : tmp3_elvis_lhs;
284
284
  var tmp_2 = RenderRequestHook_instance;
285
- $this$createClientPlugin.x59(tmp_2, HttpPlainText$lambda$slambda_0(acceptCharsetHeader, requestCharset, null));
286
- $this$createClientPlugin.p5k(HttpPlainText$lambda$slambda_2(responseCharsetFallback, null));
285
+ $this$createClientPlugin.l5a(tmp_2, HttpPlainText$lambda$slambda_0(acceptCharsetHeader, requestCharset, null));
286
+ $this$createClientPlugin.d5l(HttpPlainText$lambda$slambda_2(responseCharsetFallback, null));
287
287
  return Unit_instance;
288
288
  }
289
289
  var sam$kotlin_Comparator$0Class;
@@ -291,16 +291,16 @@ function sam$kotlin_Comparator$0() {
291
291
  if (sam$kotlin_Comparator$0Class === VOID) {
292
292
  class $ {
293
293
  constructor(function_0) {
294
- this.q5k_1 = function_0;
294
+ this.e5l_1 = function_0;
295
295
  }
296
296
  wi(a, b) {
297
- return this.q5k_1(a, b);
297
+ return this.e5l_1(a, b);
298
298
  }
299
299
  compare(a, b) {
300
300
  return this.wi(a, b);
301
301
  }
302
302
  i4() {
303
- return this.q5k_1;
303
+ return this.e5l_1;
304
304
  }
305
305
  equals(other) {
306
306
  var tmp;
@@ -327,23 +327,23 @@ function sam$kotlin_Comparator$0() {
327
327
  return sam$kotlin_Comparator$0Class;
328
328
  }
329
329
  function invoke$wrapContent(requestCharset, request, content, requestContentType) {
330
- var contentType = requestContentType == null ? Text_getInstance().a40_1 : requestContentType;
330
+ var contentType = requestContentType == null ? Text_getInstance().o40_1 : requestContentType;
331
331
  var tmp2_elvis_lhs = requestContentType == null ? null : charset(requestContentType);
332
332
  var charset_0 = tmp2_elvis_lhs == null ? requestCharset : tmp2_elvis_lhs;
333
- get_LOGGER().s3x('Sending request body to ' + request.z4z_1.toString() + ' as text/plain with charset ' + charset_0.toString());
333
+ get_LOGGER().g3y('Sending request body to ' + request.n50_1.toString() + ' as text/plain with charset ' + charset_0.toString());
334
334
  return new (TextContent())(content, withCharset(contentType, charset_0));
335
335
  }
336
336
  function invoke$read(responseCharsetFallback, call, body) {
337
- var tmp0_elvis_lhs = charset_0(call.z4y());
337
+ var tmp0_elvis_lhs = charset_0(call.n4z());
338
338
  var actualCharset = tmp0_elvis_lhs == null ? responseCharsetFallback : tmp0_elvis_lhs;
339
- get_LOGGER().s3x('Reading response body for ' + call.q51().z51().toString() + ' as String with charset ' + actualCharset.toString());
339
+ get_LOGGER().g3y('Reading response body for ' + call.e52().n52().toString() + ' as String with charset ' + actualCharset.toString());
340
340
  return readText(body, actualCharset);
341
341
  }
342
342
  function invoke$addCharsetHeaders(acceptCharsetHeader, context) {
343
- if (!(context.b50_1.o3r(HttpHeaders_getInstance().t40_1) == null))
343
+ if (!(context.p50_1.c3s(HttpHeaders_getInstance().h41_1) == null))
344
344
  return Unit_instance;
345
- get_LOGGER().s3x('Adding Accept-Charset=' + acceptCharsetHeader + ' to ' + context.z4z_1.toString());
346
- context.b50_1.b3t(HttpHeaders_getInstance().t40_1, acceptCharsetHeader);
345
+ get_LOGGER().g3y('Adding Accept-Charset=' + acceptCharsetHeader + ' to ' + context.n50_1.toString());
346
+ context.p50_1.p3t(HttpHeaders_getInstance().h41_1, acceptCharsetHeader);
347
347
  }
348
348
  function HttpPlainText$lambda$lambda(a, b) {
349
349
  _init_properties_HttpPlainText_kt__iy89z1();
@@ -366,19 +366,19 @@ function HttpPlainText$lambda$slambda() {
366
366
  constructor($acceptCharsetHeader, $requestCharset, resultContinuation, $box) {
367
367
  if ($box === VOID)
368
368
  $box = {};
369
- $box.z5k_1 = $acceptCharsetHeader;
370
- $box.a5l_1 = $requestCharset;
369
+ $box.n5l_1 = $acceptCharsetHeader;
370
+ $box.o5l_1 = $requestCharset;
371
371
  super(resultContinuation, $box);
372
372
  }
373
- d5l(request, content, $completion) {
374
- var tmp = this.e5l(request, content, $completion);
373
+ r5l(request, content, $completion) {
374
+ var tmp = this.s5l(request, content, $completion);
375
375
  tmp.cc_1 = Unit_instance;
376
376
  tmp.dc_1 = null;
377
377
  return tmp.ic();
378
378
  }
379
379
  ld(p1, p2, $completion) {
380
380
  var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
381
- return this.d5l(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
381
+ return this.r5l(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
382
382
  }
383
383
  ic() {
384
384
  var suspendResult = this.cc_1;
@@ -387,15 +387,15 @@ function HttpPlainText$lambda$slambda() {
387
387
  var tmp = this.ac_1;
388
388
  if (tmp === 0) {
389
389
  this.bc_1 = 1;
390
- invoke$addCharsetHeaders(this.z5k_1, this.b5l_1);
391
- var tmp_0 = this.c5l_1;
390
+ invoke$addCharsetHeaders(this.n5l_1, this.p5l_1);
391
+ var tmp_0 = this.q5l_1;
392
392
  if (!(typeof tmp_0 === 'string'))
393
393
  return null;
394
- var contentType_0 = contentType(this.b5l_1);
395
- if (!(contentType_0 == null) && !(contentType_0.h3y_1 === Text_getInstance().a40_1.h3y_1)) {
394
+ var contentType_0 = contentType(this.p5l_1);
395
+ if (!(contentType_0 == null) && !(contentType_0.v3y_1 === Text_getInstance().o40_1.v3y_1)) {
396
396
  return null;
397
397
  }
398
- return invoke$wrapContent(this.a5l_1, this.b5l_1, this.c5l_1, contentType_0);
398
+ return invoke$wrapContent(this.o5l_1, this.p5l_1, this.q5l_1, contentType_0);
399
399
  } else if (tmp === 1) {
400
400
  throw this.dc_1;
401
401
  }
@@ -405,10 +405,10 @@ function HttpPlainText$lambda$slambda() {
405
405
  }
406
406
  while (true);
407
407
  }
408
- e5l(request, content, completion) {
409
- var i = new (HttpPlainText$lambda$slambda())(this.z5k_1, this.a5l_1, completion);
410
- i.b5l_1 = request;
411
- i.c5l_1 = content;
408
+ s5l(request, content, completion) {
409
+ var i = new (HttpPlainText$lambda$slambda())(this.n5l_1, this.o5l_1, completion);
410
+ i.p5l_1 = request;
411
+ i.q5l_1 = content;
412
412
  return i;
413
413
  }
414
414
  }
@@ -420,7 +420,7 @@ function HttpPlainText$lambda$slambda() {
420
420
  function HttpPlainText$lambda$slambda_0($acceptCharsetHeader, $requestCharset, resultContinuation) {
421
421
  var i = new (HttpPlainText$lambda$slambda())($acceptCharsetHeader, $requestCharset, resultContinuation);
422
422
  var l = function (request, content, $completion) {
423
- return i.d5l(request, content, $completion);
423
+ return i.r5l(request, content, $completion);
424
424
  };
425
425
  l.$arity = 2;
426
426
  return l;
@@ -432,20 +432,20 @@ function HttpPlainText$lambda$slambda_1() {
432
432
  constructor($responseCharsetFallback, resultContinuation, $box) {
433
433
  if ($box === VOID)
434
434
  $box = {};
435
- $box.n5l_1 = $responseCharsetFallback;
435
+ $box.b5m_1 = $responseCharsetFallback;
436
436
  super(resultContinuation, $box);
437
437
  }
438
- s5l($this$transformResponseBody, response, content, requestedType, $completion) {
439
- var tmp = this.t5l($this$transformResponseBody, response, content, requestedType, $completion);
438
+ g5m($this$transformResponseBody, response, content, requestedType, $completion) {
439
+ var tmp = this.h5m($this$transformResponseBody, response, content, requestedType, $completion);
440
440
  tmp.cc_1 = Unit_instance;
441
441
  tmp.dc_1 = null;
442
442
  return tmp.ic();
443
443
  }
444
- u5l(p1, p2, p3, p4, $completion) {
444
+ i5m(p1, p2, p3, p4, $completion) {
445
445
  var tmp = p1 instanceof TransformResponseBodyContext() ? p1 : THROW_CCE();
446
446
  var tmp_0 = p2 instanceof HttpResponse() ? p2 : THROW_CCE();
447
447
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel()) : false) ? p3 : THROW_CCE();
448
- return this.s5l(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo() ? p4 : THROW_CCE(), $completion);
448
+ return this.g5m(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo() ? p4 : THROW_CCE(), $completion);
449
449
  }
450
450
  ic() {
451
451
  var suspendResult = this.cc_1;
@@ -455,10 +455,10 @@ function HttpPlainText$lambda$slambda_1() {
455
455
  switch (tmp) {
456
456
  case 0:
457
457
  this.bc_1 = 2;
458
- if (!this.r5l_1.z3w_1.equals(PrimitiveClasses_getInstance().gh()))
458
+ if (!this.f5m_1.n3x_1.equals(PrimitiveClasses_getInstance().gh()))
459
459
  return null;
460
460
  this.ac_1 = 1;
461
- suspendResult = readRemaining(this.q5l_1, this);
461
+ suspendResult = readRemaining(this.e5m_1, this);
462
462
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
463
463
  return suspendResult;
464
464
  }
@@ -466,7 +466,7 @@ function HttpPlainText$lambda$slambda_1() {
466
466
  continue $sm;
467
467
  case 1:
468
468
  var bodyBytes = suspendResult;
469
- return invoke$read(this.n5l_1, this.p5l_1.x51(), bodyBytes);
469
+ return invoke$read(this.b5m_1, this.d5m_1.l52(), bodyBytes);
470
470
  case 2:
471
471
  throw this.dc_1;
472
472
  }
@@ -481,12 +481,12 @@ function HttpPlainText$lambda$slambda_1() {
481
481
  }
482
482
  while (true);
483
483
  }
484
- t5l($this$transformResponseBody, response, content, requestedType, completion) {
485
- var i = new (HttpPlainText$lambda$slambda_1())(this.n5l_1, completion);
486
- i.o5l_1 = $this$transformResponseBody;
487
- i.p5l_1 = response;
488
- i.q5l_1 = content;
489
- i.r5l_1 = requestedType;
484
+ h5m($this$transformResponseBody, response, content, requestedType, completion) {
485
+ var i = new (HttpPlainText$lambda$slambda_1())(this.b5m_1, completion);
486
+ i.c5m_1 = $this$transformResponseBody;
487
+ i.d5m_1 = response;
488
+ i.e5m_1 = content;
489
+ i.f5m_1 = requestedType;
490
490
  return i;
491
491
  }
492
492
  }
@@ -498,7 +498,7 @@ function HttpPlainText$lambda$slambda_1() {
498
498
  function HttpPlainText$lambda$slambda_2($responseCharsetFallback, resultContinuation) {
499
499
  var i = new (HttpPlainText$lambda$slambda_1())($responseCharsetFallback, resultContinuation);
500
500
  var l = function ($this$transformResponseBody, response, content, requestedType, $completion) {
501
- return i.s5l($this$transformResponseBody, response, content, requestedType, $completion);
501
+ return i.g5m($this$transformResponseBody, response, content, requestedType, $completion);
502
502
  };
503
503
  l.$arity = 4;
504
504
  return l;
@@ -53,8 +53,8 @@ function HttpRedirectConfig() {
53
53
  if (HttpRedirectConfigClass === VOID) {
54
54
  class $ {
55
55
  constructor() {
56
- this.v5l_1 = true;
57
- this.w5l_1 = false;
56
+ this.j5m_1 = true;
57
+ this.k5m_1 = false;
58
58
  }
59
59
  }
60
60
  initMetadataForClass($, 'HttpRedirectConfig', HttpRedirectConfig);
@@ -64,8 +64,8 @@ function HttpRedirectConfig() {
64
64
  }
65
65
  function isRedirect(_this__u8e3s4) {
66
66
  _init_properties_HttpRedirect_kt__ure7fo();
67
- var tmp0_subject = _this__u8e3s4.h48_1;
68
- return tmp0_subject === Companion_getInstance().q46_1.h48_1 || tmp0_subject === Companion_getInstance().r46_1.h48_1 || (tmp0_subject === Companion_getInstance().w46_1.h48_1 || (tmp0_subject === Companion_getInstance().x46_1.h48_1 || tmp0_subject === Companion_getInstance().s46_1.h48_1)) ? true : false;
67
+ var tmp0_subject = _this__u8e3s4.v48_1;
68
+ return tmp0_subject === Companion_getInstance().e47_1.v48_1 || tmp0_subject === Companion_getInstance().f47_1.v48_1 || (tmp0_subject === Companion_getInstance().k47_1.v48_1 || (tmp0_subject === Companion_getInstance().l47_1.v48_1 || tmp0_subject === Companion_getInstance().g47_1.v48_1)) ? true : false;
69
69
  }
70
70
  function HttpRedirectConfig$_init_$ref_rhym9t() {
71
71
  var l = function () {
@@ -76,10 +76,10 @@ function HttpRedirectConfig$_init_$ref_rhym9t() {
76
76
  }
77
77
  function HttpRedirect$lambda($this$createClientPlugin) {
78
78
  _init_properties_HttpRedirect_kt__ure7fo();
79
- var checkHttpMethod = $this$createClientPlugin.u59_1.v5l_1;
80
- var allowHttpsDowngrade = $this$createClientPlugin.u59_1.w5l_1;
79
+ var checkHttpMethod = $this$createClientPlugin.i5a_1.j5m_1;
80
+ var allowHttpsDowngrade = $this$createClientPlugin.i5a_1.k5m_1;
81
81
  var tmp = Send_instance;
82
- $this$createClientPlugin.x59(tmp, HttpRedirect$lambda$slambda_0(checkHttpMethod, allowHttpsDowngrade, $this$createClientPlugin, null));
82
+ $this$createClientPlugin.l5a(tmp, HttpRedirect$lambda$slambda_0(checkHttpMethod, allowHttpsDowngrade, $this$createClientPlugin, null));
83
83
  return Unit_instance;
84
84
  }
85
85
  function invoke$handleCall(_this__u8e3s4, context, origin, allowHttpsDowngrade, client, $completion) {
@@ -95,20 +95,20 @@ function HttpRedirect$lambda$slambda() {
95
95
  constructor($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin, resultContinuation, $box) {
96
96
  if ($box === VOID)
97
97
  $box = {};
98
- $box.x5m_1 = $checkHttpMethod;
99
- $box.y5m_1 = $allowHttpsDowngrade;
100
- $box.z5m_1 = $this_createClientPlugin;
98
+ $box.l5n_1 = $checkHttpMethod;
99
+ $box.m5n_1 = $allowHttpsDowngrade;
100
+ $box.n5n_1 = $this_createClientPlugin;
101
101
  super(resultContinuation, $box);
102
102
  }
103
- m5i($this$on, request, $completion) {
104
- var tmp = this.n5i($this$on, request, $completion);
103
+ a5j($this$on, request, $completion) {
104
+ var tmp = this.b5j($this$on, request, $completion);
105
105
  tmp.cc_1 = Unit_instance;
106
106
  tmp.dc_1 = null;
107
107
  return tmp.ic();
108
108
  }
109
109
  ld(p1, p2, $completion) {
110
110
  var tmp = p1 instanceof Sender() ? p1 : THROW_CCE();
111
- return this.m5i(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
111
+ return this.a5j(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
112
112
  }
113
113
  ic() {
114
114
  var suspendResult = this.cc_1;
@@ -119,20 +119,20 @@ function HttpRedirect$lambda$slambda() {
119
119
  case 0:
120
120
  this.bc_1 = 3;
121
121
  this.ac_1 = 1;
122
- suspendResult = this.a5n_1.q5i(this.b5n_1, this);
122
+ suspendResult = this.o5n_1.e5j(this.p5n_1, this);
123
123
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
124
124
  return suspendResult;
125
125
  }
126
126
 
127
127
  continue $sm;
128
128
  case 1:
129
- this.c5n_1 = suspendResult;
130
- if (this.x5m_1 && !get_ALLOWED_FOR_REDIRECT().q2(this.c5n_1.q51().y51())) {
131
- return this.c5n_1;
129
+ this.q5n_1 = suspendResult;
130
+ if (this.l5n_1 && !get_ALLOWED_FOR_REDIRECT().q2(this.q5n_1.e52().m52())) {
131
+ return this.q5n_1;
132
132
  }
133
133
 
134
134
  this.ac_1 = 2;
135
- suspendResult = invoke$handleCall(this.a5n_1, this.b5n_1, this.c5n_1, this.y5m_1, this.z5m_1.t59_1, this);
135
+ suspendResult = invoke$handleCall(this.o5n_1, this.p5n_1, this.q5n_1, this.m5n_1, this.n5n_1.h5a_1, this);
136
136
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
137
137
  return suspendResult;
138
138
  }
@@ -154,10 +154,10 @@ function HttpRedirect$lambda$slambda() {
154
154
  }
155
155
  while (true);
156
156
  }
157
- n5i($this$on, request, completion) {
158
- var i = new (HttpRedirect$lambda$slambda())(this.x5m_1, this.y5m_1, this.z5m_1, completion);
159
- i.a5n_1 = $this$on;
160
- i.b5n_1 = request;
157
+ b5j($this$on, request, completion) {
158
+ var i = new (HttpRedirect$lambda$slambda())(this.l5n_1, this.m5n_1, this.n5n_1, completion);
159
+ i.o5n_1 = $this$on;
160
+ i.p5n_1 = request;
161
161
  return i;
162
162
  }
163
163
  }
@@ -169,7 +169,7 @@ function HttpRedirect$lambda$slambda() {
169
169
  function HttpRedirect$lambda$slambda_0($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin, resultContinuation) {
170
170
  var i = new (HttpRedirect$lambda$slambda())($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin, resultContinuation);
171
171
  var l = function ($this$on, request, $completion) {
172
- return i.m5i($this$on, request, $completion);
172
+ return i.a5j($this$on, request, $completion);
173
173
  };
174
174
  l.$arity = 2;
175
175
  return l;
@@ -180,11 +180,11 @@ function $invoke$handleCallCOROUTINE$() {
180
180
  class $ extends CoroutineImpl() {
181
181
  constructor(_this__u8e3s4, context, origin, allowHttpsDowngrade, client, resultContinuation) {
182
182
  super(resultContinuation);
183
- this.f5m_1 = _this__u8e3s4;
184
- this.g5m_1 = context;
185
- this.h5m_1 = origin;
186
- this.i5m_1 = allowHttpsDowngrade;
187
- this.j5m_1 = client;
183
+ this.t5m_1 = _this__u8e3s4;
184
+ this.u5m_1 = context;
185
+ this.v5m_1 = origin;
186
+ this.w5m_1 = allowHttpsDowngrade;
187
+ this.x5m_1 = client;
188
188
  }
189
189
  ic() {
190
190
  var suspendResult = this.cc_1;
@@ -194,12 +194,12 @@ function $invoke$handleCallCOROUTINE$() {
194
194
  switch (tmp) {
195
195
  case 0:
196
196
  this.bc_1 = 3;
197
- if (!isRedirect(this.h5m_1.z4y().g52()))
198
- return this.h5m_1;
199
- this.k5m_1 = this.h5m_1;
200
- this.l5m_1 = this.g5m_1;
201
- this.m5m_1 = this.h5m_1.q51().z51().m49_1;
202
- this.n5m_1 = get_authority(this.h5m_1.q51().z51());
197
+ if (!isRedirect(this.v5m_1.n4z().u52()))
198
+ return this.v5m_1;
199
+ this.y5m_1 = this.v5m_1;
200
+ this.z5m_1 = this.u5m_1;
201
+ this.a5n_1 = this.v5m_1.e52().n52().a4a_1;
202
+ this.b5n_1 = get_authority(this.v5m_1.e52().n52());
203
203
  this.ac_1 = 1;
204
204
  continue $sm;
205
205
  case 1:
@@ -208,42 +208,42 @@ function $invoke$handleCallCOROUTINE$() {
208
208
  continue $sm;
209
209
  }
210
210
 
211
- this.j5m_1.e4y_1.p4x(get_HttpResponseRedirectEvent(), this.k5m_1.z4y());
212
- this.o5m_1 = this.k5m_1.z4y().l45().o3r(HttpHeaders_getInstance().g42_1);
213
- get_LOGGER().s3x('Received redirect response to ' + this.o5m_1 + ' for request ' + this.g5m_1.z4z_1.toString());
211
+ this.x5m_1.s4y_1.d4y(get_HttpResponseRedirectEvent(), this.y5m_1.n4z());
212
+ this.c5n_1 = this.y5m_1.n4z().z45().c3s(HttpHeaders_getInstance().u42_1);
213
+ get_LOGGER().g3y('Received redirect response to ' + this.c5n_1 + ' for request ' + this.u5m_1.n50_1.toString());
214
214
  var tmp_0 = this;
215
215
  var this_0 = new (HttpRequestBuilder())();
216
- this_0.b57(this.l5m_1);
217
- this_0.z4z_1.w48_1.z2();
218
- var tmp0_safe_receiver = this.o5m_1;
216
+ this_0.p57(this.z5m_1);
217
+ this_0.n50_1.k49_1.z2();
218
+ var tmp0_safe_receiver = this.c5n_1;
219
219
  if (tmp0_safe_receiver == null)
220
220
  null;
221
221
  else {
222
- takeFrom(this_0.z4z_1, tmp0_safe_receiver);
222
+ takeFrom(this_0.n50_1, tmp0_safe_receiver);
223
223
  }
224
224
 
225
- if (!this.i5m_1 && isSecure(this.m5m_1) && !isSecure(this_0.z4z_1.z48())) {
226
- get_LOGGER().s3x('Can not redirect ' + this.g5m_1.z4z_1.toString() + ' because of security downgrade');
227
- return this.k5m_1;
225
+ if (!this.w5m_1 && isSecure(this.a5n_1) && !isSecure(this_0.n50_1.n49())) {
226
+ get_LOGGER().g3y('Can not redirect ' + this.u5m_1.n50_1.toString() + ' because of security downgrade');
227
+ return this.y5m_1;
228
228
  }
229
229
 
230
- if (!(this.n5m_1 === get_authority_0(this_0.z4z_1))) {
231
- this_0.b50_1.f3t(HttpHeaders_getInstance().b41_1);
232
- get_LOGGER().s3x('Removing Authorization header from redirect for ' + this.g5m_1.z4z_1.toString());
230
+ if (!(this.b5n_1 === get_authority_0(this_0.n50_1))) {
231
+ this_0.p50_1.t3t(HttpHeaders_getInstance().p41_1);
232
+ get_LOGGER().g3y('Removing Authorization header from redirect for ' + this.u5m_1.n50_1.toString());
233
233
  }
234
234
 
235
- tmp_0.l5m_1 = this_0;
235
+ tmp_0.z5m_1 = this_0;
236
236
  this.ac_1 = 2;
237
- suspendResult = this.f5m_1.q5i(this.l5m_1, this);
237
+ suspendResult = this.t5m_1.e5j(this.z5m_1, this);
238
238
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
239
239
  return suspendResult;
240
240
  }
241
241
 
242
242
  continue $sm;
243
243
  case 2:
244
- this.k5m_1 = suspendResult;
245
- if (!isRedirect(this.k5m_1.z4y().g52()))
246
- return this.k5m_1;
244
+ this.y5m_1 = suspendResult;
245
+ if (!isRedirect(this.y5m_1.n4z().u52()))
246
+ return this.y5m_1;
247
247
  this.ac_1 = 1;
248
248
  continue $sm;
249
249
  case 3:
@@ -272,7 +272,7 @@ var properties_initialized_HttpRedirect_kt_klj746;
272
272
  function _init_properties_HttpRedirect_kt__ure7fo() {
273
273
  if (!properties_initialized_HttpRedirect_kt_klj746) {
274
274
  properties_initialized_HttpRedirect_kt_klj746 = true;
275
- ALLOWED_FOR_REDIRECT = setOf([Companion_getInstance_0().m45_1, Companion_getInstance_0().r45_1]);
275
+ ALLOWED_FOR_REDIRECT = setOf([Companion_getInstance_0().a46_1, Companion_getInstance_0().f46_1]);
276
276
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.HttpRedirect');
277
277
  HttpResponseRedirectEvent = new (EventDefinition())();
278
278
  var tmp = HttpRedirectConfig$_init_$ref_rhym9t();