@fedify/vocab-tools 2.1.26 → 2.1.27

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;
@@ -254,7 +255,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
254
255
  if (Array.isArray(values.attachments) &&
255
256
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
256
257
  // @ts-ignore: type is checked above.
257
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
258
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
258
259
 
259
260
  for (let i = 0; i < values.attachments.length; i++) {
260
261
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -294,7 +295,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
294
295
  if (Array.isArray(values.attributions) &&
295
296
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
296
297
  // @ts-ignore: type is checked above.
297
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
298
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
298
299
 
299
300
  for (let i = 0; i < values.attributions.length; i++) {
300
301
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -334,7 +335,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
334
335
  if (Array.isArray(values.audiences) &&
335
336
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
336
337
  // @ts-ignore: type is checked above.
337
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
338
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
338
339
 
339
340
  for (let i = 0; i < values.audiences.length; i++) {
340
341
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -374,7 +375,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
374
375
  if (Array.isArray(values.contents) &&
375
376
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
376
377
  // @ts-ignore: type is checked above.
377
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
378
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
378
379
 
379
380
  } else {
380
381
  throw new TypeError(
@@ -389,7 +390,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
389
390
  if (Array.isArray(values.contexts) &&
390
391
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
391
392
  // @ts-ignore: type is checked above.
392
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
393
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
393
394
 
394
395
  for (let i = 0; i < values.contexts.length; i++) {
395
396
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -429,7 +430,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
429
430
  if (Array.isArray(values.names) &&
430
431
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
431
432
  // @ts-ignore: type is checked above.
432
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
433
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
433
434
 
434
435
  } else {
435
436
  throw new TypeError(
@@ -457,7 +458,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
457
458
  if (Array.isArray(values.generators) &&
458
459
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
459
460
  // @ts-ignore: type is checked above.
460
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
461
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
461
462
 
462
463
  for (let i = 0; i < values.generators.length; i++) {
463
464
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -497,7 +498,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
497
498
  if (Array.isArray(values.icons) &&
498
499
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
499
500
  // @ts-ignore: type is checked above.
500
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
501
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
501
502
 
502
503
  for (let i = 0; i < values.icons.length; i++) {
503
504
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -537,7 +538,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
537
538
  if (Array.isArray(values.images) &&
538
539
  values.images.every(v => v instanceof Image || v instanceof URL)) {
539
540
  // @ts-ignore: type is checked above.
540
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
541
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
541
542
 
542
543
  for (let i = 0; i < values.images.length; i++) {
543
544
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -577,7 +578,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
577
578
  if (Array.isArray(values.replyTargets) &&
578
579
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
579
580
  // @ts-ignore: type is checked above.
580
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
581
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
581
582
 
582
583
  for (let i = 0; i < values.replyTargets.length; i++) {
583
584
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -617,7 +618,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
617
618
  if (Array.isArray(values.locations) &&
618
619
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
619
620
  // @ts-ignore: type is checked above.
620
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
621
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
621
622
 
622
623
  for (let i = 0; i < values.locations.length; i++) {
623
624
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -657,7 +658,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
657
658
  if (Array.isArray(values.previews) &&
658
659
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
659
660
  // @ts-ignore: type is checked above.
660
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
661
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
661
662
 
662
663
  for (let i = 0; i < values.previews.length; i++) {
663
664
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -775,7 +776,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
775
776
  if (Array.isArray(values.summaries) &&
776
777
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
777
778
  // @ts-ignore: type is checked above.
778
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
779
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
779
780
 
780
781
  } else {
781
782
  throw new TypeError(
@@ -790,7 +791,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
790
791
  if (Array.isArray(values.tags) &&
791
792
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
792
793
  // @ts-ignore: type is checked above.
793
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
794
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
794
795
 
795
796
  for (let i = 0; i < values.tags.length; i++) {
796
797
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -843,7 +844,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
843
844
  if (Array.isArray(values.urls) &&
844
845
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
845
846
  // @ts-ignore: type is checked above.
846
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
847
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
847
848
 
848
849
  } else {
849
850
  throw new TypeError(
@@ -879,7 +880,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
879
880
  if (Array.isArray(values.tos) &&
880
881
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
881
882
  // @ts-ignore: type is checked above.
882
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
883
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
883
884
 
884
885
  for (let i = 0; i < values.tos.length; i++) {
885
886
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -919,7 +920,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
919
920
  if (Array.isArray(values.btos) &&
920
921
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
921
922
  // @ts-ignore: type is checked above.
922
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
923
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
923
924
 
924
925
  for (let i = 0; i < values.btos.length; i++) {
925
926
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -959,7 +960,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
959
960
  if (Array.isArray(values.ccs) &&
960
961
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
961
962
  // @ts-ignore: type is checked above.
962
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
963
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
963
964
 
964
965
  for (let i = 0; i < values.ccs.length; i++) {
965
966
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -999,7 +1000,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
999
1000
  if (Array.isArray(values.bccs) &&
1000
1001
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1001
1002
  // @ts-ignore: type is checked above.
1002
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1003
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1003
1004
 
1004
1005
  for (let i = 0; i < values.bccs.length; i++) {
1005
1006
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1091,7 +1092,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1091
1092
  if (Array.isArray(values.proofs) &&
1092
1093
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1093
1094
  // @ts-ignore: type is checked above.
1094
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1095
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1095
1096
 
1096
1097
  for (let i = 0; i < values.proofs.length; i++) {
1097
1098
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1175,7 +1176,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1175
1176
  * Clones this instance, optionally updating it with the given values.
1176
1177
  * @param values The values to update the clone with.
1177
1178
  * @param options The options to use for cloning.
1178
- * @returns The cloned instance.
1179
+ * @returns The cloned instance with its own property arrays. Nested objects
1180
+ * and URLs are shared with this instance.
1179
1181
  */
1180
1182
  clone(
1181
1183
  values:
@@ -1219,13 +1221,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1219
1221
  { id: values.id ?? this.id },
1220
1222
  options
1221
1223
  );
1222
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1224
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1223
1225
  if (\\"attachments\\" in values && values.attachments != null) {
1224
1226
 
1225
1227
  if (Array.isArray(values.attachments) &&
1226
1228
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1227
1229
  // @ts-ignore: type is checked above.
1228
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1230
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1229
1231
 
1230
1232
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1231
1233
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1239,7 +1241,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1239
1241
  );
1240
1242
  }
1241
1243
  }
1242
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1244
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1243
1245
  if (\\"attribution\\" in values && values.attribution != null) {
1244
1246
  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) {
1245
1247
  // @ts-ignore: type is checked above.
@@ -1266,7 +1268,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1266
1268
  if (Array.isArray(values.attributions) &&
1267
1269
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1268
1270
  // @ts-ignore: type is checked above.
1269
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1271
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1270
1272
 
1271
1273
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1272
1274
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1280,7 +1282,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1280
1282
  );
1281
1283
  }
1282
1284
  }
1283
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1285
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1284
1286
  if (\\"audience\\" in values && values.audience != null) {
1285
1287
  if (values.audience instanceof Object || values.audience instanceof URL) {
1286
1288
  // @ts-ignore: type is checked above.
@@ -1307,7 +1309,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1307
1309
  if (Array.isArray(values.audiences) &&
1308
1310
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1309
1311
  // @ts-ignore: type is checked above.
1310
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1312
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1311
1313
 
1312
1314
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1313
1315
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1321,7 +1323,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1321
1323
  );
1322
1324
  }
1323
1325
  }
1324
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1326
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1325
1327
  if (\\"content\\" in values && values.content != null) {
1326
1328
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1327
1329
  // @ts-ignore: type is checked above.
@@ -1348,7 +1350,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1348
1350
  if (Array.isArray(values.contents) &&
1349
1351
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1350
1352
  // @ts-ignore: type is checked above.
1351
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1353
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1352
1354
 
1353
1355
  } else {
1354
1356
  throw new TypeError(
@@ -1357,13 +1359,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1357
1359
  );
1358
1360
  }
1359
1361
  }
1360
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1362
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1361
1363
  if (\\"contexts\\" in values && values.contexts != null) {
1362
1364
 
1363
1365
  if (Array.isArray(values.contexts) &&
1364
1366
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1365
1367
  // @ts-ignore: type is checked above.
1366
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1368
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1367
1369
 
1368
1370
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1369
1371
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1377,7 +1379,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1377
1379
  );
1378
1380
  }
1379
1381
  }
1380
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1382
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1381
1383
  if (\\"name\\" in values && values.name != null) {
1382
1384
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1383
1385
  // @ts-ignore: type is checked above.
@@ -1404,7 +1406,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1404
1406
  if (Array.isArray(values.names) &&
1405
1407
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1406
1408
  // @ts-ignore: type is checked above.
1407
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1409
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1408
1410
 
1409
1411
  } else {
1410
1412
  throw new TypeError(
@@ -1413,7 +1415,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1413
1415
  );
1414
1416
  }
1415
1417
  }
1416
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1418
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1417
1419
  if (\\"endTime\\" in values && values.endTime != null) {
1418
1420
  if (isTemporalInstant(values.endTime)) {
1419
1421
  // @ts-ignore: type is checked above.
@@ -1426,13 +1428,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1426
1428
  );
1427
1429
  }
1428
1430
  }
1429
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1431
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1430
1432
  if (\\"generators\\" in values && values.generators != null) {
1431
1433
 
1432
1434
  if (Array.isArray(values.generators) &&
1433
1435
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1434
1436
  // @ts-ignore: type is checked above.
1435
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1437
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1436
1438
 
1437
1439
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1438
1440
  for (let i = 0; i < values.generators.length; i++) {
@@ -1446,7 +1448,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1446
1448
  );
1447
1449
  }
1448
1450
  }
1449
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1451
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1450
1452
  if (\\"icon\\" in values && values.icon != null) {
1451
1453
  if (values.icon instanceof Image || values.icon instanceof URL) {
1452
1454
  // @ts-ignore: type is checked above.
@@ -1473,7 +1475,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1473
1475
  if (Array.isArray(values.icons) &&
1474
1476
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1475
1477
  // @ts-ignore: type is checked above.
1476
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1478
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1477
1479
 
1478
1480
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1479
1481
  for (let i = 0; i < values.icons.length; i++) {
@@ -1487,7 +1489,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1487
1489
  );
1488
1490
  }
1489
1491
  }
1490
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1492
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1491
1493
  if (\\"image\\" in values && values.image != null) {
1492
1494
  if (values.image instanceof Image || values.image instanceof URL) {
1493
1495
  // @ts-ignore: type is checked above.
@@ -1514,7 +1516,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1514
1516
  if (Array.isArray(values.images) &&
1515
1517
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1516
1518
  // @ts-ignore: type is checked above.
1517
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1519
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1518
1520
 
1519
1521
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1520
1522
  for (let i = 0; i < values.images.length; i++) {
@@ -1528,7 +1530,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1528
1530
  );
1529
1531
  }
1530
1532
  }
1531
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1533
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1532
1534
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1533
1535
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1534
1536
  // @ts-ignore: type is checked above.
@@ -1555,7 +1557,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1555
1557
  if (Array.isArray(values.replyTargets) &&
1556
1558
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1557
1559
  // @ts-ignore: type is checked above.
1558
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1560
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1559
1561
 
1560
1562
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1561
1563
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1569,7 +1571,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1569
1571
  );
1570
1572
  }
1571
1573
  }
1572
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1574
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1573
1575
  if (\\"location\\" in values && values.location != null) {
1574
1576
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1575
1577
  // @ts-ignore: type is checked above.
@@ -1596,7 +1598,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1596
1598
  if (Array.isArray(values.locations) &&
1597
1599
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1598
1600
  // @ts-ignore: type is checked above.
1599
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1601
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1600
1602
 
1601
1603
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1602
1604
  for (let i = 0; i < values.locations.length; i++) {
@@ -1610,7 +1612,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1610
1612
  );
1611
1613
  }
1612
1614
  }
1613
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1615
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1614
1616
  if (\\"preview\\" in values && values.preview != null) {
1615
1617
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1616
1618
  // @ts-ignore: type is checked above.
@@ -1637,7 +1639,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1637
1639
  if (Array.isArray(values.previews) &&
1638
1640
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1639
1641
  // @ts-ignore: type is checked above.
1640
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1642
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1641
1643
 
1642
1644
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1643
1645
  for (let i = 0; i < values.previews.length; i++) {
@@ -1651,7 +1653,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1651
1653
  );
1652
1654
  }
1653
1655
  }
1654
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1656
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1655
1657
  if (\\"published\\" in values && values.published != null) {
1656
1658
  if (isTemporalInstant(values.published)) {
1657
1659
  // @ts-ignore: type is checked above.
@@ -1664,7 +1666,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1664
1666
  );
1665
1667
  }
1666
1668
  }
1667
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1669
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1668
1670
  if (\\"replies\\" in values && values.replies != null) {
1669
1671
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1670
1672
  // @ts-ignore: type is checked above.
@@ -1677,7 +1679,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1677
1679
  );
1678
1680
  }
1679
1681
  }
1680
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1682
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1681
1683
  if (\\"shares\\" in values && values.shares != null) {
1682
1684
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1683
1685
  // @ts-ignore: type is checked above.
@@ -1690,7 +1692,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1690
1692
  );
1691
1693
  }
1692
1694
  }
1693
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1695
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1694
1696
  if (\\"likes\\" in values && values.likes != null) {
1695
1697
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1696
1698
  // @ts-ignore: type is checked above.
@@ -1703,7 +1705,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1703
1705
  );
1704
1706
  }
1705
1707
  }
1706
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1708
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1707
1709
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1708
1710
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1709
1711
  // @ts-ignore: type is checked above.
@@ -1716,7 +1718,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1716
1718
  );
1717
1719
  }
1718
1720
  }
1719
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1721
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1720
1722
  if (\\"startTime\\" in values && values.startTime != null) {
1721
1723
  if (isTemporalInstant(values.startTime)) {
1722
1724
  // @ts-ignore: type is checked above.
@@ -1729,7 +1731,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1729
1731
  );
1730
1732
  }
1731
1733
  }
1732
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1734
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1733
1735
  if (\\"summary\\" in values && values.summary != null) {
1734
1736
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1735
1737
  // @ts-ignore: type is checked above.
@@ -1756,7 +1758,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1756
1758
  if (Array.isArray(values.summaries) &&
1757
1759
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1758
1760
  // @ts-ignore: type is checked above.
1759
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1761
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1760
1762
 
1761
1763
  } else {
1762
1764
  throw new TypeError(
@@ -1765,13 +1767,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1765
1767
  );
1766
1768
  }
1767
1769
  }
1768
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1770
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1769
1771
  if (\\"tags\\" in values && values.tags != null) {
1770
1772
 
1771
1773
  if (Array.isArray(values.tags) &&
1772
1774
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1773
1775
  // @ts-ignore: type is checked above.
1774
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1776
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1775
1777
 
1776
1778
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1777
1779
  for (let i = 0; i < values.tags.length; i++) {
@@ -1785,7 +1787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1785
1787
  );
1786
1788
  }
1787
1789
  }
1788
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1790
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1789
1791
  if (\\"updated\\" in values && values.updated != null) {
1790
1792
  if (isTemporalInstant(values.updated)) {
1791
1793
  // @ts-ignore: type is checked above.
@@ -1798,7 +1800,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1798
1800
  );
1799
1801
  }
1800
1802
  }
1801
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1803
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1802
1804
  if (\\"url\\" in values && values.url != null) {
1803
1805
  if (values.url instanceof URL || values.url instanceof Link) {
1804
1806
  // @ts-ignore: type is checked above.
@@ -1825,7 +1827,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1825
1827
  if (Array.isArray(values.urls) &&
1826
1828
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1827
1829
  // @ts-ignore: type is checked above.
1828
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1830
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1829
1831
 
1830
1832
  } else {
1831
1833
  throw new TypeError(
@@ -1834,7 +1836,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1834
1836
  );
1835
1837
  }
1836
1838
  }
1837
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1839
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1838
1840
  if (\\"to\\" in values && values.to != null) {
1839
1841
  if (values.to instanceof Object || values.to instanceof URL) {
1840
1842
  // @ts-ignore: type is checked above.
@@ -1861,7 +1863,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1861
1863
  if (Array.isArray(values.tos) &&
1862
1864
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1863
1865
  // @ts-ignore: type is checked above.
1864
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1866
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1865
1867
 
1866
1868
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1867
1869
  for (let i = 0; i < values.tos.length; i++) {
@@ -1875,7 +1877,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1875
1877
  );
1876
1878
  }
1877
1879
  }
1878
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1880
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1879
1881
  if (\\"bto\\" in values && values.bto != null) {
1880
1882
  if (values.bto instanceof Object || values.bto instanceof URL) {
1881
1883
  // @ts-ignore: type is checked above.
@@ -1902,7 +1904,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1902
1904
  if (Array.isArray(values.btos) &&
1903
1905
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1904
1906
  // @ts-ignore: type is checked above.
1905
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1907
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1906
1908
 
1907
1909
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1908
1910
  for (let i = 0; i < values.btos.length; i++) {
@@ -1916,7 +1918,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1916
1918
  );
1917
1919
  }
1918
1920
  }
1919
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1921
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1920
1922
  if (\\"cc\\" in values && values.cc != null) {
1921
1923
  if (values.cc instanceof Object || values.cc instanceof URL) {
1922
1924
  // @ts-ignore: type is checked above.
@@ -1943,7 +1945,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1943
1945
  if (Array.isArray(values.ccs) &&
1944
1946
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1945
1947
  // @ts-ignore: type is checked above.
1946
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1948
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1947
1949
 
1948
1950
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1949
1951
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1957,7 +1959,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1957
1959
  );
1958
1960
  }
1959
1961
  }
1960
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1962
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1961
1963
  if (\\"bcc\\" in values && values.bcc != null) {
1962
1964
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1963
1965
  // @ts-ignore: type is checked above.
@@ -1984,7 +1986,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1984
1986
  if (Array.isArray(values.bccs) &&
1985
1987
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1986
1988
  // @ts-ignore: type is checked above.
1987
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1989
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1988
1990
 
1989
1991
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
1990
1992
  for (let i = 0; i < values.bccs.length; i++) {
@@ -1998,7 +2000,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1998
2000
  );
1999
2001
  }
2000
2002
  }
2001
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2003
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2002
2004
  if (\\"mediaType\\" in values && values.mediaType != null) {
2003
2005
  if (typeof values.mediaType === \\"string\\") {
2004
2006
  // @ts-ignore: type is checked above.
@@ -2011,7 +2013,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2011
2013
  );
2012
2014
  }
2013
2015
  }
2014
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2016
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2015
2017
  if (\\"duration\\" in values && values.duration != null) {
2016
2018
  if (isTemporalDuration(values.duration)) {
2017
2019
  // @ts-ignore: type is checked above.
@@ -2024,7 +2026,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2024
2026
  );
2025
2027
  }
2026
2028
  }
2027
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2029
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2028
2030
  if (\\"sensitive\\" in values && values.sensitive != null) {
2029
2031
  if (typeof values.sensitive === \\"boolean\\") {
2030
2032
  // @ts-ignore: type is checked above.
@@ -2037,7 +2039,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2037
2039
  );
2038
2040
  }
2039
2041
  }
2040
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2042
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2041
2043
  if (\\"source\\" in values && values.source != null) {
2042
2044
  if (values.source instanceof Source) {
2043
2045
  // @ts-ignore: type is checked above.
@@ -2050,7 +2052,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2050
2052
  );
2051
2053
  }
2052
2054
  }
2053
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2055
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2054
2056
  if (\\"proof\\" in values && values.proof != null) {
2055
2057
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2056
2058
  // @ts-ignore: type is checked above.
@@ -2077,7 +2079,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2077
2079
  if (Array.isArray(values.proofs) &&
2078
2080
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2079
2081
  // @ts-ignore: type is checked above.
2080
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2082
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2081
2083
 
2082
2084
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2083
2085
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2091,7 +2093,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2091
2093
  );
2092
2094
  }
2093
2095
  }
2094
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2096
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2095
2097
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2096
2098
  if (values.interactionPolicy instanceof InteractionPolicy) {
2097
2099
  // @ts-ignore: type is checked above.
@@ -2104,7 +2106,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2104
2106
  );
2105
2107
  }
2106
2108
  }
2107
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2109
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2108
2110
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2109
2111
  if (values.approvedBy instanceof URL) {
2110
2112
  // @ts-ignore: type is checked above.
@@ -2117,7 +2119,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2117
2119
  );
2118
2120
  }
2119
2121
  }
2120
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2122
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2121
2123
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2122
2124
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2123
2125
  // @ts-ignore: type is checked above.
@@ -2130,7 +2132,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2130
2132
  );
2131
2133
  }
2132
2134
  }
2133
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2135
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2134
2136
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2135
2137
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2136
2138
  // @ts-ignore: type is checked above.
@@ -2143,7 +2145,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2143
2145
  );
2144
2146
  }
2145
2147
  }
2146
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2148
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2147
2149
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2148
2150
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2149
2151
  // @ts-ignore: type is checked above.
@@ -13163,7 +13165,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13163
13165
  * Clones this instance, optionally updating it with the given values.
13164
13166
  * @param values The values to update the clone with.
13165
13167
  * @param options The options to use for cloning.
13166
- * @returns The cloned instance.
13168
+ * @returns The cloned instance with its own property arrays. Nested objects
13169
+ * and URLs are shared with this instance.
13167
13170
  */
13168
13171
  override clone(
13169
13172
  values:
@@ -13525,7 +13528,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13525
13528
  * Clones this instance, optionally updating it with the given values.
13526
13529
  * @param values The values to update the clone with.
13527
13530
  * @param options The options to use for cloning.
13528
- * @returns The cloned instance.
13531
+ * @returns The cloned instance with its own property arrays. Nested objects
13532
+ * and URLs are shared with this instance.
13529
13533
  */
13530
13534
  override clone(
13531
13535
  values:
@@ -13563,7 +13567,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13563
13567
  // @ts-ignore: $warning is not recognized as a property, but it is.
13564
13568
  options = { ...options, $warning: this._warning };
13565
13569
  }
13566
- const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
13570
+ const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
13567
13571
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
13568
13572
  if (values.quoteUrl instanceof URL) {
13569
13573
  // @ts-ignore: type is checked above.
@@ -14060,7 +14064,7 @@ instruments?: (Object | URL)[];}
14060
14064
  if (Array.isArray(values.actors) &&
14061
14065
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14062
14066
  // @ts-ignore: type is checked above.
14063
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14067
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14064
14068
 
14065
14069
  for (let i = 0; i < values.actors.length; i++) {
14066
14070
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -14100,7 +14104,7 @@ instruments?: (Object | URL)[];}
14100
14104
  if (Array.isArray(values.objects) &&
14101
14105
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14102
14106
  // @ts-ignore: type is checked above.
14103
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14107
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14104
14108
 
14105
14109
  for (let i = 0; i < values.objects.length; i++) {
14106
14110
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -14140,7 +14144,7 @@ instruments?: (Object | URL)[];}
14140
14144
  if (Array.isArray(values.targets) &&
14141
14145
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14142
14146
  // @ts-ignore: type is checked above.
14143
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14147
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14144
14148
 
14145
14149
  for (let i = 0; i < values.targets.length; i++) {
14146
14150
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -14180,7 +14184,7 @@ instruments?: (Object | URL)[];}
14180
14184
  if (Array.isArray(values.results) &&
14181
14185
  values.results.every(v => v instanceof Object || v instanceof URL)) {
14182
14186
  // @ts-ignore: type is checked above.
14183
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
14187
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
14184
14188
 
14185
14189
  for (let i = 0; i < values.results.length; i++) {
14186
14190
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -14220,7 +14224,7 @@ instruments?: (Object | URL)[];}
14220
14224
  if (Array.isArray(values.origins) &&
14221
14225
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
14222
14226
  // @ts-ignore: type is checked above.
14223
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
14227
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
14224
14228
 
14225
14229
  for (let i = 0; i < values.origins.length; i++) {
14226
14230
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -14260,7 +14264,7 @@ instruments?: (Object | URL)[];}
14260
14264
  if (Array.isArray(values.instruments) &&
14261
14265
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
14262
14266
  // @ts-ignore: type is checked above.
14263
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
14267
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
14264
14268
 
14265
14269
  for (let i = 0; i < values.instruments.length; i++) {
14266
14270
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -14279,7 +14283,8 @@ instruments?: (Object | URL)[];}
14279
14283
  * Clones this instance, optionally updating it with the given values.
14280
14284
  * @param values The values to update the clone with.
14281
14285
  * @param options The options to use for cloning.
14282
- * @returns The cloned instance.
14286
+ * @returns The cloned instance with its own property arrays. Nested objects
14287
+ * and URLs are shared with this instance.
14283
14288
  */
14284
14289
  override clone(
14285
14290
  values:
@@ -14323,7 +14328,7 @@ instruments?: (Object | URL)[];}
14323
14328
  // @ts-ignore: $warning is not recognized as a property, but it is.
14324
14329
  options = { ...options, $warning: this._warning };
14325
14330
  }
14326
- 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);
14331
+ 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);
14327
14332
  if (\\"actor\\" in values && values.actor != null) {
14328
14333
  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) {
14329
14334
  // @ts-ignore: type is checked above.
@@ -14350,7 +14355,7 @@ instruments?: (Object | URL)[];}
14350
14355
  if (Array.isArray(values.actors) &&
14351
14356
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14352
14357
  // @ts-ignore: type is checked above.
14353
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14358
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14354
14359
 
14355
14360
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
14356
14361
  for (let i = 0; i < values.actors.length; i++) {
@@ -14364,7 +14369,7 @@ instruments?: (Object | URL)[];}
14364
14369
  );
14365
14370
  }
14366
14371
  }
14367
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
14372
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
14368
14373
  if (\\"object\\" in values && values.object != null) {
14369
14374
  if (values.object instanceof Object || values.object instanceof URL) {
14370
14375
  // @ts-ignore: type is checked above.
@@ -14391,7 +14396,7 @@ instruments?: (Object | URL)[];}
14391
14396
  if (Array.isArray(values.objects) &&
14392
14397
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14393
14398
  // @ts-ignore: type is checked above.
14394
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14399
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14395
14400
 
14396
14401
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
14397
14402
  for (let i = 0; i < values.objects.length; i++) {
@@ -14405,7 +14410,7 @@ instruments?: (Object | URL)[];}
14405
14410
  );
14406
14411
  }
14407
14412
  }
14408
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
14413
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
14409
14414
  if (\\"target\\" in values && values.target != null) {
14410
14415
  if (values.target instanceof Object || values.target instanceof URL) {
14411
14416
  // @ts-ignore: type is checked above.
@@ -14432,7 +14437,7 @@ instruments?: (Object | URL)[];}
14432
14437
  if (Array.isArray(values.targets) &&
14433
14438
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14434
14439
  // @ts-ignore: type is checked above.
14435
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14440
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14436
14441
 
14437
14442
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
14438
14443
  for (let i = 0; i < values.targets.length; i++) {
@@ -14446,7 +14451,7 @@ instruments?: (Object | URL)[];}
14446
14451
  );
14447
14452
  }
14448
14453
  }
14449
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
14454
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
14450
14455
  if (\\"result\\" in values && values.result != null) {
14451
14456
  if (values.result instanceof Object || values.result instanceof URL) {
14452
14457
  // @ts-ignore: type is checked above.
@@ -14473,7 +14478,7 @@ instruments?: (Object | URL)[];}
14473
14478
  if (Array.isArray(values.results) &&
14474
14479
  values.results.every(v => v instanceof Object || v instanceof URL)) {
14475
14480
  // @ts-ignore: type is checked above.
14476
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
14481
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
14477
14482
 
14478
14483
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
14479
14484
  for (let i = 0; i < values.results.length; i++) {
@@ -14487,7 +14492,7 @@ instruments?: (Object | URL)[];}
14487
14492
  );
14488
14493
  }
14489
14494
  }
14490
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
14495
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
14491
14496
  if (\\"origin\\" in values && values.origin != null) {
14492
14497
  if (values.origin instanceof Object || values.origin instanceof URL) {
14493
14498
  // @ts-ignore: type is checked above.
@@ -14514,7 +14519,7 @@ instruments?: (Object | URL)[];}
14514
14519
  if (Array.isArray(values.origins) &&
14515
14520
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
14516
14521
  // @ts-ignore: type is checked above.
14517
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
14522
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
14518
14523
 
14519
14524
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
14520
14525
  for (let i = 0; i < values.origins.length; i++) {
@@ -14528,7 +14533,7 @@ instruments?: (Object | URL)[];}
14528
14533
  );
14529
14534
  }
14530
14535
  }
14531
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
14536
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
14532
14537
  if (\\"instrument\\" in values && values.instrument != null) {
14533
14538
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
14534
14539
  // @ts-ignore: type is checked above.
@@ -14555,7 +14560,7 @@ instruments?: (Object | URL)[];}
14555
14560
  if (Array.isArray(values.instruments) &&
14556
14561
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
14557
14562
  // @ts-ignore: type is checked above.
14558
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
14563
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
14559
14564
 
14560
14565
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
14561
14566
  for (let i = 0; i < values.instruments.length; i++) {
@@ -17532,7 +17537,8 @@ instruments?: (Object | URL)[];}
17532
17537
  * Clones this instance, optionally updating it with the given values.
17533
17538
  * @param values The values to update the clone with.
17534
17539
  * @param options The options to use for cloning.
17535
- * @returns The cloned instance.
17540
+ * @returns The cloned instance with its own property arrays. Nested objects
17541
+ * and URLs are shared with this instance.
17536
17542
  */
17537
17543
  override clone(
17538
17544
  values:
@@ -17946,7 +17952,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17946
17952
  * Clones this instance, optionally updating it with the given values.
17947
17953
  * @param values The values to update the clone with.
17948
17954
  * @param options The options to use for cloning.
17949
- * @returns The cloned instance.
17955
+ * @returns The cloned instance with its own property arrays. Nested objects
17956
+ * and URLs are shared with this instance.
17950
17957
  */
17951
17958
  clone(
17952
17959
  values:
@@ -17974,7 +17981,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17974
17981
  { id: values.id ?? this.id },
17975
17982
  options
17976
17983
  );
17977
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
17984
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
17978
17985
  if (\\"name\\" in values && values.name != null) {
17979
17986
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
17980
17987
  // @ts-ignore: type is checked above.
@@ -17987,7 +17994,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17987
17994
  );
17988
17995
  }
17989
17996
  }
17990
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
17997
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
17991
17998
  if (\\"value\\" in values && values.value != null) {
17992
17999
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
17993
18000
  // @ts-ignore: type is checked above.
@@ -18545,7 +18552,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18545
18552
  * Clones this instance, optionally updating it with the given values.
18546
18553
  * @param values The values to update the clone with.
18547
18554
  * @param options The options to use for cloning.
18548
- * @returns The cloned instance.
18555
+ * @returns The cloned instance with its own property arrays. Nested objects
18556
+ * and URLs are shared with this instance.
18549
18557
  */
18550
18558
  override clone(
18551
18559
  values:
@@ -18583,7 +18591,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18583
18591
  // @ts-ignore: $warning is not recognized as a property, but it is.
18584
18592
  options = { ...options, $warning: this._warning };
18585
18593
  }
18586
- 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);
18594
+ 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);
18587
18595
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
18588
18596
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
18589
18597
  // @ts-ignore: type is checked above.
@@ -18596,7 +18604,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18596
18604
  );
18597
18605
  }
18598
18606
  }
18599
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
18607
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
18600
18608
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
18601
18609
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
18602
18610
  // @ts-ignore: type is checked above.
@@ -19568,7 +19576,8 @@ instruments?: (Object | URL)[];}
19568
19576
  * Clones this instance, optionally updating it with the given values.
19569
19577
  * @param values The values to update the clone with.
19570
19578
  * @param options The options to use for cloning.
19571
- * @returns The cloned instance.
19579
+ * @returns The cloned instance with its own property arrays. Nested objects
19580
+ * and URLs are shared with this instance.
19572
19581
  */
19573
19582
  override clone(
19574
19583
  values:
@@ -20002,7 +20011,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20002
20011
  * Clones this instance, optionally updating it with the given values.
20003
20012
  * @param values The values to update the clone with.
20004
20013
  * @param options The options to use for cloning.
20005
- * @returns The cloned instance.
20014
+ * @returns The cloned instance with its own property arrays. Nested objects
20015
+ * and URLs are shared with this instance.
20006
20016
  */
20007
20017
  clone(
20008
20018
  values:
@@ -20030,7 +20040,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20030
20040
  { id: values.id ?? this.id },
20031
20041
  options
20032
20042
  );
20033
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
20043
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
20034
20044
  if (\\"canLike\\" in values && values.canLike != null) {
20035
20045
  if (values.canLike instanceof InteractionRule) {
20036
20046
  // @ts-ignore: type is checked above.
@@ -20043,7 +20053,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20043
20053
  );
20044
20054
  }
20045
20055
  }
20046
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
20056
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
20047
20057
  if (\\"canReply\\" in values && values.canReply != null) {
20048
20058
  if (values.canReply instanceof InteractionRule) {
20049
20059
  // @ts-ignore: type is checked above.
@@ -20056,7 +20066,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20056
20066
  );
20057
20067
  }
20058
20068
  }
20059
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
20069
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
20060
20070
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
20061
20071
  if (values.canAnnounce instanceof InteractionRule) {
20062
20072
  // @ts-ignore: type is checked above.
@@ -20695,7 +20705,7 @@ manualApprovals?: (URL)[];}
20695
20705
  if (Array.isArray(values.automaticApprovals) &&
20696
20706
  values.automaticApprovals.every(v => v instanceof URL)) {
20697
20707
  // @ts-ignore: type is checked above.
20698
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
20708
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
20699
20709
 
20700
20710
  } else {
20701
20711
  throw new TypeError(
@@ -20731,7 +20741,7 @@ manualApprovals?: (URL)[];}
20731
20741
  if (Array.isArray(values.manualApprovals) &&
20732
20742
  values.manualApprovals.every(v => v instanceof URL)) {
20733
20743
  // @ts-ignore: type is checked above.
20734
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
20744
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
20735
20745
 
20736
20746
  } else {
20737
20747
  throw new TypeError(
@@ -20746,7 +20756,8 @@ manualApprovals?: (URL)[];}
20746
20756
  * Clones this instance, optionally updating it with the given values.
20747
20757
  * @param values The values to update the clone with.
20748
20758
  * @param options The options to use for cloning.
20749
- * @returns The cloned instance.
20759
+ * @returns The cloned instance with its own property arrays. Nested objects
20760
+ * and URLs are shared with this instance.
20750
20761
  */
20751
20762
  clone(
20752
20763
  values:
@@ -20776,7 +20787,7 @@ manualApprovals?: (URL)[];}
20776
20787
  { id: values.id ?? this.id },
20777
20788
  options
20778
20789
  );
20779
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
20790
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
20780
20791
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
20781
20792
  if (values.automaticApproval instanceof URL) {
20782
20793
  // @ts-ignore: type is checked above.
@@ -20803,7 +20814,7 @@ manualApprovals?: (URL)[];}
20803
20814
  if (Array.isArray(values.automaticApprovals) &&
20804
20815
  values.automaticApprovals.every(v => v instanceof URL)) {
20805
20816
  // @ts-ignore: type is checked above.
20806
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
20817
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
20807
20818
 
20808
20819
  } else {
20809
20820
  throw new TypeError(
@@ -20812,7 +20823,7 @@ manualApprovals?: (URL)[];}
20812
20823
  );
20813
20824
  }
20814
20825
  }
20815
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
20826
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
20816
20827
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
20817
20828
  if (values.manualApproval instanceof URL) {
20818
20829
  // @ts-ignore: type is checked above.
@@ -20839,7 +20850,7 @@ manualApprovals?: (URL)[];}
20839
20850
  if (Array.isArray(values.manualApprovals) &&
20840
20851
  values.manualApprovals.every(v => v instanceof URL)) {
20841
20852
  // @ts-ignore: type is checked above.
20842
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
20853
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
20843
20854
 
20844
20855
  } else {
20845
20856
  throw new TypeError(
@@ -21373,7 +21384,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21373
21384
  * Clones this instance, optionally updating it with the given values.
21374
21385
  * @param values The values to update the clone with.
21375
21386
  * @param options The options to use for cloning.
21376
- * @returns The cloned instance.
21387
+ * @returns The cloned instance with its own property arrays. Nested objects
21388
+ * and URLs are shared with this instance.
21377
21389
  */
21378
21390
  override clone(
21379
21391
  values:
@@ -21411,7 +21423,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21411
21423
  // @ts-ignore: $warning is not recognized as a property, but it is.
21412
21424
  options = { ...options, $warning: this._warning };
21413
21425
  }
21414
- 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);
21426
+ 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);
21415
21427
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
21416
21428
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
21417
21429
  // @ts-ignore: type is checked above.
@@ -21424,7 +21436,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21424
21436
  );
21425
21437
  }
21426
21438
  }
