@nfdi4plants/arctrl 1.0.7 → 1.2.0
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/ARC.js +47 -11
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcTypes.js +30 -18
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +8 -8
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +23 -31
- package/ISA/ISA/ArcTypes/ArcTableAux.js +27 -16
- package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
- package/ISA/ISA/ArcTypes/ArcTypes.js +118 -83
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +8 -7
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +6 -6
- package/ISA/ISA/Helper.js +15 -13
- package/ISA/ISA/Identifier.js +1 -1
- package/ISA/ISA/JsonTypes/Assay.js +8 -8
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +4 -4
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +6 -6
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +3 -3
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +6 -6
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
- package/ISA/ISA/JsonTypes/Person.js +23 -8
- package/ISA/ISA/JsonTypes/Process.js +13 -13
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +6 -6
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
- package/ISA/ISA/JsonTypes/Publication.js +6 -6
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +8 -8
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +22 -29
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +157 -65
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +136 -24
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +183 -21
- package/ISA/ISA.Json/ArcTypes/CellTable.js +40 -0
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +34 -23
- package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +18 -46
- package/ISA/ISA.Json/ArcTypes/IOType.js +11 -13
- package/ISA/ISA.Json/ArcTypes/OATable.js +42 -0
- package/ISA/ISA.Json/Assay.js +71 -47
- package/ISA/ISA.Json/Comment.js +31 -35
- package/ISA/ISA.Json/ConverterOptions.js +19 -1
- package/ISA/ISA.Json/Data.js +119 -137
- package/ISA/ISA.Json/Decode.js +51 -36
- package/ISA/ISA.Json/Factor.js +90 -90
- package/ISA/ISA.Json/GEncode.js +31 -6
- package/ISA/ISA.Json/Investigation.js +54 -79
- package/ISA/ISA.Json/Material.js +103 -104
- package/ISA/ISA.Json/Ontology.js +99 -92
- package/ISA/ISA.Json/Person.js +47 -65
- package/ISA/ISA.Json/Process.js +144 -130
- package/ISA/ISA.Json/Protocol.js +144 -105
- package/ISA/ISA.Json/Publication.js +34 -40
- package/ISA/ISA.Json/StringTable.js +44 -0
- package/ISA/ISA.Json/Study.js +70 -96
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +34 -0
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +24 -0
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_investigation_context.js +33 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +22 -0
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +30 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +27 -0
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +42 -0
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +25 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +56 -43
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +11 -11
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +5 -5
- package/ISA/ISA.Spreadsheet/ArcAssay.js +100 -88
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +12 -12
- package/ISA/ISA.Spreadsheet/ArcStudy.js +36 -24
- package/ISA/ISA.Spreadsheet/CollectionAux.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +31 -20
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +28 -23
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
- package/README.md +20 -3
- package/SemVer.js +6 -6
- package/Templates/Template.Json.js +43 -36
- package/Templates/Template.Spreadsheet.js +12 -12
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +7 -7
- package/WebRequest/WebRequest.Node.js +15 -0
- package/WebRequest/WebRequest.js +10 -29
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs +22 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs.js +24 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs +12 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs.js +21 -17
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs.js +4 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs → Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs} +8 -7
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
- package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
- package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
- package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
- package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/ISA/ISA.Json/Validation/Fable.js +0 -69
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
- package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
- package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
- package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
- package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
- package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Helpers_allocateArrayFromCons } from "./Native.js";
|
|
2
|
+
import { setItem as setItem_1, item as item_2 } from "./Array.js";
|
|
2
3
|
import { value as value_2, map as map_1, defaultArg, some } from "./Option.js";
|
|
3
4
|
import { min as min_1, max as max_1 } from "./Double.js";
|
|
4
5
|
import { equals as equals_1, disposeSafe, getEnumerator, copyToArray, defaultOf } from "./Util.js";
|
|
@@ -14,10 +15,10 @@ export function append(array1, array2, cons) {
|
|
|
14
15
|
const len2 = array2.length | 0;
|
|
15
16
|
const newArray = Helpers_allocateArrayFromCons(cons, len1 + len2);
|
|
16
17
|
for (let i = 0; i <= (len1 - 1); i++) {
|
|
17
|
-
newArray
|
|
18
|
+
setItem_1(newArray, i, item_2(i, array1));
|
|
18
19
|
}
|
|
19
20
|
for (let i_1 = 0; i_1 <= (len2 - 1); i_1++) {
|
|
20
|
-
newArray
|
|
21
|
+
setItem_1(newArray, i_1 + len1, item_2(i_1, array2));
|
|
21
22
|
}
|
|
22
23
|
return newArray;
|
|
23
24
|
}
|
|
@@ -36,21 +37,21 @@ export function last(array) {
|
|
|
36
37
|
if (array.length === 0) {
|
|
37
38
|
throw new Error("The input array was empty\\nParameter name: array");
|
|
38
39
|
}
|
|
39
|
-
return array
|
|
40
|
+
return item_2(array.length - 1, array);
|
|
40
41
|
}
|
|
41
42
|
export function tryLast(array) {
|
|
42
43
|
if (array.length === 0) {
|
|
43
44
|
return void 0;
|
|
44
45
|
}
|
|
45
46
|
else {
|
|
46
|
-
return some(array
|
|
47
|
+
return some(item_2(array.length - 1, array));
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
export function mapIndexed(f, source, cons) {
|
|
50
51
|
const len = source.length | 0;
|
|
51
52
|
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
52
53
|
for (let i = 0; i <= (len - 1); i++) {
|
|
53
|
-
target
|
|
54
|
+
setItem_1(target, i, f(i, item_2(i, source)));
|
|
54
55
|
}
|
|
55
56
|
return target;
|
|
56
57
|
}
|
|
@@ -58,7 +59,7 @@ export function map(f, source, cons) {
|
|
|
58
59
|
const len = source.length | 0;
|
|
59
60
|
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
60
61
|
for (let i = 0; i <= (len - 1); i++) {
|
|
61
|
-
target
|
|
62
|
+
setItem_1(target, i, f(item_2(i, source)));
|
|
62
63
|
}
|
|
63
64
|
return target;
|
|
64
65
|
}
|
|
@@ -68,7 +69,7 @@ export function mapIndexed2(f, source1, source2, cons) {
|
|
|
68
69
|
}
|
|
69
70
|
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
70
71
|
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
71
|
-
result
|
|
72
|
+
setItem_1(result, i, f(i, item_2(i, source1), item_2(i, source2)));
|
|
72
73
|
}
|
|
73
74
|
return result;
|
|
74
75
|
}
|
|
@@ -78,7 +79,7 @@ export function map2(f, source1, source2, cons) {
|
|
|
78
79
|
}
|
|
79
80
|
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
80
81
|
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
81
|
-
result
|
|
82
|
+
setItem_1(result, i, f(item_2(i, source1), item_2(i, source2)));
|
|
82
83
|
}
|
|
83
84
|
return result;
|
|
84
85
|
}
|
|
@@ -88,7 +89,7 @@ export function mapIndexed3(f, source1, source2, source3, cons) {
|
|
|
88
89
|
}
|
|
89
90
|
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
90
91
|
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
91
|
-
result
|
|
92
|
+
setItem_1(result, i, f(i, item_2(i, source1), item_2(i, source2), item_2(i, source3)));
|
|
92
93
|
}
|
|
93
94
|
return result;
|
|
94
95
|
}
|
|
@@ -98,7 +99,7 @@ export function map3(f, source1, source2, source3, cons) {
|
|
|
98
99
|
}
|
|
99
100
|
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
100
101
|
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
101
|
-
result
|
|
102
|
+
setItem_1(result, i, f(item_2(i, source1), item_2(i, source2), item_2(i, source3)));
|
|
102
103
|
}
|
|
103
104
|
return result;
|
|
104
105
|
}
|
|
@@ -111,8 +112,8 @@ export function mapFold(mapping, state, array, cons) {
|
|
|
111
112
|
let acc = state;
|
|
112
113
|
const res = Helpers_allocateArrayFromCons(cons, matchValue);
|
|
113
114
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
114
|
-
const patternInput = mapping(acc, array
|
|
115
|
-
res
|
|
115
|
+
const patternInput = mapping(acc, item_2(i, array));
|
|
116
|
+
setItem_1(res, i, patternInput[0]);
|
|
116
117
|
acc = patternInput[1];
|
|
117
118
|
}
|
|
118
119
|
return [res, acc];
|
|
@@ -127,8 +128,8 @@ export function mapFoldBack(mapping, array, state, cons) {
|
|
|
127
128
|
let acc = state;
|
|
128
129
|
const res = Helpers_allocateArrayFromCons(cons, matchValue);
|
|
129
130
|
for (let i = array.length - 1; i >= 0; i--) {
|
|
130
|
-
const patternInput = mapping(
|
|
131
|
-
res
|
|
131
|
+
const patternInput = mapping(item_2(i, array), acc);
|
|
132
|
+
setItem_1(res, i, patternInput[0]);
|
|
132
133
|
acc = patternInput[1];
|
|
133
134
|
}
|
|
134
135
|
return [res, acc];
|
|
@@ -138,7 +139,7 @@ export function indexed(source) {
|
|
|
138
139
|
const len = source.length | 0;
|
|
139
140
|
const target = new Array(len);
|
|
140
141
|
for (let i = 0; i <= (len - 1); i++) {
|
|
141
|
-
target
|
|
142
|
+
setItem_1(target, i, [i, item_2(i, source)]);
|
|
142
143
|
}
|
|
143
144
|
return target;
|
|
144
145
|
}
|
|
@@ -153,19 +154,19 @@ export function concat(arrays, cons) {
|
|
|
153
154
|
case 0:
|
|
154
155
|
return Helpers_allocateArrayFromCons(cons, 0);
|
|
155
156
|
case 1:
|
|
156
|
-
return arrays_1
|
|
157
|
+
return item_2(0, arrays_1);
|
|
157
158
|
default: {
|
|
158
159
|
let totalIdx = 0;
|
|
159
160
|
let totalLength = 0;
|
|
160
161
|
for (let idx = 0; idx <= (arrays_1.length - 1); idx++) {
|
|
161
|
-
const arr_1 = arrays_1
|
|
162
|
+
const arr_1 = item_2(idx, arrays_1);
|
|
162
163
|
totalLength = ((totalLength + arr_1.length) | 0);
|
|
163
164
|
}
|
|
164
165
|
const result = Helpers_allocateArrayFromCons(cons, totalLength);
|
|
165
166
|
for (let idx_1 = 0; idx_1 <= (arrays_1.length - 1); idx_1++) {
|
|
166
|
-
const arr_2 = arrays_1
|
|
167
|
+
const arr_2 = item_2(idx_1, arrays_1);
|
|
167
168
|
for (let j = 0; j <= (arr_2.length - 1); j++) {
|
|
168
|
-
result
|
|
169
|
+
setItem_1(result, totalIdx, item_2(j, arr_2));
|
|
169
170
|
totalIdx = ((totalIdx + 1) | 0);
|
|
170
171
|
}
|
|
171
172
|
}
|
|
@@ -188,7 +189,7 @@ export function indexOf(array, item_1, start, count, eq) {
|
|
|
188
189
|
if (i >= end$0027) {
|
|
189
190
|
return -1;
|
|
190
191
|
}
|
|
191
|
-
else if (eq.Equals(item_1, array
|
|
192
|
+
else if (eq.Equals(item_1, item_2(i, array))) {
|
|
192
193
|
return i | 0;
|
|
193
194
|
}
|
|
194
195
|
else {
|
|
@@ -208,7 +209,7 @@ export function empty(cons) {
|
|
|
208
209
|
}
|
|
209
210
|
export function singleton(value, cons) {
|
|
210
211
|
const ar = Helpers_allocateArrayFromCons(cons, 1);
|
|
211
|
-
ar
|
|
212
|
+
setItem_1(ar, 0, value);
|
|
212
213
|
return ar;
|
|
213
214
|
}
|
|
214
215
|
export function initialize(count, initializer, cons) {
|
|
@@ -217,7 +218,7 @@ export function initialize(count, initializer, cons) {
|
|
|
217
218
|
}
|
|
218
219
|
const result = Helpers_allocateArrayFromCons(cons, count);
|
|
219
220
|
for (let i = 0; i <= (count - 1); i++) {
|
|
220
|
-
result
|
|
221
|
+
setItem_1(result, i, initializer(i));
|
|
221
222
|
}
|
|
222
223
|
return result;
|
|
223
224
|
}
|
|
@@ -229,7 +230,7 @@ export function pairwise(array) {
|
|
|
229
230
|
const count = (array.length - 1) | 0;
|
|
230
231
|
const result = new Array(count);
|
|
231
232
|
for (let i = 0; i <= (count - 1); i++) {
|
|
232
|
-
result
|
|
233
|
+
setItem_1(result, i, [item_2(i, array), item_2(i + 1, array)]);
|
|
233
234
|
}
|
|
234
235
|
return result;
|
|
235
236
|
}
|
|
@@ -240,7 +241,7 @@ export function replicate(count, initial, cons) {
|
|
|
240
241
|
}
|
|
241
242
|
const result = Helpers_allocateArrayFromCons(cons, count);
|
|
242
243
|
for (let i = 0; i <= (result.length - 1); i++) {
|
|
243
|
-
result
|
|
244
|
+
setItem_1(result, i, initial);
|
|
244
245
|
}
|
|
245
246
|
return result;
|
|
246
247
|
}
|
|
@@ -256,17 +257,17 @@ export function reverse(array) {
|
|
|
256
257
|
}
|
|
257
258
|
export function scan(folder, state, array, cons) {
|
|
258
259
|
const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
|
|
259
|
-
res
|
|
260
|
+
setItem_1(res, 0, state);
|
|
260
261
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
261
|
-
res
|
|
262
|
+
setItem_1(res, i + 1, folder(item_2(i, res), item_2(i, array)));
|
|
262
263
|
}
|
|
263
264
|
return res;
|
|
264
265
|
}
|
|
265
266
|
export function scanBack(folder, array, state, cons) {
|
|
266
267
|
const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
|
|
267
|
-
res
|
|
268
|
+
setItem_1(res, array.length, state);
|
|
268
269
|
for (let i = array.length - 1; i >= 0; i--) {
|
|
269
|
-
res
|
|
270
|
+
setItem_1(res, i, folder(item_2(i, array), item_2(i + 1, res)));
|
|
270
271
|
}
|
|
271
272
|
return res;
|
|
272
273
|
}
|
|
@@ -284,7 +285,7 @@ export function skip(count, array, cons) {
|
|
|
284
285
|
}
|
|
285
286
|
export function skipWhile(predicate, array, cons) {
|
|
286
287
|
let count = 0;
|
|
287
|
-
while ((count < array.length) && predicate(array
|
|
288
|
+
while ((count < array.length) && predicate(item_2(count, array))) {
|
|
288
289
|
count = ((count + 1) | 0);
|
|
289
290
|
}
|
|
290
291
|
if (count === array.length) {
|
|
@@ -311,7 +312,7 @@ export function take(count, array, cons) {
|
|
|
311
312
|
}
|
|
312
313
|
export function takeWhile(predicate, array, cons) {
|
|
313
314
|
let count = 0;
|
|
314
|
-
while ((count < array.length) && predicate(array
|
|
315
|
+
while ((count < array.length) && predicate(item_2(count, array))) {
|
|
315
316
|
count = ((count + 1) | 0);
|
|
316
317
|
}
|
|
317
318
|
if (count === 0) {
|
|
@@ -381,12 +382,12 @@ export function partition(f, source, cons) {
|
|
|
381
382
|
let iTrue = 0;
|
|
382
383
|
let iFalse = 0;
|
|
383
384
|
for (let i = 0; i <= (len - 1); i++) {
|
|
384
|
-
if (f(source
|
|
385
|
-
res1
|
|
385
|
+
if (f(item_2(i, source))) {
|
|
386
|
+
setItem_1(res1, iTrue, item_2(i, source));
|
|
386
387
|
iTrue = ((iTrue + 1) | 0);
|
|
387
388
|
}
|
|
388
389
|
else {
|
|
389
|
-
res2
|
|
390
|
+
setItem_1(res2, iFalse, item_2(i, source));
|
|
390
391
|
iFalse = ((iFalse + 1) | 0);
|
|
391
392
|
}
|
|
392
393
|
}
|
|
@@ -431,7 +432,7 @@ export function pick(chooser, array) {
|
|
|
431
432
|
return indexNotFound();
|
|
432
433
|
}
|
|
433
434
|
else {
|
|
434
|
-
const matchValue = chooser(array
|
|
435
|
+
const matchValue = chooser(item_2(i, array));
|
|
435
436
|
if (matchValue != null) {
|
|
436
437
|
return value_2(matchValue);
|
|
437
438
|
}
|
|
@@ -453,7 +454,7 @@ export function tryPick(chooser, array) {
|
|
|
453
454
|
return void 0;
|
|
454
455
|
}
|
|
455
456
|
else {
|
|
456
|
-
const matchValue = chooser(array
|
|
457
|
+
const matchValue = chooser(item_2(i, array));
|
|
457
458
|
if (matchValue == null) {
|
|
458
459
|
i_mut = (i + 1);
|
|
459
460
|
continue loop;
|
|
@@ -474,8 +475,8 @@ export function findBack(predicate, array) {
|
|
|
474
475
|
if (i < 0) {
|
|
475
476
|
return indexNotFound();
|
|
476
477
|
}
|
|
477
|
-
else if (predicate(array
|
|
478
|
-
return array
|
|
478
|
+
else if (predicate(item_2(i, array))) {
|
|
479
|
+
return item_2(i, array);
|
|
479
480
|
}
|
|
480
481
|
else {
|
|
481
482
|
i_mut = (i - 1);
|
|
@@ -493,8 +494,8 @@ export function tryFindBack(predicate, array) {
|
|
|
493
494
|
if (i < 0) {
|
|
494
495
|
return void 0;
|
|
495
496
|
}
|
|
496
|
-
else if (predicate(array
|
|
497
|
-
return some(array
|
|
497
|
+
else if (predicate(item_2(i, array))) {
|
|
498
|
+
return some(item_2(i, array));
|
|
498
499
|
}
|
|
499
500
|
else {
|
|
500
501
|
i_mut = (i - 1);
|
|
@@ -512,7 +513,7 @@ export function findLastIndex(predicate, array) {
|
|
|
512
513
|
if (i < 0) {
|
|
513
514
|
return -1;
|
|
514
515
|
}
|
|
515
|
-
else if (predicate(array
|
|
516
|
+
else if (predicate(item_2(i, array))) {
|
|
516
517
|
return i | 0;
|
|
517
518
|
}
|
|
518
519
|
else {
|
|
@@ -532,7 +533,7 @@ export function findIndexBack(predicate, array) {
|
|
|
532
533
|
indexNotFound();
|
|
533
534
|
return -1;
|
|
534
535
|
}
|
|
535
|
-
else if (predicate(array
|
|
536
|
+
else if (predicate(item_2(i, array))) {
|
|
536
537
|
return i | 0;
|
|
537
538
|
}
|
|
538
539
|
else {
|
|
@@ -551,7 +552,7 @@ export function tryFindIndexBack(predicate, array) {
|
|
|
551
552
|
if (i < 0) {
|
|
552
553
|
return void 0;
|
|
553
554
|
}
|
|
554
|
-
else if (predicate(array
|
|
555
|
+
else if (predicate(item_2(i, array))) {
|
|
555
556
|
return i;
|
|
556
557
|
}
|
|
557
558
|
else {
|
|
@@ -566,7 +567,7 @@ export function tryFindIndexBack(predicate, array) {
|
|
|
566
567
|
export function choose(chooser, array, cons) {
|
|
567
568
|
const res = [];
|
|
568
569
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
569
|
-
const matchValue = chooser(array
|
|
570
|
+
const matchValue = chooser(item_2(i, array));
|
|
570
571
|
if (matchValue != null) {
|
|
571
572
|
const y = value_2(matchValue);
|
|
572
573
|
res.push(y);
|
|
@@ -583,16 +584,17 @@ export function foldIndexed(folder, state, array) {
|
|
|
583
584
|
return array.reduce(((delegateArg, delegateArg_1, delegateArg_2) => folder(delegateArg_2, delegateArg, delegateArg_1)), state);
|
|
584
585
|
}
|
|
585
586
|
export function fold(folder, state, array) {
|
|
586
|
-
|
|
587
|
+
const folder_1 = folder;
|
|
588
|
+
return array.reduce((folder_1), state);
|
|
587
589
|
}
|
|
588
590
|
export function iterate(action, array) {
|
|
589
591
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
590
|
-
action(array
|
|
592
|
+
action(item_2(i, array));
|
|
591
593
|
}
|
|
592
594
|
}
|
|
593
595
|
export function iterateIndexed(action, array) {
|
|
594
596
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
595
|
-
action(i, array
|
|
597
|
+
action(i, item_2(i, array));
|
|
596
598
|
}
|
|
597
599
|
}
|
|
598
600
|
export function iterate2(action, array1, array2) {
|
|
@@ -600,7 +602,7 @@ export function iterate2(action, array1, array2) {
|
|
|
600
602
|
differentLengths();
|
|
601
603
|
}
|
|
602
604
|
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
603
|
-
action(array1
|
|
605
|
+
action(item_2(i, array1), item_2(i, array2));
|
|
604
606
|
}
|
|
605
607
|
}
|
|
606
608
|
export function iterateIndexed2(action, array1, array2) {
|
|
@@ -608,7 +610,7 @@ export function iterateIndexed2(action, array1, array2) {
|
|
|
608
610
|
differentLengths();
|
|
609
611
|
}
|
|
610
612
|
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
611
|
-
action(i, array1
|
|
613
|
+
action(i, item_2(i, array1), item_2(i, array2));
|
|
612
614
|
}
|
|
613
615
|
}
|
|
614
616
|
export function isEmpty(array) {
|
|
@@ -626,8 +628,8 @@ export function permute(f, array) {
|
|
|
626
628
|
if ((j < 0) ? true : (j >= size)) {
|
|
627
629
|
throw new Error("Not a valid permutation");
|
|
628
630
|
}
|
|
629
|
-
res
|
|
630
|
-
checkFlags
|
|
631
|
+
setItem_1(res, j, x);
|
|
632
|
+
setItem_1(checkFlags, j, 1);
|
|
631
633
|
}, array);
|
|
632
634
|
if (!(checkFlags.every((y) => (1 === y)))) {
|
|
633
635
|
throw new Error("Not a valid permutation");
|
|
@@ -639,7 +641,7 @@ export function setSlice(target, lower, upper, source) {
|
|
|
639
641
|
const upper_1 = defaultArg(upper, -1) | 0;
|
|
640
642
|
const length = (((upper_1 >= 0) ? upper_1 : (target.length - 1)) - lower_1) | 0;
|
|
641
643
|
for (let i = 0; i <= length; i++) {
|
|
642
|
-
target
|
|
644
|
+
setItem_1(target, i + lower_1, item_2(i, source));
|
|
643
645
|
}
|
|
644
646
|
}
|
|
645
647
|
export function sortInPlaceBy(projection, xs, comparer) {
|
|
@@ -680,7 +682,7 @@ export function allPairs(xs, ys) {
|
|
|
680
682
|
const res = new Array(len1 * len2);
|
|
681
683
|
for (let i = 0; i <= (xs.length - 1); i++) {
|
|
682
684
|
for (let j = 0; j <= (ys.length - 1); j++) {
|
|
683
|
-
res
|
|
685
|
+
setItem_1(res, (i * len2) + j, [item_2(i, xs), item_2(j, ys)]);
|
|
684
686
|
}
|
|
685
687
|
}
|
|
686
688
|
return res;
|
|
@@ -709,8 +711,8 @@ export function unzip(array) {
|
|
|
709
711
|
const res1 = new Array(len);
|
|
710
712
|
const res2 = new Array(len);
|
|
711
713
|
iterateIndexed((i, tupledArg) => {
|
|
712
|
-
res1
|
|
713
|
-
res2
|
|
714
|
+
setItem_1(res1, i, tupledArg[0]);
|
|
715
|
+
setItem_1(res2, i, tupledArg[1]);
|
|
714
716
|
}, array);
|
|
715
717
|
return [res1, res2];
|
|
716
718
|
}
|
|
@@ -720,9 +722,9 @@ export function unzip3(array) {
|
|
|
720
722
|
const res2 = new Array(len);
|
|
721
723
|
const res3 = new Array(len);
|
|
722
724
|
iterateIndexed((i, tupledArg) => {
|
|
723
|
-
res1
|
|
724
|
-
res2
|
|
725
|
-
res3
|
|
725
|
+
setItem_1(res1, i, tupledArg[0]);
|
|
726
|
+
setItem_1(res2, i, tupledArg[1]);
|
|
727
|
+
setItem_1(res3, i, tupledArg[2]);
|
|
726
728
|
}, array);
|
|
727
729
|
return [res1, res2, res3];
|
|
728
730
|
}
|
|
@@ -732,7 +734,7 @@ export function zip(array1, array2) {
|
|
|
732
734
|
}
|
|
733
735
|
const result = new Array(array1.length);
|
|
734
736
|
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
735
|
-
result[i
|
|
737
|
+
setItem_1(result, i, [item_2(i, array1), item_2(i, array2)]);
|
|
736
738
|
}
|
|
737
739
|
return result;
|
|
738
740
|
}
|
|
@@ -742,7 +744,7 @@ export function zip3(array1, array2, array3) {
|
|
|
742
744
|
}
|
|
743
745
|
const result = new Array(array1.length);
|
|
744
746
|
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
745
|
-
result[i
|
|
747
|
+
setItem_1(result, i, [item_2(i, array1), item_2(i, array2), item_2(i, array3)]);
|
|
746
748
|
}
|
|
747
749
|
return result;
|
|
748
750
|
}
|
|
@@ -789,7 +791,7 @@ export function compareWith(comparer, source1, source2) {
|
|
|
789
791
|
let i = 0;
|
|
790
792
|
let res = 0;
|
|
791
793
|
while ((res === 0) && (i < len)) {
|
|
792
|
-
res = (comparer(source1
|
|
794
|
+
res = (comparer(item_2(i, source1), item_2(i, source2)) | 0);
|
|
793
795
|
i = ((i + 1) | 0);
|
|
794
796
|
}
|
|
795
797
|
if (res !== 0) {
|
|
@@ -831,7 +833,7 @@ export function compareTo(comparer, source1, source2) {
|
|
|
831
833
|
let i = 0;
|
|
832
834
|
let res = 0;
|
|
833
835
|
while ((res === 0) && (i < len1)) {
|
|
834
|
-
res = (comparer(source1
|
|
836
|
+
res = (comparer(item_2(i, source1), item_2(i, source2)) | 0);
|
|
835
837
|
i = ((i + 1) | 0);
|
|
836
838
|
}
|
|
837
839
|
return res | 0;
|
|
@@ -863,7 +865,7 @@ export function equalsWith(equals, array1, array2) {
|
|
|
863
865
|
}
|
|
864
866
|
else {
|
|
865
867
|
while ((i < length1) && result) {
|
|
866
|
-
result = equals(array1
|
|
868
|
+
result = equals(item_2(i, array1), item_2(i, array2));
|
|
867
869
|
i = ((i + 1) | 0);
|
|
868
870
|
}
|
|
869
871
|
return result;
|
|
@@ -873,7 +875,7 @@ export function equalsWith(equals, array1, array2) {
|
|
|
873
875
|
export function exactlyOne(array) {
|
|
874
876
|
switch (array.length) {
|
|
875
877
|
case 1:
|
|
876
|
-
return array
|
|
878
|
+
return item_2(0, array);
|
|
877
879
|
case 0:
|
|
878
880
|
throw new Error("The input sequence was empty\\nParameter name: array");
|
|
879
881
|
default:
|
|
@@ -882,7 +884,7 @@ export function exactlyOne(array) {
|
|
|
882
884
|
}
|
|
883
885
|
export function tryExactlyOne(array) {
|
|
884
886
|
if (array.length === 1) {
|
|
885
|
-
return some(array
|
|
887
|
+
return some(item_2(0, array));
|
|
886
888
|
}
|
|
887
889
|
else {
|
|
888
890
|
return void 0;
|
|
@@ -893,7 +895,7 @@ export function head(array) {
|
|
|
893
895
|
throw new Error("The input array was empty\\nParameter name: array");
|
|
894
896
|
}
|
|
895
897
|
else {
|
|
896
|
-
return array
|
|
898
|
+
return item_2(0, array);
|
|
897
899
|
}
|
|
898
900
|
}
|
|
899
901
|
export function tryHead(array) {
|
|
@@ -901,7 +903,7 @@ export function tryHead(array) {
|
|
|
901
903
|
return void 0;
|
|
902
904
|
}
|
|
903
905
|
else {
|
|
904
|
-
return some(array
|
|
906
|
+
return some(item_2(0, array));
|
|
905
907
|
}
|
|
906
908
|
}
|
|
907
909
|
export function tail(array) {
|
|
@@ -911,7 +913,20 @@ export function tail(array) {
|
|
|
911
913
|
return array.slice(1);
|
|
912
914
|
}
|
|
913
915
|
export function item(index, array) {
|
|
914
|
-
|
|
916
|
+
if ((index < 0) ? true : (index >= array.length)) {
|
|
917
|
+
throw new Error("Index was outside the bounds of the array.\\nParameter name: index");
|
|
918
|
+
}
|
|
919
|
+
else {
|
|
920
|
+
return array[index];
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
export function setItem(array, index, value) {
|
|
924
|
+
if ((index < 0) ? true : (index >= array.length)) {
|
|
925
|
+
throw new Error("Index was outside the bounds of the array.\\nParameter name: index");
|
|
926
|
+
}
|
|
927
|
+
else {
|
|
928
|
+
array[index] = value;
|
|
929
|
+
}
|
|
915
930
|
}
|
|
916
931
|
export function tryItem(index, array) {
|
|
917
932
|
if ((index < 0) ? true : (index >= array.length)) {
|
|
@@ -933,7 +948,7 @@ export function foldIndexed2(folder, state, array1, array2) {
|
|
|
933
948
|
throw new Error("Arrays have different lengths");
|
|
934
949
|
}
|
|
935
950
|
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
936
|
-
acc = folder(i, acc, array1
|
|
951
|
+
acc = folder(i, acc, item_2(i, array1), item_2(i, array2));
|
|
937
952
|
}
|
|
938
953
|
return acc;
|
|
939
954
|
}
|
|
@@ -947,7 +962,7 @@ export function foldBackIndexed2(folder, array1, array2, state) {
|
|
|
947
962
|
}
|
|
948
963
|
const size = array1.length | 0;
|
|
949
964
|
for (let i = 1; i <= size; i++) {
|
|
950
|
-
acc = folder(i - 1,
|
|
965
|
+
acc = folder(i - 1, item_2(size - i, array1), item_2(size - i, array2), acc);
|
|
951
966
|
}
|
|
952
967
|
return acc;
|
|
953
968
|
}
|
|
@@ -977,7 +992,7 @@ export function existsOffset(predicate_mut, array_mut, index_mut) {
|
|
|
977
992
|
if (index === array.length) {
|
|
978
993
|
return false;
|
|
979
994
|
}
|
|
980
|
-
else if (predicate(array
|
|
995
|
+
else if (predicate(item_2(index, array))) {
|
|
981
996
|
return true;
|
|
982
997
|
}
|
|
983
998
|
else {
|
|
@@ -998,7 +1013,7 @@ export function existsOffset2(predicate_mut, array1_mut, array2_mut, index_mut)
|
|
|
998
1013
|
if (index === array1.length) {
|
|
999
1014
|
return false;
|
|
1000
1015
|
}
|
|
1001
|
-
else if (predicate(array1
|
|
1016
|
+
else if (predicate(item_2(index, array1), item_2(index, array2))) {
|
|
1002
1017
|
return true;
|
|
1003
1018
|
}
|
|
1004
1019
|
else {
|
|
@@ -1020,14 +1035,14 @@ export function exists2(predicate, array1, array2) {
|
|
|
1020
1035
|
export function sum(array, adder) {
|
|
1021
1036
|
let acc = adder.GetZero();
|
|
1022
1037
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1023
|
-
acc = adder.Add(acc, array
|
|
1038
|
+
acc = adder.Add(acc, item_2(i, array));
|
|
1024
1039
|
}
|
|
1025
1040
|
return acc;
|
|
1026
1041
|
}
|
|
1027
1042
|
export function sumBy(projection, array, adder) {
|
|
1028
1043
|
let acc = adder.GetZero();
|
|
1029
1044
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1030
|
-
acc = adder.Add(acc, projection(array
|
|
1045
|
+
acc = adder.Add(acc, projection(item_2(i, array)));
|
|
1031
1046
|
}
|
|
1032
1047
|
return acc;
|
|
1033
1048
|
}
|
|
@@ -1049,7 +1064,7 @@ export function average(array, averager) {
|
|
|
1049
1064
|
}
|
|
1050
1065
|
let total = averager.GetZero();
|
|
1051
1066
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1052
|
-
total = averager.Add(total, array
|
|
1067
|
+
total = averager.Add(total, item_2(i, array));
|
|
1053
1068
|
}
|
|
1054
1069
|
return averager.DivideByInt(total, array.length);
|
|
1055
1070
|
}
|
|
@@ -1059,7 +1074,7 @@ export function averageBy(projection, array, averager) {
|
|
|
1059
1074
|
}
|
|
1060
1075
|
let total = averager.GetZero();
|
|
1061
1076
|
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1062
|
-
total = averager.Add(total, projection(array
|
|
1077
|
+
total = averager.Add(total, projection(item_2(i, array)));
|
|
1063
1078
|
}
|
|
1064
1079
|
return averager.DivideByInt(total, array.length);
|
|
1065
1080
|
}
|
|
@@ -1071,7 +1086,7 @@ export function windowed(windowSize, source) {
|
|
|
1071
1086
|
const len = max_1(0, (source.length - windowSize) + 1) | 0;
|
|
1072
1087
|
res = (new Array(len));
|
|
1073
1088
|
for (let i = windowSize; i <= source.length; i++) {
|
|
1074
|
-
res
|
|
1089
|
+
setItem_1(res, i - windowSize, source.slice(i - windowSize, (i - 1) + 1));
|
|
1075
1090
|
}
|
|
1076
1091
|
return res;
|
|
1077
1092
|
}
|
|
@@ -1104,16 +1119,16 @@ export function transpose(arrays, cons) {
|
|
|
1104
1119
|
return new Array(0);
|
|
1105
1120
|
}
|
|
1106
1121
|
else {
|
|
1107
|
-
const firstArray = arrays_1
|
|
1122
|
+
const firstArray = item_2(0, arrays_1);
|
|
1108
1123
|
const lenInner = firstArray.length | 0;
|
|
1109
1124
|
if (!forAll((a) => (a.length === lenInner), arrays_1)) {
|
|
1110
1125
|
differentLengths();
|
|
1111
1126
|
}
|
|
1112
1127
|
const result = new Array(lenInner);
|
|
1113
1128
|
for (let i = 0; i <= (lenInner - 1); i++) {
|
|
1114
|
-
result
|
|
1129
|
+
setItem_1(result, i, Helpers_allocateArrayFromCons(cons, len));
|
|
1115
1130
|
for (let j = 0; j <= (len - 1); j++) {
|
|
1116
|
-
result[
|
|
1131
|
+
item_2(i, result)[j] = item_2(i, item_2(j, arrays_1));
|
|
1117
1132
|
}
|
|
1118
1133
|
}
|
|
1119
1134
|
return result;
|
|
@@ -1126,11 +1141,11 @@ export function insertAt(index, y, xs, cons) {
|
|
|
1126
1141
|
}
|
|
1127
1142
|
const target = Helpers_allocateArrayFromCons(cons, len + 1);
|
|
1128
1143
|
for (let i = 0; i <= (index - 1); i++) {
|
|
1129
|
-
target
|
|
1144
|
+
setItem_1(target, i, item_2(i, xs));
|
|
1130
1145
|
}
|
|
1131
|
-
target
|
|
1146
|
+
setItem_1(target, index, y);
|
|
1132
1147
|
for (let i_1 = index; i_1 <= (len - 1); i_1++) {
|
|
1133
|
-
target
|
|
1148
|
+
setItem_1(target, i_1 + 1, item_2(i_1, xs));
|
|
1134
1149
|
}
|
|
1135
1150
|
return target;
|
|
1136
1151
|
}
|
|
@@ -1143,13 +1158,13 @@ export function insertManyAt(index, ys, xs, cons) {
|
|
|
1143
1158
|
const len2 = ys_1.length | 0;
|
|
1144
1159
|
const target = Helpers_allocateArrayFromCons(cons, len + len2);
|
|
1145
1160
|
for (let i = 0; i <= (index - 1); i++) {
|
|
1146
|
-
target
|
|
1161
|
+
setItem_1(target, i, item_2(i, xs));
|
|
1147
1162
|
}
|
|
1148
1163
|
for (let i_1 = 0; i_1 <= (len2 - 1); i_1++) {
|
|
1149
|
-
target
|
|
1164
|
+
setItem_1(target, index + i_1, item_2(i_1, ys_1));
|
|
1150
1165
|
}
|
|
1151
1166
|
for (let i_2 = index; i_2 <= (len - 1); i_2++) {
|
|
1152
|
-
target
|
|
1167
|
+
setItem_1(target, i_2 + len2, item_2(i_2, xs));
|
|
1153
1168
|
}
|
|
1154
1169
|
return target;
|
|
1155
1170
|
}
|
|
@@ -1198,7 +1213,30 @@ export function updateAt(index, y, xs, cons) {
|
|
|
1198
1213
|
}
|
|
1199
1214
|
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
1200
1215
|
for (let i = 0; i <= (len - 1); i++) {
|
|
1201
|
-
target
|
|
1216
|
+
setItem_1(target, i, (i === index) ? y : item_2(i, xs));
|
|
1202
1217
|
}
|
|
1203
1218
|
return target;
|
|
1204
1219
|
}
|
|
1220
|
+
export function resize(xs, newSize, zero, cons) {
|
|
1221
|
+
let array, array_1, start_2, count_2;
|
|
1222
|
+
if (newSize < 0) {
|
|
1223
|
+
throw new Error("The input must be non-negative.\\nParameter name: newSize");
|
|
1224
|
+
}
|
|
1225
|
+
const zero_1 = defaultArg(zero, defaultOf());
|
|
1226
|
+
if (xs.contents == null) {
|
|
1227
|
+
xs.contents = ((array = Helpers_allocateArrayFromCons(cons, newSize), array.fill(zero_1, 0, (0 + newSize))));
|
|
1228
|
+
}
|
|
1229
|
+
else {
|
|
1230
|
+
const len = xs.contents.length | 0;
|
|
1231
|
+
if (newSize < len) {
|
|
1232
|
+
xs.contents = ((array_1 = xs.contents, array_1.slice(0, (0 + newSize))));
|
|
1233
|
+
}
|
|
1234
|
+
else if (newSize > len) {
|
|
1235
|
+
const target = Helpers_allocateArrayFromCons(cons, newSize);
|
|
1236
|
+
if (len > 0) {
|
|
1237
|
+
copyTo(xs.contents, 0, target, 0, len);
|
|
1238
|
+
}
|
|
1239
|
+
xs.contents = ((start_2 = (len | 0), (count_2 = ((newSize - len) | 0), target.fill(zero_1, start_2, (start_2 + count_2)))));
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|