@fedify/vocab-tools 2.3.11-dev.2296 → 2.3.11

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.
@@ -17,6 +17,7 @@ import {
17
17
  importPem,
18
18
  isDecimal,
19
19
  LanguageString,
20
+ normalizeLanguageTag,
20
21
  parseDecimal,
21
22
  type RemoteDocument
22
23
  } from \\"@fedify/vocab-runtime\\";
@@ -37,7 +38,7 @@ function decodeIri(iri: string): URL {
37
38
 
38
39
  function isValidLanguageTag(language: string): boolean {
39
40
  try {
40
- new Intl.Locale(language);
41
+ new Intl.Locale(normalizeLanguageTag(language));
41
42
  return true;
42
43
  } catch (error) {
43
44
  if (error instanceof RangeError) return false;
@@ -263,7 +264,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
263
264
  if (Array.isArray(values.attachments) &&
264
265
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
265
266
  // @ts-ignore: type is checked above.
266
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
267
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
267
268
 
268
269
  for (let i = 0; i < values.attachments.length; i++) {
269
270
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -303,7 +304,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
303
304
  if (Array.isArray(values.attributions) &&
304
305
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
305
306
  // @ts-ignore: type is checked above.
306
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
307
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
307
308
 
308
309
  for (let i = 0; i < values.attributions.length; i++) {
309
310
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -343,7 +344,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
343
344
  if (Array.isArray(values.audiences) &&
344
345
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
345
346
  // @ts-ignore: type is checked above.
346
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
347
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
347
348
 
348
349
  for (let i = 0; i < values.audiences.length; i++) {
349
350
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -383,7 +384,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
383
384
  if (Array.isArray(values.contents) &&
384
385
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
385
386
  // @ts-ignore: type is checked above.
386
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
387
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
387
388
 
388
389
  } else {
389
390
  throw new TypeError(
@@ -398,7 +399,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
398
399
  if (Array.isArray(values.contexts) &&
399
400
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
400
401
  // @ts-ignore: type is checked above.
401
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
402
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
402
403
 
403
404
  for (let i = 0; i < values.contexts.length; i++) {
404
405
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -438,7 +439,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
438
439
  if (Array.isArray(values.names) &&
439
440
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
440
441
  // @ts-ignore: type is checked above.
441
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
442
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
442
443
 
443
444
  } else {
444
445
  throw new TypeError(
@@ -466,7 +467,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
466
467
  if (Array.isArray(values.generators) &&
467
468
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
468
469
  // @ts-ignore: type is checked above.
469
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
470
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
470
471
 
471
472
  for (let i = 0; i < values.generators.length; i++) {
472
473
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -506,7 +507,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
506
507
  if (Array.isArray(values.icons) &&
507
508
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
508
509
  // @ts-ignore: type is checked above.
509
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
510
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
510
511
 
511
512
  for (let i = 0; i < values.icons.length; i++) {
512
513
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -546,7 +547,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
546
547
  if (Array.isArray(values.images) &&
547
548
  values.images.every(v => v instanceof Image || v instanceof URL)) {
548
549
  // @ts-ignore: type is checked above.
549
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
550
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
550
551
 
551
552
  for (let i = 0; i < values.images.length; i++) {
552
553
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -586,7 +587,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
586
587
  if (Array.isArray(values.replyTargets) &&
587
588
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
588
589
  // @ts-ignore: type is checked above.
589
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
590
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
590
591
 
591
592
  for (let i = 0; i < values.replyTargets.length; i++) {
592
593
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -626,7 +627,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
626
627
  if (Array.isArray(values.locations) &&
627
628
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
628
629
  // @ts-ignore: type is checked above.
629
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
630
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
630
631
 
631
632
  for (let i = 0; i < values.locations.length; i++) {
632
633
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -666,7 +667,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
666
667
  if (Array.isArray(values.previews) &&
667
668
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
668
669
  // @ts-ignore: type is checked above.
669
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
670
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
670
671
 
671
672
  for (let i = 0; i < values.previews.length; i++) {
672
673
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -784,7 +785,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
784
785
  if (Array.isArray(values.summaries) &&
785
786
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
786
787
  // @ts-ignore: type is checked above.
787
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
788
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
788
789
 
789
790
  } else {
790
791
  throw new TypeError(
@@ -799,7 +800,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
799
800
  if (Array.isArray(values.tags) &&
800
801
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
801
802
  // @ts-ignore: type is checked above.
802
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
803
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
803
804
 
804
805
  for (let i = 0; i < values.tags.length; i++) {
805
806
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -852,7 +853,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
852
853
  if (Array.isArray(values.urls) &&
853
854
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
854
855
  // @ts-ignore: type is checked above.
855
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
856
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
856
857
 
857
858
  } else {
858
859
  throw new TypeError(
@@ -888,7 +889,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
888
889
  if (Array.isArray(values.tos) &&
889
890
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
890
891
  // @ts-ignore: type is checked above.
891
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
892
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
892
893
 
893
894
  for (let i = 0; i < values.tos.length; i++) {
894
895
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -928,7 +929,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
928
929
  if (Array.isArray(values.btos) &&
929
930
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
930
931
  // @ts-ignore: type is checked above.
931
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
932
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
932
933
 
933
934
  for (let i = 0; i < values.btos.length; i++) {
934
935
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -968,7 +969,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
968
969
  if (Array.isArray(values.ccs) &&
969
970
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
970
971
  // @ts-ignore: type is checked above.
971
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
972
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
972
973
 
973
974
  for (let i = 0; i < values.ccs.length; i++) {
974
975
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -1008,7 +1009,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1008
1009
  if (Array.isArray(values.bccs) &&
1009
1010
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1010
1011
  // @ts-ignore: type is checked above.
1011
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1012
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1012
1013
 
1013
1014
  for (let i = 0; i < values.bccs.length; i++) {
1014
1015
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1100,7 +1101,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1100
1101
  if (Array.isArray(values.proofs) &&
1101
1102
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1102
1103
  // @ts-ignore: type is checked above.
1103
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1104
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1104
1105
 
1105
1106
  for (let i = 0; i < values.proofs.length; i++) {
1106
1107
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1184,7 +1185,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1184
1185
  * Clones this instance, optionally updating it with the given values.
1185
1186
  * @param values The values to update the clone with.
1186
1187
  * @param options The options to use for cloning.
1187
- * @returns The cloned instance.
1188
+ * @returns The cloned instance with its own property arrays. Nested objects
1189
+ * and URLs are shared with this instance.
1188
1190
  */
1189
1191
  clone(
1190
1192
  values:
@@ -1228,13 +1230,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1228
1230
  { id: values.id ?? this.id },
1229
1231
  options
1230
1232
  );
1231
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1233
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1232
1234
  if (\\"attachments\\" in values && values.attachments != null) {
1233
1235
 
1234
1236
  if (Array.isArray(values.attachments) &&
1235
1237
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1236
1238
  // @ts-ignore: type is checked above.
1237
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1239
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1238
1240
 
1239
1241
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1240
1242
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1248,7 +1250,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1248
1250
  );
1249
1251
  }
1250
1252
  }
1251
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1253
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1252
1254
  if (\\"attribution\\" in values && values.attribution != null) {
1253
1255
  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) {
1254
1256
  // @ts-ignore: type is checked above.
@@ -1275,7 +1277,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1275
1277
  if (Array.isArray(values.attributions) &&
1276
1278
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1277
1279
  // @ts-ignore: type is checked above.
1278
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1280
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1279
1281
 
1280
1282
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1281
1283
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1289,7 +1291,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1289
1291
  );
1290
1292
  }
1291
1293
  }
1292
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1294
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1293
1295
  if (\\"audience\\" in values && values.audience != null) {
1294
1296
  if (values.audience instanceof Object || values.audience instanceof URL) {
1295
1297
  // @ts-ignore: type is checked above.
@@ -1316,7 +1318,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1316
1318
  if (Array.isArray(values.audiences) &&
1317
1319
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1318
1320
  // @ts-ignore: type is checked above.
1319
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1321
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1320
1322
 
1321
1323
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1322
1324
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1330,7 +1332,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1330
1332
  );
1331
1333
  }
1332
1334
  }
1333
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1335
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1334
1336
  if (\\"content\\" in values && values.content != null) {
1335
1337
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1336
1338
  // @ts-ignore: type is checked above.
@@ -1357,7 +1359,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1357
1359
  if (Array.isArray(values.contents) &&
1358
1360
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1359
1361
  // @ts-ignore: type is checked above.
1360
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1362
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1361
1363
 
1362
1364
  } else {
1363
1365
  throw new TypeError(
@@ -1366,13 +1368,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1366
1368
  );
1367
1369
  }
1368
1370
  }
1369
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1371
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1370
1372
  if (\\"contexts\\" in values && values.contexts != null) {
1371
1373
 
1372
1374
  if (Array.isArray(values.contexts) &&
1373
1375
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1374
1376
  // @ts-ignore: type is checked above.
1375
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1377
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1376
1378
 
1377
1379
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1378
1380
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1386,7 +1388,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1386
1388
  );
1387
1389
  }
1388
1390
  }
1389
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1391
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1390
1392
  if (\\"name\\" in values && values.name != null) {
1391
1393
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1392
1394
  // @ts-ignore: type is checked above.
@@ -1413,7 +1415,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1413
1415
  if (Array.isArray(values.names) &&
1414
1416
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1415
1417
  // @ts-ignore: type is checked above.
1416
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1418
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1417
1419
 
1418
1420
  } else {
1419
1421
  throw new TypeError(
@@ -1422,7 +1424,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1422
1424
  );
1423
1425
  }
1424
1426
  }
1425
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1427
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1426
1428
  if (\\"endTime\\" in values && values.endTime != null) {
1427
1429
  if (isTemporalInstant(values.endTime)) {
1428
1430
  // @ts-ignore: type is checked above.
@@ -1435,13 +1437,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1435
1437
  );
1436
1438
  }
1437
1439
  }
1438
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1440
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1439
1441
  if (\\"generators\\" in values && values.generators != null) {
1440
1442
 
1441
1443
  if (Array.isArray(values.generators) &&
1442
1444
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1443
1445
  // @ts-ignore: type is checked above.
1444
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1446
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1445
1447
 
1446
1448
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1447
1449
  for (let i = 0; i < values.generators.length; i++) {
@@ -1455,7 +1457,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1455
1457
  );
1456
1458
  }
1457
1459
  }
1458
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1460
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1459
1461
  if (\\"icon\\" in values && values.icon != null) {
1460
1462
  if (values.icon instanceof Image || values.icon instanceof URL) {
1461
1463
  // @ts-ignore: type is checked above.
@@ -1482,7 +1484,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1482
1484
  if (Array.isArray(values.icons) &&
1483
1485
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1484
1486
  // @ts-ignore: type is checked above.
1485
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1487
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1486
1488
 
1487
1489
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1488
1490
  for (let i = 0; i < values.icons.length; i++) {
@@ -1496,7 +1498,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1496
1498
  );
1497
1499
  }
1498
1500
  }
1499
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1501
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1500
1502
  if (\\"image\\" in values && values.image != null) {
1501
1503
  if (values.image instanceof Image || values.image instanceof URL) {
1502
1504
  // @ts-ignore: type is checked above.
@@ -1523,7 +1525,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1523
1525
  if (Array.isArray(values.images) &&
1524
1526
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1525
1527
  // @ts-ignore: type is checked above.
1526
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1528
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1527
1529
 
1528
1530
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1529
1531
  for (let i = 0; i < values.images.length; i++) {
@@ -1537,7 +1539,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1537
1539
  );
1538
1540
  }
1539
1541
  }
1540
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1542
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1541
1543
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1542
1544
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1543
1545
  // @ts-ignore: type is checked above.
@@ -1564,7 +1566,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1564
1566
  if (Array.isArray(values.replyTargets) &&
1565
1567
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1566
1568
  // @ts-ignore: type is checked above.
1567
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1569
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1568
1570
 
1569
1571
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1570
1572
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1578,7 +1580,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1578
1580
  );
1579
1581
  }
1580
1582
  }
1581
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1583
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1582
1584
  if (\\"location\\" in values && values.location != null) {
1583
1585
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1584
1586
  // @ts-ignore: type is checked above.
@@ -1605,7 +1607,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1605
1607
  if (Array.isArray(values.locations) &&
1606
1608
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1607
1609
  // @ts-ignore: type is checked above.
1608
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1610
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1609
1611
 
1610
1612
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1611
1613
  for (let i = 0; i < values.locations.length; i++) {
@@ -1619,7 +1621,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1619
1621
  );
1620
1622
  }
1621
1623
  }
1622
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1624
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1623
1625
  if (\\"preview\\" in values && values.preview != null) {
1624
1626
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1625
1627
  // @ts-ignore: type is checked above.
@@ -1646,7 +1648,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1646
1648
  if (Array.isArray(values.previews) &&
1647
1649
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1648
1650
  // @ts-ignore: type is checked above.
1649
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1651
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1650
1652
 
1651
1653
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1652
1654
  for (let i = 0; i < values.previews.length; i++) {
@@ -1660,7 +1662,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1660
1662
  );
1661
1663
  }
1662
1664
  }
1663
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1665
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1664
1666
  if (\\"published\\" in values && values.published != null) {
1665
1667
  if (isTemporalInstant(values.published)) {
1666
1668
  // @ts-ignore: type is checked above.
@@ -1673,7 +1675,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1673
1675
  );
1674
1676
  }
1675
1677
  }
1676
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1678
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1677
1679
  if (\\"replies\\" in values && values.replies != null) {
1678
1680
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1679
1681
  // @ts-ignore: type is checked above.
@@ -1686,7 +1688,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1686
1688
  );
1687
1689
  }
1688
1690
  }
1689
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1691
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1690
1692
  if (\\"shares\\" in values && values.shares != null) {
1691
1693
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1692
1694
  // @ts-ignore: type is checked above.
@@ -1699,7 +1701,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1699
1701
  );
1700
1702
  }
1701
1703
  }
1702
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1704
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1703
1705
  if (\\"likes\\" in values && values.likes != null) {
1704
1706
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1705
1707
  // @ts-ignore: type is checked above.
@@ -1712,7 +1714,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1712
1714
  );
1713
1715
  }
1714
1716
  }
1715
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1717
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1716
1718
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1717
1719
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1718
1720
  // @ts-ignore: type is checked above.
@@ -1725,7 +1727,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1725
1727
  );
1726
1728
  }
1727
1729
  }
1728
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1730
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1729
1731
  if (\\"startTime\\" in values && values.startTime != null) {
1730
1732
  if (isTemporalInstant(values.startTime)) {
1731
1733
  // @ts-ignore: type is checked above.
@@ -1738,7 +1740,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1738
1740
  );
1739
1741
  }
1740
1742
  }
1741
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1743
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1742
1744
  if (\\"summary\\" in values && values.summary != null) {
1743
1745
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1744
1746
  // @ts-ignore: type is checked above.
@@ -1765,7 +1767,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1765
1767
  if (Array.isArray(values.summaries) &&
1766
1768
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1767
1769
  // @ts-ignore: type is checked above.
1768
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1770
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1769
1771
 
1770
1772
  } else {
1771
1773
  throw new TypeError(
@@ -1774,13 +1776,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1774
1776
  );
1775
1777
  }
1776
1778
  }
1777
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1779
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1778
1780
  if (\\"tags\\" in values && values.tags != null) {
1779
1781
 
1780
1782
  if (Array.isArray(values.tags) &&
1781
1783
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1782
1784
  // @ts-ignore: type is checked above.
1783
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1785
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1784
1786
 
1785
1787
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1786
1788
  for (let i = 0; i < values.tags.length; i++) {
@@ -1794,7 +1796,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1794
1796
  );
1795
1797
  }
1796
1798
  }
1797
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1799
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1798
1800
  if (\\"updated\\" in values && values.updated != null) {
1799
1801
  if (isTemporalInstant(values.updated)) {
1800
1802
  // @ts-ignore: type is checked above.
@@ -1807,7 +1809,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1807
1809
  );
1808
1810
  }
1809
1811
  }
1810
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1812
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1811
1813
  if (\\"url\\" in values && values.url != null) {
1812
1814
  if (values.url instanceof URL || values.url instanceof Link) {
1813
1815
  // @ts-ignore: type is checked above.
@@ -1834,7 +1836,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1834
1836
  if (Array.isArray(values.urls) &&
1835
1837
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1836
1838
  // @ts-ignore: type is checked above.
1837
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1839
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1838
1840
 
1839
1841
  } else {
1840
1842
  throw new TypeError(
@@ -1843,7 +1845,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1843
1845
  );
1844
1846
  }
1845
1847
  }
1846
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1848
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1847
1849
  if (\\"to\\" in values && values.to != null) {
1848
1850
  if (values.to instanceof Object || values.to instanceof URL) {
1849
1851
  // @ts-ignore: type is checked above.
@@ -1870,7 +1872,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1870
1872
  if (Array.isArray(values.tos) &&
1871
1873
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1872
1874
  // @ts-ignore: type is checked above.
1873
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1875
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1874
1876
 
1875
1877
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1876
1878
  for (let i = 0; i < values.tos.length; i++) {
@@ -1884,7 +1886,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1884
1886
  );
1885
1887
  }
1886
1888
  }
1887
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1889
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1888
1890
  if (\\"bto\\" in values && values.bto != null) {
1889
1891
  if (values.bto instanceof Object || values.bto instanceof URL) {
1890
1892
  // @ts-ignore: type is checked above.
@@ -1911,7 +1913,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1911
1913
  if (Array.isArray(values.btos) &&
1912
1914
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1913
1915
  // @ts-ignore: type is checked above.
1914
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1916
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1915
1917
 
1916
1918
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1917
1919
  for (let i = 0; i < values.btos.length; i++) {
@@ -1925,7 +1927,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1925
1927
  );
1926
1928
  }
1927
1929
  }
1928
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1930
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1929
1931
  if (\\"cc\\" in values && values.cc != null) {
1930
1932
  if (values.cc instanceof Object || values.cc instanceof URL) {
1931
1933
  // @ts-ignore: type is checked above.
@@ -1952,7 +1954,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1952
1954
  if (Array.isArray(values.ccs) &&
1953
1955
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1954
1956
  // @ts-ignore: type is checked above.
1955
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1957
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1956
1958
 
1957
1959
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1958
1960
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1966,7 +1968,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1966
1968
  );
1967
1969
  }
1968
1970
  }
1969
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1971
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1970
1972
  if (\\"bcc\\" in values && values.bcc != null) {
1971
1973
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1972
1974
  // @ts-ignore: type is checked above.
@@ -1993,7 +1995,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1993
1995
  if (Array.isArray(values.bccs) &&
1994
1996
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1995
1997
  // @ts-ignore: type is checked above.
1996
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1998
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1997
1999
 
1998
2000
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
1999
2001
  for (let i = 0; i < values.bccs.length; i++) {
@@ -2007,7 +2009,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2007
2009
  );
2008
2010
  }
2009
2011
  }
2010
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2012
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2011
2013
  if (\\"mediaType\\" in values && values.mediaType != null) {
2012
2014
  if (typeof values.mediaType === \\"string\\") {
2013
2015
  // @ts-ignore: type is checked above.
@@ -2020,7 +2022,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2020
2022
  );
2021
2023
  }
2022
2024
  }
2023
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2025
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2024
2026
  if (\\"duration\\" in values && values.duration != null) {
2025
2027
  if (isTemporalDuration(values.duration)) {
2026
2028
  // @ts-ignore: type is checked above.
@@ -2033,7 +2035,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2033
2035
  );
2034
2036
  }
2035
2037
  }
2036
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2038
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2037
2039
  if (\\"sensitive\\" in values && values.sensitive != null) {
2038
2040
  if (typeof values.sensitive === \\"boolean\\") {
2039
2041
  // @ts-ignore: type is checked above.
@@ -2046,7 +2048,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2046
2048
  );
2047
2049
  }
2048
2050
  }
2049
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2051
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2050
2052
  if (\\"source\\" in values && values.source != null) {
2051
2053
  if (values.source instanceof Source) {
2052
2054
  // @ts-ignore: type is checked above.
@@ -2059,7 +2061,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2059
2061
  );
2060
2062
  }
2061
2063
  }
2062
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2064
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2063
2065
  if (\\"proof\\" in values && values.proof != null) {
2064
2066
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2065
2067
  // @ts-ignore: type is checked above.
@@ -2086,7 +2088,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2086
2088
  if (Array.isArray(values.proofs) &&
2087
2089
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2088
2090
  // @ts-ignore: type is checked above.
2089
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2091
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2090
2092
 
2091
2093
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2092
2094
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2100,7 +2102,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2100
2102
  );
2101
2103
  }
2102
2104
  }
2103
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2105
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2104
2106
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2105
2107
  if (values.interactionPolicy instanceof InteractionPolicy) {
2106
2108
  // @ts-ignore: type is checked above.
@@ -2113,7 +2115,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2113
2115
  );
2114
2116
  }
2115
2117
  }
2116
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2118
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2117
2119
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2118
2120
  if (values.approvedBy instanceof URL) {
2119
2121
  // @ts-ignore: type is checked above.
@@ -2126,7 +2128,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2126
2128
  );
2127
2129
  }
2128
2130
  }
2129
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2131
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2130
2132
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2131
2133
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2132
2134
  // @ts-ignore: type is checked above.
@@ -2139,7 +2141,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2139
2141
  );
2140
2142
  }
2141
2143
  }
2142
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2144
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2143
2145
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2144
2146
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2145
2147
  // @ts-ignore: type is checked above.
@@ -2152,7 +2154,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2152
2154
  );
2153
2155
  }
2154
2156
  }
2155
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2157
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2156
2158
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2157
2159
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2158
2160
  // @ts-ignore: type is checked above.
@@ -13740,7 +13742,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13740
13742
  * Clones this instance, optionally updating it with the given values.
13741
13743
  * @param values The values to update the clone with.
13742
13744
  * @param options The options to use for cloning.
13743
- * @returns The cloned instance.
13745
+ * @returns The cloned instance with its own property arrays. Nested objects
13746
+ * and URLs are shared with this instance.
13744
13747
  */
13745
13748
  override clone(
13746
13749
  values:
@@ -14137,7 +14140,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14137
14140
  * Clones this instance, optionally updating it with the given values.
14138
14141
  * @param values The values to update the clone with.
14139
14142
  * @param options The options to use for cloning.
14140
- * @returns The cloned instance.
14143
+ * @returns The cloned instance with its own property arrays. Nested objects
14144
+ * and URLs are shared with this instance.
14141
14145
  */
14142
14146
  override clone(
14143
14147
  values:
@@ -14175,7 +14179,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14175
14179
  // @ts-ignore: $warning is not recognized as a property, but it is.
14176
14180
  options = { ...options, $warning: this._warning };
14177
14181
  }
14178
- 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);
14182
+ 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);
14179
14183
  if (\\"quote\\" in values && values.quote != null) {
14180
14184
  if (values.quote instanceof Object || values.quote instanceof URL) {
14181
14185
  // @ts-ignore: type is checked above.
@@ -14188,7 +14192,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14188
14192
  );
14189
14193
  }
14190
14194
  }
14191
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
14195
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
14192
14196
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
14193
14197
  if (values.quoteUrl instanceof URL) {
14194
14198
  // @ts-ignore: type is checked above.
@@ -14201,7 +14205,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14201
14205
  );
14202
14206
  }
14203
14207
  }
14204
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
14208
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
14205
14209
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
14206
14210
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
14207
14211
  // @ts-ignore: type is checked above.
@@ -15370,7 +15374,7 @@ instruments?: (Object | URL)[];}
15370
15374
  if (Array.isArray(values.actors) &&
15371
15375
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15372
15376
  // @ts-ignore: type is checked above.
15373
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15377
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15374
15378
 
15375
15379
  for (let i = 0; i < values.actors.length; i++) {
15376
15380
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -15410,7 +15414,7 @@ instruments?: (Object | URL)[];}
15410
15414
  if (Array.isArray(values.objects) &&
15411
15415
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15412
15416
  // @ts-ignore: type is checked above.
15413
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15417
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15414
15418
 
15415
15419
  for (let i = 0; i < values.objects.length; i++) {
15416
15420
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -15450,7 +15454,7 @@ instruments?: (Object | URL)[];}
15450
15454
  if (Array.isArray(values.targets) &&
15451
15455
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15452
15456
  // @ts-ignore: type is checked above.
15453
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15457
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15454
15458
 
15455
15459
  for (let i = 0; i < values.targets.length; i++) {
15456
15460
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -15490,7 +15494,7 @@ instruments?: (Object | URL)[];}
15490
15494
  if (Array.isArray(values.results) &&
15491
15495
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15492
15496
  // @ts-ignore: type is checked above.
15493
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15497
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15494
15498
 
15495
15499
  for (let i = 0; i < values.results.length; i++) {
15496
15500
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -15530,7 +15534,7 @@ instruments?: (Object | URL)[];}
15530
15534
  if (Array.isArray(values.origins) &&
15531
15535
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15532
15536
  // @ts-ignore: type is checked above.
15533
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15537
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15534
15538
 
15535
15539
  for (let i = 0; i < values.origins.length; i++) {
15536
15540
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -15570,7 +15574,7 @@ instruments?: (Object | URL)[];}
15570
15574
  if (Array.isArray(values.instruments) &&
15571
15575
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15572
15576
  // @ts-ignore: type is checked above.
15573
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15577
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15574
15578
 
15575
15579
  for (let i = 0; i < values.instruments.length; i++) {
15576
15580
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -15589,7 +15593,8 @@ instruments?: (Object | URL)[];}
15589
15593
  * Clones this instance, optionally updating it with the given values.
15590
15594
  * @param values The values to update the clone with.
15591
15595
  * @param options The options to use for cloning.
15592
- * @returns The cloned instance.
15596
+ * @returns The cloned instance with its own property arrays. Nested objects
15597
+ * and URLs are shared with this instance.
15593
15598
  */
15594
15599
  override clone(
15595
15600
  values:
@@ -15633,7 +15638,7 @@ instruments?: (Object | URL)[];}
15633
15638
  // @ts-ignore: $warning is not recognized as a property, but it is.
15634
15639
  options = { ...options, $warning: this._warning };
15635
15640
  }
15636
- 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);
15641
+ 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);
15637
15642
  if (\\"actor\\" in values && values.actor != null) {
15638
15643
  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) {
15639
15644
  // @ts-ignore: type is checked above.
@@ -15660,7 +15665,7 @@ instruments?: (Object | URL)[];}
15660
15665
  if (Array.isArray(values.actors) &&
15661
15666
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15662
15667
  // @ts-ignore: type is checked above.
15663
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15668
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15664
15669
 
15665
15670
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
15666
15671
  for (let i = 0; i < values.actors.length; i++) {
@@ -15674,7 +15679,7 @@ instruments?: (Object | URL)[];}
15674
15679
  );
15675
15680
  }
15676
15681
  }
15677
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15682
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15678
15683
  if (\\"object\\" in values && values.object != null) {
15679
15684
  if (values.object instanceof Object || values.object instanceof URL) {
15680
15685
  // @ts-ignore: type is checked above.
@@ -15701,7 +15706,7 @@ instruments?: (Object | URL)[];}
15701
15706
  if (Array.isArray(values.objects) &&
15702
15707
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15703
15708
  // @ts-ignore: type is checked above.
15704
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15709
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15705
15710
 
15706
15711
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
15707
15712
  for (let i = 0; i < values.objects.length; i++) {
@@ -15715,7 +15720,7 @@ instruments?: (Object | URL)[];}
15715
15720
  );
15716
15721
  }
15717
15722
  }
15718
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15723
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15719
15724
  if (\\"target\\" in values && values.target != null) {
15720
15725
  if (values.target instanceof Object || values.target instanceof URL) {
15721
15726
  // @ts-ignore: type is checked above.
@@ -15742,7 +15747,7 @@ instruments?: (Object | URL)[];}
15742
15747
  if (Array.isArray(values.targets) &&
15743
15748
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15744
15749
  // @ts-ignore: type is checked above.
15745
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15750
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15746
15751
 
15747
15752
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
15748
15753
  for (let i = 0; i < values.targets.length; i++) {
@@ -15756,7 +15761,7 @@ instruments?: (Object | URL)[];}
15756
15761
  );
15757
15762
  }
15758
15763
  }
15759
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15764
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15760
15765
  if (\\"result\\" in values && values.result != null) {
15761
15766
  if (values.result instanceof Object || values.result instanceof URL) {
15762
15767
  // @ts-ignore: type is checked above.
@@ -15783,7 +15788,7 @@ instruments?: (Object | URL)[];}
15783
15788
  if (Array.isArray(values.results) &&
15784
15789
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15785
15790
  // @ts-ignore: type is checked above.
15786
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15791
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15787
15792
 
15788
15793
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
15789
15794
  for (let i = 0; i < values.results.length; i++) {
@@ -15797,7 +15802,7 @@ instruments?: (Object | URL)[];}
15797
15802
  );
15798
15803
  }
15799
15804
  }
15800
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15805
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15801
15806
  if (\\"origin\\" in values && values.origin != null) {
15802
15807
  if (values.origin instanceof Object || values.origin instanceof URL) {
15803
15808
  // @ts-ignore: type is checked above.
@@ -15824,7 +15829,7 @@ instruments?: (Object | URL)[];}
15824
15829
  if (Array.isArray(values.origins) &&
15825
15830
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15826
15831
  // @ts-ignore: type is checked above.
15827
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15832
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15828
15833
 
15829
15834
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
15830
15835
  for (let i = 0; i < values.origins.length; i++) {
@@ -15838,7 +15843,7 @@ instruments?: (Object | URL)[];}
15838
15843
  );
15839
15844
  }
15840
15845
  }
15841
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15846
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15842
15847
  if (\\"instrument\\" in values && values.instrument != null) {
15843
15848
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
15844
15849
  // @ts-ignore: type is checked above.
@@ -15865,7 +15870,7 @@ instruments?: (Object | URL)[];}
15865
15870
  if (Array.isArray(values.instruments) &&
15866
15871
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15867
15872
  // @ts-ignore: type is checked above.
15868
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15873
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15869
15874
 
15870
15875
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
15871
15876
  for (let i = 0; i < values.instruments.length; i++) {
@@ -18988,7 +18993,8 @@ instruments?: (Object | URL)[];}
18988
18993
  * Clones this instance, optionally updating it with the given values.
18989
18994
  * @param values The values to update the clone with.
18990
18995
  * @param options The options to use for cloning.
18991
- * @returns The cloned instance.
18996
+ * @returns The cloned instance with its own property arrays. Nested objects
18997
+ * and URLs are shared with this instance.
18992
18998
  */
18993
18999
  override clone(
18994
19000
  values:
@@ -19412,7 +19418,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19412
19418
  * Clones this instance, optionally updating it with the given values.
19413
19419
  * @param values The values to update the clone with.
19414
19420
  * @param options The options to use for cloning.
19415
- * @returns The cloned instance.
19421
+ * @returns The cloned instance with its own property arrays. Nested objects
19422
+ * and URLs are shared with this instance.
19416
19423
  */
19417
19424
  clone(
19418
19425
  values:
@@ -19440,7 +19447,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19440
19447
  { id: values.id ?? this.id },
19441
19448
  options
19442
19449
  );
19443
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
19450
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
19444
19451
  if (\\"name\\" in values && values.name != null) {
19445
19452
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
19446
19453
  // @ts-ignore: type is checked above.
@@ -19453,7 +19460,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19453
19460
  );
19454
19461
  }
19455
19462
  }
19456
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
19463
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
19457
19464
  if (\\"value\\" in values && values.value != null) {
19458
19465
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
19459
19466
  // @ts-ignore: type is checked above.
@@ -20062,7 +20069,8 @@ unit?: string | null;numericalValue?: Decimal | null;}
20062
20069
  * Clones this instance, optionally updating it with the given values.
20063
20070
  * @param values The values to update the clone with.
20064
20071
  * @param options The options to use for cloning.
20065
- * @returns The cloned instance.
20072
+ * @returns The cloned instance with its own property arrays. Nested objects
20073
+ * and URLs are shared with this instance.
20066
20074
  */
20067
20075
  clone(
20068
20076
  values:
@@ -20090,7 +20098,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
20090
20098
  { id: values.id ?? this.id },
20091
20099
  options
20092
20100
  );
20093
- clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6;
20101
+ clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6.slice();
20094
20102
  if (\\"unit\\" in values && values.unit != null) {
20095
20103
  if (typeof values.unit === \\"string\\") {
20096
20104
  // @ts-ignore: type is checked above.
@@ -20103,7 +20111,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
20103
20111
  );
20104
20112
  }
20105
20113
  }
20106
- clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D;
20114
+ clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D.slice();
20107
20115
  if (\\"numericalValue\\" in values && values.numericalValue != null) {
20108
20116
  if (typeof values.numericalValue === \\"string\\" && isDecimal(values.numericalValue)) {
20109
20117
  // @ts-ignore: type is checked above.
@@ -20641,7 +20649,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20641
20649
  * Clones this instance, optionally updating it with the given values.
20642
20650
  * @param values The values to update the clone with.
20643
20651
  * @param options The options to use for cloning.
20644
- * @returns The cloned instance.
20652
+ * @returns The cloned instance with its own property arrays. Nested objects
20653
+ * and URLs are shared with this instance.
20645
20654
  */
20646
20655
  override clone(
20647
20656
  values:
@@ -20679,7 +20688,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20679
20688
  // @ts-ignore: $warning is not recognized as a property, but it is.
20680
20689
  options = { ...options, $warning: this._warning };
20681
20690
  }
20682
- 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);
20691
+ 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);
20683
20692
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
20684
20693
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
20685
20694
  // @ts-ignore: type is checked above.
@@ -20692,7 +20701,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20692
20701
  );
20693
20702
  }
20694
20703
  }
20695
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20704
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20696
20705
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
20697
20706
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
20698
20707
  // @ts-ignore: type is checked above.
@@ -21697,7 +21706,8 @@ instruments?: (Object | URL)[];}
21697
21706
  * Clones this instance, optionally updating it with the given values.
21698
21707
  * @param values The values to update the clone with.
21699
21708
  * @param options The options to use for cloning.
21700
- * @returns The cloned instance.
21709
+ * @returns The cloned instance with its own property arrays. Nested objects
21710
+ * and URLs are shared with this instance.
21701
21711
  */
21702
21712
  override clone(
21703
21713
  values:
@@ -22156,7 +22166,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22156
22166
  * Clones this instance, optionally updating it with the given values.
22157
22167
  * @param values The values to update the clone with.
22158
22168
  * @param options The options to use for cloning.
22159
- * @returns The cloned instance.
22169
+ * @returns The cloned instance with its own property arrays. Nested objects
22170
+ * and URLs are shared with this instance.
22160
22171
  */
22161
22172
  clone(
22162
22173
  values:
@@ -22184,7 +22195,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22184
22195
  { id: values.id ?? this.id },
22185
22196
  options
22186
22197
  );
22187
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
22198
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
22188
22199
  if (\\"canLike\\" in values && values.canLike != null) {
22189
22200
  if (values.canLike instanceof InteractionRule) {
22190
22201
  // @ts-ignore: type is checked above.
@@ -22197,7 +22208,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22197
22208
  );
22198
22209
  }
22199
22210
  }
22200
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
22211
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
22201
22212
  if (\\"canReply\\" in values && values.canReply != null) {
22202
22213
  if (values.canReply instanceof InteractionRule) {
22203
22214
  // @ts-ignore: type is checked above.
@@ -22210,7 +22221,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22210
22221
  );
22211
22222
  }
22212
22223
  }
22213
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
22224
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
22214
22225
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
22215
22226
  if (values.canAnnounce instanceof InteractionRule) {
22216
22227
  // @ts-ignore: type is checked above.
@@ -22223,7 +22234,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22223
22234
  );
22224
22235
  }