21427
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
21439
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
21428
21440
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
21429
21441
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
21430
21442
  // @ts-ignore: type is checked above.
@@ -22395,7 +22407,8 @@ instruments?: (Object | URL)[];}
22395
22407
  * Clones this instance, optionally updating it with the given values.
22396
22408
  * @param values The values to update the clone with.
22397
22409
  * @param options The options to use for cloning.
22398
- * @returns The cloned instance.
22410
+ * @returns The cloned instance with its own property arrays. Nested objects
22411
+ * and URLs are shared with this instance.
22399
22412
  */
22400
22413
  override clone(
22401
22414
  values:
@@ -22767,7 +22780,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22767
22780
  * Clones this instance, optionally updating it with the given values.
22768
22781
  * @param values The values to update the clone with.
22769
22782
  * @param options The options to use for cloning.
22770
- * @returns The cloned instance.
22783
+ * @returns The cloned instance with its own property arrays. Nested objects
22784
+ * and URLs are shared with this instance.
22771
22785
  */
22772
22786
  override clone(
22773
22787
  values:
@@ -22805,7 +22819,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22805
22819
  // @ts-ignore: $warning is not recognized as a property, but it is.
22806
22820
  options = { ...options, $warning: this._warning };
22807
22821
  }
22808
- 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);
22822
+ 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);
22809
22823
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
22810
22824
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
22811
22825
  // @ts-ignore: type is checked above.
