@attocash/cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +707 -0
  3. package/dist/application/app.d.ts +138 -0
  4. package/dist/application/app.js +654 -0
  5. package/dist/application/operations.d.ts +9 -0
  6. package/dist/application/operations.js +96 -0
  7. package/dist/cli/cli.d.ts +1 -0
  8. package/dist/cli/cli.js +460 -0
  9. package/dist/cli/help.d.ts +4 -0
  10. package/dist/cli/help.js +49 -0
  11. package/dist/cli/main.d.ts +2 -0
  12. package/dist/cli/main.js +13 -0
  13. package/dist/cli/onboarding.d.ts +14 -0
  14. package/dist/cli/onboarding.js +144 -0
  15. package/dist/cli/output.d.ts +2 -0
  16. package/dist/cli/output.js +231 -0
  17. package/dist/cli/terminal.d.ts +6 -0
  18. package/dist/cli/terminal.js +92 -0
  19. package/dist/cli/update-check.d.ts +1 -0
  20. package/dist/cli/update-check.js +12 -0
  21. package/dist/cli/updates.d.ts +2 -0
  22. package/dist/cli/updates.js +98 -0
  23. package/dist/core.d.ts +14 -0
  24. package/dist/core.js +14 -0
  25. package/dist/doctor/credential-probe.d.ts +7 -0
  26. package/dist/doctor/credential-probe.js +49 -0
  27. package/dist/doctor/doctor.d.ts +4 -0
  28. package/dist/doctor/doctor.js +213 -0
  29. package/dist/doctor/keyring.d.ts +7 -0
  30. package/dist/doctor/keyring.js +150 -0
  31. package/dist/doctor/profile.d.ts +19 -0
  32. package/dist/doctor/profile.js +73 -0
  33. package/dist/doctor/types.d.ts +40 -0
  34. package/dist/doctor/types.js +1 -0
  35. package/dist/domain/amount.d.ts +6 -0
  36. package/dist/domain/amount.js +27 -0
  37. package/dist/domain/errors.d.ts +10 -0
  38. package/dist/domain/errors.js +16 -0
  39. package/dist/labels/directory.d.ts +87 -0
  40. package/dist/labels/directory.js +140 -0
  41. package/dist/labels/personal.d.ts +17 -0
  42. package/dist/labels/personal.js +56 -0
  43. package/dist/labels/presentation.d.ts +154 -0
  44. package/dist/labels/presentation.js +90 -0
  45. package/dist/network/reader.d.ts +31 -0
  46. package/dist/network/reader.js +370 -0
  47. package/dist/network/retry.d.ts +7 -0
  48. package/dist/network/retry.js +53 -0
  49. package/dist/network/work.d.ts +3 -0
  50. package/dist/network/work.js +66 -0
  51. package/dist/pricing/market.d.ts +29 -0
  52. package/dist/pricing/market.js +150 -0
  53. package/dist/pricing/terms.d.ts +6 -0
  54. package/dist/pricing/terms.js +12 -0
  55. package/dist/spending/destination.d.ts +16 -0
  56. package/dist/spending/destination.js +42 -0
  57. package/dist/spending/journal.d.ts +28 -0
  58. package/dist/spending/journal.js +69 -0
  59. package/dist/spending/ledger.d.ts +118 -0
  60. package/dist/spending/ledger.js +444 -0
  61. package/dist/spending/payments.d.ts +67 -0
  62. package/dist/spending/payments.js +424 -0
  63. package/dist/spending/pool.d.ts +13 -0
  64. package/dist/spending/pool.js +38 -0
  65. package/dist/spending/reconcile.d.ts +18 -0
  66. package/dist/spending/reconcile.js +64 -0
  67. package/dist/storage/profiles.d.ts +13 -0
  68. package/dist/storage/profiles.js +86 -0
  69. package/dist/storage/secrets.d.ts +16 -0
  70. package/dist/storage/secrets.js +104 -0
  71. package/dist/storage/state.d.ts +32 -0
  72. package/dist/storage/state.js +255 -0
  73. package/dist/wallet/auto-receive.d.ts +57 -0
  74. package/dist/wallet/auto-receive.js +140 -0
  75. package/dist/wallet/defaults.d.ts +3 -0
  76. package/dist/wallet/defaults.js +26 -0
  77. package/dist/wallet/signing.d.ts +17 -0
  78. package/dist/wallet/signing.js +128 -0
  79. package/dist/wallet/types.d.ts +65 -0
  80. package/dist/wallet/types.js +1 -0
  81. package/dist/wallet/work.d.ts +29 -0
  82. package/dist/wallet/work.js +154 -0
  83. package/dist/watches/manager.d.ts +75 -0
  84. package/dist/watches/manager.js +197 -0
  85. package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs +6678 -0
  86. package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
  87. package/node_modules/@attocash/commons-core/LICENSE +28 -0
  88. package/node_modules/@attocash/commons-core/README.md +118 -0
  89. package/node_modules/@attocash/commons-core/commons-commons-core.d.mts +1036 -0
  90. package/node_modules/@attocash/commons-core/commons-commons-core.mjs +7701 -0
  91. package/node_modules/@attocash/commons-core/commons-commons-core.mjs.map +1 -0
  92. package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs +17681 -0
  93. package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs.map +1 -0
  94. package/node_modules/@attocash/commons-core/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
  95. package/node_modules/@attocash/commons-core/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
  96. package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs +209 -0
  97. package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -0
  98. package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs +2284 -0
  99. package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
  100. package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs +6042 -0
  101. package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
  102. package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  103. package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  104. package/node_modules/@attocash/commons-core/package.json +27 -0
  105. package/node_modules/@attocash/commons-node/LICENSE +28 -0
  106. package/node_modules/@attocash/commons-node/README.md +92 -0
  107. package/node_modules/@attocash/commons-node/commons-commons-node.d.mts +255 -0
  108. package/node_modules/@attocash/commons-node/commons-commons-node.mjs +2977 -0
  109. package/node_modules/@attocash/commons-node/commons-commons-node.mjs.map +1 -0
  110. package/node_modules/@attocash/commons-node/kotlin-logging.mjs +432 -0
  111. package/node_modules/@attocash/commons-node/kotlin-logging.mjs.map +1 -0
  112. package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  113. package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  114. package/node_modules/@attocash/commons-node/package.json +29 -0
  115. package/node_modules/@attocash/commons-node-remote/LICENSE +28 -0
  116. package/node_modules/@attocash/commons-node-remote/README.md +61 -0
  117. package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.d.mts +122 -0
  118. package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs +1810 -0
  119. package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs.map +1 -0
  120. package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs +432 -0
  121. package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs.map +1 -0
  122. package/node_modules/@attocash/commons-node-remote/kotlinx-browser.mjs +8 -0
  123. package/node_modules/@attocash/commons-node-remote/kotlinx-browser.mjs.map +1 -0
  124. package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
  125. package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
  126. package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  127. package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  128. package/node_modules/@attocash/commons-node-remote/package.json +31 -0
  129. package/node_modules/@attocash/commons-transport/LICENSE +28 -0
  130. package/node_modules/@attocash/commons-transport/README.md +5 -0
  131. package/node_modules/@attocash/commons-transport/commons-commons-transport.d.mts +64 -0
  132. package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs +249 -0
  133. package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs.map +1 -0
  134. package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs +263 -0
  135. package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs.map +1 -0
  136. package/node_modules/@attocash/commons-transport/kotlinx-browser.mjs +8 -0
  137. package/node_modules/@attocash/commons-transport/kotlinx-browser.mjs.map +1 -0
  138. package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs +11604 -0
  139. package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs.map +1 -0
  140. package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
  141. package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
  142. package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  143. package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  144. package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs +499 -0
  145. package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs.map +1 -0
  146. package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs +6456 -0
  147. package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs.map +1 -0
  148. package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs +83 -0
  149. package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs.map +1 -0
  150. package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs +1714 -0
  151. package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs.map +1 -0
  152. package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs +3197 -0
  153. package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs.map +1 -0
  154. package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs +2290 -0
  155. package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs.map +1 -0
  156. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs +46 -0
  157. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -0
  158. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs +482 -0
  159. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs.map +1 -0
  160. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs +165 -0
  161. package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs.map +1 -0
  162. package/node_modules/@attocash/commons-transport/ktor-ktor-sse.mjs +4 -0
  163. package/node_modules/@attocash/commons-transport/ktor-ktor-sse.mjs.map +1 -0
  164. package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs +3222 -0
  165. package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs.map +1 -0
  166. package/node_modules/@attocash/commons-transport/ktor-ktor-websocket-serialization.mjs +4 -0
  167. package/node_modules/@attocash/commons-transport/ktor-ktor-websocket-serialization.mjs.map +1 -0
  168. package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs +1485 -0
  169. package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs.map +1 -0
  170. package/node_modules/@attocash/commons-transport/package.json +29 -0
  171. package/node_modules/@attocash/commons-worker/LICENSE +28 -0
  172. package/node_modules/@attocash/commons-worker/README.md +48 -0
  173. package/node_modules/@attocash/commons-worker/commons-commons-worker.d.mts +73 -0
  174. package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs +702 -0
  175. package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs.map +1 -0
  176. package/node_modules/@attocash/commons-worker/kotlin-logging.mjs +432 -0
  177. package/node_modules/@attocash/commons-worker/kotlin-logging.mjs.map +1 -0
  178. package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  179. package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  180. package/node_modules/@attocash/commons-worker/package.json +29 -0
  181. package/node_modules/@attocash/commons-worker-remote/LICENSE +28 -0
  182. package/node_modules/@attocash/commons-worker-remote/README.md +60 -0
  183. package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.d.mts +93 -0
  184. package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs +289 -0
  185. package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs.map +1 -0
  186. package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs +432 -0
  187. package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs.map +1 -0
  188. package/node_modules/@attocash/commons-worker-remote/kotlinx-browser.mjs +8 -0
  189. package/node_modules/@attocash/commons-worker-remote/kotlinx-browser.mjs.map +1 -0
  190. package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
  191. package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
  192. package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +5294 -0
  193. package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  194. package/node_modules/@attocash/commons-worker-remote/package.json +31 -0
  195. package/node_modules/@js-joda/core/CHANGELOG.md +363 -0
  196. package/node_modules/@js-joda/core/CheatSheet.md +947 -0
  197. package/node_modules/@js-joda/core/LICENSE +34 -0
  198. package/node_modules/@js-joda/core/README.md +155 -0
  199. package/node_modules/@js-joda/core/bower.json +21 -0
  200. package/node_modules/@js-joda/core/dist/js-joda.d.ts +2452 -0
  201. package/node_modules/@js-joda/core/dist/js-joda.esm.js +13564 -0
  202. package/node_modules/@js-joda/core/dist/js-joda.flow.js +949 -0
  203. package/node_modules/@js-joda/core/dist/js-joda.js +13630 -0
  204. package/node_modules/@js-joda/core/dist/js-joda.js.map +1 -0
  205. package/node_modules/@js-joda/core/dist/js-joda.min.js +5 -0
  206. package/node_modules/@js-joda/core/package.json +76 -0
  207. package/node_modules/@js-joda/core/src/Clock.js +330 -0
  208. package/node_modules/@js-joda/core/src/DayOfWeek.js +451 -0
  209. package/node_modules/@js-joda/core/src/Duration.js +1205 -0
  210. package/node_modules/@js-joda/core/src/Enum.js +30 -0
  211. package/node_modules/@js-joda/core/src/Instant.js +1012 -0
  212. package/node_modules/@js-joda/core/src/LocalDate.js +1703 -0
  213. package/node_modules/@js-joda/core/src/LocalDateTime.js +1686 -0
  214. package/node_modules/@js-joda/core/src/LocalTime.js +1415 -0
  215. package/node_modules/@js-joda/core/src/MathUtil.js +236 -0
  216. package/node_modules/@js-joda/core/src/Month.js +600 -0
  217. package/node_modules/@js-joda/core/src/MonthDay.js +730 -0
  218. package/node_modules/@js-joda/core/src/OffsetDateTime.js +757 -0
  219. package/node_modules/@js-joda/core/src/OffsetTime.js +621 -0
  220. package/node_modules/@js-joda/core/src/Period.js +933 -0
  221. package/node_modules/@js-joda/core/src/StringUtil.js +43 -0
  222. package/node_modules/@js-joda/core/src/Year.js +1015 -0
  223. package/node_modules/@js-joda/core/src/YearConstants.js +21 -0
  224. package/node_modules/@js-joda/core/src/YearMonth.js +1096 -0
  225. package/node_modules/@js-joda/core/src/ZoneId.js +236 -0
  226. package/node_modules/@js-joda/core/src/ZoneIdFactory.js +201 -0
  227. package/node_modules/@js-joda/core/src/ZoneOffset.js +486 -0
  228. package/node_modules/@js-joda/core/src/ZoneRegion.js +72 -0
  229. package/node_modules/@js-joda/core/src/ZonedDateTime.js +2007 -0
  230. package/node_modules/@js-joda/core/src/_init.js +68 -0
  231. package/node_modules/@js-joda/core/src/assert.js +33 -0
  232. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDate.js +230 -0
  233. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDateTime.js +130 -0
  234. package/node_modules/@js-joda/core/src/chrono/ChronoZonedDateTime.js +194 -0
  235. package/node_modules/@js-joda/core/src/chrono/IsoChronology.js +235 -0
  236. package/node_modules/@js-joda/core/src/convert.js +83 -0
  237. package/node_modules/@js-joda/core/src/errors.js +54 -0
  238. package/node_modules/@js-joda/core/src/format/DateTimeBuilder.js +535 -0
  239. package/node_modules/@js-joda/core/src/format/DateTimeFormatter.js +728 -0
  240. package/node_modules/@js-joda/core/src/format/DateTimeFormatterBuilder.js +1545 -0
  241. package/node_modules/@js-joda/core/src/format/DateTimeParseContext.js +297 -0
  242. package/node_modules/@js-joda/core/src/format/DateTimePrintContext.js +138 -0
  243. package/node_modules/@js-joda/core/src/format/DecimalStyle.js +113 -0
  244. package/node_modules/@js-joda/core/src/format/EnumMap.js +70 -0
  245. package/node_modules/@js-joda/core/src/format/ParsePosition.js +31 -0
  246. package/node_modules/@js-joda/core/src/format/ResolverStyle.js +93 -0
  247. package/node_modules/@js-joda/core/src/format/SignStyle.js +38 -0
  248. package/node_modules/@js-joda/core/src/format/StringBuilder.js +47 -0
  249. package/node_modules/@js-joda/core/src/format/TextStyle.js +114 -0
  250. package/node_modules/@js-joda/core/src/format/parser/CharLiteralPrinterParser.js +46 -0
  251. package/node_modules/@js-joda/core/src/format/parser/CompositePrinterParser.js +89 -0
  252. package/node_modules/@js-joda/core/src/format/parser/FractionPrinterParser.js +162 -0
  253. package/node_modules/@js-joda/core/src/format/parser/NumberPrinterParser.js +367 -0
  254. package/node_modules/@js-joda/core/src/format/parser/OffsetIdPrinterParser.js +177 -0
  255. package/node_modules/@js-joda/core/src/format/parser/PadPrinterParserDecorator.js +81 -0
  256. package/node_modules/@js-joda/core/src/format/parser/SettingsParser.js +44 -0
  257. package/node_modules/@js-joda/core/src/format/parser/StringLiteralPrinterParser.js +39 -0
  258. package/node_modules/@js-joda/core/src/format/parser/ZoneIdPrinterParser.js +218 -0
  259. package/node_modules/@js-joda/core/src/js-joda.js +210 -0
  260. package/node_modules/@js-joda/core/src/license-preamble.js +3 -0
  261. package/node_modules/@js-joda/core/src/temporal/ChronoField.js +470 -0
  262. package/node_modules/@js-joda/core/src/temporal/ChronoUnit.js +310 -0
  263. package/node_modules/@js-joda/core/src/temporal/DefaultInterfaceTemporal.js +118 -0
  264. package/node_modules/@js-joda/core/src/temporal/IsoFields.js +859 -0
  265. package/node_modules/@js-joda/core/src/temporal/NativeJsTemporal.js +105 -0
  266. package/node_modules/@js-joda/core/src/temporal/Temporal.js +346 -0
  267. package/node_modules/@js-joda/core/src/temporal/TemporalAccessor.js +125 -0
  268. package/node_modules/@js-joda/core/src/temporal/TemporalAdjuster.js +92 -0
  269. package/node_modules/@js-joda/core/src/temporal/TemporalAdjusters.js +464 -0
  270. package/node_modules/@js-joda/core/src/temporal/TemporalAmount.js +166 -0
  271. package/node_modules/@js-joda/core/src/temporal/TemporalField.js +248 -0
  272. package/node_modules/@js-joda/core/src/temporal/TemporalQueries.js +223 -0
  273. package/node_modules/@js-joda/core/src/temporal/TemporalQueriesFactory.js +77 -0
  274. package/node_modules/@js-joda/core/src/temporal/TemporalQuery.js +107 -0
  275. package/node_modules/@js-joda/core/src/temporal/TemporalUnit.js +179 -0
  276. package/node_modules/@js-joda/core/src/temporal/ValueRange.js +257 -0
  277. package/node_modules/@js-joda/core/src/use.js +20 -0
  278. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneId.js +31 -0
  279. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneRules.js +162 -0
  280. package/node_modules/@js-joda/core/src/zone/ZoneOffsetTransition.js +289 -0
  281. package/node_modules/@js-joda/core/src/zone/ZoneRules.js +464 -0
  282. package/node_modules/@js-joda/core/src/zone/ZoneRulesProvider.js +36 -0
  283. package/node_modules/@noble/hashes/LICENSE +21 -0
  284. package/node_modules/@noble/hashes/README.md +563 -0
  285. package/node_modules/@noble/hashes/_blake.d.ts +21 -0
  286. package/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
  287. package/node_modules/@noble/hashes/_blake.js +52 -0
  288. package/node_modules/@noble/hashes/_blake.js.map +1 -0
  289. package/node_modules/@noble/hashes/_md.d.ts +99 -0
  290. package/node_modules/@noble/hashes/_md.d.ts.map +1 -0
  291. package/node_modules/@noble/hashes/_md.js +202 -0
  292. package/node_modules/@noble/hashes/_md.js.map +1 -0
  293. package/node_modules/@noble/hashes/_u64.d.ts +63 -0
  294. package/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
  295. package/node_modules/@noble/hashes/_u64.js +84 -0
  296. package/node_modules/@noble/hashes/_u64.js.map +1 -0
  297. package/node_modules/@noble/hashes/argon2.d.ts +112 -0
  298. package/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
  299. package/node_modules/@noble/hashes/argon2.js +517 -0
  300. package/node_modules/@noble/hashes/argon2.js.map +1 -0
  301. package/node_modules/@noble/hashes/blake1.d.ts +156 -0
  302. package/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
  303. package/node_modules/@noble/hashes/blake1.js +560 -0
  304. package/node_modules/@noble/hashes/blake1.js.map +1 -0
  305. package/node_modules/@noble/hashes/blake2.d.ts +184 -0
  306. package/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
  307. package/node_modules/@noble/hashes/blake2.js +501 -0
  308. package/node_modules/@noble/hashes/blake2.js.map +1 -0
  309. package/node_modules/@noble/hashes/blake3.d.ts +68 -0
  310. package/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
  311. package/node_modules/@noble/hashes/blake3.js +284 -0
  312. package/node_modules/@noble/hashes/blake3.js.map +1 -0
  313. package/node_modules/@noble/hashes/eskdf.d.ts +92 -0
  314. package/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
  315. package/node_modules/@noble/hashes/eskdf.js +218 -0
  316. package/node_modules/@noble/hashes/eskdf.js.map +1 -0
  317. package/node_modules/@noble/hashes/hkdf.d.ts +64 -0
  318. package/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
  319. package/node_modules/@noble/hashes/hkdf.js +120 -0
  320. package/node_modules/@noble/hashes/hkdf.js.map +1 -0
  321. package/node_modules/@noble/hashes/hmac.d.ts +47 -0
  322. package/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
  323. package/node_modules/@noble/hashes/hmac.js +93 -0
  324. package/node_modules/@noble/hashes/hmac.js.map +1 -0
  325. package/node_modules/@noble/hashes/index.d.ts +2 -0
  326. package/node_modules/@noble/hashes/index.d.ts.map +1 -0
  327. package/node_modules/@noble/hashes/index.js +35 -0
  328. package/node_modules/@noble/hashes/index.js.map +1 -0
  329. package/node_modules/@noble/hashes/legacy.d.ts +102 -0
  330. package/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
  331. package/node_modules/@noble/hashes/legacy.js +327 -0
  332. package/node_modules/@noble/hashes/legacy.js.map +1 -0
  333. package/node_modules/@noble/hashes/package.json +97 -0
  334. package/node_modules/@noble/hashes/pbkdf2.d.ts +56 -0
  335. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
  336. package/node_modules/@noble/hashes/pbkdf2.js +135 -0
  337. package/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
  338. package/node_modules/@noble/hashes/scrypt.d.ts +65 -0
  339. package/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
  340. package/node_modules/@noble/hashes/scrypt.js +257 -0
  341. package/node_modules/@noble/hashes/scrypt.js.map +1 -0
  342. package/node_modules/@noble/hashes/sha2.d.ts +249 -0
  343. package/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
  344. package/node_modules/@noble/hashes/sha2.js +458 -0
  345. package/node_modules/@noble/hashes/sha2.js.map +1 -0
  346. package/node_modules/@noble/hashes/sha3-addons.d.ts +461 -0
  347. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
  348. package/node_modules/@noble/hashes/sha3-addons.js +783 -0
  349. package/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
  350. package/node_modules/@noble/hashes/sha3.d.ts +199 -0
  351. package/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
  352. package/node_modules/@noble/hashes/sha3.js +431 -0
  353. package/node_modules/@noble/hashes/sha3.js.map +1 -0
  354. package/node_modules/@noble/hashes/src/_blake.ts +57 -0
  355. package/node_modules/@noble/hashes/src/_md.ts +222 -0
  356. package/node_modules/@noble/hashes/src/_u64.ts +117 -0
  357. package/node_modules/@noble/hashes/src/argon2.ts +667 -0
  358. package/node_modules/@noble/hashes/src/blake1.ts +614 -0
  359. package/node_modules/@noble/hashes/src/blake2.ts +582 -0
  360. package/node_modules/@noble/hashes/src/blake3.ts +317 -0
  361. package/node_modules/@noble/hashes/src/eskdf.ts +259 -0
  362. package/node_modules/@noble/hashes/src/hkdf.ts +133 -0
  363. package/node_modules/@noble/hashes/src/hmac.ts +126 -0
  364. package/node_modules/@noble/hashes/src/index.ts +33 -0
  365. package/node_modules/@noble/hashes/src/legacy.ts +339 -0
  366. package/node_modules/@noble/hashes/src/pbkdf2.ts +175 -0
  367. package/node_modules/@noble/hashes/src/scrypt.ts +315 -0
  368. package/node_modules/@noble/hashes/src/sha2.ts +530 -0
  369. package/node_modules/@noble/hashes/src/sha3-addons.ts +983 -0
  370. package/node_modules/@noble/hashes/src/sha3.ts +485 -0
  371. package/node_modules/@noble/hashes/src/utils.ts +848 -0
  372. package/node_modules/@noble/hashes/src/webcrypto.ts +239 -0
  373. package/node_modules/@noble/hashes/utils.d.ts +519 -0
  374. package/node_modules/@noble/hashes/utils.d.ts.map +1 -0
  375. package/node_modules/@noble/hashes/utils.js +578 -0
  376. package/node_modules/@noble/hashes/utils.js.map +1 -0
  377. package/node_modules/@noble/hashes/webcrypto.d.ts +120 -0
  378. package/node_modules/@noble/hashes/webcrypto.d.ts.map +1 -0
  379. package/node_modules/@noble/hashes/webcrypto.js +165 -0
  380. package/node_modules/@noble/hashes/webcrypto.js.map +1 -0
  381. package/node_modules/ws/LICENSE +20 -0
  382. package/node_modules/ws/README.md +548 -0
  383. package/node_modules/ws/browser.js +8 -0
  384. package/node_modules/ws/index.js +22 -0
  385. package/node_modules/ws/lib/buffer-util.js +131 -0
  386. package/node_modules/ws/lib/constants.js +19 -0
  387. package/node_modules/ws/lib/event-target.js +292 -0
  388. package/node_modules/ws/lib/extension.js +203 -0
  389. package/node_modules/ws/lib/limiter.js +55 -0
  390. package/node_modules/ws/lib/permessage-deflate.js +530 -0
  391. package/node_modules/ws/lib/receiver.js +743 -0
  392. package/node_modules/ws/lib/sender.js +607 -0
  393. package/node_modules/ws/lib/stream.js +161 -0
  394. package/node_modules/ws/lib/subprotocol.js +62 -0
  395. package/node_modules/ws/lib/validation.js +152 -0
  396. package/node_modules/ws/lib/websocket-server.js +562 -0
  397. package/node_modules/ws/lib/websocket.js +1407 -0
  398. package/node_modules/ws/package.json +74 -0
  399. package/node_modules/ws/wrapper.mjs +21 -0
  400. package/package.json +53 -0
