@icure/cardinal-sdk 2.0.0-PREVIEW-18.1 → 2.0.0-PREVIEW-21
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/Kermit-kermit-core.mjs +45 -40
- package/Kermit-kermit.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1577 -1577
- package/api/HealthcarePartyApi.d.mts +2 -0
- package/api/HealthcarePartyApiInGroup.d.mts +5 -0
- package/api/HealthcarePartyApiInGroup.mjs +1 -0
- package/api/RecoveryApi.d.mts +5 -1
- package/api.d.mts +1 -0
- package/api.mjs +1 -0
- package/bitops-library-bits.mjs +197 -0
- package/bitops-library-endian.mjs +117 -0
- package/cardinal-sdk-ts.d.mts +2 -2
- package/cardinal-sdk-ts.mjs +57007 -56794
- package/cardinal-sdk.mjs +120895 -120501
- package/core-library-digest.mjs +186 -0
- package/crypto/CryptoService.d.mts +17 -7
- package/error-library-error.mjs +42 -0
- package/hash-library-sha2.mjs +183 -0
- package/internal/BytesEncoding.d.mts +3 -0
- package/internal/BytesEncoding.mjs +99 -0
- package/internal/JsonDecodeUtils.d.mts +20 -0
- package/internal/JsonDecodeUtils.mjs +99 -0
- package/kerberus.mjs +557 -389
- package/kotlin-kotlin-stdlib.mjs +2445 -2713
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2455 -2450
- package/kotlinx-io-kotlinx-io-bytestring.mjs +36 -36
- package/kotlinx-io-kotlinx-io-core.mjs +459 -459
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2029 -2029
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1952 -1952
- package/kryptom-lib.mjs +3263 -1967
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +2713 -2713
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +481 -481
- package/ktor-ktor-http.mjs +693 -693
- package/ktor-ktor-io.mjs +963 -963
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +238 -238
- package/ktor-ktor-serialization.mjs +109 -109
- package/ktor-ktor-utils.mjs +557 -557
- package/ktor-ktor-websockets.mjs +673 -673
- package/model/AccessLog.d.mts +5 -0
- package/model/AccessLog.mjs +168 -0
- package/model/Agenda.d.mts +2 -0
- package/model/Agenda.mjs +82 -0
- package/model/ApplicationSettings.d.mts +5 -0
- package/model/ApplicationSettings.mjs +140 -0
- package/model/BooleanResponse.d.mts +2 -0
- package/model/BooleanResponse.mjs +20 -0
- package/model/CalendarItem.d.mts +5 -0
- package/model/CalendarItem.mjs +290 -0
- package/model/CalendarItemType.d.mts +7 -0
- package/model/CalendarItemType.mjs +117 -0
- package/model/Classification.d.mts +5 -0
- package/model/Classification.mjs +148 -0
- package/model/Code.d.mts +2 -0
- package/model/Code.mjs +69 -0
- package/model/Contact.d.mts +5 -0
- package/model/Contact.mjs +218 -0
- package/model/CryptoActorStub.d.mts +2 -0
- package/model/CryptoActorStub.mjs +45 -0
- package/model/CryptoActorStubWithType.d.mts +2 -0
- package/model/CryptoActorStubWithType.mjs +25 -0
- package/model/DataOwnerRegistrationSuccess.d.mts +2 -0
- package/model/DataOwnerRegistrationSuccess.mjs +24 -0
- package/model/DataOwnerWithType.d.mts +7 -0
- package/model/DataOwnerWithType.mjs +80 -0
- package/model/DatabaseInitialisation.d.mts +2 -0
- package/model/DatabaseInitialisation.mjs +34 -0
- package/model/Device.d.mts +2 -0
- package/model/Device.mjs +99 -0
- package/model/Document.d.mts +5 -0
- package/model/Document.mjs +246 -0
- package/model/DocumentTemplate.d.mts +2 -0
- package/model/DocumentTemplate.mjs +91 -0
- package/model/EntityReference.d.mts +2 -0
- package/model/EntityReference.mjs +29 -0
- package/model/EntityReferenceInGroup.d.mts +2 -0
- package/model/EntityReferenceInGroup.mjs +23 -0
- package/model/EntityTemplate.d.mts +2 -0
- package/model/EntityTemplate.mjs +46 -0
- package/model/Form.d.mts +5 -0
- package/model/Form.mjs +204 -0
- package/model/FormTemplate.d.mts +2 -0
- package/model/FormTemplate.mjs +82 -0
- package/model/FrontEndMigration.d.mts +2 -0
- package/model/FrontEndMigration.mjs +57 -0
- package/model/Group.d.mts +2 -0
- package/model/Group.mjs +68 -0
- package/model/GroupDeletionReport.d.mts +2 -0
- package/model/GroupDeletionReport.mjs +24 -0
- package/model/HealthElement.d.mts +5 -0
- package/model/HealthElement.mjs +226 -0
- package/model/HealthcareParty.d.mts +2 -0
- package/model/HealthcareParty.mjs +182 -0
- package/model/IdWithRev.d.mts +2 -0
- package/model/IdWithRev.mjs +23 -0
- package/model/IndexingInfo.d.mts +2 -0
- package/model/IndexingInfo.mjs +21 -0
- package/model/Insurance.d.mts +2 -0
- package/model/Insurance.mjs +46 -0
- package/model/Invoice.d.mts +5 -0
- package/model/Invoice.mjs +468 -0
- package/model/Keyword.d.mts +2 -0
- package/model/Keyword.mjs +58 -0
- package/model/ListOfIds.d.mts +2 -0
- package/model/ListOfIds.mjs +20 -0
- package/model/ListOfProperties.d.mts +2 -0
- package/model/ListOfProperties.mjs +22 -0
- package/model/MaintenanceTask.d.mts +5 -0
- package/model/MaintenanceTask.mjs +152 -0
- package/model/MedicalLocation.d.mts +2 -0
- package/model/MedicalLocation.mjs +63 -0
- package/model/Message.d.mts +5 -0
- package/model/Message.mjs +248 -0
- package/model/PaginatedDocumentKeyIdPair.d.mts +2 -0
- package/model/PaginatedDocumentKeyIdPair.mjs +24 -0
- package/model/Patient.d.mts +5 -0
- package/model/Patient.mjs +491 -0
- package/model/Place.d.mts +2 -0
- package/model/Place.mjs +33 -0
- package/model/PropertyStub.d.mts +5 -0
- package/model/PropertyStub.mjs +74 -0
- package/model/PropertyTypeStub.d.mts +2 -0
- package/model/PropertyTypeStub.mjs +26 -0
- package/model/PublicAgendasAndCalendarItemTypes.d.mts +2 -0
- package/model/PublicAgendasAndCalendarItemTypes.mjs +25 -0
- package/model/PublicKey.d.mts +2 -0
- package/model/PublicKey.mjs +24 -0
- package/model/Receipt.d.mts +5 -0
- package/model/Receipt.mjs +159 -0
- package/model/RegistrationInformation.d.mts +2 -0
- package/model/RegistrationInformation.mjs +43 -0
- package/model/RegistrationSuccess.d.mts +2 -0
- package/model/RegistrationSuccess.mjs +24 -0
- package/model/Replication.d.mts +2 -0
- package/model/Replication.mjs +35 -0
- package/model/ReplicationInfo.d.mts +2 -0
- package/model/ReplicationInfo.mjs +28 -0
- package/model/Role.d.mts +2 -0
- package/model/Role.mjs +34 -0
- package/model/StoredDocumentIdentifier.d.mts +2 -0
- package/model/StoredDocumentIdentifier.mjs +22 -0
- package/model/Tarification.d.mts +2 -0
- package/model/Tarification.mjs +92 -0
- package/model/TimeTable.d.mts +2 -0
- package/model/TimeTable.mjs +64 -0
- package/model/Topic.d.mts +5 -0
- package/model/Topic.mjs +163 -0
- package/model/User.d.mts +4 -0
- package/model/User.mjs +118 -0
- package/model/UserGroup.d.mts +2 -0
- package/model/UserGroup.mjs +55 -0
- package/model/base/CodeStub.d.mts +2 -0
- package/model/base/CodeStub.mjs +40 -0
- package/model/base/CryptoActor.d.mts +3 -0
- package/model/base/CryptoActor.mjs +19 -1
- package/model/base/Identifier.d.mts +2 -0
- package/model/base/Identifier.mjs +44 -0
- package/model/couchdb/Basic.d.mts +2 -0
- package/model/couchdb/Basic.mjs +22 -0
- package/model/couchdb/DatabaseInfo.d.mts +2 -0
- package/model/couchdb/DatabaseInfo.mjs +47 -0
- package/model/couchdb/DesignDocument.d.mts +2 -0
- package/model/couchdb/DesignDocument.mjs +40 -0
- package/model/couchdb/DocIdentifier.d.mts +2 -0
- package/model/couchdb/DocIdentifier.mjs +24 -0
- package/model/couchdb/GroupDatabasesInfo.d.mts +2 -0
- package/model/couchdb/GroupDatabasesInfo.mjs +26 -0
- package/model/couchdb/Remote.d.mts +2 -0
- package/model/couchdb/Remote.mjs +25 -0
- package/model/couchdb/RemoteAuthentication.d.mts +2 -0
- package/model/couchdb/RemoteAuthentication.mjs +23 -0
- package/model/couchdb/ReplicationStats.d.mts +2 -0
- package/model/couchdb/ReplicationStats.mjs +45 -0
- package/model/couchdb/ReplicatorDocument.d.mts +2 -0
- package/model/couchdb/ReplicatorDocument.mjs +61 -0
- package/model/couchdb/View.d.mts +2 -0
- package/model/couchdb/View.mjs +23 -0
- package/model/data/LabelledOccurence.d.mts +2 -0
- package/model/data/LabelledOccurence.mjs +22 -0
- package/model/embed/Address.d.mts +5 -0
- package/model/embed/Address.mjs +133 -0
- package/model/embed/AdministrationQuantity.d.mts +2 -0
- package/model/embed/AdministrationQuantity.mjs +29 -0
- package/model/embed/AgendaSlottingAlgorithm.d.mts +3 -0
- package/model/embed/AgendaSlottingAlgorithm.mjs +30 -0
- package/model/embed/AgreementAppendix.d.mts +2 -0
- package/model/embed/AgreementAppendix.mjs +30 -0
- package/model/embed/Annotation.d.mts +2 -0
- package/model/embed/Annotation.mjs +46 -0
- package/model/embed/CalendarItemTag.d.mts +5 -0
- package/model/embed/CalendarItemTag.mjs +72 -0
- package/model/embed/CareTeamMember.d.mts +5 -0
- package/model/embed/CareTeamMember.mjs +71 -0
- package/model/embed/CareTeamMembership.d.mts +5 -0
- package/model/embed/CareTeamMembership.mjs +73 -0
- package/model/embed/Content.d.mts +5 -0
- package/model/embed/Content.mjs +125 -0
- package/model/embed/DataAttachment.d.mts +2 -0
- package/model/embed/DataAttachment.mjs +26 -0
- package/model/embed/DatabaseSynchronization.d.mts +2 -0
- package/model/embed/DatabaseSynchronization.mjs +30 -0
- package/model/embed/Delegation.d.mts +2 -0
- package/model/embed/Delegation.mjs +30 -0
- package/model/embed/DeletedAttachment.d.mts +2 -0
- package/model/embed/DeletedAttachment.mjs +30 -0
- package/model/embed/DocumentGroup.d.mts +2 -0
- package/model/embed/DocumentGroup.mjs +24 -0
- package/model/embed/Duration.d.mts +2 -0
- package/model/embed/Duration.mjs +26 -0
- package/model/embed/EmbeddedTimeTableHour.d.mts +2 -0
- package/model/embed/EmbeddedTimeTableHour.mjs +22 -0
- package/model/embed/EmbeddedTimeTableItem.d.mts +2 -0
- package/model/embed/EmbeddedTimeTableItem.mjs +41 -0
- package/model/embed/Employer.d.mts +2 -0
- package/model/embed/Employer.mjs +26 -0
- package/model/embed/EmploymentInfo.d.mts +5 -0
- package/model/embed/EmploymentInfo.mjs +74 -0
- package/model/embed/Episode.d.mts +5 -0
- package/model/embed/Episode.mjs +75 -0
- package/model/embed/FinancialInstitutionInformation.d.mts +5 -0
- package/model/embed/FinancialInstitutionInformation.mjs +88 -0
- package/model/embed/FlatRateTarification.d.mts +5 -0
- package/model/embed/FlatRateTarification.mjs +72 -0
- package/model/embed/FlowItem.d.mts +2 -0
- package/model/embed/FlowItem.mjs +117 -0
- package/model/embed/HealthcarePartyHistoryStatus.d.mts +2 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs +28 -0
- package/model/embed/IdentityDocumentReader.d.mts +2 -0
- package/model/embed/IdentityDocumentReader.mjs +33 -0
- package/model/embed/Insurability.d.mts +5 -0
- package/model/embed/Insurability.mjs +100 -0
- package/model/embed/InvoicingCode.d.mts +5 -0
- package/model/embed/InvoicingCode.mjs +377 -0
- package/model/embed/KeywordSubword.d.mts +2 -0
- package/model/embed/KeywordSubword.mjs +25 -0
- package/model/embed/LetterValue.d.mts +2 -0
- package/model/embed/LetterValue.mjs +30 -0
- package/model/embed/Measure.d.mts +2 -0
- package/model/embed/Measure.mjs +57 -0
- package/model/embed/MedicalHouseContract.d.mts +5 -0
- package/model/embed/MedicalHouseContract.mjs +223 -0
- package/model/embed/Medication.d.mts +2 -0
- package/model/embed/Medication.mjs +157 -0
- package/model/embed/Medicinalproduct.d.mts +2 -0
- package/model/embed/Medicinalproduct.mjs +33 -0
- package/model/embed/MessageAttachment.d.mts +2 -0
- package/model/embed/MessageAttachment.mjs +25 -0
- package/model/embed/MessageReadStatus.d.mts +2 -0
- package/model/embed/MessageReadStatus.mjs +23 -0
- package/model/embed/ParagraphAgreement.d.mts +2 -0
- package/model/embed/ParagraphAgreement.mjs +86 -0
- package/model/embed/Partnership.d.mts +2 -0
- package/model/embed/Partnership.mjs +36 -0
- package/model/embed/PatientHealthCareParty.d.mts +9 -0
- package/model/embed/PatientHealthCareParty.mjs +88 -0
- package/model/embed/Payment.d.mts +2 -0
- package/model/embed/Payment.mjs +28 -0
- package/model/embed/Periodicity.d.mts +2 -0
- package/model/embed/Periodicity.mjs +26 -0
- package/model/embed/PersonName.d.mts +2 -0
- package/model/embed/PersonName.mjs +41 -0
- package/model/embed/PlanOfAction.d.mts +8 -3
- package/model/embed/PlanOfAction.mjs +179 -0
- package/model/embed/Range.d.mts +2 -0
- package/model/embed/Range.mjs +24 -0
- package/model/embed/ReferenceRange.d.mts +2 -0
- package/model/embed/ReferenceRange.mjs +40 -0
- package/model/embed/ReferralPeriod.d.mts +2 -0
- package/model/embed/ReferralPeriod.mjs +27 -0
- package/model/embed/RegimenItem.d.mts +2 -0
- package/model/embed/RegimenItem.mjs +40 -0
- package/model/embed/Renewal.d.mts +2 -0
- package/model/embed/Renewal.mjs +26 -0
- package/model/embed/ResourceGroupAllocationSchedule.d.mts +2 -0
- package/model/embed/ResourceGroupAllocationSchedule.mjs +39 -0
- package/model/embed/Right.d.mts +2 -0
- package/model/embed/Right.mjs +27 -0
- package/model/embed/RoleConfiguration.d.mts +2 -0
- package/model/embed/RoleConfiguration.mjs +22 -0
- package/model/embed/SchoolingInfo.d.mts +5 -0
- package/model/embed/SchoolingInfo.mjs +73 -0
- package/model/embed/SecureDelegation.d.mts +2 -0
- package/model/embed/SecureDelegation.mjs +39 -0
- package/model/embed/SecurityMetadata.d.mts +2 -0
- package/model/embed/SecurityMetadata.mjs +22 -0
- package/model/embed/Service.d.mts +5 -0
- package/model/embed/Service.mjs +240 -0
- package/model/embed/ServiceLink.d.mts +2 -0
- package/model/embed/ServiceLink.mjs +21 -0
- package/model/embed/SubContact.d.mts +5 -0
- package/model/embed/SubContact.mjs +146 -0
- package/model/embed/Substanceproduct.d.mts +2 -0
- package/model/embed/Substanceproduct.mjs +33 -0
- package/model/embed/Suspension.d.mts +2 -0
- package/model/embed/Suspension.mjs +30 -0
- package/model/embed/Telecom.d.mts +5 -0
- package/model/embed/Telecom.mjs +67 -0
- package/model/embed/TimeSeries.d.mts +2 -0
- package/model/embed/TimeSeries.mjs +32 -0
- package/model/embed/TimeTableHour.d.mts +2 -0
- package/model/embed/TimeTableHour.mjs +24 -0
- package/model/embed/TimeTableItem.d.mts +2 -0
- package/model/embed/TimeTableItem.mjs +57 -0
- package/model/embed/TypedValue.d.mts +5 -0
- package/model/embed/TypedValue.mjs +85 -0
- package/model/embed/Valorisation.d.mts +5 -0
- package/model/embed/Valorisation.mjs +108 -0
- package/model/embed/ValueWithPrecision.d.mts +2 -0
- package/model/embed/ValueWithPrecision.mjs +22 -0
- package/model/embed/Weekday.d.mts +2 -0
- package/model/embed/Weekday.mjs +26 -0
- package/model/embed/form/template/Action.d.mts +2 -0
- package/model/embed/form/template/Action.mjs +30 -0
- package/model/embed/form/template/CheckBox.d.mts +2 -0
- package/model/embed/form/template/CheckBox.mjs +71 -0
- package/model/embed/form/template/DatePicker.d.mts +2 -0
- package/model/embed/form/template/DatePicker.mjs +71 -0
- package/model/embed/form/template/DateTimePicker.d.mts +2 -0
- package/model/embed/form/template/DateTimePicker.mjs +71 -0
- package/model/embed/form/template/DropdownField.d.mts +2 -0
- package/model/embed/form/template/DropdownField.mjs +71 -0
- package/model/embed/form/template/FieldsGroup.d.mts +2 -0
- package/model/embed/form/template/FieldsGroup.mjs +28 -0
- package/model/embed/form/template/FormTemplateLayout.d.mts +2 -0
- package/model/embed/form/template/FormTemplateLayout.mjs +33 -0
- package/model/embed/form/template/Launcher.d.mts +2 -0
- package/model/embed/form/template/Launcher.mjs +26 -0
- package/model/embed/form/template/MeasureField.d.mts +2 -0
- package/model/embed/form/template/MeasureField.mjs +71 -0
- package/model/embed/form/template/MultipleChoice.d.mts +2 -0
- package/model/embed/form/template/MultipleChoice.mjs +71 -0
- package/model/embed/form/template/NumberField.d.mts +2 -0
- package/model/embed/form/template/NumberField.mjs +71 -0
- package/model/embed/form/template/RadioButton.d.mts +2 -0
- package/model/embed/form/template/RadioButton.mjs +71 -0
- package/model/embed/form/template/Section.d.mts +2 -0
- package/model/embed/form/template/Section.mjs +30 -0
- package/model/embed/form/template/State.d.mts +2 -0
- package/model/embed/form/template/State.mjs +26 -0
- package/model/embed/form/template/StructureElement.d.mts +3 -0
- package/model/embed/form/template/StructureElement.mjs +32 -1
- package/model/embed/form/template/TextField.d.mts +2 -0
- package/model/embed/form/template/TextField.mjs +71 -0
- package/model/embed/form/template/TimePicker.d.mts +2 -0
- package/model/embed/form/template/TimePicker.mjs +71 -0
- package/model/filter/predicate/AlwaysPredicate.d.mts +2 -0
- package/model/filter/predicate/AlwaysPredicate.mjs +20 -0
- package/model/filter/predicate/AndPredicate.d.mts +2 -0
- package/model/filter/predicate/AndPredicate.mjs +25 -0
- package/model/filter/predicate/KeyValuePredicate.d.mts +2 -0
- package/model/filter/predicate/KeyValuePredicate.mjs +32 -0
- package/model/filter/predicate/NotPredicate.d.mts +2 -0
- package/model/filter/predicate/NotPredicate.mjs +25 -0
- package/model/filter/predicate/OrPredicate.d.mts +2 -0
- package/model/filter/predicate/OrPredicate.mjs +25 -0
- package/model/filter/predicate/Predicate.d.mts +3 -0
- package/model/filter/predicate/Predicate.mjs +20 -1
- package/model/security/AlwaysPermissionItem.d.mts +2 -0
- package/model/security/AlwaysPermissionItem.mjs +25 -0
- package/model/security/AuthenticationToken.d.mts +2 -0
- package/model/security/AuthenticationToken.mjs +28 -0
- package/model/security/Enable2faRequest.d.mts +2 -0
- package/model/security/Enable2faRequest.mjs +22 -0
- package/model/security/ExternalJwtConfig.d.mts +18 -0
- package/model/security/ExternalJwtConfig.mjs +199 -0
- package/model/security/LoginIdentifier.d.mts +2 -0
- package/model/security/LoginIdentifier.mjs +22 -0
- package/model/security/OperationToken.d.mts +2 -0
- package/model/security/OperationToken.mjs +31 -0
- package/model/security/Permission.d.mts +2 -0
- package/model/security/Permission.mjs +24 -0
- package/model/security/PermissionItem.d.mts +3 -0
- package/model/security/PermissionItem.mjs +12 -1
- package/model/security/TokenWithGroup.d.mts +2 -0
- package/model/security/TokenWithGroup.mjs +25 -0
- package/options/SdkOptions.d.mts +3 -23
- package/package.json +1 -1
- package/utils/Id.d.mts +5 -0
- package/utils/Id.mjs +19 -10
- package/KotlinBigInteger-bignum.mjs +0 -5902
- /package/{KotlinBigInteger-bignum-serialization-kotlinx.mjs → core-library-core.mjs} +0 -0
package/ktor-ktor-io.mjs
CHANGED
|
@@ -101,10 +101,10 @@ initMetadataForCompanion(Companion);
|
|
|
101
101
|
initMetadataForObject(Empty, 'Empty');
|
|
102
102
|
initMetadataForClass(Closed, 'Closed');
|
|
103
103
|
function resume() {
|
|
104
|
-
return this.
|
|
104
|
+
return this.m4c().w8(Companion_getInstance().j4c_1);
|
|
105
105
|
}
|
|
106
106
|
function resume_0(throwable) {
|
|
107
|
-
var tmp = this.
|
|
107
|
+
var tmp = this.m4c();
|
|
108
108
|
var tmp_0;
|
|
109
109
|
if (throwable == null) {
|
|
110
110
|
tmp_0 = null;
|
|
@@ -115,7 +115,7 @@ function resume_0(throwable) {
|
|
|
115
115
|
tmp_0 = new Result(tmp$ret$2);
|
|
116
116
|
}
|
|
117
117
|
var tmp1_elvis_lhs = tmp_0;
|
|
118
|
-
return tmp.
|
|
118
|
+
return tmp.w8(tmp1_elvis_lhs == null ? Companion_getInstance().j4c_1 : tmp1_elvis_lhs.xm_1);
|
|
119
119
|
}
|
|
120
120
|
initMetadataForInterface(Task, 'Task');
|
|
121
121
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -125,7 +125,7 @@ initMetadataForCoroutine($flushCOROUTINE$, CoroutineImpl);
|
|
|
125
125
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
126
126
|
function awaitContent$default(min, $completion, $super) {
|
|
127
127
|
min = min === VOID ? 1 : min;
|
|
128
|
-
return $super === VOID ? this.
|
|
128
|
+
return $super === VOID ? this.s4e(min, $completion) : $super.s4e.call(this, min, $completion);
|
|
129
129
|
}
|
|
130
130
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
131
131
|
initMetadataForClass(ByteChannel, 'ByteChannel', ByteChannel, VOID, [ByteReadChannel_1], [1, 0]);
|
|
@@ -164,7 +164,7 @@ initMetadataForClass(SourceByteReadChannel, 'SourceByteReadChannel', VOID, VOID,
|
|
|
164
164
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
165
165
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
166
166
|
function close() {
|
|
167
|
-
this.
|
|
167
|
+
this.bx();
|
|
168
168
|
}
|
|
169
169
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
170
170
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -183,10 +183,10 @@ initMetadataForClass(TextDecoderFallback, 'TextDecoderFallback');
|
|
|
183
183
|
//endregion
|
|
184
184
|
function Companion() {
|
|
185
185
|
Companion_instance_0 = this;
|
|
186
|
-
this.
|
|
186
|
+
this.i4c_1 = new Closed(null);
|
|
187
187
|
var tmp = this;
|
|
188
188
|
// Inline function 'kotlin.Companion.success' call
|
|
189
|
-
tmp.
|
|
189
|
+
tmp.j4c_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
190
190
|
}
|
|
191
191
|
var Companion_instance_0;
|
|
192
192
|
function Companion_getInstance() {
|
|
@@ -215,13 +215,13 @@ function Empty_getInstance() {
|
|
|
215
215
|
return Empty_instance;
|
|
216
216
|
}
|
|
217
217
|
function Closed(cause) {
|
|
218
|
-
this.
|
|
218
|
+
this.k4c_1 = cause;
|
|
219
219
|
}
|
|
220
220
|
protoOf(Closed).toString = function () {
|
|
221
|
-
return 'Closed(cause=' + toString(this.
|
|
221
|
+
return 'Closed(cause=' + toString(this.k4c_1) + ')';
|
|
222
222
|
};
|
|
223
223
|
protoOf(Closed).hashCode = function () {
|
|
224
|
-
return this.
|
|
224
|
+
return this.k4c_1 == null ? 0 : hashCode(this.k4c_1);
|
|
225
225
|
};
|
|
226
226
|
protoOf(Closed).equals = function (other) {
|
|
227
227
|
if (this === other)
|
|
@@ -229,74 +229,74 @@ protoOf(Closed).equals = function (other) {
|
|
|
229
229
|
if (!(other instanceof Closed))
|
|
230
230
|
return false;
|
|
231
231
|
var tmp0_other_with_cast = other instanceof Closed ? other : THROW_CCE();
|
|
232
|
-
if (!equals(this.
|
|
232
|
+
if (!equals(this.k4c_1, tmp0_other_with_cast.k4c_1))
|
|
233
233
|
return false;
|
|
234
234
|
return true;
|
|
235
235
|
};
|
|
236
236
|
function Task() {
|
|
237
237
|
}
|
|
238
238
|
function Read(continuation) {
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
239
|
+
this.q4c_1 = continuation;
|
|
240
|
+
this.r4c_1 = null;
|
|
241
241
|
if (get_DEVELOPMENT_MODE()) {
|
|
242
242
|
var tmp = this;
|
|
243
243
|
// Inline function 'kotlin.also' call
|
|
244
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
244
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.q4c_1), 16));
|
|
245
245
|
stackTraceToString(this_0);
|
|
246
|
-
tmp.
|
|
246
|
+
tmp.r4c_1 = this_0;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
protoOf(Read).
|
|
250
|
-
return this.
|
|
249
|
+
protoOf(Read).m4c = function () {
|
|
250
|
+
return this.q4c_1;
|
|
251
251
|
};
|
|
252
|
-
protoOf(Read).
|
|
253
|
-
return this.
|
|
252
|
+
protoOf(Read).l4c = function () {
|
|
253
|
+
return this.r4c_1;
|
|
254
254
|
};
|
|
255
|
-
protoOf(Read).
|
|
255
|
+
protoOf(Read).n4c = function () {
|
|
256
256
|
return 'read';
|
|
257
257
|
};
|
|
258
258
|
function Write(continuation) {
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
259
|
+
this.s4c_1 = continuation;
|
|
260
|
+
this.t4c_1 = null;
|
|
261
261
|
if (get_DEVELOPMENT_MODE()) {
|
|
262
262
|
var tmp = this;
|
|
263
263
|
// Inline function 'kotlin.also' call
|
|
264
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
264
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.s4c_1), 16));
|
|
265
265
|
stackTraceToString(this_0);
|
|
266
|
-
tmp.
|
|
266
|
+
tmp.t4c_1 = this_0;
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
protoOf(Write).
|
|
270
|
-
return this.
|
|
269
|
+
protoOf(Write).m4c = function () {
|
|
270
|
+
return this.s4c_1;
|
|
271
271
|
};
|
|
272
|
-
protoOf(Write).
|
|
273
|
-
return this.
|
|
272
|
+
protoOf(Write).l4c = function () {
|
|
273
|
+
return this.t4c_1;
|
|
274
274
|
};
|
|
275
|
-
protoOf(Write).
|
|
275
|
+
protoOf(Write).n4c = function () {
|
|
276
276
|
return 'write';
|
|
277
277
|
};
|
|
278
278
|
function moveFlushToReadBuffer($this) {
|
|
279
279
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
280
|
-
$this.
|
|
281
|
-
$this.
|
|
282
|
-
$this.
|
|
280
|
+
$this.x4c_1;
|
|
281
|
+
$this.v4c_1.wr($this.z4c_1);
|
|
282
|
+
$this.w4c_1 = 0;
|
|
283
283
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
284
|
-
var current = $this.
|
|
284
|
+
var current = $this.y4c_1.kotlinx$atomicfu$value;
|
|
285
285
|
var tmp;
|
|
286
286
|
if (current instanceof Write) {
|
|
287
|
-
tmp = $this.
|
|
287
|
+
tmp = $this.y4c_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
288
288
|
} else {
|
|
289
289
|
tmp = false;
|
|
290
290
|
}
|
|
291
291
|
if (tmp) {
|
|
292
|
-
current.
|
|
292
|
+
current.o4c();
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
function closeSlot($this, cause) {
|
|
296
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
297
|
-
var continuation = $this.
|
|
296
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().i4c_1;
|
|
297
|
+
var continuation = $this.y4c_1.atomicfu$getAndSet(closeContinuation);
|
|
298
298
|
if (isInterface(continuation, Task)) {
|
|
299
|
-
continuation.
|
|
299
|
+
continuation.p4c(cause);
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -315,50 +315,50 @@ function ClosedWriteChannelException$_init_$ref_ef15ty() {
|
|
|
315
315
|
}
|
|
316
316
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
317
317
|
CoroutineImpl.call(this, resultContinuation);
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
318
|
+
this.k4d_1 = _this__u8e3s4;
|
|
319
|
+
this.l4d_1 = min;
|
|
320
320
|
}
|
|
321
|
-
protoOf($awaitContentCOROUTINE$).
|
|
322
|
-
var suspendResult = this.
|
|
321
|
+
protoOf($awaitContentCOROUTINE$).t8 = function () {
|
|
322
|
+
var suspendResult = this.n8_1;
|
|
323
323
|
$sm: do
|
|
324
324
|
try {
|
|
325
|
-
var tmp = this.
|
|
325
|
+
var tmp = this.l8_1;
|
|
326
326
|
switch (tmp) {
|
|
327
327
|
case 0:
|
|
328
|
-
this.
|
|
329
|
-
rethrowCloseCauseIfNeeded(this.
|
|
330
|
-
if (compare(this.
|
|
328
|
+
this.m8_1 = 4;
|
|
329
|
+
rethrowCloseCauseIfNeeded(this.k4d_1);
|
|
330
|
+
if (compare(this.k4d_1.z4c_1.v(), fromInt(this.l4d_1)) >= 0)
|
|
331
331
|
return true;
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
332
|
+
this.m4d_1 = this.k4d_1;
|
|
333
|
+
this.l8_1 = 1;
|
|
334
334
|
continue $sm;
|
|
335
335
|
case 1:
|
|
336
|
-
if (!(compare(add(numberToLong(this.
|
|
337
|
-
this.
|
|
336
|
+
if (!(compare(add(numberToLong(this.k4d_1.w4c_1), this.k4d_1.z4c_1.v()), fromInt(this.l4d_1)) < 0 && this.k4d_1.b4d_1.kotlinx$atomicfu$value == null)) {
|
|
337
|
+
this.l8_1 = 3;
|
|
338
338
|
continue $sm;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
this.
|
|
341
|
+
this.l8_1 = 2;
|
|
342
342
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
343
|
-
cancellable.
|
|
344
|
-
var tmp0 = this.
|
|
343
|
+
cancellable.ey();
|
|
344
|
+
var tmp0 = this.m4d_1;
|
|
345
345
|
var tmp2 = new Read(cancellable);
|
|
346
346
|
l$ret$1: do {
|
|
347
|
-
var previous = tmp0.
|
|
347
|
+
var previous = tmp0.y4c_1.kotlinx$atomicfu$value;
|
|
348
348
|
if (!(previous instanceof Closed)) {
|
|
349
|
-
if (!tmp0.
|
|
350
|
-
tmp2.
|
|
349
|
+
if (!tmp0.y4c_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
350
|
+
tmp2.o4c();
|
|
351
351
|
break l$ret$1;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
if (previous instanceof Read) {
|
|
355
|
-
previous.
|
|
355
|
+
previous.p4c(new ConcurrentIOException(tmp2.n4c(), previous.l4c()));
|
|
356
356
|
} else {
|
|
357
357
|
if (isInterface(previous, Task)) {
|
|
358
|
-
previous.
|
|
358
|
+
previous.o4c();
|
|
359
359
|
} else {
|
|
360
360
|
if (previous instanceof Closed) {
|
|
361
|
-
tmp2.
|
|
361
|
+
tmp2.p4c(previous.k4c_1);
|
|
362
362
|
break l$ret$1;
|
|
363
363
|
} else {
|
|
364
364
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -367,95 +367,95 @@ protoOf($awaitContentCOROUTINE$).a9 = function () {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
if (!(compare(add(numberToLong(this.
|
|
371
|
-
var current = tmp0.
|
|
370
|
+
if (!(compare(add(numberToLong(this.k4d_1.w4c_1), this.k4d_1.z4c_1.v()), fromInt(this.l4d_1)) < 0 && this.k4d_1.b4d_1.kotlinx$atomicfu$value == null)) {
|
|
371
|
+
var current = tmp0.y4c_1.kotlinx$atomicfu$value;
|
|
372
372
|
var tmp_0;
|
|
373
373
|
if (current instanceof Read) {
|
|
374
|
-
tmp_0 = tmp0.
|
|
374
|
+
tmp_0 = tmp0.y4c_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
375
375
|
} else {
|
|
376
376
|
tmp_0 = false;
|
|
377
377
|
}
|
|
378
378
|
if (tmp_0) {
|
|
379
|
-
current.
|
|
379
|
+
current.o4c();
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
while (false);
|
|
384
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
384
|
+
suspendResult = returnIfSuspended(cancellable.fy(), this);
|
|
385
385
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
386
386
|
return suspendResult;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
continue $sm;
|
|
390
390
|
case 2:
|
|
391
|
-
this.
|
|
391
|
+
this.l8_1 = 1;
|
|
392
392
|
continue $sm;
|
|
393
393
|
case 3:
|
|
394
|
-
if (compare(this.
|
|
395
|
-
moveFlushToReadBuffer(this.
|
|
394
|
+
if (compare(this.k4d_1.z4c_1.v(), new Long(1048576, 0)) < 0) {
|
|
395
|
+
moveFlushToReadBuffer(this.k4d_1);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
return compare(this.
|
|
398
|
+
return compare(this.k4d_1.z4c_1.v(), fromInt(this.l4d_1)) >= 0;
|
|
399
399
|
case 4:
|
|
400
|
-
throw this.
|
|
400
|
+
throw this.o8_1;
|
|
401
401
|
}
|
|
402
402
|
} catch ($p) {
|
|
403
403
|
var e = $p;
|
|
404
|
-
if (this.
|
|
404
|
+
if (this.m8_1 === 4) {
|
|
405
405
|
throw e;
|
|
406
406
|
} else {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
407
|
+
this.l8_1 = this.m8_1;
|
|
408
|
+
this.o8_1 = e;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
while (true);
|
|
412
412
|
};
|
|
413
413
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
414
414
|
CoroutineImpl.call(this, resultContinuation);
|
|
415
|
-
this.
|
|
415
|
+
this.v4d_1 = _this__u8e3s4;
|
|
416
416
|
}
|
|
417
|
-
protoOf($flushCOROUTINE$).
|
|
418
|
-
var suspendResult = this.
|
|
417
|
+
protoOf($flushCOROUTINE$).t8 = function () {
|
|
418
|
+
var suspendResult = this.n8_1;
|
|
419
419
|
$sm: do
|
|
420
420
|
try {
|
|
421
|
-
var tmp = this.
|
|
421
|
+
var tmp = this.l8_1;
|
|
422
422
|
switch (tmp) {
|
|
423
423
|
case 0:
|
|
424
|
-
this.
|
|
425
|
-
rethrowCloseCauseIfNeeded(this.
|
|
426
|
-
this.
|
|
427
|
-
if (this.
|
|
424
|
+
this.m8_1 = 4;
|
|
425
|
+
rethrowCloseCauseIfNeeded(this.v4d_1);
|
|
426
|
+
this.v4d_1.x4d();
|
|
427
|
+
if (this.v4d_1.w4c_1 < 1048576)
|
|
428
428
|
return Unit_instance;
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
429
|
+
this.w4d_1 = this.v4d_1;
|
|
430
|
+
this.l8_1 = 1;
|
|
431
431
|
continue $sm;
|
|
432
432
|
case 1:
|
|
433
|
-
if (!(this.
|
|
434
|
-
this.
|
|
433
|
+
if (!(this.v4d_1.w4c_1 >= 1048576 && this.v4d_1.b4d_1.kotlinx$atomicfu$value == null)) {
|
|
434
|
+
this.l8_1 = 3;
|
|
435
435
|
continue $sm;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
this.
|
|
438
|
+
this.l8_1 = 2;
|
|
439
439
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
440
|
-
cancellable.
|
|
441
|
-
var tmp0 = this.
|
|
440
|
+
cancellable.ey();
|
|
441
|
+
var tmp0 = this.w4d_1;
|
|
442
442
|
var tmp2 = new Write(cancellable);
|
|
443
443
|
l$ret$1: do {
|
|
444
|
-
var previous = tmp0.
|
|
444
|
+
var previous = tmp0.y4c_1.kotlinx$atomicfu$value;
|
|
445
445
|
if (!(previous instanceof Closed)) {
|
|
446
|
-
if (!tmp0.
|
|
447
|
-
tmp2.
|
|
446
|
+
if (!tmp0.y4c_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
447
|
+
tmp2.o4c();
|
|
448
448
|
break l$ret$1;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
if (previous instanceof Write) {
|
|
452
|
-
previous.
|
|
452
|
+
previous.p4c(new ConcurrentIOException(tmp2.n4c(), previous.l4c()));
|
|
453
453
|
} else {
|
|
454
454
|
if (isInterface(previous, Task)) {
|
|
455
|
-
previous.
|
|
455
|
+
previous.o4c();
|
|
456
456
|
} else {
|
|
457
457
|
if (previous instanceof Closed) {
|
|
458
|
-
tmp2.
|
|
458
|
+
tmp2.p4c(previous.k4c_1);
|
|
459
459
|
break l$ret$1;
|
|
460
460
|
} else {
|
|
461
461
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -464,63 +464,63 @@ protoOf($flushCOROUTINE$).a9 = function () {
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
if (!(this.
|
|
468
|
-
var current = tmp0.
|
|
467
|
+
if (!(this.v4d_1.w4c_1 >= 1048576 && this.v4d_1.b4d_1.kotlinx$atomicfu$value == null)) {
|
|
468
|
+
var current = tmp0.y4c_1.kotlinx$atomicfu$value;
|
|
469
469
|
var tmp_0;
|
|
470
470
|
if (current instanceof Write) {
|
|
471
|
-
tmp_0 = tmp0.
|
|
471
|
+
tmp_0 = tmp0.y4c_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
472
472
|
} else {
|
|
473
473
|
tmp_0 = false;
|
|
474
474
|
}
|
|
475
475
|
if (tmp_0) {
|
|
476
|
-
current.
|
|
476
|
+
current.o4c();
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
while (false);
|
|
481
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
481
|
+
suspendResult = returnIfSuspended(cancellable.fy(), this);
|
|
482
482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
483
483
|
return suspendResult;
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
continue $sm;
|
|
487
487
|
case 2:
|
|
488
|
-
this.
|
|
488
|
+
this.l8_1 = 1;
|
|
489
489
|
continue $sm;
|
|
490
490
|
case 3:
|
|
491
491
|
return Unit_instance;
|
|
492
492
|
case 4:
|
|
493
|
-
throw this.
|
|
493
|
+
throw this.o8_1;
|
|
494
494
|
}
|
|
495
495
|
} catch ($p) {
|
|
496
496
|
var e = $p;
|
|
497
|
-
if (this.
|
|
497
|
+
if (this.m8_1 === 4) {
|
|
498
498
|
throw e;
|
|
499
499
|
} else {
|
|
500
|
-
this.
|
|
501
|
-
this.
|
|
500
|
+
this.l8_1 = this.m8_1;
|
|
501
|
+
this.o8_1 = e;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
while (true);
|
|
505
505
|
};
|
|
506
506
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
507
507
|
CoroutineImpl.call(this, resultContinuation);
|
|
508
|
-
this.
|
|
508
|
+
this.g4e_1 = _this__u8e3s4;
|
|
509
509
|
}
|
|
510
|
-
protoOf($flushAndCloseCOROUTINE$).
|
|
511
|
-
var suspendResult = this.
|
|
510
|
+
protoOf($flushAndCloseCOROUTINE$).t8 = function () {
|
|
511
|
+
var suspendResult = this.n8_1;
|
|
512
512
|
$sm: do
|
|
513
513
|
try {
|
|
514
|
-
var tmp = this.
|
|
514
|
+
var tmp = this.l8_1;
|
|
515
515
|
switch (tmp) {
|
|
516
516
|
case 0:
|
|
517
|
-
this.
|
|
518
|
-
var this_0 = this.
|
|
519
|
-
this.
|
|
517
|
+
this.m8_1 = 4;
|
|
518
|
+
var this_0 = this.g4e_1;
|
|
519
|
+
this.m8_1 = 2;
|
|
520
520
|
var tmp_0 = this;
|
|
521
|
-
tmp_0.
|
|
522
|
-
this.
|
|
523
|
-
suspendResult = this_0.
|
|
521
|
+
tmp_0.i4e_1 = Companion_instance;
|
|
522
|
+
this.l8_1 = 1;
|
|
523
|
+
suspendResult = this_0.j4e(this);
|
|
524
524
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
525
525
|
return suspendResult;
|
|
526
526
|
}
|
|
@@ -528,141 +528,141 @@ protoOf($flushAndCloseCOROUTINE$).a9 = function () {
|
|
|
528
528
|
continue $sm;
|
|
529
529
|
case 1:
|
|
530
530
|
var tmp_1 = this;
|
|
531
|
-
this.
|
|
532
|
-
tmp_1.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
531
|
+
this.i4e_1;
|
|
532
|
+
tmp_1.h4e_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
533
|
+
this.m8_1 = 4;
|
|
534
|
+
this.l8_1 = 3;
|
|
535
535
|
continue $sm;
|
|
536
536
|
case 2:
|
|
537
|
-
this.
|
|
538
|
-
var tmp_2 = this.
|
|
537
|
+
this.m8_1 = 4;
|
|
538
|
+
var tmp_2 = this.o8_1;
|
|
539
539
|
if (tmp_2 instanceof Error) {
|
|
540
|
-
var e = this.
|
|
540
|
+
var e = this.o8_1;
|
|
541
541
|
var tmp_3 = this;
|
|
542
|
-
tmp_3.
|
|
543
|
-
this.
|
|
542
|
+
tmp_3.h4e_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
543
|
+
this.l8_1 = 3;
|
|
544
544
|
continue $sm;
|
|
545
545
|
} else {
|
|
546
|
-
throw this.
|
|
546
|
+
throw this.o8_1;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
case 3:
|
|
550
|
-
this.
|
|
551
|
-
if (!this.
|
|
550
|
+
this.m8_1 = 4;
|
|
551
|
+
if (!this.g4e_1.b4d_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
552
552
|
return Unit_instance;
|
|
553
|
-
closeSlot(this.
|
|
553
|
+
closeSlot(this.g4e_1, null);
|
|
554
554
|
return Unit_instance;
|
|
555
555
|
case 4:
|
|
556
|
-
throw this.
|
|
556
|
+
throw this.o8_1;
|
|
557
557
|
}
|
|
558
558
|
} catch ($p) {
|
|
559
559
|
var e_0 = $p;
|
|
560
|
-
if (this.
|
|
560
|
+
if (this.m8_1 === 4) {
|
|
561
561
|
throw e_0;
|
|
562
562
|
} else {
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
563
|
+
this.l8_1 = this.m8_1;
|
|
564
|
+
this.o8_1 = e_0;
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
while (true);
|
|
568
568
|
};
|
|
569
569
|
function ByteChannel(autoFlush) {
|
|
570
570
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
}
|
|
580
|
-
protoOf(ByteChannel).
|
|
581
|
-
var tmp0_safe_receiver = this.
|
|
571
|
+
this.u4c_1 = autoFlush;
|
|
572
|
+
this.v4c_1 = new Buffer();
|
|
573
|
+
this.w4c_1 = 0;
|
|
574
|
+
this.x4c_1 = new Object();
|
|
575
|
+
this.y4c_1 = atomic$ref$1(Empty_instance);
|
|
576
|
+
this.z4c_1 = new Buffer();
|
|
577
|
+
this.a4d_1 = new Buffer();
|
|
578
|
+
this.b4d_1 = atomic$ref$1(null);
|
|
579
|
+
}
|
|
580
|
+
protoOf(ByteChannel).k4e = function () {
|
|
581
|
+
var tmp0_safe_receiver = this.b4d_1.kotlinx$atomicfu$value;
|
|
582
582
|
if (tmp0_safe_receiver == null)
|
|
583
583
|
null;
|
|
584
584
|
else {
|
|
585
|
-
tmp0_safe_receiver.
|
|
585
|
+
tmp0_safe_receiver.m4e(ClosedReadChannelException$_init_$ref_ix0089());
|
|
586
586
|
}
|
|
587
|
-
if (this.
|
|
587
|
+
if (this.z4c_1.sq()) {
|
|
588
588
|
moveFlushToReadBuffer(this);
|
|
589
589
|
}
|
|
590
|
-
return this.
|
|
590
|
+
return this.z4c_1;
|
|
591
591
|
};
|
|
592
|
-
protoOf(ByteChannel).
|
|
593
|
-
if (this.
|
|
594
|
-
var tmp0_safe_receiver = this.
|
|
592
|
+
protoOf(ByteChannel).n4e = function () {
|
|
593
|
+
if (this.o4e()) {
|
|
594
|
+
var tmp0_safe_receiver = this.b4d_1.kotlinx$atomicfu$value;
|
|
595
595
|
var tmp;
|
|
596
596
|
if (tmp0_safe_receiver == null) {
|
|
597
597
|
tmp = null;
|
|
598
598
|
} else {
|
|
599
|
-
tmp = tmp0_safe_receiver.
|
|
599
|
+
tmp = tmp0_safe_receiver.m4e(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
600
600
|
}
|
|
601
601
|
if (tmp == null)
|
|
602
602
|
throw new ClosedWriteChannelException();
|
|
603
603
|
}
|
|
604
|
-
return this.
|
|
604
|
+
return this.a4d_1;
|
|
605
605
|
};
|
|
606
|
-
protoOf(ByteChannel).
|
|
607
|
-
var tmp0_safe_receiver = this.
|
|
608
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
606
|
+
protoOf(ByteChannel).p4e = function () {
|
|
607
|
+
var tmp0_safe_receiver = this.b4d_1.kotlinx$atomicfu$value;
|
|
608
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q4e();
|
|
609
609
|
};
|
|
610
|
-
protoOf(ByteChannel).
|
|
611
|
-
return !(this.
|
|
610
|
+
protoOf(ByteChannel).o4e = function () {
|
|
611
|
+
return !(this.b4d_1.kotlinx$atomicfu$value == null);
|
|
612
612
|
};
|
|
613
|
-
protoOf(ByteChannel).
|
|
614
|
-
return !(this.
|
|
613
|
+
protoOf(ByteChannel).r4e = function () {
|
|
614
|
+
return !(this.p4e() == null) || (this.o4e() && this.w4c_1 === 0 && this.z4c_1.sq());
|
|
615
615
|
};
|
|
616
|
-
protoOf(ByteChannel).
|
|
616
|
+
protoOf(ByteChannel).s4e = function (min, $completion) {
|
|
617
617
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
618
|
-
tmp.
|
|
619
|
-
tmp.
|
|
620
|
-
return tmp.
|
|
618
|
+
tmp.n8_1 = Unit_instance;
|
|
619
|
+
tmp.o8_1 = null;
|
|
620
|
+
return tmp.t8();
|
|
621
621
|
};
|
|
622
|
-
protoOf(ByteChannel).
|
|
622
|
+
protoOf(ByteChannel).j4e = function ($completion) {
|
|
623
623
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
624
|
-
tmp.
|
|
625
|
-
tmp.
|
|
626
|
-
return tmp.
|
|
624
|
+
tmp.n8_1 = Unit_instance;
|
|
625
|
+
tmp.o8_1 = null;
|
|
626
|
+
return tmp.t8();
|
|
627
627
|
};
|
|
628
|
-
protoOf(ByteChannel).
|
|
629
|
-
if (this.
|
|
628
|
+
protoOf(ByteChannel).x4d = function () {
|
|
629
|
+
if (this.a4d_1.sq())
|
|
630
630
|
return Unit_instance;
|
|
631
631
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
632
|
-
this.
|
|
633
|
-
var count = convertToInt(this.
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
632
|
+
this.x4c_1;
|
|
633
|
+
var count = convertToInt(this.a4d_1.v());
|
|
634
|
+
this.v4c_1.ks(this.a4d_1);
|
|
635
|
+
this.w4c_1 = this.w4c_1 + count | 0;
|
|
636
636
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
637
|
-
var current = this.
|
|
637
|
+
var current = this.y4c_1.kotlinx$atomicfu$value;
|
|
638
638
|
var tmp;
|
|
639
639
|
if (current instanceof Read) {
|
|
640
|
-
tmp = this.
|
|
640
|
+
tmp = this.y4c_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
641
641
|
} else {
|
|
642
642
|
tmp = false;
|
|
643
643
|
}
|
|
644
644
|
if (tmp) {
|
|
645
|
-
current.
|
|
645
|
+
current.o4c();
|
|
646
646
|
}
|
|
647
647
|
};
|
|
648
|
-
protoOf(ByteChannel).
|
|
649
|
-
this.
|
|
650
|
-
if (!this.
|
|
648
|
+
protoOf(ByteChannel).p3 = function () {
|
|
649
|
+
this.x4d();
|
|
650
|
+
if (!this.b4d_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
651
651
|
return Unit_instance;
|
|
652
652
|
closeSlot(this, null);
|
|
653
653
|
};
|
|
654
|
-
protoOf(ByteChannel).
|
|
654
|
+
protoOf(ByteChannel).u4e = function ($completion) {
|
|
655
655
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
656
|
-
tmp.
|
|
657
|
-
tmp.
|
|
658
|
-
return tmp.
|
|
656
|
+
tmp.n8_1 = Unit_instance;
|
|
657
|
+
tmp.o8_1 = null;
|
|
658
|
+
return tmp.t8();
|
|
659
659
|
};
|
|
660
|
-
protoOf(ByteChannel).
|
|
661
|
-
if (!(this.
|
|
660
|
+
protoOf(ByteChannel).v4e = function (cause) {
|
|
661
|
+
if (!(this.b4d_1.kotlinx$atomicfu$value == null))
|
|
662
662
|
return Unit_instance;
|
|
663
663
|
var closedToken = new CloseToken(cause);
|
|
664
|
-
this.
|
|
665
|
-
var wrappedCause = closedToken.
|
|
664
|
+
this.b4d_1.atomicfu$compareAndSet(null, closedToken);
|
|
665
|
+
var wrappedCause = closedToken.q4e();
|
|
666
666
|
closeSlot(this, wrappedCause);
|
|
667
667
|
};
|
|
668
668
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -678,7 +678,7 @@ function ByteReadChannel(content, offset, length) {
|
|
|
678
678
|
length = length === VOID ? content.length : length;
|
|
679
679
|
// Inline function 'kotlin.also' call
|
|
680
680
|
var this_0 = new Buffer();
|
|
681
|
-
this_0.
|
|
681
|
+
this_0.cs(content, offset, offset + length | 0);
|
|
682
682
|
var source = this_0;
|
|
683
683
|
return ByteReadChannel_0(source);
|
|
684
684
|
}
|
|
@@ -686,18 +686,18 @@ function ByteReadChannel_0(source) {
|
|
|
686
686
|
return new SourceByteReadChannel(source);
|
|
687
687
|
}
|
|
688
688
|
function buildPartialMatchTable($this) {
|
|
689
|
-
var table = new Int32Array($this.
|
|
689
|
+
var table = new Int32Array($this.x4e_1.v());
|
|
690
690
|
var j = 0;
|
|
691
691
|
var inductionVariable = 1;
|
|
692
|
-
var last = $this.
|
|
692
|
+
var last = $this.x4e_1.v();
|
|
693
693
|
if (inductionVariable < last)
|
|
694
694
|
do {
|
|
695
695
|
var i = inductionVariable;
|
|
696
696
|
inductionVariable = inductionVariable + 1 | 0;
|
|
697
|
-
while (j > 0 && !($this.
|
|
697
|
+
while (j > 0 && !($this.x4e_1.x(i) === $this.x4e_1.x(j))) {
|
|
698
698
|
j = table[j - 1 | 0];
|
|
699
699
|
}
|
|
700
|
-
if ($this.
|
|
700
|
+
if ($this.x4e_1.x(i) === $this.x4e_1.x(j)) {
|
|
701
701
|
j = j + 1 | 0;
|
|
702
702
|
}
|
|
703
703
|
table[i] = j;
|
|
@@ -707,19 +707,19 @@ function buildPartialMatchTable($this) {
|
|
|
707
707
|
}
|
|
708
708
|
function advanceToNextPotentialMatch($this, $completion) {
|
|
709
709
|
var tmp = new $advanceToNextPotentialMatchCOROUTINE$($this, $completion);
|
|
710
|
-
tmp.
|
|
711
|
-
tmp.
|
|
712
|
-
return tmp.
|
|
710
|
+
tmp.n8_1 = Unit_instance;
|
|
711
|
+
tmp.o8_1 = null;
|
|
712
|
+
return tmp.t8();
|
|
713
713
|
}
|
|
714
714
|
function checkFullMatch($this, $completion) {
|
|
715
715
|
var tmp = new $checkFullMatchCOROUTINE$($this, $completion);
|
|
716
|
-
tmp.
|
|
717
|
-
tmp.
|
|
718
|
-
return tmp.
|
|
716
|
+
tmp.n8_1 = Unit_instance;
|
|
717
|
+
tmp.o8_1 = null;
|
|
718
|
+
return tmp.t8();
|
|
719
719
|
}
|
|
720
720
|
function checkBounds($this, extra) {
|
|
721
|
-
if (compare(add($this.
|
|
722
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
721
|
+
if (compare(add($this.d4f_1, extra), $this.z4e_1) > 0) {
|
|
722
|
+
throw IOException_init_$Create$('Limit of ' + $this.z4e_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.x4e_1) + '"'));
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
725
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -727,28 +727,28 @@ function toSingleLineString($this, _this__u8e3s4) {
|
|
|
727
727
|
}
|
|
728
728
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
729
729
|
CoroutineImpl.call(this, resultContinuation);
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
730
|
+
this.i4g_1 = _this__u8e3s4;
|
|
731
|
+
this.j4g_1 = ignoreMissing;
|
|
732
732
|
}
|
|
733
|
-
protoOf($findNextCOROUTINE$).
|
|
734
|
-
var suspendResult = this.
|
|
733
|
+
protoOf($findNextCOROUTINE$).t8 = function () {
|
|
734
|
+
var suspendResult = this.n8_1;
|
|
735
735
|
$sm: do
|
|
736
736
|
try {
|
|
737
|
-
var tmp = this.
|
|
737
|
+
var tmp = this.l8_1;
|
|
738
738
|
switch (tmp) {
|
|
739
739
|
case 0:
|
|
740
|
-
this.
|
|
741
|
-
this.
|
|
742
|
-
this.
|
|
740
|
+
this.m8_1 = 9;
|
|
741
|
+
this.i4g_1.d4f_1 = new Long(0, 0);
|
|
742
|
+
this.l8_1 = 1;
|
|
743
743
|
continue $sm;
|
|
744
744
|
case 1:
|
|
745
|
-
if (!this.
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
745
|
+
if (!this.i4g_1.a4f_1.sq()) {
|
|
746
|
+
this.k4g_1 = true;
|
|
747
|
+
this.l8_1 = 3;
|
|
748
748
|
continue $sm;
|
|
749
749
|
} else {
|
|
750
|
-
this.
|
|
751
|
-
suspendResult = this.
|
|
750
|
+
this.l8_1 = 2;
|
|
751
|
+
suspendResult = this.i4g_1.w4e_1.t4e(VOID, this);
|
|
752
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
753
|
return suspendResult;
|
|
754
754
|
}
|
|
@@ -756,25 +756,25 @@ protoOf($findNextCOROUTINE$).a9 = function () {
|
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
case 2:
|
|
759
|
-
this.
|
|
760
|
-
this.
|
|
759
|
+
this.k4g_1 = suspendResult;
|
|
760
|
+
this.l8_1 = 3;
|
|
761
761
|
continue $sm;
|
|
762
762
|
case 3:
|
|
763
|
-
if (!this.
|
|
764
|
-
this.
|
|
763
|
+
if (!this.k4g_1) {
|
|
764
|
+
this.l8_1 = 7;
|
|
765
765
|
continue $sm;
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
this.
|
|
769
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
768
|
+
this.l8_1 = 4;
|
|
769
|
+
suspendResult = advanceToNextPotentialMatch(this.i4g_1, this);
|
|
770
770
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
771
771
|
return suspendResult;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
continue $sm;
|
|
775
775
|
case 4:
|
|
776
|
-
this.
|
|
777
|
-
suspendResult = checkFullMatch(this.
|
|
776
|
+
this.l8_1 = 5;
|
|
777
|
+
suspendResult = checkFullMatch(this.i4g_1, this);
|
|
778
778
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
779
779
|
return suspendResult;
|
|
780
780
|
}
|
|
@@ -782,66 +782,66 @@ protoOf($findNextCOROUTINE$).a9 = function () {
|
|
|
782
782
|
continue $sm;
|
|
783
783
|
case 5:
|
|
784
784
|
if (suspendResult) {
|
|
785
|
-
return this.
|
|
785
|
+
return this.i4g_1.d4f_1;
|
|
786
786
|
} else {
|
|
787
|
-
this.
|
|
787
|
+
this.l8_1 = 6;
|
|
788
788
|
continue $sm;
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
case 6:
|
|
792
|
-
this.
|
|
792
|
+
this.l8_1 = 1;
|
|
793
793
|
continue $sm;
|
|
794
794
|
case 7:
|
|
795
|
-
if (!this.
|
|
796
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
795
|
+
if (!this.j4g_1) {
|
|
796
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.i4g_1, this.i4g_1.x4e_1) + '" but encountered end of input');
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
-
this.
|
|
800
|
-
this.
|
|
801
|
-
suspendResult = this.
|
|
799
|
+
this.i4g_1.d4f_1 = add(this.i4g_1.d4f_1, this.i4g_1.c4f_1.wr(this.i4g_1.y4e_1.n4e()));
|
|
800
|
+
this.l8_1 = 8;
|
|
801
|
+
suspendResult = this.i4g_1.y4e_1.j4e(this);
|
|
802
802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
803
803
|
return suspendResult;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
continue $sm;
|
|
807
807
|
case 8:
|
|
808
|
-
return this.
|
|
808
|
+
return this.i4g_1.d4f_1;
|
|
809
809
|
case 9:
|
|
810
|
-
throw this.
|
|
810
|
+
throw this.o8_1;
|
|
811
811
|
}
|
|
812
812
|
} catch ($p) {
|
|
813
813
|
var e = $p;
|
|
814
|
-
if (this.
|
|
814
|
+
if (this.m8_1 === 9) {
|
|
815
815
|
throw e;
|
|
816
816
|
} else {
|
|
817
|
-
this.
|
|
818
|
-
this.
|
|
817
|
+
this.l8_1 = this.m8_1;
|
|
818
|
+
this.o8_1 = e;
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
while (true);
|
|
822
822
|
};
|
|
823
823
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
824
824
|
CoroutineImpl.call(this, resultContinuation);
|
|
825
|
-
this.
|
|
825
|
+
this.n4f_1 = _this__u8e3s4;
|
|
826
826
|
}
|
|
827
|
-
protoOf($advanceToNextPotentialMatchCOROUTINE$).
|
|
828
|
-
var suspendResult = this.
|
|
827
|
+
protoOf($advanceToNextPotentialMatchCOROUTINE$).t8 = function () {
|
|
828
|
+
var suspendResult = this.n8_1;
|
|
829
829
|
$sm: do
|
|
830
830
|
try {
|
|
831
|
-
var tmp = this.
|
|
831
|
+
var tmp = this.l8_1;
|
|
832
832
|
switch (tmp) {
|
|
833
833
|
case 0:
|
|
834
|
-
this.
|
|
835
|
-
this.
|
|
834
|
+
this.m8_1 = 8;
|
|
835
|
+
this.l8_1 = 1;
|
|
836
836
|
continue $sm;
|
|
837
837
|
case 1:
|
|
838
|
-
if (!this.
|
|
839
|
-
this.
|
|
840
|
-
this.
|
|
838
|
+
if (!this.n4f_1.a4f_1.sq()) {
|
|
839
|
+
this.o4f_1 = true;
|
|
840
|
+
this.l8_1 = 3;
|
|
841
841
|
continue $sm;
|
|
842
842
|
} else {
|
|
843
|
-
this.
|
|
844
|
-
suspendResult = this.
|
|
843
|
+
this.l8_1 = 2;
|
|
844
|
+
suspendResult = this.n4f_1.w4e_1.t4e(VOID, this);
|
|
845
845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
846
846
|
return suspendResult;
|
|
847
847
|
}
|
|
@@ -849,34 +849,34 @@ protoOf($advanceToNextPotentialMatchCOROUTINE$).a9 = function () {
|
|
|
849
849
|
}
|
|
850
850
|
|
|
851
851
|
case 2:
|
|
852
|
-
this.
|
|
853
|
-
this.
|
|
852
|
+
this.o4f_1 = suspendResult;
|
|
853
|
+
this.l8_1 = 3;
|
|
854
854
|
continue $sm;
|
|
855
855
|
case 3:
|
|
856
|
-
if (!this.
|
|
857
|
-
this.
|
|
856
|
+
if (!this.o4f_1) {
|
|
857
|
+
this.l8_1 = 7;
|
|
858
858
|
continue $sm;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
var nextMatch = indexOf(this.
|
|
861
|
+
var nextMatch = indexOf(this.n4f_1.a4f_1, this.n4f_1.x4e_1.x(0));
|
|
862
862
|
if (equalsLong(nextMatch, new Long(-1, -1))) {
|
|
863
|
-
var tmp_0 = this.
|
|
864
|
-
checkBounds(this.
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
867
|
-
suspendResult = flushIfNeeded(this.
|
|
863
|
+
var tmp_0 = this.n4f_1.a4f_1;
|
|
864
|
+
checkBounds(this.n4f_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).v());
|
|
865
|
+
this.n4f_1.d4f_1 = add(this.n4f_1.d4f_1, this.n4f_1.a4f_1.wr(this.n4f_1.y4e_1.n4e()));
|
|
866
|
+
this.l8_1 = 5;
|
|
867
|
+
suspendResult = flushIfNeeded(this.n4f_1.y4e_1, this);
|
|
868
868
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
869
869
|
return suspendResult;
|
|
870
870
|
}
|
|
871
871
|
continue $sm;
|
|
872
872
|
} else {
|
|
873
|
-
checkBounds(this.
|
|
874
|
-
var tmp_1 = this.
|
|
875
|
-
var tmp_2 = this.
|
|
876
|
-
var tmp_3 = this.
|
|
877
|
-
tmp_1.
|
|
878
|
-
this.
|
|
879
|
-
suspendResult = flushIfNeeded(this.
|
|
873
|
+
checkBounds(this.n4f_1, nextMatch);
|
|
874
|
+
var tmp_1 = this.n4f_1;
|
|
875
|
+
var tmp_2 = this.n4f_1.d4f_1;
|
|
876
|
+
var tmp_3 = this.n4f_1.y4e_1.n4e();
|
|
877
|
+
tmp_1.d4f_1 = add(tmp_2, this.n4f_1.a4f_1.tr(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
|
|
878
|
+
this.l8_1 = 4;
|
|
879
|
+
suspendResult = flushIfNeeded(this.n4f_1.y4e_1, this);
|
|
880
880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
881
881
|
return suspendResult;
|
|
882
882
|
}
|
|
@@ -886,49 +886,49 @@ protoOf($advanceToNextPotentialMatchCOROUTINE$).a9 = function () {
|
|
|
886
886
|
case 4:
|
|
887
887
|
return Unit_instance;
|
|
888
888
|
case 5:
|
|
889
|
-
this.
|
|
889
|
+
this.l8_1 = 6;
|
|
890
890
|
continue $sm;
|
|
891
891
|
case 6:
|
|
892
|
-
this.
|
|
892
|
+
this.l8_1 = 1;
|
|
893
893
|
continue $sm;
|
|
894
894
|
case 7:
|
|
895
895
|
return Unit_instance;
|
|
896
896
|
case 8:
|
|
897
|
-
throw this.
|
|
897
|
+
throw this.o8_1;
|
|
898
898
|
}
|
|
899
899
|
} catch ($p) {
|
|
900
900
|
var e = $p;
|
|
901
|
-
if (this.
|
|
901
|
+
if (this.m8_1 === 8) {
|
|
902
902
|
throw e;
|
|
903
903
|
} else {
|
|
904
|
-
this.
|
|
905
|
-
this.
|
|
904
|
+
this.l8_1 = this.m8_1;
|
|
905
|
+
this.o8_1 = e;
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
908
|
while (true);
|
|
909
909
|
};
|
|
910
910
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
911
911
|
CoroutineImpl.call(this, resultContinuation);
|
|
912
|
-
this.
|
|
912
|
+
this.x4f_1 = _this__u8e3s4;
|
|
913
913
|
}
|
|
914
|
-
protoOf($checkFullMatchCOROUTINE$).
|
|
915
|
-
var suspendResult = this.
|
|
914
|
+
protoOf($checkFullMatchCOROUTINE$).t8 = function () {
|
|
915
|
+
var suspendResult = this.n8_1;
|
|
916
916
|
$sm: do
|
|
917
917
|
try {
|
|
918
|
-
var tmp = this.
|
|
918
|
+
var tmp = this.l8_1;
|
|
919
919
|
switch (tmp) {
|
|
920
920
|
case 0:
|
|
921
|
-
this.
|
|
922
|
-
this.
|
|
921
|
+
this.m8_1 = 8;
|
|
922
|
+
this.l8_1 = 1;
|
|
923
923
|
continue $sm;
|
|
924
924
|
case 1:
|
|
925
|
-
if (!this.
|
|
926
|
-
this.
|
|
927
|
-
this.
|
|
925
|
+
if (!this.x4f_1.a4f_1.sq()) {
|
|
926
|
+
this.z4f_1 = true;
|
|
927
|
+
this.l8_1 = 3;
|
|
928
928
|
continue $sm;
|
|
929
929
|
} else {
|
|
930
|
-
this.
|
|
931
|
-
suspendResult = this.
|
|
930
|
+
this.l8_1 = 2;
|
|
931
|
+
suspendResult = this.x4f_1.w4e_1.t4e(VOID, this);
|
|
932
932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
933
933
|
return suspendResult;
|
|
934
934
|
}
|
|
@@ -936,120 +936,120 @@ protoOf($checkFullMatchCOROUTINE$).a9 = function () {
|
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
case 2:
|
|
939
|
-
this.
|
|
940
|
-
this.
|
|
939
|
+
this.z4f_1 = suspendResult;
|
|
940
|
+
this.l8_1 = 3;
|
|
941
941
|
continue $sm;
|
|
942
942
|
case 3:
|
|
943
|
-
if (!this.
|
|
944
|
-
this.
|
|
943
|
+
if (!this.z4f_1) {
|
|
944
|
+
this.l8_1 = 7;
|
|
945
945
|
continue $sm;
|
|
946
946
|
}
|
|
947
947
|
|
|
948
|
-
this.
|
|
949
|
-
if (this.
|
|
950
|
-
var oldMatchIndex = this.
|
|
951
|
-
while (this.
|
|
952
|
-
this.
|
|
948
|
+
this.y4f_1 = this.x4f_1.a4f_1.vq();
|
|
949
|
+
if (this.x4f_1.e4f_1 > 0 && !(this.y4f_1 === this.x4f_1.x4e_1.x(this.x4f_1.e4f_1))) {
|
|
950
|
+
var oldMatchIndex = this.x4f_1.e4f_1;
|
|
951
|
+
while (this.x4f_1.e4f_1 > 0 && !(this.y4f_1 === this.x4f_1.x4e_1.x(this.x4f_1.e4f_1))) {
|
|
952
|
+
this.x4f_1.e4f_1 = this.x4f_1.b4f_1[this.x4f_1.e4f_1 - 1 | 0];
|
|
953
953
|
}
|
|
954
|
-
var retained = fromInt(oldMatchIndex - this.
|
|
955
|
-
checkBounds(this.
|
|
956
|
-
var tmp_0 = this.
|
|
957
|
-
var tmp_1 = this.
|
|
958
|
-
var tmp_2 = this.
|
|
959
|
-
tmp_0.
|
|
960
|
-
if (this.
|
|
961
|
-
this.
|
|
962
|
-
suspendResult = writeByte(this.
|
|
954
|
+
var retained = fromInt(oldMatchIndex - this.x4f_1.e4f_1 | 0);
|
|
955
|
+
checkBounds(this.x4f_1, retained);
|
|
956
|
+
var tmp_0 = this.x4f_1;
|
|
957
|
+
var tmp_1 = this.x4f_1.d4f_1;
|
|
958
|
+
var tmp_2 = this.x4f_1.y4e_1.n4e();
|
|
959
|
+
tmp_0.d4f_1 = add(tmp_1, this.x4f_1.c4f_1.tr(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
|
|
960
|
+
if (this.x4f_1.e4f_1 === 0 && !(this.y4f_1 === this.x4f_1.x4e_1.x(this.x4f_1.e4f_1))) {
|
|
961
|
+
this.l8_1 = 6;
|
|
962
|
+
suspendResult = writeByte(this.x4f_1.y4e_1, this.y4f_1, this);
|
|
963
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
964
964
|
return suspendResult;
|
|
965
965
|
}
|
|
966
966
|
continue $sm;
|
|
967
967
|
} else {
|
|
968
|
-
this.
|
|
968
|
+
this.l8_1 = 4;
|
|
969
969
|
continue $sm;
|
|
970
970
|
}
|
|
971
971
|
} else {
|
|
972
|
-
this.
|
|
972
|
+
this.l8_1 = 5;
|
|
973
973
|
continue $sm;
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
case 4:
|
|
977
|
-
this.
|
|
977
|
+
this.l8_1 = 5;
|
|
978
978
|
continue $sm;
|
|
979
979
|
case 5:
|
|
980
|
-
this.
|
|
981
|
-
if (this.
|
|
980
|
+
this.x4f_1.e4f_1 = this.x4f_1.e4f_1 + 1 | 0;
|
|
981
|
+
if (this.x4f_1.e4f_1 === this.x4f_1.x4e_1.v()) {
|
|
982
982
|
return true;
|
|
983
983
|
}
|
|
984
984
|
|
|
985
|
-
this.
|
|
986
|
-
this.
|
|
985
|
+
this.x4f_1.c4f_1.ls(this.y4f_1);
|
|
986
|
+
this.l8_1 = 1;
|
|
987
987
|
continue $sm;
|
|
988
988
|
case 6:
|
|
989
|
-
var _unary__edvuaz = this.
|
|
990
|
-
this.
|
|
989
|
+
var _unary__edvuaz = this.x4f_1.d4f_1;
|
|
990
|
+
this.x4f_1.d4f_1 = add(_unary__edvuaz, get_ONE());
|
|
991
991
|
return false;
|
|
992
992
|
case 7:
|
|
993
993
|
return false;
|
|
994
994
|
case 8:
|
|
995
|
-
throw this.
|
|
995
|
+
throw this.o8_1;
|
|
996
996
|
}
|
|
997
997
|
} catch ($p) {
|
|
998
998
|
var e = $p;
|
|
999
|
-
if (this.
|
|
999
|
+
if (this.m8_1 === 8) {
|
|
1000
1000
|
throw e;
|
|
1001
1001
|
} else {
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1002
|
+
this.l8_1 = this.m8_1;
|
|
1003
|
+
this.o8_1 = e;
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
while (true);
|
|
1007
1007
|
};
|
|
1008
1008
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1009
1009
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1010
|
+
this.w4e_1 = channel;
|
|
1011
|
+
this.x4e_1 = matchString;
|
|
1012
|
+
this.y4e_1 = writeChannel;
|
|
1013
|
+
this.z4e_1 = limit;
|
|
1014
1014
|
// Inline function 'kotlin.require' call
|
|
1015
|
-
if (!(this.
|
|
1015
|
+
if (!(this.x4e_1.v() > 0)) {
|
|
1016
1016
|
var message = 'Empty match string not permitted for scanning';
|
|
1017
1017
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1018
1018
|
}
|
|
1019
|
-
this.
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1022
|
-
this.
|
|
1023
|
-
this.
|
|
1019
|
+
this.a4f_1 = this.w4e_1.k4e();
|
|
1020
|
+
this.b4f_1 = buildPartialMatchTable(this);
|
|
1021
|
+
this.c4f_1 = new Buffer();
|
|
1022
|
+
this.d4f_1 = new Long(0, 0);
|
|
1023
|
+
this.e4f_1 = 0;
|
|
1024
1024
|
}
|
|
1025
|
-
protoOf(ByteChannelScanner).
|
|
1025
|
+
protoOf(ByteChannelScanner).l4g = function (ignoreMissing, $completion) {
|
|
1026
1026
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1027
|
-
tmp.
|
|
1028
|
-
tmp.
|
|
1029
|
-
return tmp.
|
|
1027
|
+
tmp.n8_1 = Unit_instance;
|
|
1028
|
+
tmp.o8_1 = null;
|
|
1029
|
+
return tmp.t8();
|
|
1030
1030
|
};
|
|
1031
1031
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1032
|
-
this.
|
|
1033
|
-
this.
|
|
1032
|
+
this.m4g_1 = null;
|
|
1033
|
+
this.n4g_1 = new Buffer();
|
|
1034
1034
|
}
|
|
1035
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1036
|
-
return this.
|
|
1035
|
+
protoOf(ByteReadChannel$Companion$Empty$1).p4e = function () {
|
|
1036
|
+
return this.m4g_1;
|
|
1037
1037
|
};
|
|
1038
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1038
|
+
protoOf(ByteReadChannel$Companion$Empty$1).r4e = function () {
|
|
1039
1039
|
return true;
|
|
1040
1040
|
};
|
|
1041
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1042
|
-
return this.
|
|
1041
|
+
protoOf(ByteReadChannel$Companion$Empty$1).k4e = function () {
|
|
1042
|
+
return this.n4g_1;
|
|
1043
1043
|
};
|
|
1044
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1044
|
+
protoOf(ByteReadChannel$Companion$Empty$1).s4e = function (min, $completion) {
|
|
1045
1045
|
return false;
|
|
1046
1046
|
};
|
|
1047
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1047
|
+
protoOf(ByteReadChannel$Companion$Empty$1).v4e = function (cause) {
|
|
1048
1048
|
};
|
|
1049
1049
|
function Companion_0() {
|
|
1050
1050
|
Companion_instance_1 = this;
|
|
1051
1051
|
var tmp = this;
|
|
1052
|
-
tmp.
|
|
1052
|
+
tmp.o4g_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1053
1053
|
}
|
|
1054
1054
|
var Companion_instance_1;
|
|
1055
1055
|
function Companion_getInstance_0() {
|
|
@@ -1060,68 +1060,68 @@ function Companion_getInstance_0() {
|
|
|
1060
1060
|
function ByteReadChannel_1() {
|
|
1061
1061
|
}
|
|
1062
1062
|
function cancel_0(_this__u8e3s4) {
|
|
1063
|
-
_this__u8e3s4.
|
|
1063
|
+
_this__u8e3s4.v4e(IOException_init_$Create$('Channel was cancelled'));
|
|
1064
1064
|
}
|
|
1065
1065
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
1066
1066
|
var tmp = new $readRemainingCOROUTINE$(_this__u8e3s4, $completion);
|
|
1067
|
-
tmp.
|
|
1068
|
-
tmp.
|
|
1069
|
-
return tmp.
|
|
1067
|
+
tmp.n8_1 = Unit_instance;
|
|
1068
|
+
tmp.o8_1 = null;
|
|
1069
|
+
return tmp.t8();
|
|
1070
1070
|
}
|
|
1071
1071
|
function discard(_this__u8e3s4, max, $completion) {
|
|
1072
1072
|
max = max === VOID ? new Long(-1, 2147483647) : max;
|
|
1073
1073
|
var tmp = new $discardCOROUTINE$(_this__u8e3s4, max, $completion);
|
|
1074
|
-
tmp.
|
|
1075
|
-
tmp.
|
|
1076
|
-
return tmp.
|
|
1074
|
+
tmp.n8_1 = Unit_instance;
|
|
1075
|
+
tmp.o8_1 = null;
|
|
1076
|
+
return tmp.t8();
|
|
1077
1077
|
}
|
|
1078
1078
|
function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
|
|
1079
1079
|
offset = offset === VOID ? 0 : offset;
|
|
1080
1080
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
1081
1081
|
var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
|
|
1082
|
-
tmp.
|
|
1083
|
-
tmp.
|
|
1084
|
-
return tmp.
|
|
1082
|
+
tmp.n8_1 = Unit_instance;
|
|
1083
|
+
tmp.o8_1 = null;
|
|
1084
|
+
return tmp.t8();
|
|
1085
1085
|
}
|
|
1086
1086
|
function toByteArray(_this__u8e3s4, $completion) {
|
|
1087
1087
|
var tmp = new $toByteArrayCOROUTINE$(_this__u8e3s4, $completion);
|
|
1088
|
-
tmp.
|
|
1089
|
-
tmp.
|
|
1090
|
-
return tmp.
|
|
1088
|
+
tmp.n8_1 = Unit_instance;
|
|
1089
|
+
tmp.o8_1 = null;
|
|
1090
|
+
return tmp.t8();
|
|
1091
1091
|
}
|
|
1092
1092
|
function copyTo(_this__u8e3s4, channel, limit, $completion) {
|
|
1093
1093
|
var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, limit, $completion);
|
|
1094
|
-
tmp.
|
|
1095
|
-
tmp.
|
|
1096
|
-
return tmp.
|
|
1094
|
+
tmp.n8_1 = Unit_instance;
|
|
1095
|
+
tmp.o8_1 = null;
|
|
1096
|
+
return tmp.t8();
|
|
1097
1097
|
}
|
|
1098
1098
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1099
1099
|
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1100
|
-
tmp.
|
|
1101
|
-
tmp.
|
|
1102
|
-
return tmp.
|
|
1100
|
+
tmp.n8_1 = Unit_instance;
|
|
1101
|
+
tmp.o8_1 = null;
|
|
1102
|
+
return tmp.t8();
|
|
1103
1103
|
}
|
|
1104
1104
|
function readPacket(_this__u8e3s4, packet, $completion) {
|
|
1105
1105
|
var tmp = new $readPacketCOROUTINE$(_this__u8e3s4, packet, $completion);
|
|
1106
|
-
tmp.
|
|
1107
|
-
tmp.
|
|
1108
|
-
return tmp.
|
|
1106
|
+
tmp.n8_1 = Unit_instance;
|
|
1107
|
+
tmp.o8_1 = null;
|
|
1108
|
+
return tmp.t8();
|
|
1109
1109
|
}
|
|
1110
1110
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1111
1111
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1112
1112
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1113
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1113
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).l4g(ignoreMissing, $completion);
|
|
1114
1114
|
}
|
|
1115
1115
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
1116
1116
|
max = max === VOID ? 2147483647 : max;
|
|
1117
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
1117
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().q4j_1 : lineEnding;
|
|
1118
1118
|
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1119
|
-
tmp.
|
|
1120
|
-
tmp.
|
|
1121
|
-
return tmp.
|
|
1119
|
+
tmp.n8_1 = Unit_instance;
|
|
1120
|
+
tmp.o8_1 = null;
|
|
1121
|
+
return tmp.t8();
|
|
1122
1122
|
}
|
|
1123
1123
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1124
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1124
|
+
var tmp0_safe_receiver = _this__u8e3s4.p4e();
|
|
1125
1125
|
if (tmp0_safe_receiver == null)
|
|
1126
1126
|
null;
|
|
1127
1127
|
else {
|
|
@@ -1130,7 +1130,7 @@ function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
1132
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1133
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1133
|
+
var tmp0_safe_receiver = _this__u8e3s4.p4e();
|
|
1134
1134
|
if (tmp0_safe_receiver == null)
|
|
1135
1135
|
null;
|
|
1136
1136
|
else {
|
|
@@ -1139,22 +1139,22 @@ function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
function get_availableForRead(_this__u8e3s4) {
|
|
1142
|
-
return convertToInt(_this__u8e3s4.
|
|
1142
|
+
return convertToInt(_this__u8e3s4.k4e().rq().v());
|
|
1143
1143
|
}
|
|
1144
1144
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1145
1145
|
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
1146
|
-
tmp.
|
|
1147
|
-
tmp.
|
|
1148
|
-
return tmp.
|
|
1146
|
+
tmp.n8_1 = Unit_instance;
|
|
1147
|
+
tmp.o8_1 = null;
|
|
1148
|
+
return tmp.t8();
|
|
1149
1149
|
}
|
|
1150
1150
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1151
1151
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
1152
|
-
tmp.
|
|
1153
|
-
tmp.
|
|
1154
|
-
return tmp.
|
|
1152
|
+
tmp.n8_1 = Unit_instance;
|
|
1153
|
+
tmp.o8_1 = null;
|
|
1154
|
+
return tmp.t8();
|
|
1155
1155
|
}
|
|
1156
1156
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1157
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1157
|
+
var tmp0_safe_receiver = _this__u8e3s4.p4e();
|
|
1158
1158
|
if (tmp0_safe_receiver == null)
|
|
1159
1159
|
null;
|
|
1160
1160
|
else {
|
|
@@ -1169,178 +1169,178 @@ function readUTF8LineTo$checkLineEndingAllowed($lineEnding, lineEndingToCheck) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1171
1171
|
CoroutineImpl.call(this, resultContinuation);
|
|
1172
|
-
this.
|
|
1172
|
+
this.x4g_1 = _this__u8e3s4;
|
|
1173
1173
|
}
|
|
1174
|
-
protoOf($readRemainingCOROUTINE$).
|
|
1175
|
-
var suspendResult = this.
|
|
1174
|
+
protoOf($readRemainingCOROUTINE$).t8 = function () {
|
|
1175
|
+
var suspendResult = this.n8_1;
|
|
1176
1176
|
$sm: do
|
|
1177
1177
|
try {
|
|
1178
|
-
var tmp = this.
|
|
1178
|
+
var tmp = this.l8_1;
|
|
1179
1179
|
switch (tmp) {
|
|
1180
1180
|
case 0:
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1183
|
-
this.
|
|
1181
|
+
this.m8_1 = 4;
|
|
1182
|
+
this.y4g_1 = BytePacketBuilder();
|
|
1183
|
+
this.l8_1 = 1;
|
|
1184
1184
|
continue $sm;
|
|
1185
1185
|
case 1:
|
|
1186
|
-
if (!!this.
|
|
1187
|
-
this.
|
|
1186
|
+
if (!!this.x4g_1.r4e()) {
|
|
1187
|
+
this.l8_1 = 3;
|
|
1188
1188
|
continue $sm;
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1193
|
-
suspendResult = this.
|
|
1191
|
+
this.y4g_1.ks(this.x4g_1.k4e());
|
|
1192
|
+
this.l8_1 = 2;
|
|
1193
|
+
suspendResult = this.x4g_1.t4e(VOID, this);
|
|
1194
1194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1195
1195
|
return suspendResult;
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
1198
|
continue $sm;
|
|
1199
1199
|
case 2:
|
|
1200
|
-
this.
|
|
1200
|
+
this.l8_1 = 1;
|
|
1201
1201
|
continue $sm;
|
|
1202
1202
|
case 3:
|
|
1203
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
1204
|
-
return this.
|
|
1203
|
+
rethrowCloseCauseIfNeeded_0(this.x4g_1);
|
|
1204
|
+
return this.y4g_1.rq();
|
|
1205
1205
|
case 4:
|
|
1206
|
-
throw this.
|
|
1206
|
+
throw this.o8_1;
|
|
1207
1207
|
}
|
|
1208
1208
|
} catch ($p) {
|
|
1209
1209
|
var e = $p;
|
|
1210
|
-
if (this.
|
|
1210
|
+
if (this.m8_1 === 4) {
|
|
1211
1211
|
throw e;
|
|
1212
1212
|
} else {
|
|
1213
|
-
this.
|
|
1214
|
-
this.
|
|
1213
|
+
this.l8_1 = this.m8_1;
|
|
1214
|
+
this.o8_1 = e;
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
while (true);
|
|
1218
1218
|
};
|
|
1219
1219
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1220
1220
|
CoroutineImpl.call(this, resultContinuation);
|
|
1221
|
-
this.
|
|
1222
|
-
this.
|
|
1221
|
+
this.h4h_1 = _this__u8e3s4;
|
|
1222
|
+
this.i4h_1 = max;
|
|
1223
1223
|
}
|
|
1224
|
-
protoOf($discardCOROUTINE$).
|
|
1225
|
-
var suspendResult = this.
|
|
1224
|
+
protoOf($discardCOROUTINE$).t8 = function () {
|
|
1225
|
+
var suspendResult = this.n8_1;
|
|
1226
1226
|
$sm: do
|
|
1227
1227
|
try {
|
|
1228
|
-
var tmp = this.
|
|
1228
|
+
var tmp = this.l8_1;
|
|
1229
1229
|
switch (tmp) {
|
|
1230
1230
|
case 0:
|
|
1231
|
-
this.
|
|
1232
|
-
this.
|
|
1233
|
-
this.
|
|
1231
|
+
this.m8_1 = 5;
|
|
1232
|
+
this.j4h_1 = this.i4h_1;
|
|
1233
|
+
this.l8_1 = 1;
|
|
1234
1234
|
continue $sm;
|
|
1235
1235
|
case 1:
|
|
1236
|
-
if (!(compare(this.
|
|
1237
|
-
this.
|
|
1236
|
+
if (!(compare(this.j4h_1, new Long(0, 0)) > 0 && !this.h4h_1.r4e())) {
|
|
1237
|
+
this.l8_1 = 4;
|
|
1238
1238
|
continue $sm;
|
|
1239
1239
|
}
|
|
1240
1240
|
|
|
1241
|
-
if (get_availableForRead(this.
|
|
1242
|
-
this.
|
|
1243
|
-
suspendResult = this.
|
|
1241
|
+
if (get_availableForRead(this.h4h_1) === 0) {
|
|
1242
|
+
this.l8_1 = 2;
|
|
1243
|
+
suspendResult = this.h4h_1.t4e(VOID, this);
|
|
1244
1244
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1245
1245
|
return suspendResult;
|
|
1246
1246
|
}
|
|
1247
1247
|
continue $sm;
|
|
1248
1248
|
} else {
|
|
1249
|
-
this.
|
|
1249
|
+
this.l8_1 = 3;
|
|
1250
1250
|
continue $sm;
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
1253
|
case 2:
|
|
1254
|
-
this.
|
|
1254
|
+
this.l8_1 = 3;
|
|
1255
1255
|
continue $sm;
|
|
1256
1256
|
case 3:
|
|
1257
|
-
var tmp0 = this.
|
|
1258
|
-
var b = get_remaining(this.
|
|
1257
|
+
var tmp0 = this.j4h_1;
|
|
1258
|
+
var b = get_remaining(this.h4h_1.k4e());
|
|
1259
1259
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1260
|
-
discard_0(this.
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1260
|
+
discard_0(this.h4h_1.k4e(), count);
|
|
1261
|
+
this.j4h_1 = subtract(this.j4h_1, count);
|
|
1262
|
+
this.l8_1 = 1;
|
|
1263
1263
|
continue $sm;
|
|
1264
1264
|
case 4:
|
|
1265
|
-
return subtract(this.
|
|
1265
|
+
return subtract(this.i4h_1, this.j4h_1);
|
|
1266
1266
|
case 5:
|
|
1267
|
-
throw this.
|
|
1267
|
+
throw this.o8_1;
|
|
1268
1268
|
}
|
|
1269
1269
|
} catch ($p) {
|
|
1270
1270
|
var e = $p;
|
|
1271
|
-
if (this.
|
|
1271
|
+
if (this.m8_1 === 5) {
|
|
1272
1272
|
throw e;
|
|
1273
1273
|
} else {
|
|
1274
|
-
this.
|
|
1275
|
-
this.
|
|
1274
|
+
this.l8_1 = this.m8_1;
|
|
1275
|
+
this.o8_1 = e;
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
while (true);
|
|
1279
1279
|
};
|
|
1280
1280
|
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1281
1281
|
CoroutineImpl.call(this, resultContinuation);
|
|
1282
|
-
this.
|
|
1283
|
-
this.
|
|
1284
|
-
this.
|
|
1285
|
-
this.
|
|
1282
|
+
this.s4h_1 = _this__u8e3s4;
|
|
1283
|
+
this.t4h_1 = buffer;
|
|
1284
|
+
this.u4h_1 = offset;
|
|
1285
|
+
this.v4h_1 = length;
|
|
1286
1286
|
}
|
|
1287
|
-
protoOf($readAvailableCOROUTINE$).
|
|
1288
|
-
var suspendResult = this.
|
|
1287
|
+
protoOf($readAvailableCOROUTINE$).t8 = function () {
|
|
1288
|
+
var suspendResult = this.n8_1;
|
|
1289
1289
|
$sm: do
|
|
1290
1290
|
try {
|
|
1291
|
-
var tmp = this.
|
|
1291
|
+
var tmp = this.l8_1;
|
|
1292
1292
|
switch (tmp) {
|
|
1293
1293
|
case 0:
|
|
1294
|
-
this.
|
|
1295
|
-
if (this.
|
|
1294
|
+
this.m8_1 = 3;
|
|
1295
|
+
if (this.s4h_1.r4e())
|
|
1296
1296
|
return -1;
|
|
1297
|
-
if (this.
|
|
1298
|
-
this.
|
|
1299
|
-
suspendResult = this.
|
|
1297
|
+
if (this.s4h_1.k4e().sq()) {
|
|
1298
|
+
this.l8_1 = 1;
|
|
1299
|
+
suspendResult = this.s4h_1.t4e(VOID, this);
|
|
1300
1300
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1301
1301
|
return suspendResult;
|
|
1302
1302
|
}
|
|
1303
1303
|
continue $sm;
|
|
1304
1304
|
} else {
|
|
1305
|
-
this.
|
|
1305
|
+
this.l8_1 = 2;
|
|
1306
1306
|
continue $sm;
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
1309
|
case 1:
|
|
1310
|
-
this.
|
|
1310
|
+
this.l8_1 = 2;
|
|
1311
1311
|
continue $sm;
|
|
1312
1312
|
case 2:
|
|
1313
|
-
if (this.
|
|
1313
|
+
if (this.s4h_1.r4e())
|
|
1314
1314
|
return -1;
|
|
1315
|
-
return readAvailable_0(this.
|
|
1315
|
+
return readAvailable_0(this.s4h_1.k4e(), this.t4h_1, this.u4h_1, this.v4h_1);
|
|
1316
1316
|
case 3:
|
|
1317
|
-
throw this.
|
|
1317
|
+
throw this.o8_1;
|
|
1318
1318
|
}
|
|
1319
1319
|
} catch ($p) {
|
|
1320
1320
|
var e = $p;
|
|
1321
|
-
if (this.
|
|
1321
|
+
if (this.m8_1 === 3) {
|
|
1322
1322
|
throw e;
|
|
1323
1323
|
} else {
|
|
1324
|
-
this.
|
|
1325
|
-
this.
|
|
1324
|
+
this.l8_1 = this.m8_1;
|
|
1325
|
+
this.o8_1 = e;
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
1328
1328
|
while (true);
|
|
1329
1329
|
};
|
|
1330
1330
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1331
1331
|
CoroutineImpl.call(this, resultContinuation);
|
|
1332
|
-
this.
|
|
1332
|
+
this.e4i_1 = _this__u8e3s4;
|
|
1333
1333
|
}
|
|
1334
|
-
protoOf($toByteArrayCOROUTINE$).
|
|
1335
|
-
var suspendResult = this.
|
|
1334
|
+
protoOf($toByteArrayCOROUTINE$).t8 = function () {
|
|
1335
|
+
var suspendResult = this.n8_1;
|
|
1336
1336
|
$sm: do
|
|
1337
1337
|
try {
|
|
1338
|
-
var tmp = this.
|
|
1338
|
+
var tmp = this.l8_1;
|
|
1339
1339
|
switch (tmp) {
|
|
1340
1340
|
case 0:
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1343
|
-
suspendResult = readBuffer(this.
|
|
1341
|
+
this.m8_1 = 2;
|
|
1342
|
+
this.l8_1 = 1;
|
|
1343
|
+
suspendResult = readBuffer(this.e4i_1, this);
|
|
1344
1344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1345
1345
|
return suspendResult;
|
|
1346
1346
|
}
|
|
@@ -1350,146 +1350,146 @@ protoOf($toByteArrayCOROUTINE$).a9 = function () {
|
|
|
1350
1350
|
var ARGUMENT = suspendResult;
|
|
1351
1351
|
return readBytes(ARGUMENT);
|
|
1352
1352
|
case 2:
|
|
1353
|
-
throw this.
|
|
1353
|
+
throw this.o8_1;
|
|
1354
1354
|
}
|
|
1355
1355
|
} catch ($p) {
|
|
1356
1356
|
var e = $p;
|
|
1357
|
-
if (this.
|
|
1357
|
+
if (this.m8_1 === 2) {
|
|
1358
1358
|
throw e;
|
|
1359
1359
|
} else {
|
|
1360
|
-
this.
|
|
1361
|
-
this.
|
|
1360
|
+
this.l8_1 = this.m8_1;
|
|
1361
|
+
this.o8_1 = e;
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
1364
|
while (true);
|
|
1365
1365
|
};
|
|
1366
1366
|
function $copyToCOROUTINE$(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1367
1367
|
CoroutineImpl.call(this, resultContinuation);
|
|
1368
|
-
this.
|
|
1369
|
-
this.
|
|
1370
|
-
this.
|
|
1368
|
+
this.n4i_1 = _this__u8e3s4;
|
|
1369
|
+
this.o4i_1 = channel;
|
|
1370
|
+
this.p4i_1 = limit;
|
|
1371
1371
|
}
|
|
1372
|
-
protoOf($copyToCOROUTINE$).
|
|
1373
|
-
var suspendResult = this.
|
|
1372
|
+
protoOf($copyToCOROUTINE$).t8 = function () {
|
|
1373
|
+
var suspendResult = this.n8_1;
|
|
1374
1374
|
$sm: do
|
|
1375
1375
|
try {
|
|
1376
|
-
var tmp = this.
|
|
1376
|
+
var tmp = this.l8_1;
|
|
1377
1377
|
switch (tmp) {
|
|
1378
1378
|
case 0:
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1379
|
+
this.m8_1 = 12;
|
|
1380
|
+
this.q4i_1 = this.p4i_1;
|
|
1381
|
+
this.l8_1 = 1;
|
|
1382
1382
|
continue $sm;
|
|
1383
1383
|
case 1:
|
|
1384
|
-
this.
|
|
1385
|
-
this.
|
|
1386
|
-
this.
|
|
1384
|
+
this.m8_1 = 8;
|
|
1385
|
+
this.m8_1 = 7;
|
|
1386
|
+
this.l8_1 = 2;
|
|
1387
1387
|
continue $sm;
|
|
1388
1388
|
case 2:
|
|
1389
|
-
if (!(!this.
|
|
1390
|
-
this.
|
|
1389
|
+
if (!(!this.n4i_1.r4e() && compare(this.q4i_1, new Long(0, 0)) > 0)) {
|
|
1390
|
+
this.l8_1 = 6;
|
|
1391
1391
|
continue $sm;
|
|
1392
1392
|
}
|
|
1393
1393
|
|
|
1394
|
-
if (this.
|
|
1395
|
-
this.
|
|
1396
|
-
suspendResult = this.
|
|
1394
|
+
if (this.n4i_1.k4e().sq()) {
|
|
1395
|
+
this.l8_1 = 3;
|
|
1396
|
+
suspendResult = this.n4i_1.t4e(VOID, this);
|
|
1397
1397
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1398
1398
|
return suspendResult;
|
|
1399
1399
|
}
|
|
1400
1400
|
continue $sm;
|
|
1401
1401
|
} else {
|
|
1402
|
-
this.
|
|
1402
|
+
this.l8_1 = 4;
|
|
1403
1403
|
continue $sm;
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
case 3:
|
|
1407
|
-
this.
|
|
1407
|
+
this.l8_1 = 4;
|
|
1408
1408
|
continue $sm;
|
|
1409
1409
|
case 4:
|
|
1410
|
-
var tmp0 = this.
|
|
1411
|
-
var b = get_remaining(this.
|
|
1410
|
+
var tmp0 = this.q4i_1;
|
|
1411
|
+
var b = get_remaining(this.n4i_1.k4e());
|
|
1412
1412
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1413
|
-
this.
|
|
1414
|
-
this.
|
|
1415
|
-
this.
|
|
1416
|
-
suspendResult = this.
|
|
1413
|
+
this.n4i_1.k4e().vr(this.o4i_1.n4e(), count);
|
|
1414
|
+
this.q4i_1 = subtract(this.q4i_1, count);
|
|
1415
|
+
this.l8_1 = 5;
|
|
1416
|
+
suspendResult = this.o4i_1.j4e(this);
|
|
1417
1417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1418
1418
|
return suspendResult;
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
1421
|
continue $sm;
|
|
1422
1422
|
case 5:
|
|
1423
|
-
this.
|
|
1423
|
+
this.l8_1 = 2;
|
|
1424
1424
|
continue $sm;
|
|
1425
1425
|
case 6:
|
|
1426
|
-
this.
|
|
1427
|
-
this.
|
|
1426
|
+
this.m8_1 = 12;
|
|
1427
|
+
this.l8_1 = 10;
|
|
1428
1428
|
continue $sm;
|
|
1429
1429
|
case 7:
|
|
1430
|
-
this.
|
|
1431
|
-
var tmp_0 = this.
|
|
1430
|
+
this.m8_1 = 8;
|
|
1431
|
+
var tmp_0 = this.o8_1;
|
|
1432
1432
|
if (tmp_0 instanceof Error) {
|
|
1433
|
-
var cause = this.
|
|
1434
|
-
this.
|
|
1435
|
-
close_0(this.
|
|
1433
|
+
var cause = this.o8_1;
|
|
1434
|
+
this.n4i_1.v4e(cause);
|
|
1435
|
+
close_0(this.o4i_1, cause);
|
|
1436
1436
|
throw cause;
|
|
1437
1437
|
} else {
|
|
1438
|
-
throw this.
|
|
1438
|
+
throw this.o8_1;
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
1441
|
case 8:
|
|
1442
|
-
this.
|
|
1443
|
-
this.
|
|
1444
|
-
this.
|
|
1445
|
-
suspendResult = this.
|
|
1442
|
+
this.m8_1 = 12;
|
|
1443
|
+
this.r4i_1 = this.o8_1;
|
|
1444
|
+
this.l8_1 = 9;
|
|
1445
|
+
suspendResult = this.o4i_1.j4e(this);
|
|
1446
1446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1447
1447
|
return suspendResult;
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
continue $sm;
|
|
1451
1451
|
case 9:
|
|
1452
|
-
throw this.
|
|
1452
|
+
throw this.r4i_1;
|
|
1453
1453
|
case 10:
|
|
1454
|
-
this.
|
|
1455
|
-
this.
|
|
1456
|
-
suspendResult = this.
|
|
1454
|
+
this.m8_1 = 12;
|
|
1455
|
+
this.l8_1 = 11;
|
|
1456
|
+
suspendResult = this.o4i_1.j4e(this);
|
|
1457
1457
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1458
1458
|
return suspendResult;
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
continue $sm;
|
|
1462
1462
|
case 11:
|
|
1463
|
-
return subtract(this.
|
|
1463
|
+
return subtract(this.p4i_1, this.q4i_1);
|
|
1464
1464
|
case 12:
|
|
1465
|
-
throw this.
|
|
1465
|
+
throw this.o8_1;
|
|
1466
1466
|
}
|
|
1467
1467
|
} catch ($p) {
|
|
1468
1468
|
var e = $p;
|
|
1469
|
-
if (this.
|
|
1469
|
+
if (this.m8_1 === 12) {
|
|
1470
1470
|
throw e;
|
|
1471
1471
|
} else {
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1472
|
+
this.l8_1 = this.m8_1;
|
|
1473
|
+
this.o8_1 = e;
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
while (true);
|
|
1477
1477
|
};
|
|
1478
1478
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1479
1479
|
CoroutineImpl.call(this, resultContinuation);
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1480
|
+
this.a4j_1 = _this__u8e3s4;
|
|
1481
|
+
this.b4j_1 = byteString;
|
|
1482
1482
|
}
|
|
1483
|
-
protoOf($skipIfFoundCOROUTINE$).
|
|
1484
|
-
var suspendResult = this.
|
|
1483
|
+
protoOf($skipIfFoundCOROUTINE$).t8 = function () {
|
|
1484
|
+
var suspendResult = this.n8_1;
|
|
1485
1485
|
$sm: do
|
|
1486
1486
|
try {
|
|
1487
|
-
var tmp = this.
|
|
1487
|
+
var tmp = this.l8_1;
|
|
1488
1488
|
switch (tmp) {
|
|
1489
1489
|
case 0:
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
suspendResult = peek(this.
|
|
1490
|
+
this.m8_1 = 4;
|
|
1491
|
+
this.l8_1 = 1;
|
|
1492
|
+
suspendResult = peek(this.a4j_1, this.b4j_1.v(), this);
|
|
1493
1493
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1494
1494
|
return suspendResult;
|
|
1495
1495
|
}
|
|
@@ -1497,15 +1497,15 @@ protoOf($skipIfFoundCOROUTINE$).a9 = function () {
|
|
|
1497
1497
|
continue $sm;
|
|
1498
1498
|
case 1:
|
|
1499
1499
|
var ARGUMENT = suspendResult;
|
|
1500
|
-
if (equals(ARGUMENT, this.
|
|
1501
|
-
this.
|
|
1502
|
-
suspendResult = discard(this.
|
|
1500
|
+
if (equals(ARGUMENT, this.b4j_1)) {
|
|
1501
|
+
this.l8_1 = 3;
|
|
1502
|
+
suspendResult = discard(this.a4j_1, fromInt(this.b4j_1.v()), this);
|
|
1503
1503
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1504
1504
|
return suspendResult;
|
|
1505
1505
|
}
|
|
1506
1506
|
continue $sm;
|
|
1507
1507
|
} else {
|
|
1508
|
-
this.
|
|
1508
|
+
this.l8_1 = 2;
|
|
1509
1509
|
continue $sm;
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
@@ -1514,363 +1514,363 @@ protoOf($skipIfFoundCOROUTINE$).a9 = function () {
|
|
|
1514
1514
|
case 3:
|
|
1515
1515
|
return true;
|
|
1516
1516
|
case 4:
|
|
1517
|
-
throw this.
|
|
1517
|
+
throw this.o8_1;
|
|
1518
1518
|
}
|
|
1519
1519
|
} catch ($p) {
|
|
1520
1520
|
var e = $p;
|
|
1521
|
-
if (this.
|
|
1521
|
+
if (this.m8_1 === 4) {
|
|
1522
1522
|
throw e;
|
|
1523
1523
|
} else {
|
|
1524
|
-
this.
|
|
1525
|
-
this.
|
|
1524
|
+
this.l8_1 = this.m8_1;
|
|
1525
|
+
this.o8_1 = e;
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
while (true);
|
|
1529
1529
|
};
|
|
1530
1530
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1531
1531
|
CoroutineImpl.call(this, resultContinuation);
|
|
1532
|
-
this.
|
|
1533
|
-
this.
|
|
1532
|
+
this.k4j_1 = _this__u8e3s4;
|
|
1533
|
+
this.l4j_1 = packet;
|
|
1534
1534
|
}
|
|
1535
|
-
protoOf($readPacketCOROUTINE$).
|
|
1536
|
-
var suspendResult = this.
|
|
1535
|
+
protoOf($readPacketCOROUTINE$).t8 = function () {
|
|
1536
|
+
var suspendResult = this.n8_1;
|
|
1537
1537
|
$sm: do
|
|
1538
1538
|
try {
|
|
1539
|
-
var tmp = this.
|
|
1539
|
+
var tmp = this.l8_1;
|
|
1540
1540
|
switch (tmp) {
|
|
1541
1541
|
case 0:
|
|
1542
|
-
this.
|
|
1543
|
-
this.
|
|
1544
|
-
this.
|
|
1542
|
+
this.m8_1 = 6;
|
|
1543
|
+
this.m4j_1 = new Buffer();
|
|
1544
|
+
this.l8_1 = 1;
|
|
1545
1545
|
continue $sm;
|
|
1546
1546
|
case 1:
|
|
1547
|
-
if (!(compare(this.
|
|
1548
|
-
this.
|
|
1547
|
+
if (!(compare(this.m4j_1.v(), fromInt(this.l4j_1)) < 0)) {
|
|
1548
|
+
this.l8_1 = 5;
|
|
1549
1549
|
continue $sm;
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
|
-
if (this.
|
|
1553
|
-
this.
|
|
1554
|
-
suspendResult = this.
|
|
1552
|
+
if (this.k4j_1.k4e().sq()) {
|
|
1553
|
+
this.l8_1 = 2;
|
|
1554
|
+
suspendResult = this.k4j_1.t4e(VOID, this);
|
|
1555
1555
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1556
1556
|
return suspendResult;
|
|
1557
1557
|
}
|
|
1558
1558
|
continue $sm;
|
|
1559
1559
|
} else {
|
|
1560
|
-
this.
|
|
1560
|
+
this.l8_1 = 3;
|
|
1561
1561
|
continue $sm;
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
1564
|
case 2:
|
|
1565
|
-
this.
|
|
1565
|
+
this.l8_1 = 3;
|
|
1566
1566
|
continue $sm;
|
|
1567
1567
|
case 3:
|
|
1568
|
-
if (this.
|
|
1569
|
-
this.
|
|
1568
|
+
if (this.k4j_1.r4e()) {
|
|
1569
|
+
this.l8_1 = 5;
|
|
1570
1570
|
continue $sm;
|
|
1571
1571
|
} else {
|
|
1572
|
-
this.
|
|
1572
|
+
this.l8_1 = 4;
|
|
1573
1573
|
continue $sm;
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
1576
|
case 4:
|
|
1577
|
-
if (compare(get_remaining(this.
|
|
1578
|
-
this.
|
|
1577
|
+
if (compare(get_remaining(this.k4j_1.k4e()), subtract(numberToLong(this.l4j_1), this.m4j_1.v())) > 0) {
|
|
1578
|
+
this.k4j_1.k4e().vr(this.m4j_1, subtract(numberToLong(this.l4j_1), this.m4j_1.v()));
|
|
1579
1579
|
} else {
|
|
1580
|
-
this.
|
|
1580
|
+
this.k4j_1.k4e().wr(this.m4j_1);
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
-
this.
|
|
1583
|
+
this.l8_1 = 1;
|
|
1584
1584
|
continue $sm;
|
|
1585
1585
|
case 5:
|
|
1586
|
-
if (compare(this.
|
|
1587
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1586
|
+
if (compare(this.m4j_1.v(), fromInt(this.l4j_1)) < 0) {
|
|
1587
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.l4j_1 + ' bytes but only ' + this.m4j_1.v().toString() + ' available');
|
|
1588
1588
|
}
|
|
1589
1589
|
|
|
1590
|
-
return this.
|
|
1590
|
+
return this.m4j_1;
|
|
1591
1591
|
case 6:
|
|
1592
|
-
throw this.
|
|
1592
|
+
throw this.o8_1;
|
|
1593
1593
|
}
|
|
1594
1594
|
} catch ($p) {
|
|
1595
1595
|
var e = $p;
|
|
1596
|
-
if (this.
|
|
1596
|
+
if (this.m8_1 === 6) {
|
|
1597
1597
|
throw e;
|
|
1598
1598
|
} else {
|
|
1599
|
-
this.
|
|
1600
|
-
this.
|
|
1599
|
+
this.l8_1 = this.m8_1;
|
|
1600
|
+
this.o8_1 = e;
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
while (true);
|
|
1604
1604
|
};
|
|
1605
1605
|
function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1606
1606
|
CoroutineImpl.call(this, resultContinuation);
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1607
|
+
this.a4k_1 = _this__u8e3s4;
|
|
1608
|
+
this.b4k_1 = out;
|
|
1609
|
+
this.c4k_1 = max;
|
|
1610
|
+
this.d4k_1 = lineEnding;
|
|
1611
1611
|
}
|
|
1612
|
-
protoOf($readUTF8LineToCOROUTINE$).
|
|
1613
|
-
var suspendResult = this.
|
|
1612
|
+
protoOf($readUTF8LineToCOROUTINE$).t8 = function () {
|
|
1613
|
+
var suspendResult = this.n8_1;
|
|
1614
1614
|
$sm: do
|
|
1615
1615
|
try {
|
|
1616
|
-
var tmp = this.
|
|
1616
|
+
var tmp = this.l8_1;
|
|
1617
1617
|
switch (tmp) {
|
|
1618
1618
|
case 0:
|
|
1619
|
-
this.
|
|
1620
|
-
if (this.
|
|
1621
|
-
this.
|
|
1622
|
-
suspendResult = this.
|
|
1619
|
+
this.m8_1 = 21;
|
|
1620
|
+
if (this.a4k_1.k4e().sq()) {
|
|
1621
|
+
this.l8_1 = 1;
|
|
1622
|
+
suspendResult = this.a4k_1.t4e(VOID, this);
|
|
1623
1623
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1624
1624
|
return suspendResult;
|
|
1625
1625
|
}
|
|
1626
1626
|
continue $sm;
|
|
1627
1627
|
} else {
|
|
1628
|
-
this.
|
|
1628
|
+
this.l8_1 = 2;
|
|
1629
1629
|
continue $sm;
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
1632
|
case 1:
|
|
1633
|
-
this.
|
|
1633
|
+
this.l8_1 = 2;
|
|
1634
1634
|
continue $sm;
|
|
1635
1635
|
case 2:
|
|
1636
|
-
if (this.
|
|
1636
|
+
if (this.a4k_1.r4e())
|
|
1637
1637
|
return false;
|
|
1638
1638
|
var tmp_0 = this;
|
|
1639
|
-
tmp_0.
|
|
1640
|
-
this.
|
|
1639
|
+
tmp_0.j4k_1 = new Buffer();
|
|
1640
|
+
this.l8_1 = 3;
|
|
1641
1641
|
continue $sm;
|
|
1642
1642
|
case 3:
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1643
|
+
this.g4k_1 = this.j4k_1;
|
|
1644
|
+
this.f4k_1 = null;
|
|
1645
|
+
this.l8_1 = 4;
|
|
1646
1646
|
continue $sm;
|
|
1647
1647
|
case 4:
|
|
1648
|
-
this.
|
|
1648
|
+
this.l8_1 = 5;
|
|
1649
1649
|
continue $sm;
|
|
1650
1650
|
case 5:
|
|
1651
|
-
this.
|
|
1651
|
+
this.l8_1 = 6;
|
|
1652
1652
|
continue $sm;
|
|
1653
1653
|
case 6:
|
|
1654
|
-
this.
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1654
|
+
this.m8_1 = 18;
|
|
1655
|
+
this.m8_1 = 17;
|
|
1656
|
+
this.i4k_1 = this.g4k_1;
|
|
1657
|
+
this.l8_1 = 7;
|
|
1658
1658
|
continue $sm;
|
|
1659
1659
|
case 7:
|
|
1660
|
-
if (!!this.
|
|
1661
|
-
this.
|
|
1660
|
+
if (!!this.a4k_1.r4e()) {
|
|
1661
|
+
this.l8_1 = 14;
|
|
1662
1662
|
continue $sm;
|
|
1663
1663
|
}
|
|
1664
1664
|
|
|
1665
|
-
this.
|
|
1665
|
+
this.l8_1 = 8;
|
|
1666
1666
|
continue $sm;
|
|
1667
1667
|
case 8:
|
|
1668
|
-
if (!!this.
|
|
1669
|
-
this.
|
|
1668
|
+
if (!!this.a4k_1.k4e().sq()) {
|
|
1669
|
+
this.l8_1 = 12;
|
|
1670
1670
|
continue $sm;
|
|
1671
1671
|
}
|
|
1672
1672
|
|
|
1673
|
-
var b = this.
|
|
1673
|
+
var b = this.a4k_1.k4e().vq();
|
|
1674
1674
|
if (b === 13) {
|
|
1675
|
-
if (this.
|
|
1676
|
-
this.
|
|
1677
|
-
suspendResult = this.
|
|
1675
|
+
if (this.a4k_1.k4e().sq()) {
|
|
1676
|
+
this.l8_1 = 10;
|
|
1677
|
+
suspendResult = this.a4k_1.t4e(VOID, this);
|
|
1678
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1679
1679
|
return suspendResult;
|
|
1680
1680
|
}
|
|
1681
1681
|
continue $sm;
|
|
1682
1682
|
} else {
|
|
1683
|
-
this.
|
|
1683
|
+
this.l8_1 = 11;
|
|
1684
1684
|
continue $sm;
|
|
1685
1685
|
}
|
|
1686
1686
|
} else {
|
|
1687
1687
|
if (b === 10) {
|
|
1688
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1689
|
-
this.
|
|
1690
|
-
this.
|
|
1691
|
-
this.
|
|
1692
|
-
this.
|
|
1688
|
+
readUTF8LineTo$checkLineEndingAllowed(this.d4k_1, Companion_getInstance_1().o4j_1);
|
|
1689
|
+
this.b4k_1.q(readString(this.i4k_1));
|
|
1690
|
+
this.h4k_1 = true;
|
|
1691
|
+
this.m8_1 = 21;
|
|
1692
|
+
this.l8_1 = 15;
|
|
1693
1693
|
continue $sm;
|
|
1694
1694
|
} else {
|
|
1695
|
-
this.
|
|
1696
|
-
this.
|
|
1695
|
+
this.i4k_1.ls(b);
|
|
1696
|
+
this.l8_1 = 9;
|
|
1697
1697
|
continue $sm;
|
|
1698
1698
|
}
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
1701
1701
|
case 9:
|
|
1702
|
-
this.
|
|
1702
|
+
this.l8_1 = 8;
|
|
1703
1703
|
continue $sm;
|
|
1704
1704
|
case 10:
|
|
1705
|
-
this.
|
|
1705
|
+
this.l8_1 = 11;
|
|
1706
1706
|
continue $sm;
|
|
1707
1707
|
case 11:
|
|
1708
|
-
if (this.
|
|
1709
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1710
|
-
discard_0(this.
|
|
1708
|
+
if (this.a4k_1.k4e().rq().nr(new Long(0, 0)) === 10) {
|
|
1709
|
+
readUTF8LineTo$checkLineEndingAllowed(this.d4k_1, Companion_getInstance_1().p4j_1);
|
|
1710
|
+
discard_0(this.a4k_1.k4e(), new Long(1, 0));
|
|
1711
1711
|
} else {
|
|
1712
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1712
|
+
readUTF8LineTo$checkLineEndingAllowed(this.d4k_1, Companion_getInstance_1().n4j_1);
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
|
-
this.
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1718
|
-
this.
|
|
1715
|
+
this.b4k_1.q(readString(this.i4k_1));
|
|
1716
|
+
this.h4k_1 = true;
|
|
1717
|
+
this.m8_1 = 21;
|
|
1718
|
+
this.l8_1 = 15;
|
|
1719
1719
|
continue $sm;
|
|
1720
1720
|
case 12:
|
|
1721
|
-
if (compare(this.
|
|
1722
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1721
|
+
if (compare(this.i4k_1.v(), fromInt(this.c4k_1)) >= 0) {
|
|
1722
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.c4k_1 + ' characters');
|
|
1723
1723
|
}
|
|
1724
1724
|
|
|
1725
|
-
this.
|
|
1726
|
-
suspendResult = this.
|
|
1725
|
+
this.l8_1 = 13;
|
|
1726
|
+
suspendResult = this.a4k_1.t4e(VOID, this);
|
|
1727
1727
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1728
1728
|
return suspendResult;
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
1731
|
continue $sm;
|
|
1732
1732
|
case 13:
|
|
1733
|
-
this.
|
|
1733
|
+
this.l8_1 = 7;
|
|
1734
1734
|
continue $sm;
|
|
1735
1735
|
case 14:
|
|
1736
1736
|
var tmp_1 = this;
|
|
1737
|
-
var this_0 = compare(this.
|
|
1737
|
+
var this_0 = compare(this.i4k_1.v(), new Long(0, 0)) > 0;
|
|
1738
1738
|
if (this_0) {
|
|
1739
|
-
this.
|
|
1739
|
+
this.b4k_1.q(readString(this.i4k_1));
|
|
1740
1740
|
}
|
|
1741
1741
|
|
|
1742
|
-
tmp_1.
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1742
|
+
tmp_1.h4k_1 = this_0;
|
|
1743
|
+
this.m8_1 = 21;
|
|
1744
|
+
this.l8_1 = 15;
|
|
1745
1745
|
var tmp_2 = this;
|
|
1746
1746
|
continue $sm;
|
|
1747
1747
|
case 15:
|
|
1748
|
-
var tmp_3 = this.
|
|
1749
|
-
this.
|
|
1750
|
-
closeFinally(this.
|
|
1748
|
+
var tmp_3 = this.h4k_1;
|
|
1749
|
+
this.m8_1 = 21;
|
|
1750
|
+
closeFinally(this.g4k_1, this.f4k_1);
|
|
1751
1751
|
return tmp_3;
|
|
1752
1752
|
case 16:
|
|
1753
|
-
this.
|
|
1753
|
+
this.m8_1 = 21;
|
|
1754
1754
|
var tmp_4 = this;
|
|
1755
|
-
closeFinally(this.
|
|
1756
|
-
tmp_4.
|
|
1757
|
-
this.
|
|
1755
|
+
closeFinally(this.g4k_1, this.f4k_1);
|
|
1756
|
+
tmp_4.e4k_1 = Unit_instance;
|
|
1757
|
+
this.l8_1 = 20;
|
|
1758
1758
|
continue $sm;
|
|
1759
1759
|
case 17:
|
|
1760
|
-
this.
|
|
1761
|
-
var tmp_5 = this.
|
|
1760
|
+
this.m8_1 = 18;
|
|
1761
|
+
var tmp_5 = this.o8_1;
|
|
1762
1762
|
if (tmp_5 instanceof Error) {
|
|
1763
|
-
var e = this.
|
|
1763
|
+
var e = this.o8_1;
|
|
1764
1764
|
var tmp_6 = this;
|
|
1765
|
-
this.
|
|
1765
|
+
this.f4k_1 = e;
|
|
1766
1766
|
throw e;
|
|
1767
1767
|
} else {
|
|
1768
|
-
throw this.
|
|
1768
|
+
throw this.o8_1;
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
1771
|
case 18:
|
|
1772
|
-
this.
|
|
1773
|
-
var t = this.
|
|
1774
|
-
closeFinally(this.
|
|
1772
|
+
this.m8_1 = 21;
|
|
1773
|
+
var t = this.o8_1;
|
|
1774
|
+
closeFinally(this.g4k_1, this.f4k_1);
|
|
1775
1775
|
throw t;
|
|
1776
1776
|
case 19:
|
|
1777
|
-
this.
|
|
1778
|
-
closeFinally(this.
|
|
1777
|
+
this.m8_1 = 21;
|
|
1778
|
+
closeFinally(this.g4k_1, this.f4k_1);
|
|
1779
1779
|
if (false) {
|
|
1780
|
-
this.
|
|
1780
|
+
this.l8_1 = 3;
|
|
1781
1781
|
continue $sm;
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
|
-
this.
|
|
1784
|
+
this.l8_1 = 20;
|
|
1785
1785
|
continue $sm;
|
|
1786
1786
|
case 20:
|
|
1787
1787
|
return Unit_instance;
|
|
1788
1788
|
case 21:
|
|
1789
|
-
throw this.
|
|
1789
|
+
throw this.o8_1;
|
|
1790
1790
|
}
|
|
1791
1791
|
} catch ($p) {
|
|
1792
1792
|
var e_0 = $p;
|
|
1793
|
-
if (this.
|
|
1793
|
+
if (this.m8_1 === 21) {
|
|
1794
1794
|
throw e_0;
|
|
1795
1795
|
} else {
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1796
|
+
this.l8_1 = this.m8_1;
|
|
1797
|
+
this.o8_1 = e_0;
|
|
1798
1798
|
}
|
|
1799
1799
|
}
|
|
1800
1800
|
while (true);
|
|
1801
1801
|
};
|
|
1802
1802
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1803
1803
|
CoroutineImpl.call(this, resultContinuation);
|
|
1804
|
-
this.
|
|
1804
|
+
this.s4k_1 = _this__u8e3s4;
|
|
1805
1805
|
}
|
|
1806
|
-
protoOf($readBufferCOROUTINE$).
|
|
1807
|
-
var suspendResult = this.
|
|
1806
|
+
protoOf($readBufferCOROUTINE$).t8 = function () {
|
|
1807
|
+
var suspendResult = this.n8_1;
|
|
1808
1808
|
$sm: do
|
|
1809
1809
|
try {
|
|
1810
|
-
var tmp = this.
|
|
1810
|
+
var tmp = this.l8_1;
|
|
1811
1811
|
switch (tmp) {
|
|
1812
1812
|
case 0:
|
|
1813
|
-
this.
|
|
1814
|
-
this.
|
|
1815
|
-
this.
|
|
1813
|
+
this.m8_1 = 4;
|
|
1814
|
+
this.t4k_1 = new Buffer();
|
|
1815
|
+
this.l8_1 = 1;
|
|
1816
1816
|
continue $sm;
|
|
1817
1817
|
case 1:
|
|
1818
|
-
if (!!this.
|
|
1819
|
-
this.
|
|
1818
|
+
if (!!this.s4k_1.r4e()) {
|
|
1819
|
+
this.l8_1 = 3;
|
|
1820
1820
|
continue $sm;
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
|
-
this.
|
|
1824
|
-
this.
|
|
1825
|
-
suspendResult = this.
|
|
1823
|
+
this.t4k_1.ks(this.s4k_1.k4e());
|
|
1824
|
+
this.l8_1 = 2;
|
|
1825
|
+
suspendResult = this.s4k_1.t4e(VOID, this);
|
|
1826
1826
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1827
1827
|
return suspendResult;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
continue $sm;
|
|
1831
1831
|
case 2:
|
|
1832
|
-
this.
|
|
1832
|
+
this.l8_1 = 1;
|
|
1833
1833
|
continue $sm;
|
|
1834
1834
|
case 3:
|
|
1835
|
-
var tmp0_safe_receiver = this.
|
|
1835
|
+
var tmp0_safe_receiver = this.s4k_1.p4e();
|
|
1836
1836
|
if (tmp0_safe_receiver == null)
|
|
1837
1837
|
null;
|
|
1838
1838
|
else {
|
|
1839
1839
|
throw tmp0_safe_receiver;
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
return this.
|
|
1842
|
+
return this.t4k_1;
|
|
1843
1843
|
case 4:
|
|
1844
|
-
throw this.
|
|
1844
|
+
throw this.o8_1;
|
|
1845
1845
|
}
|
|
1846
1846
|
} catch ($p) {
|
|
1847
1847
|
var e = $p;
|
|
1848
|
-
if (this.
|
|
1848
|
+
if (this.m8_1 === 4) {
|
|
1849
1849
|
throw e;
|
|
1850
1850
|
} else {
|
|
1851
|
-
this.
|
|
1852
|
-
this.
|
|
1851
|
+
this.l8_1 = this.m8_1;
|
|
1852
|
+
this.o8_1 = e;
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
while (true);
|
|
1856
1856
|
};
|
|
1857
1857
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
1858
1858
|
CoroutineImpl.call(this, resultContinuation);
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1859
|
+
this.c4l_1 = _this__u8e3s4;
|
|
1860
|
+
this.d4l_1 = count;
|
|
1861
1861
|
}
|
|
1862
|
-
protoOf($peekCOROUTINE$).
|
|
1863
|
-
var suspendResult = this.
|
|
1862
|
+
protoOf($peekCOROUTINE$).t8 = function () {
|
|
1863
|
+
var suspendResult = this.n8_1;
|
|
1864
1864
|
$sm: do
|
|
1865
1865
|
try {
|
|
1866
|
-
var tmp = this.
|
|
1866
|
+
var tmp = this.l8_1;
|
|
1867
1867
|
switch (tmp) {
|
|
1868
1868
|
case 0:
|
|
1869
|
-
this.
|
|
1870
|
-
if (this.
|
|
1869
|
+
this.m8_1 = 3;
|
|
1870
|
+
if (this.c4l_1.r4e())
|
|
1871
1871
|
return null;
|
|
1872
|
-
this.
|
|
1873
|
-
suspendResult = this.
|
|
1872
|
+
this.l8_1 = 1;
|
|
1873
|
+
suspendResult = this.c4l_1.s4e(this.d4l_1, this);
|
|
1874
1874
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1875
1875
|
return suspendResult;
|
|
1876
1876
|
}
|
|
@@ -1880,81 +1880,81 @@ protoOf($peekCOROUTINE$).a9 = function () {
|
|
|
1880
1880
|
if (!suspendResult) {
|
|
1881
1881
|
return null;
|
|
1882
1882
|
} else {
|
|
1883
|
-
this.
|
|
1883
|
+
this.l8_1 = 2;
|
|
1884
1884
|
continue $sm;
|
|
1885
1885
|
}
|
|
1886
1886
|
|
|
1887
1887
|
case 2:
|
|
1888
|
-
return readByteString(this.
|
|
1888
|
+
return readByteString(this.c4l_1.k4e().xr(), this.d4l_1);
|
|
1889
1889
|
case 3:
|
|
1890
|
-
throw this.
|
|
1890
|
+
throw this.o8_1;
|
|
1891
1891
|
}
|
|
1892
1892
|
} catch ($p) {
|
|
1893
1893
|
var e = $p;
|
|
1894
|
-
if (this.
|
|
1894
|
+
if (this.m8_1 === 3) {
|
|
1895
1895
|
throw e;
|
|
1896
1896
|
} else {
|
|
1897
|
-
this.
|
|
1898
|
-
this.
|
|
1897
|
+
this.l8_1 = this.m8_1;
|
|
1898
|
+
this.o8_1 = e;
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
while (true);
|
|
1902
1902
|
};
|
|
1903
1903
|
function flushIfNeeded(_this__u8e3s4, $completion) {
|
|
1904
1904
|
var tmp = new $flushIfNeededCOROUTINE$(_this__u8e3s4, $completion);
|
|
1905
|
-
tmp.
|
|
1906
|
-
tmp.
|
|
1907
|
-
return tmp.
|
|
1905
|
+
tmp.n8_1 = Unit_instance;
|
|
1906
|
+
tmp.o8_1 = null;
|
|
1907
|
+
return tmp.t8();
|
|
1908
1908
|
}
|
|
1909
1909
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1910
1910
|
CoroutineImpl.call(this, resultContinuation);
|
|
1911
|
-
this.
|
|
1911
|
+
this.m4l_1 = _this__u8e3s4;
|
|
1912
1912
|
}
|
|
1913
|
-
protoOf($flushIfNeededCOROUTINE$).
|
|
1914
|
-
var suspendResult = this.
|
|
1913
|
+
protoOf($flushIfNeededCOROUTINE$).t8 = function () {
|
|
1914
|
+
var suspendResult = this.n8_1;
|
|
1915
1915
|
$sm: do
|
|
1916
1916
|
try {
|
|
1917
|
-
var tmp = this.
|
|
1917
|
+
var tmp = this.l8_1;
|
|
1918
1918
|
switch (tmp) {
|
|
1919
1919
|
case 0:
|
|
1920
|
-
this.
|
|
1921
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
1920
|
+
this.m8_1 = 3;
|
|
1921
|
+
rethrowCloseCauseIfNeeded_1(this.m4l_1);
|
|
1922
1922
|
var tmp_0;
|
|
1923
|
-
var tmp_1 = this.
|
|
1923
|
+
var tmp_1 = this.m4l_1;
|
|
1924
1924
|
var tmp0_safe_receiver = tmp_1 instanceof ByteChannel ? tmp_1 : null;
|
|
1925
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1925
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u4c_1) === true) {
|
|
1926
1926
|
tmp_0 = true;
|
|
1927
1927
|
} else {
|
|
1928
|
-
tmp_0 = get_size(this.
|
|
1928
|
+
tmp_0 = get_size(this.m4l_1.n4e()) >= 1048576;
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
1931
|
if (tmp_0) {
|
|
1932
|
-
this.
|
|
1933
|
-
suspendResult = this.
|
|
1932
|
+
this.l8_1 = 1;
|
|
1933
|
+
suspendResult = this.m4l_1.j4e(this);
|
|
1934
1934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1935
1935
|
return suspendResult;
|
|
1936
1936
|
}
|
|
1937
1937
|
continue $sm;
|
|
1938
1938
|
} else {
|
|
1939
|
-
this.
|
|
1939
|
+
this.l8_1 = 2;
|
|
1940
1940
|
continue $sm;
|
|
1941
1941
|
}
|
|
1942
1942
|
|
|
1943
1943
|
case 1:
|
|
1944
|
-
this.
|
|
1944
|
+
this.l8_1 = 2;
|
|
1945
1945
|
continue $sm;
|
|
1946
1946
|
case 2:
|
|
1947
1947
|
return Unit_instance;
|
|
1948
1948
|
case 3:
|
|
1949
|
-
throw this.
|
|
1949
|
+
throw this.o8_1;
|
|
1950
1950
|
}
|
|
1951
1951
|
} catch ($p) {
|
|
1952
1952
|
var e = $p;
|
|
1953
|
-
if (this.
|
|
1953
|
+
if (this.m8_1 === 3) {
|
|
1954
1954
|
throw e;
|
|
1955
1955
|
} else {
|
|
1956
|
-
this.
|
|
1957
|
-
this.
|
|
1956
|
+
this.l8_1 = this.m8_1;
|
|
1957
|
+
this.o8_1 = e;
|
|
1958
1958
|
}
|
|
1959
1959
|
}
|
|
1960
1960
|
while (true);
|
|
@@ -1965,11 +1965,11 @@ function get_NO_CALLBACK() {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
var NO_CALLBACK;
|
|
1967
1967
|
function WriterJob(channel, job) {
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1968
|
+
this.n4l_1 = channel;
|
|
1969
|
+
this.o4l_1 = job;
|
|
1970
1970
|
}
|
|
1971
|
-
protoOf(WriterJob).
|
|
1972
|
-
return this.
|
|
1971
|
+
protoOf(WriterJob).px = function () {
|
|
1972
|
+
return this.o4l_1;
|
|
1973
1973
|
};
|
|
1974
1974
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
1975
1975
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -1978,16 +1978,16 @@ function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
|
1978
1978
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
1979
1979
|
}
|
|
1980
1980
|
function WriterScope(channel, coroutineContext) {
|
|
1981
|
-
this.
|
|
1982
|
-
this.
|
|
1981
|
+
this.p4l_1 = channel;
|
|
1982
|
+
this.q4l_1 = coroutineContext;
|
|
1983
1983
|
}
|
|
1984
|
-
protoOf(WriterScope).
|
|
1985
|
-
return this.
|
|
1984
|
+
protoOf(WriterScope).du = function () {
|
|
1985
|
+
return this.q4l_1;
|
|
1986
1986
|
};
|
|
1987
1987
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
1988
1988
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1989
1989
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
1990
|
-
_this__u8e3s4.
|
|
1990
|
+
_this__u8e3s4.n4e().cs(value, startIndex, endIndex);
|
|
1991
1991
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
1992
1992
|
}
|
|
1993
1993
|
function close_0(_this__u8e3s4, cause) {
|
|
@@ -1995,19 +1995,19 @@ function close_0(_this__u8e3s4, cause) {
|
|
|
1995
1995
|
if (cause == null) {
|
|
1996
1996
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
1997
1997
|
} else {
|
|
1998
|
-
_this__u8e3s4.
|
|
1998
|
+
_this__u8e3s4.v4e(cause);
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
2001
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2002
2002
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2003
|
-
return _this__u8e3s4.
|
|
2003
|
+
return _this__u8e3s4.px().gv(block);
|
|
2004
2004
|
}
|
|
2005
2005
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
2006
2006
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
2007
2007
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2008
2008
|
// Inline function 'kotlin.apply' call
|
|
2009
2009
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
2010
|
-
this_0.
|
|
2010
|
+
this_0.gv(writer$lambda(channel));
|
|
2011
2011
|
var job = this_0;
|
|
2012
2012
|
return new WriterJob(channel, job);
|
|
2013
2013
|
}
|
|
@@ -2016,116 +2016,116 @@ function fireAndForget(_this__u8e3s4) {
|
|
|
2016
2016
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
2017
2017
|
}
|
|
2018
2018
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2019
|
-
_this__u8e3s4.
|
|
2019
|
+
_this__u8e3s4.n4e().ls(value);
|
|
2020
2020
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2021
2021
|
}
|
|
2022
2022
|
function NO_CALLBACK$1() {
|
|
2023
|
-
this.
|
|
2023
|
+
this.r4l_1 = EmptyCoroutineContext_getInstance();
|
|
2024
2024
|
}
|
|
2025
|
-
protoOf(NO_CALLBACK$1).
|
|
2026
|
-
return this.
|
|
2025
|
+
protoOf(NO_CALLBACK$1).r8 = function () {
|
|
2026
|
+
return this.r4l_1;
|
|
2027
2027
|
};
|
|
2028
|
-
protoOf(NO_CALLBACK$1).
|
|
2028
|
+
protoOf(NO_CALLBACK$1).s8 = function (result) {
|
|
2029
2029
|
return Unit_instance;
|
|
2030
2030
|
};
|
|
2031
|
-
protoOf(NO_CALLBACK$1).
|
|
2032
|
-
return this.
|
|
2031
|
+
protoOf(NO_CALLBACK$1).w8 = function (result) {
|
|
2032
|
+
return this.s8(result);
|
|
2033
2033
|
};
|
|
2034
2034
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2035
|
-
this.
|
|
2035
|
+
this.s4l_1 = p0;
|
|
2036
2036
|
}
|
|
2037
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2038
|
-
return this.
|
|
2037
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).t4l = function ($completion) {
|
|
2038
|
+
return this.s4l_1.u4e($completion);
|
|
2039
2039
|
};
|
|
2040
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2041
|
-
return this.
|
|
2040
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).ca = function ($completion) {
|
|
2041
|
+
return this.t4l($completion);
|
|
2042
2042
|
};
|
|
2043
2043
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2044
2044
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2045
2045
|
var l = function ($completion) {
|
|
2046
|
-
return i.
|
|
2046
|
+
return i.t4l($completion);
|
|
2047
2047
|
};
|
|
2048
2048
|
l.callableName = 'flushAndClose';
|
|
2049
2049
|
l.$arity = 0;
|
|
2050
2050
|
return l;
|
|
2051
2051
|
}
|
|
2052
2052
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2053
|
-
this.
|
|
2054
|
-
this.
|
|
2053
|
+
this.c4m_1 = $block;
|
|
2054
|
+
this.d4m_1 = $channel;
|
|
2055
2055
|
CoroutineImpl.call(this, resultContinuation);
|
|
2056
2056
|
}
|
|
2057
|
-
protoOf(writer$slambda).
|
|
2058
|
-
var tmp = this.
|
|
2059
|
-
tmp.
|
|
2060
|
-
tmp.
|
|
2061
|
-
return tmp.
|
|
2057
|
+
protoOf(writer$slambda).l4m = function ($this$launch, $completion) {
|
|
2058
|
+
var tmp = this.p24($this$launch, $completion);
|
|
2059
|
+
tmp.n8_1 = Unit_instance;
|
|
2060
|
+
tmp.o8_1 = null;
|
|
2061
|
+
return tmp.t8();
|
|
2062
2062
|
};
|
|
2063
|
-
protoOf(writer$slambda).
|
|
2064
|
-
return this.
|
|
2063
|
+
protoOf(writer$slambda).f9 = function (p1, $completion) {
|
|
2064
|
+
return this.l4m((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2065
2065
|
};
|
|
2066
|
-
protoOf(writer$slambda).
|
|
2067
|
-
var suspendResult = this.
|
|
2066
|
+
protoOf(writer$slambda).t8 = function () {
|
|
2067
|
+
var suspendResult = this.n8_1;
|
|
2068
2068
|
$sm: do
|
|
2069
2069
|
try {
|
|
2070
|
-
var tmp = this.
|
|
2070
|
+
var tmp = this.l8_1;
|
|
2071
2071
|
switch (tmp) {
|
|
2072
2072
|
case 0:
|
|
2073
|
-
this.
|
|
2074
|
-
this.
|
|
2075
|
-
this.
|
|
2073
|
+
this.m8_1 = 14;
|
|
2074
|
+
this.h4m_1 = Job(get_job(this.e4m_1.du()));
|
|
2075
|
+
this.l8_1 = 1;
|
|
2076
2076
|
continue $sm;
|
|
2077
2077
|
case 1:
|
|
2078
|
-
this.
|
|
2079
|
-
this.
|
|
2080
|
-
this.
|
|
2081
|
-
suspendResult = this.
|
|
2078
|
+
this.m8_1 = 4;
|
|
2079
|
+
this.m8_1 = 3;
|
|
2080
|
+
this.l8_1 = 2;
|
|
2081
|
+
suspendResult = this.c4m_1(new WriterScope(this.d4m_1, this.e4m_1.du().th(this.h4m_1)), this);
|
|
2082
2082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2083
2083
|
return suspendResult;
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
2086
|
continue $sm;
|
|
2087
2087
|
case 2:
|
|
2088
|
-
this.
|
|
2088
|
+
this.h4m_1.c12();
|
|
2089
2089
|
var tmp_0;
|
|
2090
|
-
if (get_job(this.
|
|
2091
|
-
this.
|
|
2090
|
+
if (get_job(this.e4m_1.du()).av()) {
|
|
2091
|
+
this.d4m_1.v4e(get_job(this.e4m_1.du()).dv());
|
|
2092
2092
|
tmp_0 = Unit_instance;
|
|
2093
2093
|
}
|
|
2094
2094
|
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2095
|
+
this.m8_1 = 14;
|
|
2096
|
+
this.l8_1 = 9;
|
|
2097
2097
|
continue $sm;
|
|
2098
2098
|
case 3:
|
|
2099
|
-
this.
|
|
2100
|
-
var tmp_1 = this.
|
|
2099
|
+
this.m8_1 = 4;
|
|
2100
|
+
var tmp_1 = this.o8_1;
|
|
2101
2101
|
if (tmp_1 instanceof Error) {
|
|
2102
|
-
var cause = this.
|
|
2103
|
-
cancel(this.
|
|
2104
|
-
this.
|
|
2105
|
-
this.
|
|
2106
|
-
this.
|
|
2102
|
+
var cause = this.o8_1;
|
|
2103
|
+
cancel(this.h4m_1, 'Exception thrown while writing to channel', cause);
|
|
2104
|
+
this.d4m_1.v4e(cause);
|
|
2105
|
+
this.m8_1 = 14;
|
|
2106
|
+
this.l8_1 = 9;
|
|
2107
2107
|
continue $sm;
|
|
2108
2108
|
} else {
|
|
2109
|
-
throw this.
|
|
2109
|
+
throw this.o8_1;
|
|
2110
2110
|
}
|
|
2111
2111
|
|
|
2112
2112
|
case 4:
|
|
2113
|
-
this.
|
|
2114
|
-
this.
|
|
2115
|
-
this.
|
|
2116
|
-
suspendResult = this.
|
|
2113
|
+
this.m8_1 = 14;
|
|
2114
|
+
this.i4m_1 = this.o8_1;
|
|
2115
|
+
this.l8_1 = 5;
|
|
2116
|
+
suspendResult = this.h4m_1.kv(this);
|
|
2117
2117
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2118
2118
|
return suspendResult;
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
2121
|
continue $sm;
|
|
2122
2122
|
case 5:
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2123
|
+
this.e4m_1;
|
|
2124
|
+
this.m8_1 = 7;
|
|
2125
2125
|
var tmp_2 = this;
|
|
2126
|
-
tmp_2.
|
|
2127
|
-
this.
|
|
2128
|
-
suspendResult = this.
|
|
2126
|
+
tmp_2.k4m_1 = Companion_instance;
|
|
2127
|
+
this.l8_1 = 6;
|
|
2128
|
+
suspendResult = this.d4m_1.u4e(this);
|
|
2129
2129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2130
2130
|
return suspendResult;
|
|
2131
2131
|
}
|
|
@@ -2133,43 +2133,43 @@ protoOf(writer$slambda).a9 = function () {
|
|
|
2133
2133
|
continue $sm;
|
|
2134
2134
|
case 6:
|
|
2135
2135
|
var tmp_3 = this;
|
|
2136
|
-
this.
|
|
2137
|
-
tmp_3.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2136
|
+
this.k4m_1;
|
|
2137
|
+
tmp_3.j4m_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2138
|
+
this.m8_1 = 14;
|
|
2139
|
+
this.l8_1 = 8;
|
|
2140
2140
|
continue $sm;
|
|
2141
2141
|
case 7:
|
|
2142
|
-
this.
|
|
2143
|
-
var tmp_4 = this.
|
|
2142
|
+
this.m8_1 = 14;
|
|
2143
|
+
var tmp_4 = this.o8_1;
|
|
2144
2144
|
if (tmp_4 instanceof Error) {
|
|
2145
|
-
var e = this.
|
|
2145
|
+
var e = this.o8_1;
|
|
2146
2146
|
var tmp_5 = this;
|
|
2147
|
-
tmp_5.
|
|
2148
|
-
this.
|
|
2147
|
+
tmp_5.j4m_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2148
|
+
this.l8_1 = 8;
|
|
2149
2149
|
continue $sm;
|
|
2150
2150
|
} else {
|
|
2151
|
-
throw this.
|
|
2151
|
+
throw this.o8_1;
|
|
2152
2152
|
}
|
|
2153
2153
|
|
|
2154
2154
|
case 8:
|
|
2155
|
-
this.
|
|
2156
|
-
throw this.
|
|
2155
|
+
this.m8_1 = 14;
|
|
2156
|
+
throw this.i4m_1;
|
|
2157
2157
|
case 9:
|
|
2158
|
-
this.
|
|
2159
|
-
this.
|
|
2160
|
-
suspendResult = this.
|
|
2158
|
+
this.m8_1 = 14;
|
|
2159
|
+
this.l8_1 = 10;
|
|
2160
|
+
suspendResult = this.h4m_1.kv(this);
|
|
2161
2161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2162
2162
|
return suspendResult;
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
2165
|
continue $sm;
|
|
2166
2166
|
case 10:
|
|
2167
|
-
this.
|
|
2168
|
-
this.
|
|
2167
|
+
this.e4m_1;
|
|
2168
|
+
this.m8_1 = 12;
|
|
2169
2169
|
var tmp_6 = this;
|
|
2170
|
-
tmp_6.
|
|
2171
|
-
this.
|
|
2172
|
-
suspendResult = this.
|
|
2170
|
+
tmp_6.g4m_1 = Companion_instance;
|
|
2171
|
+
this.l8_1 = 11;
|
|
2172
|
+
suspendResult = this.d4m_1.u4e(this);
|
|
2173
2173
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2174
2174
|
return suspendResult;
|
|
2175
2175
|
}
|
|
@@ -2177,50 +2177,50 @@ protoOf(writer$slambda).a9 = function () {
|
|
|
2177
2177
|
continue $sm;
|
|
2178
2178
|
case 11:
|
|
2179
2179
|
var tmp_7 = this;
|
|
2180
|
-
this.
|
|
2181
|
-
tmp_7.
|
|
2182
|
-
this.
|
|
2183
|
-
this.
|
|
2180
|
+
this.g4m_1;
|
|
2181
|
+
tmp_7.f4m_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2182
|
+
this.m8_1 = 14;
|
|
2183
|
+
this.l8_1 = 13;
|
|
2184
2184
|
continue $sm;
|
|
2185
2185
|
case 12:
|
|
2186
|
-
this.
|
|
2187
|
-
var tmp_8 = this.
|
|
2186
|
+
this.m8_1 = 14;
|
|
2187
|
+
var tmp_8 = this.o8_1;
|
|
2188
2188
|
if (tmp_8 instanceof Error) {
|
|
2189
|
-
var e_0 = this.
|
|
2189
|
+
var e_0 = this.o8_1;
|
|
2190
2190
|
var tmp_9 = this;
|
|
2191
|
-
tmp_9.
|
|
2192
|
-
this.
|
|
2191
|
+
tmp_9.f4m_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
2192
|
+
this.l8_1 = 13;
|
|
2193
2193
|
continue $sm;
|
|
2194
2194
|
} else {
|
|
2195
|
-
throw this.
|
|
2195
|
+
throw this.o8_1;
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
2198
|
case 13:
|
|
2199
|
-
this.
|
|
2199
|
+
this.m8_1 = 14;
|
|
2200
2200
|
return Unit_instance;
|
|
2201
2201
|
case 14:
|
|
2202
|
-
throw this.
|
|
2202
|
+
throw this.o8_1;
|
|
2203
2203
|
}
|
|
2204
2204
|
} catch ($p) {
|
|
2205
2205
|
var e_1 = $p;
|
|
2206
|
-
if (this.
|
|
2206
|
+
if (this.m8_1 === 14) {
|
|
2207
2207
|
throw e_1;
|
|
2208
2208
|
} else {
|
|
2209
|
-
this.
|
|
2210
|
-
this.
|
|
2209
|
+
this.l8_1 = this.m8_1;
|
|
2210
|
+
this.o8_1 = e_1;
|
|
2211
2211
|
}
|
|
2212
2212
|
}
|
|
2213
2213
|
while (true);
|
|
2214
2214
|
};
|
|
2215
|
-
protoOf(writer$slambda).
|
|
2216
|
-
var i = new writer$slambda(this.
|
|
2217
|
-
i.
|
|
2215
|
+
protoOf(writer$slambda).p24 = function ($this$launch, completion) {
|
|
2216
|
+
var i = new writer$slambda(this.c4m_1, this.d4m_1, completion);
|
|
2217
|
+
i.e4m_1 = $this$launch;
|
|
2218
2218
|
return i;
|
|
2219
2219
|
};
|
|
2220
2220
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2221
2221
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2222
2222
|
var l = function ($this$launch, $completion) {
|
|
2223
|
-
return i.
|
|
2223
|
+
return i.l4m($this$launch, $completion);
|
|
2224
2224
|
};
|
|
2225
2225
|
l.$arity = 1;
|
|
2226
2226
|
return l;
|
|
@@ -2228,8 +2228,8 @@ function writer$slambda_0($block, $channel, resultContinuation) {
|
|
|
2228
2228
|
function writer$lambda($channel) {
|
|
2229
2229
|
return function (it) {
|
|
2230
2230
|
var tmp;
|
|
2231
|
-
if (!(it == null) && !$channel.
|
|
2232
|
-
$channel.
|
|
2231
|
+
if (!(it == null) && !$channel.o4e()) {
|
|
2232
|
+
$channel.v4e(it);
|
|
2233
2233
|
tmp = Unit_instance;
|
|
2234
2234
|
}
|
|
2235
2235
|
return Unit_instance;
|
|
@@ -2255,27 +2255,27 @@ function ClosedByteChannelException$_init_$ref_yjp351() {
|
|
|
2255
2255
|
return l;
|
|
2256
2256
|
}
|
|
2257
2257
|
function CloseToken(origin) {
|
|
2258
|
-
this.
|
|
2258
|
+
this.l4e_1 = origin;
|
|
2259
2259
|
}
|
|
2260
|
-
protoOf(CloseToken).
|
|
2261
|
-
var tmp0_subject = this.
|
|
2260
|
+
protoOf(CloseToken).m4m = function (wrap) {
|
|
2261
|
+
var tmp0_subject = this.l4e_1;
|
|
2262
2262
|
var tmp;
|
|
2263
2263
|
if (tmp0_subject == null) {
|
|
2264
2264
|
tmp = null;
|
|
2265
2265
|
} else {
|
|
2266
2266
|
if (!(tmp0_subject == null) ? isInterface(tmp0_subject, CopyableThrowable) : false) {
|
|
2267
|
-
tmp = this.
|
|
2267
|
+
tmp = this.l4e_1.n12();
|
|
2268
2268
|
} else {
|
|
2269
2269
|
if (tmp0_subject instanceof CancellationException) {
|
|
2270
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2270
|
+
tmp = CancellationException_init_$Create$(this.l4e_1.message, this.l4e_1);
|
|
2271
2271
|
} else {
|
|
2272
|
-
tmp = wrap(this.
|
|
2272
|
+
tmp = wrap(this.l4e_1);
|
|
2273
2273
|
}
|
|
2274
2274
|
}
|
|
2275
2275
|
}
|
|
2276
2276
|
return tmp;
|
|
2277
2277
|
};
|
|
2278
|
-
protoOf(CloseToken).
|
|
2278
|
+
protoOf(CloseToken).q4e = function (wrap, $super) {
|
|
2279
2279
|
var tmp;
|
|
2280
2280
|
if (wrap === VOID) {
|
|
2281
2281
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2283,10 +2283,10 @@ protoOf(CloseToken).z47 = function (wrap, $super) {
|
|
|
2283
2283
|
tmp = wrap;
|
|
2284
2284
|
}
|
|
2285
2285
|
wrap = tmp;
|
|
2286
|
-
return $super === VOID ? this.
|
|
2286
|
+
return $super === VOID ? this.m4m(wrap) : $super.m4m.call(this, wrap);
|
|
2287
2287
|
};
|
|
2288
|
-
protoOf(CloseToken).
|
|
2289
|
-
var tmp0_safe_receiver = this.
|
|
2288
|
+
protoOf(CloseToken).m4e = function (wrap) {
|
|
2289
|
+
var tmp0_safe_receiver = this.m4m(wrap);
|
|
2290
2290
|
var tmp;
|
|
2291
2291
|
if (tmp0_safe_receiver == null) {
|
|
2292
2292
|
tmp = null;
|
|
@@ -2305,32 +2305,32 @@ function _init_properties_CloseToken_kt__9ucr41() {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
function transferFromDelegate($this) {
|
|
2307
2307
|
updateConsumed($this);
|
|
2308
|
-
var appended = $this.
|
|
2309
|
-
$this.
|
|
2308
|
+
var appended = $this.o4m_1.ks($this.n4m_1.k4e());
|
|
2309
|
+
$this.p4m_1 = add($this.p4m_1, appended);
|
|
2310
2310
|
}
|
|
2311
2311
|
function updateConsumed($this) {
|
|
2312
|
-
$this.
|
|
2313
|
-
$this.
|
|
2312
|
+
$this.q4m_1 = add($this.q4m_1, subtract($this.p4m_1, $this.o4m_1.v()));
|
|
2313
|
+
$this.p4m_1 = $this.o4m_1.v();
|
|
2314
2314
|
}
|
|
2315
2315
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2316
2316
|
CoroutineImpl.call(this, resultContinuation);
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2317
|
+
this.z4m_1 = _this__u8e3s4;
|
|
2318
|
+
this.a4n_1 = min;
|
|
2319
2319
|
}
|
|
2320
|
-
protoOf($awaitContentCOROUTINE$_0).
|
|
2321
|
-
var suspendResult = this.
|
|
2320
|
+
protoOf($awaitContentCOROUTINE$_0).t8 = function () {
|
|
2321
|
+
var suspendResult = this.n8_1;
|
|
2322
2322
|
$sm: do
|
|
2323
2323
|
try {
|
|
2324
|
-
var tmp = this.
|
|
2324
|
+
var tmp = this.l8_1;
|
|
2325
2325
|
switch (tmp) {
|
|
2326
2326
|
case 0:
|
|
2327
|
-
this.
|
|
2328
|
-
if (compare(this.
|
|
2327
|
+
this.m8_1 = 3;
|
|
2328
|
+
if (compare(this.z4m_1.k4e().v(), fromInt(this.a4n_1)) >= 0) {
|
|
2329
2329
|
return true;
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
2332
|
-
this.
|
|
2333
|
-
suspendResult = this.
|
|
2332
|
+
this.l8_1 = 1;
|
|
2333
|
+
suspendResult = this.z4m_1.n4m_1.s4e(this.a4n_1, this);
|
|
2334
2334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2335
2335
|
return suspendResult;
|
|
2336
2336
|
}
|
|
@@ -2338,58 +2338,58 @@ protoOf($awaitContentCOROUTINE$_0).a9 = function () {
|
|
|
2338
2338
|
continue $sm;
|
|
2339
2339
|
case 1:
|
|
2340
2340
|
if (suspendResult) {
|
|
2341
|
-
transferFromDelegate(this.
|
|
2341
|
+
transferFromDelegate(this.z4m_1);
|
|
2342
2342
|
return true;
|
|
2343
2343
|
} else {
|
|
2344
|
-
this.
|
|
2344
|
+
this.l8_1 = 2;
|
|
2345
2345
|
continue $sm;
|
|
2346
2346
|
}
|
|
2347
2347
|
|
|
2348
2348
|
case 2:
|
|
2349
2349
|
return false;
|
|
2350
2350
|
case 3:
|
|
2351
|
-
throw this.
|
|
2351
|
+
throw this.o8_1;
|
|
2352
2352
|
}
|
|
2353
2353
|
} catch ($p) {
|
|
2354
2354
|
var e = $p;
|
|
2355
|
-
if (this.
|
|
2355
|
+
if (this.m8_1 === 3) {
|
|
2356
2356
|
throw e;
|
|
2357
2357
|
} else {
|
|
2358
|
-
this.
|
|
2359
|
-
this.
|
|
2358
|
+
this.l8_1 = this.m8_1;
|
|
2359
|
+
this.o8_1 = e;
|
|
2360
2360
|
}
|
|
2361
2361
|
}
|
|
2362
2362
|
while (true);
|
|
2363
2363
|
};
|
|
2364
2364
|
function CountedByteReadChannel(delegate) {
|
|
2365
|
-
this.
|
|
2366
|
-
this.
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2365
|
+
this.n4m_1 = delegate;
|
|
2366
|
+
this.o4m_1 = new Buffer();
|
|
2367
|
+
this.p4m_1 = new Long(0, 0);
|
|
2368
|
+
this.q4m_1 = new Long(0, 0);
|
|
2369
2369
|
}
|
|
2370
|
-
protoOf(CountedByteReadChannel).
|
|
2370
|
+
protoOf(CountedByteReadChannel).b4n = function () {
|
|
2371
2371
|
updateConsumed(this);
|
|
2372
|
-
return this.
|
|
2372
|
+
return this.q4m_1;
|
|
2373
2373
|
};
|
|
2374
|
-
protoOf(CountedByteReadChannel).
|
|
2375
|
-
return this.
|
|
2374
|
+
protoOf(CountedByteReadChannel).p4e = function () {
|
|
2375
|
+
return this.n4m_1.p4e();
|
|
2376
2376
|
};
|
|
2377
|
-
protoOf(CountedByteReadChannel).
|
|
2378
|
-
return this.
|
|
2377
|
+
protoOf(CountedByteReadChannel).r4e = function () {
|
|
2378
|
+
return this.o4m_1.sq() && this.n4m_1.r4e();
|
|
2379
2379
|
};
|
|
2380
|
-
protoOf(CountedByteReadChannel).
|
|
2380
|
+
protoOf(CountedByteReadChannel).k4e = function () {
|
|
2381
2381
|
transferFromDelegate(this);
|
|
2382
|
-
return this.
|
|
2382
|
+
return this.o4m_1;
|
|
2383
2383
|
};
|
|
2384
|
-
protoOf(CountedByteReadChannel).
|
|
2384
|
+
protoOf(CountedByteReadChannel).s4e = function (min, $completion) {
|
|
2385
2385
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2386
|
-
tmp.
|
|
2387
|
-
tmp.
|
|
2388
|
-
return tmp.
|
|
2386
|
+
tmp.n8_1 = Unit_instance;
|
|
2387
|
+
tmp.o8_1 = null;
|
|
2388
|
+
return tmp.t8();
|
|
2389
2389
|
};
|
|
2390
|
-
protoOf(CountedByteReadChannel).
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2390
|
+
protoOf(CountedByteReadChannel).v4e = function (cause) {
|
|
2391
|
+
this.n4m_1.v4e(cause);
|
|
2392
|
+
this.o4m_1.p3();
|
|
2393
2393
|
};
|
|
2394
2394
|
function counted(_this__u8e3s4) {
|
|
2395
2395
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2426,21 +2426,21 @@ function LineEndingMode__plus_impl_ttpz2j($this, other) {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2428
2428
|
var tmp;
|
|
2429
|
-
if ($this === Companion_getInstance_1().
|
|
2429
|
+
if ($this === Companion_getInstance_1().n4j_1) {
|
|
2430
2430
|
tmp = 'CR';
|
|
2431
|
-
} else if ($this === Companion_getInstance_1().
|
|
2431
|
+
} else if ($this === Companion_getInstance_1().o4j_1) {
|
|
2432
2432
|
tmp = 'LF';
|
|
2433
|
-
} else if ($this === Companion_getInstance_1().
|
|
2433
|
+
} else if ($this === Companion_getInstance_1().p4j_1) {
|
|
2434
2434
|
tmp = 'CRLF';
|
|
2435
2435
|
} else {
|
|
2436
2436
|
// Inline function 'kotlin.collections.filter' call
|
|
2437
|
-
var tmp0 = Companion_getInstance_1().
|
|
2437
|
+
var tmp0 = Companion_getInstance_1().r4j_1;
|
|
2438
2438
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2439
2439
|
var destination = ArrayList_init_$Create$();
|
|
2440
2440
|
var _iterator__ex2g4s = tmp0.s();
|
|
2441
2441
|
while (_iterator__ex2g4s.t()) {
|
|
2442
2442
|
var element = _iterator__ex2g4s.u();
|
|
2443
|
-
var it = element.
|
|
2443
|
+
var it = element.c4n_1;
|
|
2444
2444
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2445
2445
|
destination.p(element);
|
|
2446
2446
|
}
|
|
@@ -2451,11 +2451,11 @@ function LineEndingMode__toString_impl_j4h76r($this) {
|
|
|
2451
2451
|
}
|
|
2452
2452
|
function Companion_1() {
|
|
2453
2453
|
Companion_instance_2 = this;
|
|
2454
|
-
this.
|
|
2455
|
-
this.
|
|
2456
|
-
this.
|
|
2457
|
-
this.
|
|
2458
|
-
this.
|
|
2454
|
+
this.n4j_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2455
|
+
this.o4j_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2456
|
+
this.p4j_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2457
|
+
this.q4j_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2458
|
+
this.r4j_1 = listOf([new LineEndingMode(this.n4j_1), new LineEndingMode(this.o4j_1), new LineEndingMode(this.p4j_1)]);
|
|
2459
2459
|
}
|
|
2460
2460
|
var Companion_instance_2;
|
|
2461
2461
|
function Companion_getInstance_1() {
|
|
@@ -2469,67 +2469,67 @@ function LineEndingMode__hashCode_impl_2mopm4($this) {
|
|
|
2469
2469
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2470
2470
|
if (!(other instanceof LineEndingMode))
|
|
2471
2471
|
return false;
|
|
2472
|
-
if (!($this === (other instanceof LineEndingMode ? other.
|
|
2472
|
+
if (!($this === (other instanceof LineEndingMode ? other.c4n_1 : THROW_CCE())))
|
|
2473
2473
|
return false;
|
|
2474
2474
|
return true;
|
|
2475
2475
|
}
|
|
2476
2476
|
function LineEndingMode(mode) {
|
|
2477
2477
|
Companion_getInstance_1();
|
|
2478
|
-
this.
|
|
2478
|
+
this.c4n_1 = mode;
|
|
2479
2479
|
}
|
|
2480
2480
|
protoOf(LineEndingMode).toString = function () {
|
|
2481
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2481
|
+
return LineEndingMode__toString_impl_j4h76r(this.c4n_1);
|
|
2482
2482
|
};
|
|
2483
2483
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2484
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2484
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.c4n_1);
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2487
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2487
|
+
return LineEndingMode__equals_impl_qyr4nk(this.c4n_1, other);
|
|
2488
2488
|
};
|
|
2489
2489
|
function SourceByteReadChannel(source) {
|
|
2490
|
-
this.
|
|
2491
|
-
this.
|
|
2490
|
+
this.d4n_1 = source;
|
|
2491
|
+
this.e4n_1 = null;
|
|
2492
2492
|
}
|
|
2493
|
-
protoOf(SourceByteReadChannel).
|
|
2494
|
-
var tmp0_safe_receiver = this.
|
|
2495
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2493
|
+
protoOf(SourceByteReadChannel).p4e = function () {
|
|
2494
|
+
var tmp0_safe_receiver = this.e4n_1;
|
|
2495
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q4e();
|
|
2496
2496
|
};
|
|
2497
|
-
protoOf(SourceByteReadChannel).
|
|
2498
|
-
return this.
|
|
2497
|
+
protoOf(SourceByteReadChannel).r4e = function () {
|
|
2498
|
+
return this.d4n_1.sq();
|
|
2499
2499
|
};
|
|
2500
|
-
protoOf(SourceByteReadChannel).
|
|
2501
|
-
var tmp0_safe_receiver = this.
|
|
2500
|
+
protoOf(SourceByteReadChannel).k4e = function () {
|
|
2501
|
+
var tmp0_safe_receiver = this.p4e();
|
|
2502
2502
|
if (tmp0_safe_receiver == null)
|
|
2503
2503
|
null;
|
|
2504
2504
|
else {
|
|
2505
2505
|
// Inline function 'kotlin.let' call
|
|
2506
2506
|
throw tmp0_safe_receiver;
|
|
2507
2507
|
}
|
|
2508
|
-
return this.
|
|
2508
|
+
return this.d4n_1.rq();
|
|
2509
2509
|
};
|
|
2510
|
-
protoOf(SourceByteReadChannel).
|
|
2511
|
-
var tmp0_safe_receiver = this.
|
|
2510
|
+
protoOf(SourceByteReadChannel).s4e = function (min, $completion) {
|
|
2511
|
+
var tmp0_safe_receiver = this.p4e();
|
|
2512
2512
|
if (tmp0_safe_receiver == null)
|
|
2513
2513
|
null;
|
|
2514
2514
|
else {
|
|
2515
2515
|
// Inline function 'kotlin.let' call
|
|
2516
2516
|
throw tmp0_safe_receiver;
|
|
2517
2517
|
}
|
|
2518
|
-
return this.
|
|
2518
|
+
return this.d4n_1.uq(fromInt(min));
|
|
2519
2519
|
};
|
|
2520
|
-
protoOf(SourceByteReadChannel).
|
|
2521
|
-
if (!(this.
|
|
2520
|
+
protoOf(SourceByteReadChannel).v4e = function (cause) {
|
|
2521
|
+
if (!(this.e4n_1 == null))
|
|
2522
2522
|
return Unit_instance;
|
|
2523
|
-
this.
|
|
2523
|
+
this.d4n_1.p3();
|
|
2524
2524
|
var tmp = this;
|
|
2525
2525
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2526
|
-
tmp.
|
|
2526
|
+
tmp.e4n_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2527
2527
|
};
|
|
2528
2528
|
function decode(_this__u8e3s4, input, max) {
|
|
2529
2529
|
max = max === VOID ? 2147483647 : max;
|
|
2530
2530
|
var tmp0 = fromInt(max);
|
|
2531
2531
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2532
|
-
var b = input.
|
|
2532
|
+
var b = input.rq().v();
|
|
2533
2533
|
var tmp$ret$0 = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
2534
2534
|
// Inline function 'kotlin.text.buildString' call
|
|
2535
2535
|
var capacity = convertToInt(tmp$ret$0);
|
|
@@ -2566,7 +2566,7 @@ function encodeToImpl(_this__u8e3s4, destination, input, fromIndex, toIndex) {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
}
|
|
2568
2568
|
function canRead(_this__u8e3s4) {
|
|
2569
|
-
return !_this__u8e3s4.
|
|
2569
|
+
return !_this__u8e3s4.sq();
|
|
2570
2570
|
}
|
|
2571
2571
|
function readBytes(_this__u8e3s4, count) {
|
|
2572
2572
|
count = count === VOID ? convertToInt(_this__u8e3s4.v()) : count;
|
|
@@ -2575,35 +2575,35 @@ function readBytes(_this__u8e3s4, count) {
|
|
|
2575
2575
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2576
2576
|
offset = offset === VOID ? 0 : offset;
|
|
2577
2577
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2578
|
-
_this__u8e3s4.
|
|
2578
|
+
_this__u8e3s4.cs(buffer, offset, offset + length | 0);
|
|
2579
2579
|
}
|
|
2580
2580
|
function BytePacketBuilder() {
|
|
2581
2581
|
return new Buffer();
|
|
2582
2582
|
}
|
|
2583
2583
|
function get_size(_this__u8e3s4) {
|
|
2584
|
-
return convertToInt(_this__u8e3s4.
|
|
2584
|
+
return convertToInt(_this__u8e3s4.rq().v());
|
|
2585
2585
|
}
|
|
2586
2586
|
function build(_this__u8e3s4) {
|
|
2587
|
-
return _this__u8e3s4.
|
|
2587
|
+
return _this__u8e3s4.rq();
|
|
2588
2588
|
}
|
|
2589
2589
|
var ByteReadPacketEmpty;
|
|
2590
2590
|
function get_remaining(_this__u8e3s4) {
|
|
2591
2591
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2592
|
-
return _this__u8e3s4.
|
|
2592
|
+
return _this__u8e3s4.rq().v();
|
|
2593
2593
|
}
|
|
2594
2594
|
function takeWhile(_this__u8e3s4, block) {
|
|
2595
2595
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2596
|
-
while (!_this__u8e3s4.
|
|
2596
|
+
while (!_this__u8e3s4.sq() && block(_this__u8e3s4.rq())) {
|
|
2597
2597
|
}
|
|
2598
2598
|
}
|
|
2599
2599
|
function discard_0(_this__u8e3s4, count) {
|
|
2600
2600
|
count = count === VOID ? new Long(-1, 2147483647) : count;
|
|
2601
2601
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2602
|
-
_this__u8e3s4.
|
|
2602
|
+
_this__u8e3s4.uq(count);
|
|
2603
2603
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2604
2604
|
var b = get_remaining(_this__u8e3s4);
|
|
2605
2605
|
var countToDiscard = compare(count, b) <= 0 ? count : b;
|
|
2606
|
-
_this__u8e3s4.
|
|
2606
|
+
_this__u8e3s4.rq().pr(countToDiscard);
|
|
2607
2607
|
return countToDiscard;
|
|
2608
2608
|
}
|
|
2609
2609
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -2616,37 +2616,37 @@ function _init_properties_ByteReadPacket_kt__28475y() {
|
|
|
2616
2616
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
2617
2617
|
offset = offset === VOID ? 0 : offset;
|
|
2618
2618
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2619
|
-
var result = _this__u8e3s4.
|
|
2619
|
+
var result = _this__u8e3s4.qr(buffer, offset, offset + length | 0);
|
|
2620
2620
|
return result === -1 ? 0 : result;
|
|
2621
2621
|
}
|
|
2622
2622
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2623
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2623
|
+
charset = charset === VOID ? Charsets_getInstance().f4n_1 : charset;
|
|
2624
2624
|
max = max === VOID ? 2147483647 : max;
|
|
2625
|
-
if (charset.equals(Charsets_getInstance().
|
|
2625
|
+
if (charset.equals(Charsets_getInstance().f4n_1)) {
|
|
2626
2626
|
if (max === 2147483647)
|
|
2627
2627
|
return readString_0(_this__u8e3s4);
|
|
2628
|
-
var tmp0 = _this__u8e3s4.
|
|
2628
|
+
var tmp0 = _this__u8e3s4.rq().v();
|
|
2629
2629
|
// Inline function 'kotlin.math.min' call
|
|
2630
2630
|
var b = fromInt(max);
|
|
2631
2631
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
2632
2632
|
return readString_1(_this__u8e3s4, count);
|
|
2633
2633
|
}
|
|
2634
|
-
return decode(charset.
|
|
2634
|
+
return decode(charset.i4n(), _this__u8e3s4, max);
|
|
2635
2635
|
}
|
|
2636
2636
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2637
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2638
|
-
if (charset.equals(Charsets_getInstance().
|
|
2637
|
+
charset = charset === VOID ? Charsets_getInstance().f4n_1 : charset;
|
|
2638
|
+
if (charset.equals(Charsets_getInstance().f4n_1))
|
|
2639
2639
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2640
|
-
return encodeToByteArray_0(charset.
|
|
2640
|
+
return encodeToByteArray_0(charset.j4n(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2641
2641
|
}
|
|
2642
2642
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2643
2643
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2644
2644
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2645
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2646
|
-
if (charset === Charsets_getInstance().
|
|
2645
|
+
charset = charset === VOID ? Charsets_getInstance().f4n_1 : charset;
|
|
2646
|
+
if (charset === Charsets_getInstance().f4n_1) {
|
|
2647
2647
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2648
2648
|
}
|
|
2649
|
-
encodeToImpl(charset.
|
|
2649
|
+
encodeToImpl(charset.j4n(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2650
2650
|
}
|
|
2651
2651
|
function get_ByteArrayPool() {
|
|
2652
2652
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2656,7 +2656,7 @@ var ByteArrayPool;
|
|
|
2656
2656
|
function ByteArrayPool$1() {
|
|
2657
2657
|
DefaultPool.call(this, 128);
|
|
2658
2658
|
}
|
|
2659
|
-
protoOf(ByteArrayPool$1).
|
|
2659
|
+
protoOf(ByteArrayPool$1).n4n = function () {
|
|
2660
2660
|
return new Int8Array(4096);
|
|
2661
2661
|
};
|
|
2662
2662
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2670,21 +2670,21 @@ function ObjectPool() {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
function NoPoolImpl() {
|
|
2672
2672
|
}
|
|
2673
|
-
protoOf(NoPoolImpl).
|
|
2673
|
+
protoOf(NoPoolImpl).v4n = function (instance) {
|
|
2674
2674
|
return Unit_instance;
|
|
2675
2675
|
};
|
|
2676
|
-
protoOf(NoPoolImpl).
|
|
2676
|
+
protoOf(NoPoolImpl).bx = function () {
|
|
2677
2677
|
return Unit_instance;
|
|
2678
2678
|
};
|
|
2679
2679
|
function Companion_2() {
|
|
2680
2680
|
}
|
|
2681
|
-
protoOf(Companion_2).
|
|
2681
|
+
protoOf(Companion_2).w4n = function (name) {
|
|
2682
2682
|
switch (name) {
|
|
2683
2683
|
case 'UTF-8':
|
|
2684
2684
|
case 'utf-8':
|
|
2685
2685
|
case 'UTF8':
|
|
2686
2686
|
case 'utf8':
|
|
2687
|
-
return Charsets_getInstance().
|
|
2687
|
+
return Charsets_getInstance().f4n_1;
|
|
2688
2688
|
}
|
|
2689
2689
|
var tmp;
|
|
2690
2690
|
var tmp_0;
|
|
@@ -2715,11 +2715,11 @@ protoOf(Companion_2).f4h = function (name) {
|
|
|
2715
2715
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2716
2716
|
}
|
|
2717
2717
|
if (tmp) {
|
|
2718
|
-
return Charsets_getInstance().
|
|
2718
|
+
return Charsets_getInstance().g4n_1;
|
|
2719
2719
|
}
|
|
2720
2720
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2721
2721
|
};
|
|
2722
|
-
protoOf(Companion_2).
|
|
2722
|
+
protoOf(Companion_2).x4n = function (charset) {
|
|
2723
2723
|
var tmp;
|
|
2724
2724
|
switch (charset) {
|
|
2725
2725
|
case 'UTF-8':
|
|
@@ -2774,7 +2774,7 @@ function Companion_getInstance_2() {
|
|
|
2774
2774
|
return Companion_instance_3;
|
|
2775
2775
|
}
|
|
2776
2776
|
function Charset(_name) {
|
|
2777
|
-
this.
|
|
2777
|
+
this.h4n_1 = _name;
|
|
2778
2778
|
}
|
|
2779
2779
|
protoOf(Charset).equals = function (other) {
|
|
2780
2780
|
if (this === other)
|
|
@@ -2783,18 +2783,18 @@ protoOf(Charset).equals = function (other) {
|
|
|
2783
2783
|
return false;
|
|
2784
2784
|
if (!(other instanceof Charset))
|
|
2785
2785
|
THROW_CCE();
|
|
2786
|
-
return this.
|
|
2786
|
+
return this.h4n_1 === other.h4n_1;
|
|
2787
2787
|
};
|
|
2788
2788
|
protoOf(Charset).hashCode = function () {
|
|
2789
|
-
return getStringHashCode(this.
|
|
2789
|
+
return getStringHashCode(this.h4n_1);
|
|
2790
2790
|
};
|
|
2791
2791
|
protoOf(Charset).toString = function () {
|
|
2792
|
-
return this.
|
|
2792
|
+
return this.h4n_1;
|
|
2793
2793
|
};
|
|
2794
2794
|
function Charsets() {
|
|
2795
2795
|
Charsets_instance = this;
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2796
|
+
this.f4n_1 = new CharsetImpl('UTF-8');
|
|
2797
|
+
this.g4n_1 = new CharsetImpl('ISO-8859-1');
|
|
2798
2798
|
}
|
|
2799
2799
|
var Charsets_instance;
|
|
2800
2800
|
function Charsets_getInstance() {
|
|
@@ -2803,27 +2803,27 @@ function Charsets_getInstance() {
|
|
|
2803
2803
|
return Charsets_instance;
|
|
2804
2804
|
}
|
|
2805
2805
|
function get_name(_this__u8e3s4) {
|
|
2806
|
-
return _this__u8e3s4.
|
|
2806
|
+
return _this__u8e3s4.h4n_1;
|
|
2807
2807
|
}
|
|
2808
2808
|
function MalformedInputException(message) {
|
|
2809
2809
|
IOException_init_$Init$_0(message, this);
|
|
2810
2810
|
captureStack(this, MalformedInputException);
|
|
2811
2811
|
}
|
|
2812
2812
|
function CharsetDecoder(_charset) {
|
|
2813
|
-
this.
|
|
2813
|
+
this.y4n_1 = _charset;
|
|
2814
2814
|
}
|
|
2815
2815
|
function isSupported(_this__u8e3s4, name) {
|
|
2816
|
-
return Companion_instance_3.
|
|
2816
|
+
return Companion_instance_3.x4n(name);
|
|
2817
2817
|
}
|
|
2818
2818
|
function forName(_this__u8e3s4, name) {
|
|
2819
|
-
return Companion_instance_3.
|
|
2819
|
+
return Companion_instance_3.w4n(name);
|
|
2820
2820
|
}
|
|
2821
2821
|
function CharsetEncoder(_charset) {
|
|
2822
|
-
this.
|
|
2822
|
+
this.z4n_1 = _charset;
|
|
2823
2823
|
}
|
|
2824
2824
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
2825
2825
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
2826
|
-
var tmp0 = input.
|
|
2826
|
+
var tmp0 = input.rq().v();
|
|
2827
2827
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2828
2828
|
var b = fromInt(max);
|
|
2829
2829
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
@@ -2831,7 +2831,7 @@ function decode_0(_this__u8e3s4, input, dst, max) {
|
|
|
2831
2831
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
2832
2832
|
var tmp_0;
|
|
2833
2833
|
try {
|
|
2834
|
-
tmp_0 = decoder.
|
|
2834
|
+
tmp_0 = decoder.a4o(array);
|
|
2835
2835
|
} catch ($p) {
|
|
2836
2836
|
var tmp_1;
|
|
2837
2837
|
if ($p instanceof Error) {
|
|
@@ -2853,11 +2853,11 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
2853
2853
|
var message = 'Failed requirement.';
|
|
2854
2854
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
2855
2855
|
}
|
|
2856
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
2856
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().g4n_1)) {
|
|
2857
2857
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
2858
2858
|
}
|
|
2859
2859
|
// Inline function 'kotlin.require' call
|
|
2860
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
2860
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().f4n_1)) {
|
|
2861
2861
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
2862
2862
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
2863
2863
|
}
|
|
@@ -2867,7 +2867,7 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
2867
2867
|
var result = encoder.encode(tmp$ret$5);
|
|
2868
2868
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2869
2869
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2870
|
-
dst.
|
|
2870
|
+
dst.fs(result);
|
|
2871
2871
|
return result.length;
|
|
2872
2872
|
}
|
|
2873
2873
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -2878,17 +2878,17 @@ function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
|
2878
2878
|
function CharsetImpl(name) {
|
|
2879
2879
|
Charset.call(this, name);
|
|
2880
2880
|
}
|
|
2881
|
-
protoOf(CharsetImpl).
|
|
2881
|
+
protoOf(CharsetImpl).j4n = function () {
|
|
2882
2882
|
return new CharsetEncoderImpl(this);
|
|
2883
2883
|
};
|
|
2884
|
-
protoOf(CharsetImpl).
|
|
2884
|
+
protoOf(CharsetImpl).i4n = function () {
|
|
2885
2885
|
return new CharsetDecoderImpl(this);
|
|
2886
2886
|
};
|
|
2887
2887
|
function get_charset(_this__u8e3s4) {
|
|
2888
|
-
return _this__u8e3s4.
|
|
2888
|
+
return _this__u8e3s4.y4n_1;
|
|
2889
2889
|
}
|
|
2890
2890
|
function get_charset_0(_this__u8e3s4) {
|
|
2891
|
-
return _this__u8e3s4.
|
|
2891
|
+
return _this__u8e3s4.z4n_1;
|
|
2892
2892
|
}
|
|
2893
2893
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
2894
2894
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -2907,13 +2907,13 @@ function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
function CharsetEncoderImpl(charset) {
|
|
2909
2909
|
CharsetEncoder.call(this, charset);
|
|
2910
|
-
this.
|
|
2910
|
+
this.d4o_1 = charset;
|
|
2911
2911
|
}
|
|
2912
2912
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
2913
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
2913
|
+
return 'CharsetEncoderImpl(charset=' + this.d4o_1.toString() + ')';
|
|
2914
2914
|
};
|
|
2915
2915
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
2916
|
-
return this.
|
|
2916
|
+
return this.d4o_1.hashCode();
|
|
2917
2917
|
};
|
|
2918
2918
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
2919
2919
|
if (this === other)
|
|
@@ -2921,19 +2921,19 @@ protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
|
2921
2921
|
if (!(other instanceof CharsetEncoderImpl))
|
|
2922
2922
|
return false;
|
|
2923
2923
|
var tmp0_other_with_cast = other instanceof CharsetEncoderImpl ? other : THROW_CCE();
|
|
2924
|
-
if (!this.
|
|
2924
|
+
if (!this.d4o_1.equals(tmp0_other_with_cast.d4o_1))
|
|
2925
2925
|
return false;
|
|
2926
2926
|
return true;
|
|
2927
2927
|
};
|
|
2928
2928
|
function CharsetDecoderImpl(charset) {
|
|
2929
2929
|
CharsetDecoder.call(this, charset);
|
|
2930
|
-
this.
|
|
2930
|
+
this.f4o_1 = charset;
|
|
2931
2931
|
}
|
|
2932
2932
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
2933
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
2933
|
+
return 'CharsetDecoderImpl(charset=' + this.f4o_1.toString() + ')';
|
|
2934
2934
|
};
|
|
2935
2935
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
2936
|
-
return this.
|
|
2936
|
+
return this.f4o_1.hashCode();
|
|
2937
2937
|
};
|
|
2938
2938
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
2939
2939
|
if (this === other)
|
|
@@ -2941,7 +2941,7 @@ protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
|
2941
2941
|
if (!(other instanceof CharsetDecoderImpl))
|
|
2942
2942
|
return false;
|
|
2943
2943
|
var tmp0_other_with_cast = other instanceof CharsetDecoderImpl ? other : THROW_CCE();
|
|
2944
|
-
if (!this.
|
|
2944
|
+
if (!this.f4o_1.equals(tmp0_other_with_cast.f4o_1))
|
|
2945
2945
|
return false;
|
|
2946
2946
|
return true;
|
|
2947
2947
|
};
|
|
@@ -2975,10 +2975,10 @@ function textDecoderOptions(fatal) {
|
|
|
2975
2975
|
return this_0;
|
|
2976
2976
|
}
|
|
2977
2977
|
function toKtor$1($this_toKtor) {
|
|
2978
|
-
this.
|
|
2978
|
+
this.g4o_1 = $this_toKtor;
|
|
2979
2979
|
}
|
|
2980
|
-
protoOf(toKtor$1).
|
|
2981
|
-
return this.
|
|
2980
|
+
protoOf(toKtor$1).a4o = function (buffer) {
|
|
2981
|
+
return this.g4o_1.decode(buffer);
|
|
2982
2982
|
};
|
|
2983
2983
|
function get_ENCODING_ALIASES() {
|
|
2984
2984
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -2991,7 +2991,7 @@ function get_REPLACEMENT() {
|
|
|
2991
2991
|
}
|
|
2992
2992
|
var REPLACEMENT;
|
|
2993
2993
|
function TextDecoderFallback(encoding, fatal) {
|
|
2994
|
-
this.
|
|
2994
|
+
this.h4o_1 = fatal;
|
|
2995
2995
|
// Inline function 'kotlin.text.trim' call
|
|
2996
2996
|
// Inline function 'kotlin.text.lowercase' call
|
|
2997
2997
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3002,7 +3002,7 @@ function TextDecoderFallback(encoding, fatal) {
|
|
|
3002
3002
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
|
-
protoOf(TextDecoderFallback).
|
|
3005
|
+
protoOf(TextDecoderFallback).a4o = function (buffer) {
|
|
3006
3006
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3007
3007
|
var builder = new Buffer();
|
|
3008
3008
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3018,7 +3018,7 @@ protoOf(TextDecoderFallback).j4h = function (buffer) {
|
|
|
3018
3018
|
var point = toCodePoint(byte);
|
|
3019
3019
|
if (point < 0) {
|
|
3020
3020
|
// Inline function 'kotlin.check' call
|
|
3021
|
-
if (!!this.
|
|
3021
|
+
if (!!this.h4o_1) {
|
|
3022
3022
|
var message = 'Invalid character: ' + point;
|
|
3023
3023
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3024
3024
|
}
|
|
@@ -3026,9 +3026,9 @@ protoOf(TextDecoderFallback).j4h = function (buffer) {
|
|
|
3026
3026
|
continue $l$loop;
|
|
3027
3027
|
}
|
|
3028
3028
|
if (point > 255) {
|
|
3029
|
-
builder.
|
|
3029
|
+
builder.ls(toByte(point >> 8));
|
|
3030
3030
|
}
|
|
3031
|
-
builder.
|
|
3031
|
+
builder.ls(toByte(point & 255));
|
|
3032
3032
|
}
|
|
3033
3033
|
while (inductionVariable < last);
|
|
3034
3034
|
return decodeToString(readByteArray_0(builder));
|
|
@@ -3071,7 +3071,7 @@ function encodeISO88591(input, fromIndex, toIndex, dst) {
|
|
|
3071
3071
|
if (character > 255) {
|
|
3072
3072
|
failedToMapError(character);
|
|
3073
3073
|
}
|
|
3074
|
-
dst.
|
|
3074
|
+
dst.ls(toByte(character));
|
|
3075
3075
|
}
|
|
3076
3076
|
while (inductionVariable < toIndex);
|
|
3077
3077
|
return toIndex - fromIndex | 0;
|
|
@@ -3093,66 +3093,66 @@ function _init_properties_Win1252Table_kt__tl0v64() {
|
|
|
3093
3093
|
}
|
|
3094
3094
|
}
|
|
3095
3095
|
function DefaultPool(capacity) {
|
|
3096
|
-
this.
|
|
3096
|
+
this.o4n_1 = capacity;
|
|
3097
3097
|
var tmp = this;
|
|
3098
3098
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3099
|
-
var size = this.
|
|
3100
|
-
tmp.
|
|
3101
|
-
this.
|
|
3099
|
+
var size = this.o4n_1;
|
|
3100
|
+
tmp.p4n_1 = Array(size);
|
|
3101
|
+
this.q4n_1 = 0;
|
|
3102
3102
|
}
|
|
3103
|
-
protoOf(DefaultPool).
|
|
3103
|
+
protoOf(DefaultPool).r4n = function (instance) {
|
|
3104
3104
|
};
|
|
3105
|
-
protoOf(DefaultPool).
|
|
3105
|
+
protoOf(DefaultPool).s4n = function (instance) {
|
|
3106
3106
|
return instance;
|
|
3107
3107
|
};
|
|
3108
|
-
protoOf(DefaultPool).
|
|
3108
|
+
protoOf(DefaultPool).t4n = function (instance) {
|
|
3109
3109
|
};
|
|
3110
|
-
protoOf(DefaultPool).
|
|
3111
|
-
if (this.
|
|
3112
|
-
return this.
|
|
3113
|
-
this.
|
|
3114
|
-
var idx = this.
|
|
3115
|
-
var tmp = this.
|
|
3110
|
+
protoOf(DefaultPool).u4n = function () {
|
|
3111
|
+
if (this.q4n_1 === 0)
|
|
3112
|
+
return this.n4n();
|
|
3113
|
+
this.q4n_1 = this.q4n_1 - 1 | 0;
|
|
3114
|
+
var idx = this.q4n_1;
|
|
3115
|
+
var tmp = this.p4n_1[idx];
|
|
3116
3116
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3117
|
-
this.
|
|
3118
|
-
return this.
|
|
3117
|
+
this.p4n_1[idx] = null;
|
|
3118
|
+
return this.s4n(instance);
|
|
3119
3119
|
};
|
|
3120
|
-
protoOf(DefaultPool).
|
|
3121
|
-
this.
|
|
3122
|
-
if (this.
|
|
3123
|
-
this.
|
|
3120
|
+
protoOf(DefaultPool).v4n = function (instance) {
|
|
3121
|
+
this.t4n(instance);
|
|
3122
|
+
if (this.q4n_1 === this.o4n_1) {
|
|
3123
|
+
this.r4n(instance);
|
|
3124
3124
|
} else {
|
|
3125
|
-
var _unary__edvuaz = this.
|
|
3126
|
-
this.
|
|
3127
|
-
this.
|
|
3125
|
+
var _unary__edvuaz = this.q4n_1;
|
|
3126
|
+
this.q4n_1 = _unary__edvuaz + 1 | 0;
|
|
3127
|
+
this.p4n_1[_unary__edvuaz] = instance;
|
|
3128
3128
|
}
|
|
3129
3129
|
};
|
|
3130
|
-
protoOf(DefaultPool).
|
|
3130
|
+
protoOf(DefaultPool).bx = function () {
|
|
3131
3131
|
var inductionVariable = 0;
|
|
3132
|
-
var last = this.
|
|
3132
|
+
var last = this.q4n_1;
|
|
3133
3133
|
if (inductionVariable < last)
|
|
3134
3134
|
do {
|
|
3135
3135
|
var i = inductionVariable;
|
|
3136
3136
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3137
|
-
var tmp = this.
|
|
3137
|
+
var tmp = this.p4n_1[i];
|
|
3138
3138
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3139
|
-
this.
|
|
3140
|
-
this.
|
|
3139
|
+
this.p4n_1[i] = null;
|
|
3140
|
+
this.r4n(instance);
|
|
3141
3141
|
}
|
|
3142
3142
|
while (inductionVariable < last);
|
|
3143
|
-
this.
|
|
3143
|
+
this.q4n_1 = 0;
|
|
3144
3144
|
};
|
|
3145
3145
|
//region block: post-declaration
|
|
3146
|
-
protoOf(Read).
|
|
3147
|
-
protoOf(Read).
|
|
3148
|
-
protoOf(Write).
|
|
3149
|
-
protoOf(Write).
|
|
3150
|
-
protoOf(ByteChannel).
|
|
3151
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3152
|
-
protoOf(CountedByteReadChannel).
|
|
3153
|
-
protoOf(SourceByteReadChannel).
|
|
3154
|
-
protoOf(DefaultPool).
|
|
3155
|
-
protoOf(NoPoolImpl).
|
|
3146
|
+
protoOf(Read).o4c = resume;
|
|
3147
|
+
protoOf(Read).p4c = resume_0;
|
|
3148
|
+
protoOf(Write).o4c = resume;
|
|
3149
|
+
protoOf(Write).p4c = resume_0;
|
|
3150
|
+
protoOf(ByteChannel).t4e = awaitContent$default;
|
|
3151
|
+
protoOf(ByteReadChannel$Companion$Empty$1).t4e = awaitContent$default;
|
|
3152
|
+
protoOf(CountedByteReadChannel).t4e = awaitContent$default;
|
|
3153
|
+
protoOf(SourceByteReadChannel).t4e = awaitContent$default;
|
|
3154
|
+
protoOf(DefaultPool).p3 = close;
|
|
3155
|
+
protoOf(NoPoolImpl).p3 = close;
|
|
3156
3156
|
//endregion
|
|
3157
3157
|
//region block: init
|
|
3158
3158
|
Empty_instance = new Empty();
|