@continuous-excellence/coupling-cli 1.1.805 → 1.1.806
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.
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +42 -42
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.js.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +27 -27
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +5 -5
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +34 -34
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +39 -39
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +48 -48
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +54 -54
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +13 -13
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +11 -11
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +75 -75
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +51 -51
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +26 -26
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +4 -4
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +10 -10
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +95 -95
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +55 -55
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs.map +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +14 -14
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +27 -27
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +5 -5
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +16 -16
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +21 -21
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +33 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +34 -34
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +41 -41
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +23 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +39 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +47 -47
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +56 -56
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +68 -68
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +102 -102
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +23 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +36 -36
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +24 -24
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +33 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +47 -47
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +8 -8
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +109 -109
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +80 -80
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +62 -62
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +62 -62
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +24 -24
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +21 -21
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +21 -21
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +43 -43
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +80 -80
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +60 -60
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/internal/UrlEncode.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +39 -39
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +85 -85
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +282 -282
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +19 -19
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +12 -12
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +122 -122
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +50 -50
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +35 -35
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +68 -68
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +22 -22
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +207 -207
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +41 -41
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +50 -50
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +20 -20
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +38 -38
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +47 -47
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +24 -24
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +125 -125
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +46 -46
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs +63 -63
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +125 -125
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +37 -37
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +33 -33
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +135 -135
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +21 -21
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.js.mjs +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +43 -43
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +42 -42
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +46 -46
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +27 -27
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +106 -106
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +103 -103
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +141 -141
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +49 -49
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +155 -155
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +46 -46
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +14 -14
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +27 -27
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +183 -183
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +40 -40
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +36 -36
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +243 -243
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +17 -17
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +20 -20
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +6 -6
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs +2 -2
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +21 -21
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +115 -115
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +61 -61
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Result.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +23 -23
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs +14 -20
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +24 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +28 -28
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +197 -197
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +28 -28
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +28 -28
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +10 -10
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs +42 -42
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +77 -77
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +98 -98
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +25 -25
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +58 -58
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +14 -14
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +28 -28
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs +43 -43
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs +0 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/math/math.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +47 -47
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +14 -14
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +3 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +17 -26
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +39 -39
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/sequenceJs.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +22 -22
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +65 -65
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +89 -89
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +99 -99
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +8 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +79 -79
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +40 -40
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/measureTime.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs +40 -40
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +30 -30
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +160 -160
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +92 -92
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Runnable.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +22 -22
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +446 -446
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +34 -34
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +27 -27
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +32 -32
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +16 -16
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +26 -26
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +22 -22
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs +16 -16
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +9 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +23 -23
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +138 -138
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +12 -12
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +31 -31
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +55 -55
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +45 -45
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +72 -72
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +40 -40
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +22 -22
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +12 -12
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +162 -162
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +52 -52
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +133 -133
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +5 -5
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +14 -14
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +17 -17
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +22 -22
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +30 -30
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +95 -95
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +41 -41
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +27 -27
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +63 -63
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +239 -239
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +39 -39
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +10 -10
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +9 -9
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +3 -3
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +180 -180
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +91 -91
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +32 -32
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +52 -52
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +63 -63
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +144 -144
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +21 -21
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +180 -180
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +64 -64
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +40 -40
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +55 -55
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +10 -10
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +180 -180
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +138 -138
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +271 -271
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +174 -174
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +62 -62
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +66 -66
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +33 -33
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +45 -45
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +45 -45
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +20 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +39 -39
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +24 -24
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +16 -16
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +41 -41
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +21 -21
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +54 -54
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +52 -52
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +49 -49
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +44 -44
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +27 -27
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +19 -19
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +82 -82
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +48 -48
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +59 -59
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +22 -22
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +17 -17
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +24 -24
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +29 -29
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +8 -8
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +34 -34
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +72 -72
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +14 -14
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +10 -10
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +17 -17
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +26 -26
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +21 -21
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +25 -25
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/KtorMDCContext.web.mjs +3 -3
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +24 -24
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +3 -3
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +14 -14
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +196 -196
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +17 -17
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +8 -8
- package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +14 -14
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +96 -96
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/Headers.mjs +19 -19
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +32 -32
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +123 -123
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +5 -5
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +15 -15
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +14 -14
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +5 -5
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/Parameters.mjs +13 -13
- package/kotlin/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +68 -68
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +42 -42
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +21 -21
- package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +29 -29
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +77 -77
- package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +32 -32
- package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +8 -8
- package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +9 -9
- package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +11 -11
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +87 -87
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +34 -34
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +34 -34
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +18 -18
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +80 -80
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +4 -4
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +4 -4
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +142 -142
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +51 -51
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +68 -68
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +27 -27
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +22 -22
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +15 -15
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/IODispatcher.web.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +16 -16
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +19 -19
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +39 -39
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +6 -6
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.nonJvm.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +7 -7
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +21 -21
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +2 -2
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +41 -41
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +16 -16
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +16 -16
- package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +19 -19
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +198 -198
- package/kotlin/ktor-ktor-utils/io/ktor/util/ContentEncoders.web.mjs +5 -5
- package/kotlin/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/kotlin/ktor-ktor-utils/io/ktor/util/Encoders.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +144 -144
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +102 -102
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs +10 -10
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/Logger.web.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +52 -52
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +22 -22
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/ControlFrames.mjs +3 -3
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +99 -99
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +46 -46
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +9 -9
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +7 -7
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +18 -18
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +51 -51
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +4 -4
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +4 -4
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs +6 -6
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +43 -43
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +68 -68
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +16 -16
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +40 -40
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +62 -62
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +25 -25
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +229 -229
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +26 -26
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +124 -124
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +34 -34
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +55 -55
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +62 -62
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +58 -58
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +74 -74
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Buffer.mjs +389 -389
- package/kotlin/okio-parent-okio/okio/ByteString.mjs +54 -54
- package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs +14 -14
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +18 -18
- package/kotlin/okio-parent-okio/okio/Okio.mjs +2 -2
- package/kotlin/okio-parent-okio/okio/Options.mjs +32 -32
- package/kotlin/okio-parent-okio/okio/Options.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +37 -37
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +72 -72
- package/kotlin/okio-parent-okio/okio/Segment.mjs +67 -67
- package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +4 -4
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
- package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +63 -63
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs +10 -10
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs +63 -63
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +1 -1
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +164 -164
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs.map +1 -1
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +31 -31
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +35 -35
- package/kotlin/types-types-internal/kotools/types/internal/AnyX.mjs.map +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +16 -16
- package/kotlin/types-types-internal/kotools/types/internal/Errors.mjs +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +12 -12
- package/kotlin/uuid/com/benasher44/uuid/platform.mjs +1 -1
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +12 -12
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -70,8 +70,8 @@ import {
|
|
|
70
70
|
ClosedSendChannelException29m33prpq9jaw as ClosedSendChannelException,
|
|
71
71
|
close$defaultlxi0kykibhye as close$default,
|
|
72
72
|
cancel$default2imfx8rp1ubvu as cancel$default,
|
|
73
|
-
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
74
73
|
SendChannel38sllbxw662ws as SendChannel,
|
|
74
|
+
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
75
75
|
} from './Channel.mjs';
|
|
76
76
|
import {
|
|
77
77
|
SelectInstance2isepgzfsd8ur as SelectInstance,
|
|
@@ -200,7 +200,7 @@ function get_NO_CLOSE_CAUSE() {
|
|
|
200
200
|
var NO_CLOSE_CAUSE;
|
|
201
201
|
function setElementLazy($this, index, value) {
|
|
202
202
|
// Inline function 'kotlinx.atomicfu.AtomicRef.lazySet' call
|
|
203
|
-
$this.
|
|
203
|
+
$this.u1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
|
|
204
204
|
}
|
|
205
205
|
var ChannelSegmentClass;
|
|
206
206
|
function ChannelSegment() {
|
|
@@ -208,48 +208,48 @@ function ChannelSegment() {
|
|
|
208
208
|
class $ extends Segment() {
|
|
209
209
|
constructor(id, prev, channel, pointers) {
|
|
210
210
|
super(id, prev, pointers);
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
213
|
-
}
|
|
214
|
-
u1a() {
|
|
215
|
-
return ensureNotNull(this.s1a_1);
|
|
211
|
+
this.t1a_1 = channel;
|
|
212
|
+
this.u1a_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
|
|
216
213
|
}
|
|
217
214
|
v1a() {
|
|
215
|
+
return ensureNotNull(this.t1a_1);
|
|
216
|
+
}
|
|
217
|
+
w1a() {
|
|
218
218
|
return get_SEGMENT_SIZE();
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
x1a(index, element) {
|
|
221
221
|
setElementLazy(this, index, element);
|
|
222
222
|
}
|
|
223
|
-
x1a(index) {
|
|
224
|
-
return this.t1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
|
|
225
|
-
}
|
|
226
223
|
y1a(index) {
|
|
224
|
+
return this.u1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
|
|
225
|
+
}
|
|
226
|
+
z1a(index) {
|
|
227
227
|
// Inline function 'kotlin.also' call
|
|
228
|
-
var this_0 = this.
|
|
229
|
-
this.
|
|
228
|
+
var this_0 = this.y1a(index);
|
|
229
|
+
this.a1b(index);
|
|
230
230
|
return this_0;
|
|
231
231
|
}
|
|
232
|
-
|
|
232
|
+
a1b(index) {
|
|
233
233
|
setElementLazy(this, index, null);
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
return this.
|
|
235
|
+
b1b(index) {
|
|
236
|
+
return this.u1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
this.
|
|
238
|
+
c1b(index, value) {
|
|
239
|
+
this.u1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
|
|
240
240
|
}
|
|
241
|
-
|
|
242
|
-
return this.
|
|
241
|
+
d1b(index, from, to) {
|
|
242
|
+
return this.u1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
return this.
|
|
244
|
+
e1b(index, update) {
|
|
245
|
+
return this.u1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
k13(index, cause, context) {
|
|
248
248
|
var isSender = index >= get_SEGMENT_SIZE();
|
|
249
249
|
var index_0 = isSender ? index - get_SEGMENT_SIZE() | 0 : index;
|
|
250
|
-
var element = this.
|
|
250
|
+
var element = this.y1a(index_0);
|
|
251
251
|
$l$loop: while (true) {
|
|
252
|
-
var cur = this.
|
|
252
|
+
var cur = this.b1b(index_0);
|
|
253
253
|
var tmp;
|
|
254
254
|
if (!(cur == null) ? isInterface(cur, Waiter()) : false) {
|
|
255
255
|
tmp = true;
|
|
@@ -258,11 +258,11 @@ function ChannelSegment() {
|
|
|
258
258
|
}
|
|
259
259
|
if (tmp) {
|
|
260
260
|
var update = isSender ? get_INTERRUPTED_SEND() : get_INTERRUPTED_RCV();
|
|
261
|
-
if (this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
261
|
+
if (this.d1b(index_0, cur, update)) {
|
|
262
|
+
this.a1b(index_0);
|
|
263
|
+
this.r1b(index_0, !isSender);
|
|
264
264
|
if (isSender) {
|
|
265
|
-
var tmp0_safe_receiver = this.
|
|
265
|
+
var tmp0_safe_receiver = this.v1a().g1b_1;
|
|
266
266
|
if (tmp0_safe_receiver == null)
|
|
267
267
|
null;
|
|
268
268
|
else {
|
|
@@ -273,9 +273,9 @@ function ChannelSegment() {
|
|
|
273
273
|
}
|
|
274
274
|
} else {
|
|
275
275
|
if (cur === get_INTERRUPTED_SEND() || cur === get_INTERRUPTED_RCV()) {
|
|
276
|
-
this.
|
|
276
|
+
this.a1b(index_0);
|
|
277
277
|
if (isSender) {
|
|
278
|
-
var tmp1_safe_receiver = this.
|
|
278
|
+
var tmp1_safe_receiver = this.v1a().g1b_1;
|
|
279
279
|
if (tmp1_safe_receiver == null)
|
|
280
280
|
null;
|
|
281
281
|
else {
|
|
@@ -303,18 +303,18 @@ function ChannelSegment() {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
r1b(index, receiver) {
|
|
307
307
|
if (receiver) {
|
|
308
|
-
var tmp = this.
|
|
309
|
-
var tmp0 = this.
|
|
308
|
+
var tmp = this.v1a();
|
|
309
|
+
var tmp0 = this.i13_1;
|
|
310
310
|
// Inline function 'kotlin.Long.times' call
|
|
311
311
|
var other = get_SEGMENT_SIZE();
|
|
312
312
|
// Inline function 'kotlin.Long.plus' call
|
|
313
313
|
var this_0 = multiply(tmp0, fromInt(other));
|
|
314
314
|
var tmp$ret$1 = add(this_0, fromInt(index));
|
|
315
|
-
tmp.
|
|
315
|
+
tmp.s1b(tmp$ret$1);
|
|
316
316
|
}
|
|
317
|
-
this.
|
|
317
|
+
this.t1b();
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
initMetadataForClass($, 'ChannelSegment');
|
|
@@ -323,8 +323,8 @@ function ChannelSegment() {
|
|
|
323
323
|
return ChannelSegmentClass;
|
|
324
324
|
}
|
|
325
325
|
function onClosedHasNext($this) {
|
|
326
|
-
$this.
|
|
327
|
-
var tmp0_elvis_lhs = $this.
|
|
326
|
+
$this.f1c_1 = get_CHANNEL_CLOSED();
|
|
327
|
+
var tmp0_elvis_lhs = $this.h1c_1.i1c();
|
|
328
328
|
var tmp;
|
|
329
329
|
if (tmp0_elvis_lhs == null) {
|
|
330
330
|
return false;
|
|
@@ -341,8 +341,8 @@ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
341
341
|
var uCont = $completion;
|
|
342
342
|
var cancellable = getOrCreateCancellableContinuation(intercepted(uCont));
|
|
343
343
|
try {
|
|
344
|
-
$this.
|
|
345
|
-
var tmp0 = $this.
|
|
344
|
+
$this.g1c_1 = cancellable;
|
|
345
|
+
var tmp0 = $this.h1c_1;
|
|
346
346
|
var tmp2 = segment;
|
|
347
347
|
var tmp4 = index;
|
|
348
348
|
var tmp6 = r;
|
|
@@ -352,18 +352,18 @@ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
352
352
|
if (updCellResult === get_SUSPEND()) {
|
|
353
353
|
prepareReceiverForSuspension(tmp0, waiter, tmp2, tmp4);
|
|
354
354
|
} else if (updCellResult === get_FAILED()) {
|
|
355
|
-
if (compare(tmp6, tmp0.
|
|
356
|
-
tmp2.
|
|
355
|
+
if (compare(tmp6, tmp0.j1c()) < 0) {
|
|
356
|
+
tmp2.d1c();
|
|
357
357
|
}
|
|
358
358
|
$l$block_0: {
|
|
359
359
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
|
|
360
|
-
var segment_0 = tmp0.
|
|
360
|
+
var segment_0 = tmp0.m1b_1.kotlinx$atomicfu$value;
|
|
361
361
|
$l$loop_0: while (true) {
|
|
362
|
-
if (tmp0.
|
|
362
|
+
if (tmp0.k1c()) {
|
|
363
363
|
onClosedHasNextNoWaiterSuspend($this);
|
|
364
364
|
break $l$block_0;
|
|
365
365
|
}
|
|
366
|
-
var r_0 = tmp0.
|
|
366
|
+
var r_0 = tmp0.i1b_1.atomicfu$getAndIncrement$long();
|
|
367
367
|
// Inline function 'kotlin.Long.div' call
|
|
368
368
|
var other = get_SEGMENT_SIZE();
|
|
369
369
|
var id = divide(r_0, fromInt(other));
|
|
@@ -371,7 +371,7 @@ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
371
371
|
var other_0 = get_SEGMENT_SIZE();
|
|
372
372
|
var tmp$ret$8 = modulo(r_0, fromInt(other_0));
|
|
373
373
|
var i = convertToInt(tmp$ret$8);
|
|
374
|
-
if (!equalsLong(segment_0.
|
|
374
|
+
if (!equalsLong(segment_0.i13_1, id)) {
|
|
375
375
|
var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment_0);
|
|
376
376
|
var tmp;
|
|
377
377
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -390,8 +390,8 @@ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
390
390
|
prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment_0, i);
|
|
391
391
|
}
|
|
392
392
|
} else if (updCellResult_0 === get_FAILED()) {
|
|
393
|
-
if (compare(r_0, tmp0.
|
|
394
|
-
segment_0.
|
|
393
|
+
if (compare(r_0, tmp0.j1c()) < 0) {
|
|
394
|
+
segment_0.d1c();
|
|
395
395
|
}
|
|
396
396
|
continue $l$loop_0;
|
|
397
397
|
} else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
|
|
@@ -399,39 +399,39 @@ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
399
399
|
var message = 'unexpected';
|
|
400
400
|
throw IllegalStateException().o(toString_0(message));
|
|
401
401
|
} else {
|
|
402
|
-
segment_0.
|
|
403
|
-
$this.
|
|
404
|
-
$this.
|
|
405
|
-
var tmp0_safe_receiver = $this.
|
|
406
|
-
cancellable.
|
|
402
|
+
segment_0.d1c();
|
|
403
|
+
$this.f1c_1 = updCellResult_0;
|
|
404
|
+
$this.g1c_1 = null;
|
|
405
|
+
var tmp0_safe_receiver = $this.h1c_1.g1b_1;
|
|
406
|
+
cancellable.l14(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.h1c_1, tmp0_safe_receiver, updCellResult_0));
|
|
407
407
|
}
|
|
408
408
|
break $l$block_0;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
} else {
|
|
412
|
-
tmp2.
|
|
413
|
-
$this.
|
|
414
|
-
$this.
|
|
415
|
-
var tmp0_safe_receiver_0 = $this.
|
|
416
|
-
cancellable.
|
|
412
|
+
tmp2.d1c();
|
|
413
|
+
$this.f1c_1 = updCellResult;
|
|
414
|
+
$this.g1c_1 = null;
|
|
415
|
+
var tmp0_safe_receiver_0 = $this.h1c_1.g1b_1;
|
|
416
|
+
cancellable.l14(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.h1c_1, tmp0_safe_receiver_0, updCellResult));
|
|
417
417
|
}
|
|
418
418
|
} catch ($p) {
|
|
419
419
|
if ($p instanceof Error) {
|
|
420
420
|
var e = $p;
|
|
421
|
-
cancellable.
|
|
421
|
+
cancellable.h14();
|
|
422
422
|
throw e;
|
|
423
423
|
} else {
|
|
424
424
|
throw $p;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
return cancellable.
|
|
427
|
+
return cancellable.o11();
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
430
|
function onClosedHasNextNoWaiterSuspend($this) {
|
|
431
|
-
var cont = ensureNotNull($this.
|
|
432
|
-
$this.
|
|
433
|
-
$this.
|
|
434
|
-
var cause = $this.
|
|
431
|
+
var cont = ensureNotNull($this.g1c_1);
|
|
432
|
+
$this.g1c_1 = null;
|
|
433
|
+
$this.f1c_1 = get_CHANNEL_CLOSED();
|
|
434
|
+
var cause = $this.h1c_1.i1c();
|
|
435
435
|
if (cause == null) {
|
|
436
436
|
// Inline function 'kotlin.coroutines.resume' call
|
|
437
437
|
// Inline function 'kotlin.Companion.success' call
|
|
@@ -446,7 +446,7 @@ function onClosedHasNextNoWaiterSuspend($this) {
|
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
function _get_bufferEndCounter__2d4hee($this) {
|
|
449
|
-
return $this.
|
|
449
|
+
return $this.j1b_1.kotlinx$atomicfu$value;
|
|
450
450
|
}
|
|
451
451
|
function _get_isRendezvousOrUnlimited__3mdufi($this) {
|
|
452
452
|
// Inline function 'kotlin.let' call
|
|
@@ -459,15 +459,15 @@ function *onClosedSend($this, element, $completion) {
|
|
|
459
459
|
(yield () => {
|
|
460
460
|
var uCont = $completion;
|
|
461
461
|
var cancellable = new (CancellableContinuationImpl())(intercepted(uCont), 1);
|
|
462
|
-
cancellable.
|
|
462
|
+
cancellable.n11();
|
|
463
463
|
$l$block: {
|
|
464
|
-
var tmp0_safe_receiver = $this.
|
|
464
|
+
var tmp0_safe_receiver = $this.g1b_1;
|
|
465
465
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
|
|
466
466
|
if (tmp1_safe_receiver == null)
|
|
467
467
|
null;
|
|
468
468
|
else {
|
|
469
469
|
// Inline function 'kotlin.let' call
|
|
470
|
-
addSuppressed(tmp1_safe_receiver, $this.
|
|
470
|
+
addSuppressed(tmp1_safe_receiver, $this.l1c());
|
|
471
471
|
// Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
|
|
472
472
|
// Inline function 'kotlin.Companion.failure' call
|
|
473
473
|
var exception = recoverStackTrace_0(tmp1_safe_receiver, cancellable);
|
|
@@ -476,13 +476,13 @@ function *onClosedSend($this, element, $completion) {
|
|
|
476
476
|
break $l$block;
|
|
477
477
|
}
|
|
478
478
|
// Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
|
|
479
|
-
var exception_0 = $this.
|
|
479
|
+
var exception_0 = $this.l1c();
|
|
480
480
|
// Inline function 'kotlin.Companion.failure' call
|
|
481
481
|
var exception_1 = recoverStackTrace_0(exception_0, cancellable);
|
|
482
482
|
var tmp$ret$9 = _Result___init__impl__xyqfz8(createFailure(exception_1));
|
|
483
483
|
cancellable.yc(tmp$ret$9);
|
|
484
484
|
}
|
|
485
|
-
return cancellable.
|
|
485
|
+
return cancellable.o11();
|
|
486
486
|
});
|
|
487
487
|
return Unit_instance;
|
|
488
488
|
}
|
|
@@ -501,7 +501,7 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
501
501
|
var s_0 = s;
|
|
502
502
|
switch (updateCellSend(tmp0, tmp2, tmp4, tmp6, s_0, cancellable, false)) {
|
|
503
503
|
case 0:
|
|
504
|
-
tmp2.
|
|
504
|
+
tmp2.d1c();
|
|
505
505
|
// Inline function 'kotlin.coroutines.resume' call
|
|
506
506
|
|
|
507
507
|
// Inline function 'kotlin.Companion.success' call
|
|
@@ -521,14 +521,14 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
521
521
|
prepareSenderForSuspension(tmp0, cancellable, tmp2, tmp4);
|
|
522
522
|
break;
|
|
523
523
|
case 4:
|
|
524
|
-
if (compare(s_0, tmp0.
|
|
525
|
-
tmp2.
|
|
524
|
+
if (compare(s_0, tmp0.m1c()) < 0) {
|
|
525
|
+
tmp2.d1c();
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
onClosedSendOnNoWaiterSuspend($this, element, cancellable);
|
|
529
529
|
break;
|
|
530
530
|
case 5:
|
|
531
|
-
tmp2.
|
|
531
|
+
tmp2.d1c();
|
|
532
532
|
$l$block_5: {
|
|
533
533
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
|
|
534
534
|
var segment_0 = access$_get_sendSegment__111kgq(tmp0).kotlinx$atomicfu$value;
|
|
@@ -544,7 +544,7 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
544
544
|
var other_0 = get_SEGMENT_SIZE();
|
|
545
545
|
var tmp$ret$15 = modulo(s_1, fromInt(other_0));
|
|
546
546
|
var i = convertToInt(tmp$ret$15);
|
|
547
|
-
if (!equalsLong(segment_0.
|
|
547
|
+
if (!equalsLong(segment_0.i13_1, id)) {
|
|
548
548
|
var tmp0_elvis_lhs = access$findSegmentSend(tmp0, id, segment_0);
|
|
549
549
|
var tmp;
|
|
550
550
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -562,7 +562,7 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
562
562
|
}
|
|
563
563
|
switch (access$updateCellSend(tmp0, segment_0, i, tmp6, s_1, cancellable, closed)) {
|
|
564
564
|
case 0:
|
|
565
|
-
segment_0.
|
|
565
|
+
segment_0.d1c();
|
|
566
566
|
// Inline function 'kotlin.coroutines.resume' call
|
|
567
567
|
|
|
568
568
|
// Inline function 'kotlin.Companion.success' call
|
|
@@ -580,7 +580,7 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
580
580
|
break $l$block_5;
|
|
581
581
|
case 2:
|
|
582
582
|
if (closed) {
|
|
583
|
-
segment_0.
|
|
583
|
+
segment_0.t1b();
|
|
584
584
|
onClosedSendOnNoWaiterSuspend($this, element, cancellable);
|
|
585
585
|
break $l$block_5;
|
|
586
586
|
}
|
|
@@ -594,14 +594,14 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
594
594
|
|
|
595
595
|
break $l$block_5;
|
|
596
596
|
case 4:
|
|
597
|
-
if (compare(s_1, tmp0.
|
|
598
|
-
segment_0.
|
|
597
|
+
if (compare(s_1, tmp0.m1c()) < 0) {
|
|
598
|
+
segment_0.d1c();
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
onClosedSendOnNoWaiterSuspend($this, element, cancellable);
|
|
602
602
|
break $l$block_5;
|
|
603
603
|
case 5:
|
|
604
|
-
segment_0.
|
|
604
|
+
segment_0.d1c();
|
|
605
605
|
continue $l$loop_0;
|
|
606
606
|
case 3:
|
|
607
607
|
// Inline function 'kotlin.error' call
|
|
@@ -622,21 +622,21 @@ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion)
|
|
|
622
622
|
} catch ($p) {
|
|
623
623
|
if ($p instanceof Error) {
|
|
624
624
|
var e = $p;
|
|
625
|
-
cancellable.
|
|
625
|
+
cancellable.h14();
|
|
626
626
|
throw e;
|
|
627
627
|
} else {
|
|
628
628
|
throw $p;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
return cancellable.
|
|
631
|
+
return cancellable.o11();
|
|
632
632
|
});
|
|
633
633
|
return Unit_instance;
|
|
634
634
|
}
|
|
635
635
|
function prepareSenderForSuspension($this, $receiver, segment, index) {
|
|
636
|
-
$receiver.
|
|
636
|
+
$receiver.n14(segment, index + get_SEGMENT_SIZE() | 0);
|
|
637
637
|
}
|
|
638
638
|
function onClosedSendOnNoWaiterSuspend($this, element, cont) {
|
|
639
|
-
var tmp0_safe_receiver = $this.
|
|
639
|
+
var tmp0_safe_receiver = $this.g1b_1;
|
|
640
640
|
if (tmp0_safe_receiver == null)
|
|
641
641
|
null;
|
|
642
642
|
else {
|
|
@@ -644,7 +644,7 @@ function onClosedSendOnNoWaiterSuspend($this, element, cont) {
|
|
|
644
644
|
}
|
|
645
645
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
646
646
|
// Inline function 'kotlin.Companion.failure' call
|
|
647
|
-
var exception = recoverStackTrace_0($this.
|
|
647
|
+
var exception = recoverStackTrace_0($this.l1c(), cont);
|
|
648
648
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
649
649
|
cont.yc(tmp$ret$1);
|
|
650
650
|
}
|
|
@@ -658,34 +658,34 @@ function SendBroadcast() {
|
|
|
658
658
|
return SendBroadcastClass;
|
|
659
659
|
}
|
|
660
660
|
function updateCellSend($this, segment, index, element, s, waiter, closed) {
|
|
661
|
-
segment.
|
|
661
|
+
segment.x1a(index, element);
|
|
662
662
|
if (closed)
|
|
663
663
|
return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
|
|
664
|
-
var state = segment.
|
|
664
|
+
var state = segment.b1b(index);
|
|
665
665
|
if (state === null) {
|
|
666
666
|
if (bufferOrRendezvousSend($this, s)) {
|
|
667
|
-
if (segment.
|
|
667
|
+
if (segment.d1b(index, null, get_BUFFERED())) {
|
|
668
668
|
return 1;
|
|
669
669
|
}
|
|
670
670
|
} else {
|
|
671
671
|
if (waiter == null) {
|
|
672
672
|
return 3;
|
|
673
673
|
} else {
|
|
674
|
-
if (segment.
|
|
674
|
+
if (segment.d1b(index, null, waiter))
|
|
675
675
|
return 2;
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
} else {
|
|
679
679
|
if (isInterface(state, Waiter())) {
|
|
680
|
-
segment.
|
|
680
|
+
segment.a1b(index);
|
|
681
681
|
var tmp;
|
|
682
682
|
if (tryResumeReceiver($this, state, element)) {
|
|
683
|
-
segment.
|
|
684
|
-
$this.
|
|
683
|
+
segment.c1b(index, get_DONE_RCV());
|
|
684
|
+
$this.n1c();
|
|
685
685
|
tmp = 0;
|
|
686
686
|
} else {
|
|
687
|
-
if (!(segment.
|
|
688
|
-
segment.
|
|
687
|
+
if (!(segment.e1b(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
|
|
688
|
+
segment.r1b(index, true);
|
|
689
689
|
}
|
|
690
690
|
tmp = 5;
|
|
691
691
|
}
|
|
@@ -696,55 +696,55 @@ function updateCellSend($this, segment, index, element, s, waiter, closed) {
|
|
|
696
696
|
}
|
|
697
697
|
function updateCellSendSlow($this, segment, index, element, s, waiter, closed) {
|
|
698
698
|
while (true) {
|
|
699
|
-
var state = segment.
|
|
699
|
+
var state = segment.b1b(index);
|
|
700
700
|
if (state === null) {
|
|
701
701
|
if (bufferOrRendezvousSend($this, s) && !closed) {
|
|
702
|
-
if (segment.
|
|
702
|
+
if (segment.d1b(index, null, get_BUFFERED())) {
|
|
703
703
|
return 1;
|
|
704
704
|
}
|
|
705
705
|
} else {
|
|
706
706
|
if (closed) {
|
|
707
|
-
if (segment.
|
|
708
|
-
segment.
|
|
707
|
+
if (segment.d1b(index, null, get_INTERRUPTED_SEND())) {
|
|
708
|
+
segment.r1b(index, false);
|
|
709
709
|
return 4;
|
|
710
710
|
}
|
|
711
711
|
} else if (waiter == null)
|
|
712
712
|
return 3;
|
|
713
|
-
else if (segment.
|
|
713
|
+
else if (segment.d1b(index, null, waiter))
|
|
714
714
|
return 2;
|
|
715
715
|
}
|
|
716
716
|
} else if (state === get_IN_BUFFER()) {
|
|
717
|
-
if (segment.
|
|
717
|
+
if (segment.d1b(index, state, get_BUFFERED())) {
|
|
718
718
|
return 1;
|
|
719
719
|
}
|
|
720
720
|
} else if (state === get_INTERRUPTED_RCV()) {
|
|
721
|
-
segment.
|
|
721
|
+
segment.a1b(index);
|
|
722
722
|
return 5;
|
|
723
723
|
} else if (state === get_POISONED()) {
|
|
724
|
-
segment.
|
|
724
|
+
segment.a1b(index);
|
|
725
725
|
return 5;
|
|
726
726
|
} else if (state === get_CHANNEL_CLOSED()) {
|
|
727
|
-
segment.
|
|
727
|
+
segment.a1b(index);
|
|
728
728
|
completeCloseOrCancel($this);
|
|
729
729
|
return 4;
|
|
730
730
|
} else {
|
|
731
731
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
732
|
-
segment.
|
|
732
|
+
segment.a1b(index);
|
|
733
733
|
var tmp;
|
|
734
734
|
if (state instanceof WaiterEB()) {
|
|
735
|
-
tmp = state.
|
|
735
|
+
tmp = state.o1c_1;
|
|
736
736
|
} else {
|
|
737
737
|
tmp = state;
|
|
738
738
|
}
|
|
739
739
|
var receiver = tmp;
|
|
740
740
|
var tmp_0;
|
|
741
741
|
if (tryResumeReceiver($this, receiver, element)) {
|
|
742
|
-
segment.
|
|
743
|
-
$this.
|
|
742
|
+
segment.c1b(index, get_DONE_RCV());
|
|
743
|
+
$this.n1c();
|
|
744
744
|
tmp_0 = 0;
|
|
745
745
|
} else {
|
|
746
|
-
if (!(segment.
|
|
747
|
-
segment.
|
|
746
|
+
if (!(segment.e1b(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
|
|
747
|
+
segment.r1b(index, true);
|
|
748
748
|
}
|
|
749
749
|
tmp_0 = 5;
|
|
750
750
|
}
|
|
@@ -764,9 +764,9 @@ function bufferOrRendezvousSend($this, curSenders) {
|
|
|
764
764
|
if (compare(curSenders, _get_bufferEndCounter__2d4hee($this)) < 0) {
|
|
765
765
|
tmp = true;
|
|
766
766
|
} else {
|
|
767
|
-
var tmp0 = $this.
|
|
767
|
+
var tmp0 = $this.m1c();
|
|
768
768
|
// Inline function 'kotlin.Long.plus' call
|
|
769
|
-
var other = $this.
|
|
769
|
+
var other = $this.f1b_1;
|
|
770
770
|
var tmp$ret$0 = add(tmp0, fromInt(other));
|
|
771
771
|
tmp = compare(curSenders, tmp$ret$0) < 0;
|
|
772
772
|
}
|
|
@@ -775,24 +775,24 @@ function bufferOrRendezvousSend($this, curSenders) {
|
|
|
775
775
|
function tryResumeReceiver($this, $receiver, element) {
|
|
776
776
|
var tmp;
|
|
777
777
|
if (isInterface($receiver, SelectInstance())) {
|
|
778
|
-
tmp = $receiver.
|
|
778
|
+
tmp = $receiver.t1c($this, element);
|
|
779
779
|
} else {
|
|
780
780
|
if ($receiver instanceof ReceiveCatching()) {
|
|
781
781
|
if (!($receiver instanceof ReceiveCatching()))
|
|
782
782
|
THROW_CCE();
|
|
783
|
-
var tmp_0 = Companion_getInstance().
|
|
784
|
-
var tmp1_safe_receiver = $this.
|
|
785
|
-
tmp = tryResume0($receiver.
|
|
783
|
+
var tmp_0 = Companion_getInstance().r1c(element);
|
|
784
|
+
var tmp1_safe_receiver = $this.g1b_1;
|
|
785
|
+
tmp = tryResume0($receiver.s1c_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
|
|
786
786
|
} else {
|
|
787
787
|
if ($receiver instanceof BufferedChannelIterator()) {
|
|
788
788
|
if (!($receiver instanceof BufferedChannelIterator()))
|
|
789
789
|
THROW_CCE();
|
|
790
|
-
tmp = $receiver.
|
|
790
|
+
tmp = $receiver.p1c(element);
|
|
791
791
|
} else {
|
|
792
792
|
if (isInterface($receiver, CancellableContinuation())) {
|
|
793
793
|
if (!isInterface($receiver, CancellableContinuation()))
|
|
794
794
|
THROW_CCE();
|
|
795
|
-
var tmp2_safe_receiver = $this.
|
|
795
|
+
var tmp2_safe_receiver = $this.g1b_1;
|
|
796
796
|
tmp = tryResume0($receiver, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
|
|
797
797
|
} else {
|
|
798
798
|
// Inline function 'kotlin.error' call
|
|
@@ -820,18 +820,18 @@ function *receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
820
820
|
if (updCellResult === get_SUSPEND()) {
|
|
821
821
|
prepareReceiverForSuspension(tmp0, cancellable, tmp2, tmp4);
|
|
822
822
|
} else if (updCellResult === get_FAILED()) {
|
|
823
|
-
if (compare(r_0, tmp0.
|
|
824
|
-
tmp2.
|
|
823
|
+
if (compare(r_0, tmp0.j1c()) < 0) {
|
|
824
|
+
tmp2.d1c();
|
|
825
825
|
}
|
|
826
826
|
$l$block_0: {
|
|
827
827
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
|
|
828
|
-
var segment_0 = tmp0.
|
|
828
|
+
var segment_0 = tmp0.m1b_1.kotlinx$atomicfu$value;
|
|
829
829
|
$l$loop_0: while (true) {
|
|
830
|
-
if (tmp0.
|
|
830
|
+
if (tmp0.k1c()) {
|
|
831
831
|
onClosedReceiveOnNoWaiterSuspend($this, cancellable);
|
|
832
832
|
break $l$block_0;
|
|
833
833
|
}
|
|
834
|
-
var r_1 = tmp0.
|
|
834
|
+
var r_1 = tmp0.i1b_1.atomicfu$getAndIncrement$long();
|
|
835
835
|
// Inline function 'kotlin.Long.div' call
|
|
836
836
|
var other = get_SEGMENT_SIZE();
|
|
837
837
|
var id = divide(r_1, fromInt(other));
|
|
@@ -839,7 +839,7 @@ function *receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
839
839
|
var other_0 = get_SEGMENT_SIZE();
|
|
840
840
|
var tmp$ret$8 = modulo(r_1, fromInt(other_0));
|
|
841
841
|
var i = convertToInt(tmp$ret$8);
|
|
842
|
-
if (!equalsLong(segment_0.
|
|
842
|
+
if (!equalsLong(segment_0.i13_1, id)) {
|
|
843
843
|
var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment_0);
|
|
844
844
|
var tmp;
|
|
845
845
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -858,8 +858,8 @@ function *receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
858
858
|
prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment_0, i);
|
|
859
859
|
}
|
|
860
860
|
} else if (updCellResult_0 === get_FAILED()) {
|
|
861
|
-
if (compare(r_1, tmp0.
|
|
862
|
-
segment_0.
|
|
861
|
+
if (compare(r_1, tmp0.j1c()) < 0) {
|
|
862
|
+
segment_0.d1c();
|
|
863
863
|
}
|
|
864
864
|
continue $l$loop_0;
|
|
865
865
|
} else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
|
|
@@ -867,35 +867,35 @@ function *receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
|
|
|
867
867
|
var message = 'unexpected';
|
|
868
868
|
throw IllegalStateException().o(toString_0(message));
|
|
869
869
|
} else {
|
|
870
|
-
segment_0.
|
|
871
|
-
var tmp0_safe_receiver = $this.
|
|
870
|
+
segment_0.d1c();
|
|
871
|
+
var tmp0_safe_receiver = $this.g1b_1;
|
|
872
872
|
var onCancellation = tmp0_safe_receiver == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver);
|
|
873
|
-
cancellable.
|
|
873
|
+
cancellable.l14(updCellResult_0, onCancellation);
|
|
874
874
|
}
|
|
875
875
|
break $l$block_0;
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
} else {
|
|
879
|
-
tmp2.
|
|
880
|
-
var tmp0_safe_receiver_0 = $this.
|
|
879
|
+
tmp2.d1c();
|
|
880
|
+
var tmp0_safe_receiver_0 = $this.g1b_1;
|
|
881
881
|
var onCancellation_0 = tmp0_safe_receiver_0 == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver_0);
|
|
882
|
-
cancellable.
|
|
882
|
+
cancellable.l14(updCellResult, onCancellation_0);
|
|
883
883
|
}
|
|
884
884
|
} catch ($p) {
|
|
885
885
|
if ($p instanceof Error) {
|
|
886
886
|
var e = $p;
|
|
887
|
-
cancellable.
|
|
887
|
+
cancellable.h14();
|
|
888
888
|
throw e;
|
|
889
889
|
} else {
|
|
890
890
|
throw $p;
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
return cancellable.
|
|
893
|
+
return cancellable.o11();
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
896
|
function prepareReceiverForSuspension($this, $receiver, segment, index) {
|
|
897
|
-
$this.
|
|
898
|
-
$receiver.
|
|
897
|
+
$this.u1c();
|
|
898
|
+
$receiver.n14(segment, index);
|
|
899
899
|
}
|
|
900
900
|
function onClosedReceiveOnNoWaiterSuspend($this, cont) {
|
|
901
901
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
@@ -905,36 +905,36 @@ function onClosedReceiveOnNoWaiterSuspend($this, cont) {
|
|
|
905
905
|
cont.yc(tmp$ret$1);
|
|
906
906
|
}
|
|
907
907
|
function updateCellReceive($this, segment, index, r, waiter) {
|
|
908
|
-
var state = segment.
|
|
908
|
+
var state = segment.b1b(index);
|
|
909
909
|
if (state === null) {
|
|
910
910
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
911
|
-
var this_0 = $this.
|
|
911
|
+
var this_0 = $this.h1b_1.kotlinx$atomicfu$value;
|
|
912
912
|
var senders = bitwiseAnd(this_0, new (Long())(-1, 268435455));
|
|
913
913
|
if (compare(r, senders) >= 0) {
|
|
914
914
|
if (waiter === null) {
|
|
915
915
|
return get_SUSPEND_NO_WAITER();
|
|
916
916
|
}
|
|
917
|
-
if (segment.
|
|
917
|
+
if (segment.d1b(index, state, waiter)) {
|
|
918
918
|
expandBuffer($this);
|
|
919
919
|
return get_SUSPEND();
|
|
920
920
|
}
|
|
921
921
|
}
|
|
922
922
|
} else if (state === get_BUFFERED())
|
|
923
|
-
if (segment.
|
|
923
|
+
if (segment.d1b(index, state, get_DONE_RCV())) {
|
|
924
924
|
expandBuffer($this);
|
|
925
|
-
return segment.
|
|
925
|
+
return segment.z1a(index);
|
|
926
926
|
}
|
|
927
927
|
return updateCellReceiveSlow($this, segment, index, r, waiter);
|
|
928
928
|
}
|
|
929
929
|
function updateCellReceiveSlow($this, segment, index, r, waiter) {
|
|
930
930
|
$l$loop: while (true) {
|
|
931
|
-
var state = segment.
|
|
931
|
+
var state = segment.b1b(index);
|
|
932
932
|
if (state === null || state === get_IN_BUFFER()) {
|
|
933
933
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
934
|
-
var this_0 = $this.
|
|
934
|
+
var this_0 = $this.h1b_1.kotlinx$atomicfu$value;
|
|
935
935
|
var senders = bitwiseAnd(this_0, new (Long())(-1, 268435455));
|
|
936
936
|
if (compare(r, senders) < 0) {
|
|
937
|
-
if (segment.
|
|
937
|
+
if (segment.d1b(index, state, get_POISONED())) {
|
|
938
938
|
expandBuffer($this);
|
|
939
939
|
return get_FAILED();
|
|
940
940
|
}
|
|
@@ -942,15 +942,15 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
|
|
|
942
942
|
if (waiter === null) {
|
|
943
943
|
return get_SUSPEND_NO_WAITER();
|
|
944
944
|
}
|
|
945
|
-
if (segment.
|
|
945
|
+
if (segment.d1b(index, state, waiter)) {
|
|
946
946
|
expandBuffer($this);
|
|
947
947
|
return get_SUSPEND();
|
|
948
948
|
}
|
|
949
949
|
}
|
|
950
950
|
} else if (state === get_BUFFERED()) {
|
|
951
|
-
if (segment.
|
|
951
|
+
if (segment.d1b(index, state, get_DONE_RCV())) {
|
|
952
952
|
expandBuffer($this);
|
|
953
|
-
return segment.
|
|
953
|
+
return segment.z1a(index);
|
|
954
954
|
}
|
|
955
955
|
} else if (state === get_INTERRUPTED_SEND())
|
|
956
956
|
return get_FAILED();
|
|
@@ -962,23 +962,23 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
|
|
|
962
962
|
} else if (state === get_RESUMING_BY_EB())
|
|
963
963
|
continue $l$loop;
|
|
964
964
|
else {
|
|
965
|
-
if (segment.
|
|
965
|
+
if (segment.d1b(index, state, get_RESUMING_BY_RCV())) {
|
|
966
966
|
var helpExpandBuffer = state instanceof WaiterEB();
|
|
967
967
|
var tmp;
|
|
968
968
|
if (state instanceof WaiterEB()) {
|
|
969
|
-
tmp = state.
|
|
969
|
+
tmp = state.o1c_1;
|
|
970
970
|
} else {
|
|
971
971
|
tmp = state;
|
|
972
972
|
}
|
|
973
973
|
var sender = tmp;
|
|
974
974
|
var tmp_0;
|
|
975
975
|
if (tryResumeSender($this, sender, segment, index)) {
|
|
976
|
-
segment.
|
|
976
|
+
segment.c1b(index, get_DONE_RCV());
|
|
977
977
|
expandBuffer($this);
|
|
978
|
-
tmp_0 = segment.
|
|
978
|
+
tmp_0 = segment.z1a(index);
|
|
979
979
|
} else {
|
|
980
|
-
segment.
|
|
981
|
-
segment.
|
|
980
|
+
segment.c1b(index, get_INTERRUPTED_SEND());
|
|
981
|
+
segment.r1b(index, false);
|
|
982
982
|
if (helpExpandBuffer) {
|
|
983
983
|
expandBuffer($this);
|
|
984
984
|
}
|
|
@@ -999,14 +999,14 @@ function tryResumeSender($this, $receiver, segment, index) {
|
|
|
999
999
|
if (isInterface($receiver, SelectInstance())) {
|
|
1000
1000
|
if (!($receiver instanceof SelectImplementation()))
|
|
1001
1001
|
THROW_CCE();
|
|
1002
|
-
var trySelectResult = $receiver.
|
|
1002
|
+
var trySelectResult = $receiver.z1c($this, Unit_instance);
|
|
1003
1003
|
if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
|
|
1004
|
-
segment.
|
|
1004
|
+
segment.a1b(index);
|
|
1005
1005
|
}
|
|
1006
1006
|
tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
|
|
1007
1007
|
} else {
|
|
1008
1008
|
if ($receiver instanceof SendBroadcast()) {
|
|
1009
|
-
tmp = tryResume0($receiver.
|
|
1009
|
+
tmp = tryResume0($receiver.v1c_1, true);
|
|
1010
1010
|
} else {
|
|
1011
1011
|
// Inline function 'kotlin.error' call
|
|
1012
1012
|
var message = 'Unexpected waiter: ' + toString_0($receiver);
|
|
@@ -1019,21 +1019,21 @@ function tryResumeSender($this, $receiver, segment, index) {
|
|
|
1019
1019
|
function expandBuffer($this) {
|
|
1020
1020
|
if (_get_isRendezvousOrUnlimited__3mdufi($this))
|
|
1021
1021
|
return Unit_instance;
|
|
1022
|
-
var segment = $this.
|
|
1022
|
+
var segment = $this.n1b_1.kotlinx$atomicfu$value;
|
|
1023
1023
|
try_again: while (true) {
|
|
1024
|
-
var b = $this.
|
|
1024
|
+
var b = $this.j1b_1.atomicfu$getAndIncrement$long();
|
|
1025
1025
|
// Inline function 'kotlin.Long.div' call
|
|
1026
1026
|
var other = get_SEGMENT_SIZE();
|
|
1027
1027
|
var id = divide(b, fromInt(other));
|
|
1028
|
-
var s = $this.
|
|
1028
|
+
var s = $this.j1c();
|
|
1029
1029
|
if (compare(s, b) <= 0) {
|
|
1030
|
-
if (compare(segment.
|
|
1030
|
+
if (compare(segment.i13_1, id) < 0 && !(segment.z1b() == null)) {
|
|
1031
1031
|
moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
|
|
1032
1032
|
}
|
|
1033
1033
|
incCompletedExpandBufferAttempts($this);
|
|
1034
1034
|
return Unit_instance;
|
|
1035
1035
|
}
|
|
1036
|
-
if (!equalsLong(segment.
|
|
1036
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
1037
1037
|
var tmp0_elvis_lhs = findSegmentBufferEnd($this, id, segment, b);
|
|
1038
1038
|
var tmp;
|
|
1039
1039
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1057,17 +1057,17 @@ function expandBuffer($this) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
function updateCellExpandBuffer($this, segment, index, b) {
|
|
1060
|
-
var state = segment.
|
|
1060
|
+
var state = segment.b1b(index);
|
|
1061
1061
|
if (!(state == null) ? isInterface(state, Waiter()) : false) {
|
|
1062
|
-
if (compare(b, $this.
|
|
1063
|
-
if (segment.
|
|
1062
|
+
if (compare(b, $this.i1b_1.kotlinx$atomicfu$value) >= 0) {
|
|
1063
|
+
if (segment.d1b(index, state, get_RESUMING_BY_EB())) {
|
|
1064
1064
|
var tmp;
|
|
1065
1065
|
if (tryResumeSender($this, state, segment, index)) {
|
|
1066
|
-
segment.
|
|
1066
|
+
segment.c1b(index, get_BUFFERED());
|
|
1067
1067
|
tmp = true;
|
|
1068
1068
|
} else {
|
|
1069
|
-
segment.
|
|
1070
|
-
segment.
|
|
1069
|
+
segment.c1b(index, get_INTERRUPTED_SEND());
|
|
1070
|
+
segment.r1b(index, false);
|
|
1071
1071
|
tmp = false;
|
|
1072
1072
|
}
|
|
1073
1073
|
return tmp;
|
|
@@ -1078,20 +1078,20 @@ function updateCellExpandBuffer($this, segment, index, b) {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
function updateCellExpandBufferSlow($this, segment, index, b) {
|
|
1080
1080
|
$l$loop: while (true) {
|
|
1081
|
-
var state = segment.
|
|
1081
|
+
var state = segment.b1b(index);
|
|
1082
1082
|
if (!(state == null) ? isInterface(state, Waiter()) : false) {
|
|
1083
|
-
if (compare(b, $this.
|
|
1084
|
-
if (segment.
|
|
1083
|
+
if (compare(b, $this.i1b_1.kotlinx$atomicfu$value) < 0) {
|
|
1084
|
+
if (segment.d1b(index, state, new (WaiterEB())(state)))
|
|
1085
1085
|
return true;
|
|
1086
1086
|
} else {
|
|
1087
|
-
if (segment.
|
|
1087
|
+
if (segment.d1b(index, state, get_RESUMING_BY_EB())) {
|
|
1088
1088
|
var tmp;
|
|
1089
1089
|
if (tryResumeSender($this, state, segment, index)) {
|
|
1090
|
-
segment.
|
|
1090
|
+
segment.c1b(index, get_BUFFERED());
|
|
1091
1091
|
tmp = true;
|
|
1092
1092
|
} else {
|
|
1093
|
-
segment.
|
|
1094
|
-
segment.
|
|
1093
|
+
segment.c1b(index, get_INTERRUPTED_SEND());
|
|
1094
|
+
segment.r1b(index, false);
|
|
1095
1095
|
tmp = false;
|
|
1096
1096
|
}
|
|
1097
1097
|
return tmp;
|
|
@@ -1102,7 +1102,7 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
|
|
|
1102
1102
|
return false;
|
|
1103
1103
|
else {
|
|
1104
1104
|
if (state === null) {
|
|
1105
|
-
if (segment.
|
|
1105
|
+
if (segment.d1b(index, state, get_IN_BUFFER()))
|
|
1106
1106
|
return true;
|
|
1107
1107
|
} else {
|
|
1108
1108
|
if (state === get_BUFFERED())
|
|
@@ -1132,12 +1132,12 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
|
|
|
1132
1132
|
function incCompletedExpandBufferAttempts($this, nAttempts) {
|
|
1133
1133
|
nAttempts = nAttempts === VOID ? new (Long())(1, 0) : nAttempts;
|
|
1134
1134
|
// Inline function 'kotlin.also' call
|
|
1135
|
-
var this_0 = $this.
|
|
1135
|
+
var this_0 = $this.k1b_1.atomicfu$addAndGet$long(nAttempts);
|
|
1136
1136
|
// Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
|
|
1137
1137
|
if (!equalsLong(bitwiseAnd(this_0, new (Long())(0, 1073741824)), new (Long())(0, 0))) {
|
|
1138
1138
|
$l$loop: while (true) {
|
|
1139
1139
|
// Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
|
|
1140
|
-
var this_1 = $this.
|
|
1140
|
+
var this_1 = $this.k1b_1.kotlinx$atomicfu$value;
|
|
1141
1141
|
if (!!equalsLong(bitwiseAnd(this_1, new (Long())(0, 1073741824)), new (Long())(0, 0))) {
|
|
1142
1142
|
break $l$loop;
|
|
1143
1143
|
}
|
|
@@ -1149,26 +1149,26 @@ function BufferedChannelIterator() {
|
|
|
1149
1149
|
if (BufferedChannelIteratorClass === VOID) {
|
|
1150
1150
|
class $ {
|
|
1151
1151
|
constructor($outer) {
|
|
1152
|
-
this.
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1152
|
+
this.h1c_1 = $outer;
|
|
1153
|
+
this.f1c_1 = get_NO_RECEIVE_RESULT();
|
|
1154
|
+
this.g1c_1 = null;
|
|
1155
1155
|
}
|
|
1156
|
-
*
|
|
1156
|
+
*a1d($completion) {
|
|
1157
1157
|
var tmp;
|
|
1158
|
-
if (!(this.
|
|
1158
|
+
if (!(this.f1c_1 === get_NO_RECEIVE_RESULT()) && !(this.f1c_1 === get_CHANNEL_CLOSED())) {
|
|
1159
1159
|
tmp = true;
|
|
1160
1160
|
} else {
|
|
1161
|
-
var tmp0 = this.
|
|
1161
|
+
var tmp0 = this.h1c_1;
|
|
1162
1162
|
var tmp$ret$0;
|
|
1163
1163
|
$l$block_0: {
|
|
1164
1164
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
|
|
1165
|
-
var segment = tmp0.
|
|
1165
|
+
var segment = tmp0.m1b_1.kotlinx$atomicfu$value;
|
|
1166
1166
|
$l$loop_0: while (true) {
|
|
1167
|
-
if (tmp0.
|
|
1167
|
+
if (tmp0.k1c()) {
|
|
1168
1168
|
tmp$ret$0 = onClosedHasNext(this);
|
|
1169
1169
|
break $l$block_0;
|
|
1170
1170
|
}
|
|
1171
|
-
var r = tmp0.
|
|
1171
|
+
var r = tmp0.i1b_1.atomicfu$getAndIncrement$long();
|
|
1172
1172
|
// Inline function 'kotlin.Long.div' call
|
|
1173
1173
|
var other = get_SEGMENT_SIZE();
|
|
1174
1174
|
var id = divide(r, fromInt(other));
|
|
@@ -1176,7 +1176,7 @@ function BufferedChannelIterator() {
|
|
|
1176
1176
|
var other_0 = get_SEGMENT_SIZE();
|
|
1177
1177
|
var tmp$ret$3 = modulo(r, fromInt(other_0));
|
|
1178
1178
|
var i = convertToInt(tmp$ret$3);
|
|
1179
|
-
if (!equalsLong(segment.
|
|
1179
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
1180
1180
|
var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment);
|
|
1181
1181
|
var tmp_0;
|
|
1182
1182
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1199,16 +1199,16 @@ function BufferedChannelIterator() {
|
|
|
1199
1199
|
var message = 'unreachable';
|
|
1200
1200
|
throw IllegalStateException().o(toString_0(message));
|
|
1201
1201
|
} else if (updCellResult === get_FAILED()) {
|
|
1202
|
-
if (compare(r, tmp0.
|
|
1203
|
-
segment.
|
|
1202
|
+
if (compare(r, tmp0.j1c()) < 0) {
|
|
1203
|
+
segment.d1c();
|
|
1204
1204
|
}
|
|
1205
1205
|
continue $l$loop_0;
|
|
1206
1206
|
} else if (updCellResult === get_SUSPEND_NO_WAITER()) {
|
|
1207
1207
|
var segm = segment;
|
|
1208
1208
|
return yield* /*#__NOINLINE__*/hasNextOnNoWaiterSuspend(this, segm, i, r, $completion);
|
|
1209
1209
|
} else {
|
|
1210
|
-
segment.
|
|
1211
|
-
this.
|
|
1210
|
+
segment.d1c();
|
|
1211
|
+
this.f1c_1 = updCellResult;
|
|
1212
1212
|
tmp_1 = true;
|
|
1213
1213
|
}
|
|
1214
1214
|
tmp$ret$0 = tmp_1;
|
|
@@ -1219,38 +1219,38 @@ function BufferedChannelIterator() {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
return tmp;
|
|
1221
1221
|
}
|
|
1222
|
-
|
|
1223
|
-
var tmp0_safe_receiver = this.
|
|
1222
|
+
n14(segment, index) {
|
|
1223
|
+
var tmp0_safe_receiver = this.g1c_1;
|
|
1224
1224
|
if (tmp0_safe_receiver == null)
|
|
1225
1225
|
null;
|
|
1226
1226
|
else {
|
|
1227
|
-
tmp0_safe_receiver.
|
|
1227
|
+
tmp0_safe_receiver.n14(segment, index);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
n1() {
|
|
1231
|
-
var result = this.
|
|
1231
|
+
var result = this.f1c_1;
|
|
1232
1232
|
// Inline function 'kotlin.check' call
|
|
1233
1233
|
if (!!(result === get_NO_RECEIVE_RESULT())) {
|
|
1234
1234
|
var message = '`hasNext()` has not been invoked';
|
|
1235
1235
|
throw IllegalStateException().o(toString_0(message));
|
|
1236
1236
|
}
|
|
1237
|
-
this.
|
|
1237
|
+
this.f1c_1 = get_NO_RECEIVE_RESULT();
|
|
1238
1238
|
if (result === get_CHANNEL_CLOSED())
|
|
1239
|
-
throw recoverStackTrace(_get_receiveException__foorc1(this.
|
|
1239
|
+
throw recoverStackTrace(_get_receiveException__foorc1(this.h1c_1));
|
|
1240
1240
|
return result;
|
|
1241
1241
|
}
|
|
1242
|
-
|
|
1243
|
-
var cont = ensureNotNull(this.
|
|
1244
|
-
this.
|
|
1245
|
-
this.
|
|
1246
|
-
var tmp0_safe_receiver = this.
|
|
1247
|
-
return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
var cont = ensureNotNull(this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
var cause = this.
|
|
1242
|
+
p1c(element) {
|
|
1243
|
+
var cont = ensureNotNull(this.g1c_1);
|
|
1244
|
+
this.g1c_1 = null;
|
|
1245
|
+
this.f1c_1 = element;
|
|
1246
|
+
var tmp0_safe_receiver = this.h1c_1.g1b_1;
|
|
1247
|
+
return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.h1c_1, tmp0_safe_receiver, element));
|
|
1248
|
+
}
|
|
1249
|
+
b1d() {
|
|
1250
|
+
var cont = ensureNotNull(this.g1c_1);
|
|
1251
|
+
this.g1c_1 = null;
|
|
1252
|
+
this.f1c_1 = get_CHANNEL_CLOSED();
|
|
1253
|
+
var cause = this.h1c_1.i1c();
|
|
1254
1254
|
if (cause == null) {
|
|
1255
1255
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1256
1256
|
// Inline function 'kotlin.Companion.success' call
|
|
@@ -1271,11 +1271,11 @@ function BufferedChannelIterator() {
|
|
|
1271
1271
|
return BufferedChannelIteratorClass;
|
|
1272
1272
|
}
|
|
1273
1273
|
function _get_receiveException__foorc1($this) {
|
|
1274
|
-
var tmp0_elvis_lhs = $this.
|
|
1275
|
-
return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().
|
|
1274
|
+
var tmp0_elvis_lhs = $this.i1c();
|
|
1275
|
+
return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().g1d('Channel was closed') : tmp0_elvis_lhs;
|
|
1276
1276
|
}
|
|
1277
1277
|
function invokeCloseHandler($this) {
|
|
1278
|
-
var tmp0 = $this.
|
|
1278
|
+
var tmp0 = $this.q1b_1;
|
|
1279
1279
|
var tmp$ret$0;
|
|
1280
1280
|
$l$block: {
|
|
1281
1281
|
// Inline function 'kotlinx.atomicfu.getAndUpdate' call
|
|
@@ -1304,10 +1304,10 @@ function invokeCloseHandler($this) {
|
|
|
1304
1304
|
var closeHandler = tmp_0;
|
|
1305
1305
|
if (typeof closeHandler !== 'function')
|
|
1306
1306
|
THROW_CCE();
|
|
1307
|
-
closeHandler($this.
|
|
1307
|
+
closeHandler($this.i1c());
|
|
1308
1308
|
}
|
|
1309
1309
|
function markClosed($this) {
|
|
1310
|
-
var tmp0 = $this.
|
|
1310
|
+
var tmp0 = $this.h1b_1;
|
|
1311
1311
|
var tmp$ret$0;
|
|
1312
1312
|
$l$block: {
|
|
1313
1313
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
@@ -1342,7 +1342,7 @@ function markClosed($this) {
|
|
|
1342
1342
|
return tmp$ret$0;
|
|
1343
1343
|
}
|
|
1344
1344
|
function markCancelled($this) {
|
|
1345
|
-
var tmp0 = $this.
|
|
1345
|
+
var tmp0 = $this.h1b_1;
|
|
1346
1346
|
var tmp$ret$0;
|
|
1347
1347
|
$l$block: {
|
|
1348
1348
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
@@ -1361,7 +1361,7 @@ function markCancelled($this) {
|
|
|
1361
1361
|
return tmp$ret$0;
|
|
1362
1362
|
}
|
|
1363
1363
|
function markCancellationStarted($this) {
|
|
1364
|
-
var tmp0 = $this.
|
|
1364
|
+
var tmp0 = $this.h1b_1;
|
|
1365
1365
|
var tmp$ret$0;
|
|
1366
1366
|
$l$block: {
|
|
1367
1367
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
@@ -1387,14 +1387,14 @@ function markCancellationStarted($this) {
|
|
|
1387
1387
|
return tmp$ret$0;
|
|
1388
1388
|
}
|
|
1389
1389
|
function completeCloseOrCancel($this) {
|
|
1390
|
-
$this.
|
|
1390
|
+
$this.h1d();
|
|
1391
1391
|
}
|
|
1392
1392
|
function completeClose($this, sendersCur) {
|
|
1393
1393
|
var lastSegment = closeLinkedList($this);
|
|
1394
|
-
if ($this.
|
|
1394
|
+
if ($this.j1d()) {
|
|
1395
1395
|
var lastBufferedCellGlobalIndex = markAllEmptyCellsAsClosed($this, lastSegment);
|
|
1396
1396
|
if (!equalsLong(lastBufferedCellGlobalIndex, new (Long())(-1, -1))) {
|
|
1397
|
-
$this.
|
|
1397
|
+
$this.i1d(lastBufferedCellGlobalIndex);
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
1400
|
cancelSuspendedReceiveRequests($this, lastSegment, sendersCur);
|
|
@@ -1405,14 +1405,14 @@ function completeCancel($this, sendersCur) {
|
|
|
1405
1405
|
removeUnprocessedElements($this, lastSegment);
|
|
1406
1406
|
}
|
|
1407
1407
|
function closeLinkedList($this) {
|
|
1408
|
-
var lastSegment = $this.
|
|
1408
|
+
var lastSegment = $this.n1b_1.kotlinx$atomicfu$value;
|
|
1409
1409
|
// Inline function 'kotlin.let' call
|
|
1410
|
-
var it = $this.
|
|
1411
|
-
if (compare(it.
|
|
1410
|
+
var it = $this.l1b_1.kotlinx$atomicfu$value;
|
|
1411
|
+
if (compare(it.i13_1, lastSegment.i13_1) > 0)
|
|
1412
1412
|
lastSegment = it;
|
|
1413
1413
|
// Inline function 'kotlin.let' call
|
|
1414
|
-
var it_0 = $this.
|
|
1415
|
-
if (compare(it_0.
|
|
1414
|
+
var it_0 = $this.m1b_1.kotlinx$atomicfu$value;
|
|
1415
|
+
if (compare(it_0.i13_1, lastSegment.i13_1) > 0)
|
|
1416
1416
|
lastSegment = it_0;
|
|
1417
1417
|
return close(lastSegment);
|
|
1418
1418
|
}
|
|
@@ -1424,19 +1424,19 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
|
|
|
1424
1424
|
do {
|
|
1425
1425
|
var index = inductionVariable;
|
|
1426
1426
|
inductionVariable = inductionVariable + -1 | 0;
|
|
1427
|
-
var tmp0 = segment.
|
|
1427
|
+
var tmp0 = segment.i13_1;
|
|
1428
1428
|
// Inline function 'kotlin.Long.times' call
|
|
1429
1429
|
var other = get_SEGMENT_SIZE();
|
|
1430
1430
|
// Inline function 'kotlin.Long.plus' call
|
|
1431
1431
|
var this_0 = multiply(tmp0, fromInt(other));
|
|
1432
1432
|
var globalIndex = add(this_0, fromInt(index));
|
|
1433
|
-
if (compare(globalIndex, $this.
|
|
1433
|
+
if (compare(globalIndex, $this.m1c()) < 0)
|
|
1434
1434
|
return new (Long())(-1, -1);
|
|
1435
1435
|
cell_update: while (true) {
|
|
1436
|
-
var state = segment.
|
|
1436
|
+
var state = segment.b1b(index);
|
|
1437
1437
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1438
|
-
if (segment.
|
|
1439
|
-
segment.
|
|
1438
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1439
|
+
segment.t1b();
|
|
1440
1440
|
break cell_update;
|
|
1441
1441
|
}
|
|
1442
1442
|
} else if (state === get_BUFFERED())
|
|
@@ -1446,7 +1446,7 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
while (0 <= inductionVariable);
|
|
1449
|
-
var tmp0_elvis_lhs = segment.
|
|
1449
|
+
var tmp0_elvis_lhs = segment.c1c();
|
|
1450
1450
|
var tmp;
|
|
1451
1451
|
if (tmp0_elvis_lhs == null) {
|
|
1452
1452
|
return new (Long())(-1, -1);
|
|
@@ -1457,7 +1457,7 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
}
|
|
1459
1459
|
function removeUnprocessedElements($this, lastSegment) {
|
|
1460
|
-
var onUndeliveredElement = $this.
|
|
1460
|
+
var onUndeliveredElement = $this.g1b_1;
|
|
1461
1461
|
var undeliveredElementException = null;
|
|
1462
1462
|
var suspendedSenders = _InlineList___init__impl__z8n56();
|
|
1463
1463
|
var segment = lastSegment;
|
|
@@ -1467,33 +1467,33 @@ function removeUnprocessedElements($this, lastSegment) {
|
|
|
1467
1467
|
do {
|
|
1468
1468
|
var index = inductionVariable;
|
|
1469
1469
|
inductionVariable = inductionVariable + -1 | 0;
|
|
1470
|
-
var tmp0 = segment.
|
|
1470
|
+
var tmp0 = segment.i13_1;
|
|
1471
1471
|
// Inline function 'kotlin.Long.times' call
|
|
1472
1472
|
var other = get_SEGMENT_SIZE();
|
|
1473
1473
|
// Inline function 'kotlin.Long.plus' call
|
|
1474
1474
|
var this_0 = multiply(tmp0, fromInt(other));
|
|
1475
1475
|
var globalIndex = add(this_0, fromInt(index));
|
|
1476
1476
|
update_cell: while (true) {
|
|
1477
|
-
var state = segment.
|
|
1477
|
+
var state = segment.b1b(index);
|
|
1478
1478
|
if (state === get_DONE_RCV())
|
|
1479
1479
|
break process_segments;
|
|
1480
1480
|
else {
|
|
1481
1481
|
if (state === get_BUFFERED()) {
|
|
1482
|
-
if (compare(globalIndex, $this.
|
|
1482
|
+
if (compare(globalIndex, $this.m1c()) < 0)
|
|
1483
1483
|
break process_segments;
|
|
1484
|
-
if (segment.
|
|
1484
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1485
1485
|
if (!(onUndeliveredElement == null)) {
|
|
1486
|
-
var element = segment.
|
|
1486
|
+
var element = segment.y1a(index);
|
|
1487
1487
|
undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element, undeliveredElementException);
|
|
1488
1488
|
}
|
|
1489
|
-
segment.
|
|
1490
|
-
segment.
|
|
1489
|
+
segment.a1b(index);
|
|
1490
|
+
segment.t1b();
|
|
1491
1491
|
break update_cell;
|
|
1492
1492
|
}
|
|
1493
1493
|
} else {
|
|
1494
1494
|
if (state === get_IN_BUFFER() || state === null) {
|
|
1495
|
-
if (segment.
|
|
1496
|
-
segment.
|
|
1495
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1496
|
+
segment.t1b();
|
|
1497
1497
|
break update_cell;
|
|
1498
1498
|
}
|
|
1499
1499
|
} else {
|
|
@@ -1504,23 +1504,23 @@ function removeUnprocessedElements($this, lastSegment) {
|
|
|
1504
1504
|
tmp = state instanceof WaiterEB();
|
|
1505
1505
|
}
|
|
1506
1506
|
if (tmp) {
|
|
1507
|
-
if (compare(globalIndex, $this.
|
|
1507
|
+
if (compare(globalIndex, $this.m1c()) < 0)
|
|
1508
1508
|
break process_segments;
|
|
1509
1509
|
var tmp_0;
|
|
1510
1510
|
if (state instanceof WaiterEB()) {
|
|
1511
|
-
tmp_0 = state.
|
|
1511
|
+
tmp_0 = state.o1c_1;
|
|
1512
1512
|
} else {
|
|
1513
1513
|
tmp_0 = isInterface(state, Waiter()) ? state : THROW_CCE();
|
|
1514
1514
|
}
|
|
1515
1515
|
var sender = tmp_0;
|
|
1516
|
-
if (segment.
|
|
1516
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1517
1517
|
if (!(onUndeliveredElement == null)) {
|
|
1518
|
-
var element_0 = segment.
|
|
1518
|
+
var element_0 = segment.y1a(index);
|
|
1519
1519
|
undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element_0, undeliveredElementException);
|
|
1520
1520
|
}
|
|
1521
1521
|
suspendedSenders = InlineList__plus_impl_nuetvo(suspendedSenders, sender);
|
|
1522
|
-
segment.
|
|
1523
|
-
segment.
|
|
1522
|
+
segment.a1b(index);
|
|
1523
|
+
segment.t1b();
|
|
1524
1524
|
break update_cell;
|
|
1525
1525
|
}
|
|
1526
1526
|
} else {
|
|
@@ -1540,7 +1540,7 @@ function removeUnprocessedElements($this, lastSegment) {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
while (0 <= inductionVariable);
|
|
1543
|
-
var tmp0_elvis_lhs = segment.
|
|
1543
|
+
var tmp0_elvis_lhs = segment.c1c();
|
|
1544
1544
|
var tmp_1;
|
|
1545
1545
|
if (tmp0_elvis_lhs == null) {
|
|
1546
1546
|
break process_segments;
|
|
@@ -1592,7 +1592,7 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
|
|
|
1592
1592
|
do {
|
|
1593
1593
|
var index = inductionVariable;
|
|
1594
1594
|
inductionVariable = inductionVariable + -1 | 0;
|
|
1595
|
-
var tmp0 = segment.
|
|
1595
|
+
var tmp0 = segment.i13_1;
|
|
1596
1596
|
// Inline function 'kotlin.Long.times' call
|
|
1597
1597
|
var other = get_SEGMENT_SIZE();
|
|
1598
1598
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -1601,24 +1601,24 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
|
|
|
1601
1601
|
if (compare(tmp$ret$1, sendersCounter) < 0)
|
|
1602
1602
|
break process_segments;
|
|
1603
1603
|
cell_update: while (true) {
|
|
1604
|
-
var state = segment.
|
|
1604
|
+
var state = segment.b1b(index);
|
|
1605
1605
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1606
|
-
if (segment.
|
|
1607
|
-
segment.
|
|
1606
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1607
|
+
segment.t1b();
|
|
1608
1608
|
break cell_update;
|
|
1609
1609
|
}
|
|
1610
1610
|
} else {
|
|
1611
1611
|
if (state instanceof WaiterEB()) {
|
|
1612
|
-
if (segment.
|
|
1613
|
-
suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.
|
|
1614
|
-
segment.
|
|
1612
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1613
|
+
suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.o1c_1);
|
|
1614
|
+
segment.r1b(index, true);
|
|
1615
1615
|
break cell_update;
|
|
1616
1616
|
}
|
|
1617
1617
|
} else {
|
|
1618
1618
|
if (isInterface(state, Waiter())) {
|
|
1619
|
-
if (segment.
|
|
1619
|
+
if (segment.d1b(index, state, get_CHANNEL_CLOSED())) {
|
|
1620
1620
|
suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state);
|
|
1621
|
-
segment.
|
|
1621
|
+
segment.r1b(index, true);
|
|
1622
1622
|
break cell_update;
|
|
1623
1623
|
}
|
|
1624
1624
|
} else {
|
|
@@ -1629,7 +1629,7 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
}
|
|
1631
1631
|
while (0 <= inductionVariable);
|
|
1632
|
-
segment = segment.
|
|
1632
|
+
segment = segment.c1c();
|
|
1633
1633
|
}
|
|
1634
1634
|
var tmp0_0 = suspendedReceivers;
|
|
1635
1635
|
$l$block: {
|
|
@@ -1667,7 +1667,7 @@ function resumeSenderOnCancelledChannel($this, $receiver) {
|
|
|
1667
1667
|
function resumeWaiterOnClosedChannel($this, $receiver, receiver) {
|
|
1668
1668
|
if ($receiver instanceof SendBroadcast()) {
|
|
1669
1669
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1670
|
-
var this_0 = $receiver.
|
|
1670
|
+
var this_0 = $receiver.v1c_1;
|
|
1671
1671
|
// Inline function 'kotlin.Companion.success' call
|
|
1672
1672
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
|
|
1673
1673
|
this_0.yc(tmp$ret$1);
|
|
@@ -1675,23 +1675,23 @@ function resumeWaiterOnClosedChannel($this, $receiver, receiver) {
|
|
|
1675
1675
|
if (isInterface($receiver, CancellableContinuation())) {
|
|
1676
1676
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
1677
1677
|
// Inline function 'kotlin.Companion.failure' call
|
|
1678
|
-
var exception = receiver ? _get_receiveException__foorc1($this) : $this.
|
|
1678
|
+
var exception = receiver ? _get_receiveException__foorc1($this) : $this.l1c();
|
|
1679
1679
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
1680
1680
|
$receiver.yc(tmp$ret$3);
|
|
1681
1681
|
} else {
|
|
1682
1682
|
if ($receiver instanceof ReceiveCatching()) {
|
|
1683
|
-
var tmp0 = $receiver.
|
|
1683
|
+
var tmp0 = $receiver.s1c_1;
|
|
1684
1684
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1685
1685
|
// Inline function 'kotlin.Companion.success' call
|
|
1686
|
-
var value = new (ChannelResult())(Companion_getInstance().
|
|
1686
|
+
var value = new (ChannelResult())(Companion_getInstance().k1d($this.i1c()));
|
|
1687
1687
|
var tmp$ret$5 = _Result___init__impl__xyqfz8(value);
|
|
1688
1688
|
tmp0.yc(tmp$ret$5);
|
|
1689
1689
|
} else {
|
|
1690
1690
|
if ($receiver instanceof BufferedChannelIterator()) {
|
|
1691
|
-
$receiver.
|
|
1691
|
+
$receiver.b1d();
|
|
1692
1692
|
} else {
|
|
1693
1693
|
if (isInterface($receiver, SelectInstance()))
|
|
1694
|
-
$receiver.
|
|
1694
|
+
$receiver.t1c($this, get_CHANNEL_CLOSED());
|
|
1695
1695
|
else {
|
|
1696
1696
|
// Inline function 'kotlin.error' call
|
|
1697
1697
|
var message = 'Unexpected waiter: ' + toString_0($receiver);
|
|
@@ -1723,7 +1723,7 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
|
|
|
1723
1723
|
|
|
1724
1724
|
var tmp$ret$1 = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
|
|
1725
1725
|
completeClose($this, tmp$ret$1);
|
|
1726
|
-
tmp = isClosedForReceive ? !$this.
|
|
1726
|
+
tmp = isClosedForReceive ? !$this.l1d() : true;
|
|
1727
1727
|
break;
|
|
1728
1728
|
case 3:
|
|
1729
1729
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
@@ -1744,9 +1744,9 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
function isCellNonEmpty($this, segment, index, globalIndex) {
|
|
1746
1746
|
while (true) {
|
|
1747
|
-
var state = segment.
|
|
1747
|
+
var state = segment.b1b(index);
|
|
1748
1748
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1749
|
-
if (segment.
|
|
1749
|
+
if (segment.d1b(index, state, get_POISONED())) {
|
|
1750
1750
|
expandBuffer($this);
|
|
1751
1751
|
return false;
|
|
1752
1752
|
}
|
|
@@ -1765,11 +1765,11 @@ function isCellNonEmpty($this, segment, index, globalIndex) {
|
|
|
1765
1765
|
else if (state === get_RESUMING_BY_RCV())
|
|
1766
1766
|
return false;
|
|
1767
1767
|
else
|
|
1768
|
-
return equalsLong(globalIndex, $this.
|
|
1768
|
+
return equalsLong(globalIndex, $this.m1c());
|
|
1769
1769
|
}
|
|
1770
1770
|
}
|
|
1771
1771
|
function findSegmentSend($this, id, startFrom) {
|
|
1772
|
-
var tmp0 = $this.
|
|
1772
|
+
var tmp0 = $this.l1b_1;
|
|
1773
1773
|
var tmp6 = createSegmentFunction();
|
|
1774
1774
|
var tmp$ret$0;
|
|
1775
1775
|
$l$block_2: {
|
|
@@ -1788,22 +1788,22 @@ function findSegmentSend($this, id, startFrom) {
|
|
|
1788
1788
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1789
1789
|
while (true) {
|
|
1790
1790
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
1791
|
-
if (compare(cur.
|
|
1791
|
+
if (compare(cur.i13_1, tmp2.i13_1) >= 0) {
|
|
1792
1792
|
tmp$ret$1 = true;
|
|
1793
1793
|
break $l$block_1;
|
|
1794
1794
|
}
|
|
1795
|
-
if (!tmp2.
|
|
1795
|
+
if (!tmp2.v1b()) {
|
|
1796
1796
|
tmp$ret$1 = false;
|
|
1797
1797
|
break $l$block_1;
|
|
1798
1798
|
}
|
|
1799
1799
|
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
1800
|
-
if (cur.
|
|
1800
|
+
if (cur.w1b()) {
|
|
1801
1801
|
cur.n6();
|
|
1802
1802
|
}
|
|
1803
1803
|
tmp$ret$1 = true;
|
|
1804
1804
|
break $l$block_1;
|
|
1805
1805
|
}
|
|
1806
|
-
if (tmp2.
|
|
1806
|
+
if (tmp2.w1b()) {
|
|
1807
1807
|
tmp2.n6();
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
@@ -1822,29 +1822,29 @@ function findSegmentSend($this, id, startFrom) {
|
|
|
1822
1822
|
var tmp_0;
|
|
1823
1823
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
|
|
1824
1824
|
completeCloseOrCancel($this);
|
|
1825
|
-
var tmp0_0 = startFrom.
|
|
1825
|
+
var tmp0_0 = startFrom.i13_1;
|
|
1826
1826
|
// Inline function 'kotlin.Long.times' call
|
|
1827
1827
|
var other = get_SEGMENT_SIZE();
|
|
1828
1828
|
var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
|
|
1829
|
-
if (compare(tmp$ret$6, $this.
|
|
1830
|
-
startFrom.
|
|
1829
|
+
if (compare(tmp$ret$6, $this.m1c()) < 0) {
|
|
1830
|
+
startFrom.d1c();
|
|
1831
1831
|
}
|
|
1832
1832
|
tmp_0 = null;
|
|
1833
1833
|
} else {
|
|
1834
1834
|
var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
|
|
1835
1835
|
var tmp_1;
|
|
1836
|
-
if (compare(segment.
|
|
1837
|
-
var tmp0_1 = segment.
|
|
1836
|
+
if (compare(segment.i13_1, id) > 0) {
|
|
1837
|
+
var tmp0_1 = segment.i13_1;
|
|
1838
1838
|
// Inline function 'kotlin.Long.times' call
|
|
1839
1839
|
var other_0 = get_SEGMENT_SIZE();
|
|
1840
1840
|
var tmp$ret$7 = multiply(tmp0_1, fromInt(other_0));
|
|
1841
1841
|
updateSendersCounterIfLower($this, tmp$ret$7);
|
|
1842
|
-
var tmp0_2 = segment.
|
|
1842
|
+
var tmp0_2 = segment.i13_1;
|
|
1843
1843
|
// Inline function 'kotlin.Long.times' call
|
|
1844
1844
|
var other_1 = get_SEGMENT_SIZE();
|
|
1845
1845
|
var tmp$ret$8 = multiply(tmp0_2, fromInt(other_1));
|
|
1846
|
-
if (compare(tmp$ret$8, $this.
|
|
1847
|
-
segment.
|
|
1846
|
+
if (compare(tmp$ret$8, $this.m1c()) < 0) {
|
|
1847
|
+
segment.d1c();
|
|
1848
1848
|
}
|
|
1849
1849
|
tmp_1 = null;
|
|
1850
1850
|
} else {
|
|
@@ -1856,7 +1856,7 @@ function findSegmentSend($this, id, startFrom) {
|
|
|
1856
1856
|
return tmp_0;
|
|
1857
1857
|
}
|
|
1858
1858
|
function findSegmentReceive($this, id, startFrom) {
|
|
1859
|
-
var tmp0 = $this.
|
|
1859
|
+
var tmp0 = $this.m1b_1;
|
|
1860
1860
|
var tmp6 = createSegmentFunction();
|
|
1861
1861
|
var tmp$ret$0;
|
|
1862
1862
|
$l$block_2: {
|
|
@@ -1875,22 +1875,22 @@ function findSegmentReceive($this, id, startFrom) {
|
|
|
1875
1875
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1876
1876
|
while (true) {
|
|
1877
1877
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
1878
|
-
if (compare(cur.
|
|
1878
|
+
if (compare(cur.i13_1, tmp2.i13_1) >= 0) {
|
|
1879
1879
|
tmp$ret$1 = true;
|
|
1880
1880
|
break $l$block_1;
|
|
1881
1881
|
}
|
|
1882
|
-
if (!tmp2.
|
|
1882
|
+
if (!tmp2.v1b()) {
|
|
1883
1883
|
tmp$ret$1 = false;
|
|
1884
1884
|
break $l$block_1;
|
|
1885
1885
|
}
|
|
1886
1886
|
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
1887
|
-
if (cur.
|
|
1887
|
+
if (cur.w1b()) {
|
|
1888
1888
|
cur.n6();
|
|
1889
1889
|
}
|
|
1890
1890
|
tmp$ret$1 = true;
|
|
1891
1891
|
break $l$block_1;
|
|
1892
1892
|
}
|
|
1893
|
-
if (tmp2.
|
|
1893
|
+
if (tmp2.w1b()) {
|
|
1894
1894
|
tmp2.n6();
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
@@ -1909,12 +1909,12 @@ function findSegmentReceive($this, id, startFrom) {
|
|
|
1909
1909
|
var tmp_0;
|
|
1910
1910
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
|
|
1911
1911
|
completeCloseOrCancel($this);
|
|
1912
|
-
var tmp0_0 = startFrom.
|
|
1912
|
+
var tmp0_0 = startFrom.i13_1;
|
|
1913
1913
|
// Inline function 'kotlin.Long.times' call
|
|
1914
1914
|
var other = get_SEGMENT_SIZE();
|
|
1915
1915
|
var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
|
|
1916
|
-
if (compare(tmp$ret$6, $this.
|
|
1917
|
-
startFrom.
|
|
1916
|
+
if (compare(tmp$ret$6, $this.j1c()) < 0) {
|
|
1917
|
+
startFrom.d1c();
|
|
1918
1918
|
}
|
|
1919
1919
|
tmp_0 = null;
|
|
1920
1920
|
} else {
|
|
@@ -1930,43 +1930,43 @@ function findSegmentReceive($this, id, startFrom) {
|
|
|
1930
1930
|
tmp_1 = false;
|
|
1931
1931
|
}
|
|
1932
1932
|
if (tmp_1) {
|
|
1933
|
-
var tmp0_2 = $this.
|
|
1933
|
+
var tmp0_2 = $this.n1b_1;
|
|
1934
1934
|
$l$block_5: {
|
|
1935
1935
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
1936
1936
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1937
1937
|
while (true) {
|
|
1938
1938
|
var cur_0 = tmp0_2.kotlinx$atomicfu$value;
|
|
1939
|
-
if (compare(cur_0.
|
|
1939
|
+
if (compare(cur_0.i13_1, segment.i13_1) >= 0) {
|
|
1940
1940
|
break $l$block_5;
|
|
1941
1941
|
}
|
|
1942
|
-
if (!segment.
|
|
1942
|
+
if (!segment.v1b()) {
|
|
1943
1943
|
break $l$block_5;
|
|
1944
1944
|
}
|
|
1945
1945
|
if (tmp0_2.atomicfu$compareAndSet(cur_0, segment)) {
|
|
1946
|
-
if (cur_0.
|
|
1946
|
+
if (cur_0.w1b()) {
|
|
1947
1947
|
cur_0.n6();
|
|
1948
1948
|
}
|
|
1949
1949
|
break $l$block_5;
|
|
1950
1950
|
}
|
|
1951
|
-
if (segment.
|
|
1951
|
+
if (segment.w1b()) {
|
|
1952
1952
|
segment.n6();
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
1957
|
var tmp_2;
|
|
1958
|
-
if (compare(segment.
|
|
1959
|
-
var tmp0_3 = segment.
|
|
1958
|
+
if (compare(segment.i13_1, id) > 0) {
|
|
1959
|
+
var tmp0_3 = segment.i13_1;
|
|
1960
1960
|
// Inline function 'kotlin.Long.times' call
|
|
1961
1961
|
var other_1 = get_SEGMENT_SIZE();
|
|
1962
1962
|
var tmp$ret$11 = multiply(tmp0_3, fromInt(other_1));
|
|
1963
1963
|
updateReceiversCounterIfLower($this, tmp$ret$11);
|
|
1964
|
-
var tmp0_4 = segment.
|
|
1964
|
+
var tmp0_4 = segment.i13_1;
|
|
1965
1965
|
// Inline function 'kotlin.Long.times' call
|
|
1966
1966
|
var other_2 = get_SEGMENT_SIZE();
|
|
1967
1967
|
var tmp$ret$12 = multiply(tmp0_4, fromInt(other_2));
|
|
1968
|
-
if (compare(tmp$ret$12, $this.
|
|
1969
|
-
segment.
|
|
1968
|
+
if (compare(tmp$ret$12, $this.j1c()) < 0) {
|
|
1969
|
+
segment.d1c();
|
|
1970
1970
|
}
|
|
1971
1971
|
tmp_2 = null;
|
|
1972
1972
|
} else {
|
|
@@ -1978,7 +1978,7 @@ function findSegmentReceive($this, id, startFrom) {
|
|
|
1978
1978
|
return tmp_0;
|
|
1979
1979
|
}
|
|
1980
1980
|
function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
|
|
1981
|
-
var tmp0 = $this.
|
|
1981
|
+
var tmp0 = $this.n1b_1;
|
|
1982
1982
|
var tmp6 = createSegmentFunction();
|
|
1983
1983
|
var tmp$ret$0;
|
|
1984
1984
|
$l$block_2: {
|
|
@@ -1997,22 +1997,22 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
|
|
|
1997
1997
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1998
1998
|
while (true) {
|
|
1999
1999
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
2000
|
-
if (compare(cur.
|
|
2000
|
+
if (compare(cur.i13_1, tmp2.i13_1) >= 0) {
|
|
2001
2001
|
tmp$ret$1 = true;
|
|
2002
2002
|
break $l$block_1;
|
|
2003
2003
|
}
|
|
2004
|
-
if (!tmp2.
|
|
2004
|
+
if (!tmp2.v1b()) {
|
|
2005
2005
|
tmp$ret$1 = false;
|
|
2006
2006
|
break $l$block_1;
|
|
2007
2007
|
}
|
|
2008
2008
|
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
2009
|
-
if (cur.
|
|
2009
|
+
if (cur.w1b()) {
|
|
2010
2010
|
cur.n6();
|
|
2011
2011
|
}
|
|
2012
2012
|
tmp$ret$1 = true;
|
|
2013
2013
|
break $l$block_1;
|
|
2014
2014
|
}
|
|
2015
|
-
if (tmp2.
|
|
2015
|
+
if (tmp2.w1b()) {
|
|
2016
2016
|
tmp2.n6();
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
@@ -2037,15 +2037,15 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
|
|
|
2037
2037
|
} else {
|
|
2038
2038
|
var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
|
|
2039
2039
|
var tmp_1;
|
|
2040
|
-
if (compare(segment.
|
|
2040
|
+
if (compare(segment.i13_1, id) > 0) {
|
|
2041
2041
|
// Inline function 'kotlin.Long.plus' call
|
|
2042
2042
|
var tmp_2 = add(currentBufferEndCounter, fromInt(1));
|
|
2043
|
-
var tmp0_0 = segment.
|
|
2043
|
+
var tmp0_0 = segment.i13_1;
|
|
2044
2044
|
// Inline function 'kotlin.Long.times' call
|
|
2045
2045
|
var other = get_SEGMENT_SIZE();
|
|
2046
2046
|
var tmp$ret$7 = multiply(tmp0_0, fromInt(other));
|
|
2047
|
-
if ($this.
|
|
2048
|
-
var tmp0_1 = segment.
|
|
2047
|
+
if ($this.j1b_1.atomicfu$compareAndSet(tmp_2, tmp$ret$7)) {
|
|
2048
|
+
var tmp0_1 = segment.i13_1;
|
|
2049
2049
|
// Inline function 'kotlin.Long.times' call
|
|
2050
2050
|
var other_0 = get_SEGMENT_SIZE();
|
|
2051
2051
|
var tmp$ret$8 = multiply(tmp0_1, fromInt(other_0));
|
|
@@ -2064,8 +2064,8 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
|
|
|
2064
2064
|
}
|
|
2065
2065
|
function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
|
|
2066
2066
|
var segment = startFrom;
|
|
2067
|
-
$l$loop: while (compare(segment.
|
|
2068
|
-
var tmp0_elvis_lhs = segment.
|
|
2067
|
+
$l$loop: while (compare(segment.i13_1, id) < 0) {
|
|
2068
|
+
var tmp0_elvis_lhs = segment.z1b();
|
|
2069
2069
|
var tmp;
|
|
2070
2070
|
if (tmp0_elvis_lhs == null) {
|
|
2071
2071
|
break $l$loop;
|
|
@@ -2075,8 +2075,8 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
|
|
|
2075
2075
|
segment = tmp;
|
|
2076
2076
|
}
|
|
2077
2077
|
while (true) {
|
|
2078
|
-
$l$loop_0: while (segment.
|
|
2079
|
-
var tmp1_elvis_lhs = segment.
|
|
2078
|
+
$l$loop_0: while (segment.u1b()) {
|
|
2079
|
+
var tmp1_elvis_lhs = segment.z1b();
|
|
2080
2080
|
var tmp_0;
|
|
2081
2081
|
if (tmp1_elvis_lhs == null) {
|
|
2082
2082
|
break $l$loop_0;
|
|
@@ -2085,7 +2085,7 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
segment = tmp_0;
|
|
2087
2087
|
}
|
|
2088
|
-
var tmp0 = $this.
|
|
2088
|
+
var tmp0 = $this.n1b_1;
|
|
2089
2089
|
var tmp2 = segment;
|
|
2090
2090
|
var tmp$ret$0;
|
|
2091
2091
|
$l$block_1: {
|
|
@@ -2094,22 +2094,22 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
|
|
|
2094
2094
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
2095
2095
|
while (true) {
|
|
2096
2096
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
2097
|
-
if (compare(cur.
|
|
2097
|
+
if (compare(cur.i13_1, tmp2.i13_1) >= 0) {
|
|
2098
2098
|
tmp$ret$0 = true;
|
|
2099
2099
|
break $l$block_1;
|
|
2100
2100
|
}
|
|
2101
|
-
if (!tmp2.
|
|
2101
|
+
if (!tmp2.v1b()) {
|
|
2102
2102
|
tmp$ret$0 = false;
|
|
2103
2103
|
break $l$block_1;
|
|
2104
2104
|
}
|
|
2105
2105
|
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
2106
|
-
if (cur.
|
|
2106
|
+
if (cur.w1b()) {
|
|
2107
2107
|
cur.n6();
|
|
2108
2108
|
}
|
|
2109
2109
|
tmp$ret$0 = true;
|
|
2110
2110
|
break $l$block_1;
|
|
2111
2111
|
}
|
|
2112
|
-
if (tmp2.
|
|
2112
|
+
if (tmp2.w1b()) {
|
|
2113
2113
|
tmp2.n6();
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
@@ -2122,7 +2122,7 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
|
|
|
2122
2122
|
function updateSendersCounterIfLower($this, value) {
|
|
2123
2123
|
var tmp$ret$0;
|
|
2124
2124
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
2125
|
-
var this_0 = $this.
|
|
2125
|
+
var this_0 = $this.h1b_1;
|
|
2126
2126
|
while (true) {
|
|
2127
2127
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2128
2128
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
@@ -2132,7 +2132,7 @@ function updateSendersCounterIfLower($this, value) {
|
|
|
2132
2132
|
// Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
|
|
2133
2133
|
var tmp$ret$3 = convertToInt(shiftRight(cur, 60));
|
|
2134
2134
|
var update = constructSendersAndCloseStatus(curCounter, tmp$ret$3);
|
|
2135
|
-
if ($this.
|
|
2135
|
+
if ($this.h1b_1.atomicfu$compareAndSet(cur, update))
|
|
2136
2136
|
return Unit_instance;
|
|
2137
2137
|
}
|
|
2138
2138
|
return tmp$ret$0;
|
|
@@ -2140,12 +2140,12 @@ function updateSendersCounterIfLower($this, value) {
|
|
|
2140
2140
|
function updateReceiversCounterIfLower($this, value) {
|
|
2141
2141
|
var tmp$ret$0;
|
|
2142
2142
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
2143
|
-
var this_0 = $this.
|
|
2143
|
+
var this_0 = $this.i1b_1;
|
|
2144
2144
|
while (true) {
|
|
2145
2145
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2146
2146
|
if (compare(cur, value) >= 0)
|
|
2147
2147
|
return Unit_instance;
|
|
2148
|
-
if ($this.
|
|
2148
|
+
if ($this.i1b_1.atomicfu$compareAndSet(cur, value))
|
|
2149
2149
|
return Unit_instance;
|
|
2150
2150
|
}
|
|
2151
2151
|
return tmp$ret$0;
|
|
@@ -2154,7 +2154,7 @@ function bindCancellationFunResult($this, $receiver) {
|
|
|
2154
2154
|
return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
|
|
2155
2155
|
}
|
|
2156
2156
|
function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
|
|
2157
|
-
callUndeliveredElement(ensureNotNull($this.
|
|
2157
|
+
callUndeliveredElement(ensureNotNull($this.g1b_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
|
|
2158
2158
|
}
|
|
2159
2159
|
function bindCancellationFun($this, $receiver, element) {
|
|
2160
2160
|
return BufferedChannel$bindCancellationFun$lambda($receiver, element);
|
|
@@ -2163,13 +2163,13 @@ function bindCancellationFun_0($this, $receiver) {
|
|
|
2163
2163
|
return BufferedChannel$onCancellationImplDoNotCall$ref($this);
|
|
2164
2164
|
}
|
|
2165
2165
|
function onCancellationImplDoNotCall($this, cause, element, context) {
|
|
2166
|
-
callUndeliveredElement(ensureNotNull($this.
|
|
2166
|
+
callUndeliveredElement(ensureNotNull($this.g1b_1), element, context);
|
|
2167
2167
|
}
|
|
2168
2168
|
function access$_get_sendersAndCloseStatus__tvw29s($this) {
|
|
2169
|
-
return $this.
|
|
2169
|
+
return $this.h1b_1;
|
|
2170
2170
|
}
|
|
2171
2171
|
function access$_get_sendSegment__111kgq($this) {
|
|
2172
|
-
return $this.
|
|
2172
|
+
return $this.l1b_1;
|
|
2173
2173
|
}
|
|
2174
2174
|
function access$prepareSenderForSuspension($this, $receiver, segment, index) {
|
|
2175
2175
|
return prepareSenderForSuspension($this, $receiver, segment, index);
|
|
@@ -2187,7 +2187,7 @@ function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lamb
|
|
|
2187
2187
|
return (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) => {
|
|
2188
2188
|
var tmp;
|
|
2189
2189
|
if (!($element === get_CHANNEL_CLOSED())) {
|
|
2190
|
-
callUndeliveredElement(this$0.
|
|
2190
|
+
callUndeliveredElement(this$0.g1b_1, $element, $select.wc());
|
|
2191
2191
|
tmp = Unit_instance;
|
|
2192
2192
|
}
|
|
2193
2193
|
return Unit_instance;
|
|
@@ -2199,7 +2199,7 @@ function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lamb
|
|
|
2199
2199
|
function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(p0) {
|
|
2200
2200
|
return constructCallableReference((p0_0, p1, p2) => {
|
|
2201
2201
|
var tmp0 = p0;
|
|
2202
|
-
onCancellationChannelResultImplDoNotCall(tmp0, p0_0, p1.
|
|
2202
|
+
onCancellationChannelResultImplDoNotCall(tmp0, p0_0, p1.n1d_1, p2);
|
|
2203
2203
|
return Unit_instance;
|
|
2204
2204
|
}, 3, 0, 1, 'onCancellationChannelResultImplDoNotCall', [p0]);
|
|
2205
2205
|
}
|
|
@@ -2222,20 +2222,20 @@ function BufferedChannel() {
|
|
|
2222
2222
|
class $ {
|
|
2223
2223
|
constructor(capacity, onUndeliveredElement) {
|
|
2224
2224
|
onUndeliveredElement = onUndeliveredElement === VOID ? null : onUndeliveredElement;
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2225
|
+
this.f1b_1 = capacity;
|
|
2226
|
+
this.g1b_1 = onUndeliveredElement;
|
|
2227
2227
|
// Inline function 'kotlin.require' call
|
|
2228
|
-
if (!(this.
|
|
2229
|
-
var message = 'Invalid channel capacity: ' + this.
|
|
2230
|
-
throw IllegalArgumentException().
|
|
2228
|
+
if (!(this.f1b_1 >= 0)) {
|
|
2229
|
+
var message = 'Invalid channel capacity: ' + this.f1b_1 + ', should be >=0';
|
|
2230
|
+
throw IllegalArgumentException().n2(toString_0(message));
|
|
2231
2231
|
}
|
|
2232
|
-
this.g1b_1 = atomic$long$1(new (Long())(0, 0));
|
|
2233
2232
|
this.h1b_1 = atomic$long$1(new (Long())(0, 0));
|
|
2234
|
-
this.i1b_1 = atomic$long$1(
|
|
2235
|
-
this.j1b_1 = atomic$long$1(
|
|
2233
|
+
this.i1b_1 = atomic$long$1(new (Long())(0, 0));
|
|
2234
|
+
this.j1b_1 = atomic$long$1(initialBufferEnd(this.f1b_1));
|
|
2235
|
+
this.k1b_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
|
|
2236
2236
|
var firstSegment = new (ChannelSegment())(new (Long())(0, 0), null, this, 3);
|
|
2237
|
-
this.k1b_1 = atomic$ref$1(firstSegment);
|
|
2238
2237
|
this.l1b_1 = atomic$ref$1(firstSegment);
|
|
2238
|
+
this.m1b_1 = atomic$ref$1(firstSegment);
|
|
2239
2239
|
var tmp = this;
|
|
2240
2240
|
var tmp_0;
|
|
2241
2241
|
if (_get_isRendezvousOrUnlimited__3mdufi(this)) {
|
|
@@ -2244,28 +2244,28 @@ function BufferedChannel() {
|
|
|
2244
2244
|
} else {
|
|
2245
2245
|
tmp_0 = firstSegment;
|
|
2246
2246
|
}
|
|
2247
|
-
tmp.
|
|
2247
|
+
tmp.n1b_1 = atomic$ref$1(tmp_0);
|
|
2248
2248
|
var tmp_2 = this;
|
|
2249
2249
|
var tmp_3;
|
|
2250
|
-
if (this.
|
|
2250
|
+
if (this.g1b_1 == null) {
|
|
2251
2251
|
tmp_3 = null;
|
|
2252
2252
|
} else {
|
|
2253
2253
|
// Inline function 'kotlin.let' call
|
|
2254
2254
|
tmp_3 = BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this);
|
|
2255
2255
|
}
|
|
2256
|
-
tmp_2.
|
|
2257
|
-
this.
|
|
2258
|
-
this.
|
|
2256
|
+
tmp_2.o1b_1 = tmp_3;
|
|
2257
|
+
this.p1b_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
|
|
2258
|
+
this.q1b_1 = atomic$ref$1(null);
|
|
2259
2259
|
}
|
|
2260
|
-
|
|
2260
|
+
j1c() {
|
|
2261
2261
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
2262
|
-
var this_0 = this.
|
|
2262
|
+
var this_0 = this.h1b_1.kotlinx$atomicfu$value;
|
|
2263
2263
|
return bitwiseAnd(this_0, new (Long())(-1, 268435455));
|
|
2264
2264
|
}
|
|
2265
|
-
|
|
2266
|
-
return this.
|
|
2265
|
+
m1c() {
|
|
2266
|
+
return this.i1b_1.kotlinx$atomicfu$value;
|
|
2267
2267
|
}
|
|
2268
|
-
*
|
|
2268
|
+
*o1d(element, $completion) {
|
|
2269
2269
|
$l$block_5: {
|
|
2270
2270
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
|
|
2271
2271
|
var segment = access$_get_sendSegment__111kgq(this).kotlinx$atomicfu$value;
|
|
@@ -2281,7 +2281,7 @@ function BufferedChannel() {
|
|
|
2281
2281
|
var other_0 = get_SEGMENT_SIZE();
|
|
2282
2282
|
var tmp$ret$3 = modulo(s, fromInt(other_0));
|
|
2283
2283
|
var i = convertToInt(tmp$ret$3);
|
|
2284
|
-
if (!equalsLong(segment.
|
|
2284
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
2285
2285
|
var tmp0_elvis_lhs = access$findSegmentSend(this, id, segment);
|
|
2286
2286
|
var tmp;
|
|
2287
2287
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2299,13 +2299,13 @@ function BufferedChannel() {
|
|
|
2299
2299
|
}
|
|
2300
2300
|
switch (access$updateCellSend(this, segment, i, element, s, null, closed)) {
|
|
2301
2301
|
case 0:
|
|
2302
|
-
segment.
|
|
2302
|
+
segment.d1c();
|
|
2303
2303
|
break $l$block_5;
|
|
2304
2304
|
case 1:
|
|
2305
2305
|
break $l$block_5;
|
|
2306
2306
|
case 2:
|
|
2307
2307
|
if (closed) {
|
|
2308
|
-
segment.
|
|
2308
|
+
segment.t1b();
|
|
2309
2309
|
yield* /*#__NOINLINE__*/onClosedSend(this, element, $completion);
|
|
2310
2310
|
break $l$block_5;
|
|
2311
2311
|
}
|
|
@@ -2321,14 +2321,14 @@ function BufferedChannel() {
|
|
|
2321
2321
|
|
|
2322
2322
|
break $l$block_5;
|
|
2323
2323
|
case 4:
|
|
2324
|
-
if (compare(s, this.
|
|
2325
|
-
segment.
|
|
2324
|
+
if (compare(s, this.m1c()) < 0) {
|
|
2325
|
+
segment.d1c();
|
|
2326
2326
|
}
|
|
2327
2327
|
|
|
2328
2328
|
yield* /*#__NOINLINE__*/onClosedSend(this, element, $completion);
|
|
2329
2329
|
break $l$block_5;
|
|
2330
2330
|
case 5:
|
|
2331
|
-
segment.
|
|
2331
|
+
segment.d1c();
|
|
2332
2332
|
continue $l$loop_0;
|
|
2333
2333
|
case 3:
|
|
2334
2334
|
var segm = segment;
|
|
@@ -2339,9 +2339,9 @@ function BufferedChannel() {
|
|
|
2339
2339
|
}
|
|
2340
2340
|
return Unit_instance;
|
|
2341
2341
|
}
|
|
2342
|
-
|
|
2343
|
-
if (shouldSendSuspend0(this, this.
|
|
2344
|
-
return Companion_getInstance().
|
|
2342
|
+
p1d(element) {
|
|
2343
|
+
if (shouldSendSuspend0(this, this.h1b_1.kotlinx$atomicfu$value))
|
|
2344
|
+
return Companion_getInstance().q1d();
|
|
2345
2345
|
var tmp4 = get_INTERRUPTED_SEND();
|
|
2346
2346
|
var tmp$ret$0;
|
|
2347
2347
|
$l$block_5: {
|
|
@@ -2359,13 +2359,13 @@ function BufferedChannel() {
|
|
|
2359
2359
|
var other_0 = get_SEGMENT_SIZE();
|
|
2360
2360
|
var tmp$ret$3 = modulo(s, fromInt(other_0));
|
|
2361
2361
|
var i = convertToInt(tmp$ret$3);
|
|
2362
|
-
if (!equalsLong(segment.
|
|
2362
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
2363
2363
|
var tmp0_elvis_lhs = access$findSegmentSend(this, id, segment);
|
|
2364
2364
|
var tmp;
|
|
2365
2365
|
if (tmp0_elvis_lhs == null) {
|
|
2366
2366
|
var tmp_0;
|
|
2367
2367
|
if (closed) {
|
|
2368
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2368
|
+
tmp$ret$0 = Companion_getInstance().k1d(this.l1c());
|
|
2369
2369
|
break $l$block_5;
|
|
2370
2370
|
} else {
|
|
2371
2371
|
continue $l$loop_0;
|
|
@@ -2377,16 +2377,16 @@ function BufferedChannel() {
|
|
|
2377
2377
|
}
|
|
2378
2378
|
switch (access$updateCellSend(this, segment, i, element, s, tmp4, closed)) {
|
|
2379
2379
|
case 0:
|
|
2380
|
-
segment.
|
|
2381
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2380
|
+
segment.d1c();
|
|
2381
|
+
tmp$ret$0 = Companion_getInstance().r1c(Unit_instance);
|
|
2382
2382
|
break $l$block_5;
|
|
2383
2383
|
case 1:
|
|
2384
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2384
|
+
tmp$ret$0 = Companion_getInstance().r1c(Unit_instance);
|
|
2385
2385
|
break $l$block_5;
|
|
2386
2386
|
case 2:
|
|
2387
2387
|
if (closed) {
|
|
2388
|
-
segment.
|
|
2389
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2388
|
+
segment.t1b();
|
|
2389
|
+
tmp$ret$0 = Companion_getInstance().k1d(this.l1c());
|
|
2390
2390
|
break $l$block_5;
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
@@ -2397,18 +2397,18 @@ function BufferedChannel() {
|
|
|
2397
2397
|
access$prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
|
-
segment.
|
|
2401
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2400
|
+
segment.t1b();
|
|
2401
|
+
tmp$ret$0 = Companion_getInstance().q1d();
|
|
2402
2402
|
break $l$block_5;
|
|
2403
2403
|
case 4:
|
|
2404
|
-
if (compare(s, this.
|
|
2405
|
-
segment.
|
|
2404
|
+
if (compare(s, this.m1c()) < 0) {
|
|
2405
|
+
segment.d1c();
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
2408
|
-
tmp$ret$0 = Companion_getInstance().
|
|
2408
|
+
tmp$ret$0 = Companion_getInstance().k1d(this.l1c());
|
|
2409
2409
|
break $l$block_5;
|
|
2410
2410
|
case 5:
|
|
2411
|
-
segment.
|
|
2411
|
+
segment.d1c();
|
|
2412
2412
|
continue $l$loop_0;
|
|
2413
2413
|
case 3:
|
|
2414
2414
|
// Inline function 'kotlin.error' call
|
|
@@ -2420,20 +2420,20 @@ function BufferedChannel() {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
return tmp$ret$0;
|
|
2422
2422
|
}
|
|
2423
|
-
|
|
2423
|
+
u1c() {
|
|
2424
2424
|
}
|
|
2425
|
-
|
|
2425
|
+
n1c() {
|
|
2426
2426
|
}
|
|
2427
|
-
*
|
|
2427
|
+
*r1d($completion) {
|
|
2428
2428
|
var tmp$ret$0;
|
|
2429
2429
|
$l$block_0: {
|
|
2430
2430
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
|
|
2431
|
-
var segment = this.
|
|
2431
|
+
var segment = this.m1b_1.kotlinx$atomicfu$value;
|
|
2432
2432
|
$l$loop_0: while (true) {
|
|
2433
|
-
if (this.
|
|
2433
|
+
if (this.k1c()) {
|
|
2434
2434
|
throw recoverStackTrace(_get_receiveException__foorc1(this));
|
|
2435
2435
|
}
|
|
2436
|
-
var r = this.
|
|
2436
|
+
var r = this.i1b_1.atomicfu$getAndIncrement$long();
|
|
2437
2437
|
// Inline function 'kotlin.Long.div' call
|
|
2438
2438
|
var other = get_SEGMENT_SIZE();
|
|
2439
2439
|
var id = divide(r, fromInt(other));
|
|
@@ -2441,7 +2441,7 @@ function BufferedChannel() {
|
|
|
2441
2441
|
var other_0 = get_SEGMENT_SIZE();
|
|
2442
2442
|
var tmp$ret$3 = modulo(r, fromInt(other_0));
|
|
2443
2443
|
var i = convertToInt(tmp$ret$3);
|
|
2444
|
-
if (!equalsLong(segment.
|
|
2444
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
2445
2445
|
var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
|
|
2446
2446
|
var tmp;
|
|
2447
2447
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2464,15 +2464,15 @@ function BufferedChannel() {
|
|
|
2464
2464
|
var message = 'unexpected';
|
|
2465
2465
|
throw IllegalStateException().o(toString_0(message));
|
|
2466
2466
|
} else if (updCellResult === get_FAILED()) {
|
|
2467
|
-
if (compare(r, this.
|
|
2468
|
-
segment.
|
|
2467
|
+
if (compare(r, this.j1c()) < 0) {
|
|
2468
|
+
segment.d1c();
|
|
2469
2469
|
}
|
|
2470
2470
|
continue $l$loop_0;
|
|
2471
2471
|
} else if (updCellResult === get_SUSPEND_NO_WAITER()) {
|
|
2472
2472
|
var segm = segment;
|
|
2473
2473
|
tmp_0 = yield* /*#__NOINLINE__*/receiveOnNoWaiterSuspend(this, segm, i, r, $completion);
|
|
2474
2474
|
} else {
|
|
2475
|
-
segment.
|
|
2475
|
+
segment.d1c();
|
|
2476
2476
|
return updCellResult;
|
|
2477
2477
|
}
|
|
2478
2478
|
tmp$ret$0 = tmp_0;
|
|
@@ -2481,13 +2481,13 @@ function BufferedChannel() {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
return tmp$ret$0;
|
|
2483
2483
|
}
|
|
2484
|
-
|
|
2484
|
+
i1d(globalCellIndex) {
|
|
2485
2485
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
2486
|
-
var segment = this.
|
|
2486
|
+
var segment = this.m1b_1.kotlinx$atomicfu$value;
|
|
2487
2487
|
$l$loop_0: while (true) {
|
|
2488
|
-
var r = this.
|
|
2488
|
+
var r = this.i1b_1.kotlinx$atomicfu$value;
|
|
2489
2489
|
// Inline function 'kotlin.Long.plus' call
|
|
2490
|
-
var other = this.
|
|
2490
|
+
var other = this.f1b_1;
|
|
2491
2491
|
var tmp0 = add(r, fromInt(other));
|
|
2492
2492
|
// Inline function 'kotlin.math.max' call
|
|
2493
2493
|
var b = _get_bufferEndCounter__2d4hee(this);
|
|
@@ -2496,7 +2496,7 @@ function BufferedChannel() {
|
|
|
2496
2496
|
return Unit_instance;
|
|
2497
2497
|
// Inline function 'kotlin.Long.plus' call
|
|
2498
2498
|
var tmp$ret$3 = add(r, fromInt(1));
|
|
2499
|
-
if (!this.
|
|
2499
|
+
if (!this.i1b_1.atomicfu$compareAndSet(r, tmp$ret$3))
|
|
2500
2500
|
continue $l$loop_0;
|
|
2501
2501
|
// Inline function 'kotlin.Long.div' call
|
|
2502
2502
|
var other_0 = get_SEGMENT_SIZE();
|
|
@@ -2505,7 +2505,7 @@ function BufferedChannel() {
|
|
|
2505
2505
|
var other_1 = get_SEGMENT_SIZE();
|
|
2506
2506
|
var tmp$ret$5 = modulo(r, fromInt(other_1));
|
|
2507
2507
|
var i = convertToInt(tmp$ret$5);
|
|
2508
|
-
if (!equalsLong(segment.
|
|
2508
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
2509
2509
|
var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
|
|
2510
2510
|
var tmp;
|
|
2511
2511
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2517,12 +2517,12 @@ function BufferedChannel() {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
var updCellResult = updateCellReceive(this, segment, i, r, null);
|
|
2519
2519
|
if (updCellResult === get_FAILED()) {
|
|
2520
|
-
if (compare(r, this.
|
|
2521
|
-
segment.
|
|
2520
|
+
if (compare(r, this.j1c()) < 0) {
|
|
2521
|
+
segment.d1c();
|
|
2522
2522
|
}
|
|
2523
2523
|
} else {
|
|
2524
|
-
segment.
|
|
2525
|
-
var tmp1_safe_receiver = this.
|
|
2524
|
+
segment.d1c();
|
|
2525
|
+
var tmp1_safe_receiver = this.g1b_1;
|
|
2526
2526
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp1_safe_receiver, updCellResult);
|
|
2527
2527
|
if (tmp2_safe_receiver == null)
|
|
2528
2528
|
null;
|
|
@@ -2533,7 +2533,7 @@ function BufferedChannel() {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
2535
2535
|
}
|
|
2536
|
-
|
|
2536
|
+
s1b(globalIndex) {
|
|
2537
2537
|
if (_get_isRendezvousOrUnlimited__3mdufi(this))
|
|
2538
2538
|
return Unit_instance;
|
|
2539
2539
|
while (compare(_get_bufferEndCounter__2d4hee(this), globalIndex) <= 0) {
|
|
@@ -2547,13 +2547,13 @@ function BufferedChannel() {
|
|
|
2547
2547
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2548
2548
|
var b = _get_bufferEndCounter__2d4hee(this);
|
|
2549
2549
|
// Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
|
|
2550
|
-
var this_0 = this.
|
|
2550
|
+
var this_0 = this.k1b_1.kotlinx$atomicfu$value;
|
|
2551
2551
|
var ebCompleted = bitwiseAnd(this_0, new (Long())(-1, 1073741823));
|
|
2552
2552
|
if (equalsLong(b, ebCompleted) && equalsLong(b, _get_bufferEndCounter__2d4hee(this)))
|
|
2553
2553
|
return Unit_instance;
|
|
2554
2554
|
}
|
|
2555
2555
|
while (inductionVariable < times);
|
|
2556
|
-
var tmp0 = this.
|
|
2556
|
+
var tmp0 = this.k1b_1;
|
|
2557
2557
|
$l$block: {
|
|
2558
2558
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
2559
2559
|
while (true) {
|
|
@@ -2568,13 +2568,13 @@ function BufferedChannel() {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
while (true) {
|
|
2570
2570
|
var b_0 = _get_bufferEndCounter__2d4hee(this);
|
|
2571
|
-
var ebCompletedAndBit = this.
|
|
2571
|
+
var ebCompletedAndBit = this.k1b_1.kotlinx$atomicfu$value;
|
|
2572
2572
|
// Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
|
|
2573
2573
|
var ebCompleted_0 = bitwiseAnd(ebCompletedAndBit, new (Long())(-1, 1073741823));
|
|
2574
2574
|
// Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
|
|
2575
2575
|
var pauseExpandBuffers = !equalsLong(bitwiseAnd(ebCompletedAndBit, new (Long())(0, 1073741824)), new (Long())(0, 0));
|
|
2576
2576
|
if (equalsLong(b_0, ebCompleted_0) && equalsLong(b_0, _get_bufferEndCounter__2d4hee(this))) {
|
|
2577
|
-
var tmp0_0 = this.
|
|
2577
|
+
var tmp0_0 = this.k1b_1;
|
|
2578
2578
|
$l$block_0: {
|
|
2579
2579
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
2580
2580
|
while (true) {
|
|
@@ -2590,37 +2590,37 @@ function BufferedChannel() {
|
|
|
2590
2590
|
return Unit_instance;
|
|
2591
2591
|
}
|
|
2592
2592
|
if (!pauseExpandBuffers) {
|
|
2593
|
-
this.
|
|
2593
|
+
this.k1b_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
2597
|
l1() {
|
|
2598
2598
|
return new (BufferedChannelIterator())(this);
|
|
2599
2599
|
}
|
|
2600
|
-
|
|
2601
|
-
var tmp = this.
|
|
2600
|
+
i1c() {
|
|
2601
|
+
var tmp = this.p1b_1.kotlinx$atomicfu$value;
|
|
2602
2602
|
return (tmp == null ? true : tmp instanceof Error) ? tmp : THROW_CCE();
|
|
2603
2603
|
}
|
|
2604
|
-
|
|
2605
|
-
var tmp0_elvis_lhs = this.
|
|
2606
|
-
return tmp0_elvis_lhs == null ? ClosedSendChannelException().
|
|
2604
|
+
l1c() {
|
|
2605
|
+
var tmp0_elvis_lhs = this.i1c();
|
|
2606
|
+
return tmp0_elvis_lhs == null ? ClosedSendChannelException().w1d('Channel was closed') : tmp0_elvis_lhs;
|
|
2607
2607
|
}
|
|
2608
|
-
|
|
2608
|
+
x1d() {
|
|
2609
2609
|
}
|
|
2610
|
-
|
|
2611
|
-
return this.
|
|
2610
|
+
y1d(cause) {
|
|
2611
|
+
return this.z1d(cause, false);
|
|
2612
2612
|
}
|
|
2613
|
-
|
|
2614
|
-
this.
|
|
2613
|
+
hz(cause) {
|
|
2614
|
+
this.b1e(cause);
|
|
2615
2615
|
}
|
|
2616
|
-
|
|
2617
|
-
return this.
|
|
2616
|
+
b1e(cause) {
|
|
2617
|
+
return this.z1d(cause == null ? CancellationException().n('Channel was cancelled') : cause, true);
|
|
2618
2618
|
}
|
|
2619
|
-
|
|
2619
|
+
z1d(cause, cancel) {
|
|
2620
2620
|
if (cancel) {
|
|
2621
2621
|
markCancellationStarted(this);
|
|
2622
2622
|
}
|
|
2623
|
-
var closedByThisOperation = this.
|
|
2623
|
+
var closedByThisOperation = this.p1b_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
|
|
2624
2624
|
if (cancel) {
|
|
2625
2625
|
markCancelled(this);
|
|
2626
2626
|
} else {
|
|
@@ -2628,23 +2628,23 @@ function BufferedChannel() {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
completeCloseOrCancel(this);
|
|
2630
2630
|
// Inline function 'kotlin.also' call
|
|
2631
|
-
this.
|
|
2631
|
+
this.x1d();
|
|
2632
2632
|
if (closedByThisOperation) {
|
|
2633
2633
|
invokeCloseHandler(this);
|
|
2634
2634
|
}
|
|
2635
2635
|
return closedByThisOperation;
|
|
2636
2636
|
}
|
|
2637
|
-
|
|
2638
|
-
if (this.
|
|
2637
|
+
d1e(handler) {
|
|
2638
|
+
if (this.q1b_1.atomicfu$compareAndSet(null, handler)) {
|
|
2639
2639
|
return Unit_instance;
|
|
2640
2640
|
}
|
|
2641
2641
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
2642
|
-
var this_0 = this.
|
|
2642
|
+
var this_0 = this.q1b_1;
|
|
2643
2643
|
while (true) {
|
|
2644
2644
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2645
2645
|
if (cur === get_CLOSE_HANDLER_CLOSED()) {
|
|
2646
|
-
if (this.
|
|
2647
|
-
handler(this.
|
|
2646
|
+
if (this.q1b_1.atomicfu$compareAndSet(get_CLOSE_HANDLER_CLOSED(), get_CLOSE_HANDLER_INVOKED())) {
|
|
2647
|
+
handler(this.i1c());
|
|
2648
2648
|
return Unit_instance;
|
|
2649
2649
|
}
|
|
2650
2650
|
} else if (cur === get_CLOSE_HANDLER_INVOKED()) {
|
|
@@ -2658,31 +2658,31 @@ function BufferedChannel() {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
}
|
|
2660
2660
|
}
|
|
2661
|
-
|
|
2661
|
+
j1d() {
|
|
2662
2662
|
return false;
|
|
2663
2663
|
}
|
|
2664
|
-
|
|
2665
|
-
return _get_isClosedForSend0__kxgf9m(this, this.
|
|
2664
|
+
h1d() {
|
|
2665
|
+
return _get_isClosedForSend0__kxgf9m(this, this.h1b_1.kotlinx$atomicfu$value);
|
|
2666
2666
|
}
|
|
2667
|
-
|
|
2668
|
-
return _get_isClosedForReceive0__f7qknl(this, this.
|
|
2667
|
+
k1c() {
|
|
2668
|
+
return _get_isClosedForReceive0__f7qknl(this, this.h1b_1.kotlinx$atomicfu$value);
|
|
2669
2669
|
}
|
|
2670
|
-
|
|
2670
|
+
l1d() {
|
|
2671
2671
|
$l$loop: while (true) {
|
|
2672
|
-
var segment = this.
|
|
2673
|
-
var r = this.
|
|
2674
|
-
var s = this.
|
|
2672
|
+
var segment = this.m1b_1.kotlinx$atomicfu$value;
|
|
2673
|
+
var r = this.m1c();
|
|
2674
|
+
var s = this.j1c();
|
|
2675
2675
|
if (compare(s, r) <= 0)
|
|
2676
2676
|
return false;
|
|
2677
2677
|
// Inline function 'kotlin.Long.div' call
|
|
2678
2678
|
var other = get_SEGMENT_SIZE();
|
|
2679
2679
|
var id = divide(r, fromInt(other));
|
|
2680
|
-
if (!equalsLong(segment.
|
|
2680
|
+
if (!equalsLong(segment.i13_1, id)) {
|
|
2681
2681
|
var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
|
|
2682
2682
|
var tmp;
|
|
2683
2683
|
if (tmp0_elvis_lhs == null) {
|
|
2684
2684
|
var tmp_0;
|
|
2685
|
-
if (compare(this.
|
|
2685
|
+
if (compare(this.m1b_1.kotlinx$atomicfu$value.i13_1, id) < 0) {
|
|
2686
2686
|
return false;
|
|
2687
2687
|
} else {
|
|
2688
2688
|
continue $l$loop;
|
|
@@ -2692,7 +2692,7 @@ function BufferedChannel() {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
segment = tmp;
|
|
2694
2694
|
}
|
|
2695
|
-
segment.
|
|
2695
|
+
segment.d1c();
|
|
2696
2696
|
// Inline function 'kotlin.Long.rem' call
|
|
2697
2697
|
var other_0 = get_SEGMENT_SIZE();
|
|
2698
2698
|
var tmp$ret$1 = modulo(r, fromInt(other_0));
|
|
@@ -2701,25 +2701,25 @@ function BufferedChannel() {
|
|
|
2701
2701
|
return true;
|
|
2702
2702
|
// Inline function 'kotlin.Long.plus' call
|
|
2703
2703
|
var tmp$ret$2 = add(r, fromInt(1));
|
|
2704
|
-
this.
|
|
2704
|
+
this.i1b_1.atomicfu$compareAndSet(r, tmp$ret$2);
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
2707
|
toString() {
|
|
2708
2708
|
var sb = StringBuilder().h1();
|
|
2709
2709
|
// Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
|
|
2710
|
-
var this_0 = this.
|
|
2710
|
+
var this_0 = this.h1b_1.kotlinx$atomicfu$value;
|
|
2711
2711
|
var tmp0_subject = convertToInt(shiftRight(this_0, 60));
|
|
2712
2712
|
if (tmp0_subject === 2) {
|
|
2713
2713
|
sb.i1('closed,');
|
|
2714
2714
|
} else if (tmp0_subject === 3) {
|
|
2715
2715
|
sb.i1('cancelled,');
|
|
2716
2716
|
}
|
|
2717
|
-
sb.i1('capacity=' + this.
|
|
2717
|
+
sb.i1('capacity=' + this.f1b_1 + ',');
|
|
2718
2718
|
sb.i1('data=[');
|
|
2719
2719
|
// Inline function 'kotlin.collections.filter' call
|
|
2720
|
-
var tmp0 = listOf([this.
|
|
2720
|
+
var tmp0 = listOf([this.m1b_1.kotlinx$atomicfu$value, this.l1b_1.kotlinx$atomicfu$value, this.n1b_1.kotlinx$atomicfu$value]);
|
|
2721
2721
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2722
|
-
var destination = ArrayList().
|
|
2722
|
+
var destination = ArrayList().j2();
|
|
2723
2723
|
var _iterator__ex2g4s = tmp0.l1();
|
|
2724
2724
|
while (_iterator__ex2g4s.m1()) {
|
|
2725
2725
|
var element = _iterator__ex2g4s.n1();
|
|
@@ -2738,10 +2738,10 @@ function BufferedChannel() {
|
|
|
2738
2738
|
tmp$ret$4 = minElem;
|
|
2739
2739
|
break $l$block;
|
|
2740
2740
|
}
|
|
2741
|
-
var minValue = minElem.
|
|
2741
|
+
var minValue = minElem.i13_1;
|
|
2742
2742
|
do {
|
|
2743
2743
|
var e = iterator.n1();
|
|
2744
|
-
var v = e.
|
|
2744
|
+
var v = e.i13_1;
|
|
2745
2745
|
if (compareTo(minValue, v) > 0) {
|
|
2746
2746
|
minElem = e;
|
|
2747
2747
|
minValue = v;
|
|
@@ -2751,8 +2751,8 @@ function BufferedChannel() {
|
|
|
2751
2751
|
tmp$ret$4 = minElem;
|
|
2752
2752
|
}
|
|
2753
2753
|
var firstSegment = tmp$ret$4;
|
|
2754
|
-
var r = this.
|
|
2755
|
-
var s = this.
|
|
2754
|
+
var r = this.m1c();
|
|
2755
|
+
var s = this.j1c();
|
|
2756
2756
|
var segment = firstSegment;
|
|
2757
2757
|
append_elements: while (true) {
|
|
2758
2758
|
var inductionVariable = 0;
|
|
@@ -2761,7 +2761,7 @@ function BufferedChannel() {
|
|
|
2761
2761
|
process_cell: do {
|
|
2762
2762
|
var i = inductionVariable;
|
|
2763
2763
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2764
|
-
var tmp0_0 = segment.
|
|
2764
|
+
var tmp0_0 = segment.i13_1;
|
|
2765
2765
|
// Inline function 'kotlin.Long.times' call
|
|
2766
2766
|
var other = get_SEGMENT_SIZE();
|
|
2767
2767
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -2769,8 +2769,8 @@ function BufferedChannel() {
|
|
|
2769
2769
|
var globalCellIndex = add(this_1, fromInt(i));
|
|
2770
2770
|
if (compare(globalCellIndex, s) >= 0 && compare(globalCellIndex, r) >= 0)
|
|
2771
2771
|
break append_elements;
|
|
2772
|
-
var cellState = segment.
|
|
2773
|
-
var element_0 = segment.
|
|
2772
|
+
var cellState = segment.b1b(i);
|
|
2773
|
+
var element_0 = segment.y1a(i);
|
|
2774
2774
|
var tmp;
|
|
2775
2775
|
if (!(cellState == null) ? isInterface(cellState, CancellableContinuation()) : false) {
|
|
2776
2776
|
tmp = (compare(s, globalCellIndex) <= 0 ? compare(globalCellIndex, r) < 0 : false) ? 'receive' : (compare(r, globalCellIndex) <= 0 ? compare(globalCellIndex, s) < 0 : false) ? 'send' : 'cont';
|
|
@@ -2809,7 +2809,7 @@ function BufferedChannel() {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
}
|
|
2811
2811
|
while (inductionVariable < last_0);
|
|
2812
|
-
var tmp4_elvis_lhs = segment.
|
|
2812
|
+
var tmp4_elvis_lhs = segment.z1b();
|
|
2813
2813
|
var tmp_0;
|
|
2814
2814
|
if (tmp4_elvis_lhs == null) {
|
|
2815
2815
|
break append_elements;
|
|
@@ -2819,15 +2819,15 @@ function BufferedChannel() {
|
|
|
2819
2819
|
segment = tmp_0;
|
|
2820
2820
|
}
|
|
2821
2821
|
if (last(sb) === _Char___init__impl__6a9atx(44)) {
|
|
2822
|
-
sb.
|
|
2822
|
+
sb.fh(sb.a() - 1 | 0);
|
|
2823
2823
|
}
|
|
2824
2824
|
sb.i1(']');
|
|
2825
2825
|
return sb.toString();
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
|
-
protoOf($).
|
|
2829
|
-
protoOf($).
|
|
2830
|
-
initMetadataForClass($, 'BufferedChannel', VOID, VOID, [
|
|
2828
|
+
protoOf($).a1e = close$default;
|
|
2829
|
+
protoOf($).c1e = cancel$default;
|
|
2830
|
+
initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
|
|
2831
2831
|
BufferedChannelClass = $;
|
|
2832
2832
|
}
|
|
2833
2833
|
return BufferedChannelClass;
|
|
@@ -2837,10 +2837,10 @@ function WaiterEB() {
|
|
|
2837
2837
|
if (WaiterEBClass === VOID) {
|
|
2838
2838
|
class $ {
|
|
2839
2839
|
constructor(waiter) {
|
|
2840
|
-
this.
|
|
2840
|
+
this.o1c_1 = waiter;
|
|
2841
2841
|
}
|
|
2842
2842
|
toString() {
|
|
2843
|
-
return 'WaiterEB(' + toString_0(this.
|
|
2843
|
+
return 'WaiterEB(' + toString_0(this.o1c_1) + ')';
|
|
2844
2844
|
}
|
|
2845
2845
|
}
|
|
2846
2846
|
initMetadataForClass($, 'WaiterEB');
|
|
@@ -2872,10 +2872,10 @@ function tryResume0(_this__u8e3s4, value, onCancellation) {
|
|
|
2872
2872
|
onCancellation = onCancellation === VOID ? null : onCancellation;
|
|
2873
2873
|
_init_properties_BufferedChannel_kt__d6uc4y();
|
|
2874
2874
|
// Inline function 'kotlin.let' call
|
|
2875
|
-
var token = _this__u8e3s4.
|
|
2875
|
+
var token = _this__u8e3s4.p12(value, null, onCancellation);
|
|
2876
2876
|
var tmp;
|
|
2877
2877
|
if (!(token == null)) {
|
|
2878
|
-
_this__u8e3s4.
|
|
2878
|
+
_this__u8e3s4.u10(token);
|
|
2879
2879
|
tmp = true;
|
|
2880
2880
|
} else {
|
|
2881
2881
|
tmp = false;
|
|
@@ -2896,7 +2896,7 @@ function createSegmentFunction() {
|
|
|
2896
2896
|
}
|
|
2897
2897
|
function createSegment(id, prev) {
|
|
2898
2898
|
_init_properties_BufferedChannel_kt__d6uc4y();
|
|
2899
|
-
return new (ChannelSegment())(id, prev, prev.
|
|
2899
|
+
return new (ChannelSegment())(id, prev, prev.v1a(), 0);
|
|
2900
2900
|
}
|
|
2901
2901
|
function createSegment$ref() {
|
|
2902
2902
|
return constructCallableReference((p0, p1) => createSegment(p0, p1), 2, 0, 3, 'createSegment');
|