@@ -0,0 +1,2977 @@
1
+ import {
2
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
3
+ THROW_CCE2g6jy02ryeudk as THROW_CCE,
4
+ protoOf180f3jzyo7rfj as protoOf,
5
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
6
+ VOID3gxj6tk5isa35 as VOID,
7
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
8
+ Unit_instance3vdlo4e4f5ggx as Unit_instance,
9
+ createThis2j2avj17cvnv2 as createThis,
10
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
11
+ LazyThreadSafetyMode_PUBLICATION_getInstance20ynwq7b0awd8 as LazyThreadSafetyMode_PUBLICATION_getInstance,
12
+ lazy1261dae0bgscp as lazy,
13
+ toString1pkumu07cwy4m as toString,
14
+ hashCodeq5arwsb9dgti as hashCode,
15
+ equals2au1ep9vhcato as equals,
16
+ toList383f556t1dixk as toList,
17
+ Companion_getInstance4z8fvmvpott5 as Companion_getInstance,
18
+ DurationUnit_MILLISECONDS_getInstancesewns20u1dyn as DurationUnit_MILLISECONDS_getInstance,
19
+ toDurationba1nlt78o6vu as toDuration,
20
+ initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
21
+ IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
22
+ captureStack1fzi4aczwc4hg as captureStack,
23
+ defineProp3ur6h3slcvq4x as defineProp,
24
+ constructCallableReference23y65rf941mch as constructCallableReference,
25
+ LinkedHashSet2tkztfx86kyx2 as LinkedHashSet,
26
+ emptySetcxexqki71qfa as emptySet,
27
+ toSet2orjxp16sotqu as toSet,
28
+ addAll1k27qatfgp3k5 as addAll,
29
+ FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
30
+ isInterface3d6p8outrmvmk as isInterface,
31
+ Duration__toString_impl_8d916b1rke7yypzm7mk as Duration__toString_impl_8d916b,
32
+ listOfvhqybd2zx248 as listOf,
33
+ DurationUnit_SECONDS_getInstancehu17fry790z2 as DurationUnit_SECONDS_getInstance,
34
+ toDuration7gy6v749ektt as toDuration_0,
35
+ minus165a8u1e0x1lu as minus,
36
+ ArrayList3it5z8td81qkl as ArrayList,
37
+ Exceptiondt2hlxn7j7vw as Exception,
38
+ CancellationException3b36o9qz53rgr as CancellationException,
39
+ LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap,
40
+ promisify1z0ncraq1ipzh as promisify,
41
+ await335x4cz7ixnm4 as await_0,
42
+ copyToArray2j022khrow2yi as copyToArray,
43
+ _ULong___init__impl__c78o9k3fkiaf1q5xsf7 as _ULong___init__impl__c78o9k,
44
+ AutoCloseable1l5p57f9lp7kv as AutoCloseable,
45
+ } from '@attocash/commons-core/kotlin-kotlin-stdlib.mjs';
46
+ import {
47
+ PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor,
48
+ UnknownFieldExceptiona60e3a6v1xqo as UnknownFieldException,
49
+ LongSerializer_getInstance1q1voa3zes72d as LongSerializer_getInstance,
50
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
51
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
52
+ throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException,
53
+ ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer,
54
+ SerializableWithd2dap36updxd as SerializableWith,
55
+ } from '@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs';
56
+ import {
57
+ AttoInstantAsStringSerializer_getInstance1mcy4j2jkq5u5 as AttoInstantAsStringSerializer_getInstance,
58
+ AttoAddressAsStringSerializer_getInstance1f2c1ecyu5g0e as AttoAddressAsStringSerializer_getInstance,
59
+ AttoHeightSerializer_getInstance8br5v1480pjm as AttoHeightSerializer_getInstance,
60
+ Companion_getInstance1oi1uumqnxb3t as Companion_getInstance_0,
61
+ Companion_instance1lv0f3n6qbbrs as Companion_instance,
62
+ Companion_getInstancegnn9r0fnqe3s as Companion_getInstance_1,
63
+ Companion_getInstance4kufothr3r24 as Companion_getInstance_2,
64
+ Companion_getInstance22tqzs96dctbf as Companion_getInstance_3,
65
+ Companion_instanceildpb6dx5lqn as Companion_instance_0,
66
+ Companion_getInstanceiadmif8bstw2 as Companion_getInstance_4,
67
+ Companion_instancehwflmb78x0d7 as Companion_instance_1,
68
+ AttoAddressi1gjrmqbg81z as AttoAddress,
69
+ AttoAmount28z2ffm4ih7im as AttoAmount,
70
+ AttoHeight1604ccqlfsk68 as AttoHeight,
71
+ Companion_getInstance2mr06hoj9rswa as Companion_getInstance_5,
72
+ } from '@attocash/commons-core/commons-commons-core.mjs';
73
+ import {
74
+ cancelAndJoin21f2rd386nyt8 as cancelAndJoin,
75
+ Mutex16li1l0asjv17 as Mutex,
76
+ MutableStateFlow34bfoyvwu8czu as MutableStateFlow,
77
+ asStateFlow34rribx643ke5 as asStateFlow,
78
+ FlowCollector26clgpmzihvke as FlowCollector,
79
+ delayvyed5wvki0ic as delay,
80
+ emptyFlow35paiql7g3tok as emptyFlow,
81
+ retryWhenf2aqzvtrvxoo as retryWhen,
82
+ emitAllc6188g3y1sqz as emitAll,
83
+ transformLatest23kpraac2xiec as transformLatest,
84
+ flow3tazazxj2t7g4 as flow,
85
+ await3gx2tubo6ckuc as await_1,
86
+ Dispatchers_getInstance20p7pyqnrepag as Dispatchers_getInstance,
87
+ SupervisorJobythnfxkr3jxc as SupervisorJob,
88
+ CoroutineScopelux7s7zphw7e as CoroutineScope,
89
+ launch1c91vkjzdi9sd as launch,
90
+ cancel36mj9lv3a0whl as cancel,
91
+ } from '@attocash/commons-transport/kotlinx-coroutines-core.mjs';
92
+ import { KotlinLogging_getInstance23m15hivuqa9t as KotlinLogging_getInstance } from './kotlin-logging.mjs';
93
+ //region block: imports
94
+ var imul = Math.imul;
95
+ //endregion
96
+ //region block: pre-declaration
97
+ class Companion {}
98
+ class Companion_0 {}
99
+ class $serializer {
100
+ constructor() {
101
+ $serializer_instance = this;
102
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('cash.atto.commons.node.TimeDifferenceResponse', this, 3);
103
+ tmp0_serialDesc.s16('clientInstant', false);
104
+ tmp0_serialDesc.s16('serverInstant', false);
105
+ tmp0_serialDesc.s16('differenceMillis', false);
106
+ this.p3o_1 = tmp0_serialDesc;
107
+ }
108
+ q3o(encoder, value) {
109
+ var tmp0_desc = this.p3o_1;
110
+ var tmp1_output = encoder.ez(tmp0_desc);
111
+ tmp1_output.v10(tmp0_desc, 0, AttoInstantAsStringSerializer_getInstance(), value.clientInstant);
112
+ tmp1_output.v10(tmp0_desc, 1, AttoInstantAsStringSerializer_getInstance(), value.serverInstant);
113
+ tmp1_output.p10(tmp0_desc, 2, value.differenceMillis);
114
+ tmp1_output.fz(tmp0_desc);
115
+ }
116
+ qu(encoder, value) {
117
+ return this.q3o(encoder, value instanceof TimeDifferenceResponse ? value : THROW_CCE());
118
+ }
119
+ ru(decoder) {
120
+ var tmp0_desc = this.p3o_1;
121
+ var tmp1_flag = true;
122
+ var tmp2_index = 0;
123
+ var tmp3_bitMask0 = 0;
124
+ var tmp4_local0 = null;
125
+ var tmp5_local1 = null;
126
+ var tmp6_local2 = 0n;
127
+ var tmp7_input = decoder.ez(tmp0_desc);
128
+ if (tmp7_input.tz()) {
129
+ tmp4_local0 = tmp7_input.qz(tmp0_desc, 0, AttoInstantAsStringSerializer_getInstance(), tmp4_local0);
130
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
131
+ tmp5_local1 = tmp7_input.qz(tmp0_desc, 1, AttoInstantAsStringSerializer_getInstance(), tmp5_local1);
132
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
133
+ tmp6_local2 = tmp7_input.kz(tmp0_desc, 2);
134
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
135
+ } else
136
+ while (tmp1_flag) {
137
+ tmp2_index = tmp7_input.uz(tmp0_desc);
138
+ switch (tmp2_index) {
139
+ case -1:
140
+ tmp1_flag = false;
141
+ break;
142
+ case 0:
143
+ tmp4_local0 = tmp7_input.qz(tmp0_desc, 0, AttoInstantAsStringSerializer_getInstance(), tmp4_local0);
144
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
145
+ break;
146
+ case 1:
147
+ tmp5_local1 = tmp7_input.qz(tmp0_desc, 1, AttoInstantAsStringSerializer_getInstance(), tmp5_local1);
148
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
149
+ break;
150
+ case 2:
151
+ tmp6_local2 = tmp7_input.kz(tmp0_desc, 2);
152
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
153
+ break;
154
+ default:
155
+ throw UnknownFieldException.lw(tmp2_index);
156
+ }
157
+ }
158
+ tmp7_input.fz(tmp0_desc);
159
+ return TimeDifferenceResponse.r3o(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
160
+ }
161
+ pu() {
162
+ return this.p3o_1;
163
+ }
164
+ h17() {
165
+ // Inline function 'kotlin.arrayOf' call
166
+ // Inline function 'kotlin.js.unsafeCast' call
167
+ // Inline function 'kotlin.js.asDynamic' call
168
+ return [AttoInstantAsStringSerializer_getInstance(), AttoInstantAsStringSerializer_getInstance(), LongSerializer_getInstance()];
169
+ }
170
+ }
171
+ class TimeDifferenceResponse {
172
+ constructor(clientInstant, serverInstant, differenceMillis) {
173
+ this.clientInstant = clientInstant;
174
+ this.serverInstant = serverInstant;
175
+ this.differenceMillis = differenceMillis;
176
+ }
177
+ s3o() {
178
+ return this.clientInstant;
179
+ }
180
+ t3o() {
181
+ return this.serverInstant;
182
+ }
183
+ u3o() {
184
+ return this.differenceMillis;
185
+ }
186
+ ff() {
187
+ return this.clientInstant;
188
+ }
189
+ gf() {
190
+ return this.serverInstant;
191
+ }
192
+ a2f() {
193
+ return this.differenceMillis;
194
+ }
195
+ v3o(clientInstant, serverInstant, differenceMillis) {
196
+ return new TimeDifferenceResponse(clientInstant, serverInstant, differenceMillis);
197
+ }
198
+ copy(clientInstant, serverInstant, differenceMillis, $super) {
199
+ clientInstant = clientInstant === VOID ? this.clientInstant : clientInstant;
200
+ serverInstant = serverInstant === VOID ? this.serverInstant : serverInstant;
201
+ differenceMillis = differenceMillis === VOID ? this.differenceMillis : differenceMillis;
202
+ return $super === VOID ? this.v3o(clientInstant, serverInstant, differenceMillis) : $super.v3o.call(this, clientInstant, serverInstant, differenceMillis);
203
+ }
204
+ toString() {
205
+ return 'TimeDifferenceResponse(clientInstant=' + this.clientInstant.toString() + ', serverInstant=' + this.serverInstant.toString() + ', differenceMillis=' + this.differenceMillis.toString() + ')';
206
+ }
207
+ hashCode() {
208
+ var result = this.clientInstant.hashCode();
209
+ result = imul(result, 31) + this.serverInstant.hashCode() | 0;
210
+ result = imul(result, 31) + getBigIntHashCode(this.differenceMillis) | 0;
211
+ return result;
212
+ }
213
+ equals(other) {
214
+ if (this === other)
215
+ return true;
216
+ if (!(other instanceof TimeDifferenceResponse))
217
+ return false;
218
+ if (!this.clientInstant.equals(other.clientInstant))
219
+ return false;
220
+ if (!this.serverInstant.equals(other.serverInstant))
221
+ return false;
222
+ if (!(this.differenceMillis === other.differenceMillis))
223
+ return false;
224
+ return true;
225
+ }
226
+ static r3o(seen0, clientInstant, serverInstant, differenceMillis, serializationConstructorMarker) {
227
+ if (!(7 === (7 & seen0))) {
228
+ throwMissingFieldException(seen0, 7, $serializer_getInstance().p3o_1);
229
+ }
230
+ var $this = createThis(this);
231
+ $this.clientInstant = clientInstant;
232
+ $this.serverInstant = serverInstant;
233
+ $this.differenceMillis = differenceMillis;
234
+ return $this;
235
+ }
236
+ }
237
+ class Companion_1 {
238
+ constructor() {
239
+ Companion_instance_4 = this;
240
+ var tmp = this;
241
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
242
+ // Inline function 'kotlin.arrayOf' call
243
+ // Inline function 'kotlin.js.unsafeCast' call
244
+ // Inline function 'kotlin.js.asDynamic' call
245
+ tmp.w3o_1 = [lazy(tmp_0, AccountSearch$Companion$$childSerializers$_anonymous__5n1423)];
246
+ }
247
+ }
248
+ class $serializer_0 {
249
+ constructor() {
250
+ $serializer_instance_0 = this;
251
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('cash.atto.commons.node.AccountSearch', this, 1);
252
+ tmp0_serialDesc.s16('addresses', false);
253
+ this.x3o_1 = tmp0_serialDesc;
254
+ }
255
+ y3o(encoder, value) {
256
+ var tmp0_desc = this.x3o_1;
257
+ var tmp1_output = encoder.ez(tmp0_desc);
258
+ var tmp2_cached = Companion_getInstance_8().w3o_1;
259
+ tmp1_output.v10(tmp0_desc, 0, tmp2_cached[0].b3(), value.addresses);
260
+ tmp1_output.fz(tmp0_desc);
261
+ }
262
+ qu(encoder, value) {
263
+ return this.y3o(encoder, value instanceof AccountSearch ? value : THROW_CCE());
264
+ }
265
+ ru(decoder) {
266
+ var tmp0_desc = this.x3o_1;
267
+ var tmp1_flag = true;
268
+ var tmp2_index = 0;
269
+ var tmp3_bitMask0 = 0;
270
+ var tmp4_local0 = null;
271
+ var tmp5_input = decoder.ez(tmp0_desc);
272
+ var tmp6_cached = Companion_getInstance_8().w3o_1;
273
+ if (tmp5_input.tz()) {
274
+ tmp4_local0 = tmp5_input.qz(tmp0_desc, 0, tmp6_cached[0].b3(), tmp4_local0);
275
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
276
+ } else
277
+ while (tmp1_flag) {
278
+ tmp2_index = tmp5_input.uz(tmp0_desc);
279
+ switch (tmp2_index) {
280
+ case -1:
281
+ tmp1_flag = false;
282
+ break;
283
+ case 0:
284
+ tmp4_local0 = tmp5_input.qz(tmp0_desc, 0, tmp6_cached[0].b3(), tmp4_local0);
285
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
286
+ break;
287
+ default:
288
+ throw UnknownFieldException.lw(tmp2_index);
289
+ }
290
+ }
291
+ tmp5_input.fz(tmp0_desc);
292
+ return AccountSearch.z3o(tmp3_bitMask0, tmp4_local0, null);
293
+ }
294
+ pu() {
295
+ return this.x3o_1;
296
+ }
297
+ h17() {
298
+ // Inline function 'kotlin.arrayOf' call
299
+ // Inline function 'kotlin.js.unsafeCast' call
300
+ // Inline function 'kotlin.js.asDynamic' call
301
+ return [Companion_getInstance_8().w3o_1[0].b3()];
302
+ }
303
+ }
304
+ class AccountSearch {
305
+ constructor(addresses) {
306
+ Companion_getInstance_8();
307
+ this.addresses = addresses;
308
+ }
309
+ a3p() {
310
+ return this.addresses;
311
+ }
312
+ ff() {
313
+ return this.addresses;
314
+ }
315
+ b3p(addresses) {
316
+ return new AccountSearch(addresses);
317
+ }
318
+ copy(addresses, $super) {
319
+ addresses = addresses === VOID ? this.addresses : addresses;
320
+ return $super === VOID ? this.b3p(addresses) : $super.b3p.call(this, addresses);
321
+ }
322
+ toString() {
323
+ return 'AccountSearch(addresses=' + toString(this.addresses) + ')';
324
+ }
325
+ hashCode() {
326
+ return hashCode(this.addresses);
327
+ }
328
+ equals(other) {
329
+ if (this === other)
330
+ return true;
331
+ if (!(other instanceof AccountSearch))
332
+ return false;
333
+ if (!equals(this.addresses, other.addresses))
334
+ return false;
335
+ return true;
336
+ }
337
+ static z3o(seen0, addresses, serializationConstructorMarker) {
338
+ Companion_getInstance_8();
339
+ if (!(1 === (1 & seen0))) {
340
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_0().x3o_1);
341
+ }
342
+ var $this = createThis(this);
343
+ $this.addresses = addresses;
344
+ return $this;
345
+ }
346
+ }
347
+ class Companion_2 {}
348
+ class $serializer_1 {
349
+ constructor() {
350
+ $serializer_instance_1 = this;
351
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('cash.atto.commons.node.AccountHeightSearch', this, 3);
352
+ tmp0_serialDesc.s16('address', false);
353
+ tmp0_serialDesc.s16('fromHeight', false);
354
+ tmp0_serialDesc.s16('toHeight', true);
355
+ this.c3p_1 = tmp0_serialDesc;
356
+ }
357
+ d3p(encoder, value) {
358
+ var tmp0_desc = this.c3p_1;
359
+ var tmp1_output = encoder.ez(tmp0_desc);
360
+ tmp1_output.v10(tmp0_desc, 0, AttoAddressAsStringSerializer_getInstance(), value.address);
361
+ tmp1_output.v10(tmp0_desc, 1, AttoHeightSerializer_getInstance(), value.fromHeight);
362
+ if (tmp1_output.z10(tmp0_desc, 2) ? true : !value.toHeight.equals(Companion_getInstance_0().b2i_1)) {
363
+ tmp1_output.v10(tmp0_desc, 2, AttoHeightSerializer_getInstance(), value.toHeight);
364
+ }
365
+ tmp1_output.fz(tmp0_desc);
366
+ }
367
+ qu(encoder, value) {
368
+ return this.d3p(encoder, value instanceof AccountHeightSearch ? value : THROW_CCE());
369
+ }
370
+ ru(decoder) {
371
+ var tmp0_desc = this.c3p_1;
372
+ var tmp1_flag = true;
373
+ var tmp2_index = 0;
374
+ var tmp3_bitMask0 = 0;
375
+ var tmp4_local0 = null;
376
+ var tmp5_local1 = null;
377
+ var tmp6_local2 = null;
378
+ var tmp7_input = decoder.ez(tmp0_desc);
379
+ if (tmp7_input.tz()) {
380
+ tmp4_local0 = tmp7_input.qz(tmp0_desc, 0, AttoAddressAsStringSerializer_getInstance(), tmp4_local0);
381
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
382
+ tmp5_local1 = tmp7_input.qz(tmp0_desc, 1, AttoHeightSerializer_getInstance(), tmp5_local1);
383
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
384
+ tmp6_local2 = tmp7_input.qz(tmp0_desc, 2, AttoHeightSerializer_getInstance(), tmp6_local2);
385
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
386
+ } else
387
+ while (tmp1_flag) {
388
+ tmp2_index = tmp7_input.uz(tmp0_desc);
389
+ switch (tmp2_index) {
390
+ case -1:
391
+ tmp1_flag = false;
392
+ break;
393
+ case 0:
394
+ tmp4_local0 = tmp7_input.qz(tmp0_desc, 0, AttoAddressAsStringSerializer_getInstance(), tmp4_local0);
395
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
396
+ break;
397
+ case 1:
398
+ tmp5_local1 = tmp7_input.qz(tmp0_desc, 1, AttoHeightSerializer_getInstance(), tmp5_local1);
399
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
400
+ break;
401
+ case 2:
402
+ tmp6_local2 = tmp7_input.qz(tmp0_desc, 2, AttoHeightSerializer_getInstance(), tmp6_local2);
403
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
404
+ break;
405
+ default:
406
+ throw UnknownFieldException.lw(tmp2_index);
407
+ }
408
+ }
409
+ tmp7_input.fz(tmp0_desc);
410
+ return AccountHeightSearch.e3p(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
411
+ }
412
+ pu() {
413
+ return this.c3p_1;
414
+ }
415
+ h17() {
416
+ // Inline function 'kotlin.arrayOf' call
417
+ // Inline function 'kotlin.js.unsafeCast' call
418
+ // Inline function 'kotlin.js.asDynamic' call
419
+ return [AttoAddressAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoHeightSerializer_getInstance()];
420
+ }
421
+ }
422
+ class AccountHeightSearch {
423
+ constructor(address, fromHeight, toHeight) {
424
+ toHeight = toHeight === VOID ? Companion_getInstance_0().b2i_1 : toHeight;
425
+ this.address = address;
426
+ this.fromHeight = fromHeight;
427
+ this.toHeight = toHeight;
428
+ }
429
+ q2e() {
430
+ return this.address;
431
+ }
432
+ f3p() {
433
+ return this.fromHeight;
434
+ }
435
+ g3p() {
436
+ return this.toHeight;
437
+ }
438
+ ff() {
439
+ return this.address;
440
+ }
441
+ gf() {
442
+ return this.fromHeight;
443
+ }
444
+ a2f() {
445
+ return this.toHeight;
446
+ }
447
+ h3p(address, fromHeight, toHeight) {
448
+ return new AccountHeightSearch(address, fromHeight, toHeight);
449
+ }
450
+ copy(address, fromHeight, toHeight, $super) {
451
+ address = address === VOID ? this.address : address;
452
+ fromHeight = fromHeight === VOID ? this.fromHeight : fromHeight;
453
+ toHeight = toHeight === VOID ? this.toHeight : toHeight;
454
+ return $super === VOID ? this.h3p(address, fromHeight, toHeight) : $super.h3p.call(this, address, fromHeight, toHeight);
455
+ }
456
+ toString() {
457
+ return 'AccountHeightSearch(address=' + this.address.toString() + ', fromHeight=' + this.fromHeight.toString() + ', toHeight=' + this.toHeight.toString() + ')';
458
+ }
459
+ hashCode() {
460
+ var result = this.address.hashCode();
461
+ result = imul(result, 31) + this.fromHeight.hashCode() | 0;
462
+ result = imul(result, 31) + this.toHeight.hashCode() | 0;
463
+ return result;
464
+ }
465
+ equals(other) {
466
+ if (this === other)
467
+ return true;
468
+ if (!(other instanceof AccountHeightSearch))
469
+ return false;
470
+ if (!this.address.equals(other.address))
471
+ return false;
472
+ if (!this.fromHeight.equals(other.fromHeight))
473
+ return false;
474
+ if (!this.toHeight.equals(other.toHeight))
475
+ return false;
476
+ return true;
477
+ }
478
+ static e3p(seen0, address, fromHeight, toHeight, serializationConstructorMarker) {
479
+ if (!(3 === (3 & seen0))) {
480
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_1().c3p_1);
481
+ }
482
+ var $this = createThis(this);
483
+ $this.address = address;
484
+ $this.fromHeight = fromHeight;
485
+ if (0 === (seen0 & 4))
486
+ $this.toHeight = Companion_getInstance_0().b2i_1;
487
+ else
488
+ $this.toHeight = toHeight;
489
+ return $this;
490
+ }
491
+ }
492
+ class Companion_3 {
493
+ constructor() {
494
+ Companion_instance_6 = this;
495
+ var tmp = this;
496
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
497
+ // Inline function 'kotlin.arrayOf' call
498
+ // Inline function 'kotlin.js.unsafeCast' call
499
+ // Inline function 'kotlin.js.asDynamic' call
500
+ tmp.i3p_1 = [lazy(tmp_0, HeightSearch$Companion$$childSerializers$_anonymous__5pm92z)];
501
+ }
502
+ fromArray(search) {
503
+ return new HeightSearch(toList(search));
504
+ }
505
+ t1i() {
506
+ return $serializer_getInstance_2();
507
+ }
508
+ }
509
+ class $serializer_2 {
510
+ constructor() {
511
+ $serializer_instance_2 = this;
512
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('cash.atto.commons.node.HeightSearch', this, 1);
513
+ tmp0_serialDesc.s16('search', false);
514
+ this.j3p_1 = tmp0_serialDesc;
515
+ }
516
+ k3p(encoder, value) {
517
+ var tmp0_desc = this.j3p_1;
518
+ var tmp1_output = encoder.ez(tmp0_desc);
519
+ var tmp2_cached = Companion_getInstance_10().i3p_1;
520
+ tmp1_output.v10(tmp0_desc, 0, tmp2_cached[0].b3(), value.search);
521
+ tmp1_output.fz(tmp0_desc);
522
+ }
523
+ qu(encoder, value) {
524
+ return this.k3p(encoder, value instanceof HeightSearch ? value : THROW_CCE());
525
+ }
526
+ ru(decoder) {
527
+ var tmp0_desc = this.j3p_1;
528
+ var tmp1_flag = true;
529
+ var tmp2_index = 0;
530
+ var tmp3_bitMask0 = 0;
531
+ var tmp4_local0 = null;
532
+ var tmp5_input = decoder.ez(tmp0_desc);
533
+ var tmp6_cached = Companion_getInstance_10().i3p_1;
534
+ if (tmp5_input.tz()) {
535
+ tmp4_local0 = tmp5_input.qz(tmp0_desc, 0, tmp6_cached[0].b3(), tmp4_local0);
536
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
537
+ } else
538
+ while (tmp1_flag) {
539
+ tmp2_index = tmp5_input.uz(tmp0_desc);
540
+ switch (tmp2_index) {
541
+ case -1:
542
+ tmp1_flag = false;
543
+ break;
544
+ case 0:
545
+ tmp4_local0 = tmp5_input.qz(tmp0_desc, 0, tmp6_cached[0].b3(), tmp4_local0);
546
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
547
+ break;
548
+ default:
549
+ throw UnknownFieldException.lw(tmp2_index);
550
+ }
551
+ }
552
+ tmp5_input.fz(tmp0_desc);
553
+ return HeightSearch.l3p(tmp3_bitMask0, tmp4_local0, null);
554
+ }
555
+ pu() {
556
+ return this.j3p_1;
557
+ }
558
+ h17() {
559
+ // Inline function 'kotlin.arrayOf' call
560
+ // Inline function 'kotlin.js.unsafeCast' call
561
+ // Inline function 'kotlin.js.asDynamic' call
562
+ return [Companion_getInstance_10().i3p_1[0].b3()];
563
+ }
564
+ }
565
+ class HeightSearch {
566
+ constructor(search) {
567
+ Companion_getInstance_10();
568
+ this.search = search;
569
+ }
570
+ m3p() {
571
+ return this.search;
572
+ }
573
+ ff() {
574
+ return this.search;
575
+ }
576
+ n3p(search) {
577
+ return new HeightSearch(search);
578
+ }
579
+ copy(search, $super) {
580
+ search = search === VOID ? this.search : search;
581
+ return $super === VOID ? this.n3p(search) : $super.n3p.call(this, search);
582
+ }
583
+ toString() {
584
+ return 'HeightSearch(search=' + toString(this.search) + ')';
585
+ }
586
+ hashCode() {
587
+ return hashCode(this.search);
588
+ }
589
+ equals(other) {
590
+ if (this === other)
591
+ return true;
592
+ if (!(other instanceof HeightSearch))
593
+ return false;
594
+ if (!equals(this.search, other.search))
595
+ return false;
596
+ return true;
597
+ }
598
+ static l3p(seen0, search, serializationConstructorMarker) {
599
+ Companion_getInstance_10();
600
+ if (!(1 === (1 & seen0))) {
601
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_2().j3p_1);
602
+ }
603
+ var $this = createThis(this);
604
+ $this.search = search;
605
+ return $this;
606
+ }
607
+ }
608
+ class AttoNodeOperations {}
609
+ function *now($completion) {
610
+ var difference = (yield* this.k3q(Companion_instance.now(), $completion)).differenceMillis;
611
+ var tmp = Companion_instance.now();
612
+ // Inline function 'kotlin.time.Companion.milliseconds' call
613
+ Companion_getInstance();
614
+ var tmp$ret$0 = toDuration(difference, DurationUnit_MILLISECONDS_getInstance());
615
+ return tmp.ir(tmp$ret$0);
616
+ }
617
+ class AttoNodePublishMismatchException extends IllegalStateException {
618
+ constructor(expected, actual) {
619
+ return new.target.s3p(expected, actual);
620
+ }
621
+ static s3p(expected, actual) {
622
+ var $this = this.o('Node acknowledged transaction ' + actual.toString() + ' instead of submitted transaction ' + expected.toString());
623
+ captureStack($this, $this.r3p_1);
624
+ return $this;
625
+ }
626
+ }
627
+ class AttoHeightMonitor {
628
+ constructor(accountMonitor, heightProvider) {
629
+ var tmp;
630
+ if (heightProvider === VOID) {
631
+ tmp = AttoHeightMonitor$_init_$slambda_oraq2v();
632
+ } else {
633
+ tmp = heightProvider;
634
+ }
635
+ heightProvider = tmp;
636
+ this.u3q_1 = accountMonitor;
637
+ this.v3q_1 = heightProvider;
638
+ this.w3q_1 = Mutex();
639
+ var tmp_0 = this;
640
+ // Inline function 'kotlin.collections.mutableMapOf' call
641
+ tmp_0.x3q_1 = LinkedHashMap.o5();
642
+ }
643
+ y3q() {
644
+ // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
645
+ var this_0 = this.u3q_1.g3r();
646
+ // Inline function 'kotlinx.coroutines.flow.map' call
647
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
648
+ var this_1 = transformLatest(this_0, AttoHeightMonitor$stream$slambda(this));
649
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
650
+ return new AttoHeightMonitor$stream$$inlined$map$1(this_1, this);
651
+ }
652
+ }
653
+ class AttoAccountEntryMonitor extends AttoHeightMonitor {
654
+ constructor(nodeClient, accountMonitor, heightProvider) {
655
+ var tmp;
656
+ if (heightProvider === VOID) {
657
+ tmp = AttoAccountEntryMonitor$_init_$slambda_eql76t();
658
+ } else {
659
+ tmp = heightProvider;
660
+ }
661
+ heightProvider = tmp;
662
+ super(accountMonitor, heightProvider);
663
+ this.s3q_1 = nodeClient;
664
+ }
665
+ t3q(search) {
666
+ return this.s3q_1.e3q(search);
667
+ }
668
+ }
669
+ class State {
670
+ constructor() {
671
+ this.z3q_1 = Mutex();
672
+ var tmp = this;
673
+ // Inline function 'kotlin.collections.mutableSetOf' call
674
+ tmp.a3r_1 = LinkedHashSet.r2();
675
+ this.b3r_1 = MutableStateFlow(emptySet());
676
+ }
677
+ *c3r(address, $completion) {
678
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
679
+ var this_0 = this.z3q_1;
680
+ yield* this_0.c3h(null, $completion);
681
+ var tmp;
682
+ try {
683
+ return this.a3r_1.j3(address);
684
+ }finally {
685
+ this_0.o3g(null);
686
+ }
687
+ }
688
+ *d3r($completion) {
689
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
690
+ var this_0 = this.z3q_1;
691
+ yield* this_0.c3h(null, $completion);
692
+ var tmp;
693
+ try {
694
+ tmp = toSet(this.a3r_1);
695
+ }finally {
696
+ this_0.o3g(null);
697
+ }
698
+ return tmp;
699
+ }
700
+ *e3r(newAddresses, $completion) {
701
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
702
+ var this_0 = this.z3q_1;
703
+ yield* this_0.c3h(null, $completion);
704
+ try {
705
+ // Inline function 'kotlin.collections.plusAssign' call
706
+ var this_1 = this.a3r_1;
707
+ addAll(this_1, newAddresses);
708
+ var tmp0 = this.b3r_1;
709
+ $l$block: {
710
+ // Inline function 'kotlinx.coroutines.flow.update' call
711
+ while (true) {
712
+ var prevValue = tmp0.b3();
713
+ var nextValue = toSet(this.a3r_1);
714
+ if (tmp0.k3a(prevValue, nextValue)) {
715
+ break $l$block;
716
+ }
717
+ }
718
+ }
719
+ }finally {
720
+ this_0.o3g(null);
721
+ }
722
+ return Unit_instance;
723
+ }
724
+ *f3r(address, $completion) {
725
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
726
+ var this_0 = this.z3q_1;
727
+ yield* this_0.c3h(null, $completion);
728
+ try {
729
+ // Inline function 'kotlin.collections.minusAssign' call
730
+ this.a3r_1.q4(address);
731
+ var tmp0 = this.b3r_1;
732
+ $l$block: {
733
+ // Inline function 'kotlinx.coroutines.flow.update' call
734
+ while (true) {
735
+ var prevValue = tmp0.b3();
736
+ var nextValue = toSet(this.a3r_1);
737
+ if (tmp0.k3a(prevValue, nextValue)) {
738
+ break $l$block;
739
+ }
740
+ }
741
+ }
742
+ }finally {
743
+ this_0.o3g(null);
744
+ }
745
+ return Unit_instance;
746
+ }
747
+ g3r() {
748
+ return asStateFlow(this.b3r_1);
749
+ }
750
+ }
751
+ class sam$kotlinx_coroutines_flow_FlowCollector$0 {
752
+ constructor(function_0) {
753
+ this.h3r_1 = function_0;
754
+ }
755
+ *e39(value, $completion) {
756
+ return yield* this.h3r_1(value, $completion);
757
+ }
758
+ b5() {
759
+ return this.h3r_1;
760
+ }
761
+ equals(other) {
762
+ var tmp;
763
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
764
+ var tmp_0;
765
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
766
+ tmp_0 = equals(this.b5(), other.b5());
767
+ } else {
768
+ tmp_0 = false;
769
+ }
770
+ tmp = tmp_0;
771
+ } else {
772
+ tmp = false;
773
+ }
774
+ return tmp;
775
+ }
776
+ hashCode() {
777
+ return hashCode(this.b5());
778
+ }
779
+ }
780
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_0 {
781
+ constructor(function_0) {
782
+ this.i3r_1 = function_0;
783
+ }
784
+ *e39(value, $completion) {
785
+ return yield* this.i3r_1(value, $completion);
786
+ }
787
+ b5() {
788
+ return this.i3r_1;
789
+ }
790
+ equals(other) {
791
+ var tmp;
792
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
793
+ var tmp_0;
794
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
795
+ tmp_0 = equals(this.b5(), other.b5());
796
+ } else {
797
+ tmp_0 = false;
798
+ }
799
+ tmp = tmp_0;
800
+ } else {
801
+ tmp = false;
802
+ }
803
+ return tmp;
804
+ }
805
+ hashCode() {
806
+ return hashCode(this.b5());
807
+ }
808
+ }
809
+ class AttoAccountMonitor$accountStream$$inlined$flatMapLatest$1$1 {
810
+ constructor($this, $addresses) {
811
+ this.j3r_1 = $this;
812
+ this.k3r_1 = $addresses;
813
+ }
814
+ *d39(collector, $completion) {
815
+ var tmp = AttoAccountMonitor$accountStream$slambda$o$collect$slambda(collector, this.k3r_1);
816
+ yield* this.j3r_1.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp), $completion);
817
+ return Unit_instance;
818
+ }
819
+ x38(collector, $completion) {
820
+ return this.d39(collector, $completion);
821
+ }
822
+ }
823
+ class AttoAccountMonitor$receivableStream$$inlined$flatMapLatest$1$1 {
824
+ constructor($this, $addresses) {
825
+ this.n3r_1 = $this;
826
+ this.o3r_1 = $addresses;
827
+ }
828
+ *d39(collector, $completion) {
829
+ var tmp = AttoAccountMonitor$receivableStream$slambda$o$collect$slambda(collector, this.o3r_1);
830
+ yield* this.n3r_1.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp), $completion);
831
+ return Unit_instance;
832
+ }
833
+ x38(collector, $completion) {
834
+ return this.d39(collector, $completion);
835
+ }
836
+ }
837
+ class AttoAccountMonitor {
838
+ constructor(client) {
839
+ this.l3r_1 = client;
840
+ this.m3r_1 = new State();
841
+ }
842
+ *p3r(addresses, $completion) {
843
+ yield* this.m3r_1.e3r(addresses, $completion);
844
+ return Unit_instance;
845
+ }
846
+ *q3r(address, $completion) {
847
+ yield* this.m3r_1.e3r(listOf(address), $completion);
848
+ return Unit_instance;
849
+ }
850
+ *c3r(address, $completion) {
851
+ return yield* this.m3r_1.c3r(address, $completion);
852
+ }
853
+ *r3r(address, $completion) {
854
+ yield* this.m3r_1.f3r(address, $completion);
855
+ return Unit_instance;
856
+ }
857
+ *s3r($completion) {
858
+ return yield* this.l3r_1.u3p(yield* this.m3r_1.d3r($completion), $completion);
859
+ }
860
+ g3r() {
861
+ return this.m3r_1.g3r();
862
+ }
863
+ v3p() {
864
+ // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
865
+ var this_0 = this.g3r();
866
+ return transformLatest(this_0, AttoAccountMonitor$accountStream$slambda(this));
867
+ }
868
+ t3r(minAmount) {
869
+ // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
870
+ var this_0 = this.g3r();
871
+ return transformLatest(this_0, AttoAccountMonitor$receivableStream$slambda(this, minAmount));
872
+ }
873
+ }
874
+ class Message {
875
+ constructor(value, acknowledge) {
876
+ this.u3r_1 = value;
877
+ this.v3r_1 = acknowledge;
878
+ }
879
+ *w3r($completion) {
880
+ yield* this.v3r_1($completion);
881
+ return Unit_instance;
882
+ }
883
+ }
884
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_1 {
885
+ constructor(function_0) {
886
+ this.x3r_1 = function_0;
887
+ }
888
+ *e39(value, $completion) {
889
+ return yield* this.x3r_1(value, $completion);
890
+ }
891
+ b5() {
892
+ return this.x3r_1;
893
+ }
894
+ equals(other) {
895
+ var tmp;
896
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
897
+ var tmp_0;
898
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
899
+ tmp_0 = equals(this.b5(), other.b5());
900
+ } else {
901
+ tmp_0 = false;
902
+ }
903
+ tmp = tmp_0;
904
+ } else {
905
+ tmp = false;
906
+ }
907
+ return tmp;
908
+ }
909
+ hashCode() {
910
+ return hashCode(this.b5());
911
+ }
912
+ }
913
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_2 {
914
+ constructor(function_0) {
915
+ this.y3r_1 = function_0;
916
+ }
917
+ *e39(value, $completion) {
918
+ return yield* this.y3r_1(value, $completion);
919
+ }
920
+ b5() {
921
+ return this.y3r_1;
922
+ }
923
+ equals(other) {
924
+ var tmp;
925
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
926
+ var tmp_0;
927
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
928
+ tmp_0 = equals(this.b5(), other.b5());
929
+ } else {
930
+ tmp_0 = false;
931
+ }
932
+ tmp = tmp_0;
933
+ } else {
934
+ tmp = false;
935
+ }
936
+ return tmp;
937
+ }
938
+ hashCode() {
939
+ return hashCode(this.b5());
940
+ }
941
+ }
942
+ class AttoHeightMonitor$stream$$inlined$map$1 {
943
+ constructor($this, this$0) {
944
+ this.z3r_1 = $this;
945
+ this.a3s_1 = this$0;
946
+ }
947
+ *d39(collector, $completion) {
948
+ var tmp = AttoHeightMonitor$stream$o$collect$slambda(collector, this.a3s_1);
949
+ yield* this.z3r_1.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp), $completion);
950
+ return Unit_instance;
951
+ }
952
+ x38(collector, $completion) {
953
+ return this.d39(collector, $completion);
954
+ }
955
+ }
956
+ class AttoHeightMonitor$retryingStream$1$$inlined$filter$1 {
957
+ constructor($this, $addresses) {
958
+ this.b3s_1 = $this;
959
+ this.c3s_1 = $addresses;
960
+ }
961
+ *d39(collector, $completion) {
962
+ var tmp = AttoHeightMonitor$retryingStream$slambda$o$collect$slambda(collector, this.c3s_1);
963
+ yield* this.b3s_1.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp), $completion);
964
+ return Unit_instance;
965
+ }
966
+ x38(collector, $completion) {
967
+ return this.d39(collector, $completion);
968
+ }
969
+ }
970
+ class AttoTransactionMonitor extends AttoHeightMonitor {
971
+ constructor(nodeClient, accountMonitor, heightProvider) {
972
+ var tmp;
973
+ if (heightProvider === VOID) {
974
+ tmp = AttoTransactionMonitor$_init_$slambda_7tohwe();
975
+ } else {
976
+ tmp = heightProvider;
977
+ }
978
+ heightProvider = tmp;
979
+ super(accountMonitor, heightProvider);
980
+ this.h3s_1 = nodeClient;
981
+ }
982
+ t3q(search) {
983
+ return this.h3s_1.j3q(search);
984
+ }
985
+ }
986
+ class AttoAccountEntryMonitorAsyncBuilder {
987
+ constructor(nodeClient, accountMonitor) {
988
+ this.i3s_1 = nodeClient;
989
+ this.j3s_1 = accountMonitor;
990
+ var tmp = this;
991
+ tmp.k3s_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda();
992
+ }
993
+ heightProvider(value) {
994
+ // Inline function 'kotlin.apply' call
995
+ var tmp = this;
996
+ tmp.k3s_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_0(value);
997
+ return this;
998
+ }
999
+ build() {
1000
+ var accountEntryMonitor = new AttoAccountEntryMonitor(this.i3s_1.client, this.j3s_1.accountMonitor, this.k3s_1);
1001
+ return new AttoAccountEntryMonitorAsync(accountEntryMonitor, Dispatchers_getInstance().q32_1);
1002
+ }
1003
+ }
1004
+ class AttoTransactionMonitorAsyncBuilder {
1005
+ constructor(nodeClient, accountMonitor) {
1006
+ this.n3s_1 = nodeClient;
1007
+ this.o3s_1 = accountMonitor;
1008
+ var tmp = this;
1009
+ tmp.p3s_1 = AttoTransactionMonitorAsyncBuilder$heightProvider$slambda();
1010
+ }
1011
+ heightProvider(value) {
1012
+ // Inline function 'kotlin.apply' call
1013
+ var tmp = this;
1014
+ tmp.p3s_1 = AttoTransactionMonitorAsyncBuilder$heightProvider$slambda_0(value);
1015
+ return this;
1016
+ }
1017
+ build() {
1018
+ var transactionMonitor = new AttoTransactionMonitor(this.n3s_1.client, this.o3s_1.accountMonitor, this.p3s_1);
1019
+ return new AttoTransactionMonitorAsync(transactionMonitor, Dispatchers_getInstance().q32_1);
1020
+ }
1021
+ }
1022
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_3 {
1023
+ constructor(function_0) {
1024
+ this.q3s_1 = function_0;
1025
+ }
1026
+ *e39(value, $completion) {
1027
+ return yield* this.q3s_1(value, $completion);
1028
+ }
1029
+ b5() {
1030
+ return this.q3s_1;
1031
+ }
1032
+ equals(other) {
1033
+ var tmp;
1034
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1035
+ var tmp_0;
1036
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1037
+ tmp_0 = equals(this.b5(), other.b5());
1038
+ } else {
1039
+ tmp_0 = false;
1040
+ }
1041
+ tmp = tmp_0;
1042
+ } else {
1043
+ tmp = false;
1044
+ }
1045
+ return tmp;
1046
+ }
1047
+ hashCode() {
1048
+ return hashCode(this.b5());
1049
+ }
1050
+ }
1051
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_4 {
1052
+ constructor(function_0) {
1053
+ this.r3s_1 = function_0;
1054
+ }
1055
+ *e39(value, $completion) {
1056
+ return yield* this.r3s_1(value, $completion);
1057
+ }
1058
+ b5() {
1059
+ return this.r3s_1;
1060
+ }
1061
+ equals(other) {
1062
+ var tmp;
1063
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1064
+ var tmp_0;
1065
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1066
+ tmp_0 = equals(this.b5(), other.b5());
1067
+ } else {
1068
+ tmp_0 = false;
1069
+ }
1070
+ tmp = tmp_0;
1071
+ } else {
1072
+ tmp = false;
1073
+ }
1074
+ return tmp;
1075
+ }
1076
+ hashCode() {
1077
+ return hashCode(this.b5());
1078
+ }
1079
+ }
1080
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_5 {
1081
+ constructor(function_0) {
1082
+ this.s3s_1 = function_0;
1083
+ }
1084
+ *e39(value, $completion) {
1085
+ return yield* this.s3s_1(value, $completion);
1086
+ }
1087
+ b5() {
1088
+ return this.s3s_1;
1089
+ }
1090
+ equals(other) {
1091
+ var tmp;
1092
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1093
+ var tmp_0;
1094
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1095
+ tmp_0 = equals(this.b5(), other.b5());
1096
+ } else {
1097
+ tmp_0 = false;
1098
+ }
1099
+ tmp = tmp_0;
1100
+ } else {
1101
+ tmp = false;
1102
+ }
1103
+ return tmp;
1104
+ }
1105
+ hashCode() {
1106
+ return hashCode(this.b5());
1107
+ }
1108
+ }
1109
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_6 {
1110
+ constructor(function_0) {
1111
+ this.t3s_1 = function_0;
1112
+ }
1113
+ *e39(value, $completion) {
1114
+ return yield* this.t3s_1(value, $completion);
1115
+ }
1116
+ b5() {
1117
+ return this.t3s_1;
1118
+ }
1119
+ equals(other) {
1120
+ var tmp;
1121
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1122
+ var tmp_0;
1123
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1124
+ tmp_0 = equals(this.b5(), other.b5());
1125
+ } else {
1126
+ tmp_0 = false;
1127
+ }
1128
+ tmp = tmp_0;
1129
+ } else {
1130
+ tmp = false;
1131
+ }
1132
+ return tmp;
1133
+ }
1134
+ hashCode() {
1135
+ return hashCode(this.b5());
1136
+ }
1137
+ }
1138
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_7 {
1139
+ constructor(function_0) {
1140
+ this.u3s_1 = function_0;
1141
+ }
1142
+ *e39(value, $completion) {
1143
+ return yield* this.u3s_1(value, $completion);
1144
+ }
1145
+ b5() {
1146
+ return this.u3s_1;
1147
+ }
1148
+ equals(other) {
1149
+ var tmp;
1150
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1151
+ var tmp_0;
1152
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1153
+ tmp_0 = equals(this.b5(), other.b5());
1154
+ } else {
1155
+ tmp_0 = false;
1156
+ }
1157
+ tmp = tmp_0;
1158
+ } else {
1159
+ tmp = false;
1160
+ }
1161
+ return tmp;
1162
+ }
1163
+ hashCode() {
1164
+ return hashCode(this.b5());
1165
+ }
1166
+ }
1167
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_8 {
1168
+ constructor(function_0) {
1169
+ this.v3s_1 = function_0;
1170
+ }
1171
+ *e39(value, $completion) {
1172
+ return yield* this.v3s_1(value, $completion);
1173
+ }
1174
+ b5() {
1175
+ return this.v3s_1;
1176
+ }
1177
+ equals(other) {
1178
+ var tmp;
1179
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1180
+ var tmp_0;
1181
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1182
+ tmp_0 = equals(this.b5(), other.b5());
1183
+ } else {
1184
+ tmp_0 = false;
1185
+ }
1186
+ tmp = tmp_0;
1187
+ } else {
1188
+ tmp = false;
1189
+ }
1190
+ return tmp;
1191
+ }
1192
+ hashCode() {
1193
+ return hashCode(this.b5());
1194
+ }
1195
+ }
1196
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_9 {
1197
+ constructor(function_0) {
1198
+ this.w3s_1 = function_0;
1199
+ }
1200
+ *e39(value, $completion) {
1201
+ return yield* this.w3s_1(value, $completion);
1202
+ }
1203
+ b5() {
1204
+ return this.w3s_1;
1205
+ }
1206
+ equals(other) {
1207
+ var tmp;
1208
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1209
+ var tmp_0;
1210
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1211
+ tmp_0 = equals(this.b5(), other.b5());
1212
+ } else {
1213
+ tmp_0 = false;
1214
+ }
1215
+ tmp = tmp_0;
1216
+ } else {
1217
+ tmp = false;
1218
+ }
1219
+ return tmp;
1220
+ }
1221
+ hashCode() {
1222
+ return hashCode(this.b5());
1223
+ }
1224
+ }
1225
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_10 {
1226
+ constructor(function_0) {
1227
+ this.x3s_1 = function_0;
1228
+ }
1229
+ *e39(value, $completion) {
1230
+ return yield* this.x3s_1(value, $completion);
1231
+ }
1232
+ b5() {
1233
+ return this.x3s_1;
1234
+ }
1235
+ equals(other) {
1236
+ var tmp;
1237
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1238
+ var tmp_0;
1239
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1240
+ tmp_0 = equals(this.b5(), other.b5());
1241
+ } else {
1242
+ tmp_0 = false;
1243
+ }
1244
+ tmp = tmp_0;
1245
+ } else {
1246
+ tmp = false;
1247
+ }
1248
+ return tmp;
1249
+ }
1250
+ hashCode() {
1251
+ return hashCode(this.b5());
1252
+ }
1253
+ }
1254
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_11 {
1255
+ constructor(function_0) {
1256
+ this.y3s_1 = function_0;
1257
+ }
1258
+ *e39(value, $completion) {
1259
+ return yield* this.y3s_1(value, $completion);
1260
+ }
1261
+ b5() {
1262
+ return this.y3s_1;
1263
+ }
1264
+ equals(other) {
1265
+ var tmp;
1266
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1267
+ var tmp_0;
1268
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1269
+ tmp_0 = equals(this.b5(), other.b5());
1270
+ } else {
1271
+ tmp_0 = false;
1272
+ }
1273
+ tmp = tmp_0;
1274
+ } else {
1275
+ tmp = false;
1276
+ }
1277
+ return tmp;
1278
+ }
1279
+ hashCode() {
1280
+ return hashCode(this.b5());
1281
+ }
1282
+ }
1283
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_12 {
1284
+ constructor(function_0) {
1285
+ this.z3s_1 = function_0;
1286
+ }
1287
+ *e39(value, $completion) {
1288
+ return yield* this.z3s_1(value, $completion);
1289
+ }
1290
+ b5() {
1291
+ return this.z3s_1;
1292
+ }
1293
+ equals(other) {
1294
+ var tmp;
1295
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1296
+ var tmp_0;
1297
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1298
+ tmp_0 = equals(this.b5(), other.b5());
1299
+ } else {
1300
+ tmp_0 = false;
1301
+ }
1302
+ tmp = tmp_0;
1303
+ } else {
1304
+ tmp = false;
1305
+ }
1306
+ return tmp;
1307
+ }
1308
+ hashCode() {
1309
+ return hashCode(this.b5());
1310
+ }
1311
+ }
1312
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_13 {
1313
+ constructor(function_0) {
1314
+ this.a3t_1 = function_0;
1315
+ }
1316
+ *e39(value, $completion) {
1317
+ return yield* this.a3t_1(value, $completion);
1318
+ }
1319
+ b5() {
1320
+ return this.a3t_1;
1321
+ }
1322
+ equals(other) {
1323
+ var tmp;
1324
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1325
+ var tmp_0;
1326
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1327
+ tmp_0 = equals(this.b5(), other.b5());
1328
+ } else {
1329
+ tmp_0 = false;
1330
+ }
1331
+ tmp = tmp_0;
1332
+ } else {
1333
+ tmp = false;
1334
+ }
1335
+ return tmp;
1336
+ }
1337
+ hashCode() {
1338
+ return hashCode(this.b5());
1339
+ }
1340
+ }
1341
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_14 {
1342
+ constructor(function_0) {
1343
+ this.b3t_1 = function_0;
1344
+ }
1345
+ *e39(value, $completion) {
1346
+ return yield* this.b3t_1(value, $completion);
1347
+ }
1348
+ b5() {
1349
+ return this.b3t_1;
1350
+ }
1351
+ equals(other) {
1352
+ var tmp;
1353
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1354
+ var tmp_0;
1355
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1356
+ tmp_0 = equals(this.b5(), other.b5());
1357
+ } else {
1358
+ tmp_0 = false;
1359
+ }
1360
+ tmp = tmp_0;
1361
+ } else {
1362
+ tmp = false;
1363
+ }
1364
+ return tmp;
1365
+ }
1366
+ hashCode() {
1367
+ return hashCode(this.b5());
1368
+ }
1369
+ }
1370
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_15 {
1371
+ constructor(function_0) {
1372
+ this.c3t_1 = function_0;
1373
+ }
1374
+ *e39(value, $completion) {
1375
+ return yield* this.c3t_1(value, $completion);
1376
+ }
1377
+ b5() {
1378
+ return this.c3t_1;
1379
+ }
1380
+ equals(other) {
1381
+ var tmp;
1382
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1383
+ var tmp_0;
1384
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1385
+ tmp_0 = equals(this.b5(), other.b5());
1386
+ } else {
1387
+ tmp_0 = false;
1388
+ }
1389
+ tmp = tmp_0;
1390
+ } else {
1391
+ tmp = false;
1392
+ }
1393
+ return tmp;
1394
+ }
1395
+ hashCode() {
1396
+ return hashCode(this.b5());
1397
+ }
1398
+ }
1399
+ class AttoNodeClientAsync {
1400
+ constructor(client, dispatcher) {
1401
+ this.client = client;
1402
+ this.l3s_1 = CoroutineScope(dispatcher.xl(SupervisorJob()));
1403
+ }
1404
+ d3t() {
1405
+ return this.client;
1406
+ }
1407
+ *t3p(publicKey, $completion) {
1408
+ return yield* this.client.t3p(publicKey, $completion);
1409
+ }
1410
+ accountByPublicKey(publicKey) {
1411
+ return promisify(($completion) => this.t3p(publicKey, $completion));
1412
+ }
1413
+ *e3t(publicKey, $completion) {
1414
+ return this.accountByPublicKey === protoOf(AttoNodeClientAsync).accountByPublicKey ? (yield* this.t3p(publicKey, $completion)) : (yield* await_0(this.accountByPublicKey(publicKey), $completion));
1415
+ }
1416
+ *f3t(addresses, $completion) {
1417
+ // Inline function 'kotlin.collections.toTypedArray' call
1418
+ var this_0 = yield* this.client.u3p(toList(addresses), $completion);
1419
+ return copyToArray(this_0);
1420
+ }
1421
+ accountByAddresses(addresses) {
1422
+ return promisify(($completion) => this.f3t(addresses, $completion));
1423
+ }
1424
+ *g3t(addresses, $completion) {
1425
+ return this.accountByAddresses === protoOf(AttoNodeClientAsync).accountByAddresses ? (yield* this.f3t(addresses, $completion)) : (yield* await_0(this.accountByAddresses(addresses), $completion));
1426
+ }
1427
+ onAccountAll(onAccount, onCancel) {
1428
+ var tmp2 = this.l3s_1;
1429
+ var tmp4 = this.client.v3p();
1430
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1431
+ var onCancel_0 = AttoNodeClientAsync$onAccount$lambda(onCancel);
1432
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccount$slambda(tmp4, onCancel_0, onAccount)));
1433
+ }
1434
+ onAccountByPublicKey(publicKey, onAccount, onCancel) {
1435
+ var tmp2 = this.l3s_1;
1436
+ var tmp4 = this.client.w3p(publicKey);
1437
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1438
+ var onCancel_0 = AttoNodeClientAsync$onAccount$lambda_0(onCancel);
1439
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccount$slambda_0(tmp4, onCancel_0, onAccount)));
1440
+ }
1441
+ onAccountByAddresses(addresses, onAccount, onCancel) {
1442
+ var tmp2 = this.l3s_1;
1443
+ var tmp4 = this.client.x3p(toList(addresses));
1444
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1445
+ var onCancel_0 = AttoNodeClientAsync$onAccount$lambda_1(onCancel);
1446
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccount$slambda_1(tmp4, onCancel_0, onAccount)));
1447
+ }
1448
+ h3t(publicKey, minAmount, onReceivable, onCancel) {
1449
+ var tmp2 = this.l3s_1;
1450
+ var tmp4 = this.client.y3p(publicKey, minAmount);
1451
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1452
+ var onCancel_0 = AttoNodeClientAsync$onReceivable$lambda(onCancel);
1453
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onReceivable$slambda(tmp4, onCancel_0, onReceivable)));
1454
+ }
1455
+ onReceivableByPublicKey(publicKey, minAmount, onReceivable, onCancel, $super) {
1456
+ minAmount = minAmount === VOID ? new AttoAmount(_ULong___init__impl__c78o9k(1n)) : minAmount;
1457
+ return $super === VOID ? this.h3t(publicKey, minAmount, onReceivable, onCancel) : $super.h3t.call(this, publicKey, minAmount, onReceivable, onCancel);
1458
+ }
1459
+ i3t(addresses, minAmount, onReceivable, onCancel) {
1460
+ var tmp2 = this.l3s_1;
1461
+ var tmp4 = this.client.z3p(toList(addresses), minAmount);
1462
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1463
+ var onCancel_0 = AttoNodeClientAsync$onReceivable$lambda_0(onCancel);
1464
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onReceivable$slambda_0(tmp4, onCancel_0, onReceivable)));
1465
+ }
1466
+ onReceivableByAddresses(addresses, minAmount, onReceivable, onCancel, $super) {
1467
+ minAmount = minAmount === VOID ? new AttoAmount(_ULong___init__impl__c78o9k(1n)) : minAmount;
1468
+ return $super === VOID ? this.i3t(addresses, minAmount, onReceivable, onCancel) : $super.i3t.call(this, addresses, minAmount, onReceivable, onCancel);
1469
+ }
1470
+ *a3q(hash, $completion) {
1471
+ return yield* this.client.a3q(hash, $completion);
1472
+ }
1473
+ accountEntry(hash) {
1474
+ return promisify(($completion) => this.a3q(hash, $completion));
1475
+ }
1476
+ *j3t(hash, $completion) {
1477
+ return this.accountEntry === protoOf(AttoNodeClientAsync).accountEntry ? (yield* this.a3q(hash, $completion)) : (yield* await_0(this.accountEntry(hash), $completion));
1478
+ }
1479
+ onAccountEntryAll(onAccountEntry, onCancel) {
1480
+ var tmp2 = this.l3s_1;
1481
+ var tmp4 = this.client.b3q();
1482
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1483
+ var onCancel_0 = AttoNodeClientAsync$onAccountEntry$lambda(onCancel);
1484
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda(tmp4, onCancel_0, onAccountEntry)));
1485
+ }
1486
+ onAccountEntryByHash(hash, onAccountEntry, onCancel) {
1487
+ var tmp2 = this.l3s_1;
1488
+ var tmp4 = this.client.c3q(hash);
1489
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1490
+ var onCancel_0 = AttoNodeClientAsync$onAccountEntry$lambda_0(onCancel);
1491
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_0(tmp4, onCancel_0, onAccountEntry)));
1492
+ }
1493
+ k3t(publicKey, fromHeight, toHeight, onAccountEntry, onCancel) {
1494
+ var tmp2 = this.l3s_1;
1495
+ var tmp4 = this.client.d3q(publicKey, fromHeight, toHeight);
1496
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1497
+ var onCancel_0 = AttoNodeClientAsync$onAccountEntry$lambda_1(onCancel);
1498
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_1(tmp4, onCancel_0, onAccountEntry)));
1499
+ }
1500
+ onAccountEntryByPublicKey(publicKey, fromHeight, toHeight, onAccountEntry, onCancel, $super) {
1501
+ fromHeight = fromHeight === VOID ? new AttoHeight(_ULong___init__impl__c78o9k(1n)) : fromHeight;
1502
+ toHeight = toHeight === VOID ? null : toHeight;
1503
+ return $super === VOID ? this.k3t(publicKey, fromHeight, toHeight, onAccountEntry, onCancel) : $super.k3t.call(this, publicKey, fromHeight, toHeight, onAccountEntry, onCancel);
1504
+ }
1505
+ onAccountEntryByHeightSearch(heightSearch, onAccountEntry, onCancel) {
1506
+ var tmp2 = this.l3s_1;
1507
+ var tmp4 = this.client.e3q(heightSearch);
1508
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1509
+ var onCancel_0 = AttoNodeClientAsync$onAccountEntry$lambda_2(onCancel);
1510
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_2(tmp4, onCancel_0, onAccountEntry)));
1511
+ }
1512
+ *f3q(hash, $completion) {
1513
+ return yield* this.client.f3q(hash, $completion);
1514
+ }
1515
+ transaction(hash) {
1516
+ return promisify(($completion) => this.f3q(hash, $completion));
1517
+ }
1518
+ *l3t(hash, $completion) {
1519
+ return this.transaction === protoOf(AttoNodeClientAsync).transaction ? (yield* this.f3q(hash, $completion)) : (yield* await_0(this.transaction(hash), $completion));
1520
+ }
1521
+ onTransactionAll(onTransaction, onCancel) {
1522
+ var tmp2 = this.l3s_1;
1523
+ var tmp4 = this.client.g3q();
1524
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1525
+ var onCancel_0 = AttoNodeClientAsync$onTransaction$lambda(onCancel);
1526
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda(tmp4, onCancel_0, onTransaction)));
1527
+ }
1528
+ onTransactionByHash(hash, onTransaction, onCancel) {
1529
+ var tmp2 = this.l3s_1;
1530
+ var tmp4 = this.client.h3q(hash);
1531
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1532
+ var onCancel_0 = AttoNodeClientAsync$onTransaction$lambda_0(onCancel);
1533
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_0(tmp4, onCancel_0, onTransaction)));
1534
+ }
1535
+ m3t(publicKey, fromHeight, toHeight, onTransaction, onCancel) {
1536
+ var tmp2 = this.l3s_1;
1537
+ var tmp4 = this.client.i3q(publicKey, fromHeight, toHeight);
1538
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1539
+ var onCancel_0 = AttoNodeClientAsync$onTransaction$lambda_1(onCancel);
1540
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_1(tmp4, onCancel_0, onTransaction)));
1541
+ }
1542
+ onTransactionByPublicKey(publicKey, fromHeight, toHeight, onTransaction, onCancel, $super) {
1543
+ fromHeight = fromHeight === VOID ? new AttoHeight(_ULong___init__impl__c78o9k(1n)) : fromHeight;
1544
+ toHeight = toHeight === VOID ? null : toHeight;
1545
+ return $super === VOID ? this.m3t(publicKey, fromHeight, toHeight, onTransaction, onCancel) : $super.m3t.call(this, publicKey, fromHeight, toHeight, onTransaction, onCancel);
1546
+ }
1547
+ onTransactionByHeightSearch(heightSearch, onTransaction, onCancel) {
1548
+ var tmp2 = this.l3s_1;
1549
+ var tmp4 = this.client.j3q(heightSearch);
1550
+ // Inline function 'cash.atto.commons.node.AttoNodeClientAsync.invokeStream' call
1551
+ var onCancel_0 = AttoNodeClientAsync$onTransaction$lambda_2(onCancel);
1552
+ return toAttoJob(launch(tmp2, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_2(tmp4, onCancel_0, onTransaction)));
1553
+ }
1554
+ *l3q($completion) {
1555
+ return yield* this.client.l3q($completion);
1556
+ }
1557
+ now() {
1558
+ return promisify(($completion) => this.l3q($completion));
1559
+ }
1560
+ *n3t($completion) {
1561
+ return this.now === protoOf(AttoNodeClientAsync).now ? (yield* this.l3q($completion)) : (yield* await_0(this.now(), $completion));
1562
+ }
1563
+ *m3q(transaction, $completion) {
1564
+ return yield* this.client.m3q(transaction, $completion);
1565
+ }
1566
+ publish(transaction) {
1567
+ return promisify(($completion) => this.m3q(transaction, $completion));
1568
+ }
1569
+ *o3t(transaction, $completion) {
1570
+ if (this.publish === protoOf(AttoNodeClientAsync).publish)
1571
+ yield* this.m3q(transaction, $completion);
1572
+ else
1573
+ yield* await_0(this.publish(transaction), $completion);
1574
+ return Unit_instance;
1575
+ }
1576
+ *n3q(address, $completion) {
1577
+ return yield* this.client.n3q(address, $completion);
1578
+ }
1579
+ voterWeight(address) {
1580
+ return promisify(($completion) => this.n3q(address, $completion));
1581
+ }
1582
+ *p3t(address, $completion) {
1583
+ return this.voterWeight === protoOf(AttoNodeClientAsync).voterWeight ? (yield* this.n3q(address, $completion)) : (yield* await_0(this.voterWeight(address), $completion));
1584
+ }
1585
+ q6() {
1586
+ cancel(this.l3s_1);
1587
+ }
1588
+ }
1589
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_16 {
1590
+ constructor(function_0) {
1591
+ this.q3t_1 = function_0;
1592
+ }
1593
+ *e39(value, $completion) {
1594
+ return yield* this.q3t_1(value, $completion);
1595
+ }
1596
+ b5() {
1597
+ return this.q3t_1;
1598
+ }
1599
+ equals(other) {
1600
+ var tmp;
1601
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1602
+ var tmp_0;
1603
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1604
+ tmp_0 = equals(this.b5(), other.b5());
1605
+ } else {
1606
+ tmp_0 = false;
1607
+ }
1608
+ tmp = tmp_0;
1609
+ } else {
1610
+ tmp = false;
1611
+ }
1612
+ return tmp;
1613
+ }
1614
+ hashCode() {
1615
+ return hashCode(this.b5());
1616
+ }
1617
+ }
1618
+ class AttoAccountEntryMonitorAsync {
1619
+ constructor(accountEntryMonitor, dispatcher) {
1620
+ this.accountEntryMonitor = accountEntryMonitor;
1621
+ this.r3t_1 = CoroutineScope(dispatcher.xl(SupervisorJob()));
1622
+ }
1623
+ s3t() {
1624
+ return this.accountEntryMonitor;
1625
+ }
1626
+ onAccountEntry(onAccountEntry, onCancel) {
1627
+ var tmp0 = this.r3t_1;
1628
+ var tmp2 = this.accountEntryMonitor.y3q();
1629
+ // Inline function 'cash.atto.commons.node.consumeStream' call
1630
+ var onCancel_0 = AttoAccountEntryMonitorAsync$onAccountEntry$slambda(onCancel);
1631
+ return toAttoJob(launch(tmp0, VOID, VOID, AttoAccountEntryMonitorAsync$onAccountEntry$slambda_0(tmp2, onCancel_0, onAccountEntry)));
1632
+ }
1633
+ q6() {
1634
+ cancel(this.r3t_1);
1635
+ }
1636
+ }
1637
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_17 {
1638
+ constructor(function_0) {
1639
+ this.t3t_1 = function_0;
1640
+ }
1641
+ *e39(value, $completion) {
1642
+ return yield* this.t3t_1(value, $completion);
1643
+ }
1644
+ b5() {
1645
+ return this.t3t_1;
1646
+ }
1647
+ equals(other) {
1648
+ var tmp;
1649
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1650
+ var tmp_0;
1651
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1652
+ tmp_0 = equals(this.b5(), other.b5());
1653
+ } else {
1654
+ tmp_0 = false;
1655
+ }
1656
+ tmp = tmp_0;
1657
+ } else {
1658
+ tmp = false;
1659
+ }
1660
+ return tmp;
1661
+ }
1662
+ hashCode() {
1663
+ return hashCode(this.b5());
1664
+ }
1665
+ }
1666
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_18 {
1667
+ constructor(function_0) {
1668
+ this.u3t_1 = function_0;
1669
+ }
1670
+ *e39(value, $completion) {
1671
+ return yield* this.u3t_1(value, $completion);
1672
+ }
1673
+ b5() {
1674
+ return this.u3t_1;
1675
+ }
1676
+ equals(other) {
1677
+ var tmp;
1678
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1679
+ var tmp_0;
1680
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1681
+ tmp_0 = equals(this.b5(), other.b5());
1682
+ } else {
1683
+ tmp_0 = false;
1684
+ }
1685
+ tmp = tmp_0;
1686
+ } else {
1687
+ tmp = false;
1688
+ }
1689
+ return tmp;
1690
+ }
1691
+ hashCode() {
1692
+ return hashCode(this.b5());
1693
+ }
1694
+ }
1695
+ class AttoAccountMonitorAsync {
1696
+ constructor(accountMonitor, dispatcher) {
1697
+ this.accountMonitor = accountMonitor;
1698
+ this.m3s_1 = CoroutineScope(dispatcher.xl(SupervisorJob()));
1699
+ }
1700
+ v3t() {
1701
+ return this.accountMonitor;
1702
+ }
1703
+ *w3t(addresses, $completion) {
1704
+ return yield* this.accountMonitor.p3r(toList(addresses), $completion);
1705
+ }
1706
+ monitorAddressArray(addresses) {
1707
+ return promisify(($completion) => this.w3t(addresses, $completion));
1708
+ }
1709
+ *x3t(addresses, $completion) {
1710
+ if (this.monitorAddressArray === protoOf(AttoAccountMonitorAsync).monitorAddressArray)
1711
+ yield* this.w3t(addresses, $completion);
1712
+ else
1713
+ yield* await_0(this.monitorAddressArray(addresses), $completion);
1714
+ return Unit_instance;
1715
+ }
1716
+ *q3r(address, $completion) {
1717
+ return yield* this.accountMonitor.q3r(address, $completion);
1718
+ }
1719
+ monitorAddress(address) {
1720
+ return promisify(($completion) => this.q3r(address, $completion));
1721
+ }
1722
+ *y3t(address, $completion) {
1723
+ if (this.monitorAddress === protoOf(AttoAccountMonitorAsync).monitorAddress)
1724
+ yield* this.q3r(address, $completion);
1725
+ else
1726
+ yield* await_0(this.monitorAddress(address), $completion);
1727
+ return Unit_instance;
1728
+ }
1729
+ *z3t($completion) {
1730
+ // Inline function 'kotlin.collections.toTypedArray' call
1731
+ var this_0 = yield* this.accountMonitor.s3r($completion);
1732
+ return copyToArray(this_0);
1733
+ }
1734
+ getAccounts() {
1735
+ return promisify(($completion) => this.z3t($completion));
1736
+ }
1737
+ *a3u($completion) {
1738
+ return this.getAccounts === protoOf(AttoAccountMonitorAsync).getAccounts ? (yield* this.z3t($completion)) : (yield* await_0(this.getAccounts(), $completion));
1739
+ }
1740
+ onAccount(onAccount, onCancel) {
1741
+ var tmp0 = this.m3s_1;
1742
+ var tmp2 = this.accountMonitor.v3p();
1743
+ // Inline function 'cash.atto.commons.node.consumeStream' call
1744
+ var onCancel_0 = AttoAccountMonitorAsync$onAccount$slambda(onCancel);
1745
+ return toAttoJob(launch(tmp0, VOID, VOID, AttoAccountMonitorAsync$onAccount$slambda_0(tmp2, onCancel_0, onAccount)));
1746
+ }
1747
+ b3u(minAmount, onReceivable, onCancel) {
1748
+ var tmp0 = this.m3s_1;
1749
+ var tmp2 = this.accountMonitor.t3r(minAmount);
1750
+ // Inline function 'cash.atto.commons.node.consumeStream' call
1751
+ var onCancel_0 = AttoAccountMonitorAsync$onReceivable$slambda(onCancel);
1752
+ return toAttoJob(launch(tmp0, VOID, VOID, AttoAccountMonitorAsync$onReceivable$slambda_0(tmp2, onCancel_0, onReceivable)));
1753
+ }
1754
+ onReceivable(minAmount, onReceivable, onCancel, $super) {
1755
+ minAmount = minAmount === VOID ? Companion_getInstance_5().z2g_1 : minAmount;
1756
+ return $super === VOID ? this.b3u(minAmount, onReceivable, onCancel) : $super.b3u.call(this, minAmount, onReceivable, onCancel);
1757
+ }
1758
+ q6() {
1759
+ cancel(this.m3s_1);
1760
+ }
1761
+ }
1762
+ class AttoAccountMonitorAsyncBuilder {
1763
+ constructor(nodeClient) {
1764
+ this.c3u_1 = nodeClient;
1765
+ }
1766
+ build() {
1767
+ var monitor = createAccountMonitor(this.c3u_1.client);
1768
+ return new AttoAccountMonitorAsync(monitor, Dispatchers_getInstance().q32_1);
1769
+ }
1770
+ }
1771
+ class sam$kotlinx_coroutines_flow_FlowCollector$0_19 {
1772
+ constructor(function_0) {
1773
+ this.d3u_1 = function_0;
1774
+ }
1775
+ *e39(value, $completion) {
1776
+ return yield* this.d3u_1(value, $completion);
1777
+ }
1778
+ b5() {
1779
+ return this.d3u_1;
1780
+ }
1781
+ equals(other) {
1782
+ var tmp;
1783
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1784
+ var tmp_0;
1785
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1786
+ tmp_0 = equals(this.b5(), other.b5());
1787
+ } else {
1788
+ tmp_0 = false;
1789
+ }
1790
+ tmp = tmp_0;
1791
+ } else {
1792
+ tmp = false;
1793
+ }
1794
+ return tmp;
1795
+ }
1796
+ hashCode() {
1797
+ return hashCode(this.b5());
1798
+ }
1799
+ }
1800
+ class AttoTransactionMonitorAsync {
1801
+ constructor(transactionMonitor, dispatcher) {
1802
+ this.transactionMonitor = transactionMonitor;
1803
+ this.e3u_1 = CoroutineScope(dispatcher.xl(SupervisorJob()));
1804
+ }
1805
+ f3u() {
1806
+ return this.transactionMonitor;
1807
+ }
1808
+ onTransaction(onTransaction, onCancel) {
1809
+ var tmp0 = this.e3u_1;
1810
+ var tmp2 = this.transactionMonitor.y3q();
1811
+ // Inline function 'cash.atto.commons.node.consumeStream' call
1812
+ var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$slambda(onCancel);
1813
+ return toAttoJob(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$slambda_0(tmp2, onCancel_0, onTransaction)));
1814
+ }
1815
+ q6() {
1816
+ cancel(this.e3u_1);
1817
+ }
1818
+ }
1819
+ //endregion
1820
+ var Companion_instance_2;
1821
+ function Companion_getInstance_6() {
1822
+ return Companion_instance_2;
1823
+ }
1824
+ var Companion_instance_3;
1825
+ function Companion_getInstance_7() {
1826
+ return Companion_instance_3;
1827
+ }
1828
+ var $serializer_instance;
1829
+ function $serializer_getInstance() {
1830
+ if ($serializer_instance === VOID)
1831
+ new $serializer();
1832
+ return $serializer_instance;
1833
+ }
1834
+ function AccountSearch$Companion$$childSerializers$_anonymous__5n1423() {
1835
+ return new ArrayListSerializer(AttoAddressAsStringSerializer_getInstance());
1836
+ }
1837
+ var Companion_instance_4;
1838
+ function Companion_getInstance_8() {
1839
+ if (Companion_instance_4 === VOID)
1840
+ new Companion_1();
1841
+ return Companion_instance_4;
1842
+ }
1843
+ var $serializer_instance_0;
1844
+ function $serializer_getInstance_0() {
1845
+ if ($serializer_instance_0 === VOID)
1846
+ new $serializer_0();
1847
+ return $serializer_instance_0;
1848
+ }
1849
+ var Companion_instance_5;
1850
+ function Companion_getInstance_9() {
1851
+ return Companion_instance_5;
1852
+ }
1853
+ var $serializer_instance_1;
1854
+ function $serializer_getInstance_1() {
1855
+ if ($serializer_instance_1 === VOID)
1856
+ new $serializer_1();
1857
+ return $serializer_instance_1;
1858
+ }
1859
+ function HeightSearch$Companion$$childSerializers$_anonymous__5pm92z() {
1860
+ return new ArrayListSerializer($serializer_getInstance_1());
1861
+ }
1862
+ var Companion_instance_6;
1863
+ function Companion_getInstance_10() {
1864
+ if (Companion_instance_6 === VOID)
1865
+ new Companion_3();
1866
+ return Companion_instance_6;
1867
+ }
1868
+ var $serializer_instance_2;
1869
+ function $serializer_getInstance_2() {
1870
+ if ($serializer_instance_2 === VOID)
1871
+ new $serializer_2();
1872
+ return $serializer_instance_2;
1873
+ }
1874
+ function requireMatchingPublish(submitted, accepted) {
1875
+ if (!accepted.hash.equals(submitted.hash)) {
1876
+ throw AttoNodePublishMismatchException.s3p(submitted.hash, accepted.hash);
1877
+ }
1878
+ }
1879
+ function accountToJson(_this__u8e3s4) {
1880
+ return _this__u8e3s4.toJson();
1881
+ }
1882
+ function accountFromJson(_this__u8e3s4) {
1883
+ return Companion_getInstance_1().h2d(_this__u8e3s4);
1884
+ }
1885
+ function receivableToJson(_this__u8e3s4) {
1886
+ return _this__u8e3s4.toJson();
1887
+ }
1888
+ function receivableFromJson(_this__u8e3s4) {
1889
+ return Companion_getInstance_2().h2d(_this__u8e3s4);
1890
+ }
1891
+ function transactionToJson(_this__u8e3s4) {
1892
+ return _this__u8e3s4.toJson();
1893
+ }
1894
+ function transactionFromJson(_this__u8e3s4) {
1895
+ return Companion_getInstance_3().h2d(_this__u8e3s4);
1896
+ }
1897
+ function blockToJson(_this__u8e3s4) {
1898
+ return _this__u8e3s4.toJson();
1899
+ }
1900
+ function blockFromJson(_this__u8e3s4) {
1901
+ return Companion_instance_0.h2d(_this__u8e3s4);
1902
+ }
1903
+ function accountEntryToJson(_this__u8e3s4) {
1904
+ return _this__u8e3s4.toJson();
1905
+ }
1906
+ function accountEntryFromJson(_this__u8e3s4) {
1907
+ return Companion_getInstance_4().h2d(_this__u8e3s4);
1908
+ }
1909
+ function fromByteArrayToTransactionJson(_this__u8e3s4) {
1910
+ return Companion_getInstance_3().p2h(_this__u8e3s4).toJson();
1911
+ }
1912
+ function fromByteArrayToBlockJson(_this__u8e3s4) {
1913
+ return Companion_instance_0.p2h(_this__u8e3s4).toJson();
1914
+ }
1915
+ function toAttoJob(_this__u8e3s4) {
1916
+ var tmp = Companion_instance_1;
1917
+ var tmp_0 = toAttoJob$lambda(_this__u8e3s4);
1918
+ var tmp_1 = toAttoJob$lambda_0(_this__u8e3s4);
1919
+ return tmp.u2l(tmp_0, tmp_1, toAttoJob$slambda(_this__u8e3s4));
1920
+ }
1921
+ function toAttoJob$lambda($this_toAttoJob) {
1922
+ return () => $this_toAttoJob.p2r();
1923
+ }
1924
+ function toAttoJob$lambda_0($this_toAttoJob) {
1925
+ return () => {
1926
+ $this_toAttoJob.z2s();
1927
+ return Unit_instance;
1928
+ };
1929
+ }
1930
+ function toAttoJob$slambda($this_toAttoJob) {
1931
+ return constructCallableReference(function *($completion) {
1932
+ yield* cancelAndJoin($this_toAttoJob, $completion);
1933
+ return Unit_instance;
1934
+ }, 0);
1935
+ }
1936
+ function AttoAccountEntryMonitor$_init_$slambda_eql76t() {
1937
+ return constructCallableReference(function *(it, $completion) {
1938
+ return Companion_getInstance_0().a2i_1;
1939
+ }, 1);
1940
+ }
1941
+ function get_logger() {
1942
+ _init_properties_AttoAccountMonitor_kt__rloq05();
1943
+ return logger;
1944
+ }
1945
+ var logger;
1946
+ function get_RETRY_DELAY() {
1947
+ _init_properties_AttoAccountMonitor_kt__rloq05();
1948
+ return RETRY_DELAY;
1949
+ }
1950
+ var RETRY_DELAY;
1951
+ function AttoAccountMonitor$accountStream$slambda$o$collect$slambda($$this$unsafeFlow, $addresses) {
1952
+ return constructCallableReference(function *(value, $completion) {
1953
+ var tmp0 = $$this$unsafeFlow;
1954
+ $l$block: {
1955
+ if ($addresses.j3(value.address)) {
1956
+ yield* tmp0.e39(value, $completion);
1957
+ break $l$block;
1958
+ }
1959
+ }
1960
+ return Unit_instance;
1961
+ }, 1);
1962
+ }
1963
+ function AttoAccountMonitor$receivableStream$slambda$o$collect$slambda($$this$unsafeFlow, $addresses) {
1964
+ return constructCallableReference(function *(value, $completion) {
1965
+ var tmp0 = $$this$unsafeFlow;
1966
+ $l$block: {
1967
+ if ($addresses.j3(value.receiverAddress)) {
1968
+ yield* tmp0.e39(value, $completion);
1969
+ break $l$block;
1970
+ }
1971
+ }
1972
+ return Unit_instance;
1973
+ }, 1);
1974
+ }
1975
+ function AttoAccountMonitor$accountStream$slambda$slambda$lambda() {
1976
+ return 'Failed to stream accounts. Retrying in ' + Duration__toString_impl_8d916b(get_RETRY_DELAY()) + '...';
1977
+ }
1978
+ function AttoAccountMonitor$accountStream$slambda$slambda() {
1979
+ return constructCallableReference(function *($this$retryWhen, e, _unused_var__etf5q3, $completion) {
1980
+ var tmp = get_logger();
1981
+ tmp.w3n(e, AttoAccountMonitor$accountStream$slambda$slambda$lambda);
1982
+ yield* delay(get_RETRY_DELAY(), $completion);
1983
+ return true;
1984
+ }, 3);
1985
+ }
1986
+ function AttoAccountMonitor$accountStream$slambda(this$0) {
1987
+ return constructCallableReference(function *($this$transformLatest, it, $completion) {
1988
+ var tmp$ret$0;
1989
+ $l$block: {
1990
+ if (it.j1()) {
1991
+ tmp$ret$0 = emptyFlow();
1992
+ break $l$block;
1993
+ }
1994
+ // Inline function 'kotlinx.coroutines.flow.filter' call
1995
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
1996
+ var this_0 = this$0.l3r_1.x3p(it);
1997
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
1998
+ var ownedAccounts = new AttoAccountMonitor$accountStream$$inlined$flatMapLatest$1$1(this_0, it);
1999
+ tmp$ret$0 = retryWhen(ownedAccounts, AttoAccountMonitor$accountStream$slambda$slambda());
2000
+ }
2001
+ yield* emitAll($this$transformLatest, tmp$ret$0, $completion);
2002
+ return Unit_instance;
2003
+ }, 2);
2004
+ }
2005
+ function AttoAccountMonitor$receivableStream$slambda(this$0, $minAmount) {
2006
+ return constructCallableReference(function *($this$transformLatest, it, $completion) {
2007
+ var tmp$ret$0;
2008
+ $l$block: {
2009
+ if (it.j1()) {
2010
+ tmp$ret$0 = emptyFlow();
2011
+ break $l$block;
2012
+ }
2013
+ // Inline function 'kotlinx.coroutines.flow.filter' call
2014
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
2015
+ var this_0 = this$0.l3r_1.z3p(it, $minAmount);
2016
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
2017
+ tmp$ret$0 = new AttoAccountMonitor$receivableStream$$inlined$flatMapLatest$1$1(this_0, it);
2018
+ }
2019
+ yield* emitAll($this$transformLatest, tmp$ret$0, $completion);
2020
+ return Unit_instance;
2021
+ }, 2);
2022
+ }
2023
+ function createAccountMonitor(_this__u8e3s4) {
2024
+ _init_properties_AttoAccountMonitor_kt__rloq05();
2025
+ return new AttoAccountMonitor(_this__u8e3s4);
2026
+ }
2027
+ function logger$lambda() {
2028
+ _init_properties_AttoAccountMonitor_kt__rloq05();
2029
+ return Unit_instance;
2030
+ }
2031
+ var properties_initialized_AttoAccountMonitor_kt_9udrrx;
2032
+ function _init_properties_AttoAccountMonitor_kt__rloq05() {
2033
+ if (!properties_initialized_AttoAccountMonitor_kt_9udrrx) {
2034
+ properties_initialized_AttoAccountMonitor_kt_9udrrx = true;
2035
+ var tmp = KotlinLogging_getInstance();
2036
+ logger = tmp.a3o(logger$lambda);
2037
+ // Inline function 'kotlin.time.Companion.seconds' call
2038
+ Companion_getInstance();
2039
+ RETRY_DELAY = toDuration_0(10, DurationUnit_SECONDS_getInstance());
2040
+ }
2041
+ }
2042
+ function get_logger_0() {
2043
+ _init_properties_AttoHeightMonitor_kt__1d4bd9();
2044
+ return logger_0;
2045
+ }
2046
+ var logger_0;
2047
+ function get_RETRY_DELAY_0() {
2048
+ _init_properties_AttoHeightMonitor_kt__1d4bd9();
2049
+ return RETRY_DELAY_0;
2050
+ }
2051
+ var RETRY_DELAY_0;
2052
+ function AttoHeightMonitor$stream$o$collect$slambda$slambda(this$0, $address, $height) {
2053
+ return constructCallableReference(function *($completion) {
2054
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
2055
+ var this_0 = this$0.w3q_1;
2056
+ yield* this_0.c3h(null, $completion);
2057
+ try {
2058
+ var tmp0 = this$0.x3q_1;
2059
+ var tmp2 = new AttoAddress($address.algorithm, $address.publicKey);
2060
+ // Inline function 'kotlin.collections.set' call
2061
+ var value = $height;
2062
+ tmp0.g4(tmp2, value);
2063
+ }finally {
2064
+ this_0.o3g(null);
2065
+ }
2066
+ return Unit_instance;
2067
+ }, 0);
2068
+ }
2069
+ function AttoHeightMonitor$stream$o$collect$slambda($$this$unsafeFlow, this$0) {
2070
+ return constructCallableReference(function *(value, $completion) {
2071
+ var $this$transform = $$this$unsafeFlow;
2072
+ var address = value.address;
2073
+ var height = value.height;
2074
+ var tmp$ret$1 = new Message(value, AttoHeightMonitor$stream$o$collect$slambda$slambda(this$0, address, height));
2075
+ yield* $this$transform.e39(tmp$ret$1, $completion);
2076
+ return Unit_instance;
2077
+ }, 1);
2078
+ }
2079
+ function AttoHeightMonitor$retryingStream$slambda$o$collect$slambda($$this$unsafeFlow, $addresses) {
2080
+ return constructCallableReference(function *(value, $completion) {
2081
+ var tmp0 = $$this$unsafeFlow;
2082
+ $l$block: {
2083
+ if ($addresses.j3(value.address)) {
2084
+ yield* tmp0.e39(value, $completion);
2085
+ break $l$block;
2086
+ }
2087
+ }
2088
+ return Unit_instance;
2089
+ }, 1);
2090
+ }
2091
+ function retryingStream($this, addresses) {
2092
+ return flow(AttoHeightMonitor$retryingStream$slambda($this, addresses));
2093
+ }
2094
+ function *searchFor($this, addresses, $completion) {
2095
+ // Inline function 'kotlinx.coroutines.sync.withLock' call
2096
+ var this_0 = $this.w3q_1;
2097
+ yield* this_0.c3h(null, $completion);
2098
+ var tmp;
2099
+ try {
2100
+ $this.x3q_1.k4().r4(addresses);
2101
+ // Inline function 'kotlin.collections.forEach' call
2102
+ var _iterator__ex2g4s = minus(addresses, $this.x3q_1.k4()).l1();
2103
+ while (_iterator__ex2g4s.m1()) {
2104
+ var element = _iterator__ex2g4s.n1();
2105
+ var tmp0 = $this.x3q_1;
2106
+ // Inline function 'kotlin.collections.set' call
2107
+ var value = yield* $this.v3q_1(element, $completion);
2108
+ tmp0.g4(element, value);
2109
+ }
2110
+ tmp = toHeightSearch($this, $this.x3q_1);
2111
+ }finally {
2112
+ this_0.o3g(null);
2113
+ }
2114
+ return tmp;
2115
+ }
2116
+ function toHeightSearch($this, $receiver) {
2117
+ // Inline function 'kotlin.collections.map' call
2118
+ // Inline function 'kotlin.collections.mapTo' call
2119
+ var destination = ArrayList.d2($receiver.p2());
2120
+ // Inline function 'kotlin.collections.iterator' call
2121
+ var _iterator__ex2g4s = $receiver.z2().l1();
2122
+ while (_iterator__ex2g4s.m1()) {
2123
+ var item = _iterator__ex2g4s.n1();
2124
+ var tmp$ret$3 = new AccountHeightSearch(item.a3(), item.b3());
2125
+ destination.e2(tmp$ret$3);
2126
+ }
2127
+ var accounts = destination;
2128
+ return new HeightSearch(accounts);
2129
+ }
2130
+ function AttoHeightMonitor$_init_$slambda_oraq2v() {
2131
+ return constructCallableReference(function *(it, $completion) {
2132
+ return Companion_getInstance_0().a2i_1;
2133
+ }, 1);
2134
+ }
2135
+ function AttoHeightMonitor$stream$slambda(this$0) {
2136
+ return constructCallableReference(function *($this$transformLatest, it, $completion) {
2137
+ var tmp$ret$0;
2138
+ $l$block: {
2139
+ if (it.j1()) {
2140
+ tmp$ret$0 = emptyFlow();
2141
+ break $l$block;
2142
+ }
2143
+ tmp$ret$0 = retryingStream(this$0, it);
2144
+ }
2145
+ yield* emitAll($this$transformLatest, tmp$ret$0, $completion);
2146
+ return Unit_instance;
2147
+ }, 2);
2148
+ }
2149
+ function AttoHeightMonitor$retryingStream$slambda$lambda() {
2150
+ return 'Failed to stream monitor values. Retrying in ' + Duration__toString_impl_8d916b(get_RETRY_DELAY_0()) + '...';
2151
+ }
2152
+ function AttoHeightMonitor$retryingStream$slambda(this$0, $addresses) {
2153
+ return constructCallableReference(function *($this$flow, $completion) {
2154
+ while (true) {
2155
+ var search = yield* /*#__NOINLINE__*/searchFor(this$0, $addresses, $completion);
2156
+ try {
2157
+ // Inline function 'kotlinx.coroutines.flow.filter' call
2158
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
2159
+ var this_0 = this$0.t3q(search);
2160
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
2161
+ var tmp$ret$0 = new AttoHeightMonitor$retryingStream$1$$inlined$filter$1(this_0, $addresses);
2162
+ yield* emitAll($this$flow, tmp$ret$0, $completion);
2163
+ return Unit_instance;
2164
+ } catch ($p) {
2165
+ if ($p instanceof CancellationException) {
2166
+ var e = $p;
2167
+ throw e;
2168
+ } else {
2169
+ if ($p instanceof Exception) {
2170
+ var e_0 = $p;
2171
+ var tmp = get_logger_0();
2172
+ tmp.w3n(e_0, AttoHeightMonitor$retryingStream$slambda$lambda);
2173
+ yield* delay(get_RETRY_DELAY_0(), $completion);
2174
+ } else {
2175
+ throw $p;
2176
+ }
2177
+ }
2178
+ }
2179
+ }
2180
+ return Unit_instance;
2181
+ }, 1);
2182
+ }
2183
+ function logger$lambda_0() {
2184
+ _init_properties_AttoHeightMonitor_kt__1d4bd9();
2185
+ return Unit_instance;
2186
+ }
2187
+ var properties_initialized_AttoHeightMonitor_kt_xldqd1;
2188
+ function _init_properties_AttoHeightMonitor_kt__1d4bd9() {
2189
+ if (!properties_initialized_AttoHeightMonitor_kt_xldqd1) {
2190
+ properties_initialized_AttoHeightMonitor_kt_xldqd1 = true;
2191
+ var tmp = KotlinLogging_getInstance();
2192
+ logger_0 = tmp.a3o(logger$lambda_0);
2193
+ // Inline function 'kotlin.time.Companion.seconds' call
2194
+ Companion_getInstance();
2195
+ RETRY_DELAY_0 = toDuration_0(10, DurationUnit_SECONDS_getInstance());
2196
+ }
2197
+ }
2198
+ function AttoTransactionMonitor$_init_$slambda_7tohwe() {
2199
+ return constructCallableReference(function *(it, $completion) {
2200
+ return Companion_getInstance_0().a2i_1;
2201
+ }, 1);
2202
+ }
2203
+ function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda() {
2204
+ return constructCallableReference(function *(it, $completion) {
2205
+ return Companion_getInstance_0().a2i_1;
2206
+ }, 1);
2207
+ }
2208
+ function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_0($value) {
2209
+ return constructCallableReference(function *(address, $completion) {
2210
+ return yield* await_1($value(address), $completion);
2211
+ }, 1);
2212
+ }
2213
+ function AttoTransactionMonitorAsyncBuilder$heightProvider$slambda() {
2214
+ return constructCallableReference(function *(it, $completion) {
2215
+ return Companion_getInstance_0().a2i_1;
2216
+ }, 1);
2217
+ }
2218
+ function AttoTransactionMonitorAsyncBuilder$heightProvider$slambda_0($value) {
2219
+ return constructCallableReference(function *(address, $completion) {
2220
+ return yield* await_1($value(address), $completion);
2221
+ }, 1);
2222
+ }
2223
+ function AttoNodeClientAsync$onAccount$lambda($onCancel) {
2224
+ return (it) => {
2225
+ $onCancel(it);
2226
+ return Unit_instance;
2227
+ };
2228
+ }
2229
+ function AttoNodeClientAsync$onAccount$slambda$slambda($onAccount) {
2230
+ return constructCallableReference(function *(it, $completion) {
2231
+ $onAccount(it);
2232
+ return Unit_instance;
2233
+ }, 1);
2234
+ }
2235
+ function AttoNodeClientAsync$onAccount$slambda($stream, $onCancel, $onAccount) {
2236
+ return constructCallableReference(function *($this$launch, $completion) {
2237
+ var tmp;
2238
+ try {
2239
+ var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda($onAccount);
2240
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), $completion);
2241
+ tmp = $onCancel(null);
2242
+ } catch ($p) {
2243
+ var tmp_1;
2244
+ if ($p instanceof CancellationException) {
2245
+ var e = $p;
2246
+ $onCancel(null);
2247
+ throw e;
2248
+ } else {
2249
+ if ($p instanceof Exception) {
2250
+ var e_0 = $p;
2251
+ tmp_1 = $onCancel(e_0);
2252
+ } else {
2253
+ throw $p;
2254
+ }
2255
+ }
2256
+ tmp = tmp_1;
2257
+ }
2258
+ return Unit_instance;
2259
+ }, 1);
2260
+ }
2261
+ function AttoNodeClientAsync$onAccount$lambda_0($onCancel) {
2262
+ return (it) => {
2263
+ $onCancel(it);
2264
+ return Unit_instance;
2265
+ };
2266
+ }
2267
+ function AttoNodeClientAsync$onAccount$slambda$slambda_0($onAccount) {
2268
+ return constructCallableReference(function *(it, $completion) {
2269
+ $onAccount(it);
2270
+ return Unit_instance;
2271
+ }, 1);
2272
+ }
2273
+ function AttoNodeClientAsync$onAccount$slambda_0($stream, $onCancel, $onAccount) {
2274
+ return constructCallableReference(function *($this$launch, $completion) {
2275
+ var tmp;
2276
+ try {
2277
+ var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda_0($onAccount);
2278
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_0), $completion);
2279
+ tmp = $onCancel(null);
2280
+ } catch ($p) {
2281
+ var tmp_1;
2282
+ if ($p instanceof CancellationException) {
2283
+ var e = $p;
2284
+ $onCancel(null);
2285
+ throw e;
2286
+ } else {
2287
+ if ($p instanceof Exception) {
2288
+ var e_0 = $p;
2289
+ tmp_1 = $onCancel(e_0);
2290
+ } else {
2291
+ throw $p;
2292
+ }
2293
+ }
2294
+ tmp = tmp_1;
2295
+ }
2296
+ return Unit_instance;
2297
+ }, 1);
2298
+ }
2299
+ function AttoNodeClientAsync$onAccount$lambda_1($onCancel) {
2300
+ return (it) => {
2301
+ $onCancel(it);
2302
+ return Unit_instance;
2303
+ };
2304
+ }
2305
+ function AttoNodeClientAsync$onAccount$slambda$slambda_1($onAccount) {
2306
+ return constructCallableReference(function *(it, $completion) {
2307
+ $onAccount(it);
2308
+ return Unit_instance;
2309
+ }, 1);
2310
+ }
2311
+ function AttoNodeClientAsync$onAccount$slambda_1($stream, $onCancel, $onAccount) {
2312
+ return constructCallableReference(function *($this$launch, $completion) {
2313
+ var tmp;
2314
+ try {
2315
+ var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda_1($onAccount);
2316
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_5(tmp_0), $completion);
2317
+ tmp = $onCancel(null);
2318
+ } catch ($p) {
2319
+ var tmp_1;
2320
+ if ($p instanceof CancellationException) {
2321
+ var e = $p;
2322
+ $onCancel(null);
2323
+ throw e;
2324
+ } else {
2325
+ if ($p instanceof Exception) {
2326
+ var e_0 = $p;
2327
+ tmp_1 = $onCancel(e_0);
2328
+ } else {
2329
+ throw $p;
2330
+ }
2331
+ }
2332
+ tmp = tmp_1;
2333
+ }
2334
+ return Unit_instance;
2335
+ }, 1);
2336
+ }
2337
+ function AttoNodeClientAsync$onReceivable$lambda($onCancel) {
2338
+ return (it) => {
2339
+ $onCancel(it);
2340
+ return Unit_instance;
2341
+ };
2342
+ }
2343
+ function AttoNodeClientAsync$onReceivable$slambda$slambda($onReceivable) {
2344
+ return constructCallableReference(function *(it, $completion) {
2345
+ $onReceivable(it);
2346
+ return Unit_instance;
2347
+ }, 1);
2348
+ }
2349
+ function AttoNodeClientAsync$onReceivable$slambda($stream, $onCancel, $onReceivable) {
2350
+ return constructCallableReference(function *($this$launch, $completion) {
2351
+ var tmp;
2352
+ try {
2353
+ var tmp_0 = AttoNodeClientAsync$onReceivable$slambda$slambda($onReceivable);
2354
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_6(tmp_0), $completion);
2355
+ tmp = $onCancel(null);
2356
+ } catch ($p) {
2357
+ var tmp_1;
2358
+ if ($p instanceof CancellationException) {
2359
+ var e = $p;
2360
+ $onCancel(null);
2361
+ throw e;
2362
+ } else {
2363
+ if ($p instanceof Exception) {
2364
+ var e_0 = $p;
2365
+ tmp_1 = $onCancel(e_0);
2366
+ } else {
2367
+ throw $p;
2368
+ }
2369
+ }
2370
+ tmp = tmp_1;
2371
+ }
2372
+ return Unit_instance;
2373
+ }, 1);
2374
+ }
2375
+ function AttoNodeClientAsync$onReceivable$lambda_0($onCancel) {
2376
+ return (it) => {
2377
+ $onCancel(it);
2378
+ return Unit_instance;
2379
+ };
2380
+ }
2381
+ function AttoNodeClientAsync$onReceivable$slambda$slambda_0($onReceivable) {
2382
+ return constructCallableReference(function *(it, $completion) {
2383
+ $onReceivable(it);
2384
+ return Unit_instance;
2385
+ }, 1);
2386
+ }
2387
+ function AttoNodeClientAsync$onReceivable$slambda_0($stream, $onCancel, $onReceivable) {
2388
+ return constructCallableReference(function *($this$launch, $completion) {
2389
+ var tmp;
2390
+ try {
2391
+ var tmp_0 = AttoNodeClientAsync$onReceivable$slambda$slambda_0($onReceivable);
2392
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_7(tmp_0), $completion);
2393
+ tmp = $onCancel(null);
2394
+ } catch ($p) {
2395
+ var tmp_1;
2396
+ if ($p instanceof CancellationException) {
2397
+ var e = $p;
2398
+ $onCancel(null);
2399
+ throw e;
2400
+ } else {
2401
+ if ($p instanceof Exception) {
2402
+ var e_0 = $p;
2403
+ tmp_1 = $onCancel(e_0);
2404
+ } else {
2405
+ throw $p;
2406
+ }
2407
+ }
2408
+ tmp = tmp_1;
2409
+ }
2410
+ return Unit_instance;
2411
+ }, 1);
2412
+ }
2413
+ function AttoNodeClientAsync$onAccountEntry$lambda($onCancel) {
2414
+ return (it) => {
2415
+ $onCancel(it);
2416
+ return Unit_instance;
2417
+ };
2418
+ }
2419
+ function AttoNodeClientAsync$onAccountEntry$slambda$slambda($onAccountEntry) {
2420
+ return constructCallableReference(function *(it, $completion) {
2421
+ $onAccountEntry(it);
2422
+ return Unit_instance;
2423
+ }, 1);
2424
+ }
2425
+ function AttoNodeClientAsync$onAccountEntry$slambda($stream, $onCancel, $onAccountEntry) {
2426
+ return constructCallableReference(function *($this$launch, $completion) {
2427
+ var tmp;
2428
+ try {
2429
+ var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda($onAccountEntry);
2430
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_8(tmp_0), $completion);
2431
+ tmp = $onCancel(null);
2432
+ } catch ($p) {
2433
+ var tmp_1;
2434
+ if ($p instanceof CancellationException) {
2435
+ var e = $p;
2436
+ $onCancel(null);
2437
+ throw e;
2438
+ } else {
2439
+ if ($p instanceof Exception) {
2440
+ var e_0 = $p;
2441
+ tmp_1 = $onCancel(e_0);
2442
+ } else {
2443
+ throw $p;
2444
+ }
2445
+ }
2446
+ tmp = tmp_1;
2447
+ }
2448
+ return Unit_instance;
2449
+ }, 1);
2450
+ }
2451
+ function AttoNodeClientAsync$onAccountEntry$lambda_0($onCancel) {
2452
+ return (it) => {
2453
+ $onCancel(it);
2454
+ return Unit_instance;
2455
+ };
2456
+ }
2457
+ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_0($onAccountEntry) {
2458
+ return constructCallableReference(function *(it, $completion) {
2459
+ $onAccountEntry(it);
2460
+ return Unit_instance;
2461
+ }, 1);
2462
+ }
2463
+ function AttoNodeClientAsync$onAccountEntry$slambda_0($stream, $onCancel, $onAccountEntry) {
2464
+ return constructCallableReference(function *($this$launch, $completion) {
2465
+ var tmp;
2466
+ try {
2467
+ var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_0($onAccountEntry);
2468
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_9(tmp_0), $completion);
2469
+ tmp = $onCancel(null);
2470
+ } catch ($p) {
2471
+ var tmp_1;
2472
+ if ($p instanceof CancellationException) {
2473
+ var e = $p;
2474
+ $onCancel(null);
2475
+ throw e;
2476
+ } else {
2477
+ if ($p instanceof Exception) {
2478
+ var e_0 = $p;
2479
+ tmp_1 = $onCancel(e_0);
2480
+ } else {
2481
+ throw $p;
2482
+ }
2483
+ }
2484
+ tmp = tmp_1;
2485
+ }
2486
+ return Unit_instance;
2487
+ }, 1);
2488
+ }
2489
+ function AttoNodeClientAsync$onAccountEntry$lambda_1($onCancel) {
2490
+ return (it) => {
2491
+ $onCancel(it);
2492
+ return Unit_instance;
2493
+ };
2494
+ }
2495
+ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_1($onAccountEntry) {
2496
+ return constructCallableReference(function *(it, $completion) {
2497
+ $onAccountEntry(it);
2498
+ return Unit_instance;
2499
+ }, 1);
2500
+ }
2501
+ function AttoNodeClientAsync$onAccountEntry$slambda_1($stream, $onCancel, $onAccountEntry) {
2502
+ return constructCallableReference(function *($this$launch, $completion) {
2503
+ var tmp;
2504
+ try {
2505
+ var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_1($onAccountEntry);
2506
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_10(tmp_0), $completion);
2507
+ tmp = $onCancel(null);
2508
+ } catch ($p) {
2509
+ var tmp_1;
2510
+ if ($p instanceof CancellationException) {
2511
+ var e = $p;
2512
+ $onCancel(null);
2513
+ throw e;
2514
+ } else {
2515
+ if ($p instanceof Exception) {
2516
+ var e_0 = $p;
2517
+ tmp_1 = $onCancel(e_0);
2518
+ } else {
2519
+ throw $p;
2520
+ }
2521
+ }
2522
+ tmp = tmp_1;
2523
+ }
2524
+ return Unit_instance;
2525
+ }, 1);
2526
+ }
2527
+ function AttoNodeClientAsync$onAccountEntry$lambda_2($onCancel) {
2528
+ return (it) => {
2529
+ $onCancel(it);
2530
+ return Unit_instance;
2531
+ };
2532
+ }
2533
+ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_2($onAccountEntry) {
2534
+ return constructCallableReference(function *(it, $completion) {
2535
+ $onAccountEntry(it);
2536
+ return Unit_instance;
2537
+ }, 1);
2538
+ }
2539
+ function AttoNodeClientAsync$onAccountEntry$slambda_2($stream, $onCancel, $onAccountEntry) {
2540
+ return constructCallableReference(function *($this$launch, $completion) {
2541
+ var tmp;
2542
+ try {
2543
+ var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_2($onAccountEntry);
2544
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_11(tmp_0), $completion);
2545
+ tmp = $onCancel(null);
2546
+ } catch ($p) {
2547
+ var tmp_1;
2548
+ if ($p instanceof CancellationException) {
2549
+ var e = $p;
2550
+ $onCancel(null);
2551
+ throw e;
2552
+ } else {
2553
+ if ($p instanceof Exception) {
2554
+ var e_0 = $p;
2555
+ tmp_1 = $onCancel(e_0);
2556
+ } else {
2557
+ throw $p;
2558
+ }
2559
+ }
2560
+ tmp = tmp_1;
2561
+ }
2562
+ return Unit_instance;
2563
+ }, 1);
2564
+ }
2565
+ function AttoNodeClientAsync$onTransaction$lambda($onCancel) {
2566
+ return (it) => {
2567
+ $onCancel(it);
2568
+ return Unit_instance;
2569
+ };
2570
+ }
2571
+ function AttoNodeClientAsync$onTransaction$slambda$slambda($onTransaction) {
2572
+ return constructCallableReference(function *(it, $completion) {
2573
+ $onTransaction(it);
2574
+ return Unit_instance;
2575
+ }, 1);
2576
+ }
2577
+ function AttoNodeClientAsync$onTransaction$slambda($stream, $onCancel, $onTransaction) {
2578
+ return constructCallableReference(function *($this$launch, $completion) {
2579
+ var tmp;
2580
+ try {
2581
+ var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda($onTransaction);
2582
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_12(tmp_0), $completion);
2583
+ tmp = $onCancel(null);
2584
+ } catch ($p) {
2585
+ var tmp_1;
2586
+ if ($p instanceof CancellationException) {
2587
+ var e = $p;
2588
+ $onCancel(null);
2589
+ throw e;
2590
+ } else {
2591
+ if ($p instanceof Exception) {
2592
+ var e_0 = $p;
2593
+ tmp_1 = $onCancel(e_0);
2594
+ } else {
2595
+ throw $p;
2596
+ }
2597
+ }
2598
+ tmp = tmp_1;
2599
+ }
2600
+ return Unit_instance;
2601
+ }, 1);
2602
+ }
2603
+ function AttoNodeClientAsync$onTransaction$lambda_0($onCancel) {
2604
+ return (it) => {
2605
+ $onCancel(it);
2606
+ return Unit_instance;
2607
+ };
2608
+ }
2609
+ function AttoNodeClientAsync$onTransaction$slambda$slambda_0($onTransaction) {
2610
+ return constructCallableReference(function *(it, $completion) {
2611
+ $onTransaction(it);
2612
+ return Unit_instance;
2613
+ }, 1);
2614
+ }
2615
+ function AttoNodeClientAsync$onTransaction$slambda_0($stream, $onCancel, $onTransaction) {
2616
+ return constructCallableReference(function *($this$launch, $completion) {
2617
+ var tmp;
2618
+ try {
2619
+ var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_0($onTransaction);
2620
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_13(tmp_0), $completion);
2621
+ tmp = $onCancel(null);
2622
+ } catch ($p) {
2623
+ var tmp_1;
2624
+ if ($p instanceof CancellationException) {
2625
+ var e = $p;
2626
+ $onCancel(null);
2627
+ throw e;
2628
+ } else {
2629
+ if ($p instanceof Exception) {
2630
+ var e_0 = $p;
2631
+ tmp_1 = $onCancel(e_0);
2632
+ } else {
2633
+ throw $p;
2634
+ }
2635
+ }
2636
+ tmp = tmp_1;
2637
+ }
2638
+ return Unit_instance;
2639
+ }, 1);
2640
+ }
2641
+ function AttoNodeClientAsync$onTransaction$lambda_1($onCancel) {
2642
+ return (it) => {
2643
+ $onCancel(it);
2644
+ return Unit_instance;
2645
+ };
2646
+ }
2647
+ function AttoNodeClientAsync$onTransaction$slambda$slambda_1($onTransaction) {
2648
+ return constructCallableReference(function *(it, $completion) {
2649
+ $onTransaction(it);
2650
+ return Unit_instance;
2651
+ }, 1);
2652
+ }
2653
+ function AttoNodeClientAsync$onTransaction$slambda_1($stream, $onCancel, $onTransaction) {
2654
+ return constructCallableReference(function *($this$launch, $completion) {
2655
+ var tmp;
2656
+ try {
2657
+ var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_1($onTransaction);
2658
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_14(tmp_0), $completion);
2659
+ tmp = $onCancel(null);
2660
+ } catch ($p) {
2661
+ var tmp_1;
2662
+ if ($p instanceof CancellationException) {
2663
+ var e = $p;
2664
+ $onCancel(null);
2665
+ throw e;
2666
+ } else {
2667
+ if ($p instanceof Exception) {
2668
+ var e_0 = $p;
2669
+ tmp_1 = $onCancel(e_0);
2670
+ } else {
2671
+ throw $p;
2672
+ }
2673
+ }
2674
+ tmp = tmp_1;
2675
+ }
2676
+ return Unit_instance;
2677
+ }, 1);
2678
+ }
2679
+ function AttoNodeClientAsync$onTransaction$lambda_2($onCancel) {
2680
+ return (it) => {
2681
+ $onCancel(it);
2682
+ return Unit_instance;
2683
+ };
2684
+ }
2685
+ function AttoNodeClientAsync$onTransaction$slambda$slambda_2($onTransaction) {
2686
+ return constructCallableReference(function *(it, $completion) {
2687
+ $onTransaction(it);
2688
+ return Unit_instance;
2689
+ }, 1);
2690
+ }
2691
+ function AttoNodeClientAsync$onTransaction$slambda_2($stream, $onCancel, $onTransaction) {
2692
+ return constructCallableReference(function *($this$launch, $completion) {
2693
+ var tmp;
2694
+ try {
2695
+ var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_2($onTransaction);
2696
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_15(tmp_0), $completion);
2697
+ tmp = $onCancel(null);
2698
+ } catch ($p) {
2699
+ var tmp_1;
2700
+ if ($p instanceof CancellationException) {
2701
+ var e = $p;
2702
+ $onCancel(null);
2703
+ throw e;
2704
+ } else {
2705
+ if ($p instanceof Exception) {
2706
+ var e_0 = $p;
2707
+ tmp_1 = $onCancel(e_0);
2708
+ } else {
2709
+ throw $p;
2710
+ }
2711
+ }
2712
+ tmp = tmp_1;
2713
+ }
2714
+ return Unit_instance;
2715
+ }, 1);
2716
+ }
2717
+ function toAsync(_this__u8e3s4) {
2718
+ return new AttoNodeClientAsync(_this__u8e3s4, Dispatchers_getInstance().q32_1);
2719
+ }
2720
+ function AttoAccountEntryMonitorAsync$onAccountEntry$slambda($onCancel) {
2721
+ return constructCallableReference(function *(it, $completion) {
2722
+ $onCancel(it);
2723
+ return Unit_instance;
2724
+ }, 1);
2725
+ }
2726
+ function AttoAccountEntryMonitorAsync$onAccountEntry$slambda$slambda($onAccountEntry) {
2727
+ return constructCallableReference(function *(it, $completion) {
2728
+ yield* $onAccountEntry(it.u3r_1, $completion);
2729
+ yield* it.w3r($completion);
2730
+ return Unit_instance;
2731
+ }, 1);
2732
+ }
2733
+ function AttoAccountEntryMonitorAsync$onAccountEntry$slambda_0($stream, $onCancel, $onAccountEntry) {
2734
+ return constructCallableReference(function *($this$launch, $completion) {
2735
+ var tmp;
2736
+ try {
2737
+ var tmp_0 = AttoAccountEntryMonitorAsync$onAccountEntry$slambda$slambda($onAccountEntry);
2738
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_16(tmp_0), $completion);
2739
+ tmp = yield* $onCancel(null, $completion);
2740
+ } catch ($p) {
2741
+ var tmp_1;
2742
+ if ($p instanceof CancellationException) {
2743
+ var e = $p;
2744
+ yield* $onCancel(null, $completion);
2745
+ throw e;
2746
+ } else {
2747
+ if ($p instanceof Exception) {
2748
+ var e_0 = $p;
2749
+ tmp_1 = yield* $onCancel(e_0, $completion);
2750
+ } else {
2751
+ throw $p;
2752
+ }
2753
+ }
2754
+ tmp = tmp_1;
2755
+ }
2756
+ return Unit_instance;
2757
+ }, 1);
2758
+ }
2759
+ function AttoAccountMonitorAsync$onAccount$slambda($onCancel) {
2760
+ return constructCallableReference(function *(it, $completion) {
2761
+ $onCancel(it);
2762
+ return Unit_instance;
2763
+ }, 1);
2764
+ }
2765
+ function AttoAccountMonitorAsync$onAccount$slambda$slambda($onAccount) {
2766
+ return constructCallableReference(function *(it, $completion) {
2767
+ $onAccount(it);
2768
+ return Unit_instance;
2769
+ }, 1);
2770
+ }
2771
+ function AttoAccountMonitorAsync$onAccount$slambda_0($stream, $onCancel, $onAccount) {
2772
+ return constructCallableReference(function *($this$launch, $completion) {
2773
+ var tmp;
2774
+ try {
2775
+ var tmp_0 = AttoAccountMonitorAsync$onAccount$slambda$slambda($onAccount);
2776
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_17(tmp_0), $completion);
2777
+ tmp = yield* $onCancel(null, $completion);
2778
+ } catch ($p) {
2779
+ var tmp_1;
2780
+ if ($p instanceof CancellationException) {
2781
+ var e = $p;
2782
+ yield* $onCancel(null, $completion);
2783
+ throw e;
2784
+ } else {
2785
+ if ($p instanceof Exception) {
2786
+ var e_0 = $p;
2787
+ tmp_1 = yield* $onCancel(e_0, $completion);
2788
+ } else {
2789
+ throw $p;
2790
+ }
2791
+ }
2792
+ tmp = tmp_1;
2793
+ }
2794
+ return Unit_instance;
2795
+ }, 1);
2796
+ }
2797
+ function AttoAccountMonitorAsync$onReceivable$slambda($onCancel) {
2798
+ return constructCallableReference(function *(it, $completion) {
2799
+ $onCancel(it);
2800
+ return Unit_instance;
2801
+ }, 1);
2802
+ }
2803
+ function AttoAccountMonitorAsync$onReceivable$slambda$slambda($onReceivable) {
2804
+ return constructCallableReference(function *(it, $completion) {
2805
+ $onReceivable(it);
2806
+ return Unit_instance;
2807
+ }, 1);
2808
+ }
2809
+ function AttoAccountMonitorAsync$onReceivable$slambda_0($stream, $onCancel, $onReceivable) {
2810
+ return constructCallableReference(function *($this$launch, $completion) {
2811
+ var tmp;
2812
+ try {
2813
+ var tmp_0 = AttoAccountMonitorAsync$onReceivable$slambda$slambda($onReceivable);
2814
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_18(tmp_0), $completion);
2815
+ tmp = yield* $onCancel(null, $completion);
2816
+ } catch ($p) {
2817
+ var tmp_1;
2818
+ if ($p instanceof CancellationException) {
2819
+ var e = $p;
2820
+ yield* $onCancel(null, $completion);
2821
+ throw e;
2822
+ } else {
2823
+ if ($p instanceof Exception) {
2824
+ var e_0 = $p;
2825
+ tmp_1 = yield* $onCancel(e_0, $completion);
2826
+ } else {
2827
+ throw $p;
2828
+ }
2829
+ }
2830
+ tmp = tmp_1;
2831
+ }
2832
+ return Unit_instance;
2833
+ }, 1);
2834
+ }
2835
+ function AttoTransactionMonitorAsync$onTransaction$slambda($onCancel) {
2836
+ return constructCallableReference(function *(it, $completion) {
2837
+ $onCancel(it);
2838
+ return Unit_instance;
2839
+ }, 1);
2840
+ }
2841
+ function AttoTransactionMonitorAsync$onTransaction$slambda$slambda($onTransaction) {
2842
+ return constructCallableReference(function *(it, $completion) {
2843
+ yield* $onTransaction(it.u3r_1, $completion);
2844
+ yield* it.w3r($completion);
2845
+ return Unit_instance;
2846
+ }, 1);
2847
+ }
2848
+ function AttoTransactionMonitorAsync$onTransaction$slambda_0($stream, $onCancel, $onTransaction) {
2849
+ return constructCallableReference(function *($this$launch, $completion) {
2850
+ var tmp;
2851
+ try {
2852
+ var tmp_0 = AttoTransactionMonitorAsync$onTransaction$slambda$slambda($onTransaction);
2853
+ yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_19(tmp_0), $completion);
2854
+ tmp = yield* $onCancel(null, $completion);
2855
+ } catch ($p) {
2856
+ var tmp_1;
2857
+ if ($p instanceof CancellationException) {
2858
+ var e = $p;
2859
+ yield* $onCancel(null, $completion);
2860
+ throw e;
2861
+ } else {
2862
+ if ($p instanceof Exception) {
2863
+ var e_0 = $p;
2864
+ tmp_1 = yield* $onCancel(e_0, $completion);
2865
+ } else {
2866
+ throw $p;
2867
+ }
2868
+ }
2869
+ tmp = tmp_1;
2870
+ }
2871
+ return Unit_instance;
2872
+ }, 1);
2873
+ }
2874
+ //region block: post-declaration
2875
+ initMetadataForCompanion(Companion);
2876
+ initMetadataForCompanion(Companion_0);
2877
+ protoOf($serializer).i17 = typeParametersSerializers;
2878
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
2879
+ initMetadataForClass(TimeDifferenceResponse, 'TimeDifferenceResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
2880
+ initMetadataForCompanion(Companion_1);
2881
+ protoOf($serializer_0).i17 = typeParametersSerializers;
2882
+ initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
2883
+ initMetadataForClass(AccountSearch, 'AccountSearch', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
2884
+ initMetadataForCompanion(Companion_2);
2885
+ protoOf($serializer_1).i17 = typeParametersSerializers;
2886
+ initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
2887
+ initMetadataForClass(AccountHeightSearch, 'AccountHeightSearch', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
2888
+ initMetadataForCompanion(Companion_3);
2889
+ protoOf($serializer_2).i17 = typeParametersSerializers;
2890
+ initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
2891
+ initMetadataForClass(HeightSearch, 'HeightSearch', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
2892
+ initMetadataForInterface(AttoNodeOperations, 'AttoNodeOperations', VOID, VOID, VOID, [1, 0]);
2893
+ initMetadataForClass(AttoNodePublishMismatchException, 'AttoNodePublishMismatchException');
2894
+ initMetadataForClass(AttoHeightMonitor, 'AttoHeightMonitor', VOID, VOID, VOID, [1]);
2895
+ initMetadataForClass(AttoAccountEntryMonitor, 'AttoAccountEntryMonitor');
2896
+ initMetadataForClass(State, 'State', State, VOID, VOID, [1, 0]);
2897
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2898
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2899
+ initMetadataForClass(AttoAccountMonitor$accountStream$$inlined$flatMapLatest$1$1, VOID, VOID, VOID, VOID, [1]);
2900
+ initMetadataForClass(AttoAccountMonitor$receivableStream$$inlined$flatMapLatest$1$1, VOID, VOID, VOID, VOID, [1]);
2901
+ initMetadataForClass(AttoAccountMonitor, 'AttoAccountMonitor', VOID, VOID, VOID, [1, 0]);
2902
+ initMetadataForClass(Message, 'Message', VOID, VOID, VOID, [0]);
2903
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_1, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2904
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_2, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2905
+ initMetadataForClass(AttoHeightMonitor$stream$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
2906
+ initMetadataForClass(AttoHeightMonitor$retryingStream$1$$inlined$filter$1, VOID, VOID, VOID, VOID, [1]);
2907
+ initMetadataForClass(AttoTransactionMonitor, 'AttoTransactionMonitor');
2908
+ initMetadataForClass(AttoAccountEntryMonitorAsyncBuilder, 'AttoAccountEntryMonitorAsyncBuilder');
2909
+ initMetadataForClass(AttoTransactionMonitorAsyncBuilder, 'AttoTransactionMonitorAsyncBuilder');
2910
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_3, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2911
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_4, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2912
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_5, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2913
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_6, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2914
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_7, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2915
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_8, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2916
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_9, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2917
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_10, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2918
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_11, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2919
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_12, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2920
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_13, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2921
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_14, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2922
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_15, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2923
+ initMetadataForClass(AttoNodeClientAsync, 'AttoNodeClientAsync', VOID, VOID, [AutoCloseable], [1, 0]);
2924
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_16, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2925
+ initMetadataForClass(AttoAccountEntryMonitorAsync, 'AttoAccountEntryMonitorAsync', VOID, VOID, [AutoCloseable]);
2926
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_17, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2927
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_18, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2928
+ initMetadataForClass(AttoAccountMonitorAsync, 'AttoAccountMonitorAsync', VOID, VOID, [AutoCloseable], [1, 0]);
2929
+ initMetadataForClass(AttoAccountMonitorAsyncBuilder, 'AttoAccountMonitorAsyncBuilder');
2930
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_19, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
2931
+ initMetadataForClass(AttoTransactionMonitorAsync, 'AttoTransactionMonitorAsync', VOID, VOID, [AutoCloseable]);
2932
+ //endregion
2933
+ //region block: init
2934
+ Companion_instance_2 = new Companion();
2935
+ Companion_instance_3 = new Companion_0();
2936
+ Companion_instance_5 = new Companion_2();
2937
+ //endregion
2938
+ //region block: exports
2939
+ defineProp(HeightSearch, 'Companion', Companion_getInstance_10, VOID, true);
2940
+ export {
2941
+ TimeDifferenceResponse as TimeDifferenceResponse,
2942
+ AccountSearch as AccountSearch,
2943
+ AccountHeightSearch as AccountHeightSearch,
2944
+ HeightSearch as HeightSearch,
2945
+ accountToJson as accountToJson,
2946
+ accountFromJson as accountFromJson,
2947
+ receivableToJson as receivableToJson,
2948
+ receivableFromJson as receivableFromJson,
2949
+ transactionToJson as transactionToJson,
2950
+ transactionFromJson as transactionFromJson,
2951
+ blockToJson as blockToJson,
2952
+ blockFromJson as blockFromJson,
2953
+ accountEntryToJson as accountEntryToJson,
2954
+ accountEntryFromJson as accountEntryFromJson,
2955
+ fromByteArrayToTransactionJson as fromByteArrayToTransactionJson,
2956
+ fromByteArrayToBlockJson as fromByteArrayToBlockJson,
2957
+ AttoAccountEntryMonitorAsyncBuilder as AttoAccountEntryMonitorAsyncBuilder,
2958
+ AttoTransactionMonitorAsyncBuilder as AttoTransactionMonitorAsyncBuilder,
2959
+ AttoNodeClientAsync as AttoNodeClientAsync,
2960
+ AttoAccountEntryMonitorAsync as AttoAccountEntryMonitorAsync,
2961
+ AttoAccountMonitorAsync as AttoAccountMonitorAsync,
2962
+ AttoAccountMonitorAsyncBuilder as AttoAccountMonitorAsyncBuilder,
2963
+ AttoTransactionMonitorAsync as AttoTransactionMonitorAsync,
2964
+ };
2965
+ export {
2966
+ AccountSearch as AccountSearch2mwh4um1wt8t0,
2967
+ AttoNodeOperations as AttoNodeOperations2ltve6dru3dak,
2968
+ HeightSearch as HeightSearch1x89hguztojew,
2969
+ TimeDifferenceResponse as TimeDifferenceResponse10pcc7bvyvb3b,
2970
+ requireMatchingPublish as requireMatchingPublishbh1qmbktx90e,
2971
+ toAsync as toAsync1y1ofd781df0q,
2972
+ Companion_instance_2 as Companion_instance3i5kbwua9h4lo,
2973
+ now as nownta9sdmokr07,
2974
+ };
2975
+ //endregion
2976
+
2977
+ //# sourceMappingURL=commons-commons-node.mjs.map