@attocash/commons-test 6.0.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 (1442) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +332 -0
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs.map +1 -0
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs +96 -0
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs.map +1 -0
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +104 -0
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs.map +1 -0
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +439 -0
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs.map +1 -0
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +238 -0
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs.map +1 -0
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +295 -0
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs.map +1 -0
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs +175 -0
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs.map +1 -0
  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 +380 -0
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs.map +1 -0
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +202 -0
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs.map +1 -0
  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 +102 -0
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs.map +1 -0
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +264 -0
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs.map +1 -0
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +506 -0
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs.map +1 -0
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +330 -0
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs.map +1 -0
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +767 -0
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs.map +1 -0
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +769 -0
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs.map +1 -0
  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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs.map +1 -0
  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 +55 -0
  54. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs.map +1 -0
  55. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +155 -0
  56. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs.map +1 -0
  57. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +177 -0
  58. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs.map +1 -0
  59. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +693 -0
  60. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs.map +1 -0
  61. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +107 -0
  62. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs.map +1 -0
  63. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +174 -0
  64. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs.map +1 -0
  65. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +178 -0
  66. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs.map +1 -0
  67. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +260 -0
  68. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs.map +1 -0
  69. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +61 -0
  70. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs.map +1 -0
  71. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +456 -0
  72. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs.map +1 -0
  73. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +440 -0
  74. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs.map +1 -0
  75. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +95 -0
  76. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs.map +1 -0
  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 +22 -0
  80. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs.map +1 -0
  81. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +431 -0
  82. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -0
  83. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +53 -0
  84. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -0
  85. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +53 -0
  86. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -0
  87. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +53 -0
  88. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -0
  89. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +130 -0
  90. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -0
  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.mts +19 -0
  94. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs +23 -0
  95. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs.map +1 -0
  96. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +106 -0
  97. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -0
  98. package/commons-commons-core/cash/atto/commons/AttoAccount.export.d.mts +45 -0
  99. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs +20 -0
  100. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs.map +1 -0
  101. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +524 -0
  102. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -0
  103. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.d.mts +41 -0
  104. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs +20 -0
  105. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs.map +1 -0
  106. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +449 -0
  107. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -0
  108. package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +41 -0
  109. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +22 -0
  110. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -0
  111. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +278 -0
  112. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -0
  113. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.d.mts +36 -0
  114. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs +26 -0
  115. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs.map +1 -0
  116. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +162 -0
  117. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -0
  118. package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +56 -0
  119. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +35 -0
  120. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -0
  121. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +351 -0
  122. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -0
  123. package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +287 -0
  124. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs +62 -0
  125. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs.map +1 -0
  126. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +2452 -0
  127. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -0
  128. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +148 -0
  129. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -0
  130. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.d.mts +29 -0
  131. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs +20 -0
  132. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs.map +1 -0
  133. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +133 -0
  134. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -0
  135. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +10 -0
  136. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +13 -0
  137. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map +1 -0
  138. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +72 -0
  139. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +1 -0
  140. package/commons-commons-core/cash/atto/commons/AttoHash.export.d.mts +39 -0
  141. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs +20 -0
  142. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs.map +1 -0
  143. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +182 -0
  144. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -0
  145. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +47 -0
  146. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -0
  147. package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +35 -0
  148. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +22 -0
  149. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -0
  150. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +240 -0
  151. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -0
  152. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +33 -0
  153. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs +20 -0
  154. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs.map +1 -0
  155. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +189 -0
  156. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -0
  157. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +26 -0
  158. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -0
  159. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +16 -0
  160. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs +17 -0
  161. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs.map +1 -0
  162. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +74 -0
  163. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -0
  164. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +33 -0
  165. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs +22 -0
  166. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs.map +1 -0
  167. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs +23 -0
  168. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -0
  169. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +184 -0
  170. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -0
  171. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +61 -0
  172. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -0
  173. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +55 -0
  174. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs +34 -0
  175. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs.map +1 -0
  176. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +189 -0
  177. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -0
  178. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.d.mts +29 -0
  179. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs +22 -0
  180. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs.map +1 -0
  181. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +65 -0
  182. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -0
  183. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +196 -0
  184. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -0
  185. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.d.mts +30 -0
  186. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs +20 -0
  187. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs.map +1 -0
  188. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.d.mts +3 -0
  189. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs +12 -0
  190. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs.map +1 -0
  191. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs +21 -0
  192. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -0
  193. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +129 -0
  194. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -0
  195. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.d.mts +39 -0
  196. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs +20 -0
  197. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs.map +1 -0
  198. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +428 -0
  199. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -0
  200. package/commons-commons-core/cash/atto/commons/AttoSeed.export.d.mts +14 -0
  201. package/commons-commons-core/cash/atto/commons/AttoSeed.export.mjs +13 -0
  202. package/commons-commons-core/cash/atto/commons/AttoSeed.export.mjs.map +1 -0
  203. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.d.mts +3 -0
  204. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs +12 -0
  205. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs.map +1 -0
  206. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +91 -0
  207. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -0
  208. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +86 -0
  209. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -0
  210. package/commons-commons-core/cash/atto/commons/AttoSignature.export.d.mts +31 -0
  211. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs +20 -0
  212. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs.map +1 -0
  213. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs +19 -0
  214. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -0
  215. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +135 -0
  216. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -0
  217. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +49 -0
  218. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -0
  219. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +15 -0
  220. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -0
  221. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +15 -0
  222. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +13 -0
  223. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map +1 -0
  224. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +81 -0
  225. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +1 -0
  226. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +40 -0
  227. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs +20 -0
  228. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs.map +1 -0
  229. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +351 -0
  230. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -0
  231. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +63 -0
  232. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -0
  233. package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +29 -0
  234. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs +20 -0
  235. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs.map +1 -0
  236. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +169 -0
  237. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -0
  238. package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +39 -0
  239. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs +20 -0
  240. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs.map +1 -0
  241. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +381 -0
  242. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -0
  243. package/commons-commons-core/cash/atto/commons/AttoWork.export.d.mts +32 -0
  244. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs +20 -0
  245. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs.map +1 -0
  246. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +236 -0
  247. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -0
  248. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +147 -0
  249. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -0
  250. package/commons-commons-core/cash/atto/commons/Extensions.export.d.mts +4 -0
  251. package/commons-commons-core/cash/atto/commons/Extensions.export.mjs +16 -0
  252. package/commons-commons-core/cash/atto/commons/Extensions.export.mjs.map +1 -0
  253. package/commons-commons-core/cash/atto/commons/Extensions.mjs +147 -0
  254. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -0
  255. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +156 -0
  256. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -0
  257. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +40 -0
  258. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -0
  259. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs +37 -0
  260. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -0
  261. package/commons-commons-core.mjs +34 -0
  262. package/commons-commons-core.mjs.map +1 -0
  263. package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs +29 -0
  264. package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -0
  265. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +22 -0
  266. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs +13 -0
  267. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs.map +1 -0
  268. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +1248 -0
  269. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -0
  270. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +115 -0
  271. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs +38 -0
  272. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs.map +1 -0
  273. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +768 -0
  274. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -0
  275. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +10 -0
  276. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +28 -0
  277. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  278. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +133 -0
  279. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  280. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +66 -0
  281. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -0
  282. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.d.mts +10 -0
  283. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs +13 -0
  284. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs.map +1 -0
  285. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +189 -0
  286. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -0
  287. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts +11 -0
  288. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs +13 -0
  289. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map +1 -0
  290. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +97 -0
  291. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +1 -0
  292. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +195 -0
  293. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -0
  294. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.d.mts +13 -0
  295. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs +13 -0
  296. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs.map +1 -0
  297. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +280 -0
  298. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -0
  299. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.d.mts +10 -0
  300. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs +13 -0
  301. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs.map +1 -0
  302. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +33 -0
  303. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -0
  304. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +339 -0
  305. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -0
  306. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +66 -0
  307. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -0
  308. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.d.mts +10 -0
  309. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs +13 -0
  310. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map +1 -0
  311. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +189 -0
  312. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -0
  313. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.d.mts +11 -0
  314. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs +13 -0
  315. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +1 -0
  316. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +97 -0
  317. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +1 -0
  318. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.d.mts +12 -0
  319. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs +13 -0
  320. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs.map +1 -0
  321. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +75 -0
  322. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -0
  323. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +2292 -0
  324. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -0
  325. package/commons-commons-node-remote.mjs +7 -0
  326. package/commons-commons-node-remote.mjs.map +1 -0
  327. package/commons-commons-node.mjs +15 -0
  328. package/commons-commons-node.mjs.map +1 -0
  329. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +53 -0
  330. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -0
  331. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.export.d.mts +21 -0
  332. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.export.mjs +13 -0
  333. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.export.mjs.map +1 -0
  334. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +163 -0
  335. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -0
  336. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +193 -0
  337. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -0
  338. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +13 -0
  339. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.mjs +13 -0
  340. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.mjs.map +1 -0
  341. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +84 -0
  342. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -0
  343. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +18 -0
  344. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -0
  345. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +17 -0
  346. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.mjs +13 -0
  347. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.mjs.map +1 -0
  348. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +138 -0
  349. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -0
  350. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +103 -0
  351. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -0
  352. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +12 -0
  353. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.mjs +13 -0
  354. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.mjs.map +1 -0
  355. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +78 -0
  356. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -0
  357. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +18 -0
  358. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -0
  359. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +12 -0
  360. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.mjs +13 -0
  361. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.mjs.map +1 -0
  362. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +78 -0
  363. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -0
  364. package/commons-commons-test.mjs +14 -0
  365. package/commons-commons-test.mjs.map +1 -0
  366. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +58 -0
  367. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -0
  368. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.d.mts +13 -0
  369. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs +13 -0
  370. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +1 -0
  371. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +124 -0
  372. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -0
  373. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +348 -0
  374. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -0
  375. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs +16 -0
  376. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -0
  377. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +203 -0
  378. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -0
  379. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +351 -0
  380. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -0
  381. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.d.mts +15 -0
  382. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs +13 -0
  383. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs.map +1 -0
  384. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +111 -0
  385. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -0
  386. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +291 -0
  387. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -0
  388. package/commons-commons-worker-remote.mjs +7 -0
  389. package/commons-commons-worker-remote.mjs.map +1 -0
  390. package/commons-commons-worker.mjs +7 -0
  391. package/commons-commons-worker.mjs.map +1 -0
  392. package/index.d.ts +1 -0
  393. package/index.mjs +1 -0
  394. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +52 -0
  395. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs.map +1 -0
  396. package/kotlin-kotlin-stdlib/kotlin/Char.mjs +133 -0
  397. package/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -0
  398. package/kotlin-kotlin-stdlib/kotlin/CharSequence.mjs +22 -0
  399. package/kotlin-kotlin-stdlib/kotlin/CharSequence.mjs.map +1 -0
  400. package/kotlin-kotlin-stdlib/kotlin/Comparable.mjs +22 -0
  401. package/kotlin-kotlin-stdlib/kotlin/Comparable.mjs.map +1 -0
  402. package/kotlin-kotlin-stdlib/kotlin/ComparatorJs.mjs +22 -0
  403. package/kotlin-kotlin-stdlib/kotlin/ComparatorJs.mjs.map +1 -0
  404. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +158 -0
  405. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -0
  406. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +71 -0
  407. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -0
  408. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +33 -0
  409. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -0
  410. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +98 -0
  411. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -0
  412. package/kotlin-kotlin-stdlib/kotlin/Library.mjs +29 -0
  413. package/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -0
  414. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +61 -0
  415. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -0
  416. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +36 -0
  417. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -0
  418. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +142 -0
  419. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -0
  420. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +31 -0
  421. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -0
  422. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +100 -0
  423. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs.map +1 -0
  424. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +105 -0
  425. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -0
  426. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +203 -0
  427. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -0
  428. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +105 -0
  429. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -0
  430. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +203 -0
  431. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -0
  432. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +107 -0
  433. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -0
  434. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +204 -0
  435. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -0
  436. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +106 -0
  437. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -0
  438. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +203 -0
  439. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -0
  440. package/kotlin-kotlin-stdlib/kotlin/Unit.mjs +34 -0
  441. package/kotlin-kotlin-stdlib/kotlin/Unit.mjs.map +1 -0
  442. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +182 -0
  443. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -0
  444. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +99 -0
  445. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -0
  446. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +271 -0
  447. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -0
  448. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +312 -0
  449. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -0
  450. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +75 -0
  451. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -0
  452. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +249 -0
  453. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -0
  454. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +101 -0
  455. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -0
  456. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +43 -0
  457. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs.map +1 -0
  458. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +77 -0
  459. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs.map +1 -0
  460. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +585 -0
  461. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -0
  462. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +44 -0
  463. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs.map +1 -0
  464. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +220 -0
  465. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -0
  466. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +126 -0
  467. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -0
  468. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +42 -0
  469. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +20 -0
  470. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -0
  471. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +161 -0
  472. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -0
  473. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +339 -0
  474. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -0
  475. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +96 -0
  476. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -0
  477. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +175 -0
  478. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -0
  479. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +143 -0
  480. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -0
  481. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +71 -0
  482. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -0
  483. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +52 -0
  484. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs.map +1 -0
  485. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +730 -0
  486. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -0
  487. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +63 -0
  488. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs.map +1 -0
  489. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +65 -0
  490. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -0
  491. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +37 -0
  492. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs.map +1 -0
  493. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +91 -0
  494. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -0
  495. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +48 -0
  496. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -0
  497. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +43 -0
  498. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -0
  499. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +239 -0
  500. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -0
  501. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +74 -0
  502. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -0
  503. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +44 -0
  504. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs.map +1 -0
  505. package/kotlin-kotlin-stdlib/kotlin/collections/RandomAccess.mjs +22 -0
  506. package/kotlin-kotlin-stdlib/kotlin/collections/RandomAccess.mjs.map +1 -0
  507. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +113 -0
  508. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -0
  509. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +21 -0
  510. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -0
  511. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +343 -0
  512. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -0
  513. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +181 -0
  514. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -0
  515. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +502 -0
  516. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -0
  517. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +30 -0
  518. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs.map +1 -0
  519. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +41 -0
  520. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs.map +1 -0
  521. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +59 -0
  522. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -0
  523. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +137 -0
  524. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -0
  525. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +67 -0
  526. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -0
  527. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +266 -0
  528. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -0
  529. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +50 -0
  530. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -0
  531. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +39 -0
  532. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -0
  533. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +78 -0
  534. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -0
  535. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +86 -0
  536. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -0
  537. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +237 -0
  538. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -0
  539. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +48 -0
  540. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -0
  541. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +199 -0
  542. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -0
  543. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +53 -0
  544. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs.map +1 -0
  545. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +76 -0
  546. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs.map +1 -0
  547. package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs +43 -0
  548. package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs.map +1 -0
  549. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs +53 -0
  550. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs.map +1 -0
  551. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +166 -0
  552. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -0
  553. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +77 -0
  554. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -0
  555. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +437 -0
  556. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -0
  557. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +51 -0
  558. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -0
  559. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +33 -0
  560. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +1 -0
  561. package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs +4 -0
  562. package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs.map +1 -0
  563. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +30 -0
  564. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs.map +1 -0
  565. package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs +83 -0
  566. package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +1 -0
  567. package/kotlin-kotlin-stdlib/kotlin/js/FunctionAdapter.mjs +22 -0
  568. package/kotlin-kotlin-stdlib/kotlin/js/FunctionAdapter.mjs.map +1 -0
  569. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +16 -0
  570. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs.map +1 -0
  571. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +94 -0
  572. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -0
  573. package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs +70 -0
  574. package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs.map +1 -0
  575. package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs +51 -0
  576. package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs.map +1 -0
  577. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs +80 -0
  578. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs.map +1 -0
  579. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +316 -0
  580. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -0
  581. package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs +15 -0
  582. package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +1 -0
  583. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs +22 -0
  584. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs.map +1 -0
  585. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +258 -0
  586. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -0
  587. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs +246 -0
  588. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs.map +1 -0
  589. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +238 -0
  590. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs.map +1 -0
  591. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +25 -0
  592. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs.map +1 -0
  593. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +72 -0
  594. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -0
  595. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +52 -0
  596. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -0
  597. package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs +15 -0
  598. package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs.map +1 -0
  599. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +95 -0
  600. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -0
  601. package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs +12 -0
  602. package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs.map +1 -0
  603. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +173 -0
  604. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -0
  605. package/kotlin-kotlin-stdlib/kotlin/js/void.mjs +21 -0
  606. package/kotlin-kotlin-stdlib/kotlin/js/void.mjs.map +1 -0
  607. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +55 -0
  608. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs.map +1 -0
  609. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs +49 -0
  610. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -0
  611. package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs +30 -0
  612. package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -0
  613. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +166 -0
  614. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs.map +1 -0
  615. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +99 -0
  616. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -0
  617. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +178 -0
  618. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -0
  619. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +96 -0
  620. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs.map +1 -0
  621. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +163 -0
  622. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs.map +1 -0
  623. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +26 -0
  624. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs.map +1 -0
  625. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +17 -0
  626. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -0
  627. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +68 -0
  628. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -0
  629. package/kotlin-kotlin-stdlib/kotlin/reflect/KClassJs.mjs +22 -0
  630. package/kotlin-kotlin-stdlib/kotlin/reflect/KClassJs.mjs.map +1 -0
  631. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs +42 -0
  632. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs.map +1 -0
  633. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeParameter.mjs +22 -0
  634. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeParameter.mjs.map +1 -0
  635. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +111 -0
  636. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs.map +1 -0
  637. package/kotlin-kotlin-stdlib/kotlin/reflect/KVariance.mjs +50 -0
  638. package/kotlin-kotlin-stdlib/kotlin/reflect/KVariance.mjs.map +1 -0
  639. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +152 -0
  640. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -0
  641. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +47 -0
  642. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs.map +1 -0
  643. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs +80 -0
  644. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs.map +1 -0
  645. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +66 -0
  646. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs.map +1 -0
  647. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +296 -0
  648. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -0
  649. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs +141 -0
  650. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs.map +1 -0
  651. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +169 -0
  652. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -0
  653. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +117 -0
  654. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -0
  655. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +64 -0
  656. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -0
  657. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +30 -0
  658. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs.map +1 -0
  659. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +49 -0
  660. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs.map +1 -0
  661. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +33 -0
  662. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs.map +1 -0
  663. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +527 -0
  664. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -0
  665. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +271 -0
  666. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -0
  667. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +218 -0
  668. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -0
  669. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +146 -0
  670. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -0
  671. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +164 -0
  672. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs.map +1 -0
  673. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +820 -0
  674. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -0
  675. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +293 -0
  676. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -0
  677. package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs +38 -0
  678. package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs.map +1 -0
  679. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +61 -0
  680. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs.map +1 -0
  681. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +118 -0
  682. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -0
  683. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +128 -0
  684. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -0
  685. package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs +17 -0
  686. package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs.map +1 -0
  687. package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs +40 -0
  688. package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -0
  689. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +119 -0
  690. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs.map +1 -0
  691. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +100 -0
  692. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -0
  693. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +256 -0
  694. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -0
  695. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +139 -0
  696. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs.map +1 -0
  697. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +255 -0
  698. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -0
  699. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +225 -0
  700. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -0
  701. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +34 -0
  702. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs.map +1 -0
  703. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +798 -0
  704. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -0
  705. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +80 -0
  706. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -0
  707. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +114 -0
  708. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs.map +1 -0
  709. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +953 -0
  710. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -0
  711. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +16 -0
  712. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs.map +1 -0
  713. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +181 -0
  714. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -0
  715. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +88 -0
  716. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -0
  717. package/kotlin-kotlin-stdlib/noPackageHacks.mjs +62 -0
  718. package/kotlin-kotlin-stdlib/noPackageHacks.mjs.map +1 -0
  719. package/kotlin-kotlin-stdlib/reflectionJs.mjs +67 -0
  720. package/kotlin-kotlin-stdlib/reflectionJs.mjs.map +1 -0
  721. package/kotlin-kotlin-stdlib.mjs +7 -0
  722. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  723. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +47 -0
  724. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -0
  725. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +237 -0
  726. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -0
  727. package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs +55 -0
  728. package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs.map +1 -0
  729. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +98 -0
  730. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -0
  731. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +121 -0
  732. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -0
  733. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +96 -0
  734. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -0
  735. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +868 -0
  736. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -0
  737. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +61 -0
  738. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -0
  739. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableJob.mjs +23 -0
  740. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableJob.mjs.map +1 -0
  741. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +108 -0
  742. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -0
  743. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +78 -0
  744. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -0
  745. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +99 -0
  746. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -0
  747. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +72 -0
  748. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -0
  749. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +65 -0
  750. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs.map +1 -0
  751. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +93 -0
  752. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -0
  753. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +88 -0
  754. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -0
  755. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.common.mjs +22 -0
  756. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.common.mjs.map +1 -0
  757. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +39 -0
  758. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs.map +1 -0
  759. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +44 -0
  760. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -0
  761. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +221 -0
  762. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -0
  763. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +75 -0
  764. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs.map +1 -0
  765. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +145 -0
  766. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -0
  767. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +34 -0
  768. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs.map +1 -0
  769. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +49 -0
  770. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -0
  771. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +79 -0
  772. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs.map +1 -0
  773. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +410 -0
  774. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -0
  775. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +172 -0
  776. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -0
  777. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +1761 -0
  778. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -0
  779. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +64 -0
  780. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs.map +1 -0
  781. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +83 -0
  782. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -0
  783. package/kotlinx-coroutines-core/kotlinx/coroutines/Runnable.mjs +22 -0
  784. package/kotlinx-coroutines-core/kotlinx/coroutines/Runnable.mjs.map +1 -0
  785. package/kotlinx-coroutines-core/kotlinx/coroutines/SchedulerTask.mjs +23 -0
  786. package/kotlinx-coroutines-core/kotlinx/coroutines/SchedulerTask.mjs.map +1 -0
  787. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +31 -0
  788. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -0
  789. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +24 -0
  790. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -0
  791. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +70 -0
  792. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs.map +1 -0
  793. package/kotlinx-coroutines-core/kotlinx/coroutines/Waiter.mjs +22 -0
  794. package/kotlinx-coroutines-core/kotlinx/coroutines/Waiter.mjs.map +1 -0
  795. package/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs +28 -0
  796. package/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs.map +1 -0
  797. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferOverflow.mjs +50 -0
  798. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferOverflow.mjs.map +1 -0
  799. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2791 -0
  800. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -0
  801. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +320 -0
  802. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -0
  803. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +78 -0
  804. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -0
  805. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +24 -0
  806. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -0
  807. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +105 -0
  808. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -0
  809. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +94 -0
  810. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -0
  811. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +108 -0
  812. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -0
  813. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +56 -0
  814. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -0
  815. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +26 -0
  816. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -0
  817. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +27 -0
  818. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -0
  819. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +43 -0
  820. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -0
  821. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/FlowCollector.mjs +22 -0
  822. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/FlowCollector.mjs.map +1 -0
  823. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +25 -0
  824. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs.map +1 -0
  825. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -0
  826. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -0
  827. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +79 -0
  828. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -0
  829. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +272 -0
  830. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -0
  831. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +283 -0
  832. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -0
  833. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +145 -0
  834. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -0
  835. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +340 -0
  836. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -0
  837. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +13 -0
  838. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs.map +1 -0
  839. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +47 -0
  840. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs.map +1 -0
  841. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +214 -0
  842. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -0
  843. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +23 -0
  844. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -0
  845. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  846. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  847. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +69 -0
  848. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -0
  849. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +58 -0
  850. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -0
  851. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +30 -0
  852. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -0
  853. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +16 -0
  854. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs.map +1 -0
  855. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +49 -0
  856. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs.map +1 -0
  857. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +306 -0
  858. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -0
  859. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +62 -0
  860. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs.map +1 -0
  861. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +56 -0
  862. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs.map +1 -0
  863. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +335 -0
  864. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -0
  865. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +48 -0
  866. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -0
  867. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +199 -0
  868. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -0
  869. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +86 -0
  870. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -0
  871. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +335 -0
  872. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs.map +1 -0
  873. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +47 -0
  874. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs.map +1 -0
  875. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +62 -0
  876. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs.map +1 -0
  877. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +64 -0
  878. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -0
  879. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs +20 -0
  880. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs.map +1 -0
  881. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +29 -0
  882. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs.map +1 -0
  883. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Synchronized.mjs +22 -0
  884. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Synchronized.mjs.map +1 -0
  885. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +52 -0
  886. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -0
  887. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.mjs +12 -0
  888. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.mjs.map +1 -0
  889. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadContext.mjs +12 -0
  890. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadContext.mjs.map +1 -0
  891. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +37 -0
  892. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs.map +1 -0
  893. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +90 -0
  894. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -0
  895. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +129 -0
  896. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -0
  897. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +268 -0
  898. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -0
  899. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +257 -0
  900. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -0
  901. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +429 -0
  902. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -0
  903. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +210 -0
  904. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -0
  905. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +34 -0
  906. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -0
  907. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +67 -0
  908. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -0
  909. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +48 -0
  910. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -0
  911. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +587 -0
  912. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -0
  913. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +156 -0
  914. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -0
  915. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +16 -0
  916. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -0
  917. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs +15 -0
  918. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -0
  919. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +85 -0
  920. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -0
  921. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +179 -0
  922. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -0
  923. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +524 -0
  924. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -0
  925. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +46 -0
  926. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -0
  927. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +37 -0
  928. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -0
  929. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +77 -0
  930. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -0
  931. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Source.mjs +23 -0
  932. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Source.mjs.map +1 -0
  933. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +154 -0
  934. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -0
  935. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +258 -0
  936. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -0
  937. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs +27 -0
  938. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -0
  939. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +361 -0
  940. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -0
  941. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +102 -0
  942. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -0
  943. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs +42 -0
  944. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs.map +1 -0
  945. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +105 -0
  946. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -0
  947. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +191 -0
  948. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -0
  949. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerialFormat.mjs +32 -0
  950. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerialFormat.mjs.map +1 -0
  951. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +89 -0
  952. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -0
  953. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +280 -0
  954. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -0
  955. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +149 -0
  956. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -0
  957. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +46 -0
  958. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs.map +1 -0
  959. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +221 -0
  960. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -0
  961. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +117 -0
  962. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -0
  963. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +126 -0
  964. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -0
  965. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +300 -0
  966. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -0
  967. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +438 -0
  968. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs.map +1 -0
  969. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +136 -0
  970. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -0
  971. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +148 -0
  972. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -0
  973. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +49 -0
  974. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -0
  975. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +47 -0
  976. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -0
  977. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +141 -0
  978. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -0
  979. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +172 -0
  980. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -0
  981. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CachedNames.mjs +22 -0
  982. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CachedNames.mjs.map +1 -0
  983. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +313 -0
  984. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -0
  985. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +711 -0
  986. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -0
  987. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +130 -0
  988. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -0
  989. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +194 -0
  990. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -0
  991. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +127 -0
  992. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -0
  993. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +15 -0
  994. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs.map +1 -0
  995. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +78 -0
  996. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -0
  997. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +86 -0
  998. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -0
  999. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +138 -0
  1000. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -0
  1001. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +90 -0
  1002. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -0
  1003. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +127 -0
  1004. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -0
  1005. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +262 -0
  1006. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -0
  1007. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +33 -0
  1008. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -0
  1009. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +323 -0
  1010. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -0
  1011. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs +53 -0
  1012. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -0
  1013. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +1317 -0
  1014. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -0
  1015. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +487 -0
  1016. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -0
  1017. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +257 -0
  1018. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -0
  1019. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +318 -0
  1020. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -0
  1021. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +211 -0
  1022. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -0
  1023. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +209 -0
  1024. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -0
  1025. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs +15 -0
  1026. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs.map +1 -0
  1027. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +29 -0
  1028. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -0
  1029. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +198 -0
  1030. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -0
  1031. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonAnnotations.mjs +42 -0
  1032. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonAnnotations.mjs.map +1 -0
  1033. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +96 -0
  1034. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs.map +1 -0
  1035. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonDecoder.mjs +26 -0
  1036. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonDecoder.mjs.map +1 -0
  1037. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +456 -0
  1038. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -0
  1039. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +568 -0
  1040. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -0
  1041. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonEncoder.mjs +26 -0
  1042. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonEncoder.mjs.map +1 -0
  1043. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +12 -0
  1044. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs.map +1 -0
  1045. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +764 -0
  1046. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -0
  1047. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +107 -0
  1048. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs.map +1 -0
  1049. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +221 -0
  1050. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -0
  1051. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +48 -0
  1052. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -0
  1053. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +126 -0
  1054. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -0
  1055. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +257 -0
  1056. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -0
  1057. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +169 -0
  1058. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -0
  1059. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +107 -0
  1060. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -0
  1061. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +24 -0
  1062. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -0
  1063. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +47 -0
  1064. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs.map +1 -0
  1065. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +243 -0
  1066. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -0
  1067. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +64 -0
  1068. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -0
  1069. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +80 -0
  1070. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -0
  1071. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +704 -0
  1072. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -0
  1073. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +381 -0
  1074. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -0
  1075. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +170 -0
  1076. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -0
  1077. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +179 -0
  1078. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -0
  1079. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +995 -0
  1080. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -0
  1081. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +136 -0
  1082. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -0
  1083. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +15 -0
  1084. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs.map +1 -0
  1085. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +582 -0
  1086. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -0
  1087. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs +25 -0
  1088. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs.map +1 -0
  1089. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +39 -0
  1090. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs.map +1 -0
  1091. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +294 -0
  1092. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -0
  1093. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +149 -0
  1094. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -0
  1095. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs +59 -0
  1096. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs.map +1 -0
  1097. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +71 -0
  1098. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -0
  1099. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +112 -0
  1100. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -0
  1101. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +253 -0
  1102. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -0
  1103. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +136 -0
  1104. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -0
  1105. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +37 -0
  1106. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs.map +1 -0
  1107. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +140 -0
  1108. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -0
  1109. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +346 -0
  1110. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -0
  1111. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +122 -0
  1112. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -0
  1113. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +70 -0
  1114. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs.map +1 -0
  1115. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +29 -0
  1116. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs.map +1 -0
  1117. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +84 -0
  1118. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs.map +1 -0
  1119. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +158 -0
  1120. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -0
  1121. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.mts +4 -0
  1122. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.mjs +13 -0
  1123. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.mjs.map +1 -0
  1124. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +90 -0
  1125. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -0
  1126. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +328 -0
  1127. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -0
  1128. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +172 -0
  1129. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -0
  1130. package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs +13 -0
  1131. package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs.map +1 -0
  1132. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +141 -0
  1133. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -0
  1134. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +77 -0
  1135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -0
  1136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +42 -0
  1137. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs.map +1 -0
  1138. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +312 -0
  1139. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -0
  1140. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +238 -0
  1141. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -0
  1142. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +403 -0
  1143. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -0
  1144. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs +15 -0
  1145. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs.map +1 -0
  1146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +520 -0
  1147. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -0
  1148. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +70 -0
  1149. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs.map +1 -0
  1150. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +399 -0
  1151. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -0
  1152. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +178 -0
  1153. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -0
  1154. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +214 -0
  1155. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -0
  1156. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +721 -0
  1157. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -0
  1158. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +342 -0
  1159. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -0
  1160. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +411 -0
  1161. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -0
  1162. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +257 -0
  1163. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -0
  1164. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +30 -0
  1165. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs.map +1 -0
  1166. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +56 -0
  1167. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs.map +1 -0
  1168. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +52 -0
  1169. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -0
  1170. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +161 -0
  1171. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -0
  1172. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +90 -0
  1173. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -0
  1174. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +262 -0
  1175. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -0
  1176. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +41 -0
  1177. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -0
  1178. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +44 -0
  1179. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs.map +1 -0
  1180. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSEClientContent.mjs +23 -0
  1181. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSEClientContent.mjs.map +1 -0
  1182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +247 -0
  1183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -0
  1184. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +68 -0
  1185. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -0
  1186. package/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +23 -0
  1187. package/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs.map +1 -0
  1188. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +50 -0
  1189. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -0
  1190. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +260 -0
  1191. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -0
  1192. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +107 -0
  1193. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs.map +1 -0
  1194. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +48 -0
  1195. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs.map +1 -0
  1196. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +15 -0
  1197. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs.map +1 -0
  1198. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +67 -0
  1199. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -0
  1200. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +112 -0
  1201. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -0
  1202. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +151 -0
  1203. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs.map +1 -0
  1204. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +155 -0
  1205. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -0
  1206. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +99 -0
  1207. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -0
  1208. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +69 -0
  1209. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs.map +1 -0
  1210. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +52 -0
  1211. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs.map +1 -0
  1212. package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs +24 -0
  1213. package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs.map +1 -0
  1214. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +79 -0
  1215. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs.map +1 -0
  1216. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +30 -0
  1217. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs.map +1 -0
  1218. package/ktor-ktor-client-core.mjs +12 -0
  1219. package/ktor-ktor-client-core.mjs.map +1 -0
  1220. package/ktor-ktor-events/io/ktor/events/Events.mjs +97 -0
  1221. package/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -0
  1222. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +382 -0
  1223. package/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -0
  1224. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +457 -0
  1225. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -0
  1226. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +219 -0
  1227. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -0
  1228. package/ktor-ktor-http/io/ktor/http/Headers.mjs +153 -0
  1229. package/ktor-ktor-http/io/ktor/http/Headers.mjs.map +1 -0
  1230. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +372 -0
  1231. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -0
  1232. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +245 -0
  1233. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -0
  1234. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +54 -0
  1235. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs.map +1 -0
  1236. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +92 -0
  1237. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -0
  1238. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +81 -0
  1239. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs.map +1 -0
  1240. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +150 -0
  1241. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -0
  1242. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +146 -0
  1243. package/ktor-ktor-http/io/ktor/http/Parameters.mjs.map +1 -0
  1244. package/ktor-ktor-http/io/ktor/http/Query.mjs +109 -0
  1245. package/ktor-ktor-http/io/ktor/http/Query.mjs.map +1 -0
  1246. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +284 -0
  1247. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -0
  1248. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +30 -0
  1249. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs.map +1 -0
  1250. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +400 -0
  1251. package/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -0
  1252. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +139 -0
  1253. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -0
  1254. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +128 -0
  1255. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -0
  1256. package/ktor-ktor-http/io/ktor/http/Url.mjs +344 -0
  1257. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -0
  1258. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +154 -0
  1259. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -0
  1260. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +42 -0
  1261. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs.map +1 -0
  1262. package/ktor-ktor-http/io/ktor/http/content/Multipart.mjs +22 -0
  1263. package/ktor-ktor-http/io/ktor/http/content/Multipart.mjs.map +1 -0
  1264. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +137 -0
  1265. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs.map +1 -0
  1266. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +51 -0
  1267. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs.map +1 -0
  1268. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +35 -0
  1269. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -0
  1270. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +327 -0
  1271. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -0
  1272. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +224 -0
  1273. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -0
  1274. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +547 -0
  1275. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -0
  1276. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +257 -0
  1277. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -0
  1278. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +366 -0
  1279. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -0
  1280. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +64 -0
  1281. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs.map +1 -0
  1282. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs +12 -0
  1283. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs.map +1 -0
  1284. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +332 -0
  1285. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -0
  1286. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +30 -0
  1287. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs.map +1 -0
  1288. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +30 -0
  1289. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs.map +1 -0
  1290. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +24 -0
  1291. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs.map +1 -0
  1292. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.jsAndWasmShared.mjs +12 -0
  1293. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.jsAndWasmShared.mjs.map +1 -0
  1294. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +539 -0
  1295. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -0
  1296. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +27 -0
  1297. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs.map +1 -0
  1298. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +208 -0
  1299. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -0
  1300. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +89 -0
  1301. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -0
  1302. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +358 -0
  1303. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -0
  1304. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +43 -0
  1305. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -0
  1306. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +271 -0
  1307. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -0
  1308. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +87 -0
  1309. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -0
  1310. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +89 -0
  1311. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -0
  1312. package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs +15 -0
  1313. package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs.map +1 -0
  1314. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +65 -0
  1315. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs.map +1 -0
  1316. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +15 -0
  1317. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs.map +1 -0
  1318. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +117 -0
  1319. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -0
  1320. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +72 -0
  1321. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -0
  1322. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +407 -0
  1323. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -0
  1324. package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs +34 -0
  1325. package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs.map +1 -0
  1326. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +82 -0
  1327. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs.map +1 -0
  1328. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +38 -0
  1329. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs.map +1 -0
  1330. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +43 -0
  1331. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -0
  1332. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +110 -0
  1333. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -0
  1334. package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs +22 -0
  1335. package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs.map +1 -0
  1336. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +12 -0
  1337. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs.map +1 -0
  1338. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +18 -0
  1339. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs.map +1 -0
  1340. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +27 -0
  1341. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs.map +1 -0
  1342. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +43 -0
  1343. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs.map +1 -0
  1344. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +18 -0
  1345. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs.map +1 -0
  1346. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +60 -0
  1347. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -0
  1348. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +42 -0
  1349. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs.map +1 -0
  1350. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +81 -0
  1351. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -0
  1352. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +50 -0
  1353. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -0
  1354. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +48 -0
  1355. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs.map +1 -0
  1356. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +248 -0
  1357. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -0
  1358. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +33 -0
  1359. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -0
  1360. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/ExtensionsJs.mjs +15 -0
  1361. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/ExtensionsJs.mjs.map +1 -0
  1362. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +442 -0
  1363. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -0
  1364. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +195 -0
  1365. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -0
  1366. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +44 -0
  1367. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs.map +1 -0
  1368. package/ktor-ktor-server-core/io/ktor/server/engine/ShutdownHook.jsAndWasmShared.mjs +8 -0
  1369. package/ktor-ktor-server-core/io/ktor/server/engine/ShutdownHook.jsAndWasmShared.mjs.map +1 -0
  1370. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +126 -0
  1371. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -0
  1372. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +73 -0
  1373. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs.map +1 -0
  1374. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +192 -0
  1375. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -0
  1376. package/ktor-ktor-utils/io/ktor/util/Charset.mjs +34 -0
  1377. package/ktor-ktor-utils/io/ktor/util/Charset.mjs.map +1 -0
  1378. package/ktor-ktor-utils/io/ktor/util/Collections.mjs +15 -0
  1379. package/ktor-ktor-utils/io/ktor/util/Collections.mjs.map +1 -0
  1380. package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs +12 -0
  1381. package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs.map +1 -0
  1382. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +41 -0
  1383. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -0
  1384. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +159 -0
  1385. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -0
  1386. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +43 -0
  1387. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs.map +1 -0
  1388. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +221 -0
  1389. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs.map +1 -0
  1390. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs +16 -0
  1391. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs.map +1 -0
  1392. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +370 -0
  1393. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -0
  1394. package/ktor-ktor-utils/io/ktor/util/Text.mjs +132 -0
  1395. package/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -0
  1396. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +31 -0
  1397. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs.map +1 -0
  1398. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +519 -0
  1399. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -0
  1400. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +60 -0
  1401. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -0
  1402. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +100 -0
  1403. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -0
  1404. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +137 -0
  1405. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs.map +1 -0
  1406. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +84 -0
  1407. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs.map +1 -0
  1408. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +84 -0
  1409. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -0
  1410. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +120 -0
  1411. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -0
  1412. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +362 -0
  1413. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -0
  1414. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs +16 -0
  1415. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs.map +1 -0
  1416. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +41 -0
  1417. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs.map +1 -0
  1418. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs +15 -0
  1419. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -0
  1420. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +50 -0
  1421. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs.map +1 -0
  1422. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +89 -0
  1423. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs.map +1 -0
  1424. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs +29 -0
  1425. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs.map +1 -0
  1426. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs +12 -0
  1427. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs.map +1 -0
  1428. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +196 -0
  1429. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -0
  1430. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +55 -0
  1431. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs.map +1 -0
  1432. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +12 -0
  1433. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs.map +1 -0
  1434. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +207 -0
  1435. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -0
  1436. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +47 -0
  1437. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -0
  1438. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +148 -0
  1439. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs.map +1 -0
  1440. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +167 -0
  1441. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -0
  1442. package/package.json +23 -0
@@ -0,0 +1,2791 @@
1
+ import { Unit_instance1fbcbse1fwigr as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
2
+ import {
3
+ Segmentqmq1glevgieu as Segment,
4
+ closefimrnzr4lu35 as close,
5
+ findSegmentInternal35lxp6iondi3q as findSegmentInternal,
6
+ _SegmentOrClosed___get_segment__impl__jvcr9l1chmpjvbuseuk as _SegmentOrClosed___get_segment__impl__jvcr9l,
7
+ _SegmentOrClosed___get_isClosed__impl__qmxmlo3e3mrt157zasn as _SegmentOrClosed___get_isClosed__impl__qmxmlo,
8
+ SegmentOrCloseds3xpxfs4wrg9 as SegmentOrClosed,
9
+ } from '../internal/ConcurrentLinkedList.mjs';
10
+ import { atomicfu$AtomicRefArray$ofNulls2kz3j9ehigwa3 as atomicfu$AtomicRefArray$ofNulls } from '../../../../kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs';
11
+ import {
12
+ ensureNotNull1e947j3ixpazm as ensureNotNull,
13
+ THROW_CCE2g6jy02ryeudk as THROW_CCE,
14
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
15
+ import { Waiter3lxa2a79zyo0g as Waiter } from '../Waiter.mjs';
16
+ import { isInterface3d6p8outrmvmk as isInterface } from '../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
17
+ import { toString30pk9tzaqopn as toString } from '../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
18
+ import {
19
+ IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
20
+ IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
21
+ NoSuchElementException679xzhnp5bpj as NoSuchElementException,
22
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/exceptions.mjs';
23
+ import {
24
+ toString1pkumu07cwy4m as toString_0,
25
+ protoOf180f3jzyo7rfj as protoOf,
26
+ equals2au1ep9vhcato as equals,
27
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
28
+ import {
29
+ callUndeliveredElement5xsmnofvtcme as callUndeliveredElement,
30
+ callUndeliveredElementCatchingException6xwxmojd3rq1 as callUndeliveredElementCatchingException,
31
+ } from '../internal/OnUndeliveredElement.mjs';
32
+ import {
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';
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';
46
+ import {
47
+ recoverStackTrace3k4hvtb53ci4z as recoverStackTrace,
48
+ recoverStackTrace2i3si2i8nvw1k as recoverStackTrace_0,
49
+ } from '../internal/StackTraceRecovery.mjs';
50
+ import {
51
+ intercepted2ogpsikxxj4u0 as intercepted,
52
+ suspendOrReturn49pspzlx5djv as suspendOrReturn,
53
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
54
+ import {
55
+ getOrCreateCancellableContinuation2t1o0dr9l9i36 as getOrCreateCancellableContinuation,
56
+ CancellableContinuationpb2x00mxmcbt as CancellableContinuation,
57
+ } from '../CancellableContinuation.mjs';
58
+ import {
59
+ Companion_instance2oawqq9qiaris as Companion_instance,
60
+ createFailure8paxfkfa5dc7 as createFailure,
61
+ _Result___init__impl__xyqfz83hut4nr3dfvi3 as _Result___init__impl__xyqfz8,
62
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/Result.mjs';
63
+ import { CancellableContinuationImpl1cx201opicavg as CancellableContinuationImpl } from '../CancellableContinuationImpl.mjs';
64
+ import { addSuppressedu5jwjfvsc039 as addSuppressed } from '../../../../kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs';
65
+ import {
66
+ Companion_getInstance8sxi3cktwbr5 as Companion_getInstance,
67
+ ChannelResult2y4k69ac6y3du as ChannelResult,
68
+ ClosedReceiveChannelException3ofg6gf5f5b38 as ClosedReceiveChannelException,
69
+ ChannelResult__getOrNull_impl_f5e07h1mddh1y59r3zw as ChannelResult__getOrNull_impl_f5e07h,
70
+ ClosedSendChannelException29m33prpq9jaw as ClosedSendChannelException,
71
+ close$default3plsfhsdbsvbv as close$default,
72
+ cancel$default2g4arzbcb5isa as cancel$default,
73
+ SendChannel38sllbxw662ws as SendChannel,
74
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
75
+ } from './Channel.mjs';
76
+ import {
77
+ SelectInstance2isepgzfsd8ur as SelectInstance,
78
+ SelectImplementation59ci94k9x9wm as SelectImplementation,
79
+ TrySelectDetailedResult_REREGISTER_getInstance2a0bjw99yymto as TrySelectDetailedResult_REREGISTER_getInstance,
80
+ TrySelectDetailedResult_SUCCESSFUL_getInstance2uasownw8ahu5 as TrySelectDetailedResult_SUCCESSFUL_getInstance,
81
+ } from '../selects/Select.mjs';
82
+ import {
83
+ _InlineList___init__impl__z8n562662s9jzwcbcg as _InlineList___init__impl__z8n56,
84
+ InlineList__plus_impl_nuetvo2kefjf4xs4r0z as InlineList__plus_impl_nuetvo,
85
+ access$_get_holder__kkflen2dpfhuyt7ng33 as access$_get_holder__kkflen,
86
+ } from '../internal/InlineList.mjs';
87
+ import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
88
+ import {
89
+ atomic$long$129k9zwo6n9ogd as atomic$long$1,
90
+ atomic$ref$130aurmcwdfdf1 as atomic$ref$1,
91
+ } from '../../../../kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs';
92
+ import { CancellationException3b36o9qz53rgr as CancellationException } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs';
93
+ import { StringBuildermazzzhj6kkai as StringBuilder } from '../../../../kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs';
94
+ import { listOf1jh22dvmctj1r as listOf } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
95
+ import { compareTo3ankvs086tmwq as compareTo } from '../../../../kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs';
96
+ import { last2n4gf5az1lkn4 as last } from '../../../../kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs';
97
+ import { _Char___init__impl__6a9atx2js6krycynjoo as _Char___init__impl__6a9atx } from '../../../../kotlin-kotlin-stdlib/kotlin/Char.mjs';
98
+ import { systemProp2qpti4y1f5b4b as systemProp } from '../internal/SystemProps.common.mjs';
99
+ import { Symbol17xuwzgi5g8ve as Symbol } from '../internal/Symbol.mjs';
100
+ //region block: imports
101
+ var imul = Math.imul;
102
+ //endregion
103
+ //region block: pre-declaration
104
+ //endregion
105
+ function get_NULL_SEGMENT() {
106
+ _init_properties_BufferedChannel_kt__d6uc4y();
107
+ return NULL_SEGMENT;
108
+ }
109
+ var NULL_SEGMENT;
110
+ function get_SEGMENT_SIZE() {
111
+ _init_properties_BufferedChannel_kt__d6uc4y();
112
+ return SEGMENT_SIZE;
113
+ }
114
+ var SEGMENT_SIZE;
115
+ function get_EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS() {
116
+ _init_properties_BufferedChannel_kt__d6uc4y();
117
+ return EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS;
118
+ }
119
+ var EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS;
120
+ function get_BUFFERED() {
121
+ _init_properties_BufferedChannel_kt__d6uc4y();
122
+ return BUFFERED;
123
+ }
124
+ var BUFFERED;
125
+ function get_IN_BUFFER() {
126
+ _init_properties_BufferedChannel_kt__d6uc4y();
127
+ return IN_BUFFER;
128
+ }
129
+ var IN_BUFFER;
130
+ function get_RESUMING_BY_RCV() {
131
+ _init_properties_BufferedChannel_kt__d6uc4y();
132
+ return RESUMING_BY_RCV;
133
+ }
134
+ var RESUMING_BY_RCV;
135
+ function get_RESUMING_BY_EB() {
136
+ _init_properties_BufferedChannel_kt__d6uc4y();
137
+ return RESUMING_BY_EB;
138
+ }
139
+ var RESUMING_BY_EB;
140
+ function get_POISONED() {
141
+ _init_properties_BufferedChannel_kt__d6uc4y();
142
+ return POISONED;
143
+ }
144
+ var POISONED;
145
+ function get_DONE_RCV() {
146
+ _init_properties_BufferedChannel_kt__d6uc4y();
147
+ return DONE_RCV;
148
+ }
149
+ var DONE_RCV;
150
+ function get_INTERRUPTED_SEND() {
151
+ _init_properties_BufferedChannel_kt__d6uc4y();
152
+ return INTERRUPTED_SEND;
153
+ }
154
+ var INTERRUPTED_SEND;
155
+ function get_INTERRUPTED_RCV() {
156
+ _init_properties_BufferedChannel_kt__d6uc4y();
157
+ return INTERRUPTED_RCV;
158
+ }
159
+ var INTERRUPTED_RCV;
160
+ function get_CHANNEL_CLOSED() {
161
+ _init_properties_BufferedChannel_kt__d6uc4y();
162
+ return CHANNEL_CLOSED;
163
+ }
164
+ var CHANNEL_CLOSED;
165
+ function get_SUSPEND() {
166
+ _init_properties_BufferedChannel_kt__d6uc4y();
167
+ return SUSPEND;
168
+ }
169
+ var SUSPEND;
170
+ function get_SUSPEND_NO_WAITER() {
171
+ _init_properties_BufferedChannel_kt__d6uc4y();
172
+ return SUSPEND_NO_WAITER;
173
+ }
174
+ var SUSPEND_NO_WAITER;
175
+ function get_FAILED() {
176
+ _init_properties_BufferedChannel_kt__d6uc4y();
177
+ return FAILED;
178
+ }
179
+ var FAILED;
180
+ function get_NO_RECEIVE_RESULT() {
181
+ _init_properties_BufferedChannel_kt__d6uc4y();
182
+ return NO_RECEIVE_RESULT;
183
+ }
184
+ var NO_RECEIVE_RESULT;
185
+ function get_CLOSE_HANDLER_CLOSED() {
186
+ _init_properties_BufferedChannel_kt__d6uc4y();
187
+ return CLOSE_HANDLER_CLOSED;
188
+ }
189
+ var CLOSE_HANDLER_CLOSED;
190
+ function get_CLOSE_HANDLER_INVOKED() {
191
+ _init_properties_BufferedChannel_kt__d6uc4y();
192
+ return CLOSE_HANDLER_INVOKED;
193
+ }
194
+ var CLOSE_HANDLER_INVOKED;
195
+ function get_NO_CLOSE_CAUSE() {
196
+ _init_properties_BufferedChannel_kt__d6uc4y();
197
+ return NO_CLOSE_CAUSE;
198
+ }
199
+ var NO_CLOSE_CAUSE;
200
+ function setElementLazy($this, index, value) {
201
+ // Inline function 'kotlinx.atomicfu.AtomicRef.lazySet' call
202
+ $this.e14_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
203
+ }
204
+ var ChannelSegmentClass;
205
+ function ChannelSegment() {
206
+ if (ChannelSegmentClass === VOID) {
207
+ class $ extends Segment() {
208
+ constructor(id, prev, channel, pointers) {
209
+ super(id, prev, pointers);
210
+ this.d14_1 = channel;
211
+ this.e14_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
212
+ }
213
+ f14() {
214
+ return ensureNotNull(this.d14_1);
215
+ }
216
+ g14() {
217
+ return get_SEGMENT_SIZE();
218
+ }
219
+ h14(index, element) {
220
+ setElementLazy(this, index, element);
221
+ }
222
+ i14(index) {
223
+ var tmp = this.e14_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
224
+ return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
225
+ }
226
+ j14(index) {
227
+ // Inline function 'kotlin.also' call
228
+ var this_0 = this.i14(index);
229
+ this.k14(index);
230
+ return this_0;
231
+ }
232
+ k14(index) {
233
+ setElementLazy(this, index, null);
234
+ }
235
+ l14(index) {
236
+ return this.e14_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
237
+ }
238
+ m14(index, value) {
239
+ this.e14_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
240
+ }
241
+ n14(index, from, to) {
242
+ return this.e14_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
243
+ }
244
+ o14(index, update) {
245
+ return this.e14_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
246
+ }
247
+ zw(index, cause, context) {
248
+ var isSender = index >= get_SEGMENT_SIZE();
249
+ var index_0 = isSender ? index - get_SEGMENT_SIZE() | 0 : index;
250
+ var element = this.i14(index_0);
251
+ $l$loop: while (true) {
252
+ var cur = this.l14(index_0);
253
+ var tmp;
254
+ if (!(cur == null) ? isInterface(cur, Waiter()) : false) {
255
+ tmp = true;
256
+ } else {
257
+ tmp = cur instanceof WaiterEB();
258
+ }
259
+ if (tmp) {
260
+ var update = isSender ? get_INTERRUPTED_SEND() : get_INTERRUPTED_RCV();
261
+ if (this.n14(index_0, cur, update)) {
262
+ this.k14(index_0);
263
+ this.b15(index_0, !isSender);
264
+ if (isSender) {
265
+ var tmp0_safe_receiver = this.f14().q14_1;
266
+ if (tmp0_safe_receiver == null)
267
+ null;
268
+ else {
269
+ callUndeliveredElement(tmp0_safe_receiver, element, context);
270
+ }
271
+ }
272
+ return Unit_instance;
273
+ }
274
+ } else {
275
+ if (cur === get_INTERRUPTED_SEND() || cur === get_INTERRUPTED_RCV()) {
276
+ this.k14(index_0);
277
+ if (isSender) {
278
+ var tmp1_safe_receiver = this.f14().q14_1;
279
+ if (tmp1_safe_receiver == null)
280
+ null;
281
+ else {
282
+ callUndeliveredElement(tmp1_safe_receiver, element, context);
283
+ }
284
+ }
285
+ return Unit_instance;
286
+ } else {
287
+ if (cur === get_RESUMING_BY_EB() || cur === get_RESUMING_BY_RCV())
288
+ continue $l$loop;
289
+ else {
290
+ if (cur === get_DONE_RCV() || cur === get_BUFFERED())
291
+ return Unit_instance;
292
+ else {
293
+ if (cur === get_CHANNEL_CLOSED())
294
+ return Unit_instance;
295
+ else {
296
+ // Inline function 'kotlin.error' call
297
+ var message = 'unexpected state: ' + toString(cur);
298
+ throw IllegalStateException().w4(toString_0(message));
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ b15(index, receiver) {
307
+ if (receiver) {
308
+ var tmp = this.f14();
309
+ var tmp0 = this.xw_1;
310
+ // Inline function 'kotlin.Long.times' call
311
+ var other = get_SEGMENT_SIZE();
312
+ // Inline function 'kotlin.Long.plus' call
313
+ var this_0 = multiply(tmp0, fromInt(other));
314
+ var tmp$ret$1 = add(this_0, fromInt(index));
315
+ tmp.c15(tmp$ret$1);
316
+ }
317
+ this.d15();
318
+ }
319
+ }
320
+ initMetadataForClass($, 'ChannelSegment');
321
+ ChannelSegmentClass = $;
322
+ }
323
+ return ChannelSegmentClass;
324
+ }
325
+ function *_generator_hasNext__q471nr($this, $completion) {
326
+ var tmp;
327
+ if (!($this.p15_1 === get_NO_RECEIVE_RESULT()) && !($this.p15_1 === get_CHANNEL_CLOSED())) {
328
+ tmp = true;
329
+ } else {
330
+ var tmp0 = $this.r15_1;
331
+ var tmp$ret$1;
332
+ $l$block_0: {
333
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
334
+ var segment = tmp0.w14_1.kotlinx$atomicfu$value;
335
+ $l$loop_0: while (true) {
336
+ if (tmp0.s15()) {
337
+ tmp$ret$1 = onClosedHasNext($this);
338
+ break $l$block_0;
339
+ }
340
+ var r = tmp0.s14_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.xw_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().w4(toString_0(message));
369
+ } else if (updCellResult === get_FAILED()) {
370
+ if (r < tmp0.t15()) {
371
+ segment.n15();
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.n15();
382
+ $this.p15_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
+ }
393
+ function onClosedHasNext($this) {
394
+ $this.p15_1 = get_CHANNEL_CLOSED();
395
+ var tmp0_elvis_lhs = $this.r15_1.u15();
396
+ var tmp;
397
+ if (tmp0_elvis_lhs == null) {
398
+ return false;
399
+ } else {
400
+ tmp = tmp0_elvis_lhs;
401
+ }
402
+ var cause = tmp;
403
+ throw recoverStackTrace(cause);
404
+ }
405
+ function hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
406
+ var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
407
+ try {
408
+ $this.q15_1 = cancellable;
409
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
410
+ var this_0 = $this.r15_1;
411
+ var updCellResult = updateCellReceive(this_0, segment, index, r, $this);
412
+ if (updCellResult === get_SUSPEND()) {
413
+ prepareReceiverForSuspension(this_0, $this, segment, index);
414
+ } else if (updCellResult === get_FAILED()) {
415
+ if (r < this_0.t15()) {
416
+ segment.n15();
417
+ }
418
+ $l$block_0: {
419
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
420
+ var segment_0 = this_0.w14_1.kotlinx$atomicfu$value;
421
+ $l$loop_0: while (true) {
422
+ if (this_0.s15()) {
423
+ onClosedHasNextNoWaiterSuspend($this);
424
+ break $l$block_0;
425
+ }
426
+ var r_0 = this_0.s14_1.atomicfu$getAndIncrement$long();
427
+ // Inline function 'kotlin.Long.div' call
428
+ var other = get_SEGMENT_SIZE();
429
+ var id = divide(r_0, fromInt(other));
430
+ // Inline function 'kotlin.Long.rem' call
431
+ var other_0 = get_SEGMENT_SIZE();
432
+ var tmp$ret$3 = modulo(r_0, fromInt(other_0));
433
+ var i = convertToInt(tmp$ret$3);
434
+ if (!(segment_0.xw_1 === id)) {
435
+ var tmp0_elvis_lhs = findSegmentReceive(this_0, id, segment_0);
436
+ var tmp;
437
+ if (tmp0_elvis_lhs == null) {
438
+ continue $l$loop_0;
439
+ } else {
440
+ tmp = tmp0_elvis_lhs;
441
+ }
442
+ segment_0 = tmp;
443
+ }
444
+ var updCellResult_0 = updateCellReceive(this_0, segment_0, i, r_0, $this);
445
+ if (updCellResult_0 === get_SUSPEND()) {
446
+ var tmp1_safe_receiver = (!($this == null) ? isInterface($this, Waiter()) : false) ? $this : null;
447
+ if (tmp1_safe_receiver == null)
448
+ null;
449
+ else {
450
+ prepareReceiverForSuspension(this_0, tmp1_safe_receiver, segment_0, i);
451
+ }
452
+ } else if (updCellResult_0 === get_FAILED()) {
453
+ if (r_0 < this_0.t15()) {
454
+ segment_0.n15();
455
+ }
456
+ continue $l$loop_0;
457
+ } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
458
+ // Inline function 'kotlin.error' call
459
+ var message = 'unexpected';
460
+ throw IllegalStateException().w4(toString_0(message));
461
+ } else {
462
+ segment_0.n15();
463
+ var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
464
+ $this.p15_1 = element;
465
+ $this.q15_1 = null;
466
+ var tmp0_safe_receiver = $this.r15_1.q14_1;
467
+ cancellable.yv(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.r15_1, tmp0_safe_receiver, element));
468
+ }
469
+ break $l$block_0;
470
+ }
471
+ }
472
+ } else {
473
+ segment.n15();
474
+ var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
475
+ $this.p15_1 = element_0;
476
+ $this.q15_1 = null;
477
+ var tmp0_safe_receiver_0 = $this.r15_1.q14_1;
478
+ cancellable.yv(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.r15_1, tmp0_safe_receiver_0, element_0));
479
+ }
480
+ } catch ($p) {
481
+ if ($p instanceof Error) {
482
+ var e = $p;
483
+ cancellable.yx();
484
+ throw e;
485
+ } else {
486
+ throw $p;
487
+ }
488
+ }
489
+ return cancellable.xx();
490
+ }
491
+ function onClosedHasNextNoWaiterSuspend($this) {
492
+ var cont = ensureNotNull($this.q15_1);
493
+ $this.q15_1 = null;
494
+ $this.p15_1 = get_CHANNEL_CLOSED();
495
+ var cause = $this.r15_1.u15();
496
+ if (cause == null) {
497
+ // Inline function 'kotlin.coroutines.resume' call
498
+ // Inline function 'kotlin.Companion.success' call
499
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
500
+ cont.vb(tmp$ret$0);
501
+ } else {
502
+ // Inline function 'kotlin.coroutines.resumeWithException' call
503
+ // Inline function 'kotlin.Companion.failure' call
504
+ var exception = recoverStackTrace_0(cause, cont);
505
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
506
+ cont.vb(tmp$ret$2);
507
+ }
508
+ }
509
+ function _get_bufferEndCounter__2d4hee($this) {
510
+ return $this.t14_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.v14_1.kotlinx$atomicfu$value;
521
+ $l$loop_0: while (true) {
522
+ var sendersAndCloseStatusCur = $this.r14_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.xw_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.n15();
554
+ break $l$block_5;
555
+ case 1:
556
+ break $l$block_5;
557
+ case 2:
558
+ if (closed) {
559
+ segment.d15();
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
+ }
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
+ }
572
+
573
+ // Inline function 'kotlinx.coroutines.assert' call
574
+
575
+ break $l$block_5;
576
+ case 4:
577
+ if (s < $this.v15()) {
578
+ segment.n15();
579
+ }
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.n15();
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;
594
+ }
595
+ }
596
+ }
597
+ return Unit_instance;
598
+ }
599
+ function onClosedSend($this, element, $completion) {
600
+ var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
601
+ cancellable.px();
602
+ $l$block: {
603
+ var tmp0_safe_receiver = $this.q14_1;
604
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
605
+ if (tmp1_safe_receiver == null)
606
+ null;
607
+ else {
608
+ // Inline function 'kotlin.let' call
609
+ addSuppressed(tmp1_safe_receiver, $this.w15());
610
+ // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
611
+ // Inline function 'kotlin.Companion.failure' call
612
+ var exception = recoverStackTrace_0(tmp1_safe_receiver, cancellable);
613
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
614
+ cancellable.vb(tmp$ret$0);
615
+ break $l$block;
616
+ }
617
+ // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
618
+ var exception_0 = $this.w15();
619
+ // Inline function 'kotlin.Companion.failure' call
620
+ var exception_1 = recoverStackTrace_0(exception_0, cancellable);
621
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_1));
622
+ cancellable.vb(tmp$ret$4);
623
+ }
624
+ return cancellable.xx();
625
+ }
626
+ function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
627
+ var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
628
+ try {
629
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter' call
630
+ switch (updateCellSend($this, segment, index, element, s, cancellable, false)) {
631
+ case 0:
632
+ segment.n15();
633
+ // Inline function 'kotlin.coroutines.resume' call
634
+
635
+ // Inline function 'kotlin.Companion.success' call
636
+
637
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
638
+ cancellable.vb(tmp$ret$0);
639
+ break;
640
+ case 1:
641
+ // Inline function 'kotlin.coroutines.resume' call
642
+
643
+ // Inline function 'kotlin.Companion.success' call
644
+
645
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
646
+ cancellable.vb(tmp$ret$3);
647
+ break;
648
+ case 2:
649
+ prepareSenderForSuspension($this, cancellable, segment, index);
650
+ break;
651
+ case 4:
652
+ if (s < $this.v15()) {
653
+ segment.n15();
654
+ }
655
+
656
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
657
+ break;
658
+ case 5:
659
+ segment.n15();
660
+ $l$block_5: {
661
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
662
+ var segment_0 = $this.v14_1.kotlinx$atomicfu$value;
663
+ $l$loop_0: while (true) {
664
+ var sendersAndCloseStatusCur = $this.r14_1.atomicfu$getAndIncrement$long();
665
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
666
+ var s_0 = sendersAndCloseStatusCur & 1152921504606846975n;
667
+ var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
668
+ // Inline function 'kotlin.Long.div' call
669
+ var other = get_SEGMENT_SIZE();
670
+ var id = divide(s_0, fromInt(other));
671
+ // Inline function 'kotlin.Long.rem' call
672
+ var other_0 = get_SEGMENT_SIZE();
673
+ var tmp$ret$9 = modulo(s_0, fromInt(other_0));
674
+ var i = convertToInt(tmp$ret$9);
675
+ if (!(segment_0.xw_1 === id)) {
676
+ var tmp0_elvis_lhs = findSegmentSend($this, id, segment_0);
677
+ var tmp;
678
+ if (tmp0_elvis_lhs == null) {
679
+ var tmp_0;
680
+ if (closed) {
681
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
682
+ break $l$block_5;
683
+ } else {
684
+ continue $l$loop_0;
685
+ }
686
+ } else {
687
+ tmp = tmp0_elvis_lhs;
688
+ }
689
+ segment_0 = tmp;
690
+ }
691
+ switch (updateCellSend($this, segment_0, i, element, s_0, cancellable, closed)) {
692
+ case 0:
693
+ segment_0.n15();
694
+ // Inline function 'kotlin.coroutines.resume' call
695
+
696
+ // Inline function 'kotlin.Companion.success' call
697
+
698
+ var tmp$ret$12 = _Result___init__impl__xyqfz8(Unit_instance);
699
+ cancellable.vb(tmp$ret$12);
700
+ break $l$block_5;
701
+ case 1:
702
+ // Inline function 'kotlin.coroutines.resume' call
703
+
704
+ // Inline function 'kotlin.Companion.success' call
705
+
706
+ var tmp$ret$15 = _Result___init__impl__xyqfz8(Unit_instance);
707
+ cancellable.vb(tmp$ret$15);
708
+ break $l$block_5;
709
+ case 2:
710
+ if (closed) {
711
+ segment_0.d15();
712
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
713
+ break $l$block_5;
714
+ }
715
+
716
+ var tmp2_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
717
+ if (tmp2_safe_receiver == null)
718
+ null;
719
+ else {
720
+ prepareSenderForSuspension($this, tmp2_safe_receiver, segment_0, i);
721
+ }
722
+
723
+ break $l$block_5;
724
+ case 4:
725
+ if (s_0 < $this.v15()) {
726
+ segment_0.n15();
727
+ }
728
+
729
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
730
+ break $l$block_5;
731
+ case 5:
732
+ segment_0.n15();
733
+ continue $l$loop_0;
734
+ case 3:
735
+ // Inline function 'kotlin.error' call
736
+
737
+ var message = 'unexpected';
738
+ throw IllegalStateException().w4(toString_0(message));
739
+ }
740
+ }
741
+ }
742
+
743
+ break;
744
+ default:
745
+ // Inline function 'kotlin.error' call
746
+
747
+ var message_0 = 'unexpected';
748
+ throw IllegalStateException().w4(toString_0(message_0));
749
+ }
750
+ } catch ($p) {
751
+ if ($p instanceof Error) {
752
+ var e = $p;
753
+ cancellable.yx();
754
+ throw e;
755
+ } else {
756
+ throw $p;
757
+ }
758
+ }
759
+ return cancellable.xx();
760
+ }
761
+ function prepareSenderForSuspension($this, _this__u8e3s4, segment, index) {
762
+ _this__u8e3s4.ey(segment, index + get_SEGMENT_SIZE() | 0);
763
+ }
764
+ function onClosedSendOnNoWaiterSuspend($this, element, cont) {
765
+ var tmp0_safe_receiver = $this.q14_1;
766
+ if (tmp0_safe_receiver == null)
767
+ null;
768
+ else {
769
+ callUndeliveredElement(tmp0_safe_receiver, element, cont.tb());
770
+ }
771
+ // Inline function 'kotlin.coroutines.resumeWithException' call
772
+ // Inline function 'kotlin.Companion.failure' call
773
+ var exception = recoverStackTrace_0($this.w15(), cont);
774
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
775
+ cont.vb(tmp$ret$0);
776
+ }
777
+ var SendBroadcastClass;
778
+ function SendBroadcast() {
779
+ if (SendBroadcastClass === VOID) {
780
+ class $ {}
781
+ initMetadataForClass($, 'SendBroadcast', VOID, VOID, [Waiter()]);
782
+ SendBroadcastClass = $;
783
+ }
784
+ return SendBroadcastClass;
785
+ }
786
+ function updateCellSend($this, segment, index, element, s, waiter, closed) {
787
+ segment.h14(index, element);
788
+ if (closed)
789
+ return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
790
+ var state = segment.l14(index);
791
+ if (state === null) {
792
+ if (bufferOrRendezvousSend($this, s)) {
793
+ if (segment.n14(index, null, get_BUFFERED())) {
794
+ return 1;
795
+ }
796
+ } else {
797
+ if (waiter == null) {
798
+ return 3;
799
+ } else {
800
+ if (segment.n14(index, null, waiter))
801
+ return 2;
802
+ }
803
+ }
804
+ } else {
805
+ if (!(state == null) ? isInterface(state, Waiter()) : false) {
806
+ segment.k14(index);
807
+ var tmp;
808
+ if (tryResumeReceiver($this, state, element)) {
809
+ segment.m14(index, get_DONE_RCV());
810
+ $this.x15();
811
+ tmp = 0;
812
+ } else {
813
+ if (!(segment.o14(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
814
+ segment.b15(index, true);
815
+ }
816
+ tmp = 5;
817
+ }
818
+ return tmp;
819
+ }
820
+ }
821
+ return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
822
+ }
823
+ function updateCellSendSlow($this, segment, index, element, s, waiter, closed) {
824
+ while (true) {
825
+ var state = segment.l14(index);
826
+ if (state === null) {
827
+ if (bufferOrRendezvousSend($this, s) && !closed) {
828
+ if (segment.n14(index, null, get_BUFFERED())) {
829
+ return 1;
830
+ }
831
+ } else {
832
+ if (closed) {
833
+ if (segment.n14(index, null, get_INTERRUPTED_SEND())) {
834
+ segment.b15(index, false);
835
+ return 4;
836
+ }
837
+ } else if (waiter == null)
838
+ return 3;
839
+ else if (segment.n14(index, null, waiter))
840
+ return 2;
841
+ }
842
+ } else if (state === get_IN_BUFFER()) {
843
+ if (segment.n14(index, state, get_BUFFERED())) {
844
+ return 1;
845
+ }
846
+ } else if (state === get_INTERRUPTED_RCV()) {
847
+ segment.k14(index);
848
+ return 5;
849
+ } else if (state === get_POISONED()) {
850
+ segment.k14(index);
851
+ return 5;
852
+ } else if (state === get_CHANNEL_CLOSED()) {
853
+ segment.k14(index);
854
+ completeCloseOrCancel($this);
855
+ return 4;
856
+ } else {
857
+ // Inline function 'kotlinx.coroutines.assert' call
858
+ segment.k14(index);
859
+ var tmp;
860
+ if (state instanceof WaiterEB()) {
861
+ tmp = state.y15_1;
862
+ } else {
863
+ tmp = state;
864
+ }
865
+ var receiver = tmp;
866
+ var tmp_0;
867
+ if (tryResumeReceiver($this, receiver, element)) {
868
+ segment.m14(index, get_DONE_RCV());
869
+ $this.x15();
870
+ tmp_0 = 0;
871
+ } else {
872
+ if (!(segment.o14(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
873
+ segment.b15(index, true);
874
+ }
875
+ tmp_0 = 5;
876
+ }
877
+ return tmp_0;
878
+ }
879
+ }
880
+ }
881
+ function shouldSendSuspend0($this, curSendersAndCloseStatus) {
882
+ if (_get_isClosedForSend0__kxgf9m($this, curSendersAndCloseStatus))
883
+ return false;
884
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
885
+ var tmp$ret$0 = curSendersAndCloseStatus & 1152921504606846975n;
886
+ return !bufferOrRendezvousSend($this, tmp$ret$0);
887
+ }
888
+ function bufferOrRendezvousSend($this, curSenders) {
889
+ var tmp;
890
+ if (curSenders < _get_bufferEndCounter__2d4hee($this)) {
891
+ tmp = true;
892
+ } else {
893
+ var tmp0 = $this.v15();
894
+ // Inline function 'kotlin.Long.plus' call
895
+ var other = $this.p14_1;
896
+ tmp = curSenders < add(tmp0, fromInt(other));
897
+ }
898
+ return tmp;
899
+ }
900
+ function tryResumeReceiver($this, _this__u8e3s4, element) {
901
+ var tmp;
902
+ if (isInterface(_this__u8e3s4, SelectInstance())) {
903
+ tmp = _this__u8e3s4.d16($this, element);
904
+ } else {
905
+ if (_this__u8e3s4 instanceof ReceiveCatching()) {
906
+ if (!(_this__u8e3s4 instanceof ReceiveCatching()))
907
+ THROW_CCE();
908
+ var tmp_0 = Companion_getInstance().b16(element);
909
+ var tmp1_safe_receiver = $this.q14_1;
910
+ tmp = tryResume0(_this__u8e3s4.c16_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
911
+ } else {
912
+ if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
913
+ if (!(_this__u8e3s4 instanceof BufferedChannelIterator()))
914
+ THROW_CCE();
915
+ tmp = _this__u8e3s4.z15(element);
916
+ } else {
917
+ if (isInterface(_this__u8e3s4, CancellableContinuation())) {
918
+ if (!isInterface(_this__u8e3s4, CancellableContinuation()))
919
+ THROW_CCE();
920
+ var tmp2_safe_receiver = $this.q14_1;
921
+ tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
922
+ } else {
923
+ var message = 'Unexpected receiver type: ' + toString_0(_this__u8e3s4);
924
+ throw IllegalStateException().w4(toString_0(message));
925
+ }
926
+ }
927
+ }
928
+ }
929
+ return tmp;
930
+ }
931
+ function prepareReceiverForSuspension($this, _this__u8e3s4, segment, index) {
932
+ $this.e16();
933
+ _this__u8e3s4.ey(segment, index);
934
+ }
935
+ function updateCellReceive($this, segment, index, r, waiter) {
936
+ var state = segment.l14(index);
937
+ if (state === null) {
938
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
939
+ var senders = $this.r14_1.kotlinx$atomicfu$value & 1152921504606846975n;
940
+ if (r >= senders) {
941
+ if (waiter === null) {
942
+ return get_SUSPEND_NO_WAITER();
943
+ }
944
+ if (segment.n14(index, state, waiter)) {
945
+ expandBuffer($this);
946
+ return get_SUSPEND();
947
+ }
948
+ }
949
+ } else if (state === get_BUFFERED())
950
+ if (segment.n14(index, state, get_DONE_RCV())) {
951
+ expandBuffer($this);
952
+ return segment.j14(index);
953
+ }
954
+ return updateCellReceiveSlow($this, segment, index, r, waiter);
955
+ }
956
+ function updateCellReceiveSlow($this, segment, index, r, waiter) {
957
+ $l$loop: while (true) {
958
+ var state = segment.l14(index);
959
+ if (state === null || state === get_IN_BUFFER()) {
960
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
961
+ var senders = $this.r14_1.kotlinx$atomicfu$value & 1152921504606846975n;
962
+ if (r < senders) {
963
+ if (segment.n14(index, state, get_POISONED())) {
964
+ expandBuffer($this);
965
+ return get_FAILED();
966
+ }
967
+ } else {
968
+ if (waiter === null) {
969
+ return get_SUSPEND_NO_WAITER();
970
+ }
971
+ if (segment.n14(index, state, waiter)) {
972
+ expandBuffer($this);
973
+ return get_SUSPEND();
974
+ }
975
+ }
976
+ } else if (state === get_BUFFERED()) {
977
+ if (segment.n14(index, state, get_DONE_RCV())) {
978
+ expandBuffer($this);
979
+ return segment.j14(index);
980
+ }
981
+ } else if (state === get_INTERRUPTED_SEND())
982
+ return get_FAILED();
983
+ else if (state === get_POISONED())
984
+ return get_FAILED();
985
+ else if (state === get_CHANNEL_CLOSED()) {
986
+ expandBuffer($this);
987
+ return get_FAILED();
988
+ } else if (state === get_RESUMING_BY_EB())
989
+ continue $l$loop;
990
+ else {
991
+ if (segment.n14(index, state, get_RESUMING_BY_RCV())) {
992
+ var helpExpandBuffer = state instanceof WaiterEB();
993
+ var tmp;
994
+ if (state instanceof WaiterEB()) {
995
+ tmp = state.y15_1;
996
+ } else {
997
+ tmp = state;
998
+ }
999
+ var sender = tmp;
1000
+ var tmp_0;
1001
+ if (tryResumeSender($this, sender, segment, index)) {
1002
+ segment.m14(index, get_DONE_RCV());
1003
+ expandBuffer($this);
1004
+ tmp_0 = segment.j14(index);
1005
+ } else {
1006
+ segment.m14(index, get_INTERRUPTED_SEND());
1007
+ segment.b15(index, false);
1008
+ if (helpExpandBuffer) {
1009
+ expandBuffer($this);
1010
+ }
1011
+ tmp_0 = get_FAILED();
1012
+ }
1013
+ return tmp_0;
1014
+ }
1015
+ }
1016
+ }
1017
+ }
1018
+ function tryResumeSender($this, _this__u8e3s4, segment, index) {
1019
+ var tmp;
1020
+ if (isInterface(_this__u8e3s4, CancellableContinuation())) {
1021
+ if (!isInterface(_this__u8e3s4, CancellableContinuation()))
1022
+ THROW_CCE();
1023
+ tmp = tryResume0(_this__u8e3s4, Unit_instance);
1024
+ } else {
1025
+ if (isInterface(_this__u8e3s4, SelectInstance())) {
1026
+ if (!(_this__u8e3s4 instanceof SelectImplementation()))
1027
+ THROW_CCE();
1028
+ var trySelectResult = _this__u8e3s4.j16($this, Unit_instance);
1029
+ if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
1030
+ segment.k14(index);
1031
+ }
1032
+ tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
1033
+ } else {
1034
+ if (_this__u8e3s4 instanceof SendBroadcast()) {
1035
+ tmp = tryResume0(_this__u8e3s4.f16_1, true);
1036
+ } else {
1037
+ var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1038
+ throw IllegalStateException().w4(toString_0(message));
1039
+ }
1040
+ }
1041
+ }
1042
+ return tmp;
1043
+ }
1044
+ function expandBuffer($this) {
1045
+ if (_get_isRendezvousOrUnlimited__3mdufi($this))
1046
+ return Unit_instance;
1047
+ var segment = $this.x14_1.kotlinx$atomicfu$value;
1048
+ try_again: while (true) {
1049
+ var b = $this.t14_1.atomicfu$getAndIncrement$long();
1050
+ // Inline function 'kotlin.Long.div' call
1051
+ var other = get_SEGMENT_SIZE();
1052
+ var id = divide(b, fromInt(other));
1053
+ var s = $this.t15();
1054
+ if (s <= b) {
1055
+ if (segment.xw_1 < id && !(segment.j15() == null)) {
1056
+ moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
1057
+ }
1058
+ incCompletedExpandBufferAttempts$default($this);
1059
+ return Unit_instance;
1060
+ }
1061
+ if (!(segment.xw_1 === id)) {
1062
+ var tmp0_elvis_lhs = findSegmentBufferEnd($this, id, segment, b);
1063
+ var tmp;
1064
+ if (tmp0_elvis_lhs == null) {
1065
+ continue try_again;
1066
+ } else {
1067
+ tmp = tmp0_elvis_lhs;
1068
+ }
1069
+ segment = tmp;
1070
+ }
1071
+ // Inline function 'kotlin.Long.rem' call
1072
+ var other_0 = get_SEGMENT_SIZE();
1073
+ var tmp$ret$1 = modulo(b, fromInt(other_0));
1074
+ var i = convertToInt(tmp$ret$1);
1075
+ if (updateCellExpandBuffer($this, segment, i, b)) {
1076
+ incCompletedExpandBufferAttempts$default($this);
1077
+ return Unit_instance;
1078
+ } else {
1079
+ incCompletedExpandBufferAttempts$default($this);
1080
+ continue try_again;
1081
+ }
1082
+ }
1083
+ }
1084
+ function updateCellExpandBuffer($this, segment, index, b) {
1085
+ var state = segment.l14(index);
1086
+ if (!(state == null) ? isInterface(state, Waiter()) : false) {
1087
+ if (b >= $this.s14_1.kotlinx$atomicfu$value) {
1088
+ if (segment.n14(index, state, get_RESUMING_BY_EB())) {
1089
+ var tmp;
1090
+ if (tryResumeSender($this, state, segment, index)) {
1091
+ segment.m14(index, get_BUFFERED());
1092
+ tmp = true;
1093
+ } else {
1094
+ segment.m14(index, get_INTERRUPTED_SEND());
1095
+ segment.b15(index, false);
1096
+ tmp = false;
1097
+ }
1098
+ return tmp;
1099
+ }
1100
+ }
1101
+ }
1102
+ return updateCellExpandBufferSlow($this, segment, index, b);
1103
+ }
1104
+ function updateCellExpandBufferSlow($this, segment, index, b) {
1105
+ $l$loop: while (true) {
1106
+ var state = segment.l14(index);
1107
+ if (!(state == null) ? isInterface(state, Waiter()) : false) {
1108
+ if (b < $this.s14_1.kotlinx$atomicfu$value) {
1109
+ if (segment.n14(index, state, new (WaiterEB())(state)))
1110
+ return true;
1111
+ } else {
1112
+ if (segment.n14(index, state, get_RESUMING_BY_EB())) {
1113
+ var tmp;
1114
+ if (tryResumeSender($this, state, segment, index)) {
1115
+ segment.m14(index, get_BUFFERED());
1116
+ tmp = true;
1117
+ } else {
1118
+ segment.m14(index, get_INTERRUPTED_SEND());
1119
+ segment.b15(index, false);
1120
+ tmp = false;
1121
+ }
1122
+ return tmp;
1123
+ }
1124
+ }
1125
+ } else {
1126
+ if (state === get_INTERRUPTED_SEND())
1127
+ return false;
1128
+ else {
1129
+ if (state === null) {
1130
+ if (segment.n14(index, state, get_IN_BUFFER()))
1131
+ return true;
1132
+ } else {
1133
+ if (state === get_BUFFERED())
1134
+ return true;
1135
+ else {
1136
+ if (state === get_POISONED() || state === get_DONE_RCV() || state === get_INTERRUPTED_RCV())
1137
+ return true;
1138
+ else {
1139
+ if (state === get_CHANNEL_CLOSED())
1140
+ return true;
1141
+ else {
1142
+ if (state === get_RESUMING_BY_RCV())
1143
+ continue $l$loop;
1144
+ else {
1145
+ // Inline function 'kotlin.error' call
1146
+ var message = 'Unexpected cell state: ' + toString(state);
1147
+ throw IllegalStateException().w4(toString_0(message));
1148
+ }
1149
+ }
1150
+ }
1151
+ }
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ }
1157
+ function incCompletedExpandBufferAttempts($this, nAttempts) {
1158
+ // Inline function 'kotlin.also' call
1159
+ // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1160
+ if (!(($this.u14_1.atomicfu$addAndGet$long(nAttempts) & 4611686018427387904n) === 0n)) {
1161
+ $l$loop: while (true) {
1162
+ // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1163
+ if (!!(($this.u14_1.kotlinx$atomicfu$value & 4611686018427387904n) === 0n)) {
1164
+ break $l$loop;
1165
+ }
1166
+ }
1167
+ }
1168
+ }
1169
+ function incCompletedExpandBufferAttempts$default($this, nAttempts, $super) {
1170
+ nAttempts = nAttempts === VOID ? 1n : nAttempts;
1171
+ return incCompletedExpandBufferAttempts($this, nAttempts);
1172
+ }
1173
+ var BufferedChannelIteratorClass;
1174
+ function BufferedChannelIterator() {
1175
+ if (BufferedChannelIteratorClass === VOID) {
1176
+ class $ {
1177
+ constructor($outer) {
1178
+ this.r15_1 = $outer;
1179
+ this.p15_1 = get_NO_RECEIVE_RESULT();
1180
+ this.q15_1 = null;
1181
+ }
1182
+ k16($completion) {
1183
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_hasNext__q471nr.bind(VOID, this), $completion);
1184
+ }
1185
+ ey(segment, index) {
1186
+ var tmp0_safe_receiver = this.q15_1;
1187
+ if (tmp0_safe_receiver == null)
1188
+ null;
1189
+ else {
1190
+ tmp0_safe_receiver.ey(segment, index);
1191
+ }
1192
+ }
1193
+ m1() {
1194
+ var result = this.p15_1;
1195
+ // Inline function 'kotlin.check' call
1196
+ if (!!(result === get_NO_RECEIVE_RESULT())) {
1197
+ var message = '`hasNext()` has not been invoked';
1198
+ throw IllegalStateException().w4(toString_0(message));
1199
+ }
1200
+ this.p15_1 = get_NO_RECEIVE_RESULT();
1201
+ if (result === get_CHANNEL_CLOSED())
1202
+ throw recoverStackTrace(_get_receiveException__foorc1(this.r15_1));
1203
+ return (result == null ? true : !(result == null)) ? result : THROW_CCE();
1204
+ }
1205
+ z15(element) {
1206
+ var cont = ensureNotNull(this.q15_1);
1207
+ this.q15_1 = null;
1208
+ this.p15_1 = element;
1209
+ var tmp0_safe_receiver = this.r15_1.q14_1;
1210
+ return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.r15_1, tmp0_safe_receiver, element));
1211
+ }
1212
+ l16() {
1213
+ var cont = ensureNotNull(this.q15_1);
1214
+ this.q15_1 = null;
1215
+ this.p15_1 = get_CHANNEL_CLOSED();
1216
+ var cause = this.r15_1.u15();
1217
+ if (cause == null) {
1218
+ // Inline function 'kotlin.coroutines.resume' call
1219
+ // Inline function 'kotlin.Companion.success' call
1220
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1221
+ cont.vb(tmp$ret$0);
1222
+ } else {
1223
+ // Inline function 'kotlin.coroutines.resumeWithException' call
1224
+ // Inline function 'kotlin.Companion.failure' call
1225
+ var exception = recoverStackTrace_0(cause, cont);
1226
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1227
+ cont.vb(tmp$ret$2);
1228
+ }
1229
+ }
1230
+ }
1231
+ initMetadataForClass($, 'BufferedChannelIterator', VOID, VOID, [Waiter()], [0, 3]);
1232
+ BufferedChannelIteratorClass = $;
1233
+ }
1234
+ return BufferedChannelIteratorClass;
1235
+ }
1236
+ function _get_receiveException__foorc1($this) {
1237
+ var tmp0_elvis_lhs = $this.u15();
1238
+ return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().q16('Channel was closed') : tmp0_elvis_lhs;
1239
+ }
1240
+ function invokeCloseHandler($this) {
1241
+ var tmp0 = $this.a15_1;
1242
+ var tmp$ret$1;
1243
+ $l$block: {
1244
+ // Inline function 'kotlinx.atomicfu.getAndUpdate' call
1245
+ while (true) {
1246
+ var cur = tmp0.kotlinx$atomicfu$value;
1247
+ var tmp;
1248
+ if (cur === null) {
1249
+ tmp = get_CLOSE_HANDLER_CLOSED();
1250
+ } else {
1251
+ tmp = get_CLOSE_HANDLER_INVOKED();
1252
+ }
1253
+ var upd = tmp;
1254
+ if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1255
+ tmp$ret$1 = cur;
1256
+ break $l$block;
1257
+ }
1258
+ }
1259
+ }
1260
+ var tmp0_elvis_lhs = tmp$ret$1;
1261
+ var tmp_0;
1262
+ if (tmp0_elvis_lhs == null) {
1263
+ return Unit_instance;
1264
+ } else {
1265
+ tmp_0 = tmp0_elvis_lhs;
1266
+ }
1267
+ var closeHandler = tmp_0;
1268
+ if (typeof closeHandler !== 'function')
1269
+ THROW_CCE();
1270
+ closeHandler($this.u15());
1271
+ }
1272
+ function markClosed($this) {
1273
+ var tmp0 = $this.r14_1;
1274
+ var tmp$ret$4;
1275
+ $l$block: {
1276
+ // Inline function 'kotlinx.atomicfu.update' call
1277
+ while (true) {
1278
+ var cur = tmp0.kotlinx$atomicfu$value;
1279
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1280
+ var tmp;
1281
+ switch (convertToInt(shiftRight(cur, 60))) {
1282
+ case 0:
1283
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1284
+
1285
+ var tmp$ret$1 = cur & 1152921504606846975n;
1286
+ tmp = constructSendersAndCloseStatus(tmp$ret$1, 2);
1287
+ break;
1288
+ case 1:
1289
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1290
+
1291
+ var tmp$ret$2 = cur & 1152921504606846975n;
1292
+ tmp = constructSendersAndCloseStatus(tmp$ret$2, 3);
1293
+ break;
1294
+ default:
1295
+ return Unit_instance;
1296
+ }
1297
+ var upd = tmp;
1298
+ if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1299
+ tmp$ret$4 = Unit_instance;
1300
+ break $l$block;
1301
+ }
1302
+ }
1303
+ tmp$ret$4 = Unit_instance;
1304
+ }
1305
+ return tmp$ret$4;
1306
+ }
1307
+ function markCancelled($this) {
1308
+ var tmp0 = $this.r14_1;
1309
+ var tmp$ret$2;
1310
+ $l$block: {
1311
+ // Inline function 'kotlinx.atomicfu.update' call
1312
+ while (true) {
1313
+ var cur = tmp0.kotlinx$atomicfu$value;
1314
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1315
+ var tmp$ret$0 = cur & 1152921504606846975n;
1316
+ var upd = constructSendersAndCloseStatus(tmp$ret$0, 3);
1317
+ if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1318
+ tmp$ret$2 = Unit_instance;
1319
+ break $l$block;
1320
+ }
1321
+ }
1322
+ tmp$ret$2 = Unit_instance;
1323
+ }
1324
+ return tmp$ret$2;
1325
+ }
1326
+ function markCancellationStarted($this) {
1327
+ var tmp0 = $this.r14_1;
1328
+ var tmp$ret$3;
1329
+ $l$block: {
1330
+ // Inline function 'kotlinx.atomicfu.update' call
1331
+ while (true) {
1332
+ var cur = tmp0.kotlinx$atomicfu$value;
1333
+ var tmp;
1334
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1335
+ if (convertToInt(shiftRight(cur, 60)) === 0) {
1336
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1337
+ var tmp$ret$1 = cur & 1152921504606846975n;
1338
+ tmp = constructSendersAndCloseStatus(tmp$ret$1, 1);
1339
+ } else {
1340
+ return Unit_instance;
1341
+ }
1342
+ var upd = tmp;
1343
+ if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1344
+ tmp$ret$3 = Unit_instance;
1345
+ break $l$block;
1346
+ }
1347
+ }
1348
+ tmp$ret$3 = Unit_instance;
1349
+ }
1350
+ return tmp$ret$3;
1351
+ }
1352
+ function completeCloseOrCancel($this) {
1353
+ $this.r16();
1354
+ }
1355
+ function completeClose($this, sendersCur) {
1356
+ var lastSegment = closeLinkedList($this);
1357
+ if ($this.t16()) {
1358
+ var lastBufferedCellGlobalIndex = markAllEmptyCellsAsClosed($this, lastSegment);
1359
+ if (!(lastBufferedCellGlobalIndex === -1n)) {
1360
+ $this.s16(lastBufferedCellGlobalIndex);
1361
+ }
1362
+ }
1363
+ cancelSuspendedReceiveRequests($this, lastSegment, sendersCur);
1364
+ return lastSegment;
1365
+ }
1366
+ function completeCancel($this, sendersCur) {
1367
+ var lastSegment = completeClose($this, sendersCur);
1368
+ removeUnprocessedElements($this, lastSegment);
1369
+ }
1370
+ function closeLinkedList($this) {
1371
+ var lastSegment = $this.x14_1.kotlinx$atomicfu$value;
1372
+ // Inline function 'kotlin.let' call
1373
+ var it = $this.v14_1.kotlinx$atomicfu$value;
1374
+ if (it.xw_1 > lastSegment.xw_1)
1375
+ lastSegment = it;
1376
+ // Inline function 'kotlin.let' call
1377
+ var it_0 = $this.w14_1.kotlinx$atomicfu$value;
1378
+ if (it_0.xw_1 > lastSegment.xw_1)
1379
+ lastSegment = it_0;
1380
+ return close(lastSegment);
1381
+ }
1382
+ function markAllEmptyCellsAsClosed($this, lastSegment) {
1383
+ var segment = lastSegment;
1384
+ while (true) {
1385
+ var inductionVariable = get_SEGMENT_SIZE() - 1 | 0;
1386
+ if (0 <= inductionVariable)
1387
+ do {
1388
+ var index = inductionVariable;
1389
+ inductionVariable = inductionVariable + -1 | 0;
1390
+ var tmp0 = segment.xw_1;
1391
+ // Inline function 'kotlin.Long.times' call
1392
+ var other = get_SEGMENT_SIZE();
1393
+ // Inline function 'kotlin.Long.plus' call
1394
+ var this_0 = multiply(tmp0, fromInt(other));
1395
+ var globalIndex = add(this_0, fromInt(index));
1396
+ if (globalIndex < $this.v15())
1397
+ return -1n;
1398
+ cell_update: while (true) {
1399
+ var state = segment.l14(index);
1400
+ if (state === null || state === get_IN_BUFFER()) {
1401
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1402
+ segment.d15();
1403
+ break cell_update;
1404
+ }
1405
+ } else if (state === get_BUFFERED())
1406
+ return globalIndex;
1407
+ else
1408
+ break cell_update;
1409
+ }
1410
+ }
1411
+ while (0 <= inductionVariable);
1412
+ var tmp0_elvis_lhs = segment.m15();
1413
+ var tmp;
1414
+ if (tmp0_elvis_lhs == null) {
1415
+ return -1n;
1416
+ } else {
1417
+ tmp = tmp0_elvis_lhs;
1418
+ }
1419
+ segment = tmp;
1420
+ }
1421
+ }
1422
+ function removeUnprocessedElements($this, lastSegment) {
1423
+ var onUndeliveredElement = $this.q14_1;
1424
+ var undeliveredElementException = null;
1425
+ var suspendedSenders = _InlineList___init__impl__z8n56();
1426
+ var segment = lastSegment;
1427
+ process_segments: while (true) {
1428
+ var inductionVariable = get_SEGMENT_SIZE() - 1 | 0;
1429
+ if (0 <= inductionVariable)
1430
+ do {
1431
+ var index = inductionVariable;
1432
+ inductionVariable = inductionVariable + -1 | 0;
1433
+ var tmp0 = segment.xw_1;
1434
+ // Inline function 'kotlin.Long.times' call
1435
+ var other = get_SEGMENT_SIZE();
1436
+ // Inline function 'kotlin.Long.plus' call
1437
+ var this_0 = multiply(tmp0, fromInt(other));
1438
+ var globalIndex = add(this_0, fromInt(index));
1439
+ update_cell: while (true) {
1440
+ var state = segment.l14(index);
1441
+ if (state === get_DONE_RCV())
1442
+ break process_segments;
1443
+ else {
1444
+ if (state === get_BUFFERED()) {
1445
+ if (globalIndex < $this.v15())
1446
+ break process_segments;
1447
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1448
+ if (!(onUndeliveredElement == null)) {
1449
+ var element = segment.i14(index);
1450
+ undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element, undeliveredElementException);
1451
+ }
1452
+ segment.k14(index);
1453
+ segment.d15();
1454
+ break update_cell;
1455
+ }
1456
+ } else {
1457
+ if (state === get_IN_BUFFER() || state === null) {
1458
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1459
+ segment.d15();
1460
+ break update_cell;
1461
+ }
1462
+ } else {
1463
+ var tmp;
1464
+ if (!(state == null) ? isInterface(state, Waiter()) : false) {
1465
+ tmp = true;
1466
+ } else {
1467
+ tmp = state instanceof WaiterEB();
1468
+ }
1469
+ if (tmp) {
1470
+ if (globalIndex < $this.v15())
1471
+ break process_segments;
1472
+ var tmp_0;
1473
+ if (state instanceof WaiterEB()) {
1474
+ tmp_0 = state.y15_1;
1475
+ } else {
1476
+ tmp_0 = (!(state == null) ? isInterface(state, Waiter()) : false) ? state : THROW_CCE();
1477
+ }
1478
+ var sender = tmp_0;
1479
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1480
+ if (!(onUndeliveredElement == null)) {
1481
+ var element_0 = segment.i14(index);
1482
+ undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element_0, undeliveredElementException);
1483
+ }
1484
+ suspendedSenders = InlineList__plus_impl_nuetvo(suspendedSenders, sender);
1485
+ segment.k14(index);
1486
+ segment.d15();
1487
+ break update_cell;
1488
+ }
1489
+ } else {
1490
+ if (state === get_RESUMING_BY_EB() || state === get_RESUMING_BY_RCV())
1491
+ break process_segments;
1492
+ else {
1493
+ if (state === get_RESUMING_BY_EB())
1494
+ continue update_cell;
1495
+ else {
1496
+ break update_cell;
1497
+ }
1498
+ }
1499
+ }
1500
+ }
1501
+ }
1502
+ }
1503
+ }
1504
+ }
1505
+ while (0 <= inductionVariable);
1506
+ var tmp0_elvis_lhs = segment.m15();
1507
+ var tmp_1;
1508
+ if (tmp0_elvis_lhs == null) {
1509
+ break process_segments;
1510
+ } else {
1511
+ tmp_1 = tmp0_elvis_lhs;
1512
+ }
1513
+ segment = tmp_1;
1514
+ }
1515
+ var tmp0_0 = suspendedSenders;
1516
+ $l$block: {
1517
+ // Inline function 'kotlinx.coroutines.internal.InlineList.forEachReversed' call
1518
+ var tmp0_subject = access$_get_holder__kkflen(tmp0_0);
1519
+ if (tmp0_subject == null) {
1520
+ break $l$block;
1521
+ } else {
1522
+ if (!(tmp0_subject instanceof ArrayList())) {
1523
+ var tmp_2 = access$_get_holder__kkflen(tmp0_0);
1524
+ var it = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1525
+ resumeSenderOnCancelledChannel($this, it);
1526
+ } else {
1527
+ var tmp_3 = access$_get_holder__kkflen(tmp0_0);
1528
+ var list = tmp_3 instanceof ArrayList() ? tmp_3 : THROW_CCE();
1529
+ var inductionVariable_0 = list.n1() - 1 | 0;
1530
+ if (0 <= inductionVariable_0)
1531
+ do {
1532
+ var i = inductionVariable_0;
1533
+ inductionVariable_0 = inductionVariable_0 + -1 | 0;
1534
+ var it_0 = list.o1(i);
1535
+ resumeSenderOnCancelledChannel($this, it_0);
1536
+ }
1537
+ while (0 <= inductionVariable_0);
1538
+ }
1539
+ }
1540
+ }
1541
+ var tmp1_safe_receiver = undeliveredElementException;
1542
+ if (tmp1_safe_receiver == null)
1543
+ null;
1544
+ else {
1545
+ // Inline function 'kotlin.let' call
1546
+ throw tmp1_safe_receiver;
1547
+ }
1548
+ }
1549
+ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1550
+ var suspendedReceivers = _InlineList___init__impl__z8n56();
1551
+ var segment = lastSegment;
1552
+ process_segments: while (!(segment == null)) {
1553
+ var inductionVariable = get_SEGMENT_SIZE() - 1 | 0;
1554
+ if (0 <= inductionVariable)
1555
+ do {
1556
+ var index = inductionVariable;
1557
+ inductionVariable = inductionVariable + -1 | 0;
1558
+ var tmp0 = segment.xw_1;
1559
+ // Inline function 'kotlin.Long.times' call
1560
+ var other = get_SEGMENT_SIZE();
1561
+ // Inline function 'kotlin.Long.plus' call
1562
+ var this_0 = multiply(tmp0, fromInt(other));
1563
+ if (add(this_0, fromInt(index)) < sendersCounter)
1564
+ break process_segments;
1565
+ cell_update: while (true) {
1566
+ var state = segment.l14(index);
1567
+ if (state === null || state === get_IN_BUFFER()) {
1568
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1569
+ segment.d15();
1570
+ break cell_update;
1571
+ }
1572
+ } else {
1573
+ if (state instanceof WaiterEB()) {
1574
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1575
+ suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.y15_1);
1576
+ segment.b15(index, true);
1577
+ break cell_update;
1578
+ }
1579
+ } else {
1580
+ if (!(state == null) ? isInterface(state, Waiter()) : false) {
1581
+ if (segment.n14(index, state, get_CHANNEL_CLOSED())) {
1582
+ suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state);
1583
+ segment.b15(index, true);
1584
+ break cell_update;
1585
+ }
1586
+ } else {
1587
+ break cell_update;
1588
+ }
1589
+ }
1590
+ }
1591
+ }
1592
+ }
1593
+ while (0 <= inductionVariable);
1594
+ segment = segment.m15();
1595
+ }
1596
+ var tmp0_0 = suspendedReceivers;
1597
+ $l$block: {
1598
+ // Inline function 'kotlinx.coroutines.internal.InlineList.forEachReversed' call
1599
+ var tmp0_subject = access$_get_holder__kkflen(tmp0_0);
1600
+ if (tmp0_subject == null) {
1601
+ break $l$block;
1602
+ } else {
1603
+ if (!(tmp0_subject instanceof ArrayList())) {
1604
+ var tmp = access$_get_holder__kkflen(tmp0_0);
1605
+ var it = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
1606
+ resumeReceiverOnClosedChannel($this, it);
1607
+ } else {
1608
+ var tmp_0 = access$_get_holder__kkflen(tmp0_0);
1609
+ var list = tmp_0 instanceof ArrayList() ? tmp_0 : THROW_CCE();
1610
+ var inductionVariable_0 = list.n1() - 1 | 0;
1611
+ if (0 <= inductionVariable_0)
1612
+ do {
1613
+ var i = inductionVariable_0;
1614
+ inductionVariable_0 = inductionVariable_0 + -1 | 0;
1615
+ var it_0 = list.o1(i);
1616
+ resumeReceiverOnClosedChannel($this, it_0);
1617
+ }
1618
+ while (0 <= inductionVariable_0);
1619
+ }
1620
+ }
1621
+ }
1622
+ }
1623
+ function resumeReceiverOnClosedChannel($this, _this__u8e3s4) {
1624
+ return resumeWaiterOnClosedChannel($this, _this__u8e3s4, true);
1625
+ }
1626
+ function resumeSenderOnCancelledChannel($this, _this__u8e3s4) {
1627
+ return resumeWaiterOnClosedChannel($this, _this__u8e3s4, false);
1628
+ }
1629
+ function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
1630
+ if (_this__u8e3s4 instanceof SendBroadcast()) {
1631
+ // Inline function 'kotlin.coroutines.resume' call
1632
+ var this_0 = _this__u8e3s4.f16_1;
1633
+ // Inline function 'kotlin.Companion.success' call
1634
+ var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1635
+ this_0.vb(tmp$ret$0);
1636
+ } else {
1637
+ if (isInterface(_this__u8e3s4, CancellableContinuation())) {
1638
+ // Inline function 'kotlin.coroutines.resumeWithException' call
1639
+ // Inline function 'kotlin.Companion.failure' call
1640
+ var exception = receiver ? _get_receiveException__foorc1($this) : $this.w15();
1641
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1642
+ _this__u8e3s4.vb(tmp$ret$2);
1643
+ } else {
1644
+ if (_this__u8e3s4 instanceof ReceiveCatching()) {
1645
+ var tmp0 = _this__u8e3s4.c16_1;
1646
+ // Inline function 'kotlin.coroutines.resume' call
1647
+ // Inline function 'kotlin.Companion.success' call
1648
+ var value = new (ChannelResult())(Companion_getInstance().u16($this.u15()));
1649
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
1650
+ tmp0.vb(tmp$ret$4);
1651
+ } else {
1652
+ if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
1653
+ _this__u8e3s4.l16();
1654
+ } else {
1655
+ if (isInterface(_this__u8e3s4, SelectInstance()))
1656
+ _this__u8e3s4.d16($this, get_CHANNEL_CLOSED());
1657
+ else {
1658
+ // Inline function 'kotlin.error' call
1659
+ var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1660
+ throw IllegalStateException().w4(toString_0(message));
1661
+ }
1662
+ }
1663
+ }
1664
+ }
1665
+ }
1666
+ }
1667
+ function _get_isClosedForSend0__kxgf9m($this, _this__u8e3s4) {
1668
+ return isClosed($this, _this__u8e3s4, false);
1669
+ }
1670
+ function _get_isClosedForReceive0__f7qknl($this, _this__u8e3s4) {
1671
+ return isClosed($this, _this__u8e3s4, true);
1672
+ }
1673
+ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1674
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1675
+ var tmp;
1676
+ switch (convertToInt(shiftRight(sendersAndCloseStatusCur, 60))) {
1677
+ case 0:
1678
+ tmp = false;
1679
+ break;
1680
+ case 1:
1681
+ tmp = false;
1682
+ break;
1683
+ case 2:
1684
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1685
+
1686
+ var tmp$ret$1 = sendersAndCloseStatusCur & 1152921504606846975n;
1687
+ completeClose($this, tmp$ret$1);
1688
+ tmp = isClosedForReceive ? !$this.v16() : true;
1689
+ break;
1690
+ case 3:
1691
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1692
+
1693
+ var tmp$ret$2 = sendersAndCloseStatusCur & 1152921504606846975n;
1694
+ completeCancel($this, tmp$ret$2);
1695
+ tmp = true;
1696
+ break;
1697
+ default:
1698
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1699
+
1700
+ var message = 'unexpected close status: ' + convertToInt(shiftRight(sendersAndCloseStatusCur, 60));
1701
+ throw IllegalStateException().w4(toString_0(message));
1702
+ }
1703
+ return tmp;
1704
+ }
1705
+ function isCellNonEmpty($this, segment, index, globalIndex) {
1706
+ while (true) {
1707
+ var state = segment.l14(index);
1708
+ if (state === null || state === get_IN_BUFFER()) {
1709
+ if (segment.n14(index, state, get_POISONED())) {
1710
+ expandBuffer($this);
1711
+ return false;
1712
+ }
1713
+ } else if (state === get_BUFFERED())
1714
+ return true;
1715
+ else if (state === get_INTERRUPTED_SEND())
1716
+ return false;
1717
+ else if (state === get_CHANNEL_CLOSED())
1718
+ return false;
1719
+ else if (state === get_DONE_RCV())
1720
+ return false;
1721
+ else if (state === get_POISONED())
1722
+ return false;
1723
+ else if (state === get_RESUMING_BY_EB())
1724
+ return true;
1725
+ else if (state === get_RESUMING_BY_RCV())
1726
+ return false;
1727
+ else
1728
+ return globalIndex === $this.v15();
1729
+ }
1730
+ }
1731
+ function findSegmentSend($this, id, startFrom) {
1732
+ var tmp0 = $this.v14_1;
1733
+ var tmp6 = createSegmentFunction();
1734
+ var tmp$ret$2;
1735
+ $l$block_2: {
1736
+ // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
1737
+ while (true) {
1738
+ var s = findSegmentInternal(startFrom, id, tmp6);
1739
+ var tmp;
1740
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
1741
+ tmp = true;
1742
+ } else {
1743
+ var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
1744
+ var tmp$ret$0;
1745
+ $l$block_1: {
1746
+ // Inline function 'kotlinx.coroutines.internal.moveForward' call
1747
+ while (true) {
1748
+ var cur = tmp0.kotlinx$atomicfu$value;
1749
+ if (cur.xw_1 >= tmp2.xw_1) {
1750
+ tmp$ret$0 = true;
1751
+ break $l$block_1;
1752
+ }
1753
+ if (!tmp2.f15()) {
1754
+ tmp$ret$0 = false;
1755
+ break $l$block_1;
1756
+ }
1757
+ if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1758
+ if (cur.g15()) {
1759
+ cur.e6();
1760
+ }
1761
+ tmp$ret$0 = true;
1762
+ break $l$block_1;
1763
+ }
1764
+ if (tmp2.g15()) {
1765
+ tmp2.e6();
1766
+ }
1767
+ }
1768
+ tmp$ret$0 = Unit_instance;
1769
+ }
1770
+ tmp = tmp$ret$0;
1771
+ }
1772
+ if (tmp) {
1773
+ tmp$ret$2 = s;
1774
+ break $l$block_2;
1775
+ }
1776
+ }
1777
+ }
1778
+ // Inline function 'kotlin.let' call
1779
+ var it = tmp$ret$2;
1780
+ var tmp_0;
1781
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1782
+ completeCloseOrCancel($this);
1783
+ var tmp0_0 = startFrom.xw_1;
1784
+ // Inline function 'kotlin.Long.times' call
1785
+ var other = get_SEGMENT_SIZE();
1786
+ if (multiply(tmp0_0, fromInt(other)) < $this.v15()) {
1787
+ startFrom.n15();
1788
+ }
1789
+ tmp_0 = null;
1790
+ } else {
1791
+ var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
1792
+ var tmp_1;
1793
+ if (segment.xw_1 > id) {
1794
+ var tmp0_1 = segment.xw_1;
1795
+ // Inline function 'kotlin.Long.times' call
1796
+ var other_0 = get_SEGMENT_SIZE();
1797
+ var tmp$ret$4 = multiply(tmp0_1, fromInt(other_0));
1798
+ updateSendersCounterIfLower($this, tmp$ret$4);
1799
+ var tmp0_2 = segment.xw_1;
1800
+ // Inline function 'kotlin.Long.times' call
1801
+ var other_1 = get_SEGMENT_SIZE();
1802
+ if (multiply(tmp0_2, fromInt(other_1)) < $this.v15()) {
1803
+ segment.n15();
1804
+ }
1805
+ tmp_1 = null;
1806
+ } else {
1807
+ // Inline function 'kotlinx.coroutines.assert' call
1808
+ tmp_1 = segment;
1809
+ }
1810
+ tmp_0 = tmp_1;
1811
+ }
1812
+ return tmp_0;
1813
+ }
1814
+ function findSegmentReceive($this, id, startFrom) {
1815
+ var tmp0 = $this.w14_1;
1816
+ var tmp6 = createSegmentFunction();
1817
+ var tmp$ret$2;
1818
+ $l$block_2: {
1819
+ // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
1820
+ while (true) {
1821
+ var s = findSegmentInternal(startFrom, id, tmp6);
1822
+ var tmp;
1823
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
1824
+ tmp = true;
1825
+ } else {
1826
+ var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
1827
+ var tmp$ret$0;
1828
+ $l$block_1: {
1829
+ // Inline function 'kotlinx.coroutines.internal.moveForward' call
1830
+ while (true) {
1831
+ var cur = tmp0.kotlinx$atomicfu$value;
1832
+ if (cur.xw_1 >= tmp2.xw_1) {
1833
+ tmp$ret$0 = true;
1834
+ break $l$block_1;
1835
+ }
1836
+ if (!tmp2.f15()) {
1837
+ tmp$ret$0 = false;
1838
+ break $l$block_1;
1839
+ }
1840
+ if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1841
+ if (cur.g15()) {
1842
+ cur.e6();
1843
+ }
1844
+ tmp$ret$0 = true;
1845
+ break $l$block_1;
1846
+ }
1847
+ if (tmp2.g15()) {
1848
+ tmp2.e6();
1849
+ }
1850
+ }
1851
+ tmp$ret$0 = Unit_instance;
1852
+ }
1853
+ tmp = tmp$ret$0;
1854
+ }
1855
+ if (tmp) {
1856
+ tmp$ret$2 = s;
1857
+ break $l$block_2;
1858
+ }
1859
+ }
1860
+ }
1861
+ // Inline function 'kotlin.let' call
1862
+ var it = tmp$ret$2;
1863
+ var tmp_0;
1864
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1865
+ completeCloseOrCancel($this);
1866
+ var tmp0_0 = startFrom.xw_1;
1867
+ // Inline function 'kotlin.Long.times' call
1868
+ var other = get_SEGMENT_SIZE();
1869
+ if (multiply(tmp0_0, fromInt(other)) < $this.t15()) {
1870
+ startFrom.n15();
1871
+ }
1872
+ tmp_0 = null;
1873
+ } else {
1874
+ var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
1875
+ var tmp_1;
1876
+ if (!_get_isRendezvousOrUnlimited__3mdufi($this)) {
1877
+ var tmp0_1 = _get_bufferEndCounter__2d4hee($this);
1878
+ // Inline function 'kotlin.Long.div' call
1879
+ var other_0 = get_SEGMENT_SIZE();
1880
+ tmp_1 = id <= divide(tmp0_1, fromInt(other_0));
1881
+ } else {
1882
+ tmp_1 = false;
1883
+ }
1884
+ if (tmp_1) {
1885
+ var tmp0_2 = $this.x14_1;
1886
+ $l$block_5: {
1887
+ // Inline function 'kotlinx.coroutines.internal.moveForward' call
1888
+ while (true) {
1889
+ var cur_0 = tmp0_2.kotlinx$atomicfu$value;
1890
+ if (cur_0.xw_1 >= segment.xw_1) {
1891
+ break $l$block_5;
1892
+ }
1893
+ if (!segment.f15()) {
1894
+ break $l$block_5;
1895
+ }
1896
+ if (tmp0_2.atomicfu$compareAndSet(cur_0, segment)) {
1897
+ if (cur_0.g15()) {
1898
+ cur_0.e6();
1899
+ }
1900
+ break $l$block_5;
1901
+ }
1902
+ if (segment.g15()) {
1903
+ segment.e6();
1904
+ }
1905
+ }
1906
+ }
1907
+ }
1908
+ var tmp_2;
1909
+ if (segment.xw_1 > id) {
1910
+ var tmp0_3 = segment.xw_1;
1911
+ // Inline function 'kotlin.Long.times' call
1912
+ var other_1 = get_SEGMENT_SIZE();
1913
+ var tmp$ret$7 = multiply(tmp0_3, fromInt(other_1));
1914
+ updateReceiversCounterIfLower($this, tmp$ret$7);
1915
+ var tmp0_4 = segment.xw_1;
1916
+ // Inline function 'kotlin.Long.times' call
1917
+ var other_2 = get_SEGMENT_SIZE();
1918
+ if (multiply(tmp0_4, fromInt(other_2)) < $this.t15()) {
1919
+ segment.n15();
1920
+ }
1921
+ tmp_2 = null;
1922
+ } else {
1923
+ // Inline function 'kotlinx.coroutines.assert' call
1924
+ tmp_2 = segment;
1925
+ }
1926
+ tmp_0 = tmp_2;
1927
+ }
1928
+ return tmp_0;
1929
+ }
1930
+ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
1931
+ var tmp0 = $this.x14_1;
1932
+ var tmp6 = createSegmentFunction();
1933
+ var tmp$ret$2;
1934
+ $l$block_2: {
1935
+ // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
1936
+ while (true) {
1937
+ var s = findSegmentInternal(startFrom, id, tmp6);
1938
+ var tmp;
1939
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
1940
+ tmp = true;
1941
+ } else {
1942
+ var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
1943
+ var tmp$ret$0;
1944
+ $l$block_1: {
1945
+ // Inline function 'kotlinx.coroutines.internal.moveForward' call
1946
+ while (true) {
1947
+ var cur = tmp0.kotlinx$atomicfu$value;
1948
+ if (cur.xw_1 >= tmp2.xw_1) {
1949
+ tmp$ret$0 = true;
1950
+ break $l$block_1;
1951
+ }
1952
+ if (!tmp2.f15()) {
1953
+ tmp$ret$0 = false;
1954
+ break $l$block_1;
1955
+ }
1956
+ if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1957
+ if (cur.g15()) {
1958
+ cur.e6();
1959
+ }
1960
+ tmp$ret$0 = true;
1961
+ break $l$block_1;
1962
+ }
1963
+ if (tmp2.g15()) {
1964
+ tmp2.e6();
1965
+ }
1966
+ }
1967
+ tmp$ret$0 = Unit_instance;
1968
+ }
1969
+ tmp = tmp$ret$0;
1970
+ }
1971
+ if (tmp) {
1972
+ tmp$ret$2 = s;
1973
+ break $l$block_2;
1974
+ }
1975
+ }
1976
+ }
1977
+ // Inline function 'kotlin.let' call
1978
+ var it = tmp$ret$2;
1979
+ var tmp_0;
1980
+ if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1981
+ completeCloseOrCancel($this);
1982
+ moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom);
1983
+ incCompletedExpandBufferAttempts$default($this);
1984
+ tmp_0 = null;
1985
+ } else {
1986
+ var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
1987
+ var tmp_1;
1988
+ if (segment.xw_1 > id) {
1989
+ // Inline function 'kotlin.Long.plus' call
1990
+ var tmp_2 = add(currentBufferEndCounter, fromInt(1));
1991
+ var tmp0_0 = segment.xw_1;
1992
+ // Inline function 'kotlin.Long.times' call
1993
+ var other = get_SEGMENT_SIZE();
1994
+ var tmp$ret$4 = multiply(tmp0_0, fromInt(other));
1995
+ if ($this.t14_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
1996
+ var tmp0_1 = segment.xw_1;
1997
+ // Inline function 'kotlin.Long.times' call
1998
+ var other_0 = get_SEGMENT_SIZE();
1999
+ var tmp$ret$5 = multiply(tmp0_1, fromInt(other_0));
2000
+ incCompletedExpandBufferAttempts($this, subtract(tmp$ret$5, currentBufferEndCounter));
2001
+ } else {
2002
+ incCompletedExpandBufferAttempts$default($this);
2003
+ }
2004
+ tmp_1 = null;
2005
+ } else {
2006
+ // Inline function 'kotlinx.coroutines.assert' call
2007
+ tmp_1 = segment;
2008
+ }
2009
+ tmp_0 = tmp_1;
2010
+ }
2011
+ return tmp_0;
2012
+ }
2013
+ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2014
+ var segment = startFrom;
2015
+ $l$loop: while (segment.xw_1 < id) {
2016
+ var tmp0_elvis_lhs = segment.j15();
2017
+ var tmp;
2018
+ if (tmp0_elvis_lhs == null) {
2019
+ break $l$loop;
2020
+ } else {
2021
+ tmp = tmp0_elvis_lhs;
2022
+ }
2023
+ segment = tmp;
2024
+ }
2025
+ while (true) {
2026
+ $l$loop_0: while (segment.e15()) {
2027
+ var tmp1_elvis_lhs = segment.j15();
2028
+ var tmp_0;
2029
+ if (tmp1_elvis_lhs == null) {
2030
+ break $l$loop_0;
2031
+ } else {
2032
+ tmp_0 = tmp1_elvis_lhs;
2033
+ }
2034
+ segment = tmp_0;
2035
+ }
2036
+ var tmp0 = $this.x14_1;
2037
+ var tmp2 = segment;
2038
+ var tmp$ret$0;
2039
+ $l$block_1: {
2040
+ // Inline function 'kotlinx.coroutines.internal.moveForward' call
2041
+ while (true) {
2042
+ var cur = tmp0.kotlinx$atomicfu$value;
2043
+ if (cur.xw_1 >= tmp2.xw_1) {
2044
+ tmp$ret$0 = true;
2045
+ break $l$block_1;
2046
+ }
2047
+ if (!tmp2.f15()) {
2048
+ tmp$ret$0 = false;
2049
+ break $l$block_1;
2050
+ }
2051
+ if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2052
+ if (cur.g15()) {
2053
+ cur.e6();
2054
+ }
2055
+ tmp$ret$0 = true;
2056
+ break $l$block_1;
2057
+ }
2058
+ if (tmp2.g15()) {
2059
+ tmp2.e6();
2060
+ }
2061
+ }
2062
+ tmp$ret$0 = Unit_instance;
2063
+ }
2064
+ if (tmp$ret$0)
2065
+ return Unit_instance;
2066
+ }
2067
+ }
2068
+ function updateSendersCounterIfLower($this, value) {
2069
+ var this_0 = $this.r14_1;
2070
+ while (true) {
2071
+ var cur = this_0.kotlinx$atomicfu$value;
2072
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2073
+ var curCounter = cur & 1152921504606846975n;
2074
+ if (curCounter >= value)
2075
+ return Unit_instance;
2076
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
2077
+ var tmp$ret$1 = convertToInt(shiftRight(cur, 60));
2078
+ var update = constructSendersAndCloseStatus(curCounter, tmp$ret$1);
2079
+ if ($this.r14_1.atomicfu$compareAndSet(cur, update))
2080
+ return Unit_instance;
2081
+ }
2082
+ return Unit_instance;
2083
+ }
2084
+ function updateReceiversCounterIfLower($this, value) {
2085
+ var this_0 = $this.s14_1;
2086
+ while (true) {
2087
+ var cur = this_0.kotlinx$atomicfu$value;
2088
+ if (cur >= value)
2089
+ return Unit_instance;
2090
+ if ($this.s14_1.atomicfu$compareAndSet(cur, value))
2091
+ return Unit_instance;
2092
+ }
2093
+ return Unit_instance;
2094
+ }
2095
+ function bindCancellationFunResult($this, _this__u8e3s4) {
2096
+ return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
2097
+ }
2098
+ function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
2099
+ callUndeliveredElement(ensureNotNull($this.q14_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
2100
+ }
2101
+ function bindCancellationFun($this, _this__u8e3s4, element) {
2102
+ return BufferedChannel$bindCancellationFun$lambda(_this__u8e3s4, element);
2103
+ }
2104
+ function bindCancellationFun_0($this, _this__u8e3s4) {
2105
+ return BufferedChannel$onCancellationImplDoNotCall$ref($this);
2106
+ }
2107
+ function onCancellationImplDoNotCall($this, cause, element, context) {
2108
+ callUndeliveredElement(ensureNotNull($this.q14_1), element, context);
2109
+ }
2110
+ function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda($element, this$0, $select) {
2111
+ return (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) => {
2112
+ var tmp;
2113
+ if (!($element === get_CHANNEL_CLOSED())) {
2114
+ callUndeliveredElement(this$0.q14_1, ($element == null ? true : !($element == null)) ? $element : THROW_CCE(), $select.tb());
2115
+ tmp = Unit_instance;
2116
+ }
2117
+ return Unit_instance;
2118
+ };
2119
+ }
2120
+ function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this$0) {
2121
+ return (select, _unused_var__etf5q3, element) => BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda(element, this$0, select);
2122
+ }
2123
+ function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(p0) {
2124
+ var l = (_this__u8e3s4, p0_0, p1) => {
2125
+ var tmp0 = p0;
2126
+ onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.x16_1, p1);
2127
+ return Unit_instance;
2128
+ };
2129
+ l.callableName = 'onCancellationChannelResultImplDoNotCall';
2130
+ return l;
2131
+ }
2132
+ function BufferedChannel$bindCancellationFun$lambda($this_bindCancellationFun, $element) {
2133
+ return (_unused_var__etf5q3, _unused_var__etf5q3_0, context) => {
2134
+ callUndeliveredElement($this_bindCancellationFun, $element, context);
2135
+ return Unit_instance;
2136
+ };
2137
+ }
2138
+ function BufferedChannel$onCancellationImplDoNotCall$ref(p0) {
2139
+ var l = (_this__u8e3s4, p0_0, p1) => {
2140
+ var tmp0 = p0;
2141
+ onCancellationImplDoNotCall(tmp0, _this__u8e3s4, p0_0, p1);
2142
+ return Unit_instance;
2143
+ };
2144
+ l.callableName = 'onCancellationImplDoNotCall';
2145
+ return l;
2146
+ }
2147
+ var BufferedChannelClass;
2148
+ function BufferedChannel() {
2149
+ if (BufferedChannelClass === VOID) {
2150
+ class $ {
2151
+ constructor(capacity, onUndeliveredElement) {
2152
+ onUndeliveredElement = onUndeliveredElement === VOID ? null : onUndeliveredElement;
2153
+ this.p14_1 = capacity;
2154
+ this.q14_1 = onUndeliveredElement;
2155
+ // Inline function 'kotlin.require' call
2156
+ if (!(this.p14_1 >= 0)) {
2157
+ var message = 'Invalid channel capacity: ' + this.p14_1 + ', should be >=0';
2158
+ throw IllegalArgumentException().i1(toString_0(message));
2159
+ }
2160
+ this.r14_1 = atomic$long$1(0n);
2161
+ this.s14_1 = atomic$long$1(0n);
2162
+ this.t14_1 = atomic$long$1(initialBufferEnd(this.p14_1));
2163
+ this.u14_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
2164
+ var firstSegment = new (ChannelSegment())(0n, null, this, 3);
2165
+ this.v14_1 = atomic$ref$1(firstSegment);
2166
+ this.w14_1 = atomic$ref$1(firstSegment);
2167
+ var tmp = this;
2168
+ var tmp_0;
2169
+ if (_get_isRendezvousOrUnlimited__3mdufi(this)) {
2170
+ var tmp_1 = get_NULL_SEGMENT();
2171
+ tmp_0 = tmp_1 instanceof ChannelSegment() ? tmp_1 : THROW_CCE();
2172
+ } else {
2173
+ tmp_0 = firstSegment;
2174
+ }
2175
+ tmp.x14_1 = atomic$ref$1(tmp_0);
2176
+ var tmp_2 = this;
2177
+ var tmp_3;
2178
+ if (this.q14_1 == null) {
2179
+ tmp_3 = null;
2180
+ } else {
2181
+ // Inline function 'kotlin.let' call
2182
+ tmp_3 = BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this);
2183
+ }
2184
+ tmp_2.y14_1 = tmp_3;
2185
+ this.z14_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2186
+ this.a15_1 = atomic$ref$1(null);
2187
+ }
2188
+ t15() {
2189
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2190
+ return this.r14_1.kotlinx$atomicfu$value & 1152921504606846975n;
2191
+ }
2192
+ v15() {
2193
+ return this.s14_1.kotlinx$atomicfu$value;
2194
+ }
2195
+ y16(element, $completion) {
2196
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_send__qhx0g0.bind(VOID, this, element), $completion);
2197
+ }
2198
+ z16(element) {
2199
+ if (shouldSendSuspend0(this, this.r14_1.kotlinx$atomicfu$value))
2200
+ return Companion_getInstance().a17();
2201
+ var tmp4 = get_INTERRUPTED_SEND();
2202
+ var tmp$ret$4;
2203
+ $l$block_4: {
2204
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2205
+ var segment = this.v14_1.kotlinx$atomicfu$value;
2206
+ $l$loop_0: while (true) {
2207
+ var sendersAndCloseStatusCur = this.r14_1.atomicfu$getAndIncrement$long();
2208
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2209
+ var s = sendersAndCloseStatusCur & 1152921504606846975n;
2210
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2211
+ // Inline function 'kotlin.Long.div' call
2212
+ var other = get_SEGMENT_SIZE();
2213
+ var id = divide(s, fromInt(other));
2214
+ // Inline function 'kotlin.Long.rem' call
2215
+ var other_0 = get_SEGMENT_SIZE();
2216
+ var tmp$ret$2 = modulo(s, fromInt(other_0));
2217
+ var i = convertToInt(tmp$ret$2);
2218
+ if (!(segment.xw_1 === id)) {
2219
+ var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2220
+ var tmp;
2221
+ if (tmp0_elvis_lhs == null) {
2222
+ var tmp_0;
2223
+ if (closed) {
2224
+ tmp$ret$4 = Companion_getInstance().u16(this.w15());
2225
+ break $l$block_4;
2226
+ } else {
2227
+ continue $l$loop_0;
2228
+ }
2229
+ } else {
2230
+ tmp = tmp0_elvis_lhs;
2231
+ }
2232
+ segment = tmp;
2233
+ }
2234
+ switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
2235
+ case 0:
2236
+ segment.n15();
2237
+ tmp$ret$4 = Companion_getInstance().b16(Unit_instance);
2238
+ break $l$block_4;
2239
+ case 1:
2240
+ tmp$ret$4 = Companion_getInstance().b16(Unit_instance);
2241
+ break $l$block_4;
2242
+ case 2:
2243
+ if (closed) {
2244
+ segment.d15();
2245
+ tmp$ret$4 = Companion_getInstance().u16(this.w15());
2246
+ break $l$block_4;
2247
+ }
2248
+
2249
+ var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter()) : false) ? tmp4 : null;
2250
+ if (tmp2_safe_receiver == null)
2251
+ null;
2252
+ else {
2253
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2254
+ }
2255
+
2256
+ segment.d15();
2257
+ tmp$ret$4 = Companion_getInstance().a17();
2258
+ break $l$block_4;
2259
+ case 4:
2260
+ if (s < this.v15()) {
2261
+ segment.n15();
2262
+ }
2263
+
2264
+ tmp$ret$4 = Companion_getInstance().u16(this.w15());
2265
+ break $l$block_4;
2266
+ case 5:
2267
+ segment.n15();
2268
+ continue $l$loop_0;
2269
+ case 3:
2270
+ var message = 'unexpected';
2271
+ throw IllegalStateException().w4(toString_0(message));
2272
+ }
2273
+ }
2274
+ }
2275
+ return tmp$ret$4;
2276
+ }
2277
+ b17(element) {
2278
+ var tmp$ret$3;
2279
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2280
+ var waiter = get_BUFFERED();
2281
+ var segment = this.v14_1.kotlinx$atomicfu$value;
2282
+ $l$loop_0: while (true) {
2283
+ var sendersAndCloseStatusCur = this.r14_1.atomicfu$getAndIncrement$long();
2284
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2285
+ var s = sendersAndCloseStatusCur & 1152921504606846975n;
2286
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2287
+ // Inline function 'kotlin.Long.div' call
2288
+ var other = get_SEGMENT_SIZE();
2289
+ var id = divide(s, fromInt(other));
2290
+ // Inline function 'kotlin.Long.rem' call
2291
+ var other_0 = get_SEGMENT_SIZE();
2292
+ var tmp$ret$2 = modulo(s, fromInt(other_0));
2293
+ var i = convertToInt(tmp$ret$2);
2294
+ if (!(segment.xw_1 === id)) {
2295
+ var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2296
+ var tmp;
2297
+ if (tmp0_elvis_lhs == null) {
2298
+ var tmp_0;
2299
+ if (closed) {
2300
+ return Companion_getInstance().u16(this.w15());
2301
+ } else {
2302
+ continue $l$loop_0;
2303
+ }
2304
+ } else {
2305
+ tmp = tmp0_elvis_lhs;
2306
+ }
2307
+ segment = tmp;
2308
+ }
2309
+ switch (updateCellSend(this, segment, i, element, s, waiter, closed)) {
2310
+ case 0:
2311
+ segment.n15();
2312
+ return Companion_getInstance().b16(Unit_instance);
2313
+ case 1:
2314
+ return Companion_getInstance().b16(Unit_instance);
2315
+ case 2:
2316
+ if (closed) {
2317
+ segment.d15();
2318
+ return Companion_getInstance().u16(this.w15());
2319
+ }
2320
+
2321
+ var tmp2_safe_receiver = (!(waiter == null) ? isInterface(waiter, Waiter()) : false) ? waiter : null;
2322
+ if (tmp2_safe_receiver == null)
2323
+ null;
2324
+ else {
2325
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2326
+ }
2327
+
2328
+ var tmp0 = segment.xw_1;
2329
+ // Inline function 'kotlin.Long.times' call
2330
+
2331
+ var other_1 = get_SEGMENT_SIZE();
2332
+ // Inline function 'kotlin.Long.plus' call
2333
+
2334
+ var this_0 = multiply(tmp0, fromInt(other_1));
2335
+ var tmp$ret$5 = add(this_0, fromInt(i));
2336
+ this.s16(tmp$ret$5);
2337
+ return Companion_getInstance().b16(Unit_instance);
2338
+ case 4:
2339
+ if (s < this.v15()) {
2340
+ segment.n15();
2341
+ }
2342
+
2343
+ return Companion_getInstance().u16(this.w15());
2344
+ case 5:
2345
+ segment.n15();
2346
+ continue $l$loop_0;
2347
+ case 3:
2348
+ var message = 'unexpected';
2349
+ throw IllegalStateException().w4(toString_0(message));
2350
+ }
2351
+ }
2352
+ return tmp$ret$3;
2353
+ }
2354
+ e16() {
2355
+ }
2356
+ x15() {
2357
+ }
2358
+ s16(globalCellIndex) {
2359
+ // Inline function 'kotlinx.coroutines.assert' call
2360
+ var segment = this.w14_1.kotlinx$atomicfu$value;
2361
+ $l$loop_0: while (true) {
2362
+ var r = this.s14_1.kotlinx$atomicfu$value;
2363
+ // Inline function 'kotlin.Long.plus' call
2364
+ var other = this.p14_1;
2365
+ var tmp0 = add(r, fromInt(other));
2366
+ // Inline function 'kotlin.math.max' call
2367
+ var b = _get_bufferEndCounter__2d4hee(this);
2368
+ if (globalCellIndex < (tmp0 >= b ? tmp0 : b))
2369
+ return Unit_instance;
2370
+ // Inline function 'kotlin.Long.plus' call
2371
+ var tmp$ret$3 = add(r, fromInt(1));
2372
+ if (!this.s14_1.atomicfu$compareAndSet(r, tmp$ret$3))
2373
+ continue $l$loop_0;
2374
+ // Inline function 'kotlin.Long.div' call
2375
+ var other_0 = get_SEGMENT_SIZE();
2376
+ var id = divide(r, fromInt(other_0));
2377
+ // Inline function 'kotlin.Long.rem' call
2378
+ var other_1 = get_SEGMENT_SIZE();
2379
+ var tmp$ret$5 = modulo(r, fromInt(other_1));
2380
+ var i = convertToInt(tmp$ret$5);
2381
+ if (!(segment.xw_1 === id)) {
2382
+ var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2383
+ var tmp;
2384
+ if (tmp0_elvis_lhs == null) {
2385
+ continue $l$loop_0;
2386
+ } else {
2387
+ tmp = tmp0_elvis_lhs;
2388
+ }
2389
+ segment = tmp;
2390
+ }
2391
+ var updCellResult = updateCellReceive(this, segment, i, r, null);
2392
+ if (updCellResult === get_FAILED()) {
2393
+ if (r < this.t15()) {
2394
+ segment.n15();
2395
+ }
2396
+ } else {
2397
+ segment.n15();
2398
+ var tmp1_safe_receiver = this.q14_1;
2399
+ var tmp_0;
2400
+ if (tmp1_safe_receiver == null) {
2401
+ tmp_0 = null;
2402
+ } else {
2403
+ tmp_0 = callUndeliveredElementCatchingException(tmp1_safe_receiver, (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE());
2404
+ }
2405
+ var tmp2_safe_receiver = tmp_0;
2406
+ if (tmp2_safe_receiver == null)
2407
+ null;
2408
+ else {
2409
+ // Inline function 'kotlin.let' call
2410
+ throw tmp2_safe_receiver;
2411
+ }
2412
+ }
2413
+ }
2414
+ }
2415
+ c15(globalIndex) {
2416
+ if (_get_isRendezvousOrUnlimited__3mdufi(this))
2417
+ return Unit_instance;
2418
+ while (_get_bufferEndCounter__2d4hee(this) <= globalIndex) {
2419
+ }
2420
+ // Inline function 'kotlin.repeat' call
2421
+ var times = get_EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS();
2422
+ var inductionVariable = 0;
2423
+ if (inductionVariable < times)
2424
+ do {
2425
+ var index = inductionVariable;
2426
+ inductionVariable = inductionVariable + 1 | 0;
2427
+ var b = _get_bufferEndCounter__2d4hee(this);
2428
+ // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2429
+ var ebCompleted = this.u14_1.kotlinx$atomicfu$value & 4611686018427387903n;
2430
+ if (b === ebCompleted && b === _get_bufferEndCounter__2d4hee(this))
2431
+ return Unit_instance;
2432
+ }
2433
+ while (inductionVariable < times);
2434
+ var tmp0 = this.u14_1;
2435
+ $l$block: {
2436
+ // Inline function 'kotlinx.atomicfu.update' call
2437
+ while (true) {
2438
+ var cur = tmp0.kotlinx$atomicfu$value;
2439
+ // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2440
+ var tmp$ret$3 = cur & 4611686018427387903n;
2441
+ var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
2442
+ if (tmp0.atomicfu$compareAndSet(cur, upd)) {
2443
+ break $l$block;
2444
+ }
2445
+ }
2446
+ }
2447
+ while (true) {
2448
+ var b_0 = _get_bufferEndCounter__2d4hee(this);
2449
+ var ebCompletedAndBit = this.u14_1.kotlinx$atomicfu$value;
2450
+ // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2451
+ var ebCompleted_0 = ebCompletedAndBit & 4611686018427387903n;
2452
+ // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
2453
+ var pauseExpandBuffers = !((ebCompletedAndBit & 4611686018427387904n) === 0n);
2454
+ if (b_0 === ebCompleted_0 && b_0 === _get_bufferEndCounter__2d4hee(this)) {
2455
+ var tmp0_0 = this.u14_1;
2456
+ $l$block_0: {
2457
+ // Inline function 'kotlinx.atomicfu.update' call
2458
+ while (true) {
2459
+ var cur_0 = tmp0_0.kotlinx$atomicfu$value;
2460
+ // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2461
+ var tmp$ret$8 = cur_0 & 4611686018427387903n;
2462
+ var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
2463
+ if (tmp0_0.atomicfu$compareAndSet(cur_0, upd_0)) {
2464
+ break $l$block_0;
2465
+ }
2466
+ }
2467
+ }
2468
+ return Unit_instance;
2469
+ }
2470
+ if (!pauseExpandBuffers) {
2471
+ this.u14_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
2472
+ }
2473
+ }
2474
+ }
2475
+ k1() {
2476
+ return new (BufferedChannelIterator())(this);
2477
+ }
2478
+ u15() {
2479
+ var tmp = this.z14_1.kotlinx$atomicfu$value;
2480
+ return (tmp == null ? true : tmp instanceof Error) ? tmp : THROW_CCE();
2481
+ }
2482
+ w15() {
2483
+ var tmp0_elvis_lhs = this.u15();
2484
+ return tmp0_elvis_lhs == null ? ClosedSendChannelException().g17('Channel was closed') : tmp0_elvis_lhs;
2485
+ }
2486
+ h17() {
2487
+ }
2488
+ i17(cause) {
2489
+ return this.j17(cause, false);
2490
+ }
2491
+ lu(cause) {
2492
+ this.l17(cause);
2493
+ }
2494
+ l17(cause) {
2495
+ return this.j17(cause == null ? CancellationException().vc('Channel was cancelled') : cause, true);
2496
+ }
2497
+ j17(cause, cancel) {
2498
+ if (cancel) {
2499
+ markCancellationStarted(this);
2500
+ }
2501
+ var closedByThisOperation = this.z14_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
2502
+ if (cancel) {
2503
+ markCancelled(this);
2504
+ } else {
2505
+ markClosed(this);
2506
+ }
2507
+ completeCloseOrCancel(this);
2508
+ // Inline function 'kotlin.also' call
2509
+ this.h17();
2510
+ if (closedByThisOperation) {
2511
+ invokeCloseHandler(this);
2512
+ }
2513
+ return closedByThisOperation;
2514
+ }
2515
+ t16() {
2516
+ return false;
2517
+ }
2518
+ r16() {
2519
+ return _get_isClosedForSend0__kxgf9m(this, this.r14_1.kotlinx$atomicfu$value);
2520
+ }
2521
+ s15() {
2522
+ return _get_isClosedForReceive0__f7qknl(this, this.r14_1.kotlinx$atomicfu$value);
2523
+ }
2524
+ v16() {
2525
+ $l$loop: while (true) {
2526
+ var segment = this.w14_1.kotlinx$atomicfu$value;
2527
+ var r = this.v15();
2528
+ var s = this.t15();
2529
+ if (s <= r)
2530
+ return false;
2531
+ // Inline function 'kotlin.Long.div' call
2532
+ var other = get_SEGMENT_SIZE();
2533
+ var id = divide(r, fromInt(other));
2534
+ if (!(segment.xw_1 === id)) {
2535
+ var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2536
+ var tmp;
2537
+ if (tmp0_elvis_lhs == null) {
2538
+ var tmp_0;
2539
+ if (this.w14_1.kotlinx$atomicfu$value.xw_1 < id) {
2540
+ return false;
2541
+ } else {
2542
+ continue $l$loop;
2543
+ }
2544
+ } else {
2545
+ tmp = tmp0_elvis_lhs;
2546
+ }
2547
+ segment = tmp;
2548
+ }
2549
+ segment.n15();
2550
+ // Inline function 'kotlin.Long.rem' call
2551
+ var other_0 = get_SEGMENT_SIZE();
2552
+ var tmp$ret$1 = modulo(r, fromInt(other_0));
2553
+ var i = convertToInt(tmp$ret$1);
2554
+ if (isCellNonEmpty(this, segment, i, r))
2555
+ return true;
2556
+ // Inline function 'kotlin.Long.plus' call
2557
+ var tmp$ret$2 = add(r, fromInt(1));
2558
+ this.s14_1.atomicfu$compareAndSet(r, tmp$ret$2);
2559
+ }
2560
+ }
2561
+ toString() {
2562
+ var sb = StringBuilder().a1();
2563
+ // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
2564
+ var this_0 = this.r14_1.kotlinx$atomicfu$value;
2565
+ var tmp0_subject = convertToInt(shiftRight(this_0, 60));
2566
+ if (tmp0_subject === 2) {
2567
+ sb.ib('closed,');
2568
+ } else if (tmp0_subject === 3) {
2569
+ sb.ib('cancelled,');
2570
+ }
2571
+ sb.ib('capacity=' + this.p14_1 + ',');
2572
+ sb.ib('data=[');
2573
+ // Inline function 'kotlin.collections.filter' call
2574
+ var tmp0 = listOf([this.w14_1.kotlinx$atomicfu$value, this.v14_1.kotlinx$atomicfu$value, this.x14_1.kotlinx$atomicfu$value]);
2575
+ // Inline function 'kotlin.collections.filterTo' call
2576
+ var destination = ArrayList().r1();
2577
+ var _iterator__ex2g4s = tmp0.k1();
2578
+ while (_iterator__ex2g4s.l1()) {
2579
+ var element = _iterator__ex2g4s.m1();
2580
+ if (!(element === get_NULL_SEGMENT())) {
2581
+ destination.v(element);
2582
+ }
2583
+ }
2584
+ var tmp$ret$4;
2585
+ $l$block: {
2586
+ // Inline function 'kotlin.collections.minBy' call
2587
+ var iterator = destination.k1();
2588
+ if (!iterator.l1())
2589
+ throw NoSuchElementException().i6();
2590
+ var minElem = iterator.m1();
2591
+ if (!iterator.l1()) {
2592
+ tmp$ret$4 = minElem;
2593
+ break $l$block;
2594
+ }
2595
+ var minValue = minElem.xw_1;
2596
+ do {
2597
+ var e = iterator.m1();
2598
+ var v = e.xw_1;
2599
+ if (compareTo(minValue, v) > 0) {
2600
+ minElem = e;
2601
+ minValue = v;
2602
+ }
2603
+ }
2604
+ while (iterator.l1());
2605
+ tmp$ret$4 = minElem;
2606
+ }
2607
+ var firstSegment = tmp$ret$4;
2608
+ var r = this.v15();
2609
+ var s = this.t15();
2610
+ var segment = firstSegment;
2611
+ append_elements: while (true) {
2612
+ var inductionVariable = 0;
2613
+ var last_0 = get_SEGMENT_SIZE();
2614
+ if (inductionVariable < last_0)
2615
+ process_cell: do {
2616
+ var i = inductionVariable;
2617
+ inductionVariable = inductionVariable + 1 | 0;
2618
+ var tmp0_0 = segment.xw_1;
2619
+ // Inline function 'kotlin.Long.times' call
2620
+ var other = get_SEGMENT_SIZE();
2621
+ // Inline function 'kotlin.Long.plus' call
2622
+ var this_1 = multiply(tmp0_0, fromInt(other));
2623
+ var globalCellIndex = add(this_1, fromInt(i));
2624
+ if (globalCellIndex >= s && globalCellIndex >= r)
2625
+ break append_elements;
2626
+ var cellState = segment.l14(i);
2627
+ var element_0 = segment.i14(i);
2628
+ var tmp;
2629
+ if (!(cellState == null) ? isInterface(cellState, CancellableContinuation()) : false) {
2630
+ tmp = globalCellIndex < r && globalCellIndex >= s ? 'receive' : globalCellIndex < s && globalCellIndex >= r ? 'send' : 'cont';
2631
+ } else {
2632
+ if (!(cellState == null) ? isInterface(cellState, SelectInstance()) : false) {
2633
+ tmp = globalCellIndex < r && globalCellIndex >= s ? 'onReceive' : globalCellIndex < s && globalCellIndex >= r ? 'onSend' : 'select';
2634
+ } else {
2635
+ if (cellState instanceof ReceiveCatching()) {
2636
+ tmp = 'receiveCatching';
2637
+ } else {
2638
+ if (cellState instanceof SendBroadcast()) {
2639
+ tmp = 'sendBroadcast';
2640
+ } else {
2641
+ if (cellState instanceof WaiterEB()) {
2642
+ tmp = 'EB(' + cellState.toString() + ')';
2643
+ } else {
2644
+ if (equals(cellState, get_RESUMING_BY_RCV()) || equals(cellState, get_RESUMING_BY_EB())) {
2645
+ tmp = 'resuming_sender';
2646
+ } else {
2647
+ if (cellState == null || (equals(cellState, get_IN_BUFFER()) || equals(cellState, get_DONE_RCV())) || (equals(cellState, get_POISONED()) || equals(cellState, get_INTERRUPTED_RCV()) || (equals(cellState, get_INTERRUPTED_SEND()) || equals(cellState, get_CHANNEL_CLOSED())))) {
2648
+ continue process_cell;
2649
+ } else {
2650
+ tmp = toString_0(cellState);
2651
+ }
2652
+ }
2653
+ }
2654
+ }
2655
+ }
2656
+ }
2657
+ }
2658
+ var cellStateString = tmp;
2659
+ if (!(element_0 == null)) {
2660
+ sb.ib('(' + cellStateString + ',' + toString(element_0) + '),');
2661
+ } else {
2662
+ sb.ib(cellStateString + ',');
2663
+ }
2664
+ }
2665
+ while (inductionVariable < last_0);
2666
+ var tmp2_elvis_lhs = segment.j15();
2667
+ var tmp_0;
2668
+ if (tmp2_elvis_lhs == null) {
2669
+ break append_elements;
2670
+ } else {
2671
+ tmp_0 = tmp2_elvis_lhs;
2672
+ }
2673
+ segment = tmp_0;
2674
+ }
2675
+ if (last(sb) === _Char___init__impl__6a9atx(44)) {
2676
+ sb.ug(sb.a() - 1 | 0);
2677
+ }
2678
+ sb.ib(']');
2679
+ return sb.toString();
2680
+ }
2681
+ }
2682
+ protoOf($).k17 = close$default;
2683
+ protoOf($).m17 = cancel$default;
2684
+ initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2685
+ BufferedChannelClass = $;
2686
+ }
2687
+ return BufferedChannelClass;
2688
+ }
2689
+ var WaiterEBClass;
2690
+ function WaiterEB() {
2691
+ if (WaiterEBClass === VOID) {
2692
+ class $ {
2693
+ constructor(waiter) {
2694
+ this.y15_1 = waiter;
2695
+ }
2696
+ toString() {
2697
+ return 'WaiterEB(' + toString_0(this.y15_1) + ')';
2698
+ }
2699
+ }
2700
+ initMetadataForClass($, 'WaiterEB');
2701
+ WaiterEBClass = $;
2702
+ }
2703
+ return WaiterEBClass;
2704
+ }
2705
+ function initialBufferEnd(capacity) {
2706
+ _init_properties_BufferedChannel_kt__d6uc4y();
2707
+ switch (capacity) {
2708
+ case 0:
2709
+ return 0n;
2710
+ case 2147483647:
2711
+ return 9223372036854775807n;
2712
+ default:
2713
+ return fromInt(capacity);
2714
+ }
2715
+ }
2716
+ var ReceiveCatchingClass;
2717
+ function ReceiveCatching() {
2718
+ if (ReceiveCatchingClass === VOID) {
2719
+ class $ {}
2720
+ initMetadataForClass($, 'ReceiveCatching', VOID, VOID, [Waiter()]);
2721
+ ReceiveCatchingClass = $;
2722
+ }
2723
+ return ReceiveCatchingClass;
2724
+ }
2725
+ function tryResume0(_this__u8e3s4, value, onCancellation) {
2726
+ onCancellation = onCancellation === VOID ? null : onCancellation;
2727
+ _init_properties_BufferedChannel_kt__d6uc4y();
2728
+ // Inline function 'kotlin.let' call
2729
+ var token = _this__u8e3s4.uv(value, null, onCancellation);
2730
+ var tmp;
2731
+ if (!(token == null)) {
2732
+ _this__u8e3s4.vv(token);
2733
+ tmp = true;
2734
+ } else {
2735
+ tmp = false;
2736
+ }
2737
+ return tmp;
2738
+ }
2739
+ function constructEBCompletedAndPauseFlag(counter, pauseEB) {
2740
+ _init_properties_BufferedChannel_kt__d6uc4y();
2741
+ return add(pauseEB ? 4611686018427387904n : 0n, counter);
2742
+ }
2743
+ function constructSendersAndCloseStatus(counter, closeStatus) {
2744
+ _init_properties_BufferedChannel_kt__d6uc4y();
2745
+ return add(shiftLeft(fromInt(closeStatus), 60), counter);
2746
+ }
2747
+ function createSegmentFunction() {
2748
+ _init_properties_BufferedChannel_kt__d6uc4y();
2749
+ return createSegment$ref();
2750
+ }
2751
+ function createSegment(id, prev) {
2752
+ _init_properties_BufferedChannel_kt__d6uc4y();
2753
+ return new (ChannelSegment())(id, prev, prev.f14(), 0);
2754
+ }
2755
+ function createSegment$ref() {
2756
+ var l = (p0, p1) => createSegment(p0, p1);
2757
+ l.callableName = 'createSegment';
2758
+ return l;
2759
+ }
2760
+ var properties_initialized_BufferedChannel_kt_58tjvw;
2761
+ function _init_properties_BufferedChannel_kt__d6uc4y() {
2762
+ if (!properties_initialized_BufferedChannel_kt_58tjvw) {
2763
+ properties_initialized_BufferedChannel_kt_58tjvw = true;
2764
+ NULL_SEGMENT = new (ChannelSegment())(-1n, null, null, 0);
2765
+ SEGMENT_SIZE = systemProp('kotlinx.coroutines.bufferedChannel.segmentSize', 32);
2766
+ EXPAND_BUFFER_COMPLETION_WAIT_ITERATIONS = systemProp('kotlinx.coroutines.bufferedChannel.expandBufferCompletionWaitIterations', 10000);
2767
+ BUFFERED = new (Symbol())('BUFFERED');
2768
+ IN_BUFFER = new (Symbol())('SHOULD_BUFFER');
2769
+ RESUMING_BY_RCV = new (Symbol())('S_RESUMING_BY_RCV');
2770
+ RESUMING_BY_EB = new (Symbol())('RESUMING_BY_EB');
2771
+ POISONED = new (Symbol())('POISONED');
2772
+ DONE_RCV = new (Symbol())('DONE_RCV');
2773
+ INTERRUPTED_SEND = new (Symbol())('INTERRUPTED_SEND');
2774
+ INTERRUPTED_RCV = new (Symbol())('INTERRUPTED_RCV');
2775
+ CHANNEL_CLOSED = new (Symbol())('CHANNEL_CLOSED');
2776
+ SUSPEND = new (Symbol())('SUSPEND');
2777
+ SUSPEND_NO_WAITER = new (Symbol())('SUSPEND_NO_WAITER');
2778
+ FAILED = new (Symbol())('FAILED');
2779
+ NO_RECEIVE_RESULT = new (Symbol())('NO_RECEIVE_RESULT');
2780
+ CLOSE_HANDLER_CLOSED = new (Symbol())('CLOSE_HANDLER_CLOSED');
2781
+ CLOSE_HANDLER_INVOKED = new (Symbol())('CLOSE_HANDLER_INVOKED');
2782
+ NO_CLOSE_CAUSE = new (Symbol())('NO_CLOSE_CAUSE');
2783
+ }
2784
+ }
2785
+ //region block: exports
2786
+ export {
2787
+ BufferedChannel as BufferedChannel3lgkhzot5gmk6,
2788
+ };
2789
+ //endregion
2790
+
2791
+ //# sourceMappingURL=BufferedChannel.mjs.map