@@ -22818,7 +22832,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22818
22832
  );
22819
22833
  }
22820
22834
  }
22821
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
22835
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
22822
22836
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
22823
22837
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
22824
22838
  // @ts-ignore: type is checked above.
@@ -23789,7 +23803,8 @@ instruments?: (Object | URL)[];}
23789
23803
  * Clones this instance, optionally updating it with the given values.
23790
23804
  * @param values The values to update the clone with.
23791
23805
  * @param options The options to use for cloning.
23792
- * @returns The cloned instance.
23806
+ * @returns The cloned instance with its own property arrays. Nested objects
23807
+ * and URLs are shared with this instance.
23793
23808
  */
23794
23809
  override clone(
23795
23810
  values:
@@ -24202,7 +24217,7 @@ endpoints?: (URL)[];}
24202
24217
  if (Array.isArray(values.endpoints) &&
24203
24218
  values.endpoints.every(v => v instanceof URL)) {
24204
24219
  // @ts-ignore: type is checked above.
24205
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
24220
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
24206
24221
 
24207
24222
  } else {
24208
24223
  throw new TypeError(
@@ -24217,7 +24232,8 @@ endpoints?: (URL)[];}
24217
24232
  * Clones this instance, optionally updating it with the given values.
24218
24233
  * @param values The values to update the clone with.
24219
24234
  * @param options The options to use for cloning.
24220
- * @returns The cloned instance.
24235
+ * @returns The cloned instance with its own property arrays. Nested objects
24236
+ * and URLs are shared with this instance.
24221
24237
  */
24222
24238
  clone(
24223
24239
  values:
@@ -24246,7 +24262,7 @@ endpoints?: (URL)[];}
24246
24262
  { id: values.id ?? this.id },
24247
24263
  options
24248
24264
  );
24249
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
24265
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
24250
24266
  if (\\"endpoint\\" in values && values.endpoint != null) {
24251
24267
  if (values.endpoint instanceof URL) {
24252
24268
  // @ts-ignore: type is checked above.
@@ -24273,7 +24289,7 @@ endpoints?: (URL)[];}
24273
24289
  if (Array.isArray(values.endpoints) &&
24274
24290
  values.endpoints.every(v => v instanceof URL)) {
24275
24291
  // @ts-ignore: type is checked above.
24276
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
24292
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
24277
24293
 
24278
24294
  } else {
24279
24295
  throw new TypeError(
@@ -24652,7 +24668,8 @@ endpoints?: (URL)[];}
24652
24668
  * Clones this instance, optionally updating it with the given values.
24653
24669
  * @param values The values to update the clone with.
24654
24670
  * @param options The options to use for cloning.
24655
- * @returns The cloned instance.
24671
+ * @returns The cloned instance with its own property arrays. Nested objects
24672
+ * and URLs are shared with this instance.
24656
24673
  */
24657
24674
  override clone(
24658
24675
  values:
@@ -25082,7 +25099,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25082
25099
  * Clones this instance, optionally updating it with the given values.
25083
25100
  * @param values The values to update the clone with.
25084
25101
  * @param options The options to use for cloning.
25085
- * @returns The cloned instance.
25102
+ * @returns The cloned instance with its own property arrays. Nested objects
25103
+ * and URLs are shared with this instance.
25086
25104
  */
25087
25105
  clone(
25088
25106
  values:
@@ -25110,7 +25128,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25110
25128
  { id: values.id ?? this.id },
25111
25129
  options
25112
25130
  );
25113
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
25131
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
25114
25132
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
25115
25133
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
25116
25134
  // @ts-ignore: type is checked above.
@@ -25123,7 +25141,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25123
25141
  );
25124
25142
  }
25125
25143
  }
25126
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
25144
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
25127
25145
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
25128
25146
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
25129
25147
  // @ts-ignore: type is checked above.
@@ -25136,7 +25154,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25136
25154
  );
25137
25155
  }
25138
25156
  }
25139
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
25157
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
25140
25158
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
25141
25159
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
25142
25160
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -25151,7 +25169,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25151
25169
  );
25152
25170
  }
25153
25171
  }
25154
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
25172
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
25155
25173
  if (\\"proofValue\\" in values && values.proofValue != null) {
25156
25174
  if (values.proofValue instanceof Uint8Array) {
25157
25175
  // @ts-ignore: type is checked above.
@@ -25164,7 +25182,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25164
25182
  );
25165
25183
  }
25166
25184
  }
25167
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
25185
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
25168
25186
  if (\\"created\\" in values && values.created != null) {
25169
25187
  if (isTemporalInstant(values.created)) {
25170
25188
  // @ts-ignore: type is checked above.
@@ -26127,7 +26145,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26127
26145
  * Clones this instance, optionally updating it with the given values.
26128
26146
  * @param values The values to update the clone with.
26129
26147
  * @param options The options to use for cloning.
26130
- * @returns The cloned instance.
26148
+ * @returns The cloned instance with its own property arrays. Nested objects
26149
+ * and URLs are shared with this instance.
26131
26150
  */
26132
26151
  clone(
26133
26152
  values:
@@ -26155,7 +26174,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26155
26174
  { id: values.id ?? this.id },
26156
26175
  options
26157
26176
  );
26158
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
26177
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
26159
26178
  if (\\"owner\\" in values && values.owner != null) {
26160
26179
  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) {
26161
26180
  // @ts-ignore: type is checked above.
@@ -26168,7 +26187,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26168
26187
  );
26169
26188
  }
26170
26189
  }
26171
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
26190
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
26172
26191
  if (\\"publicKey\\" in values && values.publicKey != null) {
26173
26192
  if (
26174
26193
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -27042,7 +27061,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27042
27061
  * Clones this instance, optionally updating it with the given values.
27043
27062
  * @param values The values to update the clone with.
27044
27063
  * @param options The options to use for cloning.
27045
- * @returns The cloned instance.
27064
+ * @returns The cloned instance with its own property arrays. Nested objects
27065
+ * and URLs are shared with this instance.
27046
27066
  */
27047
27067
  clone(
27048
27068
  values:
@@ -27070,7 +27090,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27070
27090
  { id: values.id ?? this.id },
27071
27091
  options
27072
27092
  );
27073
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
27093
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
27074
27094
  if (\\"controller\\" in values && values.controller != null) {
27075
27095
  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) {
27076
27096
  // @ts-ignore: type is checked above.
@@ -27083,7 +27103,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27083
27103
  );
27084
27104
  }
27085
27105
  }
27086
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
27106
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
27087
27107
  if (\\"publicKey\\" in values && values.publicKey != null) {
27088
27108
  if (
27089
27109
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -27882,7 +27902,8 @@ instruments?: (Object | URL)[];}
27882
27902
  * Clones this instance, optionally updating it with the given values.
27883
27903
  * @param values The values to update the clone with.
27884
27904
  * @param options The options to use for cloning.
27885
- * @returns The cloned instance.
27905
+ * @returns The cloned instance with its own property arrays. Nested objects
27906
+ * and URLs are shared with this instance.
27886
27907
  */
27887
27908
  override clone(
27888
27909
  values:
@@ -28228,7 +28249,8 @@ instruments?: (Object | URL)[];}
28228
28249
  * Clones this instance, optionally updating it with the given values.
28229
28250
  * @param values The values to update the clone with.
28230
28251
  * @param options The options to use for cloning.
28231
- * @returns The cloned instance.
28252
+ * @returns The cloned instance with its own property arrays. Nested objects
28253
+ * and URLs are shared with this instance.
28232
28254
  */
28233
28255
  override clone(
28234
28256
  values:
@@ -28569,7 +28591,8 @@ instruments?: (Object | URL)[];}
28569
28591
  * Clones this instance, optionally updating it with the given values.
28570
28592
  * @param values The values to update the clone with.
28571
28593
  * @param options The options to use for cloning.
28572
- * @returns The cloned instance.
28594
+ * @returns The cloned instance with its own property arrays. Nested objects
28595
+ * and URLs are shared with this instance.
28573
28596
  */
28574
28597
  override clone(
28575
28598
  values:
@@ -28975,7 +28998,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
28975
28998
  if (Array.isArray(values.preferredUsernames) &&
28976
28999
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
28977
29000
  // @ts-ignore: type is checked above.
28978
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
29001
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
28979
29002
 
28980
29003
  } else {
28981
29004
  throw new TypeError(
@@ -29011,7 +29034,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29011
29034
  if (Array.isArray(values.publicKeys) &&
29012
29035
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
29013
29036
  // @ts-ignore: type is checked above.
29014
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
29037
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
29015
29038
 
29016
29039
  for (let i = 0; i < values.publicKeys.length; i++) {
29017
29040
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -29051,7 +29074,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29051
29074
  if (Array.isArray(values.assertionMethods) &&
29052
29075
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
29053
29076
  // @ts-ignore: type is checked above.
29054
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
29077
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
29055
29078
 
29056
29079
  for (let i = 0; i < values.assertionMethods.length; i++) {
29057
29080
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -29174,7 +29197,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29174
29197
  if (Array.isArray(values.streams) &&
29175
29198
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
29176
29199
  // @ts-ignore: type is checked above.
29177
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
29200
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
29178
29201
 
29179
29202
  for (let i = 0; i < values.streams.length; i++) {
29180
29203
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -29292,7 +29315,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29292
29315
  if (Array.isArray(values.aliases) &&
29293
29316
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
29294
29317
  // @ts-ignore: type is checked above.
29295
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
29318
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
29296
29319
 
29297
29320
  for (let i = 0; i < values.aliases.length; i++) {
29298
29321
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -29332,7 +29355,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29332
29355
  if (Array.isArray(values.services) &&
29333
29356
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
29334
29357
  // @ts-ignore: type is checked above.
29335
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
29358
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
29336
29359
 
29337
29360
  for (let i = 0; i < values.services.length; i++) {
29338
29361
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -29377,7 +29400,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29377
29400
  * Clones this instance, optionally updating it with the given values.
29378
29401
  * @param values The values to update the clone with.
29379
29402
  * @param options The options to use for cloning.
29380
- * @returns The cloned instance.
29403
+ * @returns The cloned instance with its own property arrays. Nested objects
29404
+ * and URLs are shared with this instance.
29381
29405
  */
29382
29406
  override clone(
29383
29407
  values:
@@ -29420,7 +29444,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29420
29444
  // @ts-ignore: $warning is not recognized as a property, but it is.
29421
29445
  options = { ...options, $warning: this._warning };
29422
29446
  }
29423
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
29447
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
29424
29448
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
29425
29449
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
29426
29450
  // @ts-ignore: type is checked above.
@@ -29447,7 +29471,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29447
29471
  if (Array.isArray(values.preferredUsernames) &&
29448
29472
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
29449
29473
  // @ts-ignore: type is checked above.
29450
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
29474
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
29451
29475
 
29452
29476
  } else {
29453
29477
  throw new TypeError(
@@ -29456,7 +29480,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29456
29480
  );
29457
29481
  }
29458
29482
  }
29459
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
29483
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
29460
29484
  if (\\"publicKey\\" in values && values.publicKey != null) {
29461
29485
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
29462
29486
  // @ts-ignore: type is checked above.
@@ -29483,7 +29507,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29483
29507
  if (Array.isArray(values.publicKeys) &&
29484
29508
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
29485
29509
  // @ts-ignore: type is checked above.
29486
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
29510
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
29487
29511
 
29488
29512
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
29489
29513
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -29497,7 +29521,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29497
29521
  );
29498
29522
  }
29499
29523
  }
29500
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
29524
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
29501
29525
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
29502
29526
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
29503
29527
  // @ts-ignore: type is checked above.
@@ -29524,7 +29548,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29524
29548
  if (Array.isArray(values.assertionMethods) &&
29525
29549
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
29526
29550
  // @ts-ignore: type is checked above.
29527
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
29551
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
29528
29552
 
29529
29553
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
29530
29554
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -29538,7 +29562,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29538
29562
  );
29539
29563
  }
29540
29564
  }
29541
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
29565
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
29542
29566
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
29543
29567
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
29544
29568
  // @ts-ignore: type is checked above.
@@ -29551,7 +29575,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29551
29575
  );
29552
29576
  }
29553
29577
  }
29554
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
29578
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
29555
29579
  if (\\"inbox\\" in values && values.inbox != null) {
29556
29580
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
29557
29581
  // @ts-ignore: type is checked above.
@@ -29564,7 +29588,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29564
29588
  );
29565
29589
  }
29566
29590
  }
29567
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
29591
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
29568
29592
  if (\\"outbox\\" in values && values.outbox != null) {
29569
29593
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
29570
29594
  // @ts-ignore: type is checked above.
@@ -29577,7 +29601,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29577
29601
  );
29578
29602
  }
29579
29603
  }
29580
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
29604
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
29581
29605
  if (\\"following\\" in values && values.following != null) {
29582
29606
  if (values.following instanceof Collection || values.following instanceof URL) {
29583
29607
  // @ts-ignore: type is checked above.
@@ -29590,7 +29614,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29590
29614
  );
29591
29615
  }
29592
29616
  }
29593
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
29617
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
29594
29618
  if (\\"followers\\" in values && values.followers != null) {
29595
29619
  if (values.followers instanceof Collection || values.followers instanceof URL) {
29596
29620
  // @ts-ignore: type is checked above.
@@ -29603,7 +29627,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29603
29627
  );
29604
29628
  }
29605
29629
  }
29606
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
29630
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
29607
29631
  if (\\"liked\\" in values && values.liked != null) {
29608
29632
  if (values.liked instanceof Collection || values.liked instanceof URL) {
29609
29633
  // @ts-ignore: type is checked above.
@@ -29616,7 +29640,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29616
29640
  );
29617
29641
  }
29618
29642
  }
29619
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
29643
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
29620
29644
  if (\\"featured\\" in values && values.featured != null) {
29621
29645
  if (values.featured instanceof Collection || values.featured instanceof URL) {
29622
29646
  // @ts-ignore: type is checked above.
@@ -29629,7 +29653,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29629
29653
  );
29630
29654
  }
29631
29655
  }
29632
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
29656
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
29633
29657
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
29634
29658
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
29635
29659
  // @ts-ignore: type is checked above.
@@ -29642,13 +29666,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29642
29666
  );
29643
29667
  }
29644
29668
  }
29645
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
29669
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
29646
29670
  if (\\"streams\\" in values && values.streams != null) {
29647
29671
 
29648
29672
  if (Array.isArray(values.streams) &&
29649
29673
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
29650
29674
  // @ts-ignore: type is checked above.
29651
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
29675
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
29652
29676
 
29653
29677
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
29654
29678
  for (let i = 0; i < values.streams.length; i++) {
@@ -29662,7 +29686,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29662
29686
  );
29663
29687
  }
29664
29688
  }
29665
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
29689
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
29666
29690
  if (\\"endpoints\\" in values && values.endpoints != null) {
29667
29691
  if (values.endpoints instanceof Endpoints) {
29668
29692
  // @ts-ignore: type is checked above.
@@ -29675,7 +29699,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29675
29699
  );
29676
29700
  }
