@fedify/fedify 0.11.0-dev.251 → 0.11.0-dev.252

Sign up to get free protection for your applications and to get access to all the features.
@@ -3256,16 +3256,8 @@ export class Object {
3256
3256
  }
3257
3257
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
3258
3258
  const _49BipA5dq9eoH8LX8xdsVumveTca = [];
3259
- let _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
- if (_49BipA5dq9eoH8LX8xdsVumveTca__array == null) {
3261
- _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3262
- }
3263
- else if (_49BipA5dq9eoH8LX8xdsVumveTca__array.length === 1 &&
3264
- "@list" in _49BipA5dq9eoH8LX8xdsVumveTca__array[0]) {
3265
- _49BipA5dq9eoH8LX8xdsVumveTca__array =
3266
- _49BipA5dq9eoH8LX8xdsVumveTca__array[0]["@list"];
3267
- }
3268
- for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array) {
3259
+ const _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
+ for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array ?? []) {
3269
3261
  if (v == null)
3270
3262
  continue;
3271
3263
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3339,18 +3331,9 @@ export class Object {
3339
3331
  _49BipA5dq9eoH8LX8xdsVumveTca.push(decoded);
3340
3332
  }
3341
3333
  instance.#_49BipA5dq9eoH8LX8xdsVumveTca = _49BipA5dq9eoH8LX8xdsVumveTca;
3342
- _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3343
3334
  const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = [];
3344
- let _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3345
- if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array == null) {
3346
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3347
- }
3348
- else if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array.length === 1 &&
3349
- "@list" in _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]) {
3350
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array =
3351
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]["@list"];
3352
- }
3353
- for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
3335
+ const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3336
+ for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array ?? []) {
3354
3337
  if (v == null)
3355
3338
  continue;
3356
3339
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3384,18 +3367,9 @@ export class Object {
3384
3367
  _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py.push(decoded);
3385
3368
  }
3386
3369
  instance.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py;
3387
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3388
3370
  const _3ocC3VVi88cEd5sPWL8djkZsvTN6 = [];
3389
- let _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3390
- if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array == null) {
3391
- _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3392
- }
3393
- else if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array.length === 1 &&
3394
- "@list" in _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]) {
3395
- _3ocC3VVi88cEd5sPWL8djkZsvTN6__array =
3396
- _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]["@list"];
3397
- }
3398
- for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
3371
+ const _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3372
+ for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array ?? []) {
3399
3373
  if (v == null)
3400
3374
  continue;
3401
3375
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3406,18 +3380,9 @@ export class Object {
3406
3380
  _3ocC3VVi88cEd5sPWL8djkZsvTN6.push(await _a.fromJsonLd(v, options));
3407
3381
  }
3408
3382
  instance.#_3ocC3VVi88cEd5sPWL8djkZsvTN6 = _3ocC3VVi88cEd5sPWL8djkZsvTN6;
3409
- _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3410
3383
  const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = [];
3411
- let _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3412
- if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array == null) {
3413
- _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3414
- }
3415
- else if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array.length === 1 &&
3416
- "@list" in _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]) {
3417
- _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array =
3418
- _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]["@list"];
3419
- }
3420
- for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
3384
+ const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3385
+ for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array ?? []) {
3421
3386
  if (v == null)
3422
3387
  continue;
3423
3388
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3433,18 +3398,9 @@ export class Object {
3433
3398
  _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz.push(decoded);
3434
3399
  }
3435
3400
  instance.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz;
3436
- _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3437
3401
  const _3mhZzGXSpQ431mBSz2kvych22v4e = [];
3438
- let _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3439
- if (_3mhZzGXSpQ431mBSz2kvych22v4e__array == null) {
3440
- _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3441
- }
3442
- else if (_3mhZzGXSpQ431mBSz2kvych22v4e__array.length === 1 &&
3443
- "@list" in _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]) {
3444
- _3mhZzGXSpQ431mBSz2kvych22v4e__array =
3445
- _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]["@list"];
3446
- }
3447
- for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
3402
+ const _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3403
+ for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array ?? []) {
3448
3404
  if (v == null)
3449
3405
  continue;
3450
3406
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3514,18 +3470,9 @@ export class Object {
3514
3470
  _3mhZzGXSpQ431mBSz2kvych22v4e.push(decoded);
3515
3471
  }
3516
3472
  instance.#_3mhZzGXSpQ431mBSz2kvych22v4e = _3mhZzGXSpQ431mBSz2kvych22v4e;
3517
- _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3518
3473
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
3519
- let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3520
- if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
3521
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3522
- }
3523
- else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
3524
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
3525
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
3526
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
3527
- }
3528
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
3474
+ const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3475
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
3529
3476
  if (v == null)
3530
3477
  continue;
3531
3478
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3541,35 +3488,17 @@ export class Object {
3541
3488
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
3542
3489
  }
3543
3490
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
3544
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3545
3491
  const _219RwDanjScTv5tYCjwGZVCM7KZ9 = [];
3546
- let _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3547
- if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array == null) {
3548
- _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3549
- }
3550
- else if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array.length === 1 &&
3551
- "@list" in _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]) {
3552
- _219RwDanjScTv5tYCjwGZVCM7KZ9__array =
3553
- _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]["@list"];
3554
- }
3555
- for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
3492
+ const _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3493
+ for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array ?? []) {
3556
3494
  if (v == null)
3557
3495
  continue;
3558
3496
  _219RwDanjScTv5tYCjwGZVCM7KZ9.push(dntShim.Temporal.Instant.from(v["@value"]));
3559
3497
  }
3560
3498
  instance.#_219RwDanjScTv5tYCjwGZVCM7KZ9 = _219RwDanjScTv5tYCjwGZVCM7KZ9;
3561
- _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3562
3499
  const _86xFhmgBapoMvYqjbjRuDPayTrS = [];
3563
- let _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3564
- if (_86xFhmgBapoMvYqjbjRuDPayTrS__array == null) {
3565
- _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3566
- }
3567
- else if (_86xFhmgBapoMvYqjbjRuDPayTrS__array.length === 1 &&
3568
- "@list" in _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]) {
3569
- _86xFhmgBapoMvYqjbjRuDPayTrS__array =
3570
- _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]["@list"];
3571
- }
3572
- for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
3500
+ const _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3501
+ for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array ?? []) {
3573
3502
  if (v == null)
3574
3503
  continue;
3575
3504
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3639,18 +3568,9 @@ export class Object {
3639
3568
  _86xFhmgBapoMvYqjbjRuDPayTrS.push(decoded);
3640
3569
  }
3641
3570
  instance.#_86xFhmgBapoMvYqjbjRuDPayTrS = _86xFhmgBapoMvYqjbjRuDPayTrS;
3642
- _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3643
3571
  const _33CjRLy5ujtsUrwRSCrsggvGdKuR = [];
3644
- let _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3645
- if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array == null) {
3646
- _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3647
- }
3648
- else if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array.length === 1 &&
3649
- "@list" in _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]) {
3650
- _33CjRLy5ujtsUrwRSCrsggvGdKuR__array =
3651
- _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]["@list"];
3652
- }
3653
- for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
3572
+ const _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3573
+ for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array ?? []) {
3654
3574
  if (v == null)
3655
3575
  continue;
3656
3576
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3661,18 +3581,9 @@ export class Object {
3661
3581
  _33CjRLy5ujtsUrwRSCrsggvGdKuR.push(await Image.fromJsonLd(v, options));
3662
3582
  }
3663
3583
  instance.#_33CjRLy5ujtsUrwRSCrsggvGdKuR = _33CjRLy5ujtsUrwRSCrsggvGdKuR;
3664
- _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3665
3584
  const _3dXrUdkARxwyJLtJcYi1AJ92H41U = [];
3666
- let _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3667
- if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array == null) {
3668
- _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3669
- }
3670
- else if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array.length === 1 &&
3671
- "@list" in _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]) {
3672
- _3dXrUdkARxwyJLtJcYi1AJ92H41U__array =
3673
- _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]["@list"];
3674
- }
3675
- for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
3585
+ const _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3586
+ for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array ?? []) {
3676
3587
  if (v == null)
3677
3588
  continue;
3678
3589
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3683,18 +3594,9 @@ export class Object {
3683
3594
  _3dXrUdkARxwyJLtJcYi1AJ92H41U.push(await Image.fromJsonLd(v, options));
3684
3595
  }
3685
3596
  instance.#_3dXrUdkARxwyJLtJcYi1AJ92H41U = _3dXrUdkARxwyJLtJcYi1AJ92H41U;
3686
- _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3687
3597
  const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s = [];
3688
- let _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3689
- if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array == null) {
3690
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3691
- }
3692
- else if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array.length === 1 &&
3693
- "@list" in _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]) {
3694
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array =
3695
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]["@list"];
3696
- }
3697
- for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
3598
+ const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3599
+ for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array ?? []) {
3698
3600
  if (v == null)
3699
3601
  continue;
3700
3602
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3764,18 +3666,9 @@ export class Object {
3764
3666
  _3fpbDrvZgf3Kq1a5V9aByFn8kx3s.push(decoded);
3765
3667
  }
3766
3668
  instance.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s = _3fpbDrvZgf3Kq1a5V9aByFn8kx3s;
3767
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3768
3669
  const _31k5MUZJsnsPNg8dQQJieWaXTFnR = [];
3769
- let _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3770
- if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array == null) {
3771
- _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3772
- }
3773
- else if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array.length === 1 &&
3774
- "@list" in _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]) {
3775
- _31k5MUZJsnsPNg8dQQJieWaXTFnR__array =
3776
- _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]["@list"];
3777
- }
3778
- for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
3670
+ const _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3671
+ for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array ?? []) {
3779
3672
  if (v == null)
3780
3673
  continue;
3781
3674
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3845,18 +3738,9 @@ export class Object {
3845
3738
  _31k5MUZJsnsPNg8dQQJieWaXTFnR.push(decoded);
3846
3739
  }
3847
3740
  instance.#_31k5MUZJsnsPNg8dQQJieWaXTFnR = _31k5MUZJsnsPNg8dQQJieWaXTFnR;
3848
- _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3849
3741
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
3850
- let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3851
- if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
3852
- _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3853
- }
3854
- else if (_gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
3855
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]) {
3856
- _gCVTegXxWWCw6wWRxa1QF65zusg__array =
3857
- _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"];
3858
- }
3859
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
3742
+ const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3743
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
3860
3744
  if (v == null)
3861
3745
  continue;
3862
3746
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3926,35 +3810,17 @@ export class Object {
3926
3810
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
3927
3811
  }
3928
3812
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
3929
- _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3930
3813
  const _5e258TDXtuhaFRPZiGoDfEpjdMr = [];
3931
- let _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3932
- if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array == null) {
3933
- _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3934
- }
3935
- else if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array.length === 1 &&
3936
- "@list" in _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]) {
3937
- _5e258TDXtuhaFRPZiGoDfEpjdMr__array =
3938
- _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]["@list"];
3939
- }
3940
- for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
3814
+ const _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3815
+ for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array ?? []) {
3941
3816
  if (v == null)
3942
3817
  continue;
3943
3818
  _5e258TDXtuhaFRPZiGoDfEpjdMr.push(dntShim.Temporal.Instant.from(v["@value"]));
3944
3819
  }
3945
3820
  instance.#_5e258TDXtuhaFRPZiGoDfEpjdMr = _5e258TDXtuhaFRPZiGoDfEpjdMr;
3946
- _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3947
3821
  const _7UpwM3JWcXhADcscukEehBorf6k = [];
3948
- let _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3949
- if (_7UpwM3JWcXhADcscukEehBorf6k__array == null) {
3950
- _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3951
- }
3952
- else if (_7UpwM3JWcXhADcscukEehBorf6k__array.length === 1 &&
3953
- "@list" in _7UpwM3JWcXhADcscukEehBorf6k__array[0]) {
3954
- _7UpwM3JWcXhADcscukEehBorf6k__array =
3955
- _7UpwM3JWcXhADcscukEehBorf6k__array[0]["@list"];
3956
- }
3957
- for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array) {
3822
+ const _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3823
+ for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array ?? []) {
3958
3824
  if (v == null)
3959
3825
  continue;
3960
3826
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3965,35 +3831,17 @@ export class Object {
3965
3831
  _7UpwM3JWcXhADcscukEehBorf6k.push(await Collection.fromJsonLd(v, options));
3966
3832
  }
3967
3833
  instance.#_7UpwM3JWcXhADcscukEehBorf6k = _7UpwM3JWcXhADcscukEehBorf6k;
3968
- _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3969
3834
  const _2w3Jmue4up8iVDUA51WZqomEF438 = [];
3970
- let _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3971
- if (_2w3Jmue4up8iVDUA51WZqomEF438__array == null) {
3972
- _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3973
- }
3974
- else if (_2w3Jmue4up8iVDUA51WZqomEF438__array.length === 1 &&
3975
- "@list" in _2w3Jmue4up8iVDUA51WZqomEF438__array[0]) {
3976
- _2w3Jmue4up8iVDUA51WZqomEF438__array =
3977
- _2w3Jmue4up8iVDUA51WZqomEF438__array[0]["@list"];
3978
- }
3979
- for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array) {
3835
+ const _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3836
+ for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array ?? []) {
3980
3837
  if (v == null)
3981
3838
  continue;
3982
3839
  _2w3Jmue4up8iVDUA51WZqomEF438.push(dntShim.Temporal.Instant.from(v["@value"]));
3983
3840
  }
