@loaders.gl/geospatial 5.0.0-beta.10 → 5.0.0-beta.11
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/dist/dbf-loader-types.cjs +1 -1
- package/dist/dbf-loader.cjs +2 -4
- package/dist/dbf-loader.cjs.map +2 -2
- package/dist/dbf-worker.js +22 -79
- package/dist/flatgeobuf/flatgeobuf-loader-types.cjs +1 -1
- package/dist/flatgeobuf/flatgeobuf-loader-types.js +1 -1
- package/dist/flatgeobuf/lib/parse-flatgeobuf.cjs +6 -20
- package/dist/flatgeobuf/lib/parse-flatgeobuf.cjs.map +2 -2
- package/dist/flatgeobuf/lib/parse-flatgeobuf.d.ts +4 -4
- package/dist/flatgeobuf/lib/parse-flatgeobuf.d.ts.map +1 -1
- package/dist/flatgeobuf/lib/parse-flatgeobuf.js +9 -22
- package/dist/flatgeobuf/lib/parse-flatgeobuf.js.map +1 -1
- package/dist/flatgeobuf-loader-types.cjs +1 -1
- package/dist/flatgeobuf-worker.js +655 -77
- package/dist/geopackage/geopackage-source-loader.cjs +1 -1
- package/dist/geopackage/geopackage-source-loader.cjs.map +2 -2
- package/dist/geopackage/geopackage-source-loader.js +1 -1
- package/dist/geopackage/geopackage-source-loader.js.map +1 -1
- package/dist/geopackage/lib/parse-geopackage.cjs +2 -6
- package/dist/geopackage/lib/parse-geopackage.cjs.map +2 -2
- package/dist/geopackage/lib/parse-geopackage.d.ts +3 -3
- package/dist/geopackage/lib/parse-geopackage.d.ts.map +1 -1
- package/dist/geopackage/lib/parse-geopackage.js +2 -6
- package/dist/geopackage/lib/parse-geopackage.js.map +1 -1
- package/dist/geopackage-source-loader.cjs +1 -1
- package/dist/geopackage-source-loader.cjs.map +2 -2
- package/dist/gpx-loader-types.cjs +1 -1
- package/dist/kml/gpx-loader-types.cjs +1 -1
- package/dist/kml/gpx-loader-types.js +1 -1
- package/dist/kml/kml-loader-types.cjs +1 -1
- package/dist/kml/kml-loader-types.js +1 -1
- package/dist/kml/kml-writer.cjs +1 -1
- package/dist/kml/kml-writer.js +1 -1
- package/dist/kml/kmz-loader-types.cjs +1 -1
- package/dist/kml/kmz-loader-types.js +1 -1
- package/dist/kml/lib/feature-collection-to-arrow.cjs +1 -1
- package/dist/kml/lib/feature-collection-to-arrow.cjs.map +2 -2
- package/dist/kml/lib/feature-collection-to-arrow.js +1 -1
- package/dist/kml/lib/feature-collection-to-arrow.js.map +1 -1
- package/dist/kml/tcx-loader-types.cjs +1 -1
- package/dist/kml/tcx-loader-types.js +1 -1
- package/dist/kml-loader-types.cjs +1 -1
- package/dist/kml-writer.cjs +1 -1
- package/dist/kmz-loader-types.cjs +1 -1
- package/dist/shapefile/dbf-loader-types.cjs +1 -1
- package/dist/shapefile/dbf-loader-types.js +1 -1
- package/dist/shapefile/dbf-loader.cjs +2 -4
- package/dist/shapefile/dbf-loader.cjs.map +2 -2
- package/dist/shapefile/dbf-loader.d.ts.map +1 -1
- package/dist/shapefile/dbf-loader.js +3 -5
- package/dist/shapefile/dbf-loader.js.map +1 -1
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.cjs +1 -5
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.cjs.map +2 -2
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.d.ts +5 -4
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.d.ts.map +1 -1
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.js +2 -6
- package/dist/shapefile/lib/parsers/build-geoarrow-geometry-arrow.js.map +1 -1
- package/dist/shapefile/lib/parsers/build-wkb-geometry-arrow.cjs.map +2 -2
- package/dist/shapefile/lib/parsers/build-wkb-geometry-arrow.d.ts +4 -3
- package/dist/shapefile/lib/parsers/build-wkb-geometry-arrow.d.ts.map +1 -1
- package/dist/shapefile/lib/parsers/build-wkb-geometry-arrow.js.map +1 -1
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.cjs +7 -10
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.cjs.map +2 -2
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.d.ts +3 -3
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.d.ts.map +1 -1
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.js +11 -9
- package/dist/shapefile/lib/parsers/parse-shp-to-arrow.js.map +1 -1
- package/dist/shapefile/lib/shapefile-worker-transport.cjs +0 -3
- package/dist/shapefile/lib/shapefile-worker-transport.cjs.map +2 -2
- package/dist/shapefile/lib/shapefile-worker-transport.d.ts.map +1 -1
- package/dist/shapefile/lib/shapefile-worker-transport.js +1 -5
- package/dist/shapefile/lib/shapefile-worker-transport.js.map +1 -1
- package/dist/shapefile/shapefile-arrow-loader.cjs +53 -48
- package/dist/shapefile/shapefile-arrow-loader.cjs.map +2 -2
- package/dist/shapefile/shapefile-arrow-loader.d.ts +5 -3
- package/dist/shapefile/shapefile-arrow-loader.d.ts.map +1 -1
- package/dist/shapefile/shapefile-arrow-loader.js +54 -52
- package/dist/shapefile/shapefile-arrow-loader.js.map +1 -1
- package/dist/shapefile/shapefile-loader-types.cjs +1 -1
- package/dist/shapefile/shapefile-loader-types.d.ts +4 -4
- package/dist/shapefile/shapefile-loader-types.js +1 -1
- package/dist/shapefile/shapefile-loader.cjs +19 -55
- package/dist/shapefile/shapefile-loader.cjs.map +2 -2
- package/dist/shapefile/shapefile-loader.d.ts +5 -42
- package/dist/shapefile/shapefile-loader.d.ts.map +1 -1
- package/dist/shapefile/shapefile-loader.js +22 -64
- package/dist/shapefile/shapefile-loader.js.map +1 -1
- package/dist/shapefile/shp-loader-types.cjs +1 -1
- package/dist/shapefile/shp-loader-types.js +1 -1
- package/dist/shapefile/shp-loader.cjs +1 -44
- package/dist/shapefile/shp-loader.cjs.map +2 -2
- package/dist/shapefile/shp-loader.d.ts +1 -115
- package/dist/shapefile/shp-loader.d.ts.map +1 -1
- package/dist/shapefile/shp-loader.js +1 -48
- package/dist/shapefile/shp-loader.js.map +1 -1
- package/dist/shapefile-arrow-loader.cjs +53 -48
- package/dist/shapefile-arrow-loader.cjs.map +2 -2
- package/dist/shapefile-loader-types.cjs +1 -1
- package/dist/shapefile-loader.cjs +19 -55
- package/dist/shapefile-loader.cjs.map +2 -2
- package/dist/shapefile-worker.js +117 -272
- package/dist/shp-loader-types.cjs +1 -1
- package/dist/shp-loader.cjs +1 -44
- package/dist/shp-loader.cjs.map +2 -2
- package/dist/shp-worker.js +16964 -17085
- package/dist/tcx-loader-types.cjs +1 -1
- package/dist/wkt/lib/version.cjs +1 -1
- package/dist/wkt/lib/version.js +1 -1
- package/dist/wkt-worker.js +1 -1
- package/dist/workers/shapefile-worker.cjs +3 -3
- package/dist/workers/shapefile-worker.cjs.map +2 -2
- package/dist/workers/shapefile-worker.js +4 -4
- package/dist/workers/shapefile-worker.js.map +1 -1
- package/dist/workers/shp-worker.cjs +1 -1
- package/dist/workers/shp-worker.cjs.map +2 -2
- package/dist/workers/shp-worker.js +2 -2
- package/dist/workers/shp-worker.js.map +1 -1
- package/package.json +6 -6
- package/src/flatgeobuf/lib/parse-flatgeobuf.ts +15 -33
- package/src/geopackage/geopackage-source-loader.ts +1 -1
- package/src/geopackage/lib/parse-geopackage.ts +4 -9
- package/src/kml/lib/feature-collection-to-arrow.ts +1 -1
- package/src/shapefile/dbf-loader.ts +4 -7
- package/src/shapefile/lib/parsers/build-geoarrow-geometry-arrow.ts +5 -9
- package/src/shapefile/lib/parsers/build-wkb-geometry-arrow.ts +4 -3
- package/src/shapefile/lib/parsers/parse-shp-to-arrow.ts +14 -20
- package/src/shapefile/lib/shapefile-worker-transport.ts +1 -6
- package/src/shapefile/shapefile-arrow-loader.ts +76 -70
- package/src/shapefile/shapefile-loader.ts +40 -90
- package/src/shapefile/shp-loader.ts +7 -61
- package/src/workers/shapefile-worker.ts +4 -4
- package/src/workers/shp-worker.ts +2 -2
|
@@ -20,7 +20,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/shapefile-loader.ts
|
|
21
21
|
var shapefile_loader_exports = {};
|
|
22
22
|
__export(shapefile_loader_exports, {
|
|
23
|
-
ShapefileColumnLoader: () => ShapefileColumnLoader,
|
|
24
23
|
ShapefileLoaderWithParser: () => ShapefileLoaderWithParser
|
|
25
24
|
});
|
|
26
25
|
module.exports = __toCommonJS(shapefile_loader_exports);
|
|
@@ -33,24 +32,32 @@ var import_shapefile_arrow_loader = require("./shapefile-arrow-loader.cjs");
|
|
|
33
32
|
var import_shapefile_loader_types = require("./shapefile-loader-types.cjs");
|
|
34
33
|
var import_shapefile_worker_transport = require("./lib/shapefile-worker-transport.cjs");
|
|
35
34
|
var { preload: _ShapefileLoaderPreload, ...ShapefileLoaderMetadataWithoutPreload } = import_shapefile_loader_types.ShapefileLoader;
|
|
36
|
-
var
|
|
35
|
+
var ShapefileLoaderWithParser = {
|
|
37
36
|
...ShapefileLoaderMetadataWithoutPreload,
|
|
38
37
|
dataType: null,
|
|
39
38
|
batchType: null,
|
|
40
39
|
parse: (arrayBuffer, options, context) => getShapefileShape(options) === "arrow" ? (0, import_shapefile_arrow_loader.parseShapefileToArrow)(arrayBuffer, options, context) : (0, import_parse_shapefile.parseShapefile)(arrayBuffer, options, context),
|
|
41
40
|
parseInBatches: (asyncIterator, options, context) => getShapefileShape(options) === "arrow" ? (0, import_shapefile_arrow_loader.parseShapefileToArrowInBatches)(asyncIterator, options, context) : (0, import_parse_shapefile.parseShapefileInBatches)(asyncIterator, options, context),
|
|
42
41
|
serializeWorkerResult: import_shapefile_worker_transport.serializeShapefileWorkerResult,
|
|
43
|
-
deserializeWorkerResult: deserializeShapefileOutput,
|
|
42
|
+
deserializeWorkerResult: (result, options) => deserializeShapefileOutput(result, options, false),
|
|
44
43
|
serializeWorkerBatch: import_shapefile_worker_transport.serializeShapefileWorkerBatch,
|
|
45
|
-
deserializeWorkerBatch: deserializeShapefileOutput
|
|
44
|
+
deserializeWorkerBatch: (result, options) => deserializeShapefileOutput(result, options, true)
|
|
46
45
|
};
|
|
47
46
|
function getShapefileShape(options) {
|
|
48
47
|
return options?.shapefile?.shape || "arrow";
|
|
49
48
|
}
|
|
50
|
-
function deserializeShapefileOutput(result, options) {
|
|
49
|
+
function deserializeShapefileOutput(result, options, isBatch) {
|
|
51
50
|
const table = (0, import_shapefile_worker_transport.deserializeShapefileWorkerResult)(result);
|
|
52
51
|
if (getShapefileShape(options) === "arrow") return table;
|
|
53
|
-
const
|
|
52
|
+
const header = JSON.parse(table.schema.metadata.get(import_shapefile_arrow_loader.SHAPEFILE_HEADER_KEY) || "{}");
|
|
53
|
+
const loaderData = header.shx ? {
|
|
54
|
+
...header,
|
|
55
|
+
shx: {
|
|
56
|
+
offsets: Int32Array.from(header.shx.offsets),
|
|
57
|
+
lengths: Int32Array.from(header.shx.lengths)
|
|
58
|
+
}
|
|
59
|
+
} : header;
|
|
60
|
+
const features = table.toArray().map((row) => {
|
|
54
61
|
const { geometry, ...properties } = row.toJSON();
|
|
55
62
|
return {
|
|
56
63
|
type: "Feature",
|
|
@@ -58,67 +65,24 @@ function deserializeShapefileOutput(result, options) {
|
|
|
58
65
|
properties
|
|
59
66
|
};
|
|
60
67
|
});
|
|
61
|
-
if (getShapefileShape(options) === "geojson-table" && !
|
|
68
|
+
if (getShapefileShape(options) === "geojson-table" && !isBatch) {
|
|
62
69
|
return {
|
|
63
|
-
...
|
|
70
|
+
...loaderData,
|
|
64
71
|
shape: "geojson-table",
|
|
65
72
|
type: "FeatureCollection",
|
|
66
73
|
schema: {
|
|
67
|
-
fields: table.schema
|
|
74
|
+
fields: (0, import_schema_utils.convertArrowToSchema)(table.schema).fields.filter(
|
|
75
|
+
(field) => field.name !== "geometry"
|
|
76
|
+
),
|
|
68
77
|
metadata: {}
|
|
69
78
|
},
|
|
70
79
|
features
|
|
71
80
|
};
|
|
72
81
|
}
|
|
73
|
-
return { ...
|
|
74
|
-
}
|
|
75
|
-
var ShapefileLoaderWithParser = {
|
|
76
|
-
...ShapefileColumnLoader,
|
|
77
|
-
dataType: null,
|
|
78
|
-
batchType: null,
|
|
79
|
-
async parse(input, options, context) {
|
|
80
|
-
return unwrapShapefileTable(await ShapefileColumnLoader.parse(input, options, context));
|
|
81
|
-
},
|
|
82
|
-
async *parseInBatches(input, options, context) {
|
|
83
|
-
for await (const batch of ShapefileColumnLoader.parseInBatches(input, options, context)) {
|
|
84
|
-
if (isShapefileArrowTable(batch)) {
|
|
85
|
-
const table = unwrapShapefileTable(batch);
|
|
86
|
-
if (table.batches.length) yield* table.batches;
|
|
87
|
-
else yield (0, import_schema_utils.makeArrowMetadataBatch)(table.schema);
|
|
88
|
-
} else yield batch;
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
deserializeWorkerResult(result, options) {
|
|
92
|
-
return unwrapShapefileTable(deserializeShapefileOutput(result, options));
|
|
93
|
-
},
|
|
94
|
-
deserializeWorkerBatch(result, options) {
|
|
95
|
-
const batch = deserializeShapefileOutput(result, options);
|
|
96
|
-
if (!isShapefileArrowTable(batch)) return batch;
|
|
97
|
-
const table = unwrapShapefileTable(batch);
|
|
98
|
-
return table.batches[0] ?? (0, import_schema_utils.makeArrowMetadataBatch)(table.schema);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
function isShapefileArrowTable(result) {
|
|
102
|
-
return result?.shape === "arrow-table";
|
|
103
|
-
}
|
|
104
|
-
function unwrapShapefileTable(result) {
|
|
105
|
-
if (!isShapefileArrowTable(result)) return result;
|
|
106
|
-
const loaderData = result.loaderData;
|
|
107
|
-
if (loaderData) {
|
|
108
|
-
const { shx, ...header } = loaderData;
|
|
109
|
-
const metadata = JSON.stringify({
|
|
110
|
-
...header,
|
|
111
|
-
...shx ? { shx: { offsets: Array.from(shx.offsets), lengths: Array.from(shx.lengths) } } : {}
|
|
112
|
-
});
|
|
113
|
-
result.data.schema.metadata.set("loaders.gl.shapefile.header", metadata);
|
|
114
|
-
for (const batch of result.data.batches)
|
|
115
|
-
batch.schema.metadata.set("loaders.gl.shapefile.header", metadata);
|
|
116
|
-
}
|
|
117
|
-
return result.data;
|
|
82
|
+
return { ...loaderData, data: features };
|
|
118
83
|
}
|
|
119
84
|
// Annotate the CommonJS export names for ESM import in node:
|
|
120
85
|
0 && (module.exports = {
|
|
121
|
-
ShapefileColumnLoader,
|
|
122
86
|
ShapefileLoaderWithParser
|
|
123
87
|
});
|
|
124
88
|
//# sourceMappingURL=shapefile-loader.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/shapefile-loader.ts", "../src/shapefile/shapefile-loader.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './shapefile/shapefile-loader.js';\n", "import {convertWKBToGeometry} from '@loaders.gl/core/arrow-geometry/geometry-codecs';\n// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {Table, RecordBatch} from 'apache-arrow';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA
|
|
4
|
+
"sourcesContent": ["export * from './shapefile/shapefile-loader.js';\n", "import {convertWKBToGeometry} from '@loaders.gl/core/arrow-geometry/geometry-codecs';\n// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {Table, RecordBatch} from 'apache-arrow';\nimport {convertArrowToSchema} from '@loaders.gl/core/schema-utils';\nimport type {StrictLoaderOptions, LoaderWithParser} from '@loaders.gl/core/loader-utils';\nimport type {Batch, GeoArrowEncodingPreference, GeoJSONTable} from '@loaders.gl/core/schema';\nimport {SHPLoaderOptions} from './shp-loader-types';\nimport {\n parseShapefile,\n parseShapefileInBatches,\n type ShapefileOutput\n} from './lib/parsers/parse-shapefile';\nimport {DBFLoaderOptions} from './dbf-loader-types';\nimport type {SHPGeoArrowEncoding} from './lib/parsers/types';\nimport {\n parseShapefileToArrow,\n parseShapefileToArrowInBatches,\n SHAPEFILE_HEADER_KEY\n} from './shapefile-arrow-loader';\nimport {ShapefileLoader as ShapefileLoaderMetadata} from './shapefile-loader-types';\nimport {\n deserializeShapefileWorkerResult,\n serializeShapefileWorkerBatch,\n serializeShapefileWorkerResult\n} from './lib/shapefile-worker-transport';\n\nconst {preload: _ShapefileLoaderPreload, ...ShapefileLoaderMetadataWithoutPreload} =\n ShapefileLoaderMetadata;\n\nexport type ShapefileLoaderOptions = StrictLoaderOptions &\n SHPLoaderOptions &\n DBFLoaderOptions & {\n /** Preferred encoding for Arrow geometry output. */\n geoarrow?: {encodingPreference?: GeoArrowEncodingPreference};\n shapefile?: {\n /** Overrides the browser worker bundle URL. */\n workerUrl?: string;\n shape?: 'geojson-table' | 'arrow' | 'v3';\n geoarrowEncoding?: SHPGeoArrowEncoding;\n /** Preferred encoding for Arrow geometry output. */\n geoarrow?: {encodingPreference?: GeoArrowEncodingPreference};\n batchSize?: number;\n };\n gis?: import('@loaders.gl/core/loader-utils').CRSReprojectionOptions;\n };\n\n/**\n * Shapefile loader\n * @note Shapefile is multifile format and requires providing additional files\n */\nexport const ShapefileLoaderWithParser = {\n ...ShapefileLoaderMetadataWithoutPreload,\n dataType: null as unknown as ShapefileOutput | GeoJSONTable | Table,\n batchType: null as unknown as ShapefileOutput | Batch | RecordBatch,\n parse: (arrayBuffer, options, context) =>\n getShapefileShape(options) === 'arrow'\n ? parseShapefileToArrow(arrayBuffer, options, context)\n : parseShapefile(arrayBuffer, options, context),\n parseInBatches: (asyncIterator, options, context) =>\n getShapefileShape(options) === 'arrow'\n ? parseShapefileToArrowInBatches(asyncIterator, options, context)\n : parseShapefileInBatches(asyncIterator, options, context),\n serializeWorkerResult: serializeShapefileWorkerResult,\n deserializeWorkerResult: (result, options) => deserializeShapefileOutput(result, options, false),\n serializeWorkerBatch: serializeShapefileWorkerBatch,\n deserializeWorkerBatch: (result, options) => deserializeShapefileOutput(result, options, true)\n} as const satisfies LoaderWithParser<\n ShapefileOutput | GeoJSONTable | Table,\n ShapefileOutput | Batch | RecordBatch,\n ShapefileLoaderOptions\n>;\n\nfunction getShapefileShape(\n options?: ShapefileLoaderOptions\n): NonNullable<ShapefileLoaderOptions['shapefile']>['shape'] {\n return options?.shapefile?.shape || 'arrow';\n}\n\n/** Materializes requested GeoJSON features from native worker columns on the caller. */\nfunction deserializeShapefileOutput(\n result: unknown,\n options: ShapefileLoaderOptions | undefined,\n isBatch: boolean\n): any {\n const table = deserializeShapefileWorkerResult<Table | RecordBatch>(result);\n if (getShapefileShape(options) === 'arrow') return table;\n\n const header = JSON.parse(table.schema.metadata.get(SHAPEFILE_HEADER_KEY) || '{}');\n const loaderData = header.shx\n ? {\n ...header,\n shx: {\n offsets: Int32Array.from(header.shx.offsets),\n lengths: Int32Array.from(header.shx.lengths)\n }\n }\n : header;\n const features = table.toArray().map(row => {\n const {geometry, ...properties} = row!.toJSON();\n return {\n type: 'Feature',\n geometry: geometry ? convertWKBToGeometry(geometry.slice().buffer) : null,\n properties\n };\n });\n if (getShapefileShape(options) === 'geojson-table' && !isBatch) {\n return {\n ...loaderData,\n shape: 'geojson-table',\n type: 'FeatureCollection',\n schema: {\n fields: convertArrowToSchema(table.schema).fields.filter(\n field => field.name !== 'geometry'\n ),\n metadata: {}\n },\n features\n };\n }\n return {...loaderData, data: features};\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,6BAAmC;AAMnC,0BAAmC;AAInC,6BAIO;AAGP,oCAIO;AACP,oCAAyD;AACzD,wCAIO;AAEP,IAAM,EAAC,SAAS,yBAAyB,GAAG,sCAAqC,IAC/E,8BAAAA;AAuBK,IAAM,4BAA4B;AAAA,EACvC,GAAG;AAAA,EACH,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO,CAAC,aAAa,SAAS,YAC5B,kBAAkB,OAAO,MAAM,cAC3B,qDAAsB,aAAa,SAAS,OAAO,QACnD,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