29677
29701
  }
29678
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
29702
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
29679
29703
  if (\\"discoverable\\" in values && values.discoverable != null) {
29680
29704
  if (typeof values.discoverable === \\"boolean\\") {
29681
29705
  // @ts-ignore: type is checked above.
@@ -29688,7 +29712,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29688
29712
  );
29689
29713
  }
29690
29714
  }
29691
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
29715
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
29692
29716
  if (\\"suspended\\" in values && values.suspended != null) {
29693
29717
  if (typeof values.suspended === \\"boolean\\") {
29694
29718
  // @ts-ignore: type is checked above.
@@ -29701,7 +29725,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29701
29725
  );
29702
29726
  }
29703
29727
  }
29704
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
29728
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
29705
29729
  if (\\"memorial\\" in values && values.memorial != null) {
29706
29730
  if (typeof values.memorial === \\"boolean\\") {
29707
29731
  // @ts-ignore: type is checked above.
@@ -29714,7 +29738,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29714
29738
  );
29715
29739
  }
29716
29740
  }
29717
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
29741
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
29718
29742
  if (\\"indexable\\" in values && values.indexable != null) {
29719
29743
  if (typeof values.indexable === \\"boolean\\") {
29720
29744
  // @ts-ignore: type is checked above.
@@ -29727,7 +29751,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29727
29751
  );
29728
29752
  }
29729
29753
  }
29730
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
29754
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
29731
29755
  if (\\"successor\\" in values && values.successor != null) {
29732
29756
  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) {
29733
29757
  // @ts-ignore: type is checked above.
@@ -29740,7 +29764,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29740
29764
  );
29741
29765
  }
29742
29766
  }
29743
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
29767
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
29744
29768
  if (\\"alias\\" in values && values.alias != null) {
29745
29769
  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) {
29746
29770
  // @ts-ignore: type is checked above.
@@ -29767,7 +29791,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29767
29791
  if (Array.isArray(values.aliases) &&
29768
29792
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
29769
29793
  // @ts-ignore: type is checked above.
29770
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
29794
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
29771
29795
 
29772
29796
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
29773
29797
  for (let i = 0; i < values.aliases.length; i++) {
@@ -29781,7 +29805,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29781
29805
  );
29782
29806
  }
29783
29807
  }
29784
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
29808
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
29785
29809
  if (\\"service\\" in values && values.service != null) {
29786
29810
  if (values.service instanceof DidService || values.service instanceof URL) {
29787
29811
  // @ts-ignore: type is checked above.
@@ -29808,7 +29832,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29808
29832
  if (Array.isArray(values.services) &&
29809
29833
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
29810
29834
  // @ts-ignore: type is checked above.
29811
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
29835
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
29812
29836
 
29813
29837
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
29814
29838
  for (let i = 0; i < values.services.length; i++) {
@@ -29822,7 +29846,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29822
29846
  );
29823
29847
  }
29824
29848
  }
29825
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
29849
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
29826
29850
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
29827
29851
  if (typeof values.followedMessage === \\"string\\") {
29828
29852
  // @ts-ignore: type is checked above.
@@ -29835,7 +29859,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29835
29859
  );
29836
29860
  }
29837
29861
  }
29838
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
29862
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
29839
29863
  if (\\"cat\\" in values && values.cat != null) {
29840
29864
  if (typeof values.cat === \\"boolean\\") {
29841
29865
  // @ts-ignore: type is checked above.
@@ -35853,7 +35877,8 @@ instruments?: (Object | URL)[];}
35853
35877
  * Clones this instance, optionally updating it with the given values.
35854
35878
  * @param values The values to update the clone with.
35855
35879
  * @param options The options to use for cloning.
35856
- * @returns The cloned instance.
35880
+ * @returns The cloned instance with its own property arrays. Nested objects
35881
+ * and URLs are shared with this instance.
35857
35882
  */
35858
35883
  override clone(
35859
35884
  values:
@@ -36206,7 +36231,8 @@ instruments?: (Object | URL)[];}
36206
36231
  * Clones this instance, optionally updating it with the given values.
36207
36232
  * @param values The values to update the clone with.
36208
36233
  * @param options The options to use for cloning.
36209
- * @returns The cloned instance.
36234
+ * @returns The cloned instance with its own property arrays. Nested objects
36235
+ * and URLs are shared with this instance.
36210
36236
  */
36211
36237
  override clone(
36212
36238
  values:
@@ -36552,7 +36578,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
36552
36578
  * Clones this instance, optionally updating it with the given values.
36553
36579
  * @param values The values to update the clone with.
36554
36580
  * @param options The options to use for cloning.
36555
- * @returns The cloned instance.
36581
+ * @returns The cloned instance with its own property arrays. Nested objects
36582
+ * and URLs are shared with this instance.
36556
36583
  */
36557
36584
  override clone(
36558
36585
  values:
@@ -36590,7 +36617,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
36590
36617
  // @ts-ignore: $warning is not recognized as a property, but it is.
36591
36618
  options = { ...options, $warning: this._warning };
36592
36619
  }
36593
- const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
36620
+ const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
36594
36621
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
36595
36622
  if (values.quoteUrl instanceof URL) {
36596
36623
  // @ts-ignore: type is checked above.
@@ -37065,7 +37092,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37065
37092
  * Clones this instance, optionally updating it with the given values.
37066
37093
  * @param values The values to update the clone with.
37067
37094
  * @param options The options to use for cloning.
37068
- * @returns The cloned instance.
37095
+ * @returns The cloned instance with its own property arrays. Nested objects
37096
+ * and URLs are shared with this instance.
37069
37097
  */
37070
37098
  override clone(
37071
37099
  values:
@@ -37103,7 +37131,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37103
37131
  // @ts-ignore: $warning is not recognized as a property, but it is.
37104
37132
  options = { ...options, $warning: this._warning };
37105
37133
  }
37106
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
37134
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
37107
37135
  if (\\"width\\" in values && values.width != null) {
37108
37136
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
37109
37137
  // @ts-ignore: type is checked above.
@@ -37116,7 +37144,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37116
37144
  );
37117
37145
  }
37118
37146
  }
37119
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
37147
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
37120
37148
  if (\\"height\\" in values && values.height != null) {
37121
37149
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
37122
37150
  // @ts-ignore: type is checked above.
@@ -37636,7 +37664,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37636
37664
  * Clones this instance, optionally updating it with the given values.
37637
37665
  * @param values The values to update the clone with.
37638
37666
  * @param options The options to use for cloning.
37639
- * @returns The cloned instance.
37667
+ * @returns The cloned instance with its own property arrays. Nested objects
37668
+ * and URLs are shared with this instance.
37640
37669
  */
37641
37670
  override clone(
37642
37671
  values:
@@ -37987,7 +38016,8 @@ instruments?: (Object | URL)[];}
37987
38016
  * Clones this instance, optionally updating it with the given values.
37988
38017
  * @param values The values to update the clone with.
37989
38018
  * @param options The options to use for cloning.
37990
- * @returns The cloned instance.
38019
+ * @returns The cloned instance with its own property arrays. Nested objects
38020
+ * and URLs are shared with this instance.
37991
38021
  */
37992
38022
  override clone(
37993
38023
  values:
@@ -38333,7 +38363,8 @@ instruments?: (Object | URL)[];}
38333
38363
  * Clones this instance, optionally updating it with the given values.
38334
38364
  * @param values The values to update the clone with.
38335
38365
  * @param options The options to use for cloning.
38336
- * @returns The cloned instance.
38366
+ * @returns The cloned instance with its own property arrays. Nested objects
38367
+ * and URLs are shared with this instance.
38337
38368
  */
38338
38369
  override clone(
38339
38370
  values:
@@ -38759,7 +38790,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38759
38790
  if (Array.isArray(values.items) &&
38760
38791
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
38761
38792
  // @ts-ignore: type is checked above.
38762
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
38793
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
38763
38794
 
38764
38795
  for (let i = 0; i < values.items.length; i++) {
38765
38796
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -38882,7 +38913,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38882
38913
  * Clones this instance, optionally updating it with the given values.
38883
38914
  * @param values The values to update the clone with.
38884
38915
  * @param options The options to use for cloning.
38885
- * @returns The cloned instance.
38916
+ * @returns The cloned instance with its own property arrays. Nested objects
38917
+ * and URLs are shared with this instance.
38886
38918
  */
38887
38919
  override clone(
38888
38920
  values:
@@ -38920,7 +38952,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38920
38952
  // @ts-ignore: $warning is not recognized as a property, but it is.
38921
38953
  options = { ...options, $warning: this._warning };
38922
38954
  }
38923
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
38955
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
38924
38956
  if (\\"totalItems\\" in values && values.totalItems != null) {
38925
38957
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
38926
38958
  // @ts-ignore: type is checked above.
@@ -38933,7 +38965,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38933
38965
  );
38934
38966
  }
38935
38967
  }
38936
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
38968
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
38937
38969
  if (\\"current\\" in values && values.current != null) {
38938
38970
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
38939
38971
  // @ts-ignore: type is checked above.
@@ -38946,7 +38978,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38946
38978
  );
38947
38979
  }
38948
38980
  }
38949
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
38981
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
38950
38982
  if (\\"first\\" in values && values.first != null) {
38951
38983
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
38952
38984
  // @ts-ignore: type is checked above.
@@ -38959,7 +38991,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38959
38991
  );
38960
38992
  }
38961
38993
  }
38962
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
38994
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
38963
38995
  if (\\"last\\" in values && values.last != null) {
38964
38996
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
38965
38997
  // @ts-ignore: type is checked above.
@@ -38972,13 +39004,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38972
39004
  );
38973
39005
  }
38974
39006
  }
38975
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
39007
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
38976
39008
  if (\\"items\\" in values && values.items != null) {
38977
39009
 
38978
39010
  if (Array.isArray(values.items) &&
38979
39011
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
38980
39012
  // @ts-ignore: type is checked above.
38981
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
39013
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
38982
39014
 
38983
39015
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
38984
39016
  for (let i = 0; i < values.items.length; i++) {
@@ -38992,7 +39024,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38992
39024
  );
38993
39025
  }
38994
39026
  }
38995
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
39027
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
38996
39028
  if (\\"likesOf\\" in values && values.likesOf != null) {
38997
39029
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
38998
39030
  // @ts-ignore: type is checked above.
@@ -39005,7 +39037,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39005
39037
  );
39006
39038
  }
39007
39039
  }
39008
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
39040
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
39009
39041
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
39010
39042
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
39011
39043
  // @ts-ignore: type is checked above.
@@ -39018,7 +39050,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39018
39050
  );
39019
39051
  }
39020
39052
  }
39021
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
39053
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
39022
39054
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
39023
39055
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
39024
39056
  // @ts-ignore: type is checked above.
@@ -39031,7 +39063,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39031
39063
  );
39032
39064
  }
39033
39065
  }
39034
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
39066
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
39035
39067
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
39036
39068
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
39037
39069
  // @ts-ignore: type is checked above.
@@ -39044,7 +39076,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39044
39076
  );
39045
39077
  }
39046
39078
  }
39047
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
39079
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
39048
39080
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
39049
39081
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
39050
39082
  // @ts-ignore: type is checked above.
@@ -39057,7 +39089,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39057
39089
  );
39058
39090
  }
39059
39091
  }
39060
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
39092
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
39061
39093
  if (\\"followersOf\\" in values && values.followersOf != null) {
39062
39094
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
39063
39095
  // @ts-ignore: type is checked above.
@@ -39070,7 +39102,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39070
39102
  );
39071
39103
  }
39072
39104
  }
39073
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
39105
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
39074
39106
  if (\\"followingOf\\" in values && values.followingOf != null) {
39075
39107
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
39076
39108
  // @ts-ignore: type is checked above.
@@ -39083,7 +39115,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39083
39115
  );
39084
39116
  }
39085
39117
  }
39086
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
39118
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
39087
39119
  if (\\"likedOf\\" in values && values.likedOf != null) {
39088
39120
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
39089
39121
  // @ts-ignore: type is checked above.
@@ -43407,7 +43439,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43407
43439
  * Clones this instance, optionally updating it with the given values.
43408
43440
  * @param values The values to update the clone with.
43409
43441
  * @param options The options to use for cloning.
43410
- * @returns The cloned instance.
43442
+ * @returns The cloned instance with its own property arrays. Nested objects
43443
+ * and URLs are shared with this instance.
43411
43444
  */
43412
43445
  override clone(
43413
43446
  values:
@@ -43445,7 +43478,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43445
43478
  // @ts-ignore: $warning is not recognized as a property, but it is.
43446
43479
  options = { ...options, $warning: this._warning };
43447
43480
  }
43448
- 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);
43481
+ 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);
43449
43482
  if (\\"partOf\\" in values && values.partOf != null) {
43450
43483
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
43451
43484
  // @ts-ignore: type is checked above.
@@ -43458,7 +43491,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43458
43491
  );
43459
43492
  }
43460
43493
  }
43461
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
43494
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
43462
43495
  if (\\"next\\" in values && values.next != null) {
43463
43496
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
43464
43497
  // @ts-ignore: type is checked above.
@@ -43471,7 +43504,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43471
43504
  );
43472
43505
  }
43473
43506
  }
43474
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
43507
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
43475
43508
  if (\\"prev\\" in values && values.prev != null) {
43476
43509
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
43477
43510
  // @ts-ignore: type is checked above.
@@ -44753,7 +44786,8 @@ instruments?: (Object | URL)[];}
44753
44786
  * Clones this instance, optionally updating it with the given values.
44754
44787
  * @param values The values to update the clone with.
44755
44788
  * @param options The options to use for cloning.
44756
- * @returns The cloned instance.
44789
+ * @returns The cloned instance with its own property arrays. Nested objects
44790
+ * and URLs are shared with this instance.
44757
44791
  */
44758
44792
  override clone(
44759
44793
  values:
@@ -45093,7 +45127,8 @@ instruments?: (Object | URL)[];}
45093
45127
  * Clones this instance, optionally updating it with the given values.
45094
45128
  * @param values The values to update the clone with.
45095
45129
  * @param options The options to use for cloning.
45096
- * @returns The cloned instance.
45130
+ * @returns The cloned instance with its own property arrays. Nested objects
45131
+ * and URLs are shared with this instance.
45097
45132
  */
45098
45133
  override clone(
45099
45134
  values:
@@ -45431,7 +45466,8 @@ instruments?: (Object | URL)[];}
45431
45466
  * Clones this instance, optionally updating it with the given values.
45432
45467
  * @param values The values to update the clone with.
45433
45468
  * @param options The options to use for cloning.
45434
- * @returns The cloned instance.
45469
+ * @returns The cloned instance with its own property arrays. Nested objects
45470
+ * and URLs are shared with this instance.
45435
45471
  */
45436
45472
  override clone(
45437
45473
  values:
@@ -45901,7 +45937,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45901
45937
  * Clones this instance, optionally updating it with the given values.
45902
45938
  * @param values The values to update the clone with.
45903
45939
  * @param options The options to use for cloning.
45904
- * @returns The cloned instance.
45940
+ * @returns The cloned instance with its own property arrays. Nested objects
45941
+ * and URLs are shared with this instance.
45905
45942
  */
45906
45943
  clone(
45907
45944
  values:
@@ -45929,7 +45966,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45929
45966
  { id: values.id ?? this.id },
45930
45967
  options
45931
45968
  );
45932
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
45969
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
45933
45970
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
45934
45971
  if (values.proxyUrl instanceof URL) {
45935
45972
  // @ts-ignore: type is checked above.
@@ -45942,7 +45979,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45942
45979
  );
45943
45980
  }
45944
45981
  }
45945
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
45982
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
45946
45983
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
45947
45984
  if (values.oauthAuthorizationEndpoint instanceof URL) {
45948
45985
  // @ts-ignore: type is checked above.
@@ -45955,7 +45992,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45955
45992
  );
45956
45993
  }
45957
45994
  }
45958
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
45995
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
45959
45996
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
45960
45997
  if (values.oauthTokenEndpoint instanceof URL) {
45961
45998
  // @ts-ignore: type is checked above.
@@ -45968,7 +46005,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45968
46005
  );
45969
46006
  }
45970
46007
  }
45971
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
46008
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
45972
46009
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
45973
46010
  if (values.provideClientKey instanceof URL) {
45974
46011
  // @ts-ignore: type is checked above.
@@ -45981,7 +46018,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45981
46018
  );
45982
46019
  }
45983
46020
  }
45984
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
46021
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
45985
46022
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
45986
46023
  if (values.signClientKey instanceof URL) {
45987
46024
  // @ts-ignore: type is checked above.
@@ -45994,7 +46031,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45994
46031
  );
45995
46032
  }
45996
46033
  }
