@mark1russell7/layout-contract 0.2.15 → 0.2.17

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/README.md CHANGED
@@ -8,8 +8,8 @@ The package has no runtime dependencies.
8
8
 
9
9
  | Part | Exports |
10
10
  |---|---|
11
- | Geometry | `Point`, `Rect`, `Region`, `Side`, `Sides`, `Margin`, `marginSides`, `grow`, `boundsOf`, `translate`, `overlapOf` |
12
- | The shape kinds | `ShapeKind`, `SHAPE_KINDS`, `SHAPE_KIND_IDS`, `ShapeKindSpec`, `ShapeGeometry`, `DEFAULT_SHAPES`, `ShapeSupport`, `isShapeKind`, `shapeKindOf`, `shapeKindsOf`, `itemShapeOf`, `shapeKindProblem`, `shapesOf`, `checkShapes` |
11
+ | Geometry | `Point`, `Rect`, `Region`, `Side`, `Sides`, `Margin`, `marginSides`, `grow`, `boundsOf`, `regionArea`, `translate`, `overlapOf` |
12
+ | The shape kinds | `ShapeKind`, `SHAPE_KINDS`, `SHAPE_KIND_IDS`, `ShapeKindSpec`, `ShapeGeometry`, `DEFAULT_SHAPES`, `ShapeSupport`, `ShapeBound`, `RuleLevel`, `ShapeLevel`, `ShapeCheck`, `isShapeKind`, `shapeKindOf`, `shapeKindsOf`, `itemShapeOf`, `shapeKindProblem`, `shapesOf`, `ruleLevel`, `shapeLevel`, `shapeSupportProblems`, `boxArea`, `checkShapes` |
13
13
  | The input `layout-input/1` | `LayoutInput`, `LayoutBox` (`Item` for the packer), `Port`, `portPoint`, `LayoutEdge`, `LayoutContainer`, `Obstacle`, `LayoutCell`, `LayoutGenerator`, `PairGap`, `canonicalInput` |
14
14
  | The packer | `PackInput`, `toPackInput`, `Placement`, `PackOutput`, `StageTrace`, `applyPack` |
15
15
  | The record `layout-record/1` | `LayoutRecord`, `Stage`, `Supports`, `RunFacts`, `RunEnv`, `toLayoutRecord` |
@@ -54,6 +54,16 @@ The package has no runtime dependencies.
54
54
  - **The container rule.** `in-container` counts each box that goes out of the container made smaller by `inset`. The box counts with its margin. By default, a shaped container counts as its bounding box.
55
55
  - **The exact container.** Give `{ exactContainer: true }` to `packHard` or `countOutside`. Then a box of a shaped container with the size `fixed` must stay inside the shape. A cut corner, a notch and a hole count. A container with a free side keeps the bounding test. The default changes to the exact test at the next breaking version.
56
56
  - **The shape kinds.** An item is a `rect`, a `polygon`, a `circle` or a `free` shape. Each measure and rule declares its kinds. `checkShapes` refuses the other kinds. `docs/SHAPES.md` tells the rules.
57
+ - `regionArea(region)` gives the exact area of a region. `boxArea(box)` gives the exact area of a box, or `undefined` for a `free` box. A box with an ellipse shape is `free`.
58
+ - `ShapeSupport.safe` lists the kinds with a safe count: an upper bound that does not miss a break. `ruleLevel(rule, kind)` gives `exact`, `safe` or `none`.
59
+ - `no-overlap` and `in-container` are safe on `polygon`, `circle` and `free`. `checkShapes` accepts a safe kind only with `{ level: "safe" }`.
60
+ - `MeasureSpec.bound` lists the kinds where the value of a measure is a bound of the true value, with its side `upper` or `lower`.
61
+ - `shapeLevel(use, kind)` gives `exact`, `safe`, `bound` or `none`. `checkShapes` accepts a bound kind only with `{ level: "bound" }`. The level `safe` refuses it.
62
+ - A bound value proves only one side of a compare. `docs/SHAPES.md` tells what it proves for each `direction`.
63
+ - `shapeSupportProblems(uses)` refuses a kind in two of the lists `shapes`, `safe` and `bound.shapes`.
64
+ - `MemberRule.view: "bounds"` gives the members of a meta option the bounding box of each item. A shape filter then checks the members with `rect`.
65
+ - A sample with a shape filter skips a meta option without a member list. It throws a `RangeError` only when the space has no config for the kinds.
66
+ - **The corpus dimensions.** `CorpusDimension.precision` is the count of decimal places of a numeric value of a family. The registry rounds the value and the default to it before the `invalidates` compare. `docs/CORPUS.md` tells the rules.
57
67
  - **The output hash.** `outputHash` gives the first 16 hex characters of the SHA-256 of the canonical JSON of an output. Each number goes to the grid of `RECORD_EPS` first.
