@snaptrude/plugin-core 1.1.0-dev.20261025.1 → 1.1.0-pbr-20261028.1
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/CHANGELOG.md +6 -0
- package/api-manifest.json +10637 -0
- package/dist/api/design/materials/index.d.ts +49 -7
- package/dist/api/design/materials/index.d.ts.map +1 -1
- package/dist/api/design/networks.d.ts +1 -61
- package/dist/api/design/networks.d.ts.map +1 -1
- package/dist/api/design/windows/index.d.ts +34 -1
- package/dist/api/design/windows/index.d.ts.map +1 -1
- package/dist/index.cjs +123 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +121 -140
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/design/materials/index.ts +44 -7
- package/src/api/design/networks.ts +2 -62
- package/src/api/design/windows/index.ts +38 -1
|
@@ -45,16 +45,20 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
45
45
|
abstract list(): PluginApiReturn<MaterialHandle[]>;
|
|
46
46
|
/**
|
|
47
47
|
* List the preset material library — the catalog the app's material browser
|
|
48
|
-
* shows
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
48
|
+
* shows: the deployment PBR catalogue plus the server library and workspace uploads.
|
|
49
|
+
* Library entries are **not** scene materials and carry no {@linkcode MaterialHandle}.
|
|
50
|
+
* PBR names include an identity-qualified suffix `[catalogId@catalogVersion]`:
|
|
51
|
+
* preserve the EXACT returned name and pass `{ name: preset.name }` to create/apply.
|
|
52
|
+
* The host resolves all authored PBR maps, physical coverage and glass properties;
|
|
53
|
+
* do not strip the suffix, substitute an image-only finish, or override color/alpha.
|
|
54
|
+
* Scalar paints and clear glass can have an empty textureUrl and are still valid.
|
|
55
|
+
* For legacy image entries, feed the returned record to
|
|
52
56
|
* {@linkcode PluginDesignMaterialsApi.create} /
|
|
53
57
|
* {@linkcode PluginDesignMaterialsApi.apply} as a
|
|
54
58
|
* {@linkcode PluginMaterialSpec}: `{ name, textureUrl, materialType: category }`.
|
|
55
59
|
*
|
|
56
|
-
* @returns The library as {@linkcode PluginPresetMaterial}`[]
|
|
57
|
-
* library
|
|
60
|
+
* @returns The library as {@linkcode PluginPresetMaterial}`[]`. Missing/malformed
|
|
61
|
+
* deployment PBR data rejects; the legacy server library may return `[]` on failure.
|
|
58
62
|
*
|
|
59
63
|
* @examplePrompt Show me the preset materials library
|
|
60
64
|
* @examplePrompt What wood finishes are available in the material library?
|
|
@@ -152,6 +156,20 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
152
156
|
* ```
|
|
153
157
|
*/
|
|
154
158
|
abstract apply(targets: ComponentHandle[], material: MaterialHandle | PluginMaterialSpec, save?: boolean): PluginApiReturn<PluginMaterialResult>;
|
|
159
|
+
/**
|
|
160
|
+
* Paint only glazing or frame slots, never the whole window/door. This preserves
|
|
161
|
+
* clear panes when painting metal frames. Families change with their linked copies;
|
|
162
|
+
* legacy instanced types change every instance of that type. BREP components are
|
|
163
|
+
* refused (use applyToFaces), as are locked targets or locked linked/type members.
|
|
164
|
+
* Slot roles come from the authored appearance, not a previously applied paint.
|
|
165
|
+
* Always one undo step. Catalogue selectors use the exact listPresets name.
|
|
166
|
+
* @param components Components whose family/type slots to paint
|
|
167
|
+
* @param slot Authored glazing slots or every other (frame/hardware) slot
|
|
168
|
+
* @param material Existing handle or inline spec, e.g. `{ name: preset.name }`
|
|
169
|
+
* @returns Count of targets whose family/type had at least one matching slot
|
|
170
|
+
* @examplePrompt Paint only the window frames with a catalogue metal finish
|
|
171
|
+
*/
|
|
172
|
+
abstract applyToSlot(components: ComponentHandle[], slot: "glazing" | "frame", material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginMaterialResult>;
|
|
155
173
|
/**
|
|
156
174
|
* Reset one or more components back to the default material for their type,
|
|
157
175
|
* removing any applied finish. The inverse of `apply`; undoable when `save`
|
|
@@ -375,6 +393,7 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
375
393
|
* | `alpha` | `number` | Opacity `0..1` |
|
|
376
394
|
* | `materialType` | `string` | Material type tag (optional) |
|
|
377
395
|
* | `textureUrl` | `string` | Diffuse texture URL (optional) |
|
|
396
|
+
* | `transmission` | `number` | Diffuse transmission `0..1` (optional; absent when none) |
|
|
378
397
|
*/
|
|
379
398
|
export declare const PluginMaterialInfo: z.ZodObject<{
|
|
380
399
|
name: z.ZodString;
|
|
@@ -383,6 +402,7 @@ export declare const PluginMaterialInfo: z.ZodObject<{
|
|
|
383
402
|
alpha: z.ZodNumber;
|
|
384
403
|
materialType: z.ZodOptional<z.ZodString>;
|
|
385
404
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
405
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
386
406
|
}, z.core.$strip>;
|
|
387
407
|
export type PluginMaterialInfo = z.infer<typeof PluginMaterialInfo>;
|
|
388
408
|
/**
|
|
@@ -390,11 +410,12 @@ export type PluginMaterialInfo = z.infer<typeof PluginMaterialInfo>;
|
|
|
390
410
|
*
|
|
391
411
|
* | Property | Type | Description |
|
|
392
412
|
* |---|---|---|
|
|
393
|
-
* | `name` | `string` | Name (optional; generated if omitted) |
|
|
413
|
+
* | `name` | `string` | Name (optional; generated if omitted); an exact identity-qualified listPresets name selects the full authored PBR finish |
|
|
394
414
|
* | `color` | `string` | Diffuse color `#rrggbb` (optional) |
|
|
395
415
|
* | `textureUrl` | `string` | Diffuse texture URL (optional; wins over color) |
|
|
396
416
|
* | `alpha` | `number` | Opacity `0..1` (optional) |
|
|
397
417
|
* | `materialType` | `string` | Material type tag (optional) |
|
|
418
|
+
* | `transmission` | `number` | Diffuse transmission `0..1` (optional; stored on the material's PBR data). Not combinable with a catalog (listPresets) name |
|
|
398
419
|
*/
|
|
399
420
|
export declare const PluginMaterialSpec: z.ZodObject<{
|
|
400
421
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -402,6 +423,7 @@ export declare const PluginMaterialSpec: z.ZodObject<{
|
|
|
402
423
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
403
424
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
404
425
|
materialType: z.ZodOptional<z.ZodString>;
|
|
426
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
405
427
|
}, z.core.$strip>;
|
|
406
428
|
export type PluginMaterialSpec = z.infer<typeof PluginMaterialSpec>;
|
|
407
429
|
/** Result of a material mutation — the count of targets affected. */
|
|
@@ -486,10 +508,28 @@ export declare const PluginDesignMaterialsApplyArgs: z.ZodObject<{
|
|
|
486
508
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
487
509
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
488
510
|
materialType: z.ZodOptional<z.ZodString>;
|
|
511
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
489
512
|
}, z.core.$strip>]>;
|
|
490
513
|
save: z.ZodOptional<z.ZodBoolean>;
|
|
491
514
|
}, z.core.$strip>;
|
|
492
515
|
export type PluginDesignMaterialsApplyArgs = z.infer<typeof PluginDesignMaterialsApplyArgs>;
|
|
516
|
+
/** Arguments for the existing host slot-paint contract. */
|
|
517
|
+
export declare const PluginDesignMaterialsApplyToSlotArgs: z.ZodObject<{
|
|
518
|
+
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
519
|
+
slot: z.ZodEnum<{
|
|
520
|
+
frame: "frame";
|
|
521
|
+
glazing: "glazing";
|
|
522
|
+
}>;
|
|
523
|
+
material: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<MaterialHandle, string>>, z.ZodObject<{
|
|
524
|
+
name: z.ZodOptional<z.ZodString>;
|
|
525
|
+
color: z.ZodOptional<z.ZodString>;
|
|
526
|
+
textureUrl: z.ZodOptional<z.ZodString>;
|
|
527
|
+
alpha: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
materialType: z.ZodOptional<z.ZodString>;
|
|
529
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
530
|
+
}, z.core.$strip>]>;
|
|
531
|
+
}, z.core.$strip>;
|
|
532
|
+
export type PluginDesignMaterialsApplyToSlotArgs = z.infer<typeof PluginDesignMaterialsApplyToSlotArgs>;
|
|
493
533
|
/** Arguments for {@linkcode PluginDesignMaterialsApi.reset}. */
|
|
494
534
|
export declare const PluginDesignMaterialsResetArgs: z.ZodObject<{
|
|
495
535
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
@@ -504,6 +544,7 @@ export declare const PluginDesignMaterialsCreateArgs: z.ZodObject<{
|
|
|
504
544
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
505
545
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
506
546
|
materialType: z.ZodOptional<z.ZodString>;
|
|
547
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
507
548
|
}, z.core.$strip>;
|
|
508
549
|
}, z.core.$strip>;
|
|
509
550
|
export type PluginDesignMaterialsCreateArgs = z.infer<typeof PluginDesignMaterialsCreateArgs>;
|
|
@@ -526,6 +567,7 @@ export declare const PluginDesignMaterialsApplyToFacesArgs: z.ZodObject<{
|
|
|
526
567
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
527
568
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
528
569
|
materialType: z.ZodOptional<z.ZodString>;
|
|
570
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
529
571
|
}, z.core.$strip>]>;
|
|
530
572
|
save: z.ZodOptional<z.ZodBoolean>;
|
|
531
573
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/materials/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAk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
|
export declare const NetworkGetArgs: z.ZodObject<{
|
|
1515
1515
|
graphId: z.ZodString;
|
|
1516
1516
|
}, z.core.$strict>;
|
|
1517
|
-
/** Displacement components are world millimetres, Y up, not Snaptrude units. */
|
|
1518
|
-
export declare const NetworkMoveEdgeArgs: z.ZodObject<{
|
|
1519
|
-
graphId: z.ZodString;
|
|
1520
|
-
expectedRevision: z.ZodNumber;
|
|
1521
|
-
edgeId: z.ZodString;
|
|
1522
|
-
displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
1523
|
-
requestId: z.ZodString;
|
|
1524
|
-
}, z.core.$strict>;
|
|
1525
|
-
export type NetworkMoveEdgeArgs = z.input<typeof NetworkMoveEdgeArgs>;
|
|
1526
|
-
export declare const NetworkMoveEdgeResult: z.ZodObject<{
|
|
1527
|
-
graphId: z.ZodString;
|
|
1528
|
-
revision: z.ZodNumber;
|
|
1529
|
-
affectedComponentIds: z.ZodArray<z.ZodString>;
|
|
1530
|
-
alreadyApplied: z.ZodBoolean;
|
|
1531
|
-
saveStatus: z.ZodEnum<{
|
|
1532
|
-
queued: "queued";
|
|
1533
|
-
existing: "existing";
|
|
1534
|
-
}>;
|
|
1535
|
-
}, z.core.$strict>;
|
|
1536
|
-
export type NetworkMoveEdgeResult = z.infer<typeof NetworkMoveEdgeResult>;
|
|
1537
|
-
/** Immutable receipts survive undo. Retrying a move never executes it again. */
|
|
1538
|
-
export declare const NetworkEditReceipt: z.ZodObject<{
|
|
1539
|
-
requestId: z.ZodString;
|
|
1540
|
-
fingerprint: z.ZodString;
|
|
1541
|
-
revision: z.ZodNumber;
|
|
1542
|
-
affectedComponentIds: z.ZodArray<z.ZodString>;
|
|
1543
|
-
}, z.core.$strict>;
|
|
1544
|
-
export type NetworkEditReceipt = z.infer<typeof NetworkEditReceipt>;
|
|
1545
|
-
/** Each intentional apply/undo/redo has its own identity. Retries reuse it. */
|
|
1546
|
-
export declare const NetworkTransition: z.ZodObject<{
|
|
1547
|
-
id: z.ZodString;
|
|
1548
|
-
expectedRevision: z.ZodNumber;
|
|
1549
|
-
forward: z.ZodBoolean;
|
|
1550
|
-
}, z.core.$strict>;
|
|
1551
|
-
export type NetworkTransition = z.infer<typeof NetworkTransition>;
|
|
1552
|
-
export declare const NetworkTransitionReceipt: z.ZodObject<{
|
|
1553
|
-
id: z.ZodString;
|
|
1554
|
-
expectedRevision: z.ZodNumber;
|
|
1555
|
-
forward: z.ZodBoolean;
|
|
1556
|
-
requestId: z.ZodString;
|
|
1557
|
-
revision: z.ZodNumber;
|
|
1558
|
-
}, z.core.$strict>;
|
|
1559
|
-
export type NetworkTransitionReceipt = z.infer<typeof NetworkTransitionReceipt>;
|
|
1560
1517
|
export declare const NetworkContextArgs: z.ZodObject<{
|
|
1561
1518
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
1562
1519
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1611,12 +1568,10 @@ export type NetworkComponentBinding = z.infer<typeof NetworkComponentBinding>;
|
|
|
1611
1568
|
export interface SavedNetworkGraph {
|
|
1612
1569
|
id: string;
|
|
1613
1570
|
domain: NetworkDomain;
|
|
1614
|
-
revision:
|
|
1571
|
+
revision: 1;
|
|
1615
1572
|
requestId: string;
|
|
1616
1573
|
document: NetworkGraphDocument;
|
|
1617
1574
|
components: NetworkComponentBinding[];
|
|
1618
|
-
edits?: NetworkEditReceipt[];
|
|
1619
|
-
transitions?: NetworkTransitionReceipt[];
|
|
1620
1575
|
}
|
|
1621
1576
|
export interface NetworkCreateResult {
|
|
1622
1577
|
graphId: string;
|
|
@@ -1741,21 +1696,6 @@ export declare abstract class PluginElectricalApi extends PluginDomainNetworkApi
|
|
|
1741
1696
|
}
|
|
1742
1697
|
/** Plumbing equipment and routed pipe networks, constructed from agent-authored intent. */
|
|
1743
1698
|
export declare abstract class PluginPlumbingApi extends PluginDomainNetworkApi {
|
|
1744
|
-
/** Offset one straight pipe perpendicular to its axis between two rigid 90-degree elbows.
|
|
1745
|
-
* Resize adjacent pipes through instance length parameters. Out-of-plane offsets add
|
|
1746
|
-
* one pinned elbow and straight pipe per affected end, preserving fixed outer ports
|
|
1747
|
-
* and existing component identities. Rigid fittings only rotate and translate.
|
|
1748
|
-
* Reject axial sliding, moving tees, constrained fittings,
|
|
1749
|
-
* scene drift, stale revisions, and infeasible family geometry before mutation.
|
|
1750
|
-
* @param args Graph/edge identity, current revision, displacement handle in world mm,
|
|
1751
|
-
* and a unique retry identity. Identical retries return the original receipt after undo too.
|
|
1752
|
-
* @returns Affected component IDs and revision in one undoable, queued transaction.
|
|
1753
|
-
* @example
|
|
1754
|
-
* const displacement = await snaptrude.core.math.vec3.new(0, 300, 0)
|
|
1755
|
-
* await snaptrude.design.plumbing.moveEdge({ graphId, edgeId, expectedRevision,
|
|
1756
|
-
* displacement, requestId: crypto.randomUUID() })
|
|
1757
|
-
*/
|
|
1758
|
-
abstract moveEdge(args: NetworkMoveEdgeArgs): PluginApiReturn<NetworkMoveEdgeResult>;
|
|
1759
1699
|
}
|
|
1760
1700
|
/** Family-backed air-side HVAC networks. The agent authors engineering intent; the host constructs it. */
|
|
1761
1701
|
export declare abstract class PluginMechanicalApi extends PluginDomainNetworkApi {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../../src/api/design/networks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../../src/api/design/networks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AA2BlD;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;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../types";
|
|
3
|
-
import { ComponentHandle } from "../../../handles";
|
|
3
|
+
import { ComponentHandle, MaterialHandle } from "../../../handles";
|
|
4
4
|
import { PluginDesignChangeResult } from "../lock";
|
|
5
5
|
import { PluginObjectCatalogGroup, PluginObjectCatalogItem } from "../doors";
|
|
6
|
+
import { PluginMaterialSpec } from "../materials";
|
|
6
7
|
/**
|
|
7
8
|
* `snaptrude.design.windows` — window-specific reads. Creation lives at
|
|
8
9
|
* `design.create.window`; generic reads (`listWindows`/`getHost`/`getProperties`) live
|
|
@@ -20,6 +21,25 @@ import { PluginObjectCatalogGroup, PluginObjectCatalogItem } from "../doors";
|
|
|
20
21
|
*/
|
|
21
22
|
export declare abstract class PluginDesignWindowsApi {
|
|
22
23
|
constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Paint only the window's authored glazing, preserving its frame. Families change
|
|
26
|
+
* with linked copies; legacy catalogue types change every instance of that type.
|
|
27
|
+
* Undoable; refuses locked linked/type members or out-of-proposal targets.
|
|
28
|
+
* @param window Window whose glazing to paint
|
|
29
|
+
* @param material Handle or spec; preserve the exact listPresets name for PBR glass
|
|
30
|
+
* @returns Components affected, including linked/type instances
|
|
31
|
+
* @examplePrompt Use clear glass for this window without changing its frame
|
|
32
|
+
*/
|
|
33
|
+
abstract setGlazing(window: ComponentHandle, material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginDesignChangeResult>;
|
|
34
|
+
/**
|
|
35
|
+
* Paint only non-glazing slots (frames, sashes, hardware), never the clear panes.
|
|
36
|
+
* Scope, locking and undo match setGlazing and design.materials.applyToSlot.
|
|
37
|
+
* @param window Window whose frame to paint
|
|
38
|
+
* @param material Handle or spec, e.g. `{ name: preset.name }` from listPresets
|
|
39
|
+
* @returns Components affected, including linked/type instances
|
|
40
|
+
* @examplePrompt Use brushed metal for this window's frame without changing the glass
|
|
41
|
+
*/
|
|
42
|
+
abstract setFrame(window: ComponentHandle, material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginDesignChangeResult>;
|
|
23
43
|
/**
|
|
24
44
|
* Get the type name of a window — the label that identifies which kind of
|
|
25
45
|
* window the instance is, as shown in its properties.
|
|
@@ -270,6 +290,19 @@ export declare const PluginDesignWindowSetHeightArgs: z.ZodObject<{
|
|
|
270
290
|
height: z.ZodNumber;
|
|
271
291
|
}, z.core.$strip>;
|
|
272
292
|
export type PluginDesignWindowSetHeightArgs = z.infer<typeof PluginDesignWindowSetHeightArgs>;
|
|
293
|
+
/** Arguments for setGlazing / setFrame; both preserve the other authored slot kind. */
|
|
294
|
+
export declare const PluginDesignWindowSetSlotArgs: z.ZodObject<{
|
|
295
|
+
window: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
296
|
+
material: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<MaterialHandle, string>>, z.ZodObject<{
|
|
297
|
+
name: z.ZodOptional<z.ZodString>;
|
|
298
|
+
color: z.ZodOptional<z.ZodString>;
|
|
299
|
+
textureUrl: z.ZodOptional<z.ZodString>;
|
|
300
|
+
alpha: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
materialType: z.ZodOptional<z.ZodString>;
|
|
302
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
}, z.core.$strip>]>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
export type PluginDesignWindowSetSlotArgs = z.infer<typeof PluginDesignWindowSetSlotArgs>;
|
|
273
306
|
export { PluginObjectCatalogGroup, PluginObjectCatalogItem };
|
|
274
307
|
/**
|
|
275
308
|
* Arguments for {@linkcode PluginDesignWindowsApi.listCatalog}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/windows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAA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