3984
3841
  instance.#_2w3Jmue4up8iVDUA51WZqomEF438 = _2w3Jmue4up8iVDUA51WZqomEF438;
3985
- _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3986
3842
  const _4LqirZspQbFWWQEbFcXAxm7tTDN1 = [];
3987
- let _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3988
- if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array == null) {
3989
- _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
3990
- }
3991
- else if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array.length === 1 &&
3992
- "@list" in _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]) {
3993
- _4LqirZspQbFWWQEbFcXAxm7tTDN1__array =
3994
- _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]["@list"];
3995
- }
3996
- for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
3843
+ const _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3844
+ for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array ?? []) {
3997
3845
  if (v == null)
3998
3846
  continue;
3999
3847
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4009,18 +3857,9 @@ export class Object {
4009
3857
  _4LqirZspQbFWWQEbFcXAxm7tTDN1.push(decoded);
4010
3858
  }
4011
3859
  instance.#_4LqirZspQbFWWQEbFcXAxm7tTDN1 = _4LqirZspQbFWWQEbFcXAxm7tTDN1;
4012
- _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
4013
3860
  const _5chuqj6s95p5gg2sk1HntGfarRf = [];
4014
- let _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
4015
- if (_5chuqj6s95p5gg2sk1HntGfarRf__array == null) {
4016
- _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
4017
- }
4018
- else if (_5chuqj6s95p5gg2sk1HntGfarRf__array.length === 1 &&
4019
- "@list" in _5chuqj6s95p5gg2sk1HntGfarRf__array[0]) {
4020
- _5chuqj6s95p5gg2sk1HntGfarRf__array =
4021
- _5chuqj6s95p5gg2sk1HntGfarRf__array[0]["@list"];
4022
- }
4023
- for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array) {
3861
+ const _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
3862
+ for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array ?? []) {
4024
3863
  if (v == null)
4025
3864
  continue;
4026
3865
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4090,35 +3929,17 @@ export class Object {
4090
3929
  _5chuqj6s95p5gg2sk1HntGfarRf.push(decoded);
4091
3930
  }
4092
3931
  instance.#_5chuqj6s95p5gg2sk1HntGfarRf = _5chuqj6s95p5gg2sk1HntGfarRf;
4093
- _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
4094
3932
  const _385aB7ySixcf5Un6z3VsWmThgCzQ = [];
4095
- let _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
4096
- if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array == null) {
4097
- _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
4098
- }
4099
- else if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array.length === 1 &&
4100
- "@list" in _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]) {
4101
- _385aB7ySixcf5Un6z3VsWmThgCzQ__array =
4102
- _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]["@list"];
4103
- }
4104
- for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
3933
+ const _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
3934
+ for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array ?? []) {
4105
3935
  if (v == null)
4106
3936
  continue;
4107
3937
  _385aB7ySixcf5Un6z3VsWmThgCzQ.push(dntShim.Temporal.Instant.from(v["@value"]));
4108
3938
  }
4109
3939
  instance.#_385aB7ySixcf5Un6z3VsWmThgCzQ = _385aB7ySixcf5Un6z3VsWmThgCzQ;
4110
- _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
4111
3940
  const _2oPEH9MQ3aj8JVwyYuWkqoVwV865 = [];
4112
- let _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
4113
- if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array == null) {
4114
- _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
4115
- }
4116
- else if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array.length === 1 &&
4117
- "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]) {
4118
- _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array =
4119
- _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]["@list"];
4120
- }
4121
- for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
3941
+ const _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
3942
+ for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array ?? []) {
4122
3943
  if (v == null)
4123
3944
  continue;
4124
3945
  const decoded = typeof v === "object" && "@id" in v &&
@@ -4138,18 +3959,9 @@ export class Object {
4138
3959
  _2oPEH9MQ3aj8JVwyYuWkqoVwV865.push(decoded);
4139
3960
  }
4140
3961
  instance.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865 = _2oPEH9MQ3aj8JVwyYuWkqoVwV865;
4141
- _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
4142
3962
  const _3hFbw7DTpHhq3cvVhkY8njhcsXbd = [];
4143
- let _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
4144
- if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array == null) {
4145
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
4146
- }
4147
- else if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array.length === 1 &&
4148
- "@list" in _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]) {
4149
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array =
4150
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]["@list"];
4151
- }
4152
- for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
3963
+ const _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
3964
+ for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array ?? []) {
4153
3965
  if (v == null)
4154
3966
  continue;
4155
3967
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4160,18 +3972,9 @@ export class Object {
4160
3972
  _3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(await _a.fromJsonLd(v, options));
4161
3973
  }
4162
3974
  instance.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd = _3hFbw7DTpHhq3cvVhkY8njhcsXbd;
4163
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
4164
3975
  const _aLZupjwL8XB7tzdLgCMXdjZ6qej = [];
4165
- let _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
4166
- if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array == null) {
4167
- _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
4168
- }
4169
- else if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array.length === 1 &&
4170
- "@list" in _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]) {
4171
- _aLZupjwL8XB7tzdLgCMXdjZ6qej__array =
4172
- _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]["@list"];
4173
- }
4174
- for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
3976
+ const _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
3977
+ for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array ?? []) {
4175
3978
  if (v == null)
4176
3979
  continue;
4177
3980
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4182,18 +3985,9 @@ export class Object {
4182
3985
  _aLZupjwL8XB7tzdLgCMXdjZ6qej.push(await _a.fromJsonLd(v, options));
4183
3986
  }
4184
3987
  instance.#_aLZupjwL8XB7tzdLgCMXdjZ6qej = _aLZupjwL8XB7tzdLgCMXdjZ6qej;
4185
- _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
4186
3988
  const _42a1SvBs24QSLzKcfjCyNTjW5a1g = [];
4187
- let _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
4188
- if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array == null) {
4189
- _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4190
- }
4191
- else if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array.length === 1 &&
4192
- "@list" in _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]) {
4193
- _42a1SvBs24QSLzKcfjCyNTjW5a1g__array =
4194
- _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]["@list"];
4195
- }
4196
- for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
3989
+ const _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
3990
+ for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array ?? []) {
4197
3991
  if (v == null)
4198
3992
  continue;
4199
3993
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4204,18 +3998,9 @@ export class Object {
4204
3998
  _42a1SvBs24QSLzKcfjCyNTjW5a1g.push(await _a.fromJsonLd(v, options));
4205
3999
  }
4206
4000
  instance.#_42a1SvBs24QSLzKcfjCyNTjW5a1g = _42a1SvBs24QSLzKcfjCyNTjW5a1g;
4207
- _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4208
4001
  const _3qvegKUB8YLgTXRpEf8E6JZSkz2H = [];
4209
- let _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4210
- if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array == null) {
4211
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4212
- }
4213
- else if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array.length === 1 &&
4214
- "@list" in _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]) {
4215
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array =
4216
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]["@list"];
4217
- }
4218
- for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
4002
+ const _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4003
+ for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array ?? []) {
4219
4004
  if (v == null)
4220
4005
  continue;
4221
4006
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4226,69 +4011,33 @@ export class Object {
4226
4011
  _3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(await _a.fromJsonLd(v, options));
4227
4012
  }
4228
4013
  instance.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H = _3qvegKUB8YLgTXRpEf8E6JZSkz2H;
4229
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4230
4014
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
4231
- let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4232
- if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
4233
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4234
- }
4235
- else if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
4236
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]) {
4237
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array =
4238
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"];
4239
- }
4240
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
4015
+ const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4016
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
4241
4017
  if (v == null)
4242
4018
  continue;
4243
4019
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
4244
4020
  }
4245
4021
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
4246
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4247
4022
  const _3bNvLMBN1bCJETiTihM3wvi1B2JX = [];
4248
- let _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4249
- if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array == null) {
4250
- _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4251
- }
4252
- else if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array.length === 1 &&
4253
- "@list" in _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]) {
4254
- _3bNvLMBN1bCJETiTihM3wvi1B2JX__array =
4255
- _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]["@list"];
4256
- }
4257
- for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
4023
+ const _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4024
+ for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array ?? []) {
4258
4025
  if (v == null)
4259
4026
  continue;
4260
4027
  _3bNvLMBN1bCJETiTihM3wvi1B2JX.push(dntShim.Temporal.Duration.from(v["@value"]));
4261
4028
  }
4262
4029
  instance.#_3bNvLMBN1bCJETiTihM3wvi1B2JX = _3bNvLMBN1bCJETiTihM3wvi1B2JX;
4263
- _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4264
4030
  const _u8gdcDTtChQ4tbSQMXc4cYWyum7 = [];
4265
- let _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4266
- if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array == null) {
4267
- _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4268
- }
4269
- else if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array.length === 1 &&
4270
- "@list" in _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]) {
4271
- _u8gdcDTtChQ4tbSQMXc4cYWyum7__array =
4272
- _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]["@list"];
4273
- }
4274
- for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
4031
+ const _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4032
+ for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array ?? []) {
4275
4033
  if (v == null)
4276
4034
  continue;
4277
4035
  _u8gdcDTtChQ4tbSQMXc4cYWyum7.push(v["@value"]);
4278
4036
  }
4279
4037
  instance.#_u8gdcDTtChQ4tbSQMXc4cYWyum7 = _u8gdcDTtChQ4tbSQMXc4cYWyum7;
4280
- _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4281
4038
  const _42rPnotok1ivQ2RNCKNbeFJgx8b8 = [];
4282
- let _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4283
- if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array == null) {
4284
- _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4285
- }
4286
- else if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array.length === 1 &&
4287
- "@list" in _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]) {
4288
- _42rPnotok1ivQ2RNCKNbeFJgx8b8__array =
4289
- _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]["@list"];
4290
- }
4291
- for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
4039
+ const _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4040
+ for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array ?? []) {
4292
4041
  if (v == null)
4293
4042
  continue;
4294
4043
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4299,7 +4048,6 @@ export class Object {
4299
4048
  _42rPnotok1ivQ2RNCKNbeFJgx8b8.push(await DataIntegrityProof.fromJsonLd(v, options));
4300
4049
  }
4301
4050
  instance.#_42rPnotok1ivQ2RNCKNbeFJgx8b8 = _42rPnotok1ivQ2RNCKNbeFJgx8b8;
4302
- _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4303
4051
  return instance;
4304
4052
  }
4305
4053
  _getCustomInspectProxy() {
@@ -5017,16 +4765,8 @@ export class PropertyValue {
5017
4765
  }
5018
4766
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5019
4767
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
5020
- let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
5021
- if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
5022
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
5023
- }
5024
- else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
5025
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
5026
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
5027
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
5028
- }
5029
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
4768
+ const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
4769
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
5030
4770
  if (v == null)
5031
4771
  continue;
5032
4772
  const decoded = typeof v === "object" && "@value" in v &&
@@ -5042,18 +4782,9 @@ export class PropertyValue {
5042
4782
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
5043
4783
  }
5044
4784
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
5045
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
5046
4785
  const _2cSy2magg4iZ7zLaG8U7DiJMoCkx = [];
5047
- let _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
5048
- if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array == null) {
5049
- _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
5050
- }
5051
- else if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array.length === 1 &&
5052
- "@list" in _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]) {
5053
- _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array =
5054
- _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]["@list"];
5055
- }
5056
- for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
4786
+ const _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
4787
+ for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array ?? []) {
5057
4788
  if (v == null)
5058
4789
  continue;
5059
4790
  const decoded = typeof v === "object" && "@value" in v &&
@@ -5069,7 +4800,6 @@ export class PropertyValue {
5069
4800
  _2cSy2magg4iZ7zLaG8U7DiJMoCkx.push(decoded);
5070
4801
  }
5071
4802
  instance.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx = _2cSy2magg4iZ7zLaG8U7DiJMoCkx;
5072
- _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
5073
4803
  return instance;
5074
4804
  }
5075
4805
  _getCustomInspectProxy() {
@@ -5480,33 +5210,16 @@ export class DataIntegrityProof {
5480
5210
  }
5481
5211
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5482
5212
  const _3RurJsa7tnptyqMFR5hDGcP9pMs5 = [];
5483
- let _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5484
- if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array == null) {
5485
- _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5486
- }
5487
- else if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array.length === 1 &&
5488
- "@list" in _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]) {
5489
- _3RurJsa7tnptyqMFR5hDGcP9pMs5__array =
5490
- _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]["@list"];
5491
- }
5492
- for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
5213
+ const _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5214
+ for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array ?? []) {
5493
5215
  if (v == null)
5494
5216
  continue;
5495
5217
  _3RurJsa7tnptyqMFR5hDGcP9pMs5.push(v["@value"]);
5496
5218
  }
5497
5219
  instance.#_3RurJsa7tnptyqMFR5hDGcP9pMs5 = _3RurJsa7tnptyqMFR5hDGcP9pMs5;
5498
- _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5499
5220
  const _2mHVKxqA7zncjveJrDEo3pWpMZqg = [];
5500
- let _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5501
- if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array == null) {
5502
- _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5503
- }
5504
- else if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array.length === 1 &&
5505
- "@list" in _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]) {
5506
- _2mHVKxqA7zncjveJrDEo3pWpMZqg__array =
5507
- _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]["@list"];
5508
- }
5509
- for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
5221
+ const _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5222
+ for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array ?? []) {
5510
5223
  if (v == null)
5511
5224
  continue;
5512
5225
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5517,58 +5230,30 @@ export class DataIntegrityProof {
5517
5230
  _2mHVKxqA7zncjveJrDEo3pWpMZqg.push(await Multikey.fromJsonLd(v, options));
5518
5231
  }
5519
5232
  instance.#_2mHVKxqA7zncjveJrDEo3pWpMZqg = _2mHVKxqA7zncjveJrDEo3pWpMZqg;
5520
- _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5521
5233
  const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = [];
5522
- let _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5523
- if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array == null) {
5524
- _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5525
- }
5526
- else if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array.length === 1 &&
5527
- "@list" in _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]) {
5528
- _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array =
5529
- _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]["@list"];
5530
- }
5531
- for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
5234
+ const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5235
+ for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array ?? []) {
5532
5236
  if (v == null)
5533
5237
  continue;
5534
5238
  _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb.push(v["@id"].substring(26));
5535
5239
  }
5536
5240
  instance.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb;
5537
- _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5538
5241
  const _3CjFK5vfKpX4HQuNh2b18TykoVLq = [];
5539
- let _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5540
- if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array == null) {
5541
- _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5542
- }
5543
- else if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array.length === 1 &&
5544
- "@list" in _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]) {
5545
- _3CjFK5vfKpX4HQuNh2b18TykoVLq__array =
5546
- _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]["@list"];
5547
- }
5548
- for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
5242
+ const _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5243
+ for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array ?? []) {
5549
5244
  if (v == null)
5550
5245
  continue;
5551
5246
  _3CjFK5vfKpX4HQuNh2b18TykoVLq.push(decodeMultibase(v["@value"]));
5552
5247
  }
5553
5248
  instance.#_3CjFK5vfKpX4HQuNh2b18TykoVLq = _3CjFK5vfKpX4HQuNh2b18TykoVLq;
5554
- _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5555
5249
  const _3qzP3ukEZoUziK5FEiA1RhU4aqac = [];
5556
- let _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5557
- if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null) {
5558
- _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5559
- }
5560
- else if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array.length === 1 &&
5561
- "@list" in _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]) {
5562
- _3qzP3ukEZoUziK5FEiA1RhU4aqac__array =
5563
- _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]["@list"];
5564
- }
5565
- for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
5250
+ const _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5251
+ for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array ?? []) {
5566
5252
  if (v == null)
5567
5253
  continue;
5568
5254
  _3qzP3ukEZoUziK5FEiA1RhU4aqac.push(dntShim.Temporal.Instant.from(v["@value"]));
5569
5255
  }
5570
5256
  instance.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = _3qzP3ukEZoUziK5FEiA1RhU4aqac;
5571
- _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5572
5257
  return instance;
5573
5258
  }
5574
5259
  _getCustomInspectProxy() {
@@ -5925,16 +5610,8 @@ export class CryptographicKey {
5925
5610
  }
5926
5611
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5927
5612
  const _5UJq9NDh3ZHgswFwwdVxQvJxdx2 = [];
5928
- let _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5929
- if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array == null) {
5930
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5931
- }
5932
- else if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array.length === 1 &&
5933
- "@list" in _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]) {
5934
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array =
5935
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]["@list"];
5936
- }
5937
- for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
5613
+ const _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5614
+ for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array ?? []) {
5938
5615
  if (v == null)
5939
5616
  continue;
5940
5617
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5968,24 +5645,14 @@ export class CryptographicKey {
5968
5645
  _5UJq9NDh3ZHgswFwwdVxQvJxdx2.push(decoded);
5969
5646
  }
5970
5647
  instance.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2 = _5UJq9NDh3ZHgswFwwdVxQvJxdx2;
5971
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5972
5648
  const _2fE2QMDdg6KFGqa4NEC3TmjApSAD = [];
5973
- let _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5974
- if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array == null) {
5975
- _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5976
- }
5977
- else if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array.length === 1 &&
5978
- "@list" in _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]) {
5979
- _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array =
5980
- _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]["@list"];
5981
- }
5982
- for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
5649
+ const _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5650
+ for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array ?? []) {
5983
5651
  if (v == null)
5984
5652
  continue;
5985
5653
  _2fE2QMDdg6KFGqa4NEC3TmjApSAD.push(await importSpki(v["@value"]));
5986
5654
  }
5987
5655
  instance.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD = _2fE2QMDdg6KFGqa4NEC3TmjApSAD;
5988
- _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5989
5656
  return instance;
5990
5657
  }
5991
5658
  _getCustomInspectProxy() {
@@ -6320,16 +5987,8 @@ export class Multikey {
6320
5987
  }
6321
5988
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
6322
5989
  const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN = [];
6323
- let _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
6324
- if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array == null) {
6325
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6326
- }
6327
- else if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array.length === 1 &&
6328
- "@list" in _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]) {
6329
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array =
6330
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]["@list"];
6331
- }
6332
- for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
5990
+ const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
5991
+ for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array ?? []) {
6333
5992
  if (v == null)
6334
5993
  continue;
6335
5994
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -6363,24 +6022,14 @@ export class Multikey {
6363
6022
  _2yr3eUBTP6cNcyaxKzAXWjFsnGzN.push(decoded);
6364
6023
  }
6365
6024
  instance.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN = _2yr3eUBTP6cNcyaxKzAXWjFsnGzN;
6366
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6367
6025
  const _4XLHbsR2gLVWU3NpEqKt9wANzn4F = [];
6368
- let _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6369
- if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array == null) {
6370
- _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6371
- }
6372
- else if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array.length === 1 &&
6373
- "@list" in _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]) {
6374
- _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array =
6375
- _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]["@list"];
6376
- }
6377
- for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
6026
+ const _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6027
+ for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array ?? []) {
6378
6028
  if (v == null)
6379
6029
  continue;
6380
6030
  _4XLHbsR2gLVWU3NpEqKt9wANzn4F.push(await importMultibaseKey(v["@value"]));
6381
6031
  }
6382
6032
  instance.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F = _4XLHbsR2gLVWU3NpEqKt9wANzn4F;
6383
- _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6384
6033
  return instance;
6385
6034
  }
6386
6035
  _getCustomInspectProxy() {
@@ -7547,16 +7196,8 @@ export class Activity extends Object {
7547
7196
  throw new TypeError("Unexpected type: " + instance.constructor.name);
7548
7197
  }
7549
7198
  const _2DjTTboo3CNHU2a2JQqUSE2dbv9D = [];
7550
- let _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7551
- if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array == null) {
7552
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7553
- }
7554
- else if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array.length === 1 &&
7555
- "@list" in _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]) {
7556
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array =
7557
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]["@list"];
7558
- }
7559
- for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
7199
+ const _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7200
+ for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array ?? []) {
7560
7201
  if (v == null)
7561
7202
  continue;
7562
7203
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7590,18 +7231,9 @@ export class Activity extends Object {
7590
7231
  _2DjTTboo3CNHU2a2JQqUSE2dbv9D.push(decoded);
7591
7232
  }
7592
7233
  instance.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D = _2DjTTboo3CNHU2a2JQqUSE2dbv9D;
7593
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7594
7234
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
7595
- let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7596
- if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
7597
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7598
- }
7599
- else if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
7600
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]) {
7601
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array =
7602
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"];
7603
- }
7604
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
7235
+ const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7236
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
7605
7237
  if (v == null)
7606
7238
  continue;
7607
7239
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7612,18 +7244,9 @@ export class Activity extends Object {
7612
7244
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
7613
7245
  }
7614
7246
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
7615
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7616
7247
  const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = [];
7617
- let _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7618
- if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array == null) {
7619
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7620
- }
7621
- else if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array.length === 1 &&
7622
- "@list" in _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]) {
7623
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array =
7624
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]["@list"];
7625
- }
7626
- for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
7248
+ const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7249
+ for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array ?? []) {
7627
7250
  if (v == null)
7628
7251
  continue;
7629
7252
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7634,18 +7257,9 @@ export class Activity extends Object {
7634
7257
  _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(await Object.fromJsonLd(v, options));
7635
7258
  }
7636
7259
  instance.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF;
7637
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7638
7260
  const _u4QGFbRFcYmPEKGbPv1hpBR9r5G = [];
7639
- let _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7640
- if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array == null) {
7641
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7642
- }
7643
- else if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array.length === 1 &&
7644
- "@list" in _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]) {
7645
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array =
7646
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]["@list"];
7647
- }
7648
- for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
7261
+ const _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7262
+ for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array ?? []) {
7649
7263
  if (v == null)
7650
7264
  continue;
7651
7265
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7656,18 +7270,9 @@ export class Activity extends Object {
7656
7270
  _u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(await Object.fromJsonLd(v, options));
7657
7271
  }
7658
7272
  instance.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G = _u4QGFbRFcYmPEKGbPv1hpBR9r5G;
7659
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7660
7273
  const _25zu2s3VxVujgEKqrDycjE284XQR = [];
7661
- let _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7662
- if (_25zu2s3VxVujgEKqrDycjE284XQR__array == null) {
7663
- _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7664
- }
7665
- else if (_25zu2s3VxVujgEKqrDycjE284XQR__array.length === 1 &&
7666
- "@list" in _25zu2s3VxVujgEKqrDycjE284XQR__array[0]) {
7667
- _25zu2s3VxVujgEKqrDycjE284XQR__array =
7668
- _25zu2s3VxVujgEKqrDycjE284XQR__array[0]["@list"];
7669
- }
7670
- for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array) {
7274
+ const _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7275
+ for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array ?? []) {
7671
7276
  if (v == null)
7672
7277
  continue;
7673
7278
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7678,18 +7283,9 @@ export class Activity extends Object {
7678
7283
  _25zu2s3VxVujgEKqrDycjE284XQR.push(await Object.fromJsonLd(v, options));
7679
7284
  }
7680
7285
  instance.#_25zu2s3VxVujgEKqrDycjE284XQR = _25zu2s3VxVujgEKqrDycjE284XQR;
7681
- _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7682
7286
  const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ = [];
7683
- let _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7684
- if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array == null) {
7685
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7686
- }
7687
- else if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array.length === 1 &&
7688
- "@list" in _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]) {
7689
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array =
7690
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]["@list"];
7691
- }
7692
- for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
7287
+ const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7288
+ for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array ?? []) {
7693
7289
  if (v == null)
7694
7290
  continue;
7695
7291
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7700,7 +7296,6 @@ export class Activity extends Object {
7700
7296
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(await Object.fromJsonLd(v, options));
7701
7297
  }
7702
7298
  instance.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ = _3c5t2x7DYRo2shwTxpkd4kYSS5WQ;
7703
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7704
7299
  return instance;
7705
7300
  }
7706
7301
  _getCustomInspectProxy() {
@@ -9537,16 +9132,8 @@ export class Application extends Object {
9537
9132
  throw new TypeError("Unexpected type: " + instance.constructor.name);
9538
9133
  }
9539
9134
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
9540
- let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9541
- if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
9542
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9543
- }
9544
- else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
9545
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
9546
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
9547
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
9548
- }
9549
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
9135
+ const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9136
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
9550
9137
  if (v == null)
9551
9138
  continue;
9552
9139
  const decoded = typeof v === "object" && "@value" in v &&
@@ -9562,18 +9149,9 @@ export class Application extends Object {
9562
9149
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
9563
9150
  }
9564
9151
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
9565
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9566
9152
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
9567
- let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9568
- if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
9569
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9570
- }
9571
- else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
9572
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
9573
- _axq166E2eZADq34V4MYUc8KMZdC__array =
9574
- _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
9575
- }
9576
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
9153
+ const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9154
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
9577
9155
  if (v == null)
9578
9156
  continue;
9579
9157
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9584,18 +9162,9 @@ export class Application extends Object {
9584
9162
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
9585
9163
  }
9586
9164
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
9587
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9588
9165
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
9589
- let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9590
- if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
9591
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9592
- }
9593
- else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
9594
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
9595
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
9596
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
9597
- }
9598
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
9166
+ const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9167
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
9599
9168
  if (v == null)
9600
9169
  continue;
9601
9170
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9606,35 +9175,17 @@ export class Application extends Object {
9606
9175
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
9607
9176
  }
9608
9177
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
9609
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9610
9178
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
9611
- let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9612
- if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
9613
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9614
- }
9615
- else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
9616
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
9617
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
9618
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
9619
- }
9620
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
9179
+ const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9180
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
9621
9181
  if (v == null)
9622
9182
  continue;
9623
9183
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
9624
9184
  }
9625
9185
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
9626
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9627
9186
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
9628
- let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9629
- if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
9630
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9631
- }
9632
- else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
9633
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
9634
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
9635
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
9636
- }
9637
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
9187
+ const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9188
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
9638
9189
  if (v == null)
9639
9190
  continue;
9640
9191
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9645,18 +9196,9 @@ export class Application extends Object {
9645
9196
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
9646
9197
  }
9647
9198
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
9648
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9649
9199
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
9650
- let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9651
- if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
9652
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9653
- }
9654
- else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
9655
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
9656
- _41QwhqJouoLg3h8dRPKat21brynC__array =
9657
- _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
9658
- }
9659
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
9200
+ const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9201
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
9660
9202
  if (v == null)
9661
9203
  continue;
9662
9204
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9667,18 +9209,9 @@ export class Application extends Object {
9667
9209
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
9668
9210
  }
9669
9211
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
9670
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9671
9212
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
9672
- let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9673
- if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
9674
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9675
- }
9676
- else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
9677
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
9678
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
9679
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
9680
- }
9681
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
9213
+ const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9214
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
9682
9215
  if (v == null)
9683
9216
  continue;
9684
9217
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9689,18 +9222,9 @@ export class Application extends Object {
9689
9222
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
9690
9223
  }
9691
9224
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
9692
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9693
9225
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
9694
- let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9695
- if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
9696
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9697
- }
9698
- else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
9699
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
9700
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
9701
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
9702
- }
9703
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
9226
+ const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9227
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
9704
9228
  if (v == null)
9705
9229
  continue;
9706
9230
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9711,18 +9235,9 @@ export class Application extends Object {
9711
9235
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
9712
9236
  }
9713
9237
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
9714
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9715
9238
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
9716
- let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9717
- if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
9718
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9719
- }
9720
- else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
9721
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
9722
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
9723
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
9724
- }
9725
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
9239
+ const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9240
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
9726
9241
  if (v == null)
9727
9242
  continue;
9728
9243
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9733,18 +9248,9 @@ export class Application extends Object {
9733
9248
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
9734
9249
  }
9735
9250
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
9736
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9737
9251
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
9738
- let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9739
- if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
9740
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9741
- }
9742
- else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
9743
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
9744
- _4N1vBJzXDf8NbBumeECQMFvKetja__array =
9745
- _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
9746
- }
9747
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
9252
+ const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9253
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
9748
9254
  if (v == null)
9749
9255
  continue;
9750
9256
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9755,18 +9261,9 @@ export class Application extends Object {
9755
9261
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
9756
9262
  }
9757
9263
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
9758
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9759
9264
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
9760
- let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9761
- if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
9762
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9763
- }
9764
- else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
9765
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
9766
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
9767
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
9768
- }
9769
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
9265
+ const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9266
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
9770
9267
  if (v == null)
9771
9268
  continue;
9772
9269
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9777,92 +9274,46 @@ export class Application extends Object {
9777
9274
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
9778
9275
  }
9779
9276
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
9780
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9781
9277
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
9782
- let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9783
- if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
9784
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9785
- }
9786
- else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
9787
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
9788
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
9789
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
9790
- }
9791
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
9278
+ const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9279
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
9792
9280
  if (v == null)
9793
9281
  continue;
9794
9282
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
9795
9283
  }
9796
9284
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
9797
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9798
9285
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
9799
- let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9800
- if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
9801
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9802
- }
9803
- else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
9804
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
9805
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
9806
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
9807
- }
9808
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
9286
+ const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9287
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
9809
9288
  if (v == null)
9810
9289
  continue;
9811
9290
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
9812
9291
  }
9813
9292
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
9814
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9815
9293
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
9816
- let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9817
- if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
9818
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9819
- }
9820
- else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
9821
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
9822
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
9823
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
9824
- }
9825
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
9294
+ const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9295
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
9826
9296
  if (v == null)
9827
9297
  continue;
9828
9298
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
9829
9299
  }
9830
9300
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
9831
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9832
9301
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
9833
- let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9834
- if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
9835
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9836
- }
9837
- else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
9838
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
9839
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
9840
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
9841
- }
9842
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
9302
+ const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9303
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
9843
9304
  if (v == null)
9844
9305
  continue;
9845
9306
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
9846
9307
  }
9847
9308
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
9848
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9849
9309
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
9850
- let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9851
- if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
9852
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9853
- }
9854
- else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
9855
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
9856
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
9857
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
9858
- }
9859
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
9310
+ const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9311
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
9860
9312
  if (v == null)
9861
9313
  continue;
9862
9314
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
9863
9315
  }
9864
9316
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
9865
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9866
9317
  return instance;
9867
9318
  }
9868
9319
  _getCustomInspectProxy() {
@@ -10619,39 +10070,21 @@ export class Document extends Object {
10619
10070
  throw new TypeError("Unexpected type: " + instance.constructor.name);
10620
10071
  }
10621
10072
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
10622
- let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10623
- if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
10624
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10625
- }
10626
- else if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
10627
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]) {
10628
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array =
10629
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"];
10630
- }
10631
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
10073
+ const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10074
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
10632
10075
  if (v == null)
10633
10076
  continue;
10634
10077
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
10635
10078
  }
10636
10079
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
10637
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10638
10080
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
10639
- let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10640
- if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
10641
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10642
- }
10643
- else if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
10644
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]) {
10645
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array =
10646
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"];
10647
- }
10648
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
10081
+ const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10082
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
10649
10083
  if (v == null)
10650
10084
  continue;
10651
10085
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
10652
10086
  }
10653
10087
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
10654
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10655
10088
  return instance;
10656
10089
  }
10657
10090
  _getCustomInspectProxy() {
@@ -11532,33 +10965,16 @@ export class Collection extends Object {
11532
10965
  throw new TypeError("Unexpected type: " + instance.constructor.name);
11533
10966
  }
11534
10967
  const _XDbmNDuWHmrhqH712zqtecdbv1V = [];
11535
- let _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
11536
- if (_XDbmNDuWHmrhqH712zqtecdbv1V__array == null) {
11537
- _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
11538
- }
11539
- else if (_XDbmNDuWHmrhqH712zqtecdbv1V__array.length === 1 &&
11540
- "@list" in _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]) {
11541
- _XDbmNDuWHmrhqH712zqtecdbv1V__array =
11542
- _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]["@list"];
11543
- }
11544
- for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
10968
+ const _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
10969
+ for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array ?? []) {
11545
10970
  if (v == null)
11546
10971
  continue;
11547
10972
  _XDbmNDuWHmrhqH712zqtecdbv1V.push(v["@value"]);
11548
10973
  }
11549
10974
  instance.#_XDbmNDuWHmrhqH712zqtecdbv1V = _XDbmNDuWHmrhqH712zqtecdbv1V;
11550
- _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
11551
10975
  const _3UyUdxnyn6cDn53QKrh4MBiearma = [];
11552
- let _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
11553
- if (_3UyUdxnyn6cDn53QKrh4MBiearma__array == null) {
11554
- _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
11555
- }
11556
- else if (_3UyUdxnyn6cDn53QKrh4MBiearma__array.length === 1 &&
11557
- "@list" in _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]) {
11558
- _3UyUdxnyn6cDn53QKrh4MBiearma__array =
11559
- _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]["@list"];
11560
- }
11561
- for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
10976
+ const _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
10977
+ for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array ?? []) {
11562
10978
  if (v == null)
11563
10979
  continue;
11564
10980
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11569,18 +10985,9 @@ export class Collection extends Object {
11569
10985
  _3UyUdxnyn6cDn53QKrh4MBiearma.push(await CollectionPage.fromJsonLd(v, options));
11570
10986
  }
11571
10987
  instance.#_3UyUdxnyn6cDn53QKrh4MBiearma = _3UyUdxnyn6cDn53QKrh4MBiearma;
11572
- _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
11573
10988
  const _J52RqweMe6hhv7RnLJMC8BExTE5 = [];
11574
- let _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
11575
- if (_J52RqweMe6hhv7RnLJMC8BExTE5__array == null) {
11576
- _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11577
- }
11578
- else if (_J52RqweMe6hhv7RnLJMC8BExTE5__array.length === 1 &&
11579
- "@list" in _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]) {
11580
- _J52RqweMe6hhv7RnLJMC8BExTE5__array =
11581
- _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]["@list"];
11582
- }
11583
- for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
10989
+ const _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
10990
+ for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array ?? []) {
11584
10991
  if (v == null)
11585
10992
  continue;
11586
10993
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11591,18 +10998,9 @@ export class Collection extends Object {
11591
10998
  _J52RqweMe6hhv7RnLJMC8BExTE5.push(await CollectionPage.fromJsonLd(v, options));
11592
10999
  }
11593
11000
  instance.#_J52RqweMe6hhv7RnLJMC8BExTE5 = _J52RqweMe6hhv7RnLJMC8BExTE5;
11594
- _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11595
11001
  const _gyJJnyEFnuNVi1HFZKfAn3Hfn26 = [];
11596
- let _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11597
- if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array == null) {
11598
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11599
- }
11600
- else if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array.length === 1 &&
11601
- "@list" in _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]) {
11602
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array =
11603
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]["@list"];
11604
- }
11605
- for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
11002
+ const _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11003
+ for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array ?? []) {
11606
11004
  if (v == null)
11607
11005
  continue;
11608
11006
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11613,18 +11011,9 @@ export class Collection extends Object {
11613
11011
  _gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(await CollectionPage.fromJsonLd(v, options));
11614
11012
  }
11615
11013
  instance.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26 = _gyJJnyEFnuNVi1HFZKfAn3Hfn26;
11616
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11617
11014
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
11618
- let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11619
- if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
11620
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11621
- }
11622
- else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
11623
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
11624
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
11625
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
11626
- }
11627
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
11015
+ const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11016
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
11628
11017
  if (v == null)
11629
11018
  continue;
11630
11019
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11635,7 +11024,6 @@ export class Collection extends Object {
11635
11024
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
11636
11025
  }
11637
11026
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
11638
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11639
11027
  return instance;
11640
11028
  }
11641
11029
  _getCustomInspectProxy() {
@@ -12068,16 +11456,8 @@ export class CollectionPage extends Collection {
12068
11456
  throw new TypeError("Unexpected type: " + instance.constructor.name);
12069
11457
  }
12070
11458
  const _2kWgBhQKjEauxx8C6qF3ZQamK4Le = [];
12071
- let _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
12072
- if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array == null) {
12073
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
12074
- }
12075
- else if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array.length === 1 &&
12076
- "@list" in _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]) {
12077
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array =
12078
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]["@list"];
12079
- }
12080
- for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
11459
+ const _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
11460
+ for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array ?? []) {
12081
11461
  if (v == null)
12082
11462
  continue;
12083
11463
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -12088,18 +11468,9 @@ export class CollectionPage extends Collection {
12088
11468
  _2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(await Collection.fromJsonLd(v, options));
12089
11469
  }
12090
11470
  instance.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le = _2kWgBhQKjEauxx8C6qF3ZQamK4Le;
12091
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
12092
11471
  const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY = [];
12093
- let _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
12094
- if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array == null) {
12095
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
12096
- }
12097
- else if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array.length === 1 &&
12098
- "@list" in _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]) {
12099
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array =
12100
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]["@list"];
12101
- }
12102
- for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
11472
+ const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
11473
+ for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array ?? []) {
12103
11474
  if (v == null)
12104
11475
  continue;
12105
11476
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -12110,18 +11481,9 @@ export class CollectionPage extends Collection {
12110
11481
  _3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(await _b.fromJsonLd(v, options));
12111
11482
  }
12112
11483
  instance.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY = _3BT4kQLcXhHx7TAWaNDKh8nFn9eY;
12113
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
12114
11484
  const _3b8yG8tDNzQFFEnWhCc13G8eHooA = [];
12115
- let _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
12116
- if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array == null) {
12117
- _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
12118
- }
12119
- else if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array.length === 1 &&
12120
- "@list" in _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]) {
12121
- _3b8yG8tDNzQFFEnWhCc13G8eHooA__array =
12122
- _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]["@list"];
12123
- }
12124
- for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
11485
+ const _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
11486
+ for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array ?? []) {
12125
11487
  if (v == null)
12126
11488
  continue;
12127
11489
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -12132,7 +11494,6 @@ export class CollectionPage extends Collection {
12132
11494
  _3b8yG8tDNzQFFEnWhCc13G8eHooA.push(await _b.fromJsonLd(v, options));
12133
11495
  }
12134
11496
  instance.#_3b8yG8tDNzQFFEnWhCc13G8eHooA = _3b8yG8tDNzQFFEnWhCc13G8eHooA;
12135
- _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
12136
11497
  return instance;
12137
11498
  }
12138
11499
  _getCustomInspectProxy() {
@@ -12873,107 +12234,53 @@ export class Endpoints {
12873
12234
  }
12874
12235
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
12875
12236
  const _2JCYDbSxEHCCLdBYed33cCETfGyR = [];
12876
- let _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12877
- if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array == null) {
12878
- _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12879
- }
12880
- else if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array.length === 1 &&
12881
- "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]) {
12882
- _2JCYDbSxEHCCLdBYed33cCETfGyR__array =
12883
- _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]["@list"];
12884
- }
12885
- for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
12237
+ const _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12238
+ for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array ?? []) {
12886
12239
  if (v == null)
12887
12240
  continue;
12888
12241
  _2JCYDbSxEHCCLdBYed33cCETfGyR.push(new URL(v["@id"]));
12889
12242
  }
12890
12243
  instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR = _2JCYDbSxEHCCLdBYed33cCETfGyR;
12891
- _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12892
12244
  const _25S6UmgzDead8hxL5sQFezZTAusd = [];
12893
- let _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12894
- if (_25S6UmgzDead8hxL5sQFezZTAusd__array == null) {
12895
- _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12896
- }
12897
- else if (_25S6UmgzDead8hxL5sQFezZTAusd__array.length === 1 &&
12898
- "@list" in _25S6UmgzDead8hxL5sQFezZTAusd__array[0]) {
12899
- _25S6UmgzDead8hxL5sQFezZTAusd__array =
12900
- _25S6UmgzDead8hxL5sQFezZTAusd__array[0]["@list"];
12901
- }
12902
- for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array) {
12245
+ const _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12246
+ for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array ?? []) {
12903
12247
  if (v == null)
12904
12248
  continue;
12905
12249
  _25S6UmgzDead8hxL5sQFezZTAusd.push(new URL(v["@id"]));
12906
12250
  }
12907
12251
  instance.#_25S6UmgzDead8hxL5sQFezZTAusd = _25S6UmgzDead8hxL5sQFezZTAusd;
12908
- _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12909
12252
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = [];
12910
- let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12911
- if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array == null) {
12912
- _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12913
- }
12914
- else if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array.length === 1 &&
12915
- "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]) {
12916
- _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array =
12917
- _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]["@list"];
12918
- }
12919
- for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
12253
+ const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12254
+ for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array ?? []) {
12920
12255
  if (v == null)
12921
12256
  continue;
12922
12257
  _iAMxqrSba7yBCRB1FZ5kEVdKEZ3.push(new URL(v["@id"]));
12923
12258
  }
12924
12259
  instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3;
12925
- _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12926
12260
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr = [];
12927
- let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12928
- if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array == null) {
12929
- _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12930
- }
12931
- else if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array.length === 1 &&
12932
- "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]) {
12933
- _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array =
12934
- _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]["@list"];
12935
- }
12936
- for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
12261
+ const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12262
+ for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array ?? []) {
12937
12263
  if (v == null)
12938
12264
  continue;
12939
12265
  _8Bx9qN8oU7Bpt2xi6khaxWp1gMr.push(new URL(v["@id"]));
12940
12266
  }
12941
12267
  instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr;
12942
- _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12943
12268
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS = [];
12944
- let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12945
- if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array == null) {
12946
- _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12947
- }
12948
- else if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array.length === 1 &&
12949
- "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]) {
12950
- _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array =
12951
- _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]["@list"];
12952
- }
12953
- for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
12269
+ const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12270
+ for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array ?? []) {
12954
12271
  if (v == null)
12955
12272
  continue;
12956
12273
  _3dU7PMVQZJpsCpo2F4RQXxBXdPmS.push(new URL(v["@id"]));
12957
12274
  }
12958
12275
  instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS;
12959
- _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12960
12276
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc = [];
12961
- let _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12962
- if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array == null) {
12963
- _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12964
- }
12965
- else if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array.length === 1 &&
12966
- "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]) {
12967
- _3JprUSDLVqqX4dwHRi37qGZZCRCc__array =
12968
- _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]["@list"];
12969
- }
12970
- for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
12277
+ const _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12278
+ for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array ?? []) {
12971
12279
  if (v == null)
12972
12280
  continue;
12973
12281
  _3JprUSDLVqqX4dwHRi37qGZZCRCc.push(new URL(v["@id"]));
12974
12282
  }
12975
12283
  instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc = _3JprUSDLVqqX4dwHRi37qGZZCRCc;
12976
- _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12977
12284
  return instance;
12978
12285
  }
12979
12286
  _getCustomInspectProxy() {
@@ -14778,16 +14085,8 @@ export class Group extends Object {
14778
14085
  throw new TypeError("Unexpected type: " + instance.constructor.name);
14779
14086
  }
14780
14087
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
14781
- let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14782
- if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
14783
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14784
- }
14785
- else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
14786
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
14787
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
14788
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
14789
- }
14790
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
14088
+ const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14089
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
14791
14090
  if (v == null)
14792
14091
  continue;
14793
14092
  const decoded = typeof v === "object" && "@value" in v &&
@@ -14803,18 +14102,9 @@ export class Group extends Object {
14803
14102
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
14804
14103
  }
14805
14104
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
14806
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14807
14105
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
14808
- let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14809
- if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
14810
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14811
- }
14812
- else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
14813
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
14814
- _axq166E2eZADq34V4MYUc8KMZdC__array =
14815
- _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
14816
- }
14817
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
14106
+ const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14107
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
14818
14108
  if (v == null)
14819
14109
  continue;
14820
14110
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14825,18 +14115,9 @@ export class Group extends Object {
14825
14115
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
14826
14116
  }
14827
14117
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
14828
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14829
14118
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
14830
- let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14831
- if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
14832
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14833
- }
14834
- else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
14835
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
14836
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
14837
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
14838
- }
14839
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
14119
+ const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14120
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
14840
14121
  if (v == null)
14841
14122
  continue;
14842
14123
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14847,35 +14128,17 @@ export class Group extends Object {
14847
14128
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
14848
14129
  }
14849
14130
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
14850
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14851
14131
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
14852
- let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14853
- if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
14854
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14855
- }
14856
- else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
14857
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
14858
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
14859
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
14860
- }
14861
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
14132
+ const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14133
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
14862
14134
  if (v == null)
14863
14135
  continue;
14864
14136
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
14865
14137
  }
14866
14138
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
14867
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14868
14139
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
14869
- let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14870
- if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
14871
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14872
- }
14873
- else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
14874
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
14875
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
14876
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
14877
- }
14878
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
14140
+ const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14141
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
14879
14142
  if (v == null)
14880
14143
  continue;
14881
14144
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14886,18 +14149,9 @@ export class Group extends Object {
14886
14149
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
14887
14150
  }
14888
14151
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
14889
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14890
14152
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
14891
- let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14892
- if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
14893
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14894
- }
14895
- else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
14896
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
14897
- _41QwhqJouoLg3h8dRPKat21brynC__array =
14898
- _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
14899
- }
14900
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
14153
+ const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14154
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
14901
14155
  if (v == null)
14902
14156
  continue;
14903
14157
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14908,18 +14162,9 @@ export class Group extends Object {
14908
14162
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
14909
14163
  }
14910
14164
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
14911
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14912
14165
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
14913
- let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14914
- if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
14915
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14916
- }
14917
- else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
14918
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
14919
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
14920
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
14921
- }
14922
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
14166
+ const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14167
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
14923
14168
  if (v == null)
14924
14169
  continue;
14925
14170
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14930,18 +14175,9 @@ export class Group extends Object {
14930
14175
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
14931
14176
  }
14932
14177
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
14933
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14934
14178
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
14935
- let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14936
- if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
14937
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14938
- }
14939
- else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
14940
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
14941
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
14942
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
14943
- }
14944
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
14179
+ const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14180
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
14945
14181
  if (v == null)
14946
14182
  continue;
14947
14183
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14952,18 +14188,9 @@ export class Group extends Object {
14952
14188
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
14953
14189
  }
14954
14190
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
14955
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14956
14191
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
14957
- let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14958
- if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
14959
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14960
- }
14961
- else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
14962
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
14963
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
14964
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
14965
- }
14966
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
14192
+ const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14193
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
14967
14194
  if (v == null)
14968
14195
  continue;
14969
14196
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14974,18 +14201,9 @@ export class Group extends Object {
14974
14201
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
14975
14202
  }
14976
14203
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
14977
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14978
14204
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
14979
- let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14980
- if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
14981
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
14982
- }
14983
- else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
14984
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
14985
- _4N1vBJzXDf8NbBumeECQMFvKetja__array =
14986
- _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
14987
- }
14988
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
14205
+ const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14206
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
14989
14207
  if (v == null)
14990
14208
  continue;
14991
14209
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14996,18 +14214,9 @@ export class Group extends Object {
14996
14214
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
14997
14215
  }
14998
14216
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
14999
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
15000
14217
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
15001
- let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
15002
- if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
15003
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
15004
- }
15005
- else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
15006
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
15007
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
15008
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
15009
- }
15010
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
14218
+ const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
14219
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
15011
14220
  if (v == null)
15012
14221
  continue;
15013
14222
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -15018,92 +14227,46 @@ export class Group extends Object {
15018
14227
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
15019
14228
  }
15020
14229
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
15021
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
15022
14230
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
15023
- let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
15024
- if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
15025
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
15026
- }
15027
- else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
15028
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
15029
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
15030
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
15031
- }
15032
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
14231
+ const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
14232
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
15033
14233
  if (v == null)
15034
14234
  continue;
15035
14235
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
15036
14236
  }
15037
14237
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
15038
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
15039
14238
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
15040
- let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
15041
- if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
15042
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
15043
- }
15044
- else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
15045
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
15046
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
15047
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
15048
- }
15049
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
14239
+ const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
14240
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
15050
14241
  if (v == null)
15051
14242
  continue;
15052
14243
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
15053
14244
  }
15054
14245
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
15055
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
15056
14246
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
15057
- let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
15058
- if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
15059
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
15060
- }
15061
- else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
15062
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
15063
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
15064
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
15065
- }
15066
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
14247
+ const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
14248
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
15067
14249
  if (v == null)
15068
14250
  continue;
15069
14251
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
15070
14252
  }
15071
14253
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
15072
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
15073
14254
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
15074
- let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
15075
- if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
15076
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
15077
- }
15078
- else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
15079
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
15080
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
15081
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
15082
- }
15083
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
14255
+ const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
14256
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
15084
14257
  if (v == null)
15085
14258
  continue;
15086
14259
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
15087
14260
  }
15088
14261
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
15089
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
15090
14262
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
15091
- let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
15092
- if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
15093
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
15094
- }
15095
- else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
15096
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
15097
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
15098
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
15099
- }
15100
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
14263
+ const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
14264
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
15101
14265
  if (v == null)
15102
14266
  continue;
15103
14267
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
15104
14268
  }
15105
14269
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
15106
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
15107
14270
  return instance;
15108
14271
  }
15109
14272
  _getCustomInspectProxy() {
@@ -15891,67 +15054,32 @@ export class Link {
15891
15054
  }
15892
15055
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
15893
15056
  const _pVjLsybKQdmkjuU7MHjiVmNnuj7 = [];
15894
- let _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15895
- if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array == null) {
15896
- _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15897
- }
15898
- else if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array.length === 1 &&
15899
- "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]) {
15900
- _pVjLsybKQdmkjuU7MHjiVmNnuj7__array =
15901
- _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]["@list"];
15902
- }
15903
- for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
15057
+ const _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15058
+ for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array ?? []) {
15904
15059
  if (v == null)
15905
15060
  continue;
15906
15061
  _pVjLsybKQdmkjuU7MHjiVmNnuj7.push(new URL(v["@id"]));
15907
15062
  }
15908
15063
  instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7 = _pVjLsybKQdmkjuU7MHjiVmNnuj7;
15909
- _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15910
15064
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ = [];
15911
- let _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15912
- if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array == null) {
15913
- _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15914
- }
15915
- else if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array.length === 1 &&
15916
- "@list" in _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]) {
15917
- _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array =
15918
- _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]["@list"];
15919
- }
15920
- for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
15065
+ const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15066
+ for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array ?? []) {
15921
15067
  if (v == null)
15922
15068
  continue;
15923
15069
  _2a1c5GkfkQsnyyLybF8UXBQfFuHZ.push(v["@value"]);
15924
15070
  }
15925
15071
  instance.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ = _2a1c5GkfkQsnyyLybF8UXBQfFuHZ;
15926
- _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15927
15072
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
15928
- let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15929
- if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
15930
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15931
- }
15932
- else if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
15933
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]) {
15934
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array =
15935
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"];
15936
- }
15937
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
15073
+ const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15074
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
15938
15075
  if (v == null)
15939
15076
  continue;
15940
15077
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
15941
15078
  }
15942
15079
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
15943
- _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15944
15080
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
15945
- let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15946
- if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
15947
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15948
- }
15949
- else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
15950
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
15951
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
15952
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
15953
- }
15954
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
15081
+ const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15082
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
15955
15083
  if (v == null)
15956
15084
  continue;
15957
15085
  const decoded = typeof v === "object" && "@value" in v &&
@@ -15967,69 +15095,33 @@ export class Link {
15967
15095
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
15968
15096
  }
15969
15097
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
15970
- _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15971
15098
  const _f57HKWCp1YRBbTJE8PF12RbDJGf = [];
15972
- let _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15973
- if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array == null) {
15974
- _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15975
- }
15976
- else if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array.length === 1 &&
15977
- "@list" in _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]) {
15978
- _f57HKWCp1YRBbTJE8PF12RbDJGf__array =
15979
- _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]["@list"];
15980
- }
15981
- for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
15099
+ const _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15100
+ for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array ?? []) {
15982
15101
  if (v == null)
15983
15102
  continue;
15984
15103
  _f57HKWCp1YRBbTJE8PF12RbDJGf.push(parseLanguageTag(v["@value"]));
15985
15104
  }
15986
15105
  instance.#_f57HKWCp1YRBbTJE8PF12RbDJGf = _f57HKWCp1YRBbTJE8PF12RbDJGf;
15987
- _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15988
15106
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
15989
- let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15990
- if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
15991
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
15992
- }
15993
- else if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
15994
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]) {
15995
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array =
15996
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"];
15997
- }
15998
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
15107
+ const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15108
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
15999
15109
  if (v == null)
16000
15110
  continue;
16001
15111
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
16002
15112
  }
16003
15113
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
16004
- _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
16005
15114
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
16006
- let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
16007
- if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
16008
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
16009
- }
16010
- else if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
16011
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]) {
16012
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array =
16013
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"];
16014
- }
16015
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
15115
+ const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
15116
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
16016
15117
  if (v == null)
16017
15118
  continue;
16018
15119
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
16019
15120
  }
16020
15121
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
16021
- _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
16022
15122
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
16023
- let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
16024
- if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
16025
- _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
16026
- }
16027
- else if (_gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
16028
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]) {
16029
- _gCVTegXxWWCw6wWRxa1QF65zusg__array =
16030
- _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"];
16031
- }
16032
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
15123
+ const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
15124
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
16033
15125
  if (v == null)
16034
15126
  continue;
16035
15127
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -16099,7 +15191,6 @@ export class Link {
16099
15191
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
16100
15192
  }
16101
15193
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
16102
- _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
16103
15194
  return instance;
16104
15195
  }
16105
15196
  _getCustomInspectProxy() {
@@ -17067,16 +16158,8 @@ export class OrderedCollection extends Collection {
17067
16158
  throw new TypeError("Unexpected type: " + instance.constructor.name);
17068
16159
  }
17069
16160
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
17070
- let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
17071
- if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
17072
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
17073
- }
17074
- else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
17075
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
17076
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
17077
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
17078
- }
17079
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
16161
+ const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
16162
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
17080
16163
  if (v == null)
17081
16164
  continue;
17082
16165
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17087,7 +16170,6 @@ export class OrderedCollection extends Collection {
17087
16170
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
17088
16171
  }
17089
16172
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
17090
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
17091
16173
  return instance;
17092
16174
  }
17093
16175
  _getCustomInspectProxy() {
@@ -17255,22 +16337,13 @@ export class OrderedCollectionPage extends CollectionPage {
17255
16337
  throw new TypeError("Unexpected type: " + instance.constructor.name);
17256
16338
  }
17257
16339
  const _2W4yinFwqmpneu2h4m1mZ3pcLADd = [];
17258
- let _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
17259
- if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array == null) {
17260
- _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
17261
- }
17262
- else if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array.length === 1 &&
17263
- "@list" in _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]) {
17264
- _2W4yinFwqmpneu2h4m1mZ3pcLADd__array =
17265
- _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]["@list"];
17266
- }
17267
- for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
16340
+ const _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
16341
+ for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array ?? []) {
17268
16342
  if (v == null)
17269
16343
  continue;
17270
16344
  _2W4yinFwqmpneu2h4m1mZ3pcLADd.push(v["@value"]);
17271
16345
  }
17272
16346
  instance.#_2W4yinFwqmpneu2h4m1mZ3pcLADd = _2W4yinFwqmpneu2h4m1mZ3pcLADd;
17273
- _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
17274
16347
  return instance;
17275
16348
  }
17276
16349
  _getCustomInspectProxy() {
@@ -18679,16 +17752,8 @@ export class Organization extends Object {
18679
17752
  throw new TypeError("Unexpected type: " + instance.constructor.name);
18680
17753
  }
18681
17754
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
18682
- let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
18683
- if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
18684
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
18685
- }
18686
- else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
18687
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
18688
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
18689
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
18690
- }
18691
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
17755
+ const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
17756
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
18692
17757
  if (v == null)
18693
17758
  continue;
18694
17759
  const decoded = typeof v === "object" && "@value" in v &&
@@ -18704,18 +17769,9 @@ export class Organization extends Object {
18704
17769
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
18705
17770
  }
18706
17771
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
18707
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
18708
17772
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
18709
- let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
18710
- if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
18711
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
18712
- }
18713
- else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
18714
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
18715
- _axq166E2eZADq34V4MYUc8KMZdC__array =
18716
- _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
18717
- }
18718
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
17773
+ const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
17774
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
18719
17775
  if (v == null)
18720
17776
  continue;
18721
17777
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18726,18 +17782,9 @@ export class Organization extends Object {
18726
17782
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
18727
17783
  }
18728
17784
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
18729
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
18730
17785
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
18731
- let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
18732
- if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
18733
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
18734
- }
18735
- else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
18736
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
18737
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
18738
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
18739
- }
18740
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
17786
+ const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
17787
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
18741
17788
  if (v == null)
18742
17789
  continue;
18743
17790
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18748,35 +17795,17 @@ export class Organization extends Object {
18748
17795
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
18749
17796
  }
18750
17797
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
18751
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
18752
17798
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
18753
- let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
18754
- if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
18755
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
18756
- }
18757
- else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
18758
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
18759
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
18760
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
18761
- }
18762
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
17799
+ const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
17800
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
18763
17801
  if (v == null)
18764
17802
  continue;
18765
17803
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
18766
17804
  }
18767
17805
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
18768
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
18769
17806
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
18770
- let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
18771
- if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
18772
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
18773
- }
18774
- else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
18775
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
18776
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
18777
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
18778
- }
18779
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
17807
+ const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
17808
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
18780
17809
  if (v == null)
18781
17810
  continue;
18782
17811
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18787,18 +17816,9 @@ export class Organization extends Object {
18787
17816
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
18788
17817
  }
18789
17818
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
18790
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
18791
17819
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
18792
- let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
18793
- if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
18794
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
18795
- }
18796
- else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
18797
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
18798
- _41QwhqJouoLg3h8dRPKat21brynC__array =
18799
- _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
18800
- }
18801
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
17820
+ const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
17821
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
18802
17822
  if (v == null)
18803
17823
  continue;
18804
17824
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18809,18 +17829,9 @@ export class Organization extends Object {
18809
17829
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
18810
17830
  }
18811
17831
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
18812
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
18813
17832
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
18814
- let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
18815
- if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
18816
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
18817
- }
18818
- else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
18819
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
18820
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
18821
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
18822
- }
18823
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
17833
+ const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
17834
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
18824
17835
  if (v == null)
18825
17836
  continue;
18826
17837
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18831,18 +17842,9 @@ export class Organization extends Object {
18831
17842
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
18832
17843
  }
18833
17844
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
18834
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
18835
17845
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
18836
- let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
18837
- if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
18838
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
18839
- }
18840
- else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
18841
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
18842
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
18843
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
18844
- }
18845
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
17846
+ const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
17847
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
18846
17848
  if (v == null)
18847
17849
  continue;
18848
17850
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18853,18 +17855,9 @@ export class Organization extends Object {
18853
17855
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
18854
17856
  }
18855
17857
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
18856
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
18857
17858
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
18858
- let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
18859
- if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
18860
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
18861
- }
18862
- else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
18863
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
18864
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
18865
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
18866
- }
18867
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
17859
+ const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
17860
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
18868
17861
  if (v == null)
18869
17862
  continue;
18870
17863
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18875,18 +17868,9 @@ export class Organization extends Object {
18875
17868
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
18876
17869
  }
18877
17870
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
18878
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
18879
17871
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
18880
- let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
18881
- if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
18882
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
18883
- }
18884
- else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
18885
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
18886
- _4N1vBJzXDf8NbBumeECQMFvKetja__array =
18887
- _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
18888
- }
18889
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
17872
+ const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
17873
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
18890
17874
  if (v == null)
18891
17875
  continue;
18892
17876
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18897,18 +17881,9 @@ export class Organization extends Object {
18897
17881
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
18898
17882
  }
18899
17883
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
18900
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
18901
17884
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
18902
- let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
18903
- if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
18904
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
18905
- }
18906
- else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
18907
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
18908
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
18909
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
18910
- }
18911
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
17885
+ const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
17886
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
18912
17887
  if (v == null)
18913
17888
  continue;
18914
17889
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18919,92 +17894,46 @@ export class Organization extends Object {
18919
17894
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
18920
17895
  }
18921
17896
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
18922
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
18923
17897
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
18924
- let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
18925
- if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
18926
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
18927
- }
18928
- else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
18929
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
18930
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
18931
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
18932
- }
18933
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
17898
+ const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
17899
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
18934
17900
  if (v == null)
18935
17901
  continue;
18936
17902
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
18937
17903
  }
18938
17904
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
18939
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
18940
17905
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
18941
- let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
18942
- if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
18943
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
18944
- }
18945
- else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
18946
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
18947
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
18948
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
18949
- }
18950
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
17906
+ const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
17907
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
18951
17908
  if (v == null)
18952
17909
  continue;
18953
17910
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
18954
17911
  }
18955
17912
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
18956
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
18957
17913
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
18958
- let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
18959
- if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
18960
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
18961
- }
18962
- else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
18963
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
18964
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
18965
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
18966
- }
18967
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
17914
+ const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
17915
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
18968
17916
  if (v == null)
18969
17917
  continue;
18970
17918
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
18971
17919
  }
18972
17920
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
18973
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
18974
17921
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
18975
- let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
18976
- if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
18977
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
18978
- }
18979
- else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
18980
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
18981
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
18982
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
18983
- }
18984
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
17922
+ const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
17923
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
18985
17924
  if (v == null)
18986
17925
  continue;
18987
17926
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
18988
17927
  }
18989
17928
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
18990
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
18991
17929
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
18992
- let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
18993
- if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
18994
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
18995
- }
18996
- else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
18997
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
18998
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
18999
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
19000
- }
19001
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
17930
+ const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
17931
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
19002
17932
  if (v == null)
19003
17933
  continue;
19004
17934
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
19005
17935
  }
19006
17936
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
19007
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
19008
17937
  return instance;
19009
17938
  }
19010
17939
  _getCustomInspectProxy() {
@@ -20705,16 +19634,8 @@ export class Person extends Object {
20705
19634
  throw new TypeError("Unexpected type: " + instance.constructor.name);
20706
19635
  }
20707
19636
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
20708
- let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
20709
- if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
20710
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
20711
- }
20712
- else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
20713
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
20714
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
20715
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
20716
- }
20717
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
19637
+ const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
19638
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
20718
19639
  if (v == null)
20719
19640
  continue;
20720
19641
  const decoded = typeof v === "object" && "@value" in v &&
@@ -20730,18 +19651,9 @@ export class Person extends Object {
20730
19651
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
20731
19652
  }
20732
19653
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
20733
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
20734
19654
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
20735
- let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
20736
- if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
20737
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
20738
- }
20739
- else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
20740
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
20741
- _axq166E2eZADq34V4MYUc8KMZdC__array =
20742
- _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
20743
- }
20744
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
19655
+ const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
19656
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
20745
19657
  if (v == null)
20746
19658
  continue;
20747
19659
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20752,18 +19664,9 @@ export class Person extends Object {
20752
19664
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
20753
19665
  }
20754
19666
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
20755
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
20756
19667
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
20757
- let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
20758
- if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
20759
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
20760
- }
20761
- else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
20762
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
20763
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
20764
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
20765
- }
20766
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
19668
+ const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
19669
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
20767
19670
  if (v == null)
20768
19671
  continue;
20769
19672
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20774,35 +19677,17 @@ export class Person extends Object {
20774
19677
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
20775
19678
  }
20776
19679
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
20777
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
20778
19680
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
20779
- let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
20780
- if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
20781
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
20782
- }
20783
- else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
20784
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
20785
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
20786
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
20787
- }
20788
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
19681
+ const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
19682
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
20789
19683
  if (v == null)
20790
19684
  continue;
20791
19685
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
20792
19686
  }
20793
19687
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
20794
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
20795
19688
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
20796
- let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
20797
- if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
20798
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
20799
- }
20800
- else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
20801
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
20802
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
20803
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
20804
- }
20805
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
19689
+ const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
19690
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
20806
19691
  if (v == null)
20807
19692
  continue;
20808
19693
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20813,18 +19698,9 @@ export class Person extends Object {
20813
19698
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
20814
19699
  }
20815
19700
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
20816
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
20817
19701
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
20818
- let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
20819
- if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
20820
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
20821
- }
20822
- else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
20823
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
20824
- _41QwhqJouoLg3h8dRPKat21brynC__array =
20825
- _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
20826
- }
20827
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
19702
+ const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
19703
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
20828
19704
  if (v == null)
20829
19705
  continue;
20830
19706
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20835,18 +19711,9 @@ export class Person extends Object {
20835
19711
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
20836
19712
  }
20837
19713
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
20838
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
20839
19714
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
20840
- let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
20841
- if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
20842
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
20843
- }
20844
- else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
20845
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
20846
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
20847
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
20848
- }
20849
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
19715
+ const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
19716
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
20850
19717
  if (v == null)
20851
19718
  continue;
20852
19719
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20857,18 +19724,9 @@ export class Person extends Object {
20857
19724
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
20858
19725
  }
20859
19726
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
20860
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
20861
19727
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
20862
- let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
20863
- if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
20864
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
20865
- }
20866
- else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
20867
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
20868
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
20869
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
20870
- }
20871
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
19728
+ const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
19729
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
20872
19730
  if (v == null)
20873
19731
  continue;
20874
19732
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20879,18 +19737,9 @@ export class Person extends Object {
20879
19737
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
20880
19738
  }
20881
19739
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
20882
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
20883
19740
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
20884
- let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
20885
- if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
20886
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
20887
- }
20888
- else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
20889
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
20890
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
20891
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
20892
- }
20893
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
19741
+ const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
19742
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
20894
19743
  if (v == null)
20895
19744
  continue;
20896
19745
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20901,18 +19750,9 @@ export class Person extends Object {
20901
19750
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
20902
19751
  }
20903
19752
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
20904
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
20905
19753
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
20906
- let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
20907
- if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
20908
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
20909
- }
20910
- else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
20911
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
20912
- _4N1vBJzXDf8NbBumeECQMFvKetja__array =
20913
- _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
20914
- }
20915
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
19754
+ const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
19755
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
20916
19756
  if (v == null)
20917
19757
  continue;
20918
19758
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20923,18 +19763,9 @@ export class Person extends Object {
20923
19763
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
20924
19764
  }
20925
19765
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
20926
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
20927
19766
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
20928
- let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
20929
- if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
20930
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
20931
- }
20932
- else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
20933
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
20934
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
20935
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
20936
- }
20937
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
19767
+ const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
19768
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
20938
19769
  if (v == null)
20939
19770
  continue;
20940
19771
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20945,92 +19776,46 @@ export class Person extends Object {
20945
19776
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
20946
19777
  }
20947
19778
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
20948
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
20949
19779
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
20950
- let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
20951
- if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
20952
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
20953
- }
20954
- else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
20955
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
20956
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
20957
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
20958
- }
20959
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
19780
+ const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
19781
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
20960
19782
  if (v == null)
20961
19783
  continue;
20962
19784
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
20963
19785
  }
20964
19786
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
20965
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
20966
19787
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
20967
- let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
20968
- if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
20969
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
20970
- }
20971
- else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
20972
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
20973
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
20974
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
20975
- }
20976
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
19788
+ const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
19789
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
20977
19790
  if (v == null)
20978
19791
  continue;
20979
19792
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
20980
19793
  }
20981
19794
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
20982
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
20983
19795
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
20984
- let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
20985
- if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
20986
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
20987
- }
20988
- else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
20989
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
20990
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
20991
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
20992
- }
20993
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
19796
+ const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
19797
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
20994
19798
  if (v == null)
20995
19799
  continue;
20996
19800
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
20997
19801
  }
20998
19802
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
20999
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
21000
19803
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
21001
- let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
21002
- if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
21003
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
21004
- }
21005
- else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
21006
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
21007
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
21008
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
21009
- }
21010
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
19804
+ const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
19805
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
21011
19806
  if (v == null)
21012
19807
  continue;
21013
19808
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
21014
19809
  }
21015
19810
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
21016
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
21017
19811
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
21018
- let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
21019
- if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
21020
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
21021
- }
21022
- else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
21023
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
21024
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
21025
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
21026
- }
21027
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
19812
+ const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
19813
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
21028
19814
  if (v == null)
21029
19815
  continue;
21030
19816
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
21031
19817
  }
21032
19818
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
21033
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
21034
19819
  return instance;
21035
19820
  }
21036
19821
  _getCustomInspectProxy() {
@@ -21591,101 +20376,48 @@ export class Place extends Object {
21591
20376
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21592
20377
  }
21593
20378
  const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = [];
21594
- let _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
21595
- if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array == null) {
21596
- _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
21597
- }
21598
- else if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array.length === 1 &&
21599
- "@list" in _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]) {
21600
- _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array =
21601
- _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]["@list"];
21602
- }
21603
- for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
20379
+ const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
20380
+ for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array ?? []) {
21604
20381
  if (v == null)
21605
20382
  continue;
21606
20383
  _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne.push(v["@value"]);
21607
20384
  }
21608
20385
  instance.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne;
21609
- _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
21610
20386
  const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi = [];
21611
- let _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
21612
- if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array == null) {
21613
- _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
21614
- }
21615
- else if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array.length === 1 &&
21616
- "@list" in _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]) {
21617
- _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array =
21618
- _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]["@list"];
21619
- }
21620
- for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
20387
+ const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
20388
+ for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array ?? []) {
21621
20389
  if (v == null)
21622
20390
  continue;
21623
20391
  _3Q6KDcFQUJRRaBux1BL2yp5QWiBi.push(v["@value"]);
21624
20392
  }
21625
20393
  instance.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi = _3Q6KDcFQUJRRaBux1BL2yp5QWiBi;
21626
- _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
21627
20394
  const _3g85RoKRnaNjP7DFyLSvsWDg7HGM = [];
21628
- let _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
21629
- if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array == null) {
21630
- _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
21631
- }
21632
- else if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array.length === 1 &&
21633
- "@list" in _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]) {
21634
- _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array =
21635
- _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]["@list"];
21636
- }
21637
- for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
20395
+ const _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
20396
+ for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array ?? []) {
21638
20397
  if (v == null)
21639
20398
  continue;
21640
20399
  _3g85RoKRnaNjP7DFyLSvsWDg7HGM.push(v["@value"]);
21641
20400
  }
21642
20401
  instance.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM = _3g85RoKRnaNjP7DFyLSvsWDg7HGM;
21643
- _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
21644
20402
  const _B2GEYdS9yBAF3ho1pm1rcRg7cSf = [];
21645
- let _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
21646
- if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array == null) {
21647
- _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
21648
- }
21649
- else if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array.length === 1 &&
21650
- "@list" in _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]) {
21651
- _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array =
21652
- _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]["@list"];
21653
- }
21654
- for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
20403
+ const _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
20404
+ for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array ?? []) {
21655
20405
  if (v == null)
21656
20406
  continue;
21657
20407
  _B2GEYdS9yBAF3ho1pm1rcRg7cSf.push(v["@value"]);
21658
20408
  }
21659
20409
  instance.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf = _B2GEYdS9yBAF3ho1pm1rcRg7cSf;
21660
- _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
21661
20410
  const _3ga86BKHUtRkGx5PHBjRiUXXzwnw = [];
21662
- let _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
21663
- if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array == null) {
21664
- _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
21665
- }
21666
- else if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array.length === 1 &&
21667
- "@list" in _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]) {
21668
- _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array =
21669
- _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]["@list"];
21670
- }
21671
- for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
20411
+ const _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
20412
+ for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array ?? []) {
21672
20413
  if (v == null)
21673
20414
  continue;
21674
20415
  _3ga86BKHUtRkGx5PHBjRiUXXzwnw.push(v["@value"]);
21675
20416
  }
21676
20417
  instance.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw = _3ga86BKHUtRkGx5PHBjRiUXXzwnw;
21677
- _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
21678
20418
  const _oKrwxU4V8wiKhMW1QEYQibcJh8c = [];
21679
- let _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
21680
- if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array == null) {
21681
- _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
21682
- }
21683
- else if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array.length === 1 &&
21684
- "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]) {
21685
- _oKrwxU4V8wiKhMW1QEYQibcJh8c__array =
21686
- _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]["@list"];
21687
- }
21688
- for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
20419
+ const _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
20420
+ for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array ?? []) {
21689
20421
  if (v == null)
21690
20422
  continue;
21691
20423
  const decoded = typeof v === "object" && "@value" in v &&
@@ -21702,7 +20434,6 @@ export class Place extends Object {
21702
20434
  _oKrwxU4V8wiKhMW1QEYQibcJh8c.push(decoded);
21703
20435
  }
21704
20436
  instance.#_oKrwxU4V8wiKhMW1QEYQibcJh8c = _oKrwxU4V8wiKhMW1QEYQibcJh8c;
21705
- _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
21706
20437
  return instance;
21707
20438
  }
21708
20439
  _getCustomInspectProxy() {
@@ -21972,16 +20703,8 @@ export class Profile extends Object {
21972
20703
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21973
20704
  }
21974
20705
  const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = [];
21975
- let _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
21976
- if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array == null) {
21977
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
21978
- }
21979
- else if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array.length === 1 &&
21980
- "@list" in _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]) {
21981
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array =
21982
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]["@list"];
21983
- }
21984
- for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
20706
+ const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
20707
+ for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array ?? []) {
21985
20708
  if (v == null)
21986
20709
  continue;
21987
20710
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21992,7 +20715,6 @@ export class Profile extends Object {
21992
20715
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(await Object.fromJsonLd(v, options));
21993
20716
  }
21994
20717
  instance.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1;
21995
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
21996
20718
  return instance;
21997
20719
  }
21998
20720
  _getCustomInspectProxy() {
@@ -22303,16 +21025,8 @@ export class Question extends IntransitiveActivity {
22303
21025
  throw new TypeError("Unexpected type: " + instance.constructor.name);
22304
21026
  }
22305
21027
  const _2N5scKaVEcdYHFmfKYYacAwUhUgQ = [];
22306
- let _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
22307
- if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array == null) {
22308
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
22309
- }
22310
- else if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array.length === 1 &&
22311
- "@list" in _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]) {
22312
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array =
22313
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]["@list"];
22314
- }
22315
- for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
21028
+ const _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
21029
+ for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array ?? []) {
22316
21030
  if (v == null)
22317
21031
  continue;
22318
21032
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22323,18 +21037,9 @@ export class Question extends IntransitiveActivity {
22323
21037
  _2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(await Object.fromJsonLd(v, options));
22324
21038
  }
22325
21039
  instance.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ = _2N5scKaVEcdYHFmfKYYacAwUhUgQ;
22326
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
22327
21040
  const _2mV6isMTPRKbWdLCjcpiEysq5dAY = [];
22328
- let _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
22329
- if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array == null) {
22330
- _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
22331
- }
22332
- else if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array.length === 1 &&
22333
- "@list" in _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]) {
22334
- _2mV6isMTPRKbWdLCjcpiEysq5dAY__array =
22335
- _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]["@list"];
22336
- }
22337
- for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
21041
+ const _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
21042
+ for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array ?? []) {
22338
21043
  if (v == null)
22339
21044
  continue;
22340
21045
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22345,7 +21050,6 @@ export class Question extends IntransitiveActivity {
22345
21050
  _2mV6isMTPRKbWdLCjcpiEysq5dAY.push(await Object.fromJsonLd(v, options));
22346
21051
  }
22347
21052
  instance.#_2mV6isMTPRKbWdLCjcpiEysq5dAY = _2mV6isMTPRKbWdLCjcpiEysq5dAY;
22348
- _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
22349
21053
  return instance;
22350
21054
  }
22351
21055
  _getCustomInspectProxy() {
@@ -22984,16 +21688,8 @@ export class Relationship extends Object {
22984
21688
  throw new TypeError("Unexpected type: " + instance.constructor.name);
22985
21689
  }
22986
21690
  const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq = [];
22987
- let _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
22988
- if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array == null) {
22989
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
22990
- }
22991
- else if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array.length === 1 &&
22992
- "@list" in _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]) {
22993
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array =
22994
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]["@list"];
22995
- }
22996
- for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
21691
+ const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
21692
+ for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array ?? []) {
22997
21693
  if (v == null)
22998
21694
  continue;
22999
21695
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23004,18 +21700,9 @@ export class Relationship extends Object {
23004
21700
  _2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(await Object.fromJsonLd(v, options));
23005
21701
  }
23006
21702
  instance.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq = _2Zqdmi46ZnDQsECS6mzwhrv3rUKq;
23007
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
23008
21703
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
23009
- let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
23010
- if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
23011
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
23012
- }
23013
- else if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
23014
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]) {
23015
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array =
23016
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"];
23017
- }
23018
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
21704
+ const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
21705
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
23019
21706
  if (v == null)
23020
21707
  continue;
23021
21708
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23026,18 +21713,9 @@ export class Relationship extends Object {
23026
21713
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
23027
21714
  }
23028
21715
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
23029
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
23030
21716
  const _4Lzz89F9qipAQSGkWyX9DGWiUojG = [];
23031
- let _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
23032
- if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array == null) {
23033
- _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
23034
- }
23035
- else if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array.length === 1 &&
23036
- "@list" in _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]) {
23037
- _4Lzz89F9qipAQSGkWyX9DGWiUojG__array =
23038
- _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]["@list"];
23039
- }
23040
- for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
21717
+ const _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
21718
+ for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array ?? []) {
23041
21719
  if (v == null)
23042
21720
  continue;
23043
21721
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23048,7 +21726,6 @@ export class Relationship extends Object {
23048
21726
  _4Lzz89F9qipAQSGkWyX9DGWiUojG.push(await Object.fromJsonLd(v, options));
23049
21727
  }
23050
21728
  instance.#_4Lzz89F9qipAQSGkWyX9DGWiUojG = _4Lzz89F9qipAQSGkWyX9DGWiUojG;
23051
- _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
23052
21729
  return instance;
23053
21730
  }
23054
21731
  _getCustomInspectProxy() {
@@ -24600,16 +23277,8 @@ export class Service extends Object {
24600
23277
  throw new TypeError("Unexpected type: " + instance.constructor.name);
24601
23278
  }
24602
23279
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
24603
- let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
24604
- if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
24605
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
24606
- }
24607
- else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
24608
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
24609
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
24610
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
24611
- }
24612
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
23280
+ const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
23281
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
24613
23282
  if (v == null)
24614
23283
  continue;
24615
23284
  const decoded = typeof v === "object" && "@value" in v &&
@@ -24625,18 +23294,9 @@ export class Service extends Object {
24625
23294
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
24626
23295
  }
24627
23296
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
24628
- _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
24629
23297
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
24630
- let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
24631
- if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
24632
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
24633
- }
24634
- else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
24635
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
24636
- _axq166E2eZADq34V4MYUc8KMZdC__array =
24637
- _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
24638
- }
24639
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
23298
+ const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
23299
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
24640
23300
  if (v == null)
24641
23301
  continue;
24642
23302
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24647,18 +23307,9 @@ export class Service extends Object {
24647
23307
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
24648
23308
  }
24649
23309
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
24650
- _axq166E2eZADq34V4MYUc8KMZdC__array = [];
24651
23310
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
24652
- let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
24653
- if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
24654
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
24655
- }
24656
- else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
24657
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
24658
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
24659
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
24660
- }
24661
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
23311
+ const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
23312
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
24662
23313
  if (v == null)
24663
23314
  continue;
24664
23315
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24669,35 +23320,17 @@ export class Service extends Object {
24669
23320
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
24670
23321
  }
24671
23322
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
24672
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
24673
23323
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
24674
- let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
24675
- if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
24676
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
24677
- }
24678
- else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
24679
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
24680
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
24681
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
24682
- }
24683
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
23324
+ const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
23325
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
24684
23326
  if (v == null)
24685
23327
  continue;
24686
23328
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
24687
23329
  }
24688
23330
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
24689
- _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
24690
23331
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
24691
- let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
24692
- if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
24693
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
24694
- }
24695
- else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
24696
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
24697
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
24698
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
24699
- }
24700
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
23332
+ const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
23333
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
24701
23334
  if (v == null)
24702
23335
  continue;
24703
23336
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24708,18 +23341,9 @@ export class Service extends Object {
24708
23341
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
24709
23342
  }
24710
23343
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
24711
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
24712
23344
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
24713
- let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
24714
- if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
24715
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
24716
- }
24717
- else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
24718
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
24719
- _41QwhqJouoLg3h8dRPKat21brynC__array =
24720
- _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
24721
- }
24722
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
23345
+ const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
23346
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
24723
23347
  if (v == null)
24724
23348
  continue;
24725
23349
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24730,18 +23354,9 @@ export class Service extends Object {
24730
23354
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
24731
23355
  }
24732
23356
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
24733
- _41QwhqJouoLg3h8dRPKat21brynC__array = [];
24734
23357
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
24735
- let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
24736
- if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
24737
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
24738
- }
24739
- else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
24740
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
24741
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
24742
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
24743
- }
24744
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
23358
+ const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
23359
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
24745
23360
  if (v == null)
24746
23361
  continue;
24747
23362
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24752,18 +23367,9 @@ export class Service extends Object {
24752
23367
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
24753
23368
  }
24754
23369
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
24755
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
24756
23370
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
24757
- let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
24758
- if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
24759
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
24760
- }
24761
- else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
24762
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
24763
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
24764
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
24765
- }
24766
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
23371
+ const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
23372
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
24767
23373
  if (v == null)
24768
23374
  continue;
24769
23375
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24774,18 +23380,9 @@ export class Service extends Object {
24774
23380
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
24775
23381
  }
24776
23382
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
24777
- _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
24778
23383
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
24779
- let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
24780
- if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
24781
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
24782
- }
24783
- else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
24784
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
24785
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
24786
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
24787
- }
24788
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
23384
+ const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
23385
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
24789
23386
  if (v == null)
24790
23387
  continue;
24791
23388
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24796,18 +23393,9 @@ export class Service extends Object {
24796
23393
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
24797
23394
  }
24798
23395
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
24799
- _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
24800
23396
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
24801
- let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
24802
- if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
24803
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
24804
- }
24805
- else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
24806
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
24807
- _4N1vBJzXDf8NbBumeECQMFvKetja__array =
24808
- _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
24809
- }
24810
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
23397
+ const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
23398
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
24811
23399
  if (v == null)
24812
23400
  continue;
24813
23401
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24818,18 +23406,9 @@ export class Service extends Object {
24818
23406
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
24819
23407
  }
24820
23408
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
24821
- _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
24822
23409
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
24823
- let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
24824
- if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
24825
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
24826
- }
24827
- else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
24828
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
24829
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
24830
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
24831
- }
24832
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
23410
+ const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
23411
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
24833
23412
  if (v == null)
24834
23413
  continue;
24835
23414
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24840,92 +23419,46 @@ export class Service extends Object {
24840
23419
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
24841
23420
  }
24842
23421
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
24843
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
24844
23422
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
24845
- let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
24846
- if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
24847
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
24848
- }
24849
- else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
24850
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
24851
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
24852
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
24853
- }
24854
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
23423
+ const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
23424
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
24855
23425
  if (v == null)
24856
23426
  continue;
24857
23427
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
24858
23428
  }
24859
23429
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
24860
- _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
24861
23430
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
24862
- let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
24863
- if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
24864
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
24865
- }
24866
- else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
24867
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
24868
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
24869
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
24870
- }
24871
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
23431
+ const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
23432
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
24872
23433
  if (v == null)
24873
23434
  continue;
24874
23435
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
24875
23436
  }
24876
23437
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
24877
- _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
24878
23438
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
24879
- let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
24880
- if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
24881
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
24882
- }
24883
- else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
24884
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
24885
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
24886
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
24887
- }
24888
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
23439
+ const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
23440
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
24889
23441
  if (v == null)
24890
23442
  continue;
24891
23443
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
24892
23444
  }
24893
23445
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
24894
- _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
24895
23446
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
24896
- let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
24897
- if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
24898
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
24899
- }
24900
- else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
24901
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
24902
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
24903
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
24904
- }
24905
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
23447
+ const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
23448
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
24906
23449
  if (v == null)
24907
23450
  continue;
24908
23451
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
24909
23452
  }
24910
23453
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
24911
- _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
24912
23454
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
24913
- let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
24914
- if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
24915
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
24916
- }
24917
- else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
24918
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
24919
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
24920
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
24921
- }
24922
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
23455
+ const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
23456
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
24923
23457
  if (v == null)
24924
23458
  continue;
24925
23459
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
24926
23460
  }
24927
23461
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
24928
- _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
24929
23462
  return instance;
24930
23463
  }
24931
23464
  _getCustomInspectProxy() {
@@ -25273,22 +23806,13 @@ export class Tombstone extends Object {
25273
23806
  throw new TypeError("Unexpected type: " + instance.constructor.name);
25274
23807
  }
25275
23808
  const _8g8g4LiVMhFTXskuDEqx4ascxUr = [];
25276
- let _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
25277
- if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array == null) {
25278
- _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
25279
- }
25280
- else if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array.length === 1 &&
25281
- "@list" in _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]) {
25282
- _8g8g4LiVMhFTXskuDEqx4ascxUr__array =
25283
- _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]["@list"];
25284
- }
25285
- for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
23809
+ const _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
23810
+ for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array ?? []) {
25286
23811
  if (v == null)
25287
23812
  continue;
25288
23813
  _8g8g4LiVMhFTXskuDEqx4ascxUr.push(dntShim.Temporal.Instant.from(v["@value"]));
25289
23814
  }
25290
23815
  instance.#_8g8g4LiVMhFTXskuDEqx4ascxUr = _8g8g4LiVMhFTXskuDEqx4ascxUr;
25291
- _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
25292
23816
  return instance;
25293
23817
  }
25294
23818
  _getCustomInspectProxy() {