58
68
  - **The corpus checks.** `checkDeclared` and `checkSplit` give a list of `ClaimBreak`. An empty list tells that each claim is true. `corpusHashOf` gives the corpus hash of `packing`.
59
69
  - **The verdict.** `verdict` compares two strategies on one measure, with the family as the unit. A verdict counts only when it holds for the mean of the family means and for the mean of the inputs.
package/build/index.d.ts CHANGED
@@ -54,6 +54,11 @@ export declare function marginSides(margin: Margin | undefined): Sides;
54
54
  export declare function grow(rect: Rect, margin: Margin | undefined): Rect;
55
55
  /** This function gives the bounding box of a region. */
56
56
  export declare function boundsOf(region: Region): Rect;
57
+ /**
58
+ * This function gives the exact area of a region. A `rect` gives `w` by `h`, a circle gives `PI * r * r`, and an ellipse gives `PI * rx * ry`.
59
+ * A polygon gives the absolute value of the shoelace formula, less the area of each hole. A ring with fewer than 3 points has the area 0.
60
+ */
61
+ export declare function regionArea(region: Region): number;
57
62
  /** This function gives the region moved by `dx` and `dy`. */
58
63
  export declare function translate(region: Region, dx: number, dy: number): Region;
59
64
  /**
@@ -370,7 +375,7 @@ export type ShapeKind = "rect" | "polygon" | "circle" | "free";
370
375
  export interface ShapeGeometry {
371
376
  /** The bounding box: `boundsOf` and `placedRect`. */
372
377
  readonly bounds: boolean;
373
- /** The area of the shape. */
378
+ /** The area of the shape: `regionArea` and `boxArea`. */
374
379
  readonly area: boolean;
375
380
  /** The test that the shape is inside a region: `rectInRegion` for a `rect`. */
376
381
  readonly contains: boolean;
@@ -386,7 +391,10 @@ export interface ShapeKindSpec {
386
391
  readonly regions: readonly Region["kind"][];
387
392
  readonly geometry: ShapeGeometry;
388
393
  }
389
- /** The declared shape kinds, in their order. Only `rect` has all of its geometry. The other kinds have their bounding box only. */
394
+ /**
395
+ * The declared shape kinds, in their order. Only `rect` has all of its geometry.
396
+ * `polygon` and `circle` have their bounding box and their exact area. `free` has its bounding box only.
397
+ */
390
398
  export declare const SHAPE_KINDS: readonly ShapeKindSpec[];
391
399
  /** The ids of `SHAPE_KINDS`, in their order. */
392
400
  export declare const SHAPE_KIND_IDS: readonly ShapeKind[];
@@ -395,8 +403,44 @@ export declare const DEFAULT_SHAPES: readonly ShapeKind[];
395
403
  /** A measure or a rule, with the shape kinds that it supports. Without `shapes`, it supports `DEFAULT_SHAPES`. */
