@fedify/vocab-tools 2.5.0-dev.2314 → 2.5.0-dev.2327

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.
@@ -21,6 +21,7 @@ import {
21
21
  isDecimal,
22
22
  isGatewayUrl,
23
23
  LanguageString,
24
+ normalizeLanguageTag,
24
25
  parseDecimal,
25
26
  parseGatewayUrl,
26
27
  parseIri,
@@ -82,7 +83,7 @@ function inspectIri(iri: URL): string {
82
83
 
83
84
  function isValidLanguageTag(language: string): boolean {
84
85
  try {
85
- new Intl.Locale(language);
86
+ new Intl.Locale(normalizeLanguageTag(language));
86
87
  return true;
87
88
  } catch (error) {
88
89
  if (error instanceof RangeError) return false;
@@ -344,7 +345,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
344
345
  if (Array.isArray(values.attachments) &&
345
346
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
346
347
  // @ts-ignore: type is checked above.
347
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
348
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
348
349
 
349
350
  for (let i = 0; i < values.attachments.length; i++) {
350
351
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -384,7 +385,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
384
385
  if (Array.isArray(values.attributions) &&
385
386
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
386
387
  // @ts-ignore: type is checked above.
387
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
388
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
388
389
 
389
390
  for (let i = 0; i < values.attributions.length; i++) {
390
391
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -424,7 +425,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
424
425
  if (Array.isArray(values.audiences) &&
425
426
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
426
427
  // @ts-ignore: type is checked above.
427
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
428
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
428
429
 
429
430
  for (let i = 0; i < values.audiences.length; i++) {
430
431
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -464,7 +465,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
464
465
  if (Array.isArray(values.contents) &&
465
466
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
466
467
  // @ts-ignore: type is checked above.
467
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
468
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
468
469
 
469
470
  } else {
470
471
  throw new TypeError(
@@ -479,7 +480,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
479
480
  if (Array.isArray(values.contexts) &&
480
481
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
481
482
  // @ts-ignore: type is checked above.
482
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
483
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
483
484
 
484
485
  for (let i = 0; i < values.contexts.length; i++) {
485
486
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -519,7 +520,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
519
520
  if (Array.isArray(values.names) &&
520
521
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
521
522
  // @ts-ignore: type is checked above.
522
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
523
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
523
524
 
524
525
  } else {
525
526
  throw new TypeError(
@@ -547,7 +548,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
547
548
  if (Array.isArray(values.generators) &&
548
549
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
549
550
  // @ts-ignore: type is checked above.
550
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
551
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
551
552
 
552
553
  for (let i = 0; i < values.generators.length; i++) {
553
554
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -587,7 +588,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
587
588
  if (Array.isArray(values.icons) &&
588
589
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
589
590
  // @ts-ignore: type is checked above.
590
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
591
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
591
592
 
592
593
  for (let i = 0; i < values.icons.length; i++) {
593
594
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -627,7 +628,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
627
628
  if (Array.isArray(values.images) &&
628
629
  values.images.every(v => v instanceof Image || v instanceof URL)) {
629
630
  // @ts-ignore: type is checked above.
630
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
631
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
631
632
 
632
633
  for (let i = 0; i < values.images.length; i++) {
633
634
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -667,7 +668,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
667
668
  if (Array.isArray(values.replyTargets) &&
668
669
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
669
670
  // @ts-ignore: type is checked above.
670
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
671
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
671
672
 
672
673
  for (let i = 0; i < values.replyTargets.length; i++) {
673
674
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -707,7 +708,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
707
708
  if (Array.isArray(values.locations) &&
708
709
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
709
710
  // @ts-ignore: type is checked above.
710
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
711
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
711
712
 
712
713
  for (let i = 0; i < values.locations.length; i++) {
713
714
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -747,7 +748,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
747
748
  if (Array.isArray(values.previews) &&
748
749
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
749
750
  // @ts-ignore: type is checked above.
750
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
751
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
751
752
 
752
753
  for (let i = 0; i < values.previews.length; i++) {
753
754
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -865,7 +866,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
865
866
  if (Array.isArray(values.summaries) &&
866
867
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
867
868
  // @ts-ignore: type is checked above.
868
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
869
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
869
870
 
870
871
  } else {
871
872
  throw new TypeError(
@@ -880,7 +881,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
880
881
  if (Array.isArray(values.tags) &&
881
882
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
882
883
  // @ts-ignore: type is checked above.
883
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
884
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
884
885
 
885
886
  for (let i = 0; i < values.tags.length; i++) {
886
887
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -933,7 +934,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
933
934
  if (Array.isArray(values.urls) &&
934
935
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
935
936
  // @ts-ignore: type is checked above.
936
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
937
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
937
938
 
938
939
  } else {
939
940
  throw new TypeError(
@@ -969,7 +970,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
969
970
  if (Array.isArray(values.tos) &&
970
971
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
971
972
  // @ts-ignore: type is checked above.
972
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
973
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
973
974
 
974
975
  for (let i = 0; i < values.tos.length; i++) {
975
976
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -1009,7 +1010,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1009
1010
  if (Array.isArray(values.btos) &&
1010
1011
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1011
1012
  // @ts-ignore: type is checked above.
1012
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1013
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1013
1014
 
1014
1015
  for (let i = 0; i < values.btos.length; i++) {
1015
1016
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -1049,7 +1050,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1049
1050
  if (Array.isArray(values.ccs) &&
1050
1051
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1051
1052
  // @ts-ignore: type is checked above.
1052
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1053
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1053
1054
 
1054
1055
  for (let i = 0; i < values.ccs.length; i++) {
1055
1056
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -1089,7 +1090,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1089
1090
  if (Array.isArray(values.bccs) &&
1090
1091
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1091
1092
  // @ts-ignore: type is checked above.
1092
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1093
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1093
1094
 
1094
1095
  for (let i = 0; i < values.bccs.length; i++) {
1095
1096
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1181,7 +1182,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1181
1182
  if (Array.isArray(values.proofs) &&
1182
1183
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1183
1184
  // @ts-ignore: type is checked above.
1184
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1185
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1185
1186
 
1186
1187
  for (let i = 0; i < values.proofs.length; i++) {
1187
1188
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1265,7 +1266,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1265
1266
  if (Array.isArray(values.translations) &&
1266
1267
  values.translations.every(v => v instanceof Translation)) {
1267
1268
  // @ts-ignore: type is checked above.
1268
- this.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = values.translations;
1269
+ this.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = values.translations.slice();
1269
1270
 
1270
1271
  } else {
1271
1272
  throw new TypeError(
@@ -1287,7 +1288,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1287
1288
  *
1288
1289
  * @param values The values to update the clone with.
1289
1290
  * @param options The options to use for cloning.
1290
- * @returns The cloned instance.
1291
+ * @returns The cloned instance with its own property arrays. Nested objects
1292
+ * and URLs are shared with this instance.
1291
1293
  */
1292
1294
  clone(
1293
1295
  values:
@@ -1333,13 +1335,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1333
1335
  options
1334
1336
  );
1335
1337
  copyPortableProvenance(this, clone);
1336
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1338
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1337
1339
  if (\\"attachments\\" in values && values.attachments != null) {
1338
1340
 
1339
1341
  if (Array.isArray(values.attachments) &&
1340
1342
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1341
1343
  // @ts-ignore: type is checked above.
1342
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1344
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1343
1345
 
1344
1346
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1345
1347
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1353,7 +1355,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1353
1355
  );
1354
1356
  }
1355
1357
  }
1356
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1358
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1357
1359
  if (\\"attribution\\" in values && values.attribution != null) {
1358
1360
  if (values.attribution instanceof Application || values.attribution instanceof Group || values.attribution instanceof Organization || values.attribution instanceof Person || values.attribution instanceof Service || values.attribution instanceof URL) {
1359
1361
  // @ts-ignore: type is checked above.
@@ -1380,7 +1382,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1380
1382
  if (Array.isArray(values.attributions) &&
1381
1383
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1382
1384
  // @ts-ignore: type is checked above.
1383
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1385
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1384
1386
 
1385
1387
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1386
1388
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1394,7 +1396,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1394
1396
  );
1395
1397
  }
1396
1398
  }
1397
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1399
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1398
1400
  if (\\"audience\\" in values && values.audience != null) {
1399
1401
  if (values.audience instanceof Object || values.audience instanceof URL) {
1400
1402
  // @ts-ignore: type is checked above.
@@ -1421,7 +1423,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1421
1423
  if (Array.isArray(values.audiences) &&
1422
1424
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1423
1425
  // @ts-ignore: type is checked above.
1424
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1426
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1425
1427
 
1426
1428
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1427
1429
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1435,7 +1437,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1435
1437
  );
1436
1438
  }
1437
1439
  }
1438
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1440
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1439
1441
  if (\\"content\\" in values && values.content != null) {
1440
1442
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1441
1443
  // @ts-ignore: type is checked above.
@@ -1462,7 +1464,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1462
1464
  if (Array.isArray(values.contents) &&
1463
1465
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1464
1466
  // @ts-ignore: type is checked above.
1465
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1467
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1466
1468
 
1467
1469
  } else {
1468
1470
  throw new TypeError(
@@ -1471,13 +1473,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1471
1473
  );
1472
1474
  }
1473
1475
  }
1474
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1476
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1475
1477
  if (\\"contexts\\" in values && values.contexts != null) {
1476
1478
 
1477
1479
  if (Array.isArray(values.contexts) &&
1478
1480
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1479
1481
  // @ts-ignore: type is checked above.
1480
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1482
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1481
1483
 
1482
1484
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1483
1485
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1491,7 +1493,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1491
1493
  );
1492
1494
  }
1493
1495
  }
1494
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1496
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1495
1497
  if (\\"name\\" in values && values.name != null) {
1496
1498
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1497
1499
  // @ts-ignore: type is checked above.
@@ -1518,7 +1520,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1518
1520
  if (Array.isArray(values.names) &&
1519
1521
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1520
1522
  // @ts-ignore: type is checked above.
1521
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1523
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1522
1524
 
1523
1525
  } else {
1524
1526
  throw new TypeError(
@@ -1527,7 +1529,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1527
1529
  );
1528
1530
  }
1529
1531
  }
1530
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1532
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1531
1533
  if (\\"endTime\\" in values && values.endTime != null) {
1532
1534
  if (isTemporalInstant(values.endTime)) {
1533
1535
  // @ts-ignore: type is checked above.
@@ -1540,13 +1542,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1540
1542
  );
1541
1543
  }
1542
1544
  }
1543
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1545
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1544
1546
  if (\\"generators\\" in values && values.generators != null) {
1545
1547
 
1546
1548
  if (Array.isArray(values.generators) &&
1547
1549
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1548
1550
  // @ts-ignore: type is checked above.
1549
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1551
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1550
1552
 
1551
1553
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1552
1554
  for (let i = 0; i < values.generators.length; i++) {
@@ -1560,7 +1562,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1560
1562
  );
1561
1563
  }
1562
1564
  }
1563
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1565
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1564
1566
  if (\\"icon\\" in values && values.icon != null) {
1565
1567
  if (values.icon instanceof Image || values.icon instanceof URL) {
1566
1568
  // @ts-ignore: type is checked above.
@@ -1587,7 +1589,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1587
1589
  if (Array.isArray(values.icons) &&
1588
1590
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1589
1591
  // @ts-ignore: type is checked above.
1590
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1592
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1591
1593
 
1592
1594
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1593
1595
  for (let i = 0; i < values.icons.length; i++) {
@@ -1601,7 +1603,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1601
1603
  );
1602
1604
  }
1603
1605
  }
1604
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1606
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1605
1607
  if (\\"image\\" in values && values.image != null) {
1606
1608
  if (values.image instanceof Image || values.image instanceof URL) {
1607
1609
  // @ts-ignore: type is checked above.
@@ -1628,7 +1630,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1628
1630
  if (Array.isArray(values.images) &&
1629
1631
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1630
1632
  // @ts-ignore: type is checked above.
1631
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1633
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1632
1634
 
1633
1635
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1634
1636
  for (let i = 0; i < values.images.length; i++) {
@@ -1642,7 +1644,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1642
1644
  );
1643
1645
  }
1644
1646
  }
1645
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1647
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1646
1648
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1647
1649
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1648
1650
  // @ts-ignore: type is checked above.
@@ -1669,7 +1671,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1669
1671
  if (Array.isArray(values.replyTargets) &&
1670
1672
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1671
1673
  // @ts-ignore: type is checked above.
1672
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1674
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1673
1675
 
1674
1676
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1675
1677
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1683,7 +1685,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1683
1685
  );
1684
1686
  }
1685
1687
  }
1686
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1688
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1687
1689
  if (\\"location\\" in values && values.location != null) {
1688
1690
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1689
1691
  // @ts-ignore: type is checked above.
@@ -1710,7 +1712,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1710
1712
  if (Array.isArray(values.locations) &&
1711
1713
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1712
1714
  // @ts-ignore: type is checked above.
1713
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1715
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1714
1716
 
1715
1717
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1716
1718
  for (let i = 0; i < values.locations.length; i++) {
@@ -1724,7 +1726,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1724
1726
  );
1725
1727
  }
1726
1728
  }
1727
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1729
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1728
1730
  if (\\"preview\\" in values && values.preview != null) {
1729
1731
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1730
1732
  // @ts-ignore: type is checked above.
@@ -1751,7 +1753,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1751
1753
  if (Array.isArray(values.previews) &&
1752
1754
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1753
1755
  // @ts-ignore: type is checked above.
1754
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1756
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1755
1757
 
1756
1758
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1757
1759
  for (let i = 0; i < values.previews.length; i++) {
@@ -1765,7 +1767,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1765
1767
  );
1766
1768
  }
1767
1769
  }
1768
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1770
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1769
1771
  if (\\"published\\" in values && values.published != null) {
1770
1772
  if (isTemporalInstant(values.published)) {
1771
1773
  // @ts-ignore: type is checked above.
@@ -1778,7 +1780,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1778
1780
  );
1779
1781
  }
1780
1782
  }
1781
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1783
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1782
1784
  if (\\"replies\\" in values && values.replies != null) {
1783
1785
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1784
1786
  // @ts-ignore: type is checked above.
@@ -1791,7 +1793,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1791
1793
  );
1792
1794
  }
1793
1795
  }
1794
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1796
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1795
1797
  if (\\"shares\\" in values && values.shares != null) {
1796
1798
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1797
1799
  // @ts-ignore: type is checked above.
@@ -1804,7 +1806,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1804
1806
  );
1805
1807
  }
1806
1808
  }
1807
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1809
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1808
1810
  if (\\"likes\\" in values && values.likes != null) {
1809
1811
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1810
1812
  // @ts-ignore: type is checked above.
@@ -1817,7 +1819,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1817
1819
  );
1818
1820
  }
1819
1821
  }
1820
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1822
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1821
1823
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1822
1824
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1823
1825
  // @ts-ignore: type is checked above.
@@ -1830,7 +1832,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1830
1832
  );
1831
1833
  }
1832
1834
  }
1833
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1835
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1834
1836
  if (\\"startTime\\" in values && values.startTime != null) {
1835
1837
  if (isTemporalInstant(values.startTime)) {
1836
1838
  // @ts-ignore: type is checked above.
@@ -1843,7 +1845,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1843
1845
  );
1844
1846
  }
1845
1847
  }
1846
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1848
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1847
1849
  if (\\"summary\\" in values && values.summary != null) {
1848
1850
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1849
1851
  // @ts-ignore: type is checked above.
@@ -1870,7 +1872,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1870
1872
  if (Array.isArray(values.summaries) &&
1871
1873
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1872
1874
  // @ts-ignore: type is checked above.
1873
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1875
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1874
1876
 
1875
1877
  } else {
1876
1878
  throw new TypeError(
@@ -1879,13 +1881,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1879
1881
  );
1880
1882
  }
1881
1883
  }
1882
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1884
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1883
1885
  if (\\"tags\\" in values && values.tags != null) {
1884
1886
 
1885
1887
  if (Array.isArray(values.tags) &&
1886
1888
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1887
1889
  // @ts-ignore: type is checked above.
1888
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1890
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1889
1891
 
1890
1892
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1891
1893
  for (let i = 0; i < values.tags.length; i++) {
@@ -1899,7 +1901,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1899
1901
  );
1900
1902
  }
1901
1903
  }
1902
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1904
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1903
1905
  if (\\"updated\\" in values && values.updated != null) {
1904
1906
  if (isTemporalInstant(values.updated)) {
1905
1907
  // @ts-ignore: type is checked above.
@@ -1912,7 +1914,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1912
1914
  );
1913
1915
  }
1914
1916
  }
1915
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1917
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1916
1918
  if (\\"url\\" in values && values.url != null) {
1917
1919
  if (values.url instanceof URL || values.url instanceof Link) {
1918
1920
  // @ts-ignore: type is checked above.
@@ -1939,7 +1941,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1939
1941
  if (Array.isArray(values.urls) &&
1940
1942
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1941
1943
  // @ts-ignore: type is checked above.
1942
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1944
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1943
1945
 
1944
1946
  } else {
1945
1947
  throw new TypeError(
@@ -1948,7 +1950,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1948
1950
  );
1949
1951
  }
1950
1952
  }
1951
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1953
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1952
1954
  if (\\"to\\" in values && values.to != null) {
1953
1955
  if (values.to instanceof Object || values.to instanceof URL) {
1954
1956
  // @ts-ignore: type is checked above.
@@ -1975,7 +1977,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1975
1977
  if (Array.isArray(values.tos) &&
1976
1978
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1977
1979
  // @ts-ignore: type is checked above.
1978
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1980
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1979
1981
 
1980
1982
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1981
1983
  for (let i = 0; i < values.tos.length; i++) {
@@ -1989,7 +1991,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1989
1991
  );
1990
1992
  }
1991
1993
  }
1992
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1994
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1993
1995
  if (\\"bto\\" in values && values.bto != null) {
1994
1996
  if (values.bto instanceof Object || values.bto instanceof URL) {
1995
1997
  // @ts-ignore: type is checked above.
@@ -2016,7 +2018,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2016
2018
  if (Array.isArray(values.btos) &&
2017
2019
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
2018
2020
  // @ts-ignore: type is checked above.
2019
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
2021
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
2020
2022
 
2021
2023
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
2022
2024
  for (let i = 0; i < values.btos.length; i++) {
@@ -2030,7 +2032,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2030
2032
  );
2031
2033
  }
2032
2034
  }
2033
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
2035
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
2034
2036
  if (\\"cc\\" in values && values.cc != null) {
2035
2037
  if (values.cc instanceof Object || values.cc instanceof URL) {
2036
2038
  // @ts-ignore: type is checked above.
@@ -2057,7 +2059,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2057
2059
  if (Array.isArray(values.ccs) &&
2058
2060
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
2059
2061
  // @ts-ignore: type is checked above.
2060
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
2062
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
2061
2063
 
2062
2064
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
2063
2065
  for (let i = 0; i < values.ccs.length; i++) {
@@ -2071,7 +2073,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2071
2073
  );
2072
2074
  }
2073
2075
  }
2074
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
2076
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
2075
2077
  if (\\"bcc\\" in values && values.bcc != null) {
2076
2078
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
2077
2079
  // @ts-ignore: type is checked above.
@@ -2098,7 +2100,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2098
2100
  if (Array.isArray(values.bccs) &&
2099
2101
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
2100
2102
  // @ts-ignore: type is checked above.
2101
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
2103
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
2102
2104
 
2103
2105
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
2104
2106
  for (let i = 0; i < values.bccs.length; i++) {
@@ -2112,7 +2114,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2112
2114
  );
2113
2115
  }
2114
2116
  }
2115
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2117
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2116
2118
  if (\\"mediaType\\" in values && values.mediaType != null) {
2117
2119
  if (typeof values.mediaType === \\"string\\") {
2118
2120
  // @ts-ignore: type is checked above.
@@ -2125,7 +2127,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2125
2127
  );
2126
2128
  }
2127
2129
  }
2128
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2130
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2129
2131
  if (\\"duration\\" in values && values.duration != null) {
2130
2132
  if (isTemporalDuration(values.duration)) {
2131
2133
  // @ts-ignore: type is checked above.
@@ -2138,7 +2140,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2138
2140
  );
2139
2141
  }
2140
2142
  }
2141
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2143
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2142
2144
  if (\\"sensitive\\" in values && values.sensitive != null) {
2143
2145
  if (typeof values.sensitive === \\"boolean\\") {
2144
2146
  // @ts-ignore: type is checked above.
@@ -2151,7 +2153,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2151
2153
  );
2152
2154
  }
2153
2155
  }
2154
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2156
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2155
2157
  if (\\"source\\" in values && values.source != null) {
2156
2158
  if (values.source instanceof Source) {
2157
2159
  // @ts-ignore: type is checked above.
@@ -2164,7 +2166,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2164
2166
  );
2165
2167
  }
2166
2168
  }
2167
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2169
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2168
2170
  if (\\"proof\\" in values && values.proof != null) {
2169
2171
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2170
2172
  // @ts-ignore: type is checked above.
@@ -2191,7 +2193,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2191
2193
  if (Array.isArray(values.proofs) &&
2192
2194
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2193
2195
  // @ts-ignore: type is checked above.
2194
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2196
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2195
2197
 
2196
2198
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2197
2199
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2205,7 +2207,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2205
2207
  );
2206
2208
  }
2207
2209
  }
2208
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2210
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2209
2211
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2210
2212
  if (values.interactionPolicy instanceof InteractionPolicy) {
2211
2213
  // @ts-ignore: type is checked above.
@@ -2218,7 +2220,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2218
2220
  );
2219
2221
  }
2220
2222
  }
2221
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2223
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2222
2224
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2223
2225
  if (values.approvedBy instanceof URL) {
2224
2226
  // @ts-ignore: type is checked above.
@@ -2231,7 +2233,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2231
2233
  );
2232
2234
  }
2233
2235
  }
2234
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2236
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2235
2237
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2236
2238
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2237
2239
  // @ts-ignore: type is checked above.
@@ -2244,7 +2246,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2244
2246
  );
2245
2247
  }
2246
2248
  }
2247
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2249
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2248
2250
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2249
2251
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2250
2252
  // @ts-ignore: type is checked above.
@@ -2257,7 +2259,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2257
2259
  );
2258
2260
  }
2259
2261
  }
2260
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2262
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2261
2263
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2262
2264
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2263
2265
  // @ts-ignore: type is checked above.
@@ -2270,13 +2272,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2270
2272
  );
2271
2273
  }
2272
2274
  }
2273
- clone.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = this.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations;
2275
+ clone.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = this.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations.slice();
2274
2276
  if (\\"translations\\" in values && values.translations != null) {
2275
2277
 
2276
2278
  if (Array.isArray(values.translations) &&
2277
2279
  values.translations.every(v => v instanceof Translation)) {
2278
2280
  // @ts-ignore: type is checked above.
2279
- clone.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = values.translations;
2281
+ clone.#_a1jKLXa1P1ZoKTfTM2CzmhHK3cP_translations = values.translations.slice();
2280
2282
 
2281
2283
  } else {
2282
2284
  throw new TypeError(
@@ -19048,7 +19050,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
19048
19050
  *
19049
19051
  * @param values The values to update the clone with.
19050
19052
  * @param options The options to use for cloning.
19051
- * @returns The cloned instance.
19053
+ * @returns The cloned instance with its own property arrays. Nested objects
19054
+ * and URLs are shared with this instance.
19052
19055
  */
19053
19056
  override clone(
19054
19057
  values:
@@ -19519,7 +19522,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
19519
19522
  *
19520
19523
  * @param values The values to update the clone with.
19521
19524
  * @param options The options to use for cloning.
19522
- * @returns The cloned instance.
19525
+ * @returns The cloned instance with its own property arrays. Nested objects
19526
+ * and URLs are shared with this instance.
19523
19527
  */
19524
19528
  override clone(
19525
19529
  values:
@@ -19558,7 +19562,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
19558
19562
  // @ts-ignore: \$warning is not recognized as a property, but it is.
19559
19563
  options = { ...options, \$warning: this._warning };
19560
19564
  }
19561
- const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
19565
+ const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
19562
19566
  if (\\"quote\\" in values && values.quote != null) {
19563
19567
  if (values.quote instanceof Object || values.quote instanceof URL) {
19564
19568
  // @ts-ignore: type is checked above.
@@ -19571,7 +19575,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
19571
19575
  );
19572
19576
  }
19573
19577
  }
19574
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
19578
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
19575
19579
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
19576
19580
  if (values.quoteUrl instanceof URL) {
19577
19581
  // @ts-ignore: type is checked above.
@@ -19584,7 +19588,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
19584
19588
  );
19585
19589
  }
19586
19590
  }
19587
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
19591
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
19588
19592
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
19589
19593
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
19590
19594
  // @ts-ignore: type is checked above.
@@ -21194,7 +21198,7 @@ instruments?: (Object | URL)[];}
21194
21198
  if (Array.isArray(values.actors) &&
21195
21199
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
21196
21200
  // @ts-ignore: type is checked above.
21197
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
21201
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
21198
21202
 
21199
21203
  for (let i = 0; i < values.actors.length; i++) {
21200
21204
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -21234,7 +21238,7 @@ instruments?: (Object | URL)[];}
21234
21238
  if (Array.isArray(values.objects) &&
21235
21239
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
21236
21240
  // @ts-ignore: type is checked above.
21237
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
21241
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
21238
21242
 
21239
21243
  for (let i = 0; i < values.objects.length; i++) {
21240
21244
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -21274,7 +21278,7 @@ instruments?: (Object | URL)[];}
21274
21278
  if (Array.isArray(values.targets) &&
21275
21279
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
21276
21280
  // @ts-ignore: type is checked above.
21277
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
21281
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
21278
21282
 
21279
21283
  for (let i = 0; i < values.targets.length; i++) {
21280
21284
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -21314,7 +21318,7 @@ instruments?: (Object | URL)[];}
21314
21318
  if (Array.isArray(values.results) &&
21315
21319
  values.results.every(v => v instanceof Object || v instanceof URL)) {
21316
21320
  // @ts-ignore: type is checked above.
21317
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
21321
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
21318
21322
 
21319
21323
  for (let i = 0; i < values.results.length; i++) {
21320
21324
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -21354,7 +21358,7 @@ instruments?: (Object | URL)[];}
21354
21358
  if (Array.isArray(values.origins) &&
21355
21359
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
21356
21360
  // @ts-ignore: type is checked above.
21357
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
21361
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
21358
21362
 
21359
21363
  for (let i = 0; i < values.origins.length; i++) {
21360
21364
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -21394,7 +21398,7 @@ instruments?: (Object | URL)[];}
21394
21398
  if (Array.isArray(values.instruments) &&
21395
21399
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
21396
21400
  // @ts-ignore: type is checked above.
21397
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
21401
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
21398
21402
 
21399
21403
  for (let i = 0; i < values.instruments.length; i++) {
21400
21404
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -21420,7 +21424,8 @@ instruments?: (Object | URL)[];}
21420
21424
  *
21421
21425
  * @param values The values to update the clone with.
21422
21426
  * @param options The options to use for cloning.
21423
- * @returns The cloned instance.
21427
+ * @returns The cloned instance with its own property arrays. Nested objects
21428
+ * and URLs are shared with this instance.
21424
21429
  */
21425
21430
  override clone(
21426
21431
  values:
@@ -21465,7 +21470,7 @@ instruments?: (Object | URL)[];}
21465
21470
  // @ts-ignore: \$warning is not recognized as a property, but it is.
21466
21471
  options = { ...options, \$warning: this._warning };
21467
21472
  }
21468
- const clone = super.clone(values, options) as unknown as Activity;clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor;clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set(this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor);
21473
+ const clone = super.clone(values, options) as unknown as Activity;clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.slice();clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set(this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor);
21469
21474
  if (\\"actor\\" in values && values.actor != null) {
21470
21475
  if (values.actor instanceof Application || values.actor instanceof Group || values.actor instanceof Organization || values.actor instanceof Person || values.actor instanceof Service || values.actor instanceof URL) {
21471
21476
  // @ts-ignore: type is checked above.
@@ -21492,7 +21497,7 @@ instruments?: (Object | URL)[];}
21492
21497
  if (Array.isArray(values.actors) &&
21493
21498
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
21494
21499
  // @ts-ignore: type is checked above.
21495
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
21500
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
21496
21501
 
21497
21502
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
21498
21503
  for (let i = 0; i < values.actors.length; i++) {
@@ -21506,7 +21511,7 @@ instruments?: (Object | URL)[];}
21506
21511
  );
21507
21512
  }
21508
21513
  }
21509
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
21514
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
21510
21515
  if (\\"object\\" in values && values.object != null) {
21511
21516
  if (values.object instanceof Object || values.object instanceof URL) {
21512
21517
  // @ts-ignore: type is checked above.
@@ -21533,7 +21538,7 @@ instruments?: (Object | URL)[];}
21533
21538
  if (Array.isArray(values.objects) &&
21534
21539
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
21535
21540
  // @ts-ignore: type is checked above.
21536
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
21541
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
21537
21542
 
21538
21543
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
21539
21544
  for (let i = 0; i < values.objects.length; i++) {
@@ -21547,7 +21552,7 @@ instruments?: (Object | URL)[];}
21547
21552
  );
21548
21553
  }
21549
21554
  }
21550
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
21555
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
21551
21556
  if (\\"target\\" in values && values.target != null) {
21552
21557
  if (values.target instanceof Object || values.target instanceof URL) {
21553
21558
  // @ts-ignore: type is checked above.
@@ -21574,7 +21579,7 @@ instruments?: (Object | URL)[];}
21574
21579
  if (Array.isArray(values.targets) &&
21575
21580
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
21576
21581
  // @ts-ignore: type is checked above.
21577
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
21582
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
21578
21583
 
21579
21584
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
21580
21585
  for (let i = 0; i < values.targets.length; i++) {
@@ -21588,7 +21593,7 @@ instruments?: (Object | URL)[];}
21588
21593
  );
21589
21594
  }
21590
21595
  }
21591
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
21596
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
21592
21597
  if (\\"result\\" in values && values.result != null) {
21593
21598
  if (values.result instanceof Object || values.result instanceof URL) {
21594
21599
  // @ts-ignore: type is checked above.
@@ -21615,7 +21620,7 @@ instruments?: (Object | URL)[];}
21615
21620
  if (Array.isArray(values.results) &&
21616
21621
  values.results.every(v => v instanceof Object || v instanceof URL)) {
21617
21622
  // @ts-ignore: type is checked above.
21618
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
21623
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
21619
21624
 
21620
21625
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
21621
21626
  for (let i = 0; i < values.results.length; i++) {
@@ -21629,7 +21634,7 @@ instruments?: (Object | URL)[];}
21629
21634
  );
21630
21635
  }
21631
21636
  }
21632
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
21637
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
21633
21638
  if (\\"origin\\" in values && values.origin != null) {
21634
21639
  if (values.origin instanceof Object || values.origin instanceof URL) {
21635
21640
  // @ts-ignore: type is checked above.
@@ -21656,7 +21661,7 @@ instruments?: (Object | URL)[];}
21656
21661
  if (Array.isArray(values.origins) &&
21657
21662
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
21658
21663
  // @ts-ignore: type is checked above.
21659
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
21664
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
21660
21665
 
21661
21666
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
21662
21667
  for (let i = 0; i < values.origins.length; i++) {
@@ -21670,7 +21675,7 @@ instruments?: (Object | URL)[];}
21670
21675
  );
21671
21676
  }
21672
21677
  }
21673
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
21678
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
21674
21679
  if (\\"instrument\\" in values && values.instrument != null) {
21675
21680
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
21676
21681
  // @ts-ignore: type is checked above.
@@ -21697,7 +21702,7 @@ instruments?: (Object | URL)[];}
21697
21702
  if (Array.isArray(values.instruments) &&
21698
21703
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
21699
21704
  // @ts-ignore: type is checked above.
21700
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
21705
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
21701
21706
 
21702
21707
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
21703
21708
  for (let i = 0; i < values.instruments.length; i++) {
@@ -26323,7 +26328,8 @@ instruments?: (Object | URL)[];}
26323
26328
  *
26324
26329
  * @param values The values to update the clone with.
26325
26330
  * @param options The options to use for cloning.
26326
- * @returns The cloned instance.
26331
+ * @returns The cloned instance with its own property arrays. Nested objects
26332
+ * and URLs are shared with this instance.
26327
26333
  */
26328
26334
  override clone(
26329
26335
  values:
@@ -26825,7 +26831,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
26825
26831
  *
26826
26832
  * @param values The values to update the clone with.
26827
26833
  * @param options The options to use for cloning.
26828
- * @returns The cloned instance.
26834
+ * @returns The cloned instance with its own property arrays. Nested objects
26835
+ * and URLs are shared with this instance.
26829
26836
  */
26830
26837
  clone(
26831
26838
  values:
@@ -26855,7 +26862,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
26855
26862
  options
26856
26863
  );
26857
26864
  copyPortableProvenance(this, clone);
26858
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
26865
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
26859
26866
  if (\\"name\\" in values && values.name != null) {
26860
26867
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
26861
26868
  // @ts-ignore: type is checked above.
@@ -26868,7 +26875,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
26868
26875
  );
26869
26876
  }
26870
26877
  }
26871
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
26878
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
26872
26879
  if (\\"value\\" in values && values.value != null) {
26873
26880
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
26874
26881
  // @ts-ignore: type is checked above.
@@ -27567,7 +27574,8 @@ unit?: string | null;numericalValue?: Decimal | null;}
27567
27574
  *
27568
27575
  * @param values The values to update the clone with.
27569
27576
  * @param options The options to use for cloning.
27570
- * @returns The cloned instance.
27577
+ * @returns The cloned instance with its own property arrays. Nested objects
27578
+ * and URLs are shared with this instance.
27571
27579
  */
27572
27580
  clone(
27573
27581
  values:
@@ -27597,7 +27605,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
27597
27605
  options
27598
27606
  );
27599
27607
  copyPortableProvenance(this, clone);
27600
- clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6;
27608
+ clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6.slice();
27601
27609
  if (\\"unit\\" in values && values.unit != null) {
27602
27610
  if (typeof values.unit === \\"string\\") {
27603
27611
  // @ts-ignore: type is checked above.
@@ -27610,7 +27618,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
27610
27618
  );
27611
27619
  }
27612
27620
  }
27613
- clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D;
27621
+ clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D.slice();
27614
27622
  if (\\"numericalValue\\" in values && values.numericalValue != null) {
27615
27623
  if (typeof values.numericalValue === \\"string\\" && isDecimal(values.numericalValue)) {
27616
27624
  // @ts-ignore: type is checked above.
@@ -28232,7 +28240,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
28232
28240
  *
28233
28241
  * @param values The values to update the clone with.
28234
28242
  * @param options The options to use for cloning.
28235
- * @returns The cloned instance.
28243
+ * @returns The cloned instance with its own property arrays. Nested objects
28244
+ * and URLs are shared with this instance.
28236
28245
  */
28237
28246
  override clone(
28238
28247
  values:
@@ -28271,7 +28280,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
28271
28280
  // @ts-ignore: \$warning is not recognized as a property, but it is.
28272
28281
  options = { ...options, \$warning: this._warning };
28273
28282
  }
28274
- const clone = super.clone(values, options) as unknown as AnnounceAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
28283
+ const clone = super.clone(values, options) as unknown as AnnounceAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
28275
28284
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
28276
28285
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
28277
28286
  // @ts-ignore: type is checked above.
@@ -28284,7 +28293,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
28284
28293
  );
28285
28294
  }
28286
28295
  }
28287
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
28296
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
28288
28297
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
28289
28298
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
28290
28299
  // @ts-ignore: type is checked above.
@@ -29734,7 +29743,8 @@ instruments?: (Object | URL)[];}
29734
29743
  *
29735
29744
  * @param values The values to update the clone with.
29736
29745
  * @param options The options to use for cloning.
29737
- * @returns The cloned instance.
29746
+ * @returns The cloned instance with its own property arrays. Nested objects
29747
+ * and URLs are shared with this instance.
29738
29748
  */
29739
29749
  override clone(
29740
29750
  values:
@@ -30285,7 +30295,8 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30285
30295
  *
30286
30296
  * @param values The values to update the clone with.
30287
30297
  * @param options The options to use for cloning.
30288
- * @returns The cloned instance.
30298
+ * @returns The cloned instance with its own property arrays. Nested objects
30299
+ * and URLs are shared with this instance.
30289
30300
  */
30290
30301
  clone(
30291
30302
  values:
@@ -30315,7 +30326,7 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30315
30326
  options
30316
30327
  );
30317
30328
  copyPortableProvenance(this, clone);
30318
- clone.#_2hdwkUHmthzVPdo1ttxKsP7AGKka_canFeature = this.#_2hdwkUHmthzVPdo1ttxKsP7AGKka_canFeature;
30329
+ clone.#_2hdwkUHmthzVPdo1ttxKsP7AGKka_canFeature = this.#_2hdwkUHmthzVPdo1ttxKsP7AGKka_canFeature.slice();
30319
30330
  if (\\"canFeature\\" in values && values.canFeature != null) {
30320
30331
  if (values.canFeature instanceof InteractionRule) {
30321
30332
  // @ts-ignore: type is checked above.
@@ -30328,7 +30339,7 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30328
30339
  );
30329
30340
  }
30330
30341
  }
30331
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
30342
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
30332
30343
  if (\\"canLike\\" in values && values.canLike != null) {
30333
30344
  if (values.canLike instanceof InteractionRule) {
30334
30345
  // @ts-ignore: type is checked above.
@@ -30341,7 +30352,7 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30341
30352
  );
30342
30353
  }
30343
30354
  }
30344
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
30355
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
30345
30356
  if (\\"canReply\\" in values && values.canReply != null) {
30346
30357
  if (values.canReply instanceof InteractionRule) {
30347
30358
  // @ts-ignore: type is checked above.
@@ -30354,7 +30365,7 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30354
30365
  );
30355
30366
  }
30356
30367
  }
30357
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
30368
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
30358
30369
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
30359
30370
  if (values.canAnnounce instanceof InteractionRule) {
30360
30371
  // @ts-ignore: type is checked above.
@@ -30367,7 +30378,7 @@ canFeature?: InteractionRule | null;canLike?: InteractionRule | null;canReply?:
30367
30378
  );
30368
30379
  }
30369
30380
  }
30370
- clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote;
30381
+ clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote.slice();
30371
30382
  if (\\"canQuote\\" in values && values.canQuote != null) {
30372
30383
  if (values.canQuote instanceof InteractionRule) {
30373
30384
  // @ts-ignore: type is checked above.
@@ -31305,7 +31316,7 @@ manualApprovals?: (URL)[];}
31305
31316
  if (Array.isArray(values.automaticApprovals) &&
31306
31317
  values.automaticApprovals.every(v => v instanceof URL)) {
31307
31318
  // @ts-ignore: type is checked above.
31308
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
31319
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
31309
31320
 
31310
31321
  } else {
31311
31322
  throw new TypeError(
@@ -31341,7 +31352,7 @@ manualApprovals?: (URL)[];}
31341
31352
  if (Array.isArray(values.manualApprovals) &&
31342
31353
  values.manualApprovals.every(v => v instanceof URL)) {
31343
31354
  // @ts-ignore: type is checked above.
31344
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
31355
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
31345
31356
 
31346
31357
  } else {
31347
31358
  throw new TypeError(
@@ -31363,7 +31374,8 @@ manualApprovals?: (URL)[];}
31363
31374
  *
31364
31375
  * @param values The values to update the clone with.
31365
31376
  * @param options The options to use for cloning.
31366
- * @returns The cloned instance.
31377
+ * @returns The cloned instance with its own property arrays. Nested objects
31378
+ * and URLs are shared with this instance.
31367
31379
  */
31368
31380
  clone(
31369
31381
  values:
@@ -31395,7 +31407,7 @@ manualApprovals?: (URL)[];}
31395
31407
  options
31396
31408
  );
31397
31409
  copyPortableProvenance(this, clone);
31398
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
31410
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
31399
31411
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
31400
31412
  if (values.automaticApproval instanceof URL) {
31401
31413
  // @ts-ignore: type is checked above.
@@ -31422,7 +31434,7 @@ manualApprovals?: (URL)[];}
31422
31434
  if (Array.isArray(values.automaticApprovals) &&
31423
31435
  values.automaticApprovals.every(v => v instanceof URL)) {
31424
31436
  // @ts-ignore: type is checked above.
31425
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
31437
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
31426
31438
 
31427
31439
  } else {
31428
31440
  throw new TypeError(
@@ -31431,7 +31443,7 @@ manualApprovals?: (URL)[];}
31431
31443
  );
31432
31444
  }
31433
31445
  }
31434
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
31446
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
31435
31447
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
31436
31448
  if (values.manualApproval instanceof URL) {
31437
31449
  // @ts-ignore: type is checked above.
@@ -31458,7 +31470,7 @@ manualApprovals?: (URL)[];}
31458
31470
  if (Array.isArray(values.manualApprovals) &&
31459
31471
  values.manualApprovals.every(v => v instanceof URL)) {
31460
31472
  // @ts-ignore: type is checked above.
31461
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
31473
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
31462
31474
 
31463
31475
  } else {
31464
31476
  throw new TypeError(
@@ -32057,7 +32069,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32057
32069
  *
32058
32070
  * @param values The values to update the clone with.
32059
32071
  * @param options The options to use for cloning.
32060
- * @returns The cloned instance.
32072
+ * @returns The cloned instance with its own property arrays. Nested objects
32073
+ * and URLs are shared with this instance.
32061
32074
  */
32062
32075
  override clone(
32063
32076
  values:
@@ -32096,7 +32109,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32096
32109
  // @ts-ignore: \$warning is not recognized as a property, but it is.
32097
32110
  options = { ...options, \$warning: this._warning };
32098
32111
  }
32099
- const clone = super.clone(values, options) as unknown as LikeAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
32112
+ const clone = super.clone(values, options) as unknown as LikeAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
32100
32113
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
32101
32114
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
32102
32115
  // @ts-ignore: type is checked above.
@@ -32109,7 +32122,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32109
32122
  );
32110
32123
  }
32111
32124
  }
32112
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
32125
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
32113
32126
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
32114
32127
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
32115
32128
  // @ts-ignore: type is checked above.
@@ -33558,7 +33571,8 @@ instruments?: (Object | URL)[];}
33558
33571
  *
33559
33572
  * @param values The values to update the clone with.
33560
33573
  * @param options The options to use for cloning.
33561
- * @returns The cloned instance.
33574
+ * @returns The cloned instance with its own property arrays. Nested objects
33575
+ * and URLs are shared with this instance.
33562
33576
  */
33563
33577
  override clone(
33564
33578
  values:
@@ -34005,7 +34019,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34005
34019
  *
34006
34020
  * @param values The values to update the clone with.
34007
34021
  * @param options The options to use for cloning.
34008
- * @returns The cloned instance.
34022
+ * @returns The cloned instance with its own property arrays. Nested objects
34023
+ * and URLs are shared with this instance.
34009
34024
  */
34010
34025
  override clone(
34011
34026
  values:
@@ -34044,7 +34059,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34044
34059
  // @ts-ignore: \$warning is not recognized as a property, but it is.
34045
34060
  options = { ...options, \$warning: this._warning };
34046
34061
  }
34047
- const clone = super.clone(values, options) as unknown as ReplyAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
34062
+ const clone = super.clone(values, options) as unknown as ReplyAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
34048
34063
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
34049
34064
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
34050
34065
  // @ts-ignore: type is checked above.
@@ -34057,7 +34072,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34057
34072
  );
34058
34073
  }
34059
34074
  }
34060
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
34075
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
34061
34076
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
34062
34077
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
34063
34078
  // @ts-ignore: type is checked above.
@@ -35506,7 +35521,8 @@ instruments?: (Object | URL)[];}
35506
35521
  *
35507
35522
  * @param values The values to update the clone with.
35508
35523
  * @param options The options to use for cloning.
35509
- * @returns The cloned instance.
35524
+ * @returns The cloned instance with its own property arrays. Nested objects
35525
+ * and URLs are shared with this instance.
35510
35526
  */
35511
35527
  override clone(
35512
35528
  values:
@@ -35953,7 +35969,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
35953
35969
  *
35954
35970
  * @param values The values to update the clone with.
35955
35971
  * @param options The options to use for cloning.
35956
- * @returns The cloned instance.
35972
+ * @returns The cloned instance with its own property arrays. Nested objects
35973
+ * and URLs are shared with this instance.
35957
35974
  */
35958
35975
  override clone(
35959
35976
  values:
@@ -35992,7 +36009,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
35992
36009
  // @ts-ignore: \$warning is not recognized as a property, but it is.
35993
36010
  options = { ...options, \$warning: this._warning };
35994
36011
  }
35995
- const clone = super.clone(values, options) as unknown as QuoteAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
36012
+ const clone = super.clone(values, options) as unknown as QuoteAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
35996
36013
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
35997
36014
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
35998
36015
  // @ts-ignore: type is checked above.
@@ -36005,7 +36022,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
36005
36022
  );
36006
36023
  }
36007
36024
  }
36008
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
36025
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
36009
36026
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
36010
36027
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
36011
36028
  // @ts-ignore: type is checked above.
@@ -37453,7 +37470,8 @@ instruments?: (Object | URL)[];}
37453
37470
  *
37454
37471
  * @param values The values to update the clone with.
37455
37472
  * @param options The options to use for cloning.
37456
- * @returns The cloned instance.
37473
+ * @returns The cloned instance with its own property arrays. Nested objects
37474
+ * and URLs are shared with this instance.
37457
37475
  */
37458
37476
  override clone(
37459
37477
  values:
@@ -37971,7 +37989,7 @@ urls?: ((URL | Link))[];}
37971
37989
  if (Array.isArray(values.translators) &&
37972
37990
  values.translators.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
37973
37991
  // @ts-ignore: type is checked above.
37974
- this.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = values.translators;
37992
+ this.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = values.translators.slice();
37975
37993
 
37976
37994
  for (let i = 0; i < values.translators.length; i++) {
37977
37995
  this.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR.add(i);
@@ -38050,7 +38068,7 @@ urls?: ((URL | Link))[];}
38050
38068
  if (Array.isArray(values.urls) &&
38051
38069
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
38052
38070
  // @ts-ignore: type is checked above.
38053
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
38071
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
38054
38072
 
38055
38073
  } else {
38056
38074
  throw new TypeError(
@@ -38072,7 +38090,8 @@ urls?: ((URL | Link))[];}
38072
38090
  *
38073
38091
  * @param values The values to update the clone with.
38074
38092
  * @param options The options to use for cloning.
38075
- * @returns The cloned instance.
38093
+ * @returns The cloned instance with its own property arrays. Nested objects
38094
+ * and URLs are shared with this instance.
38076
38095
  */
38077
38096
  clone(
38078
38097
  values:
@@ -38104,7 +38123,7 @@ urls?: ((URL | Link))[];}
38104
38123
  options
38105
38124
  );
38106
38125
  copyPortableProvenance(this, clone);
38107
- clone.#_diXuPmFWiEqfLPhhrxg6Xc7ixZG = this.#_diXuPmFWiEqfLPhhrxg6Xc7ixZG;
38126
+ clone.#_diXuPmFWiEqfLPhhrxg6Xc7ixZG = this.#_diXuPmFWiEqfLPhhrxg6Xc7ixZG.slice();
38108
38127
  if (\\"language\\" in values && values.language != null) {
38109
38128
  if (values.language instanceof Intl.Locale) {
38110
38129
  // @ts-ignore: type is checked above.
@@ -38117,7 +38136,7 @@ urls?: ((URL | Link))[];}
38117
38136
  );
38118
38137
  }
38119
38138
  }
38120
- clone.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = this.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR;clone.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = new Set(this.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR);
38139
+ clone.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = this.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR.slice();clone.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = new Set(this.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR);
38121
38140
  if (\\"translator\\" in values && values.translator != null) {
38122
38141
  if (values.translator instanceof Application || values.translator instanceof Group || values.translator instanceof Organization || values.translator instanceof Person || values.translator instanceof Service || values.translator instanceof URL) {
38123
38142
  // @ts-ignore: type is checked above.
@@ -38144,7 +38163,7 @@ urls?: ((URL | Link))[];}
38144
38163
  if (Array.isArray(values.translators) &&
38145
38164
  values.translators.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
38146
38165
  // @ts-ignore: type is checked above.
38147
- clone.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = values.translators;
38166
+ clone.#_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = values.translators.slice();
38148
38167
 
38149
38168
  clone.#_trust_hQqsdZa1zG8Ra1bQ3MBVsnmGnBR = new Set();
38150
38169
  for (let i = 0; i < values.translators.length; i++) {
@@ -38158,7 +38177,7 @@ urls?: ((URL | Link))[];}
38158
38177
  );
38159
38178
  }
38160
38179
  }