22225
22236
  }
22226
- clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote;
22237
+ clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote.slice();
22227
22238
  if (\\"canQuote\\" in values && values.canQuote != null) {
22228
22239
  if (values.canQuote instanceof InteractionRule) {
22229
22240
  // @ts-ignore: type is checked above.
@@ -22976,7 +22987,7 @@ manualApprovals?: (URL)[];}
22976
22987
  if (Array.isArray(values.automaticApprovals) &&
22977
22988
  values.automaticApprovals.every(v => v instanceof URL)) {
22978
22989
  // @ts-ignore: type is checked above.
22979
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22990
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22980
22991
 
22981
22992
  } else {
22982
22993
  throw new TypeError(
@@ -23012,7 +23023,7 @@ manualApprovals?: (URL)[];}
23012
23023
  if (Array.isArray(values.manualApprovals) &&
23013
23024
  values.manualApprovals.every(v => v instanceof URL)) {
23014
23025
  // @ts-ignore: type is checked above.
23015
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
23026
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
23016
23027
 
23017
23028
  } else {
23018
23029
  throw new TypeError(
@@ -23027,7 +23038,8 @@ manualApprovals?: (URL)[];}
23027
23038
  * Clones this instance, optionally updating it with the given values.
23028
23039
  * @param values The values to update the clone with.
23029
23040
  * @param options The options to use for cloning.
23030
- * @returns The cloned instance.
23041
+ * @returns The cloned instance with its own property arrays. Nested objects
23042
+ * and URLs are shared with this instance.
23031
23043
  */
23032
23044
  clone(
23033
23045
  values:
@@ -23057,7 +23069,7 @@ manualApprovals?: (URL)[];}
23057
23069
  { id: values.id ?? this.id },
23058
23070
  options
23059
23071
  );
23060
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
23072
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
23061
23073
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
23062
23074
  if (values.automaticApproval instanceof URL) {
23063
23075
  // @ts-ignore: type is checked above.
@@ -23084,7 +23096,7 @@ manualApprovals?: (URL)[];}
23084
23096
  if (Array.isArray(values.automaticApprovals) &&
23085
23097
  values.automaticApprovals.every(v => v instanceof URL)) {
23086
23098
  // @ts-ignore: type is checked above.
23087
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
23099
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
23088
23100
 
23089
23101
  } else {
23090
23102
  throw new TypeError(
@@ -23093,7 +23105,7 @@ manualApprovals?: (URL)[];}
23093
23105
  );
23094
23106
  }
23095
23107
  }