45997
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
46034
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
45998
46035
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
45999
46036
  if (values.sharedInbox instanceof URL) {
46000
46037
  // @ts-ignore: type is checked above.
@@ -46942,7 +46979,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46942
46979
  * Clones this instance, optionally updating it with the given values.
46943
46980
  * @param values The values to update the clone with.
46944
46981
  * @param options The options to use for cloning.
46945
- * @returns The cloned instance.
46982
+ * @returns The cloned instance with its own property arrays. Nested objects
46983
+ * and URLs are shared with this instance.
46946
46984
  */
46947
46985
  override clone(
46948
46986
  values:
@@ -47294,7 +47332,8 @@ instruments?: (Object | URL)[];}
47294
47332
  * Clones this instance, optionally updating it with the given values.
47295
47333
  * @param values The values to update the clone with.
47296
47334
  * @param options The options to use for cloning.
47297
- * @returns The cloned instance.
47335
+ * @returns The cloned instance with its own property arrays. Nested objects
47336
+ * and URLs are shared with this instance.
47298
47337
  */
47299
47338
  override clone(
47300
47339
  values:
@@ -47636,7 +47675,8 @@ instruments?: (Object | URL)[];}
47636
47675
  * Clones this instance, optionally updating it with the given values.
47637
47676
  * @param values The values to update the clone with.
47638
47677
  * @param options The options to use for cloning.
47639
- * @returns The cloned instance.
47678
+ * @returns The cloned instance with its own property arrays. Nested objects
47679
+ * and URLs are shared with this instance.
47640
47680
  */
47641
47681
  override clone(
47642
47682
  values:
@@ -48042,7 +48082,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48042
48082
  if (Array.isArray(values.preferredUsernames) &&
48043
48083
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
48044
48084
  // @ts-ignore: type is checked above.
48045
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
48085
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
48046
48086
 
48047
48087
  } else {
48048
48088
  throw new TypeError(
@@ -48078,7 +48118,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48078
48118
  if (Array.isArray(values.publicKeys) &&
48079
48119
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
48080
48120
  // @ts-ignore: type is checked above.
48081
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
48121
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
48082
48122
 
48083
48123
  for (let i = 0; i < values.publicKeys.length; i++) {
48084
48124
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -48118,7 +48158,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48118
48158
  if (Array.isArray(values.assertionMethods) &&
48119
48159
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
48120
48160
  // @ts-ignore: type is checked above.
48121
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
48161
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
48122
48162
 
48123
48163
  for (let i = 0; i < values.assertionMethods.length; i++) {
48124
48164
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -48241,7 +48281,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48241
48281
  if (Array.isArray(values.streams) &&
48242
48282
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
48243
48283
  // @ts-ignore: type is checked above.
48244
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
48284
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
48245
48285
 
48246
48286
  for (let i = 0; i < values.streams.length; i++) {
48247
48287
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -48359,7 +48399,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48359
48399
  if (Array.isArray(values.aliases) &&
48360
48400
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
48361
48401
  // @ts-ignore: type is checked above.
48362
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
48402
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
48363
48403
 
48364
48404
  for (let i = 0; i < values.aliases.length; i++) {
48365
48405
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -48399,7 +48439,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48399
48439
  if (Array.isArray(values.services) &&
48400
48440
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
48401
48441
  // @ts-ignore: type is checked above.
48402
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
48442
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
48403
48443
 
48404
48444
  for (let i = 0; i < values.services.length; i++) {
48405
48445
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -48444,7 +48484,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48444
48484
  * Clones this instance, optionally updating it with the given values.
48445
48485
  * @param values The values to update the clone with.
48446
48486
  * @param options The options to use for cloning.
48447
- * @returns The cloned instance.
48487
+ * @returns The cloned instance with its own property arrays. Nested objects
48488
+ * and URLs are shared with this instance.
48448
48489
  */
48449
48490
  override clone(
48450
48491
  values:
@@ -48487,7 +48528,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48487
48528
  // @ts-ignore: $warning is not recognized as a property, but it is.
48488
48529
  options = { ...options, $warning: this._warning };
48489
48530
  }
48490
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
48531
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
48491
48532
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
48492
48533
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
48493
48534
  // @ts-ignore: type is checked above.
@@ -48514,7 +48555,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48514
48555
  if (Array.isArray(values.preferredUsernames) &&
48515
48556
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
48516
48557
  // @ts-ignore: type is checked above.
48517
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
48558
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
48518
48559
 
48519
48560
  } else {
48520
48561
  throw new TypeError(
@@ -48523,7 +48564,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48523
48564
  );
48524
48565
  }
48525
48566
  }
48526
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
48567
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
48527
48568
  if (\\"publicKey\\" in values && values.publicKey != null) {
48528
48569
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
48529
48570
  // @ts-ignore: type is checked above.
@@ -48550,7 +48591,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48550
48591
  if (Array.isArray(values.publicKeys) &&
48551
48592
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
48552
48593
  // @ts-ignore: type is checked above.
48553
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
48594
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
48554
48595
 
48555
48596
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
48556
48597
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -48564,7 +48605,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48564
48605
  );
48565
48606
  }
48566
48607
  }
48567
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
48608
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
48568
48609
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
48569
48610
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
48570
48611
  // @ts-ignore: type is checked above.
@@ -48591,7 +48632,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48591
48632
  if (Array.isArray(values.assertionMethods) &&
48592
48633
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
48593
48634
  // @ts-ignore: type is checked above.
48594
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
48635
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
48595
48636
 
48596
48637
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
48597
48638
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -48605,7 +48646,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48605
48646
  );
48606
48647
  }
48607
48648
  }
48608
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
48649
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
48609
48650
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
48610
48651
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
48611
48652
  // @ts-ignore: type is checked above.
@@ -48618,7 +48659,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48618
48659
  );
48619
48660
  }
48620
48661
  }
48621
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
48662
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
48622
48663
  if (\\"inbox\\" in values && values.inbox != null) {
48623
48664
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
48624
48665
  // @ts-ignore: type is checked above.
@@ -48631,7 +48672,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48631
48672
  );
48632
48673
  }
48633
48674
  }
48634
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
48675
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
48635
48676
  if (\\"outbox\\" in values && values.outbox != null) {
48636
48677
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
48637
48678
  // @ts-ignore: type is checked above.
@@ -48644,7 +48685,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48644
48685
  );
48645
48686
  }
48646
48687
  }
48647
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
48688
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
48648
48689
  if (\\"following\\" in values && values.following != null) {
48649
48690
  if (values.following instanceof Collection || values.following instanceof URL) {
48650
48691
  // @ts-ignore: type is checked above.
@@ -48657,7 +48698,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48657
48698
  );
48658
48699
  }
48659
48700
  }
48660
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
48701
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
48661
48702
  if (\\"followers\\" in values && values.followers != null) {
48662
48703
  if (values.followers instanceof Collection || values.followers instanceof URL) {
48663
48704
  // @ts-ignore: type is checked above.
@@ -48670,7 +48711,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48670
48711
  );
48671
48712
  }
48672
48713
  }
48673
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
48714
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
48674
48715
  if (\\"liked\\" in values && values.liked != null) {
48675
48716
  if (values.liked instanceof Collection || values.liked instanceof URL) {
48676
48717
  // @ts-ignore: type is checked above.
@@ -48683,7 +48724,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48683
48724
  );
48684
48725
  }
48685
48726
  }
48686
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
48727
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
48687
48728
  if (\\"featured\\" in values && values.featured != null) {
48688
48729
  if (values.featured instanceof Collection || values.featured instanceof URL) {
48689
48730
  // @ts-ignore: type is checked above.
@@ -48696,7 +48737,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48696
48737
  );
48697
48738
  }
48698
48739
  }
48699
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
48740
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
48700
48741
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
48701
48742
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
48702
48743
  // @ts-ignore: type is checked above.
@@ -48709,13 +48750,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48709
48750
  );
48710
48751
  }
48711
48752
  }
48712
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
48753
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
48713
48754
  if (\\"streams\\" in values && values.streams != null) {
48714
48755
 
48715
48756
  if (Array.isArray(values.streams) &&
48716
48757
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
48717
48758
  // @ts-ignore: type is checked above.
48718
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
48759
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
48719
48760
 
48720
48761
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
48721
48762
  for (let i = 0; i < values.streams.length; i++) {
@@ -48729,7 +48770,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48729
48770
  );
48730
48771
  }
48731
48772
  }
48732
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
48773
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
48733
48774
  if (\\"endpoints\\" in values && values.endpoints != null) {
48734
48775
  if (values.endpoints instanceof Endpoints) {
48735
48776
  // @ts-ignore: type is checked above.
@@ -48742,7 +48783,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48742
48783
  );
48743
48784
  }
48744
48785
  }
48745
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
48786
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
48746
48787
  if (\\"discoverable\\" in values && values.discoverable != null) {
48747
48788
  if (typeof values.discoverable === \\"boolean\\") {
48748
48789
  // @ts-ignore: type is checked above.
@@ -48755,7 +48796,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48755
48796
  );
48756
48797
  }
48757
48798
  }
48758
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
48799
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
48759
48800
  if (\\"suspended\\" in values && values.suspended != null) {
48760
48801
  if (typeof values.suspended === \\"boolean\\") {
48761
48802
  // @ts-ignore: type is checked above.
@@ -48768,7 +48809,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48768
48809
  );
48769
48810
  }
48770
48811
  }
48771
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
48812
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
48772
48813
  if (\\"memorial\\" in values && values.memorial != null) {
48773
48814
  if (typeof values.memorial === \\"boolean\\") {
48774
48815
  // @ts-ignore: type is checked above.
@@ -48781,7 +48822,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48781
48822
  );
48782
48823
  }
48783
48824
  }
48784
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
48825
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
48785
48826
  if (\\"indexable\\" in values && values.indexable != null) {
48786
48827
  if (typeof values.indexable === \\"boolean\\") {
48787
48828
  // @ts-ignore: type is checked above.
@@ -48794,7 +48835,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48794
48835
  );
48795
48836
  }
48796
48837
  }
48797
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
48838
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
48798
48839
  if (\\"successor\\" in values && values.successor != null) {
48799
48840
  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) {
48800
48841
  // @ts-ignore: type is checked above.
@@ -48807,7 +48848,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48807
48848
  );
48808
48849
  }
48809
48850
  }
48810
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
48851
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
48811
48852
  if (\\"alias\\" in values && values.alias != null) {
48812
48853
  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) {
48813
48854
  // @ts-ignore: type is checked above.
@@ -48834,7 +48875,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48834
48875
  if (Array.isArray(values.aliases) &&
48835
48876
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
48836
48877
  // @ts-ignore: type is checked above.
48837
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
48878
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
48838
48879
 
48839
48880
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
48840
48881
  for (let i = 0; i < values.aliases.length; i++) {
@@ -48848,7 +48889,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48848
48889
  );
48849
48890
  }
48850
48891
  }
48851
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
48892
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
48852
48893
  if (\\"service\\" in values && values.service != null) {
48853
48894
  if (values.service instanceof DidService || values.service instanceof URL) {
48854
48895
  // @ts-ignore: type is checked above.
@@ -48875,7 +48916,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48875
48916
  if (Array.isArray(values.services) &&
48876
48917
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
48877
48918
  // @ts-ignore: type is checked above.
48878
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
48919
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
48879
48920
 
48880
48921
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
48881
48922
  for (let i = 0; i < values.services.length; i++) {
@@ -48889,7 +48930,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48889
48930
  );
48890
48931
  }
48891
48932
  }
48892
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
48933
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
48893
48934
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
48894
48935
  if (typeof values.followedMessage === \\"string\\") {
48895
48936
  // @ts-ignore: type is checked above.
@@ -48902,7 +48943,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48902
48943
  );
48903
48944
  }
48904
48945
  }
