@icure/cardinal-sdk 0.0.0-unspecified
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 +267 -0
- package/Kermit-kermit-core.mjs.map +1 -0
- package/Kermit-kermit.mjs +57 -0
- package/Kermit-kermit.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +7044 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/KotlinBigInteger-bignum-serialization-kotlinx.mjs +4 -0
- package/KotlinBigInteger-bignum-serialization-kotlinx.mjs.map +1 -0
- package/KotlinBigInteger-bignum.mjs +5893 -0
- package/KotlinBigInteger-bignum.mjs.map +1 -0
- package/api/AccessLogApi.d.mts +74 -0
- package/api/AccessLogApi.mjs +2 -0
- package/api/AccessLogApi.mjs.map +1 -0
- package/api/AccessLogBasicApi.d.mts +40 -0
- package/api/AccessLogBasicApi.mjs +2 -0
- package/api/AccessLogBasicApi.mjs.map +1 -0
- package/api/AccessLogFlavouredApi.d.mts +41 -0
- package/api/AccessLogFlavouredApi.mjs +2 -0
- package/api/AccessLogFlavouredApi.mjs.map +1 -0
- package/api/AgendaApi.d.mts +28 -0
- package/api/AgendaApi.mjs +2 -0
- package/api/AgendaApi.mjs.map +1 -0
- package/api/ApplicationSettingsApi.d.mts +6 -0
- package/api/ApplicationSettingsApi.mjs +2 -0
- package/api/ApplicationSettingsApi.mjs.map +1 -0
- package/api/CalendarItemApi.d.mts +68 -0
- package/api/CalendarItemApi.mjs +2 -0
- package/api/CalendarItemApi.mjs.map +1 -0
- package/api/CalendarItemBasicApi.d.mts +33 -0
- package/api/CalendarItemBasicApi.mjs +2 -0
- package/api/CalendarItemBasicApi.mjs.map +1 -0
- package/api/CalendarItemFlavouredApi.d.mts +29 -0
- package/api/CalendarItemFlavouredApi.mjs +2 -0
- package/api/CalendarItemFlavouredApi.mjs.map +1 -0
- package/api/CalendarItemTypeApi.d.mts +12 -0
- package/api/CalendarItemTypeApi.mjs +2 -0
- package/api/CalendarItemTypeApi.mjs.map +1 -0
- package/api/CardinalMaintenanceTaskApi.d.mts +10 -0
- package/api/CardinalMaintenanceTaskApi.mjs +2 -0
- package/api/CardinalMaintenanceTaskApi.mjs.map +1 -0
- package/api/ClassificationApi.d.mts +48 -0
- package/api/ClassificationApi.mjs +2 -0
- package/api/ClassificationApi.mjs.map +1 -0
- package/api/ClassificationBasicApi.d.mts +14 -0
- package/api/ClassificationBasicApi.mjs +2 -0
- package/api/ClassificationBasicApi.mjs.map +1 -0
- package/api/ClassificationFlavouredApi.d.mts +22 -0
- package/api/ClassificationFlavouredApi.mjs +2 -0
- package/api/ClassificationFlavouredApi.mjs.map +1 -0
- package/api/CodeApi.d.mts +56 -0
- package/api/CodeApi.mjs +2 -0
- package/api/CodeApi.mjs.map +1 -0
- package/api/ContactApi.d.mts +92 -0
- package/api/ContactApi.mjs +2 -0
- package/api/ContactApi.mjs.map +1 -0
- package/api/ContactBasicApi.d.mts +55 -0
- package/api/ContactBasicApi.mjs +2 -0
- package/api/ContactBasicApi.mjs.map +1 -0
- package/api/ContactFlavouredApi.d.mts +43 -0
- package/api/ContactFlavouredApi.mjs +2 -0
- package/api/ContactFlavouredApi.mjs.map +1 -0
- package/api/CryptoApi.d.mts +13 -0
- package/api/CryptoApi.mjs +2 -0
- package/api/CryptoApi.mjs.map +1 -0
- package/api/DataOwnerApi.d.mts +16 -0
- package/api/DataOwnerApi.mjs +2 -0
- package/api/DataOwnerApi.mjs.map +1 -0
- package/api/DeviceApi.d.mts +39 -0
- package/api/DeviceApi.mjs +2 -0
- package/api/DeviceApi.mjs.map +1 -0
- package/api/DocumentApi.d.mts +90 -0
- package/api/DocumentApi.mjs +2 -0
- package/api/DocumentApi.mjs.map +1 -0
- package/api/DocumentBasicApi.d.mts +35 -0
- package/api/DocumentBasicApi.mjs +2 -0
- package/api/DocumentBasicApi.mjs.map +1 -0
- package/api/DocumentFlavouredApi.d.mts +28 -0
- package/api/DocumentFlavouredApi.mjs +2 -0
- package/api/DocumentFlavouredApi.mjs.map +1 -0
- package/api/DocumentTemplateApi.d.mts +22 -0
- package/api/DocumentTemplateApi.mjs +2 -0
- package/api/DocumentTemplateApi.mjs.map +1 -0
- package/api/EntityReferenceApi.d.mts +5 -0
- package/api/EntityReferenceApi.mjs +2 -0
- package/api/EntityReferenceApi.mjs.map +1 -0
- package/api/EntityTemplateApi.d.mts +24 -0
- package/api/EntityTemplateApi.mjs +2 -0
- package/api/EntityTemplateApi.mjs.map +1 -0
- package/api/FormApi.d.mts +80 -0
- package/api/FormApi.mjs +2 -0
- package/api/FormApi.mjs.map +1 -0
- package/api/FormBasicApi.d.mts +45 -0
- package/api/FormBasicApi.mjs +2 -0
- package/api/FormBasicApi.mjs.map +1 -0
- package/api/FormFlavouredApi.d.mts +30 -0
- package/api/FormFlavouredApi.mjs +2 -0
- package/api/FormFlavouredApi.mjs.map +1 -0
- package/api/FrontEndMigrationApi.d.mts +10 -0
- package/api/FrontEndMigrationApi.mjs +2 -0
- package/api/FrontEndMigrationApi.mjs.map +1 -0
- package/api/GroupApi.d.mts +70 -0
- package/api/GroupApi.mjs +2 -0
- package/api/GroupApi.mjs.map +1 -0
- package/api/HealthElementApi.d.mts +65 -0
- package/api/HealthElementApi.mjs +2 -0
- package/api/HealthElementApi.mjs.map +1 -0
- package/api/HealthElementBasicApi.d.mts +30 -0
- package/api/HealthElementBasicApi.mjs +2 -0
- package/api/HealthElementBasicApi.mjs.map +1 -0
- package/api/HealthElementFlavouredApi.d.mts +25 -0
- package/api/HealthElementFlavouredApi.mjs +2 -0
- package/api/HealthElementFlavouredApi.mjs.map +1 -0
- package/api/HealthcarePartyApi.d.mts +75 -0
- package/api/HealthcarePartyApi.mjs +2 -0
- package/api/HealthcarePartyApi.mjs.map +1 -0
- package/api/InsuranceApi.d.mts +16 -0
- package/api/InsuranceApi.mjs +2 -0
- package/api/InsuranceApi.mjs.map +1 -0
- package/api/InvoiceApi.d.mts +85 -0
- package/api/InvoiceApi.mjs +2 -0
- package/api/InvoiceApi.mjs.map +1 -0
- package/api/InvoiceBasicApi.d.mts +49 -0
- package/api/InvoiceBasicApi.mjs +2 -0
- package/api/InvoiceBasicApi.mjs.map +1 -0
- package/api/InvoiceFlavouredApi.d.mts +59 -0
- package/api/InvoiceFlavouredApi.mjs +2 -0
- package/api/InvoiceFlavouredApi.mjs.map +1 -0
- package/api/KeywordApi.d.mts +14 -0
- package/api/KeywordApi.mjs +2 -0
- package/api/KeywordApi.mjs.map +1 -0
- package/api/MaintenanceTaskApi.d.mts +55 -0
- package/api/MaintenanceTaskApi.mjs +2 -0
- package/api/MaintenanceTaskApi.mjs.map +1 -0
- package/api/MaintenanceTaskBasicApi.d.mts +29 -0
- package/api/MaintenanceTaskBasicApi.mjs +2 -0
- package/api/MaintenanceTaskBasicApi.mjs.map +1 -0
- package/api/MaintenanceTaskFlavouredApi.d.mts +18 -0
- package/api/MaintenanceTaskFlavouredApi.mjs +2 -0
- package/api/MaintenanceTaskFlavouredApi.mjs.map +1 -0
- package/api/MedicalLocationApi.d.mts +17 -0
- package/api/MedicalLocationApi.mjs +2 -0
- package/api/MedicalLocationApi.mjs.map +1 -0
- package/api/MessageApi.d.mts +81 -0
- package/api/MessageApi.mjs +2 -0
- package/api/MessageApi.mjs.map +1 -0
- package/api/MessageBasicApi.d.mts +46 -0
- package/api/MessageBasicApi.mjs +2 -0
- package/api/MessageBasicApi.mjs.map +1 -0
- package/api/MessageFlavouredApi.d.mts +41 -0
- package/api/MessageFlavouredApi.mjs +2 -0
- package/api/MessageFlavouredApi.mjs.map +1 -0
- package/api/PatientApi.d.mts +148 -0
- package/api/PatientApi.mjs +2 -0
- package/api/PatientApi.mjs.map +1 -0
- package/api/PatientBasicApi.d.mts +107 -0
- package/api/PatientBasicApi.mjs +2 -0
- package/api/PatientBasicApi.mjs.map +1 -0
- package/api/PatientFlavouredApi.d.mts +95 -0
- package/api/PatientFlavouredApi.mjs +2 -0
- package/api/PatientFlavouredApi.mjs.map +1 -0
- package/api/PermissionApi.d.mts +4 -0
- package/api/PermissionApi.mjs +2 -0
- package/api/PermissionApi.mjs.map +1 -0
- package/api/PlaceApi.d.mts +13 -0
- package/api/PlaceApi.mjs +2 -0
- package/api/PlaceApi.mjs.map +1 -0
- package/api/ReceiptApi.d.mts +43 -0
- package/api/ReceiptApi.mjs +2 -0
- package/api/ReceiptApi.mjs.map +1 -0
- package/api/ReceiptBasicApi.d.mts +11 -0
- package/api/ReceiptBasicApi.mjs +2 -0
- package/api/ReceiptBasicApi.mjs.map +1 -0
- package/api/ReceiptFlavouredApi.d.mts +13 -0
- package/api/ReceiptFlavouredApi.mjs +2 -0
- package/api/ReceiptFlavouredApi.mjs.map +1 -0
- package/api/RecoveryApi.d.mts +34 -0
- package/api/RecoveryApi.mjs +2 -0
- package/api/RecoveryApi.mjs.map +1 -0
- package/api/RoleApi.d.mts +4 -0
- package/api/RoleApi.mjs +2 -0
- package/api/RoleApi.mjs.map +1 -0
- package/api/ShamirKeysManagerApi.d.mts +12 -0
- package/api/ShamirKeysManagerApi.mjs +2 -0
- package/api/ShamirKeysManagerApi.mjs.map +1 -0
- package/api/SystemApi.d.mts +39 -0
- package/api/SystemApi.mjs +2 -0
- package/api/SystemApi.mjs.map +1 -0
- package/api/TarificationApi.d.mts +27 -0
- package/api/TarificationApi.mjs +2 -0
- package/api/TarificationApi.mjs.map +1 -0
- package/api/TimeTableApi.d.mts +26 -0
- package/api/TimeTableApi.mjs +2 -0
- package/api/TimeTableApi.mjs.map +1 -0
- package/api/TopicApi.d.mts +61 -0
- package/api/TopicApi.mjs +2 -0
- package/api/TopicApi.mjs.map +1 -0
- package/api/TopicBasicApi.d.mts +32 -0
- package/api/TopicBasicApi.mjs +2 -0
- package/api/TopicBasicApi.mjs.map +1 -0
- package/api/TopicFlavouredApi.d.mts +21 -0
- package/api/TopicFlavouredApi.mjs +2 -0
- package/api/TopicFlavouredApi.mjs.map +1 -0
- package/api/UserApi.d.mts +82 -0
- package/api/UserApi.mjs +2 -0
- package/api/UserApi.mjs.map +1 -0
- package/api.d.mts +65 -0
- package/api.mjs +66 -0
- package/api.mjs.map +1 -0
- package/auth/CaptchaOptions.d.mts +27 -0
- package/auth/CaptchaOptions.mjs +37 -0
- package/auth/CaptchaOptions.mjs.map +1 -0
- package/auth.d.mts +1 -0
- package/auth.mjs +2 -0
- package/auth.mjs.map +1 -0
- package/cardinal-sdk-ts.d.mts +389 -0
- package/cardinal-sdk-ts.mjs +139002 -0
- package/cardinal-sdk-ts.mjs.map +1 -0
- package/cardinal-sdk.mjs +319545 -0
- package/cardinal-sdk.mjs.map +1 -0
- package/crypto/CryptoService.d.mts +88 -0
- package/crypto/CryptoService.mjs +29 -0
- package/crypto/CryptoService.mjs.map +1 -0
- package/crypto/CryptoStrategies.d.mts +164 -0
- package/crypto/CryptoStrategies.mjs +88 -0
- package/crypto/CryptoStrategies.mjs.map +1 -0
- package/crypto/entities/AccessLogShareOptions.d.mts +10 -0
- package/crypto/entities/AccessLogShareOptions.mjs +21 -0
- package/crypto/entities/AccessLogShareOptions.mjs.map +1 -0
- package/crypto/entities/CalendarItemShareOptions.d.mts +10 -0
- package/crypto/entities/CalendarItemShareOptions.mjs +21 -0
- package/crypto/entities/CalendarItemShareOptions.mjs.map +1 -0
- package/crypto/entities/ClassificationShareOptions.d.mts +10 -0
- package/crypto/entities/ClassificationShareOptions.mjs +21 -0
- package/crypto/entities/ClassificationShareOptions.mjs.map +1 -0
- package/crypto/entities/ContactShareOptions.d.mts +10 -0
- package/crypto/entities/ContactShareOptions.mjs +21 -0
- package/crypto/entities/ContactShareOptions.mjs.map +1 -0
- package/crypto/entities/DelegateShareOptions.d.mts +9 -0
- package/crypto/entities/DelegateShareOptions.mjs +9 -0
- package/crypto/entities/DelegateShareOptions.mjs.map +1 -0
- package/crypto/entities/DocumentShareOptions.d.mts +10 -0
- package/crypto/entities/DocumentShareOptions.mjs +21 -0
- package/crypto/entities/DocumentShareOptions.mjs.map +1 -0
- package/crypto/entities/EntityAccessInformation.d.mts +8 -0
- package/crypto/entities/EntityAccessInformation.mjs +7 -0
- package/crypto/entities/EntityAccessInformation.mjs.map +1 -0
- package/crypto/entities/EntityWithTypeInfo.d.mts +6 -0
- package/crypto/entities/EntityWithTypeInfo.mjs +7 -0
- package/crypto/entities/EntityWithTypeInfo.mjs.map +1 -0
- package/crypto/entities/FailedRequestDetails.d.mts +11 -0
- package/crypto/entities/FailedRequestDetails.mjs +12 -0
- package/crypto/entities/FailedRequestDetails.mjs.map +1 -0
- package/crypto/entities/FormShareOptions.d.mts +10 -0
- package/crypto/entities/FormShareOptions.mjs +21 -0
- package/crypto/entities/FormShareOptions.mjs.map +1 -0
- package/crypto/entities/HealthElementShareOptions.d.mts +10 -0
- package/crypto/entities/HealthElementShareOptions.mjs +21 -0
- package/crypto/entities/HealthElementShareOptions.mjs.map +1 -0
- package/crypto/entities/InvoiceShareOptions.d.mts +10 -0
- package/crypto/entities/InvoiceShareOptions.mjs +21 -0
- package/crypto/entities/InvoiceShareOptions.mjs.map +1 -0
- package/crypto/entities/MaintenanceTaskShareOptions.d.mts +9 -0
- package/crypto/entities/MaintenanceTaskShareOptions.mjs +18 -0
- package/crypto/entities/MaintenanceTaskShareOptions.mjs.map +1 -0
- package/crypto/entities/MessageShareOptions.d.mts +10 -0
- package/crypto/entities/MessageShareOptions.mjs +21 -0
- package/crypto/entities/MessageShareOptions.mjs.map +1 -0
- package/crypto/entities/PatientShareOptions.d.mts +9 -0
- package/crypto/entities/PatientShareOptions.mjs +18 -0
- package/crypto/entities/PatientShareOptions.mjs.map +1 -0
- package/crypto/entities/ReceiptShareOptions.d.mts +9 -0
- package/crypto/entities/ReceiptShareOptions.mjs +18 -0
- package/crypto/entities/ReceiptShareOptions.mjs.map +1 -0
- package/crypto/entities/RecoveryDataKey.d.mts +10 -0
- package/crypto/entities/RecoveryDataKey.mjs +25 -0
- package/crypto/entities/RecoveryDataKey.mjs.map +1 -0
- package/crypto/entities/RecoveryDataUseFailureReason.d.mts +6 -0
- package/crypto/entities/RecoveryDataUseFailureReason.mjs +9 -0
- package/crypto/entities/RecoveryDataUseFailureReason.mjs.map +1 -0
- package/crypto/entities/RecoveryKeyOptions.d.mts +15 -0
- package/crypto/entities/RecoveryKeyOptions.mjs +18 -0
- package/crypto/entities/RecoveryKeyOptions.mjs.map +1 -0
- package/crypto/entities/RecoveryKeySize.d.mts +4 -0
- package/crypto/entities/RecoveryKeySize.mjs +7 -0
- package/crypto/entities/RecoveryKeySize.mjs.map +1 -0
- package/crypto/entities/RecoveryResult.d.mts +14 -0
- package/crypto/entities/RecoveryResult.mjs +18 -0
- package/crypto/entities/RecoveryResult.mjs.map +1 -0
- package/crypto/entities/SecretIdShareOptions.d.mts +14 -0
- package/crypto/entities/SecretIdShareOptions.mjs +20 -0
- package/crypto/entities/SecretIdShareOptions.mjs.map +1 -0
- package/crypto/entities/SecretIdUseOption.d.mts +23 -0
- package/crypto/entities/SecretIdUseOption.mjs +27 -0
- package/crypto/entities/SecretIdUseOption.mjs.map +1 -0
- package/crypto/entities/ShamirUpdateRequest.d.mts +5 -0
- package/crypto/entities/ShamirUpdateRequest.mjs +8 -0
- package/crypto/entities/ShamirUpdateRequest.mjs.map +1 -0
- package/crypto/entities/ShareAllPatientDataOptions.d.mts +45 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs +55 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs.map +1 -0
- package/crypto/entities/ShareMetadataBehaviour.d.mts +5 -0
- package/crypto/entities/ShareMetadataBehaviour.mjs +8 -0
- package/crypto/entities/ShareMetadataBehaviour.mjs.map +1 -0
- package/crypto/entities/TimeTableShareOptions.d.mts +9 -0
- package/crypto/entities/TimeTableShareOptions.mjs +18 -0
- package/crypto/entities/TimeTableShareOptions.mjs.map +1 -0
- package/crypto/entities/TopicShareOptions.d.mts +10 -0
- package/crypto/entities/TopicShareOptions.mjs +21 -0
- package/crypto/entities/TopicShareOptions.mjs.map +1 -0
- package/crypto.d.mts +30 -0
- package/crypto.mjs +31 -0
- package/crypto.mjs.map +1 -0
- package/filters/AccessLogFilters.d.mts +37 -0
- package/filters/AccessLogFilters.mjs +11 -0
- package/filters/AccessLogFilters.mjs.map +1 -0
- package/filters/AgendaFilters.d.mts +9 -0
- package/filters/AgendaFilters.mjs +8 -0
- package/filters/AgendaFilters.mjs.map +1 -0
- package/filters/CalendarItemFilters.d.mts +35 -0
- package/filters/CalendarItemFilters.mjs +15 -0
- package/filters/CalendarItemFilters.mjs.map +1 -0
- package/filters/ClassificationFilters.d.mts +27 -0
- package/filters/ClassificationFilters.mjs +9 -0
- package/filters/ClassificationFilters.mjs.map +1 -0
- package/filters/CodeFilters.d.mts +24 -0
- package/filters/CodeFilters.mjs +11 -0
- package/filters/CodeFilters.mjs.map +1 -0
- package/filters/ContactFilters.d.mts +82 -0
- package/filters/ContactFilters.mjs +31 -0
- package/filters/ContactFilters.mjs.map +1 -0
- package/filters/DeviceFilters.d.mts +9 -0
- package/filters/DeviceFilters.mjs +8 -0
- package/filters/DeviceFilters.mjs.map +1 -0
- package/filters/DocumentFilters.d.mts +32 -0
- package/filters/DocumentFilters.mjs +13 -0
- package/filters/DocumentFilters.mjs.map +1 -0
- package/filters/FormFilters.d.mts +35 -0
- package/filters/FormFilters.mjs +13 -0
- package/filters/FormFilters.mjs.map +1 -0
- package/filters/GroupFilters.d.mts +9 -0
- package/filters/GroupFilters.mjs +8 -0
- package/filters/GroupFilters.mjs.map +1 -0
- package/filters/HealthElementFilters.d.mts +51 -0
- package/filters/HealthElementFilters.mjs +24 -0
- package/filters/HealthElementFilters.mjs.map +1 -0
- package/filters/HealthcarePartyFilters.d.mts +24 -0
- package/filters/HealthcarePartyFilters.mjs +14 -0
- package/filters/HealthcarePartyFilters.mjs.map +1 -0
- package/filters/MaintenanceTaskFilters.d.mts +14 -0
- package/filters/MaintenanceTaskFilters.mjs +12 -0
- package/filters/MaintenanceTaskFilters.mjs.map +1 -0
- package/filters/MedicalLocationFilters.d.mts +8 -0
- package/filters/MedicalLocationFilters.mjs +7 -0
- package/filters/MedicalLocationFilters.mjs.map +1 -0
- package/filters/MessageFilters.d.mts +45 -0
- package/filters/MessageFilters.mjs +23 -0
- package/filters/MessageFilters.mjs.map +1 -0
- package/filters/MetaFilters.d.mts +41 -0
- package/filters/MetaFilters.mjs +11 -0
- package/filters/MetaFilters.mjs.map +1 -0
- package/filters/PatientFilters.d.mts +43 -0
- package/filters/PatientFilters.mjs +30 -0
- package/filters/PatientFilters.mjs.map +1 -0
- package/filters/ServiceFilters.d.mts +64 -0
- package/filters/ServiceFilters.mjs +26 -0
- package/filters/ServiceFilters.mjs.map +1 -0
- package/filters/TimeTableFilters.d.mts +12 -0
- package/filters/TimeTableFilters.mjs +7 -0
- package/filters/TimeTableFilters.mjs.map +1 -0
- package/filters/TopicFilters.d.mts +9 -0
- package/filters/TopicFilters.mjs +8 -0
- package/filters/TopicFilters.mjs.map +1 -0
- package/filters/UserFilters.d.mts +11 -0
- package/filters/UserFilters.mjs +10 -0
- package/filters/UserFilters.mjs.map +1 -0
- package/filters.d.mts +21 -0
- package/filters.mjs +22 -0
- package/filters.mjs.map +1 -0
- package/kerberus/Solution.d.mts +4 -0
- package/kerberus/Solution.mjs +2 -0
- package/kerberus/Solution.mjs.map +1 -0
- package/kerberus.d.mts +1 -0
- package/kerberus.mjs +1089 -0
- package/kerberus.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +16596 -0
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
- package/kotlinx-atomicfu.mjs +247 -0
- package/kotlinx-atomicfu.mjs.map +1 -0
- package/kotlinx-coroutines-core.mjs +10583 -0
- package/kotlinx-coroutines-core.mjs.map +1 -0
- package/kotlinx-io-kotlinx-io-bytestring.mjs +202 -0
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -0
- package/kotlinx-io-kotlinx-io-core.mjs +1814 -0
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +6481 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +4 -0
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +6707 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-protobuf.mjs +4 -0
- package/kotlinx-serialization-kotlinx-serialization-protobuf.mjs.map +1 -0
- package/kryptom-lib.mjs +6792 -0
- package/kryptom-lib.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-core.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +758 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +4 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs.map +1 -0
- package/ktor-ktor-http-ktor-http-cio.mjs +1998 -0
- package/ktor-ktor-http-ktor-http-cio.mjs.map +1 -0
- package/ktor-ktor-http.mjs +3355 -0
- package/ktor-ktor-http.mjs.map +1 -0
- package/ktor-ktor-io.mjs +3220 -0
- package/ktor-ktor-io.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-events.mjs +81 -0
- package/ktor-ktor-shared-ktor-events.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +46 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +860 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization.mjs +374 -0
- package/ktor-ktor-shared-ktor-serialization.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-sse.mjs +4 -0
- package/ktor-ktor-shared-ktor-sse.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs +4 -0
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-websockets.mjs +2336 -0
- package/ktor-ktor-shared-ktor-websockets.mjs.map +1 -0
- package/ktor-ktor-utils.mjs +2660 -0
- package/ktor-ktor-utils.mjs.map +1 -0
- package/model/AccessLog.d.mts +83 -0
- package/model/AccessLog.mjs +153 -0
- package/model/AccessLog.mjs.map +1 -0
- package/model/Agenda.d.mts +21 -0
- package/model/Agenda.mjs +48 -0
- package/model/Agenda.mjs.map +1 -0
- package/model/ApplicationSettings.d.mts +20 -0
- package/model/ApplicationSettings.mjs +42 -0
- package/model/ApplicationSettings.mjs.map +1 -0
- package/model/BooleanResponse.d.mts +4 -0
- package/model/BooleanResponse.mjs +7 -0
- package/model/BooleanResponse.mjs.map +1 -0
- package/model/CalendarItem.d.mts +140 -0
- package/model/CalendarItem.mjs +261 -0
- package/model/CalendarItem.mjs.map +1 -0
- package/model/CalendarItemType.d.mts +22 -0
- package/model/CalendarItemType.mjs +48 -0
- package/model/CalendarItemType.mjs.map +1 -0
- package/model/Classification.d.mts +74 -0
- package/model/Classification.mjs +135 -0
- package/model/Classification.mjs.map +1 -0
- package/model/Code.d.mts +35 -0
- package/model/Code.mjs +63 -0
- package/model/Code.mjs.map +1 -0
- package/model/Contact.d.mts +122 -0
- package/model/Contact.mjs +207 -0
- package/model/Contact.mjs.map +1 -0
- package/model/CryptoActorStub.d.mts +36 -0
- package/model/CryptoActorStub.mjs +36 -0
- package/model/CryptoActorStub.mjs.map +1 -0
- package/model/CryptoActorStubWithType.d.mts +7 -0
- package/model/CryptoActorStubWithType.mjs +7 -0
- package/model/CryptoActorStubWithType.mjs.map +1 -0
- package/model/DataOwnerRegistrationSuccess.d.mts +6 -0
- package/model/DataOwnerRegistrationSuccess.mjs +9 -0
- package/model/DataOwnerRegistrationSuccess.mjs.map +1 -0
- package/model/DataOwnerType.d.mts +5 -0
- package/model/DataOwnerType.mjs +8 -0
- package/model/DataOwnerType.mjs.map +1 -0
- package/model/DataOwnerWithType.d.mts +21 -0
- package/model/DataOwnerWithType.mjs +25 -0
- package/model/DataOwnerWithType.mjs.map +1 -0
- package/model/DatabaseInitialisation.d.mts +10 -0
- package/model/DatabaseInitialisation.mjs +17 -0
- package/model/DatabaseInitialisation.mjs.map +1 -0
- package/model/Device.d.mts +56 -0
- package/model/Device.mjs +91 -0
- package/model/Device.mjs.map +1 -0
- package/model/Document.d.mts +133 -0
- package/model/Document.mjs +231 -0
- package/model/Document.mjs.map +1 -0
- package/model/DocumentTemplate.d.mts +33 -0
- package/model/DocumentTemplate.mjs +78 -0
- package/model/DocumentTemplate.mjs.map +1 -0
- package/model/EntityReference.d.mts +8 -0
- package/model/EntityReference.mjs +18 -0
- package/model/EntityReference.mjs.map +1 -0
- package/model/EntityTemplate.d.mts +14 -0
- package/model/EntityTemplate.mjs +36 -0
- package/model/EntityTemplate.mjs.map +1 -0
- package/model/Form.d.mts +98 -0
- package/model/Form.mjs +183 -0
- package/model/Form.mjs.map +1 -0
- package/model/FormTemplate.d.mts +28 -0
- package/model/FormTemplate.mjs +69 -0
- package/model/FormTemplate.mjs.map +1 -0
- package/model/FrontEndMigration.d.mts +19 -0
- package/model/FrontEndMigration.mjs +45 -0
- package/model/FrontEndMigration.mjs.map +1 -0
- package/model/Group.d.mts +36 -0
- package/model/Group.mjs +55 -0
- package/model/Group.mjs.map +1 -0
- package/model/GroupDeletionReport.d.mts +6 -0
- package/model/GroupDeletionReport.mjs +11 -0
- package/model/GroupDeletionReport.mjs.map +1 -0
- package/model/HealthElement.d.mts +122 -0
- package/model/HealthElement.mjs +219 -0
- package/model/HealthElement.mjs.map +1 -0
- package/model/HealthcareParty.d.mts +101 -0
- package/model/HealthcareParty.mjs +172 -0
- package/model/HealthcareParty.mjs.map +1 -0
- package/model/IdWithMandatoryRev.d.mts +5 -0
- package/model/IdWithMandatoryRev.mjs +10 -0
- package/model/IdWithMandatoryRev.mjs.map +1 -0
- package/model/IdWithRev.d.mts +5 -0
- package/model/IdWithRev.mjs +12 -0
- package/model/IdWithRev.mjs.map +1 -0
- package/model/IndexingInfo.d.mts +6 -0
- package/model/IndexingInfo.mjs +9 -0
- package/model/IndexingInfo.mjs.map +1 -0
- package/model/Insurance.d.mts +18 -0
- package/model/Insurance.mjs +37 -0
- package/model/Insurance.mjs.map +1 -0
- package/model/Invoice.d.mts +249 -0
- package/model/Invoice.mjs +447 -0
- package/model/Invoice.mjs.map +1 -0
- package/model/Keyword.d.mts +21 -0
- package/model/Keyword.mjs +48 -0
- package/model/Keyword.mjs.map +1 -0
- package/model/ListOfIds.d.mts +4 -0
- package/model/ListOfIds.mjs +9 -0
- package/model/ListOfIds.mjs.map +1 -0
- package/model/ListOfProperties.d.mts +5 -0
- package/model/ListOfProperties.mjs +8 -0
- package/model/ListOfProperties.mjs.map +1 -0
- package/model/MaintenanceTask.d.mts +80 -0
- package/model/MaintenanceTask.mjs +142 -0
- package/model/MaintenanceTask.mjs.map +1 -0
- package/model/MedicalLocation.d.mts +26 -0
- package/model/MedicalLocation.mjs +54 -0
- package/model/MedicalLocation.mjs.map +1 -0
- package/model/Message.d.mts +157 -0
- package/model/Message.mjs +249 -0
- package/model/Message.mjs.map +1 -0
- package/model/PaginatedDocumentKeyIdPair.d.mts +5 -0
- package/model/PaginatedDocumentKeyIdPair.mjs +12 -0
- package/model/PaginatedDocumentKeyIdPair.mjs.map +1 -0
- package/model/PaginatedList.d.mts +6 -0
- package/model/PaginatedList.mjs +11 -0
- package/model/PaginatedList.mjs.map +1 -0
- package/model/Patient.d.mts +299 -0
- package/model/Patient.mjs +512 -0
- package/model/Patient.mjs.map +1 -0
- package/model/Place.d.mts +11 -0
- package/model/Place.mjs +21 -0
- package/model/Place.mjs.map +1 -0
- package/model/PropertyStub.d.mts +29 -0
- package/model/PropertyStub.mjs +45 -0
- package/model/PropertyStub.mjs.map +1 -0
- package/model/PropertyTypeStub.d.mts +6 -0
- package/model/PropertyTypeStub.mjs +11 -0
- package/model/PropertyTypeStub.mjs.map +1 -0
- package/model/PublicKey.d.mts +5 -0
- package/model/PublicKey.mjs +12 -0
- package/model/PublicKey.mjs.map +1 -0
- package/model/Receipt.d.mts +87 -0
- package/model/Receipt.mjs +147 -0
- package/model/Receipt.mjs.map +1 -0
- package/model/RegistrationInformation.d.mts +9 -0
- package/model/RegistrationInformation.mjs +18 -0
- package/model/RegistrationInformation.mjs.map +1 -0
- package/model/RegistrationSuccess.d.mts +6 -0
- package/model/RegistrationSuccess.mjs +9 -0
- package/model/RegistrationSuccess.mjs.map +1 -0
- package/model/Replication.d.mts +13 -0
- package/model/Replication.mjs +24 -0
- package/model/Replication.mjs.map +1 -0
- package/model/ReplicationInfo.d.mts +7 -0
- package/model/ReplicationInfo.mjs +18 -0
- package/model/ReplicationInfo.mjs.map +1 -0
- package/model/Role.d.mts +9 -0
- package/model/Role.mjs +21 -0
- package/model/Role.mjs.map +1 -0
- package/model/Tarification.d.mts +48 -0
- package/model/Tarification.mjs +87 -0
- package/model/Tarification.mjs.map +1 -0
- package/model/TimeTable.d.mts +23 -0
- package/model/TimeTable.mjs +54 -0
- package/model/TimeTable.mjs.map +1 -0
- package/model/Topic.d.mts +90 -0
- package/model/Topic.mjs +153 -0
- package/model/Topic.mjs.map +1 -0
- package/model/TopicRole.d.mts +5 -0
- package/model/TopicRole.mjs +8 -0
- package/model/TopicRole.mjs.map +1 -0
- package/model/User.d.mts +50 -0
- package/model/User.mjs +91 -0
- package/model/User.mjs.map +1 -0
- package/model/UserGroup.d.mts +16 -0
- package/model/UserGroup.mjs +41 -0
- package/model/UserGroup.mjs.map +1 -0
- package/model/base/AppendixType.d.mts +5 -0
- package/model/base/AppendixType.mjs +8 -0
- package/model/base/AppendixType.mjs.map +1 -0
- package/model/base/CodeFlag.d.mts +80 -0
- package/model/base/CodeFlag.mjs +83 -0
- package/model/base/CodeFlag.mjs.map +1 -0
- package/model/base/CodeIdentification.d.mts +10 -0
- package/model/base/CodeIdentification.mjs +3 -0
- package/model/base/CodeIdentification.mjs.map +1 -0
- package/model/base/CodeStub.d.mts +13 -0
- package/model/base/CodeStub.mjs +26 -0
- package/model/base/CodeStub.mjs.map +1 -0
- package/model/base/CryptoActor.d.mts +30 -0
- package/model/base/CryptoActor.mjs +2 -0
- package/model/base/CryptoActor.mjs.map +1 -0
- package/model/base/DataOwner.d.mts +4 -0
- package/model/base/DataOwner.mjs +2 -0
- package/model/base/DataOwner.mjs.map +1 -0
- package/model/base/HasCodes.d.mts +4 -0
- package/model/base/HasCodes.mjs +2 -0
- package/model/base/HasCodes.mjs.map +1 -0
- package/model/base/HasEncryptionMetadata.d.mts +16 -0
- package/model/base/HasEncryptionMetadata.mjs +2 -0
- package/model/base/HasEncryptionMetadata.mjs.map +1 -0
- package/model/base/HasTags.d.mts +4 -0
- package/model/base/HasTags.mjs +2 -0
- package/model/base/HasTags.mjs.map +1 -0
- package/model/base/ICureDocument.d.mts +11 -0
- package/model/base/ICureDocument.mjs +2 -0
- package/model/base/ICureDocument.mjs.map +1 -0
- package/model/base/Identifiable.d.mts +3 -0
- package/model/base/Identifiable.mjs +3 -0
- package/model/base/Identifiable.mjs.map +1 -0
- package/model/base/Identifier.d.mts +12 -0
- package/model/base/Identifier.mjs +29 -0
- package/model/base/Identifier.mjs.map +1 -0
- package/model/base/LinkQualification.d.mts +26 -0
- package/model/base/LinkQualification.mjs +29 -0
- package/model/base/LinkQualification.mjs.map +1 -0
- package/model/base/Named.d.mts +3 -0
- package/model/base/Named.mjs +3 -0
- package/model/base/Named.mjs.map +1 -0
- package/model/base/ParticipantType.d.mts +15 -0
- package/model/base/ParticipantType.mjs +18 -0
- package/model/base/ParticipantType.mjs.map +1 -0
- package/model/base/Person.d.mts +14 -0
- package/model/base/Person.mjs +2 -0
- package/model/base/Person.mjs.map +1 -0
- package/model/base/ReportVersion.d.mts +3 -0
- package/model/base/ReportVersion.mjs +6 -0
- package/model/base/ReportVersion.mjs.map +1 -0
- package/model/base/StoredDocument.d.mts +4 -0
- package/model/base/StoredDocument.mjs +2 -0
- package/model/base/StoredDocument.mjs.map +1 -0
- package/model/base/Versionable.d.mts +4 -0
- package/model/base/Versionable.mjs +2 -0
- package/model/base/Versionable.mjs.map +1 -0
- package/model/couchdb/Basic.d.mts +5 -0
- package/model/couchdb/Basic.mjs +8 -0
- package/model/couchdb/Basic.mjs.map +1 -0
- package/model/couchdb/DatabaseInfo.d.mts +13 -0
- package/model/couchdb/DatabaseInfo.mjs +36 -0
- package/model/couchdb/DatabaseInfo.mjs.map +1 -0
- package/model/couchdb/DesignDocument.d.mts +25 -0
- package/model/couchdb/DesignDocument.mjs +33 -0
- package/model/couchdb/DesignDocument.mjs.map +1 -0
- package/model/couchdb/DocIdentifier.d.mts +5 -0
- package/model/couchdb/DocIdentifier.mjs +12 -0
- package/model/couchdb/DocIdentifier.mjs.map +1 -0
- package/model/couchdb/GroupDatabasesInfo.d.mts +7 -0
- package/model/couchdb/GroupDatabasesInfo.mjs +8 -0
- package/model/couchdb/GroupDatabasesInfo.mjs.map +1 -0
- package/model/couchdb/Remote.d.mts +6 -0
- package/model/couchdb/Remote.mjs +9 -0
- package/model/couchdb/Remote.mjs.map +1 -0
- package/model/couchdb/RemoteAuthentication.d.mts +5 -0
- package/model/couchdb/RemoteAuthentication.mjs +8 -0
- package/model/couchdb/RemoteAuthentication.mjs.map +1 -0
- package/model/couchdb/ReplicationStats.d.mts +12 -0
- package/model/couchdb/ReplicationStats.mjs +33 -0
- package/model/couchdb/ReplicationStats.mjs.map +1 -0
- package/model/couchdb/ReplicatorDocument.d.mts +24 -0
- package/model/couchdb/ReplicatorDocument.mjs +48 -0
- package/model/couchdb/ReplicatorDocument.mjs.map +1 -0
- package/model/couchdb/SortDirection.d.mts +4 -0
- package/model/couchdb/SortDirection.mjs +7 -0
- package/model/couchdb/SortDirection.mjs.map +1 -0
- package/model/couchdb/View.d.mts +5 -0
- package/model/couchdb/View.mjs +10 -0
- package/model/couchdb/View.mjs.map +1 -0
- package/model/data/LabelledOccurence.d.mts +5 -0
- package/model/data/LabelledOccurence.mjs +8 -0
- package/model/data/LabelledOccurence.mjs.map +1 -0
- package/model/embed/AccessLevel.d.mts +4 -0
- package/model/embed/AccessLevel.mjs +7 -0
- package/model/embed/AccessLevel.mjs.map +1 -0
- package/model/embed/Address.d.mts +65 -0
- package/model/embed/Address.mjs +111 -0
- package/model/embed/Address.mjs.map +1 -0
- package/model/embed/AddressType.d.mts +14 -0
- package/model/embed/AddressType.mjs +17 -0
- package/model/embed/AddressType.mjs.map +1 -0
- package/model/embed/AdministrationQuantity.d.mts +7 -0
- package/model/embed/AdministrationQuantity.mjs +14 -0
- package/model/embed/AdministrationQuantity.mjs.map +1 -0
- package/model/embed/AgreementAppendix.d.mts +7 -0
- package/model/embed/AgreementAppendix.mjs +18 -0
- package/model/embed/AgreementAppendix.mjs.map +1 -0
- package/model/embed/Annotation.d.mts +17 -0
- package/model/embed/Annotation.mjs +36 -0
- package/model/embed/Annotation.mjs.map +1 -0
- package/model/embed/AuthenticationClass.d.mts +8 -0
- package/model/embed/AuthenticationClass.mjs +11 -0
- package/model/embed/AuthenticationClass.mjs.map +1 -0
- package/model/embed/CalendarItemTag.d.mts +27 -0
- package/model/embed/CalendarItemTag.mjs +41 -0
- package/model/embed/CalendarItemTag.mjs.map +1 -0
- package/model/embed/CareTeamMember.d.mts +29 -0
- package/model/embed/CareTeamMember.mjs +45 -0
- package/model/embed/CareTeamMember.mjs.map +1 -0
- package/model/embed/CareTeamMemberType.d.mts +5 -0
- package/model/embed/CareTeamMemberType.mjs +8 -0
- package/model/embed/CareTeamMemberType.mjs.map +1 -0
- package/model/embed/CareTeamMembership.d.mts +28 -0
- package/model/embed/CareTeamMembership.mjs +45 -0
- package/model/embed/CareTeamMembership.mjs.map +1 -0
- package/model/embed/Content.d.mts +54 -0
- package/model/embed/Content.mjs +93 -0
- package/model/embed/Content.mjs.map +1 -0
- package/model/embed/ContractChangeType.d.mts +6 -0
- package/model/embed/ContractChangeType.mjs +9 -0
- package/model/embed/ContractChangeType.mjs.map +1 -0
- package/model/embed/DataAttachment.d.mts +6 -0
- package/model/embed/DataAttachment.mjs +15 -0
- package/model/embed/DataAttachment.mjs.map +1 -0
- package/model/embed/DatabaseSynchronization.d.mts +14 -0
- package/model/embed/DatabaseSynchronization.mjs +26 -0
- package/model/embed/DatabaseSynchronization.mjs.map +1 -0
- package/model/embed/DeactivationReason.d.mts +9 -0
- package/model/embed/DeactivationReason.mjs +12 -0
- package/model/embed/DeactivationReason.mjs.map +1 -0
- package/model/embed/Delegation.d.mts +8 -0
- package/model/embed/Delegation.mjs +17 -0
- package/model/embed/Delegation.mjs.map +1 -0
- package/model/embed/DelegationTag.d.mts +22 -0
- package/model/embed/DelegationTag.mjs +25 -0
- package/model/embed/DelegationTag.mjs.map +1 -0
- package/model/embed/DeletedAttachment.d.mts +7 -0
- package/model/embed/DeletedAttachment.mjs +18 -0
- package/model/embed/DeletedAttachment.mjs.map +1 -0
- package/model/embed/DocumentGroup.d.mts +5 -0
- package/model/embed/DocumentGroup.mjs +12 -0
- package/model/embed/DocumentGroup.mjs.map +1 -0
- package/model/embed/DocumentLocation.d.mts +4 -0
- package/model/embed/DocumentLocation.mjs +7 -0
- package/model/embed/DocumentLocation.mjs.map +1 -0
- package/model/embed/DocumentStatus.d.mts +11 -0
- package/model/embed/DocumentStatus.mjs +14 -0
- package/model/embed/DocumentStatus.mjs.map +1 -0
- package/model/embed/DocumentType.d.mts +41 -0
- package/model/embed/DocumentType.mjs +44 -0
- package/model/embed/DocumentType.mjs.map +1 -0
- package/model/embed/Duration.d.mts +6 -0
- package/model/embed/Duration.mjs +11 -0
- package/model/embed/Duration.mjs.map +1 -0
- package/model/embed/Employer.d.mts +7 -0
- package/model/embed/Employer.mjs +11 -0
- package/model/embed/Employer.mjs.map +1 -0
- package/model/embed/EmploymentInfo.d.mts +29 -0
- package/model/embed/EmploymentInfo.mjs +41 -0
- package/model/embed/EmploymentInfo.mjs.map +1 -0
- package/model/embed/Encryptable.d.mts +4 -0
- package/model/embed/Encryptable.mjs +2 -0
- package/model/embed/Encryptable.mjs.map +1 -0
- package/model/embed/Episode.d.mts +30 -0
- package/model/embed/Episode.mjs +51 -0
- package/model/embed/Episode.mjs.map +1 -0
- package/model/embed/FinancialInstitutionInformation.d.mts +36 -0
- package/model/embed/FinancialInstitutionInformation.mjs +63 -0
- package/model/embed/FinancialInstitutionInformation.mjs.map +1 -0
- package/model/embed/FlatRateTarification.d.mts +35 -0
- package/model/embed/FlatRateTarification.mjs +45 -0
- package/model/embed/FlatRateTarification.mjs.map +1 -0
- package/model/embed/FlatRateType.d.mts +6 -0
- package/model/embed/FlatRateType.mjs +9 -0
- package/model/embed/FlatRateType.mjs.map +1 -0
- package/model/embed/FlowItem.d.mts +36 -0
- package/model/embed/FlowItem.mjs +105 -0
- package/model/embed/FlowItem.mjs.map +1 -0
- package/model/embed/FrontEndMigrationStatus.d.mts +6 -0
- package/model/embed/FrontEndMigrationStatus.mjs +9 -0
- package/model/embed/FrontEndMigrationStatus.mjs.map +1 -0
- package/model/embed/Gender.d.mts +9 -0
- package/model/embed/Gender.mjs +12 -0
- package/model/embed/Gender.mjs.map +1 -0
- package/model/embed/GroupType.d.mts +5 -0
- package/model/embed/GroupType.mjs +8 -0
- package/model/embed/GroupType.mjs.map +1 -0
- package/model/embed/HealthcarePartyHistoryStatus.d.mts +8 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs +9 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs.map +1 -0
- package/model/embed/HealthcarePartyStatus.d.mts +5 -0
- package/model/embed/HealthcarePartyStatus.mjs +8 -0
- package/model/embed/HealthcarePartyStatus.mjs.map +1 -0
- package/model/embed/IdentityDocumentReader.d.mts +9 -0
- package/model/embed/IdentityDocumentReader.mjs +24 -0
- package/model/embed/IdentityDocumentReader.mjs.map +1 -0
- package/model/embed/Insurability.d.mts +48 -0
- package/model/embed/Insurability.mjs +75 -0
- package/model/embed/Insurability.mjs.map +1 -0
- package/model/embed/InvoiceInterventionType.d.mts +4 -0
- package/model/embed/InvoiceInterventionType.mjs +7 -0
- package/model/embed/InvoiceInterventionType.mjs.map +1 -0
- package/model/embed/InvoiceType.d.mts +8 -0
- package/model/embed/InvoiceType.mjs +11 -0
- package/model/embed/InvoiceType.mjs.map +1 -0
- package/model/embed/InvoicingCode.d.mts +172 -0
- package/model/embed/InvoicingCode.mjs +329 -0
- package/model/embed/InvoicingCode.mjs.map +1 -0
- package/model/embed/KeywordSubword.d.mts +6 -0
- package/model/embed/KeywordSubword.mjs +11 -0
- package/model/embed/KeywordSubword.mjs.map +1 -0
- package/model/embed/Laterality.d.mts +4 -0
- package/model/embed/Laterality.mjs +7 -0
- package/model/embed/Laterality.mjs.map +1 -0
- package/model/embed/LetterValue.d.mts +7 -0
- package/model/embed/LetterValue.mjs +18 -0
- package/model/embed/LetterValue.mjs.map +1 -0
- package/model/embed/Measure.d.mts +16 -0
- package/model/embed/Measure.mjs +38 -0
- package/model/embed/Measure.mjs.map +1 -0
- package/model/embed/MedicalHouseContract.d.mts +126 -0
- package/model/embed/MedicalHouseContract.mjs +213 -0
- package/model/embed/MedicalHouseContract.mjs.map +1 -0
- package/model/embed/Medication.d.mts +55 -0
- package/model/embed/Medication.mjs +131 -0
- package/model/embed/Medication.mjs.map +1 -0
- package/model/embed/Medicinalproduct.d.mts +9 -0
- package/model/embed/Medicinalproduct.mjs +20 -0
- package/model/embed/Medicinalproduct.mjs.map +1 -0
- package/model/embed/MediumType.d.mts +9 -0
- package/model/embed/MediumType.mjs +12 -0
- package/model/embed/MediumType.mjs.map +1 -0
- package/model/embed/MembershipType.d.mts +7 -0
- package/model/embed/MembershipType.mjs +10 -0
- package/model/embed/MembershipType.mjs.map +1 -0
- package/model/embed/MessageAttachment.d.mts +6 -0
- package/model/embed/MessageAttachment.mjs +11 -0
- package/model/embed/MessageAttachment.mjs.map +1 -0
- package/model/embed/MessageReadStatus.d.mts +5 -0
- package/model/embed/MessageReadStatus.mjs +12 -0
- package/model/embed/MessageReadStatus.mjs.map +1 -0
- package/model/embed/MhcSignatureType.d.mts +6 -0
- package/model/embed/MhcSignatureType.mjs +9 -0
- package/model/embed/MhcSignatureType.mjs.map +1 -0
- package/model/embed/ParagraphAgreement.d.mts +28 -0
- package/model/embed/ParagraphAgreement.mjs +71 -0
- package/model/embed/ParagraphAgreement.mjs.map +1 -0
- package/model/embed/Partnership.d.mts +10 -0
- package/model/embed/Partnership.mjs +20 -0
- package/model/embed/Partnership.mjs.map +1 -0
- package/model/embed/PartnershipStatus.d.mts +5 -0
- package/model/embed/PartnershipStatus.mjs +8 -0
- package/model/embed/PartnershipStatus.mjs.map +1 -0
- package/model/embed/PartnershipType.d.mts +40 -0
- package/model/embed/PartnershipType.mjs +43 -0
- package/model/embed/PartnershipType.mjs.map +1 -0
- package/model/embed/PatientHealthCareParty.d.mts +39 -0
- package/model/embed/PatientHealthCareParty.mjs +51 -0
- package/model/embed/PatientHealthCareParty.mjs.map +1 -0
- package/model/embed/PatientHealthCarePartyType.d.mts +10 -0
- package/model/embed/PatientHealthCarePartyType.mjs +13 -0
- package/model/embed/PatientHealthCarePartyType.mjs.map +1 -0
- package/model/embed/Payment.d.mts +7 -0
- package/model/embed/Payment.mjs +14 -0
- package/model/embed/Payment.mjs.map +1 -0
- package/model/embed/PaymentType.d.mts +10 -0
- package/model/embed/PaymentType.mjs +13 -0
- package/model/embed/PaymentType.mjs.map +1 -0
- package/model/embed/Periodicity.d.mts +6 -0
- package/model/embed/Periodicity.mjs +11 -0
- package/model/embed/Periodicity.mjs.map +1 -0
- package/model/embed/PersonName.d.mts +12 -0
- package/model/embed/PersonName.mjs +29 -0
- package/model/embed/PersonName.mjs.map +1 -0
- package/model/embed/PersonNameUse.d.mts +10 -0
- package/model/embed/PersonNameUse.mjs +13 -0
- package/model/embed/PersonNameUse.mjs.map +1 -0
- package/model/embed/PersonalStatus.d.mts +16 -0
- package/model/embed/PersonalStatus.mjs +19 -0
- package/model/embed/PersonalStatus.mjs.map +1 -0
- package/model/embed/PlanOfAction.d.mts +81 -0
- package/model/embed/PlanOfAction.mjs +165 -0
- package/model/embed/PlanOfAction.mjs.map +1 -0
- package/model/embed/Range.d.mts +5 -0
- package/model/embed/Range.mjs +12 -0
- package/model/embed/Range.mjs.map +1 -0
- package/model/embed/ReceiptBlobType.d.mts +9 -0
- package/model/embed/ReceiptBlobType.mjs +12 -0
- package/model/embed/ReceiptBlobType.mjs.map +1 -0
- package/model/embed/ReferenceRange.d.mts +13 -0
- package/model/embed/ReferenceRange.mjs +26 -0
- package/model/embed/ReferenceRange.mjs.map +1 -0
- package/model/embed/ReferralPeriod.d.mts +6 -0
- package/model/embed/ReferralPeriod.mjs +15 -0
- package/model/embed/ReferralPeriod.mjs.map +1 -0
- package/model/embed/RegimenItem.d.mts +12 -0
- package/model/embed/RegimenItem.mjs +23 -0
- package/model/embed/RegimenItem.mjs.map +1 -0
- package/model/embed/Renewal.d.mts +6 -0
- package/model/embed/Renewal.mjs +11 -0
- package/model/embed/Renewal.mjs.map +1 -0
- package/model/embed/Right.d.mts +7 -0
- package/model/embed/Right.mjs +18 -0
- package/model/embed/Right.mjs.map +1 -0
- package/model/embed/RoleConfiguration.d.mts +12 -0
- package/model/embed/RoleConfiguration.mjs +18 -0
- package/model/embed/RoleConfiguration.mjs.map +1 -0
- package/model/embed/SchoolingInfo.d.mts +28 -0
- package/model/embed/SchoolingInfo.mjs +41 -0
- package/model/embed/SchoolingInfo.mjs.map +1 -0
- package/model/embed/SecureDelegation.d.mts +14 -0
- package/model/embed/SecureDelegation.mjs +27 -0
- package/model/embed/SecureDelegation.mjs.map +1 -0
- package/model/embed/SecurityMetadata.d.mts +11 -0
- package/model/embed/SecurityMetadata.mjs +9 -0
- package/model/embed/SecurityMetadata.mjs.map +1 -0
- package/model/embed/Service.d.mts +161 -0
- package/model/embed/Service.mjs +231 -0
- package/model/embed/Service.mjs.map +1 -0
- package/model/embed/ServiceLink.d.mts +4 -0
- package/model/embed/ServiceLink.mjs +9 -0
- package/model/embed/ServiceLink.mjs.map +1 -0
- package/model/embed/SubContact.d.mts +60 -0
- package/model/embed/SubContact.mjs +123 -0
- package/model/embed/SubContact.mjs.map +1 -0
- package/model/embed/Substanceproduct.d.mts +9 -0
- package/model/embed/Substanceproduct.mjs +20 -0
- package/model/embed/Substanceproduct.mjs.map +1 -0
- package/model/embed/Suspension.d.mts +7 -0
- package/model/embed/Suspension.mjs +18 -0
- package/model/embed/Suspension.mjs.map +1 -0
- package/model/embed/SuspensionReason.d.mts +7 -0
- package/model/embed/SuspensionReason.mjs +10 -0
- package/model/embed/SuspensionReason.mjs.map +1 -0
- package/model/embed/TaskStatus.d.mts +6 -0
- package/model/embed/TaskStatus.mjs +9 -0
- package/model/embed/TaskStatus.mjs.map +1 -0
- package/model/embed/Telecom.d.mts +25 -0
- package/model/embed/Telecom.mjs +39 -0
- package/model/embed/Telecom.mjs.map +1 -0
- package/model/embed/TelecomType.d.mts +16 -0
- package/model/embed/TelecomType.mjs +19 -0
- package/model/embed/TelecomType.mjs.map +1 -0
- package/model/embed/TimeSeries.d.mts +10 -0
- package/model/embed/TimeSeries.mjs +27 -0
- package/model/embed/TimeSeries.mjs.map +1 -0
- package/model/embed/TimeTableHour.d.mts +5 -0
- package/model/embed/TimeTableHour.mjs +12 -0
- package/model/embed/TimeTableHour.mjs.map +1 -0
- package/model/embed/TimeTableItem.d.mts +18 -0
- package/model/embed/TimeTableItem.mjs +47 -0
- package/model/embed/TimeTableItem.mjs.map +1 -0
- package/model/embed/TypedValue.d.mts +34 -0
- package/model/embed/TypedValue.mjs +57 -0
- package/model/embed/TypedValue.mjs.map +1 -0
- package/model/embed/TypedValuesType.d.mts +9 -0
- package/model/embed/TypedValuesType.mjs +12 -0
- package/model/embed/TypedValuesType.mjs.map +1 -0
- package/model/embed/UserType.d.mts +6 -0
- package/model/embed/UserType.mjs +9 -0
- package/model/embed/UserType.mjs.map +1 -0
- package/model/embed/Valorisation.d.mts +51 -0
- package/model/embed/Valorisation.mjs +81 -0
- package/model/embed/Valorisation.mjs.map +1 -0
- package/model/embed/Weekday.d.mts +6 -0
- package/model/embed/Weekday.mjs +11 -0
- package/model/embed/Weekday.mjs.map +1 -0
- package/model/embed/form/template/Action.d.mts +8 -0
- package/model/embed/form/template/Action.mjs +14 -0
- package/model/embed/form/template/Action.mjs.map +1 -0
- package/model/embed/form/template/CheckBox.d.mts +25 -0
- package/model/embed/form/template/CheckBox.mjs +56 -0
- package/model/embed/form/template/CheckBox.mjs.map +1 -0
- package/model/embed/form/template/DatePicker.d.mts +25 -0
- package/model/embed/form/template/DatePicker.mjs +56 -0
- package/model/embed/form/template/DatePicker.mjs.map +1 -0
- package/model/embed/form/template/DateTimePicker.d.mts +25 -0
- package/model/embed/form/template/DateTimePicker.mjs +56 -0
- package/model/embed/form/template/DateTimePicker.mjs.map +1 -0
- package/model/embed/form/template/DropdownField.d.mts +25 -0
- package/model/embed/form/template/DropdownField.mjs +56 -0
- package/model/embed/form/template/DropdownField.mjs.map +1 -0
- package/model/embed/form/template/Field.d.mts +11 -0
- package/model/embed/form/template/Field.mjs +2 -0
- package/model/embed/form/template/Field.mjs.map +1 -0
- package/model/embed/form/template/FieldsGroup.d.mts +7 -0
- package/model/embed/form/template/FieldsGroup.mjs +10 -0
- package/model/embed/form/template/FieldsGroup.mjs.map +1 -0
- package/model/embed/form/template/FormTemplateLayout.d.mts +10 -0
- package/model/embed/form/template/FormTemplateLayout.mjs +18 -0
- package/model/embed/form/template/FormTemplateLayout.mjs.map +1 -0
- package/model/embed/form/template/Launcher.d.mts +7 -0
- package/model/embed/form/template/Launcher.mjs +10 -0
- package/model/embed/form/template/Launcher.mjs.map +1 -0
- package/model/embed/form/template/MeasureField.d.mts +25 -0
- package/model/embed/form/template/MeasureField.mjs +56 -0
- package/model/embed/form/template/MeasureField.mjs.map +1 -0
- package/model/embed/form/template/MultipleChoice.d.mts +25 -0
- package/model/embed/form/template/MultipleChoice.mjs +56 -0
- package/model/embed/form/template/MultipleChoice.mjs.map +1 -0
- package/model/embed/form/template/NumberField.d.mts +25 -0
- package/model/embed/form/template/NumberField.mjs +56 -0
- package/model/embed/form/template/NumberField.mjs.map +1 -0
- package/model/embed/form/template/RadioButton.d.mts +25 -0
- package/model/embed/form/template/RadioButton.mjs +56 -0
- package/model/embed/form/template/RadioButton.mjs.map +1 -0
- package/model/embed/form/template/Section.d.mts +8 -0
- package/model/embed/form/template/Section.mjs +13 -0
- package/model/embed/form/template/Section.mjs.map +1 -0
- package/model/embed/form/template/State.d.mts +7 -0
- package/model/embed/form/template/State.mjs +10 -0
- package/model/embed/form/template/State.mjs.map +1 -0
- package/model/embed/form/template/StateToUpdate.d.mts +7 -0
- package/model/embed/form/template/StateToUpdate.mjs +10 -0
- package/model/embed/form/template/StateToUpdate.mjs.map +1 -0
- package/model/embed/form/template/StructureElement.d.mts +3 -0
- package/model/embed/form/template/StructureElement.mjs +2 -0
- package/model/embed/form/template/StructureElement.mjs.map +1 -0
- package/model/embed/form/template/TextField.d.mts +25 -0
- package/model/embed/form/template/TextField.mjs +56 -0
- package/model/embed/form/template/TextField.mjs.map +1 -0
- package/model/embed/form/template/TimePicker.d.mts +25 -0
- package/model/embed/form/template/TimePicker.mjs +56 -0
- package/model/embed/form/template/TimePicker.mjs.map +1 -0
- package/model/embed/form/template/Trigger.d.mts +9 -0
- package/model/embed/form/template/Trigger.mjs +12 -0
- package/model/embed/form/template/Trigger.mjs.map +1 -0
- package/model/enums/UsersStatus.d.mts +5 -0
- package/model/enums/UsersStatus.mjs +8 -0
- package/model/enums/UsersStatus.mjs.map +1 -0
- package/model/enums/UsersType.d.mts +5 -0
- package/model/enums/UsersType.mjs +8 -0
- package/model/enums/UsersType.mjs.map +1 -0
- package/model/filter/predicate/AlwaysPredicate.d.mts +4 -0
- package/model/filter/predicate/AlwaysPredicate.mjs +7 -0
- package/model/filter/predicate/AlwaysPredicate.mjs.map +1 -0
- package/model/filter/predicate/AndPredicate.d.mts +6 -0
- package/model/filter/predicate/AndPredicate.mjs +9 -0
- package/model/filter/predicate/AndPredicate.mjs.map +1 -0
- package/model/filter/predicate/KeyValuePredicate.d.mts +8 -0
- package/model/filter/predicate/KeyValuePredicate.mjs +15 -0
- package/model/filter/predicate/KeyValuePredicate.mjs.map +1 -0
- package/model/filter/predicate/NotPredicate.d.mts +6 -0
- package/model/filter/predicate/NotPredicate.mjs +7 -0
- package/model/filter/predicate/NotPredicate.mjs.map +1 -0
- package/model/filter/predicate/Operator.d.mts +10 -0
- package/model/filter/predicate/Operator.mjs +13 -0
- package/model/filter/predicate/Operator.mjs.map +1 -0
- package/model/filter/predicate/OrPredicate.d.mts +6 -0
- package/model/filter/predicate/OrPredicate.mjs +9 -0
- package/model/filter/predicate/OrPredicate.mjs.map +1 -0
- package/model/filter/predicate/Predicate.d.mts +6 -0
- package/model/filter/predicate/Predicate.mjs +2 -0
- package/model/filter/predicate/Predicate.mjs.map +1 -0
- package/model/requests/RequestedPermission.d.mts +7 -0
- package/model/requests/RequestedPermission.mjs +10 -0
- package/model/requests/RequestedPermission.mjs.map +1 -0
- package/model/sdk/KeyPairUpdateNotification.d.mts +9 -0
- package/model/sdk/KeyPairUpdateNotification.mjs +14 -0
- package/model/sdk/KeyPairUpdateNotification.mjs.map +1 -0
- package/model/security/AlwaysPermissionItem.d.mts +6 -0
- package/model/security/AlwaysPermissionItem.mjs +7 -0
- package/model/security/AlwaysPermissionItem.mjs.map +1 -0
- package/model/security/AuthenticationToken.d.mts +7 -0
- package/model/security/AuthenticationToken.mjs +14 -0
- package/model/security/AuthenticationToken.mjs.map +1 -0
- package/model/security/Enable2faRequest.d.mts +5 -0
- package/model/security/Enable2faRequest.mjs +8 -0
- package/model/security/Enable2faRequest.mjs.map +1 -0
- package/model/security/ExternalJwtSelector.d.mts +7 -0
- package/model/security/ExternalJwtSelector.mjs +18 -0
- package/model/security/ExternalJwtSelector.mjs.map +1 -0
- package/model/security/Operation.d.mts +3 -0
- package/model/security/Operation.mjs +6 -0
- package/model/security/Operation.mjs.map +1 -0
- package/model/security/OperationToken.d.mts +9 -0
- package/model/security/OperationToken.mjs +12 -0
- package/model/security/OperationToken.mjs.map +1 -0
- package/model/security/Permission.d.mts +6 -0
- package/model/security/Permission.mjs +11 -0
- package/model/security/Permission.mjs.map +1 -0
- package/model/security/PermissionItem.d.mts +2 -0
- package/model/security/PermissionItem.mjs +2 -0
- package/model/security/PermissionItem.mjs.map +1 -0
- package/model/security/PermissionType.d.mts +16 -0
- package/model/security/PermissionType.mjs +19 -0
- package/model/security/PermissionType.mjs.map +1 -0
- package/model/security/TokenWithGroup.d.mts +6 -0
- package/model/security/TokenWithGroup.mjs +11 -0
- package/model/security/TokenWithGroup.mjs.map +1 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.d.mts +1 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs +3 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs.map +1 -0
- package/model/specializations/AesExchangeKeyEntryKeyString.d.mts +1 -0
- package/model/specializations/AesExchangeKeyEntryKeyString.mjs +3 -0
- package/model/specializations/AesExchangeKeyEntryKeyString.mjs.map +1 -0
- package/model/specializations/AnyPrimitive.d.mts +1 -0
- package/model/specializations/AnyPrimitive.mjs +3 -0
- package/model/specializations/AnyPrimitive.mjs.map +1 -0
- package/model/specializations/Base64String.d.mts +1 -0
- package/model/specializations/Base64String.mjs +3 -0
- package/model/specializations/Base64String.mjs.map +1 -0
- package/model/specializations/HexString.d.mts +1 -0
- package/model/specializations/HexString.mjs +3 -0
- package/model/specializations/HexString.mjs.map +1 -0
- package/model/specializations/KeypairFingerprintV1String.d.mts +1 -0
- package/model/specializations/KeypairFingerprintV1String.mjs +3 -0
- package/model/specializations/KeypairFingerprintV1String.mjs.map +1 -0
- package/model/specializations/Pkcs8Bytes.d.mts +1 -0
- package/model/specializations/Pkcs8Bytes.mjs +3 -0
- package/model/specializations/Pkcs8Bytes.mjs.map +1 -0
- package/model/specializations/SecureDelegationKeyString.d.mts +1 -0
- package/model/specializations/SecureDelegationKeyString.mjs +3 -0
- package/model/specializations/SecureDelegationKeyString.mjs.map +1 -0
- package/model/specializations/Sha256HexString.d.mts +1 -0
- package/model/specializations/Sha256HexString.mjs +3 -0
- package/model/specializations/Sha256HexString.mjs.map +1 -0
- package/model/specializations/SpkiHexString.d.mts +1 -0
- package/model/specializations/SpkiHexString.mjs +3 -0
- package/model/specializations/SpkiHexString.mjs.map +1 -0
- package/model.d.mts +234 -0
- package/model.mjs +235 -0
- package/model.mjs.map +1 -0
- package/okio-parent-okio.mjs +4 -0
- package/okio-parent-okio.mjs.map +1 -0
- package/options/AuthenticationMethod.d.mts +322 -0
- package/options/AuthenticationMethod.mjs +221 -0
- package/options/AuthenticationMethod.mjs.map +1 -0
- package/options/SdkOptions.d.mts +214 -0
- package/options/SdkOptions.mjs +2 -0
- package/options/SdkOptions.mjs.map +1 -0
- package/options.d.mts +2 -0
- package/options.mjs +3 -0
- package/options.mjs.map +1 -0
- package/package.json +17 -0
- package/sdk/CardinalSdk.d.mts +216 -0
- package/sdk/CardinalSdk.mjs +72 -0
- package/sdk/CardinalSdk.mjs.map +1 -0
- package/sdk.d.mts +1 -0
- package/sdk.mjs +2 -0
- package/sdk.mjs.map +1 -0
- package/storage/StorageFacade.d.mts +85 -0
- package/storage/StorageFacade.mjs +41 -0
- package/storage/StorageFacade.mjs.map +1 -0
- package/storage.d.mts +1 -0
- package/storage.mjs +2 -0
- package/storage.mjs.map +1 -0
- package/subscription/EntitySubscription.d.mts +30 -0
- package/subscription/EntitySubscription.mjs +2 -0
- package/subscription/EntitySubscription.mjs.map +1 -0
- package/subscription/EntitySubscriptionCloseReason.d.mts +5 -0
- package/subscription/EntitySubscriptionCloseReason.mjs +8 -0
- package/subscription/EntitySubscriptionCloseReason.mjs.map +1 -0
- package/subscription/EntitySubscriptionConfiguration.d.mts +16 -0
- package/subscription/EntitySubscriptionConfiguration.mjs +28 -0
- package/subscription/EntitySubscriptionConfiguration.mjs.map +1 -0
- package/subscription/EntitySubscriptionEvent.d.mts +41 -0
- package/subscription/EntitySubscriptionEvent.mjs +45 -0
- package/subscription/EntitySubscriptionEvent.mjs.map +1 -0
- package/subscription/SubscriptionEventType.d.mts +4 -0
- package/subscription/SubscriptionEventType.mjs +7 -0
- package/subscription/SubscriptionEventType.mjs.map +1 -0
- package/subscription.d.mts +5 -0
- package/subscription.mjs +6 -0
- package/subscription.mjs.map +1 -0
- package/utils/CancellablePromise.d.mts +3 -0
- package/utils/CancellablePromise.mjs +2 -0
- package/utils/CancellablePromise.mjs.map +1 -0
- package/utils/DurationMs.d.mts +4 -0
- package/utils/DurationMs.mjs +2 -0
- package/utils/DurationMs.mjs.map +1 -0
- package/utils/Id.d.mts +1 -0
- package/utils/Id.mjs +18 -0
- package/utils/Id.mjs.map +1 -0
- package/utils.d.mts +3 -0
- package/utils.mjs +4 -0
- package/utils.mjs.map +1 -0
|
@@ -0,0 +1,1998 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Long2qws0ah9gnpki as Long,
|
|
3
|
+
VOID7hggqo3abtya as VOID,
|
|
4
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
5
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
6
|
+
NotImplementedErrorfzlkpv14xxr8 as NotImplementedError,
|
|
7
|
+
Unit_instance104q5opgivhr8 as Unit_instance,
|
|
8
|
+
toString1pkumu07cwy4m as toString,
|
|
9
|
+
IllegalArgumentException_init_$Create$310sysrobvll9 as IllegalArgumentException_init_$Create$,
|
|
10
|
+
StringBuilder_init_$Create$2mwec1027v00x as StringBuilder_init_$Create$,
|
|
11
|
+
_Char___init__impl__6a9atx281r2pd9o601g as _Char___init__impl__6a9atx,
|
|
12
|
+
endsWith1a79dp5rc3sfv as endsWith,
|
|
13
|
+
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
14
|
+
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
|
|
15
|
+
Char19o2r8palgjof as Char,
|
|
16
|
+
Char__compareTo_impl_ypi4mb3fw4vcbfqkuba as Char__compareTo_impl_ypi4mb,
|
|
17
|
+
contains2el4s70rdq4ld as contains,
|
|
18
|
+
charSequenceSubSequence1iwpdba8s3jc7 as charSequenceSubSequence,
|
|
19
|
+
Char__toInt_impl_vasixd2xlaiz5u3itpv as Char__toInt_impl_vasixd,
|
|
20
|
+
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
|
|
21
|
+
IllegalStateException_init_$Init$13tvpwythio9e as IllegalStateException_init_$Init$,
|
|
22
|
+
captureStack1fzi4aczwc4hg as captureStack,
|
|
23
|
+
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
24
|
+
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
25
|
+
IllegalStateException_init_$Create$3ib9qa3pip8n4 as IllegalStateException_init_$Create$,
|
|
26
|
+
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
27
|
+
setOf45ia9pnfhe90 as setOf,
|
|
28
|
+
listOf1jh22dvmctj1r as listOf,
|
|
29
|
+
toString1h6jjoch8cjt8 as toString_0,
|
|
30
|
+
toByte4i43936u611k as toByte,
|
|
31
|
+
copyOfRange3alro60z4hhf8 as copyOfRange,
|
|
32
|
+
startsWith641pyr7vf687 as startsWith,
|
|
33
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
34
|
+
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
35
|
+
isInterface3d6p8outrmvmk as isInterface,
|
|
36
|
+
CancellationException_init_$Create$tastk7hwpe6q as CancellationException_init_$Create$,
|
|
37
|
+
toLongw1zpgk99d84b as toLong,
|
|
38
|
+
LinkedHashMap_init_$Create$1p3p95clvi93w as LinkedHashMap_init_$Create$,
|
|
39
|
+
ArrayList_init_$Create$2qnngtk1et9r9 as ArrayList_init_$Create$,
|
|
40
|
+
compareTo3ankvs086tmwq as compareTo,
|
|
41
|
+
NoSuchElementException_init_$Create$2u364tbvjhp4i as NoSuchElementException_init_$Create$,
|
|
42
|
+
Collection1k04j3hzsbod0 as Collection,
|
|
43
|
+
emptyList1g2z5xcrvp2zy as emptyList,
|
|
44
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
45
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
46
|
+
StringBuilder_init_$Create$23o1ixl6cos5l as StringBuilder_init_$Create$_0,
|
|
47
|
+
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
48
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
49
|
+
CharSequence1ceii1xorfwh7 as CharSequence,
|
|
50
|
+
IndexOutOfBoundsException_init_$Create$jb51qtvf74or as IndexOutOfBoundsException_init_$Create$,
|
|
51
|
+
charArray2ujmm1qusno00 as charArray,
|
|
52
|
+
NumberFormatException_init_$Create$kedeltz3bzwr as NumberFormatException_init_$Create$,
|
|
53
|
+
toString35i91qxh73cps as toString_1,
|
|
54
|
+
numberRangeToNumber25vse2rgp6rs8 as numberRangeToNumber,
|
|
55
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
56
|
+
ArrayList_init_$Create$1s1wkrw82c0iw as ArrayList_init_$Create$_0,
|
|
57
|
+
numberToLong1a4cndvg6c52s as numberToLong,
|
|
58
|
+
toLongArray23ixicpzp5r3w as toLongArray,
|
|
59
|
+
Char__plus_impl_qi7pgj1zq2c0uiotg93 as Char__plus_impl_qi7pgj,
|
|
60
|
+
Char__minus_impl_a2frrhe8uo2lu35qi1 as Char__minus_impl_a2frrh,
|
|
61
|
+
toByteArray3caw0hip00os as toByteArray,
|
|
62
|
+
isWhitespace25occ8z1ed1s9 as isWhitespace,
|
|
63
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
64
|
+
import {
|
|
65
|
+
MultiPartData57syw40llxls as MultiPartData,
|
|
66
|
+
HttpHeaders_getInstancekqele34vb34f as HttpHeaders_getInstance,
|
|
67
|
+
MultiPart_getInstance2x0sgwr24mfqp as MultiPart_getInstance,
|
|
68
|
+
Companion_getInstancepumzx9q4106p as Companion_getInstance,
|
|
69
|
+
} from './ktor-ktor-http.mjs';
|
|
70
|
+
import {
|
|
71
|
+
CoroutineScopefcb5f5dwqcas as CoroutineScope,
|
|
72
|
+
produce1iljho2c8bp6o as produce,
|
|
73
|
+
ProducerScopeb3mmhvfa6ll7 as ProducerScope,
|
|
74
|
+
CompletableDeferred2lnqvsbvx74d3 as CompletableDeferred,
|
|
75
|
+
} from './kotlinx-coroutines-core.mjs';
|
|
76
|
+
import {
|
|
77
|
+
DefaultPool2gb1fm4epwgu9 as DefaultPool,
|
|
78
|
+
readUTF8LineTo2rqyj2iri7j7e as readUTF8LineTo,
|
|
79
|
+
Companion_getInstance2golwmcx6d471 as Companion_getInstance_0,
|
|
80
|
+
LineEndingMode__plus_impl_ttpz2j1fo728zjvbdzc as LineEndingMode__plus_impl_ttpz2j,
|
|
81
|
+
readUntilqaod88ylrtua as readUntil,
|
|
82
|
+
WriterScope3b0bo1enaee6b as WriterScope,
|
|
83
|
+
counted3iniv3aql3f9n as counted,
|
|
84
|
+
writer1eia5its2a1fh as writer,
|
|
85
|
+
readRemaining33cdmbznvdvtg as readRemaining,
|
|
86
|
+
get_remaining1lapv95kcmm0y as get_remaining,
|
|
87
|
+
skipIfFound2s927ggnjlzu8 as skipIfFound,
|
|
88
|
+
ByteChannel3cxdguezl3lu7 as ByteChannel,
|
|
89
|
+
close3semq7pafb42g as close,
|
|
90
|
+
readPacket12c3kakna35tv as readPacket,
|
|
91
|
+
copyTo2bqjr21is71ky as copyTo,
|
|
92
|
+
toByteArray1i3ns5jnoqlv6 as toByteArray_0,
|
|
93
|
+
NoPoolImplgos9n8jphzjp as NoPoolImpl,
|
|
94
|
+
} from './ktor-ktor-io.mjs';
|
|
95
|
+
import {
|
|
96
|
+
ByteString_init_$Create$szylcqpww4kx as ByteString_init_$Create$,
|
|
97
|
+
ByteString3c9fk8lsh3lvs as ByteString,
|
|
98
|
+
} from './kotlinx-io-kotlinx-io-bytestring.mjs';
|
|
99
|
+
import {
|
|
100
|
+
IOException_init_$Create$13y6ig657l2av as IOException_init_$Create$,
|
|
101
|
+
EOFException_init_$Create$1fcl7h9im3v9r as EOFException_init_$Create$,
|
|
102
|
+
IOException1wyutdmfe71nu as IOException,
|
|
103
|
+
IOException_init_$Init$2jjz3fe04l3kq as IOException_init_$Init$,
|
|
104
|
+
} from './kotlinx-io-kotlinx-io-core.mjs';
|
|
105
|
+
//region block: imports
|
|
106
|
+
var imul = Math.imul;
|
|
107
|
+
//endregion
|
|
108
|
+
//region block: pre-declaration
|
|
109
|
+
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
110
|
+
initMetadataForClass(HttpHeadersMap, 'HttpHeadersMap');
|
|
111
|
+
initMetadataForClass(IntArrayPool$1, VOID, VOID, DefaultPool);
|
|
112
|
+
initMetadataForClass(ParserException, 'ParserException', VOID, IllegalStateException);
|
|
113
|
+
initMetadataForCoroutine($parseHeadersCOROUTINE$4, CoroutineImpl);
|
|
114
|
+
initMetadataForClass(MultipartEvent, 'MultipartEvent');
|
|
115
|
+
initMetadataForClass(Preamble, 'Preamble', VOID, MultipartEvent);
|
|
116
|
+
initMetadataForClass(MultipartPart, 'MultipartPart', VOID, MultipartEvent);
|
|
117
|
+
initMetadataForClass(Epilogue, 'Epilogue', VOID, MultipartEvent);
|
|
118
|
+
initMetadataForLambda(parseMultipart$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
119
|
+
initMetadataForLambda(parseMultipart$slambda, CoroutineImpl, VOID, [1]);
|
|
120
|
+
initMetadataForCoroutine($parsePartHeadersImplCOROUTINE$5, CoroutineImpl);
|
|
121
|
+
initMetadataForCoroutine($parsePartBodyImplCOROUTINE$6, CoroutineImpl);
|
|
122
|
+
initMetadataForCoroutine($skipIfFoundReadCountCOROUTINE$7, CoroutineImpl);
|
|
123
|
+
initMetadataForClass(Node, 'Node');
|
|
124
|
+
initMetadataForCompanion(Companion);
|
|
125
|
+
initMetadataForClass(AsciiCharTree, 'AsciiCharTree');
|
|
126
|
+
initMetadataForClass(SubSequenceImpl, 'SubSequenceImpl', VOID, VOID, [CharSequence]);
|
|
127
|
+
initMetadataForClass(CharArrayBuilder, 'CharArrayBuilder', CharArrayBuilder, VOID, [CharSequence]);
|
|
128
|
+
initMetadataForClass(CharArrayPool$1, VOID, VOID, NoPoolImpl);
|
|
129
|
+
initMetadataForClass(CharArrayPool$2, VOID, VOID, DefaultPool);
|
|
130
|
+
initMetadataForClass(UnsupportedMediaTypeExceptionCIO, 'UnsupportedMediaTypeExceptionCIO', VOID, IOException);
|
|
131
|
+
initMetadataForClass(MutableRange, 'MutableRange');
|
|
132
|
+
//endregion
|
|
133
|
+
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
134
|
+
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
135
|
+
this.s34_1 = coroutineContext;
|
|
136
|
+
this.t34_1 = null;
|
|
137
|
+
this.u34_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
138
|
+
}
|
|
139
|
+
protoOf(CIOMultipartDataBase).hp = function () {
|
|
140
|
+
return this.s34_1;
|
|
141
|
+
};
|
|
142
|
+
function get_EMPTY_INT_LIST() {
|
|
143
|
+
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
144
|
+
return EMPTY_INT_LIST;
|
|
145
|
+
}
|
|
146
|
+
var EMPTY_INT_LIST;
|
|
147
|
+
function get_IntArrayPool() {
|
|
148
|
+
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
149
|
+
return IntArrayPool;
|
|
150
|
+
}
|
|
151
|
+
var IntArrayPool;
|
|
152
|
+
function HttpHeadersMap(builder) {
|
|
153
|
+
this.v34_1 = builder;
|
|
154
|
+
this.w34_1 = 0;
|
|
155
|
+
this.x34_1 = get_IntArrayPool().n1z();
|
|
156
|
+
}
|
|
157
|
+
protoOf(HttpHeadersMap).y34 = function (nameHash, valueHash, nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
158
|
+
var base = imul(this.w34_1, 8);
|
|
159
|
+
var array = this.x34_1;
|
|
160
|
+
if (base >= this.x34_1.length) {
|
|
161
|
+
// Inline function 'kotlin.TODO' call
|
|
162
|
+
var reason = 'Implement headers overflow';
|
|
163
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
164
|
+
}
|
|
165
|
+
array[base + 0 | 0] = nameHash;
|
|
166
|
+
array[base + 1 | 0] = valueHash;
|
|
167
|
+
array[base + 2 | 0] = nameStartIndex;
|
|
168
|
+
array[base + 3 | 0] = nameEndIndex;
|
|
169
|
+
array[base + 4 | 0] = valueStartIndex;
|
|
170
|
+
array[base + 5 | 0] = valueEndIndex;
|
|
171
|
+
array[base + 6 | 0] = -1;
|
|
172
|
+
array[base + 7 | 0] = -1;
|
|
173
|
+
this.w34_1 = this.w34_1 + 1 | 0;
|
|
174
|
+
};
|
|
175
|
+
protoOf(HttpHeadersMap).o2m = function (name) {
|
|
176
|
+
var nameHash = hashCodeLowerCase(name);
|
|
177
|
+
var inductionVariable = 0;
|
|
178
|
+
var last = this.w34_1;
|
|
179
|
+
if (inductionVariable < last)
|
|
180
|
+
do {
|
|
181
|
+
var i = inductionVariable;
|
|
182
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
183
|
+
var offset = imul(i, 8);
|
|
184
|
+
if (this.x34_1[offset] === nameHash) {
|
|
185
|
+
return this.v34_1.c(this.x34_1[offset + 4 | 0], this.x34_1[offset + 5 | 0]);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
while (inductionVariable < last);
|
|
189
|
+
return null;
|
|
190
|
+
};
|
|
191
|
+
protoOf(HttpHeadersMap).g35 = function (idx) {
|
|
192
|
+
// Inline function 'kotlin.require' call
|
|
193
|
+
// Inline function 'kotlin.require' call
|
|
194
|
+
if (!(idx >= 0)) {
|
|
195
|
+
var message = 'Failed requirement.';
|
|
196
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
197
|
+
}
|
|
198
|
+
// Inline function 'kotlin.require' call
|
|
199
|
+
// Inline function 'kotlin.require' call
|
|
200
|
+
if (!(idx < this.w34_1)) {
|
|
201
|
+
var message_0 = 'Failed requirement.';
|
|
202
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
203
|
+
}
|
|
204
|
+
var offset = imul(idx, 8);
|
|
205
|
+
var array = this.x34_1;
|
|
206
|
+
var nameStart = array[offset + 2 | 0];
|
|
207
|
+
var nameEnd = array[offset + 3 | 0];
|
|
208
|
+
return this.v34_1.c(nameStart, nameEnd);
|
|
209
|
+
};
|
|
210
|
+
protoOf(HttpHeadersMap).h35 = function (idx) {
|
|
211
|
+
// Inline function 'kotlin.require' call
|
|
212
|
+
// Inline function 'kotlin.require' call
|
|
213
|
+
if (!(idx >= 0)) {
|
|
214
|
+
var message = 'Failed requirement.';
|
|
215
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
216
|
+
}
|
|
217
|
+
// Inline function 'kotlin.require' call
|
|
218
|
+
// Inline function 'kotlin.require' call
|
|
219
|
+
if (!(idx < this.w34_1)) {
|
|
220
|
+
var message_0 = 'Failed requirement.';
|
|
221
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
222
|
+
}
|
|
223
|
+
var offset = imul(idx, 8);
|
|
224
|
+
var array = this.x34_1;
|
|
225
|
+
var nameStart = array[offset + 4 | 0];
|
|
226
|
+
var nameEnd = array[offset + 5 | 0];
|
|
227
|
+
return this.v34_1.c(nameStart, nameEnd);
|
|
228
|
+
};
|
|
229
|
+
protoOf(HttpHeadersMap).z1g = function () {
|
|
230
|
+
this.w34_1 = 0;
|
|
231
|
+
var indexes = this.x34_1;
|
|
232
|
+
this.x34_1 = get_EMPTY_INT_LIST();
|
|
233
|
+
if (!(indexes === get_EMPTY_INT_LIST())) {
|
|
234
|
+
get_IntArrayPool().o1z(indexes);
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
protoOf(HttpHeadersMap).toString = function () {
|
|
238
|
+
// Inline function 'kotlin.text.buildString' call
|
|
239
|
+
// Inline function 'kotlin.apply' call
|
|
240
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
241
|
+
dumpTo(this, '', this_0);
|
|
242
|
+
return this_0.toString();
|
|
243
|
+
};
|
|
244
|
+
function dumpTo(_this__u8e3s4, indent, out) {
|
|
245
|
+
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
246
|
+
var inductionVariable = 0;
|
|
247
|
+
var last = _this__u8e3s4.w34_1;
|
|
248
|
+
if (inductionVariable < last)
|
|
249
|
+
do {
|
|
250
|
+
var i = inductionVariable;
|
|
251
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
252
|
+
out.o(indent);
|
|
253
|
+
out.o(_this__u8e3s4.g35(i));
|
|
254
|
+
out.o(' => ');
|
|
255
|
+
out.o(_this__u8e3s4.h35(i));
|
|
256
|
+
out.o('\n');
|
|
257
|
+
}
|
|
258
|
+
while (inductionVariable < last);
|
|
259
|
+
}
|
|
260
|
+
function IntArrayPool$1() {
|
|
261
|
+
DefaultPool.call(this, 1000);
|
|
262
|
+
}
|
|
263
|
+
protoOf(IntArrayPool$1).g1z = function () {
|
|
264
|
+
return new Int32Array(4096);
|
|
265
|
+
};
|
|
266
|
+
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
267
|
+
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
268
|
+
if (!properties_initialized_HttpHeadersMap_kt_kotj4w) {
|
|
269
|
+
properties_initialized_HttpHeadersMap_kt_kotj4w = true;
|
|
270
|
+
EMPTY_INT_LIST = new Int32Array(0);
|
|
271
|
+
IntArrayPool = new IntArrayPool$1();
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
function get_hostForbiddenSymbols() {
|
|
275
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
276
|
+
return hostForbiddenSymbols;
|
|
277
|
+
}
|
|
278
|
+
var hostForbiddenSymbols;
|
|
279
|
+
function get_httpLineEndings() {
|
|
280
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
281
|
+
return httpLineEndings;
|
|
282
|
+
}
|
|
283
|
+
var httpLineEndings;
|
|
284
|
+
var versions;
|
|
285
|
+
function parseHeaders(input, builder, range, $completion) {
|
|
286
|
+
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
287
|
+
var tmp = new $parseHeadersCOROUTINE$4(input, builder, range, $completion);
|
|
288
|
+
tmp.l9_1 = Unit_instance;
|
|
289
|
+
tmp.m9_1 = null;
|
|
290
|
+
return tmp.r9();
|
|
291
|
+
}
|
|
292
|
+
function parseHeaderName(text, range) {
|
|
293
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
294
|
+
var index = range.x35_1;
|
|
295
|
+
var end = range.y35_1;
|
|
296
|
+
while (index < end) {
|
|
297
|
+
var ch = text.b(index);
|
|
298
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.x35_1)) {
|
|
299
|
+
range.x35_1 = index + 1 | 0;
|
|
300
|
+
return index;
|
|
301
|
+
}
|
|
302
|
+
if (isDelimiter(ch)) {
|
|
303
|
+
parseHeaderNameFailed(text, index, range.x35_1, ch);
|
|
304
|
+
}
|
|
305
|
+
index = index + 1 | 0;
|
|
306
|
+
}
|
|
307
|
+
noColonFound(text, range);
|
|
308
|
+
}
|
|
309
|
+
function parseHeaderValue(text, range) {
|
|
310
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
311
|
+
var start = range.x35_1;
|
|
312
|
+
var end = range.y35_1;
|
|
313
|
+
var index = start;
|
|
314
|
+
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
315
|
+
if (index >= end) {
|
|
316
|
+
range.x35_1 = end;
|
|
317
|
+
return Unit_instance;
|
|
318
|
+
}
|
|
319
|
+
var valueStart = index;
|
|
320
|
+
var valueLastIndex = index;
|
|
321
|
+
while (index < end) {
|
|
322
|
+
var ch = text.b(index);
|
|
323
|
+
if (ch !== _Char___init__impl__6a9atx(9) && ch !== _Char___init__impl__6a9atx(32))
|
|
324
|
+
if (ch === _Char___init__impl__6a9atx(13) || ch === _Char___init__impl__6a9atx(10)) {
|
|
325
|
+
characterIsNotAllowed(text, ch);
|
|
326
|
+
} else
|
|
327
|
+
valueLastIndex = index;
|
|
328
|
+
index = index + 1 | 0;
|
|
329
|
+
}
|
|
330
|
+
range.x35_1 = valueStart;
|
|
331
|
+
range.y35_1 = valueLastIndex + 1 | 0;
|
|
332
|
+
}
|
|
333
|
+
function validateHostHeader(host) {
|
|
334
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
335
|
+
if (endsWith(host, ':')) {
|
|
336
|
+
throw new ParserException("Host header with ':' should contains port: " + toString(host));
|
|
337
|
+
}
|
|
338
|
+
var tmp$ret$1;
|
|
339
|
+
$l$block: {
|
|
340
|
+
// Inline function 'kotlin.text.any' call
|
|
341
|
+
var inductionVariable = 0;
|
|
342
|
+
while (inductionVariable < charSequenceLength(host)) {
|
|
343
|
+
var element = charSequenceGet(host, inductionVariable);
|
|
344
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
345
|
+
if (get_hostForbiddenSymbols().w(new Char(element))) {
|
|
346
|
+
tmp$ret$1 = true;
|
|
347
|
+
break $l$block;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
tmp$ret$1 = false;
|
|
351
|
+
}
|
|
352
|
+
if (tmp$ret$1) {
|
|
353
|
+
throw new ParserException('Host cannot contain any of the following symbols: ' + toString(get_hostForbiddenSymbols()));
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
function isDelimiter(ch) {
|
|
357
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
358
|
+
return Char__compareTo_impl_ypi4mb(ch, _Char___init__impl__6a9atx(32)) <= 0 || contains('"(),/:;<=>?@[\\]{}', ch);
|
|
359
|
+
}
|
|
360
|
+
function parseHeaderNameFailed(text, index, start, ch) {
|
|
361
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
362
|
+
if (ch === _Char___init__impl__6a9atx(58)) {
|
|
363
|
+
throw new ParserException('Empty header names are not allowed as per RFC7230.');
|
|
364
|
+
}
|
|
365
|
+
if (index === start) {
|
|
366
|
+
throw new ParserException('Multiline headers via line folding is not supported since it is deprecated as per RFC7230.');
|
|
367
|
+
}
|
|
368
|
+
characterIsNotAllowed(text, ch);
|
|
369
|
+
}
|
|
370
|
+
function noColonFound(text, range) {
|
|
371
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
372
|
+
var tmp1 = range.x35_1;
|
|
373
|
+
// Inline function 'kotlin.text.substring' call
|
|
374
|
+
var endIndex = range.y35_1;
|
|
375
|
+
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp1, endIndex));
|
|
376
|
+
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
377
|
+
}
|
|
378
|
+
function characterIsNotAllowed(text, ch) {
|
|
379
|
+
_init_properties_HttpParser_kt__gbdom1();
|
|
380
|
+
// Inline function 'kotlin.code' call
|
|
381
|
+
var tmp$ret$0 = Char__toInt_impl_vasixd(ch);
|
|
382
|
+
throw new ParserException('Character with code ' + (tmp$ret$0 & 255) + ' is not allowed in header names, \n' + toString(text));
|
|
383
|
+
}
|
|
384
|
+
function ParserException(message) {
|
|
385
|
+
IllegalStateException_init_$Init$(message, this);
|
|
386
|
+
captureStack(this, ParserException);
|
|
387
|
+
}
|
|
388
|
+
function $parseHeadersCOROUTINE$4(input, builder, range, resultContinuation) {
|
|
389
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
390
|
+
this.t35_1 = input;
|
|
391
|
+
this.u35_1 = builder;
|
|
392
|
+
this.v35_1 = range;
|
|
393
|
+
}
|
|
394
|
+
protoOf($parseHeadersCOROUTINE$4).r9 = function () {
|
|
395
|
+
var suspendResult = this.l9_1;
|
|
396
|
+
$sm: do
|
|
397
|
+
try {
|
|
398
|
+
var tmp = this.j9_1;
|
|
399
|
+
switch (tmp) {
|
|
400
|
+
case 0:
|
|
401
|
+
this.k9_1 = 7;
|
|
402
|
+
this.w35_1 = new HttpHeadersMap(this.u35_1);
|
|
403
|
+
this.k9_1 = 6;
|
|
404
|
+
this.j9_1 = 1;
|
|
405
|
+
continue $sm;
|
|
406
|
+
case 1:
|
|
407
|
+
if (!true) {
|
|
408
|
+
this.j9_1 = 5;
|
|
409
|
+
continue $sm;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
this.j9_1 = 2;
|
|
413
|
+
suspendResult = readUTF8LineTo(this.t35_1, this.u35_1, 8192, get_httpLineEndings(), this);
|
|
414
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
415
|
+
return suspendResult;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
continue $sm;
|
|
419
|
+
case 2:
|
|
420
|
+
var ARGUMENT = suspendResult;
|
|
421
|
+
if (!ARGUMENT) {
|
|
422
|
+
this.w35_1.z1g();
|
|
423
|
+
return null;
|
|
424
|
+
} else {
|
|
425
|
+
this.j9_1 = 3;
|
|
426
|
+
continue $sm;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
case 3:
|
|
430
|
+
this.v35_1.y35_1 = this.u35_1.f35_1;
|
|
431
|
+
var rangeLength = this.v35_1.y35_1 - this.v35_1.x35_1 | 0;
|
|
432
|
+
if (rangeLength === 0) {
|
|
433
|
+
this.j9_1 = 5;
|
|
434
|
+
continue $sm;
|
|
435
|
+
} else {
|
|
436
|
+
this.j9_1 = 4;
|
|
437
|
+
continue $sm;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
case 4:
|
|
441
|
+
if (rangeLength >= 8192) {
|
|
442
|
+
var message = 'Header line length limit exceeded';
|
|
443
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
var nameStart = this.v35_1.x35_1;
|
|
447
|
+
var nameEnd = parseHeaderName(this.u35_1, this.v35_1);
|
|
448
|
+
var nameHash = hashCodeLowerCase(this.u35_1, nameStart, nameEnd);
|
|
449
|
+
var headerEnd = this.v35_1.y35_1;
|
|
450
|
+
parseHeaderValue(this.u35_1, this.v35_1);
|
|
451
|
+
var valueStart = this.v35_1.x35_1;
|
|
452
|
+
var valueEnd = this.v35_1.y35_1;
|
|
453
|
+
var valueHash = hashCodeLowerCase(this.u35_1, valueStart, valueEnd);
|
|
454
|
+
this.v35_1.x35_1 = headerEnd;
|
|
455
|
+
this.w35_1.y34(nameHash, valueHash, nameStart, nameEnd, valueStart, valueEnd);
|
|
456
|
+
this.j9_1 = 1;
|
|
457
|
+
continue $sm;
|
|
458
|
+
case 5:
|
|
459
|
+
var host = this.w35_1.o2m(HttpHeaders_getInstance().s2v_1);
|
|
460
|
+
if (!(host == null)) {
|
|
461
|
+
validateHostHeader(host);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
return this.w35_1;
|
|
465
|
+
case 6:
|
|
466
|
+
this.k9_1 = 7;
|
|
467
|
+
var tmp_0 = this.m9_1;
|
|
468
|
+
if (tmp_0 instanceof Error) {
|
|
469
|
+
var t = this.m9_1;
|
|
470
|
+
this.w35_1.z1g();
|
|
471
|
+
throw t;
|
|
472
|
+
} else {
|
|
473
|
+
throw this.m9_1;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
case 7:
|
|
477
|
+
throw this.m9_1;
|
|
478
|
+
}
|
|
479
|
+
} catch ($p) {
|
|
480
|
+
var e = $p;
|
|
481
|
+
if (this.k9_1 === 7) {
|
|
482
|
+
throw e;
|
|
483
|
+
} else {
|
|
484
|
+
this.j9_1 = this.k9_1;
|
|
485
|
+
this.m9_1 = e;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
while (true);
|
|
489
|
+
};
|
|
490
|
+
var properties_initialized_HttpParser_kt_uedryv;
|
|
491
|
+
function _init_properties_HttpParser_kt__gbdom1() {
|
|
492
|
+
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
493
|
+
properties_initialized_HttpParser_kt_uedryv = true;
|
|
494
|
+
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
495
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_0().t1s_1, Companion_getInstance_0().s1s_1);
|
|
496
|
+
versions = Companion_instance.z35(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
function get_CrLf() {
|
|
500
|
+
_init_properties_Multipart_kt__ato98a();
|
|
501
|
+
return CrLf;
|
|
502
|
+
}
|
|
503
|
+
var CrLf;
|
|
504
|
+
function get_PrefixString() {
|
|
505
|
+
_init_properties_Multipart_kt__ato98a();
|
|
506
|
+
return PrefixString;
|
|
507
|
+
}
|
|
508
|
+
var PrefixString;
|
|
509
|
+
function Preamble(body) {
|
|
510
|
+
MultipartEvent.call(this);
|
|
511
|
+
this.a36_1 = body;
|
|
512
|
+
}
|
|
513
|
+
function MultipartPart(headers, body) {
|
|
514
|
+
MultipartEvent.call(this);
|
|
515
|
+
this.b36_1 = headers;
|
|
516
|
+
this.c36_1 = body;
|
|
517
|
+
}
|
|
518
|
+
function Epilogue(body) {
|
|
519
|
+
MultipartEvent.call(this);
|
|
520
|
+
this.d36_1 = body;
|
|
521
|
+
}
|
|
522
|
+
function MultipartEvent() {
|
|
523
|
+
}
|
|
524
|
+
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
525
|
+
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
526
|
+
_init_properties_Multipart_kt__ato98a();
|
|
527
|
+
if (!MultiPart_getInstance().i2t(contentType)) {
|
|
528
|
+
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
529
|
+
}
|
|
530
|
+
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
531
|
+
var boundaryBytes = ByteString_init_$Create$(boundaryByteBuffer);
|
|
532
|
+
return parseMultipart_0(_this__u8e3s4, boundaryBytes, input, contentLength, maxPartSize);
|
|
533
|
+
}
|
|
534
|
+
function parseBoundaryInternal(contentType) {
|
|
535
|
+
_init_properties_Multipart_kt__ato98a();
|
|
536
|
+
var boundaryParameter = findBoundary(contentType);
|
|
537
|
+
if (boundaryParameter === -1) {
|
|
538
|
+
throw IOException_init_$Create$("Failed to parse multipart: Content-Type's boundary parameter is missing");
|
|
539
|
+
}
|
|
540
|
+
var boundaryStart = boundaryParameter + 9 | 0;
|
|
541
|
+
var boundaryBytes = new Int8Array(74);
|
|
542
|
+
var position = {_v: 0};
|
|
543
|
+
parseBoundaryInternal$put(position, boundaryBytes, 13);
|
|
544
|
+
parseBoundaryInternal$put(position, boundaryBytes, 10);
|
|
545
|
+
parseBoundaryInternal$put(position, boundaryBytes, 45);
|
|
546
|
+
parseBoundaryInternal$put(position, boundaryBytes, 45);
|
|
547
|
+
var state = 0;
|
|
548
|
+
var inductionVariable = boundaryStart;
|
|
549
|
+
var last = charSequenceLength(contentType);
|
|
550
|
+
if (inductionVariable < last)
|
|
551
|
+
loop: do {
|
|
552
|
+
var i = inductionVariable;
|
|
553
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
554
|
+
var ch = charSequenceGet(contentType, i);
|
|
555
|
+
// Inline function 'kotlin.code' call
|
|
556
|
+
var v = Char__toInt_impl_vasixd(ch) & 65535;
|
|
557
|
+
if ((v & 65535) > 127) {
|
|
558
|
+
throw IOException_init_$Create$('Failed to parse multipart: wrong boundary byte 0x' + toString_0(v, 16) + ' - should be 7bit character');
|
|
559
|
+
}
|
|
560
|
+
switch (state) {
|
|
561
|
+
case 0:
|
|
562
|
+
if (ch !== _Char___init__impl__6a9atx(32))
|
|
563
|
+
if (ch === _Char___init__impl__6a9atx(34)) {
|
|
564
|
+
state = 2;
|
|
565
|
+
} else if (ch === _Char___init__impl__6a9atx(59) || ch === _Char___init__impl__6a9atx(44)) {
|
|
566
|
+
break loop;
|
|
567
|
+
} else {
|
|
568
|
+
state = 1;
|
|
569
|
+
parseBoundaryInternal$put(position, boundaryBytes, toByte(v));
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
break;
|
|
573
|
+
case 1:
|
|
574
|
+
if (ch === _Char___init__impl__6a9atx(32) || ch === _Char___init__impl__6a9atx(44) || ch === _Char___init__impl__6a9atx(59)) {
|
|
575
|
+
break loop;
|
|
576
|
+
} else {
|
|
577
|
+
parseBoundaryInternal$put(position, boundaryBytes, toByte(v));
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
break;
|
|
581
|
+
case 2:
|
|
582
|
+
if (ch === _Char___init__impl__6a9atx(92)) {
|
|
583
|
+
state = 3;
|
|
584
|
+
} else if (ch === _Char___init__impl__6a9atx(34)) {
|
|
585
|
+
break loop;
|
|
586
|
+
} else {
|
|
587
|
+
parseBoundaryInternal$put(position, boundaryBytes, toByte(v));
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
break;
|
|
591
|
+
case 3:
|
|
592
|
+
parseBoundaryInternal$put(position, boundaryBytes, toByte(v));
|
|
593
|
+
state = 2;
|
|
594
|
+
break;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
while (inductionVariable < last);
|
|
598
|
+
if (position._v === 4) {
|
|
599
|
+
throw IOException_init_$Create$('Empty multipart boundary is not allowed');
|
|
600
|
+
}
|
|
601
|
+
return copyOfRange(boundaryBytes, 0, position._v);
|
|
602
|
+
}
|
|
603
|
+
function parseMultipart_0(_this__u8e3s4, boundaryPrefixed, input, totalLength, maxPartSize) {
|
|
604
|
+
_init_properties_Multipart_kt__ato98a();
|
|
605
|
+
return produce(_this__u8e3s4, VOID, VOID, parseMultipart$slambda_0(input, boundaryPrefixed, maxPartSize, totalLength, null));
|
|
606
|
+
}
|
|
607
|
+
function findBoundary(contentType) {
|
|
608
|
+
_init_properties_Multipart_kt__ato98a();
|
|
609
|
+
var state = 0;
|
|
610
|
+
var paramNameCount = 0;
|
|
611
|
+
var inductionVariable = 0;
|
|
612
|
+
var last = charSequenceLength(contentType) - 1 | 0;
|
|
613
|
+
if (inductionVariable <= last)
|
|
614
|
+
do {
|
|
615
|
+
var i = inductionVariable;
|
|
616
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
617
|
+
var ch = charSequenceGet(contentType, i);
|
|
618
|
+
switch (state) {
|
|
619
|
+
case 0:
|
|
620
|
+
if (ch === _Char___init__impl__6a9atx(59)) {
|
|
621
|
+
state = 1;
|
|
622
|
+
paramNameCount = 0;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
break;
|
|
626
|
+
case 1:
|
|
627
|
+
if (ch === _Char___init__impl__6a9atx(61)) {
|
|
628
|
+
state = 2;
|
|
629
|
+
} else if (ch === _Char___init__impl__6a9atx(59)) {
|
|
630
|
+
paramNameCount = 0;
|
|
631
|
+
} else if (ch === _Char___init__impl__6a9atx(44)) {
|
|
632
|
+
state = 0;
|
|
633
|
+
} else if (ch !== _Char___init__impl__6a9atx(32))
|
|
634
|
+
if (paramNameCount === 0 && startsWith(contentType, 'boundary=', i, true)) {
|
|
635
|
+
return i;
|
|
636
|
+
} else {
|
|
637
|
+
paramNameCount = paramNameCount + 1 | 0;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
break;
|
|
641
|
+
case 2:
|
|
642
|
+
if (ch === _Char___init__impl__6a9atx(34))
|
|
643
|
+
state = 3;
|
|
644
|
+
else if (ch === _Char___init__impl__6a9atx(44))
|
|
645
|
+
state = 0;
|
|
646
|
+
else if (ch === _Char___init__impl__6a9atx(59)) {
|
|
647
|
+
state = 1;
|
|
648
|
+
paramNameCount = 0;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
break;
|
|
652
|
+
case 3:
|
|
653
|
+
if (ch === _Char___init__impl__6a9atx(34)) {
|
|
654
|
+
state = 1;
|
|
655
|
+
paramNameCount = 0;
|
|
656
|
+
} else if (ch === _Char___init__impl__6a9atx(92)) {
|
|
657
|
+
state = 4;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
break;
|
|
661
|
+
case 4:
|
|
662
|
+
state = 3;
|
|
663
|
+
break;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
while (inductionVariable <= last);
|
|
667
|
+
return -1;
|
|
668
|
+
}
|
|
669
|
+
function parsePreambleImpl(boundary, input, output, limit, $completion) {
|
|
670
|
+
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
671
|
+
return readUntil(input, boundary, output, limit, true, $completion);
|
|
672
|
+
}
|
|
673
|
+
function parsePartHeadersImpl(input, $completion) {
|
|
674
|
+
var tmp = new $parsePartHeadersImplCOROUTINE$5(input, $completion);
|
|
675
|
+
tmp.l9_1 = Unit_instance;
|
|
676
|
+
tmp.m9_1 = null;
|
|
677
|
+
return tmp.r9();
|
|
678
|
+
}
|
|
679
|
+
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
680
|
+
var tmp = new $parsePartBodyImplCOROUTINE$6(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
681
|
+
tmp.l9_1 = Unit_instance;
|
|
682
|
+
tmp.m9_1 = null;
|
|
683
|
+
return tmp.r9();
|
|
684
|
+
}
|
|
685
|
+
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
686
|
+
var tmp = new $skipIfFoundReadCountCOROUTINE$7(_this__u8e3s4, prefix, $completion);
|
|
687
|
+
tmp.l9_1 = Unit_instance;
|
|
688
|
+
tmp.m9_1 = null;
|
|
689
|
+
return tmp.r9();
|
|
690
|
+
}
|
|
691
|
+
function throwLimitExceeded(actual, limit) {
|
|
692
|
+
_init_properties_Multipart_kt__ato98a();
|
|
693
|
+
throw IOException_init_$Create$('Multipart content length exceeds limit ' + actual.toString() + ' > ' + limit.toString() + '; ' + "limit is defined using 'formFieldLimit' argument");
|
|
694
|
+
}
|
|
695
|
+
function parseBoundaryInternal$put(position, boundaryBytes, value) {
|
|
696
|
+
if (position._v >= boundaryBytes.length) {
|
|
697
|
+
throw IOException_init_$Create$("Failed to parse multipart: boundary shouldn't be longer than 70 characters");
|
|
698
|
+
}
|
|
699
|
+
var _unary__edvuaz = position._v;
|
|
700
|
+
position._v = _unary__edvuaz + 1 | 0;
|
|
701
|
+
boundaryBytes[_unary__edvuaz] = value;
|
|
702
|
+
}
|
|
703
|
+
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
704
|
+
this.z37_1 = $firstBoundary;
|
|
705
|
+
this.a38_1 = $countedInput;
|
|
706
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
707
|
+
}
|
|
708
|
+
protoOf(parseMultipart$slambda$slambda).c38 = function ($this$writer, $completion) {
|
|
709
|
+
var tmp = this.d38($this$writer, $completion);
|
|
710
|
+
tmp.l9_1 = Unit_instance;
|
|
711
|
+
tmp.m9_1 = null;
|
|
712
|
+
return tmp.r9();
|
|
713
|
+
};
|
|
714
|
+
protoOf(parseMultipart$slambda$slambda).fa = function (p1, $completion) {
|
|
715
|
+
return this.c38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
716
|
+
};
|
|
717
|
+
protoOf(parseMultipart$slambda$slambda).r9 = function () {
|
|
718
|
+
var suspendResult = this.l9_1;
|
|
719
|
+
$sm: do
|
|
720
|
+
try {
|
|
721
|
+
var tmp = this.j9_1;
|
|
722
|
+
switch (tmp) {
|
|
723
|
+
case 0:
|
|
724
|
+
this.k9_1 = 3;
|
|
725
|
+
this.j9_1 = 1;
|
|
726
|
+
suspendResult = parsePreambleImpl(this.z37_1, this.a38_1, this.b38_1.k1w_1, new Long(8193, 0), this);
|
|
727
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
728
|
+
return suspendResult;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
continue $sm;
|
|
732
|
+
case 1:
|
|
733
|
+
this.j9_1 = 2;
|
|
734
|
+
suspendResult = this.b38_1.k1w_1.l1p(this);
|
|
735
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
736
|
+
return suspendResult;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
continue $sm;
|
|
740
|
+
case 2:
|
|
741
|
+
return Unit_instance;
|
|
742
|
+
case 3:
|
|
743
|
+
throw this.m9_1;
|
|
744
|
+
}
|
|
745
|
+
} catch ($p) {
|
|
746
|
+
var e = $p;
|
|
747
|
+
if (this.k9_1 === 3) {
|
|
748
|
+
throw e;
|
|
749
|
+
} else {
|
|
750
|
+
this.j9_1 = this.k9_1;
|
|
751
|
+
this.m9_1 = e;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
while (true);
|
|
755
|
+
};
|
|
756
|
+
protoOf(parseMultipart$slambda$slambda).d38 = function ($this$writer, completion) {
|
|
757
|
+
var i = new parseMultipart$slambda$slambda(this.z37_1, this.a38_1, completion);
|
|
758
|
+
i.b38_1 = $this$writer;
|
|
759
|
+
return i;
|
|
760
|
+
};
|
|
761
|
+
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
762
|
+
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
763
|
+
var l = function ($this$writer, $completion) {
|
|
764
|
+
return i.c38($this$writer, $completion);
|
|
765
|
+
};
|
|
766
|
+
l.$arity = 1;
|
|
767
|
+
return l;
|
|
768
|
+
}
|
|
769
|
+
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
770
|
+
this.m38_1 = $input;
|
|
771
|
+
this.n38_1 = $boundaryPrefixed;
|
|
772
|
+
this.o38_1 = $maxPartSize;
|
|
773
|
+
this.p38_1 = $totalLength;
|
|
774
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
775
|
+
}
|
|
776
|
+
protoOf(parseMultipart$slambda).h39 = function ($this$produce, $completion) {
|
|
777
|
+
var tmp = this.i39($this$produce, $completion);
|
|
778
|
+
tmp.l9_1 = Unit_instance;
|
|
779
|
+
tmp.m9_1 = null;
|
|
780
|
+
return tmp.r9();
|
|
781
|
+
};
|
|
782
|
+
protoOf(parseMultipart$slambda).fa = function (p1, $completion) {
|
|
783
|
+
return this.h39((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
784
|
+
};
|
|
785
|
+
protoOf(parseMultipart$slambda).r9 = function () {
|
|
786
|
+
var suspendResult = this.l9_1;
|
|
787
|
+
$sm: do
|
|
788
|
+
try {
|
|
789
|
+
var tmp = this.j9_1;
|
|
790
|
+
switch (tmp) {
|
|
791
|
+
case 0:
|
|
792
|
+
this.k9_1 = 23;
|
|
793
|
+
this.r38_1 = counted(this.m38_1);
|
|
794
|
+
this.s38_1 = this.r38_1.u1y();
|
|
795
|
+
this.t38_1 = this.n38_1.m1j(get_PrefixString().s());
|
|
796
|
+
this.j9_1 = 1;
|
|
797
|
+
suspendResult = readRemaining(writer(this.q38_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.t38_1, this.r38_1, null)).i1w_1, this);
|
|
798
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
799
|
+
return suspendResult;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
continue $sm;
|
|
803
|
+
case 1:
|
|
804
|
+
this.u38_1 = suspendResult;
|
|
805
|
+
if (get_remaining(this.u38_1).g1(new Long(0, 0)) > 0) {
|
|
806
|
+
this.j9_1 = 2;
|
|
807
|
+
suspendResult = this.q38_1.r18(new Preamble(this.u38_1), this);
|
|
808
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
809
|
+
return suspendResult;
|
|
810
|
+
}
|
|
811
|
+
continue $sm;
|
|
812
|
+
} else {
|
|
813
|
+
this.j9_1 = 3;
|
|
814
|
+
continue $sm;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
case 2:
|
|
818
|
+
this.j9_1 = 3;
|
|
819
|
+
continue $sm;
|
|
820
|
+
case 3:
|
|
821
|
+
this.j9_1 = 4;
|
|
822
|
+
continue $sm;
|
|
823
|
+
case 4:
|
|
824
|
+
if (!this.r38_1.i1p()) {
|
|
825
|
+
this.j9_1 = 5;
|
|
826
|
+
suspendResult = skipIfFound(this.r38_1, get_PrefixString(), this);
|
|
827
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
828
|
+
return suspendResult;
|
|
829
|
+
}
|
|
830
|
+
continue $sm;
|
|
831
|
+
} else {
|
|
832
|
+
this.v38_1 = false;
|
|
833
|
+
this.j9_1 = 6;
|
|
834
|
+
continue $sm;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
case 5:
|
|
838
|
+
this.w38_1 = suspendResult;
|
|
839
|
+
this.v38_1 = !this.w38_1;
|
|
840
|
+
this.j9_1 = 6;
|
|
841
|
+
continue $sm;
|
|
842
|
+
case 6:
|
|
843
|
+
if (!this.v38_1) {
|
|
844
|
+
this.j9_1 = 13;
|
|
845
|
+
continue $sm;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
this.j9_1 = 7;
|
|
849
|
+
suspendResult = skipIfFound(this.r38_1, get_CrLf(), this);
|
|
850
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
|
+
return suspendResult;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
continue $sm;
|
|
855
|
+
case 7:
|
|
856
|
+
this.x38_1 = new ByteChannel();
|
|
857
|
+
this.y38_1 = CompletableDeferred();
|
|
858
|
+
this.z38_1 = new MultipartPart(this.y38_1, this.x38_1);
|
|
859
|
+
this.j9_1 = 8;
|
|
860
|
+
suspendResult = this.q38_1.r18(this.z38_1, this);
|
|
861
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
862
|
+
return suspendResult;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
continue $sm;
|
|
866
|
+
case 8:
|
|
867
|
+
this.a39_1 = null;
|
|
868
|
+
this.k9_1 = 12;
|
|
869
|
+
this.j9_1 = 9;
|
|
870
|
+
suspendResult = parsePartHeadersImpl(this.r38_1, this);
|
|
871
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
872
|
+
return suspendResult;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
continue $sm;
|
|
876
|
+
case 9:
|
|
877
|
+
this.a39_1 = suspendResult;
|
|
878
|
+
if (!this.y38_1.aw(this.a39_1)) {
|
|
879
|
+
this.a39_1.z1g();
|
|
880
|
+
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
this.j9_1 = 10;
|
|
884
|
+
suspendResult = parsePartBodyImpl(this.n38_1, this.r38_1, this.x38_1, this.a39_1, this.o38_1, this);
|
|
885
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
886
|
+
return suspendResult;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
continue $sm;
|
|
890
|
+
case 10:
|
|
891
|
+
this.x38_1.p4();
|
|
892
|
+
this.k9_1 = 23;
|
|
893
|
+
this.j9_1 = 11;
|
|
894
|
+
continue $sm;
|
|
895
|
+
case 11:
|
|
896
|
+
this.k9_1 = 23;
|
|
897
|
+
this.j9_1 = 4;
|
|
898
|
+
continue $sm;
|
|
899
|
+
case 12:
|
|
900
|
+
this.k9_1 = 23;
|
|
901
|
+
var tmp_0 = this.m9_1;
|
|
902
|
+
if (tmp_0 instanceof Error) {
|
|
903
|
+
this.b39_1 = this.m9_1;
|
|
904
|
+
if (this.y38_1.cw(this.b39_1)) {
|
|
905
|
+
var tmp0_safe_receiver = this.a39_1;
|
|
906
|
+
if (tmp0_safe_receiver == null)
|
|
907
|
+
null;
|
|
908
|
+
else {
|
|
909
|
+
tmp0_safe_receiver.z1g();
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
close(this.x38_1, this.b39_1);
|
|
913
|
+
throw this.b39_1;
|
|
914
|
+
} else {
|
|
915
|
+
throw this.m9_1;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
case 13:
|
|
919
|
+
this.j9_1 = 14;
|
|
920
|
+
suspendResult = skipIfFound(this.r38_1, get_CrLf(), this);
|
|
921
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
922
|
+
return suspendResult;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
continue $sm;
|
|
926
|
+
case 14:
|
|
927
|
+
this.j9_1 = 15;
|
|
928
|
+
suspendResult = skipIfFound(this.r38_1, get_CrLf(), this);
|
|
929
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
930
|
+
return suspendResult;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
continue $sm;
|
|
934
|
+
case 15:
|
|
935
|
+
if (!(this.p38_1 == null)) {
|
|
936
|
+
this.c39_1 = this.r38_1.u1y().c3(this.s38_1);
|
|
937
|
+
this.d39_1 = this.p38_1.c3(this.c39_1);
|
|
938
|
+
if (this.d39_1.g1(new Long(2147483647, 0)) > 0)
|
|
939
|
+
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
940
|
+
if (this.d39_1.g1(new Long(0, 0)) > 0) {
|
|
941
|
+
this.j9_1 = 19;
|
|
942
|
+
suspendResult = readPacket(this.r38_1, this.d39_1.l1(), this);
|
|
943
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
944
|
+
return suspendResult;
|
|
945
|
+
}
|
|
946
|
+
continue $sm;
|
|
947
|
+
} else {
|
|
948
|
+
this.j9_1 = 21;
|
|
949
|
+
continue $sm;
|
|
950
|
+
}
|
|
951
|
+
} else {
|
|
952
|
+
this.j9_1 = 16;
|
|
953
|
+
suspendResult = readRemaining(this.r38_1, this);
|
|
954
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
955
|
+
return suspendResult;
|
|
956
|
+
}
|
|
957
|
+
continue $sm;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
case 16:
|
|
961
|
+
this.e39_1 = suspendResult;
|
|
962
|
+
if (!this.e39_1.u1j()) {
|
|
963
|
+
this.j9_1 = 17;
|
|
964
|
+
suspendResult = this.q38_1.r18(new Epilogue(this.e39_1), this);
|
|
965
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
966
|
+
return suspendResult;
|
|
967
|
+
}
|
|
968
|
+
continue $sm;
|
|
969
|
+
} else {
|
|
970
|
+
this.j9_1 = 18;
|
|
971
|
+
continue $sm;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
case 17:
|
|
975
|
+
this.j9_1 = 18;
|
|
976
|
+
continue $sm;
|
|
977
|
+
case 18:
|
|
978
|
+
this.j9_1 = 22;
|
|
979
|
+
continue $sm;
|
|
980
|
+
case 19:
|
|
981
|
+
this.f39_1 = suspendResult;
|
|
982
|
+
this.g39_1 = new Epilogue(this.f39_1);
|
|
983
|
+
this.j9_1 = 20;
|
|
984
|
+
suspendResult = this.q38_1.r18(this.g39_1, this);
|
|
985
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
986
|
+
return suspendResult;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
continue $sm;
|
|
990
|
+
case 20:
|
|
991
|
+
this.j9_1 = 21;
|
|
992
|
+
continue $sm;
|
|
993
|
+
case 21:
|
|
994
|
+
this.j9_1 = 22;
|
|
995
|
+
continue $sm;
|
|
996
|
+
case 22:
|
|
997
|
+
return Unit_instance;
|
|
998
|
+
case 23:
|
|
999
|
+
throw this.m9_1;
|
|
1000
|
+
}
|
|
1001
|
+
} catch ($p) {
|
|
1002
|
+
var e = $p;
|
|
1003
|
+
if (this.k9_1 === 23) {
|
|
1004
|
+
throw e;
|
|
1005
|
+
} else {
|
|
1006
|
+
this.j9_1 = this.k9_1;
|
|
1007
|
+
this.m9_1 = e;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
while (true);
|
|
1011
|
+
};
|
|
1012
|
+
protoOf(parseMultipart$slambda).i39 = function ($this$produce, completion) {
|
|
1013
|
+
var i = new parseMultipart$slambda(this.m38_1, this.n38_1, this.o38_1, this.p38_1, completion);
|
|
1014
|
+
i.q38_1 = $this$produce;
|
|
1015
|
+
return i;
|
|
1016
|
+
};
|
|
1017
|
+
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1018
|
+
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1019
|
+
var l = function ($this$produce, $completion) {
|
|
1020
|
+
return i.h39($this$produce, $completion);
|
|
1021
|
+
};
|
|
1022
|
+
l.$arity = 1;
|
|
1023
|
+
return l;
|
|
1024
|
+
}
|
|
1025
|
+
function $parsePartHeadersImplCOROUTINE$5(input, resultContinuation) {
|
|
1026
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1027
|
+
this.m36_1 = input;
|
|
1028
|
+
}
|
|
1029
|
+
protoOf($parsePartHeadersImplCOROUTINE$5).r9 = function () {
|
|
1030
|
+
var suspendResult = this.l9_1;
|
|
1031
|
+
$sm: do
|
|
1032
|
+
try {
|
|
1033
|
+
var tmp = this.j9_1;
|
|
1034
|
+
switch (tmp) {
|
|
1035
|
+
case 0:
|
|
1036
|
+
this.k9_1 = 3;
|
|
1037
|
+
this.n36_1 = new CharArrayBuilder();
|
|
1038
|
+
this.k9_1 = 2;
|
|
1039
|
+
this.j9_1 = 1;
|
|
1040
|
+
suspendResult = parseHeaders(this.m36_1, this.n36_1, VOID, this);
|
|
1041
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1042
|
+
return suspendResult;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
continue $sm;
|
|
1046
|
+
case 1:
|
|
1047
|
+
var tmp0_elvis_lhs = suspendResult;
|
|
1048
|
+
var tmp_0;
|
|
1049
|
+
if (tmp0_elvis_lhs == null) {
|
|
1050
|
+
throw EOFException_init_$Create$('Failed to parse multipart headers: unexpected end of stream');
|
|
1051
|
+
} else {
|
|
1052
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
return tmp_0;
|
|
1056
|
+
case 2:
|
|
1057
|
+
this.k9_1 = 3;
|
|
1058
|
+
var tmp_1 = this.m9_1;
|
|
1059
|
+
if (tmp_1 instanceof Error) {
|
|
1060
|
+
var t = this.m9_1;
|
|
1061
|
+
this.n36_1.z1g();
|
|
1062
|
+
throw t;
|
|
1063
|
+
} else {
|
|
1064
|
+
throw this.m9_1;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
case 3:
|
|
1068
|
+
throw this.m9_1;
|
|
1069
|
+
}
|
|
1070
|
+
} catch ($p) {
|
|
1071
|
+
var e = $p;
|
|
1072
|
+
if (this.k9_1 === 3) {
|
|
1073
|
+
throw e;
|
|
1074
|
+
} else {
|
|
1075
|
+
this.j9_1 = this.k9_1;
|
|
1076
|
+
this.m9_1 = e;
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
while (true);
|
|
1080
|
+
};
|
|
1081
|
+
function $parsePartBodyImplCOROUTINE$6(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1082
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1083
|
+
this.w36_1 = boundaryPrefixed;
|
|
1084
|
+
this.x36_1 = input;
|
|
1085
|
+
this.y36_1 = output;
|
|
1086
|
+
this.z36_1 = headers;
|
|
1087
|
+
this.a37_1 = limit;
|
|
1088
|
+
}
|
|
1089
|
+
protoOf($parsePartBodyImplCOROUTINE$6).r9 = function () {
|
|
1090
|
+
var suspendResult = this.l9_1;
|
|
1091
|
+
$sm: do
|
|
1092
|
+
try {
|
|
1093
|
+
var tmp = this.j9_1;
|
|
1094
|
+
switch (tmp) {
|
|
1095
|
+
case 0:
|
|
1096
|
+
this.k9_1 = 6;
|
|
1097
|
+
var tmp_0 = this;
|
|
1098
|
+
var tmp0_safe_receiver = this.z36_1.o2m('Content-Length');
|
|
1099
|
+
tmp_0.b37_1 = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1100
|
+
if (this.b37_1 == null) {
|
|
1101
|
+
this.j9_1 = 3;
|
|
1102
|
+
suspendResult = readUntil(this.x36_1, this.w36_1, this.y36_1, this.a37_1, true, this);
|
|
1103
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1104
|
+
return suspendResult;
|
|
1105
|
+
}
|
|
1106
|
+
continue $sm;
|
|
1107
|
+
} else {
|
|
1108
|
+
if ((new Long(0, 0)).k3(this.a37_1).ij(this.b37_1)) {
|
|
1109
|
+
this.j9_1 = 1;
|
|
1110
|
+
suspendResult = copyTo(this.x36_1, this.y36_1, this.b37_1, this);
|
|
1111
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1112
|
+
return suspendResult;
|
|
1113
|
+
}
|
|
1114
|
+
continue $sm;
|
|
1115
|
+
} else {
|
|
1116
|
+
var tmp_1 = this;
|
|
1117
|
+
throwLimitExceeded(this.b37_1, this.a37_1);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
break;
|
|
1122
|
+
case 1:
|
|
1123
|
+
this.d37_1 = suspendResult;
|
|
1124
|
+
this.j9_1 = 2;
|
|
1125
|
+
suspendResult = skipIfFoundReadCount(this.x36_1, this.w36_1, this);
|
|
1126
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1127
|
+
return suspendResult;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
continue $sm;
|
|
1131
|
+
case 2:
|
|
1132
|
+
this.e37_1 = suspendResult;
|
|
1133
|
+
this.c37_1 = this.d37_1.b3(this.e37_1);
|
|
1134
|
+
this.j9_1 = 4;
|
|
1135
|
+
continue $sm;
|
|
1136
|
+
case 3:
|
|
1137
|
+
this.c37_1 = suspendResult;
|
|
1138
|
+
this.j9_1 = 4;
|
|
1139
|
+
continue $sm;
|
|
1140
|
+
case 4:
|
|
1141
|
+
this.f37_1 = this.c37_1;
|
|
1142
|
+
this.j9_1 = 5;
|
|
1143
|
+
suspendResult = this.y36_1.a1p(this);
|
|
1144
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1145
|
+
return suspendResult;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
continue $sm;
|
|
1149
|
+
case 5:
|
|
1150
|
+
return this.f37_1;
|
|
1151
|
+
case 6:
|
|
1152
|
+
throw this.m9_1;
|
|
1153
|
+
}
|
|
1154
|
+
} catch ($p) {
|
|
1155
|
+
var e = $p;
|
|
1156
|
+
if (this.k9_1 === 6) {
|
|
1157
|
+
throw e;
|
|
1158
|
+
} else {
|
|
1159
|
+
this.j9_1 = this.k9_1;
|
|
1160
|
+
this.m9_1 = e;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
while (true);
|
|
1164
|
+
};
|
|
1165
|
+
function $skipIfFoundReadCountCOROUTINE$7(_this__u8e3s4, prefix, resultContinuation) {
|
|
1166
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1167
|
+
this.o37_1 = _this__u8e3s4;
|
|
1168
|
+
this.p37_1 = prefix;
|
|
1169
|
+
}
|
|
1170
|
+
protoOf($skipIfFoundReadCountCOROUTINE$7).r9 = function () {
|
|
1171
|
+
var suspendResult = this.l9_1;
|
|
1172
|
+
$sm: do
|
|
1173
|
+
try {
|
|
1174
|
+
var tmp = this.j9_1;
|
|
1175
|
+
switch (tmp) {
|
|
1176
|
+
case 0:
|
|
1177
|
+
this.k9_1 = 3;
|
|
1178
|
+
this.j9_1 = 1;
|
|
1179
|
+
suspendResult = skipIfFound(this.o37_1, this.p37_1, this);
|
|
1180
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1181
|
+
return suspendResult;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
continue $sm;
|
|
1185
|
+
case 1:
|
|
1186
|
+
if (suspendResult) {
|
|
1187
|
+
var tmp_0 = this;
|
|
1188
|
+
tmp_0.q37_1 = toLong(this.p37_1.s());
|
|
1189
|
+
this.j9_1 = 2;
|
|
1190
|
+
continue $sm;
|
|
1191
|
+
} else {
|
|
1192
|
+
var tmp_1 = this;
|
|
1193
|
+
tmp_1.q37_1 = new Long(0, 0);
|
|
1194
|
+
this.j9_1 = 2;
|
|
1195
|
+
continue $sm;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
case 2:
|
|
1199
|
+
return this.q37_1;
|
|
1200
|
+
case 3:
|
|
1201
|
+
throw this.m9_1;
|
|
1202
|
+
}
|
|
1203
|
+
} catch ($p) {
|
|
1204
|
+
var e = $p;
|
|
1205
|
+
if (this.k9_1 === 3) {
|
|
1206
|
+
throw e;
|
|
1207
|
+
} else {
|
|
1208
|
+
this.j9_1 = this.k9_1;
|
|
1209
|
+
this.m9_1 = e;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
while (true);
|
|
1213
|
+
};
|
|
1214
|
+
var properties_initialized_Multipart_kt_wu0sh0;
|
|
1215
|
+
function _init_properties_Multipart_kt__ato98a() {
|
|
1216
|
+
if (!properties_initialized_Multipart_kt_wu0sh0) {
|
|
1217
|
+
properties_initialized_Multipart_kt_wu0sh0 = true;
|
|
1218
|
+
CrLf = ByteString_init_$Create$(toByteArray_0('\r\n'));
|
|
1219
|
+
PrefixString = ByteString(new Int8Array([45, 45]));
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
function build($this, resultList, from, maxLength, idx, length, charAt) {
|
|
1223
|
+
// Inline function 'kotlin.collections.groupBy' call
|
|
1224
|
+
// Inline function 'kotlin.collections.groupByTo' call
|
|
1225
|
+
var destination = LinkedHashMap_init_$Create$();
|
|
1226
|
+
var _iterator__ex2g4s = from.p();
|
|
1227
|
+
while (_iterator__ex2g4s.q()) {
|
|
1228
|
+
var element = _iterator__ex2g4s.r();
|
|
1229
|
+
var key = charAt(element, idx);
|
|
1230
|
+
// Inline function 'kotlin.collections.getOrPut' call
|
|
1231
|
+
var value = destination.o2(key);
|
|
1232
|
+
var tmp;
|
|
1233
|
+
if (value == null) {
|
|
1234
|
+
var answer = ArrayList_init_$Create$();
|
|
1235
|
+
destination.r2(key, answer);
|
|
1236
|
+
tmp = answer;
|
|
1237
|
+
} else {
|
|
1238
|
+
tmp = value;
|
|
1239
|
+
}
|
|
1240
|
+
var list = tmp;
|
|
1241
|
+
list.k(element);
|
|
1242
|
+
}
|
|
1243
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
1244
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
1245
|
+
var _iterator__ex2g4s_0 = destination.z().p();
|
|
1246
|
+
while (_iterator__ex2g4s_0.q()) {
|
|
1247
|
+
var element_0 = _iterator__ex2g4s_0.r();
|
|
1248
|
+
// Inline function 'kotlin.collections.component1' call
|
|
1249
|
+
var ch = element_0.a1().t1_1;
|
|
1250
|
+
// Inline function 'kotlin.collections.component2' call
|
|
1251
|
+
var list_0 = element_0.b1();
|
|
1252
|
+
var nextIdx = idx + 1 | 0;
|
|
1253
|
+
var children = ArrayList_init_$Create$();
|
|
1254
|
+
var tmp_0 = Companion_instance;
|
|
1255
|
+
// Inline function 'kotlin.collections.filter' call
|
|
1256
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
1257
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
1258
|
+
var _iterator__ex2g4s_1 = list_0.p();
|
|
1259
|
+
while (_iterator__ex2g4s_1.q()) {
|
|
1260
|
+
var element_1 = _iterator__ex2g4s_1.r();
|
|
1261
|
+
if (length(element_1) > nextIdx) {
|
|
1262
|
+
destination_0.k(element_1);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1266
|
+
children.z5();
|
|
1267
|
+
// Inline function 'kotlin.collections.filter' call
|
|
1268
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
1269
|
+
var destination_1 = ArrayList_init_$Create$();
|
|
1270
|
+
var _iterator__ex2g4s_2 = list_0.p();
|
|
1271
|
+
while (_iterator__ex2g4s_2.q()) {
|
|
1272
|
+
var element_2 = _iterator__ex2g4s_2.r();
|
|
1273
|
+
if (length(element_2) === nextIdx) {
|
|
1274
|
+
destination_1.k(element_2);
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
resultList.k(new Node(ch, destination_1, children));
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
function AsciiCharTree$Companion$build$lambda(it) {
|
|
1281
|
+
return charSequenceLength(it);
|
|
1282
|
+
}
|
|
1283
|
+
function AsciiCharTree$Companion$build$lambda_0(s, idx) {
|
|
1284
|
+
return new Char(charSequenceGet(s, idx));
|
|
1285
|
+
}
|
|
1286
|
+
function Node(ch, exact, children) {
|
|
1287
|
+
this.j39_1 = ch;
|
|
1288
|
+
this.k39_1 = exact;
|
|
1289
|
+
this.l39_1 = children;
|
|
1290
|
+
var tmp = this;
|
|
1291
|
+
var tmp_0 = 0;
|
|
1292
|
+
// Inline function 'kotlin.arrayOfNulls' call
|
|
1293
|
+
var tmp_1 = Array(256);
|
|
1294
|
+
while (tmp_0 < 256) {
|
|
1295
|
+
var tmp_2 = tmp_0;
|
|
1296
|
+
var tmp1 = this.l39_1;
|
|
1297
|
+
var tmp$ret$3;
|
|
1298
|
+
$l$block_0: {
|
|
1299
|
+
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1300
|
+
var single = null;
|
|
1301
|
+
var found = false;
|
|
1302
|
+
var _iterator__ex2g4s = tmp1.p();
|
|
1303
|
+
while (_iterator__ex2g4s.q()) {
|
|
1304
|
+
var element = _iterator__ex2g4s.r();
|
|
1305
|
+
// Inline function 'kotlin.code' call
|
|
1306
|
+
var this_0 = element.j39_1;
|
|
1307
|
+
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1308
|
+
if (found) {
|
|
1309
|
+
tmp$ret$3 = null;
|
|
1310
|
+
break $l$block_0;
|
|
1311
|
+
}
|
|
1312
|
+
single = element;
|
|
1313
|
+
found = true;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
if (!found) {
|
|
1317
|
+
tmp$ret$3 = null;
|
|
1318
|
+
break $l$block_0;
|
|
1319
|
+
}
|
|
1320
|
+
tmp$ret$3 = single;
|
|
1321
|
+
}
|
|
1322
|
+
tmp_1[tmp_2] = tmp$ret$3;
|
|
1323
|
+
tmp_0 = tmp_0 + 1 | 0;
|
|
1324
|
+
}
|
|
1325
|
+
tmp.m39_1 = tmp_1;
|
|
1326
|
+
}
|
|
1327
|
+
function Companion() {
|
|
1328
|
+
}
|
|
1329
|
+
protoOf(Companion).z35 = function (from) {
|
|
1330
|
+
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1331
|
+
return this.n39(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1332
|
+
};
|
|
1333
|
+
protoOf(Companion).n39 = function (from, length, charAt) {
|
|
1334
|
+
var tmp$ret$0;
|
|
1335
|
+
$l$block_0: {
|
|
1336
|
+
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
1337
|
+
var iterator = from.p();
|
|
1338
|
+
if (!iterator.q()) {
|
|
1339
|
+
tmp$ret$0 = null;
|
|
1340
|
+
break $l$block_0;
|
|
1341
|
+
}
|
|
1342
|
+
var maxElem = iterator.r();
|
|
1343
|
+
if (!iterator.q()) {
|
|
1344
|
+
tmp$ret$0 = maxElem;
|
|
1345
|
+
break $l$block_0;
|
|
1346
|
+
}
|
|
1347
|
+
var maxValue = length(maxElem);
|
|
1348
|
+
do {
|
|
1349
|
+
var e = iterator.r();
|
|
1350
|
+
var v = length(e);
|
|
1351
|
+
if (compareTo(maxValue, v) < 0) {
|
|
1352
|
+
maxElem = e;
|
|
1353
|
+
maxValue = v;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
while (iterator.q());
|
|
1357
|
+
tmp$ret$0 = maxElem;
|
|
1358
|
+
}
|
|
1359
|
+
var tmp0_safe_receiver = tmp$ret$0;
|
|
1360
|
+
var tmp;
|
|
1361
|
+
if (tmp0_safe_receiver == null) {
|
|
1362
|
+
tmp = null;
|
|
1363
|
+
} else {
|
|
1364
|
+
// Inline function 'kotlin.let' call
|
|
1365
|
+
tmp = length(tmp0_safe_receiver);
|
|
1366
|
+
}
|
|
1367
|
+
var tmp1_elvis_lhs = tmp;
|
|
1368
|
+
var tmp_0;
|
|
1369
|
+
if (tmp1_elvis_lhs == null) {
|
|
1370
|
+
throw NoSuchElementException_init_$Create$('Unable to build char tree from an empty list');
|
|
1371
|
+
} else {
|
|
1372
|
+
tmp_0 = tmp1_elvis_lhs;
|
|
1373
|
+
}
|
|
1374
|
+
var maxLen = tmp_0;
|
|
1375
|
+
var tmp$ret$2;
|
|
1376
|
+
$l$block_2: {
|
|
1377
|
+
// Inline function 'kotlin.collections.any' call
|
|
1378
|
+
var tmp_1;
|
|
1379
|
+
if (isInterface(from, Collection)) {
|
|
1380
|
+
tmp_1 = from.h();
|
|
1381
|
+
} else {
|
|
1382
|
+
tmp_1 = false;
|
|
1383
|
+
}
|
|
1384
|
+
if (tmp_1) {
|
|
1385
|
+
tmp$ret$2 = false;
|
|
1386
|
+
break $l$block_2;
|
|
1387
|
+
}
|
|
1388
|
+
var _iterator__ex2g4s = from.p();
|
|
1389
|
+
while (_iterator__ex2g4s.q()) {
|
|
1390
|
+
var element = _iterator__ex2g4s.r();
|
|
1391
|
+
if (length(element) === 0) {
|
|
1392
|
+
tmp$ret$2 = true;
|
|
1393
|
+
break $l$block_2;
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
tmp$ret$2 = false;
|
|
1397
|
+
}
|
|
1398
|
+
if (tmp$ret$2)
|
|
1399
|
+
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1400
|
+
var root = ArrayList_init_$Create$();
|
|
1401
|
+
build(this, root, from, maxLen, 0, length, charAt);
|
|
1402
|
+
root.z5();
|
|
1403
|
+
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1404
|
+
};
|
|
1405
|
+
var Companion_instance;
|
|
1406
|
+
function Companion_getInstance_1() {
|
|
1407
|
+
return Companion_instance;
|
|
1408
|
+
}
|
|
1409
|
+
function AsciiCharTree(root) {
|
|
1410
|
+
this.o39_1 = root;
|
|
1411
|
+
}
|
|
1412
|
+
function getImpl($this, index) {
|
|
1413
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.b35_1).length | 0];
|
|
1414
|
+
}
|
|
1415
|
+
function copy($this, startIndex, endIndex) {
|
|
1416
|
+
if (startIndex === endIndex)
|
|
1417
|
+
return '';
|
|
1418
|
+
var builder = StringBuilder_init_$Create$_0(endIndex - startIndex | 0);
|
|
1419
|
+
var buffer;
|
|
1420
|
+
var base = startIndex - (startIndex % 2048 | 0) | 0;
|
|
1421
|
+
while (base < endIndex) {
|
|
1422
|
+
buffer = bufferForIndex($this, base);
|
|
1423
|
+
// Inline function 'kotlin.comparisons.maxOf' call
|
|
1424
|
+
var b = startIndex - base | 0;
|
|
1425
|
+
var innerStartIndex = Math.max(0, b);
|
|
1426
|
+
// Inline function 'kotlin.comparisons.minOf' call
|
|
1427
|
+
var a = endIndex - base | 0;
|
|
1428
|
+
var innerEndIndex = Math.min(a, 2048);
|
|
1429
|
+
var inductionVariable = innerStartIndex;
|
|
1430
|
+
if (inductionVariable < innerEndIndex)
|
|
1431
|
+
do {
|
|
1432
|
+
var innerIndex = inductionVariable;
|
|
1433
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1434
|
+
builder.r8(buffer[innerIndex]);
|
|
1435
|
+
}
|
|
1436
|
+
while (inductionVariable < innerEndIndex);
|
|
1437
|
+
base = base + 2048 | 0;
|
|
1438
|
+
}
|
|
1439
|
+
return builder;
|
|
1440
|
+
}
|
|
1441
|
+
function SubSequenceImpl($outer, start, end) {
|
|
1442
|
+
this.s39_1 = $outer;
|
|
1443
|
+
this.p39_1 = start;
|
|
1444
|
+
this.q39_1 = end;
|
|
1445
|
+
this.r39_1 = null;
|
|
1446
|
+
}
|
|
1447
|
+
protoOf(SubSequenceImpl).a = function () {
|
|
1448
|
+
return this.q39_1 - this.p39_1 | 0;
|
|
1449
|
+
};
|
|
1450
|
+
protoOf(SubSequenceImpl).b = function (index) {
|
|
1451
|
+
var withOffset = index + this.p39_1 | 0;
|
|
1452
|
+
// Inline function 'kotlin.require' call
|
|
1453
|
+
if (!(index >= 0)) {
|
|
1454
|
+
var message = 'index is negative: ' + index;
|
|
1455
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1456
|
+
}
|
|
1457
|
+
// Inline function 'kotlin.require' call
|
|
1458
|
+
if (!(withOffset < this.q39_1)) {
|
|
1459
|
+
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1460
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1461
|
+
}
|
|
1462
|
+
return getImpl(this.s39_1, withOffset);
|
|
1463
|
+
};
|
|
1464
|
+
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1465
|
+
// Inline function 'kotlin.require' call
|
|
1466
|
+
if (!(startIndex >= 0)) {
|
|
1467
|
+
var message = 'start is negative: ' + startIndex;
|
|
1468
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1469
|
+
}
|
|
1470
|
+
// Inline function 'kotlin.require' call
|
|
1471
|
+
if (!(startIndex <= endIndex)) {
|
|
1472
|
+
var message_0 = 'start (' + startIndex + ') should be less or equal to end (' + endIndex + ')';
|
|
1473
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1474
|
+
}
|
|
1475
|
+
// Inline function 'kotlin.require' call
|
|
1476
|
+
if (!(endIndex <= (this.q39_1 - this.p39_1 | 0))) {
|
|
1477
|
+
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1478
|
+
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1479
|
+
}
|
|
1480
|
+
if (startIndex === endIndex)
|
|
1481
|
+
return '';
|
|
1482
|
+
return new SubSequenceImpl(this.s39_1, this.p39_1 + startIndex | 0, this.p39_1 + endIndex | 0);
|
|
1483
|
+
};
|
|
1484
|
+
protoOf(SubSequenceImpl).toString = function () {
|
|
1485
|
+
var tmp0_elvis_lhs = this.r39_1;
|
|
1486
|
+
var tmp;
|
|
1487
|
+
if (tmp0_elvis_lhs == null) {
|
|
1488
|
+
// Inline function 'kotlin.also' call
|
|
1489
|
+
var this_0 = toString(copy(this.s39_1, this.p39_1, this.q39_1));
|
|
1490
|
+
this.r39_1 = this_0;
|
|
1491
|
+
tmp = this_0;
|
|
1492
|
+
} else {
|
|
1493
|
+
tmp = tmp0_elvis_lhs;
|
|
1494
|
+
}
|
|
1495
|
+
return tmp;
|
|
1496
|
+
};
|
|
1497
|
+
protoOf(SubSequenceImpl).equals = function (other) {
|
|
1498
|
+
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1499
|
+
return false;
|
|
1500
|
+
if (!(charSequenceLength(other) === this.a()))
|
|
1501
|
+
return false;
|
|
1502
|
+
return rangeEqualsImpl(this.s39_1, this.p39_1, other, 0, this.a());
|
|
1503
|
+
};
|
|
1504
|
+
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1505
|
+
var tmp0_safe_receiver = this.r39_1;
|
|
1506
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1507
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.s39_1, this.p39_1, this.q39_1) : tmp1_elvis_lhs;
|
|
1508
|
+
};
|
|
1509
|
+
function bufferForIndex($this, index) {
|
|
1510
|
+
var list = $this.a35_1;
|
|
1511
|
+
if (list == null) {
|
|
1512
|
+
if (index >= 2048) {
|
|
1513
|
+
throwSingleBuffer($this, index);
|
|
1514
|
+
}
|
|
1515
|
+
var tmp0_elvis_lhs = $this.b35_1;
|
|
1516
|
+
var tmp;
|
|
1517
|
+
if (tmp0_elvis_lhs == null) {
|
|
1518
|
+
throwSingleBuffer($this, index);
|
|
1519
|
+
} else {
|
|
1520
|
+
tmp = tmp0_elvis_lhs;
|
|
1521
|
+
}
|
|
1522
|
+
return tmp;
|
|
1523
|
+
}
|
|
1524
|
+
return list.u(index / ensureNotNull($this.b35_1).length | 0);
|
|
1525
|
+
}
|
|
1526
|
+
function throwSingleBuffer($this, index) {
|
|
1527
|
+
if ($this.d35_1)
|
|
1528
|
+
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1529
|
+
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1530
|
+
}
|
|
1531
|
+
function nonFullBuffer($this) {
|
|
1532
|
+
return $this.e35_1 === 0 ? appendNewArray($this) : ensureNotNull($this.b35_1);
|
|
1533
|
+
}
|
|
1534
|
+
function appendNewArray($this) {
|
|
1535
|
+
var newBuffer = $this.z34_1.n1z();
|
|
1536
|
+
var existing = $this.b35_1;
|
|
1537
|
+
$this.b35_1 = newBuffer;
|
|
1538
|
+
$this.e35_1 = newBuffer.length;
|
|
1539
|
+
$this.d35_1 = false;
|
|
1540
|
+
if (!(existing == null)) {
|
|
1541
|
+
var tmp0_elvis_lhs = $this.a35_1;
|
|
1542
|
+
var tmp;
|
|
1543
|
+
if (tmp0_elvis_lhs == null) {
|
|
1544
|
+
// Inline function 'kotlin.also' call
|
|
1545
|
+
var this_0 = ArrayList_init_$Create$();
|
|
1546
|
+
$this.a35_1 = this_0;
|
|
1547
|
+
this_0.k(existing);
|
|
1548
|
+
tmp = this_0;
|
|
1549
|
+
} else {
|
|
1550
|
+
tmp = tmp0_elvis_lhs;
|
|
1551
|
+
}
|
|
1552
|
+
var list = tmp;
|
|
1553
|
+
list.k(newBuffer);
|
|
1554
|
+
}
|
|
1555
|
+
return newBuffer;
|
|
1556
|
+
}
|
|
1557
|
+
function rangeEqualsImpl($this, start, other, otherStart, length) {
|
|
1558
|
+
var inductionVariable = 0;
|
|
1559
|
+
if (inductionVariable < length)
|
|
1560
|
+
do {
|
|
1561
|
+
var i = inductionVariable;
|
|
1562
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1563
|
+
if (!(getImpl($this, start + i | 0) === charSequenceGet(other, otherStart + i | 0)))
|
|
1564
|
+
return false;
|
|
1565
|
+
}
|
|
1566
|
+
while (inductionVariable < length);
|
|
1567
|
+
return true;
|
|
1568
|
+
}
|
|
1569
|
+
function hashCodeImpl($this, start, end) {
|
|
1570
|
+
var hc = 0;
|
|
1571
|
+
var inductionVariable = start;
|
|
1572
|
+
if (inductionVariable < end)
|
|
1573
|
+
do {
|
|
1574
|
+
var i = inductionVariable;
|
|
1575
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1576
|
+
var tmp = imul(31, hc);
|
|
1577
|
+
// Inline function 'kotlin.code' call
|
|
1578
|
+
var this_0 = getImpl($this, i);
|
|
1579
|
+
hc = tmp + Char__toInt_impl_vasixd(this_0) | 0;
|
|
1580
|
+
}
|
|
1581
|
+
while (inductionVariable < end);
|
|
1582
|
+
return hc;
|
|
1583
|
+
}
|
|
1584
|
+
function currentPosition($this) {
|
|
1585
|
+
return ensureNotNull($this.b35_1).length - $this.e35_1 | 0;
|
|
1586
|
+
}
|
|
1587
|
+
function CharArrayBuilder(pool) {
|
|
1588
|
+
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1589
|
+
this.z34_1 = pool;
|
|
1590
|
+
this.a35_1 = null;
|
|
1591
|
+
this.b35_1 = null;
|
|
1592
|
+
this.c35_1 = null;
|
|
1593
|
+
this.d35_1 = false;
|
|
1594
|
+
this.e35_1 = 0;
|
|
1595
|
+
this.f35_1 = 0;
|
|
1596
|
+
}
|
|
1597
|
+
protoOf(CharArrayBuilder).a = function () {
|
|
1598
|
+
return this.f35_1;
|
|
1599
|
+
};
|
|
1600
|
+
protoOf(CharArrayBuilder).b = function (index) {
|
|
1601
|
+
// Inline function 'kotlin.require' call
|
|
1602
|
+
if (!(index >= 0)) {
|
|
1603
|
+
var message = 'index is negative: ' + index;
|
|
1604
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1605
|
+
}
|
|
1606
|
+
// Inline function 'kotlin.require' call
|
|
1607
|
+
if (!(index < this.f35_1)) {
|
|
1608
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.f35_1 + ')';
|
|
1609
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1610
|
+
}
|
|
1611
|
+
return getImpl(this, index);
|
|
1612
|
+
};
|
|
1613
|
+
protoOf(CharArrayBuilder).c = function (startIndex, endIndex) {
|
|
1614
|
+
// Inline function 'kotlin.require' call
|
|
1615
|
+
if (!(startIndex <= endIndex)) {
|
|
1616
|
+
var message = 'startIndex (' + startIndex + ') should be less or equal to endIndex (' + endIndex + ')';
|
|
1617
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1618
|
+
}
|
|
1619
|
+
// Inline function 'kotlin.require' call
|
|
1620
|
+
if (!(startIndex >= 0)) {
|
|
1621
|
+
var message_0 = 'startIndex is negative: ' + startIndex;
|
|
1622
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1623
|
+
}
|
|
1624
|
+
// Inline function 'kotlin.require' call
|
|
1625
|
+
if (!(endIndex <= this.f35_1)) {
|
|
1626
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.f35_1 + ')';
|
|
1627
|
+
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1628
|
+
}
|
|
1629
|
+
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1630
|
+
};
|
|
1631
|
+
protoOf(CharArrayBuilder).toString = function () {
|
|
1632
|
+
var tmp0_elvis_lhs = this.c35_1;
|
|
1633
|
+
var tmp;
|
|
1634
|
+
if (tmp0_elvis_lhs == null) {
|
|
1635
|
+
// Inline function 'kotlin.also' call
|
|
1636
|
+
var this_0 = toString(copy(this, 0, this.f35_1));
|
|
1637
|
+
this.c35_1 = this_0;
|
|
1638
|
+
tmp = this_0;
|
|
1639
|
+
} else {
|
|
1640
|
+
tmp = tmp0_elvis_lhs;
|
|
1641
|
+
}
|
|
1642
|
+
return tmp;
|
|
1643
|
+
};
|
|
1644
|
+
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1645
|
+
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1646
|
+
return false;
|
|
1647
|
+
if (!(this.f35_1 === charSequenceLength(other)))
|
|
1648
|
+
return false;
|
|
1649
|
+
return rangeEqualsImpl(this, 0, other, 0, this.f35_1);
|
|
1650
|
+
};
|
|
1651
|
+
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1652
|
+
var tmp0_safe_receiver = this.c35_1;
|
|
1653
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1654
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.f35_1) : tmp1_elvis_lhs;
|
|
1655
|
+
};
|
|
1656
|
+
protoOf(CharArrayBuilder).r8 = function (value) {
|
|
1657
|
+
nonFullBuffer(this)[ensureNotNull(this.b35_1).length - this.e35_1 | 0] = value;
|
|
1658
|
+
this.c35_1 = null;
|
|
1659
|
+
this.e35_1 = this.e35_1 - 1 | 0;
|
|
1660
|
+
this.f35_1 = this.f35_1 + 1 | 0;
|
|
1661
|
+
return this;
|
|
1662
|
+
};
|
|
1663
|
+
protoOf(CharArrayBuilder).hd = function (value, startIndex, endIndex) {
|
|
1664
|
+
if (value == null)
|
|
1665
|
+
return this;
|
|
1666
|
+
var current = startIndex;
|
|
1667
|
+
while (current < endIndex) {
|
|
1668
|
+
var buffer = nonFullBuffer(this);
|
|
1669
|
+
var offset = buffer.length - this.e35_1 | 0;
|
|
1670
|
+
var tmp0 = endIndex - current | 0;
|
|
1671
|
+
// Inline function 'kotlin.math.min' call
|
|
1672
|
+
var b = this.e35_1;
|
|
1673
|
+
var bytesToCopy = Math.min(tmp0, b);
|
|
1674
|
+
var inductionVariable = 0;
|
|
1675
|
+
if (inductionVariable < bytesToCopy)
|
|
1676
|
+
do {
|
|
1677
|
+
var i = inductionVariable;
|
|
1678
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1679
|
+
buffer[offset + i | 0] = charSequenceGet(value, current + i | 0);
|
|
1680
|
+
}
|
|
1681
|
+
while (inductionVariable < bytesToCopy);
|
|
1682
|
+
current = current + bytesToCopy | 0;
|
|
1683
|
+
this.e35_1 = this.e35_1 - bytesToCopy | 0;
|
|
1684
|
+
}
|
|
1685
|
+
this.c35_1 = null;
|
|
1686
|
+
this.f35_1 = this.f35_1 + (endIndex - startIndex | 0) | 0;
|
|
1687
|
+
return this;
|
|
1688
|
+
};
|
|
1689
|
+
protoOf(CharArrayBuilder).o = function (value) {
|
|
1690
|
+
if (value == null)
|
|
1691
|
+
return this;
|
|
1692
|
+
return this.hd(value, 0, charSequenceLength(value));
|
|
1693
|
+
};
|
|
1694
|
+
protoOf(CharArrayBuilder).z1g = function () {
|
|
1695
|
+
var list = this.a35_1;
|
|
1696
|
+
if (!(list == null)) {
|
|
1697
|
+
this.b35_1 = null;
|
|
1698
|
+
var inductionVariable = 0;
|
|
1699
|
+
var last = list.s();
|
|
1700
|
+
if (inductionVariable < last)
|
|
1701
|
+
do {
|
|
1702
|
+
var i = inductionVariable;
|
|
1703
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1704
|
+
this.z34_1.o1z(list.u(i));
|
|
1705
|
+
}
|
|
1706
|
+
while (inductionVariable < last);
|
|
1707
|
+
} else {
|
|
1708
|
+
var tmp0_safe_receiver = this.b35_1;
|
|
1709
|
+
if (tmp0_safe_receiver == null)
|
|
1710
|
+
null;
|
|
1711
|
+
else {
|
|
1712
|
+
// Inline function 'kotlin.let' call
|
|
1713
|
+
this.z34_1.o1z(tmp0_safe_receiver);
|
|
1714
|
+
}
|
|
1715
|
+
this.b35_1 = null;
|
|
1716
|
+
}
|
|
1717
|
+
this.d35_1 = true;
|
|
1718
|
+
this.a35_1 = null;
|
|
1719
|
+
this.c35_1 = null;
|
|
1720
|
+
this.f35_1 = 0;
|
|
1721
|
+
this.e35_1 = 0;
|
|
1722
|
+
};
|
|
1723
|
+
function get_CharArrayPool() {
|
|
1724
|
+
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
1725
|
+
return CharArrayPool;
|
|
1726
|
+
}
|
|
1727
|
+
var CharArrayPool;
|
|
1728
|
+
function CharArrayPool$1() {
|
|
1729
|
+
NoPoolImpl.call(this);
|
|
1730
|
+
}
|
|
1731
|
+
protoOf(CharArrayPool$1).n1z = function () {
|
|
1732
|
+
return charArray(2048);
|
|
1733
|
+
};
|
|
1734
|
+
function CharArrayPool$2() {
|
|
1735
|
+
DefaultPool.call(this, 4096);
|
|
1736
|
+
}
|
|
1737
|
+
protoOf(CharArrayPool$2).g1z = function () {
|
|
1738
|
+
return charArray(2048);
|
|
1739
|
+
};
|
|
1740
|
+
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
1741
|
+
function _init_properties_CharArrayPool_kt__u4nq0d() {
|
|
1742
|
+
if (!properties_initialized_CharArrayPool_kt_aq0u0f) {
|
|
1743
|
+
properties_initialized_CharArrayPool_kt_aq0u0f = true;
|
|
1744
|
+
var tmp;
|
|
1745
|
+
if (isPoolingDisabled()) {
|
|
1746
|
+
tmp = new CharArrayPool$1();
|
|
1747
|
+
} else {
|
|
1748
|
+
tmp = new CharArrayPool$2();
|
|
1749
|
+
}
|
|
1750
|
+
CharArrayPool = tmp;
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
var DefaultHttpMethods;
|
|
1754
|
+
var HexTable;
|
|
1755
|
+
var HexLetterTable;
|
|
1756
|
+
function parseDecLong(_this__u8e3s4) {
|
|
1757
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1758
|
+
var length = charSequenceLength(_this__u8e3s4);
|
|
1759
|
+
if (length > 19) {
|
|
1760
|
+
numberFormatException(_this__u8e3s4);
|
|
1761
|
+
}
|
|
1762
|
+
if (length === 19)
|
|
1763
|
+
return parseDecLongWithCheck(_this__u8e3s4);
|
|
1764
|
+
var result = new Long(0, 0);
|
|
1765
|
+
var inductionVariable = 0;
|
|
1766
|
+
if (inductionVariable < length)
|
|
1767
|
+
do {
|
|
1768
|
+
var i = inductionVariable;
|
|
1769
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1770
|
+
// Inline function 'kotlin.code' call
|
|
1771
|
+
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
1772
|
+
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
1773
|
+
var digit = toLong(tmp$ret$0).c3(new Long(48, 0));
|
|
1774
|
+
if (digit.g1(new Long(0, 0)) < 0 || digit.g1(new Long(9, 0)) > 0) {
|
|
1775
|
+
numberFormatException_0(_this__u8e3s4, i);
|
|
1776
|
+
}
|
|
1777
|
+
result = result.l3(3).b3(result.l3(1)).b3(digit);
|
|
1778
|
+
}
|
|
1779
|
+
while (inductionVariable < length);
|
|
1780
|
+
return result;
|
|
1781
|
+
}
|
|
1782
|
+
function hashCodeLowerCase(_this__u8e3s4, start, end) {
|
|
1783
|
+
start = start === VOID ? 0 : start;
|
|
1784
|
+
end = end === VOID ? charSequenceLength(_this__u8e3s4) : end;
|
|
1785
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1786
|
+
var hashCode = 0;
|
|
1787
|
+
var inductionVariable = start;
|
|
1788
|
+
if (inductionVariable < end)
|
|
1789
|
+
do {
|
|
1790
|
+
var pos = inductionVariable;
|
|
1791
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1792
|
+
// Inline function 'kotlin.code' call
|
|
1793
|
+
var this_0 = charSequenceGet(_this__u8e3s4, pos);
|
|
1794
|
+
// Inline function 'io.ktor.http.cio.internals.toLowerCase' call
|
|
1795
|
+
var this_1 = Char__toInt_impl_vasixd(this_0);
|
|
1796
|
+
var tmp;
|
|
1797
|
+
// Inline function 'kotlin.code' call
|
|
1798
|
+
var this_2 = _Char___init__impl__6a9atx(65);
|
|
1799
|
+
var containsLower = Char__toInt_impl_vasixd(this_2);
|
|
1800
|
+
var tmp_0;
|
|
1801
|
+
// Inline function 'kotlin.code' call
|
|
1802
|
+
var this_3 = _Char___init__impl__6a9atx(90);
|
|
1803
|
+
if (this_1 <= Char__toInt_impl_vasixd(this_3)) {
|
|
1804
|
+
tmp_0 = containsLower <= this_1;
|
|
1805
|
+
} else {
|
|
1806
|
+
tmp_0 = false;
|
|
1807
|
+
}
|
|
1808
|
+
if (tmp_0) {
|
|
1809
|
+
// Inline function 'kotlin.code' call
|
|
1810
|
+
var this_4 = _Char___init__impl__6a9atx(97);
|
|
1811
|
+
var tmp_1 = Char__toInt_impl_vasixd(this_4);
|
|
1812
|
+
// Inline function 'kotlin.code' call
|
|
1813
|
+
var this_5 = _Char___init__impl__6a9atx(65);
|
|
1814
|
+
tmp = tmp_1 + (this_1 - Char__toInt_impl_vasixd(this_5) | 0) | 0;
|
|
1815
|
+
} else {
|
|
1816
|
+
tmp = this_1;
|
|
1817
|
+
}
|
|
1818
|
+
var v = tmp;
|
|
1819
|
+
hashCode = imul(31, hashCode) + v | 0;
|
|
1820
|
+
}
|
|
1821
|
+
while (inductionVariable < end);
|
|
1822
|
+
return hashCode;
|
|
1823
|
+
}
|
|
1824
|
+
function numberFormatException(cs) {
|
|
1825
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1826
|
+
throw NumberFormatException_init_$Create$('Invalid number ' + toString(cs) + ': too large for Long type');
|
|
1827
|
+
}
|
|
1828
|
+
function parseDecLongWithCheck(_this__u8e3s4) {
|
|
1829
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1830
|
+
var result = new Long(0, 0);
|
|
1831
|
+
var inductionVariable = 0;
|
|
1832
|
+
var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
1833
|
+
if (inductionVariable <= last)
|
|
1834
|
+
do {
|
|
1835
|
+
var i = inductionVariable;
|
|
1836
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1837
|
+
// Inline function 'kotlin.code' call
|
|
1838
|
+
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
1839
|
+
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
1840
|
+
var digit = toLong(tmp$ret$0).c3(new Long(48, 0));
|
|
1841
|
+
if (digit.g1(new Long(0, 0)) < 0 || digit.g1(new Long(9, 0)) > 0) {
|
|
1842
|
+
numberFormatException_0(_this__u8e3s4, i);
|
|
1843
|
+
}
|
|
1844
|
+
result = result.l3(3).b3(result.l3(1)).b3(digit);
|
|
1845
|
+
if (result.g1(new Long(0, 0)) < 0) {
|
|
1846
|
+
numberFormatException(_this__u8e3s4);
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
while (inductionVariable <= last);
|
|
1850
|
+
return result;
|
|
1851
|
+
}
|
|
1852
|
+
function numberFormatException_0(cs, idx) {
|
|
1853
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1854
|
+
throw NumberFormatException_init_$Create$('Invalid number: ' + toString(cs) + ', wrong digit: ' + toString_1(charSequenceGet(cs, idx)) + ' at position ' + idx);
|
|
1855
|
+
}
|
|
1856
|
+
function DefaultHttpMethods$lambda(it) {
|
|
1857
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1858
|
+
return it.a2z_1.length;
|
|
1859
|
+
}
|
|
1860
|
+
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
1861
|
+
_init_properties_Chars_kt__d3i39x();
|
|
1862
|
+
return new Char(charSequenceGet(m.a2z_1, idx));
|
|
1863
|
+
}
|
|
1864
|
+
var properties_initialized_Chars_kt_phjfhp;
|
|
1865
|
+
function _init_properties_Chars_kt__d3i39x() {
|
|
1866
|
+
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
1867
|
+
properties_initialized_Chars_kt_phjfhp = true;
|
|
1868
|
+
var tmp = Companion_instance;
|
|
1869
|
+
var tmp_0 = Companion_getInstance().z2y_1;
|
|
1870
|
+
var tmp_1 = DefaultHttpMethods$lambda;
|
|
1871
|
+
DefaultHttpMethods = tmp.n39(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
1872
|
+
// Inline function 'kotlin.collections.map' call
|
|
1873
|
+
var this_0 = numberRangeToNumber(0, 255);
|
|
1874
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1875
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
1876
|
+
var inductionVariable = this_0.h1_1;
|
|
1877
|
+
var last = this_0.i1_1;
|
|
1878
|
+
if (inductionVariable <= last)
|
|
1879
|
+
do {
|
|
1880
|
+
var item = inductionVariable;
|
|
1881
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1882
|
+
var v = item;
|
|
1883
|
+
var tmp_2;
|
|
1884
|
+
if (48 <= v ? v <= 57 : false) {
|
|
1885
|
+
tmp_2 = numberToLong(v).c3(new Long(48, 0));
|
|
1886
|
+
} else {
|
|
1887
|
+
var tmp_3;
|
|
1888
|
+
var tmp_4 = toLong(v);
|
|
1889
|
+
// Inline function 'kotlin.code' call
|
|
1890
|
+
var this_1 = _Char___init__impl__6a9atx(97);
|
|
1891
|
+
var tmp$ret$0 = Char__toInt_impl_vasixd(this_1);
|
|
1892
|
+
if (tmp_4.g1(toLong(tmp$ret$0)) >= 0) {
|
|
1893
|
+
var tmp_5 = toLong(v);
|
|
1894
|
+
// Inline function 'kotlin.code' call
|
|
1895
|
+
var this_2 = _Char___init__impl__6a9atx(102);
|
|
1896
|
+
var tmp$ret$1 = Char__toInt_impl_vasixd(this_2);
|
|
1897
|
+
tmp_3 = tmp_5.g1(toLong(tmp$ret$1)) <= 0;
|
|
1898
|
+
} else {
|
|
1899
|
+
tmp_3 = false;
|
|
1900
|
+
}
|
|
1901
|
+
if (tmp_3) {
|
|
1902
|
+
// Inline function 'kotlin.code' call
|
|
1903
|
+
var this_3 = _Char___init__impl__6a9atx(97);
|
|
1904
|
+
var tmp$ret$2 = Char__toInt_impl_vasixd(this_3);
|
|
1905
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1906
|
+
tmp_2 = numberToLong(v).c3(toLong(tmp$ret$2)).b3(toLong(10));
|
|
1907
|
+
} else {
|
|
1908
|
+
var tmp_6;
|
|
1909
|
+
var tmp_7 = toLong(v);
|
|
1910
|
+
// Inline function 'kotlin.code' call
|
|
1911
|
+
var this_4 = _Char___init__impl__6a9atx(65);
|
|
1912
|
+
var tmp$ret$4 = Char__toInt_impl_vasixd(this_4);
|
|
1913
|
+
if (tmp_7.g1(toLong(tmp$ret$4)) >= 0) {
|
|
1914
|
+
var tmp_8 = toLong(v);
|
|
1915
|
+
// Inline function 'kotlin.code' call
|
|
1916
|
+
var this_5 = _Char___init__impl__6a9atx(70);
|
|
1917
|
+
var tmp$ret$5 = Char__toInt_impl_vasixd(this_5);
|
|
1918
|
+
tmp_6 = tmp_8.g1(toLong(tmp$ret$5)) <= 0;
|
|
1919
|
+
} else {
|
|
1920
|
+
tmp_6 = false;
|
|
1921
|
+
}
|
|
1922
|
+
if (tmp_6) {
|
|
1923
|
+
// Inline function 'kotlin.code' call
|
|
1924
|
+
var this_6 = _Char___init__impl__6a9atx(65);
|
|
1925
|
+
var tmp$ret$6 = Char__toInt_impl_vasixd(this_6);
|
|
1926
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1927
|
+
tmp_2 = numberToLong(v).c3(toLong(tmp$ret$6)).b3(toLong(10));
|
|
1928
|
+
} else {
|
|
1929
|
+
tmp_2 = new Long(-1, -1);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
var tmp$ret$8 = tmp_2;
|
|
1934
|
+
destination.k(tmp$ret$8);
|
|
1935
|
+
}
|
|
1936
|
+
while (!(item === last));
|
|
1937
|
+
HexTable = toLongArray(destination);
|
|
1938
|
+
// Inline function 'kotlin.collections.map' call
|
|
1939
|
+
var this_7 = numberRangeToNumber(0, 15);
|
|
1940
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1941
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_7, 10));
|
|
1942
|
+
var inductionVariable_0 = this_7.h1_1;
|
|
1943
|
+
var last_0 = this_7.i1_1;
|
|
1944
|
+
if (inductionVariable_0 <= last_0)
|
|
1945
|
+
do {
|
|
1946
|
+
var item_0 = inductionVariable_0;
|
|
1947
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1948
|
+
var it = item_0;
|
|
1949
|
+
var tmp_9;
|
|
1950
|
+
if (it < 10) {
|
|
1951
|
+
tmp_9 = toByte(48 + it | 0);
|
|
1952
|
+
} else {
|
|
1953
|
+
// Inline function 'kotlin.code' call
|
|
1954
|
+
var this_8 = Char__minus_impl_a2frrh(Char__plus_impl_qi7pgj(_Char___init__impl__6a9atx(97), it), 10);
|
|
1955
|
+
var tmp$ret$0_0 = Char__toInt_impl_vasixd(this_8);
|
|
1956
|
+
tmp_9 = toByte(tmp$ret$0_0);
|
|
1957
|
+
}
|
|
1958
|
+
var tmp$ret$1_0 = tmp_9;
|
|
1959
|
+
destination_0.k(tmp$ret$1_0);
|
|
1960
|
+
}
|
|
1961
|
+
while (!(item_0 === last_0));
|
|
1962
|
+
HexLetterTable = toByteArray(destination_0);
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
function UnsupportedMediaTypeExceptionCIO(message) {
|
|
1966
|
+
IOException_init_$Init$(message, this);
|
|
1967
|
+
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
1968
|
+
}
|
|
1969
|
+
function MutableRange(start, end) {
|
|
1970
|
+
this.x35_1 = start;
|
|
1971
|
+
this.y35_1 = end;
|
|
1972
|
+
}
|
|
1973
|
+
protoOf(MutableRange).toString = function () {
|
|
1974
|
+
return 'MutableRange(start=' + this.x35_1 + ', end=' + this.y35_1 + ')';
|
|
1975
|
+
};
|
|
1976
|
+
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
1977
|
+
var index = start;
|
|
1978
|
+
$l$loop: while (index < end) {
|
|
1979
|
+
var ch = text.b(index);
|
|
1980
|
+
if (!isWhitespace(ch) && !(ch === _Char___init__impl__6a9atx(9)))
|
|
1981
|
+
break $l$loop;
|
|
1982
|
+
index = index + 1 | 0;
|
|
1983
|
+
}
|
|
1984
|
+
return index;
|
|
1985
|
+
}
|
|
1986
|
+
function isPoolingDisabled() {
|
|
1987
|
+
return false;
|
|
1988
|
+
}
|
|
1989
|
+
//region block: init
|
|
1990
|
+
Companion_instance = new Companion();
|
|
1991
|
+
//endregion
|
|
1992
|
+
//region block: exports
|
|
1993
|
+
export {
|
|
1994
|
+
CIOMultipartDataBase as CIOMultipartDataBase3o5u8w437tq5s,
|
|
1995
|
+
};
|
|
1996
|
+
//endregion
|
|
1997
|
+
|
|
1998
|
+
//# sourceMappingURL=ktor-ktor-http-ktor-http-cio.mjs.map
|