38161
- clone.#_Msz9PwRg7cWkiXPL4ixyQLtuuH7 = this.#_Msz9PwRg7cWkiXPL4ixyQLtuuH7;
38180
+ clone.#_Msz9PwRg7cWkiXPL4ixyQLtuuH7 = this.#_Msz9PwRg7cWkiXPL4ixyQLtuuH7.slice();
38162
38181
  if (\\"original\\" in values && values.original != null) {
38163
38182
  if (values.original instanceof URL) {
38164
38183
  // @ts-ignore: type is checked above.
@@ -38171,7 +38190,7 @@ urls?: ((URL | Link))[];}
38171
38190
  );
38172
38191
  }
38173
38192
  }
38174
- clone.#_yTNTBtDbKTVj9kzyXpuk3rzbcGv_sourceUpdated = this.#_yTNTBtDbKTVj9kzyXpuk3rzbcGv_sourceUpdated;
38193
+ clone.#_yTNTBtDbKTVj9kzyXpuk3rzbcGv_sourceUpdated = this.#_yTNTBtDbKTVj9kzyXpuk3rzbcGv_sourceUpdated.slice();
38175
38194
  if (\\"sourceUpdated\\" in values && values.sourceUpdated != null) {
38176
38195
  if (isTemporalInstant(values.sourceUpdated)) {
38177
38196
  // @ts-ignore: type is checked above.
@@ -38184,7 +38203,7 @@ urls?: ((URL | Link))[];}
38184
38203
  );
