@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
@@ -58,7 +58,7 @@ function takeFrom(_this__u8e3s4, urlString) {
58
58
  var tmp_0;
59
59
  if ($p instanceof Error) {
60
60
  var cause = $p;
61
- throw URLParserException().o4a(urlString, cause);
61
+ throw URLParserException().c4b(urlString, cause);
62
62
  } else {
63
63
  throw $p;
64
64
  }
@@ -107,20 +107,20 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
107
107
  var schemeLength = findScheme(urlString, startIndex, endIndex);
108
108
  if (schemeLength > 0) {
109
109
  var scheme = substring(urlString, startIndex, startIndex + schemeLength | 0);
110
- _this__u8e3s4.w49(Companion_getInstance().p4a(scheme));
110
+ _this__u8e3s4.k4a(Companion_getInstance().d4b(scheme));
111
111
  startIndex = startIndex + (schemeLength + 1 | 0) | 0;
112
112
  }
113
- if (_this__u8e3s4.z48().x48_1 === 'data') {
114
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, endIndex);
113
+ if (_this__u8e3s4.n49().l49_1 === 'data') {
114
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, endIndex);
115
115
  return _this__u8e3s4;
116
116
  }
117
117
  var slashCount = count(urlString, startIndex, endIndex, _Char___init__impl__6a9atx(47));
118
118
  startIndex = startIndex + slashCount | 0;
