@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
@@ -21,7 +21,7 @@ import { initMetadataForLambda3af3he42mmnh as initMetadataForLambda } from '../.
21
21
  //endregion
22
22
  function observable(_this__u8e3s4, context, contentLength, listener) {
23
23
  var tmp = GlobalScope_instance;
24
- return writer(tmp, context, true, observable$slambda_0(_this__u8e3s4, listener, contentLength, null)).t3m_1;
24
+ return writer(tmp, context, true, observable$slambda_0(_this__u8e3s4, listener, contentLength, null)).h3n_1;
25
25
  }
26
26
  var observable$slambdaClass;
27
27
  function observable$slambda() {
@@ -30,19 +30,19 @@ function observable$slambda() {
30
30
  constructor($this_observable, $listener, $contentLength, resultContinuation, $box) {
31
31
  if ($box === VOID)
32
32
  $box = {};
33
- $box.m61_1 = $this_observable;
34
- $box.n61_1 = $listener;
35
- $box.o61_1 = $contentLength;
33
+ $box.a62_1 = $this_observable;
34
+ $box.b62_1 = $listener;
35
+ $box.c62_1 = $contentLength;
36
36
  super(resultContinuation, $box);
37
37
  }
38
- l4l($this$writer, $completion) {
39
- var tmp = this.m4l($this$writer, $completion);
38
+ z4l($this$writer, $completion) {
39
+ var tmp = this.a4m($this$writer, $completion);
40
40
  tmp.cc_1 = Unit_instance;
41
41
  tmp.dc_1 = null;
42
42
  return tmp.ic();
43
43
  }
44
44
  kd(p1, $completion) {
45
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
45
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
46
46
  }
47
47
  ic() {
48
48
  var suspendResult = this.cc_1;
@@ -53,12 +53,12 @@ function observable$slambda() {
53
53
  case 0:
54
54
  this.bc_1 = 16;
55
55
  var tmp_0 = this;
56
- tmp_0.q61_1 = get_ByteArrayPool();
56
+ tmp_0.e62_1 = get_ByteArrayPool();
57
57
  this.ac_1 = 1;
58
58
  continue $sm;
59
59
  case 1:
60
- this.s61_1 = this.q61_1;
61
- this.t61_1 = this.s61_1.n3q();
60
+ this.g62_1 = this.e62_1;
61
+ this.h62_1 = this.g62_1.b3r();
62
62
  this.ac_1 = 2;
63
63
  continue $sm;
64
64
  case 2:
@@ -67,27 +67,27 @@ function observable$slambda() {
67
67
  case 3:
68
68
  this.bc_1 = 15;
69
69
  var tmp_1 = this;
70
- tmp_1.v61_1 = this.t61_1;
71
- this.w61_1 = this.v61_1;
72
- this.x61_1 = new (Long())(0, 0);
70
+ tmp_1.j62_1 = this.h62_1;
71
+ this.k62_1 = this.j62_1;
72
+ this.l62_1 = new (Long())(0, 0);
73
73
  this.ac_1 = 4;
74
74
  continue $sm;
75
75
  case 4:
76
- if (!!this.m61_1.t3a()) {
76
+ if (!!this.a62_1.h3b()) {
77
77
  this.ac_1 = 9;
78
78
  continue $sm;
79
79
  }
80
80
 
81
81
  this.ac_1 = 5;
82
- suspendResult = readAvailable(this.m61_1, this.w61_1, VOID, VOID, this);
82
+ suspendResult = readAvailable(this.a62_1, this.k62_1, VOID, VOID, this);
83
83
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
84
84
  return suspendResult;
85
85
  }
86
86
 
87
87
  continue $sm;
88
88
  case 5:
89
- this.y61_1 = suspendResult;
90
- if (this.y61_1 <= 0) {
89
+ this.m62_1 = suspendResult;
90
+ if (this.m62_1 <= 0) {
91
91
  this.ac_1 = 4;
92
92
  continue $sm;
93
93
  } else {
@@ -97,7 +97,7 @@ function observable$slambda() {
97
97
 
98
98
  case 6:
99
99
  this.ac_1 = 7;
100
- suspendResult = writeFully(this.p61_1.v3m_1, this.w61_1, 0, this.y61_1, this);
100
+ suspendResult = writeFully(this.d62_1.j3n_1, this.k62_1, 0, this.m62_1, this);
101
101
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
102
102
  return suspendResult;
103
103
  }
@@ -105,11 +105,11 @@ function observable$slambda() {
105
105
  continue $sm;
106
106
  case 7:
107
107
  var tmp_2 = this;
108
- var tmp0 = this.x61_1;
109
- var other = this.y61_1;
110
- tmp_2.x61_1 = tmp0.p3(toLong(other));
108
+ var tmp0 = this.l62_1;
109
+ var other = this.m62_1;
110
+ tmp_2.l62_1 = tmp0.p3(toLong(other));
111
111
  this.ac_1 = 8;
112
- suspendResult = this.n61_1.a55(this.x61_1, this.o61_1, this);
112
+ suspendResult = this.b62_1.o55(this.l62_1, this.c62_1, this);
113
113
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
114
114
  return suspendResult;
115
115
  }
@@ -119,11 +119,11 @@ function observable$slambda() {
119
119
  this.ac_1 = 4;
120
120
  continue $sm;
121
121
  case 9:
122
- this.z61_1 = this.m61_1.r3a();
123
- close(this.p61_1.v3m_1, this.z61_1);
124
- if (this.z61_1 == null && this.x61_1.equals(new (Long())(0, 0))) {
122
+ this.n62_1 = this.a62_1.f3b();
123
+ close(this.d62_1.j3n_1, this.n62_1);
124
+ if (this.n62_1 == null && this.l62_1.equals(new (Long())(0, 0))) {
125
125
  this.ac_1 = 10;
126
- suspendResult = this.n61_1.a55(this.x61_1, this.o61_1, this);
126
+ suspendResult = this.b62_1.o55(this.l62_1, this.c62_1, this);
127
127
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
128
128
  return suspendResult;
129
129
  }
@@ -138,7 +138,7 @@ function observable$slambda() {
138
138
  continue $sm;
139
139
  case 11:
140
140
  var tmp_3 = this;
141
- tmp_3.u61_1 = Unit_instance;
141
+ tmp_3.i62_1 = Unit_instance;
142
142
  this.bc_1 = 16;
143
143
  this.ac_1 = 12;
144
144
  var tmp_4 = this;
@@ -146,13 +146,13 @@ function observable$slambda() {
146
146
  case 12:
147
147
  this.bc_1 = 16;
148
148
  var tmp_5 = this;
149
- this.s61_1.o3q(this.t61_1);
150
- tmp_5.r61_1 = Unit_instance;
149
+ this.g62_1.c3r(this.h62_1);
150
+ tmp_5.f62_1 = Unit_instance;
151
151
  this.ac_1 = 14;
152
152
  continue $sm;
153
153
  case 13:
154
154
  this.bc_1 = 16;
155
- this.s61_1.o3q(this.t61_1);
155
+ this.g62_1.c3r(this.h62_1);
156
156
  if (false) {
157
157
  this.ac_1 = 1;
158
158
  continue $sm;
@@ -165,7 +165,7 @@ function observable$slambda() {
165
165
  case 15:
166
166
  this.bc_1 = 16;
167
167
  var t = this.dc_1;
168
- this.s61_1.o3q(this.t61_1);
168
+ this.g62_1.c3r(this.h62_1);
169
169
  throw t;
170
170
  case 16:
171
171
  throw this.dc_1;
@@ -181,9 +181,9 @@ function observable$slambda() {
181
181
  }
182
182
  while (true);
183
183
  }
184
- m4l($this$writer, completion) {
185
- var i = new (observable$slambda())(this.m61_1, this.n61_1, this.o61_1, completion);
186
- i.p61_1 = $this$writer;
184
+ a4m($this$writer, completion) {
185
+ var i = new (observable$slambda())(this.a62_1, this.b62_1, this.c62_1, completion);
186
+ i.d62_1 = $this$writer;
187
187
  return i;
188
188
  }
189
189
  }
@@ -195,7 +195,7 @@ function observable$slambda() {
195
195
  function observable$slambda_0($this_observable, $listener, $contentLength, resultContinuation) {
196
196
  var i = new (observable$slambda())($this_observable, $listener, $contentLength, resultContinuation);
197
197
  var l = function ($this$writer, $completion) {
198
- return i.l4l($this$writer, $completion);
198
+ return i.z4l($this$writer, $completion);
199
199
  };
200
200
  l.$arity = 1;
201
201
  return l;
@@ -35,8 +35,8 @@ function HttpResponseReceiveFail() {
35
35
  if (HttpResponseReceiveFailClass === VOID) {
36
36
  class $ {
37
37
  constructor(response, cause) {
38
- this.a62_1 = response;
39
- this.b62_1 = cause;
38
+ this.o62_1 = response;
39
+ this.p62_1 = cause;
40
40
  }
41
41
  }
42
42
  initMetadataForClass($, 'HttpResponseReceiveFail');
@@ -15,10 +15,10 @@ function EmptyContent() {
15
15
  EmptyContent_instance = null;
16
16
  super();
17
17
  EmptyContent_instance = this;
18
- this.d62_1 = new (Long())(0, 0);
18
+ this.r62_1 = new (Long())(0, 0);
19
19
  }
20
- f4b() {
21
- return this.d62_1;
20
+ t4b() {
21
+ return this.r62_1;
22
22
  }
23
23
  toString() {
24
24
  return 'EmptyContent';
@@ -25,18 +25,18 @@ var DecompressionListAttribute;
25
25
  function dropCompressionHeaders(_this__u8e3s4, method, attributes, alwaysRemove) {
26
26
  alwaysRemove = alwaysRemove === VOID ? false : alwaysRemove;
27
27
  _init_properties_HeadersUtils_kt__fb6dxx();
28
- if (method.equals(Companion_getInstance().r45_1) || method.equals(Companion_getInstance().s45_1))
28
+ if (method.equals(Companion_getInstance().f46_1) || method.equals(Companion_getInstance().g46_1))
29
29
  return Unit_instance;
30
- var header = _this__u8e3s4.o3r(HttpHeaders_getInstance().f41_1);
30
+ var header = _this__u8e3s4.c3s(HttpHeaders_getInstance().t41_1);
31
31
  if (header == null) {
32
32
  if (!alwaysRemove)
33
33
  return Unit_instance;
34
34
  } else {
35
35
  var tmp = get_DecompressionListAttribute();
36
- attributes.i3r(tmp, dropCompressionHeaders$lambda).m(header);
36
+ attributes.w3r(tmp, dropCompressionHeaders$lambda).m(header);
37
37
  }
38
- _this__u8e3s4.f3t(HttpHeaders_getInstance().f41_1);
39
- _this__u8e3s4.f3t(HttpHeaders_getInstance().h41_1);
38
+ _this__u8e3s4.t3t(HttpHeaders_getInstance().t41_1);
39
+ _this__u8e3s4.t3t(HttpHeaders_getInstance().v41_1);
40
40
  }
41
41
  function dropCompressionHeaders$lambda() {
42
42
  _init_properties_HeadersUtils_kt__fb6dxx();
@@ -33,11 +33,11 @@ function Events() {
33
33
  if (EventsClass === VOID) {
34
34
  class $ {
35
35
  constructor() {
36
- this.o4x_1 = new (CopyOnWriteHashMap())();
36
+ this.c4y_1 = new (CopyOnWriteHashMap())();
37
37
  }
38
- p4x(definition, value) {
38
+ d4y(definition, value) {
39
39
  var exception = null;
40
- var tmp0_safe_receiver = this.o4x_1.o3t(definition);
40
+ var tmp0_safe_receiver = this.c4y_1.c3u(definition);
41
41
  if (tmp0_safe_receiver == null)
42
42
  null;
43
43
  else {
@@ -48,7 +48,7 @@ function Events() {
48
48
  if (cur instanceof HandlerRegistration()) {
49
49
  var registration = cur;
50
50
  try {
51
- var tmp_0 = registration.r4x_1;
51
+ var tmp_0 = registration.f4y_1;
52
52
  (typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
53
53
  } catch ($p) {
54
54
  if ($p instanceof Error) {
@@ -70,7 +70,7 @@ function Events() {
70
70
  }
71
71
  }
72
72
  }
73
- cur = cur.o3u();
73
+ cur = cur.c3v();
74
74
  }
75
75
  }
76
76
  var tmp1_safe_receiver = exception;
@@ -90,26 +90,26 @@ function encodeURLParameter(_this__u8e3s4, spaceToPlus) {
90
90
  // Inline function 'kotlin.text.buildString' call
91
91
  // Inline function 'kotlin.apply' call
92
92
  var this_0 = StringBuilder().a1();
93
- var content = encode(Charsets_getInstance().y3p_1.b3q(), _this__u8e3s4);
93
+ var content = encode(Charsets_getInstance().m3q_1.p3q(), _this__u8e3s4);
94
94
  forEach(content, encodeURLParameter$lambda(this_0, spaceToPlus));
95
95
  return this_0.toString();
96
96
  }
97
97
  function decodeURLPart(_this__u8e3s4, start, end, charset) {
98
98
  start = start === VOID ? 0 : start;
99
99
  end = end === VOID ? _this__u8e3s4.length : end;
100
- charset = charset === VOID ? Charsets_getInstance().y3p_1 : charset;
100
+ charset = charset === VOID ? Charsets_getInstance().m3q_1 : charset;
101
101
  _init_properties_Codecs_kt__fudxxf();
102
102
  return decodeScan(_this__u8e3s4, start, end, false, charset);
103
103
  }
104
104
  function encodeURLQueryComponent(_this__u8e3s4, encodeFull, spaceToPlus, charset) {
105
105
  encodeFull = encodeFull === VOID ? false : encodeFull;
106
106
  spaceToPlus = spaceToPlus === VOID ? false : spaceToPlus;
107
- charset = charset === VOID ? Charsets_getInstance().y3p_1 : charset;
107
+ charset = charset === VOID ? Charsets_getInstance().m3q_1 : charset;
108
108
  _init_properties_Codecs_kt__fudxxf();
109
109
  // Inline function 'kotlin.text.buildString' call
110
110
  // Inline function 'kotlin.apply' call
111
111
  var this_0 = StringBuilder().a1();
112
- var content = encode(charset.b3q(), _this__u8e3s4);
112
+ var content = encode(charset.p3q(), _this__u8e3s4);
113
113
  forEach(content, encodeURLQueryComponent$lambda(spaceToPlus, this_0, encodeFull));
114
114
  return this_0.toString();
115
115
  }
@@ -117,7 +117,7 @@ function decodeURLQueryComponent(_this__u8e3s4, start, end, plusIsSpace, charset
117
117
  start = start === VOID ? 0 : start;
118
118
  end = end === VOID ? _this__u8e3s4.length : end;
119
119
  plusIsSpace = plusIsSpace === VOID ? false : plusIsSpace;
120
- charset = charset === VOID ? Charsets_getInstance().y3p_1 : charset;
120
+ charset = charset === VOID ? Charsets_getInstance().m3q_1 : charset;
121
121
  _init_properties_Codecs_kt__fudxxf();
122
122
  return decodeScan(_this__u8e3s4, start, end, plusIsSpace, charset);
123
123
  }
@@ -160,7 +160,7 @@ function encodeURLPath(_this__u8e3s4, encodeSlash, encodeEncoded) {
160
160
  // Inline function 'kotlin.text.buildString' call
161
161
  // Inline function 'kotlin.apply' call
162
162
  var this_0 = StringBuilder().a1();
163
- var charset = Charsets_getInstance().y3p_1;
163
+ var charset = Charsets_getInstance().m3q_1;
164
164
  var index = 0;
165
165
  $l$loop_0: while (index < _this__u8e3s4.length) {
166
166
  var current = charCodeAt(_this__u8e3s4, index);
@@ -177,7 +177,7 @@ function encodeURLPath(_this__u8e3s4, encodeSlash, encodeEncoded) {
177
177
  continue $l$loop_0;
178
178
  }
179
179
  var symbolSize = isSurrogate(current) ? 2 : 1;
180
- var tmp = encode(charset.b3q(), _this__u8e3s4, index, index + symbolSize | 0);
180
+ var tmp = encode(charset.p3q(), _this__u8e3s4, index, index + symbolSize | 0);
181
181
  forEach(tmp, encodeURLPath$lambda(this_0));
182
182
  index = index + symbolSize | 0;
183
183
  }
@@ -213,12 +213,12 @@ function decodeImpl(_this__u8e3s4, start, end, prefixEnd, plusIsSpace, charset)
213
213
  var startIndex = index;
214
214
  var endIndex = charSequenceLength(_this__u8e3s4);
215
215
  var tmp$ret$0 = toString_0(charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex));
216
- throw URLDecodeException().y3x('Incomplete trailing HEX escape: ' + tmp$ret$0 + ', in ' + toString_0(_this__u8e3s4) + ' at ' + index);
216
+ throw URLDecodeException().m3y('Incomplete trailing HEX escape: ' + tmp$ret$0 + ', in ' + toString_0(_this__u8e3s4) + ' at ' + index);
217
217
  }
218
218
  var digit1 = charToHexDigit(charSequenceGet(_this__u8e3s4, index + 1 | 0));
219
219
  var digit2 = charToHexDigit(charSequenceGet(_this__u8e3s4, index + 2 | 0));
220
220
  if (digit1 === -1 || digit2 === -1) {
221
- throw URLDecodeException().y3x('Wrong HEX escape: %' + toString(charSequenceGet(_this__u8e3s4, index + 1 | 0)) + toString(charSequenceGet(_this__u8e3s4, index + 2 | 0)) + ', in ' + toString_0(_this__u8e3s4) + ', at ' + index);
221
+ throw URLDecodeException().m3y('Wrong HEX escape: %' + toString(charSequenceGet(_this__u8e3s4, index + 1 | 0)) + toString(charSequenceGet(_this__u8e3s4, index + 2 | 0)) + ', in ' + toString_0(_this__u8e3s4) + ', at ' + index);
222
222
  }
223
223
  var tmp = bytes;
224
224
  var _unary__edvuaz = count;
@@ -238,9 +238,9 @@ var URLDecodeExceptionClass;
238
238
  function URLDecodeException() {
239
239
  if (URLDecodeExceptionClass === VOID) {
240
240
  class $ extends Exception() {
241
- static y3x(message) {
241
+ static m3y(message) {
242
242
  var $this = this.g5(message);
243
- captureStack($this, $this.x3x_1);
243
+ captureStack($this, $this.l3y_1);
244
244
  return $this;
245
245
  }
246
246
  }
@@ -305,7 +305,7 @@ function encodeURLQueryComponent$lambda($spaceToPlus, $$this$buildString, $encod
305
305
  function forEach$lambda($block) {
306
306
  return function (buffer) {
307
307
  while (canRead(buffer)) {
308
- $block(buffer.d2r());
308
+ $block(buffer.r2r());
309
309
  }
310
310
  return true;
311
311
  };