23096
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
23108
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
23097
23109
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
23098
23110
  if (values.manualApproval instanceof URL) {
23099
23111
  // @ts-ignore: type is checked above.
@@ -23120,7 +23132,7 @@ manualApprovals?: (URL)[];}
23120
23132
  if (Array.isArray(values.manualApprovals) &&
23121
23133
  values.manualApprovals.every(v => v instanceof URL)) {
23122
23134
  // @ts-ignore: type is checked above.
23123
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
23135
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
23124
23136
 
23125
23137
  } else {
23126
23138
  throw new TypeError(
@@ -23667,7 +23679,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23667
23679
  * Clones this instance, optionally updating it with the given values.
23668
23680
  * @param values The values to update the clone with.
23669
23681
  * @param options The options to use for cloning.
23670
- * @returns The cloned instance.
23682
+ * @returns The cloned instance with its own property arrays. Nested objects
23683
+ * and URLs are shared with this instance.
23671
23684
  */
23672
23685
  override clone(
23673
23686
  values:
@@ -23705,7 +23718,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23705
23718
  // @ts-ignore: $warning is not recognized as a property, but it is.
23706
23719
  options = { ...options, $warning: this._warning };
23707
23720
  }
23708
- 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);
23721
+ 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);
23709
23722
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
23710
23723
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
23711
23724
  // @ts-ignore: type is checked above.
@@ -23718,7 +23731,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23718
23731
  );
23719
23732
  }
23720
23733
  }
23721
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23734
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23722
23735
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
23723
23736
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
23724
23737
  // @ts-ignore: type is checked above.
@@ -24722,7 +24735,8 @@ instruments?: (Object | URL)[];}
24722
24735
  * Clones this instance, optionally updating it with the given values.
24723
24736
  * @param values The values to update the clone with.
24724
24737
  * @param options The options to use for cloning.
24725
- * @returns The cloned instance.
24738
+ * @returns The cloned instance with its own property arrays. Nested objects
24739
+ * and URLs are shared with this instance.
24726
24740
  */
24727
24741
  override clone(
24728
24742
  values:
@@ -25097,7 +25111,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25097
25111
  * Clones this instance, optionally updating it with the given values.
25098
25112
  * @param values The values to update the clone with.
25099
25113
  * @param options The options to use for cloning.
25100
- * @returns The cloned instance.
25114
+ * @returns The cloned instance with its own property arrays. Nested objects
25115
+ * and URLs are shared with this instance.
25101
25116
  */
25102
25117
  override clone(
25103
25118
  values:
@@ -25135,7 +25150,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25135
25150
  // @ts-ignore: $warning is not recognized as a property, but it is.
25136
25151
  options = { ...options, $warning: this._warning };
25137
25152
  }
25138
- 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);
25153
+ 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);
25139
25154
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
25140
25155
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
25141
25156
  // @ts-ignore: type is checked above.
@@ -25148,7 +25163,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25148
25163
  );
25149
25164
  }
25150
25165
  }
25151
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25166
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25152
25167
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
25153
25168
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
25154
25169
  // @ts-ignore: type is checked above.
@@ -26152,7 +26167,8 @@ instruments?: (Object | URL)[];}
26152
26167
  * Clones this instance, optionally updating it with the given values.
26153
26168
  * @param values The values to update the clone with.
26154
26169
  * @param options The options to use for cloning.
26155
- * @returns The cloned instance.
26170
+ * @returns The cloned instance with its own property arrays. Nested objects
26171
+ * and URLs are shared with this instance.
26156
26172
  */
26157
26173
  override clone(
26158
26174
  values:
@@ -26527,7 +26543,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26527
26543
  * Clones this instance, optionally updating it with the given values.
26528
26544
  * @param values The values to update the clone with.
26529
26545
  * @param options The options to use for cloning.
26530
- * @returns The cloned instance.
26546
+ * @returns The cloned instance with its own property arrays. Nested objects
26547
+ * and URLs are shared with this instance.
26531
26548
  */
26532
26549
  override clone(
26533
26550
  values:
@@ -26565,7 +26582,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26565
26582
  // @ts-ignore: $warning is not recognized as a property, but it is.
26566
26583
  options = { ...options, $warning: this._warning };
26567
26584
  }
26568
- 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);
26585
+ 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);
26569
26586
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
26570
26587
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
26571
26588
  // @ts-ignore: type is checked above.
@@ -26578,7 +26595,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26578
26595
  );
26579
26596
  }
26580
26597
  }
26581
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
26598
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
26582
26599
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
26583
26600
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
26584
26601
  // @ts-ignore: type is checked above.
@@ -27581,7 +27598,8 @@ instruments?: (Object | URL)[];}
27581
27598
  * Clones this instance, optionally updating it with the given values.
27582
27599
  * @param values The values to update the clone with.
27583
27600
  * @param options The options to use for cloning.
27584
- * @returns The cloned instance.
27601
+ * @returns The cloned instance with its own property arrays. Nested objects
27602
+ * and URLs are shared with this instance.
27585
27603
  */
27586
27604
  override clone(
27587
27605
  values:
@@ -28004,7 +28022,7 @@ endpoints?: (URL)[];}
28004
28022
  if (Array.isArray(values.endpoints) &&
28005
28023
  values.endpoints.every(v => v instanceof URL)) {
28006
28024
  // @ts-ignore: type is checked above.
28007
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
28025
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
28008
28026
 
28009
28027
  } else {
28010
28028
  throw new TypeError(
@@ -28019,7 +28037,8 @@ endpoints?: (URL)[];}
28019
28037
  * Clones this instance, optionally updating it with the given values.
28020
28038
  * @param values The values to update the clone with.
28021
28039
  * @param options The options to use for cloning.
28022
- * @returns The cloned instance.
28040
+ * @returns The cloned instance with its own property arrays. Nested objects
28041
+ * and URLs are shared with this instance.
28023
28042
  */
28024
28043
  clone(
28025
28044
  values:
@@ -28048,7 +28067,7 @@ endpoints?: (URL)[];}
28048
28067
  { id: values.id ?? this.id },
28049
28068
  options
28050
28069
  );
28051
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
28070
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
28052
28071
  if (\\"endpoint\\" in values && values.endpoint != null) {
28053
28072
  if (values.endpoint instanceof URL) {
28054
28073
  // @ts-ignore: type is checked above.
@@ -28075,7 +28094,7 @@ endpoints?: (URL)[];}
28075
28094
  if (Array.isArray(values.endpoints) &&
28076
28095
  values.endpoints.every(v => v instanceof URL)) {
28077
28096
  // @ts-ignore: type is checked above.
28078
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
28097
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
28079
28098
 
28080
28099
  } else {
28081
28100
  throw new TypeError(
@@ -28462,7 +28481,8 @@ endpoints?: (URL)[];}
28462
28481
  * Clones this instance, optionally updating it with the given values.
28463
28482
  * @param values The values to update the clone with.
28464
28483
  * @param options The options to use for cloning.
28465
- * @returns The cloned instance.
28484
+ * @returns The cloned instance with its own property arrays. Nested objects
28485
+ * and URLs are shared with this instance.
28466
28486
  */
28467
28487
  override clone(
28468
28488
  values:
@@ -28902,7 +28922,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28902
28922
  * Clones this instance, optionally updating it with the given values.
28903
28923
  * @param values The values to update the clone with.
28904
28924
  * @param options The options to use for cloning.
28905
- * @returns The cloned instance.
28925
+ * @returns The cloned instance with its own property arrays. Nested objects
28926
+ * and URLs are shared with this instance.
28906
28927
  */
28907
28928
  clone(
28908
28929
  values:
@@ -28930,7 +28951,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28930
28951
  { id: values.id ?? this.id },
28931
28952
  options
28932
28953
  );
28933
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
28954
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
28934
28955
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
28935
28956
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
28936
28957
  // @ts-ignore: type is checked above.
@@ -28943,7 +28964,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28943
28964
  );
28944
28965
  }
28945
28966
  }
28946
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28967
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28947
28968
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
28948
28969
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
28949
28970
  // @ts-ignore: type is checked above.
@@ -28956,7 +28977,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28956
28977
  );
28957
28978
  }
28958
28979
  }
28959
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
28980
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
28960
28981
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
28961
28982
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
28962
28983
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -28971,7 +28992,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28971
28992
  );
28972
28993
  }
28973
28994
  }
28974
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
28995
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
28975
28996
  if (\\"proofValue\\" in values && values.proofValue != null) {
28976
28997
  if (values.proofValue instanceof Uint8Array) {
28977
28998
  // @ts-ignore: type is checked above.
@@ -28984,7 +29005,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28984
29005
  );
28985
29006
  }
28986
29007
  }
28987
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
29008
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
28988
29009
  if (\\"created\\" in values && values.created != null) {
28989
29010
  if (isTemporalInstant(values.created)) {
28990
29011
  // @ts-ignore: type is checked above.
@@ -29983,7 +30004,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29983
30004
  * Clones this instance, optionally updating it with the given values.
29984
30005
  * @param values The values to update the clone with.
29985
30006
  * @param options The options to use for cloning.
29986
- * @returns The cloned instance.
30007
+ * @returns The cloned instance with its own property arrays. Nested objects
30008
+ * and URLs are shared with this instance.
29987
30009
  */
29988
30010
  clone(
29989
30011
  values:
@@ -30011,7 +30033,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
30011
30033
  { id: values.id ?? this.id },
30012
30034
  options
30013
30035
  );
30014
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
30036
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
30015
30037
  if (\\"owner\\" in values && values.owner != null) {
30016
30038
  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) {
30017
30039
  // @ts-ignore: type is checked above.
@@ -30024,7 +30046,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
30024
30046
  );
30025
30047
  }
30026
30048
  }
30027
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
30049
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
30028
30050
  if (\\"publicKey\\" in values && values.publicKey != null) {
30029
30051
  if (
30030
30052
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -30923,7 +30945,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30923
30945
  * Clones this instance, optionally updating it with the given values.
30924
30946
  * @param values The values to update the clone with.
30925
30947
  * @param options The options to use for cloning.
30926
- * @returns The cloned instance.
30948
+ * @returns The cloned instance with its own property arrays. Nested objects
30949
+ * and URLs are shared with this instance.
30927
30950
  */
30928
30951
  clone(
30929
30952
  values:
@@ -30951,7 +30974,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30951
30974
  { id: values.id ?? this.id },
30952
30975
  options
30953
30976
  );
30954
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30977
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30955
30978
  if (\\"controller\\" in values && values.controller != null) {
30956
30979
  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) {
30957
30980
  // @ts-ignore: type is checked above.
@@ -30964,7 +30987,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30964
30987
  );
30965
30988
  }
30966
30989
  }
30967
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
30990
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
30968
30991
  if (\\"publicKey\\" in values && values.publicKey != null) {
30969
30992
  if (
30970
30993
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -31812,7 +31835,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31812
31835
  * Clones this instance, optionally updating it with the given values.
31813
31836
  * @param values The values to update the clone with.
31814
31837
  * @param options The options to use for cloning.
31815
- * @returns The cloned instance.
31838
+ * @returns The cloned instance with its own property arrays. Nested objects
31839
+ * and URLs are shared with this instance.
31816
31840
  */
31817
31841
  override clone(
31818
31842
  values:
@@ -31850,7 +31874,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31850
31874
  // @ts-ignore: $warning is not recognized as a property, but it is.
31851
31875
  options = { ...options, $warning: this._warning };
31852
31876
  }
31853
- const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates;
31877
+ const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates.slice();
31854
31878
  if (\\"stipulates\\" in values && values.stipulates != null) {
31855
31879
  if (values.stipulates instanceof Commitment) {
31856
31880
  // @ts-ignore: type is checked above.
@@ -31863,7 +31887,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31863
31887
  );
31864
31888
  }
31865
31889
  }
31866
- clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal;
31890
+ clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal.slice();
31867
31891
  if (\\"stipulatesReciprocal\\" in values && values.stipulatesReciprocal != null) {
31868
31892
  if (values.stipulatesReciprocal instanceof Commitment) {
31869
31893
  // @ts-ignore: type is checked above.
@@ -32483,7 +32507,8 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32483
32507
  * Clones this instance, optionally updating it with the given values.
32484
32508
  * @param values The values to update the clone with.
32485
32509
  * @param options The options to use for cloning.
32486
- * @returns The cloned instance.
32510
+ * @returns The cloned instance with its own property arrays. Nested objects
32511
+ * and URLs are shared with this instance.
32487
32512
  */
32488
32513
  clone(
32489
32514
  values:
@@ -32511,7 +32536,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32511
32536
  { id: values.id ?? this.id },
32512
32537
  options
32513
32538
  );
32514
- clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies;
32539
+ clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies.slice();
32515
32540
  if (\\"satisfies\\" in values && values.satisfies != null) {
32516
32541
  if (values.satisfies instanceof URL) {
32517
32542
  // @ts-ignore: type is checked above.
@@ -32524,7 +32549,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32524
32549
  );
32525
32550
  }
32526
32551
  }
32527
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
32552
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
32528
32553
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
32529
32554
  if (values.resourceQuantity instanceof Measure) {
32530
32555
  // @ts-ignore: type is checked above.
@@ -33177,7 +33202,8 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33177
33202
  * Clones this instance, optionally updating it with the given values.
33178
33203
  * @param values The values to update the clone with.
33179
33204
  * @param options The options to use for cloning.
33180
- * @returns The cloned instance.
33205
+ * @returns The cloned instance with its own property arrays. Nested objects
33206
+ * and URLs are shared with this instance.
33181
33207
  */
33182
33208
  clone(
33183
33209
  values:
@@ -33205,7 +33231,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33205
33231
  { id: values.id ?? this.id },
33206
33232
  options
33207
33233
  );
33208
- clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action;
33234
+ clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action.slice();
33209
33235
  if (\\"action\\" in values && values.action != null) {
33210
33236
  if (typeof values.action === \\"string\\") {
33211
33237
  // @ts-ignore: type is checked above.
@@ -33218,7 +33244,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33218
33244
  );
33219
33245
  }
33220
33246
  }
33221
- clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo;
33247
+ clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo.slice();
33222
33248
  if (\\"resourceConformsTo\\" in values && values.resourceConformsTo != null) {
33223
33249
  if (values.resourceConformsTo instanceof URL) {
33224
33250
  // @ts-ignore: type is checked above.
@@ -33231,7 +33257,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33231
33257
  );
33232
33258
  }
33233
33259
  }
33234
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
33260
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
33235
33261
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
33236
33262
  if (values.resourceQuantity instanceof Measure) {
33237
33263
  // @ts-ignore: type is checked above.
@@ -33244,7 +33270,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33244
33270
  );
33245
33271
  }
33246
33272
  }
33247
- clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity;
33273
+ clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity.slice();
33248
33274
  if (\\"availableQuantity\\" in values && values.availableQuantity != null) {
33249
33275
  if (values.availableQuantity instanceof Measure) {
33250
33276
  // @ts-ignore: type is checked above.
@@ -33257,7 +33283,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33257
33283
  );
33258
33284
  }
33259
33285
  }
33260
- clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity;
33286
+ clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity.slice();
33261
33287
  if (\\"minimumQuantity\\" in values && values.minimumQuantity != null) {
33262
33288
  if (values.minimumQuantity instanceof Measure) {
33263
33289
  // @ts-ignore: type is checked above.
@@ -34136,7 +34162,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34136
34162
  * Clones this instance, optionally updating it with the given values.
34137
34163
  * @param values The values to update the clone with.
34138
34164
  * @param options The options to use for cloning.
34139
- * @returns The cloned instance.
34165
+ * @returns The cloned instance with its own property arrays. Nested objects
34166
+ * and URLs are shared with this instance.
34140
34167
  */
34141
34168
  override clone(
34142
34169
  values:
@@ -34174,7 +34201,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34174
34201
  // @ts-ignore: $warning is not recognized as a property, but it is.
34175
34202
  options = { ...options, $warning: this._warning };
34176
34203
  }
34177
- const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose;
34204
+ const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose.slice();
34178
34205
  if (\\"purpose\\" in values && values.purpose != null) {
34179
34206
  if (typeof values.purpose === \\"string\\") {
34180
34207
  // @ts-ignore: type is checked above.
@@ -34187,7 +34214,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34187
34214
  );
34188
34215
  }
34189
34216
  }
34190
- clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes;
34217
+ clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes.slice();
34191
34218
  if (\\"publishes\\" in values && values.publishes != null) {
34192
34219
  if (values.publishes instanceof Intent) {
34193
34220
  // @ts-ignore: type is checked above.
@@ -34200,7 +34227,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34200
34227
  );
34201
34228
  }
34202
34229
  }
34203
- clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal;
34230
+ clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal.slice();
34204
34231
  if (\\"reciprocal\\" in values && values.reciprocal != null) {
34205
34232
  if (values.reciprocal instanceof Intent) {
34206
34233
  // @ts-ignore: type is checked above.
@@ -34213,7 +34240,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34213
34240
  );
34214
34241
  }
34215
34242
  }
34216
- clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased;
34243
+ clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased.slice();
34217
34244
  if (\\"unitBased\\" in values && values.unitBased != null) {
34218
34245
  if (typeof values.unitBased === \\"boolean\\") {
34219
34246
  // @ts-ignore: type is checked above.
@@ -34936,7 +34963,8 @@ instruments?: (Object | URL)[];}
34936
34963
  * Clones this instance, optionally updating it with the given values.
34937
34964
  * @param values The values to update the clone with.
34938
34965
  * @param options The options to use for cloning.
34939
- * @returns The cloned instance.
34966
+ * @returns The cloned instance with its own property arrays. Nested objects
34967
+ * and URLs are shared with this instance.
34940
34968
  */
34941
34969
  override clone(
34942
34970
  values:
@@ -35285,7 +35313,8 @@ instruments?: (Object | URL)[];}
35285
35313
  * Clones this instance, optionally updating it with the given values.
35286
35314
  * @param values The values to update the clone with.
35287
35315
  * @param options The options to use for cloning.
35288
- * @returns The cloned instance.
35316
+ * @returns The cloned instance with its own property arrays. Nested objects
35317
+ * and URLs are shared with this instance.
35289
35318
  */
35290
35319
  override clone(
35291
35320
  values:
@@ -35629,7 +35658,8 @@ instruments?: (Object | URL)[];}
35629
35658
  * Clones this instance, optionally updating it with the given values.
35630
35659
  * @param values The values to update the clone with.
35631
35660
  * @param options The options to use for cloning.
35632
- * @returns The cloned instance.
35661
+ * @returns The cloned instance with its own property arrays. Nested objects
35662
+ * and URLs are shared with this instance.
35633
35663
  */
35634
35664
  override clone(
35635
35665
  values:
@@ -36038,7 +36068,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36038
36068
  if (Array.isArray(values.preferredUsernames) &&
36039
36069
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
36040
36070
  // @ts-ignore: type is checked above.
36041
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
36071
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
36042
36072
 
36043
36073
  } else {
36044
36074
  throw new TypeError(
@@ -36074,7 +36104,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36074
36104
  if (Array.isArray(values.publicKeys) &&
36075
36105
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
36076
36106
  // @ts-ignore: type is checked above.
36077
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
36107
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
36078
36108
 
36079
36109
  for (let i = 0; i < values.publicKeys.length; i++) {
36080
36110
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -36114,7 +36144,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36114
36144
  if (Array.isArray(values.assertionMethods) &&
36115
36145
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
36116
36146
  // @ts-ignore: type is checked above.
36117
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
36147
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
36118
36148
 
36119
36149
  for (let i = 0; i < values.assertionMethods.length; i++) {
36120
36150
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -36237,7 +36267,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36237
36267
  if (Array.isArray(values.streams) &&
36238
36268
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
36239
36269
  // @ts-ignore: type is checked above.
36240
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
36270
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
36241
36271
 
36242
36272
  for (let i = 0; i < values.streams.length; i++) {
36243
36273
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -36355,7 +36385,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36355
36385
  if (Array.isArray(values.aliases) &&
36356
36386
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
36357
36387
  // @ts-ignore: type is checked above.
36358
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
36388
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
36359
36389
 
36360
36390
  for (let i = 0; i < values.aliases.length; i++) {
36361
36391
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -36395,7 +36425,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36395
36425
  if (Array.isArray(values.services) &&
36396
36426
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
36397
36427
  // @ts-ignore: type is checked above.
36398
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
36428
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
36399
36429
 
36400
36430
  for (let i = 0; i < values.services.length; i++) {
36401
36431
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -36440,7 +36470,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36440
36470
  * Clones this instance, optionally updating it with the given values.
36441
36471
  * @param values The values to update the clone with.
36442
36472
  * @param options The options to use for cloning.
36443
- * @returns The cloned instance.
36473
+ * @returns The cloned instance with its own property arrays. Nested objects
36474
+ * and URLs are shared with this instance.
36444
36475
  */
36445
36476
  override clone(
36446
36477
  values:
@@ -36483,7 +36514,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36483
36514
  // @ts-ignore: $warning is not recognized as a property, but it is.
36484
36515
  options = { ...options, $warning: this._warning };
36485
36516
  }
36486
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
36517
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
36487
36518
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
36488
36519
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
36489
36520
  // @ts-ignore: type is checked above.
@@ -36510,7 +36541,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36510
36541
  if (Array.isArray(values.preferredUsernames) &&
36511
36542
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
36512
36543
  // @ts-ignore: type is checked above.
36513
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
36544
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
36514
36545
 
36515
36546
  } else {
36516
36547
  throw new TypeError(
@@ -36519,7 +36550,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36519
36550
  );
36520
36551
  }
36521
36552
  }
36522
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
36553
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
36523
36554
  if (\\"publicKey\\" in values && values.publicKey != null) {
36524
36555
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
36525
36556
  // @ts-ignore: type is checked above.
@@ -36546,7 +36577,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36546
36577
  if (Array.isArray(values.publicKeys) &&
36547
36578
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
36548
36579
  // @ts-ignore: type is checked above.
36549
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
36580
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
36550
36581
 
36551
36582
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
36552
36583
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -36560,7 +36591,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36560
36591
  );
36561
36592
  }
36562
36593
  }
36563
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
36594
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
36564
36595
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
36565
36596
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
36566
36597
  // @ts-ignore: type is checked above.
@@ -36587,7 +36618,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36587
36618
  if (Array.isArray(values.assertionMethods) &&
36588
36619
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
36589
36620
  // @ts-ignore: type is checked above.
36590
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
36621
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
36591
36622
 
36592
36623
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
36593
36624
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -36601,7 +36632,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36601
36632
  );
36602
36633
  }
36603
36634
  }
36604
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
36635
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
36605
36636
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
36606
36637
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
36607
36638
  // @ts-ignore: type is checked above.
@@ -36614,7 +36645,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36614
36645
  );
36615
36646
  }
36616
36647
  }
36617
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
36648
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
36618
36649
  if (\\"inbox\\" in values && values.inbox != null) {
36619
36650
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
36620
36651
  // @ts-ignore: type is checked above.
@@ -36627,7 +36658,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36627
36658
  );
36628
36659
  }
36629
36660
  }
36630
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
36661
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
36631
36662
  if (\\"outbox\\" in values && values.outbox != null) {
36632
36663
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
36633
36664
  // @ts-ignore: type is checked above.
@@ -36640,7 +36671,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36640
36671
  );
36641
36672
  }
36642
36673
  }
36643
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
36674
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
36644
36675
  if (\\"following\\" in values && values.following != null) {
36645
36676
  if (values.following instanceof Collection || values.following instanceof URL) {
36646
36677
  // @ts-ignore: type is checked above.
@@ -36653,7 +36684,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36653
36684
  );
36654
36685
  }
36655
36686
  }
36656
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
36687
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
36657
36688
  if (\\"followers\\" in values && values.followers != null) {
36658
36689
  if (values.followers instanceof Collection || values.followers instanceof URL) {
36659
36690
  // @ts-ignore: type is checked above.
@@ -36666,7 +36697,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36666
36697
  );
36667
36698
  }
36668
36699
  }
36669
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
36700
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
36670
36701
  if (\\"liked\\" in values && values.liked != null) {
36671
36702
  if (values.liked instanceof Collection || values.liked instanceof URL) {
36672
36703
  // @ts-ignore: type is checked above.
@@ -36679,7 +36710,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36679
36710
  );
36680
36711
  }
36681
36712
  }
36682
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
36713
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
36683
36714
  if (\\"featured\\" in values && values.featured != null) {
36684
36715
  if (values.featured instanceof Collection || values.featured instanceof URL) {
36685
36716
  // @ts-ignore: type is checked above.
@@ -36692,7 +36723,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36692
36723
  );
36693
36724
  }
36694
36725
  }
36695
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
36726
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
36696
36727
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
36697
36728
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
36698
36729
  // @ts-ignore: type is checked above.
@@ -36705,13 +36736,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36705
36736
  );
36706
36737
  }
36707
36738
  }
36708
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
36739
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
36709
36740
  if (\\"streams\\" in values && values.streams != null) {
36710
36741
 
36711
36742
  if (Array.isArray(values.streams) &&
36712
36743
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
36713
36744
  // @ts-ignore: type is checked above.
36714
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
36745
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
36715
36746
 
36716
36747
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
36717
36748
  for (let i = 0; i < values.streams.length; i++) {
@@ -36725,7 +36756,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36725
36756
  );
36726
36757
  }
36727
36758
  }
36728
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
36759
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
36729
36760
  if (\\"endpoints\\" in values && values.endpoints != null) {
36730
36761
  if (values.endpoints instanceof Endpoints) {
36731
36762
  // @ts-ignore: type is checked above.
@@ -36738,7 +36769,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36738
36769
  );
36739
36770
  }
36740
36771
  }
36741
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
36772
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
36742
36773
  if (\\"discoverable\\" in values && values.discoverable != null) {
36743
36774
  if (typeof values.discoverable === \\"boolean\\") {
36744
36775
  // @ts-ignore: type is checked above.
@@ -36751,7 +36782,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36751
36782
  );
36752
36783
  }
36753
36784
  }
36754
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
36785
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
36755
36786
  if (\\"suspended\\" in values && values.suspended != null) {
36756
36787
  if (typeof values.suspended === \\"boolean\\") {
36757
36788
  // @ts-ignore: type is checked above.
@@ -36764,7 +36795,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36764
36795
  );
36765
36796
  }
36766
36797
  }
36767
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
36798
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
36768
36799
  if (\\"memorial\\" in values && values.memorial != null) {
36769
36800
  if (typeof values.memorial === \\"boolean\\") {
36770
36801
  // @ts-ignore: type is checked above.
@@ -36777,7 +36808,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36777
36808
  );
36778
36809
  }
36779
36810
  }
36780
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
36811
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
36781
36812
  if (\\"indexable\\" in values && values.indexable != null) {
36782
36813
  if (typeof values.indexable === \\"boolean\\") {
36783
36814
  // @ts-ignore: type is checked above.
@@ -36790,7 +36821,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36790
36821
  );
36791
36822
  }
36792
36823
  }
36793
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
36824
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
36794
36825
  if (\\"successor\\" in values && values.successor != null) {
36795
36826
  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) {
36796
36827
  // @ts-ignore: type is checked above.
@@ -36803,7 +36834,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36803
36834
  );
36804
36835
  }
36805
36836
  }
36806
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
36837
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
36807
36838
  if (\\"alias\\" in values && values.alias != null) {
36808
36839
  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) {
36809
36840
  // @ts-ignore: type is checked above.
@@ -36830,7 +36861,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36830
36861
  if (Array.isArray(values.aliases) &&
36831
36862
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
36832
36863
  // @ts-ignore: type is checked above.
36833
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
36864
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
36834
36865
 
36835
36866
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
36836
36867
  for (let i = 0; i < values.aliases.length; i++) {
@@ -36844,7 +36875,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36844
36875
  );
36845
36876
  }
36846
36877
  }
36847
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
36878
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
36848
36879
  if (\\"service\\" in values && values.service != null) {
36849
36880
  if (values.service instanceof DidService || values.service instanceof URL) {
36850
36881
  // @ts-ignore: type is checked above.
@@ -36871,7 +36902,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36871
36902
  if (Array.isArray(values.services) &&
36872
36903
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
36873
36904
  // @ts-ignore: type is checked above.
36874
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
36905
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
36875
36906
 
36876
36907
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
36877
36908
  for (let i = 0; i < values.services.length; i++) {
@@ -36885,7 +36916,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36885
36916
  );
36886
36917
  }
36887
36918
  }
36888
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
36919
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
36889
36920
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
36890
36921
  if (typeof values.followedMessage === \\"string\\") {
36891
36922
  // @ts-ignore: type is checked above.
@@ -36898,7 +36929,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36898
36929
  );
36899
36930
  }
36900
36931
  }
36901
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
36932
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
36902
36933
  if (\\"cat\\" in values && values.cat != null) {
36903
36934
  if (typeof values.cat === \\"boolean\\") {
36904
36935
  // @ts-ignore: type is checked above.
@@ -43170,7 +43201,8 @@ instruments?: (Object | URL)[];}
43170
43201
  * Clones this instance, optionally updating it with the given values.
43171
43202
  * @param values The values to update the clone with.
43172
43203
  * @param options The options to use for cloning.
43173
- * @returns The cloned instance.
43204
+ * @returns The cloned instance with its own property arrays. Nested objects
43205
+ * and URLs are shared with this instance.
43174
43206
  */
43175
43207
  override clone(
43176
43208
  values:
@@ -43526,7 +43558,8 @@ instruments?: (Object | URL)[];}
43526
43558
  * Clones this instance, optionally updating it with the given values.
43527
43559
  * @param values The values to update the clone with.
43528
43560
  * @param options The options to use for cloning.
43529
- * @returns The cloned instance.
43561
+ * @returns The cloned instance with its own property arrays. Nested objects
43562
+ * and URLs are shared with this instance.
43530
43563
  */
43531
43564
  override clone(
43532
43565
  values:
@@ -43907,7 +43940,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43907
43940
  * Clones this instance, optionally updating it with the given values.
43908
43941
  * @param values The values to update the clone with.
43909
43942
  * @param options The options to use for cloning.
43910
- * @returns The cloned instance.
43943
+ * @returns The cloned instance with its own property arrays. Nested objects
43944
+ * and URLs are shared with this instance.
43911
43945
  */
43912
43946
  override clone(
43913
43947
  values:
@@ -43945,7 +43979,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43945
43979
  // @ts-ignore: $warning is not recognized as a property, but it is.
43946
43980
  options = { ...options, $warning: this._warning };
43947
43981
  }
43948
- 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);
43982
+ 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);
43949
43983
  if (\\"quote\\" in values && values.quote != null) {
43950
43984
  if (values.quote instanceof Object || values.quote instanceof URL) {
43951
43985
  // @ts-ignore: type is checked above.
@@ -43958,7 +43992,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43958
43992
  );
43959
43993
  }
43960
43994
  }
43961
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
43995
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
43962
43996
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
43963
43997
  if (values.quoteUrl instanceof URL) {
43964
43998
  // @ts-ignore: type is checked above.
@@ -43971,7 +44005,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43971
44005
  );
43972
44006
  }
43973
44007
  }
43974
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
44008
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
43975
44009
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
43976
44010
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
43977
44011
  // @ts-ignore: type is checked above.
@@ -45118,7 +45152,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45118
45152
  * Clones this instance, optionally updating it with the given values.
45119
45153
  * @param values The values to update the clone with.
45120
45154
  * @param options The options to use for cloning.
45121
- * @returns The cloned instance.
45155
+ * @returns The cloned instance with its own property arrays. Nested objects
45156
+ * and URLs are shared with this instance.
45122
45157
  */
45123
45158
  override clone(
45124
45159
  values:
@@ -45156,7 +45191,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45156
45191
  // @ts-ignore: $warning is not recognized as a property, but it is.
45157
45192
  options = { ...options, $warning: this._warning };
45158
45193
  }
45159
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
45194
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
45160
45195
  if (\\"width\\" in values && values.width != null) {
45161
45196
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
45162
45197
  // @ts-ignore: type is checked above.
@@ -45169,7 +45204,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45169
45204
  );
45170
45205
  }
45171
45206
  }
45172
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
45207
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
45173
45208
  if (\\"height\\" in values && values.height != null) {
45174
45209
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
45175
45210
  // @ts-ignore: type is checked above.
@@ -45702,7 +45737,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45702
45737
  * Clones this instance, optionally updating it with the given values.
45703
45738
  * @param values The values to update the clone with.
45704
45739
  * @param options The options to use for cloning.
45705
- * @returns The cloned instance.
45740
+ * @returns The cloned instance with its own property arrays. Nested objects
45741
+ * and URLs are shared with this instance.
45706
45742
  */
45707
45743
  override clone(
45708
45744
  values:
@@ -46056,7 +46092,8 @@ instruments?: (Object | URL)[];}
46056
46092
  * Clones this instance, optionally updating it with the given values.
46057
46093
  * @param values The values to update the clone with.
46058
46094
  * @param options The options to use for cloning.
46059
- * @returns The cloned instance.
46095
+ * @returns The cloned instance with its own property arrays. Nested objects
46096
+ * and URLs are shared with this instance.
46060
46097
  */
46061
46098
  override clone(
46062
46099
  values:
@@ -46405,7 +46442,8 @@ instruments?: (Object | URL)[];}
46405
46442
  * Clones this instance, optionally updating it with the given values.
46406
46443
  * @param values The values to update the clone with.
46407
46444
  * @param options The options to use for cloning.
46408
- * @returns The cloned instance.
46445
+ * @returns The cloned instance with its own property arrays. Nested objects
46446
+ * and URLs are shared with this instance.
46409
46447
  */
46410
46448
  override clone(
46411
46449
  values:
@@ -46834,7 +46872,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46834
46872
  if (Array.isArray(values.items) &&
46835
46873
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
46836
46874
  // @ts-ignore: type is checked above.
46837
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
46875
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
46838
46876
 
46839
46877
  for (let i = 0; i < values.items.length; i++) {
46840
46878
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -46957,7 +46995,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46957
46995
  * Clones this instance, optionally updating it with the given values.
46958
46996
  * @param values The values to update the clone with.
46959
46997
  * @param options The options to use for cloning.
46960
- * @returns The cloned instance.
46998
+ * @returns The cloned instance with its own property arrays. Nested objects
46999
+ * and URLs are shared with this instance.
46961
47000
  */
46962
47001
  override clone(
46963
47002
  values:
@@ -46995,7 +47034,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46995
47034
  // @ts-ignore: $warning is not recognized as a property, but it is.
46996
47035
  options = { ...options, $warning: this._warning };
46997
47036
  }
46998
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
47037
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
46999
47038
  if (\\"totalItems\\" in values && values.totalItems != null) {
47000
47039
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
47001
47040
  // @ts-ignore: type is checked above.
@@ -47008,7 +47047,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47008
47047
  );
47009
47048
  }
47010
47049
  }
47011
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
47050
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
47012
47051
  if (\\"current\\" in values && values.current != null) {
47013
47052
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
47014
47053
  // @ts-ignore: type is checked above.
@@ -47021,7 +47060,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47021
47060
  );
47022
47061
  }
47023
47062
  }
47024
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
47063
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
47025
47064
  if (\\"first\\" in values && values.first != null) {
47026
47065
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
47027
47066
  // @ts-ignore: type is checked above.
@@ -47034,7 +47073,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47034
47073
  );
47035
47074
  }
47036
47075
  }
47037
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
47076
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
47038
47077
  if (\\"last\\" in values && values.last != null) {
47039
47078
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
47040
47079
  // @ts-ignore: type is checked above.
@@ -47047,13 +47086,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47047
47086
  );
47048
47087
  }
47049
47088
  }
47050
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
47089
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
47051
47090
  if (\\"items\\" in values && values.items != null) {
47052
47091
 
47053
47092
  if (Array.isArray(values.items) &&
47054
47093
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
47055
47094
  // @ts-ignore: type is checked above.
47056
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
47095
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
47057
47096
 
47058
47097
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
47059
47098
  for (let i = 0; i < values.items.length; i++) {
@@ -47067,7 +47106,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47067
47106
  );
47068
47107
  }
47069
47108
  }
47070
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
47109
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
47071
47110
  if (\\"likesOf\\" in values && values.likesOf != null) {
47072
47111
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
47073
47112
  // @ts-ignore: type is checked above.
@@ -47080,7 +47119,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47080
47119
  );
47081
47120
  }
47082
47121
  }
47083
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
47122
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
47084
47123
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
47085
47124
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
47086
47125
  // @ts-ignore: type is checked above.
@@ -47093,7 +47132,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47093
47132
  );
47094
47133
  }
47095
47134
  }
47096
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
47135
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
47097
47136
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
47098
47137
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
47099
47138
  // @ts-ignore: type is checked above.
@@ -47106,7 +47145,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47106
47145
  );
47107
47146
  }
47108
47147
  }
47109
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
47148
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
47110
47149
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
47111
47150
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
47112
47151
  // @ts-ignore: type is checked above.
@@ -47119,7 +47158,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47119
47158
  );
47120
47159
  }
47121
47160
  }
47122
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
47161
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
47123
47162
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
47124
47163
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
47125
47164
  // @ts-ignore: type is checked above.
@@ -47132,7 +47171,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47132
47171
  );
47133
47172
  }
47134
47173
  }
47135
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
47174
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
47136
47175
  if (\\"followersOf\\" in values && values.followersOf != null) {
47137
47176
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
47138
47177
  // @ts-ignore: type is checked above.
@@ -47145,7 +47184,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47145
47184
  );
47146
47185
  }
47147
47186
  }
47148
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
47187
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
47149
47188
  if (\\"followingOf\\" in values && values.followingOf != null) {
47150
47189
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
47151
47190
  // @ts-ignore: type is checked above.
@@ -47158,7 +47197,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47158
47197
  );
47159
47198
  }
47160
47199
  }
47161
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
47200
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
47162
47201
  if (\\"likedOf\\" in values && values.likedOf != null) {
47163
47202
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
47164
47203
  // @ts-ignore: type is checked above.
@@ -51665,7 +51704,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51665
51704
  * Clones this instance, optionally updating it with the given values.
51666
51705
  * @param values The values to update the clone with.
51667
51706
  * @param options The options to use for cloning.
51668
- * @returns The cloned instance.
51707
+ * @returns The cloned instance with its own property arrays. Nested objects
51708
+ * and URLs are shared with this instance.
51669
51709
  */
51670
51710
  override clone(
51671
51711
  values:
@@ -51703,7 +51743,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51703
51743
  // @ts-ignore: $warning is not recognized as a property, but it is.
51704
51744
  options = { ...options, $warning: this._warning };
51705
51745
  }
51706
- 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);
51746
+ 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);
51707
51747
  if (\\"partOf\\" in values && values.partOf != null) {
51708
51748
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
51709
51749
  // @ts-ignore: type is checked above.
@@ -51716,7 +51756,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51716
51756
  );
51717
51757
  }
51718
51758
  }
51719
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
51759
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
51720
51760
  if (\\"next\\" in values && values.next != null) {
51721
51761
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
51722
51762
  // @ts-ignore: type is checked above.
@@ -51729,7 +51769,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51729
51769
  );
51730
51770
  }
51731
51771
  }
51732
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
51772
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
51733
51773
  if (\\"prev\\" in values && values.prev != null) {
51734
51774
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
51735
51775
  // @ts-ignore: type is checked above.
@@ -53059,7 +53099,8 @@ instruments?: (Object | URL)[];}
53059
53099
  * Clones this instance, optionally updating it with the given values.
