@ac-kit/math-grid 0.4.0 → 0.5.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/README.md +97 -3
  3. package/dist/_brand.d.ts +14 -0
  4. package/dist/_brand.d.ts.map +1 -0
  5. package/dist/_brand.js +2 -0
  6. package/dist/_brand.js.map +1 -0
  7. package/dist/_coverage-contour2.d.ts +8 -1
  8. package/dist/_coverage-contour2.d.ts.map +1 -1
  9. package/dist/_coverage-contour2.js +477 -79
  10. package/dist/_coverage-contour2.js.map +1 -1
  11. package/dist/_grid-offsets2.d.ts +15 -0
  12. package/dist/_grid-offsets2.d.ts.map +1 -0
  13. package/dist/_grid-offsets2.js +53 -0
  14. package/dist/_grid-offsets2.js.map +1 -0
  15. package/dist/_nearest-site-propagation2.d.ts +1 -1
  16. package/dist/_nearest-site-propagation2.d.ts.map +1 -1
  17. package/dist/_nearest-site-propagation2.js +215 -59
  18. package/dist/_nearest-site-propagation2.js.map +1 -1
  19. package/dist/breadth-first-grid2.d.ts +65 -0
  20. package/dist/breadth-first-grid2.d.ts.map +1 -0
  21. package/dist/breadth-first-grid2.js +116 -0
  22. package/dist/breadth-first-grid2.js.map +1 -0
  23. package/dist/flood-fill2.d.ts +39 -0
  24. package/dist/flood-fill2.d.ts.map +1 -0
  25. package/dist/flood-fill2.js +76 -0
  26. package/dist/flood-fill2.js.map +1 -0
  27. package/dist/grid-neighbors2.d.ts +45 -0
  28. package/dist/grid-neighbors2.d.ts.map +1 -0
  29. package/dist/grid-neighbors2.js +45 -0
  30. package/dist/grid-neighbors2.js.map +1 -0
  31. package/dist/index.d.ts +6 -0
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +6 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/max-rects-pack.d.ts +90 -0
  36. package/dist/max-rects-pack.d.ts.map +1 -0
  37. package/dist/max-rects-pack.js +310 -0
  38. package/dist/max-rects-pack.js.map +1 -0
  39. package/dist/rasterize-line2.d.ts +33 -0
  40. package/dist/rasterize-line2.d.ts.map +1 -0
  41. package/dist/rasterize-line2.js +103 -0
  42. package/dist/rasterize-line2.js.map +1 -0
  43. package/dist/signed-distance-from-coverage2.d.ts.map +1 -1
  44. package/dist/signed-distance-from-coverage2.js +147 -59
  45. package/dist/signed-distance-from-coverage2.js.map +1 -1
  46. package/dist/tile/_tile-matrix.d.ts +33 -0
  47. package/dist/tile/_tile-matrix.d.ts.map +1 -0
  48. package/dist/tile/_tile-matrix.js +186 -0
  49. package/dist/tile/_tile-matrix.js.map +1 -0
  50. package/dist/tile/index.d.ts +8 -0
  51. package/dist/tile/index.d.ts.map +1 -0
  52. package/dist/tile/index.js +8 -0
  53. package/dist/tile/index.js.map +1 -0
  54. package/dist/tile/quadkey.d.ts +30 -0
  55. package/dist/tile/quadkey.d.ts.map +1 -0
  56. package/dist/tile/quadkey.js +91 -0
  57. package/dist/tile/quadkey.js.map +1 -0
  58. package/dist/tile/tile-address.d.ts +91 -0
  59. package/dist/tile/tile-address.d.ts.map +1 -0
  60. package/dist/tile/tile-address.js +228 -0
  61. package/dist/tile/tile-address.js.map +1 -0
  62. package/dist/tile/tile-index.d.ts +26 -0
  63. package/dist/tile/tile-index.d.ts.map +1 -0
  64. package/dist/tile/tile-index.js +2 -0
  65. package/dist/tile/tile-index.js.map +1 -0
  66. package/dist/tile/tile-level.d.ts +24 -0
  67. package/dist/tile/tile-level.d.ts.map +1 -0
  68. package/dist/tile/tile-level.js +53 -0
  69. package/dist/tile/tile-level.js.map +1 -0
  70. package/dist/tile/tile-matrix-set-json.d.ts +67 -0
  71. package/dist/tile/tile-matrix-set-json.d.ts.map +1 -0
  72. package/dist/tile/tile-matrix-set-json.js +247 -0
  73. package/dist/tile/tile-matrix-set-json.js.map +1 -0
  74. package/dist/tile/tile-matrix-set.d.ts +174 -0
  75. package/dist/tile/tile-matrix-set.d.ts.map +1 -0
  76. package/dist/tile/tile-matrix-set.js +244 -0
  77. package/dist/tile/tile-matrix-set.js.map +1 -0
  78. package/dist/tile/tile-range.d.ts +57 -0
  79. package/dist/tile/tile-range.d.ts.map +1 -0
  80. package/dist/tile/tile-range.js +140 -0
  81. package/dist/tile/tile-range.js.map +1 -0
  82. package/package.json +10 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,89 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5c203e7: Grid algorithms over a `width × height` grid in row-major order, cells reached
8
+ through `(col, row)` callbacks:
9
+
10
+ - `gridNeighbors2(col, row, width, height, connectivity, visit)` visits the
11
+ neighbours on the grid; `GridConnectivity2` is `4`, `8`, or one of the four
12
+ hexagonal offset layouts (`"hex-odd-r"`, `"hex-even-r"`, `"hex-odd-q"`,
13
+ `"hex-even-q"`).
14
+ - `floodFill2(out, width, height, col, row, inside, connectivity?)` marks the
15
+ connected region in a `Uint8Array` mask and returns how many cells it filled;
16
+ marked cells are neither tested nor entered.
17
+ - `breadthFirstGrid2(width, height, col, row, passable, connectivity?)` returns
18
+ the fewest steps to every cell and each cell's predecessor
19
+ (`GridBreadthFirst2`), and `gridPath2(search, col, row)` the path as cell
20
+ indices.
21
+ - `rasterizeLine2(fromCol, fromRow, toCol, toRow, visit)` is Bresenham's line,
22
+ the same cells whichever end it is drawn from.
23
+ - `maxRectsPack(bins, items, { heuristic, allowRotation })` packs rectangles
24
+ into bins with MaxRects' global best fit and five heuristics, returning each
25
+ item's placement (or `undefined`), each bin's occupancy and the fill ratio.
26
+ - 5c203e7: Tile pyramids: the tile matrix sets of OGC 17-083r4 (TMS 2.0) in any CRS, and
27
+ the tile queries over them. Depends on `@ac-kit/math-integer`.
28
+
29
+ - `tileMatrixSetCreate(spec)` makes a frozen `TileMatrixSet`: tile matrices
30
+ with their scale denominator, cell size, corner of origin (`"topLeft"` or
31
+ `"bottomLeft"`), point of origin, tile and matrix sizes and variable matrix
32
+ widths (coalesced rows), sorted coarsest first so a tile's `level` indexes
33
+ them; `tileMatrixSetLevelOf` finds a matrix by identifier. Coordinates are in
34
+ plane order `[x, y]`, x along the columns, whatever the CRS axis order.
35
+ - `tileMatrixSetFromJson(json, options?)` and `tileMatrixSetToJson(set)` read
36
+ and write the JSON encoding, swapping latitude-first coordinates by the axis
37
+ order of the option, `orderedAxes` or a well-known CRS (`RangeError` when it
38
+ cannot be known, `TypeError` for wrong JSON types).
39
+ - `tileAt`, `tileBounds`, `tileParent`, `tileChildren` and
40
+ `tileNeighbours(set, tile, visit, { wrap })` address tiles: half-open in index
41
+ space with the matrix's far edges closed, a coalesced tile spanning its group
42
+ and named by its first column, neighbours across coalesced rows.
43
+ - `tilesCoveringBox(set, level, box, { wrap, epsilon })` gives the tile ranges
44
+ a box overlaps (two across the antimeridian with `wrap`, edges snapped within
45
+ `TILE_EPSILON`), and `tileRangeForEach` and `tileRangeCount` enumerate and
46
+ count a `TileRange` in O(tiles).
47
+ - `tileLevelForResolution(set, cellSize, { rounding })` picks the nearest,
48
+ finer or coarser level; `tileRowFlip` and `tileMatrixSetWithCornerOfOrigin`
49
+ convert between the XYZ and TMS numberings; `tileQuadkey` and
50
+ `tileFromQuadkey` read and write Bing Maps quadkeys up to level 53;
51
+ `tileMatrixCoalescence` and `tileMatrixBounds` describe one matrix.
52
+ - A level, column or row outside the set throws `RangeError`; `NaN` in gives
53
+ `NaN` out. The queries allocate nothing but `tilesCoveringBox`'s ranges.
54
+
55
+ ### Patch Changes
56
+
57
+ - 5c203e7: Sped up `signedDistanceFromCoverage2` (~1.9× faster on 256 × 64 labels, down to
58
+ 1.07× the binary two-pass transform) by fusing the Sobel edge and residual
59
+ reads, iterating only contour site cells, storing splatted squared distances in
60
+ 32-bit floats in place, and adding half-plane and axis-aligned fast paths for
61
+ corner fitting and segment splatting while preserving exact-corner accuracy and
62
+ 0 B allocation with a caller scratch.
63
+ - Updated dependencies [5c203e7]
64
+ - Updated dependencies [5c203e7]
65
+ - Updated dependencies [5c203e7]
66
+ - Updated dependencies [5c203e7]
67
+ - Updated dependencies [5c203e7]
68
+ - Updated dependencies [5c203e7]
69
+ - Updated dependencies [5c203e7]
70
+ - Updated dependencies [5c203e7]
71
+ - Updated dependencies [5c203e7]
72
+ - Updated dependencies [5c203e7]
73
+ - Updated dependencies [5c203e7]
74
+ - Updated dependencies [5c203e7]
75
+ - Updated dependencies [5c203e7]
76
+ - Updated dependencies [5c203e7]
77
+ - Updated dependencies [5c203e7]
78
+ - Updated dependencies [5c203e7]
79
+ - Updated dependencies [5c203e7]
80
+ - Updated dependencies [5c203e7]
81
+ - @ac-kit/algo@0.7.0
82
+ - @ac-kit/core@0.14.0
83
+ - @ac-kit/math-geometry@0.5.0
84
+ - @ac-kit/math-integer@0.4.0
85
+ - @ac-kit/math-linear@0.5.0
86
+
3
87
  ## 0.4.0
4
88
 
5
89
  ### Minor Changes
package/README.md CHANGED
@@ -19,7 +19,7 @@ grid.getCell({ row: 1, col: 2 }); // "widget"
19
19
  ## Scope
20
20
 
21
21
  Geometry where positions are integers and cells are the unit of measurement —
22
- tile maps, bin packing, layout solvers, cellular automata.
22
+ tile maps, bin packing, layout solvers, cellular automata, tile pyramids.
23
23
 
24
24
  Continuous geometry lives in `@ac-kit/math-geometry`; the conversion functions
25
25
  between the two are here.
@@ -35,8 +35,8 @@ between the two are here.
35
35
 
36
36
  Plus `GridCoord2`, `GridSize2`, `GridRect2`, the conversions to and from
37
37
  continuous space (`vec2FromGridCoord2`, `box2FromGridRect2`,
38
- `gridRect2FromBox2`, …), and the tiling algorithms `findFrontierTilings` and
39
- `dfsPackGrid2`.
38
+ `gridRect2FromBox2`, …), the tiling algorithms `findFrontierTilings` and
39
+ `dfsPackGrid2`, and the OGC tile matrix sets of [tile pyramids](#tile-matrix-sets).
40
40
 
41
41
  ## Atlases and distance fields
42
42
 
@@ -59,6 +59,25 @@ atlas.occupancy; // 0
59
59
  A released rectangle's space is reused once every rectangle of its shelf is
60
60
  released; until then it is not.
61
61
 
62
+ `maxRectsPack(bins, items, { heuristic, allowRotation })` is the offline
63
+ packer: given every rectangle up front, it places them with MaxRects (Jylänki's
64
+ global best fit, five scoring heuristics, quarter turns on request) into the
65
+ bins in order, and reports each bin's occupancy and the overall fill ratio.
66
+
67
+ ```ts
68
+ import { maxRectsPack } from "@ac-kit/math-grid";
69
+
70
+ const { placements, fillRatio } = maxRectsPack(
71
+ [{ width: 256, height: 256 }],
72
+ [
73
+ { width: 128, height: 64 },
74
+ { width: 64, height: 200 },
75
+ ],
76
+ { heuristic: "best-short-side-fit", allowRotation: true },
77
+ );
78
+ placements[0]; // { bin: 0, x, y, rotated } — undefined for an item that fit no bin
79
+ ```
80
+
62
81
  `squaredDistanceTransform2` turns a grid of seeds (0 at a feature, `Infinity`
63
82
  far from any, or any other non-negative cost) into the exact squared distance
64
83
  to the nearest feature, cost included, in place, in O(width · height).
@@ -134,6 +153,81 @@ nearest(origin, cells, gridCoord2DistanceManhattan); // { row: 0, col: 5 }
134
153
  nearest(origin, cells, gridCoord2DistanceChebyshev); // { row: 3, col: 3 }
135
154
  ```
136
155
 
156
+ ## Neighbours, fills, searches and lines
157
+
158
+ These take a grid as its size, `width` columns by `height` rows, and read or
159
+ write cells in row-major order (`index = row · width + col`); the caller's
160
+ cells stay wherever they are, reached through callbacks of `(col, row)`.
161
+
162
+ | Function | What it does |
163
+ | ------------------------------------------------------------ | ---------------------------------------------------------------------------- |
164
+ | `gridNeighbors2(col, row, width, height, connectivity, visit)` | The neighbours on the grid: `4`, `8`, or six on a hexagonal grid (`"hex-odd-r"`, `"hex-even-r"`, `"hex-odd-q"`, `"hex-even-q"`) |
165
+ | `floodFill2(out, width, height, col, row, inside, connectivity?)` | Marks the region connected to a cell in a `Uint8Array` mask; marked cells bound later fills |
166
+ | `breadthFirstGrid2(width, height, col, row, passable, connectivity?)` | Fewest steps from a cell to every cell, with each cell's predecessor |
167
+ | `gridPath2(search, col, row)` | The shortest path that search found, as cell indices |
168
+ | `rasterizeLine2(fromCol, fromRow, toCol, toRow, visit)` | Bresenham's line, the same cells in both directions |
169
+
170
+ ```ts
171
+ import { breadthFirstGrid2, gridPath2 } from "@ac-kit/math-grid";
172
+
173
+ // A 3 × 3 grid with a wall in the top two cells of the middle column.
174
+ const search = breadthFirstGrid2(3, 3, 0, 0, (col, row) => !(col === 1 && row < 2));
175
+ gridPath2(search, 2, 0); // Int32Array [0, 3, 6, 7, 8, 5, 2] — down, across, up
176
+ ```
177
+
178
+ ## Tile matrix sets
179
+
180
+ The tile pyramids of web maps and image servers, as OGC 17-083r4 (_Two
181
+ Dimensional Tile Matrix Set_ 2.0) models them, in any CRS: a
182
+ `TileMatrixSet` is a list of tile matrices, each a grid of `matrixWidth ×
183
+ matrixHeight` tiles of `tileWidth × tileHeight` cells of `cellSize` CRS units,
184
+ numbered from a corner of origin (`"topLeft"`, the "XYZ" numbering, or
185
+ `"bottomLeft"`, the "TMS" one), with rows of coalesced tiles near the poles
186
+ where a set has variable matrix widths. `tileMatrixSetCreate(spec)` validates a
187
+ set and sorts its matrices coarsest first, so a tile's `level` is an index into
188
+ them; `tileMatrixSetFromJson` and `tileMatrixSetToJson` read and write the
189
+ standard's JSON encoding. WebMercatorQuad and WorldCRS84Quad themselves are in
190
+ `@ac-kit/math-map-projection`.
191
+
192
+ Coordinates are in plane order, `[x, y]` with x along the columns, whatever
193
+ order the CRS gives its axes: the JSON readers swap EPSG:4326's latitude-first
194
+ points, taking the order from `orderedAxes` or a well-known CRS.
195
+
196
+ | Function | Gives |
197
+ | ------------------------------------------- | ------------------------------------------------------------------------------------ |
198
+ | `tileAt(out, set, level, point)` | The tile holding a point; `NaN` outside the matrix |
199
+ | `tileBounds(out, set, tile)` | Its extent, `[minX, minY, maxX, maxY]` (OGC Annex I) |
200
+ | `tileParent`, `tileChildren` | The coarser tile holding its centre; the range of finer tiles inside it |
201
+ | `tileNeighbours(set, tile, visit, options)` | Every tile touching it, across coalesced rows, wrapping columns on request |
202
+ | `tilesCoveringBox(set, level, box, options)` | The ranges of tiles a box overlaps, split at the antimeridian with `wrap` |
203
+ | `tileRangeForEach`, `tileRangeCount` | The tiles of a range, each coalesced tile once, in O(tiles) |
204
+ | `tileLevelForResolution(set, cellSize)` | The level of the nearest, finer or coarser cell size |
205
+ | `tileRowFlip`, `tileMatrixSetWithCornerOfOrigin` | The XYZ ↔ TMS row flip, for one row or a whole set |
206
+ | `tileQuadkey`, `tileFromQuadkey` | Bing Maps quadkeys, to level 53, over `@ac-kit/math-integer`'s `interleaveBits2` |
207
+
208
+ Tiles are half-open in index space, so a point on an edge belongs to the tile
209
+ of higher index, except on the far edges of a matrix, which belong to its last
210
+ tiles; `tileAt` and `tileBounds` compute every edge the same way, so a tile's
211
+ corner of origin gives that tile back. Box queries snap edges within
212
+ `TILE_EPSILON` (`1e-6` tile, the standard's tolerance for rounded cell sizes).
213
+ A level, column or row outside the set throws `RangeError`; `NaN` in gives
214
+ `NaN` out. The queries allocate nothing but `tilesCoveringBox`'s ranges.
215
+
216
+ ```ts
217
+ import {
218
+ tileAt,
219
+ tileMatrixSetFromJson,
220
+ tileNeighbours,
221
+ } from "@ac-kit/math-grid";
222
+ import { vec2Of } from "@ac-kit/math-linear";
223
+
224
+ const set = tileMatrixSetFromJson(await (await fetch(url)).json());
225
+ const tile = tileAt({ level: 0, col: 0, row: 0 }, set, 3, vec2Of(2.35, 48.85));
226
+ tileNeighbours(set, tile, (col, row) => load(tile.level, col, row), {
227
+ wrap: true,
228
+ });
229
+ ```
230
+
137
231
  ## Choosing a storage strategy
138
232
 
139
233
  The four grid types exist because the access pattern, not the abstraction,
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The brand of every value type of the math packages: a property with a string
3
+ * key that is stable across versions, so two installed copies of a package (two
4
+ * dependents pinning different minors) stay assignable to each other, which a
5
+ * per-package `unique symbol` would not allow.
6
+ *
7
+ * Declared identically and internally in each package, never imported across
8
+ * packages: the structure is the identity. The key is reserved, and the brand
9
+ * costs nothing at run time.
10
+ */
11
+ export type Brand_<Name extends string> = {
12
+ readonly "~acKitMathType": Name;
13
+ };
14
+ //# sourceMappingURL=_brand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_brand.d.ts","sourceRoot":"","sources":["../src/_brand.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,MAAM,MAAM,CAAC,IAAI,SAAS,MAAM,IAAI;IACzC,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAC;CAChC,CAAC"}
package/dist/_brand.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=_brand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_brand.js","sourceRoot":"","sources":["../src/_brand.ts"],"names":[],"mappings":""}
@@ -14,6 +14,13 @@
14
14
  * inside the window leaves.
15
15
  */
16
16
  export declare const STRAIGHT_RESIDUAL_ = 0.1;
17
+ /**
18
+ * Writes the straight edge of antialiased texel `(x, y)`, of coverage `value`,
19
+ * at `sites[at]` in the `COVERAGE_STRIDE_` layout, and its straight-edge
20
+ * residual over the 3 × 3 neighbourhood into `residuals[cell]`. Interior texels
21
+ * reuse the nine coverage samples already loaded for the Sobel gradient.
22
+ */
23
+ export declare function locateEdgeAndResidual_(sites: Float64Array, at: number, coverage: Uint8Array, value: number, x: number, y: number, width: number, height: number, residuals: Float32Array, cell: number): void;
17
24
  /**
18
25
  * Writes the straight edge of antialiased texel `(x, y)`, of coverage `value`,
19
26
  * at `sites[at]` in the `COVERAGE_STRIDE_` layout.
@@ -37,7 +44,7 @@ export declare function edgeResidual_(sites: Float64Array, at: number, coverage:
37
44
  * texel. Returns how many corners there are, their holders listed from
38
45
  * `scratch[count]`.
39
46
  */
40
- export declare function findContour_(scratch: Float64Array, residuals: Float32Array, coverage: Uint8Array, width: number, height: number): number;
47
+ export declare function findContour_(scratch: Float64Array, residuals: Float32Array, coverage: Uint8Array, width: number, height: number, siteCells: Int32Array, siteCount: number): number;
41
48
  /**
42
49
  * Whether cell `cell` holds contour: an antialiased texel, or a full or empty
43
50
  * texel with an opposite neighbour to the right or below.
@@ -1 +1 @@
1
- {"version":3,"file":"_coverage-contour2.d.ts","sourceRoot":"","sources":["../src/_coverage-contour2.ts"],"names":[],"mappings":"AAgBA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAuEtC;;;GAGG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,YAAY,EACnB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,MAAM,EACb,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACZ,IAAI,CAoFN;AAwQD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC5B,KAAK,EAAE,YAAY,EACnB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,UAAU,EACpB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,YAAY,EACvB,IAAI,EAAE,MAAM,GACV,IAAI,CA8BN;AAcD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC3B,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,YAAY,EACvB,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACZ,MAAM,CAWR;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAC1B,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACX,OAAO,CAUT;AA0kBD,mDAAmD;AACnD,wBAAgB,SAAS,CACxB,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACV,OAAO,CAOT"}
1
+ {"version":3,"file":"_coverage-contour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