@continuous-excellence/coupling-cli 1.1.545 → 1.1.547

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 (390) hide show
  1. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
  2. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +37 -37
  3. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +12 -12
  4. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +16 -16
  5. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
  6. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +26 -26
  7. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +2 -2
  8. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
  9. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +16 -16
  10. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +22 -22
  11. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +31 -31
  12. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +21 -21
  13. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +30 -30
  14. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +3 -3
  15. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +43 -43
  16. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +26 -26
  17. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
  18. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +38 -38
  19. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
  20. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +51 -51
  21. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +37 -37
  22. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +31 -31
  23. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +17 -17
  24. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +32 -32
  25. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +57 -57
  26. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +10 -10
  27. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +18 -18
  28. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
  29. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
  30. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +52 -52
  31. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +30 -30
  32. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +13 -13
  33. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +4 -4
  34. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +7 -7
  35. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +106 -106
  36. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
  37. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +57 -57
  38. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +16 -16
  39. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
  40. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
  41. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +33 -33
  42. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +5 -5
  43. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
  44. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +17 -17
  45. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
  46. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
  47. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
  48. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
  49. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
  50. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
  51. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +17 -17
  52. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +2 -2
  53. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
  54. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +19 -19
  55. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +31 -31
  56. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +13 -13
  57. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
  58. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
  59. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +16 -16
  60. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +9 -9
  61. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
  62. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +31 -31
  63. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +38 -38
  64. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +27 -27
  65. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +20 -20
  66. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +30 -30
  67. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +3 -3
  68. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +39 -39
  69. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +6 -6
  70. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +21 -21
  71. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +3 -3
  72. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +9 -9
  73. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +3 -3
  74. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +50 -50
  75. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +55 -55
  76. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +75 -75
  77. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +102 -102
  78. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +30 -30
  79. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +36 -36
  80. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +27 -27
  81. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +33 -33
  82. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
  83. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
  84. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +30 -30
  85. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +4 -4
  86. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
  87. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
  88. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
  89. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +7 -7
  90. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +7 -7
  91. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +47 -47
  92. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +7 -7
  93. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +10 -10
  94. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +6 -6
  95. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +8 -8
  96. package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +6 -6
  97. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +110 -110
  98. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +55 -55
  99. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +60 -60
  100. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
  101. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +3 -3
  102. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +43 -43
  103. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +7 -7
  104. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +9 -9
  105. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
  106. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +8 -8
  107. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +21 -21
  108. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +8 -8
  109. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +5 -5
  110. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +131 -131
  111. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +55 -55
  112. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +2 -2
  113. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +24 -24
  114. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +84 -84
  115. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +272 -272
  116. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
  117. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +10 -10
  118. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +12 -12
  119. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +99 -99
  120. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +48 -48
  121. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +35 -35
  122. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +9 -9
  123. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +51 -51
  124. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +18 -18
  125. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +218 -218
  126. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +6 -6
  127. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
  128. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +7 -7
  129. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +40 -40
  130. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +27 -27
  131. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +49 -49
  132. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +22 -22
  133. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +18 -18
  134. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +4 -4
  135. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +24 -24
  136. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +8 -8
  137. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
  138. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +122 -122
  139. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +12 -12
  140. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +32 -32
  141. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +148 -148
  142. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +21 -21
  143. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
  144. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
  145. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.js.mjs +1 -1
  146. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +37 -37
  147. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +47 -47
  148. package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
  149. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
  150. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
  151. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
  152. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +107 -107
  153. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
  154. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
  155. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
  156. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
  157. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
  158. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +47 -47
  159. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
  160. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
  161. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
  162. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
  163. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
  164. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
  165. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
  166. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +196 -196
  167. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
  168. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
  169. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
  170. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
  171. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
  172. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
  173. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +230 -230
  174. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
  175. package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
  176. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
  177. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
  178. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
  179. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
  180. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
  181. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
  182. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
  183. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
  184. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
  185. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
  186. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
  187. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
  188. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
  189. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
  190. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +133 -133
  191. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
  192. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
  193. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  194. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  195. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
  196. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  197. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
  198. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +24 -24
  199. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +4 -4
  200. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  201. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +12 -12
  202. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
  203. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
  204. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  205. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +41 -41
  206. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  207. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +2 -1
  208. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  209. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +11 -1
  210. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  211. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +13 -12
  212. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  213. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +4 -3
  214. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
  215. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
  216. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +39 -39
  217. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +19 -19
  218. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +52 -52
  219. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
  220. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +73 -73
  221. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +18 -18
  222. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  223. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +177 -177
  224. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  225. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +69 -69
  226. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  227. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +7 -7
  228. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  229. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +38 -38
  230. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +4 -4
  231. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  232. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +11 -11
  233. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +61 -61
  234. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +4 -4
  235. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  236. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +144 -144
  237. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  238. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  239. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +200 -200
  240. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +130 -130
  241. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  242. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +58 -58
  243. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +1 -1
  244. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +96 -87
  245. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  246. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.web.mjs.map +1 -1
  247. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +35 -35
  248. package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +2 -2
  249. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +39 -39
  250. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +44 -44
  251. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +47 -47
  252. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  253. package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +12 -12
  254. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +35 -35
  255. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +49 -45
  256. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  257. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  258. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  259. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +2 -2
  260. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  261. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +122 -89
  262. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  263. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +2 -2
  264. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +2 -2
  265. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +34 -34
  266. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +39 -39
  267. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +31 -31
  268. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +39 -39
  269. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +73 -73
  270. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +1 -1
  271. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +45 -45
  272. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +30 -30
  273. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +20 -20
  274. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +99 -99
  275. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +50 -50
  276. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +64 -64
  277. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +15 -15
  278. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  279. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  280. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  281. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +25 -25
  282. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  283. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +30 -30
  284. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +51 -51
  285. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +6 -6
  286. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +20 -20
  287. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +181 -86
  288. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  289. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +4 -4
  290. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +64 -64
  291. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +13 -13
  292. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
  293. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  294. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +55 -55
  295. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +16 -16
  296. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +1 -1
  297. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +7 -7
  298. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +10 -10
  299. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +18 -18
  300. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +4 -4
  301. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +23 -23
  302. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +16 -16
  303. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +8 -8
  304. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  305. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +2 -2
  306. package/kotlin/ktor-ktor-client-core/io/ktor/client/{engine/js/JsUtils.mjs → utils/JsUtils.js.mjs} +32 -23
  307. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs.map +1 -0
  308. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +28 -28
  309. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +17 -17
  310. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +3 -3
  311. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +11 -11
  312. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +1 -1
  313. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +235 -235
  314. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +11 -11
  315. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +2 -2
  316. package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +2 -1
  317. package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
  318. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  319. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +56 -56
  320. package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  321. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +51 -32
  322. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  323. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +2 -1
  324. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  325. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
  326. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
  327. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
  328. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
  329. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
  330. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
  331. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
  332. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
  333. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
  334. package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
  335. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
  336. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
  337. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
  338. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
  339. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +75 -75
  340. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
  341. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
  342. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
  343. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
  344. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
  345. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +234 -234
  346. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
  347. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +149 -149
  348. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
  349. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
  350. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
  351. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
  352. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
  353. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
  354. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
  355. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
  356. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
  357. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
  358. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
  359. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
  360. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
  361. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
  362. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +59 -59
  363. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
  364. package/kotlin/okio-parent-okio/okio/Buffer.mjs +393 -393
  365. package/kotlin/okio-parent-okio/okio/ByteString.mjs +51 -51
  366. package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +15 -15
  367. package/kotlin/okio-parent-okio/okio/Okio.mjs +1 -1
  368. package/kotlin/okio-parent-okio/okio/Options.mjs +23 -23
  369. package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +37 -37
  370. package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +61 -61
  371. package/kotlin/okio-parent-okio/okio/Segment.mjs +69 -69
  372. package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +4 -4
  373. package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
  374. package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
  375. package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +1 -1
  376. package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +21 -21
  377. package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +1 -1
  378. package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
  379. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
  380. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
  381. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +7 -7
  382. package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +120 -120
  383. package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
  384. package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +22 -22
  385. package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +27 -27
  386. package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
  387. package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +4 -4
  388. package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +11 -11
  389. package/package.json +1 -1
  390. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +0 -1