48905
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
48946
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
48906
48947
  if (\\"cat\\" in values && values.cat != null) {
48907
48948
  if (typeof values.cat === \\"boolean\\") {
48908
48949
  // @ts-ignore: type is checked above.
@@ -55019,7 +55060,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55019
55060
  if (Array.isArray(values.rels) &&
55020
55061
  values.rels.every(v => typeof v === \\"string\\")) {
55021
55062
  // @ts-ignore: type is checked above.
55022
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
55063
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
55023
55064
 
55024
55065
  } else {
55025
55066
  throw new TypeError(
@@ -55068,7 +55109,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55068
55109
  if (Array.isArray(values.names) &&
55069
55110
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
55070
55111
  // @ts-ignore: type is checked above.
55071
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
55112
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
55072
55113
 
55073
55114
  } else {
55074
55115
  throw new TypeError(
@@ -55122,7 +55163,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55122
55163
  if (Array.isArray(values.previews) &&
55123
55164
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
55124
55165
  // @ts-ignore: type is checked above.
55125
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
55166
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
55126
55167
 
55127
55168
  for (let i = 0; i < values.previews.length; i++) {
55128
55169
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -55141,7 +55182,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55141
55182
  * Clones this instance, optionally updating it with the given values.
55142
55183
  * @param values The values to update the clone with.
55143
55184
  * @param options The options to use for cloning.
55144
- * @returns The cloned instance.
55185
+ * @returns The cloned instance with its own property arrays. Nested objects
55186
+ * and URLs are shared with this instance.
55145
55187
  */
55146
55188
  clone(
55147
55189
  values:
@@ -55171,7 +55213,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55171
55213
  { id: values.id ?? this.id },
55172
55214
  options
55173
55215
  );
55174
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
55216
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
55175
55217
  if (\\"href\\" in values && values.href != null) {
55176
55218
  if (values.href instanceof URL) {
55177
55219
  // @ts-ignore: type is checked above.
@@ -55184,7 +55226,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55184
55226
  );
55185
55227
  }
55186
55228
  }
55187
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
55229
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
55188
55230
  if (\\"rel\\" in values && values.rel != null) {
55189
55231
  if (typeof values.rel === \\"string\\") {
55190
55232
  // @ts-ignore: type is checked above.
@@ -55211,7 +55253,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55211
55253
  if (Array.isArray(values.rels) &&
55212
55254
  values.rels.every(v => typeof v === \\"string\\")) {
55213
55255
  // @ts-ignore: type is checked above.
55214
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
55256
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
55215
55257
 
55216
55258
  } else {
55217
55259
  throw new TypeError(
@@ -55220,7 +55262,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55220
55262
  );
55221
55263
  }
55222
55264
  }
55223
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
55265
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
55224
55266
  if (\\"mediaType\\" in values && values.mediaType != null) {
55225
55267
  if (typeof values.mediaType === \\"string\\") {
55226
55268
  // @ts-ignore: type is checked above.
@@ -55233,7 +55275,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55233
55275
  );
55234
55276
  }
55235
55277
  }
55236
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
55278
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
55237
55279
  if (\\"name\\" in values && values.name != null) {
55238
55280
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
55239
55281
  // @ts-ignore: type is checked above.
@@ -55260,7 +55302,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55260
55302
  if (Array.isArray(values.names) &&
55261
55303
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
55262
55304
  // @ts-ignore: type is checked above.
55263
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
55305
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
55264
55306
 
55265
55307
  } else {
55266
55308
  throw new TypeError(
@@ -55269,7 +55311,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55269
55311
  );
55270
55312
  }
55271
55313
  }
55272
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
55314
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
55273
55315
  if (\\"language\\" in values && values.language != null) {
55274
55316
  if (values.language instanceof Intl.Locale) {
55275
55317
  // @ts-ignore: type is checked above.
@@ -55282,7 +55324,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55282
55324
  );
55283
55325
  }
55284
55326
  }
55285
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
55327
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
55286
55328
  if (\\"height\\" in values && values.height != null) {
55287
55329
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
55288
55330
  // @ts-ignore: type is checked above.
@@ -55295,7 +55337,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55295
55337
  );
55296
55338
  }
55297
55339
  }
55298
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
55340
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
55299
55341
  if (\\"width\\" in values && values.width != null) {
55300
55342
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
55301
55343
  // @ts-ignore: type is checked above.
@@ -55308,13 +55350,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55308
55350
  );
55309
55351
  }
55310
55352
  }
55311
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
55353
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
55312
55354
  if (\\"previews\\" in values && values.previews != null) {
55313
55355
 
55314
55356
  if (Array.isArray(values.previews) &&
55315
55357
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
55316
55358
  // @ts-ignore: type is checked above.
55317
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
55359
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
55318
55360
 
55319
55361
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
55320
55362
  for (let i = 0; i < values.previews.length; i++) {
@@ -56282,7 +56324,7 @@ get names(): ((string | LanguageString))[] {
56282
56324
  if (v == null) continue;
56283
56325
 
56284
56326
  const decoded =
56285
- new Intl.Locale(v[\\"@value\\"])
56327
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
56286
56328
  ;
56287
56329
 
56288
56330
  if (!this._shouldCacheDecodedJsonLd(decoded)) {
@@ -56666,7 +56708,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
56666
56708
  * Clones this instance, optionally updating it with the given values.
56667
56709
  * @param values The values to update the clone with.
56668
56710
  * @param options The options to use for cloning.
56669
- * @returns The cloned instance.
56711
+ * @returns The cloned instance with its own property arrays. Nested objects
56712
+ * and URLs are shared with this instance.
56670
56713
  */
56671
56714
  override clone(
56672
56715
  values:
@@ -56984,7 +57027,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
56984
57027
  * Clones this instance, optionally updating it with the given values.
56985
57028
  * @param values The values to update the clone with.
56986
57029
  * @param options The options to use for cloning.
56987
- * @returns The cloned instance.
57030
+ * @returns The cloned instance with its own property arrays. Nested objects
57031
+ * and URLs are shared with this instance.
56988
57032
  */
56989
57033
  override clone(
56990
57034
  values:
@@ -57336,7 +57380,8 @@ instruments?: (Object | URL)[];}
57336
57380
  * Clones this instance, optionally updating it with the given values.
57337
57381
  * @param values The values to update the clone with.
57338
57382
  * @param options The options to use for cloning.
57339
- * @returns The cloned instance.
57383
+ * @returns The cloned instance with its own property arrays. Nested objects
57384
+ * and URLs are shared with this instance.
57340
57385
  */
57341
57386
  override clone(
57342
57387
  values:
@@ -57680,7 +57725,8 @@ instruments?: (Object | URL)[];}
57680
57725
  * Clones this instance, optionally updating it with the given values.
57681
57726
  * @param values The values to update the clone with.
57682
57727
  * @param options The options to use for cloning.
57683
- * @returns The cloned instance.
57728
+ * @returns The cloned instance with its own property arrays. Nested objects
57729
+ * and URLs are shared with this instance.
57684
57730
  */
57685
57731
  override clone(
57686
57732
  values:
@@ -58020,7 +58066,8 @@ instruments?: (Object | URL)[];}
58020
58066
  * Clones this instance, optionally updating it with the given values.
58021
58067
  * @param values The values to update the clone with.
58022
58068
  * @param options The options to use for cloning.
58023
- * @returns The cloned instance.
58069
+ * @returns The cloned instance with its own property arrays. Nested objects
58070
+ * and URLs are shared with this instance.
58024
58071
  */
58025
58072
  override clone(
58026
58073
  values:
@@ -58360,7 +58407,8 @@ instruments?: (Object | URL)[];}
58360
58407
  * Clones this instance, optionally updating it with the given values.
58361
58408
  * @param values The values to update the clone with.
58362
58409
  * @param options The options to use for cloning.
58363
- * @returns The cloned instance.
58410
+ * @returns The cloned instance with its own property arrays. Nested objects
58411
+ * and URLs are shared with this instance.
58364
58412
  */
58365
58413
  override clone(
58366
58414
  values:
@@ -58700,7 +58748,8 @@ instruments?: (Object | URL)[];}
58700
58748
  * Clones this instance, optionally updating it with the given values.
58701
58749
  * @param values The values to update the clone with.
58702
58750
  * @param options The options to use for cloning.
58703
- * @returns The cloned instance.
58751
+ * @returns The cloned instance with its own property arrays. Nested objects
58752
+ * and URLs are shared with this instance.
58704
58753
  */
58705
58754
  override clone(
58706
58755
  values:
@@ -59038,7 +59087,8 @@ instruments?: (Object | URL)[];}
59038
59087
  * Clones this instance, optionally updating it with the given values.
59039
59088
  * @param values The values to update the clone with.
59040
59089
  * @param options The options to use for cloning.
59041
- * @returns The cloned instance.
59090
+ * @returns The cloned instance with its own property arrays. Nested objects
59091
+ * and URLs are shared with this instance.
59042
59092
  */
59043
59093
  override clone(
59044
59094
  values:
@@ -59356,7 +59406,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
59356
59406
  * Clones this instance, optionally updating it with the given values.
59357
59407
  * @param values The values to update the clone with.
59358
59408
  * @param options The options to use for cloning.
59359
- * @returns The cloned instance.
59409
+ * @returns The cloned instance with its own property arrays. Nested objects
59410
+ * and URLs are shared with this instance.
59360
59411
  */
59361
59412
  override clone(
59362
59413
  values:
@@ -59683,7 +59734,8 @@ instruments?: (Object | URL)[];}
59683
59734
  * Clones this instance, optionally updating it with the given values.
59684
59735
  * @param values The values to update the clone with.
59685
59736
  * @param options The options to use for cloning.
59686
- * @returns The cloned instance.
59737
+ * @returns The cloned instance with its own property arrays. Nested objects
59738
+ * and URLs are shared with this instance.
59687
59739
  */
59688
59740
  override clone(
59689
59741
  values:
@@ -60031,7 +60083,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60031
60083
  * Clones this instance, optionally updating it with the given values.
60032
60084
  * @param values The values to update the clone with.
60033
60085
  * @param options The options to use for cloning.
60034
- * @returns The cloned instance.
60086
+ * @returns The cloned instance with its own property arrays. Nested objects
60087
+ * and URLs are shared with this instance.
60035
60088
  */
60036
60089
  override clone(
60037
60090
  values:
@@ -60069,7 +60122,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60069
60122
  // @ts-ignore: $warning is not recognized as a property, but it is.
60070
60123
  options = { ...options, $warning: this._warning };
60071
60124
  }
60072
- const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
60125
+ const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
60073
60126
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
60074
60127
  if (values.quoteUrl instanceof URL) {
60075
60128
  // @ts-ignore: type is checked above.
@@ -60521,7 +60574,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60521
60574
  if (Array.isArray(values.items) &&
60522
60575
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
60523
60576
  // @ts-ignore: type is checked above.
60524
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
60577
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
60525
60578
 
60526
60579
  for (let i = 0; i < values.items.length; i++) {
60527
60580
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -60540,7 +60593,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60540
60593
  * Clones this instance, optionally updating it with the given values.
60541
60594
  * @param values The values to update the clone with.
60542
60595
  * @param options The options to use for cloning.
60543
- * @returns The cloned instance.
60596
+ * @returns The cloned instance with its own property arrays. Nested objects
60597
+ * and URLs are shared with this instance.
60544
60598
  */
60545
60599
  override clone(
60546
60600
  values:
@@ -60578,13 +60632,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60578
60632
  // @ts-ignore: $warning is not recognized as a property, but it is.
60579
60633
  options = { ...options, $warning: this._warning };
60580
60634
  }
60581
- 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);
60635
+ 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);
60582
60636
  if (\\"items\\" in values && values.items != null) {
60583
60637
 
60584
60638
  if (Array.isArray(values.items) &&
60585
60639
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
60586
60640
  // @ts-ignore: type is checked above.
60587
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
60641
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
60588
60642
 
60589
60643
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
60590
60644
  for (let i = 0; i < values.items.length; i++) {
@@ -61255,7 +61309,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61255
61309
  if (Array.isArray(values.items) &&
61256
61310
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
61257
61311
  // @ts-ignore: type is checked above.
61258
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
61312
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
61259
61313
 
61260
61314
  for (let i = 0; i < values.items.length; i++) {
61261
61315
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -61287,7 +61341,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61287
61341
  * Clones this instance, optionally updating it with the given values.
61288
61342
  * @param values The values to update the clone with.
61289
61343
  * @param options The options to use for cloning.
61290
- * @returns The cloned instance.
61344
+ * @returns The cloned instance with its own property arrays. Nested objects
61345
+ * and URLs are shared with this instance.
61291
61346
  */
61292
61347
  override clone(
61293
61348
  values:
@@ -61325,13 +61380,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61325
61380
  // @ts-ignore: $warning is not recognized as a property, but it is.
61326
61381
  options = { ...options, $warning: this._warning };
61327
61382
  }
61328
- 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);
61383
+ 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);
61329
61384
  if (\\"items\\" in values && values.items != null) {
61330
61385
 
61331
61386
  if (Array.isArray(values.items) &&
61332
61387
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
61333
61388
  // @ts-ignore: type is checked above.
61334
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
61389
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
61335
61390
 
61336
61391
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
61337
61392
  for (let i = 0; i < values.items.length; i++) {
@@ -61345,7 +61400,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61345
61400
  );
61346
61401
  }
61347
61402
  }
61348
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
61403
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
61349
61404
  if (\\"startIndex\\" in values && values.startIndex != null) {
61350
61405
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
61351
61406
  // @ts-ignore: type is checked above.
@@ -62175,7 +62230,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62175
62230
  if (Array.isArray(values.preferredUsernames) &&
62176
62231
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
62177
62232
  // @ts-ignore: type is checked above.
62178
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62233
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
62179
62234
 
62180
62235
  } else {
62181
62236
  throw new TypeError(
@@ -62211,7 +62266,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62211
62266
  if (Array.isArray(values.publicKeys) &&
62212
62267
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62213
62268
  // @ts-ignore: type is checked above.
62214
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62269
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62215
62270
 
62216
62271
  for (let i = 0; i < values.publicKeys.length; i++) {
62217
62272
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -62251,7 +62306,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62251
62306
  if (Array.isArray(values.assertionMethods) &&
62252
62307
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62253
62308
  // @ts-ignore: type is checked above.
62254
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62309
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62255
62310
 
62256
62311
  for (let i = 0; i < values.assertionMethods.length; i++) {
62257
62312
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -62374,7 +62429,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62374
62429
  if (Array.isArray(values.streams) &&
62375
62430
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62376
62431
  // @ts-ignore: type is checked above.
62377
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62432
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62378
62433
 
62379
62434
  for (let i = 0; i < values.streams.length; i++) {
62380
62435
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -62492,7 +62547,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62492
62547
  if (Array.isArray(values.aliases) &&
62493
62548
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62494
62549
  // @ts-ignore: type is checked above.
62495
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
62550
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62496
62551
 
62497
62552
  for (let i = 0; i < values.aliases.length; i++) {
62498
62553
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -62532,7 +62587,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62532
62587
  if (Array.isArray(values.services) &&
62533
62588
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
62534
62589
  // @ts-ignore: type is checked above.
62535
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
62590
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
62536
62591
 
62537
62592
  for (let i = 0; i < values.services.length; i++) {
62538
62593
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -62577,7 +62632,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62577
62632
  * Clones this instance, optionally updating it with the given values.
62578
62633
  * @param values The values to update the clone with.
62579
62634
  * @param options The options to use for cloning.
62580
- * @returns The cloned instance.
62635
+ * @returns The cloned instance with its own property arrays. Nested objects
62636
+ * and URLs are shared with this instance.
62581
62637
  */
62582
62638
  override clone(
62583
62639
  values:
@@ -62620,7 +62676,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62620
62676
  // @ts-ignore: $warning is not recognized as a property, but it is.
62621
62677
  options = { ...options, $warning: this._warning };
62622
62678
  }
62623
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
62679
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
62624
62680
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
62625
62681
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
62626
62682
  // @ts-ignore: type is checked above.
@@ -62647,7 +62703,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62647
62703
  if (Array.isArray(values.preferredUsernames) &&
62648
62704
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
62649
62705
  // @ts-ignore: type is checked above.
62650
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62706
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
62651
62707
 
62652
62708
  } else {
62653
62709
  throw new TypeError(
@@ -62656,7 +62712,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62656
62712
  );
62657
62713
  }
62658
62714
  }
62659
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62715
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62660
62716
  if (\\"publicKey\\" in values && values.publicKey != null) {
62661
62717
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
62662
62718
  // @ts-ignore: type is checked above.
@@ -62683,7 +62739,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62683
62739
  if (Array.isArray(values.publicKeys) &&
62684
62740
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62685
62741
  // @ts-ignore: type is checked above.
62686
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62742
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62687
62743
 
62688
62744
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
62689
62745
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -62697,7 +62753,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62697
62753
  );
62698
62754
  }
62699
62755
  }
62700
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62756
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62701
62757
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
62702
62758
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
62703
62759
  // @ts-ignore: type is checked above.
@@ -62724,7 +62780,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62724
62780
  if (Array.isArray(values.assertionMethods) &&
62725
62781
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62726
62782
  // @ts-ignore: type is checked above.
62727
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62783
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62728
62784
 
62729
62785
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
62730
62786
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -62738,7 +62794,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62738
62794
  );
62739
62795
  }
62740
62796
  }
62741
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
62797
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
62742
62798
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
62743
62799
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
62744
62800
  // @ts-ignore: type is checked above.
@@ -62751,7 +62807,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62751
62807
  );
62752
62808
  }
62753
62809
  }
62754
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62810
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62755
62811
  if (\\"inbox\\" in values && values.inbox != null) {
62756
62812
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
62757
62813
  // @ts-ignore: type is checked above.
@@ -62764,7 +62820,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62764
62820
  );
62765
62821
  }
62766
62822
  }
62767
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62823
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62768
62824
  if (\\"outbox\\" in values && values.outbox != null) {
62769
62825
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
62770
62826
  // @ts-ignore: type is checked above.
@@ -62777,7 +62833,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62777
62833
  );
62778
62834
  }
62779
62835
  }
62780
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62836
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62781
62837
  if (\\"following\\" in values && values.following != null) {
62782
62838
  if (values.following instanceof Collection || values.following instanceof URL) {
62783
62839
  // @ts-ignore: type is checked above.
@@ -62790,7 +62846,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62790
62846
  );
62791
62847
  }
62792
62848
  }
62793
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62849
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62794
62850
  if (\\"followers\\" in values && values.followers != null) {
62795
62851
  if (values.followers instanceof Collection || values.followers instanceof URL) {
62796
62852
  // @ts-ignore: type is checked above.
@@ -62803,7 +62859,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62803
62859
  );
62804
62860
  }
62805
62861
  }
62806
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62862
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62807
62863
  if (\\"liked\\" in values && values.liked != null) {
62808
62864
  if (values.liked instanceof Collection || values.liked instanceof URL) {
62809
62865
  // @ts-ignore: type is checked above.
@@ -62816,7 +62872,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62816
62872
  );
62817
62873
  }
62818
62874
  }
62819
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62875
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62820
62876
  if (\\"featured\\" in values && values.featured != null) {
62821
62877
  if (values.featured instanceof Collection || values.featured instanceof URL) {
62822
62878
  // @ts-ignore: type is checked above.
@@ -62829,7 +62885,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62829
62885
  );
62830
62886
  }
62831
62887
  }
62832
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62888
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62833
62889
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
62834
62890
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
62835
62891
  // @ts-ignore: type is checked above.
@@ -62842,13 +62898,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62842
62898
  );
62843
62899
  }
62844
62900
  }
62845
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62901
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62846
62902
  if (\\"streams\\" in values && values.streams != null) {
62847
62903
 
62848
62904
  if (Array.isArray(values.streams) &&
62849
62905
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62850
62906
  // @ts-ignore: type is checked above.
62851
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62907
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62852
62908
 
62853
62909
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
62854
62910
  for (let i = 0; i < values.streams.length; i++) {
@@ -62862,7 +62918,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62862
62918
  );
62863
62919
  }
62864
62920
  }
62865
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
62921
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
62866
62922
  if (\\"endpoints\\" in values && values.endpoints != null) {
62867
62923
  if (values.endpoints instanceof Endpoints) {
62868
62924
  // @ts-ignore: type is checked above.
@@ -62875,7 +62931,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62875
62931
  );
62876
62932
  }
62877
62933
  }
62878
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
62934
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
62879
62935
  if (\\"discoverable\\" in values && values.discoverable != null) {
62880
62936
  if (typeof values.discoverable === \\"boolean\\") {
62881
62937
  // @ts-ignore: type is checked above.
@@ -62888,7 +62944,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62888
62944
  );
62889
62945
  }
62890
62946
  }
62891
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
62947
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
62892
62948
  if (\\"suspended\\" in values && values.suspended != null) {
62893
62949
  if (typeof values.suspended === \\"boolean\\") {
62894
62950
  // @ts-ignore: type is checked above.
@@ -62901,7 +62957,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62901
62957
  );
62902
62958
  }
62903
62959
  }
62904
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
62960
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
62905
62961
  if (\\"memorial\\" in values && values.memorial != null) {
62906
62962
  if (typeof values.memorial === \\"boolean\\") {
62907
62963
  // @ts-ignore: type is checked above.
@@ -62914,7 +62970,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62914
62970
  );
62915
62971
  }
62916
62972
  }
62917
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
62973
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
62918
62974
  if (\\"indexable\\" in values && values.indexable != null) {
62919
62975
  if (typeof values.indexable === \\"boolean\\") {
62920
62976
  // @ts-ignore: type is checked above.
@@ -62927,7 +62983,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62927
62983
  );
62928
62984
  }
62929
62985
  }
62930
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62986
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62931
62987
  if (\\"successor\\" in values && values.successor != null) {
62932
62988
  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) {
62933
62989
  // @ts-ignore: type is checked above.
@@ -62940,7 +62996,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62940
62996
  );
62941
62997
  }
62942
62998
  }
62943
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
62999
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
62944
63000
  if (\\"alias\\" in values && values.alias != null) {
62945
63001
  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) {
62946
63002
  // @ts-ignore: type is checked above.
@@ -62967,7 +63023,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62967
63023
  if (Array.isArray(values.aliases) &&
62968
63024
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62969
63025
  // @ts-ignore: type is checked above.
62970
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
63026
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62971
63027
 
62972
63028
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
62973
63029
  for (let i = 0; i < values.aliases.length; i++) {
@@ -62981,7 +63037,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62981
63037
  );
62982
63038
  }
62983
63039
  }
62984
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
63040
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
62985
63041
  if (\\"service\\" in values && values.service != null) {
62986
63042
  if (values.service instanceof DidService || values.service instanceof URL) {
62987
63043
  // @ts-ignore: type is checked above.
@@ -63008,7 +63064,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63008
63064
  if (Array.isArray(values.services) &&
63009
63065
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
63010
63066
  // @ts-ignore: type is checked above.
63011
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
63067
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
63012
63068
 
63013
63069
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
63014
63070
  for (let i = 0; i < values.services.length; i++) {
@@ -63022,7 +63078,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63022
63078
  );
63023
63079
  }
63024
63080
  }
63025
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
63081
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
63026
63082
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
63027
63083
  if (typeof values.followedMessage === \\"string\\") {
63028
63084
  // @ts-ignore: type is checked above.
@@ -63035,7 +63091,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63035
63091
  );
63036
63092
  }
63037
63093
  }
63038
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
63094
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
63039
63095
  if (\\"cat\\" in values && values.cat != null) {
63040
63096
  if (typeof values.cat === \\"boolean\\") {
63041
63097
  // @ts-ignore: type is checked above.
@@ -69044,7 +69100,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69044
69100
  * Clones this instance, optionally updating it with the given values.
69045
69101
  * @param values The values to update the clone with.
69046
69102
  * @param options The options to use for cloning.
69047
- * @returns The cloned instance.
69103
+ * @returns The cloned instance with its own property arrays. Nested objects
69104
+ * and URLs are shared with this instance.
69048
69105
  */
69049
69106
  override clone(
69050
69107
  values:
@@ -69461,7 +69518,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69461
69518
  if (Array.isArray(values.preferredUsernames) &&
69462
69519
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69463
69520
  // @ts-ignore: type is checked above.
69464
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69521
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69465
69522
 
69466
69523
  } else {
69467
69524
  throw new TypeError(
@@ -69497,7 +69554,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69497
69554
  if (Array.isArray(values.publicKeys) &&
69498
69555
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69499
69556
  // @ts-ignore: type is checked above.
69500
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
69557
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69501
69558
 
69502
69559
  for (let i = 0; i < values.publicKeys.length; i++) {
69503
69560
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -69537,7 +69594,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69537
69594
  if (Array.isArray(values.assertionMethods) &&
69538
69595
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
69539
69596
  // @ts-ignore: type is checked above.
69540
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69597
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
69541
69598
 
69542
69599
  for (let i = 0; i < values.assertionMethods.length; i++) {
69543
69600
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -69660,7 +69717,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69660
69717
  if (Array.isArray(values.streams) &&
69661
69718
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69662
69719
  // @ts-ignore: type is checked above.
69663
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69720
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69664
69721
 
69665
69722
  for (let i = 0; i < values.streams.length; i++) {
69666
69723
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -69778,7 +69835,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69778
69835
  if (Array.isArray(values.aliases) &&
69779
69836
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69780
69837
  // @ts-ignore: type is checked above.
69781
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69838
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69782
69839
 
69783
69840
  for (let i = 0; i < values.aliases.length; i++) {
69784
69841
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -69818,7 +69875,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69818
69875
  if (Array.isArray(values.services) &&
69819
69876
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69820
69877
  // @ts-ignore: type is checked above.
69821
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69878
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69822
69879
 
69823
69880
  for (let i = 0; i < values.services.length; i++) {
69824
69881
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -69863,7 +69920,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69863
69920
  * Clones this instance, optionally updating it with the given values.
69864
69921
  * @param values The values to update the clone with.
69865
69922
  * @param options The options to use for cloning.
69866
- * @returns The cloned instance.
69923
+ * @returns The cloned instance with its own property arrays. Nested objects
69924
+ * and URLs are shared with this instance.
69867
69925
  */
69868
69926
  override clone(
69869
69927
  values:
@@ -69906,7 +69964,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69906
69964
  // @ts-ignore: $warning is not recognized as a property, but it is.
69907
69965
  options = { ...options, $warning: this._warning };
69908
69966
  }
69909
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
69967
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
69910
69968
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
69911
69969
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
69912
69970
  // @ts-ignore: type is checked above.
@@ -69933,7 +69991,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69933
69991
  if (Array.isArray(values.preferredUsernames) &&
69934
69992
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69935
69993
  // @ts-ignore: type is checked above.
69936
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69994
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69937
69995
 
69938
69996
  } else {
69939
69997
  throw new TypeError(
@@ -69942,7 +70000,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69942
70000
  );
69943
70001
  }
69944
70002
  }
69945
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
70003
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69946
70004
  if (\\"publicKey\\" in values && values.publicKey != null) {
69947
70005
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
69948
70006
  // @ts-ignore: type is checked above.
@@ -69969,7 +70027,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69969
70027
  if (Array.isArray(values.publicKeys) &&
69970
70028
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69971
70029
  // @ts-ignore: type is checked above.
69972
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
70030
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69973
70031
 
69974
70032
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
69975
70033
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -69983,7 +70041,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69983
70041
  );
69984
70042
  }
69985
70043
  }
69986
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
70044
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69987
70045
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
69988
70046
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
69989
70047
  // @ts-ignore: type is checked above.
@@ -70010,7 +70068,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70010
70068
  if (Array.isArray(values.assertionMethods) &&
70011
70069
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
70012
70070
  // @ts-ignore: type is checked above.
70013
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
70071
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
70014
70072
 
70015
70073
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
70016
70074
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -70024,7 +70082,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70024
70082
  );
70025
70083
  }
70026
70084
  }
70027
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
70085
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
70028
70086
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
70029
70087
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
70030
70088
  // @ts-ignore: type is checked above.
@@ -70037,7 +70095,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70037
70095
  );
70038
70096
  }
70039
70097
  }
70040
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
70098
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
70041
70099
  if (\\"inbox\\" in values && values.inbox != null) {
70042
70100
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
70043
70101
  // @ts-ignore: type is checked above.
@@ -70050,7 +70108,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70050
70108
  );
70051
70109
  }
70052
70110
  }
70053
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
70111
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
70054
70112
  if (\\"outbox\\" in values && values.outbox != null) {
70055
70113
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
70056
70114
  // @ts-ignore: type is checked above.
@@ -70063,7 +70121,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70063
70121
  );
70064
70122
  }
70065
70123
  }
70066
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
70124
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
70067
70125
  if (\\"following\\" in values && values.following != null) {
70068
70126
  if (values.following instanceof Collection || values.following instanceof URL) {
70069
70127
  // @ts-ignore: type is checked above.
@@ -70076,7 +70134,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70076
70134
  );
70077
70135
  }
70078
70136
  }
70079
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
70137
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
70080
70138
  if (\\"followers\\" in values && values.followers != null) {
70081
70139
  if (values.followers instanceof Collection || values.followers instanceof URL) {
70082
70140
  // @ts-ignore: type is checked above.
@@ -70089,7 +70147,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70089
70147
  );
70090
70148
  }
70091
70149
  }
70092
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
70150
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
70093
70151
  if (\\"liked\\" in values && values.liked != null) {
70094
70152
  if (values.liked instanceof Collection || values.liked instanceof URL) {
70095
70153
  // @ts-ignore: type is checked above.
@@ -70102,7 +70160,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70102
70160
  );
70103
70161
  }
70104
70162
  }
70105
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
70163
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
70106
70164
  if (\\"featured\\" in values && values.featured != null) {
70107
70165
  if (values.featured instanceof Collection || values.featured instanceof URL) {
70108
70166
  // @ts-ignore: type is checked above.
@@ -70115,7 +70173,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70115
70173
  );
70116
70174
  }
70117
70175
  }
70118
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
70176
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
70119
70177
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
70120
70178
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
70121
70179
  // @ts-ignore: type is checked above.
@@ -70128,13 +70186,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70128
70186
  );
70129
70187
  }
70130
70188
  }
70131
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
70189
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
70132
70190
  if (\\"streams\\" in values && values.streams != null) {
70133
70191
 
70134
70192
  if (Array.isArray(values.streams) &&
70135
70193
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
70136
70194
  // @ts-ignore: type is checked above.
70137
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
70195
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
70138
70196
 
70139
70197
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
70140
70198
  for (let i = 0; i < values.streams.length; i++) {
@@ -70148,7 +70206,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70148
70206
  );
70149
70207
  }
70150
70208
  }
70151
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
70209
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
70152
70210
  if (\\"endpoints\\" in values && values.endpoints != null) {
70153
70211
  if (values.endpoints instanceof Endpoints) {
70154
70212
  // @ts-ignore: type is checked above.
@@ -70161,7 +70219,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70161
70219
  );
70162
70220
  }
70163
70221
  }
70164
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
70222
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
70165
70223
  if (\\"discoverable\\" in values && values.discoverable != null) {
70166
70224
  if (typeof values.discoverable === \\"boolean\\") {
70167
70225
  // @ts-ignore: type is checked above.
@@ -70174,7 +70232,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70174
70232
  );
70175
70233
  }
70176
70234
  }
70177
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
70235
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
70178
70236
  if (\\"suspended\\" in values && values.suspended != null) {
70179
70237
  if (typeof values.suspended === \\"boolean\\") {
70180
70238
  // @ts-ignore: type is checked above.
@@ -70187,7 +70245,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70187
70245
  );
70188
70246
  }
70189
70247
  }
70190
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
70248
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
70191
70249
  if (\\"memorial\\" in values && values.memorial != null) {
70192
70250
  if (typeof values.memorial === \\"boolean\\") {
70193
70251
  // @ts-ignore: type is checked above.
@@ -70200,7 +70258,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70200
70258
  );
70201
70259
  }
70202
70260
  }
70203
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
70261
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
70204
70262
  if (\\"indexable\\" in values && values.indexable != null) {
70205
70263
  if (typeof values.indexable === \\"boolean\\") {
70206
70264
  // @ts-ignore: type is checked above.
@@ -70213,7 +70271,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70213
70271
  );
70214
70272
  }
70215
70273
  }
70216
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
70274
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
70217
70275
  if (\\"successor\\" in values && values.successor != null) {
70218
70276
  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) {
70219
70277
  // @ts-ignore: type is checked above.
@@ -70226,7 +70284,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70226
70284
  );
70227
70285
  }
70228
70286
  }
70229
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
70287
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
70230
70288
  if (\\"alias\\" in values && values.alias != null) {
70231
70289
  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) {
70232
70290
  // @ts-ignore: type is checked above.
@@ -70253,7 +70311,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70253
70311
  if (Array.isArray(values.aliases) &&
70254
70312
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
70255
70313
  // @ts-ignore: type is checked above.
70256
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
70314
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
70257
70315
 
70258
70316
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
70259
70317
  for (let i = 0; i < values.aliases.length; i++) {
@@ -70267,7 +70325,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70267
70325
  );
70268
70326
  }
70269
70327
  }
70270
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
70328
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
70271
70329
  if (\\"service\\" in values && values.service != null) {
70272
70330
  if (values.service instanceof DidService || values.service instanceof URL) {
70273
70331
  // @ts-ignore: type is checked above.
@@ -70294,7 +70352,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70294
70352
  if (Array.isArray(values.services) &&
70295
70353
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
70296
70354
  // @ts-ignore: type is checked above.
70297
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
70355
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
70298
70356
 
70299
70357
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
70300
70358
  for (let i = 0; i < values.services.length; i++) {
@@ -70308,7 +70366,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70308
70366
  );
70309
70367
  }
70310
70368
  }
70311
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
70369
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
70312
70370
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
70313
70371
  if (typeof values.followedMessage === \\"string\\") {
70314
70372
  // @ts-ignore: type is checked above.
@@ -70321,7 +70379,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70321
70379
  );
70322
70380
  }
70323
70381
  }
70324
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
70382
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
70325
70383
  if (\\"cat\\" in values && values.cat != null) {
70326
70384
  if (typeof values.cat === \\"boolean\\") {
70327
70385
  // @ts-ignore: type is checked above.
@@ -76417,7 +76475,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76417
76475
  * Clones this instance, optionally updating it with the given values.
76418
76476
  * @param values The values to update the clone with.
76419
76477
  * @param options The options to use for cloning.
76420
- * @returns The cloned instance.
76478
+ * @returns The cloned instance with its own property arrays. Nested objects
76479
+ * and URLs are shared with this instance.
76421
76480
  */
76422
76481
  override clone(
76423
76482
  values:
@@ -76455,7 +76514,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76455
76514
  // @ts-ignore: $warning is not recognized as a property, but it is.
76456
76515
  options = { ...options, $warning: this._warning };
76457
76516
  }
76458
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
76517
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
76459
76518
  if (\\"accuracy\\" in values && values.accuracy != null) {
76460
76519
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
76461
76520
  // @ts-ignore: type is checked above.
@@ -76468,7 +76527,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76468
76527
  );
76469
76528
  }
76470
76529
  }
76471
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
76530
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
76472
76531
  if (\\"altitude\\" in values && values.altitude != null) {
76473
76532
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
76474
76533
  // @ts-ignore: type is checked above.
@@ -76481,7 +76540,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76481
76540
  );
76482
76541
  }
76483
76542
  }
76484
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
76543
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
76485
76544
  if (\\"latitude\\" in values && values.latitude != null) {
76486
76545
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
76487
76546
  // @ts-ignore: type is checked above.
@@ -76494,7 +76553,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76494
76553
  );
76495
76554
  }
76496
76555
  }
76497
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
76556
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
76498
76557
  if (\\"longitude\\" in values && values.longitude != null) {
76499
76558
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
76500
76559
  // @ts-ignore: type is checked above.
@@ -76507,7 +76566,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76507
76566
  );
76508
76567
  }
76509
76568
  }
76510
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
76569
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
76511
76570
  if (\\"radius\\" in values && values.radius != null) {
76512
76571
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
76513
76572
  // @ts-ignore: type is checked above.
@@ -76520,7 +76579,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76520
76579
  );
76521
76580
  }
76522
76581
  }
76523
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
76582
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
76524
76583
  if (\\"units\\" in values && values.units != null) {
76525
76584
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
76526
76585
  // @ts-ignore: type is checked above.
@@ -77437,7 +77496,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77437
77496
  * Clones this instance, optionally updating it with the given values.
77438
77497
  * @param values The values to update the clone with.
77439
77498
  * @param options The options to use for cloning.
77440
- * @returns The cloned instance.
77499
+ * @returns The cloned instance with its own property arrays. Nested objects
77500
+ * and URLs are shared with this instance.
77441
77501
  */
77442
77502
  override clone(
77443
77503
  values:
@@ -77475,7 +77535,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77475
77535
  // @ts-ignore: $warning is not recognized as a property, but it is.
77476
77536
  options = { ...options, $warning: this._warning };
77477
77537
  }
77478
- 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);
77538
+ 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);
77479
77539
  if (\\"describes\\" in values && values.describes != null) {
77480
77540
  if (values.describes instanceof Object || values.describes instanceof URL) {
77481
77541
  // @ts-ignore: type is checked above.
@@ -78135,7 +78195,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78135
78195
  if (Array.isArray(values.exclusiveOptions) &&
78136
78196
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78137
78197
  // @ts-ignore: type is checked above.
78138
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
78198
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
78139
78199
 
78140
78200
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
78141
78201
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -78154,7 +78214,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78154
78214
  if (Array.isArray(values.inclusiveOptions) &&
78155
78215
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78156
78216
  // @ts-ignore: type is checked above.
78157
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
78217
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
78158
78218
 
78159
78219
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
78160
78220
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -78212,7 +78272,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78212
78272
  * Clones this instance, optionally updating it with the given values.
78213
78273
  * @param values The values to update the clone with.
78214
78274
  * @param options The options to use for cloning.
78215
- * @returns The cloned instance.
78275
+ * @returns The cloned instance with its own property arrays. Nested objects
78276
+ * and URLs are shared with this instance.
78216
78277
  */
78217
78278
  override clone(
78218
78279
  values:
@@ -78256,13 +78317,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78256
78317
  // @ts-ignore: $warning is not recognized as a property, but it is.
78257
78318
  options = { ...options, $warning: this._warning };
78258
78319
  }
78259
- 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);
78320
+ 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);
78260
78321
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
78261
78322
 
78262
78323
  if (Array.isArray(values.exclusiveOptions) &&
78263
78324
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78264
78325
  // @ts-ignore: type is checked above.
78265
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
78326
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
78266
78327
 
78267
78328
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
78268
78329
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -78276,13 +78337,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78276
78337
  );
78277
78338
  }
78278
78339
  }
78279
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
78340
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
78280
78341
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
78281
78342
 
78282
78343
  if (Array.isArray(values.inclusiveOptions) &&
78283
78344
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78284
78345
  // @ts-ignore: type is checked above.
78285
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
78346
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
78286
78347
 
78287
78348
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
78288
78349
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -78296,7 +78357,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78296
78357
  );
78297
78358
  }
78298
78359
  }
78299
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
78360
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
78300
78361
  if (\\"closed\\" in values && values.closed != null) {
78301
78362
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
78302
78363
  // @ts-ignore: type is checked above.
@@ -78309,7 +78370,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78309
78370
  );
78310
78371
  }
78311
78372
  }
78312
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
78373
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
78313
78374
  if (\\"voters\\" in values && values.voters != null) {
78314
78375
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
78315
78376
  // @ts-ignore: type is checked above.
@@ -78322,7 +78383,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78322
78383
  );
78323
78384
  }
78324
78385
  }
78325
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
78386
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
78326
78387
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
78327
78388
  if (values.quoteUrl instanceof URL) {
78328
78389
  // @ts-ignore: type is checked above.
@@ -79510,7 +79571,8 @@ instruments?: (Object | URL)[];}
79510
79571
  * Clones this instance, optionally updating it with the given values.
79511
79572
  * @param values The values to update the clone with.
79512
79573
  * @param options The options to use for cloning.
79513
- * @returns The cloned instance.
79574
+ * @returns The cloned instance with its own property arrays. Nested objects
79575
+ * and URLs are shared with this instance.
79514
79576
  */
79515
79577
  override clone(
79516
79578
  values:
@@ -79850,7 +79912,8 @@ instruments?: (Object | URL)[];}
79850
79912
  * Clones this instance, optionally updating it with the given values.
79851
79913
  * @param values The values to update the clone with.
79852
79914
  * @param options The options to use for cloning.
79853
- * @returns The cloned instance.
79915
+ * @returns The cloned instance with its own property arrays. Nested objects
79916
+ * and URLs are shared with this instance.
79854
79917
  */
79855
79918
  override clone(
79856
79919
  values:
@@ -80238,7 +80301,7 @@ relationships?: (Object | URL)[];}
80238
80301
  if (Array.isArray(values.objects) &&
80239
80302
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
80240
80303
  // @ts-ignore: type is checked above.
80241
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
80304
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
80242
80305
 
80243
80306
  for (let i = 0; i < values.objects.length; i++) {
80244
80307
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -80278,7 +80341,7 @@ relationships?: (Object | URL)[];}
80278
80341
  if (Array.isArray(values.relationships) &&
80279
80342
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
80280
80343
  // @ts-ignore: type is checked above.
80281
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
80344
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
80282
80345
 
80283
80346
  for (let i = 0; i < values.relationships.length; i++) {
80284
80347
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -80297,7 +80360,8 @@ relationships?: (Object | URL)[];}
80297
80360
  * Clones this instance, optionally updating it with the given values.
80298
80361
  * @param values The values to update the clone with.
80299
80362
  * @param options The options to use for cloning.
80300
- * @returns The cloned instance.
80363
+ * @returns The cloned instance with its own property arrays. Nested objects
80364
+ * and URLs are shared with this instance.
80301
80365
  */
80302
80366
  override clone(
80303
80367
  values:
@@ -80337,7 +80401,7 @@ relationships?: (Object | URL)[];}
80337
80401
  // @ts-ignore: $warning is not recognized as a property, but it is.
80338
80402
  options = { ...options, $warning: this._warning };
80339
80403
  }
80340
- 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);
80404
+ 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);
80341
80405
  if (\\"subject\\" in values && values.subject != null) {
80342
80406
  if (values.subject instanceof Object || values.subject instanceof URL) {
80343
80407
  // @ts-ignore: type is checked above.
@@ -80350,7 +80414,7 @@ relationships?: (Object | URL)[];}
80350
80414
  );
80351
80415
  }
80352
80416
  }
80353
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
80417
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
80354
80418
  if (\\"object\\" in values && values.object != null) {
80355
80419
  if (values.object instanceof Object || values.object instanceof URL) {
80356
80420
  // @ts-ignore: type is checked above.
@@ -80377,7 +80441,7 @@ relationships?: (Object | URL)[];}
80377
80441
  if (Array.isArray(values.objects) &&
80378
80442
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
80379
80443
  // @ts-ignore: type is checked above.
80380
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
80444
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
80381
80445
 
80382
80446
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
80383
80447
  for (let i = 0; i < values.objects.length; i++) {
@@ -80391,7 +80455,7 @@ relationships?: (Object | URL)[];}
80391
80455
  );
80392
80456
  }
80393
80457
  }
80394
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
80458
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
80395
80459
  if (\\"relationship\\" in values && values.relationship != null) {
80396
80460
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
80397
80461
  // @ts-ignore: type is checked above.
@@ -80418,7 +80482,7 @@ relationships?: (Object | URL)[];}
80418
80482
  if (Array.isArray(values.relationships) &&
80419
80483
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
80420
80484
  // @ts-ignore: type is checked above.
80421
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
80485
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
80422
80486
 
80423
80487
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
80424
80488
  for (let i = 0; i < values.relationships.length; i++) {
@@ -81926,7 +81990,8 @@ instruments?: (Object | URL)[];}
81926
81990
  * Clones this instance, optionally updating it with the given values.
81927
81991
  * @param values The values to update the clone with.
81928
81992
  * @param options The options to use for cloning.
81929
- * @returns The cloned instance.
81993
+ * @returns The cloned instance with its own property arrays. Nested objects
81994
+ * and URLs are shared with this instance.
81930
81995
  */
81931
81996
  override clone(
81932
81997
  values:
@@ -82332,7 +82397,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82332
82397
  if (Array.isArray(values.preferredUsernames) &&
82333
82398
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
82334
82399
  // @ts-ignore: type is checked above.
82335
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
82400
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
82336
82401
 
82337
82402
  } else {
82338
82403
  throw new TypeError(
@@ -82368,7 +82433,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82368
82433
  if (Array.isArray(values.publicKeys) &&
82369
82434
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
82370
82435
  // @ts-ignore: type is checked above.
82371
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
82436
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
82372
82437
 
82373
82438
  for (let i = 0; i < values.publicKeys.length; i++) {
82374
82439
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -82408,7 +82473,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82408
82473
  if (Array.isArray(values.assertionMethods) &&
82409
82474
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
82410
82475
  // @ts-ignore: type is checked above.
82411
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
82476
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
82412
82477
 
82413
82478
  for (let i = 0; i < values.assertionMethods.length; i++) {
82414
82479
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -82531,7 +82596,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82531
82596
  if (Array.isArray(values.streams) &&
82532
82597
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
82533
82598
  // @ts-ignore: type is checked above.
82534
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
82599
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
82535
82600
 
82536
82601
  for (let i = 0; i < values.streams.length; i++) {
82537
82602
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -82649,7 +82714,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82649
82714
  if (Array.isArray(values.aliases) &&
82650
82715
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
82651
82716
  // @ts-ignore: type is checked above.
82652
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
82717
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
82653
82718
 
82654
82719
  for (let i = 0; i < values.aliases.length; i++) {
82655
82720
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -82689,7 +82754,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82689
82754
  if (Array.isArray(values.services) &&
82690
82755
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
82691
82756
  // @ts-ignore: type is checked above.
82692
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
82757
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
82693
82758
 
82694
82759
  for (let i = 0; i < values.services.length; i++) {
82695
82760
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -82734,7 +82799,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82734
82799
  * Clones this instance, optionally updating it with the given values.
82735
82800
  * @param values The values to update the clone with.
82736
82801
  * @param options The options to use for cloning.
82737
- * @returns The cloned instance.
82802
+ * @returns The cloned instance with its own property arrays. Nested objects
82803
+ * and URLs are shared with this instance.
82738
82804
  */
82739
82805
  override clone(
82740
82806
  values:
@@ -82777,7 +82843,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82777
82843
  // @ts-ignore: $warning is not recognized as a property, but it is.
82778
82844
  options = { ...options, $warning: this._warning };
82779
82845
  }
82780
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
82846
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
82781
82847
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
82782
82848
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
82783
82849
  // @ts-ignore: type is checked above.
@@ -82804,7 +82870,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82804
82870
  if (Array.isArray(values.preferredUsernames) &&
82805
82871
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
82806
82872
  // @ts-ignore: type is checked above.
82807
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
82873
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
82808
82874
 
82809
82875
  } else {
82810
82876
  throw new TypeError(
@@ -82813,7 +82879,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82813
82879
  );
82814
82880
  }
82815
82881
  }
82816
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
82882
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
82817
82883
  if (\\"publicKey\\" in values && values.publicKey != null) {
82818
82884
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
82819
82885
  // @ts-ignore: type is checked above.
@@ -82840,7 +82906,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82840
82906
  if (Array.isArray(values.publicKeys) &&
82841
82907
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
82842
82908
  // @ts-ignore: type is checked above.
82843
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
82909
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
82844
82910
 
82845
82911
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
82846
82912
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -82854,7 +82920,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82854
82920
  );
82855
82921
  }
82856
82922
  }
82857
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
82923
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
82858
82924
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
82859
82925
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
82860
82926
  // @ts-ignore: type is checked above.
@@ -82881,7 +82947,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82881
82947
  if (Array.isArray(values.assertionMethods) &&
82882
82948
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
82883
82949
  // @ts-ignore: type is checked above.
82884
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
82950
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
82885
82951
 
82886
82952
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
82887
82953
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -82895,7 +82961,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82895
82961
  );
82896
82962
  }
82897
82963
  }
82898
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
82964
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
82899
82965
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
82900
82966
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
82901
82967
  // @ts-ignore: type is checked above.
@@ -82908,7 +82974,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82908
82974
  );
82909
82975
  }
82910
82976
  }
82911
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
82977
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
82912
82978
  if (\\"inbox\\" in values && values.inbox != null) {
82913
82979
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
82914
82980
  // @ts-ignore: type is checked above.
@@ -82921,7 +82987,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82921
82987
  );
82922
82988
  }
82923
82989
  }
82924
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
82990
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
82925
82991
  if (\\"outbox\\" in values && values.outbox != null) {
82926
82992
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
82927
82993
  // @ts-ignore: type is checked above.
@@ -82934,7 +83000,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82934
83000
  );
82935
83001
  }
82936
83002
  }
82937
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
83003
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
82938
83004
  if (\\"following\\" in values && values.following != null) {
82939
83005
  if (values.following instanceof Collection || values.following instanceof URL) {
82940
83006
  // @ts-ignore: type is checked above.
@@ -82947,7 +83013,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82947
83013
  );
82948
83014
  }
82949
83015
  }
82950
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
83016
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
82951
83017
  if (\\"followers\\" in values && values.followers != null) {
82952
83018
  if (values.followers instanceof Collection || values.followers instanceof URL) {
82953
83019
  // @ts-ignore: type is checked above.
@@ -82960,7 +83026,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82960
83026
  );
82961
83027
  }
82962
83028
  }
82963
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
83029
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
82964
83030
  if (\\"liked\\" in values && values.liked != null) {
82965
83031
  if (values.liked instanceof Collection || values.liked instanceof URL) {
82966
83032
  // @ts-ignore: type is checked above.
@@ -82973,7 +83039,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82973
83039
  );
82974
83040
  }
82975
83041
  }
82976
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
83042
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
82977
83043
  if (\\"featured\\" in values && values.featured != null) {
82978
83044
  if (values.featured instanceof Collection || values.featured instanceof URL) {
82979
83045
  // @ts-ignore: type is checked above.
@@ -82986,7 +83052,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82986
83052
  );
82987
83053
  }
82988
83054
  }
82989
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
83055
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
82990
83056
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
82991
83057
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
82992
83058
  // @ts-ignore: type is checked above.
@@ -82999,13 +83065,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82999
83065
  );
83000
83066
  }
83001
83067
  }
83002
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
83068
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
83003
83069
  if (\\"streams\\" in values && values.streams != null) {
83004
83070
 
83005
83071
  if (Array.isArray(values.streams) &&
83006
83072
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
83007
83073
  // @ts-ignore: type is checked above.
83008
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
83074
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
83009
83075
 
83010
83076
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
83011
83077
  for (let i = 0; i < values.streams.length; i++) {
@@ -83019,7 +83085,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83019
83085
  );
83020
83086
  }
83021
83087
  }
83022
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
83088
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
83023
83089
  if (\\"endpoints\\" in values && values.endpoints != null) {
83024
83090
  if (values.endpoints instanceof Endpoints) {
83025
83091
  // @ts-ignore: type is checked above.
@@ -83032,7 +83098,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83032
83098
  );
83033
83099
  }
83034
83100
  }
83035
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
83101
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
83036
83102
  if (\\"discoverable\\" in values && values.discoverable != null) {
83037
83103
  if (typeof values.discoverable === \\"boolean\\") {
83038
83104
  // @ts-ignore: type is checked above.
@@ -83045,7 +83111,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83045
83111
  );
83046
83112
  }
83047
83113
  }
83048
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
83114
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
83049
83115
  if (\\"suspended\\" in values && values.suspended != null) {
83050
83116
  if (typeof values.suspended === \\"boolean\\") {
83051
83117
  // @ts-ignore: type is checked above.
@@ -83058,7 +83124,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83058
83124
  );
83059
83125
  }
83060
83126
  }
83061
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
83127
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
83062
83128
  if (\\"memorial\\" in values && values.memorial != null) {
83063
83129
  if (typeof values.memorial === \\"boolean\\") {
83064
83130
  // @ts-ignore: type is checked above.
@@ -83071,7 +83137,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83071
83137
  );
83072
83138
  }
83073
83139
  }
83074
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
83140
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
83075
83141
  if (\\"indexable\\" in values && values.indexable != null) {
83076
83142
  if (typeof values.indexable === \\"boolean\\") {
83077
83143
  // @ts-ignore: type is checked above.
@@ -83084,7 +83150,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83084
83150
  );
83085
83151
  }
83086
83152
  }
83087
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
83153
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
83088
83154
  if (\\"successor\\" in values && values.successor != null) {
83089
83155
  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) {
83090
83156
  // @ts-ignore: type is checked above.
@@ -83097,7 +83163,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83097
83163
  );
83098
83164
  }
83099
83165
  }
83100
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
83166
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
83101
83167
  if (\\"alias\\" in values && values.alias != null) {
83102
83168
  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) {
83103
83169
  // @ts-ignore: type is checked above.
@@ -83124,7 +83190,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83124
83190
  if (Array.isArray(values.aliases) &&
83125
83191
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
83126
83192
  // @ts-ignore: type is checked above.
83127
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
83193
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
83128
83194
 
83129
83195
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
83130
83196
  for (let i = 0; i < values.aliases.length; i++) {
@@ -83138,7 +83204,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83138
83204
  );
83139
83205
  }
83140
83206
  }
83141
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
83207
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
83142
83208
  if (\\"service\\" in values && values.service != null) {
83143
83209
  if (values.service instanceof DidService || values.service instanceof URL) {
83144
83210
  // @ts-ignore: type is checked above.
@@ -83165,7 +83231,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83165
83231
  if (Array.isArray(values.services) &&
83166
83232
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
83167
83233
  // @ts-ignore: type is checked above.
83168
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
83234
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
83169
83235
 
83170
83236
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
83171
83237
  for (let i = 0; i < values.services.length; i++) {
@@ -83179,7 +83245,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83179
83245
  );
83180
83246
  }
83181
83247
  }
83182
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
83248
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
83183
83249
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
83184
83250
  if (typeof values.followedMessage === \\"string\\") {
83185
83251
  // @ts-ignore: type is checked above.
@@ -83192,7 +83258,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83192
83258
  );
83193
83259
  }
83194
83260
  }
83195
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
83261
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
83196
83262
  if (\\"cat\\" in values && values.cat != null) {
83197
83263
  if (typeof values.cat === \\"boolean\\") {
83198
83264
  // @ts-ignore: type is checked above.
@@ -89279,7 +89345,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89279
89345
  if (Array.isArray(values.contents) &&
89280
89346
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89281
89347
  // @ts-ignore: type is checked above.
89282
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
89348
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
89283
89349
 
89284
89350
  } else {
89285
89351
  throw new TypeError(
@@ -89307,7 +89373,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89307
89373
  * Clones this instance, optionally updating it with the given values.
89308
89374
  * @param values The values to update the clone with.
89309
89375
  * @param options The options to use for cloning.
89310
- * @returns The cloned instance.
89376
+ * @returns The cloned instance with its own property arrays. Nested objects
89377
+ * and URLs are shared with this instance.
89311
89378
  */
89312
89379
  clone(
89313
89380
  values:
@@ -89336,7 +89403,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89336
89403
  { id: values.id ?? this.id },
89337
89404
  options
89338
89405
  );
89339
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
89406
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
89340
89407
  if (\\"content\\" in values && values.content != null) {
89341
89408
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
89342
89409
  // @ts-ignore: type is checked above.
@@ -89363,7 +89430,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89363
89430
  if (Array.isArray(values.contents) &&
89364
89431
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89365
89432
  // @ts-ignore: type is checked above.
89366
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
89433
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
89367
89434
 
89368
89435
  } else {
89369
89436
  throw new TypeError(
@@ -89372,7 +89439,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89372
89439
  );
89373
89440
  }
89374
89441
  }
89375
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
89442
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
89376
89443
  if (\\"mediaType\\" in values && values.mediaType != null) {
89377
89444
  if (typeof values.mediaType === \\"string\\") {
89378
89445
  // @ts-ignore: type is checked above.
@@ -89889,7 +89956,8 @@ instruments?: (Object | URL)[];}
89889
89956
  * Clones this instance, optionally updating it with the given values.
89890
89957
  * @param values The values to update the clone with.
89891
89958
  * @param options The options to use for cloning.
89892
- * @returns The cloned instance.
89959
+ * @returns The cloned instance with its own property arrays. Nested objects
89960
+ * and URLs are shared with this instance.
89893
89961
  */
89894
89962
  override clone(
89895
89963
  values:
@@ -90229,7 +90297,8 @@ instruments?: (Object | URL)[];}
90229
90297
  * Clones this instance, optionally updating it with the given values.
90230
90298
  * @param values The values to update the clone with.
90231
90299
  * @param options The options to use for cloning.
90232
- * @returns The cloned instance.
90300
+ * @returns The cloned instance with its own property arrays. Nested objects
90301
+ * and URLs are shared with this instance.
90233
90302
  */
90234
90303
  override clone(
90235
90304
  values:
@@ -90578,7 +90647,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
90578
90647
  * Clones this instance, optionally updating it with the given values.
90579
90648
  * @param values The values to update the clone with.
90580
90649
  * @param options The options to use for cloning.
90581
- * @returns The cloned instance.
90650
+ * @returns The cloned instance with its own property arrays. Nested objects
90651
+ * and URLs are shared with this instance.
90582
90652
  */
90583
90653
  override clone(
90584
90654
  values:
@@ -90616,7 +90686,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
90616
90686
  // @ts-ignore: $warning is not recognized as a property, but it is.
90617
90687
  options = { ...options, $warning: this._warning };
90618
90688
  }
90619
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
90689
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
90620
90690
  if (\\"deleted\\" in values && values.deleted != null) {
90621
90691
  if (isTemporalInstant(values.deleted)) {
90622
90692
  // @ts-ignore: type is checked above.
@@ -91041,7 +91111,8 @@ instruments?: (Object | URL)[];}
91041
91111
  * Clones this instance, optionally updating it with the given values.
91042
91112
  * @param values The values to update the clone with.
91043
91113
  * @param options The options to use for cloning.
91044
- * @returns The cloned instance.
91114
+ * @returns The cloned instance with its own property arrays. Nested objects
91115
+ * and URLs are shared with this instance.
91045
91116
  */
91046
91117
  override clone(
91047
91118
  values:
@@ -91386,7 +91457,8 @@ instruments?: (Object | URL)[];}
91386
91457
  * Clones this instance, optionally updating it with the given values.
91387
91458
  * @param values The values to update the clone with.
91388
91459
  * @param options The options to use for cloning.
91389
- * @returns The cloned instance.
91460
+ * @returns The cloned instance with its own property arrays. Nested objects
91461
+ * and URLs are shared with this instance.
91390
91462
  */
91391
91463
  override clone(
91392
91464
  values:
@@ -91729,7 +91801,8 @@ instruments?: (Object | URL)[];}
91729
91801
  * Clones this instance, optionally updating it with the given values.
91730
91802
  * @param values The values to update the clone with.
91731
91803
  * @param options The options to use for cloning.
91732
- * @returns The cloned instance.
91804
+ * @returns The cloned instance with its own property arrays. Nested objects
91805
+ * and URLs are shared with this instance.
91733
91806
  */
91734
91807
  override clone(
91735
91808
  values:
@@ -92061,7 +92134,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
92061
92134
  * Clones this instance, optionally updating it with the given values.
92062
92135
  * @param values The values to update the clone with.
92063
92136
  * @param options The options to use for cloning.
92064
- * @returns The cloned instance.
92137
+ * @returns The cloned instance with its own property arrays. Nested objects
92138
+ * and URLs are shared with this instance.
92065
92139
  */
92066
92140
  override clone(
92067
92141
  values:
@@ -92411,7 +92485,8 @@ instruments?: (Object | URL)[];}
92411
92485
  * Clones this instance, optionally updating it with the given values.
92412
92486
  * @param values The values to update the clone with.
92413
92487
  * @param options The options to use for cloning.
92414
- * @returns The cloned instance.
92488
+ * @returns The cloned instance with its own property arrays. Nested objects
92489
+ * and URLs are shared with this instance.
92415
92490
  */
92416
92491
  override clone(
92417
92492
  values: