@attocash/commons-js 5.4.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1439) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +73 -64
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs.map +1 -1
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs +20 -24
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +46 -46
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs.map +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +307 -115
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs.map +1 -1
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +152 -71
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs.map +1 -1
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +219 -98
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs.map +1 -1
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs +76 -27
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs.map +1 -1
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +49 -0
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs.map +1 -0
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +287 -101
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs.map +1 -1
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +94 -155
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs.map +1 -1
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +139 -0
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs.map +1 -0
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +79 -0
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs.map +1 -0
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +13 -6
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs.map +1 -1
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +61 -40
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs.map +1 -1
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +185 -543
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs.map +1 -1
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +124 -111
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs.map +1 -1
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +188 -177
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs.map +1 -1
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +285 -198
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs.map +1 -1
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +400 -0
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs.map +1 -0
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs +29 -0
  40. package/{ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs.map → Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs.map} +1 -1
  41. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +147 -0
  42. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs.map +1 -0
  43. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +412 -0
  44. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs.map +1 -0
  45. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs +37 -0
  46. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs.map +1 -0
  47. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +102 -0
  48. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs.map +1 -0
  49. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +237 -0
  50. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs.map +1 -0
  51. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs +47 -0
  52. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs.map +1 -0
  53. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +14 -11
  54. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs.map +1 -1
  55. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +77 -162
  56. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs.map +1 -1
  57. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +50 -48
  58. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs.map +1 -1
  59. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +169 -174
  60. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs.map +1 -1
  61. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +16 -16
  62. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs.map +1 -1
  63. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +115 -12
  64. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs.map +1 -1
  65. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +117 -63
  66. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs.map +1 -1
  67. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +46 -46
  68. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs.map +1 -1
  69. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  70. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs.map +1 -1
  71. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +89 -89
  72. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs.map +1 -1
  73. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +128 -371
  74. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs.map +1 -1
  75. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +20 -19
  76. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs.map +1 -1
  77. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +51 -0
  78. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs.map +1 -0
  79. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs +0 -35
  80. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs.map +1 -1
  81. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +112 -123
  82. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
  83. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +22 -22
  84. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
  85. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +22 -22
  86. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
  87. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +22 -22
  88. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
  89. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +64 -64
  90. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
  91. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +53 -0
  92. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -0
  93. package/commons-commons-core/cash/atto/commons/{AccountUpdate.js.export.d.ts → AccountUpdate.js.export.d.mts} +1 -1
  94. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs +1 -1
  95. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +19 -22
  96. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
  97. package/commons-commons-core/cash/atto/commons/{AttoAccount.export.d.ts → AttoAccount.export.d.mts} +14 -10
  98. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs +3 -2
  99. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs.map +1 -1
  100. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +165 -175
  101. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/{AttoAccountEntry.export.d.ts → AttoAccountEntry.export.d.mts} +10 -6
  103. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs +3 -2
  104. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs.map +1 -1
  105. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +164 -183
  106. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
  107. package/commons-commons-core/cash/atto/commons/{AttoAddress.export.d.ts → AttoAddress.export.d.mts} +9 -4
  108. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +5 -2
  109. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
  110. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +83 -41
  111. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
  112. package/commons-commons-core/cash/atto/commons/{AttoAlgorithm.export.d.ts → AttoAlgorithm.export.d.mts} +5 -2
  113. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs +4 -3
  114. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs.map +1 -1
  115. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +21 -21
  116. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
  117. package/commons-commons-core/cash/atto/commons/{AttoAmount.export.d.ts → AttoAmount.export.d.mts} +11 -6
  118. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +9 -4
  119. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
  120. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +83 -69
  121. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
  122. package/commons-commons-core/cash/atto/commons/{AttoBlock.export.d.ts → AttoBlock.export.d.mts} +60 -25
  123. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs +12 -11
  124. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs.map +1 -1
  125. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1131 -1180
  126. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
  127. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +16 -16
  128. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
  129. package/commons-commons-core/cash/atto/commons/{AttoChallenge.export.d.ts → AttoChallenge.export.d.mts} +5 -1
  130. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs +3 -2
  131. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs.map +1 -1
  132. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +16 -16
  133. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
  134. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +10 -0
  135. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +13 -0
  136. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +72 -0
  137. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +1 -0
  138. package/commons-commons-core/cash/atto/commons/{AttoHash.export.d.ts → AttoHash.export.d.mts} +6 -2
  139. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs +3 -2
  140. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs.map +1 -1
  141. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +35 -35
  142. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
  143. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  144. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
  145. package/commons-commons-core/cash/atto/commons/{AttoHeight.export.d.ts → AttoHeight.export.d.mts} +10 -5
  146. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -2
  147. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
  148. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +54 -47
  149. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
  150. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +33 -0
  151. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs +20 -0
  152. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs.map +1 -0
  153. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +189 -0
  154. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -0
  155. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +26 -0
  156. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -0
  157. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +16 -0
  158. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs +17 -0
  159. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs.map +1 -0
  160. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +82 -0
  161. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -0
  162. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +33 -0
  163. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs +22 -0
  164. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs +23 -0
  165. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -0
  166. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +184 -0
  167. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -0
  168. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +61 -0
  169. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -0
  170. package/commons-commons-core/cash/atto/commons/{AttoNetwork.export.d.ts → AttoNetwork.export.d.mts} +8 -4
  171. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs +8 -7
  172. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs.map +1 -1
  173. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +30 -30
  174. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  175. package/commons-commons-core/cash/atto/commons/{AttoPrivateKey.export.d.ts → AttoPrivateKey.export.d.mts} +7 -3
  176. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs +5 -2
  177. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs.map +1 -1
  178. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  179. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  180. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +38 -31
  181. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  182. package/commons-commons-core/cash/atto/commons/{AttoPublicKey.export.d.ts → AttoPublicKey.export.d.mts} +5 -1
  183. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs +3 -2
  184. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs.map +1 -1
  185. package/{ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.ts → commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.d.mts} +1 -2
  186. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs +12 -0
  187. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  188. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +29 -29
  189. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  190. package/commons-commons-core/cash/atto/commons/{AttoReceivable.export.d.ts → AttoReceivable.export.d.mts} +9 -4
  191. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs +3 -2
  192. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs.map +1 -1
  193. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +148 -133
  194. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  195. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.d.ts → commons-commons-core/cash/atto/commons/AttoSeed.js.export.d.mts} +1 -1
  196. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs +12 -0
  197. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +91 -0
  198. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -0
  199. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +29 -4
  200. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  201. package/commons-commons-core/cash/atto/commons/{AttoSignature.export.d.ts → AttoSignature.export.d.mts} +5 -1
  202. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs +3 -2
  203. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs.map +1 -1
  204. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  205. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +30 -30
  206. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  207. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +23 -441
  208. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  209. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +19 -135
  210. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  211. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +7 -7
  212. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +1 -1
  213. package/commons-commons-core/cash/atto/commons/{AttoTransaction.export.d.ts → AttoTransaction.export.d.mts} +9 -3
  214. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs +3 -2
  215. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs.map +1 -1
  216. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +105 -92
  217. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  218. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +63 -0
  219. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -0
  220. package/commons-commons-core/cash/atto/commons/{AttoVersion.export.d.ts → AttoVersion.export.d.mts} +5 -1
  221. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs +3 -2
  222. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs.map +1 -1
  223. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +17 -18
  224. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  225. package/commons-commons-core/cash/atto/commons/{AttoVote.export.d.ts → AttoVote.export.d.mts} +9 -5
  226. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs +3 -2
  227. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs.map +1 -1
  228. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +105 -111
  229. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  230. package/commons-commons-core/cash/atto/commons/{AttoWork.export.d.ts → AttoWork.export.d.mts} +5 -2
  231. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs +3 -2
  232. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs.map +1 -1
  233. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +68 -98
  234. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  235. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +147 -0
  236. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -0
  237. package/commons-commons-core/cash/atto/commons/Extensions.mjs +44 -10
  238. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  239. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +14 -14
  240. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  241. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  242. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  243. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs +37 -0
  244. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -0
  245. package/commons-commons-core.mjs +6 -1
  246. package/commons-commons-core.mjs.map +1 -1
  247. package/commons-commons-js.mjs +0 -1
  248. package/commons-commons-js.mjs.map +1 -1
  249. package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs +29 -0
  250. package/{kotlin-kotlin-stdlib/kotlin/Number.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs.map} +1 -1
  251. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +22 -0
  252. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs +13 -0
  253. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs.map +1 -0
  254. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +1248 -0
  255. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -0
  256. package/commons-commons-node/cash/atto/commons/node/{AttoNodeOperations.export.d.ts → AttoNodeOperations.export.d.mts} +25 -9
  257. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs +6 -5
  258. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs.map +1 -1
  259. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +215 -324
  260. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  261. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +21 -21
  262. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  263. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +66 -0
  264. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -0
  265. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.d.mts +10 -0
  266. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs +13 -0
  267. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs.map +1 -0
  268. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +189 -0
  269. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -0
  270. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts +11 -0
  271. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs +13 -0
  272. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map +1 -0
  273. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +97 -0
  274. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +1 -0
  275. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +251 -0
  276. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -0
  277. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.d.mts +13 -0
  278. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs +13 -0
  279. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs.map +1 -0
  280. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +280 -0
  281. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -0
  282. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.d.mts +10 -0
  283. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs +13 -0
  284. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs.map +1 -0
  285. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +33 -0
  286. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -0
  287. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +339 -0
  288. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -0
  289. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +66 -0
  290. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -0
  291. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.d.mts +10 -0
  292. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs +13 -0
  293. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map +1 -0
  294. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +189 -0
  295. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -0
  296. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.d.mts +11 -0
  297. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs +13 -0
  298. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +1 -0
  299. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +97 -0
  300. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +1 -0
  301. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.d.mts +12 -0
  302. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs +13 -0
  303. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +75 -0
  304. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -0
  305. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +2039 -0
  306. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -0
  307. package/commons-commons-node-remote.mjs +1 -1
  308. package/commons-commons-node.mjs +7 -0
  309. package/commons-commons-node.mjs.map +1 -1
  310. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +987 -0
  311. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -0
  312. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +24 -0
  313. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs +13 -0
  314. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map +1 -0
  315. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +440 -0
  316. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +1 -0
  317. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +8 -0
  318. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +4 -0
  319. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +13 -0
  320. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs +13 -0
  321. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs.map +1 -0
  322. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +147 -0
  323. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -0
  324. package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs} +7 -12
  325. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +1 -0
  326. package/commons-commons-wallet.mjs +8 -0
  327. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs.map → commons-commons-wallet.mjs.map} +1 -1
  328. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +4 -4
  329. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  330. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.d.mts +13 -0
  331. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs +13 -0
  332. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +1 -0
  333. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +124 -0
  334. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -0
  335. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +348 -0
  336. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -0
  337. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +95 -143
  338. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  339. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.d.mts +15 -0
  340. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs +13 -0
  341. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs.map +1 -0
  342. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +111 -0
  343. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -0
  344. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +149 -260
  345. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  346. package/commons-commons-worker-remote.mjs +1 -1
  347. package/commons-commons-worker.mjs +3 -0
  348. package/commons-commons-worker.mjs.map +1 -1
  349. package/index.d.ts +1 -0
  350. package/index.mjs +1 -0
  351. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  352. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs.map +1 -1
  353. package/kotlin-kotlin-stdlib/kotlin/Char.mjs +18 -18
  354. package/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
  355. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +28 -28
  356. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
  357. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +10 -10
  358. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
  359. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +33 -0
  360. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -0
  361. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +10 -10
  362. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
  363. package/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
  364. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +27 -19
  365. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
  366. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +9 -136
  367. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
  368. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -12
  369. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  370. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
  371. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
  372. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -24
  373. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs.map +1 -1
  374. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  375. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
  376. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +50 -33
  377. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
  378. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +15 -15
  379. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
  380. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +50 -33
  381. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
  382. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +14 -15
  383. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
  384. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +50 -33
  385. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
  386. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  387. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
  388. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +50 -33
  389. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
  390. package/kotlin-kotlin-stdlib/kotlin/Unit.mjs.map +1 -1
  391. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +54 -41
  392. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
  393. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +15 -17
  394. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
  395. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +98 -71
  396. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  397. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +81 -80
  398. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
  399. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +51 -17
  400. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
  401. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +107 -82
  402. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  403. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +35 -35
  404. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
  405. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  406. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs.map +1 -1
  407. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +11 -11
  408. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs.map +1 -1
  409. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +264 -219
  410. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  411. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +1 -1
  412. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs.map +1 -1
  413. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +101 -74
  414. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  415. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -3
  416. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
  417. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +42 -0
  418. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +20 -0
  419. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -0
  420. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +86 -17
  421. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  422. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +125 -99
  423. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  424. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +37 -37
  425. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
  426. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +90 -70
  427. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
  428. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +64 -50
  429. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
  430. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -28
  431. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
  432. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -9
  433. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs.map +1 -1
  434. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +267 -237
  435. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
  436. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
  437. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +17 -17
  438. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
  439. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
  440. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs.map +1 -1
  441. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +57 -11
  442. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
  443. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
  444. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
  445. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +4 -4
  446. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
  447. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +135 -87
  448. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
  449. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +42 -15
  450. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
  451. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -20
  452. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs.map +1 -1
  453. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +22 -23
  454. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  455. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +1 -1
  456. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
  457. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +165 -140
  458. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  459. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +67 -68
  460. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
  461. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +262 -260
  462. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
  463. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +4 -4
  464. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs.map +1 -1
  465. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +13 -13
  466. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs.map +1 -1
  467. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +33 -6
  468. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
  469. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +16 -16
  470. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  471. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +5 -5
  472. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -1
  473. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +266 -0
  474. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -0
  475. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +27 -0
  476. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
  477. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +3 -3
  478. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  479. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
  480. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
  481. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +10 -10
  482. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
  483. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +43 -44
  484. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
  485. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +9 -111
  486. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
  487. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +199 -0
  488. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -0
  489. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +5 -7
  490. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs.map +1 -1
  491. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +18 -18
  492. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs.map +1 -1
  493. package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs +8 -8
  494. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +134 -107
  495. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  496. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +26 -18
  497. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  498. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +116 -116
  499. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
  500. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +10 -5
  501. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
  502. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +33 -0
  503. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +1 -0
  504. package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs +4 -0
  505. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -21
  506. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs.map +1 -1
  507. package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +1 -1
  508. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  509. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -12
  510. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
  511. package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs.map +1 -1
  512. package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs.map +1 -1
  513. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs +4 -3
  514. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs.map +1 -1
  515. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +58 -27
  516. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
  517. package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +1 -1
  518. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs +22 -0
  519. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs.map +1 -0
  520. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +258 -0
  521. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -0
  522. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs +246 -0
  523. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs.map +1 -0
  524. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  525. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs.map +1 -1
  526. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +25 -0
  527. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs.map +1 -0
  528. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +4 -5
  529. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
  530. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +3 -26
  531. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
  532. package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs.map +1 -1
  533. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +20 -3
  534. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
  535. package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs.map +1 -1
  536. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +1 -2
  537. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
  538. package/kotlin-kotlin-stdlib/kotlin/js/void.mjs.map +1 -1
  539. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +14 -14
  540. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs.map +1 -1
  541. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs +14 -14
  542. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
  543. package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
  544. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +105 -13
  545. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs.map +1 -1
  546. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +38 -38
  547. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
  548. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +35 -103
  549. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
  550. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +28 -62
  551. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs.map +1 -1
  552. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +30 -93
  553. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs.map +1 -1
  554. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
  555. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs.map +1 -1
  556. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
  557. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -1
  558. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +24 -24
  559. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
  560. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs +0 -10
  561. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs.map +1 -1
  562. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -25
  563. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs.map +1 -1
  564. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +36 -67
  565. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -1
  566. package/kotlin-kotlin-stdlib/{KTypeHelpers.mjs → kotlin/reflect/js/internal/KTypeHelpers.mjs} +13 -13
  567. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs.map +1 -0
  568. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs +17 -17
  569. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs.map +1 -1
  570. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +18 -16
  571. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs.map +1 -1
  572. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +58 -47
  573. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
  574. package/kotlin-kotlin-stdlib/{reflection.mjs → kotlin/reflect/js/internal/reflection.mjs} +7 -47
  575. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs.map +1 -0
  576. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +43 -43
  577. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
  578. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +33 -33
  579. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
  580. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +18 -18
  581. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
  582. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +1 -1
  583. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs.map +1 -1
  584. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
  585. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs.map +1 -1
  586. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  587. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +56 -49
  588. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
  589. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +59 -59
  590. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -1
  591. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +26 -28
  592. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
  593. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +43 -43
  594. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
  595. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +32 -22
  596. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs.map +1 -1
  597. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +397 -412
  598. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
  599. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +63 -61
  600. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
  601. package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs.map +1 -1
  602. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  603. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs.map +1 -1
  604. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  605. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
  606. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +33 -33
  607. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -1
  608. package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs.map +1 -1
  609. package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
  610. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +19 -19
  611. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs.map +1 -1
  612. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  613. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
  614. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -36
  615. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  616. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +54 -54
  617. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs.map +1 -1
  618. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +13 -13
  619. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
  620. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +29 -29
  621. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
  622. package/{Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime → kotlin-kotlin-stdlib/kotlin/time}/Clock.mjs +6 -6
  623. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs.map +1 -0
  624. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +144 -118
  625. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
  626. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -3
  627. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
  628. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +15 -12
  629. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs.map +1 -1
  630. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +953 -0
  631. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -0
  632. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +16 -0
  633. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs.map +1 -0
  634. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +31 -29
  635. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
  636. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +13 -9
  637. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
  638. package/kotlin-kotlin-stdlib/noPackageHacks.mjs.map +1 -1
  639. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  640. package/kotlin-kotlin-stdlib/reflectionJs.mjs.map +1 -1
  641. package/kotlin-kotlin-stdlib.mjs +7 -0
  642. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  643. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +30 -0
  644. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs.map +1 -0
  645. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +50 -0
  646. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs.map +1 -0
  647. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +85 -0
  648. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -0
  649. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +49 -0
  650. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -0
  651. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +80 -0
  652. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs.map +1 -0
  653. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +30 -0
  654. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs.map +1 -0
  655. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  656. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs.map +1 -1
  657. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +38 -0
  658. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map +1 -0
  659. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +15 -0
  660. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs.map +1 -0
  661. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +60 -0
  662. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs.map +1 -0
  663. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +29 -2
  664. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs.map +1 -1
  665. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  666. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs.map +1 -1
  667. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +5 -5
  668. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs.map +1 -1
  669. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +51 -0
  670. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs.map +1 -0
  671. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  672. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
  673. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +79 -74
  674. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  675. package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs.map +1 -1
  676. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  677. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  678. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +31 -195
  679. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  680. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +11 -11
  681. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  682. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +229 -216
  683. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  684. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +18 -62
  685. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  686. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +33 -33
  687. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  688. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -28
  689. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  690. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  691. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +19 -19
  692. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
  693. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  694. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +41 -32
  695. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  696. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +8 -3
  697. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
  698. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +2 -2
  699. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +47 -30
  700. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  701. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +51 -51
  702. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  703. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  704. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +35 -32
  705. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
  706. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  707. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  708. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
  709. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +10 -10
  710. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs.map +1 -1
  711. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +131 -131
  712. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  713. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +62 -103
  714. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  715. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +492 -641
  716. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  717. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  718. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
  719. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  720. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  721. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
  722. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -153
  723. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
  724. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  725. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +746 -1307
  726. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  727. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +107 -107
  728. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
  729. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +30 -28
  730. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  731. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  732. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
  733. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +20 -21
  734. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
  735. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +17 -16
  736. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  737. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +56 -83
  738. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
  739. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +56 -0
  740. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -0
  741. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +70 -0
  742. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -0
  743. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +51 -0
  744. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -0
  745. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +118 -0
  746. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -0
  747. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +249 -0
  748. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -0
  749. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +15 -72
  750. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
  751. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +25 -0
  752. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs.map +1 -0
  753. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +81 -249
  754. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  755. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +89 -0
  756. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -0
  757. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +286 -0
  758. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -0
  759. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +305 -0
  760. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -0
  761. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +243 -0
  762. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -0
  763. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +145 -0
  764. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -0
  765. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +413 -0
  766. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -0
  767. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  768. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +20 -4
  769. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs.map +1 -1
  770. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +217 -0
  771. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -0
  772. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +38 -0
  773. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -0
  774. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -9
  775. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  776. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +24 -15
  777. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
  778. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +30 -0
  779. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -0
  780. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +16 -0
  781. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs.map +1 -0
  782. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +35 -1
  783. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs.map +1 -1
  784. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +55 -51
  785. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  786. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +5 -5
  787. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
  788. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +141 -141
  789. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  790. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +4 -4
  791. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
  792. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +33 -33
  793. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
  794. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  795. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +30 -30
  796. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
  797. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs +2 -5
  798. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs.map +1 -1
  799. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  800. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +10 -8
  801. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
  802. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  803. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +26 -26
  804. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
  805. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +15 -19
  806. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  807. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +21 -21
  808. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  809. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +257 -0
  810. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -0
  811. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +101 -125
  812. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
  813. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +54 -54
  814. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  815. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  816. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  817. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +7 -7
  818. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  819. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +279 -291
  820. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  821. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +71 -68
  822. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  823. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  824. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +35 -31
  825. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  826. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +79 -79
  827. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  828. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +200 -204
  829. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  830. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  831. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  832. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  833. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  834. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +69 -63
  835. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  836. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +109 -100
  837. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  838. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs +5 -2
  839. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  840. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  841. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  842. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs +9 -9
  843. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +47 -49
  844. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  845. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +64 -66
  846. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
  847. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +35 -35
  848. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
  849. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +136 -138
  850. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  851. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +8 -12
  852. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  853. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  854. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs.map +1 -1
  855. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +94 -89
  856. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  857. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +56 -56
  858. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
  859. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +52 -52
  860. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  861. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +117 -121
  862. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  863. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +110 -110
  864. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs.map +1 -1
  865. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +58 -59
  866. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  867. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +66 -66
  868. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
  869. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  870. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
  871. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  872. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  873. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
  874. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  875. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +67 -30
  876. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  877. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +78 -78
  878. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  879. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +308 -308
  880. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  881. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +29 -29
  882. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  883. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +42 -46
  884. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  885. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +19 -19
  886. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  887. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs.map +1 -1
  888. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  889. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
  890. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +17 -17
  891. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  892. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +44 -44
  893. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  894. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +23 -25
  895. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  896. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +37 -37
  897. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  898. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +62 -60
  899. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  900. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +4 -4
  901. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
  902. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +137 -147
  903. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  904. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs +10 -10
  905. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
  906. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +454 -454
  907. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  908. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +276 -277
  909. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  910. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +109 -112
  911. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  912. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +99 -99
  913. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  914. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +85 -85
  915. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  916. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +55 -55
  917. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  918. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs.map +1 -1
  919. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +2 -4
  920. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
  921. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
  922. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  923. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  924. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs.map +1 -1
  925. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +191 -166
  926. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  927. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +281 -283
  928. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  929. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  930. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs.map +1 -1
  931. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +205 -197
  932. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
  933. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  934. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs.map +1 -1
  935. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +72 -72
  936. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
  937. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
  938. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  939. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +46 -46
  940. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
  941. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +36 -38
  942. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  943. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +66 -52
  944. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  945. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +19 -19
  946. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  947. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +3 -3
  948. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
  949. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  950. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs.map +1 -1
  951. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +113 -234
  952. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
  953. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +13 -13
  954. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
  955. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  956. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
  957. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +195 -190
  958. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  959. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +142 -142
  960. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  961. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  962. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -1
  963. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +6 -6
  964. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
  965. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +281 -276
  966. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  967. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  968. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
  969. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  970. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs.map +1 -1
  971. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +354 -588
  972. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
  973. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs +1 -1
  974. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs.map +1 -1
  975. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  976. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs.map +1 -1
  977. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +142 -278
  978. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  979. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
  980. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
  981. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs +3 -3
  982. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs.map +1 -1
  983. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +3 -3
  984. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
  985. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  986. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
  987. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +104 -162
  988. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  989. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +66 -113
  990. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  991. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +4 -14
  992. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs.map +1 -1
  993. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +36 -75
  994. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
  995. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +165 -295
  996. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  997. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +54 -60
  998. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  999. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +6 -6
  1000. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs.map +1 -1
  1001. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  1002. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +14 -14
  1003. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs.map +1 -1
  1004. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +57 -57
  1005. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
  1006. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -8
  1007. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
  1008. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +155 -323
  1009. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  1010. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +88 -246
  1011. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
  1012. package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs.map +1 -1
  1013. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +60 -131
  1014. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
  1015. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +12 -12
  1016. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  1017. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +21 -10
  1018. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs.map +1 -1
  1019. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +108 -263
  1020. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  1021. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +105 -155
  1022. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
  1023. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +233 -462
  1024. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  1025. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs.map +1 -1
  1026. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +222 -618
  1027. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
  1028. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
  1029. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs.map +1 -1
  1030. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +119 -244
  1031. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
  1032. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +74 -184
  1033. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
  1034. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +74 -218
  1035. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  1036. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +721 -0
  1037. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -0
  1038. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +169 -247
  1039. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
  1040. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +193 -295
  1041. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  1042. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +85 -161
  1043. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
  1044. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  1045. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs.map +1 -1
  1046. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +15 -11
  1047. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs.map +1 -1
  1048. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +14 -14
  1049. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -1
  1050. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +45 -129
  1051. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  1052. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +26 -26
  1053. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
  1054. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +150 -185
  1055. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
  1056. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +41 -0
  1057. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -0
  1058. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +0 -2
  1059. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs.map +1 -1
  1060. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +128 -213
  1061. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  1062. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +5 -37
  1063. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
  1064. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  1065. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
  1066. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +82 -108
  1067. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  1068. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +32 -32
  1069. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs.map +1 -1
  1070. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
  1071. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs.map +1 -1
  1072. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  1073. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs.map +1 -1
  1074. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  1075. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
  1076. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +71 -156
  1077. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
  1078. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +62 -64
  1079. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs.map +1 -1
  1080. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +102 -364
  1081. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  1082. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +60 -170
  1083. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
  1084. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  1085. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs.map +1 -1
  1086. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -6
  1087. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs.map +1 -1
  1088. package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs.map +1 -1
  1089. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +11 -11
  1090. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs.map +1 -1
  1091. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  1092. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs.map +1 -1
  1093. package/ktor-ktor-events/io/ktor/events/Events.mjs +16 -16
  1094. package/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
  1095. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +162 -162
  1096. package/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
  1097. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +121 -121
  1098. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
  1099. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +35 -35
  1100. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
  1101. package/ktor-ktor-http/io/ktor/http/Headers.mjs +63 -63
  1102. package/ktor-ktor-http/io/ktor/http/Headers.mjs.map +1 -1
  1103. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +117 -118
  1104. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
  1105. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +131 -130
  1106. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
  1107. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +19 -19
  1108. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs.map +1 -1
  1109. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +14 -17
  1110. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
  1111. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -44
  1112. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs.map +1 -1
  1113. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +71 -71
  1114. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
  1115. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +18 -16
  1116. package/ktor-ktor-http/io/ktor/http/Parameters.mjs.map +1 -1
  1117. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  1118. package/ktor-ktor-http/io/ktor/http/Query.mjs.map +1 -1
  1119. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
  1120. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
  1121. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  1122. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs.map +1 -1
  1123. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +42 -42
  1124. package/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
  1125. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +26 -28
  1126. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -1
  1127. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +47 -106
  1128. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -1
  1129. package/ktor-ktor-http/io/ktor/http/Url.mjs +88 -128
  1130. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  1131. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +56 -59
  1132. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -1
  1133. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +10 -10
  1134. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs.map +1 -1
  1135. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  1136. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs.map +1 -1
  1137. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +13 -13
  1138. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs.map +1 -1
  1139. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +6 -7
  1140. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
  1141. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +176 -238
  1142. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
  1143. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +90 -334
  1144. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
  1145. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +239 -580
  1146. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
  1147. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +53 -110
  1148. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
  1149. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +91 -91
  1150. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
  1151. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  1152. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs.map +1 -1
  1153. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs.map +1 -1
  1154. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +54 -199
  1155. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -1
  1156. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  1157. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  1158. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs.map +1 -1
  1159. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +1 -38
  1160. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs.map +1 -1
  1161. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +258 -419
  1162. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  1163. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  1164. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs.map +1 -1
  1165. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +144 -350
  1166. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
  1167. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  1168. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
  1169. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +272 -1739
  1170. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
  1171. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +24 -105
  1172. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
  1173. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +118 -356
  1174. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  1175. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +12 -14
  1176. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
  1177. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +43 -93
  1178. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
  1179. package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs.map +1 -1
  1180. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  1181. package/{ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs → ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs} +3 -3
  1182. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs.map +1 -0
  1183. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +20 -21
  1184. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
  1185. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +19 -19
  1186. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
  1187. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +118 -117
  1188. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
  1189. package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs.map +1 -1
  1190. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +37 -33
  1191. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs.map +1 -1
  1192. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  1193. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs.map +1 -1
  1194. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  1195. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
  1196. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +8 -8
  1197. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
  1198. package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs.map +1 -1
  1199. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  1200. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs.map +1 -1
  1201. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +2 -1
  1202. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs.map +1 -1
  1203. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -14
  1204. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs.map +1 -1
  1205. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +9 -20
  1206. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs.map +1 -1
  1207. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  1208. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs.map +1 -1
  1209. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +17 -17
  1210. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
  1211. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  1212. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs.map +1 -1
  1213. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  1214. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  1215. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  1216. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  1217. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +20 -20
  1218. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs.map +1 -1
  1219. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +99 -270
  1220. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
  1221. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +6 -6
  1222. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -1
  1223. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +216 -564
  1224. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  1225. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +40 -40
  1226. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  1227. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  1228. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs.map +1 -1
  1229. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +19 -20
  1230. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
  1231. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  1232. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs.map +1 -1
  1233. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +64 -53
  1234. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
  1235. package/ktor-ktor-utils/io/ktor/util/Charset.mjs.map +1 -1
  1236. package/ktor-ktor-utils/io/ktor/util/Collections.mjs.map +1 -1
  1237. package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs.map +1 -1
  1238. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  1239. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
  1240. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +70 -55
  1241. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
  1242. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -5
  1243. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs.map +1 -1
  1244. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +63 -67
  1245. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs.map +1 -1
  1246. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs +3 -3
  1247. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs.map +1 -1
  1248. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +154 -161
  1249. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
  1250. package/ktor-ktor-utils/io/ktor/util/Text.mjs +10 -10
  1251. package/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -1
  1252. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  1253. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs.map +1 -1
  1254. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +112 -112
  1255. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  1256. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +11 -12
  1257. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
  1258. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +23 -23
  1259. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
  1260. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +15 -15
  1261. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs.map +1 -1
  1262. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +3 -3
  1263. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs.map +1 -1
  1264. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +45 -106
  1265. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  1266. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
  1267. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
  1268. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +72 -76
  1269. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
  1270. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs.map +1 -1
  1271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  1272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs.map +1 -1
  1273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
  1274. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  1275. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs.map +1 -1
  1276. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -4
  1277. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs.map +1 -1
  1278. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs.map +1 -1
  1279. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs.map +1 -1
  1280. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +62 -62
  1281. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  1282. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  1283. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs.map +1 -1
  1284. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  1285. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs.map +1 -1
  1286. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +22 -32
  1287. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -1
  1288. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -3
  1289. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  1290. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -87
  1291. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs.map +1 -1
  1292. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +17 -23
  1293. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -1
  1294. package/package.json +3 -4
  1295. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Clock.mjs.map +0 -1
  1296. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs +0 -258
  1297. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs.map +0 -1
  1298. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs +0 -24
  1299. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs.map +0 -1
  1300. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +0 -845
  1301. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs.map +0 -1
  1302. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs +0 -46
  1303. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs.map +0 -1
  1304. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs +0 -53
  1305. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs.map +0 -1
  1306. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.d.ts +0 -14
  1307. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.mjs +0 -12
  1308. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +0 -55
  1309. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs.map +0 -1
  1310. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +0 -54
  1311. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs.map +0 -1
  1312. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +0 -23
  1313. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs +0 -4
  1314. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +0 -108
  1315. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +0 -1
  1316. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +0 -2412
  1317. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +0 -1
  1318. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.d.ts +0 -3
  1319. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.mjs +0 -12
  1320. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.mjs +0 -727
  1321. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.mjs.map +0 -1
  1322. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.d.ts +0 -10
  1323. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs +0 -4
  1324. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs +0 -12
  1325. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +0 -272
  1326. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs.map +0 -1
  1327. package/kotlin-kotlin-stdlib/KTypeHelpers.mjs.map +0 -1
  1328. package/kotlin-kotlin-stdlib/kotlin/Number.mjs +0 -22
  1329. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs +0 -387
  1330. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs.map +0 -1
  1331. package/kotlin-kotlin-stdlib/reflection.mjs.map +0 -1
  1332. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +0 -56
  1333. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs.map +0 -1
  1334. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +0 -381
  1335. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs.map +0 -1
  1336. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +0 -52
  1337. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs.map +0 -1
  1338. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +0 -161
  1339. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs.map +0 -1
  1340. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +0 -39
  1341. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs.map +0 -1
  1342. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +0 -1338
  1343. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs.map +0 -1
  1344. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +0 -122
  1345. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs.map +0 -1
  1346. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs +0 -12
  1347. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs.map +0 -1
  1348. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs +0 -13
  1349. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +0 -29
  1350. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs.map +0 -1
  1351. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +0 -1339
  1352. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs.map +0 -1
  1353. package/ktor-ktor-client-cio.mjs +0 -12
  1354. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs.map +0 -1
  1355. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs +0 -40
  1356. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs.map +0 -1
  1357. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs +0 -23
  1358. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs.map +0 -1
  1359. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs +0 -46
  1360. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs.map +0 -1
  1361. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +0 -680
  1362. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs.map +0 -1
  1363. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +0 -221
  1364. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs.map +0 -1
  1365. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +0 -171
  1366. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs.map +0 -1
  1367. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +0 -51
  1368. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs.map +0 -1
  1369. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +0 -58
  1370. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs.map +0 -1
  1371. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +0 -28
  1372. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +0 -1
  1373. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +0 -107
  1374. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs.map +0 -1
  1375. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs +0 -22
  1376. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs.map +0 -1
  1377. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs +0 -22
  1378. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs.map +0 -1
  1379. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +0 -42
  1380. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs.map +0 -1
  1381. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +0 -35
  1382. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs.map +0 -1
  1383. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +0 -107
  1384. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs.map +0 -1
  1385. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +0 -304
  1386. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs.map +0 -1
  1387. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +0 -573
  1388. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs.map +0 -1
  1389. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +0 -26
  1390. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs.map +0 -1
  1391. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +0 -129
  1392. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs.map +0 -1
  1393. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +0 -33
  1394. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs.map +0 -1
  1395. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +0 -71
  1396. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs.map +0 -1
  1397. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +0 -34
  1398. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs.map +0 -1
  1399. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +0 -41
  1400. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs.map +0 -1
  1401. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs +0 -56
  1402. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs.map +0 -1
  1403. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +0 -163
  1404. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs.map +0 -1
  1405. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs +0 -18
  1406. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs.map +0 -1
  1407. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +0 -99
  1408. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs.map +0 -1
  1409. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs +0 -22
  1410. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +0 -33
  1411. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs.map +0 -1
  1412. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs +0 -32
  1413. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs.map +0 -1
  1414. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +0 -113
  1415. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs.map +0 -1
  1416. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs +0 -11
  1417. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs.map +0 -1
  1418. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +0 -16
  1419. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs.map +0 -1
  1420. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +0 -47
  1421. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +0 -1
  1422. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +0 -47
  1423. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs.map +0 -1
  1424. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs +0 -19
  1425. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs.map +0 -1
  1426. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +0 -846
  1427. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs.map +0 -1
  1428. /package/{ktor-ktor-client-cio.mjs.map → commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map} +0 -0
  1429. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs.map → commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs.map} +0 -0
  1430. /package/commons-commons-core/cash/atto/commons/{AttoSigner.js.export.mjs.map → AttoPublicKey.js.export.mjs.map} +0 -0
  1431. /package/commons-commons-core/cash/atto/commons/{AttoSeed.export.d.ts → AttoSeed.export.d.mts} +0 -0
  1432. /package/{commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs.map} +0 -0
  1433. /package/commons-commons-core/cash/atto/commons/{AttoSocketAddress.export.d.ts → AttoSocketAddress.export.d.mts} +0 -0
  1434. /package/commons-commons-core/cash/atto/commons/{Extensions.export.d.ts → Extensions.export.d.mts} +0 -0
  1435. /package/commons-commons-node/cash/atto/commons/node/{NodeExtensions.export.d.ts → NodeExtensions.export.d.mts} +0 -0
  1436. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs.map → commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs.map} +0 -0
  1437. /package/{commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map} +0 -0
  1438. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs.map → kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs.map} +0 -0
  1439. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.d.ts → ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.mts} +0 -0
@@ -22,7 +22,6 @@ import {
22
22
  import { enumEntries20mr21zbe3az4 as enumEntries } from '../../../../kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs';
23
23
  import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
24
24
  import { Buffergs925ekssbch as Buffer } from '../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs';
25
- import { Long2qws0ah9gnpki as Long } from '../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
26
25
  import {
27
26
  readAttoBlockType2dwlrmdhyg48p as readAttoBlockType,
28
27
  readAttoNetwork1knl8nqvjlp4t as readAttoNetwork,
@@ -41,69 +40,73 @@ import {
41
40
  writeAttoPublicKey1trmkfrbx6n44 as writeAttoPublicKey,
42
41
  writeAttoHeight2lxvq4mztktmg as writeAttoHeight,
43
42
  writeAttoAmount2hhzaor5f9e2u as writeAttoAmount,
44
- writeInstant3u6p01dcjd90s as writeInstant,
43
+ writeInstant2bpcbovpq78pu as writeInstant,
45
44
  writeAttoHash2bu4sgme3cpn as writeAttoHash,
46
45
  } from './AttoBufferExtensions.mjs';
47
- import { getKClass1s3j9wy1cofik as getKClass } from '../../../../kotlin-kotlin-stdlib/reflection.mjs';
46
+ import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
48
47
  import { SealedClassSerializeriwipiibk55zc as SealedClassSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs';
49
48
  import {
50
49
  SerializerFactory1qv9hivitncuv as SerializerFactory,
51
50
  typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
52
51
  GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
53
52
  } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
54
- import { System_instance3dr57gee6r420 as System_instance } from '../../../../Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Clock.mjs';
53
+ import {
54
+ Error30j3ojkdbobic as Error_0,
55
+ Ok_instance16o85l22vdqrr as Ok_instance,
56
+ Ok13drvlkukl2fs as Ok,
57
+ } from './AttoValidation.mjs';
58
+ import {
59
+ Companion_instance1fg0f1h3yksy8 as Companion_instance,
60
+ AttoInstantAsLongSerializer_getInstance2fa8f20kvnk9j as AttoInstantAsLongSerializer_getInstance,
61
+ } from './AttoInstant.mjs';
55
62
  import {
56
63
  Companion_getInstance3vz87v4c01z2t as Companion_getInstance,
57
64
  toDuration7gy6v749ektt as toDuration,
58
65
  } from '../../../../kotlin-kotlin-stdlib/kotlin/time/Duration.mjs';
59
66
  import { DurationUnit_MINUTES_getInstancejlptjvjgjkm8 as DurationUnit_MINUTES_getInstance } from '../../../../kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs';
67
+ import { isInterface3d6p8outrmvmk as isInterface } from '../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
68
+ import {
69
+ Companion_getInstancezafbg69jdanb as Companion_getInstance_0,
70
+ AttoAmountAsULongSerializer_getInstanceh2609yxm2twf as AttoAmountAsULongSerializer_getInstance,
71
+ } from './AttoAmount.mjs';
72
+ import {
73
+ Companion_getInstance1rciukis3eslg as Companion_getInstance_1,
74
+ AttoHeightSerializer_getInstance3gs6ucbpk3jcu as AttoHeightSerializer_getInstance,
75
+ AttoHeight1604ccqlfsk68 as AttoHeight,
76
+ } from './AttoHeight.mjs';
60
77
  import {
61
78
  AttoHashableglgxag9qublj as AttoHashable,
62
- AttoHashSerializer_getInstanceyjhdtkeglit2 as AttoHashSerializer_getInstance,
79
+ AttoHashAsStringSerializer_getInstanceedliht4fjm38 as AttoHashAsStringSerializer_getInstance,
63
80
  } from './AttoHash.mjs';
64
81
  import { values1ix93lj72gxe9 as values } from './AttoNetwork.mjs';
65
82
  import { createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs';
66
- import { Companion_getInstance19ckbg90y6ov9 as Companion_getInstance_0 } from './AttoAlgorithm.mjs';
83
+ import { Companion_getInstance19ckbg90y6ov9 as Companion_getInstance_2 } from './AttoAlgorithm.mjs';
67
84
  import { LazyThreadSafetyMode_PUBLICATION_getInstance3hlj875zwihx0 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
68
85
  import {
69
86
  lazy1261dae0bgscp as lazy,
70
87
  lazy2hsh8ze7j6ikd as lazy_0,
71
88
  } from '../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
72
- import { toLongw1zpgk99d84b as toLong } from '../../../../kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs';
89
+ import { fromInt2ii0rejb1w62w as fromInt } from '../../../../kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs';
73
90
  import { IllegalArgumentException2asla15b5jaob as IllegalArgumentException } from '../../../../kotlin-kotlin-stdlib/kotlin/exceptions.mjs';
74
91
  import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
75
92
  import {
76
93
  AttoVersionSerializer_getInstance3dtcmmiz89i68 as AttoVersionSerializer_getInstance,
77
94
  AttoVersion16od9j7ykpw2t as AttoVersion,
78
95
  } from './AttoVersion.mjs';
79
- import { AttoPublicKeySerializer_getInstance148kpa77zxk91 as AttoPublicKeySerializer_getInstance } from './AttoPublicKey.mjs';
80
- import {
81
- AttoHeightSerializer_getInstance3gs6ucbpk3jcu as AttoHeightSerializer_getInstance,
82
- AttoHeight1604ccqlfsk68 as AttoHeight,
83
- } from './AttoHeight.mjs';
96
+ import { AttoPublicKeyAsStringSerializer_getInstance1x5nm513mnj2t as AttoPublicKeyAsStringSerializer_getInstance } from './AttoPublicKey.mjs';
84
97
  import {
85
- AttoAmountSerializer_getInstance2dl5qvcd2xkk5 as AttoAmountSerializer_getInstance,
86
- Companion_getInstancezafbg69jdanb as Companion_getInstance_1,
87
- } from './AttoAmount.mjs';
88
- import { InstantMillisSerializer_getInstance119d7idybowz2 as InstantMillisSerializer_getInstance } from './serialiazer/InstantMillisSerializer.mjs';
98
+ AttoAddressAsStringSerializer_getInstance5j63k7wo5ww2 as AttoAddressAsStringSerializer_getInstance,
99
+ AttoAddressi1gjrmqbg81z as AttoAddress,
100
+ } from './AttoAddress.mjs';
89
101
  import { UnknownFieldExceptiona60e3a6v1xqo as UnknownFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
90
102
  import {
91
103
  protoOf180f3jzyo7rfj as protoOf,
92
104
  createThis2j2avj17cvnv2 as createThis,
93
105
  } from '../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
94
- import { AttoAddressi1gjrmqbg81z as AttoAddress } from './AttoAddress.mjs';
95
106
  import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
96
- import { getPropertyCallableRef1ajb9in178r5r as getPropertyCallableRef } from '../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
97
- import {
98
- _UInt___init__impl__l7qpdltd1eeof8nsuj as _UInt___init__impl__l7qpdl,
99
- _UInt___get_data__impl__f0vqqw13y1a2xkii3dn as _UInt___get_data__impl__f0vqqw,
100
- } from '../../../../kotlin-kotlin-stdlib/kotlin/UInt.mjs';
101
- import {
102
- _ULong___init__impl__c78o9k1p6qzv0dh0bvg as _ULong___init__impl__c78o9k,
103
- _ULong___get_data__impl__fggpzb2qlkrfp9zs48z as _ULong___get_data__impl__fggpzb,
104
- } from '../../../../kotlin-kotlin-stdlib/kotlin/ULong.mjs';
105
- import { ulongCompare29yg6v52hxi4l as ulongCompare } from '../../../../kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs';
107
+ import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
106
108
  import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
109
+ import { _ULong___init__impl__c78o9k1p6qzv0dh0bvg as _ULong___init__impl__c78o9k } from '../../../../kotlin-kotlin-stdlib/kotlin/ULong.mjs';
107
110
  import { _UShort___init__impl__jigrne2jag2u7194ozm as _UShort___init__impl__jigrne } from '../../../../kotlin-kotlin-stdlib/kotlin/UShort.mjs';
108
111
  //region block: imports
109
112
  var imul = Math.imul;
@@ -125,23 +128,23 @@ function Companion() {
125
128
  if (CompanionClass === VOID) {
126
129
  class $ {
127
130
  constructor() {
128
- Companion_instance = this;
131
+ Companion_instance_0 = this;
129
132
  var tmp = this;
130
133
  // Inline function 'kotlin.collections.associateBy' call
131
134
  var this_0 = get_entries();
132
135
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
133
136
  // Inline function 'kotlin.collections.associateByTo' call
134
- var destination = LinkedHashMap().vb(capacity);
135
- var _iterator__ex2g4s = this_0.d1();
136
- while (_iterator__ex2g4s.e1()) {
137
- var element = _iterator__ex2g4s.f1();
137
+ var destination = LinkedHashMap().wb(capacity);
138
+ var _iterator__ex2g4s = this_0.k1();
139
+ while (_iterator__ex2g4s.l1()) {
140
+ var element = _iterator__ex2g4s.m1();
138
141
  var tmp$ret$0 = new (UByte())(element.code);
139
- destination.d3(tmp$ret$0, element);
142
+ destination.h3(tmp$ret$0, element);
140
143
  }
141
- tmp.y2y_1 = destination;
144
+ tmp.i2x_1 = destination;
142
145
  }
143
146
  from(code) {
144
- var tmp0_elvis_lhs = this.y2y_1.w2(new (UByte())(code));
147
+ var tmp0_elvis_lhs = this.i2x_1.p3(new (UByte())(code));
145
148
  return tmp0_elvis_lhs == null ? AttoBlockType_UNKNOWN_getInstance() : tmp0_elvis_lhs;
146
149
  }
147
150
  }
@@ -150,12 +153,12 @@ function Companion() {
150
153
  }
151
154
  return CompanionClass;
152
155
  }
153
- var Companion_instance;
154
- function Companion_getInstance_2() {
156
+ var Companion_instance_0;
157
+ function Companion_getInstance_3() {
155
158
  AttoBlockType_initEntries();
156
- if (Companion_instance === VOID)
159
+ if (Companion_instance_0 === VOID)
157
160
  new (Companion())();
158
- return Companion_instance;
161
+ return Companion_instance_0;
159
162
  }
160
163
  function values_0() {
161
164
  return [AttoBlockType_UNKNOWN_getInstance(), AttoBlockType_OPEN_getInstance(), AttoBlockType_RECEIVE_getInstance(), AttoBlockType_SEND_getInstance(), AttoBlockType_CHANGE_getInstance()];
@@ -174,7 +177,7 @@ function valueOf(value) {
174
177
  return AttoBlockType_CHANGE_getInstance();
175
178
  default:
176
179
  AttoBlockType_initEntries();
177
- THROW_IAE('No enum constant value.');
180
+ THROW_IAE('No enum constant cash.atto.commons.AttoBlockType.' + value);
178
181
  break;
179
182
  }
180
183
  }
@@ -193,7 +196,7 @@ function AttoBlockType_initEntries() {
193
196
  AttoBlockType_RECEIVE_instance = new (AttoBlockType())('RECEIVE', 2, _UByte___init__impl__g9hnc4(1), 126);
194
197
  AttoBlockType_SEND_instance = new (AttoBlockType())('SEND', 3, _UByte___init__impl__g9hnc4(2), 134);
195
198
  AttoBlockType_CHANGE_instance = new (AttoBlockType())('CHANGE', 4, _UByte___init__impl__g9hnc4(3), 126);
196
- Companion_getInstance_2();
199
+ Companion_getInstance_3();
197
200
  }
198
201
  var $ENTRIES;
199
202
  var AttoBlockTypeClass;
@@ -205,17 +208,17 @@ function AttoBlockType() {
205
208
  this.code = code;
206
209
  this.size = size;
207
210
  }
208
- d2y() {
211
+ m2w() {
209
212
  return this.code;
210
213
  }
211
- i1() {
214
+ n1() {
212
215
  return this.size;
213
216
  }
214
217
  get name() {
215
- return this.i3();
218
+ return this.x3();
216
219
  }
217
220
  get ordinal() {
218
- return this.j3();
221
+ return this.y3();
219
222
  }
220
223
  }
221
224
  initMetadataForClass($, 'AttoBlockType');
@@ -232,6 +235,15 @@ function HeightSupport() {
232
235
  }
233
236
  return HeightSupportClass;
234
237
  }
238
+ var AddressSupportClass;
239
+ function AddressSupport() {
240
+ if (AddressSupportClass === VOID) {
241
+ class $ {}
242
+ initMetadataForInterface($, 'AddressSupport');
243
+ AddressSupportClass = $;
244
+ }
245
+ return AddressSupportClass;
246
+ }
235
247
  var CompanionClass_0;
236
248
  function Companion_0() {
237
249
  if (CompanionClass_0 === VOID) {
@@ -239,21 +251,21 @@ function Companion_0() {
239
251
  fromBuffer(serializedBlock) {
240
252
  // Inline function 'kotlin.let' call
241
253
  var it = new (Buffer())();
242
- serializedBlock.i2s(it, new (Long())(0, 0), new (Long())(1, 0));
254
+ serializedBlock.v27(it, 0n, 1n);
243
255
  var type = readAttoBlockType(it);
244
256
  var tmp;
245
- switch (type.h3_1) {
257
+ switch (type.w3_1) {
246
258
  case 3:
247
- tmp = Companion_getInstance_4().a2z(serializedBlock);
259
+ tmp = Companion_getInstance_5().k2x(serializedBlock);
248
260
  break;
249
261
  case 2:
250
- tmp = Companion_getInstance_5().a2z(serializedBlock);
262
+ tmp = Companion_getInstance_6().k2x(serializedBlock);
251
263
  break;
252
264
  case 1:
253
- tmp = Companion_getInstance_6().a2z(serializedBlock);
265
+ tmp = Companion_getInstance_7().k2x(serializedBlock);
254
266
  break;
255
267
  case 4:
256
- tmp = Companion_getInstance_7().a2z(serializedBlock);
268
+ tmp = Companion_getInstance_8().k2x(serializedBlock);
257
269
  break;
258
270
  case 0:
259
271
  return null;
@@ -263,7 +275,7 @@ function Companion_0() {
263
275
  }
264
276
  return tmp;
265
277
  }
266
- e2v() {
278
+ k2t() {
267
279
  var tmp = getKClass(AttoBlock());
268
280
  // Inline function 'kotlin.arrayOf' call
269
281
  // Inline function 'kotlin.js.unsafeCast' call
@@ -277,10 +289,10 @@ function Companion_0() {
277
289
  // Inline function 'kotlin.js.unsafeCast' call
278
290
  // Inline function 'kotlin.js.asDynamic' call
279
291
  var tmp$ret$8 = [];
280
- return SealedClassSerializer().du('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
292
+ return SealedClassSerializer().a1m('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
281
293
  }
282
- x15(typeParamsSerializers) {
283
- return this.e2v();
294
+ w1x(typeParamsSerializers) {
295
+ return this.k2t();
284
296
  }
285
297
  }
286
298
  initMetadataForCompanion($, VOID, [SerializerFactory()]);
@@ -288,29 +300,80 @@ function Companion_0() {
288
300
  }
289
301
  return CompanionClass_0;
290
302
  }
291
- var Companion_instance_0;
292
- function Companion_getInstance_3() {
293
- return Companion_instance_0;
303
+ var Companion_instance_1;
304
+ function Companion_getInstance_4() {
305
+ return Companion_instance_1;
294
306
  }
295
- function isValid() {
296
- var tmp;
297
- if (this.version.g2z(get_maxVersion()) <= 0) {
298
- var tmp_0 = this.timestamp;
299
- var tmp_1 = System_instance.i1e();
300
- // Inline function 'kotlin.time.Companion.minutes' call
301
- Companion_getInstance();
302
- var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
303
- tmp = tmp_0.r1w(tmp_1.p1w(tmp$ret$0)) <= 0;
307
+ function validate() {
308
+ if (this.version.p2x(get_maxVersion()) > 0) {
309
+ return new (Error_0())('Invalid version: version=' + this.version.toString() + ' > max=' + get_maxVersion().toString());
310
+ }
311
+ var now = Companion_instance.now();
312
+ var tmp = this.timestamp;
313
+ // Inline function 'kotlin.time.Companion.minutes' call
314
+ Companion_getInstance();
315
+ var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
316
+ if (tmp.x2u(now.jp(tmp$ret$0)) > 0) {
317
+ return new (Error_0())('Timestamp too far in the future: timestamp=' + this.timestamp.toString() + ', now=' + now.toString() + ', tolerance=1m');
318
+ }
319
+ if (!(this.algorithm.publicKeySize === this.publicKey.value.length)) {
320
+ return new (Error_0())('Public key size does not match algorithm: algorithm.publicKeySize=' + this.algorithm.publicKeySize + ', ' + ('publicKey.size=' + this.publicKey.value.length));
321
+ }
322
+ var tmp_0;
323
+ if (isInterface(this, PreviousSupport())) {
324
+ tmp_0 = !(this.previous.value.length === this.algorithm.hashSize);
325
+ } else {
326
+ tmp_0 = false;
327
+ }
328
+ if (tmp_0) {
329
+ return new (Error_0())('Previous hash size does not match algorithm: algorithm.hashSize=' + this.algorithm.hashSize + ', ' + ('previous.size=' + this.previous.value.length));
330
+ }
331
+ var tmp_1;
332
+ if (isInterface(this, ReceiveSupport())) {
333
+ tmp_1 = !(this.sendHash.value.length === this.sendHashAlgorithm.hashSize);
304
334
  } else {
305
- tmp = false;
335
+ tmp_1 = false;
336
+ }
337
+ if (tmp_1) {
338
+ return new (Error_0())('Send hash size does not match algorithm: sendHash.size=' + this.sendHash.value.length + ', ' + ('sendHashAlgorithm.hashSize=' + this.sendHashAlgorithm.hashSize));
339
+ }
340
+ var tmp_2;
341
+ if (isInterface(this, ReceiveSupport())) {
342
+ tmp_2 = this.balance.equals(Companion_getInstance_0().MIN);
343
+ } else {
344
+ tmp_2 = false;
345
+ }
346
+ if (tmp_2) {
347
+ return new (Error_0())('Balance must be greater than 0');
306
348
  }
307
- return tmp;
349
+ var tmp_3;
350
+ if (!(this instanceof AttoOpenBlock())) {
351
+ tmp_3 = this.height.q2x(Companion_getInstance_1().MIN) <= 0;
352
+ } else {
353
+ tmp_3 = false;
354
+ }
355
+ if (tmp_3) {
356
+ return new (Error_0())('Height must be greater than 1: height=' + this.height.toString());
357
+ }
358
+ var tmp_4;
359
+ if (isInterface(this, RepresentativeSupport())) {
360
+ tmp_4 = !(this.representativeAlgorithm.publicKeySize === this.representativePublicKey.value.length);
361
+ } else {
362
+ tmp_4 = false;
363
+ }
364
+ if (tmp_4) {
365
+ return new (Error_0())('Representative public key size does not match representative algorithm: ' + ('representativeAlgorithm.publicKeySize=' + this.representativeAlgorithm.publicKeySize + ', ') + ('representativePublicKey.size=' + this.representativePublicKey.value.length));
366
+ }
367
+ return Ok_instance;
368
+ }
369
+ function isValid() {
370
+ return this.validate().r2x();
308
371
  }
309
372
  var AttoBlockClass;
310
373
  function AttoBlock() {
311
374
  if (AttoBlockClass === VOID) {
312
375
  class $ {}
313
- initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AttoHashable()], VOID, VOID, {0: Companion_getInstance_3});
376
+ initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable()], VOID, VOID, {0: Companion_getInstance_4});
314
377
  AttoBlockClass = $;
315
378
  }
316
379
  return AttoBlockClass;
@@ -346,17 +409,17 @@ function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99() {
346
409
  return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
347
410
  }
348
411
  function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_0() {
349
- return Companion_getInstance_0().e2v();
412
+ return Companion_getInstance_2().k2t();
350
413
  }
351
414
  function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1() {
352
- return Companion_getInstance_0().e2v();
415
+ return Companion_getInstance_2().k2t();
353
416
  }
354
417
  var CompanionClass_1;
355
418
  function Companion_1() {
356
419
  if (CompanionClass_1 === VOID) {
357
420
  class $ {
358
421
  constructor() {
359
- Companion_instance_1 = this;
422
+ Companion_instance_2 = this;
360
423
  var tmp = this;
361
424
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
362
425
  var tmp_1 = lazy(tmp_0, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99);
@@ -366,19 +429,19 @@ function Companion_1() {
366
429
  // Inline function 'kotlin.arrayOf' call
367
430
  // Inline function 'kotlin.js.unsafeCast' call
368
431
  // Inline function 'kotlin.js.asDynamic' call
369
- tmp.z2y_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1), null, null];
432
+ tmp.j2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1), null, null, null, null];
370
433
  }
371
- a2z(serializedBlock) {
372
- if (toLong(AttoBlockType_SEND_getInstance().size).a2(serializedBlock.i1()) > 0) {
434
+ k2x(serializedBlock) {
435
+ if (fromInt(AttoBlockType_SEND_getInstance().size) > serializedBlock.n1()) {
373
436
  return null;
374
437
  }
375
438
  var blockType = readAttoBlockType(serializedBlock);
376
439
  if (!blockType.equals(AttoBlockType_SEND_getInstance())) {
377
- throw IllegalArgumentException().u('Invalid block type: ' + blockType.toString());
440
+ throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
378
441
  }
379
442
  return new (AttoSendBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock));
380
443
  }
381
- e2v() {
444
+ k2t() {
382
445
  return $serializer_getInstance();
383
446
  }
384
447
  }
@@ -387,11 +450,11 @@ function Companion_1() {
387
450
  }
388
451
  return CompanionClass_1;
389
452
  }
390
- var Companion_instance_1;
391
- function Companion_getInstance_4() {
392
- if (Companion_instance_1 === VOID)
453
+ var Companion_instance_2;
454
+ function Companion_getInstance_5() {
455
+ if (Companion_instance_2 === VOID)
393
456
  new (Companion_1())();
394
- return Companion_instance_1;
457
+ return Companion_instance_2;
395
458
  }
396
459
  var $serializerClass;
397
460
  function $serializer() {
@@ -399,42 +462,46 @@ function $serializer() {
399
462
  class $ {
400
463
  constructor() {
401
464
  $serializer_instance = this;
402
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this, 11);
403
- tmp0_serialDesc.w14('network', false);
404
- tmp0_serialDesc.w14('version', false);
405
- tmp0_serialDesc.w14('algorithm', false);
406
- tmp0_serialDesc.w14('publicKey', false);
407
- tmp0_serialDesc.w14('height', false);
408
- tmp0_serialDesc.w14('balance', false);
409
- tmp0_serialDesc.w14('timestamp', false);
410
- tmp0_serialDesc.w14('previous', false);
411
- tmp0_serialDesc.w14('receiverAlgorithm', false);
412
- tmp0_serialDesc.w14('receiverPublicKey', false);
413
- tmp0_serialDesc.w14('amount', false);
414
- this.k2z_1 = tmp0_serialDesc;
415
- }
416
- l2z(encoder, value) {
417
- var tmp0_desc = this.k2z_1;
418
- var tmp1_output = encoder.kx(tmp0_desc);
419
- var tmp2_cached = Companion_getInstance_4().z2y_1;
420
- tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.m2z_1);
421
- tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.n2z_1);
422
- tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.o2z_1);
423
- tmp1_output.bz(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), value.p2z_1);
424
- tmp1_output.bz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.q2z_1);
425
- tmp1_output.bz(tmp0_desc, 5, AttoAmountSerializer_getInstance(), value.r2z_1);
426
- tmp1_output.bz(tmp0_desc, 6, InstantMillisSerializer_getInstance(), value.s2z_1);
427
- tmp1_output.bz(tmp0_desc, 7, AttoHashSerializer_getInstance(), value.t2z_1);
428
- tmp1_output.bz(tmp0_desc, 8, tmp2_cached[8].s1(), value.receiverAlgorithm);
429
- tmp1_output.bz(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), value.receiverPublicKey);
430
- tmp1_output.bz(tmp0_desc, 10, AttoAmountSerializer_getInstance(), value.amount);
431
- tmp1_output.lx(tmp0_desc);
432
- }
433
- ys(encoder, value) {
434
- return this.l2z(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
435
- }
436
- zs(decoder) {
437
- var tmp0_desc = this.k2z_1;
465
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this, 13);
466
+ tmp0_serialDesc.v1w('network', false);
467
+ tmp0_serialDesc.v1w('version', false);
468
+ tmp0_serialDesc.v1w('algorithm', false);
469
+ tmp0_serialDesc.v1w('publicKey', false);
470
+ tmp0_serialDesc.v1w('height', false);
471
+ tmp0_serialDesc.v1w('balance', false);
472
+ tmp0_serialDesc.v1w('timestamp', false);
473
+ tmp0_serialDesc.v1w('previous', false);
474
+ tmp0_serialDesc.v1w('receiverAlgorithm', false);
475
+ tmp0_serialDesc.v1w('receiverPublicKey', false);
476
+ tmp0_serialDesc.v1w('amount', false);
477
+ tmp0_serialDesc.v1w('address', true);
478
+ tmp0_serialDesc.v1w('receiverAddress', true);
479
+ this.v2x_1 = tmp0_serialDesc;
480
+ }
481
+ w2x(encoder, value) {
482
+ var tmp0_desc = this.v2x_1;
483
+ var tmp1_output = encoder.h1p(tmp0_desc);
484
+ var tmp2_cached = Companion_getInstance_5().j2x_1;
485
+ tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.x2x_1);
486
+ tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.y2x_1);
487
+ tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.z2x_1);
488
+ tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.a2y_1);
489
+ tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.b2y_1);
490
+ tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.c2y_1);
491
+ tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.d2y_1);
492
+ tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.e2y_1);
493
+ tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.receiverAlgorithm);
494
+ tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
495
+ tmp1_output.y1q(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), value.amount);
496
+ tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.h2y_1);
497
+ tmp1_output.y1q(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.receiverAddress);
498
+ tmp1_output.i1p(tmp0_desc);
499
+ }
500
+ v1k(encoder, value) {
501
+ return this.w2x(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
502
+ }
503
+ w1k(decoder) {
504
+ var tmp0_desc = this.v2x_1;
438
505
  var tmp1_flag = true;
439
506
  var tmp2_index = 0;
440
507
  var tmp3_bitMask0 = 0;
@@ -449,101 +516,115 @@ function $serializer() {
449
516
  var tmp12_local8 = null;
450
517
  var tmp13_local9 = null;
451
518
  var tmp14_local10 = null;
452
- var tmp19_input = decoder.kx(tmp0_desc);
453
- var tmp20_cached = Companion_getInstance_4().z2y_1;
454
- if (tmp19_input.zx()) {
455
- tmp4_local0 = tmp19_input.wx(tmp0_desc, 0, tmp20_cached[0].s1(), tmp4_local0);
519
+ var tmp15_local11 = null;
520
+ var tmp16_local12 = null;
521
+ var tmp19_input = decoder.h1p(tmp0_desc);
522
+ var tmp20_cached = Companion_getInstance_5().j2x_1;
523
+ if (tmp19_input.w1p()) {
524
+ tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
456
525
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
457
- tmp5_local1 = tmp19_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
526
+ tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
458
527
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
459
- tmp6_local2 = tmp19_input.wx(tmp0_desc, 2, tmp20_cached[2].s1(), tmp6_local2);
528
+ tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
460
529
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
461
- tmp7_local3 = tmp19_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
530
+ tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
462
531
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
463
- tmp8_local4 = tmp19_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
532
+ tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
464
533
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
465
- tmp9_local5 = tmp19_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
534
+ tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
466
535
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
467
- tmp10_local6 = tmp19_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
536
+ tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
468
537
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
469
- tmp11_local7 = tmp19_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
538
+ tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
470
539
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
471
- tmp12_local8 = tmp19_input.wx(tmp0_desc, 8, tmp20_cached[8].s1(), tmp12_local8);
540
+ tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
472
541
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
473
- tmp13_local9 = tmp19_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
542
+ tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
474
543
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
475
- tmp14_local10 = tmp19_input.wx(tmp0_desc, 10, AttoAmountSerializer_getInstance(), tmp14_local10);
544
+ tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
476
545
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
546
+ tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
547
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
548
+ tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
549
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
477
550
  } else
478
551
  while (tmp1_flag) {
479
- tmp2_index = tmp19_input.ay(tmp0_desc);
552
+ tmp2_index = tmp19_input.x1p(tmp0_desc);
480
553
  switch (tmp2_index) {
481
554
  case -1:
482
555
  tmp1_flag = false;
483
556
  break;
484
557
  case 0:
485
- tmp4_local0 = tmp19_input.wx(tmp0_desc, 0, tmp20_cached[0].s1(), tmp4_local0);
558
+ tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
486
559
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
487
560
  break;
488
561
  case 1:
489
- tmp5_local1 = tmp19_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
562
+ tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
490
563
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
491
564
  break;
492
565
  case 2:
493
- tmp6_local2 = tmp19_input.wx(tmp0_desc, 2, tmp20_cached[2].s1(), tmp6_local2);
566
+ tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
494
567
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
495
568
  break;
496
569
  case 3:
497
- tmp7_local3 = tmp19_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
570
+ tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
498
571
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
499
572
  break;
500
573
  case 4:
501
- tmp8_local4 = tmp19_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
574
+ tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
502
575
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
503
576
  break;
504
577
  case 5:
505
- tmp9_local5 = tmp19_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
578
+ tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
506
579
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
507
580
  break;
508
581
  case 6:
509
- tmp10_local6 = tmp19_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
582
+ tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
510
583
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
511
584
  break;
512
585
  case 7:
513
- tmp11_local7 = tmp19_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
586
+ tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
514
587
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
515
588
  break;
516
589
  case 8:
517
- tmp12_local8 = tmp19_input.wx(tmp0_desc, 8, tmp20_cached[8].s1(), tmp12_local8);
590
+ tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
518
591
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
519
592
  break;
520
593
  case 9:
521
- tmp13_local9 = tmp19_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
594
+ tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
522
595
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
523
596
  break;
524
597
  case 10:
525
- tmp14_local10 = tmp19_input.wx(tmp0_desc, 10, AttoAmountSerializer_getInstance(), tmp14_local10);
598
+ tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
526
599
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
527
600
  break;
601
+ case 11:
602
+ tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
603
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
604
+ break;
605
+ case 12:
606
+ tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
607
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
608
+ break;
528
609
  default:
529
- throw UnknownFieldException().ev(tmp2_index);
610
+ throw UnknownFieldException().q1m(tmp2_index);
530
611
  }
531
612
  }
532
- tmp19_input.lx(tmp0_desc);
533
- return AttoSendBlock().y2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, null);
613
+ tmp19_input.i1p(tmp0_desc);
614
+ return AttoSendBlock().i2y(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
534
615
  }
535
- xs() {
536
- return this.k2z_1;
616
+ u1k() {
617
+ return this.v2x_1;
537
618
  }
538
- l15() {
539
- var tmp0_cached = Companion_getInstance_4().z2y_1;
619
+ k1x() {
620
+ var tmp0_cached = Companion_getInstance_5().j2x_1;
540
621
  // Inline function 'kotlin.arrayOf' call
541
622
  // Inline function 'kotlin.js.unsafeCast' call
542
623
  // Inline function 'kotlin.js.asDynamic' call
543
- return [tmp0_cached[0].s1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].s1(), AttoPublicKeySerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountSerializer_getInstance(), InstantMillisSerializer_getInstance(), AttoHashSerializer_getInstance(), tmp0_cached[8].s1(), AttoPublicKeySerializer_getInstance(), AttoAmountSerializer_getInstance()];
624
+ return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
544
625
  }
545
626
  }
546
- protoOf($).m15 = typeParametersSerializers;
627
+ protoOf($).l1x = typeParametersSerializers;
547
628
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
548
629
  $serializerClass = $;
549
630
  }
@@ -556,242 +637,185 @@ function $serializer_getInstance() {
556
637
  return $serializer_instance;
557
638
  }
558
639
  function AttoSendBlock$hash$delegate$lambda(this$0) {
559
- return function () {
560
- return hash(this$0.f2z());
561
- };
640
+ return () => hash(this$0.e2w());
562
641
  }
563
642
  function AttoSendBlock$_get_hash_$ref_emfoe1() {
564
- return function (p0) {
565
- return p0.hash;
566
- };
567
- }
568
- function AttoSendBlock$address$delegate$lambda(this$0) {
569
- return function () {
570
- return new (AttoAddress())(this$0.o2z_1, this$0.p2z_1);
571
- };
572
- }
573
- function AttoSendBlock$_get_address_$ref_it8owv() {
574
- return function (p0) {
575
- return p0.address;
576
- };
577
- }
578
- function AttoSendBlock$receiverAddress$delegate$lambda(this$0) {
579
- return function () {
580
- return new (AttoAddress())(this$0.receiverAlgorithm, this$0.receiverPublicKey);
581
- };
582
- }
583
- function AttoSendBlock$_get_receiverAddress_$ref_t8r8a6() {
584
- return function (p0) {
585
- return p0.receiverAddress;
586
- };
643
+ return (p0) => p0.hash;
587
644
  }
588
645
  function AttoSendBlock$_init_$lambda_dfxw6s(this$0) {
589
- return function () {
590
- return hash(this$0.f2z());
591
- };
592
- }
593
- function AttoSendBlock$_init_$lambda_dfxw6s_0(this$0) {
594
- return function () {
595
- return new (AttoAddress())(this$0.o2z_1, this$0.p2z_1);
596
- };
597
- }
598
- function AttoSendBlock$_init_$lambda_dfxw6s_1(this$0) {
599
- return function () {
600
- return new (AttoAddress())(this$0.receiverAlgorithm, this$0.receiverPublicKey);
601
- };
646
+ return () => hash(this$0.e2w());
602
647
  }
603
648
  var AttoSendBlockClass;
604
649
  function AttoSendBlock() {
605
650
  if (AttoSendBlockClass === VOID) {
606
651
  class $ {
607
652
  constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
608
- Companion_getInstance_4();
609
- this.m2z_1 = network;
610
- this.n2z_1 = version;
611
- this.o2z_1 = algorithm;
612
- this.p2z_1 = publicKey;
613
- this.q2z_1 = height;
614
- this.r2z_1 = balance;
615
- this.s2z_1 = timestamp;
616
- this.t2z_1 = previous;
653
+ Companion_getInstance_5();
654
+ this.x2x_1 = network;
655
+ this.y2x_1 = version;
656
+ this.z2x_1 = algorithm;
657
+ this.a2y_1 = publicKey;
658
+ this.b2y_1 = height;
659
+ this.c2y_1 = balance;
660
+ this.d2y_1 = timestamp;
661
+ this.e2y_1 = previous;
617
662
  this.receiverAlgorithm = receiverAlgorithm;
618
663
  this.receiverPublicKey = receiverPublicKey;
619
664
  this.amount = amount;
620
- this.u2z_1 = AttoBlockType_SEND_getInstance();
665
+ this.f2y_1 = AttoBlockType_SEND_getInstance();
621
666
  var tmp = this;
622
- tmp.v2z_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
623
- var tmp_0 = this;
624
- tmp_0.w2z_1 = lazy_0(AttoSendBlock$address$delegate$lambda(this));
625
- var tmp_1 = this;
626
- tmp_1.x2z_1 = lazy_0(AttoSendBlock$receiverAddress$delegate$lambda(this));
667
+ tmp.g2y_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
668
+ this.h2y_1 = new (AttoAddress())(this.z2x_1, this.a2y_1);
669
+ this.receiverAddress = new (AttoAddress())(this.receiverAlgorithm, this.receiverPublicKey);
627
670
  }
628
- f2w() {
629
- return this.m2z_1;
671
+ k2u() {
672
+ return this.x2x_1;
630
673
  }
631
- g2w() {
632
- return this.n2z_1;
674
+ l2u() {
675
+ return this.y2x_1;
633
676
  }
634
- h2w() {
635
- return this.o2z_1;
677
+ m2u() {
678
+ return this.z2x_1;
636
679
  }
637
- e2w() {
638
- return this.p2z_1;
680
+ j2u() {
681
+ return this.a2y_1;
639
682
  }
640
- i2w() {
641
- return this.q2z_1;
683
+ n2u() {
684
+ return this.b2y_1;
642
685
  }
643
- j2w() {
644
- return this.r2z_1;
686
+ o2u() {
687
+ return this.c2y_1;
645
688
  }
646
- o2x() {
647
- return this.s2z_1;
689
+ t2v() {
690
+ return this.d2y_1;
648
691
  }
649
- h2z() {
650
- return this.t2z_1;
692
+ s2x() {
693
+ return this.e2y_1;
651
694
  }
652
- z2z() {
695
+ j2y() {
653
696
  return this.receiverAlgorithm;
654
697
  }
655
- a30() {
698
+ k2y() {
656
699
  return this.receiverPublicKey;
657
700
  }
658
- b30() {
701
+ l2y() {
659
702
  return this.amount;
660
703
  }
661
- e2z() {
662
- return this.u2z_1;
704
+ o2x() {
705
+ return this.f2y_1;
663
706
  }
664
- j2x() {
665
- var tmp0 = this.v2z_1;
707
+ o2v() {
708
+ var tmp0 = this.g2y_1;
666
709
  var tmp = KProperty1();
667
710
  // Inline function 'kotlin.getValue' call
668
711
  getPropertyCallableRef('hash', 1, tmp, AttoSendBlock$_get_hash_$ref_emfoe1(), null);
669
- return tmp0.s1();
712
+ return tmp0.z1();
670
713
  }
671
- o2w() {
672
- var tmp0 = this.w2z_1;
673
- var tmp = KProperty1();
674
- // Inline function 'kotlin.getValue' call
675
- getPropertyCallableRef('address', 1, tmp, AttoSendBlock$_get_address_$ref_it8owv(), null);
676
- return tmp0.s1();
714
+ t2u() {
715
+ return this.h2y_1;
677
716
  }
678
- c30() {
679
- var tmp0 = this.x2z_1;
680
- var tmp = KProperty1();
681
- // Inline function 'kotlin.getValue' call
682
- getPropertyCallableRef('receiverAddress', 1, tmp, AttoSendBlock$_get_receiverAddress_$ref_t8r8a6(), null);
683
- return tmp0.s1();
717
+ m2y() {
718
+ return this.receiverAddress;
684
719
  }
685
- f2z() {
720
+ e2w() {
686
721
  // Inline function 'kotlin.apply' call
687
722
  var this_0 = new (Buffer())();
688
- writeAttoBlockType(this_0, this.u2z_1);
689
- writeAttoNetwork(this_0, this.m2z_1);
690
- writeAttoVersion(this_0, this.n2z_1);
691
- writeAttoAlgorithm(this_0, this.o2z_1);
692
- writeAttoPublicKey(this_0, this.p2z_1);
693
- writeAttoHeight(this_0, this.q2z_1);
694
- writeAttoAmount(this_0, this.r2z_1);
695
- writeInstant(this_0, this.s2z_1);
696
- writeAttoHash(this_0, this.t2z_1);
723
+ writeAttoBlockType(this_0, this.f2y_1);
724
+ writeAttoNetwork(this_0, this.x2x_1);
725
+ writeAttoVersion(this_0, this.y2x_1);
726
+ writeAttoAlgorithm(this_0, this.z2x_1);
727
+ writeAttoPublicKey(this_0, this.a2y_1);
728
+ writeAttoHeight(this_0, this.b2y_1);
729
+ writeAttoAmount(this_0, this.c2y_1);
730
+ writeInstant(this_0, this.d2y_1);
731
+ writeAttoHash(this_0, this.e2y_1);
697
732
  writeAttoAlgorithm(this_0, this.receiverAlgorithm);
698
733
  writeAttoPublicKey(this_0, this.receiverPublicKey);
699
734
  writeAttoAmount(this_0, this.amount);
700
735
  return this_0;
701
736
  }
702
- isValid() {
703
- var tmp;
704
- var tmp_0;
705
- var tmp_1;
706
- if (isValid.call(this) && this.q2z_1.d30(new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)))) > 0) {
707
- var tmp0 = this.amount.raw;
708
- // Inline function 'kotlin.ULong.compareTo' call
709
- // Inline function 'kotlin.UInt.toULong' call
710
- var this_0 = _UInt___init__impl__l7qpdl(0);
711
- // Inline function 'kotlin.uintToULong' call
712
- // Inline function 'kotlin.uintToLong' call
713
- var value = _UInt___get_data__impl__f0vqqw(this_0);
714
- var tmp$ret$0 = toLong(value).c4(new (Long())(-1, 0));
715
- // Inline function 'kotlin.ULong.compareTo' call
716
- var other = _ULong___init__impl__c78o9k(tmp$ret$0);
717
- tmp_1 = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0;
718
- } else {
719
- tmp_1 = false;
737
+ validate() {
738
+ var parent = validate.call(this);
739
+ if (!(parent instanceof Ok())) {
740
+ if (parent instanceof Error_0())
741
+ return parent;
742
+ else {
743
+ noWhenBranchMatchedException();
744
+ }
720
745
  }
721
- if (tmp_1) {
722
- tmp_0 = !this.receiverPublicKey.equals(this.p2z_1);
723
- } else {
724
- tmp_0 = false;
746
+ if (this.amount.equals(Companion_getInstance_0().MIN)) {
747
+ return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().MIN.toString());
725
748
  }
726
- if (tmp_0) {
727
- tmp = this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length;
728
- } else {
729
- tmp = false;
749
+ if (this.receiverPublicKey.equals(this.a2y_1)) {
750
+ return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.a2y_1.toString());
730
751
  }
731
- return tmp;
752
+ if (!(this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length)) {
753
+ return new (Error_0())('Receiver public key size does not match receiver algorithm: ' + ('receiverAlgorithm.publicKeySize=' + this.receiverAlgorithm.publicKeySize + ', ') + ('receiverPublicKey.size=' + this.receiverPublicKey.value.length));
754
+ }
755
+ return Ok_instance;
732
756
  }
733
- gl() {
734
- return this.m2z_1;
757
+ te() {
758
+ return this.x2x_1;
735
759
  }
736
- hl() {
737
- return this.n2z_1;
760
+ ue() {
761
+ return this.y2x_1;
738
762
  }
739
- t2w() {
740
- return this.o2z_1;
763
+ z2u() {
764
+ return this.z2x_1;
741
765
  }
742
- u2w() {
743
- return this.p2z_1;
766
+ a2v() {
767
+ return this.a2y_1;
744
768
  }
745
- v2w() {
746
- return this.q2z_1;
769
+ b2v() {
770
+ return this.b2y_1;
747
771
  }
748
- w2w() {
749
- return this.r2z_1;
772
+ c2v() {
773
+ return this.c2y_1;
750
774
  }
751
- x2w() {
752
- return this.s2z_1;
775
+ d2v() {
776
+ return this.d2y_1;
753
777
  }
754
- y2w() {
755
- return this.t2z_1;
778
+ e2v() {
779
+ return this.e2y_1;
756
780
  }
757
- z2w() {
781
+ f2v() {
758
782
  return this.receiverAlgorithm;
759
783
  }
760
- a2x() {
784
+ g2v() {
761
785
  return this.receiverPublicKey;
762
786
  }
763
- e30() {
787
+ n2y() {
764
788
  return this.amount;
765
789
  }
766
- f30(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
790
+ o2y(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
767
791
  return new (AttoSendBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
768
792
  }
769
793
  copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, $super) {
770
- network = network === VOID ? this.m2z_1 : network;
771
- version = version === VOID ? this.n2z_1 : version;
772
- algorithm = algorithm === VOID ? this.o2z_1 : algorithm;
773
- publicKey = publicKey === VOID ? this.p2z_1 : publicKey;
774
- height = height === VOID ? this.q2z_1 : height;
775
- balance = balance === VOID ? this.r2z_1 : balance;
776
- timestamp = timestamp === VOID ? this.s2z_1 : timestamp;
777
- previous = previous === VOID ? this.t2z_1 : previous;
794
+ network = network === VOID ? this.x2x_1 : network;
795
+ version = version === VOID ? this.y2x_1 : version;
796
+ algorithm = algorithm === VOID ? this.z2x_1 : algorithm;
797
+ publicKey = publicKey === VOID ? this.a2y_1 : publicKey;
798
+ height = height === VOID ? this.b2y_1 : height;
799
+ balance = balance === VOID ? this.c2y_1 : balance;
800
+ timestamp = timestamp === VOID ? this.d2y_1 : timestamp;
801
+ previous = previous === VOID ? this.e2y_1 : previous;
778
802
  receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
779
803
  receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
780
804
  amount = amount === VOID ? this.amount : amount;
781
- return $super === VOID ? this.f30(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.f30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
805
+ return $super === VOID ? this.o2y(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.o2y.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
782
806
  }
783
807
  toString() {
784
- return 'AttoSendBlock(network=' + this.m2z_1.toString() + ', version=' + this.n2z_1.toString() + ', algorithm=' + this.o2z_1.toString() + ', publicKey=' + this.p2z_1.toString() + ', height=' + this.q2z_1.toString() + ', balance=' + this.r2z_1.toString() + ', timestamp=' + this.s2z_1.toString() + ', previous=' + this.t2z_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
808
+ return 'AttoSendBlock(network=' + this.x2x_1.toString() + ', version=' + this.y2x_1.toString() + ', algorithm=' + this.z2x_1.toString() + ', publicKey=' + this.a2y_1.toString() + ', height=' + this.b2y_1.toString() + ', balance=' + this.c2y_1.toString() + ', timestamp=' + this.d2y_1.toString() + ', previous=' + this.e2y_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
785
809
  }
786
810
  hashCode() {
787
- var result = this.m2z_1.hashCode();
788
- result = imul(result, 31) + this.n2z_1.hashCode() | 0;
789
- result = imul(result, 31) + this.o2z_1.hashCode() | 0;
790
- result = imul(result, 31) + this.p2z_1.hashCode() | 0;
791
- result = imul(result, 31) + this.q2z_1.hashCode() | 0;
792
- result = imul(result, 31) + this.r2z_1.hashCode() | 0;
793
- result = imul(result, 31) + this.s2z_1.hashCode() | 0;
794
- result = imul(result, 31) + this.t2z_1.hashCode() | 0;
811
+ var result = this.x2x_1.hashCode();
812
+ result = imul(result, 31) + this.y2x_1.hashCode() | 0;
813
+ result = imul(result, 31) + this.z2x_1.hashCode() | 0;
814
+ result = imul(result, 31) + this.a2y_1.hashCode() | 0;
815
+ result = imul(result, 31) + this.b2y_1.hashCode() | 0;
816
+ result = imul(result, 31) + this.c2y_1.hashCode() | 0;
817
+ result = imul(result, 31) + this.d2y_1.hashCode() | 0;
818
+ result = imul(result, 31) + this.e2y_1.hashCode() | 0;
795
819
  result = imul(result, 31) + this.receiverAlgorithm.hashCode() | 0;
796
820
  result = imul(result, 31) + this.receiverPublicKey.hashCode() | 0;
797
821
  result = imul(result, 31) + this.amount.hashCode() | 0;
@@ -802,94 +826,95 @@ function AttoSendBlock() {
802
826
  return true;
803
827
  if (!(other instanceof AttoSendBlock()))
804
828
  return false;
805
- var tmp0_other_with_cast = other instanceof AttoSendBlock() ? other : THROW_CCE();
806
- if (!this.m2z_1.equals(tmp0_other_with_cast.m2z_1))
829
+ if (!this.x2x_1.equals(other.x2x_1))
807
830
  return false;
808
- if (!this.n2z_1.equals(tmp0_other_with_cast.n2z_1))
831
+ if (!this.y2x_1.equals(other.y2x_1))
809
832
  return false;
810
- if (!this.o2z_1.equals(tmp0_other_with_cast.o2z_1))
833
+ if (!this.z2x_1.equals(other.z2x_1))
811
834
  return false;
812
- if (!this.p2z_1.equals(tmp0_other_with_cast.p2z_1))
835
+ if (!this.a2y_1.equals(other.a2y_1))
813
836
  return false;
814
- if (!this.q2z_1.equals(tmp0_other_with_cast.q2z_1))
837
+ if (!this.b2y_1.equals(other.b2y_1))
815
838
  return false;
816
- if (!this.r2z_1.equals(tmp0_other_with_cast.r2z_1))
839
+ if (!this.c2y_1.equals(other.c2y_1))
817
840
  return false;
818
- if (!this.s2z_1.equals(tmp0_other_with_cast.s2z_1))
841
+ if (!this.d2y_1.equals(other.d2y_1))
819
842
  return false;
820
- if (!this.t2z_1.equals(tmp0_other_with_cast.t2z_1))
843
+ if (!this.e2y_1.equals(other.e2y_1))
821
844
  return false;
822
- if (!this.receiverAlgorithm.equals(tmp0_other_with_cast.receiverAlgorithm))
845
+ if (!this.receiverAlgorithm.equals(other.receiverAlgorithm))
823
846
  return false;
824
- if (!this.receiverPublicKey.equals(tmp0_other_with_cast.receiverPublicKey))
847
+ if (!this.receiverPublicKey.equals(other.receiverPublicKey))
825
848
  return false;
826
- if (!this.amount.equals(tmp0_other_with_cast.amount))
849
+ if (!this.amount.equals(other.amount))
827
850
  return false;
828
851
  return true;
829
852
  }
830
- static y2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, serializationConstructorMarker) {
831
- Companion_getInstance_4();
853
+ static i2y(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, address, receiverAddress, serializationConstructorMarker) {
854
+ Companion_getInstance_5();
832
855
  if (!(2047 === (2047 & seen0))) {
833
- throwMissingFieldException(seen0, 2047, $serializer_getInstance().k2z_1);
856
+ throwMissingFieldException(seen0, 2047, $serializer_getInstance().v2x_1);
834
857
  }
835
858
  var $this = createThis(this);
836
- $this.m2z_1 = network;
837
- $this.n2z_1 = version;
838
- $this.o2z_1 = algorithm;
839
- $this.p2z_1 = publicKey;
840
- $this.q2z_1 = height;
841
- $this.r2z_1 = balance;
842
- $this.s2z_1 = timestamp;
843
- $this.t2z_1 = previous;
859
+ $this.x2x_1 = network;
860
+ $this.y2x_1 = version;
861
+ $this.z2x_1 = algorithm;
862
+ $this.a2y_1 = publicKey;
863
+ $this.b2y_1 = height;
864
+ $this.c2y_1 = balance;
865
+ $this.d2y_1 = timestamp;
866
+ $this.e2y_1 = previous;
844
867
  $this.receiverAlgorithm = receiverAlgorithm;
845
868
  $this.receiverPublicKey = receiverPublicKey;
846
869
  $this.amount = amount;
847
- $this.u2z_1 = AttoBlockType_SEND_getInstance();
870
+ $this.f2y_1 = AttoBlockType_SEND_getInstance();
848
871
  var tmp = $this;
849
- tmp.v2z_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
850
- var tmp_0 = $this;
851
- tmp_0.w2z_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s_0($this));
852
- var tmp_1 = $this;
853
- tmp_1.x2z_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s_1($this));
872
+ tmp.g2y_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
873
+ if (0 === (seen0 & 2048))
874
+ $this.h2y_1 = new (AttoAddress())($this.z2x_1, $this.a2y_1);
875
+ else
876
+ $this.h2y_1 = address;
877
+ if (0 === (seen0 & 4096))
878
+ $this.receiverAddress = new (AttoAddress())($this.receiverAlgorithm, $this.receiverPublicKey);
879
+ else
880
+ $this.receiverAddress = receiverAddress;
854
881
  return $this;
855
882
  }
856
883
  get network() {
857
- return this.f2w();
884
+ return this.k2u();
858
885
  }
859
886
  get version() {
860
- return this.g2w();
887
+ return this.l2u();
861
888
  }
862
889
  get algorithm() {
863
- return this.h2w();
890
+ return this.m2u();
864
891
  }
865
892
  get publicKey() {
866
- return this.e2w();
893
+ return this.j2u();
867
894
  }
868
895
  get height() {
869
- return this.i2w();
896
+ return this.n2u();
870
897
  }
871
898
  get balance() {
872
- return this.j2w();
899
+ return this.o2u();
873
900
  }
874
901
  get timestamp() {
875
- return this.o2x();
902
+ return this.t2v();
876
903
  }
877
904
  get previous() {
878
- return this.h2z();
905
+ return this.s2x();
879
906
  }
880
907
  get type() {
881
- return this.e2z();
908
+ return this.o2x();
882
909
  }
883
910
  get hash() {
884
- return this.j2x();
911
+ return this.o2v();
885
912
  }
886
913
  get address() {
887
- return this.o2w();
888
- }
889
- get receiverAddress() {
890
- return this.c30();
914
+ return this.t2u();
891
915
  }
892
916
  }
917
+ protoOf($).isValid = isValid;
893
918
  initMetadataForClass($, 'AttoSendBlock', VOID, VOID, [AttoBlock(), PreviousSupport()], VOID, VOID, {0: $serializer_getInstance});
894
919
  AttoSendBlockClass = $;
895
920
  }
@@ -899,17 +924,17 @@ function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u() {
899
924
  return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
900
925
  }
901
926
  function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_0() {
902
- return Companion_getInstance_0().e2v();
927
+ return Companion_getInstance_2().k2t();
903
928
  }
904
929
  function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1() {
905
- return Companion_getInstance_0().e2v();
930
+ return Companion_getInstance_2().k2t();
906
931
  }
907
932
  var CompanionClass_2;
908
933
  function Companion_2() {
909
934
  if (CompanionClass_2 === VOID) {
910
935
  class $ {
911
936
  constructor() {
912
- Companion_instance_2 = this;
937
+ Companion_instance_3 = this;
913
938
  var tmp = this;
914
939
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
915
940
  var tmp_1 = lazy(tmp_0, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u);
@@ -919,19 +944,19 @@ function Companion_2() {
919
944
  // Inline function 'kotlin.arrayOf' call
920
945
  // Inline function 'kotlin.js.unsafeCast' call
921
946
  // Inline function 'kotlin.js.asDynamic' call
922
- tmp.b2z_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null];
947
+ tmp.l2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null, null];
923
948
  }
924
- a2z(serializedBlock) {
925
- if (toLong(AttoBlockType_RECEIVE_getInstance().size).a2(serializedBlock.i1()) > 0) {
949
+ k2x(serializedBlock) {
950
+ if (fromInt(AttoBlockType_RECEIVE_getInstance().size) > serializedBlock.n1()) {
926
951
  return null;
927
952
  }
928
953
  var blockType = readAttoBlockType(serializedBlock);
929
954
  if (!blockType.equals(AttoBlockType_RECEIVE_getInstance())) {
930
- throw IllegalArgumentException().u('Invalid block type: ' + blockType.toString());
955
+ throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
931
956
  }
932
957
  return new (AttoReceiveBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock));
933
958
  }
934
- e2v() {
959
+ k2t() {
935
960
  return $serializer_getInstance_0();
936
961
  }
937
962
  }
@@ -940,11 +965,11 @@ function Companion_2() {
940
965
  }
941
966
  return CompanionClass_2;
942
967
  }
943
- var Companion_instance_2;
944
- function Companion_getInstance_5() {
945
- if (Companion_instance_2 === VOID)
968
+ var Companion_instance_3;
969
+ function Companion_getInstance_6() {
970
+ if (Companion_instance_3 === VOID)
946
971
  new (Companion_2())();
947
- return Companion_instance_2;
972
+ return Companion_instance_3;
948
973
  }
949
974
  var $serializerClass_0;
950
975
  function $serializer_0() {
@@ -952,40 +977,42 @@ function $serializer_0() {
952
977
  class $ {
953
978
  constructor() {
954
979
  $serializer_instance_0 = this;
955
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this, 10);
956
- tmp0_serialDesc.w14('network', false);
957
- tmp0_serialDesc.w14('version', false);
958
- tmp0_serialDesc.w14('algorithm', false);
959
- tmp0_serialDesc.w14('publicKey', false);
960
- tmp0_serialDesc.w14('height', false);
961
- tmp0_serialDesc.w14('balance', false);
962
- tmp0_serialDesc.w14('timestamp', false);
963
- tmp0_serialDesc.w14('previous', false);
964
- tmp0_serialDesc.w14('sendHashAlgorithm', false);
965
- tmp0_serialDesc.w14('sendHash', false);
966
- this.g30_1 = tmp0_serialDesc;
967
- }
968
- h30(encoder, value) {
969
- var tmp0_desc = this.g30_1;
970
- var tmp1_output = encoder.kx(tmp0_desc);
971
- var tmp2_cached = Companion_getInstance_5().b2z_1;
972
- tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.i30_1);
973
- tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.j30_1);
974
- tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.k30_1);
975
- tmp1_output.bz(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), value.l30_1);
976
- tmp1_output.bz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.m30_1);
977
- tmp1_output.bz(tmp0_desc, 5, AttoAmountSerializer_getInstance(), value.n30_1);
978
- tmp1_output.bz(tmp0_desc, 6, InstantMillisSerializer_getInstance(), value.o30_1);
979
- tmp1_output.bz(tmp0_desc, 7, AttoHashSerializer_getInstance(), value.p30_1);
980
- tmp1_output.bz(tmp0_desc, 8, tmp2_cached[8].s1(), value.q30_1);
981
- tmp1_output.bz(tmp0_desc, 9, AttoHashSerializer_getInstance(), value.r30_1);
982
- tmp1_output.lx(tmp0_desc);
983
- }
984
- ys(encoder, value) {
985
- return this.h30(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
986
- }
987
- zs(decoder) {
988
- var tmp0_desc = this.g30_1;
980
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this, 11);
981
+ tmp0_serialDesc.v1w('network', false);
982
+ tmp0_serialDesc.v1w('version', false);
983
+ tmp0_serialDesc.v1w('algorithm', false);
984
+ tmp0_serialDesc.v1w('publicKey', false);
985
+ tmp0_serialDesc.v1w('height', false);
986
+ tmp0_serialDesc.v1w('balance', false);
987
+ tmp0_serialDesc.v1w('timestamp', false);
988
+ tmp0_serialDesc.v1w('previous', false);
989
+ tmp0_serialDesc.v1w('sendHashAlgorithm', false);
990
+ tmp0_serialDesc.v1w('sendHash', false);
991
+ tmp0_serialDesc.v1w('address', true);
992
+ this.p2y_1 = tmp0_serialDesc;
993
+ }
994
+ q2y(encoder, value) {
995
+ var tmp0_desc = this.p2y_1;
996
+ var tmp1_output = encoder.h1p(tmp0_desc);
997
+ var tmp2_cached = Companion_getInstance_6().l2x_1;
998
+ tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.r2y_1);
999
+ tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.s2y_1);
1000
+ tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.t2y_1);
1001
+ tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.u2y_1);
1002
+ tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.v2y_1);
1003
+ tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.w2y_1);
1004
+ tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.x2y_1);
1005
+ tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.y2y_1);
1006
+ tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.z2y_1);
1007
+ tmp1_output.y1q(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), value.a2z_1);
1008
+ tmp1_output.y1q(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.d2z_1);
1009
+ tmp1_output.i1p(tmp0_desc);
1010
+ }
1011
+ v1k(encoder, value) {
1012
+ return this.q2y(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
1013
+ }
1014
+ w1k(decoder) {
1015
+ var tmp0_desc = this.p2y_1;
989
1016
  var tmp1_flag = true;
990
1017
  var tmp2_index = 0;
991
1018
  var tmp3_bitMask0 = 0;
@@ -999,95 +1026,102 @@ function $serializer_0() {
999
1026
  var tmp11_local7 = null;
1000
1027
  var tmp12_local8 = null;
1001
1028
  var tmp13_local9 = null;
1002
- var tmp17_input = decoder.kx(tmp0_desc);
1003
- var tmp18_cached = Companion_getInstance_5().b2z_1;
1004
- if (tmp17_input.zx()) {
1005
- tmp4_local0 = tmp17_input.wx(tmp0_desc, 0, tmp18_cached[0].s1(), tmp4_local0);
1029
+ var tmp14_local10 = null;
1030
+ var tmp17_input = decoder.h1p(tmp0_desc);
1031
+ var tmp18_cached = Companion_getInstance_6().l2x_1;
1032
+ if (tmp17_input.w1p()) {
1033
+ tmp4_local0 = tmp17_input.t1p(tmp0_desc, 0, tmp18_cached[0].z1(), tmp4_local0);
1006
1034
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1007
- tmp5_local1 = tmp17_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1035
+ tmp5_local1 = tmp17_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1008
1036
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1009
- tmp6_local2 = tmp17_input.wx(tmp0_desc, 2, tmp18_cached[2].s1(), tmp6_local2);
1037
+ tmp6_local2 = tmp17_input.t1p(tmp0_desc, 2, tmp18_cached[2].z1(), tmp6_local2);
1010
1038
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1011
- tmp7_local3 = tmp17_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
1039
+ tmp7_local3 = tmp17_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
1012
1040
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1013
- tmp8_local4 = tmp17_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
1041
+ tmp8_local4 = tmp17_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
1014
1042
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1015
- tmp9_local5 = tmp17_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
1043
+ tmp9_local5 = tmp17_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
1016
1044
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1017
- tmp10_local6 = tmp17_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
1045
+ tmp10_local6 = tmp17_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
1018
1046
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1019
- tmp11_local7 = tmp17_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
1047
+ tmp11_local7 = tmp17_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
1020
1048
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1021
- tmp12_local8 = tmp17_input.wx(tmp0_desc, 8, tmp18_cached[8].s1(), tmp12_local8);
1049
+ tmp12_local8 = tmp17_input.t1p(tmp0_desc, 8, tmp18_cached[8].z1(), tmp12_local8);
1022
1050
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1023
- tmp13_local9 = tmp17_input.wx(tmp0_desc, 9, AttoHashSerializer_getInstance(), tmp13_local9);
1051
+ tmp13_local9 = tmp17_input.t1p(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
1024
1052
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1053
+ tmp14_local10 = tmp17_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
1054
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1025
1055
  } else
1026
1056
  while (tmp1_flag) {
1027
- tmp2_index = tmp17_input.ay(tmp0_desc);
1057
+ tmp2_index = tmp17_input.x1p(tmp0_desc);
1028
1058
  switch (tmp2_index) {
1029
1059
  case -1:
1030
1060
  tmp1_flag = false;
1031
1061
  break;
1032
1062
  case 0:
1033
- tmp4_local0 = tmp17_input.wx(tmp0_desc, 0, tmp18_cached[0].s1(), tmp4_local0);
1063
+ tmp4_local0 = tmp17_input.t1p(tmp0_desc, 0, tmp18_cached[0].z1(), tmp4_local0);
1034
1064
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1035
1065
  break;
1036
1066
  case 1:
1037
- tmp5_local1 = tmp17_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1067
+ tmp5_local1 = tmp17_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1038
1068
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1039
1069
  break;
1040
1070
  case 2:
1041
- tmp6_local2 = tmp17_input.wx(tmp0_desc, 2, tmp18_cached[2].s1(), tmp6_local2);
1071
+ tmp6_local2 = tmp17_input.t1p(tmp0_desc, 2, tmp18_cached[2].z1(), tmp6_local2);
1042
1072
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1043
1073
  break;
1044
1074
  case 3:
1045
- tmp7_local3 = tmp17_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
1075
+ tmp7_local3 = tmp17_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
1046
1076
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1047
1077
  break;
1048
1078
  case 4:
1049
- tmp8_local4 = tmp17_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
1079
+ tmp8_local4 = tmp17_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
1050
1080
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1051
1081
  break;
1052
1082
  case 5:
1053
- tmp9_local5 = tmp17_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
1083
+ tmp9_local5 = tmp17_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
1054
1084
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1055
1085
  break;
1056
1086
  case 6:
1057
- tmp10_local6 = tmp17_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
1087
+ tmp10_local6 = tmp17_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
1058
1088
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1059
1089
  break;
1060
1090
  case 7:
1061
- tmp11_local7 = tmp17_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
1091
+ tmp11_local7 = tmp17_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
1062
1092
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1063
1093
  break;
1064
1094
  case 8:
1065
- tmp12_local8 = tmp17_input.wx(tmp0_desc, 8, tmp18_cached[8].s1(), tmp12_local8);
1095
+ tmp12_local8 = tmp17_input.t1p(tmp0_desc, 8, tmp18_cached[8].z1(), tmp12_local8);
1066
1096
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1067
1097
  break;
1068
1098
  case 9:
1069
- tmp13_local9 = tmp17_input.wx(tmp0_desc, 9, AttoHashSerializer_getInstance(), tmp13_local9);
1099
+ tmp13_local9 = tmp17_input.t1p(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
1070
1100
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1071
1101
  break;
1102
+ case 10:
1103
+ tmp14_local10 = tmp17_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
1104
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1105
+ break;
1072
1106
  default:
1073
- throw UnknownFieldException().ev(tmp2_index);
1107
+ throw UnknownFieldException().q1m(tmp2_index);
1074
1108
  }
1075
1109
  }
1076
- tmp17_input.lx(tmp0_desc);
1077
- return AttoReceiveBlock().v30(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
1110
+ tmp17_input.i1p(tmp0_desc);
1111
+ return AttoReceiveBlock().e2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, null);
1078
1112
  }
1079
- xs() {
1080
- return this.g30_1;
1113
+ u1k() {
1114
+ return this.p2y_1;
1081
1115
  }
1082
- l15() {
1083
- var tmp0_cached = Companion_getInstance_5().b2z_1;
1116
+ k1x() {
1117
+ var tmp0_cached = Companion_getInstance_6().l2x_1;
1084
1118
  // Inline function 'kotlin.arrayOf' call
1085
1119
  // Inline function 'kotlin.js.unsafeCast' call
1086
1120
  // Inline function 'kotlin.js.asDynamic' call
1087
- return [tmp0_cached[0].s1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].s1(), AttoPublicKeySerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountSerializer_getInstance(), InstantMillisSerializer_getInstance(), AttoHashSerializer_getInstance(), tmp0_cached[8].s1(), AttoHashSerializer_getInstance()];
1121
+ return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoHashAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
1088
1122
  }
1089
1123
  }
1090
- protoOf($).m15 = typeParametersSerializers;
1124
+ protoOf($).l1x = typeParametersSerializers;
1091
1125
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
1092
1126
  $serializerClass_0 = $;
1093
1127
  }
@@ -1100,183 +1134,154 @@ function $serializer_getInstance_0() {
1100
1134
  return $serializer_instance_0;
1101
1135
  }
1102
1136
  function AttoReceiveBlock$hash$delegate$lambda(this$0) {
1103
- return function () {
1104
- return hash(this$0.f2z());
1105
- };
1137
+ return () => hash(this$0.e2w());
1106
1138
  }
1107
1139
  function AttoReceiveBlock$_get_hash_$ref_1uzri0() {
1108
- return function (p0) {
1109
- return p0.hash;
1110
- };
1111
- }
1112
- function AttoReceiveBlock$address$delegate$lambda(this$0) {
1113
- return function () {
1114
- return new (AttoAddress())(this$0.k30_1, this$0.l30_1);
1115
- };
1116
- }
1117
- function AttoReceiveBlock$_get_address_$ref_otvr40() {
1118
- return function (p0) {
1119
- return p0.address;
1120
- };
1140
+ return (p0) => p0.hash;
1121
1141
  }
1122
1142
  function AttoReceiveBlock$_init_$lambda_4ot8lv(this$0) {
1123
- return function () {
1124
- return hash(this$0.f2z());
1125
- };
1126
- }
1127
- function AttoReceiveBlock$_init_$lambda_4ot8lv_0(this$0) {
1128
- return function () {
1129
- return new (AttoAddress())(this$0.k30_1, this$0.l30_1);
1130
- };
1143
+ return () => hash(this$0.e2w());
1131
1144
  }
1132
1145
  var AttoReceiveBlockClass;
1133
1146
  function AttoReceiveBlock() {
1134
1147
  if (AttoReceiveBlockClass === VOID) {
1135
1148
  class $ {
1136
1149
  constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
1137
- Companion_getInstance_5();
1138
- this.i30_1 = network;
1139
- this.j30_1 = version;
1140
- this.k30_1 = algorithm;
1141
- this.l30_1 = publicKey;
1142
- this.m30_1 = height;
1143
- this.n30_1 = balance;
1144
- this.o30_1 = timestamp;
1145
- this.p30_1 = previous;
1146
- this.q30_1 = sendHashAlgorithm;
1147
- this.r30_1 = sendHash;
1148
- this.s30_1 = AttoBlockType_RECEIVE_getInstance();
1150
+ Companion_getInstance_6();
1151
+ this.r2y_1 = network;
1152
+ this.s2y_1 = version;
1153
+ this.t2y_1 = algorithm;
1154
+ this.u2y_1 = publicKey;
1155
+ this.v2y_1 = height;
1156
+ this.w2y_1 = balance;
1157
+ this.x2y_1 = timestamp;
1158
+ this.y2y_1 = previous;
1159
+ this.z2y_1 = sendHashAlgorithm;
1160
+ this.a2z_1 = sendHash;
1161
+ this.b2z_1 = AttoBlockType_RECEIVE_getInstance();
1149
1162
  var tmp = this;
1150
- tmp.t30_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
1151
- var tmp_0 = this;
1152
- tmp_0.u30_1 = lazy_0(AttoReceiveBlock$address$delegate$lambda(this));
1163
+ tmp.c2z_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
1164
+ this.d2z_1 = new (AttoAddress())(this.t2y_1, this.u2y_1);
1153
1165
  }
1154
- f2w() {
1155
- return this.i30_1;
1166
+ k2u() {
1167
+ return this.r2y_1;
1156
1168
  }
1157
- g2w() {
1158
- return this.j30_1;
1169
+ l2u() {
1170
+ return this.s2y_1;
1159
1171
  }
1160
- h2w() {
1161
- return this.k30_1;
1172
+ m2u() {
1173
+ return this.t2y_1;
1162
1174
  }
1163
- e2w() {
1164
- return this.l30_1;
1175
+ j2u() {
1176
+ return this.u2y_1;
1165
1177
  }
1166
- i2w() {
1167
- return this.m30_1;
1178
+ n2u() {
1179
+ return this.v2y_1;
1168
1180
  }
1169
- j2w() {
1170
- return this.n30_1;
1181
+ o2u() {
1182
+ return this.w2y_1;
1171
1183
  }
1172
- o2x() {
1173
- return this.o30_1;
1184
+ t2v() {
1185
+ return this.x2y_1;
1174
1186
  }
1175
- h2z() {
1176
- return this.p30_1;
1187
+ s2x() {
1188
+ return this.y2y_1;
1177
1189
  }
1178
- i2z() {
1179
- return this.q30_1;
1190
+ t2x() {
1191
+ return this.z2y_1;
1180
1192
  }
1181
- j2z() {
1182
- return this.r30_1;
1193
+ u2x() {
1194
+ return this.a2z_1;
1183
1195
  }
1184
- e2z() {
1185
- return this.s30_1;
1196
+ o2x() {
1197
+ return this.b2z_1;
1186
1198
  }
1187
- j2x() {
1188
- var tmp0 = this.t30_1;
1199
+ o2v() {
1200
+ var tmp0 = this.c2z_1;
1189
1201
  var tmp = KProperty1();
1190
1202
  // Inline function 'kotlin.getValue' call
1191
1203
  getPropertyCallableRef('hash', 1, tmp, AttoReceiveBlock$_get_hash_$ref_1uzri0(), null);
1192
- return tmp0.s1();
1204
+ return tmp0.z1();
1193
1205
  }
1194
- o2w() {
1195
- var tmp0 = this.u30_1;
1196
- var tmp = KProperty1();
1197
- // Inline function 'kotlin.getValue' call
1198
- getPropertyCallableRef('address', 1, tmp, AttoReceiveBlock$_get_address_$ref_otvr40(), null);
1199
- return tmp0.s1();
1206
+ t2u() {
1207
+ return this.d2z_1;
1200
1208
  }
1201
- f2z() {
1209
+ e2w() {
1202
1210
  // Inline function 'kotlin.apply' call
1203
1211
  var this_0 = new (Buffer())();
1204
- writeAttoBlockType(this_0, this.s30_1);
1205
- writeAttoNetwork(this_0, this.i30_1);
1206
- writeAttoVersion(this_0, this.j30_1);
1207
- writeAttoAlgorithm(this_0, this.k30_1);
1208
- writeAttoPublicKey(this_0, this.l30_1);
1209
- writeAttoHeight(this_0, this.m30_1);
1210
- writeAttoAmount(this_0, this.n30_1);
1211
- writeInstant(this_0, this.o30_1);
1212
- writeAttoHash(this_0, this.p30_1);
1213
- writeAttoAlgorithm(this_0, this.q30_1);
1214
- writeAttoHash(this_0, this.r30_1);
1212
+ writeAttoBlockType(this_0, this.b2z_1);
1213
+ writeAttoNetwork(this_0, this.r2y_1);
1214
+ writeAttoVersion(this_0, this.s2y_1);
1215
+ writeAttoAlgorithm(this_0, this.t2y_1);
1216
+ writeAttoPublicKey(this_0, this.u2y_1);
1217
+ writeAttoHeight(this_0, this.v2y_1);
1218
+ writeAttoAmount(this_0, this.w2y_1);
1219
+ writeInstant(this_0, this.x2y_1);
1220
+ writeAttoHash(this_0, this.y2y_1);
1221
+ writeAttoAlgorithm(this_0, this.z2y_1);
1222
+ writeAttoHash(this_0, this.a2z_1);
1215
1223
  return this_0;
1216
1224
  }
1217
- isValid() {
1218
- return isValid.call(this) && this.m30_1.d30(new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)))) > 0 && this.n30_1.r2y(Companion_getInstance_1().MIN) > 0 && this.r30_1.value.length === this.q30_1.hashSize;
1219
- }
1220
- gl() {
1221
- return this.i30_1;
1225
+ te() {
1226
+ return this.r2y_1;
1222
1227
  }
1223
- hl() {
1224
- return this.j30_1;
1228
+ ue() {
1229
+ return this.s2y_1;
1225
1230
  }
1226
- t2w() {
1227
- return this.k30_1;
1231
+ z2u() {
1232
+ return this.t2y_1;
1228
1233
  }
1229
- u2w() {
1230
- return this.l30_1;
1234
+ a2v() {
1235
+ return this.u2y_1;
1231
1236
  }
1232
- v2w() {
1233
- return this.m30_1;
1237
+ b2v() {
1238
+ return this.v2y_1;
1234
1239
  }
1235
- w2w() {
1236
- return this.n30_1;
1240
+ c2v() {
1241
+ return this.w2y_1;
1237
1242
  }
1238
- x2w() {
1239
- return this.o30_1;
1243
+ d2v() {
1244
+ return this.x2y_1;
1240
1245
  }
1241
- y2w() {
1242
- return this.p30_1;
1246
+ e2v() {
1247
+ return this.y2y_1;
1243
1248
  }
1244
- z2w() {
1245
- return this.q30_1;
1249
+ f2v() {
1250
+ return this.z2y_1;
1246
1251
  }
1247
- a2x() {
1248
- return this.r30_1;
1252
+ g2v() {
1253
+ return this.a2z_1;
1249
1254
  }
1250
- w30(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
1255
+ f2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
1251
1256
  return new (AttoReceiveBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
1252
1257
  }
1253
1258
  copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, $super) {
1254
- network = network === VOID ? this.i30_1 : network;
1255
- version = version === VOID ? this.j30_1 : version;
1256
- algorithm = algorithm === VOID ? this.k30_1 : algorithm;
1257
- publicKey = publicKey === VOID ? this.l30_1 : publicKey;
1258
- height = height === VOID ? this.m30_1 : height;
1259
- balance = balance === VOID ? this.n30_1 : balance;
1260
- timestamp = timestamp === VOID ? this.o30_1 : timestamp;
1261
- previous = previous === VOID ? this.p30_1 : previous;
1262
- sendHashAlgorithm = sendHashAlgorithm === VOID ? this.q30_1 : sendHashAlgorithm;
1263
- sendHash = sendHash === VOID ? this.r30_1 : sendHash;
1264
- return $super === VOID ? this.w30(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.w30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
1259
+ network = network === VOID ? this.r2y_1 : network;
1260
+ version = version === VOID ? this.s2y_1 : version;
1261
+ algorithm = algorithm === VOID ? this.t2y_1 : algorithm;
1262
+ publicKey = publicKey === VOID ? this.u2y_1 : publicKey;
1263
+ height = height === VOID ? this.v2y_1 : height;
1264
+ balance = balance === VOID ? this.w2y_1 : balance;
1265
+ timestamp = timestamp === VOID ? this.x2y_1 : timestamp;
1266
+ previous = previous === VOID ? this.y2y_1 : previous;
1267
+ sendHashAlgorithm = sendHashAlgorithm === VOID ? this.z2y_1 : sendHashAlgorithm;
1268
+ sendHash = sendHash === VOID ? this.a2z_1 : sendHash;
1269
+ return $super === VOID ? this.f2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.f2z.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
1265
1270
  }
1266
1271
  toString() {
1267
- return 'AttoReceiveBlock(network=' + this.i30_1.toString() + ', version=' + this.j30_1.toString() + ', algorithm=' + this.k30_1.toString() + ', publicKey=' + this.l30_1.toString() + ', height=' + this.m30_1.toString() + ', balance=' + this.n30_1.toString() + ', timestamp=' + this.o30_1.toString() + ', previous=' + this.p30_1.toString() + ', sendHashAlgorithm=' + this.q30_1.toString() + ', sendHash=' + this.r30_1.toString() + ')';
1272
+ return 'AttoReceiveBlock(network=' + this.r2y_1.toString() + ', version=' + this.s2y_1.toString() + ', algorithm=' + this.t2y_1.toString() + ', publicKey=' + this.u2y_1.toString() + ', height=' + this.v2y_1.toString() + ', balance=' + this.w2y_1.toString() + ', timestamp=' + this.x2y_1.toString() + ', previous=' + this.y2y_1.toString() + ', sendHashAlgorithm=' + this.z2y_1.toString() + ', sendHash=' + this.a2z_1.toString() + ')';
1268
1273
  }
1269
1274
  hashCode() {
1270
- var result = this.i30_1.hashCode();
1271
- result = imul(result, 31) + this.j30_1.hashCode() | 0;
1272
- result = imul(result, 31) + this.k30_1.hashCode() | 0;
1273
- result = imul(result, 31) + this.l30_1.hashCode() | 0;
1274
- result = imul(result, 31) + this.m30_1.hashCode() | 0;
1275
- result = imul(result, 31) + this.n30_1.hashCode() | 0;
1276
- result = imul(result, 31) + this.o30_1.hashCode() | 0;
1277
- result = imul(result, 31) + this.p30_1.hashCode() | 0;
1278
- result = imul(result, 31) + this.q30_1.hashCode() | 0;
1279
- result = imul(result, 31) + this.r30_1.hashCode() | 0;
1275
+ var result = this.r2y_1.hashCode();
1276
+ result = imul(result, 31) + this.s2y_1.hashCode() | 0;
1277
+ result = imul(result, 31) + this.t2y_1.hashCode() | 0;
1278
+ result = imul(result, 31) + this.u2y_1.hashCode() | 0;
1279
+ result = imul(result, 31) + this.v2y_1.hashCode() | 0;
1280
+ result = imul(result, 31) + this.w2y_1.hashCode() | 0;
1281
+ result = imul(result, 31) + this.x2y_1.hashCode() | 0;
1282
+ result = imul(result, 31) + this.y2y_1.hashCode() | 0;
1283
+ result = imul(result, 31) + this.z2y_1.hashCode() | 0;
1284
+ result = imul(result, 31) + this.a2z_1.hashCode() | 0;
1280
1285
  return result;
1281
1286
  }
1282
1287
  equals(other) {
@@ -1284,92 +1289,95 @@ function AttoReceiveBlock() {
1284
1289
  return true;
1285
1290
  if (!(other instanceof AttoReceiveBlock()))
1286
1291
  return false;
1287
- var tmp0_other_with_cast = other instanceof AttoReceiveBlock() ? other : THROW_CCE();
1288
- if (!this.i30_1.equals(tmp0_other_with_cast.i30_1))
1292
+ if (!this.r2y_1.equals(other.r2y_1))
1289
1293
  return false;
1290
- if (!this.j30_1.equals(tmp0_other_with_cast.j30_1))
1294
+ if (!this.s2y_1.equals(other.s2y_1))
1291
1295
  return false;
1292
- if (!this.k30_1.equals(tmp0_other_with_cast.k30_1))
1296
+ if (!this.t2y_1.equals(other.t2y_1))
1293
1297
  return false;
1294
- if (!this.l30_1.equals(tmp0_other_with_cast.l30_1))
1298
+ if (!this.u2y_1.equals(other.u2y_1))
1295
1299
  return false;
1296
- if (!this.m30_1.equals(tmp0_other_with_cast.m30_1))
1300
+ if (!this.v2y_1.equals(other.v2y_1))
1297
1301
  return false;
1298
- if (!this.n30_1.equals(tmp0_other_with_cast.n30_1))
1302
+ if (!this.w2y_1.equals(other.w2y_1))
1299
1303
  return false;
1300
- if (!this.o30_1.equals(tmp0_other_with_cast.o30_1))
1304
+ if (!this.x2y_1.equals(other.x2y_1))
1301
1305
  return false;
1302
- if (!this.p30_1.equals(tmp0_other_with_cast.p30_1))
1306
+ if (!this.y2y_1.equals(other.y2y_1))
1303
1307
  return false;
1304
- if (!this.q30_1.equals(tmp0_other_with_cast.q30_1))
1308
+ if (!this.z2y_1.equals(other.z2y_1))
1305
1309
  return false;
1306
- if (!this.r30_1.equals(tmp0_other_with_cast.r30_1))
1310
+ if (!this.a2z_1.equals(other.a2z_1))
1307
1311
  return false;
1308
1312
  return true;
1309
1313
  }
1310
- static v30(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, serializationConstructorMarker) {
1311
- Companion_getInstance_5();
1314
+ static e2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, address, serializationConstructorMarker) {
1315
+ Companion_getInstance_6();
1312
1316
  if (!(1023 === (1023 & seen0))) {
1313
- throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().g30_1);
1317
+ throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().p2y_1);
1314
1318
  }
1315
1319
  var $this = createThis(this);
1316
- $this.i30_1 = network;
1317
- $this.j30_1 = version;
1318
- $this.k30_1 = algorithm;
1319
- $this.l30_1 = publicKey;
1320
- $this.m30_1 = height;
1321
- $this.n30_1 = balance;
1322
- $this.o30_1 = timestamp;
1323
- $this.p30_1 = previous;
1324
- $this.q30_1 = sendHashAlgorithm;
1325
- $this.r30_1 = sendHash;
1326
- $this.s30_1 = AttoBlockType_RECEIVE_getInstance();
1320
+ $this.r2y_1 = network;
1321
+ $this.s2y_1 = version;
1322
+ $this.t2y_1 = algorithm;
1323
+ $this.u2y_1 = publicKey;
1324
+ $this.v2y_1 = height;
1325
+ $this.w2y_1 = balance;
1326
+ $this.x2y_1 = timestamp;
1327
+ $this.y2y_1 = previous;
1328
+ $this.z2y_1 = sendHashAlgorithm;
1329
+ $this.a2z_1 = sendHash;
1330
+ $this.b2z_1 = AttoBlockType_RECEIVE_getInstance();
1327
1331
  var tmp = $this;
1328
- tmp.t30_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
1329
- var tmp_0 = $this;
1330
- tmp_0.u30_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv_0($this));
1332
+ tmp.c2z_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
1333
+ if (0 === (seen0 & 1024))
1334
+ $this.d2z_1 = new (AttoAddress())($this.t2y_1, $this.u2y_1);
1335
+ else
1336
+ $this.d2z_1 = address;
1331
1337
  return $this;
1332
1338
  }
1333
1339
  get network() {
1334
- return this.f2w();
1340
+ return this.k2u();
1335
1341
  }
1336
1342
  get version() {
1337
- return this.g2w();
1343
+ return this.l2u();
1338
1344
  }
1339
1345
  get algorithm() {
1340
- return this.h2w();
1346
+ return this.m2u();
1341
1347
  }
1342
1348
  get publicKey() {
1343
- return this.e2w();
1349
+ return this.j2u();
1344
1350
  }
1345
1351
  get height() {
1346
- return this.i2w();
1352
+ return this.n2u();
1347
1353
  }
1348
1354
  get balance() {
1349
- return this.j2w();
1355
+ return this.o2u();
1350
1356
  }
1351
1357
  get timestamp() {
1352
- return this.o2x();
1358
+ return this.t2v();
1353
1359
  }
1354
1360
  get previous() {
1355
- return this.h2z();
1361
+ return this.s2x();
1356
1362
  }
1357
1363
  get sendHashAlgorithm() {
1358
- return this.i2z();
1364
+ return this.t2x();
1359
1365
  }
1360
1366
  get sendHash() {
1361
- return this.j2z();
1367
+ return this.u2x();
1362
1368
  }
1363
1369
  get type() {
1364
- return this.e2z();
1370
+ return this.o2x();
1365
1371
  }
1366
1372
  get hash() {
1367
- return this.j2x();
1373
+ return this.o2v();
1368
1374
  }
1369
1375
  get address() {
1370
- return this.o2w();
1376
+ return this.t2u();
1371
1377
  }
1372
1378
  }
1379
+ protoOf($).validate = validate;
1380
+ protoOf($).isValid = isValid;
1373
1381
  initMetadataForClass($, 'AttoReceiveBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), ReceiveSupport()], VOID, VOID, {0: $serializer_getInstance_0});
1374
1382
  AttoReceiveBlockClass = $;
1375
1383
  }
@@ -1379,20 +1387,20 @@ function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3() {
1379
1387
  return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
1380
1388
  }
1381
1389
  function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_0() {
1382
- return Companion_getInstance_0().e2v();
1390
+ return Companion_getInstance_2().k2t();
1383
1391
  }
1384
1392
  function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_1() {
1385
- return Companion_getInstance_0().e2v();
1393
+ return Companion_getInstance_2().k2t();
1386
1394
  }
1387
1395
  function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2() {
1388
- return Companion_getInstance_0().e2v();
1396
+ return Companion_getInstance_2().k2t();
1389
1397
  }
1390
1398
  var CompanionClass_3;
1391
1399
  function Companion_3() {
1392
1400
  if (CompanionClass_3 === VOID) {
1393
1401
  class $ {
1394
1402
  constructor() {
1395
- Companion_instance_3 = this;
1403
+ Companion_instance_4 = this;
1396
1404
  var tmp = this;
1397
1405
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1398
1406
  var tmp_1 = lazy(tmp_0, AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3);
@@ -1404,19 +1412,19 @@ function Companion_3() {
1404
1412
  // Inline function 'kotlin.arrayOf' call
1405
1413
  // Inline function 'kotlin.js.unsafeCast' call
1406
1414
  // Inline function 'kotlin.js.asDynamic' call
1407
- tmp.c2z_1 = [tmp_1, null, tmp_3, null, null, null, tmp_5, null, lazy(tmp_6, AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2), null, null];
1415
+ tmp.m2x_1 = [tmp_1, null, tmp_3, null, null, null, tmp_5, null, lazy(tmp_6, AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2), null, null, null, null];
1408
1416
  }
1409
- a2z(serializedBlock) {
1410
- if (toLong(AttoBlockType_OPEN_getInstance().size).a2(serializedBlock.i1()) > 0) {
1417
+ k2x(serializedBlock) {
1418
+ if (fromInt(AttoBlockType_OPEN_getInstance().size) > serializedBlock.n1()) {
1411
1419
  return null;
1412
1420
  }
1413
1421
  var blockType = readAttoBlockType(serializedBlock);
1414
1422
  if (!blockType.equals(AttoBlockType_OPEN_getInstance())) {
1415
- throw IllegalArgumentException().u('Invalid block type: ' + blockType.toString());
1423
+ throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
1416
1424
  }
1417
1425
  return new (AttoOpenBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
1418
1426
  }
1419
- e2v() {
1427
+ k2t() {
1420
1428
  return $serializer_getInstance_1();
1421
1429
  }
1422
1430
  }
@@ -1425,11 +1433,11 @@ function Companion_3() {
1425
1433
  }
1426
1434
  return CompanionClass_3;
1427
1435
  }
1428
- var Companion_instance_3;
1429
- function Companion_getInstance_6() {
1430
- if (Companion_instance_3 === VOID)
1436
+ var Companion_instance_4;
1437
+ function Companion_getInstance_7() {
1438
+ if (Companion_instance_4 === VOID)
1431
1439
  new (Companion_3())();
1432
- return Companion_instance_3;
1440
+ return Companion_instance_4;
1433
1441
  }
1434
1442
  var $serializerClass_1;
1435
1443
  function $serializer_1() {
@@ -1437,42 +1445,46 @@ function $serializer_1() {
1437
1445
  class $ {
1438
1446
  constructor() {
1439
1447
  $serializer_instance_1 = this;
1440
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this, 11);
1441
- tmp0_serialDesc.w14('network', false);
1442
- tmp0_serialDesc.w14('version', false);
1443
- tmp0_serialDesc.w14('algorithm', false);
1444
- tmp0_serialDesc.w14('publicKey', false);
1445
- tmp0_serialDesc.w14('balance', false);
1446
- tmp0_serialDesc.w14('timestamp', false);
1447
- tmp0_serialDesc.w14('sendHashAlgorithm', false);
1448
- tmp0_serialDesc.w14('sendHash', false);
1449
- tmp0_serialDesc.w14('representativeAlgorithm', false);
1450
- tmp0_serialDesc.w14('representativePublicKey', false);
1451
- tmp0_serialDesc.w14('height', true);
1452
- this.x30_1 = tmp0_serialDesc;
1453
- }
1454
- y30(encoder, value) {
1455
- var tmp0_desc = this.x30_1;
1456
- var tmp1_output = encoder.kx(tmp0_desc);
1457
- var tmp2_cached = Companion_getInstance_6().c2z_1;
1458
- tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.j2v_1);
1459
- tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.k2v_1);
1460
- tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.l2v_1);
1461
- tmp1_output.bz(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), value.m2v_1);
1462
- tmp1_output.bz(tmp0_desc, 4, AttoAmountSerializer_getInstance(), value.n2v_1);
1463
- tmp1_output.bz(tmp0_desc, 5, InstantMillisSerializer_getInstance(), value.o2v_1);
1464
- tmp1_output.bz(tmp0_desc, 6, tmp2_cached[6].s1(), value.p2v_1);
1465
- tmp1_output.bz(tmp0_desc, 7, AttoHashSerializer_getInstance(), value.q2v_1);
1466
- tmp1_output.bz(tmp0_desc, 8, tmp2_cached[8].s1(), value.r2v_1);
1467
- tmp1_output.bz(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), value.s2v_1);
1468
- tmp1_output.bz(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.v2v_1);
1469
- tmp1_output.lx(tmp0_desc);
1470
- }
1471
- ys(encoder, value) {
1472
- return this.y30(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
1473
- }
1474
- zs(decoder) {
1475
- var tmp0_desc = this.x30_1;
1448
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this, 13);
1449
+ tmp0_serialDesc.v1w('network', false);
1450
+ tmp0_serialDesc.v1w('version', false);
1451
+ tmp0_serialDesc.v1w('algorithm', false);
1452
+ tmp0_serialDesc.v1w('publicKey', false);
1453
+ tmp0_serialDesc.v1w('balance', false);
1454
+ tmp0_serialDesc.v1w('timestamp', false);
1455
+ tmp0_serialDesc.v1w('sendHashAlgorithm', false);
1456
+ tmp0_serialDesc.v1w('sendHash', false);
1457
+ tmp0_serialDesc.v1w('representativeAlgorithm', false);
1458
+ tmp0_serialDesc.v1w('representativePublicKey', false);
1459
+ tmp0_serialDesc.v1w('height', true);
1460
+ tmp0_serialDesc.v1w('address', true);
1461
+ tmp0_serialDesc.v1w('representativeAddress', true);
1462
+ this.g2z_1 = tmp0_serialDesc;
1463
+ }
1464
+ h2z(encoder, value) {
1465
+ var tmp0_desc = this.g2z_1;
1466
+ var tmp1_output = encoder.h1p(tmp0_desc);
1467
+ var tmp2_cached = Companion_getInstance_7().m2x_1;
1468
+ tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.p2t_1);
1469
+ tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.q2t_1);
1470
+ tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.r2t_1);
1471
+ tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.s2t_1);
1472
+ tmp1_output.y1q(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), value.t2t_1);
1473
+ tmp1_output.y1q(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.u2t_1);
1474
+ tmp1_output.y1q(tmp0_desc, 6, tmp2_cached[6].z1(), value.v2t_1);
1475
+ tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.w2t_1);
1476
+ tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.x2t_1);
1477
+ tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.y2t_1);
1478
+ tmp1_output.y1q(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.b2u_1);
1479
+ tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.c2u_1);
1480
+ tmp1_output.y1q(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
1481
+ tmp1_output.i1p(tmp0_desc);
1482
+ }
1483
+ v1k(encoder, value) {
1484
+ return this.h2z(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
1485
+ }
1486
+ w1k(decoder) {
1487
+ var tmp0_desc = this.g2z_1;
1476
1488
  var tmp1_flag = true;
1477
1489
  var tmp2_index = 0;
1478
1490
  var tmp3_bitMask0 = 0;
@@ -1487,101 +1499,115 @@ function $serializer_1() {
1487
1499
  var tmp12_local8 = null;
1488
1500
  var tmp13_local9 = null;
1489
1501
  var tmp14_local10 = null;
1490
- var tmp19_input = decoder.kx(tmp0_desc);
1491
- var tmp20_cached = Companion_getInstance_6().c2z_1;
1492
- if (tmp19_input.zx()) {
1493
- tmp4_local0 = tmp19_input.wx(tmp0_desc, 0, tmp20_cached[0].s1(), tmp4_local0);
1502
+ var tmp15_local11 = null;
1503
+ var tmp16_local12 = null;
1504
+ var tmp19_input = decoder.h1p(tmp0_desc);
1505
+ var tmp20_cached = Companion_getInstance_7().m2x_1;
1506
+ if (tmp19_input.w1p()) {
1507
+ tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
1494
1508
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1495
- tmp5_local1 = tmp19_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1509
+ tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1496
1510
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1497
- tmp6_local2 = tmp19_input.wx(tmp0_desc, 2, tmp20_cached[2].s1(), tmp6_local2);
1511
+ tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
1498
1512
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1499
- tmp7_local3 = tmp19_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
1513
+ tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
1500
1514
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1501
- tmp8_local4 = tmp19_input.wx(tmp0_desc, 4, AttoAmountSerializer_getInstance(), tmp8_local4);
1515
+ tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
1502
1516
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1503
- tmp9_local5 = tmp19_input.wx(tmp0_desc, 5, InstantMillisSerializer_getInstance(), tmp9_local5);
1517
+ tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
1504
1518
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1505
- tmp10_local6 = tmp19_input.wx(tmp0_desc, 6, tmp20_cached[6].s1(), tmp10_local6);
1519
+ tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, tmp20_cached[6].z1(), tmp10_local6);
1506
1520
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1507
- tmp11_local7 = tmp19_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
1521
+ tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
1508
1522
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1509
- tmp12_local8 = tmp19_input.wx(tmp0_desc, 8, tmp20_cached[8].s1(), tmp12_local8);
1523
+ tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
1510
1524
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1511
- tmp13_local9 = tmp19_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
1525
+ tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
1512
1526
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1513
- tmp14_local10 = tmp19_input.wx(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
1527
+ tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
1514
1528
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1529
+ tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
1530
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1531
+ tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
1532
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
1515
1533
  } else
1516
1534
  while (tmp1_flag) {
1517
- tmp2_index = tmp19_input.ay(tmp0_desc);
1535
+ tmp2_index = tmp19_input.x1p(tmp0_desc);
1518
1536
  switch (tmp2_index) {
1519
1537
  case -1:
1520
1538
  tmp1_flag = false;
1521
1539
  break;
1522
1540
  case 0:
1523
- tmp4_local0 = tmp19_input.wx(tmp0_desc, 0, tmp20_cached[0].s1(), tmp4_local0);
1541
+ tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
1524
1542
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1525
1543
  break;
1526
1544
  case 1:
1527
- tmp5_local1 = tmp19_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1545
+ tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
1528
1546
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1529
1547
  break;
1530
1548
  case 2:
1531
- tmp6_local2 = tmp19_input.wx(tmp0_desc, 2, tmp20_cached[2].s1(), tmp6_local2);
1549
+ tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
1532
1550
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1533
1551
  break;
1534
1552
  case 3:
1535
- tmp7_local3 = tmp19_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
1553
+ tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
1536
1554
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1537
1555
  break;
1538
1556
  case 4:
1539
- tmp8_local4 = tmp19_input.wx(tmp0_desc, 4, AttoAmountSerializer_getInstance(), tmp8_local4);
1557
+ tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
1540
1558
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1541
1559
  break;
1542
1560
  case 5:
1543
- tmp9_local5 = tmp19_input.wx(tmp0_desc, 5, InstantMillisSerializer_getInstance(), tmp9_local5);
1561
+ tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
1544
1562
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1545
1563
  break;
1546
1564
  case 6:
1547
- tmp10_local6 = tmp19_input.wx(tmp0_desc, 6, tmp20_cached[6].s1(), tmp10_local6);
1565
+ tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, tmp20_cached[6].z1(), tmp10_local6);
1548
1566
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1549
1567
  break;
1550
1568
  case 7:
1551
- tmp11_local7 = tmp19_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
1569
+ tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
1552
1570
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1553
1571
  break;
1554
1572
  case 8:
1555
- tmp12_local8 = tmp19_input.wx(tmp0_desc, 8, tmp20_cached[8].s1(), tmp12_local8);
1573
+ tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
1556
1574
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1557
1575
  break;
1558
1576
  case 9:
1559
- tmp13_local9 = tmp19_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
1577
+ tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
1560
1578
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1561
1579
  break;
1562
1580
  case 10:
1563
- tmp14_local10 = tmp19_input.wx(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
1581
+ tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
1564
1582
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1565
1583
  break;
1584
+ case 11:
1585
+ tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
1586
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1587
+ break;
1588
+ case 12:
1589
+ tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
1590
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
1591
+ break;
1566
1592
  default:
1567
- throw UnknownFieldException().ev(tmp2_index);
1593
+ throw UnknownFieldException().q1m(tmp2_index);
1568
1594
  }
1569
1595
  }
1570
- tmp19_input.lx(tmp0_desc);
1571
- return AttoOpenBlock().z30(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, null);
1596
+ tmp19_input.i1p(tmp0_desc);
1597
+ return AttoOpenBlock().i2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
1572
1598
  }
1573
- xs() {
1574
- return this.x30_1;
1599
+ u1k() {
1600
+ return this.g2z_1;
1575
1601
  }
1576
- l15() {
1577
- var tmp0_cached = Companion_getInstance_6().c2z_1;
1602
+ k1x() {
1603
+ var tmp0_cached = Companion_getInstance_7().m2x_1;
1578
1604
  // Inline function 'kotlin.arrayOf' call
1579
1605
  // Inline function 'kotlin.js.unsafeCast' call
1580
1606
  // Inline function 'kotlin.js.asDynamic' call
1581
- return [tmp0_cached[0].s1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].s1(), AttoPublicKeySerializer_getInstance(), AttoAmountSerializer_getInstance(), InstantMillisSerializer_getInstance(), tmp0_cached[6].s1(), AttoHashSerializer_getInstance(), tmp0_cached[8].s1(), AttoPublicKeySerializer_getInstance(), AttoHeightSerializer_getInstance()];
1607
+ return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), tmp0_cached[6].z1(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
1582
1608
  }
1583
1609
  }
1584
- protoOf($).m15 = typeParametersSerializers;
1610
+ protoOf($).l1x = typeParametersSerializers;
1585
1611
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
1586
1612
  $serializerClass_1 = $;
1587
1613
  }
@@ -1594,211 +1620,162 @@ function $serializer_getInstance_1() {
1594
1620
  return $serializer_instance_1;
1595
1621
  }
1596
1622
  function AttoOpenBlock$hash$delegate$lambda(this$0) {
1597
- return function () {
1598
- return hash(this$0.f2z());
1599
- };
1623
+ return () => hash(this$0.e2w());
1600
1624
  }
1601
1625
  function AttoOpenBlock$_get_hash_$ref_fk78xn() {
1602
- return function (p0) {
1603
- return p0.hash;
1604
- };
1605
- }
1606
- function AttoOpenBlock$address$delegate$lambda(this$0) {
1607
- return function () {
1608
- return new (AttoAddress())(this$0.l2v_1, this$0.m2v_1);
1609
- };
1610
- }
1611
- function AttoOpenBlock$_get_address_$ref_p6mkmb() {
1612
- return function (p0) {
1613
- return p0.address;
1614
- };
1615
- }
1616
- function AttoOpenBlock$representativeAddress$delegate$lambda(this$0) {
1617
- return function () {
1618
- return new (AttoAddress())(this$0.r2v_1, this$0.s2v_1);
1619
- };
1620
- }
1621
- function AttoOpenBlock$_get_representativeAddress_$ref_cjvoh2() {
1622
- return function (p0) {
1623
- return p0.representativeAddress;
1624
- };
1626
+ return (p0) => p0.hash;
1625
1627
  }
1626
1628
  function AttoOpenBlock$_init_$lambda_2mk62y(this$0) {
1627
- return function () {
1628
- return hash(this$0.f2z());
1629
- };
1630
- }
1631
- function AttoOpenBlock$_init_$lambda_2mk62y_0(this$0) {
1632
- return function () {
1633
- return new (AttoAddress())(this$0.l2v_1, this$0.m2v_1);
1634
- };
1635
- }
1636
- function AttoOpenBlock$_init_$lambda_2mk62y_1(this$0) {
1637
- return function () {
1638
- return new (AttoAddress())(this$0.r2v_1, this$0.s2v_1);
1639
- };
1629
+ return () => hash(this$0.e2w());
1640
1630
  }
1641
1631
  var AttoOpenBlockClass;
1642
1632
  function AttoOpenBlock() {
1643
1633
  if (AttoOpenBlockClass === VOID) {
1644
1634
  class $ {
1645
1635
  constructor(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
1646
- Companion_getInstance_6();
1647
- this.j2v_1 = network;
1648
- this.k2v_1 = version;
1649
- this.l2v_1 = algorithm;
1650
- this.m2v_1 = publicKey;
1651
- this.n2v_1 = balance;
1652
- this.o2v_1 = timestamp;
1653
- this.p2v_1 = sendHashAlgorithm;
1654
- this.q2v_1 = sendHash;
1655
- this.r2v_1 = representativeAlgorithm;
1656
- this.s2v_1 = representativePublicKey;
1657
- this.t2v_1 = AttoBlockType_OPEN_getInstance();
1636
+ Companion_getInstance_7();
1637
+ this.p2t_1 = network;
1638
+ this.q2t_1 = version;
1639
+ this.r2t_1 = algorithm;
1640
+ this.s2t_1 = publicKey;
1641
+ this.t2t_1 = balance;
1642
+ this.u2t_1 = timestamp;
1643
+ this.v2t_1 = sendHashAlgorithm;
1644
+ this.w2t_1 = sendHash;
1645
+ this.x2t_1 = representativeAlgorithm;
1646
+ this.y2t_1 = representativePublicKey;
1647
+ this.z2t_1 = AttoBlockType_OPEN_getInstance();
1658
1648
  var tmp = this;
1659
- tmp.u2v_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
1660
- this.v2v_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)));
1661
- var tmp_0 = this;
1662
- tmp_0.w2v_1 = lazy_0(AttoOpenBlock$address$delegate$lambda(this));
1663
- var tmp_1 = this;
1664
- tmp_1.x2v_1 = lazy_0(AttoOpenBlock$representativeAddress$delegate$lambda(this));
1649
+ tmp.a2u_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
1650
+ this.b2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
1651
+ this.c2u_1 = new (AttoAddress())(this.r2t_1, this.s2t_1);
1652
+ this.representativeAddress = new (AttoAddress())(this.x2t_1, this.y2t_1);
1665
1653
  }
1666
- f2w() {
1667
- return this.j2v_1;
1654
+ k2u() {
1655
+ return this.p2t_1;
1668
1656
  }
1669
- g2w() {
1670
- return this.k2v_1;
1657
+ l2u() {
1658
+ return this.q2t_1;
1671
1659
  }
1672
- h2w() {
1673
- return this.l2v_1;
1660
+ m2u() {
1661
+ return this.r2t_1;
1674
1662
  }
1675
- e2w() {
1676
- return this.m2v_1;
1663
+ j2u() {
1664
+ return this.s2t_1;
1677
1665
  }
1678
- j2w() {
1679
- return this.n2v_1;
1666
+ o2u() {
1667
+ return this.t2t_1;
1680
1668
  }
1681
- o2x() {
1682
- return this.o2v_1;
1669
+ t2v() {
1670
+ return this.u2t_1;
1683
1671
  }
1684
- i2z() {
1685
- return this.p2v_1;
1672
+ t2x() {
1673
+ return this.v2t_1;
1686
1674
  }
1687
- j2z() {
1688
- return this.q2v_1;
1675
+ u2x() {
1676
+ return this.w2t_1;
1689
1677
  }
1690
- m2w() {
1691
- return this.r2v_1;
1678
+ r2u() {
1679
+ return this.x2t_1;
1692
1680
  }
1693
- n2w() {
1694
- return this.s2v_1;
1681
+ s2u() {
1682
+ return this.y2t_1;
1695
1683
  }
1696
- e2z() {
1697
- return this.t2v_1;
1684
+ o2x() {
1685
+ return this.z2t_1;
1698
1686
  }
1699
- j2x() {
1700
- var tmp0 = this.u2v_1;
1687
+ o2v() {
1688
+ var tmp0 = this.a2u_1;
1701
1689
  var tmp = KProperty1();
1702
1690
  // Inline function 'kotlin.getValue' call
1703
1691
  getPropertyCallableRef('hash', 1, tmp, AttoOpenBlock$_get_hash_$ref_fk78xn(), null);
1704
- return tmp0.s1();
1692
+ return tmp0.z1();
1705
1693
  }
1706
- i2w() {
1707
- return this.v2v_1;
1694
+ n2u() {
1695
+ return this.b2u_1;
1708
1696
  }
1709
- o2w() {
1710
- var tmp0 = this.w2v_1;
1711
- var tmp = KProperty1();
1712
- // Inline function 'kotlin.getValue' call
1713
- getPropertyCallableRef('address', 1, tmp, AttoOpenBlock$_get_address_$ref_p6mkmb(), null);
1714
- return tmp0.s1();
1697
+ t2u() {
1698
+ return this.c2u_1;
1715
1699
  }
1716
- p2w() {
1717
- var tmp0 = this.x2v_1;
1718
- var tmp = KProperty1();
1719
- // Inline function 'kotlin.getValue' call
1720
- getPropertyCallableRef('representativeAddress', 1, tmp, AttoOpenBlock$_get_representativeAddress_$ref_cjvoh2(), null);
1721
- return tmp0.s1();
1700
+ u2u() {
1701
+ return this.representativeAddress;
1722
1702
  }
1723
- f2z() {
1703
+ e2w() {
1724
1704
  // Inline function 'kotlin.apply' call
1725
1705
  var this_0 = new (Buffer())();
1726
- writeAttoBlockType(this_0, this.t2v_1);
1727
- writeAttoNetwork(this_0, this.j2v_1);
1728
- writeAttoVersion(this_0, this.k2v_1);
1729
- writeAttoAlgorithm(this_0, this.l2v_1);
1730
- writeAttoPublicKey(this_0, this.m2v_1);
1731
- writeAttoAmount(this_0, this.n2v_1);
1732
- writeInstant(this_0, this.o2v_1);
1733
- writeAttoAlgorithm(this_0, this.p2v_1);
1734
- writeAttoHash(this_0, this.q2v_1);
1735
- writeAttoAlgorithm(this_0, this.r2v_1);
1736
- writeAttoPublicKey(this_0, this.s2v_1);
1706
+ writeAttoBlockType(this_0, this.z2t_1);
1707
+ writeAttoNetwork(this_0, this.p2t_1);
1708
+ writeAttoVersion(this_0, this.q2t_1);
1709
+ writeAttoAlgorithm(this_0, this.r2t_1);
1710
+ writeAttoPublicKey(this_0, this.s2t_1);
1711
+ writeAttoAmount(this_0, this.t2t_1);
1712
+ writeInstant(this_0, this.u2t_1);
1713
+ writeAttoAlgorithm(this_0, this.v2t_1);
1714
+ writeAttoHash(this_0, this.w2t_1);
1715
+ writeAttoAlgorithm(this_0, this.x2t_1);
1716
+ writeAttoPublicKey(this_0, this.y2t_1);
1737
1717
  return this_0;
1738
1718
  }
1739
- isValid() {
1740
- return isValid.call(this) && this.n2v_1.r2y(Companion_getInstance_1().MIN) > 0 && this.q2v_1.value.length === this.p2v_1.hashSize;
1719
+ te() {
1720
+ return this.p2t_1;
1741
1721
  }
1742
- gl() {
1743
- return this.j2v_1;
1722
+ ue() {
1723
+ return this.q2t_1;
1744
1724
  }
1745
- hl() {
1746
- return this.k2v_1;
1725
+ z2u() {
1726
+ return this.r2t_1;
1747
1727
  }
1748
- t2w() {
1749
- return this.l2v_1;
1728
+ a2v() {
1729
+ return this.s2t_1;
1750
1730
  }
1751
- u2w() {
1752
- return this.m2v_1;
1731
+ b2v() {
1732
+ return this.t2t_1;
1753
1733
  }
1754
- v2w() {
1755
- return this.n2v_1;
1734
+ c2v() {
1735
+ return this.u2t_1;
1756
1736
  }
1757
- w2w() {
1758
- return this.o2v_1;
1737
+ d2v() {
1738
+ return this.v2t_1;
1759
1739
  }
1760
- x2w() {
1761
- return this.p2v_1;
1762
- }
1763
- y2w() {
1764
- return this.q2v_1;
1740
+ e2v() {
1741
+ return this.w2t_1;
1765
1742
  }
1766
- z2w() {
1767
- return this.r2v_1;
1743
+ f2v() {
1744
+ return this.x2t_1;
1768
1745
  }
1769
- a2x() {
1770
- return this.s2v_1;
1746
+ g2v() {
1747
+ return this.y2t_1;
1771
1748
  }
1772
- a31(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
1749
+ j2z(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
1773
1750
  return new (AttoOpenBlock())(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
1774
1751
  }
1775
1752
  copy(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, $super) {
1776
- network = network === VOID ? this.j2v_1 : network;
1777
- version = version === VOID ? this.k2v_1 : version;
1778
- algorithm = algorithm === VOID ? this.l2v_1 : algorithm;
1779
- publicKey = publicKey === VOID ? this.m2v_1 : publicKey;
1780
- balance = balance === VOID ? this.n2v_1 : balance;
1781
- timestamp = timestamp === VOID ? this.o2v_1 : timestamp;
1782
- sendHashAlgorithm = sendHashAlgorithm === VOID ? this.p2v_1 : sendHashAlgorithm;
1783
- sendHash = sendHash === VOID ? this.q2v_1 : sendHash;
1784
- representativeAlgorithm = representativeAlgorithm === VOID ? this.r2v_1 : representativeAlgorithm;
1785
- representativePublicKey = representativePublicKey === VOID ? this.s2v_1 : representativePublicKey;
1786
- return $super === VOID ? this.a31(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.a31.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
1753
+ network = network === VOID ? this.p2t_1 : network;
1754
+ version = version === VOID ? this.q2t_1 : version;
1755
+ algorithm = algorithm === VOID ? this.r2t_1 : algorithm;
1756
+ publicKey = publicKey === VOID ? this.s2t_1 : publicKey;
1757
+ balance = balance === VOID ? this.t2t_1 : balance;
1758
+ timestamp = timestamp === VOID ? this.u2t_1 : timestamp;
1759
+ sendHashAlgorithm = sendHashAlgorithm === VOID ? this.v2t_1 : sendHashAlgorithm;
1760
+ sendHash = sendHash === VOID ? this.w2t_1 : sendHash;
1761
+ representativeAlgorithm = representativeAlgorithm === VOID ? this.x2t_1 : representativeAlgorithm;
1762
+ representativePublicKey = representativePublicKey === VOID ? this.y2t_1 : representativePublicKey;
1763
+ return $super === VOID ? this.j2z(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.j2z.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
1787
1764
  }
1788
1765
  toString() {
1789
- return 'AttoOpenBlock(network=' + this.j2v_1.toString() + ', version=' + this.k2v_1.toString() + ', algorithm=' + this.l2v_1.toString() + ', publicKey=' + this.m2v_1.toString() + ', balance=' + this.n2v_1.toString() + ', timestamp=' + this.o2v_1.toString() + ', sendHashAlgorithm=' + this.p2v_1.toString() + ', sendHash=' + this.q2v_1.toString() + ', representativeAlgorithm=' + this.r2v_1.toString() + ', representativePublicKey=' + this.s2v_1.toString() + ')';
1766
+ return 'AttoOpenBlock(network=' + this.p2t_1.toString() + ', version=' + this.q2t_1.toString() + ', algorithm=' + this.r2t_1.toString() + ', publicKey=' + this.s2t_1.toString() + ', balance=' + this.t2t_1.toString() + ', timestamp=' + this.u2t_1.toString() + ', sendHashAlgorithm=' + this.v2t_1.toString() + ', sendHash=' + this.w2t_1.toString() + ', representativeAlgorithm=' + this.x2t_1.toString() + ', representativePublicKey=' + this.y2t_1.toString() + ')';
1790
1767
  }
1791
1768
  hashCode() {
1792
- var result = this.j2v_1.hashCode();
1793
- result = imul(result, 31) + this.k2v_1.hashCode() | 0;
1794
- result = imul(result, 31) + this.l2v_1.hashCode() | 0;
1795
- result = imul(result, 31) + this.m2v_1.hashCode() | 0;
1796
- result = imul(result, 31) + this.n2v_1.hashCode() | 0;
1797
- result = imul(result, 31) + this.o2v_1.hashCode() | 0;
1798
- result = imul(result, 31) + this.p2v_1.hashCode() | 0;
1799
- result = imul(result, 31) + this.q2v_1.hashCode() | 0;
1800
- result = imul(result, 31) + this.r2v_1.hashCode() | 0;
1801
- result = imul(result, 31) + this.s2v_1.hashCode() | 0;
1769
+ var result = this.p2t_1.hashCode();
1770
+ result = imul(result, 31) + this.q2t_1.hashCode() | 0;
1771
+ result = imul(result, 31) + this.r2t_1.hashCode() | 0;
1772
+ result = imul(result, 31) + this.s2t_1.hashCode() | 0;
1773
+ result = imul(result, 31) + this.t2t_1.hashCode() | 0;
1774
+ result = imul(result, 31) + this.u2t_1.hashCode() | 0;
1775
+ result = imul(result, 31) + this.v2t_1.hashCode() | 0;
1776
+ result = imul(result, 31) + this.w2t_1.hashCode() | 0;
1777
+ result = imul(result, 31) + this.x2t_1.hashCode() | 0;
1778
+ result = imul(result, 31) + this.y2t_1.hashCode() | 0;
1802
1779
  return result;
1803
1780
  }
1804
1781
  equals(other) {
@@ -1806,104 +1783,106 @@ function AttoOpenBlock() {
1806
1783
  return true;
1807
1784
  if (!(other instanceof AttoOpenBlock()))
1808
1785
  return false;
1809
- var tmp0_other_with_cast = other instanceof AttoOpenBlock() ? other : THROW_CCE();
1810
- if (!this.j2v_1.equals(tmp0_other_with_cast.j2v_1))
1786
+ if (!this.p2t_1.equals(other.p2t_1))
1811
1787
  return false;
1812
- if (!this.k2v_1.equals(tmp0_other_with_cast.k2v_1))
1788
+ if (!this.q2t_1.equals(other.q2t_1))
1813
1789
  return false;
1814
- if (!this.l2v_1.equals(tmp0_other_with_cast.l2v_1))
1790
+ if (!this.r2t_1.equals(other.r2t_1))
1815
1791
  return false;
1816
- if (!this.m2v_1.equals(tmp0_other_with_cast.m2v_1))
1792
+ if (!this.s2t_1.equals(other.s2t_1))
1817
1793
  return false;
1818
- if (!this.n2v_1.equals(tmp0_other_with_cast.n2v_1))
1794
+ if (!this.t2t_1.equals(other.t2t_1))
1819
1795
  return false;
1820
- if (!this.o2v_1.equals(tmp0_other_with_cast.o2v_1))
1796
+ if (!this.u2t_1.equals(other.u2t_1))
1821
1797
  return false;
1822
- if (!this.p2v_1.equals(tmp0_other_with_cast.p2v_1))
1798
+ if (!this.v2t_1.equals(other.v2t_1))
1823
1799
  return false;
1824
- if (!this.q2v_1.equals(tmp0_other_with_cast.q2v_1))
1800
+ if (!this.w2t_1.equals(other.w2t_1))
1825
1801
  return false;
1826
- if (!this.r2v_1.equals(tmp0_other_with_cast.r2v_1))
1802
+ if (!this.x2t_1.equals(other.x2t_1))
1827
1803
  return false;
1828
- if (!this.s2v_1.equals(tmp0_other_with_cast.s2v_1))
1804
+ if (!this.y2t_1.equals(other.y2t_1))
1829
1805
  return false;
1830
1806
  return true;
1831
1807
  }
1832
- static z30(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, serializationConstructorMarker) {
1833
- Companion_getInstance_6();
1808
+ static i2z(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, address, representativeAddress, serializationConstructorMarker) {
1809
+ Companion_getInstance_7();
1834
1810
  if (!(1023 === (1023 & seen0))) {
1835
- throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().x30_1);
1811
+ throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().g2z_1);
1836
1812
  }
1837
1813
  var $this = createThis(this);
1838
- $this.j2v_1 = network;
1839
- $this.k2v_1 = version;
1840
- $this.l2v_1 = algorithm;
1841
- $this.m2v_1 = publicKey;
1842
- $this.n2v_1 = balance;
1843
- $this.o2v_1 = timestamp;
1844
- $this.p2v_1 = sendHashAlgorithm;
1845
- $this.q2v_1 = sendHash;
1846
- $this.r2v_1 = representativeAlgorithm;
1847
- $this.s2v_1 = representativePublicKey;
1848
- $this.t2v_1 = AttoBlockType_OPEN_getInstance();
1814
+ $this.p2t_1 = network;
1815
+ $this.q2t_1 = version;
1816
+ $this.r2t_1 = algorithm;
1817
+ $this.s2t_1 = publicKey;
1818
+ $this.t2t_1 = balance;
1819
+ $this.u2t_1 = timestamp;
1820
+ $this.v2t_1 = sendHashAlgorithm;
1821
+ $this.w2t_1 = sendHash;
1822
+ $this.x2t_1 = representativeAlgorithm;
1823
+ $this.y2t_1 = representativePublicKey;
1824
+ $this.z2t_1 = AttoBlockType_OPEN_getInstance();
1849
1825
  var tmp = $this;
1850
- tmp.u2v_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
1826
+ tmp.a2u_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
1851
1827
  if (0 === (seen0 & 1024))
1852
- $this.v2v_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)));
1828
+ $this.b2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
1829
+ else
1830
+ $this.b2u_1 = height;
1831
+ if (0 === (seen0 & 2048))
1832
+ $this.c2u_1 = new (AttoAddress())($this.r2t_1, $this.s2t_1);
1853
1833
  else
1854
- $this.v2v_1 = height;
1855
- var tmp_0 = $this;
1856
- tmp_0.w2v_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y_0($this));
1857
- var tmp_1 = $this;
1858
- tmp_1.x2v_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y_1($this));
1834
+ $this.c2u_1 = address;
1835
+ if (0 === (seen0 & 4096))
1836
+ $this.representativeAddress = new (AttoAddress())($this.x2t_1, $this.y2t_1);
1837
+ else
1838
+ $this.representativeAddress = representativeAddress;
1859
1839
  return $this;
1860
1840
  }
1861
1841
  get network() {
1862
- return this.f2w();
1842
+ return this.k2u();
1863
1843
  }
1864
1844
  get version() {
1865
- return this.g2w();
1845
+ return this.l2u();
1866
1846
  }
1867
1847
  get algorithm() {
1868
- return this.h2w();
1848
+ return this.m2u();
1869
1849
  }
1870
1850
  get publicKey() {
1871
- return this.e2w();
1851
+ return this.j2u();
1872
1852
  }
1873
1853
  get balance() {
1874
- return this.j2w();
1854
+ return this.o2u();
1875
1855
  }
1876
1856
  get timestamp() {
1877
- return this.o2x();
1857
+ return this.t2v();
1878
1858
  }
1879
1859
  get sendHashAlgorithm() {
1880
- return this.i2z();
1860
+ return this.t2x();
1881
1861
  }
1882
1862
  get sendHash() {
1883
- return this.j2z();
1863
+ return this.u2x();
1884
1864
  }
1885
1865
  get representativeAlgorithm() {
1886
- return this.m2w();
1866
+ return this.r2u();
1887
1867
  }
1888
1868
  get representativePublicKey() {
1889
- return this.n2w();
1869
+ return this.s2u();
1890
1870
  }
1891
1871
  get type() {
1892
- return this.e2z();
1872
+ return this.o2x();
1893
1873
  }
1894
1874
  get hash() {
1895
- return this.j2x();
1875
+ return this.o2v();
1896
1876
  }
1897
1877
  get height() {
1898
- return this.i2w();
1878
+ return this.n2u();
1899
1879
  }
1900
1880
  get address() {
1901
- return this.o2w();
1902
- }
1903
- get representativeAddress() {
1904
- return this.p2w();
1881
+ return this.t2u();
1905
1882
  }
1906
1883
  }
1884
+ protoOf($).validate = validate;
1885
+ protoOf($).isValid = isValid;
1907
1886
  initMetadataForClass($, 'AttoOpenBlock', VOID, VOID, [AttoBlock(), ReceiveSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_1});
1908
1887
  AttoOpenBlockClass = $;
1909
1888
  }
@@ -1913,17 +1892,17 @@ function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff() {
1913
1892
  return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
1914
1893
  }
1915
1894
  function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_0() {
1916
- return Companion_getInstance_0().e2v();
1895
+ return Companion_getInstance_2().k2t();
1917
1896
  }
1918
1897
  function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1() {
1919
- return Companion_getInstance_0().e2v();
1898
+ return Companion_getInstance_2().k2t();
1920
1899
  }
1921
1900
  var CompanionClass_4;
1922
1901
  function Companion_4() {
1923
1902
  if (CompanionClass_4 === VOID) {
1924
1903
  class $ {
1925
1904
  constructor() {
1926
- Companion_instance_4 = this;
1905
+ Companion_instance_5 = this;
1927
1906
  var tmp = this;
1928
1907
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1929
1908
  var tmp_1 = lazy(tmp_0, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff);
@@ -1933,19 +1912,19 @@ function Companion_4() {
1933
1912
  // Inline function 'kotlin.arrayOf' call
1934
1913
  // Inline function 'kotlin.js.unsafeCast' call
1935
1914
  // Inline function 'kotlin.js.asDynamic' call
1936
- tmp.d2z_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null];
1915
+ tmp.n2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null, null, null];
1937
1916
  }
1938
- a2z(serializedBlock) {
1939
- if (toLong(AttoBlockType_CHANGE_getInstance().size).a2(serializedBlock.i1()) > 0) {
1917
+ k2x(serializedBlock) {
1918
+ if (fromInt(AttoBlockType_CHANGE_getInstance().size) > serializedBlock.n1()) {
1940
1919
  return null;
1941
1920
  }
1942
1921
  var blockType = readAttoBlockType(serializedBlock);
1943
1922
  if (!blockType.equals(AttoBlockType_CHANGE_getInstance())) {
1944
- throw IllegalArgumentException().u('Invalid block type: ' + blockType.toString());
1923
+ throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
1945
1924
  }
1946
1925
  return new (AttoChangeBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
1947
1926
  }
1948
- e2v() {
1927
+ k2t() {
1949
1928
  return $serializer_getInstance_2();
1950
1929
  }
1951
1930
  }
@@ -1954,11 +1933,11 @@ function Companion_4() {
1954
1933
  }
1955
1934
  return CompanionClass_4;
1956
1935
  }
1957
- var Companion_instance_4;
1958
- function Companion_getInstance_7() {
1959
- if (Companion_instance_4 === VOID)
1936
+ var Companion_instance_5;
1937
+ function Companion_getInstance_8() {
1938
+ if (Companion_instance_5 === VOID)
1960
1939
  new (Companion_4())();
1961
- return Companion_instance_4;
1940
+ return Companion_instance_5;
1962
1941
  }
1963
1942
  var $serializerClass_2;
1964
1943
  function $serializer_2() {
@@ -1966,40 +1945,44 @@ function $serializer_2() {
1966
1945
  class $ {
1967
1946
  constructor() {
1968
1947
  $serializer_instance_2 = this;
1969
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this, 10);
1970
- tmp0_serialDesc.w14('network', false);
1971
- tmp0_serialDesc.w14('version', false);
1972
- tmp0_serialDesc.w14('algorithm', false);
1973
- tmp0_serialDesc.w14('publicKey', false);
1974
- tmp0_serialDesc.w14('height', false);
1975
- tmp0_serialDesc.w14('balance', false);
1976
- tmp0_serialDesc.w14('timestamp', false);
1977
- tmp0_serialDesc.w14('previous', false);
1978
- tmp0_serialDesc.w14('representativeAlgorithm', false);
1979
- tmp0_serialDesc.w14('representativePublicKey', false);
1980
- this.b31_1 = tmp0_serialDesc;
1981
- }
1982
- c31(encoder, value) {
1983
- var tmp0_desc = this.b31_1;
1984
- var tmp1_output = encoder.kx(tmp0_desc);
1985
- var tmp2_cached = Companion_getInstance_7().d2z_1;
1986
- tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.d31_1);
1987
- tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.e31_1);
1988
- tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.f31_1);
1989
- tmp1_output.bz(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), value.g31_1);
1990
- tmp1_output.bz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.h31_1);
1991
- tmp1_output.bz(tmp0_desc, 5, AttoAmountSerializer_getInstance(), value.i31_1);
1992
- tmp1_output.bz(tmp0_desc, 6, InstantMillisSerializer_getInstance(), value.j31_1);
1993
- tmp1_output.bz(tmp0_desc, 7, AttoHashSerializer_getInstance(), value.k31_1);
1994
- tmp1_output.bz(tmp0_desc, 8, tmp2_cached[8].s1(), value.l31_1);
1995
- tmp1_output.bz(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), value.m31_1);
1996
- tmp1_output.lx(tmp0_desc);
1997
- }
1998
- ys(encoder, value) {
1999
- return this.c31(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
2000
- }
2001
- zs(decoder) {
2002
- var tmp0_desc = this.b31_1;
1948
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this, 12);
1949
+ tmp0_serialDesc.v1w('network', false);
1950
+ tmp0_serialDesc.v1w('version', false);
1951
+ tmp0_serialDesc.v1w('algorithm', false);
1952
+ tmp0_serialDesc.v1w('publicKey', false);
1953
+ tmp0_serialDesc.v1w('height', false);
1954
+ tmp0_serialDesc.v1w('balance', false);
1955
+ tmp0_serialDesc.v1w('timestamp', false);
1956
+ tmp0_serialDesc.v1w('previous', false);
1957
+ tmp0_serialDesc.v1w('representativeAlgorithm', false);
1958
+ tmp0_serialDesc.v1w('representativePublicKey', false);
1959
+ tmp0_serialDesc.v1w('address', true);
1960
+ tmp0_serialDesc.v1w('representativeAddress', true);
1961
+ this.k2z_1 = tmp0_serialDesc;
1962
+ }
1963
+ l2z(encoder, value) {
1964
+ var tmp0_desc = this.k2z_1;
1965
+ var tmp1_output = encoder.h1p(tmp0_desc);
1966
+ var tmp2_cached = Companion_getInstance_8().n2x_1;
1967
+ tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.m2z_1);
1968
+ tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.n2z_1);
1969
+ tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.o2z_1);
1970
+ tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.p2z_1);
1971
+ tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.q2z_1);
1972
+ tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.r2z_1);
1973
+ tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.s2z_1);
1974
+ tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.t2z_1);
1975
+ tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.u2z_1);
1976
+ tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.v2z_1);
1977
+ tmp1_output.y1q(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.y2z_1);
1978
+ tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
1979
+ tmp1_output.i1p(tmp0_desc);
1980
+ }
1981
+ v1k(encoder, value) {
1982
+ return this.l2z(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
1983
+ }
1984
+ w1k(decoder) {
1985
+ var tmp0_desc = this.k2z_1;
2003
1986
  var tmp1_flag = true;
2004
1987
  var tmp2_index = 0;
2005
1988
  var tmp3_bitMask0 = 0;
@@ -2013,95 +1996,109 @@ function $serializer_2() {
2013
1996
  var tmp11_local7 = null;
2014
1997
  var tmp12_local8 = null;
2015
1998
  var tmp13_local9 = null;
2016
- var tmp18_input = decoder.kx(tmp0_desc);
2017
- var tmp19_cached = Companion_getInstance_7().d2z_1;
2018
- if (tmp18_input.zx()) {
2019
- tmp4_local0 = tmp18_input.wx(tmp0_desc, 0, tmp19_cached[0].s1(), tmp4_local0);
1999
+ var tmp14_local10 = null;
2000
+ var tmp15_local11 = null;
2001
+ var tmp18_input = decoder.h1p(tmp0_desc);
2002
+ var tmp19_cached = Companion_getInstance_8().n2x_1;
2003
+ if (tmp18_input.w1p()) {
2004
+ tmp4_local0 = tmp18_input.t1p(tmp0_desc, 0, tmp19_cached[0].z1(), tmp4_local0);
2020
2005
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2021
- tmp5_local1 = tmp18_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
2006
+ tmp5_local1 = tmp18_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
2022
2007
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2023
- tmp6_local2 = tmp18_input.wx(tmp0_desc, 2, tmp19_cached[2].s1(), tmp6_local2);
2008
+ tmp6_local2 = tmp18_input.t1p(tmp0_desc, 2, tmp19_cached[2].z1(), tmp6_local2);
2024
2009
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2025
- tmp7_local3 = tmp18_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
2010
+ tmp7_local3 = tmp18_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
2026
2011
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2027
- tmp8_local4 = tmp18_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
2012
+ tmp8_local4 = tmp18_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
2028
2013
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
2029
- tmp9_local5 = tmp18_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
2014
+ tmp9_local5 = tmp18_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
2030
2015
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
2031
- tmp10_local6 = tmp18_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
2016
+ tmp10_local6 = tmp18_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
2032
2017
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
2033
- tmp11_local7 = tmp18_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
2018
+ tmp11_local7 = tmp18_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
2034
2019
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
2035
- tmp12_local8 = tmp18_input.wx(tmp0_desc, 8, tmp19_cached[8].s1(), tmp12_local8);
2020
+ tmp12_local8 = tmp18_input.t1p(tmp0_desc, 8, tmp19_cached[8].z1(), tmp12_local8);
2036
2021
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
2037
- tmp13_local9 = tmp18_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
2022
+ tmp13_local9 = tmp18_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
2038
2023
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
2024
+ tmp14_local10 = tmp18_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
2025
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
2026
+ tmp15_local11 = tmp18_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
2027
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
2039
2028
  } else
2040
2029
  while (tmp1_flag) {
2041
- tmp2_index = tmp18_input.ay(tmp0_desc);
2030
+ tmp2_index = tmp18_input.x1p(tmp0_desc);
2042
2031
  switch (tmp2_index) {
2043
2032
  case -1:
2044
2033
  tmp1_flag = false;
2045
2034
  break;
2046
2035
  case 0:
2047
- tmp4_local0 = tmp18_input.wx(tmp0_desc, 0, tmp19_cached[0].s1(), tmp4_local0);
2036
+ tmp4_local0 = tmp18_input.t1p(tmp0_desc, 0, tmp19_cached[0].z1(), tmp4_local0);
2048
2037
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2049
2038
  break;
2050
2039
  case 1:
2051
- tmp5_local1 = tmp18_input.wx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
2040
+ tmp5_local1 = tmp18_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
2052
2041
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2053
2042
  break;
2054
2043
  case 2:
2055
- tmp6_local2 = tmp18_input.wx(tmp0_desc, 2, tmp19_cached[2].s1(), tmp6_local2);
2044
+ tmp6_local2 = tmp18_input.t1p(tmp0_desc, 2, tmp19_cached[2].z1(), tmp6_local2);
2056
2045
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2057
2046
  break;
2058
2047
  case 3:
2059
- tmp7_local3 = tmp18_input.wx(tmp0_desc, 3, AttoPublicKeySerializer_getInstance(), tmp7_local3);
2048
+ tmp7_local3 = tmp18_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
2060
2049
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2061
2050
  break;
2062
2051
  case 4:
2063
- tmp8_local4 = tmp18_input.wx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
2052
+ tmp8_local4 = tmp18_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
2064
2053
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
2065
2054
  break;
2066
2055
  case 5:
2067
- tmp9_local5 = tmp18_input.wx(tmp0_desc, 5, AttoAmountSerializer_getInstance(), tmp9_local5);
2056
+ tmp9_local5 = tmp18_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
2068
2057
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
2069
2058
  break;
2070
2059
  case 6:
2071
- tmp10_local6 = tmp18_input.wx(tmp0_desc, 6, InstantMillisSerializer_getInstance(), tmp10_local6);
2060
+ tmp10_local6 = tmp18_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
2072
2061
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
2073
2062
  break;
2074
2063
  case 7:
2075
- tmp11_local7 = tmp18_input.wx(tmp0_desc, 7, AttoHashSerializer_getInstance(), tmp11_local7);
2064
+ tmp11_local7 = tmp18_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
2076
2065
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
2077
2066
  break;
2078
2067
  case 8:
2079
- tmp12_local8 = tmp18_input.wx(tmp0_desc, 8, tmp19_cached[8].s1(), tmp12_local8);
2068
+ tmp12_local8 = tmp18_input.t1p(tmp0_desc, 8, tmp19_cached[8].z1(), tmp12_local8);
2080
2069
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
2081
2070
  break;
2082
2071
  case 9:
2083
- tmp13_local9 = tmp18_input.wx(tmp0_desc, 9, AttoPublicKeySerializer_getInstance(), tmp13_local9);
2072
+ tmp13_local9 = tmp18_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
2084
2073
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
2085
2074
  break;
2075
+ case 10:
2076
+ tmp14_local10 = tmp18_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
2077
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
2078
+ break;
2079
+ case 11:
2080
+ tmp15_local11 = tmp18_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
2081
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
2082
+ break;
2086
2083
  default:
2087
- throw UnknownFieldException().ev(tmp2_index);
2084
+ throw UnknownFieldException().q1m(tmp2_index);
2088
2085
  }
2089
2086
  }
2090
- tmp18_input.lx(tmp0_desc);
2091
- return AttoChangeBlock().r31(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
2087
+ tmp18_input.i1p(tmp0_desc);
2088
+ return AttoChangeBlock().z2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, null);
2092
2089
  }
2093
- xs() {
2094
- return this.b31_1;
2090
+ u1k() {
2091
+ return this.k2z_1;
2095
2092
  }
2096
- l15() {
2097
- var tmp0_cached = Companion_getInstance_7().d2z_1;
2093
+ k1x() {
2094
+ var tmp0_cached = Companion_getInstance_8().n2x_1;
2098
2095
  // Inline function 'kotlin.arrayOf' call
2099
2096
  // Inline function 'kotlin.js.unsafeCast' call
2100
2097
  // Inline function 'kotlin.js.asDynamic' call
2101
- return [tmp0_cached[0].s1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].s1(), AttoPublicKeySerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountSerializer_getInstance(), InstantMillisSerializer_getInstance(), AttoHashSerializer_getInstance(), tmp0_cached[8].s1(), AttoPublicKeySerializer_getInstance()];
2098
+ return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
2102
2099
  }
2103
2100
  }
2104
- protoOf($).m15 = typeParametersSerializers;
2101
+ protoOf($).l1x = typeParametersSerializers;
2105
2102
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
2106
2103
  $serializerClass_2 = $;
2107
2104
  }
@@ -2114,207 +2111,158 @@ function $serializer_getInstance_2() {
2114
2111
  return $serializer_instance_2;
2115
2112
  }
2116
2113
  function AttoChangeBlock$hash$delegate$lambda(this$0) {
2117
- return function () {
2118
- return hash(this$0.f2z());
2119
- };
2114
+ return () => hash(this$0.e2w());
2120
2115
  }
2121
2116
  function AttoChangeBlock$_get_hash_$ref_i4oufz() {
2122
- return function (p0) {
2123
- return p0.hash;
2124
- };
2125
- }
2126
- function AttoChangeBlock$address$delegate$lambda(this$0) {
2127
- return function () {
2128
- return new (AttoAddress())(this$0.f31_1, this$0.g31_1);
2129
- };
2130
- }
2131
- function AttoChangeBlock$_get_address_$ref_b5hbw7() {
2132
- return function (p0) {
2133
- return p0.address;
2134
- };
2135
- }
2136
- function AttoChangeBlock$representativeAddress$delegate$lambda(this$0) {
2137
- return function () {
2138
- return new (AttoAddress())(this$0.l31_1, this$0.m31_1);
2139
- };
2140
- }
2141
- function AttoChangeBlock$_get_representativeAddress_$ref_2pxa6k() {
2142
- return function (p0) {
2143
- return p0.representativeAddress;
2144
- };
2117
+ return (p0) => p0.hash;
2145
2118
  }
2146
2119
  function AttoChangeBlock$_init_$lambda_31jg7w(this$0) {
2147
- return function () {
2148
- return hash(this$0.f2z());
2149
- };
2150
- }
2151
- function AttoChangeBlock$_init_$lambda_31jg7w_0(this$0) {
2152
- return function () {
2153
- return new (AttoAddress())(this$0.f31_1, this$0.g31_1);
2154
- };
2155
- }
2156
- function AttoChangeBlock$_init_$lambda_31jg7w_1(this$0) {
2157
- return function () {
2158
- return new (AttoAddress())(this$0.l31_1, this$0.m31_1);
2159
- };
2120
+ return () => hash(this$0.e2w());
2160
2121
  }
2161
2122
  var AttoChangeBlockClass;
2162
2123
  function AttoChangeBlock() {
2163
2124
  if (AttoChangeBlockClass === VOID) {
2164
2125
  class $ {
2165
2126
  constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
2166
- Companion_getInstance_7();
2167
- this.d31_1 = network;
2168
- this.e31_1 = version;
2169
- this.f31_1 = algorithm;
2170
- this.g31_1 = publicKey;
2171
- this.h31_1 = height;
2172
- this.i31_1 = balance;
2173
- this.j31_1 = timestamp;
2174
- this.k31_1 = previous;
2175
- this.l31_1 = representativeAlgorithm;
2176
- this.m31_1 = representativePublicKey;
2177
- this.n31_1 = AttoBlockType_CHANGE_getInstance();
2127
+ Companion_getInstance_8();
2128
+ this.m2z_1 = network;
2129
+ this.n2z_1 = version;
2130
+ this.o2z_1 = algorithm;
2131
+ this.p2z_1 = publicKey;
2132
+ this.q2z_1 = height;
2133
+ this.r2z_1 = balance;
2134
+ this.s2z_1 = timestamp;
2135
+ this.t2z_1 = previous;
2136
+ this.u2z_1 = representativeAlgorithm;
2137
+ this.v2z_1 = representativePublicKey;
2138
+ this.w2z_1 = AttoBlockType_CHANGE_getInstance();
2178
2139
  var tmp = this;
2179
- tmp.o31_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
2180
- var tmp_0 = this;
2181
- tmp_0.p31_1 = lazy_0(AttoChangeBlock$address$delegate$lambda(this));
2182
- var tmp_1 = this;
2183
- tmp_1.q31_1 = lazy_0(AttoChangeBlock$representativeAddress$delegate$lambda(this));
2140
+ tmp.x2z_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
2141
+ this.y2z_1 = new (AttoAddress())(this.o2z_1, this.p2z_1);
2142
+ this.representativeAddress = new (AttoAddress())(this.u2z_1, this.v2z_1);
2184
2143
  }
2185
- f2w() {
2186
- return this.d31_1;
2144
+ k2u() {
2145
+ return this.m2z_1;
2187
2146
  }
2188
- g2w() {
2189
- return this.e31_1;
2147
+ l2u() {
2148
+ return this.n2z_1;
2190
2149
  }
2191
- h2w() {
2192
- return this.f31_1;
2150
+ m2u() {
2151
+ return this.o2z_1;
2193
2152
  }
2194
- e2w() {
2195
- return this.g31_1;
2153
+ j2u() {
2154
+ return this.p2z_1;
2196
2155
  }
2197
- i2w() {
2198
- return this.h31_1;
2156
+ n2u() {
2157
+ return this.q2z_1;
2199
2158
  }
2200
- j2w() {
2201
- return this.i31_1;
2159
+ o2u() {
2160
+ return this.r2z_1;
2202
2161
  }
2203
- o2x() {
2204
- return this.j31_1;
2162
+ t2v() {
2163
+ return this.s2z_1;
2205
2164
  }
2206
- h2z() {
2207
- return this.k31_1;
2165
+ s2x() {
2166
+ return this.t2z_1;
2208
2167
  }
2209
- m2w() {
2210
- return this.l31_1;
2168
+ r2u() {
2169
+ return this.u2z_1;
2211
2170
  }
2212
- n2w() {
2213
- return this.m31_1;
2171
+ s2u() {
2172
+ return this.v2z_1;
2214
2173
  }
2215
- e2z() {
2216
- return this.n31_1;
2174
+ o2x() {
2175
+ return this.w2z_1;
2217
2176
  }
2218
- j2x() {
2219
- var tmp0 = this.o31_1;
2177
+ o2v() {
2178
+ var tmp0 = this.x2z_1;
2220
2179
  var tmp = KProperty1();
2221
2180
  // Inline function 'kotlin.getValue' call
2222
2181
  getPropertyCallableRef('hash', 1, tmp, AttoChangeBlock$_get_hash_$ref_i4oufz(), null);
2223
- return tmp0.s1();
2182
+ return tmp0.z1();
2224
2183
  }
2225
- o2w() {
2226
- var tmp0 = this.p31_1;
2227
- var tmp = KProperty1();
2228
- // Inline function 'kotlin.getValue' call
2229
- getPropertyCallableRef('address', 1, tmp, AttoChangeBlock$_get_address_$ref_b5hbw7(), null);
2230
- return tmp0.s1();
2184
+ t2u() {
2185
+ return this.y2z_1;
2231
2186
  }
2232
- p2w() {
2233
- var tmp0 = this.q31_1;
2234
- var tmp = KProperty1();
2235
- // Inline function 'kotlin.getValue' call
2236
- getPropertyCallableRef('representativeAddress', 1, tmp, AttoChangeBlock$_get_representativeAddress_$ref_2pxa6k(), null);
2237
- return tmp0.s1();
2187
+ u2u() {
2188
+ return this.representativeAddress;
2238
2189
  }
2239
- f2z() {
2190
+ e2w() {
2240
2191
  // Inline function 'kotlin.apply' call
2241
2192
  var this_0 = new (Buffer())();
2242
- writeAttoBlockType(this_0, this.n31_1);
2243
- writeAttoNetwork(this_0, this.d31_1);
2244
- writeAttoVersion(this_0, this.e31_1);
2245
- writeAttoAlgorithm(this_0, this.f31_1);
2246
- writeAttoPublicKey(this_0, this.g31_1);
2247
- writeAttoHeight(this_0, this.h31_1);
2248
- writeAttoAmount(this_0, this.i31_1);
2249
- writeInstant(this_0, this.j31_1);
2250
- writeAttoHash(this_0, this.k31_1);
2251
- writeAttoAlgorithm(this_0, this.l31_1);
2252
- writeAttoPublicKey(this_0, this.m31_1);
2193
+ writeAttoBlockType(this_0, this.w2z_1);
2194
+ writeAttoNetwork(this_0, this.m2z_1);
2195
+ writeAttoVersion(this_0, this.n2z_1);
2196
+ writeAttoAlgorithm(this_0, this.o2z_1);
2197
+ writeAttoPublicKey(this_0, this.p2z_1);
2198
+ writeAttoHeight(this_0, this.q2z_1);
2199
+ writeAttoAmount(this_0, this.r2z_1);
2200
+ writeInstant(this_0, this.s2z_1);
2201
+ writeAttoHash(this_0, this.t2z_1);
2202
+ writeAttoAlgorithm(this_0, this.u2z_1);
2203
+ writeAttoPublicKey(this_0, this.v2z_1);
2253
2204
  return this_0;
2254
2205
  }
2255
- isValid() {
2256
- return isValid.call(this) && this.h31_1.d30(new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)))) > 0;
2257
- }
2258
- gl() {
2259
- return this.d31_1;
2206
+ te() {
2207
+ return this.m2z_1;
2260
2208
  }
2261
- hl() {
2262
- return this.e31_1;
2209
+ ue() {
2210
+ return this.n2z_1;
2263
2211
  }
2264
- t2w() {
2265
- return this.f31_1;
2212
+ z2u() {
2213
+ return this.o2z_1;
2266
2214
  }
2267
- u2w() {
2268
- return this.g31_1;
2215
+ a2v() {
2216
+ return this.p2z_1;
2269
2217
  }
2270
- v2w() {
2271
- return this.h31_1;
2218
+ b2v() {
2219
+ return this.q2z_1;
2272
2220
  }
2273
- w2w() {
2274
- return this.i31_1;
2221
+ c2v() {
2222
+ return this.r2z_1;
2275
2223
  }
2276
- x2w() {
2277
- return this.j31_1;
2224
+ d2v() {
2225
+ return this.s2z_1;
2278
2226
  }
2279
- y2w() {
2280
- return this.k31_1;
2227
+ e2v() {
2228
+ return this.t2z_1;
2281
2229
  }
2282
- z2w() {
2283
- return this.l31_1;
2230
+ f2v() {
2231
+ return this.u2z_1;
2284
2232
  }
2285
- a2x() {
2286
- return this.m31_1;
2233
+ g2v() {
2234
+ return this.v2z_1;
2287
2235
  }
2288
- s31(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
2236
+ a30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
2289
2237
  return new (AttoChangeBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
2290
2238
  }
2291
2239
  copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, $super) {
2292
- network = network === VOID ? this.d31_1 : network;
2293
- version = version === VOID ? this.e31_1 : version;
2294
- algorithm = algorithm === VOID ? this.f31_1 : algorithm;
2295
- publicKey = publicKey === VOID ? this.g31_1 : publicKey;
2296
- height = height === VOID ? this.h31_1 : height;
2297
- balance = balance === VOID ? this.i31_1 : balance;
2298
- timestamp = timestamp === VOID ? this.j31_1 : timestamp;
2299
- previous = previous === VOID ? this.k31_1 : previous;
2300
- representativeAlgorithm = representativeAlgorithm === VOID ? this.l31_1 : representativeAlgorithm;
2301
- representativePublicKey = representativePublicKey === VOID ? this.m31_1 : representativePublicKey;
2302
- return $super === VOID ? this.s31(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.s31.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
2240
+ network = network === VOID ? this.m2z_1 : network;
2241
+ version = version === VOID ? this.n2z_1 : version;
2242
+ algorithm = algorithm === VOID ? this.o2z_1 : algorithm;
2243
+ publicKey = publicKey === VOID ? this.p2z_1 : publicKey;
2244
+ height = height === VOID ? this.q2z_1 : height;
2245
+ balance = balance === VOID ? this.r2z_1 : balance;
2246
+ timestamp = timestamp === VOID ? this.s2z_1 : timestamp;
2247
+ previous = previous === VOID ? this.t2z_1 : previous;
2248
+ representativeAlgorithm = representativeAlgorithm === VOID ? this.u2z_1 : representativeAlgorithm;
2249
+ representativePublicKey = representativePublicKey === VOID ? this.v2z_1 : representativePublicKey;
2250
+ return $super === VOID ? this.a30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.a30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
2303
2251
  }
2304
2252
  toString() {
2305
- return 'AttoChangeBlock(network=' + this.d31_1.toString() + ', version=' + this.e31_1.toString() + ', algorithm=' + this.f31_1.toString() + ', publicKey=' + this.g31_1.toString() + ', height=' + this.h31_1.toString() + ', balance=' + this.i31_1.toString() + ', timestamp=' + this.j31_1.toString() + ', previous=' + this.k31_1.toString() + ', representativeAlgorithm=' + this.l31_1.toString() + ', representativePublicKey=' + this.m31_1.toString() + ')';
2253
+ return 'AttoChangeBlock(network=' + this.m2z_1.toString() + ', version=' + this.n2z_1.toString() + ', algorithm=' + this.o2z_1.toString() + ', publicKey=' + this.p2z_1.toString() + ', height=' + this.q2z_1.toString() + ', balance=' + this.r2z_1.toString() + ', timestamp=' + this.s2z_1.toString() + ', previous=' + this.t2z_1.toString() + ', representativeAlgorithm=' + this.u2z_1.toString() + ', representativePublicKey=' + this.v2z_1.toString() + ')';
2306
2254
  }
2307
2255
  hashCode() {
2308
- var result = this.d31_1.hashCode();
2309
- result = imul(result, 31) + this.e31_1.hashCode() | 0;
2310
- result = imul(result, 31) + this.f31_1.hashCode() | 0;
2311
- result = imul(result, 31) + this.g31_1.hashCode() | 0;
2312
- result = imul(result, 31) + this.h31_1.hashCode() | 0;
2313
- result = imul(result, 31) + this.i31_1.hashCode() | 0;
2314
- result = imul(result, 31) + this.j31_1.hashCode() | 0;
2315
- result = imul(result, 31) + this.k31_1.hashCode() | 0;
2316
- result = imul(result, 31) + this.l31_1.hashCode() | 0;
2317
- result = imul(result, 31) + this.m31_1.hashCode() | 0;
2256
+ var result = this.m2z_1.hashCode();
2257
+ result = imul(result, 31) + this.n2z_1.hashCode() | 0;
2258
+ result = imul(result, 31) + this.o2z_1.hashCode() | 0;
2259
+ result = imul(result, 31) + this.p2z_1.hashCode() | 0;
2260
+ result = imul(result, 31) + this.q2z_1.hashCode() | 0;
2261
+ result = imul(result, 31) + this.r2z_1.hashCode() | 0;
2262
+ result = imul(result, 31) + this.s2z_1.hashCode() | 0;
2263
+ result = imul(result, 31) + this.t2z_1.hashCode() | 0;
2264
+ result = imul(result, 31) + this.u2z_1.hashCode() | 0;
2265
+ result = imul(result, 31) + this.v2z_1.hashCode() | 0;
2318
2266
  return result;
2319
2267
  }
2320
2268
  equals(other) {
@@ -2322,97 +2270,99 @@ function AttoChangeBlock() {
2322
2270
  return true;
2323
2271
  if (!(other instanceof AttoChangeBlock()))
2324
2272
  return false;
2325
- var tmp0_other_with_cast = other instanceof AttoChangeBlock() ? other : THROW_CCE();
2326
- if (!this.d31_1.equals(tmp0_other_with_cast.d31_1))
2273
+ if (!this.m2z_1.equals(other.m2z_1))
2327
2274
  return false;
2328
- if (!this.e31_1.equals(tmp0_other_with_cast.e31_1))
2275
+ if (!this.n2z_1.equals(other.n2z_1))
2329
2276
  return false;
2330
- if (!this.f31_1.equals(tmp0_other_with_cast.f31_1))
2277
+ if (!this.o2z_1.equals(other.o2z_1))
2331
2278
  return false;
2332
- if (!this.g31_1.equals(tmp0_other_with_cast.g31_1))
2279
+ if (!this.p2z_1.equals(other.p2z_1))
2333
2280
  return false;
2334
- if (!this.h31_1.equals(tmp0_other_with_cast.h31_1))
2281
+ if (!this.q2z_1.equals(other.q2z_1))
2335
2282
  return false;
2336
- if (!this.i31_1.equals(tmp0_other_with_cast.i31_1))
2283
+ if (!this.r2z_1.equals(other.r2z_1))
2337
2284
  return false;
2338
- if (!this.j31_1.equals(tmp0_other_with_cast.j31_1))
2285
+ if (!this.s2z_1.equals(other.s2z_1))
2339
2286
  return false;
2340
- if (!this.k31_1.equals(tmp0_other_with_cast.k31_1))
2287
+ if (!this.t2z_1.equals(other.t2z_1))
2341
2288
  return false;
2342
- if (!this.l31_1.equals(tmp0_other_with_cast.l31_1))
2289
+ if (!this.u2z_1.equals(other.u2z_1))
2343
2290
  return false;
2344
- if (!this.m31_1.equals(tmp0_other_with_cast.m31_1))
2291
+ if (!this.v2z_1.equals(other.v2z_1))
2345
2292
  return false;
2346
2293
  return true;
2347
2294
  }
2348
- static r31(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, serializationConstructorMarker) {
2349
- Companion_getInstance_7();
2295
+ static z2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, address, representativeAddress, serializationConstructorMarker) {
2296
+ Companion_getInstance_8();
2350
2297
  if (!(1023 === (1023 & seen0))) {
2351
- throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().b31_1);
2298
+ throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().k2z_1);
2352
2299
  }
2353
2300
  var $this = createThis(this);
2354
- $this.d31_1 = network;
2355
- $this.e31_1 = version;
2356
- $this.f31_1 = algorithm;
2357
- $this.g31_1 = publicKey;
2358
- $this.h31_1 = height;
2359
- $this.i31_1 = balance;
2360
- $this.j31_1 = timestamp;
2361
- $this.k31_1 = previous;
2362
- $this.l31_1 = representativeAlgorithm;
2363
- $this.m31_1 = representativePublicKey;
2364
- $this.n31_1 = AttoBlockType_CHANGE_getInstance();
2301
+ $this.m2z_1 = network;
2302
+ $this.n2z_1 = version;
2303
+ $this.o2z_1 = algorithm;
2304
+ $this.p2z_1 = publicKey;
2305
+ $this.q2z_1 = height;
2306
+ $this.r2z_1 = balance;
2307
+ $this.s2z_1 = timestamp;
2308
+ $this.t2z_1 = previous;
2309
+ $this.u2z_1 = representativeAlgorithm;
2310
+ $this.v2z_1 = representativePublicKey;
2311
+ $this.w2z_1 = AttoBlockType_CHANGE_getInstance();
2365
2312
  var tmp = $this;
2366
- tmp.o31_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
2367
- var tmp_0 = $this;
2368
- tmp_0.p31_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w_0($this));
2369
- var tmp_1 = $this;
2370
- tmp_1.q31_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w_1($this));
2313
+ tmp.x2z_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
2314
+ if (0 === (seen0 & 1024))
2315
+ $this.y2z_1 = new (AttoAddress())($this.o2z_1, $this.p2z_1);
2316
+ else
2317
+ $this.y2z_1 = address;
2318
+ if (0 === (seen0 & 2048))
2319
+ $this.representativeAddress = new (AttoAddress())($this.u2z_1, $this.v2z_1);
2320
+ else
2321
+ $this.representativeAddress = representativeAddress;
2371
2322
  return $this;
2372
2323
  }
2373
2324
  get network() {
2374
- return this.f2w();
2325
+ return this.k2u();
2375
2326
  }
2376
2327
  get version() {
2377
- return this.g2w();
2328
+ return this.l2u();
2378
2329
  }
2379
2330
  get algorithm() {
2380
- return this.h2w();
2331
+ return this.m2u();
2381
2332
  }
2382
2333
  get publicKey() {
2383
- return this.e2w();
2334
+ return this.j2u();
2384
2335
  }
2385
2336
  get height() {
2386
- return this.i2w();
2337
+ return this.n2u();
2387
2338
  }
2388
2339
  get balance() {
2389
- return this.j2w();
2340
+ return this.o2u();
2390
2341
  }
2391
2342
  get timestamp() {
2392
- return this.o2x();
2343
+ return this.t2v();
2393
2344
  }
2394
2345
  get previous() {
2395
- return this.h2z();
2346
+ return this.s2x();
2396
2347
  }
2397
2348
  get representativeAlgorithm() {
2398
- return this.m2w();
2349
+ return this.r2u();
2399
2350
  }
2400
2351
  get representativePublicKey() {
2401
- return this.n2w();
2352
+ return this.s2u();
2402
2353
  }
2403
2354
  get type() {
2404
- return this.e2z();
2355
+ return this.o2x();
2405
2356
  }
2406
2357
  get hash() {
2407
- return this.j2x();
2358
+ return this.o2v();
2408
2359
  }
2409
2360
  get address() {
2410
- return this.o2w();
2411
- }
2412
- get representativeAddress() {
2413
- return this.p2w();
2361
+ return this.t2u();
2414
2362
  }
2415
2363
  }
2364
+ protoOf($).validate = validate;
2365
+ protoOf($).isValid = isValid;
2416
2366
  initMetadataForClass($, 'AttoChangeBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_2});
2417
2367
  AttoChangeBlockClass = $;
2418
2368
  }
@@ -2446,10 +2396,11 @@ function _init_properties_AttoBlock_kt__sp9j9p() {
2446
2396
  }
2447
2397
  }
2448
2398
  //region block: init
2449
- Companion_instance_0 = new (Companion_0())();
2399
+ Companion_instance_1 = new (Companion_0())();
2450
2400
  //endregion
2451
2401
  //region block: exports
2452
2402
  export {
2403
+ AddressSupport as AddressSupport1ium5ptu9zo8y,
2453
2404
  Companion_0 as Companion1dgdscbdp629o,
2454
2405
  Companion as Companion3u1bosrh7rroz,
2455
2406
  valueOf as valueOfb8c3bsf1tbuo,
@@ -2471,13 +2422,13 @@ export {
2471
2422
  AttoBlockType_RECEIVE_getInstance as AttoBlockType_RECEIVE_getInstancemszz2w4jvf1a,
2472
2423
  AttoBlockType_SEND_getInstance as AttoBlockType_SEND_getInstance381mhjyjs1zzi,
2473
2424
  AttoBlockType_UNKNOWN_getInstance as AttoBlockType_UNKNOWN_getInstance3dnnplul63rg3,
2474
- Companion_getInstance_3 as Companion_getInstance1l72fs50ibztr,
2475
- Companion_instance_0 as Companion_instance387qsp52z8jyu,
2476
- Companion_getInstance_2 as Companion_getInstance2phtijzt3ebp3,
2477
- Companion_getInstance_7 as Companion_getInstance22d8d928ihuoo,
2478
- Companion_getInstance_6 as Companion_getInstance30jgubha5f9hp,
2479
- Companion_getInstance_5 as Companion_getInstance3uyok5rq53k69,
2480
- Companion_getInstance_4 as Companion_getInstance1oozvss6gswmf,
2425
+ Companion_getInstance_4 as Companion_getInstance1l72fs50ibztr,
2426
+ Companion_instance_1 as Companion_instance387qsp52z8jyu,
2427
+ Companion_getInstance_3 as Companion_getInstance2phtijzt3ebp3,
2428
+ Companion_getInstance_8 as Companion_getInstance22d8d928ihuoo,
2429
+ Companion_getInstance_7 as Companion_getInstance30jgubha5f9hp,
2430
+ Companion_getInstance_6 as Companion_getInstance3uyok5rq53k69,
2431
+ Companion_getInstance_5 as Companion_getInstance1oozvss6gswmf,
2481
2432
  };
2482
2433
  //endregion
2483
2434