38185
38204
  }
38186
38205
  }
38187
- clone.#_4KvkQNz1JjGs8S7iJDcGrUYETbUW = this.#_4KvkQNz1JjGs8S7iJDcGrUYETbUW;
38206
+ clone.#_4KvkQNz1JjGs8S7iJDcGrUYETbUW = this.#_4KvkQNz1JjGs8S7iJDcGrUYETbUW.slice();
38188
38207
  if (\\"basis\\" in values && values.basis != null) {
38189
38208
  if (values.basis instanceof URL) {
38190
38209
  // @ts-ignore: type is checked above.
@@ -38197,7 +38216,7 @@ urls?: ((URL | Link))[];}
38197
38216
  );
38198
38217
  }
38199
38218
  }
38200
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
38219
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
38201
38220
  if (\\"url\\" in values && values.url != null) {
38202
38221
  if (values.url instanceof URL || values.url instanceof Link) {
38203
38222
  // @ts-ignore: type is checked above.
@@ -38224,7 +38243,7 @@ urls?: ((URL | Link))[];}
38224
38243
  if (Array.isArray(values.urls) &&
38225
38244
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
38226
38245
  // @ts-ignore: type is checked above.
38227
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
38246
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
38228
38247
 
38229
38248
  } else {
38230
38249
  throw new TypeError(
@@ -39460,7 +39479,7 @@ get urls(): ((URL | Link))[] {
39460
39479
  if (v == null) continue;
39461
39480
 
39462
39481
  const decoded =
39463
- new Intl.Locale(v[\\"@value\\"])
39482
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
39464
39483
  ;
39465
39484
 
39466
39485
  if (typeof decoded === \\"undefined\\") {
@@ -39960,7 +39979,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39960
39979
  *
39961
39980
  * @param values The values to update the clone with.
39962
39981
  * @param options The options to use for cloning.
39963
- * @returns The cloned instance.
39982
+ * @returns The cloned instance with its own property arrays. Nested objects
39983
+ * and URLs are shared with this instance.
39964
39984
  */
39965
39985
  override clone(
39966
39986
  values:
@@ -39999,7 +40019,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39999
40019
  // @ts-ignore: \$warning is not recognized as a property, but it is.
40000
40020
  options = { ...options, \$warning: this._warning };
40001
40021
  }
40002
- const clone = super.clone(values, options) as unknown as FeatureAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
40022
+ const clone = super.clone(values, options) as unknown as FeatureAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
40003
40023
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
40004
40024
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
40005
40025
  // @ts-ignore: type is checked above.
@@ -40012,7 +40032,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
40012
40032
  );
40013
40033
  }
40014
40034
  }
40015
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
40035
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
40016
40036
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
40017
40037
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
40018
40038
  // @ts-ignore: type is checked above.
@@ -41455,7 +41475,8 @@ instruments?: (Object | URL)[];}
41455
41475
  *
41456
41476
  * @param values The values to update the clone with.
41457
41477
  * @param options The options to use for cloning.
41458
- * @returns The cloned instance.
41478
+ * @returns The cloned instance with its own property arrays. Nested objects
41479
+ * and URLs are shared with this instance.
41459
41480
  */
41460
41481
  override clone(
41461
41482
  values:
@@ -41949,7 +41970,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41949
41970
  if (Array.isArray(values.items) &&
41950
41971
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
41951
41972
  // @ts-ignore: type is checked above.
41952
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
41973
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
41953
41974
 
41954
41975
  for (let i = 0; i < values.items.length; i++) {
41955
41976
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -42079,7 +42100,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42079
42100
  *
42080
42101
  * @param values The values to update the clone with.
42081
42102
  * @param options The options to use for cloning.
42082
- * @returns The cloned instance.
42103
+ * @returns The cloned instance with its own property arrays. Nested objects
42104
+ * and URLs are shared with this instance.
42083
42105
  */
42084
42106
  override clone(
42085
42107
  values:
@@ -42118,7 +42140,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42118
42140
  // @ts-ignore: \$warning is not recognized as a property, but it is.
42119
42141
  options = { ...options, \$warning: this._warning };
42120
42142
  }
42121
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
42143
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
42122
42144
  if (\\"totalItems\\" in values && values.totalItems != null) {
42123
42145
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
42124
42146
  // @ts-ignore: type is checked above.
@@ -42131,7 +42153,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42131
42153
  );
42132
42154
  }
42133
42155
  }
42134
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
42156
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
42135
42157
  if (\\"current\\" in values && values.current != null) {
42136
42158
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
42137
42159
  // @ts-ignore: type is checked above.
@@ -42144,7 +42166,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42144
42166
  );
42145
42167
  }
42146
42168
  }
42147
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
42169
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
42148
42170
  if (\\"first\\" in values && values.first != null) {
42149
42171
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
42150
42172
  // @ts-ignore: type is checked above.
@@ -42157,7 +42179,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42157
42179
  );
42158
42180
  }
42159
42181
  }
42160
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
42182
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
42161
42183
  if (\\"last\\" in values && values.last != null) {
42162
42184
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
42163
42185
  // @ts-ignore: type is checked above.
@@ -42170,13 +42192,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42170
42192
  );
42171
42193
  }
42172
42194
  }
42173
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
42195
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
42174
42196
  if (\\"items\\" in values && values.items != null) {
42175
42197
 
42176
42198
  if (Array.isArray(values.items) &&
42177
42199
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
42178
42200
  // @ts-ignore: type is checked above.
42179
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
42201
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
42180
42202
 
42181
42203
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
42182
42204
  for (let i = 0; i < values.items.length; i++) {
@@ -42190,7 +42212,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42190
42212
  );
42191
42213
  }
42192
42214
  }
42193
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
42215
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
42194
42216
  if (\\"likesOf\\" in values && values.likesOf != null) {
42195
42217
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
42196
42218
  // @ts-ignore: type is checked above.
@@ -42203,7 +42225,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42203
42225
  );
42204
42226
  }
42205
42227
  }
42206
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
42228
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
42207
42229
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
42208
42230
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
42209
42231
  // @ts-ignore: type is checked above.
@@ -42216,7 +42238,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42216
42238
  );
42217
42239
  }
42218
42240
  }
42219
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
42241
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
42220
42242
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
42221
42243
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
42222
42244
  // @ts-ignore: type is checked above.
@@ -42229,7 +42251,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42229
42251
  );
42230
42252
  }
42231
42253
  }
42232
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
42254
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
42233
42255
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
42234
42256
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
42235
42257
  // @ts-ignore: type is checked above.
@@ -42242,7 +42264,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42242
42264
  );
42243
42265
  }
42244
42266
  }
42245
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
42267
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
42246
42268
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
42247
42269
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
42248
42270
  // @ts-ignore: type is checked above.
@@ -42255,7 +42277,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42255
42277
  );
42256
42278
  }
42257
42279
  }
42258
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
42280
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
42259
42281
  if (\\"followersOf\\" in values && values.followersOf != null) {
42260
42282
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
42261
42283
  // @ts-ignore: type is checked above.
@@ -42268,7 +42290,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42268
42290
  );
42269
42291
  }
42270
42292
  }
42271
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
42293
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
42272
42294
  if (\\"followingOf\\" in values && values.followingOf != null) {
42273
42295
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
42274
42296
  // @ts-ignore: type is checked above.
@@ -42281,7 +42303,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42281
42303
  );
42282
42304
  }
42283
42305
  }
42284
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
42306
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
42285
42307
  if (\\"likedOf\\" in values && values.likedOf != null) {
42286
42308
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
42287
42309
  // @ts-ignore: type is checked above.
@@ -49058,7 +49080,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49058
49080
  if (Array.isArray(values.items) &&
49059
49081
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
49060
49082
  // @ts-ignore: type is checked above.
49061
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
49083
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
49062
49084
 
49063
49085
  for (let i = 0; i < values.items.length; i++) {
49064
49086
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -49084,7 +49106,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49084
49106
  *
49085
49107
  * @param values The values to update the clone with.
49086
49108
  * @param options The options to use for cloning.
49087
- * @returns The cloned instance.
49109
+ * @returns The cloned instance with its own property arrays. Nested objects
49110
+ * and URLs are shared with this instance.
49088
49111
  */
49089
49112
  override clone(
49090
49113
  values:
@@ -49123,13 +49146,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49123
49146
  // @ts-ignore: \$warning is not recognized as a property, but it is.
49124
49147
  options = { ...options, \$warning: this._warning };
49125
49148
  }
49126
- const clone = super.clone(values, options) as unknown as OrderedCollection;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
49149
+ const clone = super.clone(values, options) as unknown as OrderedCollection;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
49127
49150
  if (\\"items\\" in values && values.items != null) {
49128
49151
 
49129
49152
  if (Array.isArray(values.items) &&
49130
49153
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
49131
49154
  // @ts-ignore: type is checked above.
49132
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
49155
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
49133
49156
 
49134
49157
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
49135
49158
  for (let i = 0; i < values.items.length; i++) {
@@ -50109,7 +50132,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50109
50132
  *
50110
50133
  * @param values The values to update the clone with.
50111
50134
  * @param options The options to use for cloning.
50112
- * @returns The cloned instance.
50135
+ * @returns The cloned instance with its own property arrays. Nested objects
50136
+ * and URLs are shared with this instance.
50113
50137
  */
50114
50138
  override clone(
50115
50139
  values:
@@ -50148,7 +50172,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50148
50172
  // @ts-ignore: \$warning is not recognized as a property, but it is.
50149
50173
  options = { ...options, \$warning: this._warning };
50150
50174
  }
50151
- const clone = super.clone(values, options) as unknown as FeaturedCollection;clone.#_pc4UXYHNrYa2zyQ8Bh7zvdZRKnZ_topic = this.#_pc4UXYHNrYa2zyQ8Bh7zvdZRKnZ_topic;
50175
+ const clone = super.clone(values, options) as unknown as FeaturedCollection;clone.#_pc4UXYHNrYa2zyQ8Bh7zvdZRKnZ_topic = this.#_pc4UXYHNrYa2zyQ8Bh7zvdZRKnZ_topic.slice();
50152
50176
  if (\\"topic\\" in values && values.topic != null) {
50153
50177
  if (values.topic instanceof Hashtag) {
50154
50178
  // @ts-ignore: type is checked above.
@@ -50161,7 +50185,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50161
50185
  );
50162
50186
  }
50163
50187
  }
50164
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
50188
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
50165
50189
  if (\\"discoverable\\" in values && values.discoverable != null) {
50166
50190
  if (typeof values.discoverable === \\"boolean\\") {
50167
50191
  // @ts-ignore: type is checked above.
@@ -50798,7 +50822,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50798
50822
  *
50799
50823
  * @param values The values to update the clone with.
50800
50824
  * @param options The options to use for cloning.
50801
- * @returns The cloned instance.
50825
+ * @returns The cloned instance with its own property arrays. Nested objects
50826
+ * and URLs are shared with this instance.
50802
50827
  */
50803
50828
  override clone(
50804
50829
  values:
@@ -50837,7 +50862,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50837
50862
  // @ts-ignore: \$warning is not recognized as a property, but it is.
50838
50863
  options = { ...options, \$warning: this._warning };
50839
50864
  }
50840
- const clone = super.clone(values, options) as unknown as FeaturedItem;clone.#_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject = this.#_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject;clone.#_trust_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject = new Set(this.#_trust_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject);
50865
+ const clone = super.clone(values, options) as unknown as FeaturedItem;clone.#_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject = this.#_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject.slice();clone.#_trust_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject = new Set(this.#_trust_Ht5F1pFtcuyJkybWck37rPhwyQv_featuredObject);
50841
50866
  if (\\"featuredObject\\" in values && values.featuredObject != null) {
50842
50867
  if (values.featuredObject instanceof Object || values.featuredObject instanceof URL) {
50843
50868
  // @ts-ignore: type is checked above.
@@ -50850,7 +50875,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
50850
50875
  );
50851
50876
  }
50852
50877
  }
50853
- clone.#_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization = this.#_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization;clone.#_trust_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization = new Set(this.#_trust_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization);
50878
+ clone.#_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization = this.#_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization.slice();clone.#_trust_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization = new Set(this.#_trust_2gG5sxnwav2sb69C22RbERtJ8rba_featureAuthorization);
50854
50879
  if (\\"featureAuthorization\\" in values && values.featureAuthorization != null) {
50855
50880
  if (values.featureAuthorization instanceof FeatureAuthorization || values.featureAuthorization instanceof URL) {
50856
50881
  // @ts-ignore: type is checked above.
@@ -52369,7 +52394,7 @@ endpoints?: (URL)[];}
52369
52394
  if (Array.isArray(values.endpoints) &&
52370
52395
  values.endpoints.every(v => v instanceof URL)) {
52371
52396
  // @ts-ignore: type is checked above.
52372
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
52397
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
52373
52398
 
52374
52399
  } else {
52375
52400
  throw new TypeError(
@@ -52391,7 +52416,8 @@ endpoints?: (URL)[];}
52391
52416
  *
52392
52417
  * @param values The values to update the clone with.
52393
52418
  * @param options The options to use for cloning.
52394
- * @returns The cloned instance.
52419
+ * @returns The cloned instance with its own property arrays. Nested objects
52420
+ * and URLs are shared with this instance.
52395
52421
  */
52396
52422
  clone(
52397
52423
  values:
@@ -52422,7 +52448,7 @@ endpoints?: (URL)[];}
52422
52448
  options
52423
52449
  );
52424
52450
  copyPortableProvenance(this, clone);
52425
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
52451
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
52426
52452
  if (\\"endpoint\\" in values && values.endpoint != null) {
52427
52453
  if (values.endpoint instanceof URL) {
52428
52454
  // @ts-ignore: type is checked above.
@@ -52449,7 +52475,7 @@ endpoints?: (URL)[];}
52449
52475
  if (Array.isArray(values.endpoints) &&
52450
52476
  values.endpoints.every(v => v instanceof URL)) {
52451
52477
  // @ts-ignore: type is checked above.
52452
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
52478
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
52453
52479
 
52454
52480
  } else {
52455
52481
  throw new TypeError(
@@ -52898,7 +52924,8 @@ endpoints?: (URL)[];}
52898
52924
  *
52899
52925
  * @param values The values to update the clone with.
52900
52926
  * @param options The options to use for cloning.
52901
- * @returns The cloned instance.
52927
+ * @returns The cloned instance with its own property arrays. Nested objects
52928
+ * and URLs are shared with this instance.
52902
52929
  */
52903
52930
  override clone(
52904
52931
  values:
@@ -53416,7 +53443,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53416
53443
  *
53417
53444
  * @param values The values to update the clone with.
53418
53445
  * @param options The options to use for cloning.
53419
- * @returns The cloned instance.
53446
+ * @returns The cloned instance with its own property arrays. Nested objects
53447
+ * and URLs are shared with this instance.
53420
53448
  */
53421
53449
  clone(
53422
53450
  values:
@@ -53446,7 +53474,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53446
53474
  options
53447
53475
  );
53448
53476
  copyPortableProvenance(this, clone);
53449
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
53477
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
53450
53478
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
53451
53479
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
53452
53480
  // @ts-ignore: type is checked above.
@@ -53459,7 +53487,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53459
53487
  );
53460
53488
  }
53461
53489
  }
53462
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
53490
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
53463
53491
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
53464
53492
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
53465
53493
  // @ts-ignore: type is checked above.
@@ -53472,7 +53500,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53472
53500
  );
53473
53501
  }
53474
53502
  }
53475
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
53503
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
53476
53504
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
53477
53505
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
53478
53506
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -53487,7 +53515,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53487
53515
  );
53488
53516
  }
53489
53517
  }
53490
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
53518
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
53491
53519
  if (\\"proofValue\\" in values && values.proofValue != null) {
53492
53520
  if (values.proofValue instanceof Uint8Array) {
53493
53521
  // @ts-ignore: type is checked above.
@@ -53500,7 +53528,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
53500
53528
  );
53501
53529
  }
53502
53530
  }
