@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
@@ -71,12 +71,12 @@ function $parseHttpBodyCOROUTINE$() {
71
71
  class $ extends CoroutineImpl() {
72
72
  constructor(version, contentLength, transferEncoding, connectionOptions, input, out, resultContinuation) {
73
73
  super(resultContinuation);
74
- this.x4f_1 = version;
75
- this.y4f_1 = contentLength;
76
- this.z4f_1 = transferEncoding;
77
- this.a4g_1 = connectionOptions;
78
- this.b4g_1 = input;
79
- this.c4g_1 = out;
74
+ this.l4g_1 = version;
75
+ this.m4g_1 = contentLength;
76
+ this.n4g_1 = transferEncoding;
77
+ this.o4g_1 = connectionOptions;
78
+ this.p4g_1 = input;
79
+ this.q4g_1 = out;
80
80
  }
81
81
  ic() {
82
82
  var suspendResult = this.cc_1;
@@ -86,9 +86,9 @@ function $parseHttpBodyCOROUTINE$() {
86
86
  switch (tmp) {
87
87
  case 0:
88
88
  this.bc_1 = 7;
89
- if (!(this.z4f_1 == null) && isTransferEncodingChunked(this.z4f_1)) {
89
+ if (!(this.n4g_1 == null) && isTransferEncodingChunked(this.n4g_1)) {
90
90
  this.ac_1 = 6;
91
- suspendResult = decodeChunked(this.b4g_1, this.c4g_1, this);
91
+ suspendResult = decodeChunked(this.p4g_1, this.q4g_1, this);
92
92
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
93
93
  return suspendResult;
94
94
  }
@@ -99,9 +99,9 @@ function $parseHttpBodyCOROUTINE$() {
99
99
  }
100
100
 
101
101
  case 1:
102
- if (!this.y4f_1.equals(new (Long())(-1, -1))) {
102
+ if (!this.m4g_1.equals(new (Long())(-1, -1))) {
103
103
  this.ac_1 = 5;
104
- suspendResult = copyTo(this.b4g_1, this.c4g_1, this.y4f_1, this);
104
+ suspendResult = copyTo(this.p4g_1, this.q4g_1, this.m4g_1, this);
105
105
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
106
106
  return suspendResult;
107
107
  }
@@ -113,16 +113,16 @@ function $parseHttpBodyCOROUTINE$() {
113
113
 
114
114
  case 2:
115
115
  var tmp_0;
116
- var tmp0_safe_receiver = this.a4g_1;
117
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i4f_1) === true) {
116
+ var tmp0_safe_receiver = this.o4g_1;
117
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w4f_1) === true) {
118
118
  tmp_0 = true;
119
119
  } else {
120
- tmp_0 = (this.a4g_1 == null && equals(this.x4f_1, Companion_getInstance().x45_1));
120
+ tmp_0 = (this.o4g_1 == null && equals(this.l4g_1, Companion_getInstance().l46_1));
121
121
  }
122
122
 
123
123
  if (tmp_0) {
124
124
  this.ac_1 = 4;
125
- suspendResult = copyTo(this.b4g_1, this.c4g_1, new (Long())(-1, 2147483647), this);
125
+ suspendResult = copyTo(this.p4g_1, this.q4g_1, new (Long())(-1, 2147483647), this);
126
126
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
127
127
  return suspendResult;
128
128
  }
@@ -134,7 +134,7 @@ function $parseHttpBodyCOROUTINE$() {
134
134
 
135
135
  case 3:
136
136
  var cause = IllegalStateException().o4('Failed to parse request body: request body length should be specified,\nchunked transfer encoding should be used or\nkeep-alive should be disabled (connection: close)');
137
- close(this.c4g_1, cause);
137
+ close(this.q4g_1, cause);
138
138
  return Unit_instance;
139
139
  case 4:
140
140
  return Unit_instance;
@@ -48,17 +48,17 @@ function HeadersData$headersStarts$slambda() {
48
48
  constructor(this$0, resultContinuation, $box) {
49
49
  if ($box === VOID)
50
50
  $box = {};
51
- $box.l4g_1 = this$0;
51
+ $box.z4g_1 = this$0;
52
52
  super(resultContinuation, $box);
53
53
  }
54
- r4g($this$sequence, $completion) {
55
- var tmp = this.s4g($this$sequence, $completion);
54
+ f4h($this$sequence, $completion) {
55
+ var tmp = this.g4h($this$sequence, $completion);
56
56
  tmp.cc_1 = Unit_instance;
57
57
  tmp.dc_1 = null;
58
58
  return tmp.ic();
59
59
  }
60
60
  kd(p1, $completion) {
61
- return this.r4g(p1 instanceof SequenceScope() ? p1 : THROW_CCE(), $completion);
61
+ return this.f4h(p1 instanceof SequenceScope() ? p1 : THROW_CCE(), $completion);
62
62
  }
63
63
  ic() {
64
64
  var suspendResult = this.cc_1;
@@ -68,29 +68,29 @@ function HeadersData$headersStarts$slambda() {
68
68
  switch (tmp) {
69
69
  case 0:
70
70
  this.bc_1 = 7;
71
- this.n4g_1 = 0;
72
- this.o4g_1 = this.l4g_1.t4g_1.d1();
71
+ this.b4h_1 = 0;
72
+ this.c4h_1 = this.z4g_1.h4h_1.d1();
73
73
  this.ac_1 = 1;
74
74
  continue $sm;
75
75
  case 1:
76
- if (!this.o4g_1.e1()) {
76
+ if (!this.c4h_1.e1()) {
77
77
  this.ac_1 = 6;
78
78
  continue $sm;
79
79
  }
80
80
 
81
- this.p4g_1 = this.o4g_1.f1();
82
- this.q4g_1 = 0;
81
+ this.d4h_1 = this.c4h_1.f1();
82
+ this.e4h_1 = 0;
83
83
  this.ac_1 = 2;
84
84
  continue $sm;
85
85
  case 2:
86
- if (!(this.q4g_1 < this.p4g_1.length)) {
86
+ if (!(this.e4h_1 < this.d4h_1.length)) {
87
87
  this.ac_1 = 5;
88
88
  continue $sm;
89
89
  }
90
90
 
91
- if (!(this.l4g_1.u4g(this.n4g_1 + 0 | 0) === -1)) {
91
+ if (!(this.z4g_1.i4h(this.b4h_1 + 0 | 0) === -1)) {
92
92
  this.ac_1 = 3;
93
- suspendResult = this.m4g_1.ml(this.n4g_1, this);
93
+ suspendResult = this.a4h_1.ml(this.b4h_1, this);
94
94
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
95
95
  return suspendResult;
96
96
  }
@@ -104,8 +104,8 @@ function HeadersData$headersStarts$slambda() {
104
104
  this.ac_1 = 4;
105
105
  continue $sm;
106
106
  case 4:
107
- this.q4g_1 = this.q4g_1 + 6 | 0;
108
- this.n4g_1 = this.n4g_1 + 6 | 0;
107
+ this.e4h_1 = this.e4h_1 + 6 | 0;
108
+ this.b4h_1 = this.b4h_1 + 6 | 0;
109
109
  this.ac_1 = 2;
110
110
  continue $sm;
111
111
  case 5:
@@ -127,9 +127,9 @@ function HeadersData$headersStarts$slambda() {
127
127
  }
128
128
  while (true);
129
129
  }
130
- s4g($this$sequence, completion) {
131
- var i = new (HeadersData$headersStarts$slambda())(this.l4g_1, completion);
132
- i.m4g_1 = $this$sequence;
130
+ g4h($this$sequence, completion) {
131
+ var i = new (HeadersData$headersStarts$slambda())(this.z4g_1, completion);
132
+ i.a4h_1 = $this$sequence;
133
133
  return i;
134
134
  }
135
135
  }
@@ -141,7 +141,7 @@ function HeadersData$headersStarts$slambda() {
141
141
  function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
142
142
  var i = new (HeadersData$headersStarts$slambda())(this$0, resultContinuation);
143
143
  var l = function ($this$sequence, $completion) {
144
- return i.r4g($this$sequence, $completion);
144
+ return i.f4h($this$sequence, $completion);
145
145
  };
146
146
  l.$arity = 1;
147
147
  return l;
@@ -153,38 +153,38 @@ function HeadersData() {
153
153
  constructor() {
154
154
  var tmp = this;
155
155
  // Inline function 'kotlin.collections.mutableListOf' call
156
- tmp.t4g_1 = ArrayList().l1();
156
+ tmp.h4h_1 = ArrayList().l1();
157
157
  }
158
- v4g() {
159
- return this.t4g_1.i1();
158
+ j4h() {
159
+ return this.h4h_1.i1();
160
160
  }
161
- w4g(subArraysCount) {
161
+ k4h(subArraysCount) {
162
162
  // Inline function 'kotlin.repeat' call
163
163
  var inductionVariable = 0;
164
164
  if (inductionVariable < subArraysCount)
165
165
  do {
166
166
  var index = inductionVariable;
167
167
  inductionVariable = inductionVariable + 1 | 0;
168
- this.t4g_1.m(get_IntArrayPool().n3q());
168
+ this.h4h_1.m(get_IntArrayPool().b3r());
169
169
  }
170
170
  while (inductionVariable < subArraysCount);
171
171
  }
172
- u4g(index) {
173
- return this.t4g_1.j1(index / 768 | 0)[index % 768 | 0];
172
+ i4h(index) {
173
+ return this.h4h_1.j1(index / 768 | 0)[index % 768 | 0];
174
174
  }
175
- x4g(index, value) {
176
- this.t4g_1.j1(index / 768 | 0)[index % 768 | 0] = value;
175
+ l4h(index, value) {
176
+ this.h4h_1.j1(index / 768 | 0)[index % 768 | 0] = value;
177
177
  }
178
- y4g() {
178
+ m4h() {
179
179
  return sequence(HeadersData$headersStarts$slambda_0(this, null));
180
180
  }
181
- y2n() {
182
- var _iterator__ex2g4s = this.t4g_1.d1();
181
+ m2o() {
182
+ var _iterator__ex2g4s = this.h4h_1.d1();
183
183
  while (_iterator__ex2g4s.e1()) {
184
184
  var array = _iterator__ex2g4s.f1();
185
- get_IntArrayPool().o3q(array);
185
+ get_IntArrayPool().c3r(array);
186
186
  }
187
- this.t4g_1.z2();
187
+ this.h4h_1.z2();
188
188
  }
189
189
  }
190
190
  initMetadataForClass($, 'HeadersData', HeadersData);
@@ -193,107 +193,107 @@ function HeadersData() {
193
193
  return HeadersDataClass;
194
194
  }
195
195
  function thresholdReached($this) {
196
- return $this.a4h_1 >= $this.b4h_1 * 0.75;
196
+ return $this.o4h_1 >= $this.p4h_1 * 0.75;
197
197
  }
198
198
  function resize($this) {
199
- var prevSize = $this.a4h_1;
200
- var prevData = $this.c4h_1;
201
- $this.a4h_1 = 0;
202
- $this.b4h_1 = imul($this.b4h_1, 2) | 128;
199
+ var prevSize = $this.o4h_1;
200
+ var prevData = $this.q4h_1;
201
+ $this.o4h_1 = 0;
202
+ $this.p4h_1 = imul($this.p4h_1, 2) | 128;
203
203
  var tmp = $this;
204
204
  // Inline function 'kotlin.apply' call
205
- var this_0 = get_HeadersDataPool().n3q();
206
- this_0.w4g(imul(prevData.v4g(), 2) | 1);
207
- tmp.c4h_1 = this_0;
208
- var _iterator__ex2g4s = prevData.y4g().d1();
205
+ var this_0 = get_HeadersDataPool().b3r();
206
+ this_0.k4h(imul(prevData.j4h(), 2) | 1);
207
+ tmp.q4h_1 = this_0;
208
+ var _iterator__ex2g4s = prevData.m4h().d1();
209
209
  while (_iterator__ex2g4s.e1()) {
210
210
  var headerOffset = _iterator__ex2g4s.f1();
211
- $this.d4h(prevData.u4g(headerOffset + 1 | 0), prevData.u4g(headerOffset + 2 | 0), prevData.u4g(headerOffset + 3 | 0), prevData.u4g(headerOffset + 4 | 0));
211
+ $this.r4h(prevData.i4h(headerOffset + 1 | 0), prevData.i4h(headerOffset + 2 | 0), prevData.i4h(headerOffset + 3 | 0), prevData.i4h(headerOffset + 4 | 0));
212
212
  }
213
- get_HeadersDataPool().o3q(prevData);
213
+ get_HeadersDataPool().c3r(prevData);
214
214
  // Inline function 'kotlin.require' call
215
215
  // Inline function 'kotlin.require' call
216
- if (!(prevSize === $this.a4h_1)) {
216
+ if (!(prevSize === $this.o4h_1)) {
217
217
  var message = 'Failed requirement.';
218
218
  throw IllegalArgumentException().u(toString(message));
219
219
  }
220
220
  }
221
221
  function headerHasName($this, name, headerOffset) {
222
- var nameStartIndex = $this.c4h_1.u4g(headerOffset + 1 | 0);
223
- var nameEndIndex = $this.c4h_1.u4g(headerOffset + 2 | 0);
224
- return equalsLowerCase($this.z4g_1, nameStartIndex, nameEndIndex, name);
222
+ var nameStartIndex = $this.q4h_1.i4h(headerOffset + 1 | 0);
223
+ var nameEndIndex = $this.q4h_1.i4h(headerOffset + 2 | 0);
224
+ return equalsLowerCase($this.n4h_1, nameStartIndex, nameEndIndex, name);
225
225
  }
226
226
  var HttpHeadersMapClass;
227
227
  function HttpHeadersMap() {
228
228
  if (HttpHeadersMapClass === VOID) {
229
229
  class $ {
230
230
  constructor(builder) {
231
- this.z4g_1 = builder;
232
- this.a4h_1 = 0;
233
- this.b4h_1 = 0;
234
- this.c4h_1 = get_HeadersDataPool().n3q();
231
+ this.n4h_1 = builder;
232
+ this.o4h_1 = 0;
233
+ this.p4h_1 = 0;
234
+ this.q4h_1 = get_HeadersDataPool().b3r();
235
235
  }
236
- o3r(name) {
237
- if (this.a4h_1 === 0)
236
+ c3s(name) {
237
+ if (this.o4h_1 === 0)
238
238
  return null;
239
239
  // Inline function 'kotlin.math.absoluteValue' call
240
240
  var this_0 = hashCodeLowerCase(name);
241
241
  var hash = abs(this_0);
242
- var headerIndex = hash % this.b4h_1 | 0;
243
- while (!(this.c4h_1.u4g(imul(headerIndex, 6) + 0 | 0) === -1)) {
242
+ var headerIndex = hash % this.p4h_1 | 0;
243
+ while (!(this.q4h_1.i4h(imul(headerIndex, 6) + 0 | 0) === -1)) {
244
244
  if (headerHasName(this, name, imul(headerIndex, 6))) {
245
- return this.e4h(imul(headerIndex, 6));
245
+ return this.s4h(imul(headerIndex, 6));
246
246
  }
247
- headerIndex = (headerIndex + 1 | 0) % this.b4h_1 | 0;
247
+ headerIndex = (headerIndex + 1 | 0) % this.p4h_1 | 0;
248
248
  }
249
249
  return null;
250
250
  }
251
- f4h() {
252
- return this.c4h_1.y4g();
251
+ t4h() {
252
+ return this.q4h_1.m4h();
253
253
  }
254
- d4h(nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
254
+ r4h(nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
255
255
  if (thresholdReached(this)) {
256
256
  resize(this);
257
257
  }
258
258
  // Inline function 'kotlin.math.absoluteValue' call
259
- var this_0 = hashCodeLowerCase(this.z4g_1, nameStartIndex, nameEndIndex);
259
+ var this_0 = hashCodeLowerCase(this.n4h_1, nameStartIndex, nameEndIndex);
260
260
  var hash = abs(this_0);
261
- var name = this.z4g_1.c(nameStartIndex, nameEndIndex);
262
- var headerIndex = hash % this.b4h_1 | 0;
261
+ var name = this.n4h_1.c(nameStartIndex, nameEndIndex);
262
+ var headerIndex = hash % this.p4h_1 | 0;
263
263
  var sameNameHeaderIndex = -1;
264
- while (!(this.c4h_1.u4g(imul(headerIndex, 6) + 0 | 0) === -1)) {
264
+ while (!(this.q4h_1.i4h(imul(headerIndex, 6) + 0 | 0) === -1)) {
265
265
  if (headerHasName(this, name, imul(headerIndex, 6))) {
266
266
  sameNameHeaderIndex = headerIndex;
267
267
  }
268
- headerIndex = (headerIndex + 1 | 0) % this.b4h_1 | 0;
268
+ headerIndex = (headerIndex + 1 | 0) % this.p4h_1 | 0;
269
269
  }
270
270
  var headerOffset = imul(headerIndex, 6);
271
- this.c4h_1.x4g(headerOffset + 0 | 0, hash);
272
- this.c4h_1.x4g(headerOffset + 1 | 0, nameStartIndex);
273
- this.c4h_1.x4g(headerOffset + 2 | 0, nameEndIndex);
274
- this.c4h_1.x4g(headerOffset + 3 | 0, valueStartIndex);
275
- this.c4h_1.x4g(headerOffset + 4 | 0, valueEndIndex);
276
- this.c4h_1.x4g(headerOffset + 5 | 0, -1);
271
+ this.q4h_1.l4h(headerOffset + 0 | 0, hash);
272
+ this.q4h_1.l4h(headerOffset + 1 | 0, nameStartIndex);
273
+ this.q4h_1.l4h(headerOffset + 2 | 0, nameEndIndex);
274
+ this.q4h_1.l4h(headerOffset + 3 | 0, valueStartIndex);
275
+ this.q4h_1.l4h(headerOffset + 4 | 0, valueEndIndex);
276
+ this.q4h_1.l4h(headerOffset + 5 | 0, -1);
277
277
  if (!(sameNameHeaderIndex === -1)) {
278
- this.c4h_1.x4g(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
278
+ this.q4h_1.l4h(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
279
279
  }
280
- this.a4h_1 = this.a4h_1 + 1 | 0;
280
+ this.o4h_1 = this.o4h_1 + 1 | 0;
281
281
  }
282
- n4h(headerOffset) {
283
- var nameStartIndex = this.c4h_1.u4g(headerOffset + 1 | 0);
284
- var nameEndIndex = this.c4h_1.u4g(headerOffset + 2 | 0);
285
- return this.z4g_1.c(nameStartIndex, nameEndIndex);
282
+ b4i(headerOffset) {
283
+ var nameStartIndex = this.q4h_1.i4h(headerOffset + 1 | 0);
284
+ var nameEndIndex = this.q4h_1.i4h(headerOffset + 2 | 0);
285
+ return this.n4h_1.c(nameStartIndex, nameEndIndex);
286
286
  }
287
- e4h(headerOffset) {
288
- var valueStartIndex = this.c4h_1.u4g(headerOffset + 3 | 0);
289
- var valueEndIndex = this.c4h_1.u4g(headerOffset + 4 | 0);
290
- return this.z4g_1.c(valueStartIndex, valueEndIndex);
287
+ s4h(headerOffset) {
288
+ var valueStartIndex = this.q4h_1.i4h(headerOffset + 3 | 0);
289
+ var valueEndIndex = this.q4h_1.i4h(headerOffset + 4 | 0);
290
+ return this.n4h_1.c(valueStartIndex, valueEndIndex);
291
291
  }
292
- y2n() {
293
- this.a4h_1 = 0;
294
- this.b4h_1 = 0;
295
- get_HeadersDataPool().o3q(this.c4h_1);
296
- this.c4h_1 = get_HeadersDataPool().n3q();
292
+ m2o() {
293
+ this.o4h_1 = 0;
294
+ this.p4h_1 = 0;
295
+ get_HeadersDataPool().c3r(this.q4h_1);
296
+ this.q4h_1 = get_HeadersDataPool().b3r();
297
297
  }
298
298
  toString() {
299
299
  // Inline function 'kotlin.text.buildString' call
@@ -310,13 +310,13 @@ function HttpHeadersMap() {
310
310
  }
311
311
  function dumpTo(_this__u8e3s4, indent, out) {
312
312
  _init_properties_HttpHeadersMap_kt__hwatby();
313
- var _iterator__ex2g4s = _this__u8e3s4.f4h().d1();
313
+ var _iterator__ex2g4s = _this__u8e3s4.t4h().d1();
314
314
  while (_iterator__ex2g4s.e1()) {
315
315
  var offset = _iterator__ex2g4s.f1();
316
316
  out.b1(indent);
317
- out.b1(_this__u8e3s4.n4h(offset));
317
+ out.b1(_this__u8e3s4.b4i(offset));
318
318
  out.b1(' => ');
319
- out.b1(_this__u8e3s4.e4h(offset));
319
+ out.b1(_this__u8e3s4.s4h(offset));
320
320
  out.b1('\n');
321
321
  }
322
322
  }
@@ -327,7 +327,7 @@ function IntArrayPool$1() {
327
327
  constructor() {
328
328
  super(1000);
329
329
  }
330
- g3q() {
330
+ u3q() {
331
331
  var tmp = 0;
332
332
  var tmp_0 = new Int32Array(768);
333
333
  while (tmp < 768) {
@@ -336,12 +336,12 @@ function IntArrayPool$1() {
336
336
  }
337
337
  return tmp_0;
338
338
  }
339
- r4h(instance) {
339
+ f4i(instance) {
340
340
  fill(instance, -1);
341
- return protoOf(DefaultPool()).l3q.call(this, instance);
341
+ return protoOf(DefaultPool()).z3q.call(this, instance);
342
342
  }
343
- l3q(instance) {
344
- return this.r4h(isIntArray(instance) ? instance : THROW_CCE());
343
+ z3q(instance) {
344
+ return this.f4i(isIntArray(instance) ? instance : THROW_CCE());
345
345
  }
346
346
  }
347
347
  initMetadataForClass($);
@@ -356,15 +356,15 @@ function HeadersDataPool$1() {
356
356
  constructor() {
357
357
  super(1000);
358
358
  }
359
- g3q() {
359
+ u3q() {
360
360
  return new (HeadersData())();
361
361
  }
362
- v4h(instance) {
363
- instance.y2n();
364
- return protoOf(DefaultPool()).l3q.call(this, instance);
362
+ j4i(instance) {
363
+ instance.m2o();
364
+ return protoOf(DefaultPool()).z3q.call(this, instance);
365
365
  }
366
- l3q(instance) {
367
- return this.v4h(instance instanceof HeadersData() ? instance : THROW_CCE());
366
+ z3q(instance) {
367
+ return this.j4i(instance instanceof HeadersData() ? instance : THROW_CCE());
368
368
  }
369
369
  }
370
370
  initMetadataForClass($);