@nakafa/aksara-contracts 8.15.0 → 8.17.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 (43) hide show
  1. package/dist/visual/base.d.ts +785 -0
  2. package/dist/visual/base.js +13 -0
  3. package/dist/visual/biology/ecosystem.d.ts +425 -0
  4. package/dist/visual/biology/ecosystem.js +140 -0
  5. package/dist/visual/biology/respiration.d.ts +286 -0
  6. package/dist/visual/biology/respiration.js +97 -0
  7. package/dist/visual/biology.d.ts +11158 -205
  8. package/dist/visual/biology.js +104 -0
  9. package/dist/visual/catalog.d.ts +16 -41206
  10. package/dist/visual/catalog.js +8 -216
  11. package/dist/visual/chemistry/green.d.ts +282 -0
  12. package/dist/visual/chemistry/green.js +98 -0
  13. package/dist/visual/chemistry/groups.d.ts +276 -0
  14. package/dist/visual/chemistry/groups.js +85 -0
  15. package/dist/visual/chemistry/industry.d.ts +420 -0
  16. package/dist/visual/chemistry/industry.js +126 -0
  17. package/dist/visual/chemistry/materials.d.ts +416 -0
  18. package/dist/visual/chemistry/materials.js +116 -0
  19. package/dist/visual/chemistry/organic.d.ts +416 -0
  20. package/dist/visual/chemistry/organic.js +128 -0
  21. package/dist/visual/chemistry/polymer.d.ts +422 -0
  22. package/dist/visual/chemistry/polymer.js +126 -0
  23. package/dist/visual/chemistry/solution.d.ts +278 -0
  24. package/dist/visual/chemistry/solution.js +89 -0
  25. package/dist/visual/chemistry/stoichiometry.d.ts +287 -0
  26. package/dist/visual/chemistry/stoichiometry.js +83 -0
  27. package/dist/visual/chemistry.d.ts +8827 -0
  28. package/dist/visual/chemistry.js +50 -0
  29. package/dist/visual/mathematics/derivative.d.ts +425 -0
  30. package/dist/visual/mathematics/derivative.js +132 -0
  31. package/dist/visual/mathematics/integral.d.ts +428 -0
  32. package/dist/visual/mathematics/integral.js +146 -0
  33. package/dist/visual/mathematics/limit.d.ts +425 -0
  34. package/dist/visual/mathematics/limit.js +139 -0
  35. package/dist/visual/mathematics/linear.d.ts +425 -0
  36. package/dist/visual/mathematics/linear.js +140 -0
  37. package/dist/visual/mathematics/vector.d.ts +419 -0
  38. package/dist/visual/mathematics/vector.js +129 -0
  39. package/dist/visual/mathematics.d.ts +5148 -0
  40. package/dist/visual/mathematics.js +41 -0
  41. package/dist/visual/physics.d.ts +17875 -0
  42. package/dist/visual/physics.js +70 -0
  43. package/package.json +1 -1