396
404
  export interface ShapeSupport<Id extends string = string> {
397
405
  readonly id: Id;
406
+ /** The kinds with an exact count or value. */
398
407
  readonly shapes?: readonly ShapeKind[];
408
+ /**
409
+ * The kinds with a safe count: the rule can count a break that is not real, but it does not miss a real break.
410
+ * Thus a safe count of 0 tells that the rule has no break. A kind is in `shapes` or in `safe`, not in the two lists.
411
+ */
412
+ readonly safe?: readonly ShapeKind[];
413
+ /**
414
+ * The kinds where the value of a measure is a bound of the true value, not the exact value. `ShapeBound` tells the side.
415
+ * A kind is in one list only: `shapes`, `safe` or `bound.shapes`. `docs/SHAPES.md` tells what a bound value proves.
416
+ */
417
+ readonly bound?: ShapeBound;
418
+ }
419
+ /**
420
+ * The kinds where a measure gives a bound of the true value, and the side of the bound.
421
+ * With `upper`, the value is the true value or more. With `lower`, the value is the true value or less.
422
+ */
423
+ export interface ShapeBound {
424
+ readonly shapes: readonly ShapeKind[];
425
+ readonly side: "upper" | "lower";
399
426
  }
427
+ /** The level of a rule on a shape kind: an exact count, a safe count (an upper bound), or no support. */
428
+ export type RuleLevel = "exact" | "safe" | "none";
429
+ /** This function gives the level of a rule on a shape kind. A kind of `shapesOf` is `exact`, a kind of `safe` is `safe`, and another kind is `none`. It does not read `bound`. */
430
+ export declare function ruleLevel(rule: Pick<ShapeSupport, "shapes" | "safe">, kind: ShapeKind): RuleLevel;
431
+ /** The level of a measure or a rule on a shape kind. The level `bound` is a value on one side of the true value (`ShapeBound`). */
432
+ export type ShapeLevel = RuleLevel | "bound";
433
+ /**
434
+ * This function gives the level of a measure or a rule on a shape kind. It joins the lists `shapes`, `safe` and `bound.shapes`.
435
+ * A kind of `shapesOf` is `exact`, a kind of `safe` is `safe`, a kind of `bound.shapes` is `bound`, and another kind is `none`.
436
+ */
437
+ export declare function shapeLevel(use: Pick<ShapeSupport, "shapes" | "safe" | "bound">, kind: ShapeKind): ShapeLevel;
438
+ /**
439
+ * This function gives the problems of a list of measures and rules. An empty list tells that the list is good.
440
+ * It refuses an unknown kind, a kind two times in one list, and a kind in more than one of `shapesOf`, `safe` and `bound.shapes`.
441
+ * It also refuses a `bound` without a list of kinds, and a `side` that is not `upper` or `lower`.
442
+ */
443
+ export declare function shapeSupportProblems(uses: readonly ShapeSupport[]): string[];
400
444
  /** This function tells if a value is a declared shape kind. */
401
445
  export declare function isShapeKind(value: unknown): value is ShapeKind;
402
446
  /**
@@ -404,6 +448,13 @@ export declare function isShapeKind(value: unknown): value is ShapeKind;
404
448
  * Without it, the kind comes from `shape`: no shape is a `rect`, and an ellipse is `free`.
405
449
  */
406
450
  export declare function shapeKindOf(box: LayoutBox): ShapeKind;
451
+ /**
452
+ * This function gives the exact area of a box, or `undefined` when the contract knows only its bounding box.
453
+ * A box with `shape` gives `regionArea` of the shape. A `rect` box without `shape` gives `w` by `h`.
454
+ * A box of the kind `free` gives `undefined`, also with a shape. Thus a box with an ellipse shape gives `undefined`, because `shapeKindOf` makes an ellipse `free`.
455
+ * A box of another kind without `shape` is a bad input, and gives `undefined`.
456
+ */
457
+ export declare function boxArea(box: LayoutBox): number | undefined;
407
458
  /** This function gives the shape kinds of the boxes of an input, in the order of `SHAPE_KINDS`. An input without boxes gives an empty list. */
408
459
  export declare function shapeKindsOf(input: Pick<LayoutInput, "boxes">): ShapeKind[];
409
460
  /** This function gives the value of the cell dimension `itemShape` of an input: its one kind, `mixed` for more kinds, or `rect` without boxes. */
@@ -412,11 +463,22 @@ export declare function itemShapeOf(input: Pick<LayoutInput, "boxes">): ShapeKin
412
463
  export declare function shapeKindProblem(box: LayoutBox): string | undefined;
413
464
  /** This function gives the shape kinds that a measure or a rule supports. */
414
465
  export declare function shapesOf(use: Pick<ShapeSupport, "shapes">): readonly ShapeKind[];
466
+ /** The options of `checkShapes`. */
467
+ export interface ShapeCheck {
468
+ /**
469
+ * The lowest level that `checkShapes` accepts. The default `exact` refuses a kind with only a safe count or a bound value.
470
+ * The value `safe` also accepts a kind of `safe`, as in 0.2.16. Use it only when the run claims that a rule has no break.
471
+ * The value `bound` also accepts a kind of `safe` and a kind of `bound.shapes`. Use it only when the run reads each bound value for the proofs of its side (`docs/SHAPES.md`).
472
+ */
473
+ readonly level?: "exact" | "safe" | "bound";
474
+ }
415
475
  /**
416
476
  * This function checks that each measure and each rule of a run supports each shape kind of the input. An empty list tells that the run is good.
417
477
  * Each break has the claim `shape`, the id of the input, and the first 5 ids of the boxes of the kind.
478
+ * By default, a kind of `safe` or of `bound.shapes` is a break, because the result is not exact.
479
+ * With the level `safe`, a kind of `safe` is not a break. With the level `bound`, a kind of `safe` and a kind of `bound.shapes` are not a break.
418
480
  */
419
- export declare function checkShapes(input: Pick<LayoutInput, "id" | "boxes">, uses: readonly ShapeSupport[]): ClaimBreak[];
481
+ export declare function checkShapes(input: Pick<LayoutInput, "id" | "boxes">, uses: readonly ShapeSupport[], options?: ShapeCheck): ClaimBreak[];
420
482
  /** The epsilon for the float compares in an engine. */
421
483
  export declare const EPS = 1e-6;
422
484
  /**
@@ -590,6 +652,7 @@ export interface PackHard {
590
652
  /**
591
653
  * The hard rules of a pack, with the shape kinds that each rule supports.
592
654
  * `no-overlap` and `in-container` test the bounding box of a shape. That count is exact only for a `rect`.
655
+ * For the other kinds, the count is safe: a shape is inside its bounding box, so the count is an upper bound. A count of 0 tells that the rule has no break.
593
656
  * `locked-kept` and `complete` read only the positions and the ids, so they support each kind.
594
657
  */
595
658
  export declare const PACK_HARD_RULES: readonly ShapeSupport<keyof PackHard>[];
@@ -672,6 +735,11 @@ export interface MeasureSpec<Id extends string = string> {
672
735
  readonly role?: "guard" | "change-guard" | "diagnostic" | "time";
673
736
  /** The shape kinds of the boxes that the measure supports. Without it, the measure supports only `rect`. `checkShapes` refuses the other kinds. */
674
737
  readonly shapes?: readonly ShapeKind[];
738
+ /**
739
+ * The kinds where the value is a bound of the true value, and its side. A kind is in `shapes` or in `bound.shapes`, not in the two lists.
740
+ * `checkShapes` refuses a bound kind by default and with `{ level: "safe" }`. With `{ level: "bound" }`, it accepts it. `docs/SHAPES.md` tells what a bound value proves for each `direction`.
741
+ */
742
+ readonly bound?: ShapeBound;
675
743
  }
676
744
  /** The id of a joint measure. `docs/JOINT-MEASURES.md` gives the definitions. */
677
745
  export type JointMeasureId = "joint.fill" | "joint.aspectError" | "joint.spill" | "joint.straight.crossings" | "joint.straight.length" | "joint.stability.mean" | "joint.stability.moved" | "joint.proxy.rank" | "joint.ms";
@@ -991,6 +1059,11 @@ export interface MemberRule {
991
1059
  * With `pool`, a config of the option has the members of one entry, and `spaceSize` counts each entry one time.
992
1060
  */
993
1061
  readonly pool?: readonly (readonly StrategyConfig[])[];
1062
+ /**
1063
+ * The view of the items that the members get. With `bounds`, the option gives its members the bounding box of each item.
1064
+ * Then a shape filter checks the members with the kind `rect`, and the option itself with the kinds of the input. Without `view`, the members get the kinds of the input.
1065
+ */
1066
+ readonly view?: "bounds";
994
1067
  }