53060
53100
  * @param values The values to update the clone with.
53061
53101
  * @param options The options to use for cloning.
53062
- * @returns The cloned instance.
53102
+ * @returns The cloned instance with its own property arrays. Nested objects
53103
+ * and URLs are shared with this instance.
53063
53104
  */
53064
53105
  override clone(
53065
53106
  values:
@@ -53402,7 +53443,8 @@ instruments?: (Object | URL)[];}
53402
53443
  * Clones this instance, optionally updating it with the given values.
53403
53444
  * @param values The values to update the clone with.
53404
53445
  * @param options The options to use for cloning.
53405
- * @returns The cloned instance.
53446
+ * @returns The cloned instance with its own property arrays. Nested objects
53447
+ * and URLs are shared with this instance.
53406
53448
  */
53407
53449
  override clone(
53408
53450
  values:
@@ -53743,7 +53785,8 @@ instruments?: (Object | URL)[];}
53743
53785
  * Clones this instance, optionally updating it with the given values.
53744
53786
  * @param values The values to update the clone with.
53745
53787
  * @param options The options to use for cloning.
53746
- * @returns The cloned instance.
53788
+ * @returns The cloned instance with its own property arrays. Nested objects
53789
+ * and URLs are shared with this instance.
53747
53790
  */
53748
53791
  override clone(
53749
53792
  values:
@@ -54223,7 +54266,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54223
54266
  * Clones this instance, optionally updating it with the given values.
54224
54267
  * @param values The values to update the clone with.
54225
54268
  * @param options The options to use for cloning.
54226
- * @returns The cloned instance.
54269
+ * @returns The cloned instance with its own property arrays. Nested objects
54270
+ * and URLs are shared with this instance.
54227
54271
  */
54228
54272
  clone(
54229
54273
  values:
@@ -54251,7 +54295,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54251
54295
  { id: values.id ?? this.id },
54252
54296
  options
54253
54297
  );
54254
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
54298
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
54255
54299
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
54256
54300
  if (values.proxyUrl instanceof URL) {
54257
54301
  // @ts-ignore: type is checked above.
@@ -54264,7 +54308,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54264
54308
  );
54265
54309
  }
54266
54310
  }
54267
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
54311
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
54268
54312
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
54269
54313
  if (values.oauthAuthorizationEndpoint instanceof URL) {
54270
54314
  // @ts-ignore: type is checked above.
@@ -54277,7 +54321,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54277
54321
  );
54278
54322
  }
54279
54323
  }
54280
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
54324
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
54281
54325
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
54282
54326
  if (values.oauthTokenEndpoint instanceof URL) {
54283
54327
  // @ts-ignore: type is checked above.
@@ -54290,7 +54334,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54290
54334
  );
54291
54335
  }
54292
54336
  }
54293
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
54337
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
54294
54338
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
54295
54339
  if (values.provideClientKey instanceof URL) {
54296
54340
  // @ts-ignore: type is checked above.
@@ -54303,7 +54347,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54303
54347
  );
54304
54348
  }
54305
54349
  }
54306
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
54350
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
54307
54351
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
54308
54352
  if (values.signClientKey instanceof URL) {
54309
54353
  // @ts-ignore: type is checked above.
@@ -54316,7 +54360,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54316
54360
  );
54317
54361
  }
54318
54362
  }
54319
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
54363
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
54320
54364
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
54321
54365
  if (values.sharedInbox instanceof URL) {
54322
54366
  // @ts-ignore: type is checked above.
@@ -55297,7 +55341,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
55297
55341
  * Clones this instance, optionally updating it with the given values.
55298
55342
  * @param values The values to update the clone with.
55299
55343
  * @param options The options to use for cloning.
55300
- * @returns The cloned instance.
55344
+ * @returns The cloned instance with its own property arrays. Nested objects
55345
+ * and URLs are shared with this instance.
55301
55346
  */
55302
55347
  override clone(
55303
55348
  values:
@@ -55652,7 +55697,8 @@ instruments?: (Object | URL)[];}
55652
55697
  * Clones this instance, optionally updating it with the given values.
55653
55698
  * @param values The values to update the clone with.
55654
55699
  * @param options The options to use for cloning.
55655
- * @returns The cloned instance.
55700
+ * @returns The cloned instance with its own property arrays. Nested objects
55701
+ * and URLs are shared with this instance.
55656
55702
  */
55657
55703
  override clone(
55658
55704
  values:
@@ -55997,7 +56043,8 @@ instruments?: (Object | URL)[];}
55997
56043
  * Clones this instance, optionally updating it with the given values.
55998
56044
  * @param values The values to update the clone with.
55999
56045
  * @param options The options to use for cloning.
56000
- * @returns The cloned instance.
56046
+ * @returns The cloned instance with its own property arrays. Nested objects
56047
+ * and URLs are shared with this instance.
56001
56048
  */
56002
56049
  override clone(
56003
56050
  values:
@@ -56406,7 +56453,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56406
56453
  if (Array.isArray(values.preferredUsernames) &&
56407
56454
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
56408
56455
  // @ts-ignore: type is checked above.
56409
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
56456
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
56410
56457
 
56411
56458
  } else {
56412
56459
  throw new TypeError(
@@ -56442,7 +56489,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56442
56489
  if (Array.isArray(values.publicKeys) &&
56443
56490
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
56444
56491
  // @ts-ignore: type is checked above.
56445
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
56492
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
56446
56493
 
56447
56494
  for (let i = 0; i < values.publicKeys.length; i++) {
56448
56495
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -56482,7 +56529,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56482
56529
  if (Array.isArray(values.assertionMethods) &&
56483
56530
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
56484
56531
  // @ts-ignore: type is checked above.
56485
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
56532
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
56486
56533
 
56487
56534
  for (let i = 0; i < values.assertionMethods.length; i++) {
56488
56535
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -56605,7 +56652,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56605
56652
  if (Array.isArray(values.streams) &&
56606
56653
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
56607
56654
  // @ts-ignore: type is checked above.
56608
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
56655
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
56609
56656
 
56610
56657
  for (let i = 0; i < values.streams.length; i++) {
56611
56658
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -56723,7 +56770,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56723
56770
  if (Array.isArray(values.aliases) &&
56724
56771
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
56725
56772
  // @ts-ignore: type is checked above.
56726
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
56773
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
56727
56774
 
56728
56775
  for (let i = 0; i < values.aliases.length; i++) {
56729
56776
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -56763,7 +56810,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56763
56810
  if (Array.isArray(values.services) &&
56764
56811
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
56765
56812
  // @ts-ignore: type is checked above.
56766
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
56813
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
56767
56814
 
56768
56815
  for (let i = 0; i < values.services.length; i++) {
56769
56816
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -56808,7 +56855,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56808
56855
  * Clones this instance, optionally updating it with the given values.
56809
56856
  * @param values The values to update the clone with.
56810
56857
  * @param options The options to use for cloning.
56811
- * @returns The cloned instance.
56858
+ * @returns The cloned instance with its own property arrays. Nested objects
56859
+ * and URLs are shared with this instance.
56812
56860
  */
56813
56861
  override clone(
56814
56862
  values:
@@ -56851,7 +56899,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56851
56899
  // @ts-ignore: $warning is not recognized as a property, but it is.
56852
56900
  options = { ...options, $warning: this._warning };
56853
56901
  }
56854
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
56902
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
56855
56903
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
56856
56904
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
56857
56905
  // @ts-ignore: type is checked above.
@@ -56878,7 +56926,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56878
56926
  if (Array.isArray(values.preferredUsernames) &&
56879
56927
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
56880
56928
  // @ts-ignore: type is checked above.
56881
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
56929
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
56882
56930
 
56883
56931
  } else {
56884
56932
  throw new TypeError(
@@ -56887,7 +56935,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56887
56935
  );
56888
56936
  }
56889
56937
  }
56890
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
56938
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
56891
56939
  if (\\"publicKey\\" in values && values.publicKey != null) {
56892
56940
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
56893
56941
  // @ts-ignore: type is checked above.
@@ -56914,7 +56962,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56914
56962
  if (Array.isArray(values.publicKeys) &&
56915
56963
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
56916
56964
  // @ts-ignore: type is checked above.
56917
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
56965
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
56918
56966
 
56919
56967
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
56920
56968
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -56928,7 +56976,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56928
56976
  );
56929
56977
  }
56930
56978
  }
56931
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
56979
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
56932
56980
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
56933
56981
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
56934
56982
  // @ts-ignore: type is checked above.
@@ -56955,7 +57003,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56955
57003
  if (Array.isArray(values.assertionMethods) &&
56956
57004
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
56957
57005
  // @ts-ignore: type is checked above.
56958
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
57006
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
56959
57007
 
56960
57008
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
56961
57009
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -56969,7 +57017,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56969
57017
  );
56970
57018
  }
56971
57019
  }
56972
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
57020
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
56973
57021
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
56974
57022
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
56975
57023
  // @ts-ignore: type is checked above.
@@ -56982,7 +57030,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56982
57030
  );
56983
57031
  }
56984
57032
  }
56985
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
57033
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
56986
57034
  if (\\"inbox\\" in values && values.inbox != null) {
56987
57035
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
56988
57036
  // @ts-ignore: type is checked above.
@@ -56995,7 +57043,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56995
57043
  );
56996
57044
  }
56997
57045
  }
56998
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
57046
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
56999
57047
  if (\\"outbox\\" in values && values.outbox != null) {
57000
57048
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
57001
57049
  // @ts-ignore: type is checked above.
@@ -57008,7 +57056,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57008
57056
  );
57009
57057
  }
57010
57058
  }
57011
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
57059
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
57012
57060
  if (\\"following\\" in values && values.following != null) {
57013
57061
  if (values.following instanceof Collection || values.following instanceof URL) {
57014
57062
  // @ts-ignore: type is checked above.
@@ -57021,7 +57069,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57021
57069
  );
57022
57070
  }
57023
57071
  }
57024
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
57072
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
57025
57073
  if (\\"followers\\" in values && values.followers != null) {
57026
57074
  if (values.followers instanceof Collection || values.followers instanceof URL) {
57027
57075
  // @ts-ignore: type is checked above.
@@ -57034,7 +57082,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57034
57082
  );
57035
57083
  }
57036
57084
  }
57037
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
57085
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
57038
57086
  if (\\"liked\\" in values && values.liked != null) {
57039
57087
  if (values.liked instanceof Collection || values.liked instanceof URL) {
57040
57088
  // @ts-ignore: type is checked above.
@@ -57047,7 +57095,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57047
57095
  );
57048
57096
  }
57049
57097
  }
57050
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
57098
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
57051
57099
  if (\\"featured\\" in values && values.featured != null) {
57052
57100
  if (values.featured instanceof Collection || values.featured instanceof URL) {
57053
57101
  // @ts-ignore: type is checked above.
@@ -57060,7 +57108,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57060
57108
  );
57061
57109
  }
57062
57110
  }
57063
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
57111
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
57064
57112
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
57065
57113
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
57066
57114
  // @ts-ignore: type is checked above.
@@ -57073,13 +57121,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57073
57121
  );
57074
57122
  }
57075
57123
  }
57076
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
57124
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
57077
57125
  if (\\"streams\\" in values && values.streams != null) {
57078
57126
 
57079
57127
  if (Array.isArray(values.streams) &&
57080
57128
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
57081
57129
  // @ts-ignore: type is checked above.
57082
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
57130
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
57083
57131
 
57084
57132
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
57085
57133
  for (let i = 0; i < values.streams.length; i++) {
@@ -57093,7 +57141,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57093
57141
  );
57094
57142
  }
57095
57143
  }
57096
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
57144
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
57097
57145
  if (\\"endpoints\\" in values && values.endpoints != null) {
57098
57146
  if (values.endpoints instanceof Endpoints) {
57099
57147
  // @ts-ignore: type is checked above.
@@ -57106,7 +57154,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57106
57154
  );
57107
57155
  }
57108
57156
  }
57109
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
57157
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
57110
57158
  if (\\"discoverable\\" in values && values.discoverable != null) {
57111
57159
  if (typeof values.discoverable === \\"boolean\\") {
57112
57160
  // @ts-ignore: type is checked above.
@@ -57119,7 +57167,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57119
57167
  );
57120
57168
  }
57121
57169
  }
57122
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
57170
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
57123
57171
  if (\\"suspended\\" in values && values.suspended != null) {
57124
57172
  if (typeof values.suspended === \\"boolean\\") {
57125
57173
  // @ts-ignore: type is checked above.
@@ -57132,7 +57180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57132
57180
  );
57133
57181
  }
57134
57182
  }
57135
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
57183
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
57136
57184
  if (\\"memorial\\" in values && values.memorial != null) {
57137
57185
  if (typeof values.memorial === \\"boolean\\") {
57138
57186
  // @ts-ignore: type is checked above.
@@ -57145,7 +57193,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57145
57193
  );
57146
57194
  }
57147
57195
  }
57148
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
57196
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
57149
57197
  if (\\"indexable\\" in values && values.indexable != null) {
57150
57198
  if (typeof values.indexable === \\"boolean\\") {
57151
57199
  // @ts-ignore: type is checked above.
@@ -57158,7 +57206,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57158
57206
  );
57159
57207
  }
57160
57208
  }
57161
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
57209
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
57162
57210
  if (\\"successor\\" in values && values.successor != null) {
57163
57211
  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) {
57164
57212
  // @ts-ignore: type is checked above.
@@ -57171,7 +57219,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57171
57219
  );
57172
57220
  }
57173
57221
  }
57174
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
57222
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
57175
57223
  if (\\"alias\\" in values && values.alias != null) {
57176
57224
  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) {
57177
57225
  // @ts-ignore: type is checked above.
@@ -57198,7 +57246,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57198
57246
  if (Array.isArray(values.aliases) &&
57199
57247
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
57200
57248
  // @ts-ignore: type is checked above.
57201
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
57249
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
57202
57250
 
57203
57251
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
57204
57252
  for (let i = 0; i < values.aliases.length; i++) {
@@ -57212,7 +57260,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57212
57260
  );
57213
57261
  }
57214
57262
  }
57215
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
57263
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
57216
57264
  if (\\"service\\" in values && values.service != null) {
57217
57265
  if (values.service instanceof DidService || values.service instanceof URL) {
57218
57266
  // @ts-ignore: type is checked above.
@@ -57239,7 +57287,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57239
57287
  if (Array.isArray(values.services) &&
57240
57288
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
57241
57289
  // @ts-ignore: type is checked above.
57242
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
57290
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
57243
57291
 
57244
57292
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
57245
57293
  for (let i = 0; i < values.services.length; i++) {
@@ -57253,7 +57301,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57253
57301
  );
57254
57302
  }
57255
57303
  }
57256
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
57304
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
57257
57305
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
57258
57306
  if (typeof values.followedMessage === \\"string\\") {
57259
57307
  // @ts-ignore: type is checked above.
@@ -57266,7 +57314,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57266
57314
  );
57267
57315
  }
57268
57316
  }