53503
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
53531
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
53504
53532
  if (\\"created\\" in values && values.created != null) {
53505
53533
  if (isTemporalInstant(values.created)) {
53506
53534
  // @ts-ignore: type is checked above.
@@ -54781,7 +54809,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
54781
54809
  *
54782
54810
  * @param values The values to update the clone with.
54783
54811
  * @param options The options to use for cloning.
54784
- * @returns The cloned instance.
54812
+ * @returns The cloned instance with its own property arrays. Nested objects
54813
+ * and URLs are shared with this instance.
54785
54814
  */
54786
54815
  clone(
54787
54816
  values:
@@ -54811,7 +54840,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
54811
54840
  options
54812
54841
  );
54813
54842
  copyPortableProvenance(this, clone);
54814
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
54843
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
54815
54844
  if (\\"owner\\" in values && values.owner != null) {
54816
54845
  if (values.owner instanceof Application || values.owner instanceof Group || values.owner instanceof Organization || values.owner instanceof Person || values.owner instanceof Service || values.owner instanceof URL) {
54817
54846
  // @ts-ignore: type is checked above.
@@ -54824,7 +54853,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
54824
54853
  );
54825
54854
  }
54826
54855
  }
54827
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
54856
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
54828
54857
  if (\\"publicKey\\" in values && values.publicKey != null) {
54829
54858
  if (
54830
54859
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -56018,7 +56047,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
56018
56047
  *
56019
56048
  * @param values The values to update the clone with.
56020
56049
  * @param options The options to use for cloning.
56021
- * @returns The cloned instance.
56050
+ * @returns The cloned instance with its own property arrays. Nested objects
56051
+ * and URLs are shared with this instance.
56022
56052
  */
56023
56053
  clone(
56024
56054
  values:
@@ -56048,7 +56078,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
56048
56078
  options
56049
56079
  );
56050
56080
  copyPortableProvenance(this, clone);
56051
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
56081
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
56052
56082
  if (\\"controller\\" in values && values.controller != null) {
56053
56083
  if (values.controller instanceof Application || values.controller instanceof Group || values.controller instanceof Organization || values.controller instanceof Person || values.controller instanceof Service || values.controller instanceof URL) {
56054
56084
  // @ts-ignore: type is checked above.
@@ -56061,7 +56091,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
56061
56091
  );
56062
56092
  }
56063
56093
  }
56064
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
56094
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
56065
56095
  if (\\"publicKey\\" in values && values.publicKey != null) {
56066
56096
  if (
56067
56097
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -57198,7 +57228,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
57198
57228
  *
57199
57229
  * @param values The values to update the clone with.
57200
57230
  * @param options The options to use for cloning.
57201
- * @returns The cloned instance.
57231
+ * @returns The cloned instance with its own property arrays. Nested objects
57232
+ * and URLs are shared with this instance.
57202
57233
  */
57203
57234
  override clone(
57204
57235
  values:
@@ -57237,7 +57268,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
57237
57268
  // @ts-ignore: \$warning is not recognized as a property, but it is.
57238
57269
  options = { ...options, \$warning: this._warning };
57239
57270
  }
57240
- const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates;
57271
+ const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates.slice();
57241
57272
  if (\\"stipulates\\" in values && values.stipulates != null) {
57242
57273
  if (values.stipulates instanceof Commitment) {
57243
57274
  // @ts-ignore: type is checked above.
@@ -57250,7 +57281,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
57250
57281
  );
57251
57282
  }
57252
57283
  }
57253
- clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal;
57284
+ clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal.slice();
57254
57285
  if (\\"stipulatesReciprocal\\" in values && values.stipulatesReciprocal != null) {
57255
57286
  if (values.stipulatesReciprocal instanceof Commitment) {
57256
57287
  // @ts-ignore: type is checked above.
@@ -57959,7 +57990,8 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
57959
57990
  *
57960
57991
  * @param values The values to update the clone with.
57961
57992
  * @param options The options to use for cloning.
57962
- * @returns The cloned instance.
57993
+ * @returns The cloned instance with its own property arrays. Nested objects
57994
+ * and URLs are shared with this instance.
57963
57995
  */
57964
57996
  clone(
57965
57997
  values:
@@ -57989,7 +58021,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
57989
58021
  options
57990
58022
  );
57991
58023
  copyPortableProvenance(this, clone);
57992
- clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies;
58024
+ clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies.slice();
57993
58025
  if (\\"satisfies\\" in values && values.satisfies != null) {
57994
58026
  if (values.satisfies instanceof URL) {
57995
58027
  // @ts-ignore: type is checked above.
@@ -58002,7 +58034,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
58002
58034
  );
58003
58035
  }
58004
58036
  }
58005
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
58037
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
58006
58038
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
58007
58039
  if (values.resourceQuantity instanceof Measure) {
58008
58040
  // @ts-ignore: type is checked above.
@@ -58730,7 +58762,8 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58730
58762
  *
58731
58763
  * @param values The values to update the clone with.
58732
58764
  * @param options The options to use for cloning.
58733
- * @returns The cloned instance.
58765
+ * @returns The cloned instance with its own property arrays. Nested objects
58766
+ * and URLs are shared with this instance.
58734
58767
  */
58735
58768
  clone(
58736
58769
  values:
@@ -58760,7 +58793,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58760
58793
  options
58761
58794
  );
58762
58795
  copyPortableProvenance(this, clone);
58763
- clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action;
58796
+ clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action.slice();
58764
58797
  if (\\"action\\" in values && values.action != null) {
58765
58798
  if (typeof values.action === \\"string\\") {
58766
58799
  // @ts-ignore: type is checked above.
@@ -58773,7 +58806,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58773
58806
  );
58774
58807
  }
58775
58808
  }
58776
- clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo;
58809
+ clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo.slice();
58777
58810
  if (\\"resourceConformsTo\\" in values && values.resourceConformsTo != null) {
58778
58811
  if (values.resourceConformsTo instanceof URL) {
58779
58812
  // @ts-ignore: type is checked above.
@@ -58786,7 +58819,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58786
58819
  );
58787
58820
  }
58788
58821
  }
58789
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
58822
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
58790
58823
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
58791
58824
  if (values.resourceQuantity instanceof Measure) {
58792
58825
  // @ts-ignore: type is checked above.
@@ -58799,7 +58832,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58799
58832
  );
58800
58833
  }
58801
58834
  }
58802
- clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity;
58835
+ clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity.slice();
58803
58836
  if (\\"availableQuantity\\" in values && values.availableQuantity != null) {
58804
58837
  if (values.availableQuantity instanceof Measure) {
58805
58838
  // @ts-ignore: type is checked above.
@@ -58812,7 +58845,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
58812
58845
  );
58813
58846
  }
58814
58847
  }
58815
- clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity;
58848
+ clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity.slice();
58816
58849
  if (\\"minimumQuantity\\" in values && values.minimumQuantity != null) {
58817
58850
  if (values.minimumQuantity instanceof Measure) {
58818
58851
  // @ts-ignore: type is checked above.
@@ -59775,7 +59808,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
59775
59808
  *
59776
59809
  * @param values The values to update the clone with.
59777
59810
  * @param options The options to use for cloning.
59778
- * @returns The cloned instance.
59811
+ * @returns The cloned instance with its own property arrays. Nested objects
59812
+ * and URLs are shared with this instance.
59779
59813
  */
59780
59814
  override clone(
59781
59815
  values:
@@ -59814,7 +59848,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
59814
59848
  // @ts-ignore: \$warning is not recognized as a property, but it is.
59815
59849
  options = { ...options, \$warning: this._warning };
59816
59850
  }
59817
- const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose;
59851
+ const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose.slice();
59818
59852
  if (\\"purpose\\" in values && values.purpose != null) {
59819
59853
  if (typeof values.purpose === \\"string\\") {
59820
59854
  // @ts-ignore: type is checked above.
@@ -59827,7 +59861,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
59827
59861
  );
59828
59862
  }
59829
59863
  }
59830
- clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes;
59864
+ clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes.slice();
59831
59865
  if (\\"publishes\\" in values && values.publishes != null) {
59832
59866
  if (values.publishes instanceof Intent) {
59833
59867
  // @ts-ignore: type is checked above.
@@ -59840,7 +59874,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
59840
59874
  );
59841
59875
  }
59842
59876
  }
59843
- clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal;
59877
+ clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal.slice();
59844
59878
  if (\\"reciprocal\\" in values && values.reciprocal != null) {
59845
59879
  if (values.reciprocal instanceof Intent) {
59846
59880
  // @ts-ignore: type is checked above.
@@ -59853,7 +59887,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
59853
59887
  );
59854
59888
  }
59855
59889
  }
59856
- clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased;
59890
+ clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased.slice();
59857
59891
  if (\\"unitBased\\" in values && values.unitBased != null) {
59858
59892
  if (typeof values.unitBased === \\"boolean\\") {
59859
59893
  // @ts-ignore: type is checked above.
@@ -60669,7 +60703,8 @@ instruments?: (Object | URL)[];}
60669
60703
  *
60670
60704
  * @param values The values to update the clone with.
60671
60705
  * @param options The options to use for cloning.
60672
- * @returns The cloned instance.
60706
+ * @returns The cloned instance with its own property arrays. Nested objects
60707
+ * and URLs are shared with this instance.
60673
60708
  */
60674
60709
  override clone(
60675
60710
  values:
@@ -61090,7 +61125,8 @@ instruments?: (Object | URL)[];}
61090
61125
  *
61091
61126
  * @param values The values to update the clone with.
61092
61127
  * @param options The options to use for cloning.
61093
- * @returns The cloned instance.
61128
+ * @returns The cloned instance with its own property arrays. Nested objects
61129
+ * and URLs are shared with this instance.
61094
61130
  */
61095
61131
  override clone(
61096
61132
  values:
@@ -61506,7 +61542,8 @@ instruments?: (Object | URL)[];}
61506
61542
  *
61507
61543
  * @param values The values to update the clone with.
61508
61544
  * @param options The options to use for cloning.
61509
- * @returns The cloned instance.
61545
+ * @returns The cloned instance with its own property arrays. Nested objects
61546
+ * and URLs are shared with this instance.
61510
61547
  */
61511
61548
  override clone(
61512
61549
  values:
@@ -61985,7 +62022,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
61985
62022
  if (Array.isArray(values.preferredUsernames) &&
61986
62023
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
61987
62024
  // @ts-ignore: type is checked above.
61988
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62025
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
61989
62026
 
61990
62027
  } else {
61991
62028
  throw new TypeError(
@@ -62021,7 +62058,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62021
62058
  if (Array.isArray(values.publicKeys) &&
62022
62059
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62023
62060
  // @ts-ignore: type is checked above.
62024
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62061
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62025
62062
 
62026
62063
  for (let i = 0; i < values.publicKeys.length; i++) {
62027
62064
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -62061,7 +62098,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62061
62098
  if (Array.isArray(values.assertionMethods) &&
62062
62099
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62063
62100
  // @ts-ignore: type is checked above.
62064
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62101
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62065
62102
 
62066
62103
  for (let i = 0; i < values.assertionMethods.length; i++) {
62067
62104
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -62101,7 +62138,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62101
62138
  if (Array.isArray(values.gateways) &&
62102
62139
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
62103
62140
  // @ts-ignore: type is checked above.
62104
- this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
62141
+ this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
62105
62142
 
62106
62143
  } else {
62107
62144
  throw new TypeError(
@@ -62233,7 +62270,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62233
62270
  if (Array.isArray(values.streams) &&
62234
62271
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62235
62272
  // @ts-ignore: type is checked above.
62236
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62273
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62237
62274
 
62238
62275
  for (let i = 0; i < values.streams.length; i++) {
62239
62276
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -62351,7 +62388,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62351
62388
  if (Array.isArray(values.aliases) &&
62352
62389
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62353
62390
  // @ts-ignore: type is checked above.
62354
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
62391
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62355
62392
 
62356
62393
  for (let i = 0; i < values.aliases.length; i++) {
62357
62394
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -62391,7 +62428,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62391
62428
  if (Array.isArray(values.services) &&
62392
62429
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
62393
62430
  // @ts-ignore: type is checked above.
62394
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
62431
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
62395
62432
 
62396
62433
  for (let i = 0; i < values.services.length; i++) {
62397
62434
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -62443,7 +62480,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62443
62480
  *
62444
62481
  * @param values The values to update the clone with.
62445
62482
  * @param options The options to use for cloning.
62446
- * @returns The cloned instance.
62483
+ * @returns The cloned instance with its own property arrays. Nested objects
62484
+ * and URLs are shared with this instance.
62447
62485
  */
62448
62486
  override clone(
62449
62487
  values:
@@ -62488,7 +62526,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62488
62526
  // @ts-ignore: \$warning is not recognized as a property, but it is.
62489
62527
  options = { ...options, \$warning: this._warning };
62490
62528
  }
62491
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
62529
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
62492
62530
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
62493
62531
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
62494
62532
  // @ts-ignore: type is checked above.
@@ -62515,7 +62553,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62515
62553
  if (Array.isArray(values.preferredUsernames) &&
62516
62554
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
62517
62555
  // @ts-ignore: type is checked above.
62518
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62556
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
62519
62557
 
62520
62558
  } else {
62521
62559
  throw new TypeError(
@@ -62524,7 +62562,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62524
62562
  );
62525
62563
  }
62526
62564
  }
62527
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62565
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62528
62566
  if (\\"publicKey\\" in values && values.publicKey != null) {
62529
62567
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
62530
62568
  // @ts-ignore: type is checked above.
@@ -62551,7 +62589,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62551
62589
  if (Array.isArray(values.publicKeys) &&
62552
62590
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62553
62591
  // @ts-ignore: type is checked above.
62554
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62592
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62555
62593
 
62556
62594
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
62557
62595
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -62565,7 +62603,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62565
62603
  );
62566
62604
  }
62567
62605
  }
62568
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62606
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62569
62607
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
62570
62608
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
62571
62609
  // @ts-ignore: type is checked above.
@@ -62592,7 +62630,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62592
62630
  if (Array.isArray(values.assertionMethods) &&
62593
62631
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62594
62632
  // @ts-ignore: type is checked above.
62595
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62633
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62596
62634
 
62597
62635
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
62598
62636
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -62606,7 +62644,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62606
62644
  );
62607
62645
  }
62608
62646
  }
62609
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3;
62647
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3.slice();
62610
62648
  if (\\"gateway\\" in values && values.gateway != null) {
62611
62649
  if (values.gateway instanceof URL && isGatewayUrl(values.gateway)) {
62612
62650
  // @ts-ignore: type is checked above.
@@ -62633,7 +62671,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62633
62671
  if (Array.isArray(values.gateways) &&
62634
62672
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
62635
62673
  // @ts-ignore: type is checked above.
62636
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
62674
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
62637
62675
 
62638
62676
  } else {
62639
62677
  throw new TypeError(
@@ -62642,7 +62680,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62642
62680
  );
62643
62681
  }
62644
62682
  }
62645
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
62683
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
62646
62684
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
62647
62685
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
62648
62686
  // @ts-ignore: type is checked above.
@@ -62655,7 +62693,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62655
62693
  );
62656
62694
  }
62657
62695
  }
62658
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62696
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62659
62697
  if (\\"inbox\\" in values && values.inbox != null) {
62660
62698
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
62661
62699
  // @ts-ignore: type is checked above.
@@ -62668,7 +62706,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62668
62706
  );
62669
62707
  }
62670
62708
  }
62671
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62709
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62672
62710
  if (\\"outbox\\" in values && values.outbox != null) {
62673
62711
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
62674
62712
  // @ts-ignore: type is checked above.
@@ -62681,7 +62719,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62681
62719
  );
62682
62720
  }
62683
62721
  }
62684
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62722
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62685
62723
  if (\\"following\\" in values && values.following != null) {
62686
62724
  if (values.following instanceof Collection || values.following instanceof URL) {
62687
62725
  // @ts-ignore: type is checked above.
@@ -62694,7 +62732,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62694
62732
  );
62695
62733
  }
62696
62734
  }
62697
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62735
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62698
62736
  if (\\"followers\\" in values && values.followers != null) {
62699
62737
  if (values.followers instanceof Collection || values.followers instanceof URL) {
62700
62738
  // @ts-ignore: type is checked above.
@@ -62707,7 +62745,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62707
62745
  );
62708
62746
  }
62709
62747
  }
62710
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62748
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62711
62749
  if (\\"liked\\" in values && values.liked != null) {
62712
62750
  if (values.liked instanceof Collection || values.liked instanceof URL) {
62713
62751
  // @ts-ignore: type is checked above.
@@ -62720,7 +62758,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62720
62758
  );
62721
62759
  }
62722
62760
  }
62723
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62761
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62724
62762
  if (\\"featured\\" in values && values.featured != null) {
62725
62763
  if (values.featured instanceof Collection || values.featured instanceof URL) {
62726
62764
  // @ts-ignore: type is checked above.
@@ -62733,7 +62771,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62733
62771
  );
62734
62772
  }
62735
62773
  }
62736
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62774
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62737
62775
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
62738
62776
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
62739
62777
  // @ts-ignore: type is checked above.
@@ -62746,7 +62784,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62746
62784
  );
62747
62785
  }
62748
62786
  }
62749
- clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections;clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
62787
+ clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections.slice();clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
62750
62788
  if (\\"featuredCollections\\" in values && values.featuredCollections != null) {
62751
62789
  if (values.featuredCollections instanceof Collection || values.featuredCollections instanceof URL) {
62752
62790
  // @ts-ignore: type is checked above.
@@ -62759,13 +62797,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62759
62797
  );
62760
62798
  }
62761
62799
  }
62762
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62800
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62763
62801
  if (\\"streams\\" in values && values.streams != null) {
62764
62802
 
62765
62803
  if (Array.isArray(values.streams) &&
62766
62804
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62767
62805
  // @ts-ignore: type is checked above.
62768
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62806
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62769
62807
 
62770
62808
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
62771
62809
  for (let i = 0; i < values.streams.length; i++) {
@@ -62779,7 +62817,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62779
62817
  );
62780
62818
  }
62781
62819
  }
62782
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
62820
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
62783
62821
  if (\\"endpoints\\" in values && values.endpoints != null) {
62784
62822
  if (values.endpoints instanceof Endpoints) {
62785
62823
  // @ts-ignore: type is checked above.
@@ -62792,7 +62830,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62792
62830
  );
62793
62831
  }
62794
62832
  }
62795
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
62833
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
62796
62834
  if (\\"discoverable\\" in values && values.discoverable != null) {
62797
62835
  if (typeof values.discoverable === \\"boolean\\") {
62798
62836
  // @ts-ignore: type is checked above.
@@ -62805,7 +62843,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62805
62843
  );
62806
62844
  }
62807
62845
  }
62808
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
62846
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
62809
62847
  if (\\"suspended\\" in values && values.suspended != null) {
62810
62848
  if (typeof values.suspended === \\"boolean\\") {
62811
62849
  // @ts-ignore: type is checked above.
@@ -62818,7 +62856,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62818
62856
  );
62819
62857
  }
62820
62858
  }
62821
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
62859
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
62822
62860
  if (\\"memorial\\" in values && values.memorial != null) {
62823
62861
  if (typeof values.memorial === \\"boolean\\") {
62824
62862
  // @ts-ignore: type is checked above.
@@ -62831,7 +62869,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62831
62869
  );
62832
62870
  }
62833
62871
  }
62834
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
62872
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
62835
62873
  if (\\"indexable\\" in values && values.indexable != null) {
62836
62874
  if (typeof values.indexable === \\"boolean\\") {
62837
62875
  // @ts-ignore: type is checked above.
@@ -62844,7 +62882,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62844
62882
  );
62845
62883
  }
62846
62884
  }
62847
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62885
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62848
62886
  if (\\"successor\\" in values && values.successor != null) {
62849
62887
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
62850
62888
  // @ts-ignore: type is checked above.
@@ -62857,7 +62895,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62857
62895
  );
62858
62896
  }
62859
62897
  }
62860
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
62898
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
62861
62899
  if (\\"alias\\" in values && values.alias != null) {
62862
62900
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
62863
62901
  // @ts-ignore: type is checked above.
@@ -62884,7 +62922,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62884
62922
  if (Array.isArray(values.aliases) &&
62885
62923
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62886
62924
  // @ts-ignore: type is checked above.
62887
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
62925
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62888
62926
 
62889
62927
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
62890
62928
  for (let i = 0; i < values.aliases.length; i++) {
@@ -62898,7 +62936,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62898
62936
  );
62899
62937
  }
62900
62938
  }
62901
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
62939
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
62902
62940
  if (\\"service\\" in values && values.service != null) {
62903
62941
  if (values.service instanceof DidService || values.service instanceof URL) {
62904
62942
  // @ts-ignore: type is checked above.
@@ -62925,7 +62963,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62925
62963
  if (Array.isArray(values.services) &&
62926
62964
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
62927
62965
  // @ts-ignore: type is checked above.
62928
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
62966
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
62929
62967
 
62930
62968
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
62931
62969
  for (let i = 0; i < values.services.length; i++) {
@@ -62939,7 +62977,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62939
62977
  );
62940
62978
  }
62941
62979
  }
62942
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
62980
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
62943
62981
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
62944
62982
  if (typeof values.followedMessage === \\"string\\") {
62945
62983
  // @ts-ignore: type is checked above.
@@ -62952,7 +62990,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62952
62990
  );
62953
62991
  }
62954
62992
  }
62955
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
62993
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
62956
62994
  if (\\"cat\\" in values && values.cat != null) {
62957
62995
  if (typeof values.cat === \\"boolean\\") {
62958
62996
  // @ts-ignore: type is checked above.
@@ -72651,7 +72689,8 @@ instruments?: (Object | URL)[];}
72651
72689
  *
72652
72690
  * @param values The values to update the clone with.
72653
72691
  * @param options The options to use for cloning.
72654
- * @returns The cloned instance.
72692
+ * @returns The cloned instance with its own property arrays. Nested objects
72693
+ * and URLs are shared with this instance.
72655
72694
  */
72656
72695
  override clone(
72657
72696
  values:
@@ -73079,7 +73118,8 @@ instruments?: (Object | URL)[];}
73079
73118
  *
73080
73119
  * @param values The values to update the clone with.
73081
73120
  * @param options The options to use for cloning.
73082
- * @returns The cloned instance.
73121
+ * @returns The cloned instance with its own property arrays. Nested objects
73122
+ * and URLs are shared with this instance.
73083
73123
  */
73084
73124
  override clone(
73085
73125
  values:
@@ -73532,7 +73572,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
73532
73572
  *
73533
73573
  * @param values The values to update the clone with.
73534
73574
  * @param options The options to use for cloning.
73535
- * @returns The cloned instance.
73575
+ * @returns The cloned instance with its own property arrays. Nested objects
73576
+ * and URLs are shared with this instance.
73536
73577
  */
73537
73578
  override clone(
73538
73579
  values:
@@ -73571,7 +73612,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
73571
73612
  // @ts-ignore: \$warning is not recognized as a property, but it is.
73572
73613
  options = { ...options, \$warning: this._warning };
73573
73614
  }
73574
- const clone = super.clone(values, options) as unknown as Article;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
73615
+ const clone = super.clone(values, options) as unknown as Article;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
73575
73616
  if (\\"quote\\" in values && values.quote != null) {
73576
73617
  if (values.quote instanceof Object || values.quote instanceof URL) {
73577
73618
  // @ts-ignore: type is checked above.
@@ -73584,7 +73625,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
73584
73625
  );
73585
73626
  }
73586
73627
  }
73587
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
73628
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
73588
73629
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
73589
73630
  if (values.quoteUrl instanceof URL) {
73590
73631
  // @ts-ignore: type is checked above.
@@ -73597,7 +73638,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
73597
73638
  );
73598
73639
  }
73599
73640
  }
73600
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
73641
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
73601
73642
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
73602
73643
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
73603
73644
  // @ts-ignore: type is checked above.
@@ -75206,7 +75247,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75206
75247
  *
75207
75248
  * @param values The values to update the clone with.
75208
75249
  * @param options The options to use for cloning.
75209
- * @returns The cloned instance.
75250
+ * @returns The cloned instance with its own property arrays. Nested objects
75251
+ * and URLs are shared with this instance.
75210
75252
  */
75211
75253
  override clone(
75212
75254
  values:
@@ -75245,7 +75287,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75245
75287
  // @ts-ignore: \$warning is not recognized as a property, but it is.
75246
75288
  options = { ...options, \$warning: this._warning };
75247
75289
  }
75248
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
75290
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
75249
75291
  if (\\"width\\" in values && values.width != null) {
75250
75292
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
75251
75293
  // @ts-ignore: type is checked above.
@@ -75258,7 +75300,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75258
75300
  );
75259
75301
  }
75260
75302
  }
75261
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
75303
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
75262
75304
  if (\\"height\\" in values && values.height != null) {
75263
75305
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
75264
75306
  // @ts-ignore: type is checked above.
@@ -75271,7 +75313,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75271
75313
  );
75272
75314
  }
75273
75315
  }
75274
- clone.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase = this.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase;
75316
+ clone.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase = this.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase.slice();
75275
75317
  if (\\"digestMultibase\\" in values && values.digestMultibase != null) {
75276
75318
  if (typeof values.digestMultibase === \\"string\\") {
75277
75319
  // @ts-ignore: type is checked above.
@@ -75989,7 +76031,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75989
76031
  *
75990
76032
  * @param values The values to update the clone with.
75991
76033
  * @param options The options to use for cloning.
75992
- * @returns The cloned instance.
76034
+ * @returns The cloned instance with its own property arrays. Nested objects
76035
+ * and URLs are shared with this instance.
75993
76036
  */
75994
76037
  override clone(
75995
76038
  values:
@@ -76417,7 +76460,8 @@ instruments?: (Object | URL)[];}
76417
76460
  *
76418
76461
  * @param values The values to update the clone with.
76419
76462
  * @param options The options to use for cloning.
76420
- * @returns The cloned instance.
76463
+ * @returns The cloned instance with its own property arrays. Nested objects
76464
+ * and URLs are shared with this instance.
76421
76465
  */
76422
76466
  override clone(
76423
76467
  values:
@@ -76838,7 +76882,8 @@ instruments?: (Object | URL)[];}
76838
76882
  *
76839
76883
  * @param values The values to update the clone with.
76840
76884
  * @param options The options to use for cloning.
76841
- * @returns The cloned instance.
76885
+ * @returns The cloned instance with its own property arrays. Nested objects
76886
+ * and URLs are shared with this instance.
76842
76887
  */
76843
76888
  override clone(
76844
76889
  values:
@@ -77296,7 +77341,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77296
77341
  *
77297
77342
  * @param values The values to update the clone with.
77298
77343
  * @param options The options to use for cloning.
77299
- * @returns The cloned instance.
77344
+ * @returns The cloned instance with its own property arrays. Nested objects
77345
+ * and URLs are shared with this instance.
77300
77346
  */
77301
77347
  override clone(
77302
77348
  values:
@@ -77335,7 +77381,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77335
77381
  // @ts-ignore: \$warning is not recognized as a property, but it is.
77336
77382
  options = { ...options, \$warning: this._warning };
77337
77383
  }
77338
- const clone = super.clone(values, options) as unknown as CollectionPage;clone.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = this.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf;clone.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = new Set(this.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf);
77384
+ const clone = super.clone(values, options) as unknown as CollectionPage;clone.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = this.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.slice();clone.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = new Set(this.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf);
77339
77385
  if (\\"partOf\\" in values && values.partOf != null) {
77340
77386
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
77341
77387
  // @ts-ignore: type is checked above.
@@ -77348,7 +77394,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77348
77394
  );
77349
77395
  }
77350
77396
  }
77351
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
77397
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
77352
77398
  if (\\"next\\" in values && values.next != null) {
77353
77399
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
77354
77400
  // @ts-ignore: type is checked above.
@@ -77361,7 +77407,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77361
77407
  );
77362
77408
  }
77363
77409
  }
77364
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
77410
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
77365
77411
  if (\\"prev\\" in values && values.prev != null) {
77366
77412
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
77367
77413
  // @ts-ignore: type is checked above.
@@ -79322,7 +79368,8 @@ instruments?: (Object | URL)[];}
79322
79368
  *
79323
79369
  * @param values The values to update the clone with.
79324
79370
  * @param options The options to use for cloning.
79325
- * @returns The cloned instance.
79371
+ * @returns The cloned instance with its own property arrays. Nested objects
79372
+ * and URLs are shared with this instance.
79326
79373
  */
79327
79374
  override clone(
79328
79375
  values:
@@ -79737,7 +79784,8 @@ instruments?: (Object | URL)[];}
79737
79784
  *
79738
79785
  * @param values The values to update the clone with.
79739
79786
  * @param options The options to use for cloning.
79740
- * @returns The cloned instance.
79787
+ * @returns The cloned instance with its own property arrays. Nested objects
79788
+ * and URLs are shared with this instance.
79741
79789
  */
79742
79790
  override clone(
79743
79791
  values:
@@ -80150,7 +80198,8 @@ instruments?: (Object | URL)[];}
80150
80198
  *
80151
80199
  * @param values The values to update the clone with.
80152
80200
  * @param options The options to use for cloning.
80153
- * @returns The cloned instance.
80201
+ * @returns The cloned instance with its own property arrays. Nested objects
80202
+ * and URLs are shared with this instance.
80154
80203
  */
80155
80204
  override clone(
80156
80205
  values:
@@ -80722,7 +80771,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80722
80771
  *
80723
80772
  * @param values The values to update the clone with.
80724
80773
  * @param options The options to use for cloning.
80725
- * @returns The cloned instance.
80774
+ * @returns The cloned instance with its own property arrays. Nested objects
80775
+ * and URLs are shared with this instance.
80726
80776
  */
80727
80777
  clone(
80728
80778
  values:
@@ -80752,7 +80802,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80752
80802
  options
80753
80803
  );
80754
80804
  copyPortableProvenance(this, clone);
80755
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
80805
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
80756
80806
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
80757
80807
  if (values.proxyUrl instanceof URL) {
80758
80808
  // @ts-ignore: type is checked above.
@@ -80765,7 +80815,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80765
80815
  );
80766
80816
  }
80767
80817
  }
80768
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
80818
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
80769
80819
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
80770
80820
  if (values.oauthAuthorizationEndpoint instanceof URL) {
80771
80821
  // @ts-ignore: type is checked above.
@@ -80778,7 +80828,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80778
80828
  );
80779
80829
  }
80780
80830
  }
80781
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
80831
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
80782
80832
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
80783
80833
  if (values.oauthTokenEndpoint instanceof URL) {
80784
80834
  // @ts-ignore: type is checked above.
@@ -80791,7 +80841,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80791
80841
  );
80792
80842
  }
80793
80843
  }
80794
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
80844
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
80795
80845
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
80796
80846
  if (values.provideClientKey instanceof URL) {
80797
80847
  // @ts-ignore: type is checked above.
@@ -80804,7 +80854,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80804
80854
  );
80805
80855
  }
80806
80856
  }
80807
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
80857
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
80808
80858
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
80809
80859
  if (values.signClientKey instanceof URL) {
80810
80860
  // @ts-ignore: type is checked above.
@@ -80817,7 +80867,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80817
80867
  );
80818
80868
  }
80819
80869
  }
80820
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
80870
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
80821
80871
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
80822
80872
  if (values.sharedInbox instanceof URL) {
80823
80873
  // @ts-ignore: type is checked above.
@@ -80830,7 +80880,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
80830
80880
  );
80831
80881
  }
80832
80882
  }
80833
- clone.#_KukVKGqFRETxAxXA15YCYAA7XAT_uploadMedia = this.#_KukVKGqFRETxAxXA15YCYAA7XAT_uploadMedia;
80883
+ clone.#_KukVKGqFRETxAxXA15YCYAA7XAT_uploadMedia = this.#_KukVKGqFRETxAxXA15YCYAA7XAT_uploadMedia.slice();
80834
80884
  if (\\"uploadMedia\\" in values && values.uploadMedia != null) {
80835
80885
  if (values.uploadMedia instanceof URL) {
80836
80886
  // @ts-ignore: type is checked above.
@@ -81929,7 +81979,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
81929
81979
  *
81930
81980
  * @param values The values to update the clone with.
81931
81981
  * @param options The options to use for cloning.
81932
- * @returns The cloned instance.
81982
+ * @returns The cloned instance with its own property arrays. Nested objects
81983
+ * and URLs are shared with this instance.
81933
81984
  */
81934
81985
  override clone(
81935
81986
  values:
@@ -82358,7 +82409,8 @@ instruments?: (Object | URL)[];}
82358
82409
  *
82359
82410
  * @param values The values to update the clone with.
82360
82411
  * @param options The options to use for cloning.
82361
- * @returns The cloned instance.
82412
+ * @returns The cloned instance with its own property arrays. Nested objects
82413
+ * and URLs are shared with this instance.
82362
82414
  */
82363
82415
  override clone(
82364
82416
  values:
@@ -82775,7 +82827,8 @@ instruments?: (Object | URL)[];}
82775
82827
  *
82776
82828
  * @param values The values to update the clone with.
82777
82829
  * @param options The options to use for cloning.
82778
- * @returns The cloned instance.
82830
+ * @returns The cloned instance with its own property arrays. Nested objects
82831
+ * and URLs are shared with this instance.
82779
82832
  */
82780
82833
  override clone(
82781
82834
  values:
@@ -83254,7 +83307,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83254
83307
  if (Array.isArray(values.preferredUsernames) &&
83255
83308
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
83256
83309
  // @ts-ignore: type is checked above.
83257
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
83310
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
83258
83311
 
83259
83312
  } else {
83260
83313
  throw new TypeError(
@@ -83290,7 +83343,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83290
83343
  if (Array.isArray(values.publicKeys) &&
83291
83344
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
83292
83345
  // @ts-ignore: type is checked above.
83293
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
83346
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
83294
83347
 
83295
83348
  for (let i = 0; i < values.publicKeys.length; i++) {
83296
83349
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -83330,7 +83383,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83330
83383
  if (Array.isArray(values.assertionMethods) &&
83331
83384
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
83332
83385
  // @ts-ignore: type is checked above.
83333
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
83386
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
83334
83387
 
83335
83388
  for (let i = 0; i < values.assertionMethods.length; i++) {
83336
83389
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -83370,7 +83423,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83370
83423
  if (Array.isArray(values.gateways) &&
83371
83424
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
83372
83425
  // @ts-ignore: type is checked above.
83373
- this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
83426
+ this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
83374
83427
 
83375
83428
  } else {
83376
83429
  throw new TypeError(
@@ -83502,7 +83555,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83502
83555
  if (Array.isArray(values.streams) &&
83503
83556
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
83504
83557
  // @ts-ignore: type is checked above.
83505
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
83558
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
83506
83559
 
83507
83560
  for (let i = 0; i < values.streams.length; i++) {
83508
83561
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -83620,7 +83673,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83620
83673
  if (Array.isArray(values.aliases) &&
83621
83674
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
83622
83675
  // @ts-ignore: type is checked above.
83623
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
83676
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
83624
83677
 
83625
83678
  for (let i = 0; i < values.aliases.length; i++) {
83626
83679
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -83660,7 +83713,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83660
83713
  if (Array.isArray(values.services) &&
83661
83714
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
83662
83715
  // @ts-ignore: type is checked above.
83663
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
83716
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
83664
83717
 
83665
83718
  for (let i = 0; i < values.services.length; i++) {
83666
83719
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -83712,7 +83765,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83712
83765
  *
83713
83766
  * @param values The values to update the clone with.
83714
83767
  * @param options The options to use for cloning.
83715
- * @returns The cloned instance.
83768
+ * @returns The cloned instance with its own property arrays. Nested objects
83769
+ * and URLs are shared with this instance.
83716
83770
  */
83717
83771
  override clone(
83718
83772
  values:
@@ -83757,7 +83811,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83757
83811
  // @ts-ignore: \$warning is not recognized as a property, but it is.
83758
83812
  options = { ...options, \$warning: this._warning };
83759
83813
  }
83760
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
83814
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
83761
83815
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
83762
83816
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
83763
83817
  // @ts-ignore: type is checked above.
@@ -83784,7 +83838,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83784
83838
  if (Array.isArray(values.preferredUsernames) &&
83785
83839
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
83786
83840
  // @ts-ignore: type is checked above.
83787
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
83841
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
83788
83842
 
83789
83843
  } else {
83790
83844
  throw new TypeError(
@@ -83793,7 +83847,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83793
83847
  );
83794
83848
  }
83795
83849
  }
83796
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
83850
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
83797
83851
  if (\\"publicKey\\" in values && values.publicKey != null) {
83798
83852
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
83799
83853
  // @ts-ignore: type is checked above.
@@ -83820,7 +83874,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83820
83874
  if (Array.isArray(values.publicKeys) &&
83821
83875
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
83822
83876
  // @ts-ignore: type is checked above.
83823
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
83877
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
83824
83878
 
83825
83879
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
83826
83880
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -83834,7 +83888,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83834
83888
  );
83835
83889
  }
83836
83890
  }
83837
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
83891
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
83838
83892
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
83839
83893
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
83840
83894
  // @ts-ignore: type is checked above.
@@ -83861,7 +83915,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83861
83915
  if (Array.isArray(values.assertionMethods) &&
83862
83916
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
83863
83917
  // @ts-ignore: type is checked above.
83864
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
83918
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
83865
83919
 
83866
83920
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
83867
83921
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -83875,7 +83929,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83875
83929
  );
83876
83930
  }
83877
83931
  }
83878
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3;
83932
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3.slice();
83879
83933
  if (\\"gateway\\" in values && values.gateway != null) {
83880
83934
  if (values.gateway instanceof URL && isGatewayUrl(values.gateway)) {
83881
83935
  // @ts-ignore: type is checked above.
@@ -83902,7 +83956,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83902
83956
  if (Array.isArray(values.gateways) &&
83903
83957
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
83904
83958
  // @ts-ignore: type is checked above.
83905
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
83959
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
83906
83960
 
83907
83961
  } else {
83908
83962
  throw new TypeError(
@@ -83911,7 +83965,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83911
83965
  );
83912
83966
  }
83913
83967
  }
83914
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
83968
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
83915
83969
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
83916
83970
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
83917
83971
  // @ts-ignore: type is checked above.
@@ -83924,7 +83978,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83924
83978
  );
83925
83979
  }
83926
83980
  }
83927
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
83981
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
83928
83982
  if (\\"inbox\\" in values && values.inbox != null) {
83929
83983
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
83930
83984
  // @ts-ignore: type is checked above.
@@ -83937,7 +83991,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83937
83991
  );
83938
83992
  }
83939
83993
  }
83940
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
83994
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
83941
83995
  if (\\"outbox\\" in values && values.outbox != null) {
83942
83996
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
83943
83997
  // @ts-ignore: type is checked above.
@@ -83950,7 +84004,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83950
84004
  );
83951
84005
  }
83952
84006
  }
83953
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
84007
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
83954
84008
  if (\\"following\\" in values && values.following != null) {
83955
84009
  if (values.following instanceof Collection || values.following instanceof URL) {
83956
84010
  // @ts-ignore: type is checked above.
@@ -83963,7 +84017,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83963
84017
  );
83964
84018
  }
83965
84019
  }
83966
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
84020
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
83967
84021
  if (\\"followers\\" in values && values.followers != null) {
83968
84022
  if (values.followers instanceof Collection || values.followers instanceof URL) {
83969
84023
  // @ts-ignore: type is checked above.
@@ -83976,7 +84030,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83976
84030
  );
83977
84031
  }
83978
84032
  }
83979
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
84033
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
83980
84034
  if (\\"liked\\" in values && values.liked != null) {
83981
84035
  if (values.liked instanceof Collection || values.liked instanceof URL) {
83982
84036
  // @ts-ignore: type is checked above.
@@ -83989,7 +84043,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83989
84043
  );
83990
84044
  }
83991
84045
  }
83992
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
84046
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
83993
84047
  if (\\"featured\\" in values && values.featured != null) {
83994
84048
  if (values.featured instanceof Collection || values.featured instanceof URL) {
83995
84049
  // @ts-ignore: type is checked above.
@@ -84002,7 +84056,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84002
84056
  );
84003
84057
  }
84004
84058
  }
84005
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
84059
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
84006
84060
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
84007
84061
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
84008
84062
  // @ts-ignore: type is checked above.
@@ -84015,7 +84069,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84015
84069
  );
84016
84070
  }
84017
84071
  }
84018
- clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections;clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
84072
+ clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections.slice();clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
84019
84073
  if (\\"featuredCollections\\" in values && values.featuredCollections != null) {
84020
84074
  if (values.featuredCollections instanceof Collection || values.featuredCollections instanceof URL) {
84021
84075
  // @ts-ignore: type is checked above.
@@ -84028,13 +84082,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84028
84082
  );
84029
84083
  }
84030
84084
  }
84031
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
84085
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
84032
84086
  if (\\"streams\\" in values && values.streams != null) {
84033
84087
 
84034
84088
  if (Array.isArray(values.streams) &&
84035
84089
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
84036
84090
  // @ts-ignore: type is checked above.
84037
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
84091
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
84038
84092
 
84039
84093
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
84040
84094
  for (let i = 0; i < values.streams.length; i++) {
@@ -84048,7 +84102,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84048
84102
  );
84049
84103
  }
84050
84104
  }
84051
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
84105
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
84052
84106
  if (\\"endpoints\\" in values && values.endpoints != null) {
84053
84107
  if (values.endpoints instanceof Endpoints) {
84054
84108
  // @ts-ignore: type is checked above.
@@ -84061,7 +84115,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84061
84115
  );
84062
84116
  }
84063
84117
  }
84064
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
84118
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
84065
84119
  if (\\"discoverable\\" in values && values.discoverable != null) {
84066
84120
  if (typeof values.discoverable === \\"boolean\\") {
84067
84121
  // @ts-ignore: type is checked above.
@@ -84074,7 +84128,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84074
84128
  );
84075
84129
  }
84076
84130
  }
84077
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
84131
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
84078
84132
  if (\\"suspended\\" in values && values.suspended != null) {
84079
84133
  if (typeof values.suspended === \\"boolean\\") {
84080
84134
  // @ts-ignore: type is checked above.
@@ -84087,7 +84141,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84087
84141
  );
84088
84142
  }
84089
84143
  }
84090
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
84144
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
84091
84145
  if (\\"memorial\\" in values && values.memorial != null) {
84092
84146
  if (typeof values.memorial === \\"boolean\\") {
84093
84147
  // @ts-ignore: type is checked above.
@@ -84100,7 +84154,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84100
84154
  );
84101
84155
  }
84102
84156
  }
84103
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
84157
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
84104
84158
  if (\\"indexable\\" in values && values.indexable != null) {
84105
84159
  if (typeof values.indexable === \\"boolean\\") {
84106
84160
  // @ts-ignore: type is checked above.
@@ -84113,7 +84167,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84113
84167
  );
84114
84168
  }
84115
84169
  }
84116
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
84170
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
84117
84171
  if (\\"successor\\" in values && values.successor != null) {
84118
84172
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
84119
84173
  // @ts-ignore: type is checked above.
@@ -84126,7 +84180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84126
84180
  );
84127
84181
  }
84128
84182
  }
84129
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
84183
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
84130
84184
  if (\\"alias\\" in values && values.alias != null) {
84131
84185
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
84132
84186
  // @ts-ignore: type is checked above.
@@ -84153,7 +84207,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84153
84207
  if (Array.isArray(values.aliases) &&
84154
84208
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
84155
84209
  // @ts-ignore: type is checked above.
84156
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
84210
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
84157
84211
 
84158
84212
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
84159
84213
  for (let i = 0; i < values.aliases.length; i++) {
@@ -84167,7 +84221,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84167
84221
  );
84168
84222
  }
84169
84223
  }
84170
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
84224
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
84171
84225
  if (\\"service\\" in values && values.service != null) {
84172
84226
  if (values.service instanceof DidService || values.service instanceof URL) {
84173
84227
  // @ts-ignore: type is checked above.
@@ -84194,7 +84248,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84194
84248
  if (Array.isArray(values.services) &&
84195
84249
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
84196
84250
  // @ts-ignore: type is checked above.
84197
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
84251
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
84198
84252
 
84199
84253
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
84200
84254
  for (let i = 0; i < values.services.length; i++) {
@@ -84208,7 +84262,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84208
84262
  );
84209
84263
  }
84210
84264
  }
84211
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
84265
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
84212
84266
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
84213
84267
  if (typeof values.followedMessage === \\"string\\") {
84214
84268
  // @ts-ignore: type is checked above.
@@ -84221,7 +84275,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
84221
84275
  );
84222
84276
  }
84223
84277
  }
84224
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
84278
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
84225
84279
  if (\\"cat\\" in values && values.cat != null) {
84226
84280
  if (typeof values.cat === \\"boolean\\") {
84227
84281
  // @ts-ignore: type is checked above.
@@ -94026,7 +94080,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94026
94080
  if (Array.isArray(values.rels) &&
94027
94081
  values.rels.every(v => typeof v === \\"string\\")) {
94028
94082
  // @ts-ignore: type is checked above.
94029
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
94083
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
94030
94084
 
94031
94085
  } else {
94032
94086
  throw new TypeError(
@@ -94088,7 +94142,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94088
94142
  if (Array.isArray(values.names) &&
94089
94143
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
94090
94144
  // @ts-ignore: type is checked above.
94091
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
94145
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
94092
94146
 
94093
94147
  } else {
94094
94148
  throw new TypeError(
@@ -94142,7 +94196,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94142
94196
  if (Array.isArray(values.previews) &&
94143
94197
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
94144
94198
  // @ts-ignore: type is checked above.
94145
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
94199
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
94146
94200
 
94147
94201
  for (let i = 0; i < values.previews.length; i++) {
94148
94202
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -94168,7 +94222,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94168
94222
  *
94169
94223
  * @param values The values to update the clone with.
94170
94224
  * @param options The options to use for cloning.
94171
- * @returns The cloned instance.
94225
+ * @returns The cloned instance with its own property arrays. Nested objects
94226
+ * and URLs are shared with this instance.
94172
94227
  */
94173
94228
  clone(
94174
94229
  values:
@@ -94200,7 +94255,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94200
94255
  options
94201
94256
  );
94202
94257
  copyPortableProvenance(this, clone);
94203
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
94258
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
94204
94259
  if (\\"href\\" in values && values.href != null) {
94205
94260
  if (values.href instanceof URL) {
94206
94261
  // @ts-ignore: type is checked above.
@@ -94213,7 +94268,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94213
94268
  );
94214
94269
  }
94215
94270
  }
94216
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
94271
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
94217
94272
  if (\\"rel\\" in values && values.rel != null) {
94218
94273
  if (typeof values.rel === \\"string\\") {
94219
94274
  // @ts-ignore: type is checked above.
@@ -94240,7 +94295,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94240
94295
  if (Array.isArray(values.rels) &&
94241
94296
  values.rels.every(v => typeof v === \\"string\\")) {
94242
94297
  // @ts-ignore: type is checked above.
94243
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
94298
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
94244
94299
 
94245
94300
  } else {
94246
94301
  throw new TypeError(
@@ -94249,7 +94304,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94249
94304
  );
94250
94305
  }
94251
94306
  }
94252
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
94307
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
94253
94308
  if (\\"mediaType\\" in values && values.mediaType != null) {
94254
94309
  if (typeof values.mediaType === \\"string\\") {
94255
94310
  // @ts-ignore: type is checked above.
@@ -94262,7 +94317,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94262
94317
  );
94263
94318
  }
94264
94319
  }
94265
- clone.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase = this.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase;
94320
+ clone.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase = this.#_2ydcBe182LRq82jFGE6Rxw6VfvEM_digestMultibase.slice();
94266
94321
  if (\\"digestMultibase\\" in values && values.digestMultibase != null) {
94267
94322
  if (typeof values.digestMultibase === \\"string\\") {
94268
94323
  // @ts-ignore: type is checked above.
@@ -94275,7 +94330,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94275
94330
  );
94276
94331
  }
94277
94332
  }
94278
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
94333
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
94279
94334
  if (\\"name\\" in values && values.name != null) {
94280
94335
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
94281
94336
  // @ts-ignore: type is checked above.
@@ -94302,7 +94357,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94302
94357
  if (Array.isArray(values.names) &&
94303
94358
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
94304
94359
  // @ts-ignore: type is checked above.
94305
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
94360
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
94306
94361
 
94307
94362
  } else {
94308
94363
  throw new TypeError(
@@ -94311,7 +94366,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94311
94366
  );
94312
94367
  }
94313
94368
  }
94314
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
94369
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
94315
94370
  if (\\"language\\" in values && values.language != null) {
94316
94371
  if (values.language instanceof Intl.Locale) {
94317
94372
  // @ts-ignore: type is checked above.
@@ -94324,7 +94379,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94324
94379
  );
94325
94380
  }
94326
94381
  }
94327
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
94382
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
94328
94383
  if (\\"height\\" in values && values.height != null) {
94329
94384
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
94330
94385
  // @ts-ignore: type is checked above.
@@ -94337,7 +94392,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94337
94392
  );
94338
94393
  }
94339
94394
  }
94340
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
94395
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
94341
94396
  if (\\"width\\" in values && values.width != null) {
94342
94397
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
94343
94398
  // @ts-ignore: type is checked above.
@@ -94350,13 +94405,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
94350
94405
  );
94351
94406
  }
94352
94407
  }
94353
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
94408
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
94354
94409
  if (\\"previews\\" in values && values.previews != null) {
94355
94410
 
94356
94411
  if (Array.isArray(values.previews) &&
94357
94412
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
94358
94413
  // @ts-ignore: type is checked above.
94359
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
94414
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
94360
94415
 
94361
94416
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
94362
94417
  for (let i = 0; i < values.previews.length; i++) {
@@ -95705,7 +95760,7 @@ get names(): ((string | LanguageString))[] {
95705
95760
  if (v == null) continue;
95706
95761
 
95707
95762
  const decoded =
95708
- new Intl.Locale(v[\\"@value\\"])
95763
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
95709
95764
  ;
95710
95765
 
95711
95766
  if (typeof decoded === \\"undefined\\") {
@@ -96141,7 +96196,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
96141
96196
  *
96142
96197
  * @param values The values to update the clone with.
96143
96198
  * @param options The options to use for cloning.
96144
- * @returns The cloned instance.
96199
+ * @returns The cloned instance with its own property arrays. Nested objects
96200
+ * and URLs are shared with this instance.
96145
96201
  */
96146
96202
  override clone(
96147
96203
  values:
@@ -96536,7 +96592,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
96536
96592
  *
96537
96593
  * @param values The values to update the clone with.
96538
96594
  * @param options The options to use for cloning.
96539
- * @returns The cloned instance.
96595
+ * @returns The cloned instance with its own property arrays. Nested objects
96596
+ * and URLs are shared with this instance.
96540
96597
  */
96541
96598
  override clone(
96542
96599
  values:
@@ -96965,7 +97022,8 @@ instruments?: (Object | URL)[];}
96965
97022
  *
96966
97023
  * @param values The values to update the clone with.
96967
97024
  * @param options The options to use for cloning.
96968
- * @returns The cloned instance.
97025
+ * @returns The cloned instance with its own property arrays. Nested objects
97026
+ * and URLs are shared with this instance.
96969
97027
  */
96970
97028
  override clone(
96971
97029
  values:
@@ -97384,7 +97442,8 @@ instruments?: (Object | URL)[];}
97384
97442
  *
97385
97443
  * @param values The values to update the clone with.
97386
97444
  * @param options The options to use for cloning.
97387
- * @returns The cloned instance.
97445
+ * @returns The cloned instance with its own property arrays. Nested objects
97446
+ * and URLs are shared with this instance.
97388
97447
  */
97389
97448
  override clone(
97390
97449
  values:
@@ -97799,7 +97858,8 @@ instruments?: (Object | URL)[];}
97799
97858
  *
97800
97859
  * @param values The values to update the clone with.
97801
97860
  * @param options The options to use for cloning.
97802
- * @returns The cloned instance.
97861
+ * @returns The cloned instance with its own property arrays. Nested objects
97862
+ * and URLs are shared with this instance.
97803
97863
  */
97804
97864
  override clone(
97805
97865
  values:
@@ -98214,7 +98274,8 @@ instruments?: (Object | URL)[];}
98214
98274
  *
98215
98275
  * @param values The values to update the clone with.
98216
98276
  * @param options The options to use for cloning.
98217
- * @returns The cloned instance.
98277
+ * @returns The cloned instance with its own property arrays. Nested objects
98278
+ * and URLs are shared with this instance.
98218
98279
  */
98219
98280
  override clone(
98220
98281
  values:
@@ -98629,7 +98690,8 @@ instruments?: (Object | URL)[];}
98629
98690
  *
98630
98691
  * @param values The values to update the clone with.
98631
98692
  * @param options The options to use for cloning.
98632
- * @returns The cloned instance.
98693
+ * @returns The cloned instance with its own property arrays. Nested objects
98694
+ * and URLs are shared with this instance.
98633
98695
  */
98634
98696
  override clone(
98635
98697
  values:
@@ -99042,7 +99104,8 @@ instruments?: (Object | URL)[];}
99042
99104
  *
99043
99105
  * @param values The values to update the clone with.
99044
99106
  * @param options The options to use for cloning.
99045
- * @returns The cloned instance.
99107
+ * @returns The cloned instance with its own property arrays. Nested objects
99108
+ * and URLs are shared with this instance.
99046
99109
  */
99047
99110
  override clone(
99048
99111
  values:
@@ -99435,7 +99498,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
99435
99498
  *
99436
99499
  * @param values The values to update the clone with.
99437
99500
  * @param options The options to use for cloning.
99438
- * @returns The cloned instance.
99501
+ * @returns The cloned instance with its own property arrays. Nested objects
99502
+ * and URLs are shared with this instance.
99439
99503
  */
99440
99504
  override clone(
99441
99505
  values:
@@ -99839,7 +99903,8 @@ instruments?: (Object | URL)[];}
99839
99903
  *
99840
99904
  * @param values The values to update the clone with.
99841
99905
  * @param options The options to use for cloning.
99842
- * @returns The cloned instance.
99906
+ * @returns The cloned instance with its own property arrays. Nested objects
99907
+ * and URLs are shared with this instance.
99843
99908
  */
99844
99909
  override clone(
99845
99910
  values:
@@ -100294,7 +100359,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
100294
100359
  *
100295
100360
  * @param values The values to update the clone with.
100296
100361
  * @param options The options to use for cloning.
100297
- * @returns The cloned instance.
100362
+ * @returns The cloned instance with its own property arrays. Nested objects
100363
+ * and URLs are shared with this instance.
100298
100364
  */
100299
100365
  override clone(
100300
100366
  values:
@@ -100333,7 +100399,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
100333
100399
  // @ts-ignore: \$warning is not recognized as a property, but it is.
100334
100400
  options = { ...options, \$warning: this._warning };
100335
100401
  }
100336
- const clone = super.clone(values, options) as unknown as Note;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
100402
+ const clone = super.clone(values, options) as unknown as Note;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
100337
100403
  if (\\"quote\\" in values && values.quote != null) {
100338
100404
  if (values.quote instanceof Object || values.quote instanceof URL) {
100339
100405
  // @ts-ignore: type is checked above.
@@ -100346,7 +100412,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
100346
100412
  );
100347
100413
  }
100348
100414
  }
100349
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
100415
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
100350
100416
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
100351
100417
  if (values.quoteUrl instanceof URL) {
100352
100418
  // @ts-ignore: type is checked above.
@@ -100359,7 +100425,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
100359
100425
  );
100360
100426
  }
100361
100427
  }
100362
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
100428
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
100363
100429
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
100364
100430
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
100365
100431
  // @ts-ignore: type is checked above.
@@ -101926,7 +101992,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
101926
101992
  if (Array.isArray(values.items) &&
101927
101993
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
101928
101994
  // @ts-ignore: type is checked above.
101929
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
101995
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
101930
101996
 
101931
101997
  for (let i = 0; i < values.items.length; i++) {
101932
101998
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -101965,7 +102031,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
101965
102031
  *
101966
102032
  * @param values The values to update the clone with.
101967
102033
  * @param options The options to use for cloning.
101968
- * @returns The cloned instance.
102034
+ * @returns The cloned instance with its own property arrays. Nested objects
102035
+ * and URLs are shared with this instance.
101969
102036
  */
101970
102037
  override clone(
101971
102038
  values:
@@ -102004,13 +102071,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
102004
102071
  // @ts-ignore: \$warning is not recognized as a property, but it is.
102005
102072
  options = { ...options, \$warning: this._warning };
102006
102073
  }
102007
- const clone = super.clone(values, options) as unknown as OrderedCollectionPage;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
102074
+ const clone = super.clone(values, options) as unknown as OrderedCollectionPage;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
102008
102075
  if (\\"items\\" in values && values.items != null) {
102009
102076
 
102010
102077
  if (Array.isArray(values.items) &&
102011
102078
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
102012
102079
  // @ts-ignore: type is checked above.
102013
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
102080
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
102014
102081
 
102015
102082
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
102016
102083
  for (let i = 0; i < values.items.length; i++) {
@@ -102024,7 +102091,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
102024
102091
  );
102025
102092
  }
102026
102093
  }
102027
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
102094
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
102028
102095
  if (\\"startIndex\\" in values && values.startIndex != null) {
102029
102096
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
102030
102097
  // @ts-ignore: type is checked above.
@@ -103143,7 +103210,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103143
103210
  if (Array.isArray(values.preferredUsernames) &&
103144
103211
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
103145
103212
  // @ts-ignore: type is checked above.
103146
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
103213
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
103147
103214
 
103148
103215
  } else {
103149
103216
  throw new TypeError(
@@ -103179,7 +103246,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103179
103246
  if (Array.isArray(values.publicKeys) &&
103180
103247
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
103181
103248
  // @ts-ignore: type is checked above.
103182
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
103249
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
103183
103250
 
103184
103251
  for (let i = 0; i < values.publicKeys.length; i++) {
103185
103252
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -103219,7 +103286,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103219
103286
  if (Array.isArray(values.assertionMethods) &&
103220
103287
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
103221
103288
  // @ts-ignore: type is checked above.
103222
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
103289
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
103223
103290
 
103224
103291
  for (let i = 0; i < values.assertionMethods.length; i++) {
103225
103292
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -103259,7 +103326,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103259
103326
  if (Array.isArray(values.gateways) &&
103260
103327
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
103261
103328
  // @ts-ignore: type is checked above.
103262
- this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
103329
+ this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
103263
103330
 
103264
103331
  } else {
103265
103332
  throw new TypeError(
@@ -103391,7 +103458,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103391
103458
  if (Array.isArray(values.streams) &&
103392
103459
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
103393
103460
  // @ts-ignore: type is checked above.
103394
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
103461
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
103395
103462
 
103396
103463
  for (let i = 0; i < values.streams.length; i++) {
103397
103464
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -103509,7 +103576,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103509
103576
  if (Array.isArray(values.aliases) &&
103510
103577
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
103511
103578
  // @ts-ignore: type is checked above.
103512
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
103579
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
103513
103580
 
103514
103581
  for (let i = 0; i < values.aliases.length; i++) {
103515
103582
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -103549,7 +103616,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103549
103616
  if (Array.isArray(values.services) &&
103550
103617
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
103551
103618
  // @ts-ignore: type is checked above.
103552
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
103619
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
103553
103620
 
103554
103621
  for (let i = 0; i < values.services.length; i++) {
103555
103622
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -103601,7 +103668,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103601
103668
  *
103602
103669
  * @param values The values to update the clone with.
103603
103670
  * @param options The options to use for cloning.
103604
- * @returns The cloned instance.
103671
+ * @returns The cloned instance with its own property arrays. Nested objects
103672
+ * and URLs are shared with this instance.
103605
103673
  */
103606
103674
  override clone(
103607
103675
  values:
@@ -103646,7 +103714,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103646
103714
  // @ts-ignore: \$warning is not recognized as a property, but it is.
103647
103715
  options = { ...options, \$warning: this._warning };
103648
103716
  }
103649
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
103717
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
103650
103718
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
103651
103719
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
103652
103720
  // @ts-ignore: type is checked above.
@@ -103673,7 +103741,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103673
103741
  if (Array.isArray(values.preferredUsernames) &&
103674
103742
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
103675
103743
  // @ts-ignore: type is checked above.
103676
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
103744
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
103677
103745
 
103678
103746
  } else {
103679
103747
  throw new TypeError(
@@ -103682,7 +103750,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103682
103750
  );
103683
103751
  }
103684
103752
  }
103685
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
103753
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
103686
103754
  if (\\"publicKey\\" in values && values.publicKey != null) {
103687
103755
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
103688
103756
  // @ts-ignore: type is checked above.
@@ -103709,7 +103777,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103709
103777
  if (Array.isArray(values.publicKeys) &&
103710
103778
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
103711
103779
  // @ts-ignore: type is checked above.
103712
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
103780
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
103713
103781
 
103714
103782
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
103715
103783
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -103723,7 +103791,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103723
103791
  );
103724
103792
  }
103725
103793
  }
103726
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
103794
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
103727
103795
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
103728
103796
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
103729
103797
  // @ts-ignore: type is checked above.
@@ -103750,7 +103818,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103750
103818
  if (Array.isArray(values.assertionMethods) &&
103751
103819
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
103752
103820
  // @ts-ignore: type is checked above.
103753
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
103821
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
103754
103822
 
103755
103823
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
103756
103824
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -103764,7 +103832,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103764
103832
  );
103765
103833
  }
103766
103834
  }
103767
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3;
103835
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3.slice();
103768
103836
  if (\\"gateway\\" in values && values.gateway != null) {
103769
103837
  if (values.gateway instanceof URL && isGatewayUrl(values.gateway)) {
103770
103838
  // @ts-ignore: type is checked above.
@@ -103791,7 +103859,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103791
103859
  if (Array.isArray(values.gateways) &&
103792
103860
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
103793
103861
  // @ts-ignore: type is checked above.
103794
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
103862
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
103795
103863
 
103796
103864
  } else {
103797
103865
  throw new TypeError(
@@ -103800,7 +103868,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103800
103868
  );
103801
103869
  }
103802
103870
  }
103803
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
103871
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
103804
103872
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
103805
103873
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
103806
103874
  // @ts-ignore: type is checked above.
@@ -103813,7 +103881,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103813
103881
  );
103814
103882
  }
103815
103883
  }
103816
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
103884
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
103817
103885
  if (\\"inbox\\" in values && values.inbox != null) {
103818
103886
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
103819
103887
  // @ts-ignore: type is checked above.
@@ -103826,7 +103894,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103826
103894
  );
103827
103895
  }
103828
103896
  }
103829
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
103897
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
103830
103898
  if (\\"outbox\\" in values && values.outbox != null) {
103831
103899
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
103832
103900
  // @ts-ignore: type is checked above.
@@ -103839,7 +103907,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103839
103907
  );
103840
103908
  }
103841
103909
  }
103842
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
103910
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
103843
103911
  if (\\"following\\" in values && values.following != null) {
103844
103912
  if (values.following instanceof Collection || values.following instanceof URL) {
103845
103913
  // @ts-ignore: type is checked above.
@@ -103852,7 +103920,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103852
103920
  );
103853
103921
  }
103854
103922
  }
103855
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
103923
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
103856
103924
  if (\\"followers\\" in values && values.followers != null) {
103857
103925
  if (values.followers instanceof Collection || values.followers instanceof URL) {
103858
103926
  // @ts-ignore: type is checked above.
@@ -103865,7 +103933,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103865
103933
  );
103866
103934
  }
103867
103935
  }
103868
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
103936
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
103869
103937
  if (\\"liked\\" in values && values.liked != null) {
103870
103938
  if (values.liked instanceof Collection || values.liked instanceof URL) {
103871
103939
  // @ts-ignore: type is checked above.
@@ -103878,7 +103946,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103878
103946
  );
103879
103947
  }
103880
103948
  }
103881
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
103949
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
103882
103950
  if (\\"featured\\" in values && values.featured != null) {
103883
103951
  if (values.featured instanceof Collection || values.featured instanceof URL) {
103884
103952
  // @ts-ignore: type is checked above.
@@ -103891,7 +103959,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103891
103959
  );
103892
103960
  }
103893
103961
  }
103894
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
103962
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
103895
103963
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
103896
103964
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
103897
103965
  // @ts-ignore: type is checked above.
@@ -103904,7 +103972,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103904
103972
  );
103905
103973
  }
103906
103974
  }
103907
- clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections;clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
103975
+ clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections.slice();clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
103908
103976
  if (\\"featuredCollections\\" in values && values.featuredCollections != null) {
103909
103977
  if (values.featuredCollections instanceof Collection || values.featuredCollections instanceof URL) {
103910
103978
  // @ts-ignore: type is checked above.
@@ -103917,13 +103985,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103917
103985
  );
103918
103986
  }
103919
103987
  }
103920
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
103988
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
103921
103989
  if (\\"streams\\" in values && values.streams != null) {
103922
103990
 
103923
103991
  if (Array.isArray(values.streams) &&
103924
103992
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
103925
103993
  // @ts-ignore: type is checked above.
103926
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
103994
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
103927
103995
 
103928
103996
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
103929
103997
  for (let i = 0; i < values.streams.length; i++) {
@@ -103937,7 +104005,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103937
104005
  );
103938
104006
  }
103939
104007
  }
103940
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
104008
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
103941
104009
  if (\\"endpoints\\" in values && values.endpoints != null) {
103942
104010
  if (values.endpoints instanceof Endpoints) {
103943
104011
  // @ts-ignore: type is checked above.
@@ -103950,7 +104018,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103950
104018
  );
103951
104019
  }
103952
104020
  }
103953
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
104021
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
103954
104022
  if (\\"discoverable\\" in values && values.discoverable != null) {
103955
104023
  if (typeof values.discoverable === \\"boolean\\") {
103956
104024
  // @ts-ignore: type is checked above.
@@ -103963,7 +104031,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103963
104031
  );
103964
104032
  }
103965
104033
  }
103966
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
104034
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
103967
104035
  if (\\"suspended\\" in values && values.suspended != null) {
103968
104036
  if (typeof values.suspended === \\"boolean\\") {
103969
104037
  // @ts-ignore: type is checked above.
@@ -103976,7 +104044,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103976
104044
  );
103977
104045
  }
103978
104046
  }
103979
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
104047
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
103980
104048
  if (\\"memorial\\" in values && values.memorial != null) {
103981
104049
  if (typeof values.memorial === \\"boolean\\") {
103982
104050
  // @ts-ignore: type is checked above.
@@ -103989,7 +104057,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
103989
104057
  );
103990
104058
  }
103991
104059
  }
103992
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
104060
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
103993
104061
  if (\\"indexable\\" in values && values.indexable != null) {
103994
104062
  if (typeof values.indexable === \\"boolean\\") {
103995
104063
  // @ts-ignore: type is checked above.
@@ -104002,7 +104070,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104002
104070
  );
104003
104071
  }
104004
104072
  }
104005
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
104073
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
104006
104074
  if (\\"successor\\" in values && values.successor != null) {
104007
104075
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
104008
104076
  // @ts-ignore: type is checked above.
@@ -104015,7 +104083,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104015
104083
  );
104016
104084
  }
104017
104085
  }
104018
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
104086
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
104019
104087
  if (\\"alias\\" in values && values.alias != null) {
104020
104088
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
104021
104089
  // @ts-ignore: type is checked above.
@@ -104042,7 +104110,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104042
104110
  if (Array.isArray(values.aliases) &&
104043
104111
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
104044
104112
  // @ts-ignore: type is checked above.
104045
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
104113
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
104046
104114
 
104047
104115
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
104048
104116
  for (let i = 0; i < values.aliases.length; i++) {
@@ -104056,7 +104124,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104056
104124
  );
104057
104125
  }
104058
104126
  }
104059
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
104127
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
104060
104128
  if (\\"service\\" in values && values.service != null) {
104061
104129
  if (values.service instanceof DidService || values.service instanceof URL) {
104062
104130
  // @ts-ignore: type is checked above.
@@ -104083,7 +104151,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104083
104151
  if (Array.isArray(values.services) &&
104084
104152
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
104085
104153
  // @ts-ignore: type is checked above.
104086
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
104154
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
104087
104155
 
104088
104156
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
104089
104157
  for (let i = 0; i < values.services.length; i++) {
@@ -104097,7 +104165,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104097
104165
  );
104098
104166
  }
104099
104167
  }
104100
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
104168
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
104101
104169
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
104102
104170
  if (typeof values.followedMessage === \\"string\\") {
104103
104171
  // @ts-ignore: type is checked above.
@@ -104110,7 +104178,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
104110
104178
  );
104111
104179
  }
104112
104180
  }
104113
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
104181
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
104114
104182
  if (\\"cat\\" in values && values.cat != null) {
104115
104183
  if (typeof values.cat === \\"boolean\\") {
104116
104184
  // @ts-ignore: type is checked above.
@@ -113800,7 +113868,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
113800
113868
  *
113801
113869
  * @param values The values to update the clone with.
113802
113870
  * @param options The options to use for cloning.
113803
- * @returns The cloned instance.
113871
+ * @returns The cloned instance with its own property arrays. Nested objects
113872
+ * and URLs are shared with this instance.
113804
113873
  */
113805
113874
  override clone(
113806
113875
  values:
@@ -114292,7 +114361,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114292
114361
  if (Array.isArray(values.preferredUsernames) &&
114293
114362
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
114294
114363
  // @ts-ignore: type is checked above.
114295
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
114364
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
114296
114365
 
114297
114366
  } else {
114298
114367
  throw new TypeError(
@@ -114328,7 +114397,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114328
114397
  if (Array.isArray(values.publicKeys) &&
114329
114398
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
114330
114399
  // @ts-ignore: type is checked above.
114331
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
114400
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
114332
114401
 
114333
114402
  for (let i = 0; i < values.publicKeys.length; i++) {
114334
114403
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -114368,7 +114437,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114368
114437
  if (Array.isArray(values.assertionMethods) &&
114369
114438
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
114370
114439
  // @ts-ignore: type is checked above.
114371
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
114440
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
114372
114441
 
114373
114442
  for (let i = 0; i < values.assertionMethods.length; i++) {
114374
114443
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -114408,7 +114477,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114408
114477
  if (Array.isArray(values.gateways) &&
114409
114478
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
114410
114479
  // @ts-ignore: type is checked above.
114411
- this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
114480
+ this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
114412
114481
 
114413
114482
  } else {
114414
114483
  throw new TypeError(
@@ -114540,7 +114609,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114540
114609
  if (Array.isArray(values.streams) &&
114541
114610
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
114542
114611
  // @ts-ignore: type is checked above.
114543
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
114612
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
114544
114613
 
114545
114614
  for (let i = 0; i < values.streams.length; i++) {
114546
114615
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -114658,7 +114727,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114658
114727
  if (Array.isArray(values.aliases) &&
114659
114728
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
114660
114729
  // @ts-ignore: type is checked above.
114661
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
114730
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
114662
114731
 
114663
114732
  for (let i = 0; i < values.aliases.length; i++) {
114664
114733
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -114698,7 +114767,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114698
114767
  if (Array.isArray(values.services) &&
114699
114768
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
114700
114769
  // @ts-ignore: type is checked above.
114701
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
114770
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
114702
114771
 
114703
114772
  for (let i = 0; i < values.services.length; i++) {
114704
114773
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -114750,7 +114819,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114750
114819
  *
114751
114820
  * @param values The values to update the clone with.
114752
114821
  * @param options The options to use for cloning.
114753
- * @returns The cloned instance.
114822
+ * @returns The cloned instance with its own property arrays. Nested objects
114823
+ * and URLs are shared with this instance.
114754
114824
  */
114755
114825
  override clone(
114756
114826
  values:
@@ -114795,7 +114865,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114795
114865
  // @ts-ignore: \$warning is not recognized as a property, but it is.
114796
114866
  options = { ...options, \$warning: this._warning };
114797
114867
  }
114798
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
114868
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
114799
114869
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
114800
114870
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
114801
114871
  // @ts-ignore: type is checked above.
@@ -114822,7 +114892,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114822
114892
  if (Array.isArray(values.preferredUsernames) &&
114823
114893
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
114824
114894
  // @ts-ignore: type is checked above.
114825
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
114895
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
114826
114896
 
114827
114897
  } else {
114828
114898
  throw new TypeError(
@@ -114831,7 +114901,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114831
114901
  );
114832
114902
  }
114833
114903
  }
114834
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
114904
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
114835
114905
  if (\\"publicKey\\" in values && values.publicKey != null) {
114836
114906
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
114837
114907
  // @ts-ignore: type is checked above.
@@ -114858,7 +114928,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114858
114928
  if (Array.isArray(values.publicKeys) &&
114859
114929
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
114860
114930
  // @ts-ignore: type is checked above.
114861
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
114931
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
114862
114932
 
114863
114933
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
114864
114934
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -114872,7 +114942,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114872
114942
  );
114873
114943
  }
114874
114944
  }
114875
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
114945
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
114876
114946
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
114877
114947
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
114878
114948
  // @ts-ignore: type is checked above.
@@ -114899,7 +114969,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114899
114969
  if (Array.isArray(values.assertionMethods) &&
114900
114970
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
114901
114971
  // @ts-ignore: type is checked above.
114902
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
114972
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
114903
114973
 
114904
114974
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
114905
114975
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -114913,7 +114983,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114913
114983
  );
114914
114984
  }
114915
114985
  }
114916
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3;
114986
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3.slice();
114917
114987
  if (\\"gateway\\" in values && values.gateway != null) {
114918
114988
  if (values.gateway instanceof URL && isGatewayUrl(values.gateway)) {
114919
114989
  // @ts-ignore: type is checked above.
@@ -114940,7 +115010,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114940
115010
  if (Array.isArray(values.gateways) &&
114941
115011
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
114942
115012
  // @ts-ignore: type is checked above.
114943
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
115013
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
114944
115014
 
114945
115015
  } else {
114946
115016
  throw new TypeError(
@@ -114949,7 +115019,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114949
115019
  );
114950
115020
  }
114951
115021
  }
114952
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
115022
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
114953
115023
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
114954
115024
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
114955
115025
  // @ts-ignore: type is checked above.
@@ -114962,7 +115032,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114962
115032
  );
114963
115033
  }
114964
115034
  }
114965
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
115035
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
114966
115036
  if (\\"inbox\\" in values && values.inbox != null) {
114967
115037
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
114968
115038
  // @ts-ignore: type is checked above.
@@ -114975,7 +115045,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114975
115045
  );
114976
115046
  }
114977
115047
  }
114978
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
115048
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
114979
115049
  if (\\"outbox\\" in values && values.outbox != null) {
114980
115050
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
114981
115051
  // @ts-ignore: type is checked above.
@@ -114988,7 +115058,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
114988
115058
  );
114989
115059
  }
114990
115060
  }
114991
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
115061
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
114992
115062
  if (\\"following\\" in values && values.following != null) {
114993
115063
  if (values.following instanceof Collection || values.following instanceof URL) {
114994
115064
  // @ts-ignore: type is checked above.
@@ -115001,7 +115071,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115001
115071
  );
115002
115072
  }
115003
115073
  }
115004
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
115074
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
115005
115075
  if (\\"followers\\" in values && values.followers != null) {
115006
115076
  if (values.followers instanceof Collection || values.followers instanceof URL) {
115007
115077
  // @ts-ignore: type is checked above.
@@ -115014,7 +115084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115014
115084
  );
115015
115085
  }
115016
115086
  }
115017
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
115087
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
115018
115088
  if (\\"liked\\" in values && values.liked != null) {
115019
115089
  if (values.liked instanceof Collection || values.liked instanceof URL) {
115020
115090
  // @ts-ignore: type is checked above.
@@ -115027,7 +115097,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115027
115097
  );
115028
115098
  }
115029
115099
  }
115030
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
115100
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
115031
115101
  if (\\"featured\\" in values && values.featured != null) {
115032
115102
  if (values.featured instanceof Collection || values.featured instanceof URL) {
115033
115103
  // @ts-ignore: type is checked above.
@@ -115040,7 +115110,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115040
115110
  );
115041
115111
  }
115042
115112
  }
115043
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
115113
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
115044
115114
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
115045
115115
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
115046
115116
  // @ts-ignore: type is checked above.
@@ -115053,7 +115123,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115053
115123
  );
115054
115124
  }
115055
115125
  }
115056
- clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections;clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
115126
+ clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections.slice();clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
115057
115127
  if (\\"featuredCollections\\" in values && values.featuredCollections != null) {
115058
115128
  if (values.featuredCollections instanceof Collection || values.featuredCollections instanceof URL) {
115059
115129
  // @ts-ignore: type is checked above.
@@ -115066,13 +115136,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115066
115136
  );
115067
115137
  }
115068
115138
  }
115069
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
115139
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
115070
115140
  if (\\"streams\\" in values && values.streams != null) {
115071
115141
 
115072
115142
  if (Array.isArray(values.streams) &&
115073
115143
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
115074
115144
  // @ts-ignore: type is checked above.
115075
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
115145
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
115076
115146
 
115077
115147
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
115078
115148
  for (let i = 0; i < values.streams.length; i++) {
@@ -115086,7 +115156,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115086
115156
  );
115087
115157
  }
115088
115158
  }
115089
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
115159
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
115090
115160
  if (\\"endpoints\\" in values && values.endpoints != null) {
115091
115161
  if (values.endpoints instanceof Endpoints) {
115092
115162
  // @ts-ignore: type is checked above.
@@ -115099,7 +115169,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115099
115169
  );
115100
115170
  }
115101
115171
  }
115102
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
115172
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
115103
115173
  if (\\"discoverable\\" in values && values.discoverable != null) {
115104
115174
  if (typeof values.discoverable === \\"boolean\\") {
115105
115175
  // @ts-ignore: type is checked above.
@@ -115112,7 +115182,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115112
115182
  );
115113
115183
  }
115114
115184
  }
115115
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
115185
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
115116
115186
  if (\\"suspended\\" in values && values.suspended != null) {
115117
115187
  if (typeof values.suspended === \\"boolean\\") {
115118
115188
  // @ts-ignore: type is checked above.
@@ -115125,7 +115195,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115125
115195
  );
115126
115196
  }
115127
115197
  }
115128
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
115198
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
115129
115199
  if (\\"memorial\\" in values && values.memorial != null) {
115130
115200
  if (typeof values.memorial === \\"boolean\\") {
115131
115201
  // @ts-ignore: type is checked above.
@@ -115138,7 +115208,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115138
115208
  );
115139
115209
  }
115140
115210
  }
115141
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
115211
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
115142
115212
  if (\\"indexable\\" in values && values.indexable != null) {
115143
115213
  if (typeof values.indexable === \\"boolean\\") {
115144
115214
  // @ts-ignore: type is checked above.
@@ -115151,7 +115221,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115151
115221
  );
115152
115222
  }
115153
115223
  }
115154
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
115224
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
115155
115225
  if (\\"successor\\" in values && values.successor != null) {
115156
115226
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
115157
115227
  // @ts-ignore: type is checked above.
@@ -115164,7 +115234,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115164
115234
  );
115165
115235
  }
115166
115236
  }
115167
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
115237
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
115168
115238
  if (\\"alias\\" in values && values.alias != null) {
115169
115239
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
115170
115240
  // @ts-ignore: type is checked above.
@@ -115191,7 +115261,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115191
115261
  if (Array.isArray(values.aliases) &&
115192
115262
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
115193
115263
  // @ts-ignore: type is checked above.
115194
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
115264
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
115195
115265
 
115196
115266
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
115197
115267
  for (let i = 0; i < values.aliases.length; i++) {
@@ -115205,7 +115275,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115205
115275
  );
115206
115276
  }
115207
115277
  }
115208
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
115278
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
115209
115279
  if (\\"service\\" in values && values.service != null) {
115210
115280
  if (values.service instanceof DidService || values.service instanceof URL) {
115211
115281
  // @ts-ignore: type is checked above.
@@ -115232,7 +115302,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115232
115302
  if (Array.isArray(values.services) &&
115233
115303
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
115234
115304
  // @ts-ignore: type is checked above.
115235
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
115305
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
115236
115306
 
115237
115307
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
115238
115308
  for (let i = 0; i < values.services.length; i++) {
@@ -115246,7 +115316,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115246
115316
  );
115247
115317
  }
115248
115318
  }
115249
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
115319
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
115250
115320
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
115251
115321
  if (typeof values.followedMessage === \\"string\\") {
115252
115322
  // @ts-ignore: type is checked above.
@@ -115259,7 +115329,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
115259
115329
  );
115260
115330
  }
115261
115331
  }
115262
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
115332
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
115263
115333
  if (\\"cat\\" in values && values.cat != null) {
115264
115334
  if (typeof values.cat === \\"boolean\\") {
115265
115335
  // @ts-ignore: type is checked above.
@@ -125036,7 +125106,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125036
125106
  *
125037
125107
  * @param values The values to update the clone with.
125038
125108
  * @param options The options to use for cloning.
125039
- * @returns The cloned instance.
125109
+ * @returns The cloned instance with its own property arrays. Nested objects
125110
+ * and URLs are shared with this instance.
125040
125111
  */
125041
125112
  override clone(
125042
125113
  values:
@@ -125075,7 +125146,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125075
125146
  // @ts-ignore: \$warning is not recognized as a property, but it is.
125076
125147
  options = { ...options, \$warning: this._warning };
125077
125148
  }
125078
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
125149
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
125079
125150
  if (\\"accuracy\\" in values && values.accuracy != null) {
125080
125151
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
125081
125152
  // @ts-ignore: type is checked above.
@@ -125088,7 +125159,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125088
125159
  );
125089
125160
  }
125090
125161
  }
125091
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
125162
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
125092
125163
  if (\\"altitude\\" in values && values.altitude != null) {
125093
125164
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
125094
125165
  // @ts-ignore: type is checked above.
@@ -125101,7 +125172,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125101
125172
  );
125102
125173
  }
125103
125174
  }
125104
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
125175
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
125105
125176
  if (\\"latitude\\" in values && values.latitude != null) {
125106
125177
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
125107
125178
  // @ts-ignore: type is checked above.
@@ -125114,7 +125185,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125114
125185
  );
125115
125186
  }
125116
125187
  }
125117
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
125188
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
125118
125189
  if (\\"longitude\\" in values && values.longitude != null) {
125119
125190
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
125120
125191
  // @ts-ignore: type is checked above.
@@ -125127,7 +125198,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125127
125198
  );
125128
125199
  }
125129
125200
  }
125130
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
125201
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
125131
125202
  if (\\"radius\\" in values && values.radius != null) {
125132
125203
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
125133
125204
  // @ts-ignore: type is checked above.
@@ -125140,7 +125211,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
125140
125211
  );
125141
125212
  }
125142
125213
  }
125143
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
125214
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
125144
125215
  if (\\"units\\" in values && values.units != null) {
125145
125216
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
125146
125217
  // @ts-ignore: type is checked above.
@@ -126173,7 +126244,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
126173
126244
  *
126174
126245
  * @param values The values to update the clone with.
126175
126246
  * @param options The options to use for cloning.
126176
- * @returns The cloned instance.
126247
+ * @returns The cloned instance with its own property arrays. Nested objects
126248
+ * and URLs are shared with this instance.
126177
126249
  */
126178
126250
  override clone(
126179
126251
  values:
@@ -126212,7 +126284,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
126212
126284
  // @ts-ignore: \$warning is not recognized as a property, but it is.
126213
126285
  options = { ...options, \$warning: this._warning };
126214
126286
  }
126215
- const clone = super.clone(values, options) as unknown as Profile;clone.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = this.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes;clone.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = new Set(this.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes);
126287
+ const clone = super.clone(values, options) as unknown as Profile;clone.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = this.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.slice();clone.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = new Set(this.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes);
126216
126288
  if (\\"describes\\" in values && values.describes != null) {
126217
126289
  if (values.describes instanceof Object || values.describes instanceof URL) {
126218
126290
  // @ts-ignore: type is checked above.
@@ -127148,7 +127220,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127148
127220
  if (Array.isArray(values.exclusiveOptions) &&
127149
127221
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
127150
127222
  // @ts-ignore: type is checked above.
127151
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
127223
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
127152
127224
 
127153
127225
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
127154
127226
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -127167,7 +127239,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127167
127239
  if (Array.isArray(values.inclusiveOptions) &&
127168
127240
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
127169
127241
  // @ts-ignore: type is checked above.
127170
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
127242
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
127171
127243
 
127172
127244
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
127173
127245
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -127258,7 +127330,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127258
127330
  *
127259
127331
  * @param values The values to update the clone with.
127260
127332
  * @param options The options to use for cloning.
127261
- * @returns The cloned instance.
127333
+ * @returns The cloned instance with its own property arrays. Nested objects
127334
+ * and URLs are shared with this instance.
127262
127335
  */
127263
127336
  override clone(
127264
127337
  values:
@@ -127303,13 +127376,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127303
127376
  // @ts-ignore: \$warning is not recognized as a property, but it is.
127304
127377
  options = { ...options, \$warning: this._warning };
127305
127378
  }
127306
- const clone = super.clone(values, options) as unknown as Question;clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf;clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set(this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf);
127379
+ const clone = super.clone(values, options) as unknown as Question;clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.slice();clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set(this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf);
127307
127380
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
127308
127381
 
127309
127382
  if (Array.isArray(values.exclusiveOptions) &&
127310
127383
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
127311
127384
  // @ts-ignore: type is checked above.
127312
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
127385
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
127313
127386
 
127314
127387
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
127315
127388
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -127323,13 +127396,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127323
127396
  );
127324
127397
  }
127325
127398
  }
127326
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
127399
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
127327
127400
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
127328
127401
 
127329
127402
  if (Array.isArray(values.inclusiveOptions) &&
127330
127403
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
127331
127404
  // @ts-ignore: type is checked above.
127332
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
127405
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
127333
127406
 
127334
127407
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
127335
127408
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -127343,7 +127416,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127343
127416
  );
127344
127417
  }
127345
127418
  }
127346
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
127419
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
127347
127420
  if (\\"closed\\" in values && values.closed != null) {
127348
127421
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
127349
127422
  // @ts-ignore: type is checked above.
@@ -127356,7 +127429,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127356
127429
  );
127357
127430
  }
127358
127431
  }
127359
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
127432
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
127360
127433
  if (\\"voters\\" in values && values.voters != null) {
127361
127434
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
127362
127435
  // @ts-ignore: type is checked above.
@@ -127369,7 +127442,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127369
127442
  );
127370
127443
  }
127371
127444
  }
127372
- clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
127445
+ clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
127373
127446
  if (\\"quote\\" in values && values.quote != null) {
127374
127447
  if (values.quote instanceof Object || values.quote instanceof URL) {
127375
127448
  // @ts-ignore: type is checked above.
@@ -127382,7 +127455,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127382
127455
  );
127383
127456
  }
127384
127457
  }
127385
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
127458
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
127386
127459
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
127387
127460
  if (values.quoteUrl instanceof URL) {
127388
127461
  // @ts-ignore: type is checked above.
@@ -127395,7 +127468,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
127395
127468
  );
127396
127469
  }
127397
127470
  }
127398
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
127471
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
127399
127472
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
127400
127473
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
127401
127474
  // @ts-ignore: type is checked above.
@@ -130084,7 +130157,8 @@ instruments?: (Object | URL)[];}
130084
130157
  *
130085
130158
  * @param values The values to update the clone with.
130086
130159
  * @param options The options to use for cloning.
130087
- * @returns The cloned instance.
130160
+ * @returns The cloned instance with its own property arrays. Nested objects
130161
+ * and URLs are shared with this instance.
130088
130162
  */
130089
130163
  override clone(
130090
130164
  values:
@@ -130499,7 +130573,8 @@ instruments?: (Object | URL)[];}
130499
130573
  *
130500
130574
  * @param values The values to update the clone with.
130501
130575
  * @param options The options to use for cloning.
130502
- * @returns The cloned instance.
130576
+ * @returns The cloned instance with its own property arrays. Nested objects
130577
+ * and URLs are shared with this instance.
130503
130578
  */
130504
130579
  override clone(
130505
130580
  values:
@@ -130955,7 +131030,7 @@ relationships?: (Object | URL)[];}
130955
131030
  if (Array.isArray(values.objects) &&
130956
131031
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
130957
131032
  // @ts-ignore: type is checked above.
130958
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
131033
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
130959
131034
 
130960
131035
  for (let i = 0; i < values.objects.length; i++) {
130961
131036
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -130995,7 +131070,7 @@ relationships?: (Object | URL)[];}
130995
131070
  if (Array.isArray(values.relationships) &&
130996
131071
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
130997
131072
  // @ts-ignore: type is checked above.
130998
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
131073
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
130999
131074
 
131000
131075
  for (let i = 0; i < values.relationships.length; i++) {
131001
131076
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -131021,7 +131096,8 @@ relationships?: (Object | URL)[];}
131021
131096
  *
131022
131097
  * @param values The values to update the clone with.
131023
131098
  * @param options The options to use for cloning.
131024
- * @returns The cloned instance.
131099
+ * @returns The cloned instance with its own property arrays. Nested objects
131100
+ * and URLs are shared with this instance.
131025
131101
  */
131026
131102
  override clone(
131027
131103
  values:
@@ -131062,7 +131138,7 @@ relationships?: (Object | URL)[];}
131062
131138
  // @ts-ignore: \$warning is not recognized as a property, but it is.
131063
131139
  options = { ...options, \$warning: this._warning };
131064
131140
  }
131065
- const clone = super.clone(values, options) as unknown as Relationship;clone.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = this.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject;clone.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = new Set(this.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject);
131141
+ const clone = super.clone(values, options) as unknown as Relationship;clone.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = this.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.slice();clone.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = new Set(this.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject);
131066
131142
  if (\\"subject\\" in values && values.subject != null) {
131067
131143
  if (values.subject instanceof Object || values.subject instanceof URL) {
131068
131144
  // @ts-ignore: type is checked above.
@@ -131075,7 +131151,7 @@ relationships?: (Object | URL)[];}
131075
131151
  );
131076
131152
  }
131077
131153
  }
131078
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
131154
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
131079
131155
  if (\\"object\\" in values && values.object != null) {
131080
131156
  if (values.object instanceof Object || values.object instanceof URL) {
131081
131157
  // @ts-ignore: type is checked above.
@@ -131102,7 +131178,7 @@ relationships?: (Object | URL)[];}
131102
131178
  if (Array.isArray(values.objects) &&
131103
131179
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
131104
131180
  // @ts-ignore: type is checked above.
131105
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
131181
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
131106
131182
 
131107
131183
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
131108
131184
  for (let i = 0; i < values.objects.length; i++) {
@@ -131116,7 +131192,7 @@ relationships?: (Object | URL)[];}
131116
131192
  );
131117
131193
  }
131118
131194
  }
131119
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
131195
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
131120
131196
  if (\\"relationship\\" in values && values.relationship != null) {
131121
131197
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
131122
131198
  // @ts-ignore: type is checked above.
@@ -131143,7 +131219,7 @@ relationships?: (Object | URL)[];}
131143
131219
  if (Array.isArray(values.relationships) &&
131144
131220
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
131145
131221
  // @ts-ignore: type is checked above.
131146
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
131222
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
131147
131223
 
131148
131224
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
131149
131225
  for (let i = 0; i < values.relationships.length; i++) {
@@ -133444,7 +133520,8 @@ instruments?: (Object | URL)[];}
133444
133520
  *
133445
133521
  * @param values The values to update the clone with.
133446
133522
  * @param options The options to use for cloning.
133447
- * @returns The cloned instance.
133523
+ * @returns The cloned instance with its own property arrays. Nested objects
133524
+ * and URLs are shared with this instance.
133448
133525
  */
133449
133526
  override clone(
133450
133527
  values:
@@ -133923,7 +134000,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
133923
134000
  if (Array.isArray(values.preferredUsernames) &&
133924
134001
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
133925
134002
  // @ts-ignore: type is checked above.
133926
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
134003
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
133927
134004
 
133928
134005
  } else {
133929
134006
  throw new TypeError(
@@ -133959,7 +134036,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
133959
134036
  if (Array.isArray(values.publicKeys) &&
133960
134037
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
133961
134038
  // @ts-ignore: type is checked above.
133962
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
134039
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
133963
134040
 
133964
134041
  for (let i = 0; i < values.publicKeys.length; i++) {
133965
134042
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -133999,7 +134076,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
133999
134076
  if (Array.isArray(values.assertionMethods) &&
134000
134077
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
134001
134078
  // @ts-ignore: type is checked above.
134002
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
134079
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
134003
134080
 
134004
134081
  for (let i = 0; i < values.assertionMethods.length; i++) {
134005
134082
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -134039,7 +134116,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134039
134116
  if (Array.isArray(values.gateways) &&
134040
134117
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
134041
134118
  // @ts-ignore: type is checked above.
134042
- this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
134119
+ this.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
134043
134120
 
134044
134121
  } else {
134045
134122
  throw new TypeError(
@@ -134171,7 +134248,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134171
134248
  if (Array.isArray(values.streams) &&
134172
134249
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
134173
134250
  // @ts-ignore: type is checked above.
134174
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
134251
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
134175
134252
 
134176
134253
  for (let i = 0; i < values.streams.length; i++) {
134177
134254
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -134289,7 +134366,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134289
134366
  if (Array.isArray(values.aliases) &&
134290
134367
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
134291
134368
  // @ts-ignore: type is checked above.
134292
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
134369
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
134293
134370
 
134294
134371
  for (let i = 0; i < values.aliases.length; i++) {
134295
134372
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -134329,7 +134406,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134329
134406
  if (Array.isArray(values.services) &&
134330
134407
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
134331
134408
  // @ts-ignore: type is checked above.
134332
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
134409
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
134333
134410
 
134334
134411
  for (let i = 0; i < values.services.length; i++) {
134335
134412
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -134381,7 +134458,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134381
134458
  *
134382
134459
  * @param values The values to update the clone with.
134383
134460
  * @param options The options to use for cloning.
134384
- * @returns The cloned instance.
134461
+ * @returns The cloned instance with its own property arrays. Nested objects
134462
+ * and URLs are shared with this instance.
134385
134463
  */
134386
134464
  override clone(
134387
134465
  values:
@@ -134426,7 +134504,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134426
134504
  // @ts-ignore: \$warning is not recognized as a property, but it is.
134427
134505
  options = { ...options, \$warning: this._warning };
134428
134506
  }
134429
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
134507
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
134430
134508
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
134431
134509
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
134432
134510
  // @ts-ignore: type is checked above.
@@ -134453,7 +134531,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134453
134531
  if (Array.isArray(values.preferredUsernames) &&
134454
134532
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
134455
134533
  // @ts-ignore: type is checked above.
134456
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
134534
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
134457
134535
 
134458
134536
  } else {
134459
134537
  throw new TypeError(
@@ -134462,7 +134540,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134462
134540
  );
134463
134541
  }
134464
134542
  }
134465
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
134543
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
134466
134544
  if (\\"publicKey\\" in values && values.publicKey != null) {
134467
134545
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
134468
134546
  // @ts-ignore: type is checked above.
@@ -134489,7 +134567,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134489
134567
  if (Array.isArray(values.publicKeys) &&
134490
134568
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
134491
134569
  // @ts-ignore: type is checked above.
134492
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
134570
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
134493
134571
 
134494
134572
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
134495
134573
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -134503,7 +134581,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134503
134581
  );
134504
134582
  }
134505
134583
  }
134506
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
134584
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
134507
134585
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
134508
134586
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
134509
134587
  // @ts-ignore: type is checked above.
@@ -134530,7 +134608,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134530
134608
  if (Array.isArray(values.assertionMethods) &&
134531
134609
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
134532
134610
  // @ts-ignore: type is checked above.
134533
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
134611
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
134534
134612
 
134535
134613
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
134536
134614
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -134544,7 +134622,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134544
134622
  );
134545
134623
  }
134546
134624
  }
134547
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3;
134625
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = this.#_hQiaHhZP8hqxckxTBrpsGNs57E3.slice();
134548
134626
  if (\\"gateway\\" in values && values.gateway != null) {
134549
134627
  if (values.gateway instanceof URL && isGatewayUrl(values.gateway)) {
134550
134628
  // @ts-ignore: type is checked above.
@@ -134571,7 +134649,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134571
134649
  if (Array.isArray(values.gateways) &&
134572
134650
  values.gateways.every(v => v instanceof URL && isGatewayUrl(v))) {
134573
134651
  // @ts-ignore: type is checked above.
134574
- clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways;
134652
+ clone.#_hQiaHhZP8hqxckxTBrpsGNs57E3 = values.gateways.slice();
134575
134653
 
134576
134654
  } else {
134577
134655
  throw new TypeError(
@@ -134580,7 +134658,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134580
134658
  );
134581
134659
  }
134582
134660
  }
134583
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
134661
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
134584
134662
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
134585
134663
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
134586
134664
  // @ts-ignore: type is checked above.
@@ -134593,7 +134671,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134593
134671
  );
134594
134672
  }
134595
134673
  }
134596
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
134674
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
134597
134675
  if (\\"inbox\\" in values && values.inbox != null) {
134598
134676
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
134599
134677
  // @ts-ignore: type is checked above.
@@ -134606,7 +134684,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134606
134684
  );
134607
134685
  }
134608
134686
  }
134609
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
134687
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
134610
134688
  if (\\"outbox\\" in values && values.outbox != null) {
134611
134689
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
134612
134690
  // @ts-ignore: type is checked above.
@@ -134619,7 +134697,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134619
134697
  );
134620
134698
  }
134621
134699
  }
134622
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
134700
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
134623
134701
  if (\\"following\\" in values && values.following != null) {
134624
134702
  if (values.following instanceof Collection || values.following instanceof URL) {
134625
134703
  // @ts-ignore: type is checked above.
@@ -134632,7 +134710,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134632
134710
  );
134633
134711
  }
134634
134712
  }
134635
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
134713
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
134636
134714
  if (\\"followers\\" in values && values.followers != null) {
134637
134715
  if (values.followers instanceof Collection || values.followers instanceof URL) {
134638
134716
  // @ts-ignore: type is checked above.
@@ -134645,7 +134723,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134645
134723
  );
134646
134724
  }
134647
134725
  }
134648
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
134726
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
134649
134727
  if (\\"liked\\" in values && values.liked != null) {
134650
134728
  if (values.liked instanceof Collection || values.liked instanceof URL) {
134651
134729
  // @ts-ignore: type is checked above.
@@ -134658,7 +134736,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134658
134736
  );
134659
134737
  }
134660
134738
  }
134661
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
134739
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
134662
134740
  if (\\"featured\\" in values && values.featured != null) {
134663
134741
  if (values.featured instanceof Collection || values.featured instanceof URL) {
134664
134742
  // @ts-ignore: type is checked above.
@@ -134671,7 +134749,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134671
134749
  );
134672
134750
  }
134673
134751
  }
134674
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
134752
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
134675
134753
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
134676
134754
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
134677
134755
  // @ts-ignore: type is checked above.
@@ -134684,7 +134762,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134684
134762
  );
134685
134763
  }
134686
134764
  }
134687
- clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections;clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
134765
+ clone.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = this.#_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections.slice();clone.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections = new Set(this.#_trust_43Vdn8myiwHqPANJwoAEF3Yy3vsd_featuredCollections);
134688
134766
  if (\\"featuredCollections\\" in values && values.featuredCollections != null) {
134689
134767
  if (values.featuredCollections instanceof Collection || values.featuredCollections instanceof URL) {
134690
134768
  // @ts-ignore: type is checked above.
@@ -134697,13 +134775,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134697
134775
  );
134698
134776
  }
134699
134777
  }
134700
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
134778
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
134701
134779
  if (\\"streams\\" in values && values.streams != null) {
134702
134780
 
134703
134781
  if (Array.isArray(values.streams) &&
134704
134782
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
134705
134783
  // @ts-ignore: type is checked above.
134706
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
134784
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
134707
134785
 
134708
134786
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
134709
134787
  for (let i = 0; i < values.streams.length; i++) {
@@ -134717,7 +134795,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134717
134795
  );
134718
134796
  }
134719
134797
  }
134720
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
134798
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
134721
134799
  if (\\"endpoints\\" in values && values.endpoints != null) {
134722
134800
  if (values.endpoints instanceof Endpoints) {
134723
134801
  // @ts-ignore: type is checked above.
@@ -134730,7 +134808,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134730
134808
  );
134731
134809
  }
134732
134810
  }
134733
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
134811
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
134734
134812
  if (\\"discoverable\\" in values && values.discoverable != null) {
134735
134813
  if (typeof values.discoverable === \\"boolean\\") {
134736
134814
  // @ts-ignore: type is checked above.
@@ -134743,7 +134821,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134743
134821
  );
134744
134822
  }
134745
134823
  }
134746
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
134824
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
134747
134825
  if (\\"suspended\\" in values && values.suspended != null) {
134748
134826
  if (typeof values.suspended === \\"boolean\\") {
134749
134827
  // @ts-ignore: type is checked above.
@@ -134756,7 +134834,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134756
134834
  );
134757
134835
  }
134758
134836
  }
134759
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
134837
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
134760
134838
  if (\\"memorial\\" in values && values.memorial != null) {
134761
134839
  if (typeof values.memorial === \\"boolean\\") {
134762
134840
  // @ts-ignore: type is checked above.
@@ -134769,7 +134847,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134769
134847
  );
134770
134848
  }
134771
134849
  }
134772
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
134850
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
134773
134851
  if (\\"indexable\\" in values && values.indexable != null) {
134774
134852
  if (typeof values.indexable === \\"boolean\\") {
134775
134853
  // @ts-ignore: type is checked above.
@@ -134782,7 +134860,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134782
134860
  );
134783
134861
  }
134784
134862
  }
134785
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
134863
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
134786
134864
  if (\\"successor\\" in values && values.successor != null) {
134787
134865
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
134788
134866
  // @ts-ignore: type is checked above.
@@ -134795,7 +134873,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134795
134873
  );
134796
134874
  }
134797
134875
  }
134798
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
134876
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
134799
134877
  if (\\"alias\\" in values && values.alias != null) {
134800
134878
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
134801
134879
  // @ts-ignore: type is checked above.
@@ -134822,7 +134900,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134822
134900
  if (Array.isArray(values.aliases) &&
134823
134901
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
134824
134902
  // @ts-ignore: type is checked above.
134825
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
134903
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
134826
134904
 
134827
134905
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
134828
134906
  for (let i = 0; i < values.aliases.length; i++) {
@@ -134836,7 +134914,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134836
134914
  );
134837
134915
  }
134838
134916
  }
134839
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
134917
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
134840
134918
  if (\\"service\\" in values && values.service != null) {
134841
134919
  if (values.service instanceof DidService || values.service instanceof URL) {
134842
134920
  // @ts-ignore: type is checked above.
@@ -134863,7 +134941,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134863
134941
  if (Array.isArray(values.services) &&
134864
134942
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
134865
134943
  // @ts-ignore: type is checked above.
134866
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
134944
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
134867
134945
 
134868
134946
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
134869
134947
  for (let i = 0; i < values.services.length; i++) {
@@ -134877,7 +134955,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134877
134955
  );
134878
134956
  }
134879
134957
  }
134880
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
134958
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
134881
134959
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
134882
134960
  if (typeof values.followedMessage === \\"string\\") {
134883
134961
  // @ts-ignore: type is checked above.
@@ -134890,7 +134968,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
134890
134968
  );
134891
134969
  }
134892
134970
  }
134893
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
134971
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
134894
134972
  if (\\"cat\\" in values && values.cat != null) {
134895
134973
  if (typeof values.cat === \\"boolean\\") {
134896
134974
  // @ts-ignore: type is checked above.
@@ -144664,7 +144742,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
144664
144742
  if (Array.isArray(values.contents) &&
144665
144743
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
144666
144744
  // @ts-ignore: type is checked above.
144667
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
144745
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
144668
144746
 
144669
144747
  } else {
144670
144748
  throw new TypeError(
@@ -144699,7 +144777,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
144699
144777
  *
144700
144778
  * @param values The values to update the clone with.
144701
144779
  * @param options The options to use for cloning.
144702
- * @returns The cloned instance.
144780
+ * @returns The cloned instance with its own property arrays. Nested objects
144781
+ * and URLs are shared with this instance.
144703
144782
  */
144704
144783
  clone(
144705
144784
  values:
@@ -144730,7 +144809,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
144730
144809
  options
144731
144810
  );
144732
144811
  copyPortableProvenance(this, clone);
144733
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
144812
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
144734
144813
  if (\\"content\\" in values && values.content != null) {
144735
144814
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
144736
144815
  // @ts-ignore: type is checked above.
@@ -144757,7 +144836,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
144757
144836
  if (Array.isArray(values.contents) &&
144758
144837
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
144759
144838
  // @ts-ignore: type is checked above.
144760
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
144839
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
144761
144840
 
144762
144841
  } else {
144763
144842
  throw new TypeError(
@@ -144766,7 +144845,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
144766
144845
  );
144767
144846
  }
144768
144847
  }
144769
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
144848
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
144770
144849
  if (\\"mediaType\\" in values && values.mediaType != null) {
144771
144850
  if (typeof values.mediaType === \\"string\\") {
144772
144851
  // @ts-ignore: type is checked above.
@@ -145375,7 +145454,8 @@ instruments?: (Object | URL)[];}
145375
145454
  *
145376
145455
  * @param values The values to update the clone with.
145377
145456
  * @param options The options to use for cloning.
145378
- * @returns The cloned instance.
145457
+ * @returns The cloned instance with its own property arrays. Nested objects
145458
+ * and URLs are shared with this instance.
145379
145459
  */
145380
145460
  override clone(
145381
145461
  values:
@@ -145790,7 +145870,8 @@ instruments?: (Object | URL)[];}
145790
145870
  *
145791
145871
  * @param values The values to update the clone with.
145792
145872
  * @param options The options to use for cloning.
145793
- * @returns The cloned instance.
145873
+ * @returns The cloned instance with its own property arrays. Nested objects
145874
+ * and URLs are shared with this instance.
145794
145875
  */
145795
145876
  override clone(
145796
145877
  values:
@@ -146217,7 +146298,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
146217
146298
  if (Array.isArray(values.formerTypes) &&
146218
146299
  values.formerTypes.every(v => isEntityType(v))) {
146219
146300
  // @ts-ignore: type is checked above.
146220
- this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
146301
+ this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
146221
146302
 
146222
146303
  } else {
146223
146304
  throw new TypeError(
@@ -146252,7 +146333,8 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
146252
146333
  *
146253
146334
  * @param values The values to update the clone with.
146254
146335
  * @param options The options to use for cloning.
146255
- * @returns The cloned instance.
146336
+ * @returns The cloned instance with its own property arrays. Nested objects
146337
+ * and URLs are shared with this instance.
146256
146338
  */
146257
146339
  override clone(
146258
146340
  values:
@@ -146292,7 +146374,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
146292
146374
  // @ts-ignore: \$warning is not recognized as a property, but it is.
146293
146375
  options = { ...options, \$warning: this._warning };
146294
146376
  }
146295
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType;
146377
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType.slice();
146296
146378
  if (\\"formerType\\" in values && values.formerType != null) {
146297
146379
  if (isEntityType(values.formerType)) {
146298
146380
  // @ts-ignore: type is checked above.
@@ -146319,7 +146401,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
146319
146401
  if (Array.isArray(values.formerTypes) &&
146320
146402
  values.formerTypes.every(v => isEntityType(v))) {
146321
146403
  // @ts-ignore: type is checked above.
146322
- clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
146404
+ clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
146323
146405
 
146324
146406
  } else {
146325
146407
  throw new TypeError(
@@ -146328,7 +146410,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
146328
146410
  );
146329
146411
  }
146330
146412
  }
146331
- clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
146413
+ clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
146332
146414
  if (\\"deleted\\" in values && values.deleted != null) {
146333
146415
  if (isTemporalInstant(values.deleted)) {
146334
146416
  // @ts-ignore: type is checked above.
@@ -146971,7 +147053,8 @@ instruments?: (Object | URL)[];}
146971
147053
  *
146972
147054
  * @param values The values to update the clone with.
146973
147055
  * @param options The options to use for cloning.
146974
- * @returns The cloned instance.
147056
+ * @returns The cloned instance with its own property arrays. Nested objects
147057
+ * and URLs are shared with this instance.
146975
147058
  */
146976
147059
  override clone(
146977
147060
  values:
@@ -147391,7 +147474,8 @@ instruments?: (Object | URL)[];}
147391
147474
  *
147392
147475
  * @param values The values to update the clone with.
147393
147476
  * @param options The options to use for cloning.
147394
- * @returns The cloned instance.
147477
+ * @returns The cloned instance with its own property arrays. Nested objects
147478
+ * and URLs are shared with this instance.
147395
147479
  */
147396
147480
  override clone(
147397
147481
  values:
@@ -147809,7 +147893,8 @@ instruments?: (Object | URL)[];}
147809
147893
  *
147810
147894
  * @param values The values to update the clone with.
147811
147895
  * @param options The options to use for cloning.
147812
- * @returns The cloned instance.
147896
+ * @returns The cloned instance with its own property arrays. Nested objects
147897
+ * and URLs are shared with this instance.
147813
147898
  */
147814
147899
  override clone(
147815
147900
  values:
@@ -148216,7 +148301,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
148216
148301
  *
148217
148302
  * @param values The values to update the clone with.
148218
148303
  * @param options The options to use for cloning.
148219
- * @returns The cloned instance.
148304
+ * @returns The cloned instance with its own property arrays. Nested objects
148305
+ * and URLs are shared with this instance.
148220
148306
  */
148221
148307
  override clone(
148222
148308
  values:
@@ -148643,7 +148729,8 @@ instruments?: (Object | URL)[];}
148643
148729
  *
148644
148730
  * @param values The values to update the clone with.
148645
148731
  * @param options The options to use for cloning.
148646
- * @returns The cloned instance.
148732
+ * @returns The cloned instance with its own property arrays. Nested objects
148733
+ * and URLs are shared with this instance.
148647
148734
  */
148648
148735
  override clone(
148649
148736
  values: