@continuous-excellence/coupling-cli 1.1.582 → 1.1.584
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 +41 -41
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -19
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +26 -26
- 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 +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +36 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +43 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -1
- 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 +45 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +50 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +44 -44
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +27 -27
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +42 -42
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +53 -53
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +37 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +34 -34
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +60 -60
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +13 -13
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +18 -18
- 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 +82 -82
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +54 -54
- 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 +5 -5
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +10 -10
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +112 -112
- 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 +57 -57
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +16 -16
- 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 +34 -34
- 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 +17 -17
- 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 +28 -28
- 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 +19 -19
- 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/adapter/Adapter.mjs +37 -37
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +13 -13
- 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/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +43 -37
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +50 -44
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +39 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +32 -26
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs.map +1 -1
- 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 +53 -53
- 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 +77 -77
- 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 +31 -31
- 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 +28 -28
- 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 +44 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +54 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +43 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +43 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +53 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +56 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +51 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +41 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs.map +1 -0
- 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 +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +56 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +40 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs.map +1 -0
- 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 +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +40 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs.map +1 -0
- 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 +112 -142
- 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 +100 -63
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +61 -61
- 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 +269 -3
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +39 -50
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +35 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +51 -10
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
- 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 +8 -8
- 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/Operations.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +21 -5
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +158 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs +60 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +189 -291
- 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 +106 -60
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs.map +1 -1
- 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/internal/ResponseParser.mjs +44 -33
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +84 -84
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +371 -458
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs.map +1 -1
- 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/JsonReader.mjs +19 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +13 -13
- 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/MapJsonReader.mjs +127 -126
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +47 -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 +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +130 -138
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +44 -50
- 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 +290 -307
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
- 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 +232 -102
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +49 -49
- 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/dispatchers.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +81 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs +85 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +154 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +253 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs +38 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +34 -118
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs +0 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs.map +1 -1
- 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 +225 -204
- 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 +6 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +50 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +199 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +145 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +270 -0
- 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 +313 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +571 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +118 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +35 -35
- 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 +39 -36
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +211 -208
- 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/WsProtocol.mjs.map +1 -1
- 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 +50 -57
- 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 +68 -68
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +41 -41
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +24 -24
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +116 -116
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +102 -102
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +38 -38
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +145 -145
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- 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/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +13 -13
- 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 +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +215 -215
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- 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 +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +46 -46
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +236 -236
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +16 -16
- 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/parameters/options/PromptOptions.mjs +20 -20
- 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 +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- 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 +25 -25
- 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 +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +68 -68
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Result.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +26 -26
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +187 -187
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +61 -61
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +17 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs +38 -38
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +87 -87
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +11 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +7 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.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/coroutines/intrinsics/IntrinsicsJs.mjs +16 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +34 -28
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs +42 -42
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +10 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +43 -43
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +24 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +8 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +22 -22
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +39 -39
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +16 -16
- 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/CharacterCodingExceptionJs.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +263 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +271 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +63 -63
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +4 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs +14 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +82 -82
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -14
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +100 -100
- 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 +76 -76
- 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 +15 -15
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/measureTime.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +30 -30
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/reflectionJs.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 +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +12 -12
- 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-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs +34 -0
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs.map +1 -0
- 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/Builders.common.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +166 -166
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- 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 +35 -35
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +42 -42
- 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 +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +89 -89
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +18 -18
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +316 -316
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- 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/Supervisor.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +21 -21
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +463 -439
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +26 -23
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +30 -30
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +65 -13
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +52 -20
- 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 +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +10 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +2 -29
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +28 -28
- 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 +137 -137
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +19 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +32 -32
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +72 -72
- 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 +3 -3
- 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 +46 -46
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +39 -39
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- 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 +3 -3
- 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-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- 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-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +158 -158
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +50 -50
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +133 -133
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +12 -12
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +17 -17
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +4 -4
- 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 +33 -33
- 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 +97 -97
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +60 -60
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +69 -69
- 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 +25 -25
- 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 +56 -56
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +231 -231
- 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/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 +18 -18
- 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 +43 -43
- 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 +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +221 -221
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
- 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 +48 -48
- 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 +57 -57
- 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 +155 -155
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +19 -19
- 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 +179 -179
- 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 +71 -71
- 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 +21 -21
- 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 +11 -11
- 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 +62 -62
- 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 +8 -8
- 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/StreamingJsonEncoder.mjs +141 -141
- 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 +264 -264
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +184 -184
- 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 +71 -71
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +73 -73
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- 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 +49 -49
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +24 -24
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +56 -54
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- 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 +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +55 -55
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +76 -72
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +80 -80
- 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 +59 -59
- 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 +33 -33
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +31 -31
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +87 -81
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- 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/CommonHooks.mjs +26 -26
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +57 -57
- 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 +36 -36
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +72 -72
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- 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 +81 -81
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +30 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs.map +1 -1
- 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 +20 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +58 -58
- 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 +25 -25
- 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 +27 -27
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +28 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- 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 +17 -17
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs.map +1 -1
- 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 +28 -28
- 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 +16 -16
- 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 +275 -275
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +16 -16
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +12 -12
- package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +13 -13
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +95 -95
- 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 +39 -39
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +117 -115
- 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 +16 -16
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +4 -4
- 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 +59 -59
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +29 -29
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +77 -77
- package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +31 -31
- package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +11 -11
- package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +9 -9
- package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +14 -14
- 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 +89 -89
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +54 -54
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +73 -73
- 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 +6 -6
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- 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 +346 -144
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +50 -50
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +32 -0
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +1 -0
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +75 -74
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +37 -37
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +25 -49
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- 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 +15 -15
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +50 -19
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- 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 +10 -10
- 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/DefaultPool.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +81 -81
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +88 -12
- 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 +7 -7
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +14 -14
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +16 -16
- package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +55 -55
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +196 -196
- 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/Crypto.mjs +4 -32
- package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.web.mjs +8 -5
- package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.web.mjs.map +1 -1
- 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 +139 -139
- package/kotlin/ktor-ktor-utils/io/ktor/util/TargetUtilsJs.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs +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 +106 -106
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- 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 +25 -25
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.web.mjs +48 -0
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.web.mjs.map +1 -0
- 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 +53 -53
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/TypeInfo.web.mjs +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +121 -121
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +41 -41
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +8 -8
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +12 -13
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +46 -46
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +49 -46
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +4 -4
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +4 -4
- 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 +42 -42
- 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/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +61 -61
- 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 +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- 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 +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +243 -243
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +23 -23
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +153 -153
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- 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 +54 -54
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +9 -9
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- 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/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +61 -61
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/okio-parent-okio/okio/Buffer.mjs +447 -611
- package/kotlin/okio-parent-okio/okio/Buffer.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/ByteString.mjs +57 -57
- package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs +92 -0
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs.map +1 -0
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +16 -16
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Okio.mjs +2 -2
- package/kotlin/okio-parent-okio/okio/Okio.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Options.mjs +24 -24
- 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/RealBufferedSink.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +93 -93
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Segment.mjs +70 -70
- package/kotlin/okio-parent-okio/okio/Segment.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +5 -5
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/Util.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +154 -154
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +242 -45
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +67 -67
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs +92 -0
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs.map +1 -0
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs +265 -0
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs.map +1 -0
- 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 +7 -7
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +175 -175
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +30 -30
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +34 -34
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
- 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 +11 -11
- package/package.json +1 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +0 -209
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs.map +0 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtils.web.mjs +0 -11
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtils.web.mjs.map +0 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs +0 -15
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +0 -1
|
@@ -37,7 +37,7 @@ import { toByte4i43936u611k as toByte } from '../../kotlin-kotlin-stdlib/kotlin/
|
|
|
37
37
|
import {
|
|
38
38
|
readUtf8Line36yidw3sdfobh as readUtf8Line,
|
|
39
39
|
selectPrefix5tb3rl5iltlw as selectPrefix,
|
|
40
|
-
|
|
40
|
+
commonIndexOf2u7nnfp9zp5hz as commonIndexOf,
|
|
41
41
|
} from './internal/Buffer.mjs';
|
|
42
42
|
import { arrayCopytctsywo3h7gj as arrayCopy } from '../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
|
|
43
43
|
import { charCodeAt1yspne1d8erbm as charCodeAt } from '../../kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs';
|
|
@@ -53,27 +53,27 @@ function UnsafeCursor() {
|
|
|
53
53
|
if (UnsafeCursorClass === VOID) {
|
|
54
54
|
class $ {
|
|
55
55
|
constructor() {
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
56
|
+
this.q4o_1 = null;
|
|
57
|
+
this.r4o_1 = false;
|
|
58
|
+
this.s4o_1 = null;
|
|
59
|
+
this.t4o_1 = new (Long())(-1, -1);
|
|
60
|
+
this.u4o_1 = null;
|
|
61
|
+
this.v4o_1 = -1;
|
|
62
|
+
this.w4o_1 = -1;
|
|
63
63
|
}
|
|
64
64
|
j6() {
|
|
65
65
|
// Inline function 'okio.internal.commonClose' call
|
|
66
66
|
// Inline function 'kotlin.check' call
|
|
67
|
-
if (!!(this.
|
|
67
|
+
if (!!(this.q4o_1 == null)) {
|
|
68
68
|
var message = 'not attached to a buffer';
|
|
69
69
|
throw IllegalStateException().o(toString(message));
|
|
70
70
|
}
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
71
|
+
this.q4o_1 = null;
|
|
72
|
+
this.s4o_1 = null;
|
|
73
|
+
this.t4o_1 = new (Long())(-1, -1);
|
|
74
|
+
this.u4o_1 = null;
|
|
75
|
+
this.v4o_1 = -1;
|
|
76
|
+
this.w4o_1 = -1;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
initMetadataForClass($, 'UnsafeCursor', UnsafeCursor);
|
|
@@ -86,200 +86,200 @@ function Buffer() {
|
|
|
86
86
|
if (BufferClass === VOID) {
|
|
87
87
|
class $ {
|
|
88
88
|
constructor() {
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
89
|
+
this.p4l_1 = null;
|
|
90
|
+
this.q4l_1 = new (Long())(0, 0);
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
b1q() {
|
|
93
93
|
return this;
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
return equalsLong(this.
|
|
95
|
+
c1q() {
|
|
96
|
+
return equalsLong(this.q4l_1, new (Long())(0, 0));
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
if (compare(this.
|
|
100
|
-
throw EOFException().
|
|
98
|
+
d1q(byteCount) {
|
|
99
|
+
if (compare(this.q4l_1, byteCount) < 0)
|
|
100
|
+
throw EOFException().a4p(null);
|
|
101
101
|
}
|
|
102
|
-
|
|
103
|
-
return compare(this.
|
|
102
|
+
e1q(byteCount) {
|
|
103
|
+
return compare(this.q4l_1, byteCount) >= 0;
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
b4p(out, offset, byteCount) {
|
|
106
106
|
var tmp$ret$0;
|
|
107
107
|
$l$block: {
|
|
108
108
|
// Inline function 'okio.internal.commonCopyTo' call
|
|
109
109
|
var offset_0 = offset;
|
|
110
110
|
var byteCount_0 = byteCount;
|
|
111
|
-
checkOffsetAndCount(this.
|
|
111
|
+
checkOffsetAndCount(this.q4l_1, offset_0, byteCount_0);
|
|
112
112
|
if (equalsLong(byteCount_0, new (Long())(0, 0))) {
|
|
113
113
|
tmp$ret$0 = this;
|
|
114
114
|
break $l$block;
|
|
115
115
|
}
|
|
116
|
-
out.
|
|
117
|
-
var s = this.
|
|
118
|
-
while (compare(offset_0, fromInt(ensureNotNull(s).
|
|
119
|
-
offset_0 = subtract(offset_0, fromInt(s.
|
|
120
|
-
s = s.
|
|
116
|
+
out.q4l_1 = add(out.q4l_1, byteCount_0);
|
|
117
|
+
var s = this.p4l_1;
|
|
118
|
+
while (compare(offset_0, fromInt(ensureNotNull(s).g4m_1 - s.f4m_1 | 0)) >= 0) {
|
|
119
|
+
offset_0 = subtract(offset_0, fromInt(s.g4m_1 - s.f4m_1 | 0));
|
|
120
|
+
s = s.j4m_1;
|
|
121
121
|
}
|
|
122
122
|
while (compare(byteCount_0, new (Long())(0, 0)) > 0) {
|
|
123
|
-
var copy = ensureNotNull(s).
|
|
124
|
-
copy.
|
|
123
|
+
var copy = ensureNotNull(s).n4m();
|
|
124
|
+
copy.f4m_1 = copy.f4m_1 + convertToInt(offset_0) | 0;
|
|
125
125
|
var tmp = copy;
|
|
126
|
-
var tmp0 = copy.
|
|
126
|
+
var tmp0 = copy.f4m_1 + convertToInt(byteCount_0) | 0;
|
|
127
127
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
128
|
-
var b = copy.
|
|
129
|
-
tmp.
|
|
130
|
-
if (out.
|
|
131
|
-
copy.
|
|
132
|
-
copy.
|
|
133
|
-
out.
|
|
128
|
+
var b = copy.g4m_1;
|
|
129
|
+
tmp.g4m_1 = Math.min(tmp0, b);
|
|
130
|
+
if (out.p4l_1 == null) {
|
|
131
|
+
copy.k4m_1 = copy;
|
|
132
|
+
copy.j4m_1 = copy.k4m_1;
|
|
133
|
+
out.p4l_1 = copy.j4m_1;
|
|
134
134
|
} else {
|
|
135
|
-
ensureNotNull(ensureNotNull(out.
|
|
135
|
+
ensureNotNull(ensureNotNull(out.p4l_1).k4m_1).p4m(copy);
|
|
136
136
|
}
|
|
137
|
-
byteCount_0 = subtract(byteCount_0, fromInt(copy.
|
|
137
|
+
byteCount_0 = subtract(byteCount_0, fromInt(copy.g4m_1 - copy.f4m_1 | 0));
|
|
138
138
|
offset_0 = new (Long())(0, 0);
|
|
139
|
-
s = s.
|
|
139
|
+
s = s.j4m_1;
|
|
140
140
|
}
|
|
141
141
|
tmp$ret$0 = this;
|
|
142
142
|
}
|
|
143
143
|
return tmp$ret$0;
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
x1q(pos) {
|
|
146
146
|
var tmp$ret$0;
|
|
147
147
|
$l$block_3: {
|
|
148
148
|
// Inline function 'okio.internal.commonGet' call
|
|
149
|
-
checkOffsetAndCount(this.
|
|
149
|
+
checkOffsetAndCount(this.q4l_1, pos, new (Long())(1, 0));
|
|
150
150
|
$l$block_4: {
|
|
151
151
|
// Inline function 'okio.internal.seek' call
|
|
152
|
-
var tmp0_elvis_lhs = this.
|
|
152
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
153
153
|
var tmp;
|
|
154
154
|
if (tmp0_elvis_lhs == null) {
|
|
155
155
|
var offset = new (Long())(-1, -1);
|
|
156
|
-
tmp$ret$0 = ensureNotNull(null).
|
|
156
|
+
tmp$ret$0 = ensureNotNull(null).e4m_1[convertToInt(subtract(add(numberToLong(null.f4m_1), pos), offset))];
|
|
157
157
|
break $l$block_3;
|
|
158
158
|
} else {
|
|
159
159
|
tmp = tmp0_elvis_lhs;
|
|
160
160
|
}
|
|
161
161
|
var s = tmp;
|
|
162
|
-
if (compare(subtract(this.
|
|
163
|
-
var offset_0 = this.
|
|
162
|
+
if (compare(subtract(this.q4l_1, pos), pos) < 0) {
|
|
163
|
+
var offset_0 = this.q4l_1;
|
|
164
164
|
while (compare(offset_0, pos) > 0) {
|
|
165
|
-
s = ensureNotNull(s.
|
|
166
|
-
offset_0 = subtract(offset_0, fromInt(s.
|
|
165
|
+
s = ensureNotNull(s.k4m_1);
|
|
166
|
+
offset_0 = subtract(offset_0, fromInt(s.g4m_1 - s.f4m_1 | 0));
|
|
167
167
|
}
|
|
168
168
|
var tmp0 = s;
|
|
169
169
|
var offset_1 = offset_0;
|
|
170
|
-
tmp$ret$0 = ensureNotNull(tmp0).
|
|
170
|
+
tmp$ret$0 = ensureNotNull(tmp0).e4m_1[convertToInt(subtract(add(numberToLong(tmp0.f4m_1), pos), offset_1))];
|
|
171
171
|
break $l$block_3;
|
|
172
172
|
} else {
|
|
173
173
|
var offset_2 = new (Long())(0, 0);
|
|
174
174
|
$l$loop: while (true) {
|
|
175
175
|
var tmp0_0 = offset_2;
|
|
176
176
|
// Inline function 'kotlin.Long.plus' call
|
|
177
|
-
var other = s.
|
|
177
|
+
var other = s.g4m_1 - s.f4m_1 | 0;
|
|
178
178
|
var nextOffset = add(tmp0_0, fromInt(other));
|
|
179
179
|
if (compare(nextOffset, pos) > 0)
|
|
180
180
|
break $l$loop;
|
|
181
|
-
s = ensureNotNull(s.
|
|
181
|
+
s = ensureNotNull(s.j4m_1);
|
|
182
182
|
offset_2 = nextOffset;
|
|
183
183
|
}
|
|
184
184
|
var tmp0_1 = s;
|
|
185
185
|
var offset_3 = offset_2;
|
|
186
|
-
tmp$ret$0 = ensureNotNull(tmp0_1).
|
|
186
|
+
tmp$ret$0 = ensureNotNull(tmp0_1).e4m_1[convertToInt(subtract(add(numberToLong(tmp0_1.f4m_1), pos), offset_3))];
|
|
187
187
|
break $l$block_3;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
return tmp$ret$0;
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
c4p() {
|
|
194
194
|
var tmp$ret$0;
|
|
195
195
|
$l$block: {
|
|
196
196
|
// Inline function 'okio.internal.commonCompleteSegmentByteCount' call
|
|
197
|
-
var result = this.
|
|
197
|
+
var result = this.q4l_1;
|
|
198
198
|
if (equalsLong(result, new (Long())(0, 0))) {
|
|
199
199
|
tmp$ret$0 = new (Long())(0, 0);
|
|
200
200
|
break $l$block;
|
|
201
201
|
}
|
|
202
|
-
var tail = ensureNotNull(ensureNotNull(this.
|
|
203
|
-
if (tail.
|
|
204
|
-
result = subtract(result, fromInt(tail.
|
|
202
|
+
var tail = ensureNotNull(ensureNotNull(this.p4l_1).k4m_1);
|
|
203
|
+
if (tail.g4m_1 < 8192 && tail.i4m_1) {
|
|
204
|
+
result = subtract(result, fromInt(tail.g4m_1 - tail.f4m_1 | 0));
|
|
205
205
|
}
|
|
206
206
|
tmp$ret$0 = result;
|
|
207
207
|
}
|
|
208
208
|
return tmp$ret$0;
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
f1q() {
|
|
211
211
|
// Inline function 'okio.internal.commonReadByte' call
|
|
212
|
-
if (equalsLong(this.
|
|
213
|
-
throw EOFException().
|
|
214
|
-
var segment = ensureNotNull(this.
|
|
215
|
-
var pos = segment.
|
|
216
|
-
var limit = segment.
|
|
217
|
-
var data = segment.
|
|
218
|
-
var
|
|
219
|
-
pos =
|
|
220
|
-
var b = data[
|
|
221
|
-
this.
|
|
212
|
+
if (equalsLong(this.q4l_1, new (Long())(0, 0)))
|
|
213
|
+
throw EOFException().d4p();
|
|
214
|
+
var segment = ensureNotNull(this.p4l_1);
|
|
215
|
+
var pos = segment.f4m_1;
|
|
216
|
+
var limit = segment.g4m_1;
|
|
217
|
+
var data = segment.e4m_1;
|
|
218
|
+
var _unary__edvuaz = pos;
|
|
219
|
+
pos = _unary__edvuaz + 1 | 0;
|
|
220
|
+
var b = data[_unary__edvuaz];
|
|
221
|
+
this.q4l_1 = subtract(this.q4l_1, new (Long())(1, 0));
|
|
222
222
|
if (pos === limit) {
|
|
223
|
-
this.
|
|
224
|
-
SegmentPool_instance.
|
|
223
|
+
this.p4l_1 = segment.o4m();
|
|
224
|
+
SegmentPool_instance.v4m(segment);
|
|
225
225
|
} else {
|
|
226
|
-
segment.
|
|
226
|
+
segment.f4m_1 = pos;
|
|
227
227
|
}
|
|
228
228
|
return b;
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
b4m() {
|
|
231
231
|
var tmp$ret$0;
|
|
232
232
|
$l$block: {
|
|
233
233
|
// Inline function 'okio.internal.commonReadInt' call
|
|
234
|
-
if (compare(this.
|
|
235
|
-
throw EOFException().
|
|
236
|
-
var segment = ensureNotNull(this.
|
|
237
|
-
var pos = segment.
|
|
238
|
-
var limit = segment.
|
|
234
|
+
if (compare(this.q4l_1, new (Long())(4, 0)) < 0)
|
|
235
|
+
throw EOFException().d4p();
|
|
236
|
+
var segment = ensureNotNull(this.p4l_1);
|
|
237
|
+
var pos = segment.f4m_1;
|
|
238
|
+
var limit = segment.g4m_1;
|
|
239
239
|
if (compare(fromInt(limit - pos | 0), new (Long())(4, 0)) < 0) {
|
|
240
240
|
// Inline function 'okio.and' call
|
|
241
|
-
var tmp = (this.
|
|
241
|
+
var tmp = (this.f1q() & 255) << 24;
|
|
242
242
|
// Inline function 'okio.and' call
|
|
243
|
-
var tmp_0 = tmp | (this.
|
|
243
|
+
var tmp_0 = tmp | (this.f1q() & 255) << 16;
|
|
244
244
|
// Inline function 'okio.and' call
|
|
245
|
-
var tmp_1 = tmp_0 | (this.
|
|
245
|
+
var tmp_1 = tmp_0 | (this.f1q() & 255) << 8;
|
|
246
246
|
// Inline function 'okio.and' call
|
|
247
|
-
tmp$ret$0 = tmp_1 | this.
|
|
247
|
+
tmp$ret$0 = tmp_1 | this.f1q() & 255;
|
|
248
248
|
break $l$block;
|
|
249
249
|
}
|
|
250
|
-
var data = segment.
|
|
251
|
-
var
|
|
252
|
-
pos =
|
|
250
|
+
var data = segment.e4m_1;
|
|
251
|
+
var _unary__edvuaz = pos;
|
|
252
|
+
pos = _unary__edvuaz + 1 | 0;
|
|
253
253
|
// Inline function 'okio.and' call
|
|
254
|
-
var tmp_2 = (data[
|
|
255
|
-
var
|
|
256
|
-
pos =
|
|
254
|
+
var tmp_2 = (data[_unary__edvuaz] & 255) << 24;
|
|
255
|
+
var _unary__edvuaz_0 = pos;
|
|
256
|
+
pos = _unary__edvuaz_0 + 1 | 0;
|
|
257
257
|
// Inline function 'okio.and' call
|
|
258
|
-
var tmp_3 = tmp_2 | (data[
|
|
259
|
-
var
|
|
260
|
-
pos =
|
|
258
|
+
var tmp_3 = tmp_2 | (data[_unary__edvuaz_0] & 255) << 16;
|
|
259
|
+
var _unary__edvuaz_1 = pos;
|
|
260
|
+
pos = _unary__edvuaz_1 + 1 | 0;
|
|
261
261
|
// Inline function 'okio.and' call
|
|
262
|
-
var tmp_4 = tmp_3 | (data[
|
|
263
|
-
var
|
|
264
|
-
pos =
|
|
262
|
+
var tmp_4 = tmp_3 | (data[_unary__edvuaz_1] & 255) << 8;
|
|
263
|
+
var _unary__edvuaz_2 = pos;
|
|
264
|
+
pos = _unary__edvuaz_2 + 1 | 0;
|
|
265
265
|
// Inline function 'okio.and' call
|
|
266
|
-
var i = tmp_4 | data[
|
|
267
|
-
this.
|
|
266
|
+
var i = tmp_4 | data[_unary__edvuaz_2] & 255;
|
|
267
|
+
this.q4l_1 = subtract(this.q4l_1, new (Long())(4, 0));
|
|
268
268
|
if (pos === limit) {
|
|
269
|
-
this.
|
|
270
|
-
SegmentPool_instance.
|
|
269
|
+
this.p4l_1 = segment.o4m();
|
|
270
|
+
SegmentPool_instance.v4m(segment);
|
|
271
271
|
} else {
|
|
272
|
-
segment.
|
|
272
|
+
segment.f4m_1 = pos;
|
|
273
273
|
}
|
|
274
274
|
tmp$ret$0 = i;
|
|
275
275
|
}
|
|
276
276
|
return tmp$ret$0;
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
e4p() {
|
|
279
279
|
// Inline function 'okio.internal.commonReadByteString' call
|
|
280
|
-
return this.
|
|
280
|
+
return this.f4p(this.q4l_1);
|
|
281
281
|
}
|
|
282
|
-
|
|
282
|
+
f4p(byteCount) {
|
|
283
283
|
var tmp$ret$0;
|
|
284
284
|
$l$block_0: {
|
|
285
285
|
// Inline function 'okio.internal.commonReadByteString' call
|
|
@@ -288,25 +288,25 @@ function Buffer() {
|
|
|
288
288
|
var message = 'byteCount: ' + byteCount.toString();
|
|
289
289
|
throw IllegalArgumentException().m2(toString(message));
|
|
290
290
|
}
|
|
291
|
-
if (compare(this.
|
|
292
|
-
throw EOFException().
|
|
291
|
+
if (compare(this.q4l_1, byteCount) < 0)
|
|
292
|
+
throw EOFException().d4p();
|
|
293
293
|
if (compare(byteCount, new (Long())(4096, 0)) >= 0) {
|
|
294
294
|
// Inline function 'kotlin.also' call
|
|
295
|
-
var this_0 = this.
|
|
296
|
-
this.
|
|
295
|
+
var this_0 = this.h4p(convertToInt(byteCount));
|
|
296
|
+
this.z1q(byteCount);
|
|
297
297
|
tmp$ret$0 = this_0;
|
|
298
298
|
break $l$block_0;
|
|
299
299
|
} else {
|
|
300
|
-
tmp$ret$0 = new (ByteString())(this.
|
|
300
|
+
tmp$ret$0 = new (ByteString())(this.g4p(byteCount));
|
|
301
301
|
break $l$block_0;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
return tmp$ret$0;
|
|
305
305
|
}
|
|
306
|
-
|
|
307
|
-
return this.
|
|
306
|
+
i4p() {
|
|
307
|
+
return this.c4n(this.q4l_1);
|
|
308
308
|
}
|
|
309
|
-
|
|
309
|
+
c4n(byteCount) {
|
|
310
310
|
var tmp$ret$0;
|
|
311
311
|
$l$block_0: {
|
|
312
312
|
// Inline function 'okio.internal.commonReadUtf8' call
|
|
@@ -315,32 +315,32 @@ function Buffer() {
|
|
|
315
315
|
var message = 'byteCount: ' + byteCount.toString();
|
|
316
316
|
throw IllegalArgumentException().m2(toString(message));
|
|
317
317
|
}
|
|
318
|
-
if (compare(this.
|
|
319
|
-
throw EOFException().
|
|
318
|
+
if (compare(this.q4l_1, byteCount) < 0)
|
|
319
|
+
throw EOFException().d4p();
|
|
320
320
|
if (equalsLong(byteCount, new (Long())(0, 0))) {
|
|
321
321
|
tmp$ret$0 = '';
|
|
322
322
|
break $l$block_0;
|
|
323
323
|
}
|
|
324
|
-
var s = ensureNotNull(this.
|
|
325
|
-
if (compare(add(numberToLong(s.
|
|
326
|
-
tmp$ret$0 = commonToUtf8String(this.
|
|
324
|
+
var s = ensureNotNull(this.p4l_1);
|
|
325
|
+
if (compare(add(numberToLong(s.f4m_1), byteCount), fromInt(s.g4m_1)) > 0) {
|
|
326
|
+
tmp$ret$0 = commonToUtf8String(this.g4p(byteCount));
|
|
327
327
|
break $l$block_0;
|
|
328
328
|
}
|
|
329
|
-
var result = commonToUtf8String(s.
|
|
330
|
-
s.
|
|
331
|
-
this.
|
|
332
|
-
if (s.
|
|
333
|
-
this.
|
|
334
|
-
SegmentPool_instance.
|
|
329
|
+
var result = commonToUtf8String(s.e4m_1, s.f4m_1, s.f4m_1 + convertToInt(byteCount) | 0);
|
|
330
|
+
s.f4m_1 = s.f4m_1 + convertToInt(byteCount) | 0;
|
|
331
|
+
this.q4l_1 = subtract(this.q4l_1, byteCount);
|
|
332
|
+
if (s.f4m_1 === s.g4m_1) {
|
|
333
|
+
this.p4l_1 = s.o4m();
|
|
334
|
+
SegmentPool_instance.v4m(s);
|
|
335
335
|
}
|
|
336
336
|
tmp$ret$0 = result;
|
|
337
337
|
}
|
|
338
338
|
return tmp$ret$0;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
return this.
|
|
340
|
+
j4p() {
|
|
341
|
+
return this.k4p(new (Long())(-1, 2147483647));
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
k4p(limit) {
|
|
344
344
|
var tmp$ret$0;
|
|
345
345
|
$l$block_0: {
|
|
346
346
|
// Inline function 'okio.internal.commonReadUtf8LineStrict' call
|
|
@@ -353,17 +353,17 @@ function Buffer() {
|
|
|
353
353
|
// Inline function 'kotlin.code' call
|
|
354
354
|
var this_0 = _Char___init__impl__6a9atx(10);
|
|
355
355
|
var tmp$ret$3 = Char__toInt_impl_vasixd(this_0);
|
|
356
|
-
var newline = this.
|
|
356
|
+
var newline = this.l4p(toByte(tmp$ret$3), new (Long())(0, 0), scanLength);
|
|
357
357
|
if (!equalsLong(newline, new (Long())(-1, -1))) {
|
|
358
358
|
tmp$ret$0 = readUtf8Line(this, newline);
|
|
359
359
|
break $l$block_0;
|
|
360
360
|
}
|
|
361
361
|
var tmp;
|
|
362
362
|
var tmp_0;
|
|
363
|
-
if (compare(scanLength, this.
|
|
363
|
+
if (compare(scanLength, this.q4l_1) < 0) {
|
|
364
364
|
// Inline function 'kotlin.Long.minus' call
|
|
365
365
|
var tmp$ret$4 = subtract(scanLength, fromInt(1));
|
|
366
|
-
var tmp_1 = this.
|
|
366
|
+
var tmp_1 = this.x1q(tmp$ret$4);
|
|
367
367
|
// Inline function 'kotlin.code' call
|
|
368
368
|
var this_1 = _Char___init__impl__6a9atx(13);
|
|
369
369
|
var tmp$ret$5 = Char__toInt_impl_vasixd(this_1);
|
|
@@ -372,7 +372,7 @@ function Buffer() {
|
|
|
372
372
|
tmp_0 = false;
|
|
373
373
|
}
|
|
374
374
|
if (tmp_0) {
|
|
375
|
-
var tmp_2 = this.
|
|
375
|
+
var tmp_2 = this.x1q(scanLength);
|
|
376
376
|
// Inline function 'kotlin.code' call
|
|
377
377
|
var this_2 = _Char___init__impl__6a9atx(10);
|
|
378
378
|
var tmp$ret$6 = Char__toInt_impl_vasixd(this_2);
|
|
@@ -387,19 +387,19 @@ function Buffer() {
|
|
|
387
387
|
var data = new (Buffer())();
|
|
388
388
|
var tmp_3 = new (Long())(0, 0);
|
|
389
389
|
// Inline function 'okio.minOf' call
|
|
390
|
-
var b = this.
|
|
390
|
+
var b = this.q4l_1;
|
|
391
391
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
392
392
|
var a = fromInt(32);
|
|
393
393
|
var tmp$ret$7 = compare(a, b) <= 0 ? a : b;
|
|
394
|
-
this.
|
|
394
|
+
this.b4p(data, tmp_3, tmp$ret$7);
|
|
395
395
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
396
|
-
var a_0 = this.
|
|
396
|
+
var a_0 = this.q4l_1;
|
|
397
397
|
var tmp$ret$9 = compare(a_0, limit) <= 0 ? a_0 : limit;
|
|
398
|
-
throw EOFException().
|
|
398
|
+
throw EOFException().a4p('\\n not found: limit=' + tmp$ret$9.toString() + ' content=' + data.e4p().i4o() + '\u2026');
|
|
399
399
|
}
|
|
400
400
|
return tmp$ret$0;
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
m4p(options) {
|
|
403
403
|
var tmp$ret$0;
|
|
404
404
|
$l$block: {
|
|
405
405
|
// Inline function 'okio.internal.commonSelect' call
|
|
@@ -408,46 +408,46 @@ function Buffer() {
|
|
|
408
408
|
tmp$ret$0 = -1;
|
|
409
409
|
break $l$block;
|
|
410
410
|
}
|
|
411
|
-
var selectedSize = options.
|
|
412
|
-
this.
|
|
411
|
+
var selectedSize = options.x4l_1[index].q2();
|
|
412
|
+
this.z1q(fromInt(selectedSize));
|
|
413
413
|
tmp$ret$0 = index;
|
|
414
414
|
}
|
|
415
415
|
return tmp$ret$0;
|
|
416
416
|
}
|
|
417
|
-
|
|
417
|
+
n4p() {
|
|
418
418
|
// Inline function 'okio.internal.commonReadByteArray' call
|
|
419
|
-
return this.
|
|
419
|
+
return this.g4p(this.q4l_1);
|
|
420
420
|
}
|
|
421
|
-
|
|
421
|
+
g4p(byteCount) {
|
|
422
422
|
// Inline function 'okio.internal.commonReadByteArray' call
|
|
423
423
|
// Inline function 'kotlin.require' call
|
|
424
424
|
if (!(compare(byteCount, new (Long())(0, 0)) >= 0 && compare(byteCount, new (Long())(2147483647, 0)) <= 0)) {
|
|
425
425
|
var message = 'byteCount: ' + byteCount.toString();
|
|
426
426
|
throw IllegalArgumentException().m2(toString(message));
|
|
427
427
|
}
|
|
428
|
-
if (compare(this.
|
|
429
|
-
throw EOFException().
|
|
428
|
+
if (compare(this.q4l_1, byteCount) < 0)
|
|
429
|
+
throw EOFException().d4p();
|
|
430
430
|
var result = new Int8Array(convertToInt(byteCount));
|
|
431
|
-
this.
|
|
431
|
+
this.o4p(result);
|
|
432
432
|
return result;
|
|
433
433
|
}
|
|
434
|
-
|
|
434
|
+
o4p(sink) {
|
|
435
435
|
// Inline function 'okio.internal.commonReadFully' call
|
|
436
436
|
var offset = 0;
|
|
437
437
|
while (offset < sink.length) {
|
|
438
|
-
var read = this.
|
|
438
|
+
var read = this.p4p(sink, offset, sink.length - offset | 0);
|
|
439
439
|
if (read === -1)
|
|
440
|
-
throw EOFException().
|
|
440
|
+
throw EOFException().d4p();
|
|
441
441
|
offset = offset + read | 0;
|
|
442
442
|
}
|
|
443
443
|
return Unit_instance;
|
|
444
444
|
}
|
|
445
|
-
|
|
445
|
+
p4p(sink, offset, byteCount) {
|
|
446
446
|
var tmp$ret$0;
|
|
447
447
|
$l$block: {
|
|
448
448
|
// Inline function 'okio.internal.commonRead' call
|
|
449
449
|
checkOffsetAndCount(fromInt(sink.length), fromInt(offset), fromInt(byteCount));
|
|
450
|
-
var tmp0_elvis_lhs = this.
|
|
450
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
451
451
|
var tmp;
|
|
452
452
|
if (tmp0_elvis_lhs == null) {
|
|
453
453
|
tmp$ret$0 = -1;
|
|
@@ -457,23 +457,23 @@ function Buffer() {
|
|
|
457
457
|
}
|
|
458
458
|
var s = tmp;
|
|
459
459
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
460
|
-
var b = s.
|
|
460
|
+
var b = s.g4m_1 - s.f4m_1 | 0;
|
|
461
461
|
var toCopy = Math.min(byteCount, b);
|
|
462
|
-
var tmp0 = s.
|
|
463
|
-
var tmp6 = s.
|
|
462
|
+
var tmp0 = s.e4m_1;
|
|
463
|
+
var tmp6 = s.f4m_1;
|
|
464
464
|
// Inline function 'kotlin.collections.copyInto' call
|
|
465
|
-
var endIndex = s.
|
|
465
|
+
var endIndex = s.f4m_1 + toCopy | 0;
|
|
466
466
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
467
467
|
// Inline function 'kotlin.js.asDynamic' call
|
|
468
468
|
var tmp_0 = tmp0;
|
|
469
469
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
470
470
|
// Inline function 'kotlin.js.asDynamic' call
|
|
471
471
|
arrayCopy(tmp_0, sink, offset, tmp6, endIndex);
|
|
472
|
-
s.
|
|
473
|
-
this.
|
|
474
|
-
if (s.
|
|
475
|
-
this.
|
|
476
|
-
SegmentPool_instance.
|
|
472
|
+
s.f4m_1 = s.f4m_1 + toCopy | 0;
|
|
473
|
+
this.q4l_1 = subtract(this.q4l_1, fromInt(toCopy));
|
|
474
|
+
if (s.f4m_1 === s.g4m_1) {
|
|
475
|
+
this.p4l_1 = s.o4m();
|
|
476
|
+
SegmentPool_instance.v4m(s);
|
|
477
477
|
}
|
|
478
478
|
tmp$ret$0 = toCopy;
|
|
479
479
|
}
|
|
@@ -481,45 +481,45 @@ function Buffer() {
|
|
|
481
481
|
}
|
|
482
482
|
m4() {
|
|
483
483
|
// Inline function 'okio.internal.commonClear' call
|
|
484
|
-
this.
|
|
484
|
+
this.z1q(this.q4l_1);
|
|
485
485
|
return Unit_instance;
|
|
486
486
|
}
|
|
487
|
-
|
|
487
|
+
z1q(byteCount) {
|
|
488
488
|
// Inline function 'okio.internal.commonSkip' call
|
|
489
489
|
var byteCount_0 = byteCount;
|
|
490
490
|
while (compare(byteCount_0, new (Long())(0, 0)) > 0) {
|
|
491
|
-
var tmp0_elvis_lhs = this.
|
|
491
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
492
492
|
var tmp;
|
|
493
493
|
if (tmp0_elvis_lhs == null) {
|
|
494
|
-
throw EOFException().
|
|
494
|
+
throw EOFException().d4p();
|
|
495
495
|
} else {
|
|
496
496
|
tmp = tmp0_elvis_lhs;
|
|
497
497
|
}
|
|
498
498
|
var head = tmp;
|
|
499
499
|
var tmp0 = byteCount_0;
|
|
500
500
|
// Inline function 'okio.minOf' call
|
|
501
|
-
var b = head.
|
|
501
|
+
var b = head.g4m_1 - head.f4m_1 | 0;
|
|
502
502
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
503
503
|
var b_0 = fromInt(b);
|
|
504
504
|
var tmp$ret$1 = compare(tmp0, b_0) <= 0 ? tmp0 : b_0;
|
|
505
505
|
var toSkip = convertToInt(tmp$ret$1);
|
|
506
|
-
this.
|
|
506
|
+
this.q4l_1 = subtract(this.q4l_1, fromInt(toSkip));
|
|
507
507
|
byteCount_0 = subtract(byteCount_0, fromInt(toSkip));
|
|
508
|
-
head.
|
|
509
|
-
if (head.
|
|
510
|
-
this.
|
|
511
|
-
SegmentPool_instance.
|
|
508
|
+
head.f4m_1 = head.f4m_1 + toSkip | 0;
|
|
509
|
+
if (head.f4m_1 === head.g4m_1) {
|
|
510
|
+
this.p4l_1 = head.o4m();
|
|
511
|
+
SegmentPool_instance.v4m(head);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
return Unit_instance;
|
|
515
515
|
}
|
|
516
|
-
|
|
516
|
+
q4p(byteString) {
|
|
517
517
|
// Inline function 'okio.internal.commonWrite' call
|
|
518
518
|
var byteCount = byteString.q2();
|
|
519
|
-
byteString.
|
|
519
|
+
byteString.m4o(this, 0, byteCount);
|
|
520
520
|
return this;
|
|
521
521
|
}
|
|
522
|
-
|
|
522
|
+
r4p(minimumCapacity) {
|
|
523
523
|
var tmp$ret$0;
|
|
524
524
|
$l$block: {
|
|
525
525
|
// Inline function 'okio.internal.commonWritableSegment' call
|
|
@@ -528,26 +528,26 @@ function Buffer() {
|
|
|
528
528
|
var message = 'unexpected capacity';
|
|
529
529
|
throw IllegalArgumentException().m2(toString(message));
|
|
530
530
|
}
|
|
531
|
-
if (this.
|
|
532
|
-
var result = SegmentPool_instance.
|
|
533
|
-
this.
|
|
534
|
-
result.
|
|
535
|
-
result.
|
|
531
|
+
if (this.p4l_1 == null) {
|
|
532
|
+
var result = SegmentPool_instance.k1r();
|
|
533
|
+
this.p4l_1 = result;
|
|
534
|
+
result.k4m_1 = result;
|
|
535
|
+
result.j4m_1 = result;
|
|
536
536
|
tmp$ret$0 = result;
|
|
537
537
|
break $l$block;
|
|
538
538
|
}
|
|
539
|
-
var tail = ensureNotNull(this.
|
|
540
|
-
if ((ensureNotNull(tail).
|
|
541
|
-
tail = tail.
|
|
539
|
+
var tail = ensureNotNull(this.p4l_1).k4m_1;
|
|
540
|
+
if ((ensureNotNull(tail).g4m_1 + minimumCapacity | 0) > 8192 || !tail.i4m_1) {
|
|
541
|
+
tail = tail.p4m(SegmentPool_instance.k1r());
|
|
542
542
|
}
|
|
543
543
|
tmp$ret$0 = tail;
|
|
544
544
|
}
|
|
545
545
|
return tmp$ret$0;
|
|
546
546
|
}
|
|
547
|
-
|
|
548
|
-
return this.
|
|
547
|
+
s4p(string) {
|
|
548
|
+
return this.t4p(string, 0, string.length);
|
|
549
549
|
}
|
|
550
|
-
|
|
550
|
+
t4p(string, beginIndex, endIndex) {
|
|
551
551
|
// Inline function 'okio.internal.commonWriteUtf8' call
|
|
552
552
|
// Inline function 'kotlin.require' call
|
|
553
553
|
if (!(beginIndex >= 0)) {
|
|
@@ -570,42 +570,42 @@ function Buffer() {
|
|
|
570
570
|
var this_0 = charCodeAt(string, i);
|
|
571
571
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
572
572
|
if (c < 128) {
|
|
573
|
-
var tail = this.
|
|
574
|
-
var data = tail.
|
|
575
|
-
var segmentOffset = tail.
|
|
573
|
+
var tail = this.r4p(1);
|
|
574
|
+
var data = tail.e4m_1;
|
|
575
|
+
var segmentOffset = tail.g4m_1 - i | 0;
|
|
576
576
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
577
577
|
var b = 8192 - segmentOffset | 0;
|
|
578
578
|
var runLimit = Math.min(endIndex, b);
|
|
579
|
-
var
|
|
580
|
-
i =
|
|
581
|
-
data[segmentOffset +
|
|
579
|
+
var _unary__edvuaz = i;
|
|
580
|
+
i = _unary__edvuaz + 1 | 0;
|
|
581
|
+
data[segmentOffset + _unary__edvuaz | 0] = toByte(c);
|
|
582
582
|
$l$loop: while (i < runLimit) {
|
|
583
583
|
// Inline function 'kotlin.code' call
|
|
584
584
|
var this_1 = charCodeAt(string, i);
|
|
585
585
|
c = Char__toInt_impl_vasixd(this_1);
|
|
586
586
|
if (c >= 128)
|
|
587
587
|
break $l$loop;
|
|
588
|
-
var
|
|
589
|
-
i =
|
|
590
|
-
data[segmentOffset +
|
|
588
|
+
var _unary__edvuaz_0 = i;
|
|
589
|
+
i = _unary__edvuaz_0 + 1 | 0;
|
|
590
|
+
data[segmentOffset + _unary__edvuaz_0 | 0] = toByte(c);
|
|
591
591
|
}
|
|
592
|
-
var runSize = (i + segmentOffset | 0) - tail.
|
|
593
|
-
tail.
|
|
594
|
-
this.
|
|
592
|
+
var runSize = (i + segmentOffset | 0) - tail.g4m_1 | 0;
|
|
593
|
+
tail.g4m_1 = tail.g4m_1 + runSize | 0;
|
|
594
|
+
this.q4l_1 = add(this.q4l_1, fromInt(runSize));
|
|
595
595
|
} else if (c < 2048) {
|
|
596
|
-
var tail_0 = this.
|
|
597
|
-
tail_0.
|
|
598
|
-
tail_0.
|
|
599
|
-
tail_0.
|
|
600
|
-
this.
|
|
596
|
+
var tail_0 = this.r4p(2);
|
|
597
|
+
tail_0.e4m_1[tail_0.g4m_1] = toByte(c >> 6 | 192);
|
|
598
|
+
tail_0.e4m_1[tail_0.g4m_1 + 1 | 0] = toByte(c & 63 | 128);
|
|
599
|
+
tail_0.g4m_1 = tail_0.g4m_1 + 2 | 0;
|
|
600
|
+
this.q4l_1 = add(this.q4l_1, new (Long())(2, 0));
|
|
601
601
|
i = i + 1 | 0;
|
|
602
602
|
} else if (c < 55296 || c > 57343) {
|
|
603
|
-
var tail_1 = this.
|
|
604
|
-
tail_1.
|
|
605
|
-
tail_1.
|
|
606
|
-
tail_1.
|
|
607
|
-
tail_1.
|
|
608
|
-
this.
|
|
603
|
+
var tail_1 = this.r4p(3);
|
|
604
|
+
tail_1.e4m_1[tail_1.g4m_1] = toByte(c >> 12 | 224);
|
|
605
|
+
tail_1.e4m_1[tail_1.g4m_1 + 1 | 0] = toByte(c >> 6 & 63 | 128);
|
|
606
|
+
tail_1.e4m_1[tail_1.g4m_1 + 2 | 0] = toByte(c & 63 | 128);
|
|
607
|
+
tail_1.g4m_1 = tail_1.g4m_1 + 3 | 0;
|
|
608
|
+
this.q4l_1 = add(this.q4l_1, new (Long())(3, 0));
|
|
609
609
|
i = i + 1 | 0;
|
|
610
610
|
} else {
|
|
611
611
|
var tmp;
|
|
@@ -621,40 +621,40 @@ function Buffer() {
|
|
|
621
621
|
// Inline function 'kotlin.code' call
|
|
622
622
|
var this_3 = _Char___init__impl__6a9atx(63);
|
|
623
623
|
var tmp$ret$11 = Char__toInt_impl_vasixd(this_3);
|
|
624
|
-
this.
|
|
624
|
+
this.u4p(tmp$ret$11);
|
|
625
625
|
i = i + 1 | 0;
|
|
626
626
|
} else {
|
|
627
627
|
var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
|
|
628
|
-
var tail_2 = this.
|
|
629
|
-
tail_2.
|
|
630
|
-
tail_2.
|
|
631
|
-
tail_2.
|
|
632
|
-
tail_2.
|
|
633
|
-
tail_2.
|
|
634
|
-
this.
|
|
628
|
+
var tail_2 = this.r4p(4);
|
|
629
|
+
tail_2.e4m_1[tail_2.g4m_1] = toByte(codePoint >> 18 | 240);
|
|
630
|
+
tail_2.e4m_1[tail_2.g4m_1 + 1 | 0] = toByte(codePoint >> 12 & 63 | 128);
|
|
631
|
+
tail_2.e4m_1[tail_2.g4m_1 + 2 | 0] = toByte(codePoint >> 6 & 63 | 128);
|
|
632
|
+
tail_2.e4m_1[tail_2.g4m_1 + 3 | 0] = toByte(codePoint & 63 | 128);
|
|
633
|
+
tail_2.g4m_1 = tail_2.g4m_1 + 4 | 0;
|
|
634
|
+
this.q4l_1 = add(this.q4l_1, new (Long())(4, 0));
|
|
635
635
|
i = i + 2 | 0;
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
return this;
|
|
640
640
|
}
|
|
641
|
-
|
|
641
|
+
v4p(source) {
|
|
642
642
|
// Inline function 'okio.internal.commonWrite' call
|
|
643
|
-
return this.
|
|
643
|
+
return this.d4n(source, 0, source.length);
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
d4n(source, offset, byteCount) {
|
|
646
646
|
// Inline function 'okio.internal.commonWrite' call
|
|
647
647
|
var offset_0 = offset;
|
|
648
648
|
checkOffsetAndCount(fromInt(source.length), fromInt(offset_0), fromInt(byteCount));
|
|
649
649
|
var limit = offset_0 + byteCount | 0;
|
|
650
650
|
while (offset_0 < limit) {
|
|
651
|
-
var tail = this.
|
|
651
|
+
var tail = this.r4p(1);
|
|
652
652
|
var tmp0 = limit - offset_0 | 0;
|
|
653
653
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
654
|
-
var b = 8192 - tail.
|
|
654
|
+
var b = 8192 - tail.g4m_1 | 0;
|
|
655
655
|
var toCopy = Math.min(tmp0, b);
|
|
656
|
-
var tmp2 = tail.
|
|
657
|
-
var tmp4 = tail.
|
|
656
|
+
var tmp2 = tail.e4m_1;
|
|
657
|
+
var tmp4 = tail.g4m_1;
|
|
658
658
|
var tmp6 = offset_0;
|
|
659
659
|
// Inline function 'kotlin.collections.copyInto' call
|
|
660
660
|
var endIndex = offset_0 + toCopy | 0;
|
|
@@ -665,53 +665,53 @@ function Buffer() {
|
|
|
665
665
|
// Inline function 'kotlin.js.asDynamic' call
|
|
666
666
|
arrayCopy(tmp, tmp2, tmp4, tmp6, endIndex);
|
|
667
667
|
offset_0 = offset_0 + toCopy | 0;
|
|
668
|
-
tail.
|
|
668
|
+
tail.g4m_1 = tail.g4m_1 + toCopy | 0;
|
|
669
669
|
}
|
|
670
|
-
this.
|
|
670
|
+
this.q4l_1 = add(this.q4l_1, fromInt(byteCount));
|
|
671
671
|
return this;
|
|
672
672
|
}
|
|
673
|
-
|
|
673
|
+
v4l(source) {
|
|
674
674
|
// Inline function 'okio.internal.commonWriteAll' call
|
|
675
675
|
var totalBytesRead = new (Long())(0, 0);
|
|
676
676
|
$l$loop: while (true) {
|
|
677
|
-
var readCount = source.
|
|
677
|
+
var readCount = source.h4n(this, new (Long())(8192, 0));
|
|
678
678
|
if (equalsLong(readCount, new (Long())(-1, -1)))
|
|
679
679
|
break $l$loop;
|
|
680
680
|
totalBytesRead = add(totalBytesRead, readCount);
|
|
681
681
|
}
|
|
682
682
|
return totalBytesRead;
|
|
683
683
|
}
|
|
684
|
-
|
|
684
|
+
u4p(b) {
|
|
685
685
|
// Inline function 'okio.internal.commonWriteByte' call
|
|
686
|
-
var tail = this.
|
|
687
|
-
var
|
|
688
|
-
tail.
|
|
689
|
-
tail.
|
|
690
|
-
this.
|
|
686
|
+
var tail = this.r4p(1);
|
|
687
|
+
var _unary__edvuaz = tail.g4m_1;
|
|
688
|
+
tail.g4m_1 = _unary__edvuaz + 1 | 0;
|
|
689
|
+
tail.e4m_1[_unary__edvuaz] = toByte(b);
|
|
690
|
+
this.q4l_1 = add(this.q4l_1, new (Long())(1, 0));
|
|
691
691
|
return this;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
u4l(i) {
|
|
694
694
|
// Inline function 'okio.internal.commonWriteInt' call
|
|
695
|
-
var tail = this.
|
|
696
|
-
var data = tail.
|
|
697
|
-
var limit = tail.
|
|
698
|
-
var
|
|
699
|
-
limit =
|
|
700
|
-
data[
|
|
701
|
-
var
|
|
702
|
-
limit =
|
|
703
|
-
data[
|
|
704
|
-
var
|
|
705
|
-
limit =
|
|
706
|
-
data[
|
|
707
|
-
var
|
|
708
|
-
limit =
|
|
709
|
-
data[
|
|
710
|
-
tail.
|
|
711
|
-
this.
|
|
695
|
+
var tail = this.r4p(4);
|
|
696
|
+
var data = tail.e4m_1;
|
|
697
|
+
var limit = tail.g4m_1;
|
|
698
|
+
var _unary__edvuaz = limit;
|
|
699
|
+
limit = _unary__edvuaz + 1 | 0;
|
|
700
|
+
data[_unary__edvuaz] = toByte((i >>> 24 | 0) & 255);
|
|
701
|
+
var _unary__edvuaz_0 = limit;
|
|
702
|
+
limit = _unary__edvuaz_0 + 1 | 0;
|
|
703
|
+
data[_unary__edvuaz_0] = toByte((i >>> 16 | 0) & 255);
|
|
704
|
+
var _unary__edvuaz_1 = limit;
|
|
705
|
+
limit = _unary__edvuaz_1 + 1 | 0;
|
|
706
|
+
data[_unary__edvuaz_1] = toByte((i >>> 8 | 0) & 255);
|
|
707
|
+
var _unary__edvuaz_2 = limit;
|
|
708
|
+
limit = _unary__edvuaz_2 + 1 | 0;
|
|
709
|
+
data[_unary__edvuaz_2] = toByte(i & 255);
|
|
710
|
+
tail.g4m_1 = limit;
|
|
711
|
+
this.q4l_1 = add(this.q4l_1, new (Long())(4, 0));
|
|
712
712
|
return this;
|
|
713
713
|
}
|
|
714
|
-
|
|
714
|
+
o4l(source, byteCount) {
|
|
715
715
|
var tmp$ret$0;
|
|
716
716
|
$l$block: {
|
|
717
717
|
// Inline function 'okio.internal.commonWrite' call
|
|
@@ -721,54 +721,54 @@ function Buffer() {
|
|
|
721
721
|
var message = 'source == this';
|
|
722
722
|
throw IllegalArgumentException().m2(toString(message));
|
|
723
723
|
}
|
|
724
|
-
checkOffsetAndCount(source.
|
|
724
|
+
checkOffsetAndCount(source.q4l_1, new (Long())(0, 0), byteCount_0);
|
|
725
725
|
while (compare(byteCount_0, new (Long())(0, 0)) > 0) {
|
|
726
|
-
if (compare(byteCount_0, fromInt(ensureNotNull(source.
|
|
727
|
-
var tail = !(this.
|
|
726
|
+
if (compare(byteCount_0, fromInt(ensureNotNull(source.p4l_1).g4m_1 - ensureNotNull(source.p4l_1).f4m_1 | 0)) < 0) {
|
|
727
|
+
var tail = !(this.p4l_1 == null) ? ensureNotNull(this.p4l_1).k4m_1 : null;
|
|
728
728
|
var tmp;
|
|
729
|
-
if (!(tail == null) && tail.
|
|
729
|
+
if (!(tail == null) && tail.i4m_1) {
|
|
730
730
|
var tmp0 = byteCount_0;
|
|
731
731
|
// Inline function 'kotlin.Long.plus' call
|
|
732
|
-
var other = tail.
|
|
732
|
+
var other = tail.g4m_1;
|
|
733
733
|
var tmp0_0 = add(tmp0, fromInt(other));
|
|
734
734
|
// Inline function 'kotlin.Long.minus' call
|
|
735
|
-
var other_0 = tail.
|
|
735
|
+
var other_0 = tail.h4m_1 ? 0 : tail.f4m_1;
|
|
736
736
|
var tmp$ret$4 = subtract(tmp0_0, fromInt(other_0));
|
|
737
737
|
tmp = compare(tmp$ret$4, new (Long())(8192, 0)) <= 0;
|
|
738
738
|
} else {
|
|
739
739
|
tmp = false;
|
|
740
740
|
}
|
|
741
741
|
if (tmp) {
|
|
742
|
-
ensureNotNull(source.
|
|
743
|
-
source.
|
|
744
|
-
this.
|
|
742
|
+
ensureNotNull(source.p4l_1).u4m(tail, convertToInt(byteCount_0));
|
|
743
|
+
source.q4l_1 = subtract(source.q4l_1, byteCount_0);
|
|
744
|
+
this.q4l_1 = add(this.q4l_1, byteCount_0);
|
|
745
745
|
tmp$ret$0 = Unit_instance;
|
|
746
746
|
break $l$block;
|
|
747
747
|
} else {
|
|
748
|
-
source.
|
|
748
|
+
source.p4l_1 = ensureNotNull(source.p4l_1).q4m(convertToInt(byteCount_0));
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
var segmentToMove = source.
|
|
752
|
-
var movedByteCount = fromInt(ensureNotNull(segmentToMove).
|
|
753
|
-
source.
|
|
754
|
-
if (this.
|
|
755
|
-
this.
|
|
756
|
-
segmentToMove.
|
|
757
|
-
segmentToMove.
|
|
751
|
+
var segmentToMove = source.p4l_1;
|
|
752
|
+
var movedByteCount = fromInt(ensureNotNull(segmentToMove).g4m_1 - segmentToMove.f4m_1 | 0);
|
|
753
|
+
source.p4l_1 = segmentToMove.o4m();
|
|
754
|
+
if (this.p4l_1 == null) {
|
|
755
|
+
this.p4l_1 = segmentToMove;
|
|
756
|
+
segmentToMove.k4m_1 = segmentToMove;
|
|
757
|
+
segmentToMove.j4m_1 = segmentToMove.k4m_1;
|
|
758
758
|
} else {
|
|
759
|
-
var tail_0 = ensureNotNull(this.
|
|
760
|
-
tail_0 = ensureNotNull(tail_0).
|
|
761
|
-
tail_0.
|
|
759
|
+
var tail_0 = ensureNotNull(this.p4l_1).k4m_1;
|
|
760
|
+
tail_0 = ensureNotNull(tail_0).p4m(segmentToMove);
|
|
761
|
+
tail_0.t4m();
|
|
762
762
|
}
|
|
763
|
-
source.
|
|
764
|
-
this.
|
|
763
|
+
source.q4l_1 = subtract(source.q4l_1, movedByteCount);
|
|
764
|
+
this.q4l_1 = add(this.q4l_1, movedByteCount);
|
|
765
765
|
byteCount_0 = subtract(byteCount_0, movedByteCount);
|
|
766
766
|
}
|
|
767
767
|
tmp$ret$0 = Unit_instance;
|
|
768
768
|
}
|
|
769
769
|
return tmp$ret$0;
|
|
770
770
|
}
|
|
771
|
-
|
|
771
|
+
h4n(sink, byteCount) {
|
|
772
772
|
var tmp$ret$0;
|
|
773
773
|
$l$block: {
|
|
774
774
|
// Inline function 'okio.internal.commonRead' call
|
|
@@ -778,18 +778,18 @@ function Buffer() {
|
|
|
778
778
|
var message = 'byteCount < 0: ' + byteCount_0.toString();
|
|
779
779
|
throw IllegalArgumentException().m2(toString(message));
|
|
780
780
|
}
|
|
781
|
-
if (equalsLong(this.
|
|
781
|
+
if (equalsLong(this.q4l_1, new (Long())(0, 0))) {
|
|
782
782
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
783
783
|
break $l$block;
|
|
784
784
|
}
|
|
785
|
-
if (compare(byteCount_0, this.
|
|
786
|
-
byteCount_0 = this.
|
|
787
|
-
sink.
|
|
785
|
+
if (compare(byteCount_0, this.q4l_1) > 0)
|
|
786
|
+
byteCount_0 = this.q4l_1;
|
|
787
|
+
sink.o4l(this, byteCount_0);
|
|
788
788
|
tmp$ret$0 = byteCount_0;
|
|
789
789
|
}
|
|
790
790
|
return tmp$ret$0;
|
|
791
791
|
}
|
|
792
|
-
|
|
792
|
+
l4p(b, fromIndex, toIndex) {
|
|
793
793
|
var tmp$ret$0;
|
|
794
794
|
$l$block_10: {
|
|
795
795
|
// Inline function 'okio.internal.commonIndexOf' call
|
|
@@ -797,11 +797,11 @@ function Buffer() {
|
|
|
797
797
|
var toIndex_0 = toIndex;
|
|
798
798
|
// Inline function 'kotlin.require' call
|
|
799
799
|
if (!(compare(new (Long())(0, 0), fromIndex_0) <= 0 ? compare(fromIndex_0, toIndex_0) <= 0 : false)) {
|
|
800
|
-
var message = 'size=' + this.
|
|
800
|
+
var message = 'size=' + this.q4l_1.toString() + ' fromIndex=' + fromIndex_0.toString() + ' toIndex=' + toIndex_0.toString();
|
|
801
801
|
throw IllegalArgumentException().m2(toString(message));
|
|
802
802
|
}
|
|
803
|
-
if (compare(toIndex_0, this.
|
|
804
|
-
toIndex_0 = this.
|
|
803
|
+
if (compare(toIndex_0, this.q4l_1) > 0)
|
|
804
|
+
toIndex_0 = this.q4l_1;
|
|
805
805
|
if (equalsLong(fromIndex_0, toIndex_0)) {
|
|
806
806
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
807
807
|
break $l$block_10;
|
|
@@ -809,7 +809,7 @@ function Buffer() {
|
|
|
809
809
|
var tmp2 = fromIndex_0;
|
|
810
810
|
$l$block_11: {
|
|
811
811
|
// Inline function 'okio.internal.seek' call
|
|
812
|
-
var tmp0_elvis_lhs = this.
|
|
812
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
813
813
|
var tmp;
|
|
814
814
|
if (tmp0_elvis_lhs == null) {
|
|
815
815
|
var offset = new (Long())(-1, -1);
|
|
@@ -823,23 +823,23 @@ function Buffer() {
|
|
|
823
823
|
var s = tmp_0;
|
|
824
824
|
var offset_0 = offset;
|
|
825
825
|
while (compare(offset_0, toIndex_0) < 0) {
|
|
826
|
-
var data = s.
|
|
827
|
-
var tmp0 = fromInt(s.
|
|
826
|
+
var data = s.e4m_1;
|
|
827
|
+
var tmp0 = fromInt(s.g4m_1);
|
|
828
828
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
829
|
-
var b_0 = subtract(add(numberToLong(s.
|
|
829
|
+
var b_0 = subtract(add(numberToLong(s.f4m_1), toIndex_0), offset_0);
|
|
830
830
|
var tmp$ret$5 = compare(tmp0, b_0) <= 0 ? tmp0 : b_0;
|
|
831
831
|
var limit = convertToInt(tmp$ret$5);
|
|
832
|
-
var pos = convertToInt(subtract(add(numberToLong(s.
|
|
832
|
+
var pos = convertToInt(subtract(add(numberToLong(s.f4m_1), fromIndex_0), offset_0));
|
|
833
833
|
while (pos < limit) {
|
|
834
834
|
if (data[pos] === b) {
|
|
835
|
-
tmp$ret$0 = add(numberToLong(pos - s.
|
|
835
|
+
tmp$ret$0 = add(numberToLong(pos - s.f4m_1 | 0), offset_0);
|
|
836
836
|
break $l$block_10;
|
|
837
837
|
}
|
|
838
838
|
pos = pos + 1 | 0;
|
|
839
839
|
}
|
|
840
|
-
offset_0 = add(offset_0, fromInt(s.
|
|
840
|
+
offset_0 = add(offset_0, fromInt(s.g4m_1 - s.f4m_1 | 0));
|
|
841
841
|
fromIndex_0 = offset_0;
|
|
842
|
-
s = ensureNotNull(s.
|
|
842
|
+
s = ensureNotNull(s.j4m_1);
|
|
843
843
|
}
|
|
844
844
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
845
845
|
break $l$block_10;
|
|
@@ -847,11 +847,11 @@ function Buffer() {
|
|
|
847
847
|
tmp = tmp0_elvis_lhs;
|
|
848
848
|
}
|
|
849
849
|
var s_0 = tmp;
|
|
850
|
-
if (compare(subtract(this.
|
|
851
|
-
var offset_1 = this.
|
|
850
|
+
if (compare(subtract(this.q4l_1, tmp2), tmp2) < 0) {
|
|
851
|
+
var offset_1 = this.q4l_1;
|
|
852
852
|
while (compare(offset_1, tmp2) > 0) {
|
|
853
|
-
s_0 = ensureNotNull(s_0.
|
|
854
|
-
offset_1 = subtract(offset_1, fromInt(s_0.
|
|
853
|
+
s_0 = ensureNotNull(s_0.k4m_1);
|
|
854
|
+
offset_1 = subtract(offset_1, fromInt(s_0.g4m_1 - s_0.f4m_1 | 0));
|
|
855
855
|
}
|
|
856
856
|
var tmp0_0 = s_0;
|
|
857
857
|
var offset_2 = offset_1;
|
|
@@ -865,23 +865,23 @@ function Buffer() {
|
|
|
865
865
|
var s_1 = tmp_1;
|
|
866
866
|
var offset_3 = offset_2;
|
|
867
867
|
while (compare(offset_3, toIndex_0) < 0) {
|
|
868
|
-
var data_0 = s_1.
|
|
869
|
-
var tmp0_1 = fromInt(s_1.
|
|
868
|
+
var data_0 = s_1.e4m_1;
|
|
869
|
+
var tmp0_1 = fromInt(s_1.g4m_1);
|
|
870
870
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
871
|
-
var b_1 = subtract(add(numberToLong(s_1.
|
|
871
|
+
var b_1 = subtract(add(numberToLong(s_1.f4m_1), toIndex_0), offset_3);
|
|
872
872
|
var tmp$ret$7 = compare(tmp0_1, b_1) <= 0 ? tmp0_1 : b_1;
|
|
873
873
|
var limit_0 = convertToInt(tmp$ret$7);
|
|
874
|
-
var pos_0 = convertToInt(subtract(add(numberToLong(s_1.
|
|
874
|
+
var pos_0 = convertToInt(subtract(add(numberToLong(s_1.f4m_1), fromIndex_0), offset_3));
|
|
875
875
|
while (pos_0 < limit_0) {
|
|
876
876
|
if (data_0[pos_0] === b) {
|
|
877
|
-
tmp$ret$0 = add(numberToLong(pos_0 - s_1.
|
|
877
|
+
tmp$ret$0 = add(numberToLong(pos_0 - s_1.f4m_1 | 0), offset_3);
|
|
878
878
|
break $l$block_10;
|
|
879
879
|
}
|
|
880
880
|
pos_0 = pos_0 + 1 | 0;
|
|
881
881
|
}
|
|
882
|
-
offset_3 = add(offset_3, fromInt(s_1.
|
|
882
|
+
offset_3 = add(offset_3, fromInt(s_1.g4m_1 - s_1.f4m_1 | 0));
|
|
883
883
|
fromIndex_0 = offset_3;
|
|
884
|
-
s_1 = ensureNotNull(s_1.
|
|
884
|
+
s_1 = ensureNotNull(s_1.j4m_1);
|
|
885
885
|
}
|
|
886
886
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
887
887
|
break $l$block_10;
|
|
@@ -890,11 +890,11 @@ function Buffer() {
|
|
|
890
890
|
$l$loop: while (true) {
|
|
891
891
|
var tmp0_2 = offset_4;
|
|
892
892
|
// Inline function 'kotlin.Long.plus' call
|
|
893
|
-
var other = s_0.
|
|
893
|
+
var other = s_0.g4m_1 - s_0.f4m_1 | 0;
|
|
894
894
|
var nextOffset = add(tmp0_2, fromInt(other));
|
|
895
895
|
if (compare(nextOffset, tmp2) > 0)
|
|
896
896
|
break $l$loop;
|
|
897
|
-
s_0 = ensureNotNull(s_0.
|
|
897
|
+
s_0 = ensureNotNull(s_0.j4m_1);
|
|
898
898
|
offset_4 = nextOffset;
|
|
899
899
|
}
|
|
900
900
|
var tmp0_3 = s_0;
|
|
@@ -909,23 +909,23 @@ function Buffer() {
|
|
|
909
909
|
var s_2 = tmp_2;
|
|
910
910
|
var offset_6 = offset_5;
|
|
911
911
|
while (compare(offset_6, toIndex_0) < 0) {
|
|
912
|
-
var data_1 = s_2.
|
|
913
|
-
var tmp0_4 = fromInt(s_2.
|
|
912
|
+
var data_1 = s_2.e4m_1;
|
|
913
|
+
var tmp0_4 = fromInt(s_2.g4m_1);
|
|
914
914
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
915
|
-
var b_2 = subtract(add(numberToLong(s_2.
|
|
915
|
+
var b_2 = subtract(add(numberToLong(s_2.f4m_1), toIndex_0), offset_6);
|
|
916
916
|
var tmp$ret$10 = compare(tmp0_4, b_2) <= 0 ? tmp0_4 : b_2;
|
|
917
917
|
var limit_1 = convertToInt(tmp$ret$10);
|
|
918
|
-
var pos_1 = convertToInt(subtract(add(numberToLong(s_2.
|
|
918
|
+
var pos_1 = convertToInt(subtract(add(numberToLong(s_2.f4m_1), fromIndex_0), offset_6));
|
|
919
919
|
while (pos_1 < limit_1) {
|
|
920
920
|
if (data_1[pos_1] === b) {
|
|
921
|
-
tmp$ret$0 = add(numberToLong(pos_1 - s_2.
|
|
921
|
+
tmp$ret$0 = add(numberToLong(pos_1 - s_2.f4m_1 | 0), offset_6);
|
|
922
922
|
break $l$block_10;
|
|
923
923
|
}
|
|
924
924
|
pos_1 = pos_1 + 1 | 0;
|
|
925
925
|
}
|
|
926
|
-
offset_6 = add(offset_6, fromInt(s_2.
|
|
926
|
+
offset_6 = add(offset_6, fromInt(s_2.g4m_1 - s_2.f4m_1 | 0));
|
|
927
927
|
fromIndex_0 = offset_6;
|
|
928
|
-
s_2 = ensureNotNull(s_2.
|
|
928
|
+
s_2 = ensureNotNull(s_2.j4m_1);
|
|
929
929
|
}
|
|
930
930
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
931
931
|
break $l$block_10;
|
|
@@ -934,192 +934,19 @@ function Buffer() {
|
|
|
934
934
|
}
|
|
935
935
|
return tmp$ret$0;
|
|
936
936
|
}
|
|
937
|
-
|
|
938
|
-
return this.
|
|
937
|
+
w4p(bytes) {
|
|
938
|
+
return this.x4p(bytes, new (Long())(0, 0));
|
|
939
939
|
}
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
// Inline function 'kotlin.require' call
|
|
946
|
-
if (!(bytes.q2() > 0)) {
|
|
947
|
-
var message = 'bytes is empty';
|
|
948
|
-
throw IllegalArgumentException().m2(toString(message));
|
|
949
|
-
}
|
|
950
|
-
// Inline function 'kotlin.require' call
|
|
951
|
-
if (!(compare(fromIndex_0, new (Long())(0, 0)) >= 0)) {
|
|
952
|
-
var message_0 = 'fromIndex < 0: ' + fromIndex_0.toString();
|
|
953
|
-
throw IllegalArgumentException().m2(toString(message_0));
|
|
954
|
-
}
|
|
955
|
-
var tmp2 = fromIndex_0;
|
|
956
|
-
$l$block_10: {
|
|
957
|
-
// Inline function 'okio.internal.seek' call
|
|
958
|
-
var tmp0_elvis_lhs = this.a4k_1;
|
|
959
|
-
var tmp;
|
|
960
|
-
if (tmp0_elvis_lhs == null) {
|
|
961
|
-
var offset = new (Long())(-1, -1);
|
|
962
|
-
var tmp_0;
|
|
963
|
-
if (null == null) {
|
|
964
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
965
|
-
break $l$block_9;
|
|
966
|
-
} else {
|
|
967
|
-
tmp_0 = null;
|
|
968
|
-
}
|
|
969
|
-
var s = tmp_0;
|
|
970
|
-
var offset_0 = offset;
|
|
971
|
-
var targetByteArray = bytes.y4l();
|
|
972
|
-
var b0 = targetByteArray[0];
|
|
973
|
-
var bytesSize = bytes.q2();
|
|
974
|
-
// Inline function 'kotlin.Long.minus' call
|
|
975
|
-
var this_0 = this.b4k_1;
|
|
976
|
-
var tmp$ret$7 = subtract(this_0, fromInt(bytesSize));
|
|
977
|
-
var resultLimit = add(tmp$ret$7, new (Long())(1, 0));
|
|
978
|
-
while (compare(offset_0, resultLimit) < 0) {
|
|
979
|
-
var data = s.p4k_1;
|
|
980
|
-
var tmp0 = s.r4k_1;
|
|
981
|
-
// Inline function 'okio.minOf' call
|
|
982
|
-
var b = subtract(add(numberToLong(s.q4k_1), resultLimit), offset_0);
|
|
983
|
-
// Inline function 'kotlin.comparisons.minOf' call
|
|
984
|
-
var a = fromInt(tmp0);
|
|
985
|
-
var tmp$ret$8 = compare(a, b) <= 0 ? a : b;
|
|
986
|
-
var segmentLimit = convertToInt(tmp$ret$8);
|
|
987
|
-
var inductionVariable = convertToInt(subtract(add(numberToLong(s.q4k_1), fromIndex_0), offset_0));
|
|
988
|
-
if (inductionVariable < segmentLimit)
|
|
989
|
-
do {
|
|
990
|
-
var pos = inductionVariable;
|
|
991
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
992
|
-
if (data[pos] === b0 && rangeEquals(s, pos + 1 | 0, targetByteArray, 1, bytesSize)) {
|
|
993
|
-
tmp$ret$0 = add(numberToLong(pos - s.q4k_1 | 0), offset_0);
|
|
994
|
-
break $l$block_9;
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
while (inductionVariable < segmentLimit);
|
|
998
|
-
offset_0 = add(offset_0, fromInt(s.r4k_1 - s.q4k_1 | 0));
|
|
999
|
-
fromIndex_0 = offset_0;
|
|
1000
|
-
s = ensureNotNull(s.u4k_1);
|
|
1001
|
-
}
|
|
1002
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
1003
|
-
break $l$block_9;
|
|
1004
|
-
} else {
|
|
1005
|
-
tmp = tmp0_elvis_lhs;
|
|
1006
|
-
}
|
|
1007
|
-
var s_0 = tmp;
|
|
1008
|
-
if (compare(subtract(this.b4k_1, tmp2), tmp2) < 0) {
|
|
1009
|
-
var offset_1 = this.b4k_1;
|
|
1010
|
-
while (compare(offset_1, tmp2) > 0) {
|
|
1011
|
-
s_0 = ensureNotNull(s_0.v4k_1);
|
|
1012
|
-
offset_1 = subtract(offset_1, fromInt(s_0.r4k_1 - s_0.q4k_1 | 0));
|
|
1013
|
-
}
|
|
1014
|
-
var tmp0_0 = s_0;
|
|
1015
|
-
var offset_2 = offset_1;
|
|
1016
|
-
var tmp_1;
|
|
1017
|
-
if (tmp0_0 == null) {
|
|
1018
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
1019
|
-
break $l$block_9;
|
|
1020
|
-
} else {
|
|
1021
|
-
tmp_1 = tmp0_0;
|
|
1022
|
-
}
|
|
1023
|
-
var s_1 = tmp_1;
|
|
1024
|
-
var offset_3 = offset_2;
|
|
1025
|
-
var targetByteArray_0 = bytes.y4l();
|
|
1026
|
-
var b0_0 = targetByteArray_0[0];
|
|
1027
|
-
var bytesSize_0 = bytes.q2();
|
|
1028
|
-
// Inline function 'kotlin.Long.minus' call
|
|
1029
|
-
var this_1 = this.b4k_1;
|
|
1030
|
-
var tmp$ret$11 = subtract(this_1, fromInt(bytesSize_0));
|
|
1031
|
-
var resultLimit_0 = add(tmp$ret$11, new (Long())(1, 0));
|
|
1032
|
-
while (compare(offset_3, resultLimit_0) < 0) {
|
|
1033
|
-
var data_0 = s_1.p4k_1;
|
|
1034
|
-
var tmp0_1 = s_1.r4k_1;
|
|
1035
|
-
// Inline function 'okio.minOf' call
|
|
1036
|
-
var b_0 = subtract(add(numberToLong(s_1.q4k_1), resultLimit_0), offset_3);
|
|
1037
|
-
// Inline function 'kotlin.comparisons.minOf' call
|
|
1038
|
-
var a_0 = fromInt(tmp0_1);
|
|
1039
|
-
var tmp$ret$12 = compare(a_0, b_0) <= 0 ? a_0 : b_0;
|
|
1040
|
-
var segmentLimit_0 = convertToInt(tmp$ret$12);
|
|
1041
|
-
var inductionVariable_0 = convertToInt(subtract(add(numberToLong(s_1.q4k_1), fromIndex_0), offset_3));
|
|
1042
|
-
if (inductionVariable_0 < segmentLimit_0)
|
|
1043
|
-
do {
|
|
1044
|
-
var pos_0 = inductionVariable_0;
|
|
1045
|
-
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1046
|
-
if (data_0[pos_0] === b0_0 && rangeEquals(s_1, pos_0 + 1 | 0, targetByteArray_0, 1, bytesSize_0)) {
|
|
1047
|
-
tmp$ret$0 = add(numberToLong(pos_0 - s_1.q4k_1 | 0), offset_3);
|
|
1048
|
-
break $l$block_9;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
while (inductionVariable_0 < segmentLimit_0);
|
|
1052
|
-
offset_3 = add(offset_3, fromInt(s_1.r4k_1 - s_1.q4k_1 | 0));
|
|
1053
|
-
fromIndex_0 = offset_3;
|
|
1054
|
-
s_1 = ensureNotNull(s_1.u4k_1);
|
|
1055
|
-
}
|
|
1056
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
1057
|
-
break $l$block_9;
|
|
1058
|
-
} else {
|
|
1059
|
-
var offset_4 = new (Long())(0, 0);
|
|
1060
|
-
$l$loop: while (true) {
|
|
1061
|
-
var tmp0_2 = offset_4;
|
|
1062
|
-
// Inline function 'kotlin.Long.plus' call
|
|
1063
|
-
var other = s_0.r4k_1 - s_0.q4k_1 | 0;
|
|
1064
|
-
var nextOffset = add(tmp0_2, fromInt(other));
|
|
1065
|
-
if (compare(nextOffset, tmp2) > 0)
|
|
1066
|
-
break $l$loop;
|
|
1067
|
-
s_0 = ensureNotNull(s_0.u4k_1);
|
|
1068
|
-
offset_4 = nextOffset;
|
|
1069
|
-
}
|
|
1070
|
-
var tmp0_3 = s_0;
|
|
1071
|
-
var offset_5 = offset_4;
|
|
1072
|
-
var tmp_2;
|
|
1073
|
-
if (tmp0_3 == null) {
|
|
1074
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
1075
|
-
break $l$block_9;
|
|
1076
|
-
} else {
|
|
1077
|
-
tmp_2 = tmp0_3;
|
|
1078
|
-
}
|
|
1079
|
-
var s_2 = tmp_2;
|
|
1080
|
-
var offset_6 = offset_5;
|
|
1081
|
-
var targetByteArray_1 = bytes.y4l();
|
|
1082
|
-
var b0_1 = targetByteArray_1[0];
|
|
1083
|
-
var bytesSize_1 = bytes.q2();
|
|
1084
|
-
// Inline function 'kotlin.Long.minus' call
|
|
1085
|
-
var this_2 = this.b4k_1;
|
|
1086
|
-
var tmp$ret$16 = subtract(this_2, fromInt(bytesSize_1));
|
|
1087
|
-
var resultLimit_1 = add(tmp$ret$16, new (Long())(1, 0));
|
|
1088
|
-
while (compare(offset_6, resultLimit_1) < 0) {
|
|
1089
|
-
var data_1 = s_2.p4k_1;
|
|
1090
|
-
var tmp0_4 = s_2.r4k_1;
|
|
1091
|
-
// Inline function 'okio.minOf' call
|
|
1092
|
-
var b_1 = subtract(add(numberToLong(s_2.q4k_1), resultLimit_1), offset_6);
|
|
1093
|
-
// Inline function 'kotlin.comparisons.minOf' call
|
|
1094
|
-
var a_1 = fromInt(tmp0_4);
|
|
1095
|
-
var tmp$ret$17 = compare(a_1, b_1) <= 0 ? a_1 : b_1;
|
|
1096
|
-
var segmentLimit_1 = convertToInt(tmp$ret$17);
|
|
1097
|
-
var inductionVariable_1 = convertToInt(subtract(add(numberToLong(s_2.q4k_1), fromIndex_0), offset_6));
|
|
1098
|
-
if (inductionVariable_1 < segmentLimit_1)
|
|
1099
|
-
do {
|
|
1100
|
-
var pos_1 = inductionVariable_1;
|
|
1101
|
-
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
1102
|
-
if (data_1[pos_1] === b0_1 && rangeEquals(s_2, pos_1 + 1 | 0, targetByteArray_1, 1, bytesSize_1)) {
|
|
1103
|
-
tmp$ret$0 = add(numberToLong(pos_1 - s_2.q4k_1 | 0), offset_6);
|
|
1104
|
-
break $l$block_9;
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
while (inductionVariable_1 < segmentLimit_1);
|
|
1108
|
-
offset_6 = add(offset_6, fromInt(s_2.r4k_1 - s_2.q4k_1 | 0));
|
|
1109
|
-
fromIndex_0 = offset_6;
|
|
1110
|
-
s_2 = ensureNotNull(s_2.u4k_1);
|
|
1111
|
-
}
|
|
1112
|
-
tmp$ret$0 = new (Long())(-1, -1);
|
|
1113
|
-
break $l$block_9;
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
return tmp$ret$0;
|
|
940
|
+
x4p(bytes, fromIndex) {
|
|
941
|
+
return this.y4p(bytes, fromIndex, new (Long())(-1, 2147483647));
|
|
942
|
+
}
|
|
943
|
+
y4p(bytes, fromIndex, toIndex) {
|
|
944
|
+
return commonIndexOf(this, bytes, fromIndex, toIndex);
|
|
1118
945
|
}
|
|
1119
|
-
|
|
1120
|
-
return this.
|
|
946
|
+
z4p(targetBytes) {
|
|
947
|
+
return this.a4q(targetBytes, new (Long())(0, 0));
|
|
1121
948
|
}
|
|
1122
|
-
|
|
949
|
+
a4q(targetBytes, fromIndex) {
|
|
1123
950
|
var tmp$ret$0;
|
|
1124
951
|
$l$block_12: {
|
|
1125
952
|
// Inline function 'okio.internal.commonIndexOfElement' call
|
|
@@ -1132,7 +959,7 @@ function Buffer() {
|
|
|
1132
959
|
var tmp2 = fromIndex_0;
|
|
1133
960
|
$l$block_13: {
|
|
1134
961
|
// Inline function 'okio.internal.seek' call
|
|
1135
|
-
var tmp0_elvis_lhs = this.
|
|
962
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
1136
963
|
var tmp;
|
|
1137
964
|
if (tmp0_elvis_lhs == null) {
|
|
1138
965
|
var offset = new (Long())(-1, -1);
|
|
@@ -1148,28 +975,28 @@ function Buffer() {
|
|
|
1148
975
|
if (targetBytes.q2() === 2) {
|
|
1149
976
|
var b0 = targetBytes.p2(0);
|
|
1150
977
|
var b1 = targetBytes.p2(1);
|
|
1151
|
-
while (compare(offset_0, this.
|
|
1152
|
-
var data = s.
|
|
1153
|
-
var pos = convertToInt(subtract(add(numberToLong(s.
|
|
1154
|
-
var limit = s.
|
|
978
|
+
while (compare(offset_0, this.q4l_1) < 0) {
|
|
979
|
+
var data = s.e4m_1;
|
|
980
|
+
var pos = convertToInt(subtract(add(numberToLong(s.f4m_1), fromIndex_0), offset_0));
|
|
981
|
+
var limit = s.g4m_1;
|
|
1155
982
|
while (pos < limit) {
|
|
1156
983
|
var b = data[pos];
|
|
1157
984
|
if (b === b0 || b === b1) {
|
|
1158
|
-
tmp$ret$0 = add(numberToLong(pos - s.
|
|
985
|
+
tmp$ret$0 = add(numberToLong(pos - s.f4m_1 | 0), offset_0);
|
|
1159
986
|
break $l$block_12;
|
|
1160
987
|
}
|
|
1161
988
|
pos = pos + 1 | 0;
|
|
1162
989
|
}
|
|
1163
|
-
offset_0 = add(offset_0, fromInt(s.
|
|
990
|
+
offset_0 = add(offset_0, fromInt(s.g4m_1 - s.f4m_1 | 0));
|
|
1164
991
|
fromIndex_0 = offset_0;
|
|
1165
|
-
s = ensureNotNull(s.
|
|
992
|
+
s = ensureNotNull(s.j4m_1);
|
|
1166
993
|
}
|
|
1167
994
|
} else {
|
|
1168
|
-
var targetByteArray = targetBytes.
|
|
1169
|
-
while (compare(offset_0, this.
|
|
1170
|
-
var data_0 = s.
|
|
1171
|
-
var pos_0 = convertToInt(subtract(add(numberToLong(s.
|
|
1172
|
-
var limit_0 = s.
|
|
995
|
+
var targetByteArray = targetBytes.b4n();
|
|
996
|
+
while (compare(offset_0, this.q4l_1) < 0) {
|
|
997
|
+
var data_0 = s.e4m_1;
|
|
998
|
+
var pos_0 = convertToInt(subtract(add(numberToLong(s.f4m_1), fromIndex_0), offset_0));
|
|
999
|
+
var limit_0 = s.g4m_1;
|
|
1173
1000
|
while (pos_0 < limit_0) {
|
|
1174
1001
|
var b_0 = data_0[pos_0];
|
|
1175
1002
|
var inductionVariable = 0;
|
|
@@ -1178,15 +1005,15 @@ function Buffer() {
|
|
|
1178
1005
|
var t = targetByteArray[inductionVariable];
|
|
1179
1006
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1180
1007
|
if (b_0 === t) {
|
|
1181
|
-
tmp$ret$0 = add(numberToLong(pos_0 - s.
|
|
1008
|
+
tmp$ret$0 = add(numberToLong(pos_0 - s.f4m_1 | 0), offset_0);
|
|
1182
1009
|
break $l$block_12;
|
|
1183
1010
|
}
|
|
1184
1011
|
}
|
|
1185
1012
|
pos_0 = pos_0 + 1 | 0;
|
|
1186
1013
|
}
|
|
1187
|
-
offset_0 = add(offset_0, fromInt(s.
|
|
1014
|
+
offset_0 = add(offset_0, fromInt(s.g4m_1 - s.f4m_1 | 0));
|
|
1188
1015
|
fromIndex_0 = offset_0;
|
|
1189
|
-
s = ensureNotNull(s.
|
|
1016
|
+
s = ensureNotNull(s.j4m_1);
|
|
1190
1017
|
}
|
|
1191
1018
|
}
|
|
1192
1019
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
@@ -1195,11 +1022,11 @@ function Buffer() {
|
|
|
1195
1022
|
tmp = tmp0_elvis_lhs;
|
|
1196
1023
|
}
|
|
1197
1024
|
var s_0 = tmp;
|
|
1198
|
-
if (compare(subtract(this.
|
|
1199
|
-
var offset_1 = this.
|
|
1025
|
+
if (compare(subtract(this.q4l_1, tmp2), tmp2) < 0) {
|
|
1026
|
+
var offset_1 = this.q4l_1;
|
|
1200
1027
|
while (compare(offset_1, tmp2) > 0) {
|
|
1201
|
-
s_0 = ensureNotNull(s_0.
|
|
1202
|
-
offset_1 = subtract(offset_1, fromInt(s_0.
|
|
1028
|
+
s_0 = ensureNotNull(s_0.k4m_1);
|
|
1029
|
+
offset_1 = subtract(offset_1, fromInt(s_0.g4m_1 - s_0.f4m_1 | 0));
|
|
1203
1030
|
}
|
|
1204
1031
|
var tmp0 = s_0;
|
|
1205
1032
|
var offset_2 = offset_1;
|
|
@@ -1215,28 +1042,28 @@ function Buffer() {
|
|
|
1215
1042
|
if (targetBytes.q2() === 2) {
|
|
1216
1043
|
var b0_0 = targetBytes.p2(0);
|
|
1217
1044
|
var b1_0 = targetBytes.p2(1);
|
|
1218
|
-
while (compare(offset_3, this.
|
|
1219
|
-
var data_1 = s_1.
|
|
1220
|
-
var pos_1 = convertToInt(subtract(add(numberToLong(s_1.
|
|
1221
|
-
var limit_1 = s_1.
|
|
1045
|
+
while (compare(offset_3, this.q4l_1) < 0) {
|
|
1046
|
+
var data_1 = s_1.e4m_1;
|
|
1047
|
+
var pos_1 = convertToInt(subtract(add(numberToLong(s_1.f4m_1), fromIndex_0), offset_3));
|
|
1048
|
+
var limit_1 = s_1.g4m_1;
|
|
1222
1049
|
while (pos_1 < limit_1) {
|
|
1223
1050
|
var b_1 = data_1[pos_1];
|
|
1224
1051
|
if (b_1 === b0_0 || b_1 === b1_0) {
|
|
1225
|
-
tmp$ret$0 = add(numberToLong(pos_1 - s_1.
|
|
1052
|
+
tmp$ret$0 = add(numberToLong(pos_1 - s_1.f4m_1 | 0), offset_3);
|
|
1226
1053
|
break $l$block_12;
|
|
1227
1054
|
}
|
|
1228
1055
|
pos_1 = pos_1 + 1 | 0;
|
|
1229
1056
|
}
|
|
1230
|
-
offset_3 = add(offset_3, fromInt(s_1.
|
|
1057
|
+
offset_3 = add(offset_3, fromInt(s_1.g4m_1 - s_1.f4m_1 | 0));
|
|
1231
1058
|
fromIndex_0 = offset_3;
|
|
1232
|
-
s_1 = ensureNotNull(s_1.
|
|
1059
|
+
s_1 = ensureNotNull(s_1.j4m_1);
|
|
1233
1060
|
}
|
|
1234
1061
|
} else {
|
|
1235
|
-
var targetByteArray_0 = targetBytes.
|
|
1236
|
-
while (compare(offset_3, this.
|
|
1237
|
-
var data_2 = s_1.
|
|
1238
|
-
var pos_2 = convertToInt(subtract(add(numberToLong(s_1.
|
|
1239
|
-
var limit_2 = s_1.
|
|
1062
|
+
var targetByteArray_0 = targetBytes.b4n();
|
|
1063
|
+
while (compare(offset_3, this.q4l_1) < 0) {
|
|
1064
|
+
var data_2 = s_1.e4m_1;
|
|
1065
|
+
var pos_2 = convertToInt(subtract(add(numberToLong(s_1.f4m_1), fromIndex_0), offset_3));
|
|
1066
|
+
var limit_2 = s_1.g4m_1;
|
|
1240
1067
|
while (pos_2 < limit_2) {
|
|
1241
1068
|
var b_2 = data_2[pos_2];
|
|
1242
1069
|
var inductionVariable_0 = 0;
|
|
@@ -1245,15 +1072,15 @@ function Buffer() {
|
|
|
1245
1072
|
var t_0 = targetByteArray_0[inductionVariable_0];
|
|
1246
1073
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1247
1074
|
if (b_2 === t_0) {
|
|
1248
|
-
tmp$ret$0 = add(numberToLong(pos_2 - s_1.
|
|
1075
|
+
tmp$ret$0 = add(numberToLong(pos_2 - s_1.f4m_1 | 0), offset_3);
|
|
1249
1076
|
break $l$block_12;
|
|
1250
1077
|
}
|
|
1251
1078
|
}
|
|
1252
1079
|
pos_2 = pos_2 + 1 | 0;
|
|
1253
1080
|
}
|
|
1254
|
-
offset_3 = add(offset_3, fromInt(s_1.
|
|
1081
|
+
offset_3 = add(offset_3, fromInt(s_1.g4m_1 - s_1.f4m_1 | 0));
|
|
1255
1082
|
fromIndex_0 = offset_3;
|
|
1256
|
-
s_1 = ensureNotNull(s_1.
|
|
1083
|
+
s_1 = ensureNotNull(s_1.j4m_1);
|
|
1257
1084
|
}
|
|
1258
1085
|
}
|
|
1259
1086
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
@@ -1263,11 +1090,11 @@ function Buffer() {
|
|
|
1263
1090
|
$l$loop: while (true) {
|
|
1264
1091
|
var tmp0_0 = offset_4;
|
|
1265
1092
|
// Inline function 'kotlin.Long.plus' call
|
|
1266
|
-
var other = s_0.
|
|
1093
|
+
var other = s_0.g4m_1 - s_0.f4m_1 | 0;
|
|
1267
1094
|
var nextOffset = add(tmp0_0, fromInt(other));
|
|
1268
1095
|
if (compare(nextOffset, tmp2) > 0)
|
|
1269
1096
|
break $l$loop;
|
|
1270
|
-
s_0 = ensureNotNull(s_0.
|
|
1097
|
+
s_0 = ensureNotNull(s_0.j4m_1);
|
|
1271
1098
|
offset_4 = nextOffset;
|
|
1272
1099
|
}
|
|
1273
1100
|
var tmp0_1 = s_0;
|
|
@@ -1284,28 +1111,28 @@ function Buffer() {
|
|
|
1284
1111
|
if (targetBytes.q2() === 2) {
|
|
1285
1112
|
var b0_1 = targetBytes.p2(0);
|
|
1286
1113
|
var b1_1 = targetBytes.p2(1);
|
|
1287
|
-
while (compare(offset_6, this.
|
|
1288
|
-
var data_3 = s_2.
|
|
1289
|
-
var pos_3 = convertToInt(subtract(add(numberToLong(s_2.
|
|
1290
|
-
var limit_3 = s_2.
|
|
1114
|
+
while (compare(offset_6, this.q4l_1) < 0) {
|
|
1115
|
+
var data_3 = s_2.e4m_1;
|
|
1116
|
+
var pos_3 = convertToInt(subtract(add(numberToLong(s_2.f4m_1), fromIndex_0), offset_6));
|
|
1117
|
+
var limit_3 = s_2.g4m_1;
|
|
1291
1118
|
while (pos_3 < limit_3) {
|
|
1292
1119
|
var b_3 = data_3[pos_3];
|
|
1293
1120
|
if (b_3 === b0_1 || b_3 === b1_1) {
|
|
1294
|
-
tmp$ret$0 = add(numberToLong(pos_3 - s_2.
|
|
1121
|
+
tmp$ret$0 = add(numberToLong(pos_3 - s_2.f4m_1 | 0), offset_6);
|
|
1295
1122
|
break $l$block_12;
|
|
1296
1123
|
}
|
|
1297
1124
|
pos_3 = pos_3 + 1 | 0;
|
|
1298
1125
|
}
|
|
1299
|
-
offset_6 = add(offset_6, fromInt(s_2.
|
|
1126
|
+
offset_6 = add(offset_6, fromInt(s_2.g4m_1 - s_2.f4m_1 | 0));
|
|
1300
1127
|
fromIndex_0 = offset_6;
|
|
1301
|
-
s_2 = ensureNotNull(s_2.
|
|
1128
|
+
s_2 = ensureNotNull(s_2.j4m_1);
|
|
1302
1129
|
}
|
|
1303
1130
|
} else {
|
|
1304
|
-
var targetByteArray_1 = targetBytes.
|
|
1305
|
-
while (compare(offset_6, this.
|
|
1306
|
-
var data_4 = s_2.
|
|
1307
|
-
var pos_4 = convertToInt(subtract(add(numberToLong(s_2.
|
|
1308
|
-
var limit_4 = s_2.
|
|
1131
|
+
var targetByteArray_1 = targetBytes.b4n();
|
|
1132
|
+
while (compare(offset_6, this.q4l_1) < 0) {
|
|
1133
|
+
var data_4 = s_2.e4m_1;
|
|
1134
|
+
var pos_4 = convertToInt(subtract(add(numberToLong(s_2.f4m_1), fromIndex_0), offset_6));
|
|
1135
|
+
var limit_4 = s_2.g4m_1;
|
|
1309
1136
|
while (pos_4 < limit_4) {
|
|
1310
1137
|
var b_4 = data_4[pos_4];
|
|
1311
1138
|
var inductionVariable_1 = 0;
|
|
@@ -1314,15 +1141,15 @@ function Buffer() {
|
|
|
1314
1141
|
var t_1 = targetByteArray_1[inductionVariable_1];
|
|
1315
1142
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
1316
1143
|
if (b_4 === t_1) {
|
|
1317
|
-
tmp$ret$0 = add(numberToLong(pos_4 - s_2.
|
|
1144
|
+
tmp$ret$0 = add(numberToLong(pos_4 - s_2.f4m_1 | 0), offset_6);
|
|
1318
1145
|
break $l$block_12;
|
|
1319
1146
|
}
|
|
1320
1147
|
}
|
|
1321
1148
|
pos_4 = pos_4 + 1 | 0;
|
|
1322
1149
|
}
|
|
1323
|
-
offset_6 = add(offset_6, fromInt(s_2.
|
|
1150
|
+
offset_6 = add(offset_6, fromInt(s_2.g4m_1 - s_2.f4m_1 | 0));
|
|
1324
1151
|
fromIndex_0 = offset_6;
|
|
1325
|
-
s_2 = ensureNotNull(s_2.
|
|
1152
|
+
s_2 = ensureNotNull(s_2.j4m_1);
|
|
1326
1153
|
}
|
|
1327
1154
|
}
|
|
1328
1155
|
tmp$ret$0 = new (Long())(-1, -1);
|
|
@@ -1332,31 +1159,40 @@ function Buffer() {
|
|
|
1332
1159
|
}
|
|
1333
1160
|
return tmp$ret$0;
|
|
1334
1161
|
}
|
|
1335
|
-
|
|
1336
|
-
return this.
|
|
1162
|
+
b4q(offset, bytes) {
|
|
1163
|
+
return this.i4n(offset, bytes, 0, bytes.q2());
|
|
1337
1164
|
}
|
|
1338
|
-
|
|
1165
|
+
i4n(offset, bytes, bytesOffset, byteCount) {
|
|
1339
1166
|
var tmp$ret$0;
|
|
1340
|
-
$l$
|
|
1167
|
+
$l$block_2: {
|
|
1341
1168
|
// Inline function 'okio.internal.commonRangeEquals' call
|
|
1342
|
-
if (
|
|
1169
|
+
if (byteCount < 0) {
|
|
1343
1170
|
tmp$ret$0 = false;
|
|
1344
|
-
break $l$
|
|
1171
|
+
break $l$block_2;
|
|
1345
1172
|
}
|
|
1346
|
-
var
|
|
1347
|
-
if (
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1173
|
+
var tmp;
|
|
1174
|
+
if (compare(offset, new (Long())(0, 0)) < 0) {
|
|
1175
|
+
tmp = true;
|
|
1176
|
+
} else {
|
|
1177
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1178
|
+
var tmp$ret$1 = add(offset, fromInt(byteCount));
|
|
1179
|
+
tmp = compare(tmp$ret$1, this.q4l_1) > 0;
|
|
1180
|
+
}
|
|
1181
|
+
if (tmp) {
|
|
1182
|
+
tmp$ret$0 = false;
|
|
1183
|
+
break $l$block_2;
|
|
1184
|
+
}
|
|
1185
|
+
if (bytesOffset < 0 || (bytesOffset + byteCount | 0) > bytes.q2()) {
|
|
1186
|
+
tmp$ret$0 = false;
|
|
1187
|
+
break $l$block_2;
|
|
1188
|
+
}
|
|
1189
|
+
if (byteCount === 0) {
|
|
1190
|
+
tmp$ret$0 = true;
|
|
1191
|
+
break $l$block_2;
|
|
1192
|
+
}
|
|
1193
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1194
|
+
var tmp0_toIndex = add(offset, fromInt(1));
|
|
1195
|
+
tmp$ret$0 = !equalsLong(commonIndexOf(this, bytes, offset, tmp0_toIndex, bytesOffset, byteCount), new (Long())(-1, -1));
|
|
1360
1196
|
}
|
|
1361
1197
|
return tmp$ret$0;
|
|
1362
1198
|
}
|
|
@@ -1378,24 +1214,24 @@ function Buffer() {
|
|
|
1378
1214
|
tmp$ret$0 = false;
|
|
1379
1215
|
break $l$block_3;
|
|
1380
1216
|
}
|
|
1381
|
-
if (!equalsLong(this.
|
|
1217
|
+
if (!equalsLong(this.q4l_1, other.q4l_1)) {
|
|
1382
1218
|
tmp$ret$0 = false;
|
|
1383
1219
|
break $l$block_3;
|
|
1384
1220
|
}
|
|
1385
|
-
if (equalsLong(this.
|
|
1221
|
+
if (equalsLong(this.q4l_1, new (Long())(0, 0))) {
|
|
1386
1222
|
tmp$ret$0 = true;
|
|
1387
1223
|
break $l$block_3;
|
|
1388
1224
|
}
|
|
1389
|
-
var sa = ensureNotNull(this.
|
|
1390
|
-
var sb = ensureNotNull(other.
|
|
1391
|
-
var posA = sa.
|
|
1392
|
-
var posB = sb.
|
|
1225
|
+
var sa = ensureNotNull(this.p4l_1);
|
|
1226
|
+
var sb = ensureNotNull(other.p4l_1);
|
|
1227
|
+
var posA = sa.f4m_1;
|
|
1228
|
+
var posB = sb.f4m_1;
|
|
1393
1229
|
var pos = new (Long())(0, 0);
|
|
1394
1230
|
var count;
|
|
1395
|
-
while (compare(pos, this.
|
|
1396
|
-
var tmp0 = sa.
|
|
1231
|
+
while (compare(pos, this.q4l_1) < 0) {
|
|
1232
|
+
var tmp0 = sa.g4m_1 - posA | 0;
|
|
1397
1233
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
1398
|
-
var b = sb.
|
|
1234
|
+
var b = sb.g4m_1 - posB | 0;
|
|
1399
1235
|
var tmp$ret$1 = Math.min(tmp0, b);
|
|
1400
1236
|
count = fromInt(tmp$ret$1);
|
|
1401
1237
|
var inductionVariable = new (Long())(0, 0);
|
|
@@ -1403,26 +1239,26 @@ function Buffer() {
|
|
|
1403
1239
|
do {
|
|
1404
1240
|
var i = inductionVariable;
|
|
1405
1241
|
inductionVariable = add(inductionVariable, new (Long())(1, 0));
|
|
1406
|
-
var tmp = sa.
|
|
1407
|
-
var
|
|
1408
|
-
posA =
|
|
1409
|
-
var tmp_0 = tmp[
|
|
1410
|
-
var tmp_1 = sb.
|
|
1411
|
-
var
|
|
1412
|
-
posB =
|
|
1413
|
-
if (!(tmp_0 === tmp_1[
|
|
1242
|
+
var tmp = sa.e4m_1;
|
|
1243
|
+
var _unary__edvuaz = posA;
|
|
1244
|
+
posA = _unary__edvuaz + 1 | 0;
|
|
1245
|
+
var tmp_0 = tmp[_unary__edvuaz];
|
|
1246
|
+
var tmp_1 = sb.e4m_1;
|
|
1247
|
+
var _unary__edvuaz_0 = posB;
|
|
1248
|
+
posB = _unary__edvuaz_0 + 1 | 0;
|
|
1249
|
+
if (!(tmp_0 === tmp_1[_unary__edvuaz_0])) {
|
|
1414
1250
|
tmp$ret$0 = false;
|
|
1415
1251
|
break $l$block_3;
|
|
1416
1252
|
}
|
|
1417
1253
|
}
|
|
1418
1254
|
while (compare(inductionVariable, count) < 0);
|
|
1419
|
-
if (posA === sa.
|
|
1420
|
-
sa = ensureNotNull(sa.
|
|
1421
|
-
posA = sa.
|
|
1255
|
+
if (posA === sa.g4m_1) {
|
|
1256
|
+
sa = ensureNotNull(sa.j4m_1);
|
|
1257
|
+
posA = sa.f4m_1;
|
|
1422
1258
|
}
|
|
1423
|
-
if (posB === sb.
|
|
1424
|
-
sb = ensureNotNull(sb.
|
|
1425
|
-
posB = sb.
|
|
1259
|
+
if (posB === sb.g4m_1) {
|
|
1260
|
+
sb = ensureNotNull(sb.j4m_1);
|
|
1261
|
+
posB = sb.f4m_1;
|
|
1426
1262
|
}
|
|
1427
1263
|
pos = add(pos, count);
|
|
1428
1264
|
}
|
|
@@ -1434,7 +1270,7 @@ function Buffer() {
|
|
|
1434
1270
|
var tmp$ret$0;
|
|
1435
1271
|
$l$block: {
|
|
1436
1272
|
// Inline function 'okio.internal.commonHashCode' call
|
|
1437
|
-
var tmp0_elvis_lhs = this.
|
|
1273
|
+
var tmp0_elvis_lhs = this.p4l_1;
|
|
1438
1274
|
var tmp;
|
|
1439
1275
|
if (tmp0_elvis_lhs == null) {
|
|
1440
1276
|
tmp$ret$0 = 0;
|
|
@@ -1445,50 +1281,50 @@ function Buffer() {
|
|
|
1445
1281
|
var s = tmp;
|
|
1446
1282
|
var result = 1;
|
|
1447
1283
|
do {
|
|
1448
|
-
var pos = s.
|
|
1449
|
-
var limit = s.
|
|
1284
|
+
var pos = s.f4m_1;
|
|
1285
|
+
var limit = s.g4m_1;
|
|
1450
1286
|
while (pos < limit) {
|
|
1451
|
-
result = imul(31, result) + s.
|
|
1287
|
+
result = imul(31, result) + s.e4m_1[pos] | 0;
|
|
1452
1288
|
pos = pos + 1 | 0;
|
|
1453
1289
|
}
|
|
1454
|
-
s = ensureNotNull(s.
|
|
1290
|
+
s = ensureNotNull(s.j4m_1);
|
|
1455
1291
|
}
|
|
1456
|
-
while (!(s === this.
|
|
1292
|
+
while (!(s === this.p4l_1));
|
|
1457
1293
|
tmp$ret$0 = result;
|
|
1458
1294
|
}
|
|
1459
1295
|
return tmp$ret$0;
|
|
1460
1296
|
}
|
|
1461
1297
|
toString() {
|
|
1462
|
-
return this.
|
|
1298
|
+
return this.c4q().toString();
|
|
1463
1299
|
}
|
|
1464
|
-
|
|
1300
|
+
c4q() {
|
|
1465
1301
|
// Inline function 'okio.internal.commonSnapshot' call
|
|
1466
1302
|
// Inline function 'kotlin.check' call
|
|
1467
|
-
if (!(compare(this.
|
|
1468
|
-
var message = 'size > Int.MAX_VALUE: ' + this.
|
|
1303
|
+
if (!(compare(this.q4l_1, new (Long())(2147483647, 0)) <= 0)) {
|
|
1304
|
+
var message = 'size > Int.MAX_VALUE: ' + this.q4l_1.toString();
|
|
1469
1305
|
throw IllegalStateException().o(toString(message));
|
|
1470
1306
|
}
|
|
1471
|
-
return this.
|
|
1307
|
+
return this.h4p(convertToInt(this.q4l_1));
|
|
1472
1308
|
}
|
|
1473
|
-
|
|
1309
|
+
h4p(byteCount) {
|
|
1474
1310
|
var tmp$ret$0;
|
|
1475
1311
|
$l$block: {
|
|
1476
1312
|
// Inline function 'okio.internal.commonSnapshot' call
|
|
1477
1313
|
if (byteCount === 0) {
|
|
1478
|
-
tmp$ret$0 = Companion_getInstance().
|
|
1314
|
+
tmp$ret$0 = Companion_getInstance().d4o_1;
|
|
1479
1315
|
break $l$block;
|
|
1480
1316
|
}
|
|
1481
|
-
checkOffsetAndCount(this.
|
|
1317
|
+
checkOffsetAndCount(this.q4l_1, new (Long())(0, 0), fromInt(byteCount));
|
|
1482
1318
|
var offset = 0;
|
|
1483
1319
|
var segmentCount = 0;
|
|
1484
|
-
var s = this.
|
|
1320
|
+
var s = this.p4l_1;
|
|
1485
1321
|
while (offset < byteCount) {
|
|
1486
|
-
if (ensureNotNull(s).
|
|
1487
|
-
throw AssertionError().
|
|
1322
|
+
if (ensureNotNull(s).g4m_1 === s.f4m_1) {
|
|
1323
|
+
throw AssertionError().cf('s.limit == s.pos');
|
|
1488
1324
|
}
|
|
1489
|
-
offset = offset + (s.
|
|
1325
|
+
offset = offset + (s.g4m_1 - s.f4m_1 | 0) | 0;
|
|
1490
1326
|
segmentCount = segmentCount + 1 | 0;
|
|
1491
|
-
s = s.
|
|
1327
|
+
s = s.j4m_1;
|
|
1492
1328
|
}
|
|
1493
1329
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1494
1330
|
var size = segmentCount;
|
|
@@ -1496,18 +1332,18 @@ function Buffer() {
|
|
|
1496
1332
|
var directory = new Int32Array(imul(segmentCount, 2));
|
|
1497
1333
|
offset = 0;
|
|
1498
1334
|
segmentCount = 0;
|
|
1499
|
-
s = this.
|
|
1335
|
+
s = this.p4l_1;
|
|
1500
1336
|
while (offset < byteCount) {
|
|
1501
|
-
segments[segmentCount] = ensureNotNull(s).
|
|
1502
|
-
offset = offset + (s.
|
|
1337
|
+
segments[segmentCount] = ensureNotNull(s).e4m_1;
|
|
1338
|
+
offset = offset + (s.g4m_1 - s.f4m_1 | 0) | 0;
|
|
1503
1339
|
var tmp = segmentCount;
|
|
1504
1340
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
1505
1341
|
var a = offset;
|
|
1506
1342
|
directory[tmp] = Math.min(a, byteCount);
|
|
1507
|
-
directory[segmentCount + segments.length | 0] = s.
|
|
1508
|
-
s.
|
|
1343
|
+
directory[segmentCount + segments.length | 0] = s.f4m_1;
|
|
1344
|
+
s.h4m_1 = true;
|
|
1509
1345
|
segmentCount = segmentCount + 1 | 0;
|
|
1510
|
-
s = s.
|
|
1346
|
+
s = s.j4m_1;
|
|
1511
1347
|
}
|
|
1512
1348
|
tmp$ret$0 = new (SegmentedByteString())(isArray(segments) ? segments : THROW_CCE(), directory);
|
|
1513
1349
|
}
|