@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
@@ -17,48 +17,48 @@ var StringJsonLexerWithCommentsClass;
17
17
  function StringJsonLexerWithComments() {
18
18
  if (StringJsonLexerWithCommentsClass === VOID) {
19
19
  class $ extends StringJsonLexer() {
20
- s6m() {
21
- var source = this.f6r();
22
- var cpos = this.i6r();
20
+ g6n() {
21
+ var source = this.t6r();
22
+ var cpos = this.w6r();
23
23
  if (cpos >= source.length || cpos === -1)
24
24
  return 10;
25
- this.l6g_1 = cpos + 1 | 0;
25
+ this.z6g_1 = cpos + 1 | 0;
26
26
  return charToTokenClass(charCodeAt(source, cpos));
27
27
  }
28
- o6m() {
29
- var current = this.i6r();
30
- if (current >= this.f6r().length || current === -1)
28
+ c6n() {
29
+ var current = this.w6r();
30
+ if (current >= this.t6r().length || current === -1)
31
31
  return false;
32
- return this.j6r(charCodeAt(this.f6r(), current));
32
+ return this.x6r(charCodeAt(this.t6r(), current));
33
33
  }
34
- b6o(expected) {
35
- var source = this.f6r();
36
- var current = this.i6r();
34
+ p6o(expected) {
35
+ var source = this.t6r();
36
+ var current = this.w6r();
37
37
  if (current >= source.length || current === -1) {
38
- this.l6g_1 = -1;
39
- this.k6r(expected);
38
+ this.z6g_1 = -1;
39
+ this.y6r(expected);
40
40
  }
41
41
  var c = charCodeAt(source, current);
42
- this.l6g_1 = current + 1 | 0;
42
+ this.z6g_1 = current + 1 | 0;
43
43
  if (c === expected)
44
44
  return Unit_instance;
45
45
  else {
46
- this.k6r(expected);
46
+ this.y6r(expected);
47
47
  }
48
48
  }
49
- n6m() {
50
- var source = this.f6r();
51
- var cpos = this.i6r();
49
+ b6n() {
50
+ var source = this.t6r();
51
+ var cpos = this.w6r();
52
52
  if (cpos >= source.length || cpos === -1)
53
53
  return 10;
54
- this.l6g_1 = cpos;
54
+ this.z6g_1 = cpos;
55
55
  return charToTokenClass(charCodeAt(source, cpos));
56
56
  }
57
- i6r() {
58
- var current = this.l6g_1;
57
+ w6r() {
58
+ var current = this.z6g_1;
59
59
  if (current === -1)
60
60
  return current;
61
- var source = this.f6r();
61
+ var source = this.t6r();
62
62
  $l$loop_1: while (current < source.length) {
63
63
  var c = charCodeAt(source, current);
64
64
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
@@ -79,8 +79,8 @@ function StringJsonLexerWithComments() {
79
79
  } else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
80
80
  current = indexOf(source, '*/', current + 2 | 0);
81
81
  if (current === -1) {
82
- this.l6g_1 = source.length;
83
- this.u6k('Expected end of the block comment: "*/", but had EOF instead');
82
+ this.z6g_1 = source.length;
83
+ this.i6l('Expected end of the block comment: "*/", but had EOF instead');
84
84
  } else {
85
85
  current = current + 2 | 0;
86
86
  }
@@ -89,7 +89,7 @@ function StringJsonLexerWithComments() {
89
89
  }
90
90
  break $l$loop_1;
91
91
  }
92
- this.l6g_1 = current;
92
+ this.z6g_1 = current;
93
93
  return current;
94
94
  }
95
95
  }
@@ -28,53 +28,53 @@ function Composer() {
28
28
  if (ComposerClass === VOID) {
29
29
  class $ {
30
30
  constructor(writer) {
31
- this.l6j_1 = writer;
32
- this.m6j_1 = true;
31
+ this.z6j_1 = writer;
32
+ this.a6k_1 = true;
33
33
  }
34
- n6j() {
35
- this.m6j_1 = true;
34
+ b6k() {
35
+ this.a6k_1 = true;
36
36
  }
37
- o6j() {
37
+ c6k() {
38
38
  return Unit_instance;
39
39
  }
40
- p6j() {
41
- this.m6j_1 = false;
40
+ d6k() {
41
+ this.a6k_1 = false;
42
42
  }
43
- q6j() {
44
- this.m6j_1 = false;
43
+ e6k() {
44
+ this.a6k_1 = false;
45
45
  }
46
- r6j() {
46
+ f6k() {
47
47
  return Unit_instance;
48
48
  }
49
- s6j(v) {
50
- return this.l6j_1.t6j(v);
49
+ g6k(v) {
50
+ return this.z6j_1.h6k(v);
51
51
  }
52
- u6j(v) {
53
- return this.l6j_1.v6j(v);
52
+ i6k(v) {
53
+ return this.z6j_1.j6k(v);
54
54
  }
55
- w6j(v) {
56
- return this.l6j_1.v6j(v.toString());
55
+ k6k(v) {
56
+ return this.z6j_1.j6k(v.toString());
57
57
  }
58
- x6j(v) {
59
- return this.l6j_1.v6j(v.toString());
58
+ l6k(v) {
59
+ return this.z6j_1.j6k(v.toString());
60
60
  }
61
- y6j(v) {
62
- return this.l6j_1.d2t(toLong(v));
61
+ m6k(v) {
62
+ return this.z6j_1.r2t(toLong(v));
63
63
  }
64
- z6j(v) {
65
- return this.l6j_1.d2t(toLong(v));
64
+ n6k(v) {
65
+ return this.z6j_1.r2t(toLong(v));
66
66
  }
67
- a6k(v) {
68
- return this.l6j_1.d2t(toLong(v));
67
+ o6k(v) {
68
+ return this.z6j_1.r2t(toLong(v));
69
69
  }
70
- b6k(v) {
71
- return this.l6j_1.d2t(v);
70
+ p6k(v) {
71
+ return this.z6j_1.r2t(v);
72
72
  }
73
- c6k(v) {
74
- return this.l6j_1.v6j(v.toString());
73
+ q6k(v) {
74
+ return this.z6j_1.j6k(v.toString());
75
75
  }
76
- d6k(value) {
77
- return this.l6j_1.e6k(value);
76
+ r6k(value) {
77
+ return this.z6j_1.s6k(value);
78
78
  }
79
79
  }
80
80
  initMetadataForClass($, 'Composer');
@@ -83,7 +83,7 @@ function Composer() {
83
83
  return ComposerClass;
84
84
  }
85
85
  function Composer_0(sb, json) {
86
- return json.z6f_1.n6h_1 ? new (ComposerWithPrettyPrint())(sb, json) : new (Composer())(sb);
86
+ return json.n6g_1.b6i_1 ? new (ComposerWithPrettyPrint())(sb, json) : new (Composer())(sb);
87
87
  }
88
88
  var ComposerForUnsignedNumbersClass;
89
89
  function ComposerForUnsignedNumbers() {
@@ -91,50 +91,50 @@ function ComposerForUnsignedNumbers() {
91
91
  class $ extends Composer() {
92
92
  constructor(writer, forceQuoting) {
93
93
  super(writer);
94
- this.h6k_1 = forceQuoting;
94
+ this.v6k_1 = forceQuoting;
95
95
  }
96
- a6k(v) {
97
- if (this.h6k_1) {
96
+ o6k(v) {
97
+ if (this.v6k_1) {
98
98
  // Inline function 'kotlin.toUInt' call
99
99
  var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
100
- this.d6k(UInt__toString_impl_dbgl21(tmp$ret$0));
100
+ this.r6k(UInt__toString_impl_dbgl21(tmp$ret$0));
101
101
  } else {
102
102
  // Inline function 'kotlin.toUInt' call
103
103
  var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
104
- this.u6j(UInt__toString_impl_dbgl21(tmp$ret$1));
104
+ this.i6k(UInt__toString_impl_dbgl21(tmp$ret$1));
105
105
  }
106
106
  }
107
- b6k(v) {
108
- if (this.h6k_1) {
107
+ p6k(v) {
108
+ if (this.v6k_1) {
109
109
  // Inline function 'kotlin.toULong' call
110
110
  var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
111
- this.d6k(ULong__toString_impl_f9au7k(tmp$ret$0));
111
+ this.r6k(ULong__toString_impl_f9au7k(tmp$ret$0));
112
112
  } else {
113
113
  // Inline function 'kotlin.toULong' call
114
114
  var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
115
- this.u6j(ULong__toString_impl_f9au7k(tmp$ret$1));
115
+ this.i6k(ULong__toString_impl_f9au7k(tmp$ret$1));
116
116
  }
117
117
  }
118
- y6j(v) {
119
- if (this.h6k_1) {
118
+ m6k(v) {
119
+ if (this.v6k_1) {
120
120
  // Inline function 'kotlin.toUByte' call
121
121
  var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
122
- this.d6k(UByte__toString_impl_v72jg(tmp$ret$0));
122
+ this.r6k(UByte__toString_impl_v72jg(tmp$ret$0));
123
123
  } else {
124
124
  // Inline function 'kotlin.toUByte' call
125
125
  var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
126
- this.u6j(UByte__toString_impl_v72jg(tmp$ret$1));
126
+ this.i6k(UByte__toString_impl_v72jg(tmp$ret$1));
127
127
  }
128
128
  }
129
- z6j(v) {
130
- if (this.h6k_1) {
129
+ n6k(v) {
130
+ if (this.v6k_1) {
131
131
  // Inline function 'kotlin.toUShort' call
132
132
  var tmp$ret$0 = _UShort___init__impl__jigrne(v);
133
- this.d6k(UShort__toString_impl_edaoee(tmp$ret$0));
133
+ this.r6k(UShort__toString_impl_edaoee(tmp$ret$0));
134
134
  } else {
135
135
  // Inline function 'kotlin.toUShort' call
136
136
  var tmp$ret$1 = _UShort___init__impl__jigrne(v);
137
- this.u6j(UShort__toString_impl_edaoee(tmp$ret$1));
137
+ this.i6k(UShort__toString_impl_edaoee(tmp$ret$1));
138
138
  }
139
139
  }
140
140
  }
@@ -149,13 +149,13 @@ function ComposerForUnquotedLiterals() {
149
149
  class $ extends Composer() {
150
150
  constructor(writer, forceQuoting) {
151
151
  super(writer);
152
- this.k6k_1 = forceQuoting;
152
+ this.y6k_1 = forceQuoting;
153
153
  }
154
- d6k(value) {
155
- if (this.k6k_1) {
156
- super.d6k(value);
154
+ r6k(value) {
155
+ if (this.y6k_1) {
156
+ super.r6k(value);
157
157
  } else {
158
- super.u6j(value);
158
+ super.i6k(value);
159
159
  }
160
160
  }
161
161
  }
@@ -170,39 +170,39 @@ function ComposerWithPrettyPrint() {
170
170
  class $ extends Composer() {
171
171
  constructor(writer, json) {
172
172
  super(writer);
173
- this.n6k_1 = json;
174
- this.o6k_1 = 0;
173
+ this.b6l_1 = json;
174
+ this.c6l_1 = 0;
175
175
  }
176
- n6j() {
177
- this.m6j_1 = true;
178
- this.o6k_1 = this.o6k_1 + 1 | 0;
176
+ b6k() {
177
+ this.a6k_1 = true;
178
+ this.c6l_1 = this.c6l_1 + 1 | 0;
179
179
  }
180
- o6j() {
181
- this.o6k_1 = this.o6k_1 - 1 | 0;
180
+ c6k() {
181
+ this.c6l_1 = this.c6l_1 - 1 | 0;
182
182
  }
183
- p6j() {
184
- this.m6j_1 = false;
185
- this.u6j('\n');
183
+ d6k() {
184
+ this.a6k_1 = false;
185
+ this.i6k('\n');
186
186
  // Inline function 'kotlin.repeat' call
187
- var times = this.o6k_1;
187
+ var times = this.c6l_1;
188
188
  var inductionVariable = 0;
189
189
  if (inductionVariable < times)
190
190
  do {
191
191
  var index = inductionVariable;
192
192
  inductionVariable = inductionVariable + 1 | 0;
193
- this.u6j(this.n6k_1.z6f_1.p6h_1);
193
+ this.i6k(this.b6l_1.n6g_1.d6i_1);
194
194
  }
195
195
  while (inductionVariable < times);
196
196
  }
197
- q6j() {
198
- if (this.m6j_1)
199
- this.m6j_1 = false;
197
+ e6k() {
198
+ if (this.a6k_1)
199
+ this.a6k_1 = false;
200
200
  else {
201
- this.p6j();
201
+ this.d6k();
202
202
  }
203
203
  }
204
- r6j() {
205
- this.s6j(_Char___init__impl__6a9atx(32));
204
+ f6k() {
205
+ this.g6k(_Char___init__impl__6a9atx(32));
206
206
  }
207
207
  }
208
208
  initMetadataForClass($, 'ComposerWithPrettyPrint');
@@ -7,8 +7,8 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/k
7
7
  //region block: pre-declaration
8
8
  //endregion
9
9
  function readIfAbsent($this, descriptor, index) {
10
- $this.q6k_1 = (!descriptor.wv(index) && descriptor.vv(index).kv());
11
- return $this.q6k_1;
10
+ $this.e6l_1 = (!descriptor.wv(index) && descriptor.vv(index).kv());
11
+ return $this.e6l_1;
12
12
  }
13
13
  function JsonElementMarker$readIfAbsent$ref(p0) {
14
14
  var l = function (_this__u8e3s4, p0_0) {
@@ -24,14 +24,14 @@ function JsonElementMarker() {
24
24
  class $ {
25
25
  constructor(descriptor) {
26
26
  var tmp = this;
27
- tmp.p6k_1 = new (ElementMarker())(descriptor, JsonElementMarker$readIfAbsent$ref(this));
28
- this.q6k_1 = false;
27
+ tmp.d6l_1 = new (ElementMarker())(descriptor, JsonElementMarker$readIfAbsent$ref(this));
28
+ this.e6l_1 = false;
29
29
  }
30
- r6k(index) {
31
- this.p6k_1.o13(index);
30
+ f6l(index) {
31
+ this.d6l_1.o13(index);
32
32
  }
33
- s6k() {
34
- return this.p6k_1.p13();
33
+ g6l() {
34
+ return this.d6l_1.p13();
35
35
  }
36
36
  }
37
37
  initMetadataForClass($, 'JsonElementMarker');
@@ -19,18 +19,18 @@ import { SerializationExceptioneqrdve3ts2n9 as SerializationException } from '..
19
19
  //endregion
20
20
  function invalidTrailingComma(_this__u8e3s4, entity) {
21
21
  entity = entity === VOID ? 'object' : entity;
22
- _this__u8e3s4.t6k('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.l6g_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
22
+ _this__u8e3s4.h6l('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.z6g_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
23
23
  }
24
24
  function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
25
- _this__u8e3s4.u6k('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
25
+ _this__u8e3s4.i6l('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
26
26
  }
27
27
  var JsonEncodingExceptionClass;
28
28
  function JsonEncodingException() {
29
29
  if (JsonEncodingExceptionClass === VOID) {
30
30
  class $ extends JsonException() {
31
- static b6l(message) {
32
- var $this = this.h6l(message);
33
- captureStack($this, $this.a6l_1);
31
+ static p6l(message) {
32
+ var $this = this.v6l(message);
33
+ captureStack($this, $this.o6l_1);
34
34
  return $this;
35
35
  }
36
36
  }
@@ -40,15 +40,15 @@ function JsonEncodingException() {
40
40
  return JsonEncodingExceptionClass;
41
41
  }
42
42
  function InvalidKeyKindException(keyDescriptor) {
43
- return JsonEncodingException().b6l("Value of type '" + keyDescriptor.au() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.ov().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
43
+ return JsonEncodingException().p6l("Value of type '" + keyDescriptor.au() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.ov().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
44
44
  }
45
45
  var JsonDecodingExceptionClass;
46
46
  function JsonDecodingException() {
47
47
  if (JsonDecodingExceptionClass === VOID) {
48
48
  class $ extends JsonException() {
49
- static i6j(message) {
50
- var $this = this.h6l(message);
51
- captureStack($this, $this.h6j_1);
49
+ static w6j(message) {
50
+ var $this = this.v6l(message);
51
+ captureStack($this, $this.v6j_1);
52
52
  return $this;
53
53
  }
54
54
  }
@@ -64,7 +64,7 @@ function InvalidFloatingPointDecoded(value, key, output) {
64
64
  return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
65
65
  }
66
66
  function JsonDecodingException_1(offset, message) {
67
- return JsonDecodingException().i6j(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
67
+ return JsonDecodingException().w6j(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
68
68
  }
69
69
  function minify(_this__u8e3s4, offset) {
70
70
  offset = offset === VOID ? -1 : offset;
@@ -88,15 +88,15 @@ function minify(_this__u8e3s4, offset) {
88
88
  return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex_0)) + suffix;
89
89
  }
90
90
  function InvalidFloatingPointEncoded(value, output) {
91
- return JsonEncodingException().b6l('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
91
+ return JsonEncodingException().p6l('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
92
92
  }
93
93
  var JsonExceptionClass;
94
94
  function JsonException() {
95
95
  if (JsonExceptionClass === VOID) {
96
96
  class $ extends SerializationException() {
97
- static h6l(message) {
97
+ static v6l(message) {
98
98
  var $this = this.nu(message);
99
- captureStack($this, $this.g6l_1);
99
+ captureStack($this, $this.u6l_1);
100
100
  return $this;
101
101
  }
102
102
  }
@@ -46,7 +46,7 @@ var JsonSerializationNamesKey;
46
46
  function ignoreUnknownKeys(_this__u8e3s4, json) {
47
47
  _init_properties_JsonNamesMap_kt__cbbp0k();
48
48
  var tmp;
49
- if (json.z6f_1.k6h_1) {
49
+ if (json.n6g_1.y6h_1) {
50
50
  tmp = true;
51
51
  } else {
52
52
  var tmp0 = _this__u8e3s4.rv();
@@ -91,7 +91,7 @@ function getJsonNameIndex(_this__u8e3s4, json, name) {
91
91
  var index = _this__u8e3s4.tv(name);
92
92
  if (!(index === -3))
93
93
  return index;
94
- if (!json.z6f_1.u6h_1)
94
+ if (!json.n6g_1.i6i_1)
95
95
  return index;
96
96
  return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
97
97
  }
@@ -110,17 +110,17 @@ function getJsonElementName(_this__u8e3s4, json, index) {
110
110
  }
111
111
  function namingStrategy(_this__u8e3s4, json) {
112
112
  _init_properties_JsonNamesMap_kt__cbbp0k();
113
- return equals(_this__u8e3s4.ov(), CLASS_getInstance()) ? json.z6f_1.v6h_1 : null;
113
+ return equals(_this__u8e3s4.ov(), CLASS_getInstance()) ? json.n6g_1.j6i_1 : null;
114
114
  }
115
115
  function deserializationNamesMap(_this__u8e3s4, descriptor) {
116
116
  _init_properties_JsonNamesMap_kt__cbbp0k();
117
117
  var tmp = get_schemaCache(_this__u8e3s4);
118
118
  var tmp_0 = get_JsonDeserializationNamesKey();
119
- return tmp.j6l(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
119
+ return tmp.x6l(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
120
120
  }
121
121
  function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
122
122
  _init_properties_JsonNamesMap_kt__cbbp0k();
123
- return _this__u8e3s4.z6f_1.w6h_1 && equals(descriptor.ov(), ENUM_getInstance());
123
+ return _this__u8e3s4.n6g_1.k6i_1 && equals(descriptor.ov(), ENUM_getInstance());
124
124
  }
125
125
  function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
126
126
  _init_properties_JsonNamesMap_kt__cbbp0k();
@@ -131,7 +131,7 @@ function serializationNamesIndices(_this__u8e3s4, json, strategy) {
131
131
  _init_properties_JsonNamesMap_kt__cbbp0k();
132
132
  var tmp = get_schemaCache(json);
133
133
  var tmp_0 = get_JsonSerializationNamesKey();
134
- return tmp.j6l(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
134
+ return tmp.x6l(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
135
135
  }
136
136
  function buildDeserializationNamesMap(_this__u8e3s4, json) {
137
137
  _init_properties_JsonNamesMap_kt__cbbp0k();
@@ -157,7 +157,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
157
157
  }
158
158
  }
159
159
  var tmp0_safe_receiver = singleOrNull(destination);
160
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k6l_1;
160
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y6l_1;
161
161
  if (tmp1_safe_receiver == null)
162
162
  null;
163
163
  else {
@@ -184,7 +184,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
184
184
  // Inline function 'kotlin.js.asDynamic' call
185
185
  tmp_0 = _this__u8e3s4.sv(i).toLowerCase();
186
186
  } else if (!(strategyForClasses == null)) {
187
- tmp_0 = strategyForClasses.l6l(_this__u8e3s4, i, _this__u8e3s4.sv(i));
187
+ tmp_0 = strategyForClasses.z6l(_this__u8e3s4, i, _this__u8e3s4.sv(i));
188
188
  } else {
189
189
  tmp_0 = null;
190
190
  }
@@ -211,7 +211,7 @@ function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeser
211
211
  // Inline function 'kotlin.collections.contains' call
212
212
  // Inline function 'kotlin.collections.containsKey' call
213
213
  if ((isInterface(_this__u8e3s4, KtMap()) ? _this__u8e3s4 : THROW_CCE()).u2(name)) {
214
- throw JsonException().h6l("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.sv(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.sv(getValue(_this__u8e3s4, name)) + ' in ' + toString($this_buildDeserializationNamesMap)));
214
+ throw JsonException().v6l("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.sv(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.sv(getValue(_this__u8e3s4, name)) + ' in ' + toString($this_buildDeserializationNamesMap)));
215
215
  }
216
216
  // Inline function 'kotlin.collections.set' call
217
217
  _this__u8e3s4.d3(name, index);
@@ -230,7 +230,7 @@ function serializationNamesIndices$lambda($this_serializationNamesIndices, $stra
230
230
  while (tmp < tmp_0) {
231
231
  var tmp_2 = tmp;
232
232
  var baseName = $this_serializationNamesIndices.sv(tmp_2);
233
- tmp_1[tmp_2] = $strategy.l6l($this_serializationNamesIndices, tmp_2, baseName);
233
+ tmp_1[tmp_2] = $strategy.z6l($this_serializationNamesIndices, tmp_2, baseName);
234
234
  tmp = tmp + 1 | 0;
235
235
  }
236
236
  return tmp_1;
@@ -32,9 +32,9 @@ function Tombstone_getInstance() {
32
32
  return Tombstone_instance;
33
33
  }
34
34
  function resize($this) {
35
- var newSize = imul($this.o6l_1, 2);
36
- $this.m6l_1 = copyOf($this.m6l_1, newSize);
37
- $this.n6l_1 = copyOf_0($this.n6l_1, newSize);
35
+ var newSize = imul($this.c6m_1, 2);
36
+ $this.a6m_1 = copyOf($this.a6m_1, newSize);
37
+ $this.b6m_1 = copyOf_0($this.b6m_1, newSize);
38
38
  }
39
39
  var JsonPathClass;
40
40
  function JsonPath() {
@@ -43,7 +43,7 @@ function JsonPath() {
43
43
  constructor() {
44
44
  var tmp = this;
45
45
  // Inline function 'kotlin.arrayOfNulls' call
46
- tmp.m6l_1 = Array(8);
46
+ tmp.a6m_1 = Array(8);
47
47
  var tmp_0 = this;
48
48
  var tmp_1 = 0;
49
49
  var tmp_2 = new Int32Array(8);
@@ -51,71 +51,71 @@ function JsonPath() {
51
51
  tmp_2[tmp_1] = -1;
52
52
  tmp_1 = tmp_1 + 1 | 0;
53
53
  }
54
- tmp_0.n6l_1 = tmp_2;
55
- this.o6l_1 = -1;
54
+ tmp_0.b6m_1 = tmp_2;
55
+ this.c6m_1 = -1;
56
56
  }
57
- p6l(sd) {
58
- this.o6l_1 = this.o6l_1 + 1 | 0;
59
- var depth = this.o6l_1;
60
- if (depth === this.m6l_1.length) {
57
+ d6m(sd) {
58
+ this.c6m_1 = this.c6m_1 + 1 | 0;
59
+ var depth = this.c6m_1;
60
+ if (depth === this.a6m_1.length) {
61
61
  resize(this);
62
62
  }
63
- this.m6l_1[depth] = sd;
63
+ this.a6m_1[depth] = sd;
64
64
  }
65
- q6l(index) {
66
- this.n6l_1[this.o6l_1] = index;
65
+ e6m(index) {
66
+ this.b6m_1[this.c6m_1] = index;
67
67
  }
68
- r6l(key) {
68
+ f6m(key) {
69
69
  var tmp;
70
- if (!(this.n6l_1[this.o6l_1] === -2)) {
71
- this.o6l_1 = this.o6l_1 + 1 | 0;
72
- tmp = this.o6l_1 === this.m6l_1.length;
70
+ if (!(this.b6m_1[this.c6m_1] === -2)) {
71
+ this.c6m_1 = this.c6m_1 + 1 | 0;
72
+ tmp = this.c6m_1 === this.a6m_1.length;
73
73
  } else {
74
74
  tmp = false;
75
75
  }
76
76
  if (tmp) {
77
77
  resize(this);
78
78
  }
79
- this.m6l_1[this.o6l_1] = key;
80
- this.n6l_1[this.o6l_1] = -2;
79
+ this.a6m_1[this.c6m_1] = key;
80
+ this.b6m_1[this.c6m_1] = -2;
81
81
  }
82
- s6l() {
83
- if (this.n6l_1[this.o6l_1] === -2) {
84
- this.m6l_1[this.o6l_1] = Tombstone_instance;
82
+ g6m() {
83
+ if (this.b6m_1[this.c6m_1] === -2) {
84
+ this.a6m_1[this.c6m_1] = Tombstone_instance;
85
85
  }
86
86
  }
87
- t6l() {
88
- var depth = this.o6l_1;
89
- if (this.n6l_1[depth] === -2) {
90
- this.n6l_1[depth] = -1;
91
- this.o6l_1 = this.o6l_1 - 1 | 0;
87
+ h6m() {
88
+ var depth = this.c6m_1;
89
+ if (this.b6m_1[depth] === -2) {
90
+ this.b6m_1[depth] = -1;
91
+ this.c6m_1 = this.c6m_1 - 1 | 0;
92
92
  }
93
- if (!(this.o6l_1 === -1)) {
94
- this.o6l_1 = this.o6l_1 - 1 | 0;
93
+ if (!(this.c6m_1 === -1)) {
94
+ this.c6m_1 = this.c6m_1 - 1 | 0;
95
95
  }
96
96
  }
97
- u6l() {
97
+ i6m() {
98
98
  // Inline function 'kotlin.text.buildString' call
99
99
  // Inline function 'kotlin.apply' call
100
100
  var this_0 = StringBuilder().a1();
101
101
  this_0.jb('$');
102
102
  // Inline function 'kotlin.repeat' call
103
- var times = this.o6l_1 + 1 | 0;
103
+ var times = this.c6m_1 + 1 | 0;
104
104
  var inductionVariable = 0;
105
105
  if (inductionVariable < times)
106
106
  do {
107
107
  var index = inductionVariable;
108
108
  inductionVariable = inductionVariable + 1 | 0;
109
- var element = this.m6l_1[index];
109
+ var element = this.a6m_1[index];
110
110
  if (!(element == null) ? isInterface(element, SerialDescriptor()) : false) {
111
111
  if (equals(element.ov(), LIST_getInstance())) {
112
- if (!(this.n6l_1[index] === -1)) {
112
+ if (!(this.b6m_1[index] === -1)) {
113
113
  this_0.jb('[');
114
- this_0.yh(this.n6l_1[index]);
114
+ this_0.yh(this.b6m_1[index]);
115
115
  this_0.jb(']');
116
116
  }
117
117
  } else {
118
- var idx = this.n6l_1[index];
118
+ var idx = this.b6m_1[index];
119
119
  if (idx >= 0) {
120
120
  this_0.jb('.');
121
121
  this_0.jb(element.sv(idx));
@@ -135,7 +135,7 @@ function JsonPath() {
135
135
  return this_0.toString();
136
136
  }
137
137
  toString() {
138
- return this.u6l();
138
+ return this.i6m();
139
139
  }
140
140
  }
141
141
  initMetadataForClass($, 'JsonPath', JsonPath);