995
1068
  /** The inputs that an option supports. A missing field supports each value. */
996
1069
  export interface OptionSupports {
@@ -1102,6 +1175,7 @@ export declare function paramValue(param: SpaceParam, value: ParamValue): ParamV
1102
1175
  *
1103
1176
  * A member list that is not an entry of the `pool` of its option gives the claim `pool`.
1104
1177
  * With `shapes`, an option that does not support a kind of the list gives the claim `shape`. A member of a meta option gets the same check.
1178
+ * A member of an option with `view: "bounds"` gets the check with the kind `rect`.
1105
1179
  */
1106
1180
  export declare function checkConfig(space: StrategySpace, config: StrategyConfig, options?: ShapeFilter): ClaimBreak[];
1107
1181
  /**
@@ -1142,6 +1216,8 @@ export declare function spaceSize(space: StrategySpace, options: SpaceSizeOption
1142
1216
  * - A sample draws again when a point breaks a constraint. After `maxTries` draws, it throws an `Error`. Two sampled configs can be equal.
1143
1217
  * - With `shapes`, only the options that support each kind of the list count. Without `shapes`, the result does not change.
1144
1218
  * - A meta option with a `pool` gives only the entries of its pool. With `shapes`, only the entries whose members support each kind count.
1219
+ * - A sample draws again when a point chooses a meta option without a member list. `spaceSize` gives such an option 0.
1220
+ * - With `shapes`, a sample throws a `RangeError` when the space has no config for the kinds. The error names the stages without an option and the meta options without members.
1145
1221
  */
1146
1222
  export declare function enumerateSpace(space: StrategySpace, options: EnumerateOptions): StrategyConfig[];
1147
1223
  /**
@@ -1316,6 +1392,12 @@ export interface CorpusDimension extends SpaceParam {
1316
1392
  * Then `generate` of a registry removes these fields from the output, and lists them in `invalidated`.
1317
1393
  */
1318
1394
  readonly invalidates?: readonly string[];
1395
+ /**
1396
+ * The count of decimal places that the family uses for a value of a numeric dimension: a whole number of 0 or more.
1397
+ * Only the `invalidates` compare reads it. The registry rounds the value and the default to it before the compare.
1398
+ * The cells, the cell keys, `rngOf` and the value that `generate` gets do not change.
1399
+ */
1400
+ readonly precision?: number;
1319
1401
  }
1320
1402
  /**
1321
1403
  * The supported values of a dimension (`CorpusDimension.supported`).
@@ -1446,14 +1528,14 @@ export declare const DEFAULT_FAMILY_BY: FamilyBy;
1446
1528
  export declare const CORPUS_DIMENSIONS: Readonly<Record<string, CorpusDimension>>;
1447
1529
  /**
1448
1530
  * This function gives a dimension of `CORPUS_DIMENSIONS`, with the fields of `patch` over it. It throws a `RangeError` for an unknown name.
1449
- * With `supported` or `invalidates` in the patch, it also throws a `RangeError` for a bad dimension, as `ownerDimension` does.
1531
+ * With `supported`, `invalidates` or `precision` in the patch, it also throws a `RangeError` for a bad dimension, as `ownerDimension` does.
1450
1532
  */
1451
1533
  export declare function sharedDimension(name: string, patch?: Partial<CorpusDimension>): CorpusDimension;
1452
1534
  /** The fields of a dimension that the owner declares: each field of `CorpusDimension` but the name. */
1453
1535
  export type OwnerDimensionSpec = Omit<CorpusDimension, "name">;
1454
1536
  /**
1455
1537
  * This function gives a dimension that only its owner declares, for example `cut` of a family of `packing`.
1456
- * It throws a `RangeError` for a name of `CORPUS_DIMENSIONS`, the reserved name `kind`, or a bad default, level, `supported` or `invalidates`.
1538
+ * It throws a `RangeError` for a name of `CORPUS_DIMENSIONS`, the reserved name `kind`, or a bad default, level, `supported`, `invalidates` or `precision`.
1457
1539
  * The registry examines the `when` of the dimension, because it needs the earlier dimensions.
1458
1540
  */
1459
1541
  export declare function ownerDimension(name: string, spec: OwnerDimensionSpec): CorpusDimension;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/geometry.ts","../src/corpus.ts","../src/input.ts","../src/shapes.ts","../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/measures.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/verdict.ts","../src/families.ts"],"mappings":";YACY;;qBAGC,gBAAgB;iBAEZ;WACN;WACA;;;iBAIM;WACN;WACA;WACA;WACA;;;iBAIM;WACN;WACA;WACA;WACA;;;;;;YAOC;WACG;WAAuB;WAAoB;WAAoB;WAAoB;;WAEnF;WACA;WACA;;WAEA;WAAyB;WAAqB;WAAqB;;WACnE;WAA0B;WAAqB;WAAqB;WAAqB;;;YAG5F,kBAAkB;;wBAGd,YAAY,QAAQ,qBAAqB;;wBAOzC,KAAK,MAAM,MAAM,QAAQ,qBAAqB;;wBAM9C,SAAS,QAAQ,SAAS;;wBAyB1B,UAAU,QAAQ,QAAQ,YAAY,aAAa;;;;;wBAoBnD,UAAU,GAAG,MAAM,GAAG;WAAkB;WAAoB;;;iBCnG3D;;WAEN;;WAEA;;WAEA;;;iBAIM;;WAEN;;WAEA;;WAEA,QAAQ,SAAS;;WAEjB,WAAW;;WAEX;;;;;;;;YASC;;;;YAGA,aAAa,SAAS;;qBAGrB;;;;;;wBA4CG,SAAS,MAAM,YAAY,UAAU;;YAazC,SAAS,MAAM,OAAO;;;;;wBAMlB,eAAe,GAAG,QAAQ,SAAS,IAAI,UAAU,SAAS,IAAI,0BAA8B;;;;;wBAa5F,gBAAgB,mBAAmB;;;;;;;;;;;;;;;wBAuCnC,cAAc,GAC5B,QAAQ,SAA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jD;;WAEN;;WAEA;WACA;;WAEA,QAAQ,OAAO;;;;;;;wBAWV,cAAc,MAAM,aAAa,cAAc,gBAAgB,cAAc,UAAS,iBAAsB,aAAa;;;;;qBA+D5H,YAAY;;;;;;qBAoBZ,gBAAgB,aAAa"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/geometry.ts","../src/corpus.ts","../src/input.ts","../src/shapes.ts","../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/measures.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/verdict.ts","../src/families.ts"],"mappings":";YACY;;qBAGC,gBAAgB;iBAEZ;WACN;WACA;;;iBAIM;WACN;WACA;WACA;WACA;;;iBAIM;WACN;WACA;WACA;WACA;;;;;;YAOC;WACG;WAAuB;WAAoB;WAAoB;WAAoB;;WAEnF;WACA;WACA;;WAEA;WAAyB;WAAqB;WAAqB;;WACnE;WAA0B;WAAqB;WAAqB;WAAqB;;;YAG5F,kBAAkB;;wBAGd,YAAY,QAAQ,qBAAqB;;wBAOzC,KAAK,MAAM,MAAM,QAAQ,qBAAqB;;wBAM9C,SAAS,QAAQ,SAAS;;;;;wBA4B1B,WAAW,QAAQ;;wBAyBnB,UAAU,QAAQ,QAAQ,YAAY,aAAa;;;;;wBAoBnD,UAAU,GAAG,MAAM,GAAG;WAAkB;WAAoB;;;iBC/H3D;;WAEN;;WAEA;;WAEA;;;iBAIM;;WAEN;;WAEA;;WAEA,QAAQ,SAAS;;WAEjB,WAAW;;WAEX;;;;;;;;YASC;;;;YAGA,aAAa,SAAS;;qBAGrB;;;;;;wBA4CG,SAAS,MAAM,YAAY,UAAU;;YAazC,SAAS,MAAM,OAAO;;;;;wBAMlB,eAAe,GAAG,QAAQ,SAAS,IAAI,UAAU,SAAS,IAAI,0BAA8B;;;;;wBAa5F,gBAAgB,mBAAmB;;;;;;;;;;;;;;;wBAuCnC,cAAc,GA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