@milaboratories/pl-model-middle-layer 1.3.0 → 1.4.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 (35) hide show
  1. package/dist/block_meta/block_components.d.ts +13 -13
  2. package/dist/block_meta/block_description.d.ts +8 -8
  3. package/dist/block_meta/block_manifest.d.ts +40 -39
  4. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  5. package/dist/block_meta/block_meta.d.ts +102 -2
  6. package/dist/block_meta/block_meta.d.ts.map +1 -1
  7. package/dist/block_registry/block_pack_spec.d.ts +201 -0
  8. package/dist/block_registry/block_pack_spec.d.ts.map +1 -0
  9. package/dist/block_registry/index.d.ts +4 -0
  10. package/dist/block_registry/index.d.ts.map +1 -0
  11. package/dist/block_registry/overview.d.ts +914 -0
  12. package/dist/block_registry/overview.d.ts.map +1 -0
  13. package/dist/block_registry/registry_spec.d.ts +184 -0
  14. package/dist/block_registry/registry_spec.d.ts.map +1 -0
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +170 -103
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/project_overview.d.ts +1 -1
  22. package/dist/project_overview.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/src/block_meta/block_components.ts +3 -0
  25. package/src/block_meta/block_manifest.ts +7 -5
  26. package/src/block_meta/block_meta.ts +10 -2
  27. package/src/block_registry/block_pack_spec.ts +51 -0
  28. package/src/block_registry/index.ts +3 -0
  29. package/src/block_registry/overview.ts +27 -0
  30. package/src/block_registry/registry_spec.ts +38 -0
  31. package/src/index.ts +1 -1
  32. package/src/project_overview.ts +1 -1
  33. package/dist/block_pack.d.ts +0 -24
  34. package/dist/block_pack.d.ts.map +0 -1
  35. package/src/block_pack.ts +0 -29
@@ -147,7 +147,6 @@ export declare const BlockComponentsDescriptionRaw: z.ZodObject<{
147
147
  model: z.ZodString;
148
148
  ui: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
- ui: string;
151
150
  workflow: {
152
151
  type: string;
153
152
  main: any;
@@ -156,13 +155,14 @@ export declare const BlockComponentsDescriptionRaw: z.ZodObject<{
156
155
  main: string;
157
156
  };
158
157
  model: string;
159
- }, {
160
158
  ui: string;
159
+ }, {
161
160
  workflow: string | {
162
161
  type: "workflow-v1";
163
162
  main: string;
164
163
  };
165
164
  model: string;
165
+ ui: string;
166
166
  }>;
167
167
  export type BlockComponentsDescriptionRaw = z.infer<typeof BlockComponentsDescriptionRaw>;
168
168
  export declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
@@ -343,14 +343,6 @@ export declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<
343
343
  path: string;
344
344
  }>;
345
345
  }, "strip", z.ZodTypeAny, {
346
- ui: {
347
- type: "explicit-base64";
348
- content: string;
349
- mimeType: string;
350
- } | {
351
- type: "absolute-url";
352
- url: string;
353
- };
354
346
  workflow: {
355
347
  type: string;
356
348
  main: any;
@@ -373,15 +365,15 @@ export declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<
373
365
  type: "absolute-url";
374
366
  url: string;
375
367
  };
376
- }, {
377
368
  ui: {
378
369
  type: "explicit-base64";
379
370
  content: string;
380
371
  mimeType: string;
381
372
  } | {
382
- type: "relative";
383
- path: string;
373
+ type: "absolute-url";
374
+ url: string;
384
375
  };
376
+ }, {
385
377
  workflow: {
386
378
  type: "explicit-base64";
387
379
  content: string;
@@ -408,6 +400,14 @@ export declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<
408
400
  type: "relative";
409
401
  path: string;
410
402
  };
403
+ ui: {
404
+ type: "explicit-base64";
405
+ content: string;
406
+ mimeType: string;
407
+ } | {
408
+ type: "relative";
409
+ path: string;
410
+ };
411
411
  }>;
412
412
  export type BlockComponentsAbsolute = z.infer<ReturnType<typeof BlockComponentsAbsoluteUrl>>;
413
413
  //# sourceMappingURL=block_components.d.ts.map
@@ -20,7 +20,6 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
20
20
  model: z.ZodString;
21
21
  ui: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
- ui: string;
24
23
  workflow: {
25
24
  type: string;
26
25
  main: any;
@@ -29,13 +28,14 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
29
28
  main: string;
30
29
  };
31
30
  model: string;
32
- }, {
33
31
  ui: string;
32
+ }, {
34
33
  workflow: string | {
35
34
  type: "workflow-v1";
36
35
  main: string;
37
36
  };
38
37
  model: string;
38
+ ui: string;
39
39
  }>;
40
40
  meta: z.ZodObject<{
41
41
  title: z.ZodString;
@@ -275,7 +275,6 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
275
275
  }>;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  components: {
278
- ui: string;
279
278
  workflow: {
280
279
  type: string;
281
280
  main: any;
@@ -284,6 +283,7 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
284
283
  main: string;
285
284
  };
286
285
  model: string;
286
+ ui: string;
287
287
  };
288
288
  meta: {
289
289
  organization: {
@@ -331,12 +331,12 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
331
331
  };
332
332
  }, {
333
333
  components: {
334
- ui: string;
335
334
  workflow: string | {
336
335
  type: "workflow-v1";
337
336
  main: string;
338
337
  };
339
338
  model: string;
339
+ ui: string;
340
340
  };
341
341
  meta: {
342
342
  organization: {
@@ -495,7 +495,6 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
495
495
  model: z.ZodString;
496
496
  ui: z.ZodString;
497
497
  }, "strip", z.ZodTypeAny, {
498
- ui: string;
499
498
  workflow: {
500
499
  type: string;
501
500
  main: any;
@@ -504,13 +503,14 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
504
503
  main: string;
505
504
  };
506
505
  model: string;
507
- }, {
508
506
  ui: string;
507
+ }, {
509
508
  workflow: string | {
510
509
  type: "workflow-v1";
511
510
  main: string;
512
511
  };
513
512
  model: string;
513
+ ui: string;
514
514
  }>;
515
515
  meta: z.ZodObject<{
516
516
  title: z.ZodString;
@@ -750,7 +750,6 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
750
750
  }>;
751
751
  }, "strip", z.ZodTypeAny, {
752
752
  components: {
753
- ui: string;
754
753
  workflow: {
755
754
  type: string;
756
755
  main: any;
@@ -759,6 +758,7 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
759
758
  main: string;
760
759
  };
761
760
  model: string;
761
+ ui: string;
762
762
  };
763
763
  meta: {
764
764
  organization: {
@@ -811,12 +811,12 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
811
811
  };
812
812
  }, {
813
813
  components: {
814
- ui: string;
815
814
  workflow: string | {
816
815
  type: "workflow-v1";
817
816
  main: string;
818
817
  };
819
818
  model: string;
819
+ ui: string;
820
820
  };
821
821
  meta: {
822
822
  organization: {
@@ -61,10 +61,6 @@ export declare const BlockComponentsManifest: z.ZodObject<{
61
61
  path: string;
62
62
  }>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- ui: {
65
- type: "relative";
66
- path: string;
67
- };
68
64
  workflow: {
69
65
  type: string;
70
66
  main: any;
@@ -79,11 +75,11 @@ export declare const BlockComponentsManifest: z.ZodObject<{
79
75
  type: "relative";
80
76
  path: string;
81
77
  };
82
- }, {
83
78
  ui: {
84
79
  type: "relative";
85
80
  path: string;
86
81
  };
82
+ }, {
87
83
  workflow: {
88
84
  type: "relative";
89
85
  path: string;
@@ -98,6 +94,10 @@ export declare const BlockComponentsManifest: z.ZodObject<{
98
94
  type: "relative";
99
95
  path: string;
100
96
  };
97
+ ui: {
98
+ type: "relative";
99
+ path: string;
100
+ };
101
101
  }>;
102
102
  export type BlockComponentsManifest = z.infer<typeof BlockComponentsManifest>;
103
103
  export declare const BlockPackMetaManifest: z.ZodObject<{
@@ -343,10 +343,6 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
343
343
  path: string;
344
344
  }>;
345
345
  }, "strip", z.ZodTypeAny, {
346
- ui: {
347
- type: "relative";
348
- path: string;
349
- };
350
346
  workflow: {
351
347
  type: string;
352
348
  main: any;
@@ -361,11 +357,11 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
361
357
  type: "relative";
362
358
  path: string;
363
359
  };
364
- }, {
365
360
  ui: {
366
361
  type: "relative";
367
362
  path: string;
368
363
  };
364
+ }, {
369
365
  workflow: {
370
366
  type: "relative";
371
367
  path: string;
@@ -380,6 +376,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
380
376
  type: "relative";
381
377
  path: string;
382
378
  };
379
+ ui: {
380
+ type: "relative";
381
+ path: string;
382
+ };
383
383
  }>;
384
384
  meta: z.ZodObject<{
385
385
  title: z.ZodString;
@@ -548,10 +548,6 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
548
548
  }>;
549
549
  }, "strip", z.ZodTypeAny, {
550
550
  components: {
551
- ui: {
552
- type: "relative";
553
- path: string;
554
- };
555
551
  workflow: {
556
552
  type: string;
557
553
  main: any;
@@ -566,6 +562,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
566
562
  type: "relative";
567
563
  path: string;
568
564
  };
565
+ ui: {
566
+ type: "relative";
567
+ path: string;
568
+ };
569
569
  };
570
570
  meta: {
571
571
  organization: {
@@ -609,10 +609,6 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
609
609
  };
610
610
  }, {
611
611
  components: {
612
- ui: {
613
- type: "relative";
614
- path: string;
615
- };
616
612
  workflow: {
617
613
  type: "relative";
618
614
  path: string;
@@ -627,6 +623,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
627
623
  type: "relative";
628
624
  path: string;
629
625
  };
626
+ ui: {
627
+ type: "relative";
628
+ path: string;
629
+ };
630
630
  };
631
631
  meta: {
632
632
  organization: {
@@ -670,6 +670,7 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
670
670
  };
671
671
  }>;
672
672
  export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
673
+ export declare const Sha256Schema: z.ZodString;
673
674
  export declare const ManifestFileInfo: z.ZodObject<{
674
675
  name: z.ZodString;
675
676
  size: z.ZodNumber;
@@ -762,10 +763,6 @@ export declare const BlockPackManifest: z.ZodObject<{
762
763
  path: string;
763
764
  }>;
764
765
  }, "strip", z.ZodTypeAny, {
765
- ui: {
766
- type: "relative";
767
- path: string;
768
- };
769
766
  workflow: {
770
767
  type: string;
771
768
  main: any;
@@ -780,11 +777,11 @@ export declare const BlockPackManifest: z.ZodObject<{
780
777
  type: "relative";
781
778
  path: string;
782
779
  };
783
- }, {
784
780
  ui: {
785
781
  type: "relative";
786
782
  path: string;
787
783
  };
784
+ }, {
788
785
  workflow: {
789
786
  type: "relative";
790
787
  path: string;
@@ -799,6 +796,10 @@ export declare const BlockPackManifest: z.ZodObject<{
799
796
  type: "relative";
800
797
  path: string;
801
798
  };
799
+ ui: {
800
+ type: "relative";
801
+ path: string;
802
+ };
802
803
  }>;
803
804
  meta: z.ZodObject<{
804
805
  title: z.ZodString;
@@ -967,10 +968,6 @@ export declare const BlockPackManifest: z.ZodObject<{
967
968
  }>;
968
969
  }, "strip", z.ZodTypeAny, {
969
970
  components: {
970
- ui: {
971
- type: "relative";
972
- path: string;
973
- };
974
971
  workflow: {
975
972
  type: string;
976
973
  main: any;
@@ -985,6 +982,10 @@ export declare const BlockPackManifest: z.ZodObject<{
985
982
  type: "relative";
986
983
  path: string;
987
984
  };
985
+ ui: {
986
+ type: "relative";
987
+ path: string;
988
+ };
988
989
  };
989
990
  meta: {
990
991
  organization: {
@@ -1028,10 +1029,6 @@ export declare const BlockPackManifest: z.ZodObject<{
1028
1029
  };
1029
1030
  }, {
1030
1031
  components: {
1031
- ui: {
1032
- type: "relative";
1033
- path: string;
1034
- };
1035
1032
  workflow: {
1036
1033
  type: "relative";
1037
1034
  path: string;
@@ -1046,6 +1043,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1046
1043
  type: "relative";
1047
1044
  path: string;
1048
1045
  };
1046
+ ui: {
1047
+ type: "relative";
1048
+ path: string;
1049
+ };
1049
1050
  };
1050
1051
  meta: {
1051
1052
  organization: {
@@ -1104,10 +1105,6 @@ export declare const BlockPackManifest: z.ZodObject<{
1104
1105
  }, "strip", z.ZodTypeAny, {
1105
1106
  description: {
1106
1107
  components: {
1107
- ui: {
1108
- type: "relative";
1109
- path: string;
1110
- };
1111
1108
  workflow: {
1112
1109
  type: string;
1113
1110
  main: any;
@@ -1122,6 +1119,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1122
1119
  type: "relative";
1123
1120
  path: string;
1124
1121
  };
1122
+ ui: {
1123
+ type: "relative";
1124
+ path: string;
1125
+ };
1125
1126
  };
1126
1127
  meta: {
1127
1128
  organization: {
@@ -1173,10 +1174,6 @@ export declare const BlockPackManifest: z.ZodObject<{
1173
1174
  }, {
1174
1175
  description: {
1175
1176
  components: {
1176
- ui: {
1177
- type: "relative";
1178
- path: string;
1179
- };
1180
1177
  workflow: {
1181
1178
  type: "relative";
1182
1179
  path: string;
@@ -1191,6 +1188,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1191
1188
  type: "relative";
1192
1189
  path: string;
1193
1190
  };
1191
+ ui: {
1192
+ type: "relative";
1193
+ path: string;
1194
+ };
1194
1195
  };
1195
1196
  meta: {
1196
1197
  organization: {
@@ -1 +1 @@
1
- {"version":3,"file":"block_manifest.d.ts","sourceRoot":"","sources":["../../src/block_meta/block_manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoD,CAAC;AACzF,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,qBAAqB,kBAAkB,CAAC"}
@@ -387,7 +387,7 @@ export declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
387
387
  tags?: string[] | undefined;
388
388
  }>;
389
389
  export type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;
390
- export declare const BlockPackMetaEmbeddedContent: z.ZodObject<{
390
+ export declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
391
391
  title: z.ZodString;
392
392
  description: z.ZodString;
393
393
  longDescription: z.ZodOptional<z.ZodString>;
@@ -486,5 +486,105 @@ export declare const BlockPackMetaEmbeddedContent: z.ZodObject<{
486
486
  support?: string | undefined;
487
487
  tags?: string[] | undefined;
488
488
  }>;
489
- export type BlockPackMetaEmbeddedContent = z.infer<typeof BlockPackMetaEmbeddedContent>;
489
+ export type BlockPackMetaEmbeddedBase64 = z.infer<typeof BlockPackMetaEmbeddedBase64>;
490
+ export declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
491
+ title: z.ZodString;
492
+ description: z.ZodString;
493
+ longDescription: z.ZodOptional<z.ZodString>;
494
+ logo: z.ZodOptional<z.ZodObject<{
495
+ type: z.ZodLiteral<"explicit-bytes">;
496
+ mimeType: z.ZodString;
497
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
498
+ }, "strict", z.ZodTypeAny, {
499
+ type: "explicit-bytes";
500
+ content: Uint8Array;
501
+ mimeType: string;
502
+ }, {
503
+ type: "explicit-bytes";
504
+ content: Uint8Array;
505
+ mimeType: string;
506
+ }>>;
507
+ url: z.ZodOptional<z.ZodString>;
508
+ docs: z.ZodOptional<z.ZodString>;
509
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
510
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
511
+ organization: z.ZodObject<{
512
+ name: z.ZodString;
513
+ url: z.ZodString;
514
+ logo: z.ZodOptional<z.ZodObject<{
515
+ type: z.ZodLiteral<"explicit-bytes">;
516
+ mimeType: z.ZodString;
517
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
518
+ }, "strict", z.ZodTypeAny, {
519
+ type: "explicit-bytes";
520
+ content: Uint8Array;
521
+ mimeType: string;
522
+ }, {
523
+ type: "explicit-bytes";
524
+ content: Uint8Array;
525
+ mimeType: string;
526
+ }>>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ url: string;
529
+ name: string;
530
+ logo?: {
531
+ type: "explicit-bytes";
532
+ content: Uint8Array;
533
+ mimeType: string;
534
+ } | undefined;
535
+ }, {
536
+ url: string;
537
+ name: string;
538
+ logo?: {
539
+ type: "explicit-bytes";
540
+ content: Uint8Array;
541
+ mimeType: string;
542
+ } | undefined;
543
+ }>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ organization: {
546
+ url: string;
547
+ name: string;
548
+ logo?: {
549
+ type: "explicit-bytes";
550
+ content: Uint8Array;
551
+ mimeType: string;
552
+ } | undefined;
553
+ };
554
+ title: string;
555
+ description: string;
556
+ url?: string | undefined;
557
+ longDescription?: string | undefined;
558
+ logo?: {
559
+ type: "explicit-bytes";
560
+ content: Uint8Array;
561
+ mimeType: string;
562
+ } | undefined;
563
+ docs?: string | undefined;
564
+ support?: string | undefined;
565
+ tags?: string[] | undefined;
566
+ }, {
567
+ organization: {
568
+ url: string;
569
+ name: string;
570
+ logo?: {
571
+ type: "explicit-bytes";
572
+ content: Uint8Array;
573
+ mimeType: string;
574
+ } | undefined;
575
+ };
576
+ title: string;
577
+ description: string;
578
+ url?: string | undefined;
579
+ longDescription?: string | undefined;
580
+ logo?: {
581
+ type: "explicit-bytes";
582
+ content: Uint8Array;
583
+ mimeType: string;
584
+ } | undefined;
585
+ docs?: string | undefined;
586
+ support?: string | undefined;
587
+ tags?: string[] | undefined;
588
+ }>;
589
+ export type BlockPackMetaEmbeddedBytes = z.infer<typeof BlockPackMetaEmbeddedBytes>;
490
590
  //# sourceMappingURL=block_meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"block_meta.d.ts","sourceRoot":"","sources":["../../src/block_meta/block_meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,wBAAgB,aAAa,CAC3B,KAAK,CAAC,cAAc,SAAS,CAAC,CAAC,UAAU,EACzC,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,UAAU,EACrC,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB/C;AAGD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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