@@ -0,0 +1,416 @@
1
+ import { Schema } from "effect";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * Manufactured-substances labs covering alloy slip-plane hardening, the
5
+ * Contact sulfuric acid tower, and glass/ceramic silicate microstructures.
6
+ */
7
+ export declare function materialVisuals<E>(rich: RichSlot<E>): {
8
+ AlloySlipPlaneLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly marks?: readonly [{
12
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13
+ } | {
14
+ readonly attrs: {
15
+ readonly href: string;
16
+ };
17
+ readonly type: "link";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly variant: "success" | "warning" | null;
21
+ };
22
+ readonly type: "highlight";
23
+ }, ...({
24
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
25
+ } | {
26
+ readonly attrs: {
27
+ readonly href: string;
28
+ };
29
+ readonly type: "link";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly variant: "success" | "warning" | null;
33
+ };
34
+ readonly type: "highlight";
35
+ })[]];
36
+ readonly text: string;
37
+ readonly type: "text";
38
+ } | {
39
+ readonly attrs: {
40
+ readonly latex: string;
41
+ };
42
+ readonly marks?: readonly [{
43
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
44
+ } | {
45
+ readonly attrs: {
46
+ readonly href: string;
47
+ };
48
+ readonly type: "link";
49
+ } | {
50
+ readonly attrs: {
51
+ readonly variant: "success" | "warning" | null;
52
+ };
53
+ readonly type: "highlight";
54
+ }, ...({
55
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly href: string;
59
+ };
60
+ readonly type: "link";
61
+ } | {
62
+ readonly attrs: {
63
+ readonly variant: "success" | "warning" | null;
64
+ };
65
+ readonly type: "highlight";
66
+ })[]];
67
+ readonly type: "mathInline";
68
+ }, ...({
69
+ readonly marks?: readonly [{
70
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
71
+ } | {
72
+ readonly attrs: {
73
+ readonly href: string;
74
+ };
75
+ readonly type: "link";
76
+ } | {
77
+ readonly attrs: {
78
+ readonly variant: "success" | "warning" | null;
79
+ };
80
+ readonly type: "highlight";
81
+ }, ...({
82
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
83
+ } | {
84
+ readonly attrs: {
85
+ readonly href: string;
86
+ };
87
+ readonly type: "link";
88
+ } | {
89
+ readonly attrs: {
90
+ readonly variant: "success" | "warning" | null;
91
+ };
92
+ readonly type: "highlight";
93
+ })[]];
94
+ readonly text: string;
95
+ readonly type: "text";
96
+ } | {
97
+ readonly attrs: {
98
+ readonly latex: string;
99
+ };
100
+ readonly marks?: readonly [{
101
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
102
+ } | {
103
+ readonly attrs: {
104
+ readonly href: string;
105
+ };
106
+ readonly type: "link";
107
+ } | {
108
+ readonly attrs: {
109
+ readonly variant: "success" | "warning" | null;
110
+ };
111
+ readonly type: "highlight";
112
+ }, ...({
113
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
114
+ } | {
115
+ readonly attrs: {
116
+ readonly href: string;
117
+ };
118
+ readonly type: "link";
119
+ } | {
120
+ readonly attrs: {
121
+ readonly variant: "success" | "warning" | null;
122
+ };
123
+ readonly type: "highlight";
124
+ })[]];
125
+ readonly type: "mathInline";
126
+ })[]], E, never, never>>;
127
+ readonly title: RichSlot<E>;
128
+ readonly labels: Schema.Struct<{
129
+ readonly hardnessNote: Schema.optionalKey<RichSlot<E>>;
130
+ readonly metal: Schema.Trimmed;
131
+ readonly metals: Schema.$Record<Schema.Literals<readonly ["pureIron", "steel", "bronze", "brass"]>, Schema.optionalKey<Schema.Struct<{
132
+ readonly hardnessNote: RichSlot<E>;
133
+ readonly name: Schema.Trimmed;
134
+ readonly structureNote: RichSlot<E>;
135
+ }>>>;
136
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["hostAtom", "foreignAtom", "slipPlane", "shearArrow"]>, Schema.Trimmed>;
137
+ readonly shearForce: Schema.Trimmed;
138
+ readonly structureNote: Schema.optionalKey<RichSlot<E>>;
139
+ readonly view: Schema.Trimmed;
140
+ }>;
141
+ readonly metals: Schema.NonEmptyArray<Schema.Literals<readonly ["pureIron", "steel", "bronze", "brass"]>>;
142
+ readonly shearForce: Schema.Struct<{
143
+ readonly max: Schema.Finite;
144
+ readonly min: Schema.Finite;
145
+ readonly value: Schema.Finite;
146
+ }>;
147
+ }>, "figure">;
148
+ ContactSulfuricTowerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
149
+ readonly description: RichSlot<E>;
150
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
151
+ readonly marks?: readonly [{
152
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
153
+ } | {
154
+ readonly attrs: {
155
+ readonly href: string;
156
+ };
157
+ readonly type: "link";
158
+ } | {
159
+ readonly attrs: {
160
+ readonly variant: "success" | "warning" | null;
161
+ };
162
+ readonly type: "highlight";
163
+ }, ...({
164
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
165
+ } | {
166
+ readonly attrs: {
167
+ readonly href: string;
168
+ };
169
+ readonly type: "link";
170
+ } | {
171
+ readonly attrs: {
172
+ readonly variant: "success" | "warning" | null;
173
+ };
174
+ readonly type: "highlight";
175
+ })[]];
176
+ readonly text: string;
177
+ readonly type: "text";
178
+ } | {
179
+ readonly attrs: {
180
+ readonly latex: string;
181
+ };
182
+ readonly marks?: readonly [{
183
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
184
+ } | {
185
+ readonly attrs: {
186
+ readonly href: string;
187
+ };
188
+ readonly type: "link";
189
+ } | {
190
+ readonly attrs: {
191
+ readonly variant: "success" | "warning" | null;
192
+ };
193
+ readonly type: "highlight";
194
+ }, ...({
195
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
196
+ } | {
197
+ readonly attrs: {
198
+ readonly href: string;
199
+ };
200
+ readonly type: "link";
201
+ } | {
202
+ readonly attrs: {
203
+ readonly variant: "success" | "warning" | null;
204
+ };
205
+ readonly type: "highlight";
206
+ })[]];
207
+ readonly type: "mathInline";
208
+ }, ...({
209
+ readonly marks?: readonly [{
210
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
211
+ } | {
212
+ readonly attrs: {
213
+ readonly href: string;
214
+ };
215
+ readonly type: "link";
216
+ } | {
217
+ readonly attrs: {
218
+ readonly variant: "success" | "warning" | null;
219
+ };
220
+ readonly type: "highlight";
221
+ }, ...({
222
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
223
+ } | {
224
+ readonly attrs: {
225
+ readonly href: string;
226
+ };
227
+ readonly type: "link";
228
+ } | {
229
+ readonly attrs: {
230
+ readonly variant: "success" | "warning" | null;
231
+ };
232
+ readonly type: "highlight";
233
+ })[]];
234
+ readonly text: string;
235
+ readonly type: "text";
236
+ } | {
237
+ readonly attrs: {
238
+ readonly latex: string;
239
+ };
240
+ readonly marks?: readonly [{
241
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
242
+ } | {
243
+ readonly attrs: {
244
+ readonly href: string;
245
+ };
246
+ readonly type: "link";
247
+ } | {
248
+ readonly attrs: {
249
+ readonly variant: "success" | "warning" | null;
250
+ };
251
+ readonly type: "highlight";
252
+ }, ...({
253
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
254
+ } | {
255
+ readonly attrs: {
256
+ readonly href: string;
257
+ };
258
+ readonly type: "link";
259
+ } | {
260
+ readonly attrs: {
261
+ readonly variant: "success" | "warning" | null;
262
+ };
263
+ readonly type: "highlight";
264
+ })[]];
265
+ readonly type: "mathInline";
266
+ })[]], E, never, never>>;
267
+ readonly title: RichSlot<E>;
268
+ readonly labels: Schema.Struct<{
269
+ readonly conditions: Schema.optionalKey<RichSlot<E>>;
270
+ readonly equation: Schema.optionalKey<RichSlot<E>>;
271
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["burner", "vanadiumBed", "absorptionTower", "oleumTank", "acidPipe"]>, Schema.Trimmed>;
272
+ readonly stage: Schema.Trimmed;
273
+ readonly stages: Schema.$Record<Schema.Literals<readonly ["roasting", "catalyticOxidation", "oleumAbsorption", "dilution"]>, Schema.optionalKey<Schema.Struct<{
274
+ readonly conditions: RichSlot<E>;
275
+ readonly equation: RichSlot<E>;
276
+ readonly name: Schema.Trimmed;
277
+ }>>>;
278
+ readonly view: Schema.Trimmed;
279
+ }>;
280
+ readonly stages: Schema.NonEmptyArray<Schema.Literals<readonly ["roasting", "catalyticOxidation", "oleumAbsorption", "dilution"]>>;
281
+ }>, "figure">;
282
+ GlassCeramicLatticeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
283
+ readonly description: RichSlot<E>;
284
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
285
+ readonly marks?: readonly [{
286
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
287
+ } | {
288
+ readonly attrs: {
289
+ readonly href: string;
290
+ };
291
+ readonly type: "link";
292
+ } | {
293
+ readonly attrs: {
294
+ readonly variant: "success" | "warning" | null;
295
+ };
296
+ readonly type: "highlight";
297
+ }, ...({
298
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
299
+ } | {
300
+ readonly attrs: {
301
+ readonly href: string;
302
+ };
303
+ readonly type: "link";
304
+ } | {
305
+ readonly attrs: {
306
+ readonly variant: "success" | "warning" | null;
307
+ };
308
+ readonly type: "highlight";
309
+ })[]];
310
+ readonly text: string;
311
+ readonly type: "text";
312
+ } | {
313
+ readonly attrs: {
314
+ readonly latex: string;
315
+ };
316
+ readonly marks?: readonly [{
317
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
318
+ } | {
319
+ readonly attrs: {
320
+ readonly href: string;
321
+ };
322
+ readonly type: "link";
323
+ } | {
324
+ readonly attrs: {
325
+ readonly variant: "success" | "warning" | null;
326
+ };
327
+ readonly type: "highlight";
328
+ }, ...({
329
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
330
+ } | {
331
+ readonly attrs: {
332
+ readonly href: string;
333
+ };
334
+ readonly type: "link";
335
+ } | {
336
+ readonly attrs: {
337
+ readonly variant: "success" | "warning" | null;
338
+ };
339
+ readonly type: "highlight";
340
+ })[]];
341
+ readonly type: "mathInline";
342
+ }, ...({
343
+ readonly marks?: readonly [{
344
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
345
+ } | {
346
+ readonly attrs: {
347
+ readonly href: string;
348
+ };
349
+ readonly type: "link";
350
+ } | {
351
+ readonly attrs: {
352
+ readonly variant: "success" | "warning" | null;
353
+ };
354
+ readonly type: "highlight";
355
+ }, ...({
356
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
357
+ } | {
358
+ readonly attrs: {
359
+ readonly href: string;
360
+ };
361
+ readonly type: "link";
362
+ } | {
363
+ readonly attrs: {
364
+ readonly variant: "success" | "warning" | null;
365
+ };
366
+ readonly type: "highlight";
367
+ })[]];
368
+ readonly text: string;
369
+ readonly type: "text";
370
+ } | {
371
+ readonly attrs: {
372
+ readonly latex: string;
373
+ };
374
+ readonly marks?: readonly [{
375
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
376
+ } | {
377
+ readonly attrs: {
378
+ readonly href: string;
379
+ };
380
+ readonly type: "link";
381
+ } | {
382
+ readonly attrs: {
383
+ readonly variant: "success" | "warning" | null;
384
+ };
385
+ readonly type: "highlight";
386
+ }, ...({
387
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
388
+ } | {
389
+ readonly attrs: {
390
+ readonly href: string;
391
+ };
392
+ readonly type: "link";
393
+ } | {
394
+ readonly attrs: {
395
+ readonly variant: "success" | "warning" | null;
396
+ };
397
+ readonly type: "highlight";
398
+ })[]];
399
+ readonly type: "mathInline";
400
+ })[]], E, never, never>>;
401
+ readonly title: RichSlot<E>;
402
+ readonly labels: Schema.Struct<{
403
+ readonly material: Schema.Trimmed;
404
+ readonly materials: Schema.$Record<Schema.Literals<readonly ["sodaLimeGlass", "borosilicateGlass", "traditionalCeramic", "advancedCeramic"]>, Schema.optionalKey<Schema.Struct<{
405
+ readonly name: Schema.Trimmed;
406
+ readonly propertyNote: RichSlot<E>;
407
+ readonly useNote: RichSlot<E>;
408
+ }>>>;
409
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["silicaTetrahedron", "boronNode", "clayLayer", "crystalGrain"]>, Schema.Trimmed>;
410
+ readonly propertyNote: Schema.optionalKey<RichSlot<E>>;
411
+ readonly useNote: Schema.optionalKey<RichSlot<E>>;
412
+ readonly view: Schema.Trimmed;
413
+ }>;
414
+ readonly materials: Schema.NonEmptyArray<Schema.Literals<readonly ["sodaLimeGlass", "borosilicateGlass", "traditionalCeramic", "advancedCeramic"]>>;
415
+ }>, "figure">;
416
+ };
@@ -0,0 +1,116 @@
1
+ import { Schema } from "effect";
2
+ import { byIds, byPickedIds, cardFields, namesEach, TextSchema, } from "#contracts/visual/card";
3
+ import { answerAt, figure } from "#contracts/visual/entry";
4
+ const PositiveSchema = Schema.Finite.check(Schema.isGreaterThan(0));
5
+ const NonNegativeSchema = Schema.Finite.check(Schema.isGreaterThanOrEqualTo(0));
6
+ const NonNegativeSliderSchema = Schema.Struct({
7
+ max: PositiveSchema,
8
+ min: NonNegativeSchema,
9
+ value: NonNegativeSchema,
10
+ }).check(Schema.makeFilter(({ max, min, value }) => min < max && min <= value && value <= max, {
11
+ message: "Expected a slider range whose minimum is below its maximum, with the starting value between them.",
12
+ }));
13
+ const ALLOY_METALS = ["pureIron", "steel", "bronze", "brass"];
14
+ const CONTACT_STAGES = [
15
+ "roasting",
16
+ "catalyticOxidation",
17
+ "oleumAbsorption",
18
+ "dilution",
19
+ ];
20
+ const SILICATE_MATERIALS = [
21
+ "sodaLimeGlass",
22
+ "borosilicateGlass",
23
+ "traditionalCeramic",
24
+ "advancedCeramic",
25
+ ];
26
+ /**
27
+ * Props of `AlloySlipPlaneLab`: a 3D atomic lattice comparing how uniform pure
28
+ * metal layers slide under shear force versus foreign alloy atoms disrupting
29
+ * slip planes in steel, bronze, and brass. Hardness and structure readouts are
30
+ * optional answer state.
31
+ */
32
+ function alloySlipPlaneLab(rich) {
33
+ return figure(Schema.Struct({
34
+ ...cardFields(rich),
35
+ labels: Schema.Struct({
36
+ hardnessNote: Schema.optionalKey(rich),
37
+ metal: TextSchema,
38
+ metals: byPickedIds(ALLOY_METALS, Schema.Struct({
39
+ hardnessNote: rich,
40
+ name: TextSchema,
41
+ structureNote: rich,
42
+ })),
43
+ parts: byIds(["hostAtom", "foreignAtom", "slipPlane", "shearArrow"], TextSchema),
44
+ shearForce: TextSchema,
45
+ structureNote: Schema.optionalKey(rich),
46
+ view: TextSchema,
47
+ }),
48
+ metals: Schema.NonEmptyArray(Schema.Literals(ALLOY_METALS)).check(Schema.isUnique()),
49
+ shearForce: NonNegativeSliderSchema,
50
+ }).check(Schema.makeFilter(({ labels, metals }) => namesEach(metals, labels.metals), {
51
+ message: "Expected a name, hardness note, and structure note for every metal or alloy shown, and no other.",
52
+ })), answerAt(["labels", "hardnessNote"], ["labels", "structureNote"]));
53
+ }
54
+ /**
55
+ * Props of `ContactSulfuricTowerLab`: a 3D Contact-process sulfuric acid plant
56
+ * tracing sulfur roasting to SO2, V2O5-catalysed oxidation to SO3, absorption
57
+ * into concentrated H2SO4 forming oleum, and controlled dilution. Conditions
58
+ * and equation readouts are optional answer state.
59
+ */
60
+ function contactSulfuricTowerLab(rich) {
61
+ return figure(Schema.Struct({
62
+ ...cardFields(rich),
63
+ labels: Schema.Struct({
64
+ conditions: Schema.optionalKey(rich),
65
+ equation: Schema.optionalKey(rich),
66
+ parts: byIds(["burner", "vanadiumBed", "absorptionTower", "oleumTank", "acidPipe"], TextSchema),
67
+ stage: TextSchema,
68
+ stages: byPickedIds(CONTACT_STAGES, Schema.Struct({
69
+ conditions: rich,
70
+ equation: rich,
71
+ name: TextSchema,
72
+ })),
73
+ view: TextSchema,
74
+ }),
75
+ stages: Schema.NonEmptyArray(Schema.Literals(CONTACT_STAGES)).check(Schema.isUnique()),
76
+ }).check(Schema.makeFilter(({ labels, stages }) => namesEach(stages, labels.stages), {
77
+ message: "Expected a name, conditions, and equation for every Contact-process stage shown, and no other.",
78
+ })), answerAt(["labels", "conditions"], ["labels", "equation"]));
79
+ }
80
+ /**
81
+ * Props of `GlassCeramicLatticeLab`: a 3D silicate microstructure gallery
82
+ * contrasting amorphous soda-lime and borosilicate glass networks against
83
+ * crystalline clay traditional and advanced ceramics. Property and use
84
+ * readouts are optional answer state.
85
+ */
86
+ function glassCeramicLatticeLab(rich) {
87
+ return figure(Schema.Struct({
88
+ ...cardFields(rich),
89
+ labels: Schema.Struct({
90
+ material: TextSchema,
91
+ materials: byPickedIds(SILICATE_MATERIALS, Schema.Struct({
92
+ name: TextSchema,
93
+ propertyNote: rich,
94
+ useNote: rich,
95
+ })),
96
+ parts: byIds(["silicaTetrahedron", "boronNode", "clayLayer", "crystalGrain"], TextSchema),
97
+ propertyNote: Schema.optionalKey(rich),
98
+ useNote: Schema.optionalKey(rich),
99
+ view: TextSchema,
100
+ }),
101
+ materials: Schema.NonEmptyArray(Schema.Literals(SILICATE_MATERIALS)).check(Schema.isUnique()),
102
+ }).check(Schema.makeFilter(({ labels, materials }) => namesEach(materials, labels.materials), {
103
+ message: "Expected a name, property note, and use note for every glass or ceramic material shown, and no other.",
104
+ })), answerAt(["labels", "propertyNote"], ["labels", "useNote"]));
105
+ }
106
+ /**
107
+ * Manufactured-substances labs covering alloy slip-plane hardening, the
108
+ * Contact sulfuric acid tower, and glass/ceramic silicate microstructures.
109
+ */
110
+ export function materialVisuals(rich) {
111
+ return {
112
+ AlloySlipPlaneLab: alloySlipPlaneLab(rich),
113
+ ContactSulfuricTowerLab: contactSulfuricTowerLab(rich),
114
+ GlassCeramicLatticeLab: glassCeramicLatticeLab(rich),
115
+ };
116
+ }