@@ -115,9 +115,9 @@ function ConverterRegistration() {
115
115
  if (ConverterRegistrationClass === VOID) {
116
116
  class $ {
117
117
  constructor(converter, contentTypeToSend, contentTypeMatcher) {
118
- this.q3z_1 = converter;
119
- this.r3z_1 = contentTypeToSend;
120
- this.s3z_1 = contentTypeMatcher;
118
+ this.u3z_1 = converter;
119
+ this.v3z_1 = contentTypeToSend;
120
+ this.w3z_1 = contentTypeMatcher;
121
121
  }
122
122
  }
123
123
  initMetadataForClass($, 'ConverterRegistration');
@@ -133,10 +133,10 @@ function ContentNegotiationConfig$defaultMatcher$1() {
133
133
  if (ContentNegotiationConfig$defaultMatcher$1Class === VOID) {
134
134
  class $ {
135
135
  constructor($pattern) {
136
- this.t3z_1 = $pattern;
136
+ this.x3z_1 = $pattern;
137
137
  }
138
- u3z(contentType) {
139
- return contentType.g2t(this.t3z_1);
138
+ y3z(contentType) {
139
+ return contentType.g2t(this.x3z_1);
140
140
  }
141
141
  }
142
142
  initMetadataForClass($);
@@ -149,21 +149,21 @@ function ContentNegotiationConfig() {
149
149
  if (ContentNegotiationConfigClass === VOID) {
150
150
  class $ {
151
151
  constructor() {
152
- this.v3z_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
152
+ this.z3z_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
153
153
  var tmp = this;
154
154
  // Inline function 'kotlin.collections.mutableListOf' call
155
- tmp.w3z_1 = ArrayList().i2();
156
- this.x3z_1 = null;
155
+ tmp.a40_1 = ArrayList().i2();
156
+ this.b40_1 = null;
157
157
  }
158
158
  i3d(contentType, converter, configuration) {
159
159
  var matcher = contentType.g2t(Application_getInstance().n2r_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
160
- this.y3z(contentType, converter, matcher, configuration);
160
+ this.c40(contentType, converter, matcher, configuration);
161
161
  }
162
- y3z(contentTypeToSend, converter, contentTypeMatcher, configuration) {
162
+ c40(contentTypeToSend, converter, contentTypeMatcher, configuration) {
163
163
  // Inline function 'kotlin.apply' call
164
164
  configuration(converter);
165
165
  var registration = new (ConverterRegistration())(converter, contentTypeToSend, contentTypeMatcher);
166
- this.w3z_1.o2(registration);
166
+ this.a40_1.o2(registration);
167
167
  }
168
168
  }
169
169
  protoOf($).j3d = register$default;
@@ -176,9 +176,9 @@ var ContentConverterExceptionClass;
176
176
  function ContentConverterException() {
177
177
  if (ContentConverterExceptionClass === VOID) {
178
178
  class $ extends Exception() {
179
- static b40(message) {
179
+ static f40(message) {
180
180
  var $this = this.g5(message);
181
- captureStack($this, $this.a40_1);
181
+ captureStack($this, $this.e40_1);
182
182
  return $this;
183
183
  }
184
184
  }
@@ -194,20 +194,20 @@ function ContentNegotiationConfig$_init_$ref_1ne3ob() {
194
194
  }
195
195
  function ContentNegotiation$lambda($this$createClientPlugin) {
196
196
  _init_properties_ContentNegotiation_kt__o183go();
197
- var registrations = $this$createClientPlugin.d3l_1.w3z_1;
198
- var ignoredTypes = $this$createClientPlugin.d3l_1.v3z_1;
199
- $this$createClientPlugin.u3s(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes));
200
- $this$createClientPlugin.m3o(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin));
197
+ var registrations = $this$createClientPlugin.e3l_1.a40_1;
198
+ var ignoredTypes = $this$createClientPlugin.e3l_1.z3z_1;
199
+ $this$createClientPlugin.v3s(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes));
200
+ $this$createClientPlugin.n3o(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin));
201
201
  return Unit_instance;
202
202
  }
203
203
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
204
204
  _init_properties_ContentNegotiation_kt__o183go();
205
- return toString(it.q3z_1);
205
+ return toString(it.u3z_1);
206
206
  }
207
207
  function *invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
208
208
  var tmp;
209
- if (request.a3g_1.d2j(get_ExcludedContentTypes())) {
210
- var excluded = request.a3g_1.b2j(get_ExcludedContentTypes());
209
+ if (request.f3g_1.d2j(get_ExcludedContentTypes())) {
210
+ var excluded = request.f3g_1.b2j(get_ExcludedContentTypes());
211
211
  // Inline function 'kotlin.collections.filter' call
212
212
  // Inline function 'kotlin.collections.filterTo' call
213
213
  var destination = ArrayList().i2();
@@ -230,7 +230,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
230
230
  var _iterator__ex2g4s_0 = excluded.l1();
231
231
  while (_iterator__ex2g4s_0.m1()) {
232
232
  var element_0 = _iterator__ex2g4s_0.n1();
233
- if (element.r3z_1.g2t(element_0)) {
233
+ if (element.v3z_1.g2t(element_0)) {
234
234
  tmp$ret$3 = false;
235
235
  break $l$block_0;
236
236
  }
@@ -247,7 +247,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
247
247
  }
248
248
  var requestRegistrations = tmp;
249
249
  // Inline function 'kotlin.collections.orEmpty' call
250
- var tmp0_elvis_lhs = request.x3f_1.b2m('Accept');
250
+ var tmp0_elvis_lhs = request.c3g_1.b2m('Accept');
251
251
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
252
252
  // Inline function 'kotlin.collections.forEach' call
253
253
  var _iterator__ex2g4s_1 = requestRegistrations.l1();
@@ -269,7 +269,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
269
269
  var _iterator__ex2g4s_2 = acceptHeaders.l1();
270
270
  while (_iterator__ex2g4s_2.m1()) {
271
271
  var element_2 = _iterator__ex2g4s_2.n1();
272
- if (Companion_getInstance().pu(element_2).g2t(element_1.r3z_1)) {
272
+ if (Companion_getInstance().pu(element_2).g2t(element_1.v3z_1)) {
273
273
  tmp$ret$8 = false;
274
274
  break $l$block_2;
275
275
  }
@@ -277,9 +277,9 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
277
277
  tmp$ret$8 = true;
278
278
  }
279
279
  if (tmp$ret$8) {
280
- var qValue = $this_createClientPlugin.d3l_1.x3z_1;
281
- var contentTypeToSend = qValue == null ? element_1.r3z_1 : element_1.r3z_1.d2t('q', qValue.toString());
282
- get_LOGGER().k2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + request.v3f_1.toString());
280
+ var qValue = $this_createClientPlugin.e3l_1.b40_1;
281
+ var contentTypeToSend = qValue == null ? element_1.v3z_1 : element_1.v3z_1.d2t('q', qValue.toString());
282
+ get_LOGGER().k2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + request.a3g_1.toString());
283
283
  accept(request, contentTypeToSend);
284
284
  }
285
285
  }
@@ -313,22 +313,22 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
313
313
  tmp_2 = tmp$ret$10;
314
314
  }
315
315
  if (tmp_2) {
316
- get_LOGGER().k2q('Body type ' + toString(getKClassFromExpression(body)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + request.v3f_1.toString() + '.'));
316
+ get_LOGGER().k2q('Body type ' + toString(getKClassFromExpression(body)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + request.a3g_1.toString() + '.'));
317
317
  return null;
318
318
  }
319
319
  var tmp0_elvis_lhs_0 = contentType(request);
320
320
  var tmp_4;
321
321
  if (tmp0_elvis_lhs_0 == null) {
322
322
  // Inline function 'kotlin.run' call
323
- get_LOGGER().k2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + request.v3f_1.toString() + '.');
323
+ get_LOGGER().k2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + request.a3g_1.toString() + '.');
324
324
  return null;
325
325
  } else {
326
326
  tmp_4 = tmp0_elvis_lhs_0;
327
327
  }
328
328
  var contentType_0 = tmp_4;
329
329
  if (body instanceof Unit()) {
330
- get_LOGGER().k2q('Sending empty body for ' + request.v3f_1.toString());
331
- request.x3f_1.i2m('Content-Type');
330
+ get_LOGGER().k2q('Sending empty body for ' + request.a3g_1.toString());
331
+ request.c3g_1.i2m('Content-Type');
332
332
  return EmptyContent_getInstance();
333
333
  }
334
334
  // Inline function 'kotlin.collections.filter' call
@@ -337,7 +337,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
337
337
  var _iterator__ex2g4s_4 = registrations.l1();
338
338
  while (_iterator__ex2g4s_4.m1()) {
339
339
  var element_4 = _iterator__ex2g4s_4.n1();
340
- if (element_4.s3z_1.u3z(contentType_0)) {
340
+ if (element_4.w3z_1.y3z(contentType_0)) {
341
341
  destination_0.o2(element_4);
342
342
  }
343
343
  }
@@ -353,17 +353,17 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
353
353
  var tmp_6;
354
354
  if (tmp1_elvis_lhs == null) {
355
355
  // Inline function 'kotlin.run' call
356
- get_LOGGER().k2q('None of the registered converters match request Content-Type=' + contentType_0.toString() + '. ' + ('Skipping ContentNegotiation for ' + request.v3f_1.toString() + '.'));
356
+ get_LOGGER().k2q('None of the registered converters match request Content-Type=' + contentType_0.toString() + '. ' + ('Skipping ContentNegotiation for ' + request.a3g_1.toString() + '.'));
357
357
  return null;
358
358
  } else {
359
359
  tmp_6 = tmp1_elvis_lhs;
360
360
  }
361
361
  var matchingRegistrations = tmp_6;
362
- if (request.n3t() == null) {
363
- get_LOGGER().k2q('Request has unknown body type. Skipping ContentNegotiation for ' + request.v3f_1.toString() + '.');
362
+ if (request.o3t() == null) {
363
+ get_LOGGER().k2q('Request has unknown body type. Skipping ContentNegotiation for ' + request.a3g_1.toString() + '.');
364
364
  return null;
365
365
  }
366
- request.x3f_1.i2m('Content-Type');
366
+ request.c3g_1.i2m('Content-Type');
367
367
  var tmp$ret$22;
368
368
  $l$block_5: {
369
369
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
@@ -372,7 +372,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
372
372
  var element_5 = _iterator__ex2g4s_5.n1();
373
373
  var tmp0_elvis_lhs_1 = charset(contentType_0);
374
374
  var tmp_7 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().y1v_1 : tmp0_elvis_lhs_1;
375
- var tmp_8 = ensureNotNull(request.n3t());
375
+ var tmp_8 = ensureNotNull(request.o3t());
376
376
  // Inline function 'kotlin.takeIf' call
377
377
  var tmp_9;
378
378
  if (!equals(body, NullBody_instance)) {
@@ -381,9 +381,9 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
381
381
  tmp_9 = null;
382
382
  }
383
383
  var tmp$ret$24 = tmp_9;
384
- var result = yield* element_5.q3z_1.c40(contentType_0, tmp_7, tmp_8, tmp$ret$24, $completion);
384
+ var result = yield* element_5.u3z_1.g40(contentType_0, tmp_7, tmp_8, tmp$ret$24, $completion);
385
385
  if (!(result == null)) {
386
- get_LOGGER().k2q('Converted request body using ' + toString(element_5.q3z_1) + ' for ' + request.v3f_1.toString());
386
+ get_LOGGER().k2q('Converted request body using ' + toString(element_5.u3z_1) + ' for ' + request.a3g_1.toString());
387
387
  }
388
388
  var result_0 = result;
389
389
  if (!(result_0 == null)) {
@@ -397,7 +397,7 @@ function *invoke$convertRequest(registrations, $this_createClientPlugin, ignored
397
397
  var tmp_10;
398
398
  if (tmp2_elvis_lhs == null) {
399
399
  var tmp_11 = "Can't convert " + toString(body) + ' with contentType ' + contentType_0.toString() + ' using converters ';
400
- throw ContentConverterException().b40(tmp_11 + joinToString(matchingRegistrations, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
400
+ throw ContentConverterException().f40(tmp_11 + joinToString(matchingRegistrations, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
401
401
  } else {
402
402
  tmp_10 = tmp2_elvis_lhs;
403
403
  }
@@ -420,7 +420,7 @@ function *invoke$convertResponse(ignoredTypes, registrations, $this_createClient
420
420
  var _iterator__ex2g4s = registrations.l1();
421
421
  while (_iterator__ex2g4s.m1()) {
422
422
  var element = _iterator__ex2g4s.n1();
423
- if (element.s3z_1.u3z(responseContentType)) {
423
+ if (element.w3z_1.y3z(responseContentType)) {
424
424
  destination.o2(element);
425
425
  }
426
426
  }
@@ -430,7 +430,7 @@ function *invoke$convertResponse(ignoredTypes, registrations, $this_createClient
430
430
  var _iterator__ex2g4s_0 = destination.l1();
431
431
  while (_iterator__ex2g4s_0.m1()) {
432
432
  var item = _iterator__ex2g4s_0.n1();
433
- var tmp$ret$5 = item.q3z_1;
433
+ var tmp$ret$5 = item.u3z_1;
434
434
  destination_0.o2(tmp$ret$5);
435
435
  }
436
436
  // Inline function 'kotlin.takeIf' call
@@ -462,18 +462,18 @@ function ContentNegotiation$lambda$slambda() {
462
462
  if (ContentNegotiation$lambda$slambdaClass === VOID) {
463
463
  class $ {
464
464
  constructor($registrations, $this_createClientPlugin, $ignoredTypes) {
465
- this.d40_1 = $registrations;
466
- this.e40_1 = $this_createClientPlugin;
467
- this.f40_1 = $ignoredTypes;
465
+ this.h40_1 = $registrations;
466
+ this.i40_1 = $this_createClientPlugin;
467
+ this.j40_1 = $ignoredTypes;
468
468
  }
469
- *g40($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
470
- return yield* /*#__NOINLINE__*/invoke$convertRequest(this.d40_1, this.e40_1, this.f40_1, request, body, $completion);
469
+ *k40($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
470
+ return yield* /*#__NOINLINE__*/invoke$convertRequest(this.h40_1, this.i40_1, this.j40_1, request, body, $completion);
471
471
  }
472
- t3o(p1, p2, p3, p4, $completion) {
472
+ u3o(p1, p2, p3, p4, $completion) {
473
473
  var tmp = p1 instanceof TransformRequestBodyContext() ? p1 : THROW_CCE();
474
474
  var tmp_0 = p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE();
475
475
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
476
- return this.g40(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo()) ? p4 : THROW_CCE(), $completion);
476
+ return this.k40(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo()) ? p4 : THROW_CCE(), $completion);
477
477
  }
478
478
  }
479
479
  initMetadataForLambda($, VOID, VOID, [4]);
@@ -483,7 +483,7 @@ function ContentNegotiation$lambda$slambda() {
483
483
  }
484
484
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes) {
485
485
  var i = new (ContentNegotiation$lambda$slambda())($registrations, $this_createClientPlugin, $ignoredTypes);
486
- var l = ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) => i.g40($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
486
+ var l = ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) => i.k40($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
487
487
  l.$arity = 4;
488
488
  return l;
489
489
  }
@@ -492,11 +492,11 @@ function ContentNegotiation$lambda$slambda_1() {
492
492
  if (ContentNegotiation$lambda$slambdaClass_0 === VOID) {
493
493
  class $ {
494
494
  constructor($ignoredTypes, $registrations, $this_createClientPlugin) {
495
- this.h40_1 = $ignoredTypes;
496
- this.i40_1 = $registrations;
497
- this.j40_1 = $this_createClientPlugin;
495
+ this.l40_1 = $ignoredTypes;
496
+ this.m40_1 = $registrations;
497
+ this.n40_1 = $this_createClientPlugin;
498
498
  }
499
- *s3o($this$transformResponseBody, response, body, info, $completion) {
499
+ *t3o($this$transformResponseBody, response, body, info, $completion) {
500
500
  var tmp0_elvis_lhs = contentType_0(response);
501
501
  var tmp;
502
502
  if (tmp0_elvis_lhs == null) {
@@ -506,13 +506,13 @@ function ContentNegotiation$lambda$slambda_1() {
506
506
  }
507
507
  var contentType = tmp;
508
508
  var charset = suitableCharset(get_request(response).g2y());
509
- return yield* /*#__NOINLINE__*/invoke$convertResponse(this.h40_1, this.i40_1, this.j40_1, get_request(response).w3g(), info, body, contentType, charset, $completion);
509
+ return yield* /*#__NOINLINE__*/invoke$convertResponse(this.l40_1, this.m40_1, this.n40_1, get_request(response).b3h(), info, body, contentType, charset, $completion);
510
510
  }
511
- t3o(p1, p2, p3, p4, $completion) {
511
+ u3o(p1, p2, p3, p4, $completion) {
512
512
  var tmp = p1 instanceof TransformResponseBodyContext() ? p1 : THROW_CCE();
513
513
  var tmp_0 = p2 instanceof HttpResponse() ? p2 : THROW_CCE();
514
514
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel()) : false) ? p3 : THROW_CCE();
515
- return this.s3o(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo() ? p4 : THROW_CCE(), $completion);
515
+ return this.t3o(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo() ? p4 : THROW_CCE(), $completion);
516
516
  }
517
517
  }
518
518
  initMetadataForLambda($, VOID, VOID, [4]);
@@ -522,7 +522,7 @@ function ContentNegotiation$lambda$slambda_1() {
522
522
  }
523
523
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin) {
524
524
  var i = new (ContentNegotiation$lambda$slambda_1())($ignoredTypes, $registrations, $this_createClientPlugin);
525
- var l = ($this$transformResponseBody, response, body, info, $completion) => i.s3o($this$transformResponseBody, response, body, info, $completion);
525
+ var l = ($this$transformResponseBody, response, body, info, $completion) => i.t3o($this$transformResponseBody, response, body, info, $completion);
526
526
  l.$arity = 4;
527
527
  return l;
528
528
  }
@@ -10,7 +10,7 @@ var JsonContentTypeMatcherClass;
10
10
  function JsonContentTypeMatcher() {
11
11
  if (JsonContentTypeMatcherClass === VOID) {
12
12
  class $ {
13
- u3z(contentType) {
13
+ y3z(contentType) {
14
14
  if (contentType.g2t(Application_getInstance().n2r_1)) {
15
15
  return true;
16
16
  }
@@ -1,8 +1,10 @@
1
+ import { HttpClientEngineBase2tgisnw4e4drr as HttpClientEngineBase } from './engine/HttpClientEngineBase.mjs';
2
+ import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
3
+ import { CancellationException3b36o9qz53rgr as CancellationException } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs';
1
4
  import {
2
5
  cancel36mj9lv3a0whl as cancel,
3
6
  CoroutineScopefcb5f5dwqcas as CoroutineScope,
4
7
  } from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
5
- import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
6
8
  import { HttpClientCall2j6myj8ctykar as HttpClientCall } from './call/HttpClientCall.mjs';
7
9
  import {
8
10
  toString1pkumu07cwy4m as toString,
@@ -61,12 +63,27 @@ import { isInterface3d6p8outrmvmk as isInterface } from '../../../../kotlin-kotl
61
63
  //endregion
62
64
  //region block: pre-declaration
63
65
  //endregion
64
- function HttpClient$lambda(this$0) {
65
- return (it) => {
66
+ function HttpClient$_init_$lambda_36nm6w($engine) {
67
+ return (cause) => {
66
68
  var tmp;
67
- if (!(it == null)) {
68
- cancel(this$0.w3d_1);
69
- tmp = Unit_instance;
69
+ if (!($engine instanceof HttpClientEngineBase())) {
70
+ tmp = true;
71
+ } else {
72
+ tmp = $engine.y3d_1.atomicfu$decrementAndGet() <= 0;
73
+ }
74
+ var shouldClose = tmp;
75
+ var tmp_0;
76
+ if (shouldClose) {
77
+ var tmp_1;
78
+ if (cause == null) {
79
+ $engine.j6();
80
+ tmp_1 = Unit_instance;
81
+ } else {
82
+ var tmp0_elvis_lhs = cause instanceof CancellationException() ? cause : null;
83
+ cancel($engine, tmp0_elvis_lhs == null ? CancellationException().p('Client scope is canceled', cause) : tmp0_elvis_lhs);
84
+ tmp_1 = Unit_instance;
85
+ }
86
+ tmp_0 = tmp_1;
70
87
  }
71
88
  return Unit_instance;
72
89
  };
@@ -76,22 +93,22 @@ function HttpClient$slambda() {
76
93
  if (HttpClient$slambdaClass === VOID) {
77
94
  class $ {
78
95
  constructor(this$0) {
79
- this.k3e_1 = this$0;
96
+ this.b3e_1 = this$0;
80
97
  }
81
- *l3e($this$intercept, call, $completion) {
98
+ *c3e($this$intercept, call, $completion) {
82
99
  // Inline function 'kotlin.check' call
83
100
  if (!(call instanceof HttpClientCall())) {
84
101
  var message = 'Error: HttpClientCall expected, but found ' + toString(call) + '(' + toString(getKClassFromExpression(call)) + ').';
85
102
  throw IllegalStateException().o(toString(message));
86
103
  }
87
- var response = yield* this.k3e_1.f3e_1.d2p(Unit_instance, call.r3e(), $completion);
88
- call.s3e(response);
104
+ var response = yield* this.b3e_1.m3e_1.d2p(Unit_instance, call.w3e(), $completion);
105
+ call.x3e(response);
89
106
  yield* $this$intercept.g2o(call, $completion);
90
107
  return Unit_instance;
91
108
  }
92
109
  wd(p1, p2, $completion) {
93
110
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
94
- return this.l3e(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
111
+ return this.c3e(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
95
112
  }
96
113
  }
97
114
  initMetadataForLambda($, VOID, VOID, [2]);
@@ -101,11 +118,11 @@ function HttpClient$slambda() {
101
118
  }
102
119
  function HttpClient$slambda_0(this$0) {
103
120
  var i = new (HttpClient$slambda())(this$0);
104
- var l = ($this$intercept, call, $completion) => i.l3e($this$intercept, call, $completion);
121
+ var l = ($this$intercept, call, $completion) => i.c3e($this$intercept, call, $completion);
105
122
  l.$arity = 2;
106
123
  return l;
107
124
  }
108
- function HttpClient$lambda_0($this$install) {
125
+ function HttpClient$lambda($this$install) {
109
126
  defaultTransformers($this$install);
110
127
  return Unit_instance;
111
128
  }
@@ -114,15 +131,15 @@ function HttpClient$slambda_1() {
114
131
  if (HttpClient$slambdaClass_0 === VOID) {
115
132
  class $ {
116
133
  constructor(this$0) {
117
- this.t3e_1 = this$0;
134
+ this.y3e_1 = this$0;
118
135
  }
119
- *u3e($this$intercept, it, $completion) {
136
+ *z3e($this$intercept, it, $completion) {
120
137
  try {
121
138
  yield* $this$intercept.h2o($completion);
122
139
  } catch ($p) {
123
140
  if ($p instanceof Error) {
124
141
  var cause = $p;
125
- this.t3e_1.i3e_1.m2q(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())($this$intercept.e2p_1.r3e(), cause));
142
+ this.y3e_1.p3e_1.m2q(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())($this$intercept.e2p_1.w3e(), cause));
126
143
  throw cause;
127
144
  } else {
128
145
  throw $p;
@@ -132,7 +149,7 @@ function HttpClient$slambda_1() {
132
149
  }
133
150
  wd(p1, p2, $completion) {
134
151
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
135
- return this.u3e(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
152
+ return this.z3e(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
136
153
  }
137
154
  }
138
155
  initMetadataForLambda($, VOID, VOID, [2]);
@@ -142,7 +159,7 @@ function HttpClient$slambda_1() {
142
159
  }
143
160
  function HttpClient$slambda_2(this$0) {
144
161
  var i = new (HttpClient$slambda_1())(this$0);
145
- var l = ($this$intercept, it, $completion) => i.u3e($this$intercept, it, $completion);
162
+ var l = ($this$intercept, it, $completion) => i.z3e($this$intercept, it, $completion);
146
163
  l.$arity = 2;
147
164
  return l;
148
165
  }
@@ -150,77 +167,81 @@ var HttpClientClass;
150
167
  function HttpClient() {
151
168
  if (HttpClientClass === VOID) {
152
169
  class $ {
153
- static v3e(engine, userConfig) {
170
+ static a3f(engine, userConfig) {
154
171
  userConfig = userConfig === VOID ? new (HttpClientConfig())() : userConfig;
155
172
  var $this = createThis(this);
156
- $this.w3d_1 = engine;
157
- $this.x3d_1 = userConfig;
158
- $this.y3d_1 = false;
159
- $this.z3d_1 = atomic$boolean$1(false);
160
- $this.a3e_1 = Job($this.w3d_1.bx().id(Key_instance));
161
- $this.b3e_1 = $this.w3d_1.bx().oo($this.a3e_1);
162
- $this.c3e_1 = new (HttpRequestPipeline())();
163
- $this.d3e_1 = new (HttpResponsePipeline())();
164
- $this.e3e_1 = new (HttpSendPipeline())();
165
- $this.f3e_1 = new (HttpReceivePipeline())();
166
- $this.g3e_1 = AttributesJsFn(true);
167
- $this.h3e_1 = $this.w3d_1.w3e();
168
- $this.i3e_1 = new (Events())();
169
- $this.j3e_1 = new (HttpClientConfig())();
170
- if ($this.y3d_1) {
171
- $this.a3e_1.ey(HttpClient$lambda($this));
172
- }
173
- $this.w3d_1.x3e($this);
174
- var tmp = Phases_getInstance_0().c3f_1;
175
- $this.e3e_1.i2p(tmp, HttpClient$slambda_0($this));
173
+ $this.d3e_1 = engine;
174
+ $this.e3e_1 = userConfig;
175
+ $this.f3e_1 = false;
176
+ $this.g3e_1 = atomic$boolean$1(false);
177
+ $this.h3e_1 = Job($this.d3e_1.bx().id(Key_instance));
178
+ $this.i3e_1 = $this.d3e_1.bx().oo($this.h3e_1);
179
+ $this.j3e_1 = new (HttpRequestPipeline())();
180
+ $this.k3e_1 = new (HttpResponsePipeline())();
181
+ $this.l3e_1 = new (HttpSendPipeline())();
182
+ $this.m3e_1 = new (HttpReceivePipeline())();
183
+ $this.n3e_1 = AttributesJsFn(true);
184
+ $this.o3e_1 = $this.d3e_1.b3f();
185
+ $this.p3e_1 = new (Events())();
186
+ $this.q3e_1 = new (HttpClientConfig())();
187
+ $this.d3e_1.c3f($this);
188
+ var tmp = Phases_getInstance_0().h3f_1;
189
+ $this.l3e_1.i2p(tmp, HttpClient$slambda_0($this));
176
190
  // Inline function 'kotlin.with' call
177
- var $this$with = $this.x3d_1;
178
- $this.j3e_1.l3f(get_HttpRequestLifecycle());
179
- $this.j3e_1.l3f(get_BodyProgress());
180
- $this.j3e_1.l3f(get_SaveBody());
181
- if ($this$with.i3f_1) {
182
- $this.j3e_1.m3f('DefaultTransformers', HttpClient$lambda_0);
191
+ var $this$with = $this.e3e_1;
192
+ $this.q3e_1.q3f(get_HttpRequestLifecycle());
193
+ $this.q3e_1.q3f(get_BodyProgress());
194
+ $this.q3e_1.q3f(get_SaveBody());
195
+ if ($this$with.n3f_1) {
196
+ $this.q3e_1.r3f('DefaultTransformers', HttpClient$lambda);
183
197
  }
184
- $this.j3e_1.l3f(Plugin_getInstance());
185
- $this.j3e_1.l3f(get_HttpCallValidator());
186
- if ($this$with.h3f_1) {
187
- $this.j3e_1.l3f(get_HttpRedirect());
198
+ $this.q3e_1.q3f(Plugin_getInstance());
199
+ $this.q3e_1.q3f(get_HttpCallValidator());
200
+ if ($this$with.m3f_1) {
201
+ $this.q3e_1.q3f(get_HttpRedirect());
188
202
  }
189
- $this.j3e_1.n3f($this$with);
190
- if ($this$with.i3f_1) {
191
- $this.j3e_1.l3f(get_HttpPlainText());
203
+ $this.q3e_1.s3f($this$with);
204
+ if ($this$with.n3f_1) {
205
+ $this.q3e_1.q3f(get_HttpPlainText());
192
206
  }
193
- addDefaultResponseValidation($this.j3e_1);
194
- $this.j3e_1.x3e($this);
195
- var tmp_0 = Phases_getInstance().o3f_1;
196
- $this.d3e_1.i2p(tmp_0, HttpClient$slambda_2($this));
207
+ addDefaultResponseValidation($this.q3e_1);
208
+ $this.q3e_1.c3f($this);
209
+ var tmp_0 = Phases_getInstance().t3f_1;
210
+ $this.k3e_1.i2p(tmp_0, HttpClient$slambda_2($this));
197
211
  return $this;
198
212
  }
199
- static t3f(engine, userConfig, manageEngine) {
200
- var $this = this.v3e(engine, userConfig);
201
- $this.y3d_1 = manageEngine;
213
+ static y3f(engine, userConfig, manageEngine) {
214
+ var $this = this.a3f(engine, userConfig);
215
+ $this.f3e_1 = manageEngine;
216
+ if ($this.f3e_1) {
217
+ if (engine instanceof HttpClientEngineBase()) {
218
+ engine.y3d_1.atomicfu$incrementAndGet();
219
+ }
220
+ var tmp = ensureNotNull($this.i3e_1.id(Key_instance));
221
+ tmp.ey(HttpClient$_init_$lambda_36nm6w(engine));
222
+ }
202
223
  return $this;
203
224
  }
204
225
  bx() {
205
- return this.b3e_1;
226
+ return this.i3e_1;
206
227
  }
207
- *u3f(builder, $completion) {
208
- this.i3e_1.m2q(get_HttpRequestCreated(), builder);
209
- var tmp = yield* this.c3e_1.d2p(builder, builder.y3f_1, $completion);
228
+ *z3f(builder, $completion) {
229
+ this.p3e_1.m2q(get_HttpRequestCreated(), builder);
230
+ var tmp = yield* this.j3e_1.d2p(builder, builder.d3g_1, $completion);
210
231
  return tmp instanceof HttpClientCall() ? tmp : THROW_CCE();
211
232
  }
212
- b3g(block) {
233
+ g3g(block) {
213
234
  // Inline function 'kotlin.apply' call
214
235
  var this_0 = new (HttpClientConfig())();
215
- this_0.n3f(this.x3d_1);
236
+ this_0.s3f(this.e3e_1);
216
237
  block(this_0);
217
- return HttpClient().t3f(this.w3d_1, this_0, this.y3d_1);
238
+ return HttpClient().y3f(this.d3e_1, this_0, this.f3e_1);
218
239
  }
219
240
  j6() {
220
- var success = this.z3d_1.atomicfu$compareAndSet(false, true);
241
+ var success = this.g3e_1.atomicfu$compareAndSet(false, true);
221
242
  if (!success)
222
243
  return Unit_instance;
223
- var installedFeatures = this.g3e_1.b2j(get_PLUGIN_INSTALLED_LIST());
244
+ var installedFeatures = this.n3e_1.b2j(get_PLUGIN_INSTALLED_LIST());
224
245
  // Inline function 'kotlin.collections.forEach' call
225
246
  var _iterator__ex2g4s = installedFeatures.i2j().l1();
226
247
  while (_iterator__ex2g4s.m1()) {
@@ -230,13 +251,10 @@ function HttpClient() {
230
251
  plugin.j6();
231
252
  }
232
253
  }
233
- this.a3e_1.k14();
234
- if (this.y3d_1) {
235
- this.w3d_1.j6();
236
- }
254
+ this.h3e_1.k14();
237
255
  }
238
256
  toString() {
239
- return 'HttpClient[' + toString(this.w3d_1) + ']';
257
+ return 'HttpClient[' + toString(this.d3e_1) + ']';
240
258
  }
241
259
  }
242
260
  initMetadataForClass($, 'HttpClient', VOID, VOID, [CoroutineScope(), AutoCloseable()], [1]);
@@ -248,12 +266,12 @@ function HttpClient_0(engine, block) {
248
266
  // Inline function 'kotlin.apply' call
249
267
  var this_0 = new (HttpClientConfig())();
250
268
  block(this_0);
251
- return HttpClient().t3f(engine, this_0, false);
269
+ return HttpClient().y3f(engine, this_0, false);
252
270
  }
253
271
  function HttpClient_1(engineFactory, block) {
254
272
  var tmp;
255
273
  if (block === VOID) {
256
- tmp = HttpClient$lambda_1;
274
+ tmp = HttpClient$lambda_0;
257
275
  } else {
258
276
  tmp = block;
259
277
  }
@@ -262,21 +280,12 @@ function HttpClient_1(engineFactory, block) {
262
280
  var this_0 = new (HttpClientConfig())();
263
281
  block(this_0);
264
282
  var config = this_0;
265
- var engine = engineFactory.c3g(config.g3f_1);
266
- var client = HttpClient().t3f(engine, config, true);
267
- var tmp_0 = ensureNotNull(client.b3e_1.id(Key_instance));
268
- tmp_0.ey(HttpClient$lambda_2(engine));
269
- return client;
283
+ var engine = engineFactory.h3g(config.l3f_1);
284
+ return HttpClient().y3f(engine, config, true);
270
285
  }
271
- function HttpClient$lambda_1(_this__u8e3s4) {
286
+ function HttpClient$lambda_0(_this__u8e3s4) {
272
287
  return Unit_instance;
273
288
  }
274
- function HttpClient$lambda_2($engine) {
275
- return (it) => {
276
- $engine.j6();
277
- return Unit_instance;
278
- };
279
- }
280
289
  //region block: exports
281
290
  export {
282
291
  HttpClient_0 as HttpClienthpouyso1j6ge,