@attocash/commons-js 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -64,61 +64,61 @@ function get_unsignedNumberDescriptors() {
64
64
  }
65
65
  var unsignedNumberDescriptors;
66
66
  function encodeTypeInfo($this, discriminator, serialName) {
67
- $this.y6l_1.p6j();
67
+ $this.m6m_1.d6k();
68
68
  $this.oy(discriminator);
69
- $this.y6l_1.s6j(_Char___init__impl__6a9atx(58));
70
- $this.y6l_1.r6j();
69
+ $this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
70
+ $this.m6m_1.f6k();
71
71
  $this.oy(serialName);
72
72
  }
73
73
  var StreamingJsonEncoderClass;
74
74
  function StreamingJsonEncoder() {
75
75
  if (StreamingJsonEncoderClass === VOID) {
76
76
  class $ extends AbstractEncoder() {
77
- static t6o(composer, json, mode, modeReuseCache) {
77
+ static h6p(composer, json, mode, modeReuseCache) {
78
78
  var $this = this.cy();
79
- $this.y6l_1 = composer;
80
- $this.z6l_1 = json;
81
- $this.a6m_1 = mode;
82
- $this.b6m_1 = modeReuseCache;
83
- $this.c6m_1 = $this.z6l_1.yx();
84
- $this.d6m_1 = $this.z6l_1.z6f_1;
85
- $this.e6m_1 = false;
86
- $this.f6m_1 = null;
87
- $this.g6m_1 = null;
88
- var i = $this.a6m_1.h3_1;
89
- if (!($this.b6m_1 == null)) {
90
- if (!($this.b6m_1[i] === null) || !($this.b6m_1[i] === $this)) {
91
- $this.b6m_1[i] = $this;
79
+ $this.m6m_1 = composer;
80
+ $this.n6m_1 = json;
81
+ $this.o6m_1 = mode;
82
+ $this.p6m_1 = modeReuseCache;
83
+ $this.q6m_1 = $this.n6m_1.yx();
84
+ $this.r6m_1 = $this.n6m_1.n6g_1;
85
+ $this.s6m_1 = false;
86
+ $this.t6m_1 = null;
87
+ $this.u6m_1 = null;
88
+ var i = $this.o6m_1.h3_1;
89
+ if (!($this.p6m_1 == null)) {
90
+ if (!($this.p6m_1[i] === null) || !($this.p6m_1[i] === $this)) {
91
+ $this.p6m_1[i] = $this;
92
92
  }
93
93
  }
94
94
  return $this;
95
95
  }
96
- a6i() {
97
- return this.z6l_1;
96
+ o6i() {
97
+ return this.n6m_1;
98
98
  }
99
- static h6m(output, json, mode, modeReuseCache) {
100
- return this.t6o(Composer(output, json), json, mode, modeReuseCache);
99
+ static v6m(output, json, mode, modeReuseCache) {
100
+ return this.h6p(Composer(output, json), json, mode, modeReuseCache);
101
101
  }
102
102
  yx() {
103
- return this.c6m_1;
103
+ return this.q6m_1;
104
104
  }
105
105
  fz(descriptor, index) {
106
- return this.d6m_1.j6h_1;
106
+ return this.r6m_1.x6h_1;
107
107
  }
108
108
  cz(serializer, value) {
109
109
  $l$block: {
110
110
  // Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
111
- if (this.a6i().z6f_1.r6h_1) {
111
+ if (this.o6i().n6g_1.f6i_1) {
112
112
  serializer.ys(this, value);
113
113
  break $l$block;
114
114
  }
115
115
  var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer();
116
116
  var tmp;
117
117
  if (isPolymorphicSerializer) {
118
- tmp = !this.a6i().z6f_1.z6h_1.equals(ClassDiscriminatorMode_NONE_getInstance());
118
+ tmp = !this.o6i().n6g_1.n6i_1.equals(ClassDiscriminatorMode_NONE_getInstance());
119
119
  } else {
120
120
  var tmp_0;
121
- switch (this.a6i().z6f_1.z6h_1.h3_1) {
121
+ switch (this.o6i().n6g_1.n6i_1.h3_1) {
122
122
  case 0:
123
123
  case 2:
124
124
  tmp_0 = false;
@@ -136,7 +136,7 @@ function StreamingJsonEncoder() {
136
136
  tmp = tmp_0;
137
137
  }
138
138
  var needDiscriminator = tmp;
139
- var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.xs(), this.a6i()) : null;
139
+ var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.xs(), this.o6i()) : null;
140
140
  var tmp_1;
141
141
  if (isPolymorphicSerializer) {
142
142
  var casted = serializer instanceof AbstractPolymorphicSerializer() ? serializer : THROW_CCE();
@@ -161,87 +161,87 @@ function StreamingJsonEncoder() {
161
161
  var actualSerializer = tmp_1;
162
162
  if (!(baseClassDiscriminator == null)) {
163
163
  var serialName = actualSerializer.xs().au();
164
- this.f6m_1 = baseClassDiscriminator;
165
- this.g6m_1 = serialName;
164
+ this.t6m_1 = baseClassDiscriminator;
165
+ this.u6m_1 = serialName;
166
166
  }
167
167
  actualSerializer.ys(this, value);
168
168
  }
169
169
  }
170
170
  kx(descriptor) {
171
- var newMode = switchMode(this.z6l_1, descriptor);
172
- if (!(newMode.m6o_1 === _Char___init__impl__6a9atx(0))) {
173
- this.y6l_1.s6j(newMode.m6o_1);
174
- this.y6l_1.n6j();
171
+ var newMode = switchMode(this.n6m_1, descriptor);
172
+ if (!(newMode.a6p_1 === _Char___init__impl__6a9atx(0))) {
173
+ this.m6m_1.g6k(newMode.a6p_1);
174
+ this.m6m_1.b6k();
175
175
  }
176
- var discriminator = this.f6m_1;
176
+ var discriminator = this.t6m_1;
177
177
  if (!(discriminator == null)) {
178
- var tmp0_elvis_lhs = this.g6m_1;
178
+ var tmp0_elvis_lhs = this.u6m_1;
179
179
  encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.au() : tmp0_elvis_lhs);
180
- this.f6m_1 = null;
181
- this.g6m_1 = null;
180
+ this.t6m_1 = null;
181
+ this.u6m_1 = null;
182
182
  }
183
- if (this.a6m_1.equals(newMode)) {
183
+ if (this.o6m_1.equals(newMode)) {
184
184
  return this;
185
185
  }
186
- var tmp1_safe_receiver = this.b6m_1;
186
+ var tmp1_safe_receiver = this.p6m_1;
187
187
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.h3_1];
188
- return tmp2_elvis_lhs == null ? StreamingJsonEncoder().t6o(this.y6l_1, this.z6l_1, newMode, this.b6m_1) : tmp2_elvis_lhs;
188
+ return tmp2_elvis_lhs == null ? StreamingJsonEncoder().h6p(this.m6m_1, this.n6m_1, newMode, this.p6m_1) : tmp2_elvis_lhs;
189
189
  }
190
190
  lx(descriptor) {
191
- if (!(this.a6m_1.n6o_1 === _Char___init__impl__6a9atx(0))) {
192
- this.y6l_1.o6j();
193
- this.y6l_1.q6j();
194
- this.y6l_1.s6j(this.a6m_1.n6o_1);
191
+ if (!(this.o6m_1.b6p_1 === _Char___init__impl__6a9atx(0))) {
192
+ this.m6m_1.c6k();
193
+ this.m6m_1.e6k();
194
+ this.m6m_1.g6k(this.o6m_1.b6p_1);
195
195
  }
196
196
  }
197
197
  dy(descriptor, index) {
198
- switch (this.a6m_1.h3_1) {
198
+ switch (this.o6m_1.h3_1) {
199
199
  case 1:
200
- if (!this.y6l_1.m6j_1) {
201
- this.y6l_1.s6j(_Char___init__impl__6a9atx(44));
200
+ if (!this.m6m_1.a6k_1) {
201
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
202
202
  }
203
203
 
204
- this.y6l_1.p6j();
204
+ this.m6m_1.d6k();
205
205
  break;
206
206
  case 2:
207
- if (!this.y6l_1.m6j_1) {
207
+ if (!this.m6m_1.a6k_1) {
208
208
  var tmp = this;
209
209
  var tmp_0;
210
210
  if ((index % 2 | 0) === 0) {
211
- this.y6l_1.s6j(_Char___init__impl__6a9atx(44));
212
- this.y6l_1.p6j();
211
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
212
+ this.m6m_1.d6k();
213
213
  tmp_0 = true;
214
214
  } else {
215
- this.y6l_1.s6j(_Char___init__impl__6a9atx(58));
216
- this.y6l_1.r6j();
215
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
216
+ this.m6m_1.f6k();
217
217
  tmp_0 = false;
218
218
  }
219
- tmp.e6m_1 = tmp_0;
219
+ tmp.s6m_1 = tmp_0;
220
220
  } else {
221
- this.e6m_1 = true;
222
- this.y6l_1.p6j();
221
+ this.s6m_1 = true;
222
+ this.m6m_1.d6k();
223
223
  }
224
224
 
225
225
  break;
226
226
  case 3:
227
227
  if (index === 0)
228
- this.e6m_1 = true;
228
+ this.s6m_1 = true;
229
229
  if (index === 1) {
230
- this.y6l_1.s6j(_Char___init__impl__6a9atx(44));
231
- this.y6l_1.r6j();
232
- this.e6m_1 = false;
230
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
231
+ this.m6m_1.f6k();
232
+ this.s6m_1 = false;
233
233
  }
234
234
 
235
235
  break;
236
236
  default:
237
- if (!this.y6l_1.m6j_1) {
238
- this.y6l_1.s6j(_Char___init__impl__6a9atx(44));
237
+ if (!this.m6m_1.a6k_1) {
238
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
239
239
  }
240
240
 
241
- this.y6l_1.p6j();
242
- this.oy(getJsonElementName(descriptor, this.z6l_1, index));
243
- this.y6l_1.s6j(_Char___init__impl__6a9atx(58));
244
- this.y6l_1.r6j();
241
+ this.m6m_1.d6k();
242
+ this.oy(getJsonElementName(descriptor, this.n6m_1, index));
243
+ this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
244
+ this.m6m_1.f6k();
245
245
  break;
246
246
  }
247
247
  return true;
@@ -251,32 +251,32 @@ function StreamingJsonEncoder() {
251
251
  if (get_isUnsignedNumber(descriptor)) {
252
252
  // Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
253
253
  var tmp_0;
254
- var tmp_1 = this.y6l_1;
254
+ var tmp_1 = this.m6m_1;
255
255
  if (tmp_1 instanceof ComposerForUnsignedNumbers()) {
256
- tmp_0 = this.y6l_1;
256
+ tmp_0 = this.m6m_1;
257
257
  } else {
258
- var tmp0 = this.y6l_1.l6j_1;
259
- var p1 = this.e6m_1;
258
+ var tmp0 = this.m6m_1.z6j_1;
259
+ var p1 = this.s6m_1;
260
260
  tmp_0 = new (ComposerForUnsignedNumbers())(tmp0, p1);
261
261
  }
262
262
  var tmp$ret$1 = tmp_0;
263
- tmp = StreamingJsonEncoder().t6o(tmp$ret$1, this.z6l_1, this.a6m_1, null);
263
+ tmp = StreamingJsonEncoder().h6p(tmp$ret$1, this.n6m_1, this.o6m_1, null);
264
264
  } else if (get_isUnquotedLiteral(descriptor)) {
265
265
  // Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
266
266
  var tmp_2;
267
- var tmp_3 = this.y6l_1;
267
+ var tmp_3 = this.m6m_1;
268
268
  if (tmp_3 instanceof ComposerForUnquotedLiterals()) {
269
- tmp_2 = this.y6l_1;
269
+ tmp_2 = this.m6m_1;
270
270
  } else {
271
- var tmp0_0 = this.y6l_1.l6j_1;
272
- var p1_0 = this.e6m_1;
271
+ var tmp0_0 = this.m6m_1.z6j_1;
272
+ var p1_0 = this.s6m_1;
273
273
  tmp_2 = new (ComposerForUnquotedLiterals())(tmp0_0, p1_0);
274
274
  }
275
275
  var tmp$ret$3 = tmp_2;
276
- tmp = StreamingJsonEncoder().t6o(tmp$ret$3, this.z6l_1, this.a6m_1, null);
277
- } else if (!(this.f6m_1 == null)) {
276
+ tmp = StreamingJsonEncoder().h6p(tmp$ret$3, this.n6m_1, this.o6m_1, null);
277
+ } else if (!(this.t6m_1 == null)) {
278
278
  // Inline function 'kotlin.apply' call
279
- this.g6m_1 = descriptor.au();
279
+ this.u6m_1 = descriptor.au();
280
280
  tmp = this;
281
281
  } else {
282
282
  tmp = super.qy(descriptor);
@@ -284,68 +284,68 @@ function StreamingJsonEncoder() {
284
284
  return tmp;
285
285
  }
286
286
  fy() {
287
- this.y6l_1.u6j('null');
287
+ this.m6m_1.i6k('null');
288
288
  }
289
289
  gy(value) {
290
- if (this.e6m_1) {
290
+ if (this.s6m_1) {
291
291
  this.oy(value.toString());
292
292
  } else {
293
- this.y6l_1.c6k(value);
293
+ this.m6m_1.q6k(value);
294
294
  }
295
295
  }
296
296
  hy(value) {
297
- if (this.e6m_1) {
297
+ if (this.s6m_1) {
298
298
  this.oy(value.toString());
299
299
  } else {
300
- this.y6l_1.y6j(value);
300
+ this.m6m_1.m6k(value);
301
301
  }
302
302
  }
303
303
  iy(value) {
304
- if (this.e6m_1) {
304
+ if (this.s6m_1) {
305
305
  this.oy(value.toString());
306
306
  } else {
307
- this.y6l_1.z6j(value);
307
+ this.m6m_1.n6k(value);
308
308
  }
309
309
  }
310
310
  jy(value) {
311
- if (this.e6m_1) {
311
+ if (this.s6m_1) {
312
312
  this.oy(value.toString());
313
313
  } else {
314
- this.y6l_1.a6k(value);
314
+ this.m6m_1.o6k(value);
315
315
  }
316
316
  }
317
317
  ky(value) {
318
- if (this.e6m_1) {
318
+ if (this.s6m_1) {
319
319
  this.oy(value.toString());
320
320
  } else {
321
- this.y6l_1.b6k(value);
321
+ this.m6m_1.p6k(value);
322
322
  }
323
323
  }
324
324
  ly(value) {
325
- if (this.e6m_1) {
325
+ if (this.s6m_1) {
326
326
  this.oy(value.toString());
327
327
  } else {
328
- this.y6l_1.w6j(value);
328
+ this.m6m_1.k6k(value);
329
329
  }
330
- if (!this.d6m_1.t6h_1 && !isFinite(value)) {
331
- throw InvalidFloatingPointEncoded(value, toString_0(this.y6l_1.l6j_1));
330
+ if (!this.r6m_1.h6i_1 && !isFinite(value)) {
331
+ throw InvalidFloatingPointEncoded(value, toString_0(this.m6m_1.z6j_1));
332
332
  }
333
333
  }
334
334
  my(value) {
335
- if (this.e6m_1) {
335
+ if (this.s6m_1) {
336
336
  this.oy(value.toString());
337
337
  } else {
338
- this.y6l_1.x6j(value);
338
+ this.m6m_1.l6k(value);
339
339
  }
340
- if (!this.d6m_1.t6h_1 && !isFinite_0(value)) {
341
- throw InvalidFloatingPointEncoded(value, toString_0(this.y6l_1.l6j_1));
340
+ if (!this.r6m_1.h6i_1 && !isFinite_0(value)) {
341
+ throw InvalidFloatingPointEncoded(value, toString_0(this.m6m_1.z6j_1));
342
342
  }
343
343
  }
344
344
  ny(value) {
345
345
  this.oy(toString(value));
346
346
  }
347
347
  oy(value) {
348
- return this.y6l_1.d6k(value);
348
+ return this.m6m_1.r6k(value);
349
349
  }
350
350
  py(enumDescriptor, index) {
351
351
  this.oy(enumDescriptor.sv(index));
@@ -28,17 +28,17 @@ function StringJsonLexer() {
28
28
  class $ extends AbstractJsonLexer() {
29
29
  constructor(source) {
30
30
  super();
31
- this.x6r_1 = source;
31
+ this.l6s_1 = source;
32
32
  }
33
- f6r() {
34
- return this.x6r_1;
33
+ t6r() {
34
+ return this.l6s_1;
35
35
  }
36
- g6r(position) {
37
- return position < this.f6r().length ? position : -1;
36
+ u6r(position) {
37
+ return position < this.t6r().length ? position : -1;
38
38
  }
39
- s6m() {
40
- var source = this.f6r();
41
- var cpos = this.l6g_1;
39
+ g6n() {
40
+ var source = this.t6r();
41
+ var cpos = this.z6g_1;
42
42
  $l$loop: while (!(cpos === -1) && cpos < source.length) {
43
43
  var _unary__edvuaz = cpos;
44
44
  cpos = _unary__edvuaz + 1 | 0;
@@ -46,17 +46,17 @@ function StringJsonLexer() {
46
46
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
47
47
  if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
48
48
  continue $l$loop;
49
- this.l6g_1 = cpos;
49
+ this.z6g_1 = cpos;
50
50
  return charToTokenClass(c);
51
51
  }
52
- this.l6g_1 = source.length;
52
+ this.z6g_1 = source.length;
53
53
  return 10;
54
54
  }
55
- o6m() {
56
- var current = this.l6g_1;
55
+ c6n() {
56
+ var current = this.z6g_1;
57
57
  if (current === -1)
58
58
  return false;
59
- var source = this.f6r();
59
+ var source = this.t6r();
60
60
  $l$loop: while (current < source.length) {
61
61
  var c = charCodeAt(source, current);
62
62
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
@@ -64,17 +64,17 @@ function StringJsonLexer() {
64
64
  current = current + 1 | 0;
65
65
  continue $l$loop;
66
66
  }
67
- this.l6g_1 = current;
68
- return this.j6r(c);
67
+ this.z6g_1 = current;
68
+ return this.x6r(c);
69
69
  }
70
- this.l6g_1 = current;
70
+ this.z6g_1 = current;
71
71
  return false;
72
72
  }
73
- i6r() {
74
- var current = this.l6g_1;
73
+ w6r() {
74
+ var current = this.z6g_1;
75
75
  if (current === -1)
76
76
  return current;
77
- var source = this.f6r();
77
+ var source = this.t6r();
78
78
  $l$loop: while (current < source.length) {
79
79
  var c = charCodeAt(source, current);
80
80
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
@@ -84,15 +84,15 @@ function StringJsonLexer() {
84
84
  break $l$loop;
85
85
  }
86
86
  }
87
- this.l6g_1 = current;
87
+ this.z6g_1 = current;
88
88
  return current;
89
89
  }
90
- b6o(expected) {
91
- if (this.l6g_1 === -1) {
92
- this.k6r(expected);
90
+ p6o(expected) {
91
+ if (this.z6g_1 === -1) {
92
+ this.y6r(expected);
93
93
  }
94
- var source = this.f6r();
95
- var cpos = this.l6g_1;
94
+ var source = this.t6r();
95
+ var cpos = this.z6g_1;
96
96
  $l$loop: while (cpos < source.length) {
97
97
  var _unary__edvuaz = cpos;
98
98
  cpos = _unary__edvuaz + 1 | 0;
@@ -100,55 +100,55 @@ function StringJsonLexer() {
100
100
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
101
101
  if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
102
102
  continue $l$loop;
103
- this.l6g_1 = cpos;
103
+ this.z6g_1 = cpos;
104
104
  if (c === expected)
105
105
  return Unit_instance;
106
- this.k6r(expected);
106
+ this.y6r(expected);
107
107
  }
108
- this.l6g_1 = -1;
109
- this.k6r(expected);
108
+ this.z6g_1 = -1;
109
+ this.y6r(expected);
110
110
  }
111
- h6o() {
112
- this.b6o(_Char___init__impl__6a9atx(34));
113
- var current = this.l6g_1;
114
- var closingQuote = indexOf(this.f6r(), _Char___init__impl__6a9atx(34), current);
111
+ v6o() {
112
+ this.p6o(_Char___init__impl__6a9atx(34));
113
+ var current = this.z6g_1;
114
+ var closingQuote = indexOf(this.t6r(), _Char___init__impl__6a9atx(34), current);
115
115
  if (closingQuote === -1) {
116
- this.q6m();
116
+ this.e6n();
117
117
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
118
118
  var expected = tokenDescription(1);
119
- var position = false ? this.l6g_1 - 1 | 0 : this.l6g_1;
120
- var s = this.l6g_1 === charSequenceLength(this.f6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.f6r(), position));
119
+ var position = false ? this.z6g_1 - 1 | 0 : this.z6g_1;
120
+ var s = this.z6g_1 === charSequenceLength(this.t6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.t6r(), position));
121
121
  var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
122
- this.u6k(tmp$ret$0, position);
122
+ this.i6l(tmp$ret$0, position);
123
123
  }
124
124
  var inductionVariable = current;
125
125
  if (inductionVariable < closingQuote)
126
126
  do {
127
127
  var i = inductionVariable;
128
128
  inductionVariable = inductionVariable + 1 | 0;
129
- if (charCodeAt(this.f6r(), i) === _Char___init__impl__6a9atx(92)) {
130
- return this.consumeString2(this.f6r(), this.l6g_1, i);
129
+ if (charCodeAt(this.t6r(), i) === _Char___init__impl__6a9atx(92)) {
130
+ return this.consumeString2(this.t6r(), this.z6g_1, i);
131
131
  }
132
132
  }
133
133
  while (inductionVariable < closingQuote);
134
- this.l6g_1 = closingQuote + 1 | 0;
135
- return substring(this.f6r(), current, closingQuote);
134
+ this.z6g_1 = closingQuote + 1 | 0;
135
+ return substring(this.t6r(), current, closingQuote);
136
136
  }
137
- j6o(keyToMatch, isLenient) {
138
- var positionSnapshot = this.l6g_1;
137
+ x6o(keyToMatch, isLenient) {
138
+ var positionSnapshot = this.z6g_1;
139
139
  try {
140
- if (!(this.s6m() === 6))
140
+ if (!(this.g6n() === 6))
141
141
  return null;
142
- var firstKey = this.e6o(isLenient);
142
+ var firstKey = this.s6o(isLenient);
143
143
  if (!(firstKey === keyToMatch))
144
144
  return null;
145
- this.l6r();
146
- if (!(this.s6m() === 5))
145
+ this.z6r();
146
+ if (!(this.g6n() === 5))
147
147
  return null;
148
- return this.e6o(isLenient);
148
+ return this.s6o(isLenient);
149
149
  }finally {
150
- this.l6g_1 = positionSnapshot;
151
- this.l6r();
150
+ this.z6g_1 = positionSnapshot;
151
+ this.z6r();
152
152
  }
153
153
  }
154
154
  }
@@ -158,7 +158,7 @@ function StringJsonLexer() {
158
158
  return StringJsonLexerClass;
159
159
  }
160
160
  function StringJsonLexer_0(json, source) {
161
- return !json.z6f_1.y6h_1 ? new (StringJsonLexer())(source) : new (StringJsonLexerWithComments())(source);
161
+ return !json.n6g_1.m6i_1 ? new (StringJsonLexer())(source) : new (StringJsonLexerWithComments())(source);
162
162
  }
163
163
  //region block: exports
164
164
  export {