119
- if (_this__u8e3s4.z48().x48_1 === 'file') {
119
+ if (_this__u8e3s4.n49().l49_1 === 'file') {
120
120
  parseFile(_this__u8e3s4, urlString, startIndex, endIndex, slashCount);
121
121
  return _this__u8e3s4;
122
122
  }
123
- if (_this__u8e3s4.z48().x48_1 === 'mailto') {
123
+ if (_this__u8e3s4.n49().l49_1 === 'mailto') {
124
124
  // Inline function 'kotlin.require' call
125
125
  // Inline function 'kotlin.require' call
126
126
  if (!(slashCount === 0)) {
@@ -130,24 +130,24 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
130
130
  parseMailto(_this__u8e3s4, urlString, startIndex, endIndex);
131
131
  return _this__u8e3s4;
132
132
  }
133
- if (_this__u8e3s4.z48().x48_1 === 'about') {
133
+ if (_this__u8e3s4.n49().l49_1 === 'about') {
134
134
  // Inline function 'kotlin.require' call
135
135
  // Inline function 'kotlin.require' call
136
136
  if (!(slashCount === 0)) {
137
137
  var message_0 = 'Failed requirement.';
138
138
  throw IllegalArgumentException().u(toString(message_0));
139
139
  }
140
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, endIndex);
140
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, endIndex);
141
141
  return _this__u8e3s4;
142
142
  }
143
- if (_this__u8e3s4.z48().x48_1 === 'tel') {
143
+ if (_this__u8e3s4.n49().l49_1 === 'tel') {
144
144
  // Inline function 'kotlin.require' call
145
145
  // Inline function 'kotlin.require' call
146
146
  if (!(slashCount === 0)) {
147
147
  var message_1 = 'Failed requirement.';
148
148
  throw IllegalArgumentException().u(toString(message_1));
149
149
  }
150
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, endIndex);
150
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, endIndex);
151
151
  return _this__u8e3s4;
152
152
  }
153
153
  if (slashCount >= 2) {
@@ -165,10 +165,10 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
165
165
  if (delimiter < endIndex && charCodeAt(urlString, delimiter) === _Char___init__impl__6a9atx(64)) {
166
166
  var passwordIndex = indexOfColonInHostPort(urlString, startIndex, delimiter);
167
167
  if (!(passwordIndex === -1)) {
168
- _this__u8e3s4.r48_1 = substring(urlString, startIndex, passwordIndex);
169
- _this__u8e3s4.s48_1 = substring(urlString, passwordIndex + 1 | 0, delimiter);
168
+ _this__u8e3s4.f49_1 = substring(urlString, startIndex, passwordIndex);
169
+ _this__u8e3s4.g49_1 = substring(urlString, passwordIndex + 1 | 0, delimiter);
170
170
  } else {
171
- _this__u8e3s4.r48_1 = substring(urlString, startIndex, delimiter);
171
+ _this__u8e3s4.f49_1 = substring(urlString, startIndex, delimiter);
172
172
  }
173
173
  startIndex = delimiter + 1 | 0;
174
174
  } else {
@@ -179,17 +179,17 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
179
179
  }
180
180
  }
181
181
  if (startIndex >= endIndex) {
182
- _this__u8e3s4.u48_1 = charCodeAt(urlString, endIndex - 1 | 0) === _Char___init__impl__6a9atx(47) ? get_ROOT_PATH() : emptyList();
182
+ _this__u8e3s4.i49_1 = charCodeAt(urlString, endIndex - 1 | 0) === _Char___init__impl__6a9atx(47) ? get_ROOT_PATH() : emptyList();
183
183
  return _this__u8e3s4;
184
184
  }
185
185
  var tmp_0 = _this__u8e3s4;
186
186
  var tmp_1;
187
187
  if (slashCount === 0) {
188
- tmp_1 = dropLast(_this__u8e3s4.u48_1, 1);
188
+ tmp_1 = dropLast(_this__u8e3s4.i49_1, 1);
189
189
  } else {
190
190
  tmp_1 = emptyList();
191
191
  }
192
- tmp_0.u48_1 = tmp_1;
192
+ tmp_0.i49_1 = tmp_1;
193
193
  // Inline function 'kotlin.takeIf' call
194
194
  var this_1 = indexOfAny(urlString, toCharArray('?#'), startIndex);
195
195
  var tmp_2;
@@ -204,9 +204,9 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
204
204
  var rawPath = substring(urlString, startIndex, pathEnd);
205
205
  var tmp_3;
206
206
  var tmp_4;
207
- if (_this__u8e3s4.u48_1.i1() === 1) {
207
+ if (_this__u8e3s4.i49_1.i1() === 1) {
208
208
  // Inline function 'kotlin.text.isEmpty' call
209
- var this_2 = first(_this__u8e3s4.u48_1);
209
+ var this_2 = first(_this__u8e3s4.i49_1);
210
210
  tmp_4 = charSequenceLength(this_2) === 0;
211
211
  } else {
212
212
  tmp_4 = false;
@@ -214,12 +214,12 @@ function takeFromUnsafe(_this__u8e3s4, urlString) {
214
214
  if (tmp_4) {
215
215
  tmp_3 = emptyList();
216
216
  } else {
217
- tmp_3 = _this__u8e3s4.u48_1;
217
+ tmp_3 = _this__u8e3s4.i49_1;
218
218
  }
219
219
  var basePath = tmp_3;
220
220
  var rawChunks = rawPath === '/' ? get_ROOT_PATH() : split(rawPath, charArrayOf([_Char___init__impl__6a9atx(47)]));
221
221
  var relativePath = plus(slashCount === 1 ? get_ROOT_PATH() : emptyList(), rawChunks);
222
- _this__u8e3s4.u48_1 = plus(basePath, relativePath);
222
+ _this__u8e3s4.i49_1 = plus(basePath, relativePath);
223
223
  startIndex = pathEnd;
224
224
  }
225
225
  if (startIndex < endIndex && charCodeAt(urlString, startIndex) === _Char___init__impl__6a9atx(63)) {
@@ -232,9 +232,9 @@ var URLParserExceptionClass;
232
232
  function URLParserException() {
233
233
  if (URLParserExceptionClass === VOID) {
234
234
  class $ extends IllegalStateException() {
235
- static o4a(urlString, cause) {
235
+ static c4b(urlString, cause) {
236
236
  var $this = this.ed('Fail to parse url: ' + urlString, cause);
237
- captureStack($this, $this.n4a_1);
237
+ captureStack($this, $this.b4b_1);
238
238
  return $this;
239
239
  }
240
240
  }
@@ -280,21 +280,21 @@ function parseFile(_this__u8e3s4, urlString, startIndex, endIndex, slashCount) {
280
280
  _init_properties_URLParser_kt__sf11to();
281
281
  switch (slashCount) {
282
282
  case 1:
283
- _this__u8e3s4.n48_1 = '';
283
+ _this__u8e3s4.b49_1 = '';
284
284
  set_encodedPath(_this__u8e3s4, substring(urlString, startIndex, endIndex));
285
285
  break;
286
286
  case 2:
287
287
  var nextSlash = indexOf(urlString, _Char___init__impl__6a9atx(47), startIndex);
288
288
  if (nextSlash === -1 || nextSlash === endIndex) {
289
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, endIndex);
289
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, endIndex);
290
290
  return Unit_instance;
291
291
  }
292
292
 
293
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, nextSlash);
293
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, nextSlash);
294
294
  set_encodedPath(_this__u8e3s4, substring(urlString, nextSlash, endIndex));
295
295
  break;
296
296
  case 3:
297
- _this__u8e3s4.n48_1 = '';
297
+ _this__u8e3s4.b49_1 = '';
298
298
  set_encodedPath(_this__u8e3s4, '/' + substring(urlString, startIndex, endIndex));
299
299
  break;
300
300
  default:
@@ -307,8 +307,8 @@ function parseMailto(_this__u8e3s4, urlString, startIndex, endIndex) {
307
307
  if (delimiter === -1) {
308
308
  throw IllegalArgumentException().u('Invalid mailto url: ' + urlString + ", it should contain '@'.");
309
309
  }
310
- _this__u8e3s4.d4a(decodeURLPart(substring(urlString, startIndex, delimiter)));
311
- _this__u8e3s4.n48_1 = substring(urlString, delimiter + 1 | 0, endIndex);
310
+ _this__u8e3s4.r4a(decodeURLPart(substring(urlString, startIndex, delimiter)));
311
+ _this__u8e3s4.b49_1 = substring(urlString, delimiter + 1 | 0, endIndex);
312
312
  }
313
313
  function indexOfColonInHostPort(_this__u8e3s4, startIndex, endIndex) {
314
314
  _init_properties_URLParser_kt__sf11to();
@@ -342,19 +342,19 @@ function fillHost(_this__u8e3s4, urlString, startIndex, endIndex) {
342
342
  }
343
343
  var tmp0_elvis_lhs = tmp;
344
344
  var colonIndex = tmp0_elvis_lhs == null ? endIndex : tmp0_elvis_lhs;
345
- _this__u8e3s4.n48_1 = substring(urlString, startIndex, colonIndex);
345
+ _this__u8e3s4.b49_1 = substring(urlString, startIndex, colonIndex);
346
346
  var tmp_0;
347
347
  if ((colonIndex + 1 | 0) < endIndex) {
348
348
  tmp_0 = toInt(substring(urlString, colonIndex + 1 | 0, endIndex));
349
349
  } else {
350
350
  tmp_0 = 0;
351
351
  }
352
- _this__u8e3s4.v49(tmp_0);
352
+ _this__u8e3s4.j4a(tmp_0);
353
353
  }
354
354
  function parseQuery(_this__u8e3s4, urlString, startIndex, endIndex) {
355
355
  _init_properties_URLParser_kt__sf11to();
356
356
  if ((startIndex + 1 | 0) === endIndex) {
357
- _this__u8e3s4.o48_1 = true;
357
+ _this__u8e3s4.c49_1 = true;
358
358
  return endIndex;
359
359
  }
360
360
  // Inline function 'kotlin.takeIf' call
@@ -368,18 +368,18 @@ function parseQuery(_this__u8e3s4, urlString, startIndex, endIndex) {
368
368
  var tmp0_elvis_lhs = tmp;
369
369
  var fragmentStart = tmp0_elvis_lhs == null ? endIndex : tmp0_elvis_lhs;
370
370
  var rawParameters = parseQueryString(substring(urlString, startIndex + 1 | 0, fragmentStart), VOID, VOID, false);
371
- rawParameters.w3s(parseQuery$lambda(_this__u8e3s4));
371
+ rawParameters.k3t(parseQuery$lambda(_this__u8e3s4));
372
372
  return fragmentStart;
373
373
  }
374
374
  function parseFragment(_this__u8e3s4, urlString, startIndex, endIndex) {
375
375
  _init_properties_URLParser_kt__sf11to();
376
376
  if (startIndex < endIndex && charCodeAt(urlString, startIndex) === _Char___init__impl__6a9atx(35)) {
377
- _this__u8e3s4.t48_1 = substring(urlString, startIndex + 1 | 0, endIndex);
377
+ _this__u8e3s4.h49_1 = substring(urlString, startIndex + 1 | 0, endIndex);
378
378
  }
379
379
  }
380
380
  function parseQuery$lambda($this_parseQuery) {
381
381
  return function (key, values) {
382
- $this_parseQuery.v48_1.a3t(key, values);
382
+ $this_parseQuery.j49_1.o3t(key, values);
383
383
  return Unit_instance;
384
384
  };
385
385
  }
@@ -32,29 +32,29 @@ function Companion() {
32
32
  class $ {
33
33
  constructor() {
34
34
  Companion_instance = this;
35
- this.x49_1 = new (URLProtocol())('http', 80);
36
- this.y49_1 = new (URLProtocol())('https', 443);
37
- this.z49_1 = new (URLProtocol())('ws', 80);
38
- this.a4a_1 = new (URLProtocol())('wss', 443);
39
- this.b4a_1 = new (URLProtocol())('socks', 1080);
35
+ this.l4a_1 = new (URLProtocol())('http', 80);
36
+ this.m4a_1 = new (URLProtocol())('https', 443);
37
+ this.n4a_1 = new (URLProtocol())('ws', 80);
38
+ this.o4a_1 = new (URLProtocol())('wss', 443);
39
+ this.p4a_1 = new (URLProtocol())('socks', 1080);
40
40
  var tmp = this;
41
41
  // Inline function 'kotlin.collections.associateBy' call
42
- var this_0 = listOf([this.x49_1, this.y49_1, this.z49_1, this.a4a_1, this.b4a_1]);
42
+ var this_0 = listOf([this.l4a_1, this.m4a_1, this.n4a_1, this.o4a_1, this.p4a_1]);
43
43
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
44
44
  // Inline function 'kotlin.collections.associateByTo' call
45
45
  var destination = LinkedHashMap().vb(capacity);
46
46
  var _iterator__ex2g4s = this_0.d1();
47
47
  while (_iterator__ex2g4s.e1()) {
48
48
  var element = _iterator__ex2g4s.f1();
49
- var tmp$ret$0 = element.x48_1;
49
+ var tmp$ret$0 = element.l49_1;
50
50
  destination.d3(tmp$ret$0, element);
51
51
  }
52
- tmp.c4a_1 = destination;
52
+ tmp.q4a_1 = destination;
53
53
  }
54
- p4a(name) {
54
+ d4b(name) {
55
55
  // Inline function 'kotlin.let' call
56
56
  var it = toLowerCasePreservingASCIIRules(name);
57
- var tmp0_elvis_lhs = Companion_getInstance().c4a_1.w2(it);
57
+ var tmp0_elvis_lhs = Companion_getInstance().q4a_1.w2(it);
58
58
  return tmp0_elvis_lhs == null ? new (URLProtocol())(it, 0) : tmp0_elvis_lhs;
59
59
  }
60
60
  }
@@ -75,9 +75,9 @@ function URLProtocol() {
75
75
  class $ {
76
76
  constructor(name, defaultPort) {
77
77
  Companion_getInstance();
78
- this.x48_1 = name;
79
- this.y48_1 = defaultPort;
80
- var tmp0 = this.x48_1;
78
+ this.l49_1 = name;
79
+ this.m49_1 = defaultPort;
80
+ var tmp0 = this.l49_1;
81
81
  var tmp$ret$1;
82
82
  $l$block: {
83
83
  // Inline function 'kotlin.text.all' call
@@ -99,11 +99,11 @@ function URLProtocol() {
99
99
  }
100
100
  }
101
101
  toString() {
102
- return 'URLProtocol(name=' + this.x48_1 + ', defaultPort=' + this.y48_1 + ')';
102
+ return 'URLProtocol(name=' + this.l49_1 + ', defaultPort=' + this.m49_1 + ')';
103
103
  }
104
104
  hashCode() {
105
- var result = getStringHashCode(this.x48_1);
106
- result = imul(result, 31) + this.y48_1 | 0;
105
+ var result = getStringHashCode(this.l49_1);
106
+ result = imul(result, 31) + this.m49_1 | 0;
107
107
  return result;
108
108
  }
109
109
  equals(other) {
@@ -112,9 +112,9 @@ function URLProtocol() {
112
112
  if (!(other instanceof URLProtocol()))
113
113
  return false;
114
114
  var tmp0_other_with_cast = other instanceof URLProtocol() ? other : THROW_CCE();
115
- if (!(this.x48_1 === tmp0_other_with_cast.x48_1))
115
+ if (!(this.l49_1 === tmp0_other_with_cast.l49_1))
116
116
  return false;
117
- if (!(this.y48_1 === tmp0_other_with_cast.y48_1))
117
+ if (!(this.m49_1 === tmp0_other_with_cast.m49_1))
118
118
  return false;
119
119
  return true;
120
120
  }
@@ -125,10 +125,10 @@ function URLProtocol() {
125
125
  return URLProtocolClass;
126
126
  }
127
127
  function isSecure(_this__u8e3s4) {
128
- return _this__u8e3s4.x48_1 === 'https' || _this__u8e3s4.x48_1 === 'wss';
128
+ return _this__u8e3s4.l49_1 === 'https' || _this__u8e3s4.l49_1 === 'wss';
129
129
  }
130
130
  function isWebsocket(_this__u8e3s4) {
131
- return _this__u8e3s4.x48_1 === 'ws' || _this__u8e3s4.x48_1 === 'wss';
131
+ return _this__u8e3s4.l49_1 === 'ws' || _this__u8e3s4.l49_1 === 'wss';
132
132
  }
133
133
  //region block: exports
134
134
  export {
@@ -25,18 +25,18 @@ import { toString30pk9tzaqopn as toString } from '../../../../kotlin-kotlin-stdl
25
25
  //region block: pre-declaration
26
26
  //endregion
27
27
  function takeFrom_0(_this__u8e3s4, url) {
28
- _this__u8e3s4.q48_1 = url.q48_1;
29
- _this__u8e3s4.n48_1 = url.n48_1;
30
- _this__u8e3s4.v49(url.p48_1);
31
- _this__u8e3s4.u48_1 = url.u48_1;
32
- _this__u8e3s4.r48_1 = url.r48_1;
33
- _this__u8e3s4.s48_1 = url.s48_1;
28
+ _this__u8e3s4.e49_1 = url.e49_1;
29
+ _this__u8e3s4.b49_1 = url.b49_1;
30
+ _this__u8e3s4.j4a(url.d49_1);
31
+ _this__u8e3s4.i49_1 = url.i49_1;
32
+ _this__u8e3s4.f49_1 = url.f49_1;
33
+ _this__u8e3s4.g49_1 = url.g49_1;
34
34
  // Inline function 'kotlin.apply' call
35
35
  var this_0 = ParametersBuilder();
36
- appendAll(this_0, url.v48_1);
37
- _this__u8e3s4.i4a(this_0);
38
- _this__u8e3s4.t48_1 = url.t48_1;
39
- _this__u8e3s4.o48_1 = url.o48_1;
36
+ appendAll(this_0, url.j49_1);
37
+ _this__u8e3s4.w4a(this_0);
38
+ _this__u8e3s4.h49_1 = url.h49_1;
39
+ _this__u8e3s4.c49_1 = url.c49_1;
40
40
  return _this__u8e3s4;
41
41
  }
42
42
  function URLBuilder_0(url) {
@@ -46,15 +46,15 @@ function get_fullPath(_this__u8e3s4) {
46
46
  // Inline function 'kotlin.text.buildString' call
47
47
  // Inline function 'kotlin.apply' call
48
48
  var this_0 = StringBuilder().a1();
49
- appendUrlFullPath_0(this_0, _this__u8e3s4.q4a(), _this__u8e3s4.r4a(), _this__u8e3s4.g49_1);
49
+ appendUrlFullPath_0(this_0, _this__u8e3s4.e4b(), _this__u8e3s4.f4b(), _this__u8e3s4.u49_1);
50
50
  return this_0.toString();
51
51
  }
52
52
  function get_hostWithPort(_this__u8e3s4) {
53
- return _this__u8e3s4.a49_1 + ':' + _this__u8e3s4.s4a();
53
+ return _this__u8e3s4.o49_1 + ':' + _this__u8e3s4.g4b();
54
54
  }
55
55
  function get_hostWithPortIfSpecified(_this__u8e3s4) {
56
- var tmp0_subject = _this__u8e3s4.b49_1;
57
- return tmp0_subject === 0 || tmp0_subject === _this__u8e3s4.m49_1.y48_1 ? _this__u8e3s4.a49_1 : get_hostWithPort(_this__u8e3s4);
56
+ var tmp0_subject = _this__u8e3s4.p49_1;
57
+ return tmp0_subject === 0 || tmp0_subject === _this__u8e3s4.a4a_1.m49_1 ? _this__u8e3s4.o49_1 : get_hostWithPort(_this__u8e3s4);
58
58
  }
59
59
  function Url(urlString) {
60
60
  return URLBuilder_1(urlString).z1i();
@@ -86,7 +86,7 @@ function appendUrlFullPath(_this__u8e3s4, encodedPath, encodedQueryParameters, t
86
86
  _this__u8e3s4.b1('?');
87
87
  }
88
88
  // Inline function 'kotlin.collections.flatMap' call
89
- var tmp0 = encodedQueryParameters.u3s();
89
+ var tmp0 = encodedQueryParameters.i3t();
90
90
  // Inline function 'kotlin.collections.flatMapTo' call
91
91
  var destination = ArrayList().l1();
92
92
  var _iterator__ex2g4s = tmp0.d1();
@@ -118,18 +118,18 @@ function appendUrlFullPath(_this__u8e3s4, encodedPath, encodedQueryParameters, t
118
118
  joinTo(tmp_1, _this__u8e3s4, '&', VOID, VOID, VOID, VOID, appendUrlFullPath$lambda);
119
119
  }
120
120
  function takeFrom_1(_this__u8e3s4, url) {
121
- _this__u8e3s4.q48_1 = url.l49_1;
122
- _this__u8e3s4.n48_1 = url.a49_1;
123
- _this__u8e3s4.v49(url.s4a());
124
- set_encodedPath(_this__u8e3s4, url.q4a());
125
- _this__u8e3s4.r48_1 = url.t4a();
126
- _this__u8e3s4.s48_1 = url.u4a();
121
+ _this__u8e3s4.e49_1 = url.z49_1;
122
+ _this__u8e3s4.b49_1 = url.o49_1;
123
+ _this__u8e3s4.j4a(url.g4b());
124
+ set_encodedPath(_this__u8e3s4, url.e4b());
125
+ _this__u8e3s4.f49_1 = url.h4b();
126
+ _this__u8e3s4.g49_1 = url.i4b();
127
127
  // Inline function 'kotlin.apply' call
128
128
  var this_0 = ParametersBuilder();
129
- this_0.e3t(parseQueryString(url.r4a(), VOID, VOID, false));
130
- _this__u8e3s4.i4a(this_0);
131
- _this__u8e3s4.t48_1 = url.v4a();
132
- _this__u8e3s4.o48_1 = url.g49_1;
129
+ this_0.s3t(parseQueryString(url.f4b(), VOID, VOID, false));
130
+ _this__u8e3s4.w4a(this_0);
131
+ _this__u8e3s4.h49_1 = url.j4b();
132
+ _this__u8e3s4.c49_1 = url.u49_1;
133
133
  return _this__u8e3s4;
134
134
  }
135
135
  function appendUrlFullPath_0(_this__u8e3s4, encodedPath, encodedQuery, trailingQuery) {