57269
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
57317
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
57270
57318
  if (\\"cat\\" in values && values.cat != null) {
57271
57319
  if (typeof values.cat === \\"boolean\\") {
57272
57320
  // @ts-ignore: type is checked above.
@@ -63644,7 +63692,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63644
63692
  if (Array.isArray(values.rels) &&
63645
63693
  values.rels.every(v => typeof v === \\"string\\")) {
63646
63694
  // @ts-ignore: type is checked above.
63647
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
63695
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
63648
63696
 
63649
63697
  } else {
63650
63698
  throw new TypeError(
@@ -63693,7 +63741,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63693
63741
  if (Array.isArray(values.names) &&
63694
63742
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
63695
63743
  // @ts-ignore: type is checked above.
63696
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
63744
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
63697
63745
 
63698
63746
  } else {
63699
63747
  throw new TypeError(
@@ -63747,7 +63795,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63747
63795
  if (Array.isArray(values.previews) &&
63748
63796
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
63749
63797
  // @ts-ignore: type is checked above.
63750
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
63798
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
63751
63799
 
63752
63800
  for (let i = 0; i < values.previews.length; i++) {
63753
63801
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -63766,7 +63814,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63766
63814
  * Clones this instance, optionally updating it with the given values.
63767
63815
  * @param values The values to update the clone with.
63768
63816
  * @param options The options to use for cloning.
63769
- * @returns The cloned instance.
63817
+ * @returns The cloned instance with its own property arrays. Nested objects
63818
+ * and URLs are shared with this instance.
63770
63819
  */
63771
63820
  clone(
63772
63821
  values:
@@ -63796,7 +63845,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63796
63845
  { id: values.id ?? this.id },
63797
63846
  options
63798
63847
  );
63799
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
63848
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
63800
63849
  if (\\"href\\" in values && values.href != null) {
63801
63850
  if (values.href instanceof URL) {
63802
63851
  // @ts-ignore: type is checked above.
@@ -63809,7 +63858,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63809
63858
  );
63810
63859
  }
63811
63860
  }
63812
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
63861
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
63813
63862
  if (\\"rel\\" in values && values.rel != null) {
63814
63863
  if (typeof values.rel === \\"string\\") {
63815
63864
  // @ts-ignore: type is checked above.
@@ -63836,7 +63885,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63836
63885
  if (Array.isArray(values.rels) &&
63837
63886
  values.rels.every(v => typeof v === \\"string\\")) {
63838
63887
  // @ts-ignore: type is checked above.
63839
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
63888
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
63840
63889
 
63841
63890
  } else {
63842
63891
  throw new TypeError(
@@ -63845,7 +63894,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63845
63894
  );
63846
63895
  }
63847
63896
  }
63848
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
63897
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
63849
63898
  if (\\"mediaType\\" in values && values.mediaType != null) {
63850
63899
  if (typeof values.mediaType === \\"string\\") {
63851
63900
  // @ts-ignore: type is checked above.
@@ -63858,7 +63907,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63858
63907
  );
63859
63908
  }
63860
63909
  }
63861
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
63910
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
63862
63911
  if (\\"name\\" in values && values.name != null) {
63863
63912
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
63864
63913
  // @ts-ignore: type is checked above.
@@ -63885,7 +63934,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63885
63934
  if (Array.isArray(values.names) &&
63886
63935
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
63887
63936
  // @ts-ignore: type is checked above.
63888
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
63937
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
63889
63938
 
63890
63939
  } else {
63891
63940
  throw new TypeError(
@@ -63894,7 +63943,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63894
63943
  );
63895
63944
  }
63896
63945
  }
63897
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
63946
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
63898
63947
  if (\\"language\\" in values && values.language != null) {
63899
63948
  if (values.language instanceof Intl.Locale) {
63900
63949
  // @ts-ignore: type is checked above.
@@ -63907,7 +63956,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63907
63956
  );
63908
63957
  }
63909
63958
  }
63910
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
63959
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
63911
63960
  if (\\"height\\" in values && values.height != null) {
63912
63961
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
63913
63962
  // @ts-ignore: type is checked above.
@@ -63920,7 +63969,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63920
63969
  );
63921
63970
  }
63922
63971
  }
63923
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
63972
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
63924
63973
  if (\\"width\\" in values && values.width != null) {
63925
63974
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
63926
63975
  // @ts-ignore: type is checked above.
@@ -63933,13 +63982,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63933
63982
  );
63934
63983
  }
63935
63984
  }
63936
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
63985
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
63937
63986
  if (\\"previews\\" in values && values.previews != null) {
63938
63987
 
63939
63988
  if (Array.isArray(values.previews) &&
63940
63989
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
63941
63990
  // @ts-ignore: type is checked above.
63942
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
63991
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
63943
63992
 
63944
63993
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
63945
63994
  for (let i = 0; i < values.previews.length; i++) {
@@ -64934,7 +64983,7 @@ get names(): ((string | LanguageString))[] {
64934
64983
  if (v == null) continue;
64935
64984
 
64936
64985
  const decoded =
64937
- new Intl.Locale(v[\\"@value\\"])
64986
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
64938
64987
  ;
64939
64988
 
64940
64989
  if (typeof decoded === \\"undefined\\") {
@@ -65334,7 +65383,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
65334
65383
  * Clones this instance, optionally updating it with the given values.
65335
65384
  * @param values The values to update the clone with.
65336
65385
  * @param options The options to use for cloning.
65337
- * @returns The cloned instance.
65386
+ * @returns The cloned instance with its own property arrays. Nested objects
65387
+ * and URLs are shared with this instance.
65338
65388
  */
65339
65389
  override clone(
65340
65390
  values:
@@ -65655,7 +65705,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
65655
65705
  * Clones this instance, optionally updating it with the given values.
65656
65706
  * @param values The values to update the clone with.
65657
65707
  * @param options The options to use for cloning.
65658
- * @returns The cloned instance.
65708
+ * @returns The cloned instance with its own property arrays. Nested objects
65709
+ * and URLs are shared with this instance.
65659
65710
  */
65660
65711
  override clone(
65661
65712
  values:
@@ -66010,7 +66061,8 @@ instruments?: (Object | URL)[];}
66010
66061
  * Clones this instance, optionally updating it with the given values.
66011
66062
  * @param values The values to update the clone with.
66012
66063
  * @param options The options to use for cloning.
66013
- * @returns The cloned instance.
66064
+ * @returns The cloned instance with its own property arrays. Nested objects
66065
+ * and URLs are shared with this instance.
66014
66066
  */
66015
66067
  override clone(
66016
66068
  values:
@@ -66357,7 +66409,8 @@ instruments?: (Object | URL)[];}
66357
66409
  * Clones this instance, optionally updating it with the given values.
66358
66410
  * @param values The values to update the clone with.
66359
66411
  * @param options The options to use for cloning.
66360
- * @returns The cloned instance.
66412
+ * @returns The cloned instance with its own property arrays. Nested objects
66413
+ * and URLs are shared with this instance.
66361
66414
  */
66362
66415
  override clone(
66363
66416
  values:
@@ -66700,7 +66753,8 @@ instruments?: (Object | URL)[];}
66700
66753
  * Clones this instance, optionally updating it with the given values.
66701
66754
  * @param values The values to update the clone with.
66702
66755
  * @param options The options to use for cloning.
66703
- * @returns The cloned instance.
66756
+ * @returns The cloned instance with its own property arrays. Nested objects
66757
+ * and URLs are shared with this instance.
66704
66758
  */
66705
66759
  override clone(
66706
66760
  values:
@@ -67043,7 +67097,8 @@ instruments?: (Object | URL)[];}
67043
67097
  * Clones this instance, optionally updating it with the given values.
67044
67098
  * @param values The values to update the clone with.
67045
67099
  * @param options The options to use for cloning.
67046
- * @returns The cloned instance.
67100
+ * @returns The cloned instance with its own property arrays. Nested objects
67101
+ * and URLs are shared with this instance.
67047
67102
  */
67048
67103
  override clone(
67049
67104
  values:
@@ -67386,7 +67441,8 @@ instruments?: (Object | URL)[];}
67386
67441
  * Clones this instance, optionally updating it with the given values.
67387
67442
  * @param values The values to update the clone with.
67388
67443
  * @param options The options to use for cloning.
67389
- * @returns The cloned instance.
67444
+ * @returns The cloned instance with its own property arrays. Nested objects
67445
+ * and URLs are shared with this instance.
67390
67446
  */
67391
67447
  override clone(
67392
67448
  values:
@@ -67727,7 +67783,8 @@ instruments?: (Object | URL)[];}
67727
67783
  * Clones this instance, optionally updating it with the given values.
67728
67784
  * @param values The values to update the clone with.
67729
67785
  * @param options The options to use for cloning.
67730
- * @returns The cloned instance.
67786
+ * @returns The cloned instance with its own property arrays. Nested objects
67787
+ * and URLs are shared with this instance.
67731
67788
  */
67732
67789
  override clone(
67733
67790
  values:
@@ -68048,7 +68105,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
68048
68105
  * Clones this instance, optionally updating it with the given values.
68049
68106
  * @param values The values to update the clone with.
68050
68107
  * @param options The options to use for cloning.
68051
- * @returns The cloned instance.
68108
+ * @returns The cloned instance with its own property arrays. Nested objects
68109
+ * and URLs are shared with this instance.
68052
68110
  */
68053
68111
  override clone(
68054
68112
  values:
@@ -68378,7 +68436,8 @@ instruments?: (Object | URL)[];}
68378
68436
  * Clones this instance, optionally updating it with the given values.
68379
68437
  * @param values The values to update the clone with.
68380
68438
  * @param options The options to use for cloning.
68381
- * @returns The cloned instance.
68439
+ * @returns The cloned instance with its own property arrays. Nested objects
68440
+ * and URLs are shared with this instance.
68382
68441
  */
68383
68442
  override clone(
68384
68443
  values:
@@ -68761,7 +68820,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68761
68820
  * Clones this instance, optionally updating it with the given values.
68762
68821
  * @param values The values to update the clone with.
68763
68822
  * @param options The options to use for cloning.
68764
- * @returns The cloned instance.
68823
+ * @returns The cloned instance with its own property arrays. Nested objects
68824
+ * and URLs are shared with this instance.
68765
68825
  */
68766
68826
  override clone(
68767
68827
  values:
@@ -68799,7 +68859,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68799
68859
  // @ts-ignore: $warning is not recognized as a property, but it is.
68800
68860
  options = { ...options, $warning: this._warning };
68801
68861
  }
68802
- 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);
68862
+ 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);
68803
68863
  if (\\"quote\\" in values && values.quote != null) {
68804
68864
  if (values.quote instanceof Object || values.quote instanceof URL) {
68805
68865
  // @ts-ignore: type is checked above.
@@ -68812,7 +68872,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68812
68872
  );
68813
68873
  }
68814
68874
  }
68815
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
68875
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
68816
68876
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
68817
68877
  if (values.quoteUrl instanceof URL) {
68818
68878
  // @ts-ignore: type is checked above.
@@ -68825,7 +68885,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68825
68885
  );
68826
68886
  }
68827
68887
  }
68828
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
68888
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
68829
68889
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
68830
68890
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
68831
68891
  // @ts-ignore: type is checked above.
@@ -69949,7 +70009,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69949
70009
  if (Array.isArray(values.items) &&
69950
70010
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
69951
70011
  // @ts-ignore: type is checked above.
69952
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70012
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
69953
70013
 
69954
70014
  for (let i = 0; i < values.items.length; i++) {
69955
70015
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -69968,7 +70028,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69968
70028
  * Clones this instance, optionally updating it with the given values.
69969
70029
  * @param values The values to update the clone with.
69970
70030
  * @param options The options to use for cloning.
69971
- * @returns The cloned instance.
70031
+ * @returns The cloned instance with its own property arrays. Nested objects
70032
+ * and URLs are shared with this instance.
69972
70033
  */
69973
70034
  override clone(
69974
70035
  values:
@@ -70006,13 +70067,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70006
70067
  // @ts-ignore: $warning is not recognized as a property, but it is.
70007
70068
  options = { ...options, $warning: this._warning };
70008
70069
  }
70009
- 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);
70070
+ 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);
70010
70071
  if (\\"items\\" in values && values.items != null) {
70011
70072
 
70012
70073
  if (Array.isArray(values.items) &&
70013
70074
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70014
70075
  // @ts-ignore: type is checked above.
70015
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70076
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70016
70077
 
70017
70078
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
70018
70079
  for (let i = 0; i < values.items.length; i++) {
@@ -70696,7 +70757,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70696
70757
  if (Array.isArray(values.items) &&
70697
70758
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70698
70759
  // @ts-ignore: type is checked above.
70699
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70760
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70700
70761
 
70701
70762
  for (let i = 0; i < values.items.length; i++) {
70702
70763
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -70728,7 +70789,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70728
70789
  * Clones this instance, optionally updating it with the given values.
70729
70790
  * @param values The values to update the clone with.
70730
70791
  * @param options The options to use for cloning.
70731
- * @returns The cloned instance.
70792
+ * @returns The cloned instance with its own property arrays. Nested objects
70793
+ * and URLs are shared with this instance.
70732
70794
  */
70733
70795
  override clone(
70734
70796
  values:
@@ -70766,13 +70828,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70766
70828
  // @ts-ignore: $warning is not recognized as a property, but it is.
70767
70829
  options = { ...options, $warning: this._warning };
70768
70830
  }
70769
- 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);
70831
+ 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);
70770
70832
  if (\\"items\\" in values && values.items != null) {
70771
70833
 
70772
70834
  if (Array.isArray(values.items) &&
70773
70835
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70774
70836
  // @ts-ignore: type is checked above.
70775
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70837
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70776
70838
 
70777
70839
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
70778
70840
  for (let i = 0; i < values.items.length; i++) {
@@ -70786,7 +70848,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70786
70848
  );
70787
70849
  }
70788
70850
  }
70789
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
70851
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
70790
70852
  if (\\"startIndex\\" in values && values.startIndex != null) {
70791
70853
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
70792
70854
  // @ts-ignore: type is checked above.
@@ -71634,7 +71696,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71634
71696
  if (Array.isArray(values.preferredUsernames) &&
71635
71697
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
71636
71698
  // @ts-ignore: type is checked above.
71637
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
71699
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
71638
71700
 
71639
71701
  } else {
71640
71702
  throw new TypeError(
@@ -71670,7 +71732,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71670
71732
  if (Array.isArray(values.publicKeys) &&
71671
71733
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
71672
71734
  // @ts-ignore: type is checked above.
71673
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
71735
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
71674
71736
 
71675
71737
  for (let i = 0; i < values.publicKeys.length; i++) {
71676
71738
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -71710,7 +71772,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71710
71772
  if (Array.isArray(values.assertionMethods) &&
71711
71773
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
71712
71774
  // @ts-ignore: type is checked above.
71713
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
71775
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
71714
71776
 
71715
71777
  for (let i = 0; i < values.assertionMethods.length; i++) {
71716
71778
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -71833,7 +71895,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71833
71895
  if (Array.isArray(values.streams) &&
71834
71896
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
71835
71897
  // @ts-ignore: type is checked above.
71836
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
71898
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
71837
71899
 
71838
71900
  for (let i = 0; i < values.streams.length; i++) {
71839
71901
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -71951,7 +72013,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71951
72013
  if (Array.isArray(values.aliases) &&
71952
72014
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
71953
72015
  // @ts-ignore: type is checked above.
71954
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
72016
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
71955
72017
 
71956
72018
  for (let i = 0; i < values.aliases.length; i++) {
71957
72019
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -71991,7 +72053,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71991
72053
  if (Array.isArray(values.services) &&
71992
72054
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
71993
72055
  // @ts-ignore: type is checked above.
71994
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
72056
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
71995
72057
 
71996
72058
  for (let i = 0; i < values.services.length; i++) {
71997
72059
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -72036,7 +72098,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72036
72098
  * Clones this instance, optionally updating it with the given values.
72037
72099
  * @param values The values to update the clone with.
72038
72100
  * @param options The options to use for cloning.
72039
- * @returns The cloned instance.
72101
+ * @returns The cloned instance with its own property arrays. Nested objects
72102
+ * and URLs are shared with this instance.
72040
72103
  */
72041
72104
  override clone(
72042
72105
  values:
@@ -72079,7 +72142,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72079
72142
  // @ts-ignore: $warning is not recognized as a property, but it is.
72080
72143
  options = { ...options, $warning: this._warning };
72081
72144
  }
72082
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
72145
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
72083
72146
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
72084
72147
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
72085
72148
  // @ts-ignore: type is checked above.
@@ -72106,7 +72169,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72106
72169
  if (Array.isArray(values.preferredUsernames) &&
72107
72170
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
72108
72171
  // @ts-ignore: type is checked above.
72109
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
72172
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
72110
72173
 
72111
72174
  } else {
72112
72175
  throw new TypeError(
@@ -72115,7 +72178,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72115
72178
  );
72116
72179
  }
72117
72180
  }
72118
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
72181
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
72119
72182
  if (\\"publicKey\\" in values && values.publicKey != null) {
72120
72183
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
72121
72184
  // @ts-ignore: type is checked above.
@@ -72142,7 +72205,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72142
72205
  if (Array.isArray(values.publicKeys) &&
72143
72206
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
72144
72207
  // @ts-ignore: type is checked above.
72145
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
72208
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
72146
72209
 
72147
72210
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
72148
72211
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -72156,7 +72219,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72156
72219
  );
72157
72220
  }
72158
72221
  }
72159
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
72222
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
72160
72223
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
72161
72224
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
72162
72225
  // @ts-ignore: type is checked above.
@@ -72183,7 +72246,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72183
72246
  if (Array.isArray(values.assertionMethods) &&
72184
72247
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
72185
72248
  // @ts-ignore: type is checked above.
72186
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
72249
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
72187
72250
 
72188
72251
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
72189
72252
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -72197,7 +72260,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72197
72260
  );
72198
72261
  }
72199
72262
  }
72200
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
72263
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
72201
72264
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
72202
72265
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
72203
72266
  // @ts-ignore: type is checked above.
@@ -72210,7 +72273,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72210
72273
  );
72211
72274
  }
72212
72275
  }
72213
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
72276
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
72214
72277
  if (\\"inbox\\" in values && values.inbox != null) {
72215
72278
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
72216
72279
  // @ts-ignore: type is checked above.
@@ -72223,7 +72286,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72223
72286
  );
72224
72287
  }
72225
72288
  }
72226
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
72289
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
72227
72290
  if (\\"outbox\\" in values && values.outbox != null) {
72228
72291
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
72229
72292
  // @ts-ignore: type is checked above.
@@ -72236,7 +72299,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72236
72299
  );
72237
72300
  }
72238
72301
  }
72239
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
72302
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
72240
72303
  if (\\"following\\" in values && values.following != null) {
72241
72304
  if (values.following instanceof Collection || values.following instanceof URL) {
72242
72305
  // @ts-ignore: type is checked above.
@@ -72249,7 +72312,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72249
72312
  );
72250
72313
  }
72251
72314
  }
72252
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
72315
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
72253
72316
  if (\\"followers\\" in values && values.followers != null) {
72254
72317
  if (values.followers instanceof Collection || values.followers instanceof URL) {
72255
72318
  // @ts-ignore: type is checked above.
@@ -72262,7 +72325,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72262
72325
  );
72263
72326
  }
72264
72327
  }
72265
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
72328
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
72266
72329
  if (\\"liked\\" in values && values.liked != null) {
72267
72330
  if (values.liked instanceof Collection || values.liked instanceof URL) {
72268
72331
  // @ts-ignore: type is checked above.
@@ -72275,7 +72338,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72275
72338
  );
72276
72339
  }
72277
72340
  }
72278
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
72341
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
72279
72342
  if (\\"featured\\" in values && values.featured != null) {
72280
72343
  if (values.featured instanceof Collection || values.featured instanceof URL) {
72281
72344
  // @ts-ignore: type is checked above.
@@ -72288,7 +72351,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72288
72351
  );
72289
72352
  }
72290
72353
  }
72291
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
72354
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
72292
72355
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
72293
72356
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
72294
72357
  // @ts-ignore: type is checked above.
@@ -72301,13 +72364,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72301
72364
  );
72302
72365
  }
72303
72366
  }
72304
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
72367
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
72305
72368
  if (\\"streams\\" in values && values.streams != null) {
72306
72369
 
72307
72370
  if (Array.isArray(values.streams) &&
72308
72371
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
72309
72372
  // @ts-ignore: type is checked above.
72310
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
72373
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
72311
72374
 
72312
72375
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
72313
72376
  for (let i = 0; i < values.streams.length; i++) {
@@ -72321,7 +72384,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72321
72384
  );
72322
72385
  }
72323
72386
  }
72324
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
72387
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
72325
72388
  if (\\"endpoints\\" in values && values.endpoints != null) {
72326
72389
  if (values.endpoints instanceof Endpoints) {
72327
72390
  // @ts-ignore: type is checked above.
@@ -72334,7 +72397,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72334
72397
  );
72335
72398
  }
72336
72399
  }
72337
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
72400
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
72338
72401
  if (\\"discoverable\\" in values && values.discoverable != null) {
72339
72402
  if (typeof values.discoverable === \\"boolean\\") {
72340
72403
  // @ts-ignore: type is checked above.
@@ -72347,7 +72410,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72347
72410
  );
72348
72411
  }
72349
72412
  }
72350
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
72413
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
72351
72414
  if (\\"suspended\\" in values && values.suspended != null) {
72352
72415
  if (typeof values.suspended === \\"boolean\\") {
72353
72416
  // @ts-ignore: type is checked above.
@@ -72360,7 +72423,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72360
72423
  );
72361
72424
  }
72362
72425
  }
72363
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
72426
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
72364
72427
  if (\\"memorial\\" in values && values.memorial != null) {
72365
72428
  if (typeof values.memorial === \\"boolean\\") {
72366
72429
  // @ts-ignore: type is checked above.
@@ -72373,7 +72436,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72373
72436
  );
72374
72437
  }
72375
72438
  }
72376
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
72439
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
72377
72440
  if (\\"indexable\\" in values && values.indexable != null) {
72378
72441
  if (typeof values.indexable === \\"boolean\\") {
72379
72442
  // @ts-ignore: type is checked above.
@@ -72386,7 +72449,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72386
72449
  );
72387
72450
  }
72388
72451
  }
72389
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
72452
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
72390
72453
  if (\\"successor\\" in values && values.successor != null) {
72391
72454
  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) {
72392
72455
  // @ts-ignore: type is checked above.
@@ -72399,7 +72462,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72399
72462
  );
72400
72463
  }
72401
72464
  }
72402
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
72465
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
72403
72466
  if (\\"alias\\" in values && values.alias != null) {
72404
72467
  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) {
72405
72468
  // @ts-ignore: type is checked above.
@@ -72426,7 +72489,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72426
72489
  if (Array.isArray(values.aliases) &&
72427
72490
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
72428
72491
  // @ts-ignore: type is checked above.
72429
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
72492
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
72430
72493
 
72431
72494
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
72432
72495
  for (let i = 0; i < values.aliases.length; i++) {
@@ -72440,7 +72503,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72440
72503
  );
72441
72504
  }
72442
72505
  }
72443
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
72506
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
72444
72507
  if (\\"service\\" in values && values.service != null) {
72445
72508
  if (values.service instanceof DidService || values.service instanceof URL) {
72446
72509
  // @ts-ignore: type is checked above.
@@ -72467,7 +72530,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72467
72530
  if (Array.isArray(values.services) &&
72468
72531
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
72469
72532
  // @ts-ignore: type is checked above.
72470
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
72533
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
72471
72534
 
72472
72535
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
72473
72536
  for (let i = 0; i < values.services.length; i++) {
@@ -72481,7 +72544,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72481
72544
  );
72482
72545
  }
72483
72546
  }
72484
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
72547
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
72485
72548
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
72486
72549
  if (typeof values.followedMessage === \\"string\\") {
72487
72550
  // @ts-ignore: type is checked above.
@@ -72494,7 +72557,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72494
72557
  );
72495
72558
  }
