@attocash/commons-js 5.4.1 → 6.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 (1439) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +73 -64
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs.map +1 -1
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs +20 -24
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +46 -46
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs.map +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +307 -115
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs.map +1 -1
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +152 -71
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs.map +1 -1
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +219 -98
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs.map +1 -1
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs +76 -27
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs.map +1 -1
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +49 -0
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs.map +1 -0
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +287 -101
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs.map +1 -1
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +94 -155
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs.map +1 -1
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +139 -0
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs.map +1 -0
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +79 -0
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs.map +1 -0
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +13 -6
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs.map +1 -1
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +61 -40
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs.map +1 -1
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +185 -543
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs.map +1 -1
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +124 -111
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs.map +1 -1
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +188 -177
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs.map +1 -1
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +285 -198
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs.map +1 -1
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +400 -0
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs.map +1 -0
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs +29 -0
  40. package/{ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs.map → Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs.map} +1 -1
  41. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +147 -0
  42. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs.map +1 -0
  43. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +412 -0
  44. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs.map +1 -0
  45. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs +37 -0
  46. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs.map +1 -0
  47. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +102 -0
  48. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs.map +1 -0
  49. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +237 -0
  50. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs.map +1 -0
  51. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs +47 -0
  52. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs.map +1 -0
  53. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +14 -11
  54. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs.map +1 -1
  55. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +77 -162
  56. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs.map +1 -1
  57. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +50 -48
  58. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs.map +1 -1
  59. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +169 -174
  60. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs.map +1 -1
  61. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +16 -16
  62. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs.map +1 -1
  63. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +115 -12
  64. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs.map +1 -1
  65. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +117 -63
  66. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs.map +1 -1
  67. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +46 -46
  68. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs.map +1 -1
  69. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  70. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs.map +1 -1
  71. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +89 -89
  72. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs.map +1 -1
  73. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +128 -371
  74. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs.map +1 -1
  75. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +20 -19
  76. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs.map +1 -1
  77. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +51 -0
  78. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs.map +1 -0
  79. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs +0 -35
  80. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs.map +1 -1
  81. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +112 -123
  82. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
  83. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +22 -22
  84. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
  85. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +22 -22
  86. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
  87. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +22 -22
  88. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
  89. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +64 -64
  90. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
  91. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +53 -0
  92. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -0
  93. package/commons-commons-core/cash/atto/commons/{AccountUpdate.js.export.d.ts → AccountUpdate.js.export.d.mts} +1 -1
  94. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs +1 -1
  95. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +19 -22
  96. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
  97. package/commons-commons-core/cash/atto/commons/{AttoAccount.export.d.ts → AttoAccount.export.d.mts} +14 -10
  98. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs +3 -2
  99. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs.map +1 -1
  100. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +165 -175
  101. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/{AttoAccountEntry.export.d.ts → AttoAccountEntry.export.d.mts} +10 -6
  103. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs +3 -2
  104. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs.map +1 -1
  105. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +164 -183
  106. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
  107. package/commons-commons-core/cash/atto/commons/{AttoAddress.export.d.ts → AttoAddress.export.d.mts} +9 -4
  108. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +5 -2
  109. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
  110. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +83 -41
  111. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
  112. package/commons-commons-core/cash/atto/commons/{AttoAlgorithm.export.d.ts → AttoAlgorithm.export.d.mts} +5 -2
  113. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs +4 -3
  114. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs.map +1 -1
  115. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +21 -21
  116. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
  117. package/commons-commons-core/cash/atto/commons/{AttoAmount.export.d.ts → AttoAmount.export.d.mts} +11 -6
  118. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +9 -4
  119. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
  120. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +83 -69
  121. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
  122. package/commons-commons-core/cash/atto/commons/{AttoBlock.export.d.ts → AttoBlock.export.d.mts} +60 -25
  123. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs +12 -11
  124. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs.map +1 -1
  125. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1131 -1180
  126. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
  127. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +16 -16
  128. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
  129. package/commons-commons-core/cash/atto/commons/{AttoChallenge.export.d.ts → AttoChallenge.export.d.mts} +5 -1
  130. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs +3 -2
  131. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs.map +1 -1
  132. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +16 -16
  133. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
  134. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +10 -0
  135. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +13 -0
  136. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +72 -0
  137. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +1 -0
  138. package/commons-commons-core/cash/atto/commons/{AttoHash.export.d.ts → AttoHash.export.d.mts} +6 -2
  139. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs +3 -2
  140. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs.map +1 -1
  141. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +35 -35
  142. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
  143. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  144. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
  145. package/commons-commons-core/cash/atto/commons/{AttoHeight.export.d.ts → AttoHeight.export.d.mts} +10 -5
  146. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -2
  147. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
  148. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +54 -47
  149. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
  150. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +33 -0
  151. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs +20 -0
  152. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs.map +1 -0
  153. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +189 -0
  154. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -0
  155. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +26 -0
  156. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -0
  157. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +16 -0
  158. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs +17 -0
  159. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs.map +1 -0
  160. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +82 -0
  161. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -0
  162. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +33 -0
  163. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs +22 -0
  164. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs +23 -0
  165. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -0
  166. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +184 -0
  167. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -0
  168. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +61 -0
  169. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -0
  170. package/commons-commons-core/cash/atto/commons/{AttoNetwork.export.d.ts → AttoNetwork.export.d.mts} +8 -4
  171. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs +8 -7
  172. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs.map +1 -1
  173. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +30 -30
  174. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  175. package/commons-commons-core/cash/atto/commons/{AttoPrivateKey.export.d.ts → AttoPrivateKey.export.d.mts} +7 -3
  176. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs +5 -2
  177. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs.map +1 -1
  178. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  179. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  180. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +38 -31
  181. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  182. package/commons-commons-core/cash/atto/commons/{AttoPublicKey.export.d.ts → AttoPublicKey.export.d.mts} +5 -1
  183. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs +3 -2
  184. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs.map +1 -1
  185. package/{ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.ts → commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.d.mts} +1 -2
  186. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs +12 -0
  187. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  188. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +29 -29
  189. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  190. package/commons-commons-core/cash/atto/commons/{AttoReceivable.export.d.ts → AttoReceivable.export.d.mts} +9 -4
  191. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs +3 -2
  192. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs.map +1 -1
  193. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +148 -133
  194. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  195. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.d.ts → commons-commons-core/cash/atto/commons/AttoSeed.js.export.d.mts} +1 -1
  196. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs +12 -0
  197. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +91 -0
  198. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -0
  199. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +29 -4
  200. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  201. package/commons-commons-core/cash/atto/commons/{AttoSignature.export.d.ts → AttoSignature.export.d.mts} +5 -1
  202. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs +3 -2
  203. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs.map +1 -1
  204. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  205. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +30 -30
  206. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  207. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +23 -441
  208. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  209. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +19 -135
  210. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  211. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +7 -7
  212. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +1 -1
  213. package/commons-commons-core/cash/atto/commons/{AttoTransaction.export.d.ts → AttoTransaction.export.d.mts} +9 -3
  214. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs +3 -2
  215. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs.map +1 -1
  216. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +105 -92
  217. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  218. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +63 -0
  219. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -0
  220. package/commons-commons-core/cash/atto/commons/{AttoVersion.export.d.ts → AttoVersion.export.d.mts} +5 -1
  221. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs +3 -2
  222. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs.map +1 -1
  223. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +17 -18
  224. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  225. package/commons-commons-core/cash/atto/commons/{AttoVote.export.d.ts → AttoVote.export.d.mts} +9 -5
  226. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs +3 -2
  227. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs.map +1 -1
  228. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +105 -111
  229. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  230. package/commons-commons-core/cash/atto/commons/{AttoWork.export.d.ts → AttoWork.export.d.mts} +5 -2
  231. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs +3 -2
  232. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs.map +1 -1
  233. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +68 -98
  234. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  235. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +147 -0
  236. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -0
  237. package/commons-commons-core/cash/atto/commons/Extensions.mjs +44 -10
  238. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  239. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +14 -14
  240. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  241. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  242. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  243. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs +37 -0
  244. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -0
  245. package/commons-commons-core.mjs +6 -1
  246. package/commons-commons-core.mjs.map +1 -1
  247. package/commons-commons-js.mjs +0 -1
  248. package/commons-commons-js.mjs.map +1 -1
  249. package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs +29 -0
  250. package/{kotlin-kotlin-stdlib/kotlin/Number.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs.map} +1 -1
  251. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +22 -0
  252. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs +13 -0
  253. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs.map +1 -0
  254. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +1248 -0
  255. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -0
  256. package/commons-commons-node/cash/atto/commons/node/{AttoNodeOperations.export.d.ts → AttoNodeOperations.export.d.mts} +25 -9
  257. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs +6 -5
  258. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs.map +1 -1
  259. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +215 -324
  260. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  261. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +21 -21
  262. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  263. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +66 -0
  264. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -0
  265. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.d.mts +10 -0
  266. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs +13 -0
  267. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs.map +1 -0
  268. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +189 -0
  269. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -0
  270. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts +11 -0
  271. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs +13 -0
  272. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map +1 -0
  273. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +97 -0
  274. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +1 -0
  275. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +251 -0
  276. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -0
  277. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.d.mts +13 -0
  278. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs +13 -0
  279. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs.map +1 -0
  280. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +280 -0
  281. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -0
  282. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.d.mts +10 -0
  283. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs +13 -0
  284. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs.map +1 -0
  285. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +33 -0
  286. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -0
  287. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +339 -0
  288. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -0
  289. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +66 -0
  290. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -0
  291. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.d.mts +10 -0
  292. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs +13 -0
  293. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map +1 -0
  294. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +189 -0
  295. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -0
  296. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.d.mts +11 -0
  297. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs +13 -0
  298. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +1 -0
  299. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +97 -0
  300. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +1 -0
  301. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.d.mts +12 -0
  302. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs +13 -0
  303. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +75 -0
  304. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -0
  305. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +2039 -0
  306. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -0
  307. package/commons-commons-node-remote.mjs +1 -1
  308. package/commons-commons-node.mjs +7 -0
  309. package/commons-commons-node.mjs.map +1 -1
  310. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +987 -0
  311. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -0
  312. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +24 -0
  313. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs +13 -0
  314. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map +1 -0
  315. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +440 -0
  316. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +1 -0
  317. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +8 -0
  318. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +4 -0
  319. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +13 -0
  320. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs +13 -0
  321. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs.map +1 -0
  322. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +147 -0
  323. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -0
  324. package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs} +7 -12
  325. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +1 -0
  326. package/commons-commons-wallet.mjs +8 -0
  327. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs.map → commons-commons-wallet.mjs.map} +1 -1
  328. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +4 -4
  329. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  330. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.d.mts +13 -0
  331. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs +13 -0
  332. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +1 -0
  333. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +124 -0
  334. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -0
  335. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +348 -0
  336. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -0
  337. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +95 -143
  338. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  339. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.d.mts +15 -0
  340. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs +13 -0
  341. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs.map +1 -0
  342. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +111 -0
  343. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -0
  344. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +149 -260
  345. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  346. package/commons-commons-worker-remote.mjs +1 -1
  347. package/commons-commons-worker.mjs +3 -0
  348. package/commons-commons-worker.mjs.map +1 -1
  349. package/index.d.ts +1 -0
  350. package/index.mjs +1 -0
  351. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  352. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs.map +1 -1
  353. package/kotlin-kotlin-stdlib/kotlin/Char.mjs +18 -18
  354. package/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
  355. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +28 -28
  356. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
  357. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +10 -10
  358. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
  359. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +33 -0
  360. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -0
  361. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +10 -10
  362. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
  363. package/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
  364. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +27 -19
  365. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
  366. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +9 -136
  367. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
  368. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -12
  369. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  370. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
  371. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
  372. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -24
  373. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs.map +1 -1
  374. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  375. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
  376. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +50 -33
  377. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
  378. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +15 -15
  379. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
  380. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +50 -33
  381. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
  382. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +14 -15
  383. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
  384. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +50 -33
  385. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
  386. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  387. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
  388. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +50 -33
  389. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
  390. package/kotlin-kotlin-stdlib/kotlin/Unit.mjs.map +1 -1
  391. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +54 -41
  392. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
  393. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +15 -17
  394. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
  395. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +98 -71
  396. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  397. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +81 -80
  398. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
  399. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +51 -17
  400. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
  401. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +107 -82
  402. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  403. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +35 -35
  404. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
  405. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  406. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs.map +1 -1
  407. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +11 -11
  408. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs.map +1 -1
  409. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +264 -219
  410. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  411. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +1 -1
  412. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs.map +1 -1
  413. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +101 -74
  414. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  415. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -3
  416. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
  417. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +42 -0
  418. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +20 -0
  419. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -0
  420. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +86 -17
  421. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  422. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +125 -99
  423. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  424. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +37 -37
  425. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
  426. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +90 -70
  427. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
  428. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +64 -50
  429. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
  430. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -28
  431. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
  432. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -9
  433. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs.map +1 -1
  434. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +267 -237
  435. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
  436. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
  437. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +17 -17
  438. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
  439. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
  440. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs.map +1 -1
  441. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +57 -11
  442. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
  443. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
  444. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
  445. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +4 -4
  446. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
  447. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +135 -87
  448. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
  449. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +42 -15
  450. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
  451. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -20
  452. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs.map +1 -1
  453. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +22 -23
  454. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  455. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +1 -1
  456. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
  457. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +165 -140
  458. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  459. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +67 -68
  460. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
  461. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +262 -260
  462. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
  463. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +4 -4
  464. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs.map +1 -1
  465. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +13 -13
  466. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs.map +1 -1
  467. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +33 -6
  468. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
  469. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +16 -16
  470. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  471. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +5 -5
  472. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -1
  473. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +266 -0
  474. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -0
  475. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +27 -0
  476. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
  477. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +3 -3
  478. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  479. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
  480. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
  481. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +10 -10
  482. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
  483. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +43 -44
  484. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
  485. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +9 -111
  486. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
  487. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +199 -0
  488. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -0
  489. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +5 -7
  490. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs.map +1 -1
  491. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +18 -18
  492. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs.map +1 -1
  493. package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs +8 -8
  494. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +134 -107
  495. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  496. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +26 -18
  497. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  498. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +116 -116
  499. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
  500. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +10 -5
  501. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
  502. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +33 -0
  503. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +1 -0
  504. package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs +4 -0
  505. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -21
  506. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs.map +1 -1
  507. package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +1 -1
  508. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  509. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -12
  510. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
  511. package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs.map +1 -1
  512. package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs.map +1 -1
  513. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs +4 -3
  514. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs.map +1 -1
  515. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +58 -27
  516. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
  517. package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +1 -1
  518. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs +22 -0
  519. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs.map +1 -0
  520. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +258 -0
  521. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -0
  522. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs +246 -0
  523. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs.map +1 -0
  524. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  525. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs.map +1 -1
  526. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +25 -0
  527. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs.map +1 -0
  528. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +4 -5
  529. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
  530. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +3 -26
  531. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
  532. package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs.map +1 -1
  533. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +20 -3
  534. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
  535. package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs.map +1 -1
  536. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +1 -2
  537. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
  538. package/kotlin-kotlin-stdlib/kotlin/js/void.mjs.map +1 -1
  539. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +14 -14
  540. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs.map +1 -1
  541. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs +14 -14
  542. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
  543. package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
  544. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +105 -13
  545. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs.map +1 -1
  546. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +38 -38
  547. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
  548. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +35 -103
  549. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
  550. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +28 -62
  551. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs.map +1 -1
  552. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +30 -93
  553. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs.map +1 -1
  554. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
  555. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs.map +1 -1
  556. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
  557. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -1
  558. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +24 -24
  559. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
  560. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs +0 -10
  561. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs.map +1 -1
  562. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -25
  563. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs.map +1 -1
  564. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +36 -67
  565. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -1
  566. package/kotlin-kotlin-stdlib/{KTypeHelpers.mjs → kotlin/reflect/js/internal/KTypeHelpers.mjs} +13 -13
  567. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs.map +1 -0
  568. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs +17 -17
  569. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs.map +1 -1
  570. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +18 -16
  571. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs.map +1 -1
  572. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +58 -47
  573. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
  574. package/kotlin-kotlin-stdlib/{reflection.mjs → kotlin/reflect/js/internal/reflection.mjs} +7 -47
  575. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs.map +1 -0
  576. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +43 -43
  577. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
  578. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +33 -33
  579. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
  580. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +18 -18
  581. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
  582. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +1 -1
  583. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs.map +1 -1
  584. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
  585. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs.map +1 -1
  586. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  587. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +56 -49
  588. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
  589. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +59 -59
  590. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -1
  591. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +26 -28
  592. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
  593. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +43 -43
  594. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
  595. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +32 -22
  596. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs.map +1 -1
  597. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +397 -412
  598. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
  599. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +63 -61
  600. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
  601. package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs.map +1 -1
  602. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  603. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs.map +1 -1
  604. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  605. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
  606. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +33 -33
  607. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -1
  608. package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs.map +1 -1
  609. package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
  610. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +19 -19
  611. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs.map +1 -1
  612. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  613. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
  614. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -36
  615. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  616. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +54 -54
  617. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs.map +1 -1
  618. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +13 -13
  619. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
  620. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +29 -29
  621. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
  622. package/{Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime → kotlin-kotlin-stdlib/kotlin/time}/Clock.mjs +6 -6
  623. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs.map +1 -0
  624. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +144 -118
  625. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
  626. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -3
  627. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
  628. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +15 -12
  629. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs.map +1 -1
  630. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +953 -0
  631. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -0
  632. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +16 -0
  633. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs.map +1 -0
  634. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +31 -29
  635. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
  636. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +13 -9
  637. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
  638. package/kotlin-kotlin-stdlib/noPackageHacks.mjs.map +1 -1
  639. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  640. package/kotlin-kotlin-stdlib/reflectionJs.mjs.map +1 -1
  641. package/kotlin-kotlin-stdlib.mjs +7 -0
  642. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  643. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +30 -0
  644. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs.map +1 -0
  645. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +50 -0
  646. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs.map +1 -0
  647. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +85 -0
  648. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -0
  649. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +49 -0
  650. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -0
  651. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +80 -0
  652. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs.map +1 -0
  653. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +30 -0
  654. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs.map +1 -0
  655. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  656. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs.map +1 -1
  657. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +38 -0
  658. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map +1 -0
  659. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +15 -0
  660. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs.map +1 -0
  661. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +60 -0
  662. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs.map +1 -0
  663. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +29 -2
  664. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs.map +1 -1
  665. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  666. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs.map +1 -1
  667. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +5 -5
  668. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs.map +1 -1
  669. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +51 -0
  670. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs.map +1 -0
  671. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  672. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
  673. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +79 -74
  674. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  675. package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs.map +1 -1
  676. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  677. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  678. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +31 -195
  679. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  680. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +11 -11
  681. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  682. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +229 -216
  683. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  684. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +18 -62
  685. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  686. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +33 -33
  687. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  688. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -28
  689. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  690. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  691. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +19 -19
  692. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
  693. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  694. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +41 -32
  695. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  696. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +8 -3
  697. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
  698. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +2 -2
  699. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +47 -30
  700. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  701. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +51 -51
  702. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  703. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  704. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +35 -32
  705. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
  706. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  707. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  708. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
  709. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +10 -10
  710. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs.map +1 -1
  711. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +131 -131
  712. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  713. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +62 -103
  714. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  715. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +492 -641
  716. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  717. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  718. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
  719. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  720. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  721. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
  722. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -153
  723. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
  724. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  725. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +746 -1307
  726. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  727. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +107 -107
  728. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
  729. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +30 -28
  730. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  731. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  732. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
  733. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +20 -21
  734. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
  735. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +17 -16
  736. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  737. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +56 -83
  738. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
  739. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +56 -0
  740. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -0
  741. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +70 -0
  742. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -0
  743. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +51 -0
  744. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -0
  745. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +118 -0
  746. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -0
  747. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +249 -0
  748. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -0
  749. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +15 -72
  750. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
  751. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +25 -0
  752. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs.map +1 -0
  753. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +81 -249
  754. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  755. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +89 -0
  756. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -0
  757. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +286 -0
  758. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -0
  759. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +305 -0
  760. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -0
  761. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +243 -0
  762. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -0
  763. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +145 -0
  764. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -0
  765. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +413 -0
  766. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -0
  767. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  768. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +20 -4
  769. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs.map +1 -1
  770. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +217 -0
  771. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -0
  772. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +38 -0
  773. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -0
  774. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -9
  775. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  776. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +24 -15
  777. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
  778. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +30 -0
  779. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -0
  780. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +16 -0
  781. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs.map +1 -0
  782. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +35 -1
  783. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs.map +1 -1
  784. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +55 -51
  785. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  786. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +5 -5
  787. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
  788. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +141 -141
  789. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  790. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +4 -4
  791. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
  792. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +33 -33
  793. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
  794. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  795. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +30 -30
  796. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
  797. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs +2 -5
  798. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs.map +1 -1
  799. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  800. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +10 -8
  801. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
  802. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  803. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +26 -26
  804. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
  805. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +15 -19
  806. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  807. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +21 -21
  808. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  809. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +257 -0
  810. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -0
  811. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +101 -125
  812. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
  813. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +54 -54
  814. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  815. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  816. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  817. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +7 -7
  818. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  819. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +279 -291
  820. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  821. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +71 -68
  822. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  823. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  824. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +35 -31
  825. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  826. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +79 -79
  827. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  828. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +200 -204
  829. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  830. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  831. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  832. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  833. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  834. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +69 -63
  835. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  836. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +109 -100
  837. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  838. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs +5 -2
  839. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  840. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  841. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  842. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs +9 -9
  843. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +47 -49
  844. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  845. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +64 -66
  846. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
  847. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +35 -35
  848. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
  849. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +136 -138
  850. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  851. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +8 -12
  852. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  853. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  854. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs.map +1 -1
  855. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +94 -89
  856. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  857. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +56 -56
  858. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
  859. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +52 -52
  860. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  861. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +117 -121
  862. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  863. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +110 -110
  864. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs.map +1 -1
  865. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +58 -59
  866. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  867. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +66 -66
  868. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
  869. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  870. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
  871. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  872. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  873. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
  874. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  875. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +67 -30
  876. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  877. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +78 -78
  878. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  879. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +308 -308
  880. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  881. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +29 -29
  882. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  883. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +42 -46
  884. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  885. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +19 -19
  886. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  887. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs.map +1 -1
  888. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  889. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
  890. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +17 -17
  891. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  892. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +44 -44
  893. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  894. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +23 -25
  895. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  896. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +37 -37
  897. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  898. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +62 -60
  899. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  900. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +4 -4
  901. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
  902. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +137 -147
  903. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  904. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs +10 -10
  905. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
  906. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +454 -454
  907. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  908. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +276 -277
  909. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  910. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +109 -112
  911. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  912. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +99 -99
  913. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  914. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +85 -85
  915. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  916. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +55 -55
  917. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  918. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs.map +1 -1
  919. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +2 -4
  920. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
  921. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
  922. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  923. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  924. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs.map +1 -1
  925. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +191 -166
  926. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  927. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +281 -283
  928. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  929. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  930. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs.map +1 -1
  931. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +205 -197
  932. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
  933. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  934. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs.map +1 -1
  935. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +72 -72
  936. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
  937. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
  938. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  939. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +46 -46
  940. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
  941. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +36 -38
  942. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  943. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +66 -52
  944. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  945. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +19 -19
  946. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  947. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +3 -3
  948. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
  949. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  950. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs.map +1 -1
  951. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +113 -234
  952. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
  953. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +13 -13
  954. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
  955. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  956. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
  957. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +195 -190
  958. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  959. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +142 -142
  960. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  961. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  962. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -1
  963. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +6 -6
  964. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
  965. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +281 -276
  966. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  967. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  968. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
  969. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  970. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs.map +1 -1
  971. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +354 -588
  972. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
  973. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs +1 -1
  974. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs.map +1 -1
  975. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  976. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs.map +1 -1
  977. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +142 -278
  978. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  979. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
  980. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
  981. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs +3 -3
  982. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs.map +1 -1
  983. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +3 -3
  984. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
  985. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  986. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
  987. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +104 -162
  988. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  989. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +66 -113
  990. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  991. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +4 -14
  992. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs.map +1 -1
  993. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +36 -75
  994. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
  995. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +165 -295
  996. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  997. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +54 -60
  998. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  999. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +6 -6
  1000. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs.map +1 -1
  1001. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  1002. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +14 -14
  1003. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs.map +1 -1
  1004. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +57 -57
  1005. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
  1006. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -8
  1007. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
  1008. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +155 -323
  1009. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  1010. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +88 -246
  1011. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
  1012. package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs.map +1 -1
  1013. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +60 -131
  1014. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
  1015. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +12 -12
  1016. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  1017. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +21 -10
  1018. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs.map +1 -1
  1019. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +108 -263
  1020. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  1021. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +105 -155
  1022. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
  1023. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +233 -462
  1024. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  1025. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs.map +1 -1
  1026. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +222 -618
  1027. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
  1028. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
  1029. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs.map +1 -1
  1030. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +119 -244
  1031. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
  1032. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +74 -184
  1033. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
  1034. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +74 -218
  1035. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  1036. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +721 -0
  1037. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -0
  1038. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +169 -247
  1039. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
  1040. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +193 -295
  1041. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  1042. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +85 -161
  1043. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
  1044. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  1045. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs.map +1 -1
  1046. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +15 -11
  1047. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs.map +1 -1
  1048. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +14 -14
  1049. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -1
  1050. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +45 -129
  1051. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  1052. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +26 -26
  1053. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
  1054. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +150 -185
  1055. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
  1056. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +41 -0
  1057. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -0
  1058. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +0 -2
  1059. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs.map +1 -1
  1060. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +128 -213
  1061. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  1062. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +5 -37
  1063. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
  1064. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  1065. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
  1066. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +82 -108
  1067. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  1068. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +32 -32
  1069. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs.map +1 -1
  1070. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
  1071. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs.map +1 -1
  1072. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  1073. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs.map +1 -1
  1074. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  1075. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
  1076. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +71 -156
  1077. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
  1078. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +62 -64
  1079. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs.map +1 -1
  1080. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +102 -364
  1081. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  1082. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +60 -170
  1083. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
  1084. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  1085. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs.map +1 -1
  1086. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -6
  1087. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs.map +1 -1
  1088. package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs.map +1 -1
  1089. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +11 -11
  1090. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs.map +1 -1
  1091. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  1092. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs.map +1 -1
  1093. package/ktor-ktor-events/io/ktor/events/Events.mjs +16 -16
  1094. package/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
  1095. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +162 -162
  1096. package/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
  1097. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +121 -121
  1098. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
  1099. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +35 -35
  1100. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
  1101. package/ktor-ktor-http/io/ktor/http/Headers.mjs +63 -63
  1102. package/ktor-ktor-http/io/ktor/http/Headers.mjs.map +1 -1
  1103. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +117 -118
  1104. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
  1105. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +131 -130
  1106. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
  1107. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +19 -19
  1108. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs.map +1 -1
  1109. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +14 -17
  1110. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
  1111. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -44
  1112. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs.map +1 -1
  1113. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +71 -71
  1114. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
  1115. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +18 -16
  1116. package/ktor-ktor-http/io/ktor/http/Parameters.mjs.map +1 -1
  1117. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  1118. package/ktor-ktor-http/io/ktor/http/Query.mjs.map +1 -1
  1119. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
  1120. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
  1121. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  1122. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs.map +1 -1
  1123. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +42 -42
  1124. package/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
  1125. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +26 -28
  1126. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -1
  1127. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +47 -106
  1128. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -1
  1129. package/ktor-ktor-http/io/ktor/http/Url.mjs +88 -128
  1130. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  1131. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +56 -59
  1132. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -1
  1133. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +10 -10
  1134. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs.map +1 -1
  1135. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  1136. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs.map +1 -1
  1137. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +13 -13
  1138. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs.map +1 -1
  1139. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +6 -7
  1140. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
  1141. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +176 -238
  1142. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
  1143. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +90 -334
  1144. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
  1145. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +239 -580
  1146. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
  1147. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +53 -110
  1148. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
  1149. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +91 -91
  1150. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
  1151. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  1152. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs.map +1 -1
  1153. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs.map +1 -1
  1154. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +54 -199
  1155. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -1
  1156. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  1157. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  1158. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs.map +1 -1
  1159. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +1 -38
  1160. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs.map +1 -1
  1161. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +258 -419
  1162. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  1163. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  1164. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs.map +1 -1
  1165. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +144 -350
  1166. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
  1167. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  1168. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
  1169. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +272 -1739
  1170. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
  1171. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +24 -105
  1172. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
  1173. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +118 -356
  1174. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  1175. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +12 -14
  1176. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
  1177. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +43 -93
  1178. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
  1179. package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs.map +1 -1
  1180. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  1181. package/{ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs → ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs} +3 -3
  1182. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs.map +1 -0
  1183. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +20 -21
  1184. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
  1185. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +19 -19
  1186. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
  1187. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +118 -117
  1188. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
  1189. package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs.map +1 -1
  1190. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +37 -33
  1191. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs.map +1 -1
  1192. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  1193. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs.map +1 -1
  1194. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  1195. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
  1196. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +8 -8
  1197. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
  1198. package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs.map +1 -1
  1199. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  1200. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs.map +1 -1
  1201. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +2 -1
  1202. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs.map +1 -1
  1203. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -14
  1204. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs.map +1 -1
  1205. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +9 -20
  1206. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs.map +1 -1
  1207. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  1208. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs.map +1 -1
  1209. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +17 -17
  1210. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
  1211. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  1212. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs.map +1 -1
  1213. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  1214. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  1215. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  1216. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  1217. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +20 -20
  1218. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs.map +1 -1
  1219. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +99 -270
  1220. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
  1221. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +6 -6
  1222. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -1
  1223. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +216 -564
  1224. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  1225. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +40 -40
  1226. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  1227. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  1228. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs.map +1 -1
  1229. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +19 -20
  1230. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
  1231. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  1232. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs.map +1 -1
  1233. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +64 -53
  1234. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
  1235. package/ktor-ktor-utils/io/ktor/util/Charset.mjs.map +1 -1
  1236. package/ktor-ktor-utils/io/ktor/util/Collections.mjs.map +1 -1
  1237. package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs.map +1 -1
  1238. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  1239. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
  1240. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +70 -55
  1241. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
  1242. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -5
  1243. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs.map +1 -1
  1244. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +63 -67
  1245. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs.map +1 -1
  1246. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs +3 -3
  1247. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs.map +1 -1
  1248. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +154 -161
  1249. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
  1250. package/ktor-ktor-utils/io/ktor/util/Text.mjs +10 -10
  1251. package/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -1
  1252. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  1253. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs.map +1 -1
  1254. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +112 -112
  1255. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  1256. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +11 -12
  1257. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
  1258. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +23 -23
  1259. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
  1260. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +15 -15
  1261. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs.map +1 -1
  1262. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +3 -3
  1263. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs.map +1 -1
  1264. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +45 -106
  1265. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  1266. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
  1267. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
  1268. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +72 -76
  1269. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
  1270. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs.map +1 -1
  1271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  1272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs.map +1 -1
  1273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
  1274. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  1275. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs.map +1 -1
  1276. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -4
  1277. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs.map +1 -1
  1278. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs.map +1 -1
  1279. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs.map +1 -1
  1280. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +62 -62
  1281. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  1282. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  1283. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs.map +1 -1
  1284. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  1285. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs.map +1 -1
  1286. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +22 -32
  1287. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -1
  1288. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -3
  1289. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  1290. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -87
  1291. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs.map +1 -1
  1292. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +17 -23
  1293. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -1
  1294. package/package.json +3 -4
  1295. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Clock.mjs.map +0 -1
  1296. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs +0 -258
  1297. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs.map +0 -1
  1298. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs +0 -24
  1299. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs.map +0 -1
  1300. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +0 -845
  1301. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs.map +0 -1
  1302. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs +0 -46
  1303. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs.map +0 -1
  1304. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs +0 -53
  1305. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs.map +0 -1
  1306. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.d.ts +0 -14
  1307. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.mjs +0 -12
  1308. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +0 -55
  1309. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs.map +0 -1
  1310. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +0 -54
  1311. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs.map +0 -1
  1312. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +0 -23
  1313. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs +0 -4
  1314. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +0 -108
  1315. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +0 -1
  1316. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +0 -2412
  1317. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +0 -1
  1318. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.d.ts +0 -3
  1319. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.mjs +0 -12
  1320. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.mjs +0 -727
  1321. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.mjs.map +0 -1
  1322. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.d.ts +0 -10
  1323. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs +0 -4
  1324. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs +0 -12
  1325. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +0 -272
  1326. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs.map +0 -1
  1327. package/kotlin-kotlin-stdlib/KTypeHelpers.mjs.map +0 -1
  1328. package/kotlin-kotlin-stdlib/kotlin/Number.mjs +0 -22
  1329. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs +0 -387
  1330. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs.map +0 -1
  1331. package/kotlin-kotlin-stdlib/reflection.mjs.map +0 -1
  1332. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +0 -56
  1333. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs.map +0 -1
  1334. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +0 -381
  1335. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs.map +0 -1
  1336. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +0 -52
  1337. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs.map +0 -1
  1338. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +0 -161
  1339. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs.map +0 -1
  1340. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +0 -39
  1341. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs.map +0 -1
  1342. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +0 -1338
  1343. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs.map +0 -1
  1344. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +0 -122
  1345. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs.map +0 -1
  1346. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs +0 -12
  1347. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs.map +0 -1
  1348. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs +0 -13
  1349. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +0 -29
  1350. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs.map +0 -1
  1351. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +0 -1339
  1352. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs.map +0 -1
  1353. package/ktor-ktor-client-cio.mjs +0 -12
  1354. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs.map +0 -1
  1355. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs +0 -40
  1356. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs.map +0 -1
  1357. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs +0 -23
  1358. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs.map +0 -1
  1359. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs +0 -46
  1360. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs.map +0 -1
  1361. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +0 -680
  1362. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs.map +0 -1
  1363. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +0 -221
  1364. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs.map +0 -1
  1365. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +0 -171
  1366. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs.map +0 -1
  1367. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +0 -51
  1368. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs.map +0 -1
  1369. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +0 -58
  1370. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs.map +0 -1
  1371. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +0 -28
  1372. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +0 -1
  1373. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +0 -107
  1374. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs.map +0 -1
  1375. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs +0 -22
  1376. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs.map +0 -1
  1377. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs +0 -22
  1378. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs.map +0 -1
  1379. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +0 -42
  1380. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs.map +0 -1
  1381. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +0 -35
  1382. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs.map +0 -1
  1383. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +0 -107
  1384. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs.map +0 -1
  1385. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +0 -304
  1386. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs.map +0 -1
  1387. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +0 -573
  1388. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs.map +0 -1
  1389. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +0 -26
  1390. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs.map +0 -1
  1391. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +0 -129
  1392. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs.map +0 -1
  1393. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +0 -33
  1394. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs.map +0 -1
  1395. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +0 -71
  1396. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs.map +0 -1
  1397. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +0 -34
  1398. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs.map +0 -1
  1399. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +0 -41
  1400. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs.map +0 -1
  1401. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs +0 -56
  1402. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs.map +0 -1
  1403. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +0 -163
  1404. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs.map +0 -1
  1405. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs +0 -18
  1406. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs.map +0 -1
  1407. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +0 -99
  1408. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs.map +0 -1
  1409. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs +0 -22
  1410. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +0 -33
  1411. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs.map +0 -1
  1412. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs +0 -32
  1413. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs.map +0 -1
  1414. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +0 -113
  1415. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs.map +0 -1
  1416. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs +0 -11
  1417. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs.map +0 -1
  1418. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +0 -16
  1419. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs.map +0 -1
  1420. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +0 -47
  1421. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +0 -1
  1422. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +0 -47
  1423. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs.map +0 -1
  1424. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs +0 -19
  1425. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs.map +0 -1
  1426. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +0 -846
  1427. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs.map +0 -1
  1428. /package/{ktor-ktor-client-cio.mjs.map → commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map} +0 -0
  1429. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs.map → commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs.map} +0 -0
  1430. /package/commons-commons-core/cash/atto/commons/{AttoSigner.js.export.mjs.map → AttoPublicKey.js.export.mjs.map} +0 -0
  1431. /package/commons-commons-core/cash/atto/commons/{AttoSeed.export.d.ts → AttoSeed.export.d.mts} +0 -0
  1432. /package/{commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs.map} +0 -0
  1433. /package/commons-commons-core/cash/atto/commons/{AttoSocketAddress.export.d.ts → AttoSocketAddress.export.d.mts} +0 -0
  1434. /package/commons-commons-core/cash/atto/commons/{Extensions.export.d.ts → Extensions.export.d.mts} +0 -0
  1435. /package/commons-commons-node/cash/atto/commons/node/{NodeExtensions.export.d.ts → NodeExtensions.export.d.mts} +0 -0
  1436. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs.map → commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs.map} +0 -0
  1437. /package/{commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map} +0 -0
  1438. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs.map → kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs.map} +0 -0
  1439. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.d.ts → ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.mts} +0 -0
@@ -29,17 +29,28 @@ import {
29
29
  callUndeliveredElement5xsmnofvtcme as callUndeliveredElement,
30
30
  callUndeliveredElementCatchingException6xwxmojd3rq1 as callUndeliveredElementCatchingException,
31
31
  } from '../internal/OnUndeliveredElement.mjs';
32
- import { toLongw1zpgk99d84b as toLong } from '../../../../kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs';
33
32
  import {
34
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
35
- initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
36
- } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
33
+ fromInt2ii0rejb1w62w as fromInt,
34
+ multiply2k9eolhnz1bjv as multiply,
35
+ add2suhfggl4zvkk as add,
36
+ dividelr0uqtdj497z as divide,
37
+ modulooi4g1kq3dmtt as modulo,
38
+ convertToInty04h231mmjoh as convertToInt,
39
+ shiftRight2gqph14wydb8s as shiftRight,
40
+ subtract2orl8z9upxd9l as subtract,
41
+ shiftLeft3tsh2sstjchzn as shiftLeft,
42
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs';
43
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
37
44
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
45
+ import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
38
46
  import {
39
47
  recoverStackTrace3k4hvtb53ci4z as recoverStackTrace,
40
48
  recoverStackTrace2i3si2i8nvw1k as recoverStackTrace_0,
41
49
  } from '../internal/StackTraceRecovery.mjs';
42
- import { intercepted2ogpsikxxj4u0 as intercepted } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
50
+ import {
51
+ intercepted2ogpsikxxj4u0 as intercepted,
52
+ suspendOrReturn49pspzlx5djv as suspendOrReturn,
53
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
43
54
  import {
44
55
  getOrCreateCancellableContinuation2t1o0dr9l9i36 as getOrCreateCancellableContinuation,
45
56
  CancellableContinuationpb2x00mxmcbt as CancellableContinuation,
@@ -49,9 +60,6 @@ import {
49
60
  createFailure8paxfkfa5dc7 as createFailure,
50
61
  _Result___init__impl__xyqfz83hut4nr3dfvi3 as _Result___init__impl__xyqfz8,
51
62
  } from '../../../../kotlin-kotlin-stdlib/kotlin/Result.mjs';
52
- import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
53
- import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
54
- import { Long2qws0ah9gnpki as Long } from '../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
55
63
  import { CancellableContinuationImpl1cx201opicavg as CancellableContinuationImpl } from '../CancellableContinuationImpl.mjs';
56
64
  import { addSuppressedu5jwjfvsc039 as addSuppressed } from '../../../../kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs';
57
65
  import {
@@ -191,7 +199,7 @@ function get_NO_CLOSE_CAUSE() {
191
199
  var NO_CLOSE_CAUSE;
192
200
  function setElementLazy($this, index, value) {
193
201
  // Inline function 'kotlinx.atomicfu.AtomicRef.lazySet' call
194
- $this.x2b_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
202
+ $this.q15_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
195
203
  }
196
204
  var ChannelSegmentClass;
197
205
  function ChannelSegment() {
@@ -199,49 +207,49 @@ function ChannelSegment() {
199
207
  class $ extends Segment() {
200
208
  constructor(id, prev, channel, pointers) {
201
209
  super(id, prev, pointers);
202
- this.w2b_1 = channel;
203
- this.x2b_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
210
+ this.p15_1 = channel;
211
+ this.q15_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
204
212
  }
205
- y2b() {
206
- return ensureNotNull(this.w2b_1);
213
+ r15() {
214
+ return ensureNotNull(this.p15_1);
207
215
  }
208
- z2b() {
216
+ s15() {
209
217
  return get_SEGMENT_SIZE();
210
218
  }
211
- a2c(index, element) {
219
+ t15(index, element) {
212
220
  setElementLazy(this, index, element);
213
221
  }
214
- b2c(index) {
215
- var tmp = this.x2b_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
222
+ u15(index) {
223
+ var tmp = this.q15_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
216
224
  return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
217
225
  }
218
- c2c(index) {
226
+ v15(index) {
219
227
  // Inline function 'kotlin.also' call
220
- var this_0 = this.b2c(index);
221
- this.d2c(index);
228
+ var this_0 = this.u15(index);
229
+ this.w15(index);
222
230
  return this_0;
223
231
  }
224
- d2c(index) {
232
+ w15(index) {
225
233
  setElementLazy(this, index, null);
226
234
  }
227
- e2c(index) {
228
- return this.x2b_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
235
+ x15(index) {
236
+ return this.q15_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
229
237
  }
230
- f2c(index, value) {
231
- this.x2b_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
238
+ y15(index, value) {
239
+ this.q15_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
232
240
  }
233
- g2c(index, from, to) {
234
- return this.x2b_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
241
+ z15(index, from, to) {
242
+ return this.q15_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
235
243
  }
236
- h2c(index, update) {
237
- return this.x2b_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
244
+ a16(index, update) {
245
+ return this.q15_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
238
246
  }
239
- k22(index, cause, context) {
247
+ ny(index, cause, context) {
240
248
  var isSender = index >= get_SEGMENT_SIZE();
241
249
  var index_0 = isSender ? index - get_SEGMENT_SIZE() | 0 : index;
242
- var element = this.b2c(index_0);
250
+ var element = this.u15(index_0);
243
251
  $l$loop: while (true) {
244
- var cur = this.e2c(index_0);
252
+ var cur = this.x15(index_0);
245
253
  var tmp;
246
254
  if (!(cur == null) ? isInterface(cur, Waiter()) : false) {
247
255
  tmp = true;
@@ -250,11 +258,11 @@ function ChannelSegment() {
250
258
  }
251
259
  if (tmp) {
252
260
  var update = isSender ? get_INTERRUPTED_SEND() : get_INTERRUPTED_RCV();
253
- if (this.g2c(index_0, cur, update)) {
254
- this.d2c(index_0);
255
- this.u2c(index_0, !isSender);
261
+ if (this.z15(index_0, cur, update)) {
262
+ this.w15(index_0);
263
+ this.n16(index_0, !isSender);
256
264
  if (isSender) {
257
- var tmp0_safe_receiver = this.y2b().j2c_1;
265
+ var tmp0_safe_receiver = this.r15().c16_1;
258
266
  if (tmp0_safe_receiver == null)
259
267
  null;
260
268
  else {
@@ -265,9 +273,9 @@ function ChannelSegment() {
265
273
  }
266
274
  } else {
267
275
  if (cur === get_INTERRUPTED_SEND() || cur === get_INTERRUPTED_RCV()) {
268
- this.d2c(index_0);
276
+ this.w15(index_0);
269
277
  if (isSender) {
270
- var tmp1_safe_receiver = this.y2b().j2c_1;
278
+ var tmp1_safe_receiver = this.r15().c16_1;
271
279
  if (tmp1_safe_receiver == null)
272
280
  null;
273
281
  else {
@@ -287,7 +295,7 @@ function ChannelSegment() {
287
295
  else {
288
296
  // Inline function 'kotlin.error' call
289
297
  var message = 'unexpected state: ' + toString(cur);
290
- throw IllegalStateException().o4(toString_0(message));
298
+ throw IllegalStateException().x4(toString_0(message));
291
299
  }
292
300
  }
293
301
  }
@@ -295,17 +303,18 @@ function ChannelSegment() {
295
303
  }
296
304
  }
297
305
  }
298
- u2c(index, receiver) {
306
+ n16(index, receiver) {
299
307
  if (receiver) {
300
- var tmp = this.y2b();
301
- var tmp0 = this.i22_1;
308
+ var tmp = this.r15();
309
+ var tmp0 = this.ly_1;
302
310
  // Inline function 'kotlin.Long.times' call
303
311
  var other = get_SEGMENT_SIZE();
304
312
  // Inline function 'kotlin.Long.plus' call
305
- var tmp$ret$1 = tmp0.r3(toLong(other)).p3(toLong(index));
306
- tmp.v2c(tmp$ret$1);
313
+ var this_0 = multiply(tmp0, fromInt(other));
314
+ var tmp$ret$1 = add(this_0, fromInt(index));
315
+ tmp.o16(tmp$ret$1);
307
316
  }
308
- this.w2c();
317
+ this.p16();
309
318
  }
310
319
  }
311
320
  initMetadataForClass($, 'ChannelSegment');
@@ -313,9 +322,77 @@ function ChannelSegment() {
313
322
  }
314
323
  return ChannelSegmentClass;
315
324
  }
325
+ function *_generator_hasNext__q471nr($this, $completion) {
326
+ var tmp;
327
+ if (!($this.b17_1 === get_NO_RECEIVE_RESULT()) && !($this.b17_1 === get_CHANNEL_CLOSED())) {
328
+ tmp = true;
329
+ } else {
330
+ var tmp0 = $this.d17_1;
331
+ var tmp$ret$1;
332
+ $l$block_0: {
333
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
334
+ var segment = tmp0.i16_1.kotlinx$atomicfu$value;
335
+ $l$loop_0: while (true) {
336
+ if (tmp0.e17()) {
337
+ tmp$ret$1 = onClosedHasNext($this);
338
+ break $l$block_0;
339
+ }
340
+ var r = tmp0.e16_1.atomicfu$getAndIncrement$long();
341
+ // Inline function 'kotlin.Long.div' call
342
+ var other = get_SEGMENT_SIZE();
343
+ var id = divide(r, fromInt(other));
344
+ // Inline function 'kotlin.Long.rem' call
345
+ var other_0 = get_SEGMENT_SIZE();
346
+ var tmp$ret$3 = modulo(r, fromInt(other_0));
347
+ var i = convertToInt(tmp$ret$3);
348
+ if (!(segment.ly_1 === id)) {
349
+ var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment);
350
+ var tmp_0;
351
+ if (tmp0_elvis_lhs == null) {
352
+ continue $l$loop_0;
353
+ } else {
354
+ tmp_0 = tmp0_elvis_lhs;
355
+ }
356
+ segment = tmp_0;
357
+ }
358
+ var updCellResult = updateCellReceive(tmp0, segment, i, r, null);
359
+ var tmp_1;
360
+ if (updCellResult === get_SUSPEND()) {
361
+ var tmp1_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
362
+ if (tmp1_safe_receiver == null)
363
+ null;
364
+ else {
365
+ prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment, i);
366
+ }
367
+ var message = 'unreachable';
368
+ throw IllegalStateException().x4(toString_0(message));
369
+ } else if (updCellResult === get_FAILED()) {
370
+ if (r < tmp0.f17()) {
371
+ segment.z16();
372
+ }
373
+ continue $l$loop_0;
374
+ } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
375
+ var segm = segment;
376
+ var tmp_2 = hasNextOnNoWaiterSuspend($this, segm, i, r, $completion);
377
+ if (tmp_2 === get_COROUTINE_SUSPENDED())
378
+ tmp_2 = yield tmp_2;
379
+ return tmp_2;
380
+ } else {
381
+ segment.z16();
382
+ $this.b17_1 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
383
+ tmp_1 = true;
384
+ }
385
+ tmp$ret$1 = tmp_1;
386
+ break $l$block_0;
387
+ }
388
+ }
389
+ tmp = tmp$ret$1;
390
+ }
391
+ return tmp;
392
+ }
316
393
  function onClosedHasNext($this) {
317
- $this.i2d_1 = get_CHANNEL_CLOSED();
318
- var tmp0_elvis_lhs = $this.k2d_1.l2d();
394
+ $this.b17_1 = get_CHANNEL_CLOSED();
395
+ var tmp0_elvis_lhs = $this.d17_1.g17();
319
396
  var tmp;
320
397
  if (tmp0_elvis_lhs == null) {
321
398
  return false;
@@ -328,32 +405,33 @@ function onClosedHasNext($this) {
328
405
  function hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
329
406
  var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
330
407
  try {
331
- $this.j2d_1 = cancellable;
408
+ $this.c17_1 = cancellable;
332
409
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
333
- var this_0 = $this.k2d_1;
410
+ var this_0 = $this.d17_1;
334
411
  var updCellResult = updateCellReceive(this_0, segment, index, r, $this);
335
412
  if (updCellResult === get_SUSPEND()) {
336
413
  prepareReceiverForSuspension(this_0, $this, segment, index);
337
414
  } else if (updCellResult === get_FAILED()) {
338
- if (r.a2(this_0.m2d()) < 0) {
339
- segment.g2d();
415
+ if (r < this_0.f17()) {
416
+ segment.z16();
340
417
  }
341
418
  $l$block_0: {
342
419
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
343
- var segment_0 = this_0.p2c_1.kotlinx$atomicfu$value;
420
+ var segment_0 = this_0.i16_1.kotlinx$atomicfu$value;
344
421
  $l$loop_0: while (true) {
345
- if (this_0.n2d()) {
422
+ if (this_0.e17()) {
346
423
  onClosedHasNextNoWaiterSuspend($this);
347
424
  break $l$block_0;
348
425
  }
349
- var r_0 = this_0.l2c_1.atomicfu$getAndIncrement$long();
426
+ var r_0 = this_0.e16_1.atomicfu$getAndIncrement$long();
350
427
  // Inline function 'kotlin.Long.div' call
351
428
  var other = get_SEGMENT_SIZE();
352
- var id = r_0.s3(toLong(other));
429
+ var id = divide(r_0, fromInt(other));
353
430
  // Inline function 'kotlin.Long.rem' call
354
431
  var other_0 = get_SEGMENT_SIZE();
355
- var i = r_0.t3(toLong(other_0)).c2();
356
- if (!segment_0.i22_1.equals(id)) {
432
+ var tmp$ret$3 = modulo(r_0, fromInt(other_0));
433
+ var i = convertToInt(tmp$ret$3);
434
+ if (!(segment_0.ly_1 === id)) {
357
435
  var tmp0_elvis_lhs = findSegmentReceive(this_0, id, segment_0);
358
436
  var tmp;
359
437
  if (tmp0_elvis_lhs == null) {
@@ -372,273 +450,178 @@ function hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
372
450
  prepareReceiverForSuspension(this_0, tmp1_safe_receiver, segment_0, i);
373
451
  }
374
452
  } else if (updCellResult_0 === get_FAILED()) {
375
- if (r_0.a2(this_0.m2d()) < 0) {
376
- segment_0.g2d();
453
+ if (r_0 < this_0.f17()) {
454
+ segment_0.z16();
377
455
  }
378
456
  continue $l$loop_0;
379
457
  } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
380
458
  // Inline function 'kotlin.error' call
381
459
  var message = 'unexpected';
382
- throw IllegalStateException().o4(toString_0(message));
460
+ throw IllegalStateException().x4(toString_0(message));
383
461
  } else {
384
- segment_0.g2d();
462
+ segment_0.z16();
385
463
  var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
386
- $this.i2d_1 = element;
387
- $this.j2d_1 = null;
388
- var tmp0_safe_receiver = $this.k2d_1.j2c_1;
389
- cancellable.k21(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.k2d_1, tmp0_safe_receiver, element));
464
+ $this.b17_1 = element;
465
+ $this.c17_1 = null;
466
+ var tmp0_safe_receiver = $this.d17_1.c16_1;
467
+ cancellable.mx(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.d17_1, tmp0_safe_receiver, element));
390
468
  }
391
469
  break $l$block_0;
392
470
  }
393
471
  }
394
472
  } else {
395
- segment.g2d();
473
+ segment.z16();
396
474
  var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
397
- $this.i2d_1 = element_0;
398
- $this.j2d_1 = null;
399
- var tmp0_safe_receiver_0 = $this.k2d_1.j2c_1;
400
- cancellable.k21(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.k2d_1, tmp0_safe_receiver_0, element_0));
475
+ $this.b17_1 = element_0;
476
+ $this.c17_1 = null;
477
+ var tmp0_safe_receiver_0 = $this.d17_1.c16_1;
478
+ cancellable.mx(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.d17_1, tmp0_safe_receiver_0, element_0));
401
479
  }
402
480
  } catch ($p) {
403
481
  if ($p instanceof Error) {
404
482
  var e = $p;
405
- cancellable.i23();
483
+ cancellable.mz();
406
484
  throw e;
407
485
  } else {
408
486
  throw $p;
409
487
  }
410
488
  }
411
- return cancellable.b20();
489
+ return cancellable.lz();
412
490
  }
413
491
  function onClosedHasNextNoWaiterSuspend($this) {
414
- var cont = ensureNotNull($this.j2d_1);
415
- $this.j2d_1 = null;
416
- $this.i2d_1 = get_CHANNEL_CLOSED();
417
- var cause = $this.k2d_1.l2d();
492
+ var cont = ensureNotNull($this.c17_1);
493
+ $this.c17_1 = null;
494
+ $this.b17_1 = get_CHANNEL_CLOSED();
495
+ var cause = $this.d17_1.g17();
418
496
  if (cause == null) {
419
497
  // Inline function 'kotlin.coroutines.resume' call
420
498
  // Inline function 'kotlin.Companion.success' call
421
499
  var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
422
- cont.lc(tmp$ret$0);
500
+ cont.bc(tmp$ret$0);
423
501
  } else {
424
502
  // Inline function 'kotlin.coroutines.resumeWithException' call
425
503
  // Inline function 'kotlin.Companion.failure' call
426
504
  var exception = recoverStackTrace_0(cause, cont);
427
505
  var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
428
- cont.lc(tmp$ret$2);
506
+ cont.bc(tmp$ret$2);
429
507
  }
430
508
  }
431
- var $hasNextCOROUTINE$Class;
432
- function $hasNextCOROUTINE$() {
433
- if ($hasNextCOROUTINE$Class === VOID) {
434
- class $ extends CoroutineImpl() {
435
- constructor(_this__u8e3s4, resultContinuation) {
436
- super(resultContinuation);
437
- this.w2d_1 = _this__u8e3s4;
438
- }
439
- ic() {
440
- var suspendResult = this.cc_1;
441
- $sm: do
442
- try {
443
- var tmp = this.ac_1;
444
- switch (tmp) {
445
- case 0:
446
- this.bc_1 = 8;
447
- if (!(this.w2d_1.i2d_1 === get_NO_RECEIVE_RESULT()) && !(this.w2d_1.i2d_1 === get_CHANNEL_CLOSED())) {
448
- var tmp_0 = this;
449
- tmp_0.x2d_1 = true;
450
- this.ac_1 = 11;
451
- continue $sm;
452
- } else {
453
- var tmp_1 = this;
454
- tmp_1.y2d_1 = this.w2d_1.k2d_1;
455
- var tmp_2 = this;
456
- tmp_2.z2d_1 = null;
457
- this.ac_1 = 1;
458
- continue $sm;
459
- }
460
-
461
- case 1:
462
- this.b2e_1 = this.y2d_1;
463
- this.c2e_1 = this.z2d_1;
464
- this.d2e_1 = this.b2e_1.p2c_1.kotlinx$atomicfu$value;
465
- this.ac_1 = 2;
466
- continue $sm;
467
- case 2:
468
- if (!true) {
469
- this.ac_1 = 9;
470
- continue $sm;
471
- }
472
-
473
- if (this.b2e_1.n2d()) {
474
- var tmp_3 = this;
475
- tmp_3.a2e_1 = onClosedHasNext(this.w2d_1);
476
- this.ac_1 = 10;
477
- continue $sm;
478
- } else {
479
- this.ac_1 = 3;
480
- continue $sm;
481
- }
482
-
483
- case 3:
484
- this.e2e_1 = this.b2e_1.l2c_1.atomicfu$getAndIncrement$long();
485
- var tmp_4 = this;
486
- var tmp0 = this.e2e_1;
487
- var other = get_SEGMENT_SIZE();
488
- tmp_4.f2e_1 = tmp0.s3(toLong(other));
489
- var tmp_5 = this;
490
- var tmp0_0 = this.e2e_1;
491
- var other_0 = get_SEGMENT_SIZE();
492
- tmp_5.g2e_1 = tmp0_0.t3(toLong(other_0)).c2();
493
- if (!this.d2e_1.i22_1.equals(this.f2e_1)) {
494
- this.h2e_1 = findSegmentReceive(this.b2e_1, this.f2e_1, this.d2e_1);
495
- if (this.h2e_1 == null) {
496
- this.ac_1 = 2;
497
- var tmp_6 = this;
498
- continue $sm;
499
- } else {
500
- this.i2e_1 = this.h2e_1;
501
- this.ac_1 = 4;
502
- continue $sm;
503
- }
504
- } else {
505
- this.ac_1 = 5;
506
- continue $sm;
507
- }
509
+ function _get_bufferEndCounter__2d4hee($this) {
510
+ return $this.f16_1.kotlinx$atomicfu$value;
511
+ }
512
+ function _get_isRendezvousOrUnlimited__3mdufi($this) {
513
+ // Inline function 'kotlin.let' call
514
+ var it = _get_bufferEndCounter__2d4hee($this);
515
+ return it === 0n || it === 9223372036854775807n;
516
+ }
517
+ function *_generator_send__qhx0g0($this, element, $completion) {
518
+ $l$block_5: {
519
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
520
+ var segment = $this.h16_1.kotlinx$atomicfu$value;
521
+ $l$loop_0: while (true) {
522
+ var sendersAndCloseStatusCur = $this.d16_1.atomicfu$getAndIncrement$long();
523
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
524
+ var s = sendersAndCloseStatusCur & 1152921504606846975n;
525
+ var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
526
+ // Inline function 'kotlin.Long.div' call
527
+ var other = get_SEGMENT_SIZE();
528
+ var id = divide(s, fromInt(other));
529
+ // Inline function 'kotlin.Long.rem' call
530
+ var other_0 = get_SEGMENT_SIZE();
531
+ var tmp$ret$2 = modulo(s, fromInt(other_0));
532
+ var i = convertToInt(tmp$ret$2);
533
+ if (!(segment.ly_1 === id)) {
534
+ var tmp0_elvis_lhs = findSegmentSend($this, id, segment);
535
+ var tmp;
536
+ if (tmp0_elvis_lhs == null) {
537
+ var tmp_0;
538
+ if (closed) {
539
+ var tmp_1 = onClosedSend($this, element, $completion);
540
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
541
+ tmp_1 = yield tmp_1;
542
+ break $l$block_5;
543
+ } else {
544
+ continue $l$loop_0;
545
+ }
546
+ } else {
547
+ tmp = tmp0_elvis_lhs;
548
+ }
549
+ segment = tmp;
550
+ }
551
+ switch (updateCellSend($this, segment, i, element, s, null, closed)) {
552
+ case 0:
553
+ segment.z16();
554
+ break $l$block_5;
555
+ case 1:
556
+ break $l$block_5;
557
+ case 2:
558
+ if (closed) {
559
+ segment.p16();
560
+ var tmp_2 = onClosedSend($this, element, $completion);
561
+ if (tmp_2 === get_COROUTINE_SUSPENDED())
562
+ tmp_2 = yield tmp_2;
563
+ break $l$block_5;
564
+ }
508
565
 
509
- case 4:
510
- this.d2e_1 = this.i2e_1;
511
- this.ac_1 = 5;
512
- continue $sm;
513
- case 5:
514
- this.j2e_1 = updateCellReceive(this.b2e_1, this.d2e_1, this.g2e_1, this.e2e_1, this.c2e_1);
515
- if (this.j2e_1 === get_SUSPEND()) {
516
- var tmp_7 = this;
517
- var tmp_8 = this.c2e_1;
518
- var tmp1_safe_receiver = (!(tmp_8 == null) ? isInterface(tmp_8, Waiter()) : false) ? tmp_8 : null;
519
- if (tmp1_safe_receiver == null)
520
- null;
521
- else {
522
- prepareReceiverForSuspension(this.b2e_1, tmp1_safe_receiver, this.d2e_1, this.g2e_1);
523
- }
524
- this.d2e_1;
525
- this.g2e_1;
526
- this.e2e_1;
527
- var message = 'unreachable';
528
- throw IllegalStateException().o4(toString_0(message));
529
- } else {
530
- if (this.j2e_1 === get_FAILED()) {
531
- if (this.e2e_1.a2(this.b2e_1.m2d()) < 0) {
532
- this.d2e_1.g2d();
533
- }
534
- this.ac_1 = 2;
535
- var tmp_9 = this;
536
- continue $sm;
537
- } else {
538
- if (this.j2e_1 === get_SUSPEND_NO_WAITER()) {
539
- var tmp_10 = this;
540
- tmp_10.l2e_1 = this.d2e_1;
541
- var tmp_11 = this;
542
- tmp_11.m2e_1 = this.g2e_1;
543
- var tmp_12 = this;
544
- tmp_12.n2e_1 = this.e2e_1;
545
- this.o2e_1 = this.l2e_1;
546
- this.p2e_1 = this.m2e_1;
547
- this.q2e_1 = this.n2e_1;
548
- this.ac_1 = 6;
549
- suspendResult = hasNextOnNoWaiterSuspend(this.w2d_1, this.o2e_1, this.p2e_1, this.q2e_1, this);
550
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
551
- return suspendResult;
552
- }
553
- continue $sm;
554
- } else {
555
- var tmp_13 = this;
556
- this.d2e_1.g2d();
557
- var tmp_14 = this.j2e_1;
558
- var element = (tmp_14 == null ? true : !(tmp_14 == null)) ? tmp_14 : THROW_CCE();
559
- this.w2d_1.i2d_1 = element;
560
- tmp_13.k2e_1 = true;
561
- this.ac_1 = 7;
562
- continue $sm;
563
- }
564
- }
565
- }
566
+ var tmp2_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
567
+ if (tmp2_safe_receiver == null)
568
+ null;
569
+ else {
570
+ prepareSenderForSuspension($this, tmp2_safe_receiver, segment, i);
571
+ }
566
572
 
567
- case 6:
568
- var tmp_15 = this;
569
- return suspendResult;
570
- case 7:
571
- this.a2e_1 = this.k2e_1;
572
- this.ac_1 = 10;
573
- continue $sm;
574
- case 8:
575
- throw this.dc_1;
576
- case 9:
577
- if (false) {
578
- this.ac_1 = 1;
579
- continue $sm;
580
- }
573
+ // Inline function 'kotlinx.coroutines.assert' call
581
574
 
582
- this.ac_1 = 10;
583
- continue $sm;
584
- case 10:
585
- this.x2d_1 = this.a2e_1;
586
- this.ac_1 = 11;
587
- continue $sm;
588
- case 11:
589
- return this.x2d_1;
590
- }
591
- } catch ($p) {
592
- var e = $p;
593
- if (this.bc_1 === 8) {
594
- throw e;
595
- } else {
596
- this.ac_1 = this.bc_1;
597
- this.dc_1 = e;
598
- }
575
+ break $l$block_5;
576
+ case 4:
577
+ if (s < $this.h17()) {
578
+ segment.z16();
599
579
  }
600
- while (true);
580
+
581
+ var tmp_3 = onClosedSend($this, element, $completion);
582
+ if (tmp_3 === get_COROUTINE_SUSPENDED())
583
+ tmp_3 = yield tmp_3;
584
+ break $l$block_5;
585
+ case 5:
586
+ segment.z16();
587
+ continue $l$loop_0;
588
+ case 3:
589
+ var segm = segment;
590
+ var tmp_4 = sendOnNoWaiterSuspend($this, segm, i, element, s, $completion);
591
+ if (tmp_4 === get_COROUTINE_SUSPENDED())
592
+ tmp_4 = yield tmp_4;
593
+ break $l$block_5;
601
594
  }
602
595
  }
603
- initMetadataForCoroutine($);
604
- $hasNextCOROUTINE$Class = $;
605
596
  }
606
- return $hasNextCOROUTINE$Class;
607
- }
608
- function _get_bufferEndCounter__2d4hee($this) {
609
- return $this.m2c_1.kotlinx$atomicfu$value;
610
- }
611
- function _get_isRendezvousOrUnlimited__3mdufi($this) {
612
- // Inline function 'kotlin.let' call
613
- var it = _get_bufferEndCounter__2d4hee($this);
614
- return it.equals(new (Long())(0, 0)) || it.equals(new (Long())(-1, 2147483647));
597
+ return Unit_instance;
615
598
  }
616
599
  function onClosedSend($this, element, $completion) {
617
600
  var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
618
- cancellable.a23();
601
+ cancellable.dz();
619
602
  $l$block: {
620
- var tmp0_safe_receiver = $this.j2c_1;
603
+ var tmp0_safe_receiver = $this.c16_1;
621
604
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
622
605
  if (tmp1_safe_receiver == null)
623
606
  null;
624
607
  else {
625
608
  // Inline function 'kotlin.let' call
626
- addSuppressed(tmp1_safe_receiver, $this.r2e());
609
+ addSuppressed(tmp1_safe_receiver, $this.i17());
627
610
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
628
611
  // Inline function 'kotlin.Companion.failure' call
629
612
  var exception = recoverStackTrace_0(tmp1_safe_receiver, cancellable);
630
613
  var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
631
- cancellable.lc(tmp$ret$0);
614
+ cancellable.bc(tmp$ret$0);
632
615
  break $l$block;
633
616
  }
634
617
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
635
- var exception_0 = $this.r2e();
618
+ var exception_0 = $this.i17();
636
619
  // Inline function 'kotlin.Companion.failure' call
637
620
  var exception_1 = recoverStackTrace_0(exception_0, cancellable);
638
621
  var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_1));
639
- cancellable.lc(tmp$ret$4);
622
+ cancellable.bc(tmp$ret$4);
640
623
  }
641
- return cancellable.b20();
624
+ return cancellable.lz();
642
625
  }
643
626
  function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
644
627
  var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
@@ -646,13 +629,13 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
646
629
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter' call
647
630
  switch (updateCellSend($this, segment, index, element, s, cancellable, false)) {
648
631
  case 0:
649
- segment.g2d();
632
+ segment.z16();
650
633
  // Inline function 'kotlin.coroutines.resume' call
651
634
 
652
635
  // Inline function 'kotlin.Companion.success' call
653
636
 
654
637
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
655
- cancellable.lc(tmp$ret$0);
638
+ cancellable.bc(tmp$ret$0);
656
639
  break;
657
640
  case 1:
658
641
  // Inline function 'kotlin.coroutines.resume' call
@@ -660,35 +643,36 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
660
643
  // Inline function 'kotlin.Companion.success' call
661
644
 
662
645
  var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
663
- cancellable.lc(tmp$ret$3);
646
+ cancellable.bc(tmp$ret$3);
664
647
  break;
665
648
  case 2:
666
649
  prepareSenderForSuspension($this, cancellable, segment, index);
667
650
  break;
668
651
  case 4:
669
- if (s.a2($this.s2e()) < 0) {
670
- segment.g2d();
652
+ if (s < $this.h17()) {
653
+ segment.z16();
671
654
  }
672
655
 
673
656
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
674
657
  break;
675
658
  case 5:
676
- segment.g2d();
659
+ segment.z16();
677
660
  $l$block_5: {
678
661
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
679
- var segment_0 = $this.o2c_1.kotlinx$atomicfu$value;
662
+ var segment_0 = $this.h16_1.kotlinx$atomicfu$value;
680
663
  $l$loop_0: while (true) {
681
- var sendersAndCloseStatusCur = $this.k2c_1.atomicfu$getAndIncrement$long();
664
+ var sendersAndCloseStatusCur = $this.d16_1.atomicfu$getAndIncrement$long();
682
665
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
683
- var s_0 = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
666
+ var s_0 = sendersAndCloseStatusCur & 1152921504606846975n;
684
667
  var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
685
668
  // Inline function 'kotlin.Long.div' call
686
669
  var other = get_SEGMENT_SIZE();
687
- var id = s_0.s3(toLong(other));
670
+ var id = divide(s_0, fromInt(other));
688
671
  // Inline function 'kotlin.Long.rem' call
689
672
  var other_0 = get_SEGMENT_SIZE();
690
- var i = s_0.t3(toLong(other_0)).c2();
691
- if (!segment_0.i22_1.equals(id)) {
673
+ var tmp$ret$9 = modulo(s_0, fromInt(other_0));
674
+ var i = convertToInt(tmp$ret$9);
675
+ if (!(segment_0.ly_1 === id)) {
692
676
  var tmp0_elvis_lhs = findSegmentSend($this, id, segment_0);
693
677
  var tmp;
694
678
  if (tmp0_elvis_lhs == null) {
@@ -706,13 +690,13 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
706
690
  }
707
691
  switch (updateCellSend($this, segment_0, i, element, s_0, cancellable, closed)) {
708
692
  case 0:
709
- segment_0.g2d();
693
+ segment_0.z16();
710
694
  // Inline function 'kotlin.coroutines.resume' call
711
695
 
712
696
  // Inline function 'kotlin.Companion.success' call
713
697
 
714
698
  var tmp$ret$12 = _Result___init__impl__xyqfz8(Unit_instance);
715
- cancellable.lc(tmp$ret$12);
699
+ cancellable.bc(tmp$ret$12);
716
700
  break $l$block_5;
717
701
  case 1:
718
702
  // Inline function 'kotlin.coroutines.resume' call
@@ -720,11 +704,11 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
720
704
  // Inline function 'kotlin.Companion.success' call
721
705
 
722
706
  var tmp$ret$15 = _Result___init__impl__xyqfz8(Unit_instance);
723
- cancellable.lc(tmp$ret$15);
707
+ cancellable.bc(tmp$ret$15);
724
708
  break $l$block_5;
725
709
  case 2:
726
710
  if (closed) {
727
- segment_0.w2c();
711
+ segment_0.p16();
728
712
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
729
713
  break $l$block_5;
730
714
  }
@@ -738,20 +722,20 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
738
722
 
739
723
  break $l$block_5;
740
724
  case 4:
741
- if (s_0.a2($this.s2e()) < 0) {
742
- segment_0.g2d();
725
+ if (s_0 < $this.h17()) {
726
+ segment_0.z16();
743
727
  }
744
728
 
745
729
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
746
730
  break $l$block_5;
747
731
  case 5:
748
- segment_0.g2d();
732
+ segment_0.z16();
749
733
  continue $l$loop_0;
750
734
  case 3:
751
735
  // Inline function 'kotlin.error' call
752
736
 
753
737
  var message = 'unexpected';
754
- throw IllegalStateException().o4(toString_0(message));
738
+ throw IllegalStateException().x4(toString_0(message));
755
739
  }
756
740
  }
757
741
  }
@@ -761,34 +745,34 @@ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
761
745
  // Inline function 'kotlin.error' call
762
746
 
763
747
  var message_0 = 'unexpected';
764
- throw IllegalStateException().o4(toString_0(message_0));
748
+ throw IllegalStateException().x4(toString_0(message_0));
765
749
  }
766
750
  } catch ($p) {
767
751
  if ($p instanceof Error) {
768
752
  var e = $p;
769
- cancellable.i23();
753
+ cancellable.mz();
770
754
  throw e;
771
755
  } else {
772
756
  throw $p;
773
757
  }
774
758
  }
775
- return cancellable.b20();
759
+ return cancellable.lz();
776
760
  }
777
761
  function prepareSenderForSuspension($this, _this__u8e3s4, segment, index) {
778
- _this__u8e3s4.n23(segment, index + get_SEGMENT_SIZE() | 0);
762
+ _this__u8e3s4.sz(segment, index + get_SEGMENT_SIZE() | 0);
779
763
  }
780
764
  function onClosedSendOnNoWaiterSuspend($this, element, cont) {
781
- var tmp0_safe_receiver = $this.j2c_1;
765
+ var tmp0_safe_receiver = $this.c16_1;
782
766
  if (tmp0_safe_receiver == null)
783
767
  null;
784
768
  else {
785
- callUndeliveredElement(tmp0_safe_receiver, element, cont.gc());
769
+ callUndeliveredElement(tmp0_safe_receiver, element, cont.zb());
786
770
  }
787
771
  // Inline function 'kotlin.coroutines.resumeWithException' call
788
772
  // Inline function 'kotlin.Companion.failure' call
789
- var exception = recoverStackTrace_0($this.r2e(), cont);
773
+ var exception = recoverStackTrace_0($this.i17(), cont);
790
774
  var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
791
- cont.lc(tmp$ret$0);
775
+ cont.bc(tmp$ret$0);
792
776
  }
793
777
  var SendBroadcastClass;
794
778
  function SendBroadcast() {
@@ -800,34 +784,34 @@ function SendBroadcast() {
800
784
  return SendBroadcastClass;
801
785
  }
802
786
  function updateCellSend($this, segment, index, element, s, waiter, closed) {
803
- segment.a2c(index, element);
787
+ segment.t15(index, element);
804
788
  if (closed)
805
789
  return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
806
- var state = segment.e2c(index);
790
+ var state = segment.x15(index);
807
791
  if (state === null) {
808
792
  if (bufferOrRendezvousSend($this, s)) {
809
- if (segment.g2c(index, null, get_BUFFERED())) {
793
+ if (segment.z15(index, null, get_BUFFERED())) {
810
794
  return 1;
811
795
  }
812
796
  } else {
813
797
  if (waiter == null) {
814
798
  return 3;
815
799
  } else {
816
- if (segment.g2c(index, null, waiter))
800
+ if (segment.z15(index, null, waiter))
817
801
  return 2;
818
802
  }
819
803
  }
820
804
  } else {
821
805
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
822
- segment.d2c(index);
806
+ segment.w15(index);
823
807
  var tmp;
824
808
  if (tryResumeReceiver($this, state, element)) {
825
- segment.f2c(index, get_DONE_RCV());
826
- $this.t2e();
809
+ segment.y15(index, get_DONE_RCV());
810
+ $this.j17();
827
811
  tmp = 0;
828
812
  } else {
829
- if (!(segment.h2c(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
830
- segment.u2c(index, true);
813
+ if (!(segment.a16(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
814
+ segment.n16(index, true);
831
815
  }
832
816
  tmp = 5;
833
817
  }
@@ -838,55 +822,55 @@ function updateCellSend($this, segment, index, element, s, waiter, closed) {
838
822
  }
839
823
  function updateCellSendSlow($this, segment, index, element, s, waiter, closed) {
840
824
  while (true) {
841
- var state = segment.e2c(index);
825
+ var state = segment.x15(index);
842
826
  if (state === null) {
843
827
  if (bufferOrRendezvousSend($this, s) && !closed) {
844
- if (segment.g2c(index, null, get_BUFFERED())) {
828
+ if (segment.z15(index, null, get_BUFFERED())) {
845
829
  return 1;
846
830
  }
847
831
  } else {
848
832
  if (closed) {
849
- if (segment.g2c(index, null, get_INTERRUPTED_SEND())) {
850
- segment.u2c(index, false);
833
+ if (segment.z15(index, null, get_INTERRUPTED_SEND())) {
834
+ segment.n16(index, false);
851
835
  return 4;
852
836
  }
853
837
  } else if (waiter == null)
854
838
  return 3;
855
- else if (segment.g2c(index, null, waiter))
839
+ else if (segment.z15(index, null, waiter))
856
840
  return 2;
857
841
  }
858
842
  } else if (state === get_IN_BUFFER()) {
859
- if (segment.g2c(index, state, get_BUFFERED())) {
843
+ if (segment.z15(index, state, get_BUFFERED())) {
860
844
  return 1;
861
845
  }
862
846
  } else if (state === get_INTERRUPTED_RCV()) {
863
- segment.d2c(index);
847
+ segment.w15(index);
864
848
  return 5;
865
849
  } else if (state === get_POISONED()) {
866
- segment.d2c(index);
850
+ segment.w15(index);
867
851
  return 5;
868
852
  } else if (state === get_CHANNEL_CLOSED()) {
869
- segment.d2c(index);
853
+ segment.w15(index);
870
854
  completeCloseOrCancel($this);
871
855
  return 4;
872
856
  } else {
873
857
  // Inline function 'kotlinx.coroutines.assert' call
874
- segment.d2c(index);
858
+ segment.w15(index);
875
859
  var tmp;
876
860
  if (state instanceof WaiterEB()) {
877
- tmp = state.u2e_1;
861
+ tmp = state.k17_1;
878
862
  } else {
879
863
  tmp = state;
880
864
  }
881
865
  var receiver = tmp;
882
866
  var tmp_0;
883
867
  if (tryResumeReceiver($this, receiver, element)) {
884
- segment.f2c(index, get_DONE_RCV());
885
- $this.t2e();
868
+ segment.y15(index, get_DONE_RCV());
869
+ $this.j17();
886
870
  tmp_0 = 0;
887
871
  } else {
888
- if (!(segment.h2c(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
889
- segment.u2c(index, true);
872
+ if (!(segment.a16(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
873
+ segment.n16(index, true);
890
874
  }
891
875
  tmp_0 = 5;
892
876
  }
@@ -898,174 +882,85 @@ function shouldSendSuspend0($this, curSendersAndCloseStatus) {
898
882
  if (_get_isClosedForSend0__kxgf9m($this, curSendersAndCloseStatus))
899
883
  return false;
900
884
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
901
- var tmp$ret$0 = curSendersAndCloseStatus.c4(new (Long())(-1, 268435455));
885
+ var tmp$ret$0 = curSendersAndCloseStatus & 1152921504606846975n;
902
886
  return !bufferOrRendezvousSend($this, tmp$ret$0);
903
887
  }
904
888
  function bufferOrRendezvousSend($this, curSenders) {
905
889
  var tmp;
906
- if (curSenders.a2(_get_bufferEndCounter__2d4hee($this)) < 0) {
890
+ if (curSenders < _get_bufferEndCounter__2d4hee($this)) {
907
891
  tmp = true;
908
892
  } else {
909
- var tmp0 = $this.s2e();
893
+ var tmp0 = $this.h17();
910
894
  // Inline function 'kotlin.Long.plus' call
911
- var other = $this.i2c_1;
912
- var tmp$ret$0 = tmp0.p3(toLong(other));
913
- tmp = curSenders.a2(tmp$ret$0) < 0;
895
+ var other = $this.b16_1;
896
+ tmp = curSenders < add(tmp0, fromInt(other));
914
897
  }
915
898
  return tmp;
916
899
  }
917
900
  function tryResumeReceiver($this, _this__u8e3s4, element) {
918
901
  var tmp;
919
902
  if (isInterface(_this__u8e3s4, SelectInstance())) {
920
- tmp = _this__u8e3s4.z2e($this, element);
903
+ tmp = _this__u8e3s4.p17($this, element);
921
904
  } else {
922
905
  if (_this__u8e3s4 instanceof ReceiveCatching()) {
923
906
  if (!(_this__u8e3s4 instanceof ReceiveCatching()))
924
907
  THROW_CCE();
925
- var tmp_0 = Companion_getInstance().x2e(element);
926
- var tmp1_safe_receiver = $this.j2c_1;
927
- tmp = tryResume0(_this__u8e3s4.y2e_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
908
+ var tmp_0 = Companion_getInstance().n17(element);
909
+ var tmp1_safe_receiver = $this.c16_1;
910
+ tmp = tryResume0(_this__u8e3s4.o17_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
928
911
  } else {
929
912
  if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
930
913
  if (!(_this__u8e3s4 instanceof BufferedChannelIterator()))
931
914
  THROW_CCE();
932
- tmp = _this__u8e3s4.v2e(element);
915
+ tmp = _this__u8e3s4.l17(element);
933
916
  } else {
934
917
  if (isInterface(_this__u8e3s4, CancellableContinuation())) {
935
918
  if (!isInterface(_this__u8e3s4, CancellableContinuation()))
936
919
  THROW_CCE();
937
- var tmp2_safe_receiver = $this.j2c_1;
920
+ var tmp2_safe_receiver = $this.c16_1;
938
921
  tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
939
922
  } else {
940
923
  var message = 'Unexpected receiver type: ' + toString_0(_this__u8e3s4);
941
- throw IllegalStateException().o4(toString_0(message));
924
+ throw IllegalStateException().x4(toString_0(message));
942
925
  }
943
926
  }
944
927
  }
945
928
  }
946
929
  return tmp;
947
930
  }
948
- function receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
949
- var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
950
- try {
951
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
952
- var updCellResult = updateCellReceive($this, segment, index, r, cancellable);
953
- if (updCellResult === get_SUSPEND()) {
954
- prepareReceiverForSuspension($this, cancellable, segment, index);
955
- } else if (updCellResult === get_FAILED()) {
956
- if (r.a2($this.m2d()) < 0) {
957
- segment.g2d();
958
- }
959
- $l$block_0: {
960
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
961
- var segment_0 = $this.p2c_1.kotlinx$atomicfu$value;
962
- $l$loop_0: while (true) {
963
- if ($this.n2d()) {
964
- onClosedReceiveOnNoWaiterSuspend($this, cancellable);
965
- break $l$block_0;
966
- }
967
- var r_0 = $this.l2c_1.atomicfu$getAndIncrement$long();
968
- // Inline function 'kotlin.Long.div' call
969
- var other = get_SEGMENT_SIZE();
970
- var id = r_0.s3(toLong(other));
971
- // Inline function 'kotlin.Long.rem' call
972
- var other_0 = get_SEGMENT_SIZE();
973
- var i = r_0.t3(toLong(other_0)).c2();
974
- if (!segment_0.i22_1.equals(id)) {
975
- var tmp0_elvis_lhs = findSegmentReceive($this, id, segment_0);
976
- var tmp;
977
- if (tmp0_elvis_lhs == null) {
978
- continue $l$loop_0;
979
- } else {
980
- tmp = tmp0_elvis_lhs;
981
- }
982
- segment_0 = tmp;
983
- }
984
- var updCellResult_0 = updateCellReceive($this, segment_0, i, r_0, cancellable);
985
- if (updCellResult_0 === get_SUSPEND()) {
986
- var tmp1_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
987
- if (tmp1_safe_receiver == null)
988
- null;
989
- else {
990
- prepareReceiverForSuspension($this, tmp1_safe_receiver, segment_0, i);
991
- }
992
- } else if (updCellResult_0 === get_FAILED()) {
993
- if (r_0.a2($this.m2d()) < 0) {
994
- segment_0.g2d();
995
- }
996
- continue $l$loop_0;
997
- } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
998
- // Inline function 'kotlin.error' call
999
- var message = 'unexpected';
1000
- throw IllegalStateException().o4(toString_0(message));
1001
- } else {
1002
- segment_0.g2d();
1003
- var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
1004
- var tmp0_safe_receiver = $this.j2c_1;
1005
- var onCancellation = tmp0_safe_receiver == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver);
1006
- cancellable.k21(element, onCancellation);
1007
- }
1008
- break $l$block_0;
1009
- }
1010
- }
1011
- } else {
1012
- segment.g2d();
1013
- var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
1014
- var tmp0_safe_receiver_0 = $this.j2c_1;
1015
- var onCancellation_0 = tmp0_safe_receiver_0 == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver_0);
1016
- cancellable.k21(element_0, onCancellation_0);
1017
- }
1018
- } catch ($p) {
1019
- if ($p instanceof Error) {
1020
- var e = $p;
1021
- cancellable.i23();
1022
- throw e;
1023
- } else {
1024
- throw $p;
1025
- }
1026
- }
1027
- return cancellable.b20();
1028
- }
1029
931
  function prepareReceiverForSuspension($this, _this__u8e3s4, segment, index) {
1030
- $this.a2f();
1031
- _this__u8e3s4.n23(segment, index);
1032
- }
1033
- function onClosedReceiveOnNoWaiterSuspend($this, cont) {
1034
- // Inline function 'kotlin.coroutines.resumeWithException' call
1035
- // Inline function 'kotlin.Companion.failure' call
1036
- var exception = _get_receiveException__foorc1($this);
1037
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
1038
- cont.lc(tmp$ret$0);
932
+ $this.q17();
933
+ _this__u8e3s4.sz(segment, index);
1039
934
  }
1040
935
  function updateCellReceive($this, segment, index, r, waiter) {
1041
- var state = segment.e2c(index);
936
+ var state = segment.x15(index);
1042
937
  if (state === null) {
1043
938
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1044
- var senders = $this.k2c_1.kotlinx$atomicfu$value.c4(new (Long())(-1, 268435455));
1045
- if (r.a2(senders) >= 0) {
939
+ var senders = $this.d16_1.kotlinx$atomicfu$value & 1152921504606846975n;
940
+ if (r >= senders) {
1046
941
  if (waiter === null) {
1047
942
  return get_SUSPEND_NO_WAITER();
1048
943
  }
1049
- if (segment.g2c(index, state, waiter)) {
944
+ if (segment.z15(index, state, waiter)) {
1050
945
  expandBuffer($this);
1051
946
  return get_SUSPEND();
1052
947
  }
1053
948
  }
1054
949
  } else if (state === get_BUFFERED())
1055
- if (segment.g2c(index, state, get_DONE_RCV())) {
950
+ if (segment.z15(index, state, get_DONE_RCV())) {
1056
951
  expandBuffer($this);
1057
- return segment.c2c(index);
952
+ return segment.v15(index);
1058
953
  }
1059
954
  return updateCellReceiveSlow($this, segment, index, r, waiter);
1060
955
  }
1061
956
  function updateCellReceiveSlow($this, segment, index, r, waiter) {
1062
957
  $l$loop: while (true) {
1063
- var state = segment.e2c(index);
958
+ var state = segment.x15(index);
1064
959
  if (state === null || state === get_IN_BUFFER()) {
1065
960
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1066
- var senders = $this.k2c_1.kotlinx$atomicfu$value.c4(new (Long())(-1, 268435455));
1067
- if (r.a2(senders) < 0) {
1068
- if (segment.g2c(index, state, get_POISONED())) {
961
+ var senders = $this.d16_1.kotlinx$atomicfu$value & 1152921504606846975n;
962
+ if (r < senders) {
963
+ if (segment.z15(index, state, get_POISONED())) {
1069
964
  expandBuffer($this);
1070
965
  return get_FAILED();
1071
966
  }
@@ -1073,15 +968,15 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
1073
968
  if (waiter === null) {
1074
969
  return get_SUSPEND_NO_WAITER();
1075
970
  }
1076
- if (segment.g2c(index, state, waiter)) {
971
+ if (segment.z15(index, state, waiter)) {
1077
972
  expandBuffer($this);
1078
973
  return get_SUSPEND();
1079
974
  }
1080
975
  }
1081
976
  } else if (state === get_BUFFERED()) {
1082
- if (segment.g2c(index, state, get_DONE_RCV())) {
977
+ if (segment.z15(index, state, get_DONE_RCV())) {
1083
978
  expandBuffer($this);
1084
- return segment.c2c(index);
979
+ return segment.v15(index);
1085
980
  }
1086
981
  } else if (state === get_INTERRUPTED_SEND())
1087
982
  return get_FAILED();
@@ -1093,23 +988,23 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
1093
988
  } else if (state === get_RESUMING_BY_EB())
1094
989
  continue $l$loop;
1095
990
  else {
1096
- if (segment.g2c(index, state, get_RESUMING_BY_RCV())) {
991
+ if (segment.z15(index, state, get_RESUMING_BY_RCV())) {
1097
992
  var helpExpandBuffer = state instanceof WaiterEB();
1098
993
  var tmp;
1099
994
  if (state instanceof WaiterEB()) {
1100
- tmp = state.u2e_1;
995
+ tmp = state.k17_1;
1101
996
  } else {
1102
997
  tmp = state;
1103
998
  }
1104
999
  var sender = tmp;
1105
1000
  var tmp_0;
1106
1001
  if (tryResumeSender($this, sender, segment, index)) {
1107
- segment.f2c(index, get_DONE_RCV());
1002
+ segment.y15(index, get_DONE_RCV());
1108
1003
  expandBuffer($this);
1109
- tmp_0 = segment.c2c(index);
1004
+ tmp_0 = segment.v15(index);
1110
1005
  } else {
1111
- segment.f2c(index, get_INTERRUPTED_SEND());
1112
- segment.u2c(index, false);
1006
+ segment.y15(index, get_INTERRUPTED_SEND());
1007
+ segment.n16(index, false);
1113
1008
  if (helpExpandBuffer) {
1114
1009
  expandBuffer($this);
1115
1010
  }
@@ -1130,17 +1025,17 @@ function tryResumeSender($this, _this__u8e3s4, segment, index) {
1130
1025
  if (isInterface(_this__u8e3s4, SelectInstance())) {
1131
1026
  if (!(_this__u8e3s4 instanceof SelectImplementation()))
1132
1027
  THROW_CCE();
1133
- var trySelectResult = _this__u8e3s4.f2f($this, Unit_instance);
1028
+ var trySelectResult = _this__u8e3s4.v17($this, Unit_instance);
1134
1029
  if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
1135
- segment.d2c(index);
1030
+ segment.w15(index);
1136
1031
  }
1137
1032
  tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
1138
1033
  } else {
1139
1034
  if (_this__u8e3s4 instanceof SendBroadcast()) {
1140
- tmp = tryResume0(_this__u8e3s4.b2f_1, true);
1035
+ tmp = tryResume0(_this__u8e3s4.r17_1, true);
1141
1036
  } else {
1142
1037
  var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1143
- throw IllegalStateException().o4(toString_0(message));
1038
+ throw IllegalStateException().x4(toString_0(message));
1144
1039
  }
1145
1040
  }
1146
1041
  }
@@ -1149,21 +1044,21 @@ function tryResumeSender($this, _this__u8e3s4, segment, index) {
1149
1044
  function expandBuffer($this) {
1150
1045
  if (_get_isRendezvousOrUnlimited__3mdufi($this))
1151
1046
  return Unit_instance;
1152
- var segment = $this.q2c_1.kotlinx$atomicfu$value;
1047
+ var segment = $this.j16_1.kotlinx$atomicfu$value;
1153
1048
  try_again: while (true) {
1154
- var b = $this.m2c_1.atomicfu$getAndIncrement$long();
1049
+ var b = $this.f16_1.atomicfu$getAndIncrement$long();
1155
1050
  // Inline function 'kotlin.Long.div' call
1156
1051
  var other = get_SEGMENT_SIZE();
1157
- var id = b.s3(toLong(other));
1158
- var s = $this.m2d();
1159
- if (s.a2(b) <= 0) {
1160
- if (segment.i22_1.a2(id) < 0 && !(segment.c2d() == null)) {
1052
+ var id = divide(b, fromInt(other));
1053
+ var s = $this.f17();
1054
+ if (s <= b) {
1055
+ if (segment.ly_1 < id && !(segment.v16() == null)) {
1161
1056
  moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
1162
1057
  }
1163
1058
  incCompletedExpandBufferAttempts$default($this);
1164
1059
  return Unit_instance;
1165
1060
  }
1166
- if (!segment.i22_1.equals(id)) {
1061
+ if (!(segment.ly_1 === id)) {
1167
1062
  var tmp0_elvis_lhs = findSegmentBufferEnd($this, id, segment, b);
1168
1063
  var tmp;
1169
1064
  if (tmp0_elvis_lhs == null) {
@@ -1175,7 +1070,8 @@ function expandBuffer($this) {
1175
1070
  }
1176
1071
  // Inline function 'kotlin.Long.rem' call
1177
1072
  var other_0 = get_SEGMENT_SIZE();
1178
- var i = b.t3(toLong(other_0)).c2();
1073
+ var tmp$ret$1 = modulo(b, fromInt(other_0));
1074
+ var i = convertToInt(tmp$ret$1);
1179
1075
  if (updateCellExpandBuffer($this, segment, i, b)) {
1180
1076
  incCompletedExpandBufferAttempts$default($this);
1181
1077
  return Unit_instance;
@@ -1186,17 +1082,17 @@ function expandBuffer($this) {
1186
1082
  }
1187
1083
  }
1188
1084
  function updateCellExpandBuffer($this, segment, index, b) {
1189
- var state = segment.e2c(index);
1085
+ var state = segment.x15(index);
1190
1086
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1191
- if (b.a2($this.l2c_1.kotlinx$atomicfu$value) >= 0) {
1192
- if (segment.g2c(index, state, get_RESUMING_BY_EB())) {
1087
+ if (b >= $this.e16_1.kotlinx$atomicfu$value) {
1088
+ if (segment.z15(index, state, get_RESUMING_BY_EB())) {
1193
1089
  var tmp;
1194
1090
  if (tryResumeSender($this, state, segment, index)) {
1195
- segment.f2c(index, get_BUFFERED());
1091
+ segment.y15(index, get_BUFFERED());
1196
1092
  tmp = true;
1197
1093
  } else {
1198
- segment.f2c(index, get_INTERRUPTED_SEND());
1199
- segment.u2c(index, false);
1094
+ segment.y15(index, get_INTERRUPTED_SEND());
1095
+ segment.n16(index, false);
1200
1096
  tmp = false;
1201
1097
  }
1202
1098
  return tmp;
@@ -1207,20 +1103,20 @@ function updateCellExpandBuffer($this, segment, index, b) {
1207
1103
  }
1208
1104
  function updateCellExpandBufferSlow($this, segment, index, b) {
1209
1105
  $l$loop: while (true) {
1210
- var state = segment.e2c(index);
1106
+ var state = segment.x15(index);
1211
1107
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1212
- if (b.a2($this.l2c_1.kotlinx$atomicfu$value) < 0) {
1213
- if (segment.g2c(index, state, new (WaiterEB())(state)))
1108
+ if (b < $this.e16_1.kotlinx$atomicfu$value) {
1109
+ if (segment.z15(index, state, new (WaiterEB())(state)))
1214
1110
  return true;
1215
1111
  } else {
1216
- if (segment.g2c(index, state, get_RESUMING_BY_EB())) {
1112
+ if (segment.z15(index, state, get_RESUMING_BY_EB())) {
1217
1113
  var tmp;
1218
1114
  if (tryResumeSender($this, state, segment, index)) {
1219
- segment.f2c(index, get_BUFFERED());
1115
+ segment.y15(index, get_BUFFERED());
1220
1116
  tmp = true;
1221
1117
  } else {
1222
- segment.f2c(index, get_INTERRUPTED_SEND());
1223
- segment.u2c(index, false);
1118
+ segment.y15(index, get_INTERRUPTED_SEND());
1119
+ segment.n16(index, false);
1224
1120
  tmp = false;
1225
1121
  }
1226
1122
  return tmp;
@@ -1231,7 +1127,7 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
1231
1127
  return false;
1232
1128
  else {
1233
1129
  if (state === null) {
1234
- if (segment.g2c(index, state, get_IN_BUFFER()))
1130
+ if (segment.z15(index, state, get_IN_BUFFER()))
1235
1131
  return true;
1236
1132
  } else {
1237
1133
  if (state === get_BUFFERED())
@@ -1248,7 +1144,7 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
1248
1144
  else {
1249
1145
  // Inline function 'kotlin.error' call
1250
1146
  var message = 'Unexpected cell state: ' + toString(state);
1251
- throw IllegalStateException().o4(toString_0(message));
1147
+ throw IllegalStateException().x4(toString_0(message));
1252
1148
  }
1253
1149
  }
1254
1150
  }
@@ -1261,17 +1157,17 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
1261
1157
  function incCompletedExpandBufferAttempts($this, nAttempts) {
1262
1158
  // Inline function 'kotlin.also' call
1263
1159
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1264
- if (!$this.n2c_1.atomicfu$addAndGet$long(nAttempts).c4(new (Long())(0, 1073741824)).equals(new (Long())(0, 0))) {
1160
+ if (!(($this.g16_1.atomicfu$addAndGet$long(nAttempts) & 4611686018427387904n) === 0n)) {
1265
1161
  $l$loop: while (true) {
1266
1162
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1267
- if (!!$this.n2c_1.kotlinx$atomicfu$value.c4(new (Long())(0, 1073741824)).equals(new (Long())(0, 0))) {
1163
+ if (!!(($this.g16_1.kotlinx$atomicfu$value & 4611686018427387904n) === 0n)) {
1268
1164
  break $l$loop;
1269
1165
  }
1270
1166
  }
1271
1167
  }
1272
1168
  }
1273
1169
  function incCompletedExpandBufferAttempts$default($this, nAttempts, $super) {
1274
- nAttempts = nAttempts === VOID ? new (Long())(1, 0) : nAttempts;
1170
+ nAttempts = nAttempts === VOID ? 1n : nAttempts;
1275
1171
  return incCompletedExpandBufferAttempts($this, nAttempts);
1276
1172
  }
1277
1173
  var BufferedChannelIteratorClass;
@@ -1279,59 +1175,56 @@ function BufferedChannelIterator() {
1279
1175
  if (BufferedChannelIteratorClass === VOID) {
1280
1176
  class $ {
1281
1177
  constructor($outer) {
1282
- this.k2d_1 = $outer;
1283
- this.i2d_1 = get_NO_RECEIVE_RESULT();
1284
- this.j2d_1 = null;
1285
- }
1286
- g2f($completion) {
1287
- var tmp = new ($hasNextCOROUTINE$())(this, $completion);
1288
- tmp.cc_1 = Unit_instance;
1289
- tmp.dc_1 = null;
1290
- return tmp.ic();
1291
- }
1292
- n23(segment, index) {
1293
- var tmp0_safe_receiver = this.j2d_1;
1178
+ this.d17_1 = $outer;
1179
+ this.b17_1 = get_NO_RECEIVE_RESULT();
1180
+ this.c17_1 = null;
1181
+ }
1182
+ w17($completion) {
1183
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_hasNext__q471nr.bind(VOID, this), $completion);
1184
+ }
1185
+ sz(segment, index) {
1186
+ var tmp0_safe_receiver = this.c17_1;
1294
1187
  if (tmp0_safe_receiver == null)
1295
1188
  null;
1296
1189
  else {
1297
- tmp0_safe_receiver.n23(segment, index);
1190
+ tmp0_safe_receiver.sz(segment, index);
1298
1191
  }
1299
1192
  }
1300
- f1() {
1301
- var result = this.i2d_1;
1193
+ m1() {
1194
+ var result = this.b17_1;
1302
1195
  // Inline function 'kotlin.check' call
1303
1196
  if (!!(result === get_NO_RECEIVE_RESULT())) {
1304
1197
  var message = '`hasNext()` has not been invoked';
1305
- throw IllegalStateException().o4(toString_0(message));
1198
+ throw IllegalStateException().x4(toString_0(message));
1306
1199
  }
1307
- this.i2d_1 = get_NO_RECEIVE_RESULT();
1200
+ this.b17_1 = get_NO_RECEIVE_RESULT();
1308
1201
  if (result === get_CHANNEL_CLOSED())
1309
- throw recoverStackTrace(_get_receiveException__foorc1(this.k2d_1));
1202
+ throw recoverStackTrace(_get_receiveException__foorc1(this.d17_1));
1310
1203
  return (result == null ? true : !(result == null)) ? result : THROW_CCE();
1311
1204
  }
1312
- v2e(element) {
1313
- var cont = ensureNotNull(this.j2d_1);
1314
- this.j2d_1 = null;
1315
- this.i2d_1 = element;
1316
- var tmp0_safe_receiver = this.k2d_1.j2c_1;
1317
- return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.k2d_1, tmp0_safe_receiver, element));
1318
- }
1319
- h2f() {
1320
- var cont = ensureNotNull(this.j2d_1);
1321
- this.j2d_1 = null;
1322
- this.i2d_1 = get_CHANNEL_CLOSED();
1323
- var cause = this.k2d_1.l2d();
1205
+ l17(element) {
1206
+ var cont = ensureNotNull(this.c17_1);
1207
+ this.c17_1 = null;
1208
+ this.b17_1 = element;
1209
+ var tmp0_safe_receiver = this.d17_1.c16_1;
1210
+ return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.d17_1, tmp0_safe_receiver, element));
1211
+ }
1212
+ x17() {
1213
+ var cont = ensureNotNull(this.c17_1);
1214
+ this.c17_1 = null;
1215
+ this.b17_1 = get_CHANNEL_CLOSED();
1216
+ var cause = this.d17_1.g17();
1324
1217
  if (cause == null) {
1325
1218
  // Inline function 'kotlin.coroutines.resume' call
1326
1219
  // Inline function 'kotlin.Companion.success' call
1327
1220
  var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1328
- cont.lc(tmp$ret$0);
1221
+ cont.bc(tmp$ret$0);
1329
1222
  } else {
1330
1223
  // Inline function 'kotlin.coroutines.resumeWithException' call
1331
1224
  // Inline function 'kotlin.Companion.failure' call
1332
1225
  var exception = recoverStackTrace_0(cause, cont);
1333
1226
  var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1334
- cont.lc(tmp$ret$2);
1227
+ cont.bc(tmp$ret$2);
1335
1228
  }
1336
1229
  }
1337
1230
  }
@@ -1341,11 +1234,11 @@ function BufferedChannelIterator() {
1341
1234
  return BufferedChannelIteratorClass;
1342
1235
  }
1343
1236
  function _get_receiveException__foorc1($this) {
1344
- var tmp0_elvis_lhs = $this.l2d();
1345
- return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().m2f('Channel was closed') : tmp0_elvis_lhs;
1237
+ var tmp0_elvis_lhs = $this.g17();
1238
+ return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().c18('Channel was closed') : tmp0_elvis_lhs;
1346
1239
  }
1347
1240
  function invokeCloseHandler($this) {
1348
- var tmp0 = $this.t2c_1;
1241
+ var tmp0 = $this.m16_1;
1349
1242
  var tmp$ret$1;
1350
1243
  $l$block: {
1351
1244
  // Inline function 'kotlinx.atomicfu.getAndUpdate' call
@@ -1374,10 +1267,10 @@ function invokeCloseHandler($this) {
1374
1267
  var closeHandler = tmp_0;
1375
1268
  if (typeof closeHandler !== 'function')
1376
1269
  THROW_CCE();
1377
- closeHandler($this.l2d());
1270
+ closeHandler($this.g17());
1378
1271
  }
1379
1272
  function markClosed($this) {
1380
- var tmp0 = $this.k2c_1;
1273
+ var tmp0 = $this.d16_1;
1381
1274
  var tmp$ret$4;
1382
1275
  $l$block: {
1383
1276
  // Inline function 'kotlinx.atomicfu.update' call
@@ -1385,17 +1278,17 @@ function markClosed($this) {
1385
1278
  var cur = tmp0.kotlinx$atomicfu$value;
1386
1279
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1387
1280
  var tmp;
1388
- switch (cur.a4(60).c2()) {
1281
+ switch (convertToInt(shiftRight(cur, 60))) {
1389
1282
  case 0:
1390
1283
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1391
1284
 
1392
- var tmp$ret$1 = cur.c4(new (Long())(-1, 268435455));
1285
+ var tmp$ret$1 = cur & 1152921504606846975n;
1393
1286
  tmp = constructSendersAndCloseStatus(tmp$ret$1, 2);
1394
1287
  break;
1395
1288
  case 1:
1396
1289
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1397
1290
 
1398
- var tmp$ret$2 = cur.c4(new (Long())(-1, 268435455));
1291
+ var tmp$ret$2 = cur & 1152921504606846975n;
1399
1292
  tmp = constructSendersAndCloseStatus(tmp$ret$2, 3);
1400
1293
  break;
1401
1294
  default:
@@ -1412,14 +1305,14 @@ function markClosed($this) {
1412
1305
  return tmp$ret$4;
1413
1306
  }
1414
1307
  function markCancelled($this) {
1415
- var tmp0 = $this.k2c_1;
1308
+ var tmp0 = $this.d16_1;
1416
1309
  var tmp$ret$2;
1417
1310
  $l$block: {
1418
1311
  // Inline function 'kotlinx.atomicfu.update' call
1419
1312
  while (true) {
1420
1313
  var cur = tmp0.kotlinx$atomicfu$value;
1421
1314
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1422
- var tmp$ret$0 = cur.c4(new (Long())(-1, 268435455));
1315
+ var tmp$ret$0 = cur & 1152921504606846975n;
1423
1316
  var upd = constructSendersAndCloseStatus(tmp$ret$0, 3);
1424
1317
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1425
1318
  tmp$ret$2 = Unit_instance;
@@ -1431,7 +1324,7 @@ function markCancelled($this) {
1431
1324
  return tmp$ret$2;
1432
1325
  }
1433
1326
  function markCancellationStarted($this) {
1434
- var tmp0 = $this.k2c_1;
1327
+ var tmp0 = $this.d16_1;
1435
1328
  var tmp$ret$3;
1436
1329
  $l$block: {
1437
1330
  // Inline function 'kotlinx.atomicfu.update' call
@@ -1439,9 +1332,9 @@ function markCancellationStarted($this) {
1439
1332
  var cur = tmp0.kotlinx$atomicfu$value;
1440
1333
  var tmp;
1441
1334
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1442
- if (cur.a4(60).c2() === 0) {
1335
+ if (convertToInt(shiftRight(cur, 60)) === 0) {
1443
1336
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1444
- var tmp$ret$1 = cur.c4(new (Long())(-1, 268435455));
1337
+ var tmp$ret$1 = cur & 1152921504606846975n;
1445
1338
  tmp = constructSendersAndCloseStatus(tmp$ret$1, 1);
1446
1339
  } else {
1447
1340
  return Unit_instance;
@@ -1457,14 +1350,14 @@ function markCancellationStarted($this) {
1457
1350
  return tmp$ret$3;
1458
1351
  }
1459
1352
  function completeCloseOrCancel($this) {
1460
- $this.n2f();
1353
+ $this.d18();
1461
1354
  }
1462
1355
  function completeClose($this, sendersCur) {
1463
1356
  var lastSegment = closeLinkedList($this);
1464
- if ($this.p2f()) {
1357
+ if ($this.f18()) {
1465
1358
  var lastBufferedCellGlobalIndex = markAllEmptyCellsAsClosed($this, lastSegment);
1466
- if (!lastBufferedCellGlobalIndex.equals(new (Long())(-1, -1))) {
1467
- $this.o2f(lastBufferedCellGlobalIndex);
1359
+ if (!(lastBufferedCellGlobalIndex === -1n)) {
1360
+ $this.e18(lastBufferedCellGlobalIndex);
1468
1361
  }
1469
1362
  }
1470
1363
  cancelSuspendedReceiveRequests($this, lastSegment, sendersCur);
@@ -1475,14 +1368,14 @@ function completeCancel($this, sendersCur) {
1475
1368
  removeUnprocessedElements($this, lastSegment);
1476
1369
  }
1477
1370
  function closeLinkedList($this) {
1478
- var lastSegment = $this.q2c_1.kotlinx$atomicfu$value;
1371
+ var lastSegment = $this.j16_1.kotlinx$atomicfu$value;
1479
1372
  // Inline function 'kotlin.let' call
1480
- var it = $this.o2c_1.kotlinx$atomicfu$value;
1481
- if (it.i22_1.a2(lastSegment.i22_1) > 0)
1373
+ var it = $this.h16_1.kotlinx$atomicfu$value;
1374
+ if (it.ly_1 > lastSegment.ly_1)
1482
1375
  lastSegment = it;
1483
1376
  // Inline function 'kotlin.let' call
1484
- var it_0 = $this.p2c_1.kotlinx$atomicfu$value;
1485
- if (it_0.i22_1.a2(lastSegment.i22_1) > 0)
1377
+ var it_0 = $this.i16_1.kotlinx$atomicfu$value;
1378
+ if (it_0.ly_1 > lastSegment.ly_1)
1486
1379
  lastSegment = it_0;
1487
1380
  return close(lastSegment);
1488
1381
  }
@@ -1494,18 +1387,19 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1494
1387
  do {
1495
1388
  var index = inductionVariable;
1496
1389
  inductionVariable = inductionVariable + -1 | 0;
1497
- var tmp0 = segment.i22_1;
1390
+ var tmp0 = segment.ly_1;
1498
1391
  // Inline function 'kotlin.Long.times' call
1499
1392
  var other = get_SEGMENT_SIZE();
1500
1393
  // Inline function 'kotlin.Long.plus' call
1501
- var globalIndex = tmp0.r3(toLong(other)).p3(toLong(index));
1502
- if (globalIndex.a2($this.s2e()) < 0)
1503
- return new (Long())(-1, -1);
1394
+ var this_0 = multiply(tmp0, fromInt(other));
1395
+ var globalIndex = add(this_0, fromInt(index));
1396
+ if (globalIndex < $this.h17())
1397
+ return -1n;
1504
1398
  cell_update: while (true) {
1505
- var state = segment.e2c(index);
1399
+ var state = segment.x15(index);
1506
1400
  if (state === null || state === get_IN_BUFFER()) {
1507
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1508
- segment.w2c();
1401
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1402
+ segment.p16();
1509
1403
  break cell_update;
1510
1404
  }
1511
1405
  } else if (state === get_BUFFERED())
@@ -1515,10 +1409,10 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1515
1409
  }
1516
1410
  }
1517
1411
  while (0 <= inductionVariable);
1518
- var tmp0_elvis_lhs = segment.f2d();
1412
+ var tmp0_elvis_lhs = segment.y16();
1519
1413
  var tmp;
1520
1414
  if (tmp0_elvis_lhs == null) {
1521
- return new (Long())(-1, -1);
1415
+ return -1n;
1522
1416
  } else {
1523
1417
  tmp = tmp0_elvis_lhs;
1524
1418
  }
@@ -1526,7 +1420,7 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1526
1420
  }
1527
1421
  }
1528
1422
  function removeUnprocessedElements($this, lastSegment) {
1529
- var onUndeliveredElement = $this.j2c_1;
1423
+ var onUndeliveredElement = $this.c16_1;
1530
1424
  var undeliveredElementException = null;
1531
1425
  var suspendedSenders = _InlineList___init__impl__z8n56();
1532
1426
  var segment = lastSegment;
@@ -1536,32 +1430,33 @@ function removeUnprocessedElements($this, lastSegment) {
1536
1430
  do {
1537
1431
  var index = inductionVariable;
1538
1432
  inductionVariable = inductionVariable + -1 | 0;
1539
- var tmp0 = segment.i22_1;
1433
+ var tmp0 = segment.ly_1;
1540
1434
  // Inline function 'kotlin.Long.times' call
1541
1435
  var other = get_SEGMENT_SIZE();
1542
1436
  // Inline function 'kotlin.Long.plus' call
1543
- var globalIndex = tmp0.r3(toLong(other)).p3(toLong(index));
1437
+ var this_0 = multiply(tmp0, fromInt(other));
1438
+ var globalIndex = add(this_0, fromInt(index));
1544
1439
  update_cell: while (true) {
1545
- var state = segment.e2c(index);
1440
+ var state = segment.x15(index);
1546
1441
  if (state === get_DONE_RCV())
1547
1442
  break process_segments;
1548
1443
  else {
1549
1444
  if (state === get_BUFFERED()) {
1550
- if (globalIndex.a2($this.s2e()) < 0)
1445
+ if (globalIndex < $this.h17())
1551
1446
  break process_segments;
1552
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1447
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1553
1448
  if (!(onUndeliveredElement == null)) {
1554
- var element = segment.b2c(index);
1449
+ var element = segment.u15(index);
1555
1450
  undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element, undeliveredElementException);
1556
1451
  }
1557
- segment.d2c(index);
1558
- segment.w2c();
1452
+ segment.w15(index);
1453
+ segment.p16();
1559
1454
  break update_cell;
1560
1455
  }
1561
1456
  } else {
1562
1457
  if (state === get_IN_BUFFER() || state === null) {
1563
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1564
- segment.w2c();
1458
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1459
+ segment.p16();
1565
1460
  break update_cell;
1566
1461
  }
1567
1462
  } else {
@@ -1572,23 +1467,23 @@ function removeUnprocessedElements($this, lastSegment) {
1572
1467
  tmp = state instanceof WaiterEB();
1573
1468
  }
1574
1469
  if (tmp) {
1575
- if (globalIndex.a2($this.s2e()) < 0)
1470
+ if (globalIndex < $this.h17())
1576
1471
  break process_segments;
1577
1472
  var tmp_0;
1578
1473
  if (state instanceof WaiterEB()) {
1579
- tmp_0 = state.u2e_1;
1474
+ tmp_0 = state.k17_1;
1580
1475
  } else {
1581
1476
  tmp_0 = (!(state == null) ? isInterface(state, Waiter()) : false) ? state : THROW_CCE();
1582
1477
  }
1583
1478
  var sender = tmp_0;
1584
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1479
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1585
1480
  if (!(onUndeliveredElement == null)) {
1586
- var element_0 = segment.b2c(index);
1481
+ var element_0 = segment.u15(index);
1587
1482
  undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element_0, undeliveredElementException);
1588
1483
  }
1589
1484
  suspendedSenders = InlineList__plus_impl_nuetvo(suspendedSenders, sender);
1590
- segment.d2c(index);
1591
- segment.w2c();
1485
+ segment.w15(index);
1486
+ segment.p16();
1592
1487
  break update_cell;
1593
1488
  }
1594
1489
  } else {
@@ -1608,7 +1503,7 @@ function removeUnprocessedElements($this, lastSegment) {
1608
1503
  }
1609
1504
  }
1610
1505
  while (0 <= inductionVariable);
1611
- var tmp0_elvis_lhs = segment.f2d();
1506
+ var tmp0_elvis_lhs = segment.y16();
1612
1507
  var tmp_1;
1613
1508
  if (tmp0_elvis_lhs == null) {
1614
1509
  break process_segments;
@@ -1631,12 +1526,12 @@ function removeUnprocessedElements($this, lastSegment) {
1631
1526
  } else {
1632
1527
  var tmp_3 = access$_get_holder__kkflen(tmp0_0);
1633
1528
  var list = tmp_3 instanceof ArrayList() ? tmp_3 : THROW_CCE();
1634
- var inductionVariable_0 = list.i1() - 1 | 0;
1529
+ var inductionVariable_0 = list.n1() - 1 | 0;
1635
1530
  if (0 <= inductionVariable_0)
1636
1531
  do {
1637
1532
  var i = inductionVariable_0;
1638
1533
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
1639
- var it_0 = list.j1(i);
1534
+ var it_0 = list.o1(i);
1640
1535
  resumeSenderOnCancelledChannel($this, it_0);
1641
1536
  }
1642
1537
  while (0 <= inductionVariable_0);
@@ -1660,31 +1555,32 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1660
1555
  do {
1661
1556
  var index = inductionVariable;
1662
1557
  inductionVariable = inductionVariable + -1 | 0;
1663
- var tmp0 = segment.i22_1;
1558
+ var tmp0 = segment.ly_1;
1664
1559
  // Inline function 'kotlin.Long.times' call
1665
1560
  var other = get_SEGMENT_SIZE();
1666
1561
  // Inline function 'kotlin.Long.plus' call
1667
- if (tmp0.r3(toLong(other)).p3(toLong(index)).a2(sendersCounter) < 0)
1562
+ var this_0 = multiply(tmp0, fromInt(other));
1563
+ if (add(this_0, fromInt(index)) < sendersCounter)
1668
1564
  break process_segments;
1669
1565
  cell_update: while (true) {
1670
- var state = segment.e2c(index);
1566
+ var state = segment.x15(index);
1671
1567
  if (state === null || state === get_IN_BUFFER()) {
1672
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1673
- segment.w2c();
1568
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1569
+ segment.p16();
1674
1570
  break cell_update;
1675
1571
  }
1676
1572
  } else {
1677
1573
  if (state instanceof WaiterEB()) {
1678
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1679
- suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.u2e_1);
1680
- segment.u2c(index, true);
1574
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1575
+ suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.k17_1);
1576
+ segment.n16(index, true);
1681
1577
  break cell_update;
1682
1578
  }
1683
1579
  } else {
1684
1580
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1685
- if (segment.g2c(index, state, get_CHANNEL_CLOSED())) {
1581
+ if (segment.z15(index, state, get_CHANNEL_CLOSED())) {
1686
1582
  suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state);
1687
- segment.u2c(index, true);
1583
+ segment.n16(index, true);
1688
1584
  break cell_update;
1689
1585
  }
1690
1586
  } else {
@@ -1695,7 +1591,7 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1695
1591
  }
1696
1592
  }
1697
1593
  while (0 <= inductionVariable);
1698
- segment = segment.f2d();
1594
+ segment = segment.y16();
1699
1595
  }
1700
1596
  var tmp0_0 = suspendedReceivers;
1701
1597
  $l$block: {
@@ -1711,12 +1607,12 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1711
1607
  } else {
1712
1608
  var tmp_0 = access$_get_holder__kkflen(tmp0_0);
1713
1609
  var list = tmp_0 instanceof ArrayList() ? tmp_0 : THROW_CCE();
1714
- var inductionVariable_0 = list.i1() - 1 | 0;
1610
+ var inductionVariable_0 = list.n1() - 1 | 0;
1715
1611
  if (0 <= inductionVariable_0)
1716
1612
  do {
1717
1613
  var i = inductionVariable_0;
1718
1614
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
1719
- var it_0 = list.j1(i);
1615
+ var it_0 = list.o1(i);
1720
1616
  resumeReceiverOnClosedChannel($this, it_0);
1721
1617
  }
1722
1618
  while (0 <= inductionVariable_0);
@@ -1733,35 +1629,35 @@ function resumeSenderOnCancelledChannel($this, _this__u8e3s4) {
1733
1629
  function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
1734
1630
  if (_this__u8e3s4 instanceof SendBroadcast()) {
1735
1631
  // Inline function 'kotlin.coroutines.resume' call
1736
- var this_0 = _this__u8e3s4.b2f_1;
1632
+ var this_0 = _this__u8e3s4.r17_1;
1737
1633
  // Inline function 'kotlin.Companion.success' call
1738
1634
  var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1739
- this_0.lc(tmp$ret$0);
1635
+ this_0.bc(tmp$ret$0);
1740
1636
  } else {
1741
1637
  if (isInterface(_this__u8e3s4, CancellableContinuation())) {
1742
1638
  // Inline function 'kotlin.coroutines.resumeWithException' call
1743
1639
  // Inline function 'kotlin.Companion.failure' call
1744
- var exception = receiver ? _get_receiveException__foorc1($this) : $this.r2e();
1640
+ var exception = receiver ? _get_receiveException__foorc1($this) : $this.i17();
1745
1641
  var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1746
- _this__u8e3s4.lc(tmp$ret$2);
1642
+ _this__u8e3s4.bc(tmp$ret$2);
1747
1643
  } else {
1748
1644
  if (_this__u8e3s4 instanceof ReceiveCatching()) {
1749
- var tmp0 = _this__u8e3s4.y2e_1;
1645
+ var tmp0 = _this__u8e3s4.o17_1;
1750
1646
  // Inline function 'kotlin.coroutines.resume' call
1751
1647
  // Inline function 'kotlin.Companion.success' call
1752
- var value = new (ChannelResult())(Companion_getInstance().q2f($this.l2d()));
1648
+ var value = new (ChannelResult())(Companion_getInstance().g18($this.g17()));
1753
1649
  var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
1754
- tmp0.lc(tmp$ret$4);
1650
+ tmp0.bc(tmp$ret$4);
1755
1651
  } else {
1756
1652
  if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
1757
- _this__u8e3s4.h2f();
1653
+ _this__u8e3s4.x17();
1758
1654
  } else {
1759
1655
  if (isInterface(_this__u8e3s4, SelectInstance()))
1760
- _this__u8e3s4.z2e($this, get_CHANNEL_CLOSED());
1656
+ _this__u8e3s4.p17($this, get_CHANNEL_CLOSED());
1761
1657
  else {
1762
1658
  // Inline function 'kotlin.error' call
1763
1659
  var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1764
- throw IllegalStateException().o4(toString_0(message));
1660
+ throw IllegalStateException().x4(toString_0(message));
1765
1661
  }
1766
1662
  }
1767
1663
  }
@@ -1777,7 +1673,7 @@ function _get_isClosedForReceive0__f7qknl($this, _this__u8e3s4) {
1777
1673
  function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1778
1674
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1779
1675
  var tmp;
1780
- switch (sendersAndCloseStatusCur.a4(60).c2()) {
1676
+ switch (convertToInt(shiftRight(sendersAndCloseStatusCur, 60))) {
1781
1677
  case 0:
1782
1678
  tmp = false;
1783
1679
  break;
@@ -1787,30 +1683,30 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1787
1683
  case 2:
1788
1684
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1789
1685
 
1790
- var tmp$ret$1 = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
1686
+ var tmp$ret$1 = sendersAndCloseStatusCur & 1152921504606846975n;
1791
1687
  completeClose($this, tmp$ret$1);
1792
- tmp = isClosedForReceive ? !$this.r2f() : true;
1688
+ tmp = isClosedForReceive ? !$this.h18() : true;
1793
1689
  break;
1794
1690
  case 3:
1795
1691
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1796
1692
 
1797
- var tmp$ret$2 = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
1693
+ var tmp$ret$2 = sendersAndCloseStatusCur & 1152921504606846975n;
1798
1694
  completeCancel($this, tmp$ret$2);
1799
1695
  tmp = true;
1800
1696
  break;
1801
1697
  default:
1802
1698
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1803
1699
 
1804
- var message = 'unexpected close status: ' + sendersAndCloseStatusCur.a4(60).c2();
1805
- throw IllegalStateException().o4(toString_0(message));
1700
+ var message = 'unexpected close status: ' + convertToInt(shiftRight(sendersAndCloseStatusCur, 60));
1701
+ throw IllegalStateException().x4(toString_0(message));
1806
1702
  }
1807
1703
  return tmp;
1808
1704
  }
1809
1705
  function isCellNonEmpty($this, segment, index, globalIndex) {
1810
1706
  while (true) {
1811
- var state = segment.e2c(index);
1707
+ var state = segment.x15(index);
1812
1708
  if (state === null || state === get_IN_BUFFER()) {
1813
- if (segment.g2c(index, state, get_POISONED())) {
1709
+ if (segment.z15(index, state, get_POISONED())) {
1814
1710
  expandBuffer($this);
1815
1711
  return false;
1816
1712
  }
@@ -1829,11 +1725,11 @@ function isCellNonEmpty($this, segment, index, globalIndex) {
1829
1725
  else if (state === get_RESUMING_BY_RCV())
1830
1726
  return false;
1831
1727
  else
1832
- return globalIndex.equals($this.s2e());
1728
+ return globalIndex === $this.h17();
1833
1729
  }
1834
1730
  }
1835
1731
  function findSegmentSend($this, id, startFrom) {
1836
- var tmp0 = $this.o2c_1;
1732
+ var tmp0 = $this.h16_1;
1837
1733
  var tmp6 = createSegmentFunction();
1838
1734
  var tmp$ret$2;
1839
1735
  $l$block_2: {
@@ -1850,23 +1746,23 @@ function findSegmentSend($this, id, startFrom) {
1850
1746
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1851
1747
  while (true) {
1852
1748
  var cur = tmp0.kotlinx$atomicfu$value;
1853
- if (cur.i22_1.a2(tmp2.i22_1) >= 0) {
1749
+ if (cur.ly_1 >= tmp2.ly_1) {
1854
1750
  tmp$ret$0 = true;
1855
1751
  break $l$block_1;
1856
1752
  }
1857
- if (!tmp2.y2c()) {
1753
+ if (!tmp2.r16()) {
1858
1754
  tmp$ret$0 = false;
1859
1755
  break $l$block_1;
1860
1756
  }
1861
1757
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1862
- if (cur.z2c()) {
1863
- cur.z5();
1758
+ if (cur.s16()) {
1759
+ cur.f6();
1864
1760
  }
1865
1761
  tmp$ret$0 = true;
1866
1762
  break $l$block_1;
1867
1763
  }
1868
- if (tmp2.z2c()) {
1869
- tmp2.z5();
1764
+ if (tmp2.s16()) {
1765
+ tmp2.f6();
1870
1766
  }
1871
1767
  }
1872
1768
  tmp$ret$0 = Unit_instance;
@@ -1884,27 +1780,27 @@ function findSegmentSend($this, id, startFrom) {
1884
1780
  var tmp_0;
1885
1781
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1886
1782
  completeCloseOrCancel($this);
1887
- var tmp0_0 = startFrom.i22_1;
1783
+ var tmp0_0 = startFrom.ly_1;
1888
1784
  // Inline function 'kotlin.Long.times' call
1889
1785
  var other = get_SEGMENT_SIZE();
1890
- if (tmp0_0.r3(toLong(other)).a2($this.s2e()) < 0) {
1891
- startFrom.g2d();
1786
+ if (multiply(tmp0_0, fromInt(other)) < $this.h17()) {
1787
+ startFrom.z16();
1892
1788
  }
1893
1789
  tmp_0 = null;
1894
1790
  } else {
1895
1791
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
1896
1792
  var tmp_1;
1897
- if (segment.i22_1.a2(id) > 0) {
1898
- var tmp0_1 = segment.i22_1;
1793
+ if (segment.ly_1 > id) {
1794
+ var tmp0_1 = segment.ly_1;
1899
1795
  // Inline function 'kotlin.Long.times' call
1900
1796
  var other_0 = get_SEGMENT_SIZE();
1901
- var tmp$ret$4 = tmp0_1.r3(toLong(other_0));
1797
+ var tmp$ret$4 = multiply(tmp0_1, fromInt(other_0));
1902
1798
  updateSendersCounterIfLower($this, tmp$ret$4);
1903
- var tmp0_2 = segment.i22_1;
1799
+ var tmp0_2 = segment.ly_1;
1904
1800
  // Inline function 'kotlin.Long.times' call
1905
1801
  var other_1 = get_SEGMENT_SIZE();
1906
- if (tmp0_2.r3(toLong(other_1)).a2($this.s2e()) < 0) {
1907
- segment.g2d();
1802
+ if (multiply(tmp0_2, fromInt(other_1)) < $this.h17()) {
1803
+ segment.z16();
1908
1804
  }
1909
1805
  tmp_1 = null;
1910
1806
  } else {
@@ -1916,7 +1812,7 @@ function findSegmentSend($this, id, startFrom) {
1916
1812
  return tmp_0;
1917
1813
  }
1918
1814
  function findSegmentReceive($this, id, startFrom) {
1919
- var tmp0 = $this.p2c_1;
1815
+ var tmp0 = $this.i16_1;
1920
1816
  var tmp6 = createSegmentFunction();
1921
1817
  var tmp$ret$2;
1922
1818
  $l$block_2: {
@@ -1933,23 +1829,23 @@ function findSegmentReceive($this, id, startFrom) {
1933
1829
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1934
1830
  while (true) {
1935
1831
  var cur = tmp0.kotlinx$atomicfu$value;
1936
- if (cur.i22_1.a2(tmp2.i22_1) >= 0) {
1832
+ if (cur.ly_1 >= tmp2.ly_1) {
1937
1833
  tmp$ret$0 = true;
1938
1834
  break $l$block_1;
1939
1835
  }
1940
- if (!tmp2.y2c()) {
1836
+ if (!tmp2.r16()) {
1941
1837
  tmp$ret$0 = false;
1942
1838
  break $l$block_1;
1943
1839
  }
1944
1840
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1945
- if (cur.z2c()) {
1946
- cur.z5();
1841
+ if (cur.s16()) {
1842
+ cur.f6();
1947
1843
  }
1948
1844
  tmp$ret$0 = true;
1949
1845
  break $l$block_1;
1950
1846
  }
1951
- if (tmp2.z2c()) {
1952
- tmp2.z5();
1847
+ if (tmp2.s16()) {
1848
+ tmp2.f6();
1953
1849
  }
1954
1850
  }
1955
1851
  tmp$ret$0 = Unit_instance;
@@ -1967,11 +1863,11 @@ function findSegmentReceive($this, id, startFrom) {
1967
1863
  var tmp_0;
1968
1864
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1969
1865
  completeCloseOrCancel($this);
1970
- var tmp0_0 = startFrom.i22_1;
1866
+ var tmp0_0 = startFrom.ly_1;
1971
1867
  // Inline function 'kotlin.Long.times' call
1972
1868
  var other = get_SEGMENT_SIZE();
1973
- if (tmp0_0.r3(toLong(other)).a2($this.m2d()) < 0) {
1974
- startFrom.g2d();
1869
+ if (multiply(tmp0_0, fromInt(other)) < $this.f17()) {
1870
+ startFrom.z16();
1975
1871
  }
1976
1872
  tmp_0 = null;
1977
1873
  } else {
@@ -1981,47 +1877,46 @@ function findSegmentReceive($this, id, startFrom) {
1981
1877
  var tmp0_1 = _get_bufferEndCounter__2d4hee($this);
1982
1878
  // Inline function 'kotlin.Long.div' call
1983
1879
  var other_0 = get_SEGMENT_SIZE();
1984
- var tmp$ret$4 = tmp0_1.s3(toLong(other_0));
1985
- tmp_1 = id.a2(tmp$ret$4) <= 0;
1880
+ tmp_1 = id <= divide(tmp0_1, fromInt(other_0));
1986
1881
  } else {
1987
1882
  tmp_1 = false;
1988
1883
  }
1989
1884
  if (tmp_1) {
1990
- var tmp0_2 = $this.q2c_1;
1885
+ var tmp0_2 = $this.j16_1;
1991
1886
  $l$block_5: {
1992
1887
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1993
1888
  while (true) {
1994
1889
  var cur_0 = tmp0_2.kotlinx$atomicfu$value;
1995
- if (cur_0.i22_1.a2(segment.i22_1) >= 0) {
1890
+ if (cur_0.ly_1 >= segment.ly_1) {
1996
1891
  break $l$block_5;
1997
1892
  }
1998
- if (!segment.y2c()) {
1893
+ if (!segment.r16()) {
1999
1894
  break $l$block_5;
2000
1895
  }
2001
1896
  if (tmp0_2.atomicfu$compareAndSet(cur_0, segment)) {
2002
- if (cur_0.z2c()) {
2003
- cur_0.z5();
1897
+ if (cur_0.s16()) {
1898
+ cur_0.f6();
2004
1899
  }
2005
1900
  break $l$block_5;
2006
1901
  }
2007
- if (segment.z2c()) {
2008
- segment.z5();
1902
+ if (segment.s16()) {
1903
+ segment.f6();
2009
1904
  }
2010
1905
  }
2011
1906
  }
2012
1907
  }
2013
1908
  var tmp_2;
2014
- if (segment.i22_1.a2(id) > 0) {
2015
- var tmp0_3 = segment.i22_1;
1909
+ if (segment.ly_1 > id) {
1910
+ var tmp0_3 = segment.ly_1;
2016
1911
  // Inline function 'kotlin.Long.times' call
2017
1912
  var other_1 = get_SEGMENT_SIZE();
2018
- var tmp$ret$7 = tmp0_3.r3(toLong(other_1));
1913
+ var tmp$ret$7 = multiply(tmp0_3, fromInt(other_1));
2019
1914
  updateReceiversCounterIfLower($this, tmp$ret$7);
2020
- var tmp0_4 = segment.i22_1;
1915
+ var tmp0_4 = segment.ly_1;
2021
1916
  // Inline function 'kotlin.Long.times' call
2022
1917
  var other_2 = get_SEGMENT_SIZE();
2023
- if (tmp0_4.r3(toLong(other_2)).a2($this.m2d()) < 0) {
2024
- segment.g2d();
1918
+ if (multiply(tmp0_4, fromInt(other_2)) < $this.f17()) {
1919
+ segment.z16();
2025
1920
  }
2026
1921
  tmp_2 = null;
2027
1922
  } else {
@@ -2033,7 +1928,7 @@ function findSegmentReceive($this, id, startFrom) {
2033
1928
  return tmp_0;
2034
1929
  }
2035
1930
  function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2036
- var tmp0 = $this.q2c_1;
1931
+ var tmp0 = $this.j16_1;
2037
1932
  var tmp6 = createSegmentFunction();
2038
1933
  var tmp$ret$2;
2039
1934
  $l$block_2: {
@@ -2050,23 +1945,23 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2050
1945
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
2051
1946
  while (true) {
2052
1947
  var cur = tmp0.kotlinx$atomicfu$value;
2053
- if (cur.i22_1.a2(tmp2.i22_1) >= 0) {
1948
+ if (cur.ly_1 >= tmp2.ly_1) {
2054
1949
  tmp$ret$0 = true;
2055
1950
  break $l$block_1;
2056
1951
  }
2057
- if (!tmp2.y2c()) {
1952
+ if (!tmp2.r16()) {
2058
1953
  tmp$ret$0 = false;
2059
1954
  break $l$block_1;
2060
1955
  }
2061
1956
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2062
- if (cur.z2c()) {
2063
- cur.z5();
1957
+ if (cur.s16()) {
1958
+ cur.f6();
2064
1959
  }
2065
1960
  tmp$ret$0 = true;
2066
1961
  break $l$block_1;
2067
1962
  }
2068
- if (tmp2.z2c()) {
2069
- tmp2.z5();
1963
+ if (tmp2.s16()) {
1964
+ tmp2.f6();
2070
1965
  }
2071
1966
  }
2072
1967
  tmp$ret$0 = Unit_instance;
@@ -2090,19 +1985,19 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2090
1985
  } else {
2091
1986
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
2092
1987
  var tmp_1;
2093
- if (segment.i22_1.a2(id) > 0) {
1988
+ if (segment.ly_1 > id) {
2094
1989
  // Inline function 'kotlin.Long.plus' call
2095
- var tmp_2 = currentBufferEndCounter.p3(toLong(1));
2096
- var tmp0_0 = segment.i22_1;
1990
+ var tmp_2 = add(currentBufferEndCounter, fromInt(1));
1991
+ var tmp0_0 = segment.ly_1;
2097
1992
  // Inline function 'kotlin.Long.times' call
2098
1993
  var other = get_SEGMENT_SIZE();
2099
- var tmp$ret$4 = tmp0_0.r3(toLong(other));
2100
- if ($this.m2c_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
2101
- var tmp0_1 = segment.i22_1;
1994
+ var tmp$ret$4 = multiply(tmp0_0, fromInt(other));
1995
+ if ($this.f16_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
1996
+ var tmp0_1 = segment.ly_1;
2102
1997
  // Inline function 'kotlin.Long.times' call
2103
1998
  var other_0 = get_SEGMENT_SIZE();
2104
- var tmp$ret$5 = tmp0_1.r3(toLong(other_0));
2105
- incCompletedExpandBufferAttempts($this, tmp$ret$5.q3(currentBufferEndCounter));
1999
+ var tmp$ret$5 = multiply(tmp0_1, fromInt(other_0));
2000
+ incCompletedExpandBufferAttempts($this, subtract(tmp$ret$5, currentBufferEndCounter));
2106
2001
  } else {
2107
2002
  incCompletedExpandBufferAttempts$default($this);
2108
2003
  }
@@ -2117,8 +2012,8 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2117
2012
  }
2118
2013
  function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2119
2014
  var segment = startFrom;
2120
- $l$loop: while (segment.i22_1.a2(id) < 0) {
2121
- var tmp0_elvis_lhs = segment.c2d();
2015
+ $l$loop: while (segment.ly_1 < id) {
2016
+ var tmp0_elvis_lhs = segment.v16();
2122
2017
  var tmp;
2123
2018
  if (tmp0_elvis_lhs == null) {
2124
2019
  break $l$loop;
@@ -2128,8 +2023,8 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2128
2023
  segment = tmp;
2129
2024
  }
2130
2025
  while (true) {
2131
- $l$loop_0: while (segment.x2c()) {
2132
- var tmp1_elvis_lhs = segment.c2d();
2026
+ $l$loop_0: while (segment.q16()) {
2027
+ var tmp1_elvis_lhs = segment.v16();
2133
2028
  var tmp_0;
2134
2029
  if (tmp1_elvis_lhs == null) {
2135
2030
  break $l$loop_0;
@@ -2138,30 +2033,30 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2138
2033
  }
2139
2034
  segment = tmp_0;
2140
2035
  }
2141
- var tmp0 = $this.q2c_1;
2036
+ var tmp0 = $this.j16_1;
2142
2037
  var tmp2 = segment;
2143
2038
  var tmp$ret$0;
2144
2039
  $l$block_1: {
2145
2040
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
2146
2041
  while (true) {
2147
2042
  var cur = tmp0.kotlinx$atomicfu$value;
2148
- if (cur.i22_1.a2(tmp2.i22_1) >= 0) {
2043
+ if (cur.ly_1 >= tmp2.ly_1) {
2149
2044
  tmp$ret$0 = true;
2150
2045
  break $l$block_1;
2151
2046
  }
2152
- if (!tmp2.y2c()) {
2047
+ if (!tmp2.r16()) {
2153
2048
  tmp$ret$0 = false;
2154
2049
  break $l$block_1;
2155
2050
  }
2156
2051
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2157
- if (cur.z2c()) {
2158
- cur.z5();
2052
+ if (cur.s16()) {
2053
+ cur.f6();
2159
2054
  }
2160
2055
  tmp$ret$0 = true;
2161
2056
  break $l$block_1;
2162
2057
  }
2163
- if (tmp2.z2c()) {
2164
- tmp2.z5();
2058
+ if (tmp2.s16()) {
2059
+ tmp2.f6();
2165
2060
  }
2166
2061
  }
2167
2062
  tmp$ret$0 = Unit_instance;
@@ -2171,28 +2066,28 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2171
2066
  }
2172
2067
  }
2173
2068
  function updateSendersCounterIfLower($this, value) {
2174
- var this_0 = $this.k2c_1;
2069
+ var this_0 = $this.d16_1;
2175
2070
  while (true) {
2176
2071
  var cur = this_0.kotlinx$atomicfu$value;
2177
2072
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2178
- var curCounter = cur.c4(new (Long())(-1, 268435455));
2179
- if (curCounter.a2(value) >= 0)
2073
+ var curCounter = cur & 1152921504606846975n;
2074
+ if (curCounter >= value)
2180
2075
  return Unit_instance;
2181
2076
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
2182
- var tmp$ret$1 = cur.a4(60).c2();
2077
+ var tmp$ret$1 = convertToInt(shiftRight(cur, 60));
2183
2078
  var update = constructSendersAndCloseStatus(curCounter, tmp$ret$1);
2184
- if ($this.k2c_1.atomicfu$compareAndSet(cur, update))
2079
+ if ($this.d16_1.atomicfu$compareAndSet(cur, update))
2185
2080
  return Unit_instance;
2186
2081
  }
2187
2082
  return Unit_instance;
2188
2083
  }
2189
2084
  function updateReceiversCounterIfLower($this, value) {
2190
- var this_0 = $this.l2c_1;
2085
+ var this_0 = $this.e16_1;
2191
2086
  while (true) {
2192
2087
  var cur = this_0.kotlinx$atomicfu$value;
2193
- if (cur.a2(value) >= 0)
2088
+ if (cur >= value)
2194
2089
  return Unit_instance;
2195
- if ($this.l2c_1.atomicfu$compareAndSet(cur, value))
2090
+ if ($this.e16_1.atomicfu$compareAndSet(cur, value))
2196
2091
  return Unit_instance;
2197
2092
  }
2198
2093
  return Unit_instance;
@@ -2201,7 +2096,7 @@ function bindCancellationFunResult($this, _this__u8e3s4) {
2201
2096
  return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
2202
2097
  }
2203
2098
  function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
2204
- callUndeliveredElement(ensureNotNull($this.j2c_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
2099
+ callUndeliveredElement(ensureNotNull($this.c16_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
2205
2100
  }
2206
2101
  function bindCancellationFun($this, _this__u8e3s4, element) {
2207
2102
  return BufferedChannel$bindCancellationFun$lambda(_this__u8e3s4, element);
@@ -2210,40 +2105,38 @@ function bindCancellationFun_0($this, _this__u8e3s4) {
2210
2105
  return BufferedChannel$onCancellationImplDoNotCall$ref($this);
2211
2106
  }
2212
2107
  function onCancellationImplDoNotCall($this, cause, element, context) {
2213
- callUndeliveredElement(ensureNotNull($this.j2c_1), element, context);
2108
+ callUndeliveredElement(ensureNotNull($this.c16_1), element, context);
2214
2109
  }
2215
2110
  function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda($element, this$0, $select) {
2216
- return function (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
2111
+ return (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) => {
2217
2112
  var tmp;
2218
2113
  if (!($element === get_CHANNEL_CLOSED())) {
2219
- callUndeliveredElement(this$0.j2c_1, ($element == null ? true : !($element == null)) ? $element : THROW_CCE(), $select.gc());
2114
+ callUndeliveredElement(this$0.c16_1, ($element == null ? true : !($element == null)) ? $element : THROW_CCE(), $select.zb());
2220
2115
  tmp = Unit_instance;
2221
2116
  }
2222
2117
  return Unit_instance;
2223
2118
  };
2224
2119
  }
2225
2120
  function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this$0) {
2226
- return function (select, _unused_var__etf5q3, element) {
2227
- return BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda(element, this$0, select);
2228
- };
2121
+ return (select, _unused_var__etf5q3, element) => BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda(element, this$0, select);
2229
2122
  }
2230
2123
  function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(p0) {
2231
- var l = function (_this__u8e3s4, p0_0, p1) {
2124
+ var l = (_this__u8e3s4, p0_0, p1) => {
2232
2125
  var tmp0 = p0;
2233
- onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.t2f_1, p1);
2126
+ onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.j18_1, p1);
2234
2127
  return Unit_instance;
2235
2128
  };
2236
2129
  l.callableName = 'onCancellationChannelResultImplDoNotCall';
2237
2130
  return l;
2238
2131
  }
2239
2132
  function BufferedChannel$bindCancellationFun$lambda($this_bindCancellationFun, $element) {
2240
- return function (_unused_var__etf5q3, _unused_var__etf5q3_0, context) {
2133
+ return (_unused_var__etf5q3, _unused_var__etf5q3_0, context) => {
2241
2134
  callUndeliveredElement($this_bindCancellationFun, $element, context);
2242
2135
  return Unit_instance;
2243
2136
  };
2244
2137
  }
2245
2138
  function BufferedChannel$onCancellationImplDoNotCall$ref(p0) {
2246
- var l = function (_this__u8e3s4, p0_0, p1) {
2139
+ var l = (_this__u8e3s4, p0_0, p1) => {
2247
2140
  var tmp0 = p0;
2248
2141
  onCancellationImplDoNotCall(tmp0, _this__u8e3s4, p0_0, p1);
2249
2142
  return Unit_instance;
@@ -2251,406 +2144,26 @@ function BufferedChannel$onCancellationImplDoNotCall$ref(p0) {
2251
2144
  l.callableName = 'onCancellationImplDoNotCall';
2252
2145
  return l;
2253
2146
  }
2254
- var $sendCOROUTINE$Class;
2255
- function $sendCOROUTINE$() {
2256
- if ($sendCOROUTINE$Class === VOID) {
2257
- class $ extends CoroutineImpl() {
2258
- constructor(_this__u8e3s4, element, resultContinuation) {
2259
- super(resultContinuation);
2260
- this.c2g_1 = _this__u8e3s4;
2261
- this.d2g_1 = element;
2262
- }
2263
- ic() {
2264
- var suspendResult = this.cc_1;
2265
- $sm: do
2266
- try {
2267
- var tmp = this.ac_1;
2268
- switch (tmp) {
2269
- case 0:
2270
- this.bc_1 = 11;
2271
- var tmp_0 = this;
2272
- tmp_0.e2g_1 = this.c2g_1;
2273
- var tmp_1 = this;
2274
- tmp_1.f2g_1 = this.d2g_1;
2275
- var tmp_2 = this;
2276
- tmp_2.g2g_1 = null;
2277
- this.ac_1 = 1;
2278
- continue $sm;
2279
- case 1:
2280
- this.i2g_1 = this.e2g_1;
2281
- this.j2g_1 = this.f2g_1;
2282
- this.k2g_1 = this.g2g_1;
2283
- this.l2g_1 = this.i2g_1.o2c_1.kotlinx$atomicfu$value;
2284
- this.ac_1 = 2;
2285
- continue $sm;
2286
- case 2:
2287
- if (!true) {
2288
- this.ac_1 = 12;
2289
- continue $sm;
2290
- }
2291
-
2292
- this.m2g_1 = this.i2g_1.k2c_1.atomicfu$getAndIncrement$long();
2293
- var tmp_3 = this;
2294
- tmp_3.n2g_1 = this.m2g_1.c4(new (Long())(-1, 268435455));
2295
- this.o2g_1 = _get_isClosedForSend0__kxgf9m(this.i2g_1, this.m2g_1);
2296
- var tmp_4 = this;
2297
- var tmp0 = this.n2g_1;
2298
- var other = get_SEGMENT_SIZE();
2299
- tmp_4.p2g_1 = tmp0.s3(toLong(other));
2300
- var tmp_5 = this;
2301
- var tmp0_0 = this.n2g_1;
2302
- var other_0 = get_SEGMENT_SIZE();
2303
- tmp_5.q2g_1 = tmp0_0.t3(toLong(other_0)).c2();
2304
- if (!this.l2g_1.i22_1.equals(this.p2g_1)) {
2305
- this.r2g_1 = findSegmentSend(this.i2g_1, this.p2g_1, this.l2g_1);
2306
- if (this.r2g_1 == null) {
2307
- if (this.o2g_1) {
2308
- this.ac_1 = 10;
2309
- suspendResult = onClosedSend(this.c2g_1, this.d2g_1, this);
2310
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2311
- return suspendResult;
2312
- }
2313
- continue $sm;
2314
- } else {
2315
- this.ac_1 = 2;
2316
- continue $sm;
2317
- }
2318
- } else {
2319
- this.s2g_1 = this.r2g_1;
2320
- this.ac_1 = 3;
2321
- continue $sm;
2322
- }
2323
- } else {
2324
- this.ac_1 = 4;
2325
- continue $sm;
2326
- }
2327
-
2328
- case 3:
2329
- this.l2g_1 = this.s2g_1;
2330
- this.ac_1 = 4;
2331
- continue $sm;
2332
- case 4:
2333
- this.t2g_1 = updateCellSend(this.i2g_1, this.l2g_1, this.q2g_1, this.j2g_1, this.n2g_1, this.k2g_1, this.o2g_1);
2334
- if (this.t2g_1 === 0) {
2335
- this.l2g_1.g2d();
2336
- var tmp_6 = this;
2337
- tmp_6.h2g_1 = Unit_instance;
2338
- this.ac_1 = 13;
2339
- continue $sm;
2340
- } else {
2341
- if (this.t2g_1 === 1) {
2342
- var tmp_7 = this;
2343
- tmp_7.h2g_1 = Unit_instance;
2344
- this.ac_1 = 13;
2345
- continue $sm;
2346
- } else {
2347
- if (this.t2g_1 === 2) {
2348
- if (this.o2g_1) {
2349
- this.l2g_1.w2c();
2350
- this.ac_1 = 9;
2351
- suspendResult = onClosedSend(this.c2g_1, this.d2g_1, this);
2352
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2353
- return suspendResult;
2354
- }
2355
- continue $sm;
2356
- } else {
2357
- this.ac_1 = 8;
2358
- continue $sm;
2359
- }
2360
- } else {
2361
- if (this.t2g_1 === 4) {
2362
- if (this.n2g_1.a2(this.i2g_1.s2e()) < 0) {
2363
- this.l2g_1.g2d();
2364
- }
2365
- this.ac_1 = 7;
2366
- suspendResult = onClosedSend(this.c2g_1, this.d2g_1, this);
2367
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2368
- return suspendResult;
2369
- }
2370
- continue $sm;
2371
- } else {
2372
- if (this.t2g_1 === 5) {
2373
- this.l2g_1.g2d();
2374
- this.ac_1 = 2;
2375
- continue $sm;
2376
- } else {
2377
- if (this.t2g_1 === 3) {
2378
- var tmp_8 = this;
2379
- tmp_8.u2g_1 = this.l2g_1;
2380
- var tmp_9 = this;
2381
- tmp_9.v2g_1 = this.q2g_1;
2382
- var tmp_10 = this;
2383
- tmp_10.w2g_1 = this.j2g_1;
2384
- var tmp_11 = this;
2385
- tmp_11.x2g_1 = this.n2g_1;
2386
- this.y2g_1 = this.u2g_1;
2387
- this.z2g_1 = this.v2g_1;
2388
- this.a2h_1 = this.w2g_1;
2389
- this.b2h_1 = this.x2g_1;
2390
- this.ac_1 = 6;
2391
- suspendResult = sendOnNoWaiterSuspend(this.c2g_1, this.y2g_1, this.z2g_1, this.a2h_1, this.b2h_1, this);
2392
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2393
- return suspendResult;
2394
- }
2395
- continue $sm;
2396
- } else {
2397
- this.ac_1 = 5;
2398
- continue $sm;
2399
- }
2400
- }
2401
- }
2402
- }
2403
- }
2404
- }
2405
-
2406
- case 5:
2407
- this.ac_1 = 2;
2408
- continue $sm;
2409
- case 6:
2410
- var tmp_12 = this;
2411
- tmp_12.h2g_1 = Unit_instance;
2412
- this.ac_1 = 13;
2413
- continue $sm;
2414
- case 7:
2415
- var tmp_13 = this;
2416
- tmp_13.h2g_1 = Unit_instance;
2417
- this.ac_1 = 13;
2418
- continue $sm;
2419
- case 8:
2420
- var tmp_14 = this.k2g_1;
2421
- var tmp2_safe_receiver = (!(tmp_14 == null) ? isInterface(tmp_14, Waiter()) : false) ? tmp_14 : null;
2422
- if (tmp2_safe_receiver == null)
2423
- null;
2424
- else {
2425
- prepareSenderForSuspension(this.i2g_1, tmp2_safe_receiver, this.l2g_1, this.q2g_1);
2426
- }
2427
-
2428
- var tmp_15 = this;
2429
- this.l2g_1;
2430
- this.q2g_1;
2431
- tmp_15.h2g_1 = Unit_instance;
2432
- this.ac_1 = 13;
2433
- continue $sm;
2434
- case 9:
2435
- var tmp_16 = this;
2436
- tmp_16.h2g_1 = Unit_instance;
2437
- this.ac_1 = 13;
2438
- continue $sm;
2439
- case 10:
2440
- var tmp_17 = this;
2441
- tmp_17.h2g_1 = Unit_instance;
2442
- this.ac_1 = 13;
2443
- continue $sm;
2444
- case 11:
2445
- throw this.dc_1;
2446
- case 12:
2447
- if (false) {
2448
- this.ac_1 = 1;
2449
- continue $sm;
2450
- }
2451
-
2452
- this.ac_1 = 13;
2453
- continue $sm;
2454
- case 13:
2455
- return Unit_instance;
2456
- }
2457
- } catch ($p) {
2458
- var e = $p;
2459
- if (this.bc_1 === 11) {
2460
- throw e;
2461
- } else {
2462
- this.ac_1 = this.bc_1;
2463
- this.dc_1 = e;
2464
- }
2465
- }
2466
- while (true);
2467
- }
2468
- }
2469
- initMetadataForCoroutine($);
2470
- $sendCOROUTINE$Class = $;
2471
- }
2472
- return $sendCOROUTINE$Class;
2473
- }
2474
- var $receiveCOROUTINE$Class;
2475
- function $receiveCOROUTINE$() {
2476
- if ($receiveCOROUTINE$Class === VOID) {
2477
- class $ extends CoroutineImpl() {
2478
- constructor(_this__u8e3s4, resultContinuation) {
2479
- super(resultContinuation);
2480
- this.k2h_1 = _this__u8e3s4;
2481
- }
2482
- ic() {
2483
- var suspendResult = this.cc_1;
2484
- $sm: do
2485
- try {
2486
- var tmp = this.ac_1;
2487
- switch (tmp) {
2488
- case 0:
2489
- this.bc_1 = 8;
2490
- var tmp_0 = this;
2491
- tmp_0.l2h_1 = this.k2h_1;
2492
- var tmp_1 = this;
2493
- tmp_1.m2h_1 = null;
2494
- this.ac_1 = 1;
2495
- continue $sm;
2496
- case 1:
2497
- this.o2h_1 = this.l2h_1;
2498
- this.p2h_1 = this.m2h_1;
2499
- this.q2h_1 = this.o2h_1.p2c_1.kotlinx$atomicfu$value;
2500
- this.ac_1 = 2;
2501
- continue $sm;
2502
- case 2:
2503
- if (!true) {
2504
- this.ac_1 = 9;
2505
- continue $sm;
2506
- }
2507
-
2508
- if (this.o2h_1.n2d()) {
2509
- var tmp_2 = this;
2510
- throw recoverStackTrace(_get_receiveException__foorc1(this.k2h_1));
2511
- } else {
2512
- this.ac_1 = 3;
2513
- continue $sm;
2514
- }
2515
-
2516
- case 3:
2517
- this.r2h_1 = this.o2h_1.l2c_1.atomicfu$getAndIncrement$long();
2518
- var tmp_3 = this;
2519
- var tmp0 = this.r2h_1;
2520
- var other = get_SEGMENT_SIZE();
2521
- tmp_3.s2h_1 = tmp0.s3(toLong(other));
2522
- var tmp_4 = this;
2523
- var tmp0_0 = this.r2h_1;
2524
- var other_0 = get_SEGMENT_SIZE();
2525
- tmp_4.t2h_1 = tmp0_0.t3(toLong(other_0)).c2();
2526
- if (!this.q2h_1.i22_1.equals(this.s2h_1)) {
2527
- this.u2h_1 = findSegmentReceive(this.o2h_1, this.s2h_1, this.q2h_1);
2528
- if (this.u2h_1 == null) {
2529
- this.ac_1 = 2;
2530
- var tmp_5 = this;
2531
- continue $sm;
2532
- } else {
2533
- this.v2h_1 = this.u2h_1;
2534
- this.ac_1 = 4;
2535
- continue $sm;
2536
- }
2537
- } else {
2538
- this.ac_1 = 5;
2539
- continue $sm;
2540
- }
2541
-
2542
- case 4:
2543
- this.q2h_1 = this.v2h_1;
2544
- this.ac_1 = 5;
2545
- continue $sm;
2546
- case 5:
2547
- this.w2h_1 = updateCellReceive(this.o2h_1, this.q2h_1, this.t2h_1, this.r2h_1, this.p2h_1);
2548
- if (this.w2h_1 === get_SUSPEND()) {
2549
- var tmp_6 = this;
2550
- var tmp_7 = this.p2h_1;
2551
- var tmp1_safe_receiver = (!(tmp_7 == null) ? isInterface(tmp_7, Waiter()) : false) ? tmp_7 : null;
2552
- if (tmp1_safe_receiver == null)
2553
- null;
2554
- else {
2555
- prepareReceiverForSuspension(this.o2h_1, tmp1_safe_receiver, this.q2h_1, this.t2h_1);
2556
- }
2557
- this.q2h_1;
2558
- this.t2h_1;
2559
- this.r2h_1;
2560
- var message = 'unexpected';
2561
- throw IllegalStateException().o4(toString_0(message));
2562
- } else {
2563
- if (this.w2h_1 === get_FAILED()) {
2564
- if (this.r2h_1.a2(this.o2h_1.m2d()) < 0) {
2565
- this.q2h_1.g2d();
2566
- }
2567
- this.ac_1 = 2;
2568
- var tmp_8 = this;
2569
- continue $sm;
2570
- } else {
2571
- if (this.w2h_1 === get_SUSPEND_NO_WAITER()) {
2572
- var tmp_9 = this;
2573
- tmp_9.y2h_1 = this.q2h_1;
2574
- var tmp_10 = this;
2575
- tmp_10.z2h_1 = this.t2h_1;
2576
- var tmp_11 = this;
2577
- tmp_11.a2i_1 = this.r2h_1;
2578
- this.b2i_1 = this.y2h_1;
2579
- this.c2i_1 = this.z2h_1;
2580
- this.d2i_1 = this.a2i_1;
2581
- this.ac_1 = 6;
2582
- suspendResult = receiveOnNoWaiterSuspend(this.k2h_1, this.b2i_1, this.c2i_1, this.d2i_1, this);
2583
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2584
- return suspendResult;
2585
- }
2586
- continue $sm;
2587
- } else {
2588
- var tmp_12 = this;
2589
- this.q2h_1.g2d();
2590
- var tmp_13 = this.w2h_1;
2591
- return (tmp_13 == null ? true : !(tmp_13 == null)) ? tmp_13 : THROW_CCE();
2592
- }
2593
- }
2594
- }
2595
-
2596
- case 6:
2597
- this.x2h_1 = suspendResult;
2598
- this.ac_1 = 7;
2599
- continue $sm;
2600
- case 7:
2601
- this.n2h_1 = this.x2h_1;
2602
- this.ac_1 = 10;
2603
- continue $sm;
2604
- case 8:
2605
- throw this.dc_1;
2606
- case 9:
2607
- if (false) {
2608
- this.ac_1 = 1;
2609
- continue $sm;
2610
- }
2611
-
2612
- this.ac_1 = 10;
2613
- continue $sm;
2614
- case 10:
2615
- return this.n2h_1;
2616
- }
2617
- } catch ($p) {
2618
- var e = $p;
2619
- if (this.bc_1 === 8) {
2620
- throw e;
2621
- } else {
2622
- this.ac_1 = this.bc_1;
2623
- this.dc_1 = e;
2624
- }
2625
- }
2626
- while (true);
2627
- }
2628
- }
2629
- initMetadataForCoroutine($);
2630
- $receiveCOROUTINE$Class = $;
2631
- }
2632
- return $receiveCOROUTINE$Class;
2633
- }
2634
2147
  var BufferedChannelClass;
2635
2148
  function BufferedChannel() {
2636
2149
  if (BufferedChannelClass === VOID) {
2637
2150
  class $ {
2638
2151
  constructor(capacity, onUndeliveredElement) {
2639
2152
  onUndeliveredElement = onUndeliveredElement === VOID ? null : onUndeliveredElement;
2640
- this.i2c_1 = capacity;
2641
- this.j2c_1 = onUndeliveredElement;
2153
+ this.b16_1 = capacity;
2154
+ this.c16_1 = onUndeliveredElement;
2642
2155
  // Inline function 'kotlin.require' call
2643
- if (!(this.i2c_1 >= 0)) {
2644
- var message = 'Invalid channel capacity: ' + this.i2c_1 + ', should be >=0';
2645
- throw IllegalArgumentException().u(toString_0(message));
2156
+ if (!(this.b16_1 >= 0)) {
2157
+ var message = 'Invalid channel capacity: ' + this.b16_1 + ', should be >=0';
2158
+ throw IllegalArgumentException().j1(toString_0(message));
2646
2159
  }
2647
- this.k2c_1 = atomic$long$1(new (Long())(0, 0));
2648
- this.l2c_1 = atomic$long$1(new (Long())(0, 0));
2649
- this.m2c_1 = atomic$long$1(initialBufferEnd(this.i2c_1));
2650
- this.n2c_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
2651
- var firstSegment = new (ChannelSegment())(new (Long())(0, 0), null, this, 3);
2652
- this.o2c_1 = atomic$ref$1(firstSegment);
2653
- this.p2c_1 = atomic$ref$1(firstSegment);
2160
+ this.d16_1 = atomic$long$1(0n);
2161
+ this.e16_1 = atomic$long$1(0n);
2162
+ this.f16_1 = atomic$long$1(initialBufferEnd(this.b16_1));
2163
+ this.g16_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
2164
+ var firstSegment = new (ChannelSegment())(0n, null, this, 3);
2165
+ this.h16_1 = atomic$ref$1(firstSegment);
2166
+ this.i16_1 = atomic$ref$1(firstSegment);
2654
2167
  var tmp = this;
2655
2168
  var tmp_0;
2656
2169
  if (_get_isRendezvousOrUnlimited__3mdufi(this)) {
@@ -2659,58 +2172,56 @@ function BufferedChannel() {
2659
2172
  } else {
2660
2173
  tmp_0 = firstSegment;
2661
2174
  }
2662
- tmp.q2c_1 = atomic$ref$1(tmp_0);
2175
+ tmp.j16_1 = atomic$ref$1(tmp_0);
2663
2176
  var tmp_2 = this;
2664
2177
  var tmp_3;
2665
- if (this.j2c_1 == null) {
2178
+ if (this.c16_1 == null) {
2666
2179
  tmp_3 = null;
2667
2180
  } else {
2668
2181
  // Inline function 'kotlin.let' call
2669
2182
  tmp_3 = BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this);
2670
2183
  }
2671
- tmp_2.r2c_1 = tmp_3;
2672
- this.s2c_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2673
- this.t2c_1 = atomic$ref$1(null);
2184
+ tmp_2.k16_1 = tmp_3;
2185
+ this.l16_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2186
+ this.m16_1 = atomic$ref$1(null);
2674
2187
  }
2675
- m2d() {
2188
+ f17() {
2676
2189
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2677
- return this.k2c_1.kotlinx$atomicfu$value.c4(new (Long())(-1, 268435455));
2190
+ return this.d16_1.kotlinx$atomicfu$value & 1152921504606846975n;
2678
2191
  }
2679
- s2e() {
2680
- return this.l2c_1.kotlinx$atomicfu$value;
2192
+ h17() {
2193
+ return this.e16_1.kotlinx$atomicfu$value;
2681
2194
  }
2682
- e2i(element, $completion) {
2683
- var tmp = new ($sendCOROUTINE$())(this, element, $completion);
2684
- tmp.cc_1 = Unit_instance;
2685
- tmp.dc_1 = null;
2686
- return tmp.ic();
2195
+ k18(element, $completion) {
2196
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_send__qhx0g0.bind(VOID, this, element), $completion);
2687
2197
  }
2688
- f2i(element) {
2689
- if (shouldSendSuspend0(this, this.k2c_1.kotlinx$atomicfu$value))
2690
- return Companion_getInstance().g2i();
2198
+ l18(element) {
2199
+ if (shouldSendSuspend0(this, this.d16_1.kotlinx$atomicfu$value))
2200
+ return Companion_getInstance().m18();
2691
2201
  var tmp4 = get_INTERRUPTED_SEND();
2692
2202
  var tmp$ret$4;
2693
2203
  $l$block_4: {
2694
2204
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2695
- var segment = this.o2c_1.kotlinx$atomicfu$value;
2205
+ var segment = this.h16_1.kotlinx$atomicfu$value;
2696
2206
  $l$loop_0: while (true) {
2697
- var sendersAndCloseStatusCur = this.k2c_1.atomicfu$getAndIncrement$long();
2207
+ var sendersAndCloseStatusCur = this.d16_1.atomicfu$getAndIncrement$long();
2698
2208
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2699
- var s = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
2209
+ var s = sendersAndCloseStatusCur & 1152921504606846975n;
2700
2210
  var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2701
2211
  // Inline function 'kotlin.Long.div' call
2702
2212
  var other = get_SEGMENT_SIZE();
2703
- var id = s.s3(toLong(other));
2213
+ var id = divide(s, fromInt(other));
2704
2214
  // Inline function 'kotlin.Long.rem' call
2705
2215
  var other_0 = get_SEGMENT_SIZE();
2706
- var i = s.t3(toLong(other_0)).c2();
2707
- if (!segment.i22_1.equals(id)) {
2216
+ var tmp$ret$2 = modulo(s, fromInt(other_0));
2217
+ var i = convertToInt(tmp$ret$2);
2218
+ if (!(segment.ly_1 === id)) {
2708
2219
  var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2709
2220
  var tmp;
2710
2221
  if (tmp0_elvis_lhs == null) {
2711
2222
  var tmp_0;
2712
2223
  if (closed) {
2713
- tmp$ret$4 = Companion_getInstance().q2f(this.r2e());
2224
+ tmp$ret$4 = Companion_getInstance().g18(this.i17());
2714
2225
  break $l$block_4;
2715
2226
  } else {
2716
2227
  continue $l$loop_0;
@@ -2722,16 +2233,16 @@ function BufferedChannel() {
2722
2233
  }
2723
2234
  switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
2724
2235
  case 0:
2725
- segment.g2d();
2726
- tmp$ret$4 = Companion_getInstance().x2e(Unit_instance);
2236
+ segment.z16();
2237
+ tmp$ret$4 = Companion_getInstance().n17(Unit_instance);
2727
2238
  break $l$block_4;
2728
2239
  case 1:
2729
- tmp$ret$4 = Companion_getInstance().x2e(Unit_instance);
2240
+ tmp$ret$4 = Companion_getInstance().n17(Unit_instance);
2730
2241
  break $l$block_4;
2731
2242
  case 2:
2732
2243
  if (closed) {
2733
- segment.w2c();
2734
- tmp$ret$4 = Companion_getInstance().q2f(this.r2e());
2244
+ segment.p16();
2245
+ tmp$ret$4 = Companion_getInstance().g18(this.i17());
2735
2246
  break $l$block_4;
2736
2247
  }
2737
2248
 
@@ -2742,50 +2253,51 @@ function BufferedChannel() {
2742
2253
  prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2743
2254
  }
2744
2255
 
2745
- segment.w2c();
2746
- tmp$ret$4 = Companion_getInstance().g2i();
2256
+ segment.p16();
2257
+ tmp$ret$4 = Companion_getInstance().m18();
2747
2258
  break $l$block_4;
2748
2259
  case 4:
2749
- if (s.a2(this.s2e()) < 0) {
2750
- segment.g2d();
2260
+ if (s < this.h17()) {
2261
+ segment.z16();
2751
2262
  }
2752
2263
 
2753
- tmp$ret$4 = Companion_getInstance().q2f(this.r2e());
2264
+ tmp$ret$4 = Companion_getInstance().g18(this.i17());
2754
2265
  break $l$block_4;
2755
2266
  case 5:
2756
- segment.g2d();
2267
+ segment.z16();
2757
2268
  continue $l$loop_0;
2758
2269
  case 3:
2759
2270
  var message = 'unexpected';
2760
- throw IllegalStateException().o4(toString_0(message));
2271
+ throw IllegalStateException().x4(toString_0(message));
2761
2272
  }
2762
2273
  }
2763
2274
  }
2764
2275
  return tmp$ret$4;
2765
2276
  }
2766
- h2i(element) {
2277
+ n18(element) {
2767
2278
  var tmp$ret$3;
2768
2279
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2769
2280
  var waiter = get_BUFFERED();
2770
- var segment = this.o2c_1.kotlinx$atomicfu$value;
2281
+ var segment = this.h16_1.kotlinx$atomicfu$value;
2771
2282
  $l$loop_0: while (true) {
2772
- var sendersAndCloseStatusCur = this.k2c_1.atomicfu$getAndIncrement$long();
2283
+ var sendersAndCloseStatusCur = this.d16_1.atomicfu$getAndIncrement$long();
2773
2284
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2774
- var s = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
2285
+ var s = sendersAndCloseStatusCur & 1152921504606846975n;
2775
2286
  var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2776
2287
  // Inline function 'kotlin.Long.div' call
2777
2288
  var other = get_SEGMENT_SIZE();
2778
- var id = s.s3(toLong(other));
2289
+ var id = divide(s, fromInt(other));
2779
2290
  // Inline function 'kotlin.Long.rem' call
2780
2291
  var other_0 = get_SEGMENT_SIZE();
2781
- var i = s.t3(toLong(other_0)).c2();
2782
- if (!segment.i22_1.equals(id)) {
2292
+ var tmp$ret$2 = modulo(s, fromInt(other_0));
2293
+ var i = convertToInt(tmp$ret$2);
2294
+ if (!(segment.ly_1 === id)) {
2783
2295
  var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2784
2296
  var tmp;
2785
2297
  if (tmp0_elvis_lhs == null) {
2786
2298
  var tmp_0;
2787
2299
  if (closed) {
2788
- return Companion_getInstance().q2f(this.r2e());
2300
+ return Companion_getInstance().g18(this.i17());
2789
2301
  } else {
2790
2302
  continue $l$loop_0;
2791
2303
  }
@@ -2796,14 +2308,14 @@ function BufferedChannel() {
2796
2308
  }
2797
2309
  switch (updateCellSend(this, segment, i, element, s, waiter, closed)) {
2798
2310
  case 0:
2799
- segment.g2d();
2800
- return Companion_getInstance().x2e(Unit_instance);
2311
+ segment.z16();
2312
+ return Companion_getInstance().n17(Unit_instance);
2801
2313
  case 1:
2802
- return Companion_getInstance().x2e(Unit_instance);
2314
+ return Companion_getInstance().n17(Unit_instance);
2803
2315
  case 2:
2804
2316
  if (closed) {
2805
- segment.w2c();
2806
- return Companion_getInstance().q2f(this.r2e());
2317
+ segment.p16();
2318
+ return Companion_getInstance().g18(this.i17());
2807
2319
  }
2808
2320
 
2809
2321
  var tmp2_safe_receiver = (!(waiter == null) ? isInterface(waiter, Waiter()) : false) ? waiter : null;
@@ -2813,134 +2325,60 @@ function BufferedChannel() {
2813
2325
  prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2814
2326
  }
2815
2327
 
2816
- var tmp0 = segment.i22_1;
2328
+ var tmp0 = segment.ly_1;
2817
2329
  // Inline function 'kotlin.Long.times' call
2818
2330
 
2819
2331
  var other_1 = get_SEGMENT_SIZE();
2820
2332
  // Inline function 'kotlin.Long.plus' call
2821
2333
 
2822
- var tmp$ret$5 = tmp0.r3(toLong(other_1)).p3(toLong(i));
2823
- this.o2f(tmp$ret$5);
2824
- return Companion_getInstance().x2e(Unit_instance);
2334
+ var this_0 = multiply(tmp0, fromInt(other_1));
2335
+ var tmp$ret$5 = add(this_0, fromInt(i));
2336
+ this.e18(tmp$ret$5);
2337
+ return Companion_getInstance().n17(Unit_instance);
2825
2338
  case 4:
2826
- if (s.a2(this.s2e()) < 0) {
2827
- segment.g2d();
2339
+ if (s < this.h17()) {
2340
+ segment.z16();
2828
2341
  }
2829
2342
 
2830
- return Companion_getInstance().q2f(this.r2e());
2343
+ return Companion_getInstance().g18(this.i17());
2831
2344
  case 5:
2832
- segment.g2d();
2345
+ segment.z16();
2833
2346
  continue $l$loop_0;
2834
2347
  case 3:
2835
2348
  var message = 'unexpected';
2836
- throw IllegalStateException().o4(toString_0(message));
2349
+ throw IllegalStateException().x4(toString_0(message));
2837
2350
  }
2838
2351
  }
2839
2352
  return tmp$ret$3;
2840
2353
  }
2841
- a2f() {
2842
- }
2843
- t2e() {
2354
+ q17() {
2844
2355
  }
2845
- i2i($completion) {
2846
- var tmp = new ($receiveCOROUTINE$())(this, $completion);
2847
- tmp.cc_1 = Unit_instance;
2848
- tmp.dc_1 = null;
2849
- return tmp.ic();
2356
+ j17() {
2850
2357
  }
2851
- j2i() {
2852
- var r = this.l2c_1.kotlinx$atomicfu$value;
2853
- var sendersAndCloseStatusCur = this.k2c_1.kotlinx$atomicfu$value;
2854
- if (_get_isClosedForReceive0__f7qknl(this, sendersAndCloseStatusCur)) {
2855
- return Companion_getInstance().q2f(this.l2d());
2856
- }
2857
- // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2858
- var s = sendersAndCloseStatusCur.c4(new (Long())(-1, 268435455));
2859
- if (r.a2(s) >= 0)
2860
- return Companion_getInstance().g2i();
2861
- var tmp2 = get_INTERRUPTED_RCV();
2862
- var tmp$ret$2;
2863
- $l$block_0: {
2864
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
2865
- var segment = this.p2c_1.kotlinx$atomicfu$value;
2866
- $l$loop_0: while (true) {
2867
- if (this.n2d()) {
2868
- tmp$ret$2 = Companion_getInstance().q2f(this.l2d());
2869
- break $l$block_0;
2870
- }
2871
- var r_0 = this.l2c_1.atomicfu$getAndIncrement$long();
2872
- // Inline function 'kotlin.Long.div' call
2873
- var other = get_SEGMENT_SIZE();
2874
- var id = r_0.s3(toLong(other));
2875
- // Inline function 'kotlin.Long.rem' call
2876
- var other_0 = get_SEGMENT_SIZE();
2877
- var i = r_0.t3(toLong(other_0)).c2();
2878
- if (!segment.i22_1.equals(id)) {
2879
- var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2880
- var tmp;
2881
- if (tmp0_elvis_lhs == null) {
2882
- continue $l$loop_0;
2883
- } else {
2884
- tmp = tmp0_elvis_lhs;
2885
- }
2886
- segment = tmp;
2887
- }
2888
- var updCellResult = updateCellReceive(this, segment, i, r_0, tmp2);
2889
- var tmp_0;
2890
- if (updCellResult === get_SUSPEND()) {
2891
- var tmp1_safe_receiver = (!(tmp2 == null) ? isInterface(tmp2, Waiter()) : false) ? tmp2 : null;
2892
- if (tmp1_safe_receiver == null)
2893
- null;
2894
- else {
2895
- prepareReceiverForSuspension(this, tmp1_safe_receiver, segment, i);
2896
- }
2897
- var segm = segment;
2898
- this.v2c(r_0);
2899
- segm.w2c();
2900
- tmp_0 = new (ChannelResult())(Companion_getInstance().g2i());
2901
- } else if (updCellResult === get_FAILED()) {
2902
- if (r_0.a2(this.m2d()) < 0) {
2903
- segment.g2d();
2904
- }
2905
- continue $l$loop_0;
2906
- } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
2907
- var message = 'unexpected';
2908
- throw IllegalStateException().o4(toString_0(message));
2909
- } else {
2910
- segment.g2d();
2911
- var element = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
2912
- tmp_0 = new (ChannelResult())(Companion_getInstance().x2e(element));
2913
- }
2914
- tmp$ret$2 = tmp_0.t2f_1;
2915
- break $l$block_0;
2916
- }
2917
- }
2918
- return tmp$ret$2;
2919
- }
2920
- o2f(globalCellIndex) {
2358
+ e18(globalCellIndex) {
2921
2359
  // Inline function 'kotlinx.coroutines.assert' call
2922
- var segment = this.p2c_1.kotlinx$atomicfu$value;
2360
+ var segment = this.i16_1.kotlinx$atomicfu$value;
2923
2361
  $l$loop_0: while (true) {
2924
- var r = this.l2c_1.kotlinx$atomicfu$value;
2362
+ var r = this.e16_1.kotlinx$atomicfu$value;
2925
2363
  // Inline function 'kotlin.Long.plus' call
2926
- var other = this.i2c_1;
2927
- var tmp0 = r.p3(toLong(other));
2364
+ var other = this.b16_1;
2365
+ var tmp0 = add(r, fromInt(other));
2928
2366
  // Inline function 'kotlin.math.max' call
2929
2367
  var b = _get_bufferEndCounter__2d4hee(this);
2930
- var tmp$ret$2 = tmp0.a2(b) >= 0 ? tmp0 : b;
2931
- if (globalCellIndex.a2(tmp$ret$2) < 0)
2368
+ if (globalCellIndex < (tmp0 >= b ? tmp0 : b))
2932
2369
  return Unit_instance;
2933
2370
  // Inline function 'kotlin.Long.plus' call
2934
- var tmp$ret$3 = r.p3(toLong(1));
2935
- if (!this.l2c_1.atomicfu$compareAndSet(r, tmp$ret$3))
2371
+ var tmp$ret$3 = add(r, fromInt(1));
2372
+ if (!this.e16_1.atomicfu$compareAndSet(r, tmp$ret$3))
2936
2373
  continue $l$loop_0;
2937
2374
  // Inline function 'kotlin.Long.div' call
2938
2375
  var other_0 = get_SEGMENT_SIZE();
2939
- var id = r.s3(toLong(other_0));
2376
+ var id = divide(r, fromInt(other_0));
2940
2377
  // Inline function 'kotlin.Long.rem' call
2941
2378
  var other_1 = get_SEGMENT_SIZE();
2942
- var i = r.t3(toLong(other_1)).c2();
2943
- if (!segment.i22_1.equals(id)) {
2379
+ var tmp$ret$5 = modulo(r, fromInt(other_1));
2380
+ var i = convertToInt(tmp$ret$5);
2381
+ if (!(segment.ly_1 === id)) {
2944
2382
  var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2945
2383
  var tmp;
2946
2384
  if (tmp0_elvis_lhs == null) {
@@ -2952,12 +2390,12 @@ function BufferedChannel() {
2952
2390
  }
2953
2391
  var updCellResult = updateCellReceive(this, segment, i, r, null);
2954
2392
  if (updCellResult === get_FAILED()) {
2955
- if (r.a2(this.m2d()) < 0) {
2956
- segment.g2d();
2393
+ if (r < this.f17()) {
2394
+ segment.z16();
2957
2395
  }
2958
2396
  } else {
2959
- segment.g2d();
2960
- var tmp1_safe_receiver = this.j2c_1;
2397
+ segment.z16();
2398
+ var tmp1_safe_receiver = this.c16_1;
2961
2399
  var tmp_0;
2962
2400
  if (tmp1_safe_receiver == null) {
2963
2401
  tmp_0 = null;
@@ -2974,10 +2412,10 @@ function BufferedChannel() {
2974
2412
  }
2975
2413
  }
2976
2414
  }
2977
- v2c(globalIndex) {
2415
+ o16(globalIndex) {
2978
2416
  if (_get_isRendezvousOrUnlimited__3mdufi(this))
2979
2417
  return Unit_instance;
2980
- while (_get_bufferEndCounter__2d4hee(this).a2(globalIndex) <= 0) {
2418
+ while (_get_bufferEndCounter__2d4hee(this) <= globalIndex) {
2981
2419
  }
2982
2420
  // Inline function 'kotlin.repeat' call
2983
2421
  var times = get_EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS();
@@ -2988,18 +2426,18 @@ function BufferedChannel() {
2988
2426
  inductionVariable = inductionVariable + 1 | 0;
2989
2427
  var b = _get_bufferEndCounter__2d4hee(this);
2990
2428
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2991
- var ebCompleted = this.n2c_1.kotlinx$atomicfu$value.c4(new (Long())(-1, 1073741823));
2992
- if (b.equals(ebCompleted) && b.equals(_get_bufferEndCounter__2d4hee(this)))
2429
+ var ebCompleted = this.g16_1.kotlinx$atomicfu$value & 4611686018427387903n;
2430
+ if (b === ebCompleted && b === _get_bufferEndCounter__2d4hee(this))
2993
2431
  return Unit_instance;
2994
2432
  }
2995
2433
  while (inductionVariable < times);
2996
- var tmp0 = this.n2c_1;
2434
+ var tmp0 = this.g16_1;
2997
2435
  $l$block: {
2998
2436
  // Inline function 'kotlinx.atomicfu.update' call
2999
2437
  while (true) {
3000
2438
  var cur = tmp0.kotlinx$atomicfu$value;
3001
2439
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
3002
- var tmp$ret$3 = cur.c4(new (Long())(-1, 1073741823));
2440
+ var tmp$ret$3 = cur & 4611686018427387903n;
3003
2441
  var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
3004
2442
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
3005
2443
  break $l$block;
@@ -3008,19 +2446,19 @@ function BufferedChannel() {
3008
2446
  }
3009
2447
  while (true) {
3010
2448
  var b_0 = _get_bufferEndCounter__2d4hee(this);
3011
- var ebCompletedAndBit = this.n2c_1.kotlinx$atomicfu$value;
2449
+ var ebCompletedAndBit = this.g16_1.kotlinx$atomicfu$value;
3012
2450
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
3013
- var ebCompleted_0 = ebCompletedAndBit.c4(new (Long())(-1, 1073741823));
2451
+ var ebCompleted_0 = ebCompletedAndBit & 4611686018427387903n;
3014
2452
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
3015
- var pauseExpandBuffers = !ebCompletedAndBit.c4(new (Long())(0, 1073741824)).equals(new (Long())(0, 0));
3016
- if (b_0.equals(ebCompleted_0) && b_0.equals(_get_bufferEndCounter__2d4hee(this))) {
3017
- var tmp0_0 = this.n2c_1;
2453
+ var pauseExpandBuffers = !((ebCompletedAndBit & 4611686018427387904n) === 0n);
2454
+ if (b_0 === ebCompleted_0 && b_0 === _get_bufferEndCounter__2d4hee(this)) {
2455
+ var tmp0_0 = this.g16_1;
3018
2456
  $l$block_0: {
3019
2457
  // Inline function 'kotlinx.atomicfu.update' call
3020
2458
  while (true) {
3021
2459
  var cur_0 = tmp0_0.kotlinx$atomicfu$value;
3022
2460
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
3023
- var tmp$ret$8 = cur_0.c4(new (Long())(-1, 1073741823));
2461
+ var tmp$ret$8 = cur_0 & 4611686018427387903n;
3024
2462
  var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
3025
2463
  if (tmp0_0.atomicfu$compareAndSet(cur_0, upd_0)) {
3026
2464
  break $l$block_0;
@@ -3030,37 +2468,37 @@ function BufferedChannel() {
3030
2468
  return Unit_instance;
3031
2469
  }
3032
2470
  if (!pauseExpandBuffers) {
3033
- this.n2c_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
2471
+ this.g16_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
3034
2472
  }
3035
2473
  }
3036
2474
  }
3037
- d1() {
2475
+ k1() {
3038
2476
  return new (BufferedChannelIterator())(this);
3039
2477
  }
3040
- l2d() {
3041
- var tmp = this.s2c_1.kotlinx$atomicfu$value;
2478
+ g17() {
2479
+ var tmp = this.l16_1.kotlinx$atomicfu$value;
3042
2480
  return (tmp == null ? true : tmp instanceof Error) ? tmp : THROW_CCE();
3043
2481
  }
3044
- r2e() {
3045
- var tmp0_elvis_lhs = this.l2d();
3046
- return tmp0_elvis_lhs == null ? ClosedSendChannelException().o2i('Channel was closed') : tmp0_elvis_lhs;
2482
+ i17() {
2483
+ var tmp0_elvis_lhs = this.g17();
2484
+ return tmp0_elvis_lhs == null ? ClosedSendChannelException().s18('Channel was closed') : tmp0_elvis_lhs;
3047
2485
  }
3048
- p2i() {
2486
+ t18() {
3049
2487
  }
3050
- q2i(cause) {
3051
- return this.r2i(cause, false);
2488
+ u18(cause) {
2489
+ return this.v18(cause, false);
3052
2490
  }
3053
- c1z(cause) {
3054
- this.t2i(cause);
2491
+ zv(cause) {
2492
+ this.x18(cause);
3055
2493
  }
3056
- t2i(cause) {
3057
- return this.r2i(cause == null ? CancellationException().cd('Channel was cancelled') : cause, true);
2494
+ x18(cause) {
2495
+ return this.v18(cause == null ? CancellationException().bd('Channel was cancelled') : cause, true);
3058
2496
  }
3059
- r2i(cause, cancel) {
2497
+ v18(cause, cancel) {
3060
2498
  if (cancel) {
3061
2499
  markCancellationStarted(this);
3062
2500
  }
3063
- var closedByThisOperation = this.s2c_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
2501
+ var closedByThisOperation = this.l16_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
3064
2502
  if (cancel) {
3065
2503
  markCancelled(this);
3066
2504
  } else {
@@ -3068,37 +2506,37 @@ function BufferedChannel() {
3068
2506
  }
3069
2507
  completeCloseOrCancel(this);
3070
2508
  // Inline function 'kotlin.also' call
3071
- this.p2i();
2509
+ this.t18();
3072
2510
  if (closedByThisOperation) {
3073
2511
  invokeCloseHandler(this);
3074
2512
  }
3075
2513
  return closedByThisOperation;
3076
2514
  }
3077
- p2f() {
2515
+ f18() {
3078
2516
  return false;
3079
2517
  }
3080
- n2f() {
3081
- return _get_isClosedForSend0__kxgf9m(this, this.k2c_1.kotlinx$atomicfu$value);
2518
+ d18() {
2519
+ return _get_isClosedForSend0__kxgf9m(this, this.d16_1.kotlinx$atomicfu$value);
3082
2520
  }
3083
- n2d() {
3084
- return _get_isClosedForReceive0__f7qknl(this, this.k2c_1.kotlinx$atomicfu$value);
2521
+ e17() {
2522
+ return _get_isClosedForReceive0__f7qknl(this, this.d16_1.kotlinx$atomicfu$value);
3085
2523
  }
3086
- r2f() {
2524
+ h18() {
3087
2525
  $l$loop: while (true) {
3088
- var segment = this.p2c_1.kotlinx$atomicfu$value;
3089
- var r = this.s2e();
3090
- var s = this.m2d();
3091
- if (s.a2(r) <= 0)
2526
+ var segment = this.i16_1.kotlinx$atomicfu$value;
2527
+ var r = this.h17();
2528
+ var s = this.f17();
2529
+ if (s <= r)
3092
2530
  return false;
3093
2531
  // Inline function 'kotlin.Long.div' call
3094
2532
  var other = get_SEGMENT_SIZE();
3095
- var id = r.s3(toLong(other));
3096
- if (!segment.i22_1.equals(id)) {
2533
+ var id = divide(r, fromInt(other));
2534
+ if (!(segment.ly_1 === id)) {
3097
2535
  var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
3098
2536
  var tmp;
3099
2537
  if (tmp0_elvis_lhs == null) {
3100
2538
  var tmp_0;
3101
- if (this.p2c_1.kotlinx$atomicfu$value.i22_1.a2(id) < 0) {
2539
+ if (this.i16_1.kotlinx$atomicfu$value.ly_1 < id) {
3102
2540
  return false;
3103
2541
  } else {
3104
2542
  continue $l$loop;
@@ -3108,65 +2546,67 @@ function BufferedChannel() {
3108
2546
  }
3109
2547
  segment = tmp;
3110
2548
  }
3111
- segment.g2d();
2549
+ segment.z16();
3112
2550
  // Inline function 'kotlin.Long.rem' call
3113
2551
  var other_0 = get_SEGMENT_SIZE();
3114
- var i = r.t3(toLong(other_0)).c2();
2552
+ var tmp$ret$1 = modulo(r, fromInt(other_0));
2553
+ var i = convertToInt(tmp$ret$1);
3115
2554
  if (isCellNonEmpty(this, segment, i, r))
3116
2555
  return true;
3117
2556
  // Inline function 'kotlin.Long.plus' call
3118
- var tmp$ret$2 = r.p3(toLong(1));
3119
- this.l2c_1.atomicfu$compareAndSet(r, tmp$ret$2);
2557
+ var tmp$ret$2 = add(r, fromInt(1));
2558
+ this.e16_1.atomicfu$compareAndSet(r, tmp$ret$2);
3120
2559
  }
3121
2560
  }
3122
2561
  toString() {
3123
- var sb = StringBuilder().a1();
2562
+ var sb = StringBuilder().x();
3124
2563
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
3125
- var tmp0_subject = this.k2c_1.kotlinx$atomicfu$value.a4(60).c2();
2564
+ var this_0 = this.d16_1.kotlinx$atomicfu$value;
2565
+ var tmp0_subject = convertToInt(shiftRight(this_0, 60));
3126
2566
  if (tmp0_subject === 2) {
3127
- sb.jb('closed,');
2567
+ sb.ob('closed,');
3128
2568
  } else if (tmp0_subject === 3) {
3129
- sb.jb('cancelled,');
2569
+ sb.ob('cancelled,');
3130
2570
  }
3131
- sb.jb('capacity=' + this.i2c_1 + ',');
3132
- sb.jb('data=[');
2571
+ sb.ob('capacity=' + this.b16_1 + ',');
2572
+ sb.ob('data=[');
3133
2573
  // Inline function 'kotlin.collections.filter' call
3134
- var tmp0 = listOf([this.p2c_1.kotlinx$atomicfu$value, this.o2c_1.kotlinx$atomicfu$value, this.q2c_1.kotlinx$atomicfu$value]);
2574
+ var tmp0 = listOf([this.i16_1.kotlinx$atomicfu$value, this.h16_1.kotlinx$atomicfu$value, this.j16_1.kotlinx$atomicfu$value]);
3135
2575
  // Inline function 'kotlin.collections.filterTo' call
3136
- var destination = ArrayList().l1();
3137
- var _iterator__ex2g4s = tmp0.d1();
3138
- while (_iterator__ex2g4s.e1()) {
3139
- var element = _iterator__ex2g4s.f1();
2576
+ var destination = ArrayList().r1();
2577
+ var _iterator__ex2g4s = tmp0.k1();
2578
+ while (_iterator__ex2g4s.l1()) {
2579
+ var element = _iterator__ex2g4s.m1();
3140
2580
  if (!(element === get_NULL_SEGMENT())) {
3141
- destination.m(element);
2581
+ destination.v(element);
3142
2582
  }
3143
2583
  }
3144
2584
  var tmp$ret$4;
3145
2585
  $l$block: {
3146
2586
  // Inline function 'kotlin.collections.minBy' call
3147
- var iterator = destination.d1();
3148
- if (!iterator.e1())
3149
- throw NoSuchElementException().d6();
3150
- var minElem = iterator.f1();
3151
- if (!iterator.e1()) {
2587
+ var iterator = destination.k1();
2588
+ if (!iterator.l1())
2589
+ throw NoSuchElementException().j6();
2590
+ var minElem = iterator.m1();
2591
+ if (!iterator.l1()) {
3152
2592
  tmp$ret$4 = minElem;
3153
2593
  break $l$block;
3154
2594
  }
3155
- var minValue = minElem.i22_1;
2595
+ var minValue = minElem.ly_1;
3156
2596
  do {
3157
- var e = iterator.f1();
3158
- var v = e.i22_1;
2597
+ var e = iterator.m1();
2598
+ var v = e.ly_1;
3159
2599
  if (compareTo(minValue, v) > 0) {
3160
2600
  minElem = e;
3161
2601
  minValue = v;
3162
2602
  }
3163
2603
  }
3164
- while (iterator.e1());
2604
+ while (iterator.l1());
3165
2605
  tmp$ret$4 = minElem;
3166
2606
  }
3167
2607
  var firstSegment = tmp$ret$4;
3168
- var r = this.s2e();
3169
- var s = this.m2d();
2608
+ var r = this.h17();
2609
+ var s = this.f17();
3170
2610
  var segment = firstSegment;
3171
2611
  append_elements: while (true) {
3172
2612
  var inductionVariable = 0;
@@ -3175,21 +2615,22 @@ function BufferedChannel() {
3175
2615
  process_cell: do {
3176
2616
  var i = inductionVariable;
3177
2617
  inductionVariable = inductionVariable + 1 | 0;
3178
- var tmp0_0 = segment.i22_1;
2618
+ var tmp0_0 = segment.ly_1;
3179
2619
  // Inline function 'kotlin.Long.times' call
3180
2620
  var other = get_SEGMENT_SIZE();
3181
2621
  // Inline function 'kotlin.Long.plus' call
3182
- var globalCellIndex = tmp0_0.r3(toLong(other)).p3(toLong(i));
3183
- if (globalCellIndex.a2(s) >= 0 && globalCellIndex.a2(r) >= 0)
2622
+ var this_1 = multiply(tmp0_0, fromInt(other));
2623
+ var globalCellIndex = add(this_1, fromInt(i));
2624
+ if (globalCellIndex >= s && globalCellIndex >= r)
3184
2625
  break append_elements;
3185
- var cellState = segment.e2c(i);
3186
- var element_0 = segment.b2c(i);
2626
+ var cellState = segment.x15(i);
2627
+ var element_0 = segment.u15(i);
3187
2628
  var tmp;
3188
2629
  if (!(cellState == null) ? isInterface(cellState, CancellableContinuation()) : false) {
3189
- tmp = globalCellIndex.a2(r) < 0 && globalCellIndex.a2(s) >= 0 ? 'receive' : globalCellIndex.a2(s) < 0 && globalCellIndex.a2(r) >= 0 ? 'send' : 'cont';
2630
+ tmp = globalCellIndex < r && globalCellIndex >= s ? 'receive' : globalCellIndex < s && globalCellIndex >= r ? 'send' : 'cont';
3190
2631
  } else {
3191
2632
  if (!(cellState == null) ? isInterface(cellState, SelectInstance()) : false) {
3192
- tmp = globalCellIndex.a2(r) < 0 && globalCellIndex.a2(s) >= 0 ? 'onReceive' : globalCellIndex.a2(s) < 0 && globalCellIndex.a2(r) >= 0 ? 'onSend' : 'select';
2633
+ tmp = globalCellIndex < r && globalCellIndex >= s ? 'onReceive' : globalCellIndex < s && globalCellIndex >= r ? 'onSend' : 'select';
3193
2634
  } else {
3194
2635
  if (cellState instanceof ReceiveCatching()) {
3195
2636
  tmp = 'receiveCatching';
@@ -3216,13 +2657,13 @@ function BufferedChannel() {
3216
2657
  }
3217
2658
  var cellStateString = tmp;
3218
2659
  if (!(element_0 == null)) {
3219
- sb.jb('(' + cellStateString + ',' + toString(element_0) + '),');
2660
+ sb.ob('(' + cellStateString + ',' + toString(element_0) + '),');
3220
2661
  } else {
3221
- sb.jb(cellStateString + ',');
2662
+ sb.ob(cellStateString + ',');
3222
2663
  }
3223
2664
  }
3224
2665
  while (inductionVariable < last_0);
3225
- var tmp2_elvis_lhs = segment.c2d();
2666
+ var tmp2_elvis_lhs = segment.v16();
3226
2667
  var tmp_0;
3227
2668
  if (tmp2_elvis_lhs == null) {
3228
2669
  break append_elements;
@@ -3232,14 +2673,14 @@ function BufferedChannel() {
3232
2673
  segment = tmp_0;
3233
2674
  }
3234
2675
  if (last(sb) === _Char___init__impl__6a9atx(44)) {
3235
- sb.di(sb.a() - 1 | 0);
2676
+ sb.ah(sb.a() - 1 | 0);
3236
2677
  }
3237
- sb.jb(']');
2678
+ sb.ob(']');
3238
2679
  return sb.toString();
3239
2680
  }
3240
2681
  }
3241
- protoOf($).s2i = close$default;
3242
- protoOf($).u2i = cancel$default;
2682
+ protoOf($).w18 = close$default;
2683
+ protoOf($).y18 = cancel$default;
3243
2684
  initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
3244
2685
  BufferedChannelClass = $;
3245
2686
  }
@@ -3250,10 +2691,10 @@ function WaiterEB() {
3250
2691
  if (WaiterEBClass === VOID) {
3251
2692
  class $ {
3252
2693
  constructor(waiter) {
3253
- this.u2e_1 = waiter;
2694
+ this.k17_1 = waiter;
3254
2695
  }
3255
2696
  toString() {
3256
- return 'WaiterEB(' + toString_0(this.u2e_1) + ')';
2697
+ return 'WaiterEB(' + toString_0(this.k17_1) + ')';
3257
2698
  }
3258
2699
  }
3259
2700
  initMetadataForClass($, 'WaiterEB');
@@ -3265,11 +2706,11 @@ function initialBufferEnd(capacity) {
3265
2706
  _init_properties_BufferedChannel_kt__d6uc4y();
3266
2707
  switch (capacity) {
3267
2708
  case 0:
3268
- return new (Long())(0, 0);
2709
+ return 0n;
3269
2710
  case 2147483647:
3270
- return new (Long())(-1, 2147483647);
2711
+ return 9223372036854775807n;
3271
2712
  default:
3272
- return toLong(capacity);
2713
+ return fromInt(capacity);
3273
2714
  }
3274
2715
  }
3275
2716
  var ReceiveCatchingClass;
@@ -3285,10 +2726,10 @@ function tryResume0(_this__u8e3s4, value, onCancellation) {
3285
2726
  onCancellation = onCancellation === VOID ? null : onCancellation;
3286
2727
  _init_properties_BufferedChannel_kt__d6uc4y();
3287
2728
  // Inline function 'kotlin.let' call
3288
- var token = _this__u8e3s4.g21(value, null, onCancellation);
2729
+ var token = _this__u8e3s4.ix(value, null, onCancellation);
3289
2730
  var tmp;
3290
2731
  if (!(token == null)) {
3291
- _this__u8e3s4.h21(token);
2732
+ _this__u8e3s4.jx(token);
3292
2733
  tmp = true;
3293
2734
  } else {
3294
2735
  tmp = false;
@@ -3297,11 +2738,11 @@ function tryResume0(_this__u8e3s4, value, onCancellation) {
3297
2738
  }
3298
2739
  function constructEBCompletedAndPauseFlag(counter, pauseEB) {
3299
2740
  _init_properties_BufferedChannel_kt__d6uc4y();
3300
- return (pauseEB ? new (Long())(0, 1073741824) : new (Long())(0, 0)).p3(counter);
2741
+ return add(pauseEB ? 4611686018427387904n : 0n, counter);
3301
2742
  }
3302
2743
  function constructSendersAndCloseStatus(counter, closeStatus) {
3303
2744
  _init_properties_BufferedChannel_kt__d6uc4y();
3304
- return toLong(closeStatus).z3(60).p3(counter);
2745
+ return add(shiftLeft(fromInt(closeStatus), 60), counter);
3305
2746
  }
3306
2747
  function createSegmentFunction() {
3307
2748
  _init_properties_BufferedChannel_kt__d6uc4y();
@@ -3309,12 +2750,10 @@ function createSegmentFunction() {
3309
2750
  }
3310
2751
  function createSegment(id, prev) {
3311
2752
  _init_properties_BufferedChannel_kt__d6uc4y();
3312
- return new (ChannelSegment())(id, prev, prev.y2b(), 0);
2753
+ return new (ChannelSegment())(id, prev, prev.r15(), 0);
3313
2754
  }
3314
2755
  function createSegment$ref() {
3315
- var l = function (p0, p1) {
3316
- return createSegment(p0, p1);
3317
- };
2756
+ var l = (p0, p1) => createSegment(p0, p1);
3318
2757
  l.callableName = 'createSegment';
3319
2758
  return l;
3320
2759
  }
@@ -3322,7 +2761,7 @@ var properties_initialized_BufferedChannel_kt_58tjvw;
3322
2761
  function _init_properties_BufferedChannel_kt__d6uc4y() {
3323
2762
  if (!properties_initialized_BufferedChannel_kt_58tjvw) {
3324
2763
  properties_initialized_BufferedChannel_kt_58tjvw = true;
3325
- NULL_SEGMENT = new (ChannelSegment())(new (Long())(-1, -1), null, null, 0);
2764
+ NULL_SEGMENT = new (ChannelSegment())(-1n, null, null, 0);
3326
2765
  SEGMENT_SIZE = systemProp('kotlinx.coroutines.bufferedChannel.segmentSize', 32);
3327
2766
  EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS = systemProp('kotlinx.coroutines.bufferedChannel.expandBufferCompletionWaitIterations', 10000);
3328
2767
  BUFFERED = new (Symbol())('BUFFERED');