72496
72559
  }
72497
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
72560
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
72498
72561
  if (\\"cat\\" in values && values.cat != null) {
72499
72562
  if (typeof values.cat === \\"boolean\\") {
72500
72563
  // @ts-ignore: type is checked above.
@@ -78757,7 +78820,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
78757
78820
  * Clones this instance, optionally updating it with the given values.
78758
78821
  * @param values The values to update the clone with.
78759
78822
  * @param options The options to use for cloning.
78760
- * @returns The cloned instance.
78823
+ * @returns The cloned instance with its own property arrays. Nested objects
78824
+ * and URLs are shared with this instance.
78761
78825
  */
78762
78826
  override clone(
78763
78827
  values:
@@ -79177,7 +79241,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79177
79241
  if (Array.isArray(values.preferredUsernames) &&
79178
79242
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
79179
79243
  // @ts-ignore: type is checked above.
79180
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
79244
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
79181
79245
 
79182
79246
  } else {
79183
79247
  throw new TypeError(
@@ -79213,7 +79277,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79213
79277
  if (Array.isArray(values.publicKeys) &&
79214
79278
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
79215
79279
  // @ts-ignore: type is checked above.
79216
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
79280
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
79217
79281
 
79218
79282
  for (let i = 0; i < values.publicKeys.length; i++) {
79219
79283
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -79253,7 +79317,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79253
79317
  if (Array.isArray(values.assertionMethods) &&
79254
79318
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
79255
79319
  // @ts-ignore: type is checked above.
79256
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
79320
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
79257
79321
 
79258
79322
  for (let i = 0; i < values.assertionMethods.length; i++) {
79259
79323
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -79376,7 +79440,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79376
79440
  if (Array.isArray(values.streams) &&
79377
79441
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
79378
79442
  // @ts-ignore: type is checked above.
79379
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
79443
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
79380
79444
 
79381
79445
  for (let i = 0; i < values.streams.length; i++) {
79382
79446
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -79494,7 +79558,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79494
79558
  if (Array.isArray(values.aliases) &&
79495
79559
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
79496
79560
  // @ts-ignore: type is checked above.
79497
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
79561
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
79498
79562
 
79499
79563
  for (let i = 0; i < values.aliases.length; i++) {
79500
79564
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -79534,7 +79598,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79534
79598
  if (Array.isArray(values.services) &&
79535
79599
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
79536
79600
  // @ts-ignore: type is checked above.
79537
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
79601
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
79538
79602
 
79539
79603
  for (let i = 0; i < values.services.length; i++) {
79540
79604
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -79579,7 +79643,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79579
79643
  * Clones this instance, optionally updating it with the given values.
79580
79644
  * @param values The values to update the clone with.
79581
79645
  * @param options The options to use for cloning.
79582
- * @returns The cloned instance.
79646
+ * @returns The cloned instance with its own property arrays. Nested objects
79647
+ * and URLs are shared with this instance.
79583
79648
  */
79584
79649
  override clone(
79585
79650
  values:
@@ -79622,7 +79687,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79622
79687
  // @ts-ignore: $warning is not recognized as a property, but it is.
79623
79688
  options = { ...options, $warning: this._warning };
79624
79689
  }
79625
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
79690
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
79626
79691
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
79627
79692
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
79628
79693
  // @ts-ignore: type is checked above.
@@ -79649,7 +79714,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79649
79714
  if (Array.isArray(values.preferredUsernames) &&
79650
79715
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
79651
79716
  // @ts-ignore: type is checked above.
79652
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
79717
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
79653
79718
 
79654
79719
  } else {
79655
79720
  throw new TypeError(
@@ -79658,7 +79723,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79658
79723
  );
79659
79724
  }
79660
79725
  }
79661
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
79726
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
79662
79727
  if (\\"publicKey\\" in values && values.publicKey != null) {
79663
79728
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
79664
79729
  // @ts-ignore: type is checked above.
@@ -79685,7 +79750,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79685
79750
  if (Array.isArray(values.publicKeys) &&
79686
79751
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
79687
79752
  // @ts-ignore: type is checked above.
79688
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
79753
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
79689
79754
 
79690
79755
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
79691
79756
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -79699,7 +79764,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79699
79764
  );
79700
79765
  }
79701
79766
  }
79702
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
79767
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
79703
79768
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
79704
79769
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
79705
79770
  // @ts-ignore: type is checked above.
@@ -79726,7 +79791,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79726
79791
  if (Array.isArray(values.assertionMethods) &&
79727
79792
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
79728
79793
  // @ts-ignore: type is checked above.
79729
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
79794
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
79730
79795
 
79731
79796
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
79732
79797
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -79740,7 +79805,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79740
79805
  );
79741
79806
  }
79742
79807
  }
79743
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
79808
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
79744
79809
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
79745
79810
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
79746
79811
  // @ts-ignore: type is checked above.
@@ -79753,7 +79818,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79753
79818
  );
79754
79819
  }
79755
79820
  }
79756
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
79821
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
79757
79822
  if (\\"inbox\\" in values && values.inbox != null) {
79758
79823
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
79759
79824
  // @ts-ignore: type is checked above.
@@ -79766,7 +79831,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79766
79831
  );
79767
79832
  }
79768
79833
  }
79769
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
79834
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
79770
79835
  if (\\"outbox\\" in values && values.outbox != null) {
79771
79836
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
79772
79837
  // @ts-ignore: type is checked above.
@@ -79779,7 +79844,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79779
79844
  );
79780
79845
  }
79781
79846
  }
79782
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
79847
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
79783
79848
  if (\\"following\\" in values && values.following != null) {
79784
79849
  if (values.following instanceof Collection || values.following instanceof URL) {
79785
79850
  // @ts-ignore: type is checked above.
@@ -79792,7 +79857,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79792
79857
  );
79793
79858
  }
79794
79859
  }
79795
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
79860
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
79796
79861
  if (\\"followers\\" in values && values.followers != null) {
79797
79862
  if (values.followers instanceof Collection || values.followers instanceof URL) {
79798
79863
  // @ts-ignore: type is checked above.
@@ -79805,7 +79870,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79805
79870
  );
79806
79871
  }
79807
79872
  }
79808
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
79873
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
79809
79874
  if (\\"liked\\" in values && values.liked != null) {
79810
79875
  if (values.liked instanceof Collection || values.liked instanceof URL) {
79811
79876
  // @ts-ignore: type is checked above.
@@ -79818,7 +79883,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79818
79883
  );
79819
79884
  }
79820
79885
  }
79821
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
79886
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
79822
79887
  if (\\"featured\\" in values && values.featured != null) {
79823
79888
  if (values.featured instanceof Collection || values.featured instanceof URL) {
79824
79889
  // @ts-ignore: type is checked above.
@@ -79831,7 +79896,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79831
79896
  );
79832
79897
  }
79833
79898
  }
79834
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
79899
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
79835
79900
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
79836
79901
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
79837
79902
  // @ts-ignore: type is checked above.
@@ -79844,13 +79909,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79844
79909
  );
79845
79910
  }
79846
79911
  }
79847
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
79912
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
79848
79913
  if (\\"streams\\" in values && values.streams != null) {
79849
79914
 
79850
79915
  if (Array.isArray(values.streams) &&
79851
79916
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
79852
79917
  // @ts-ignore: type is checked above.
79853
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
79918
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
79854
79919
 
79855
79920
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
79856
79921
  for (let i = 0; i < values.streams.length; i++) {
@@ -79864,7 +79929,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79864
79929
  );
79865
79930
  }
79866
79931
  }
79867
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
79932
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
79868
79933
  if (\\"endpoints\\" in values && values.endpoints != null) {
79869
79934
  if (values.endpoints instanceof Endpoints) {
79870
79935
  // @ts-ignore: type is checked above.
@@ -79877,7 +79942,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79877
79942
  );
79878
79943
  }
79879
79944
  }
79880
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
79945
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
79881
79946
  if (\\"discoverable\\" in values && values.discoverable != null) {
79882
79947
  if (typeof values.discoverable === \\"boolean\\") {
79883
79948
  // @ts-ignore: type is checked above.
@@ -79890,7 +79955,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79890
79955
  );
79891
79956
  }
79892
79957
  }
79893
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
79958
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
79894
79959
  if (\\"suspended\\" in values && values.suspended != null) {
79895
79960
  if (typeof values.suspended === \\"boolean\\") {
79896
79961
  // @ts-ignore: type is checked above.
@@ -79903,7 +79968,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79903
79968
  );
79904
79969
  }
79905
79970
  }
79906
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
79971
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
79907
79972
  if (\\"memorial\\" in values && values.memorial != null) {
79908
79973
  if (typeof values.memorial === \\"boolean\\") {
79909
79974
  // @ts-ignore: type is checked above.
@@ -79916,7 +79981,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79916
79981
  );
79917
79982
  }
79918
79983
  }
79919
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
79984
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
79920
79985
  if (\\"indexable\\" in values && values.indexable != null) {
79921
79986
  if (typeof values.indexable === \\"boolean\\") {
79922
79987
  // @ts-ignore: type is checked above.
@@ -79929,7 +79994,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79929
79994
  );
79930
79995
  }
79931
79996
  }
79932
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
79997
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
79933
79998
  if (\\"successor\\" in values && values.successor != null) {
79934
79999
  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) {
79935
80000
  // @ts-ignore: type is checked above.
@@ -79942,7 +80007,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79942
80007
  );
79943
80008
  }
79944
80009
  }
79945
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
80010
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
79946
80011
  if (\\"alias\\" in values && values.alias != null) {
79947
80012
  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) {
79948
80013
  // @ts-ignore: type is checked above.
@@ -79969,7 +80034,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79969
80034
  if (Array.isArray(values.aliases) &&
79970
80035
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
79971
80036
  // @ts-ignore: type is checked above.
79972
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
80037
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
79973
80038
 
79974
80039
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
79975
80040
  for (let i = 0; i < values.aliases.length; i++) {
@@ -79983,7 +80048,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79983
80048
  );
79984
80049
  }
79985
80050
  }
79986
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
80051
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
79987
80052
  if (\\"service\\" in values && values.service != null) {
79988
80053
  if (values.service instanceof DidService || values.service instanceof URL) {
79989
80054
  // @ts-ignore: type is checked above.
@@ -80010,7 +80075,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80010
80075
  if (Array.isArray(values.services) &&
80011
80076
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
80012
80077
  // @ts-ignore: type is checked above.
80013
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
80078
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
80014
80079
 
80015
80080
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
80016
80081
  for (let i = 0; i < values.services.length; i++) {
@@ -80024,7 +80089,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80024
80089
  );
80025
80090
  }
80026
80091
  }
80027
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
80092
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
80028
80093
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
80029
80094
  if (typeof values.followedMessage === \\"string\\") {
80030
80095
  // @ts-ignore: type is checked above.
@@ -80037,7 +80102,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80037
80102
  );
80038
80103
  }
80039
80104
  }
80040
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
80105
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
80041
80106
  if (\\"cat\\" in values && values.cat != null) {
80042
80107
  if (typeof values.cat === \\"boolean\\") {
80043
80108
  // @ts-ignore: type is checked above.
@@ -86387,7 +86452,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86387
86452
  * Clones this instance, optionally updating it with the given values.
86388
86453
  * @param values The values to update the clone with.
86389
86454
  * @param options The options to use for cloning.
86390
- * @returns The cloned instance.
86455
+ * @returns The cloned instance with its own property arrays. Nested objects
86456
+ * and URLs are shared with this instance.
86391
86457
  */
86392
86458
  override clone(
86393
86459
  values:
@@ -86425,7 +86491,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86425
86491
  // @ts-ignore: $warning is not recognized as a property, but it is.
86426
86492
  options = { ...options, $warning: this._warning };
86427
86493
  }
86428
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
86494
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
86429
86495
  if (\\"accuracy\\" in values && values.accuracy != null) {
86430
86496
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
86431
86497
  // @ts-ignore: type is checked above.
@@ -86438,7 +86504,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86438
86504
  );
86439
86505
  }
86440
86506
  }
86441
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
86507
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
86442
86508
  if (\\"altitude\\" in values && values.altitude != null) {
86443
86509
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
86444
86510
  // @ts-ignore: type is checked above.
@@ -86451,7 +86517,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86451
86517
  );
86452
86518
  }
86453
86519
  }
86454
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
86520
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
86455
86521
  if (\\"latitude\\" in values && values.latitude != null) {
86456
86522
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
86457
86523
  // @ts-ignore: type is checked above.
@@ -86464,7 +86530,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86464
86530
  );
86465
86531
  }
86466
86532
  }
86467
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
86533
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
86468
86534
  if (\\"longitude\\" in values && values.longitude != null) {
86469
86535
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
86470
86536
  // @ts-ignore: type is checked above.
@@ -86477,7 +86543,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86477
86543
  );
86478
86544
  }
86479
86545
  }
86480
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
86546
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
86481
86547
  if (\\"radius\\" in values && values.radius != null) {
86482
86548
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
86483
86549
  // @ts-ignore: type is checked above.
@@ -86490,7 +86556,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86490
86556
  );
86491
86557
  }
86492
86558
  }
86493
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
86559
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
86494
86560
  if (\\"units\\" in values && values.units != null) {
86495
86561
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
86496
86562
  // @ts-ignore: type is checked above.
@@ -87435,7 +87501,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
87435
87501
  * Clones this instance, optionally updating it with the given values.
87436
87502
  * @param values The values to update the clone with.
87437
87503
  * @param options The options to use for cloning.
87438
- * @returns The cloned instance.
87504
+ * @returns The cloned instance with its own property arrays. Nested objects
87505
+ * and URLs are shared with this instance.
87439
87506
  */
87440
87507
  override clone(
87441
87508
  values:
@@ -87473,7 +87540,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
87473
87540
  // @ts-ignore: $warning is not recognized as a property, but it is.
87474
87541
  options = { ...options, $warning: this._warning };
87475
87542
  }
87476
- 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);
87543
+ 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);
87477
87544
  if (\\"describes\\" in values && values.describes != null) {
87478
87545
  if (values.describes instanceof Object || values.describes instanceof URL) {
87479
87546
  // @ts-ignore: type is checked above.
@@ -88157,7 +88224,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88157
88224
  if (Array.isArray(values.exclusiveOptions) &&
88158
88225
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88159
88226
  // @ts-ignore: type is checked above.
88160
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
88227
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
88161
88228
 
88162
88229
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
88163
88230
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -88176,7 +88243,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88176
88243
  if (Array.isArray(values.inclusiveOptions) &&
88177
88244
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88178
88245
  // @ts-ignore: type is checked above.
88179
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
88246
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
88180
88247
 
88181
88248
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
88182
88249
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -88260,7 +88327,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88260
88327
  * Clones this instance, optionally updating it with the given values.
88261
88328
  * @param values The values to update the clone with.
88262
88329
  * @param options The options to use for cloning.
88263
- * @returns The cloned instance.
88330
+ * @returns The cloned instance with its own property arrays. Nested objects
88331
+ * and URLs are shared with this instance.
88264
88332
  */
88265
88333
  override clone(
88266
88334
  values:
@@ -88304,13 +88372,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88304
88372
  // @ts-ignore: $warning is not recognized as a property, but it is.
88305
88373
  options = { ...options, $warning: this._warning };
88306
88374
  }
88307
- 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);
88375
+ 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);
88308
88376
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
88309
88377
 
88310
88378
  if (Array.isArray(values.exclusiveOptions) &&
88311
88379
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88312
88380
  // @ts-ignore: type is checked above.
88313
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
88381
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
88314
88382
 
88315
88383
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
88316
88384
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -88324,13 +88392,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88324
88392
  );
88325
88393
  }
88326
88394
  }
88327
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
88395
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
88328
88396
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
88329
88397
 
88330
88398
  if (Array.isArray(values.inclusiveOptions) &&
88331
88399
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88332
88400
  // @ts-ignore: type is checked above.
88333
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
88401
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
88334
88402
 
88335
88403
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
88336
88404
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -88344,7 +88412,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88344
88412
  );
88345
88413
  }
88346
88414
  }
88347
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
88415
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
88348
88416
  if (\\"closed\\" in values && values.closed != null) {
88349
88417
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
88350
88418
  // @ts-ignore: type is checked above.
@@ -88357,7 +88425,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88357
88425
  );
88358
88426
  }
88359
88427
  }
88360
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
88428
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
88361
88429
  if (\\"voters\\" in values && values.voters != null) {
88362
88430
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
88363
88431
  // @ts-ignore: type is checked above.
@@ -88370,7 +88438,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88370
88438
  );
88371
88439
  }
88372
88440
  }
88373
- clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
88441
+ clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
88374
88442
  if (\\"quote\\" in values && values.quote != null) {
88375
88443
  if (values.quote instanceof Object || values.quote instanceof URL) {
88376
88444
  // @ts-ignore: type is checked above.
@@ -88383,7 +88451,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88383
88451
  );
88384
88452
  }
88385
88453
  }
88386
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
88454
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
88387
88455
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
88388
88456
  if (values.quoteUrl instanceof URL) {
88389
88457
  // @ts-ignore: type is checked above.
@@ -88396,7 +88464,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88396
88464
  );
88397
88465
  }
88398
88466
  }
88399
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
88467
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
88400
88468
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
88401
88469
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
88402
88470
  // @ts-ignore: type is checked above.
@@ -90251,7 +90319,8 @@ instruments?: (Object | URL)[];}
90251
90319
  * Clones this instance, optionally updating it with the given values.
90252
90320
  * @param values The values to update the clone with.
90253
90321
  * @param options The options to use for cloning.
90254
- * @returns The cloned instance.
90322
+ * @returns The cloned instance with its own property arrays. Nested objects
90323
+ * and URLs are shared with this instance.
90255
90324
  */
90256
90325
  override clone(
90257
90326
  values:
@@ -90594,7 +90663,8 @@ instruments?: (Object | URL)[];}
90594
90663
  * Clones this instance, optionally updating it with the given values.
90595
90664
  * @param values The values to update the clone with.
90596
90665
  * @param options The options to use for cloning.
90597
- * @returns The cloned instance.
90666
+ * @returns The cloned instance with its own property arrays. Nested objects
90667
+ * and URLs are shared with this instance.
90598
90668
  */
90599
90669
  override clone(
90600
90670
  values:
@@ -90985,7 +91055,7 @@ relationships?: (Object | URL)[];}
90985
91055
  if (Array.isArray(values.objects) &&
90986
91056
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
90987
91057
  // @ts-ignore: type is checked above.
90988
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
91058
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
90989
91059
 
90990
91060
  for (let i = 0; i < values.objects.length; i++) {
90991
91061
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -91025,7 +91095,7 @@ relationships?: (Object | URL)[];}
91025
91095
  if (Array.isArray(values.relationships) &&
91026
91096
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
91027
91097
  // @ts-ignore: type is checked above.
91028
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
91098
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
91029
91099
 
91030
91100
  for (let i = 0; i < values.relationships.length; i++) {
91031
91101
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -91044,7 +91114,8 @@ relationships?: (Object | URL)[];}
91044
91114
  * Clones this instance, optionally updating it with the given values.
91045
91115
  * @param values The values to update the clone with.
91046
91116
  * @param options The options to use for cloning.
91047
- * @returns The cloned instance.
91117
+ * @returns The cloned instance with its own property arrays. Nested objects
91118
+ * and URLs are shared with this instance.
91048
91119
  */
91049
91120
  override clone(
91050
91121
  values:
@@ -91084,7 +91155,7 @@ relationships?: (Object | URL)[];}
91084
91155
  // @ts-ignore: $warning is not recognized as a property, but it is.
91085
91156
  options = { ...options, $warning: this._warning };
91086
91157
  }
91087
- 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);
91158
+ 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);
91088
91159
  if (\\"subject\\" in values && values.subject != null) {
91089
91160
  if (values.subject instanceof Object || values.subject instanceof URL) {
91090
91161
  // @ts-ignore: type is checked above.
@@ -91097,7 +91168,7 @@ relationships?: (Object | URL)[];}
91097
91168
  );
91098
91169
  }
91099
91170
  }
91100
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
91171
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
91101
91172
  if (\\"object\\" in values && values.object != null) {
91102
91173
  if (values.object instanceof Object || values.object instanceof URL) {
91103
91174
  // @ts-ignore: type is checked above.
@@ -91124,7 +91195,7 @@ relationships?: (Object | URL)[];}
91124
91195
  if (Array.isArray(values.objects) &&
91125
91196
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
91126
91197
  // @ts-ignore: type is checked above.
91127
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
91198
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
91128
91199
 
91129
91200
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
91130
91201
  for (let i = 0; i < values.objects.length; i++) {
@@ -91138,7 +91209,7 @@ relationships?: (Object | URL)[];}
91138
91209
  );
91139
91210
  }
91140
91211
  }
91141
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
91212
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
91142
91213
  if (\\"relationship\\" in values && values.relationship != null) {
91143
91214
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
91144
91215
  // @ts-ignore: type is checked above.
@@ -91165,7 +91236,7 @@ relationships?: (Object | URL)[];}
91165
91236
  if (Array.isArray(values.relationships) &&
91166
91237
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
91167
91238
  // @ts-ignore: type is checked above.
91168
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
91239
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
91169
91240
 
91170
91241
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
91171
91242
  for (let i = 0; i < values.relationships.length; i++) {
@@ -92739,7 +92810,8 @@ instruments?: (Object | URL)[];}
92739
92810
  * Clones this instance, optionally updating it with the given values.
92740
92811
  * @param values The values to update the clone with.
92741
92812
  * @param options The options to use for cloning.
92742
- * @returns The cloned instance.
92813
+ * @returns The cloned instance with its own property arrays. Nested objects
92814
+ * and URLs are shared with this instance.
92743
92815
  */
92744
92816
  override clone(
92745
92817
  values:
@@ -93148,7 +93220,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93148
93220
  if (Array.isArray(values.preferredUsernames) &&
93149
93221
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
93150
93222
  // @ts-ignore: type is checked above.
93151
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
93223
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
93152
93224
 
93153
93225
  } else {
93154
93226
  throw new TypeError(
@@ -93184,7 +93256,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93184
93256
  if (Array.isArray(values.publicKeys) &&
93185
93257
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
93186
93258
  // @ts-ignore: type is checked above.
93187
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
93259
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
93188
93260
 
93189
93261
  for (let i = 0; i < values.publicKeys.length; i++) {
93190
93262
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -93224,7 +93296,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93224
93296
  if (Array.isArray(values.assertionMethods) &&
93225
93297
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
93226
93298
  // @ts-ignore: type is checked above.
93227
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
93299
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
93228
93300
 
93229
93301
  for (let i = 0; i < values.assertionMethods.length; i++) {
93230
93302
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -93347,7 +93419,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93347
93419
  if (Array.isArray(values.streams) &&
93348
93420
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
93349
93421
  // @ts-ignore: type is checked above.
93350
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
93422
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
93351
93423
 
93352
93424
  for (let i = 0; i < values.streams.length; i++) {
93353
93425
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -93465,7 +93537,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93465
93537
  if (Array.isArray(values.aliases) &&
93466
93538
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
93467
93539
  // @ts-ignore: type is checked above.
93468
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
93540
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
93469
93541
 
93470
93542
  for (let i = 0; i < values.aliases.length; i++) {
93471
93543
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -93505,7 +93577,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93505
93577
  if (Array.isArray(values.services) &&
93506
93578
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
93507
93579
  // @ts-ignore: type is checked above.
93508
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
93580
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
93509
93581
 
93510
93582
  for (let i = 0; i < values.services.length; i++) {
93511
93583
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -93550,7 +93622,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93550
93622
  * Clones this instance, optionally updating it with the given values.
93551
93623
  * @param values The values to update the clone with.
93552
93624
  * @param options The options to use for cloning.
93553
- * @returns The cloned instance.
93625
+ * @returns The cloned instance with its own property arrays. Nested objects
93626
+ * and URLs are shared with this instance.
93554
93627
  */
93555
93628
  override clone(
93556
93629
  values:
@@ -93593,7 +93666,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93593
93666
  // @ts-ignore: $warning is not recognized as a property, but it is.
93594
93667
  options = { ...options, $warning: this._warning };
93595
93668
  }
93596
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
93669
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
93597
93670
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
93598
93671
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
93599
93672
  // @ts-ignore: type is checked above.
@@ -93620,7 +93693,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93620
93693
  if (Array.isArray(values.preferredUsernames) &&
93621
93694
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
93622
93695
  // @ts-ignore: type is checked above.
93623
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
93696
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
93624
93697
 
93625
93698
  } else {
93626
93699
  throw new TypeError(
@@ -93629,7 +93702,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93629
93702
  );
93630
93703
  }
93631
93704
  }
93632
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
93705
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
93633
93706
  if (\\"publicKey\\" in values && values.publicKey != null) {
93634
93707
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
93635
93708
  // @ts-ignore: type is checked above.
@@ -93656,7 +93729,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93656
93729
  if (Array.isArray(values.publicKeys) &&
93657
93730
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
93658
93731
  // @ts-ignore: type is checked above.
93659
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
93732
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
93660
93733
 
93661
93734
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
93662
93735
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -93670,7 +93743,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93670
93743
  );
93671
93744
  }
93672
93745
  }
93673
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
93746
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
93674
93747
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
93675
93748
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
93676
93749
  // @ts-ignore: type is checked above.
@@ -93697,7 +93770,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93697
93770
  if (Array.isArray(values.assertionMethods) &&
93698
93771
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
93699
93772
  // @ts-ignore: type is checked above.
93700
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
93773
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
93701
93774
 
93702
93775
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
93703
93776
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -93711,7 +93784,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93711
93784
  );
93712
93785
  }
93713
93786
  }
93714
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
93787
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
93715
93788
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
93716
93789
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
93717
93790
  // @ts-ignore: type is checked above.
@@ -93724,7 +93797,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93724
93797
  );
93725
93798
  }
93726
93799
  }
93727
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
93800
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
93728
93801
  if (\\"inbox\\" in values && values.inbox != null) {
93729
93802
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
93730
93803
  // @ts-ignore: type is checked above.
@@ -93737,7 +93810,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93737
93810
  );
93738
93811
  }
93739
93812
  }
93740
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
93813
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
93741
93814
  if (\\"outbox\\" in values && values.outbox != null) {
93742
93815
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
93743
93816
  // @ts-ignore: type is checked above.
@@ -93750,7 +93823,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93750
93823
  );
93751
93824
  }
93752
93825
  }
93753
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
93826
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
93754
93827
  if (\\"following\\" in values && values.following != null) {
93755
93828
  if (values.following instanceof Collection || values.following instanceof URL) {
93756
93829
  // @ts-ignore: type is checked above.
@@ -93763,7 +93836,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93763
93836
  );
93764
93837
  }
93765
93838
  }
93766
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
93839
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
93767
93840
  if (\\"followers\\" in values && values.followers != null) {
93768
93841
  if (values.followers instanceof Collection || values.followers instanceof URL) {
93769
93842
  // @ts-ignore: type is checked above.
@@ -93776,7 +93849,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93776
93849
  );
93777
93850
  }
93778
93851
  }
93779
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
93852
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
93780
93853
  if (\\"liked\\" in values && values.liked != null) {
93781
93854
  if (values.liked instanceof Collection || values.liked instanceof URL) {
93782
93855
  // @ts-ignore: type is checked above.
@@ -93789,7 +93862,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93789
93862
  );
93790
93863
  }
93791
93864
  }
93792
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
93865
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
93793
93866
  if (\\"featured\\" in values && values.featured != null) {
93794
93867
  if (values.featured instanceof Collection || values.featured instanceof URL) {
93795
93868
  // @ts-ignore: type is checked above.
@@ -93802,7 +93875,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93802
93875
  );
93803
93876
  }
93804
93877
  }
93805
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
93878
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
93806
93879
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
93807
93880
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
93808
93881
  // @ts-ignore: type is checked above.
@@ -93815,13 +93888,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93815
93888
  );
93816
93889
  }
93817
93890
  }
93818
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
93891
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
93819
93892
  if (\\"streams\\" in values && values.streams != null) {
93820
93893
 
93821
93894
  if (Array.isArray(values.streams) &&
93822
93895
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
93823
93896
  // @ts-ignore: type is checked above.
93824
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
93897
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
93825
93898
 
93826
93899
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
93827
93900
  for (let i = 0; i < values.streams.length; i++) {
@@ -93835,7 +93908,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93835
93908
  );
93836
93909
  }
93837
93910
  }
93838
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
93911
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
93839
93912
  if (\\"endpoints\\" in values && values.endpoints != null) {
93840
93913
  if (values.endpoints instanceof Endpoints) {
93841
93914
  // @ts-ignore: type is checked above.
@@ -93848,7 +93921,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93848
93921
  );
93849
93922
  }
93850
93923
  }
93851
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
93924
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
93852
93925
  if (\\"discoverable\\" in values && values.discoverable != null) {
93853
93926
  if (typeof values.discoverable === \\"boolean\\") {
93854
93927
  // @ts-ignore: type is checked above.
@@ -93861,7 +93934,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93861
93934
  );
93862
93935
  }
93863
93936
  }
93864
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
93937
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
93865
93938
  if (\\"suspended\\" in values && values.suspended != null) {
93866
93939
  if (typeof values.suspended === \\"boolean\\") {
93867
93940
  // @ts-ignore: type is checked above.
@@ -93874,7 +93947,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93874
93947
  );
93875
93948
  }
93876
93949
  }
93877
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
93950
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
93878
93951
  if (\\"memorial\\" in values && values.memorial != null) {
93879
93952
  if (typeof values.memorial === \\"boolean\\") {
93880
93953
  // @ts-ignore: type is checked above.
@@ -93887,7 +93960,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93887
93960
  );
93888
93961
  }
93889
93962
  }
93890
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
93963
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
93891
93964
  if (\\"indexable\\" in values && values.indexable != null) {
93892
93965
  if (typeof values.indexable === \\"boolean\\") {
93893
93966
  // @ts-ignore: type is checked above.
@@ -93900,7 +93973,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93900
93973
  );
93901
93974
  }
93902
93975
  }
93903
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
93976
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
93904
93977
  if (\\"successor\\" in values && values.successor != null) {
93905
93978
  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) {
93906
93979
  // @ts-ignore: type is checked above.
@@ -93913,7 +93986,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93913
93986
  );
93914
93987
  }
93915
93988
  }
93916
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
93989
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
93917
93990
  if (\\"alias\\" in values && values.alias != null) {
93918
93991
  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) {
93919
93992
  // @ts-ignore: type is checked above.
@@ -93940,7 +94013,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93940
94013
  if (Array.isArray(values.aliases) &&
93941
94014
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
93942
94015
  // @ts-ignore: type is checked above.
93943
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
94016
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
93944
94017
 
93945
94018
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
93946
94019
  for (let i = 0; i < values.aliases.length; i++) {
@@ -93954,7 +94027,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93954
94027
  );
93955
94028
  }
93956
94029
  }
93957
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
94030
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
93958
94031
  if (\\"service\\" in values && values.service != null) {
93959
94032
  if (values.service instanceof DidService || values.service instanceof URL) {
93960
94033
  // @ts-ignore: type is checked above.
@@ -93981,7 +94054,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93981
94054
  if (Array.isArray(values.services) &&
93982
94055
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
93983
94056
  // @ts-ignore: type is checked above.
93984
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
94057
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
93985
94058
 
93986
94059
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
93987
94060
  for (let i = 0; i < values.services.length; i++) {
@@ -93995,7 +94068,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93995
94068
  );
93996
94069
  }
93997
94070
  }
93998
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
94071
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
93999
94072
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
94000
94073
  if (typeof values.followedMessage === \\"string\\") {
94001
94074
  // @ts-ignore: type is checked above.
@@ -94008,7 +94081,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
94008
94081
  );
94009
94082
  }
94010
94083
  }
94011
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
94084
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
94012
94085
  if (\\"cat\\" in values && values.cat != null) {
94013
94086
  if (typeof values.cat === \\"boolean\\") {
94014
94087
  // @ts-ignore: type is checked above.
@@ -100356,7 +100429,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100356
100429
  if (Array.isArray(values.contents) &&
100357
100430
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
100358
100431
  // @ts-ignore: type is checked above.
100359
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
100432
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
100360
100433
 
100361
100434
  } else {
100362
100435
  throw new TypeError(
@@ -100384,7 +100457,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100384
100457
  * Clones this instance, optionally updating it with the given values.
100385
100458
  * @param values The values to update the clone with.
100386
100459
  * @param options The options to use for cloning.
100387
- * @returns The cloned instance.
100460
+ * @returns The cloned instance with its own property arrays. Nested objects
100461
+ * and URLs are shared with this instance.
100388
100462
  */
100389
100463
  clone(
100390
100464
  values:
@@ -100413,7 +100487,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100413
100487
  { id: values.id ?? this.id },
100414
100488
  options
100415
100489
  );
100416
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
100490
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
100417
100491
  if (\\"content\\" in values && values.content != null) {
100418
100492
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
100419
100493
  // @ts-ignore: type is checked above.
@@ -100440,7 +100514,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100440
100514
  if (Array.isArray(values.contents) &&
100441
100515
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
100442
100516
  // @ts-ignore: type is checked above.
100443
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
100517
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
100444
100518
 
100445
100519
  } else {
100446
100520
  throw new TypeError(
@@ -100449,7 +100523,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100449
100523
  );
100450
100524
  }
100451
100525
  }
100452
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
100526
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
100453
100527
  if (\\"mediaType\\" in values && values.mediaType != null) {
100454
100528
  if (typeof values.mediaType === \\"string\\") {
100455
100529
  // @ts-ignore: type is checked above.
@@ -100974,7 +101048,8 @@ instruments?: (Object | URL)[];}
100974
101048
  * Clones this instance, optionally updating it with the given values.
100975
101049
  * @param values The values to update the clone with.
100976
101050
  * @param options The options to use for cloning.
100977
- * @returns The cloned instance.
101051
+ * @returns The cloned instance with its own property arrays. Nested objects
101052
+ * and URLs are shared with this instance.
100978
101053
  */
100979
101054
  override clone(
100980
101055
  values:
@@ -101317,7 +101392,8 @@ instruments?: (Object | URL)[];}
101317
101392
  * Clones this instance, optionally updating it with the given values.
101318
101393
  * @param values The values to update the clone with.
101319
101394
  * @param options The options to use for cloning.
101320
- * @returns The cloned instance.
101395
+ * @returns The cloned instance with its own property arrays. Nested objects
101396
+ * and URLs are shared with this instance.
101321
101397
  */
101322
101398
  override clone(
101323
101399
  values:
@@ -101679,7 +101755,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101679
101755
  if (Array.isArray(values.formerTypes) &&
101680
101756
  values.formerTypes.every(v => isEntityType(v))) {
101681
101757
  // @ts-ignore: type is checked above.
101682
- this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
101758
+ this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
101683
101759
 
101684
101760
  } else {
101685
101761
  throw new TypeError(
@@ -101707,7 +101783,8 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101707
101783
  * Clones this instance, optionally updating it with the given values.
101708
101784
  * @param values The values to update the clone with.
101709
101785
  * @param options The options to use for cloning.
101710
- * @returns The cloned instance.
101786
+ * @returns The cloned instance with its own property arrays. Nested objects
101787
+ * and URLs are shared with this instance.
101711
101788
  */
101712
101789
  override clone(
101713
101790
  values:
@@ -101746,7 +101823,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101746
101823
  // @ts-ignore: $warning is not recognized as a property, but it is.
101747
101824
  options = { ...options, $warning: this._warning };
101748
101825
  }
101749
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType;
101826
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType.slice();
101750
101827
  if (\\"formerType\\" in values && values.formerType != null) {
101751
101828
  if (isEntityType(values.formerType)) {
101752
101829
  // @ts-ignore: type is checked above.
@@ -101773,7 +101850,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101773
101850
  if (Array.isArray(values.formerTypes) &&
101774
101851
  values.formerTypes.every(v => isEntityType(v))) {
101775
101852
  // @ts-ignore: type is checked above.
101776
- clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
101853
+ clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
101777
101854
 
101778
101855
  } else {
101779
101856
  throw new TypeError(
@@ -101782,7 +101859,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101782
101859
  );
101783
101860
  }
101784
101861
  }
101785
- clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
101862
+ clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
101786
101863
  if (\\"deleted\\" in values && values.deleted != null) {
101787
101864
  if (isTemporalInstant(values.deleted)) {
101788
101865
  // @ts-ignore: type is checked above.
@@ -102342,7 +102419,8 @@ instruments?: (Object | URL)[];}
102342
102419
  * Clones this instance, optionally updating it with the given values.
102343
102420
  * @param values The values to update the clone with.
102344
102421
  * @param options The options to use for cloning.
102345
- * @returns The cloned instance.
102422
+ * @returns The cloned instance with its own property arrays. Nested objects
102423
+ * and URLs are shared with this instance.
102346
102424
  */
102347
102425
  override clone(
102348
102426
  values:
@@ -102690,7 +102768,8 @@ instruments?: (Object | URL)[];}
102690
102768
  * Clones this instance, optionally updating it with the given values.
102691
102769
  * @param values The values to update the clone with.
102692
102770
  * @param options The options to use for cloning.
102693
- * @returns The cloned instance.
102771
+ * @returns The cloned instance with its own property arrays. Nested objects
102772
+ * and URLs are shared with this instance.
102694
102773
  */
102695
102774
  override clone(
102696
102775
  values:
@@ -103036,7 +103115,8 @@ instruments?: (Object | URL)[];}
103036
103115
  * Clones this instance, optionally updating it with the given values.
103037
103116
  * @param values The values to update the clone with.
103038
103117
  * @param options The options to use for cloning.
103039
- * @returns The cloned instance.
103118
+ * @returns The cloned instance with its own property arrays. Nested objects
103119
+ * and URLs are shared with this instance.
103040
103120
  */
103041
103121
  override clone(
103042
103122
  values:
@@ -103371,7 +103451,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
103371
103451
  * Clones this instance, optionally updating it with the given values.
103372
103452
  * @param values The values to update the clone with.
103373
103453
  * @param options The options to use for cloning.
103374
- * @returns The cloned instance.
103454
+ * @returns The cloned instance with its own property arrays. Nested objects
103455
+ * and URLs are shared with this instance.
103375
103456
  */
103376
103457
  override clone(
103377
103458
  values:
@@ -103724,7 +103805,8 @@ instruments?: (Object | URL)[];}
103724
103805
  * Clones this instance, optionally updating it with the given values.
103725
103806
  * @param values The values to update the clone with.
103726
103807
  * @param options The options to use for cloning.
103727
- * @returns The cloned instance.
103808
+ * @returns The cloned instance with its own property arrays. Nested objects
103809
+ * and URLs are shared with this instance.
103728
103810
  */
103729
103811
  override clone(
103730
103812
  values: