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

Sign up to get free protection for your applications and to get access to all the features.
@@ -3257,12 +3257,7 @@ export class Object {
3257
3257
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
3258
3258
  const _49BipA5dq9eoH8LX8xdsVumveTca = [];
3259
3259
  const _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
- for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array == null
3261
- ? []
3262
- : _49BipA5dq9eoH8LX8xdsVumveTca__array.length === 1 &&
3263
- "@list" in _49BipA5dq9eoH8LX8xdsVumveTca__array[0]
3264
- ? _49BipA5dq9eoH8LX8xdsVumveTca__array[0]["@list"]
3265
- : _49BipA5dq9eoH8LX8xdsVumveTca__array) {
3260
+ for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array ?? []) {
3266
3261
  if (v == null)
3267
3262
  continue;
3268
3263
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3338,12 +3333,7 @@ export class Object {
3338
3333
  instance.#_49BipA5dq9eoH8LX8xdsVumveTca = _49BipA5dq9eoH8LX8xdsVumveTca;
3339
3334
  const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = [];
3340
3335
  const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3341
- for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array == null
3342
- ? []
3343
- : _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array.length === 1 &&
3344
- "@list" in _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]
3345
- ? _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]["@list"]
3346
- : _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
3336
+ for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array ?? []) {
3347
3337
  if (v == null)
3348
3338
  continue;
3349
3339
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3379,12 +3369,7 @@ export class Object {
3379
3369
  instance.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py;
3380
3370
  const _3ocC3VVi88cEd5sPWL8djkZsvTN6 = [];
3381
3371
  const _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3382
- for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array == null
3383
- ? []
3384
- : _3ocC3VVi88cEd5sPWL8djkZsvTN6__array.length === 1 &&
3385
- "@list" in _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]
3386
- ? _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]["@list"]
3387
- : _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
3372
+ for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array ?? []) {
3388
3373
  if (v == null)
3389
3374
  continue;
3390
3375
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3397,12 +3382,7 @@ export class Object {
3397
3382
  instance.#_3ocC3VVi88cEd5sPWL8djkZsvTN6 = _3ocC3VVi88cEd5sPWL8djkZsvTN6;
3398
3383
  const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = [];
3399
3384
  const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3400
- for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array == null
3401
- ? []
3402
- : _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array.length === 1 &&
3403
- "@list" in _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]
3404
- ? _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]["@list"]
3405
- : _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
3385
+ for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array ?? []) {
3406
3386
  if (v == null)
3407
3387
  continue;
3408
3388
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3420,12 +3400,7 @@ export class Object {
3420
3400
  instance.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz;
3421
3401
  const _3mhZzGXSpQ431mBSz2kvych22v4e = [];
3422
3402
  const _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3423
- for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array == null
3424
- ? []
3425
- : _3mhZzGXSpQ431mBSz2kvych22v4e__array.length === 1 &&
3426
- "@list" in _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]
3427
- ? _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]["@list"]
3428
- : _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
3403
+ for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array ?? []) {
3429
3404
  if (v == null)
3430
3405
  continue;
3431
3406
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3497,12 +3472,7 @@ export class Object {
3497
3472
  instance.#_3mhZzGXSpQ431mBSz2kvych22v4e = _3mhZzGXSpQ431mBSz2kvych22v4e;
3498
3473
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
3499
3474
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3500
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
3501
- ? []
3502
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
3503
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
3504
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
3505
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
3475
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
3506
3476
  if (v == null)
3507
3477
  continue;
3508
3478
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3520,12 +3490,7 @@ export class Object {
3520
3490
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
3521
3491
  const _219RwDanjScTv5tYCjwGZVCM7KZ9 = [];
3522
3492
  const _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3523
- for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array == null
3524
- ? []
3525
- : _219RwDanjScTv5tYCjwGZVCM7KZ9__array.length === 1 &&
3526
- "@list" in _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]
3527
- ? _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]["@list"]
3528
- : _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
3493
+ for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array ?? []) {
3529
3494
  if (v == null)
3530
3495
  continue;
3531
3496
  _219RwDanjScTv5tYCjwGZVCM7KZ9.push(dntShim.Temporal.Instant.from(v["@value"]));
@@ -3533,12 +3498,7 @@ export class Object {
3533
3498
  instance.#_219RwDanjScTv5tYCjwGZVCM7KZ9 = _219RwDanjScTv5tYCjwGZVCM7KZ9;
3534
3499
  const _86xFhmgBapoMvYqjbjRuDPayTrS = [];
3535
3500
  const _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3536
- for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array == null
3537
- ? []
3538
- : _86xFhmgBapoMvYqjbjRuDPayTrS__array.length === 1 &&
3539
- "@list" in _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]
3540
- ? _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]["@list"]
3541
- : _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
3501
+ for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array ?? []) {
3542
3502
  if (v == null)
3543
3503
  continue;
3544
3504
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3610,12 +3570,7 @@ export class Object {
3610
3570
  instance.#_86xFhmgBapoMvYqjbjRuDPayTrS = _86xFhmgBapoMvYqjbjRuDPayTrS;
3611
3571
  const _33CjRLy5ujtsUrwRSCrsggvGdKuR = [];
3612
3572
  const _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3613
- for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array == null
3614
- ? []
3615
- : _33CjRLy5ujtsUrwRSCrsggvGdKuR__array.length === 1 &&
3616
- "@list" in _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]
3617
- ? _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]["@list"]
3618
- : _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
3573
+ for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array ?? []) {
3619
3574
  if (v == null)
3620
3575
  continue;
3621
3576
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3628,12 +3583,7 @@ export class Object {
3628
3583
  instance.#_33CjRLy5ujtsUrwRSCrsggvGdKuR = _33CjRLy5ujtsUrwRSCrsggvGdKuR;
3629
3584
  const _3dXrUdkARxwyJLtJcYi1AJ92H41U = [];
3630
3585
  const _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3631
- for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array == null
3632
- ? []
3633
- : _3dXrUdkARxwyJLtJcYi1AJ92H41U__array.length === 1 &&
3634
- "@list" in _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]
3635
- ? _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]["@list"]
3636
- : _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
3586
+ for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array ?? []) {
3637
3587
  if (v == null)
3638
3588
  continue;
3639
3589
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3646,12 +3596,7 @@ export class Object {
3646
3596
  instance.#_3dXrUdkARxwyJLtJcYi1AJ92H41U = _3dXrUdkARxwyJLtJcYi1AJ92H41U;
3647
3597
  const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s = [];
3648
3598
  const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3649
- for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array == null
3650
- ? []
3651
- : _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array.length === 1 &&
3652
- "@list" in _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]
3653
- ? _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]["@list"]
3654
- : _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
3599
+ for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array ?? []) {
3655
3600
  if (v == null)
3656
3601
  continue;
3657
3602
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3723,12 +3668,7 @@ export class Object {
3723
3668
  instance.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s = _3fpbDrvZgf3Kq1a5V9aByFn8kx3s;
3724
3669
  const _31k5MUZJsnsPNg8dQQJieWaXTFnR = [];
3725
3670
  const _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3726
- for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array == null
3727
- ? []
3728
- : _31k5MUZJsnsPNg8dQQJieWaXTFnR__array.length === 1 &&
3729
- "@list" in _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]
3730
- ? _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]["@list"]
3731
- : _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
3671
+ for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array ?? []) {
3732
3672
  if (v == null)
3733
3673
  continue;
3734
3674
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3800,12 +3740,7 @@ export class Object {
3800
3740
  instance.#_31k5MUZJsnsPNg8dQQJieWaXTFnR = _31k5MUZJsnsPNg8dQQJieWaXTFnR;
3801
3741
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
3802
3742
  const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3803
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array == null
3804
- ? []
3805
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
3806
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]
3807
- ? _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"]
3808
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
3743
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
3809
3744
  if (v == null)
3810
3745
  continue;
3811
3746
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3877,12 +3812,7 @@ export class Object {
3877
3812
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
3878
3813
  const _5e258TDXtuhaFRPZiGoDfEpjdMr = [];
3879
3814
  const _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3880
- for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array == null
3881
- ? []
3882
- : _5e258TDXtuhaFRPZiGoDfEpjdMr__array.length === 1 &&
3883
- "@list" in _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]
3884
- ? _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]["@list"]
3885
- : _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
3815
+ for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array ?? []) {
3886
3816
  if (v == null)
3887
3817
  continue;
3888
3818
  _5e258TDXtuhaFRPZiGoDfEpjdMr.push(dntShim.Temporal.Instant.from(v["@value"]));
@@ -3890,12 +3820,7 @@ export class Object {
3890
3820
  instance.#_5e258TDXtuhaFRPZiGoDfEpjdMr = _5e258TDXtuhaFRPZiGoDfEpjdMr;
3891
3821
  const _7UpwM3JWcXhADcscukEehBorf6k = [];
3892
3822
  const _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3893
- for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array == null
3894
- ? []
3895
- : _7UpwM3JWcXhADcscukEehBorf6k__array.length === 1 &&
3896
- "@list" in _7UpwM3JWcXhADcscukEehBorf6k__array[0]
3897
- ? _7UpwM3JWcXhADcscukEehBorf6k__array[0]["@list"]
3898
- : _7UpwM3JWcXhADcscukEehBorf6k__array) {
3823
+ for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array ?? []) {
3899
3824
  if (v == null)
3900
3825
  continue;
3901
3826
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3908,12 +3833,7 @@ export class Object {
3908
3833
  instance.#_7UpwM3JWcXhADcscukEehBorf6k = _7UpwM3JWcXhADcscukEehBorf6k;
3909
3834
  const _2w3Jmue4up8iVDUA51WZqomEF438 = [];
3910
3835
  const _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3911
- for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array == null
3912
- ? []
3913
- : _2w3Jmue4up8iVDUA51WZqomEF438__array.length === 1 &&
3914
- "@list" in _2w3Jmue4up8iVDUA51WZqomEF438__array[0]
3915
- ? _2w3Jmue4up8iVDUA51WZqomEF438__array[0]["@list"]
3916
- : _2w3Jmue4up8iVDUA51WZqomEF438__array) {
3836
+ for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array ?? []) {
3917
3837
  if (v == null)
3918
3838
  continue;
3919
3839
  _2w3Jmue4up8iVDUA51WZqomEF438.push(dntShim.Temporal.Instant.from(v["@value"]));
@@ -3921,12 +3841,7 @@ export class Object {
3921
3841
  instance.#_2w3Jmue4up8iVDUA51WZqomEF438 = _2w3Jmue4up8iVDUA51WZqomEF438;
3922
3842
  const _4LqirZspQbFWWQEbFcXAxm7tTDN1 = [];
3923
3843
  const _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3924
- for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array == null
3925
- ? []
3926
- : _4LqirZspQbFWWQEbFcXAxm7tTDN1__array.length === 1 &&
3927
- "@list" in _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]
3928
- ? _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]["@list"]
3929
- : _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
3844
+ for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array ?? []) {
3930
3845
  if (v == null)
3931
3846
  continue;
3932
3847
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3944,12 +3859,7 @@ export class Object {
3944
3859
  instance.#_4LqirZspQbFWWQEbFcXAxm7tTDN1 = _4LqirZspQbFWWQEbFcXAxm7tTDN1;
3945
3860
  const _5chuqj6s95p5gg2sk1HntGfarRf = [];
3946
3861
  const _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
3947
- for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array == null
3948
- ? []
3949
- : _5chuqj6s95p5gg2sk1HntGfarRf__array.length === 1 &&
3950
- "@list" in _5chuqj6s95p5gg2sk1HntGfarRf__array[0]
3951
- ? _5chuqj6s95p5gg2sk1HntGfarRf__array[0]["@list"]
3952
- : _5chuqj6s95p5gg2sk1HntGfarRf__array) {
3862
+ for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array ?? []) {
3953
3863
  if (v == null)
3954
3864
  continue;
3955
3865
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4021,12 +3931,7 @@ export class Object {
4021
3931
  instance.#_5chuqj6s95p5gg2sk1HntGfarRf = _5chuqj6s95p5gg2sk1HntGfarRf;
4022
3932
  const _385aB7ySixcf5Un6z3VsWmThgCzQ = [];
4023
3933
  const _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
4024
- for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array == null
4025
- ? []
4026
- : _385aB7ySixcf5Un6z3VsWmThgCzQ__array.length === 1 &&
4027
- "@list" in _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]
4028
- ? _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]["@list"]
4029
- : _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
3934
+ for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array ?? []) {
4030
3935
  if (v == null)
4031
3936
  continue;
4032
3937
  _385aB7ySixcf5Un6z3VsWmThgCzQ.push(dntShim.Temporal.Instant.from(v["@value"]));
@@ -4034,12 +3939,7 @@ export class Object {
4034
3939
  instance.#_385aB7ySixcf5Un6z3VsWmThgCzQ = _385aB7ySixcf5Un6z3VsWmThgCzQ;
4035
3940
  const _2oPEH9MQ3aj8JVwyYuWkqoVwV865 = [];
4036
3941
  const _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
4037
- for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array == null
4038
- ? []
4039
- : _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array.length === 1 &&
4040
- "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]
4041
- ? _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]["@list"]
4042
- : _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
3942
+ for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array ?? []) {
4043
3943
  if (v == null)
4044
3944
  continue;
4045
3945
  const decoded = typeof v === "object" && "@id" in v &&
@@ -4061,12 +3961,7 @@ export class Object {
4061
3961
  instance.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865 = _2oPEH9MQ3aj8JVwyYuWkqoVwV865;
4062
3962
  const _3hFbw7DTpHhq3cvVhkY8njhcsXbd = [];
4063
3963
  const _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
4064
- for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array == null
4065
- ? []
4066
- : _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array.length === 1 &&
4067
- "@list" in _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]
4068
- ? _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]["@list"]
4069
- : _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
3964
+ for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array ?? []) {
4070
3965
  if (v == null)
4071
3966
  continue;
4072
3967
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4079,12 +3974,7 @@ export class Object {
4079
3974
  instance.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd = _3hFbw7DTpHhq3cvVhkY8njhcsXbd;
4080
3975
  const _aLZupjwL8XB7tzdLgCMXdjZ6qej = [];
4081
3976
  const _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
4082
- for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array == null
4083
- ? []
4084
- : _aLZupjwL8XB7tzdLgCMXdjZ6qej__array.length === 1 &&
4085
- "@list" in _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]
4086
- ? _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]["@list"]
4087
- : _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
3977
+ for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array ?? []) {
4088
3978
  if (v == null)
4089
3979
  continue;
4090
3980
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4097,12 +3987,7 @@ export class Object {
4097
3987
  instance.#_aLZupjwL8XB7tzdLgCMXdjZ6qej = _aLZupjwL8XB7tzdLgCMXdjZ6qej;
4098
3988
  const _42a1SvBs24QSLzKcfjCyNTjW5a1g = [];
4099
3989
  const _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
4100
- for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array == null
4101
- ? []
4102
- : _42a1SvBs24QSLzKcfjCyNTjW5a1g__array.length === 1 &&
4103
- "@list" in _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]
4104
- ? _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]["@list"]
4105
- : _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
3990
+ for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array ?? []) {
4106
3991
  if (v == null)
4107
3992
  continue;
4108
3993
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4115,12 +4000,7 @@ export class Object {
4115
4000
  instance.#_42a1SvBs24QSLzKcfjCyNTjW5a1g = _42a1SvBs24QSLzKcfjCyNTjW5a1g;
4116
4001
  const _3qvegKUB8YLgTXRpEf8E6JZSkz2H = [];
4117
4002
  const _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4118
- for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array == null
4119
- ? []
4120
- : _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array.length === 1 &&
4121
- "@list" in _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]
4122
- ? _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]["@list"]
4123
- : _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
4003
+ for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array ?? []) {
4124
4004
  if (v == null)
4125
4005
  continue;
4126
4006
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4133,12 +4013,7 @@ export class Object {
4133
4013
  instance.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H = _3qvegKUB8YLgTXRpEf8E6JZSkz2H;
4134
4014
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
4135
4015
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4136
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null
4137
- ? []
4138
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
4139
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]
4140
- ? _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"]
4141
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
4016
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
4142
4017
  if (v == null)
4143
4018
  continue;
4144
4019
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
@@ -4146,12 +4021,7 @@ export class Object {
4146
4021
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
4147
4022
  const _3bNvLMBN1bCJETiTihM3wvi1B2JX = [];
4148
4023
  const _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4149
- for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array == null
4150
- ? []
4151
- : _3bNvLMBN1bCJETiTihM3wvi1B2JX__array.length === 1 &&
4152
- "@list" in _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]
4153
- ? _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]["@list"]
4154
- : _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
4024
+ for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array ?? []) {
4155
4025
  if (v == null)
4156
4026
  continue;
4157
4027
  _3bNvLMBN1bCJETiTihM3wvi1B2JX.push(dntShim.Temporal.Duration.from(v["@value"]));
@@ -4159,12 +4029,7 @@ export class Object {
4159
4029
  instance.#_3bNvLMBN1bCJETiTihM3wvi1B2JX = _3bNvLMBN1bCJETiTihM3wvi1B2JX;
4160
4030
  const _u8gdcDTtChQ4tbSQMXc4cYWyum7 = [];
4161
4031
  const _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4162
- for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array == null
4163
- ? []
4164
- : _u8gdcDTtChQ4tbSQMXc4cYWyum7__array.length === 1 &&
4165
- "@list" in _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]
4166
- ? _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]["@list"]
4167
- : _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
4032
+ for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array ?? []) {
4168
4033
  if (v == null)
4169
4034
  continue;
4170
4035
  _u8gdcDTtChQ4tbSQMXc4cYWyum7.push(v["@value"]);
@@ -4172,12 +4037,7 @@ export class Object {
4172
4037
  instance.#_u8gdcDTtChQ4tbSQMXc4cYWyum7 = _u8gdcDTtChQ4tbSQMXc4cYWyum7;
4173
4038
  const _42rPnotok1ivQ2RNCKNbeFJgx8b8 = [];
4174
4039
  const _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4175
- for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array == null
4176
- ? []
4177
- : _42rPnotok1ivQ2RNCKNbeFJgx8b8__array.length === 1 &&
4178
- "@list" in _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]
4179
- ? _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]["@list"]
4180
- : _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
4040
+ for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array ?? []) {
4181
4041
  if (v == null)
4182
4042
  continue;
4183
4043
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4906,12 +4766,7 @@ export class PropertyValue {
4906
4766
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
4907
4767
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
4908
4768
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
4909
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
4910
- ? []
4911
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
4912
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
4913
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
4914
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
4769
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
4915
4770
  if (v == null)
4916
4771
  continue;
4917
4772
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4929,12 +4784,7 @@ export class PropertyValue {
4929
4784
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
4930
4785
  const _2cSy2magg4iZ7zLaG8U7DiJMoCkx = [];
4931
4786
  const _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
4932
- for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array == null
4933
- ? []
4934
- : _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array.length === 1 &&
4935
- "@list" in _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]
4936
- ? _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]["@list"]
4937
- : _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
4787
+ for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array ?? []) {
4938
4788
  if (v == null)
4939
4789
  continue;
4940
4790
  const decoded = typeof v === "object" && "@value" in v &&
@@ -5361,12 +5211,7 @@ export class DataIntegrityProof {
5361
5211
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5362
5212
  const _3RurJsa7tnptyqMFR5hDGcP9pMs5 = [];
5363
5213
  const _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5364
- for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array == null
5365
- ? []
5366
- : _3RurJsa7tnptyqMFR5hDGcP9pMs5__array.length === 1 &&
5367
- "@list" in _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]
5368
- ? _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]["@list"]
5369
- : _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
5214
+ for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array ?? []) {
5370
5215
  if (v == null)
5371
5216
  continue;
5372
5217
  _3RurJsa7tnptyqMFR5hDGcP9pMs5.push(v["@value"]);
@@ -5374,12 +5219,7 @@ export class DataIntegrityProof {
5374
5219
  instance.#_3RurJsa7tnptyqMFR5hDGcP9pMs5 = _3RurJsa7tnptyqMFR5hDGcP9pMs5;
5375
5220
  const _2mHVKxqA7zncjveJrDEo3pWpMZqg = [];
5376
5221
  const _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5377
- for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array == null
5378
- ? []
5379
- : _2mHVKxqA7zncjveJrDEo3pWpMZqg__array.length === 1 &&
5380
- "@list" in _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]
5381
- ? _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]["@list"]
5382
- : _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
5222
+ for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array ?? []) {
5383
5223
  if (v == null)
5384
5224
  continue;
5385
5225
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5392,12 +5232,7 @@ export class DataIntegrityProof {
5392
5232
  instance.#_2mHVKxqA7zncjveJrDEo3pWpMZqg = _2mHVKxqA7zncjveJrDEo3pWpMZqg;
5393
5233
  const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = [];
5394
5234
  const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5395
- for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array == null
5396
- ? []
5397
- : _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array.length === 1 &&
5398
- "@list" in _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]
5399
- ? _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]["@list"]
5400
- : _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
5235
+ for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array ?? []) {
5401
5236
  if (v == null)
5402
5237
  continue;
5403
5238
  _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb.push(v["@id"].substring(26));
@@ -5405,12 +5240,7 @@ export class DataIntegrityProof {
5405
5240
  instance.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb;
5406
5241
  const _3CjFK5vfKpX4HQuNh2b18TykoVLq = [];
5407
5242
  const _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5408
- for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array == null
5409
- ? []
5410
- : _3CjFK5vfKpX4HQuNh2b18TykoVLq__array.length === 1 &&
5411
- "@list" in _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]
5412
- ? _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]["@list"]
5413
- : _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
5243
+ for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array ?? []) {
5414
5244
  if (v == null)
5415
5245
  continue;
5416
5246
  _3CjFK5vfKpX4HQuNh2b18TykoVLq.push(decodeMultibase(v["@value"]));
@@ -5418,12 +5248,7 @@ export class DataIntegrityProof {
5418
5248
  instance.#_3CjFK5vfKpX4HQuNh2b18TykoVLq = _3CjFK5vfKpX4HQuNh2b18TykoVLq;
5419
5249
  const _3qzP3ukEZoUziK5FEiA1RhU4aqac = [];
5420
5250
  const _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5421
- for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null
5422
- ? []
5423
- : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array.length === 1 &&
5424
- "@list" in _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]
5425
- ? _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]["@list"]
5426
- : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
5251
+ for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array ?? []) {
5427
5252
  if (v == null)
5428
5253
  continue;
5429
5254
  _3qzP3ukEZoUziK5FEiA1RhU4aqac.push(dntShim.Temporal.Instant.from(v["@value"]));
@@ -5786,12 +5611,7 @@ export class CryptographicKey {
5786
5611
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5787
5612
  const _5UJq9NDh3ZHgswFwwdVxQvJxdx2 = [];
5788
5613
  const _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5789
- for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array == null
5790
- ? []
5791
- : _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array.length === 1 &&
5792
- "@list" in _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]
5793
- ? _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]["@list"]
5794
- : _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
5614
+ for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array ?? []) {
5795
5615
  if (v == null)
5796
5616
  continue;
5797
5617
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5827,12 +5647,7 @@ export class CryptographicKey {
5827
5647
  instance.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2 = _5UJq9NDh3ZHgswFwwdVxQvJxdx2;
5828
5648
  const _2fE2QMDdg6KFGqa4NEC3TmjApSAD = [];
5829
5649
  const _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5830
- for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array == null
5831
- ? []
5832
- : _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array.length === 1 &&
5833
- "@list" in _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]
5834
- ? _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]["@list"]
5835
- : _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
5650
+ for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array ?? []) {
5836
5651
  if (v == null)
5837
5652
  continue;
5838
5653
  _2fE2QMDdg6KFGqa4NEC3TmjApSAD.push(await importSpki(v["@value"]));
@@ -6173,12 +5988,7 @@ export class Multikey {
6173
5988
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
6174
5989
  const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN = [];
6175
5990
  const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
6176
- for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array == null
6177
- ? []
6178
- : _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array.length === 1 &&
6179
- "@list" in _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]
6180
- ? _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]["@list"]
6181
- : _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
5991
+ for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array ?? []) {
6182
5992
  if (v == null)
6183
5993
  continue;
6184
5994
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -6214,12 +6024,7 @@ export class Multikey {
6214
6024
  instance.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN = _2yr3eUBTP6cNcyaxKzAXWjFsnGzN;
6215
6025
  const _4XLHbsR2gLVWU3NpEqKt9wANzn4F = [];
6216
6026
  const _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6217
- for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array == null
6218
- ? []
6219
- : _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array.length === 1 &&
6220
- "@list" in _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]
6221
- ? _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]["@list"]
6222
- : _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
6027
+ for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array ?? []) {
6223
6028
  if (v == null)
6224
6029
  continue;
6225
6030
  _4XLHbsR2gLVWU3NpEqKt9wANzn4F.push(await importMultibaseKey(v["@value"]));
@@ -7392,12 +7197,7 @@ export class Activity extends Object {
7392
7197
  }
7393
7198
  const _2DjTTboo3CNHU2a2JQqUSE2dbv9D = [];
7394
7199
  const _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7395
- for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array == null
7396
- ? []
7397
- : _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array.length === 1 &&
7398
- "@list" in _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]
7399
- ? _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]["@list"]
7400
- : _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
7200
+ for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array ?? []) {
7401
7201
  if (v == null)
7402
7202
  continue;
7403
7203
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7433,12 +7233,7 @@ export class Activity extends Object {
7433
7233
  instance.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D = _2DjTTboo3CNHU2a2JQqUSE2dbv9D;
7434
7234
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
7435
7235
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7436
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null
7437
- ? []
7438
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
7439
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]
7440
- ? _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"]
7441
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
7236
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
7442
7237
  if (v == null)
7443
7238
  continue;
7444
7239
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7451,12 +7246,7 @@ export class Activity extends Object {
7451
7246
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
7452
7247
  const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = [];
7453
7248
  const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7454
- for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array == null
7455
- ? []
7456
- : _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array.length === 1 &&
7457
- "@list" in _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]
7458
- ? _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]["@list"]
7459
- : _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
7249
+ for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array ?? []) {
7460
7250
  if (v == null)
7461
7251
  continue;
7462
7252
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7469,12 +7259,7 @@ export class Activity extends Object {
7469
7259
  instance.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF;
7470
7260
  const _u4QGFbRFcYmPEKGbPv1hpBR9r5G = [];
7471
7261
  const _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7472
- for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array == null
7473
- ? []
7474
- : _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array.length === 1 &&
7475
- "@list" in _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]
7476
- ? _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]["@list"]
7477
- : _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
7262
+ for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array ?? []) {
7478
7263
  if (v == null)
7479
7264
  continue;
7480
7265
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7487,12 +7272,7 @@ export class Activity extends Object {
7487
7272
  instance.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G = _u4QGFbRFcYmPEKGbPv1hpBR9r5G;
7488
7273
  const _25zu2s3VxVujgEKqrDycjE284XQR = [];
7489
7274
  const _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7490
- for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array == null
7491
- ? []
7492
- : _25zu2s3VxVujgEKqrDycjE284XQR__array.length === 1 &&
7493
- "@list" in _25zu2s3VxVujgEKqrDycjE284XQR__array[0]
7494
- ? _25zu2s3VxVujgEKqrDycjE284XQR__array[0]["@list"]
7495
- : _25zu2s3VxVujgEKqrDycjE284XQR__array) {
7275
+ for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array ?? []) {
7496
7276
  if (v == null)
7497
7277
  continue;
7498
7278
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7505,12 +7285,7 @@ export class Activity extends Object {
7505
7285
  instance.#_25zu2s3VxVujgEKqrDycjE284XQR = _25zu2s3VxVujgEKqrDycjE284XQR;
7506
7286
  const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ = [];
7507
7287
  const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7508
- for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array == null
7509
- ? []
7510
- : _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array.length === 1 &&
7511
- "@list" in _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]
7512
- ? _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]["@list"]
7513
- : _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
7288
+ for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array ?? []) {
7514
7289
  if (v == null)
7515
7290
  continue;
7516
7291
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9358,12 +9133,7 @@ export class Application extends Object {
9358
9133
  }
9359
9134
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
9360
9135
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9361
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
9362
- ? []
9363
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
9364
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
9365
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
9366
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
9136
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
9367
9137
  if (v == null)
9368
9138
  continue;
9369
9139
  const decoded = typeof v === "object" && "@value" in v &&
@@ -9381,12 +9151,7 @@ export class Application extends Object {
9381
9151
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
9382
9152
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
9383
9153
  const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9384
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
9385
- ? []
9386
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
9387
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
9388
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
9389
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
9154
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
9390
9155
  if (v == null)
9391
9156
  continue;
9392
9157
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9399,12 +9164,7 @@ export class Application extends Object {
9399
9164
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
9400
9165
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
9401
9166
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9402
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
9403
- ? []
9404
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
9405
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
9406
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
9407
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
9167
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
9408
9168
  if (v == null)
9409
9169
  continue;
9410
9170
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9417,12 +9177,7 @@ export class Application extends Object {
9417
9177
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
9418
9178
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
9419
9179
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9420
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
9421
- ? []
9422
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
9423
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
9424
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
9425
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
9180
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
9426
9181
  if (v == null)
9427
9182
  continue;
9428
9183
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
@@ -9430,12 +9185,7 @@ export class Application extends Object {
9430
9185
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
9431
9186
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
9432
9187
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9433
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
9434
- ? []
9435
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
9436
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
9437
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
9438
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
9188
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
9439
9189
  if (v == null)
9440
9190
  continue;
9441
9191
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9448,12 +9198,7 @@ export class Application extends Object {
9448
9198
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
9449
9199
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
9450
9200
  const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9451
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
9452
- ? []
9453
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
9454
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
9455
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
9456
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
9201
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
9457
9202
  if (v == null)
9458
9203
  continue;
9459
9204
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9466,12 +9211,7 @@ export class Application extends Object {
9466
9211
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
9467
9212
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
9468
9213
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9469
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
9470
- ? []
9471
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
9472
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
9473
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
9474
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
9214
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
9475
9215
  if (v == null)
9476
9216
  continue;
9477
9217
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9484,12 +9224,7 @@ export class Application extends Object {
9484
9224
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
9485
9225
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
9486
9226
  const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9487
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
9488
- ? []
9489
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
9490
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
9491
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
9492
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
9227
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
9493
9228
  if (v == null)
9494
9229
  continue;
9495
9230
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9502,12 +9237,7 @@ export class Application extends Object {
9502
9237
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
9503
9238
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
9504
9239
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9505
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
9506
- ? []
9507
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
9508
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
9509
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
9510
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
9240
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
9511
9241
  if (v == null)
9512
9242
  continue;
9513
9243
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9520,12 +9250,7 @@ export class Application extends Object {
9520
9250
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
9521
9251
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
9522
9252
  const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9523
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
9524
- ? []
9525
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
9526
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
9527
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
9528
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
9253
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
9529
9254
  if (v == null)
9530
9255
  continue;
9531
9256
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9538,12 +9263,7 @@ export class Application extends Object {
9538
9263
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
9539
9264
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
9540
9265
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9541
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
9542
- ? []
9543
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
9544
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
9545
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
9546
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
9266
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
9547
9267
  if (v == null)
9548
9268
  continue;
9549
9269
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9556,12 +9276,7 @@ export class Application extends Object {
9556
9276
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
9557
9277
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
9558
9278
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9559
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
9560
- ? []
9561
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
9562
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
9563
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
9564
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
9279
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
9565
9280
  if (v == null)
9566
9281
  continue;
9567
9282
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
@@ -9569,12 +9284,7 @@ export class Application extends Object {
9569
9284
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
9570
9285
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
9571
9286
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9572
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
9573
- ? []
9574
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
9575
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
9576
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
9577
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
9287
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
9578
9288
  if (v == null)
9579
9289
  continue;
9580
9290
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
@@ -9582,12 +9292,7 @@ export class Application extends Object {
9582
9292
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
9583
9293
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
9584
9294
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9585
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
9586
- ? []
9587
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
9588
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
9589
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
9590
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
9295
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
9591
9296
  if (v == null)
9592
9297
  continue;
9593
9298
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
@@ -9595,12 +9300,7 @@ export class Application extends Object {
9595
9300
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
9596
9301
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
9597
9302
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9598
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
9599
- ? []
9600
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
9601
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
9602
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
9603
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
9303
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
9604
9304
  if (v == null)
9605
9305
  continue;
9606
9306
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
@@ -9608,12 +9308,7 @@ export class Application extends Object {
9608
9308
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
9609
9309
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
9610
9310
  const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9611
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
9612
- ? []
9613
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
9614
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
9615
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
9616
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
9311
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
9617
9312
  if (v == null)
9618
9313
  continue;
9619
9314
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
@@ -10376,12 +10071,7 @@ export class Document extends Object {
10376
10071
  }
10377
10072
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
10378
10073
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10379
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null
10380
- ? []
10381
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
10382
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]
10383
- ? _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"]
10384
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
10074
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
10385
10075
  if (v == null)
10386
10076
  continue;
10387
10077
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
@@ -10389,12 +10079,7 @@ export class Document extends Object {
10389
10079
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
10390
10080
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
10391
10081
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10392
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null
10393
- ? []
10394
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
10395
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]
10396
- ? _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"]
10397
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
10082
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
10398
10083
  if (v == null)
10399
10084
  continue;
10400
10085
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
@@ -11281,12 +10966,7 @@ export class Collection extends Object {
11281
10966
  }
11282
10967
  const _XDbmNDuWHmrhqH712zqtecdbv1V = [];
11283
10968
  const _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
11284
- for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array == null
11285
- ? []
11286
- : _XDbmNDuWHmrhqH712zqtecdbv1V__array.length === 1 &&
11287
- "@list" in _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]
11288
- ? _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]["@list"]
11289
- : _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
10969
+ for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array ?? []) {
11290
10970
  if (v == null)
11291
10971
  continue;
11292
10972
  _XDbmNDuWHmrhqH712zqtecdbv1V.push(v["@value"]);
@@ -11294,12 +10974,7 @@ export class Collection extends Object {
11294
10974
  instance.#_XDbmNDuWHmrhqH712zqtecdbv1V = _XDbmNDuWHmrhqH712zqtecdbv1V;
11295
10975
  const _3UyUdxnyn6cDn53QKrh4MBiearma = [];
11296
10976
  const _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
11297
- for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array == null
11298
- ? []
11299
- : _3UyUdxnyn6cDn53QKrh4MBiearma__array.length === 1 &&
11300
- "@list" in _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]
11301
- ? _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]["@list"]
11302
- : _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
10977
+ for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array ?? []) {
11303
10978
  if (v == null)
11304
10979
  continue;
11305
10980
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11312,12 +10987,7 @@ export class Collection extends Object {
11312
10987
  instance.#_3UyUdxnyn6cDn53QKrh4MBiearma = _3UyUdxnyn6cDn53QKrh4MBiearma;
11313
10988
  const _J52RqweMe6hhv7RnLJMC8BExTE5 = [];
11314
10989
  const _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
11315
- for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array == null
11316
- ? []
11317
- : _J52RqweMe6hhv7RnLJMC8BExTE5__array.length === 1 &&
11318
- "@list" in _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]
11319
- ? _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]["@list"]
11320
- : _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
10990
+ for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array ?? []) {
11321
10991
  if (v == null)
11322
10992
  continue;
11323
10993
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11330,12 +11000,7 @@ export class Collection extends Object {
11330
11000
  instance.#_J52RqweMe6hhv7RnLJMC8BExTE5 = _J52RqweMe6hhv7RnLJMC8BExTE5;
11331
11001
  const _gyJJnyEFnuNVi1HFZKfAn3Hfn26 = [];
11332
11002
  const _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11333
- for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array == null
11334
- ? []
11335
- : _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array.length === 1 &&
11336
- "@list" in _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]
11337
- ? _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]["@list"]
11338
- : _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
11003
+ for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array ?? []) {
11339
11004
  if (v == null)
11340
11005
  continue;
11341
11006
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11348,12 +11013,7 @@ export class Collection extends Object {
11348
11013
  instance.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26 = _gyJJnyEFnuNVi1HFZKfAn3Hfn26;
11349
11014
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
11350
11015
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11351
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null
11352
- ? []
11353
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
11354
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]
11355
- ? _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"]
11356
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
11016
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
11357
11017
  if (v == null)
11358
11018
  continue;
11359
11019
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11797,12 +11457,7 @@ export class CollectionPage extends Collection {
11797
11457
  }
11798
11458
  const _2kWgBhQKjEauxx8C6qF3ZQamK4Le = [];
11799
11459
  const _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
11800
- for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array == null
11801
- ? []
11802
- : _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array.length === 1 &&
11803
- "@list" in _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]
11804
- ? _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]["@list"]
11805
- : _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
11460
+ for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array ?? []) {
11806
11461
  if (v == null)
11807
11462
  continue;
11808
11463
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11815,12 +11470,7 @@ export class CollectionPage extends Collection {
11815
11470
  instance.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le = _2kWgBhQKjEauxx8C6qF3ZQamK4Le;
11816
11471
  const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY = [];
11817
11472
  const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
11818
- for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array == null
11819
- ? []
11820
- : _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array.length === 1 &&
11821
- "@list" in _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]
11822
- ? _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]["@list"]
11823
- : _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
11473
+ for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array ?? []) {
11824
11474
  if (v == null)
11825
11475
  continue;
11826
11476
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11833,12 +11483,7 @@ export class CollectionPage extends Collection {
11833
11483
  instance.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY = _3BT4kQLcXhHx7TAWaNDKh8nFn9eY;
11834
11484
  const _3b8yG8tDNzQFFEnWhCc13G8eHooA = [];
11835
11485
  const _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
11836
- for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array == null
11837
- ? []
11838
- : _3b8yG8tDNzQFFEnWhCc13G8eHooA__array.length === 1 &&
11839
- "@list" in _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]
11840
- ? _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]["@list"]
11841
- : _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
11486
+ for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array ?? []) {
11842
11487
  if (v == null)
11843
11488
  continue;
11844
11489
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -12590,12 +12235,7 @@ export class Endpoints {
12590
12235
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
12591
12236
  const _2JCYDbSxEHCCLdBYed33cCETfGyR = [];
12592
12237
  const _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12593
- for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array == null
12594
- ? []
12595
- : _2JCYDbSxEHCCLdBYed33cCETfGyR__array.length === 1 &&
12596
- "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]
12597
- ? _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]["@list"]
12598
- : _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
12238
+ for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array ?? []) {
12599
12239
  if (v == null)
12600
12240
  continue;
12601
12241
  _2JCYDbSxEHCCLdBYed33cCETfGyR.push(new URL(v["@id"]));
@@ -12603,12 +12243,7 @@ export class Endpoints {
12603
12243
  instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR = _2JCYDbSxEHCCLdBYed33cCETfGyR;
12604
12244
  const _25S6UmgzDead8hxL5sQFezZTAusd = [];
12605
12245
  const _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12606
- for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array == null
12607
- ? []
12608
- : _25S6UmgzDead8hxL5sQFezZTAusd__array.length === 1 &&
12609
- "@list" in _25S6UmgzDead8hxL5sQFezZTAusd__array[0]
12610
- ? _25S6UmgzDead8hxL5sQFezZTAusd__array[0]["@list"]
12611
- : _25S6UmgzDead8hxL5sQFezZTAusd__array) {
12246
+ for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array ?? []) {
12612
12247
  if (v == null)
12613
12248
  continue;
12614
12249
  _25S6UmgzDead8hxL5sQFezZTAusd.push(new URL(v["@id"]));
@@ -12616,12 +12251,7 @@ export class Endpoints {
12616
12251
  instance.#_25S6UmgzDead8hxL5sQFezZTAusd = _25S6UmgzDead8hxL5sQFezZTAusd;
12617
12252
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = [];
12618
12253
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12619
- for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array == null
12620
- ? []
12621
- : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array.length === 1 &&
12622
- "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]
12623
- ? _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]["@list"]
12624
- : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
12254
+ for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array ?? []) {
12625
12255
  if (v == null)
12626
12256
  continue;
12627
12257
  _iAMxqrSba7yBCRB1FZ5kEVdKEZ3.push(new URL(v["@id"]));
@@ -12629,12 +12259,7 @@ export class Endpoints {
12629
12259
  instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3;
12630
12260
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr = [];
12631
12261
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12632
- for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array == null
12633
- ? []
12634
- : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array.length === 1 &&
12635
- "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]
12636
- ? _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]["@list"]
12637
- : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
12262
+ for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array ?? []) {
12638
12263
  if (v == null)
12639
12264
  continue;
12640
12265
  _8Bx9qN8oU7Bpt2xi6khaxWp1gMr.push(new URL(v["@id"]));
@@ -12642,12 +12267,7 @@ export class Endpoints {
12642
12267
  instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr;
12643
12268
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS = [];
12644
12269
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12645
- for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array == null
12646
- ? []
12647
- : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array.length === 1 &&
12648
- "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]
12649
- ? _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]["@list"]
12650
- : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
12270
+ for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array ?? []) {
12651
12271
  if (v == null)
12652
12272
  continue;
12653
12273
  _3dU7PMVQZJpsCpo2F4RQXxBXdPmS.push(new URL(v["@id"]));
@@ -12655,12 +12275,7 @@ export class Endpoints {
12655
12275
  instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS;
12656
12276
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc = [];
12657
12277
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12658
- for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array == null
12659
- ? []
12660
- : _3JprUSDLVqqX4dwHRi37qGZZCRCc__array.length === 1 &&
12661
- "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]
12662
- ? _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]["@list"]
12663
- : _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
12278
+ for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array ?? []) {
12664
12279
  if (v == null)
12665
12280
  continue;
12666
12281
  _3JprUSDLVqqX4dwHRi37qGZZCRCc.push(new URL(v["@id"]));
@@ -14471,12 +14086,7 @@ export class Group extends Object {
14471
14086
  }
14472
14087
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
14473
14088
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14474
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
14475
- ? []
14476
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
14477
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
14478
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
14479
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
14089
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
14480
14090
  if (v == null)
14481
14091
  continue;
14482
14092
  const decoded = typeof v === "object" && "@value" in v &&
@@ -14494,12 +14104,7 @@ export class Group extends Object {
14494
14104
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
14495
14105
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
14496
14106
  const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14497
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
14498
- ? []
14499
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
14500
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
14501
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
14502
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
14107
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
14503
14108
  if (v == null)
14504
14109
  continue;
14505
14110
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14512,12 +14117,7 @@ export class Group extends Object {
14512
14117
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
14513
14118
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
14514
14119
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14515
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
14516
- ? []
14517
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
14518
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
14519
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
14520
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
14120
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
14521
14121
  if (v == null)
14522
14122
  continue;
14523
14123
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14530,12 +14130,7 @@ export class Group extends Object {
14530
14130
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
14531
14131
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
14532
14132
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14533
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
14534
- ? []
14535
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
14536
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
14537
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
14538
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
14133
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
14539
14134
  if (v == null)
14540
14135
  continue;
14541
14136
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
@@ -14543,12 +14138,7 @@ export class Group extends Object {
14543
14138
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
14544
14139
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
14545
14140
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14546
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
14547
- ? []
14548
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
14549
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
14550
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
14551
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
14141
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
14552
14142
  if (v == null)
14553
14143
  continue;
14554
14144
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14561,12 +14151,7 @@ export class Group extends Object {
14561
14151
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
14562
14152
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
14563
14153
  const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14564
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
14565
- ? []
14566
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
14567
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
14568
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
14569
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
14154
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
14570
14155
  if (v == null)
14571
14156
  continue;
14572
14157
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14579,12 +14164,7 @@ export class Group extends Object {
14579
14164
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
14580
14165
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
14581
14166
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14582
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
14583
- ? []
14584
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
14585
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
14586
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
14587
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
14167
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
14588
14168
  if (v == null)
14589
14169
  continue;
14590
14170
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14597,12 +14177,7 @@ export class Group extends Object {
14597
14177
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
14598
14178
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
14599
14179
  const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14600
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
14601
- ? []
14602
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
14603
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
14604
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
14605
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
14180
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
14606
14181
  if (v == null)
14607
14182
  continue;
14608
14183
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14615,12 +14190,7 @@ export class Group extends Object {
14615
14190
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
14616
14191
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
14617
14192
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14618
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
14619
- ? []
14620
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
14621
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
14622
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
14623
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
14193
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
14624
14194
  if (v == null)
14625
14195
  continue;
14626
14196
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14633,12 +14203,7 @@ export class Group extends Object {
14633
14203
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
14634
14204
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
14635
14205
  const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14636
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
14637
- ? []
14638
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
14639
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
14640
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
14641
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
14206
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
14642
14207
  if (v == null)
14643
14208
  continue;
14644
14209
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14651,12 +14216,7 @@ export class Group extends Object {
14651
14216
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
14652
14217
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
14653
14218
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
14654
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
14655
- ? []
14656
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
14657
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
14658
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
14659
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
14219
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
14660
14220
  if (v == null)
14661
14221
  continue;
14662
14222
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14669,12 +14229,7 @@ export class Group extends Object {
14669
14229
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
14670
14230
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
14671
14231
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
14672
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
14673
- ? []
14674
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
14675
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
14676
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
14677
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
14232
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
14678
14233
  if (v == null)
14679
14234
  continue;
14680
14235
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
@@ -14682,12 +14237,7 @@ export class Group extends Object {
14682
14237
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
14683
14238
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
14684
14239
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
14685
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
14686
- ? []
14687
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
14688
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
14689
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
14690
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
14240
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
14691
14241
  if (v == null)
14692
14242
  continue;
14693
14243
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
@@ -14695,12 +14245,7 @@ export class Group extends Object {
14695
14245
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
14696
14246
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
14697
14247
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
14698
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
14699
- ? []
14700
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
14701
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
14702
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
14703
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
14248
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
14704
14249
  if (v == null)
14705
14250
  continue;
14706
14251
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
@@ -14708,12 +14253,7 @@ export class Group extends Object {
14708
14253
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
14709
14254
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
14710
14255
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
14711
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
14712
- ? []
14713
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
14714
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
14715
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
14716
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
14256
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
14717
14257
  if (v == null)
14718
14258
  continue;
14719
14259
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
@@ -14721,12 +14261,7 @@ export class Group extends Object {
14721
14261
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
14722
14262
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
14723
14263
  const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
14724
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
14725
- ? []
14726
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
14727
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
14728
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
14729
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
14264
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
14730
14265
  if (v == null)
14731
14266
  continue;
14732
14267
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
@@ -15520,12 +15055,7 @@ export class Link {
15520
15055
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
15521
15056
  const _pVjLsybKQdmkjuU7MHjiVmNnuj7 = [];
15522
15057
  const _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15523
- for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array == null
15524
- ? []
15525
- : _pVjLsybKQdmkjuU7MHjiVmNnuj7__array.length === 1 &&
15526
- "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]
15527
- ? _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]["@list"]
15528
- : _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
15058
+ for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array ?? []) {
15529
15059
  if (v == null)
15530
15060
  continue;
15531
15061
  _pVjLsybKQdmkjuU7MHjiVmNnuj7.push(new URL(v["@id"]));
@@ -15533,12 +15063,7 @@ export class Link {
15533
15063
  instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7 = _pVjLsybKQdmkjuU7MHjiVmNnuj7;
15534
15064
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ = [];
15535
15065
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15536
- for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array == null
15537
- ? []
15538
- : _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array.length === 1 &&
15539
- "@list" in _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]
15540
- ? _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]["@list"]
15541
- : _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
15066
+ for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array ?? []) {
15542
15067
  if (v == null)
15543
15068
  continue;
15544
15069
  _2a1c5GkfkQsnyyLybF8UXBQfFuHZ.push(v["@value"]);
@@ -15546,12 +15071,7 @@ export class Link {
15546
15071
  instance.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ = _2a1c5GkfkQsnyyLybF8UXBQfFuHZ;
15547
15072
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
15548
15073
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15549
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null
15550
- ? []
15551
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
15552
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]
15553
- ? _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"]
15554
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
15074
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
15555
15075
  if (v == null)
15556
15076
  continue;
15557
15077
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
@@ -15559,12 +15079,7 @@ export class Link {
15559
15079
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
15560
15080
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
15561
15081
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15562
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
15563
- ? []
15564
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
15565
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
15566
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
15567
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
15082
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
15568
15083
  if (v == null)
15569
15084
  continue;
15570
15085
  const decoded = typeof v === "object" && "@value" in v &&
@@ -15582,12 +15097,7 @@ export class Link {
15582
15097
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
15583
15098
  const _f57HKWCp1YRBbTJE8PF12RbDJGf = [];
15584
15099
  const _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15585
- for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array == null
15586
- ? []
15587
- : _f57HKWCp1YRBbTJE8PF12RbDJGf__array.length === 1 &&
15588
- "@list" in _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]
15589
- ? _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]["@list"]
15590
- : _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
15100
+ for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array ?? []) {
15591
15101
  if (v == null)
15592
15102
  continue;
15593
15103
  _f57HKWCp1YRBbTJE8PF12RbDJGf.push(parseLanguageTag(v["@value"]));
@@ -15595,12 +15105,7 @@ export class Link {
15595
15105
  instance.#_f57HKWCp1YRBbTJE8PF12RbDJGf = _f57HKWCp1YRBbTJE8PF12RbDJGf;
15596
15106
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
15597
15107
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15598
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null
15599
- ? []
15600
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
15601
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]
15602
- ? _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"]
15603
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
15108
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
15604
15109
  if (v == null)
15605
15110
  continue;
15606
15111
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
@@ -15608,12 +15113,7 @@ export class Link {
15608
15113
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
15609
15114
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
15610
15115
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
15611
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null
15612
- ? []
15613
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
15614
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]
15615
- ? _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"]
15616
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
15116
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
15617
15117
  if (v == null)
15618
15118
  continue;
15619
15119
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
@@ -15621,12 +15121,7 @@ export class Link {
15621
15121
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
15622
15122
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
15623
15123
  const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
15624
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array == null
15625
- ? []
15626
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
15627
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]
15628
- ? _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"]
15629
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
15124
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
15630
15125
  if (v == null)
15631
15126
  continue;
15632
15127
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -16664,12 +16159,7 @@ export class OrderedCollection extends Collection {
16664
16159
  }
16665
16160
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
16666
16161
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
16667
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null
16668
- ? []
16669
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
16670
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]
16671
- ? _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"]
16672
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
16162
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
16673
16163
  if (v == null)
16674
16164
  continue;
16675
16165
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -16848,12 +16338,7 @@ export class OrderedCollectionPage extends CollectionPage {
16848
16338
  }
16849
16339
  const _2W4yinFwqmpneu2h4m1mZ3pcLADd = [];
16850
16340
  const _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
16851
- for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array == null
16852
- ? []
16853
- : _2W4yinFwqmpneu2h4m1mZ3pcLADd__array.length === 1 &&
16854
- "@list" in _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]
16855
- ? _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]["@list"]
16856
- : _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
16341
+ for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array ?? []) {
16857
16342
  if (v == null)
16858
16343
  continue;
16859
16344
  _2W4yinFwqmpneu2h4m1mZ3pcLADd.push(v["@value"]);
@@ -18268,12 +17753,7 @@ export class Organization extends Object {
18268
17753
  }
18269
17754
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
18270
17755
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
18271
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
18272
- ? []
18273
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
18274
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
18275
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
18276
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
17756
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
18277
17757
  if (v == null)
18278
17758
  continue;
18279
17759
  const decoded = typeof v === "object" && "@value" in v &&
@@ -18291,12 +17771,7 @@ export class Organization extends Object {
18291
17771
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
18292
17772
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
18293
17773
  const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
18294
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
18295
- ? []
18296
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
18297
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
18298
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
18299
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
17774
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
18300
17775
  if (v == null)
18301
17776
  continue;
18302
17777
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18309,12 +17784,7 @@ export class Organization extends Object {
18309
17784
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
18310
17785
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
18311
17786
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
18312
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
18313
- ? []
18314
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
18315
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
18316
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
18317
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
17787
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
18318
17788
  if (v == null)
18319
17789
  continue;
18320
17790
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18327,12 +17797,7 @@ export class Organization extends Object {
18327
17797
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
18328
17798
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
18329
17799
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
18330
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
18331
- ? []
18332
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
18333
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
18334
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
18335
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
17800
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
18336
17801
  if (v == null)
18337
17802
  continue;
18338
17803
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
@@ -18340,12 +17805,7 @@ export class Organization extends Object {
18340
17805
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
18341
17806
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
18342
17807
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
18343
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
18344
- ? []
18345
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
18346
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
18347
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
18348
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
17808
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
18349
17809
  if (v == null)
18350
17810
  continue;
18351
17811
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18358,12 +17818,7 @@ export class Organization extends Object {
18358
17818
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
18359
17819
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
18360
17820
  const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
18361
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
18362
- ? []
18363
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
18364
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
18365
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
18366
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
17821
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
18367
17822
  if (v == null)
18368
17823
  continue;
18369
17824
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18376,12 +17831,7 @@ export class Organization extends Object {
18376
17831
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
18377
17832
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
18378
17833
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
18379
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
18380
- ? []
18381
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
18382
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
18383
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
18384
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
17834
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
18385
17835
  if (v == null)
18386
17836
  continue;
18387
17837
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18394,12 +17844,7 @@ export class Organization extends Object {
18394
17844
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
18395
17845
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
18396
17846
  const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
18397
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
18398
- ? []
18399
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
18400
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
18401
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
18402
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
17847
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
18403
17848
  if (v == null)
18404
17849
  continue;
18405
17850
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18412,12 +17857,7 @@ export class Organization extends Object {
18412
17857
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
18413
17858
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
18414
17859
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
18415
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
18416
- ? []
18417
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
18418
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
18419
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
18420
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
17860
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
18421
17861
  if (v == null)
18422
17862
  continue;
18423
17863
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18430,12 +17870,7 @@ export class Organization extends Object {
18430
17870
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
18431
17871
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
18432
17872
  const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
18433
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
18434
- ? []
18435
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
18436
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
18437
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
18438
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
17873
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
18439
17874
  if (v == null)
18440
17875
  continue;
18441
17876
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18448,12 +17883,7 @@ export class Organization extends Object {
18448
17883
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
18449
17884
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
18450
17885
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
18451
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
18452
- ? []
18453
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
18454
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
18455
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
18456
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
17886
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
18457
17887
  if (v == null)
18458
17888
  continue;
18459
17889
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18466,12 +17896,7 @@ export class Organization extends Object {
18466
17896
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
18467
17897
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
18468
17898
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
18469
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
18470
- ? []
18471
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
18472
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
18473
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
18474
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
17899
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
18475
17900
  if (v == null)
18476
17901
  continue;
18477
17902
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
@@ -18479,12 +17904,7 @@ export class Organization extends Object {
18479
17904
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
18480
17905
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
18481
17906
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
18482
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
18483
- ? []
18484
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
18485
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
18486
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
18487
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
17907
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
18488
17908
  if (v == null)
18489
17909
  continue;
18490
17910
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
@@ -18492,12 +17912,7 @@ export class Organization extends Object {
18492
17912
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
18493
17913
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
18494
17914
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
18495
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
18496
- ? []
18497
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
18498
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
18499
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
18500
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
17915
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
18501
17916
  if (v == null)
18502
17917
  continue;
18503
17918
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
@@ -18505,12 +17920,7 @@ export class Organization extends Object {
18505
17920
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
18506
17921
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
18507
17922
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
18508
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
18509
- ? []
18510
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
18511
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
18512
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
18513
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
17923
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
18514
17924
  if (v == null)
18515
17925
  continue;
18516
17926
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
@@ -18518,12 +17928,7 @@ export class Organization extends Object {
18518
17928
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
18519
17929
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
18520
17930
  const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
18521
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
18522
- ? []
18523
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
18524
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
18525
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
18526
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
17931
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
18527
17932
  if (v == null)
18528
17933
  continue;
18529
17934
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
@@ -20230,12 +19635,7 @@ export class Person extends Object {
20230
19635
  }
20231
19636
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
20232
19637
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
20233
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
20234
- ? []
20235
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
20236
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
20237
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
20238
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
19638
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
20239
19639
  if (v == null)
20240
19640
  continue;
20241
19641
  const decoded = typeof v === "object" && "@value" in v &&
@@ -20253,12 +19653,7 @@ export class Person extends Object {
20253
19653
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
20254
19654
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
20255
19655
  const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
20256
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
20257
- ? []
20258
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
20259
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
20260
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
20261
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
19656
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
20262
19657
  if (v == null)
20263
19658
  continue;
20264
19659
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20271,12 +19666,7 @@ export class Person extends Object {
20271
19666
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
20272
19667
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
20273
19668
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
20274
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
20275
- ? []
20276
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
20277
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
20278
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
20279
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
19669
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
20280
19670
  if (v == null)
20281
19671
  continue;
20282
19672
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20289,12 +19679,7 @@ export class Person extends Object {
20289
19679
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
20290
19680
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
20291
19681
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
20292
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
20293
- ? []
20294
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
20295
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
20296
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
20297
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
19682
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
20298
19683
  if (v == null)
20299
19684
  continue;
20300
19685
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
@@ -20302,12 +19687,7 @@ export class Person extends Object {
20302
19687
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
20303
19688
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
20304
19689
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
20305
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
20306
- ? []
20307
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
20308
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
20309
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
20310
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
19690
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
20311
19691
  if (v == null)
20312
19692
  continue;
20313
19693
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20320,12 +19700,7 @@ export class Person extends Object {
20320
19700
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
20321
19701
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
20322
19702
  const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
20323
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
20324
- ? []
20325
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
20326
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
20327
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
20328
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
19703
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
20329
19704
  if (v == null)
20330
19705
  continue;
20331
19706
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20338,12 +19713,7 @@ export class Person extends Object {
20338
19713
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
20339
19714
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
20340
19715
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
20341
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
20342
- ? []
20343
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
20344
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
20345
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
20346
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
19716
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
20347
19717
  if (v == null)
20348
19718
  continue;
20349
19719
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20356,12 +19726,7 @@ export class Person extends Object {
20356
19726
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
20357
19727
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
20358
19728
  const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
20359
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
20360
- ? []
20361
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
20362
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
20363
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
20364
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
19729
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
20365
19730
  if (v == null)
20366
19731
  continue;
20367
19732
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20374,12 +19739,7 @@ export class Person extends Object {
20374
19739
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
20375
19740
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
20376
19741
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
20377
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
20378
- ? []
20379
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
20380
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
20381
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
20382
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
19742
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
20383
19743
  if (v == null)
20384
19744
  continue;
20385
19745
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20392,12 +19752,7 @@ export class Person extends Object {
20392
19752
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
20393
19753
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
20394
19754
  const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
20395
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
20396
- ? []
20397
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
20398
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
20399
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
20400
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
19755
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
20401
19756
  if (v == null)
20402
19757
  continue;
20403
19758
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20410,12 +19765,7 @@ export class Person extends Object {
20410
19765
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
20411
19766
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
20412
19767
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
20413
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
20414
- ? []
20415
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
20416
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
20417
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
20418
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
19768
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
20419
19769
  if (v == null)
20420
19770
  continue;
20421
19771
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20428,12 +19778,7 @@ export class Person extends Object {
20428
19778
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
20429
19779
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
20430
19780
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
20431
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
20432
- ? []
20433
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
20434
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
20435
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
20436
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
19781
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
20437
19782
  if (v == null)
20438
19783
  continue;
20439
19784
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
@@ -20441,12 +19786,7 @@ export class Person extends Object {
20441
19786
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
20442
19787
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
20443
19788
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
20444
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
20445
- ? []
20446
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
20447
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
20448
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
20449
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
19789
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
20450
19790
  if (v == null)
20451
19791
  continue;
20452
19792
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
@@ -20454,12 +19794,7 @@ export class Person extends Object {
20454
19794
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
20455
19795
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
20456
19796
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
20457
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
20458
- ? []
20459
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
20460
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
20461
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
20462
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
19797
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
20463
19798
  if (v == null)
20464
19799
  continue;
20465
19800
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
@@ -20467,12 +19802,7 @@ export class Person extends Object {
20467
19802
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
20468
19803
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
20469
19804
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
20470
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
20471
- ? []
20472
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
20473
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
20474
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
20475
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
19805
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
20476
19806
  if (v == null)
20477
19807
  continue;
20478
19808
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
@@ -20480,12 +19810,7 @@ export class Person extends Object {
20480
19810
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
20481
19811
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
20482
19812
  const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
20483
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
20484
- ? []
20485
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
20486
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
20487
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
20488
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
19813
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
20489
19814
  if (v == null)
20490
19815
  continue;
20491
19816
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
@@ -21052,12 +20377,7 @@ export class Place extends Object {
21052
20377
  }
21053
20378
  const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = [];
21054
20379
  const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
21055
- for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array == null
21056
- ? []
21057
- : _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array.length === 1 &&
21058
- "@list" in _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]
21059
- ? _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]["@list"]
21060
- : _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
20380
+ for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array ?? []) {
21061
20381
  if (v == null)
21062
20382
  continue;
21063
20383
  _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne.push(v["@value"]);
@@ -21065,12 +20385,7 @@ export class Place extends Object {
21065
20385
  instance.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne;
21066
20386
  const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi = [];
21067
20387
  const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
21068
- for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array == null
21069
- ? []
21070
- : _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array.length === 1 &&
21071
- "@list" in _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]
21072
- ? _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]["@list"]
21073
- : _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
20388
+ for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array ?? []) {
21074
20389
  if (v == null)
21075
20390
  continue;
21076
20391
  _3Q6KDcFQUJRRaBux1BL2yp5QWiBi.push(v["@value"]);
@@ -21078,12 +20393,7 @@ export class Place extends Object {
21078
20393
  instance.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi = _3Q6KDcFQUJRRaBux1BL2yp5QWiBi;
21079
20394
  const _3g85RoKRnaNjP7DFyLSvsWDg7HGM = [];
21080
20395
  const _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
21081
- for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array == null
21082
- ? []
21083
- : _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array.length === 1 &&
21084
- "@list" in _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]
21085
- ? _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]["@list"]
21086
- : _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
20396
+ for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array ?? []) {
21087
20397
  if (v == null)
21088
20398
  continue;
21089
20399
  _3g85RoKRnaNjP7DFyLSvsWDg7HGM.push(v["@value"]);
@@ -21091,12 +20401,7 @@ export class Place extends Object {
21091
20401
  instance.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM = _3g85RoKRnaNjP7DFyLSvsWDg7HGM;
21092
20402
  const _B2GEYdS9yBAF3ho1pm1rcRg7cSf = [];
21093
20403
  const _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
21094
- for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array == null
21095
- ? []
21096
- : _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array.length === 1 &&
21097
- "@list" in _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]
21098
- ? _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]["@list"]
21099
- : _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
20404
+ for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array ?? []) {
21100
20405
  if (v == null)
21101
20406
  continue;
21102
20407
  _B2GEYdS9yBAF3ho1pm1rcRg7cSf.push(v["@value"]);
@@ -21104,12 +20409,7 @@ export class Place extends Object {
21104
20409
  instance.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf = _B2GEYdS9yBAF3ho1pm1rcRg7cSf;
21105
20410
  const _3ga86BKHUtRkGx5PHBjRiUXXzwnw = [];
21106
20411
  const _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
21107
- for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array == null
21108
- ? []
21109
- : _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array.length === 1 &&
21110
- "@list" in _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]
21111
- ? _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]["@list"]
21112
- : _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
20412
+ for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array ?? []) {
21113
20413
  if (v == null)
21114
20414
  continue;
21115
20415
  _3ga86BKHUtRkGx5PHBjRiUXXzwnw.push(v["@value"]);
@@ -21117,12 +20417,7 @@ export class Place extends Object {
21117
20417
  instance.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw = _3ga86BKHUtRkGx5PHBjRiUXXzwnw;
21118
20418
  const _oKrwxU4V8wiKhMW1QEYQibcJh8c = [];
21119
20419
  const _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
21120
- for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array == null
21121
- ? []
21122
- : _oKrwxU4V8wiKhMW1QEYQibcJh8c__array.length === 1 &&
21123
- "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]
21124
- ? _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]["@list"]
21125
- : _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
20420
+ for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array ?? []) {
21126
20421
  if (v == null)
21127
20422
  continue;
21128
20423
  const decoded = typeof v === "object" && "@value" in v &&
@@ -21409,12 +20704,7 @@ export class Profile extends Object {
21409
20704
  }
21410
20705
  const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = [];
21411
20706
  const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
21412
- for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array == null
21413
- ? []
21414
- : _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array.length === 1 &&
21415
- "@list" in _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]
21416
- ? _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]["@list"]
21417
- : _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
20707
+ for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array ?? []) {
21418
20708
  if (v == null)
21419
20709
  continue;
21420
20710
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21736,12 +21026,7 @@ export class Question extends IntransitiveActivity {
21736
21026
  }
21737
21027
  const _2N5scKaVEcdYHFmfKYYacAwUhUgQ = [];
21738
21028
  const _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
21739
- for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array == null
21740
- ? []
21741
- : _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array.length === 1 &&
21742
- "@list" in _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]
21743
- ? _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]["@list"]
21744
- : _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
21029
+ for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array ?? []) {
21745
21030
  if (v == null)
21746
21031
  continue;
21747
21032
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21754,12 +21039,7 @@ export class Question extends IntransitiveActivity {
21754
21039
  instance.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ = _2N5scKaVEcdYHFmfKYYacAwUhUgQ;
21755
21040
  const _2mV6isMTPRKbWdLCjcpiEysq5dAY = [];
21756
21041
  const _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
21757
- for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array == null
21758
- ? []
21759
- : _2mV6isMTPRKbWdLCjcpiEysq5dAY__array.length === 1 &&
21760
- "@list" in _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]
21761
- ? _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]["@list"]
21762
- : _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
21042
+ for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array ?? []) {
21763
21043
  if (v == null)
21764
21044
  continue;
21765
21045
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22409,12 +21689,7 @@ export class Relationship extends Object {
22409
21689
  }
22410
21690
  const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq = [];
22411
21691
  const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
22412
- for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array == null
22413
- ? []
22414
- : _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array.length === 1 &&
22415
- "@list" in _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]
22416
- ? _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]["@list"]
22417
- : _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
21692
+ for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array ?? []) {
22418
21693
  if (v == null)
22419
21694
  continue;
22420
21695
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22427,12 +21702,7 @@ export class Relationship extends Object {
22427
21702
  instance.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq = _2Zqdmi46ZnDQsECS6mzwhrv3rUKq;
22428
21703
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
22429
21704
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
22430
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null
22431
- ? []
22432
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
22433
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]
22434
- ? _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"]
22435
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
21705
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
22436
21706
  if (v == null)
22437
21707
  continue;
22438
21708
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22445,12 +21715,7 @@ export class Relationship extends Object {
22445
21715
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
22446
21716
  const _4Lzz89F9qipAQSGkWyX9DGWiUojG = [];
22447
21717
  const _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
22448
- for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array == null
22449
- ? []
22450
- : _4Lzz89F9qipAQSGkWyX9DGWiUojG__array.length === 1 &&
22451
- "@list" in _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]
22452
- ? _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]["@list"]
22453
- : _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
21718
+ for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array ?? []) {
22454
21719
  if (v == null)
22455
21720
  continue;
22456
21721
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24013,12 +23278,7 @@ export class Service extends Object {
24013
23278
  }
24014
23279
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
24015
23280
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
24016
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
24017
- ? []
24018
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
24019
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
24020
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
24021
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
23281
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
24022
23282
  if (v == null)
24023
23283
  continue;
24024
23284
  const decoded = typeof v === "object" && "@value" in v &&
@@ -24036,12 +23296,7 @@ export class Service extends Object {
24036
23296
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
24037
23297
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
24038
23298
  const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
24039
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
24040
- ? []
24041
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
24042
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
24043
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
24044
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
23299
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
24045
23300
  if (v == null)
24046
23301
  continue;
24047
23302
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24054,12 +23309,7 @@ export class Service extends Object {
24054
23309
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
24055
23310
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
24056
23311
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
24057
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
24058
- ? []
24059
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
24060
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
24061
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
24062
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
23312
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
24063
23313
  if (v == null)
24064
23314
  continue;
24065
23315
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24072,12 +23322,7 @@ export class Service extends Object {
24072
23322
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
24073
23323
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
24074
23324
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
24075
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
24076
- ? []
24077
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
24078
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
24079
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
24080
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
23325
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
24081
23326
  if (v == null)
24082
23327
  continue;
24083
23328
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
@@ -24085,12 +23330,7 @@ export class Service extends Object {
24085
23330
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
24086
23331
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
24087
23332
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
24088
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
24089
- ? []
24090
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
24091
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
24092
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
24093
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
23333
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
24094
23334
  if (v == null)
24095
23335
  continue;
24096
23336
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24103,12 +23343,7 @@ export class Service extends Object {
24103
23343
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
24104
23344
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
24105
23345
  const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
24106
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
24107
- ? []
24108
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
24109
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
24110
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
24111
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
23346
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
24112
23347
  if (v == null)
24113
23348
  continue;
24114
23349
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24121,12 +23356,7 @@ export class Service extends Object {
24121
23356
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
24122
23357
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
24123
23358
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
24124
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
24125
- ? []
24126
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
24127
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
24128
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
24129
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
23359
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
24130
23360
  if (v == null)
24131
23361
  continue;
24132
23362
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24139,12 +23369,7 @@ export class Service extends Object {
24139
23369
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
24140
23370
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
24141
23371
  const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
24142
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
24143
- ? []
24144
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
24145
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
24146
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
24147
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
23372
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
24148
23373
  if (v == null)
24149
23374
  continue;
24150
23375
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24157,12 +23382,7 @@ export class Service extends Object {
24157
23382
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
24158
23383
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
24159
23384
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
24160
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
24161
- ? []
24162
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
24163
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
24164
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
24165
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
23385
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
24166
23386
  if (v == null)
24167
23387
  continue;
24168
23388
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24175,12 +23395,7 @@ export class Service extends Object {
24175
23395
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
24176
23396
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
24177
23397
  const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
24178
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
24179
- ? []
24180
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
24181
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
24182
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
24183
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
23398
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
24184
23399
  if (v == null)
24185
23400
  continue;
24186
23401
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24193,12 +23408,7 @@ export class Service extends Object {
24193
23408
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
24194
23409
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
24195
23410
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
24196
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
24197
- ? []
24198
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
24199
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
24200
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
24201
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
23411
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
24202
23412
  if (v == null)
24203
23413
  continue;
24204
23414
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24211,12 +23421,7 @@ export class Service extends Object {
24211
23421
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
24212
23422
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
24213
23423
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
24214
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
24215
- ? []
24216
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
24217
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
24218
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
24219
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
23424
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
24220
23425
  if (v == null)
24221
23426
  continue;
24222
23427
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
@@ -24224,12 +23429,7 @@ export class Service extends Object {
24224
23429
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
24225
23430
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
24226
23431
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
24227
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
24228
- ? []
24229
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
24230
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
24231
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
24232
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
23432
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
24233
23433
  if (v == null)
24234
23434
  continue;
24235
23435
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
@@ -24237,12 +23437,7 @@ export class Service extends Object {
24237
23437
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
24238
23438
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
24239
23439
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
24240
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
24241
- ? []
24242
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
24243
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
24244
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
24245
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
23440
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
24246
23441
  if (v == null)
24247
23442
  continue;
24248
23443
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
@@ -24250,12 +23445,7 @@ export class Service extends Object {
24250
23445
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
24251
23446
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
24252
23447
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
24253
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
24254
- ? []
24255
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
24256
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
24257
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
24258
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
23448
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
24259
23449
  if (v == null)
24260
23450
  continue;
24261
23451
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
@@ -24263,12 +23453,7 @@ export class Service extends Object {
24263
23453
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
24264
23454
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
24265
23455
  const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
24266
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
24267
- ? []
24268
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
24269
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
24270
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
24271
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
23456
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
24272
23457
  if (v == null)
24273
23458
  continue;
24274
23459
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
@@ -24622,12 +23807,7 @@ export class Tombstone extends Object {
24622
23807
  }
24623
23808
  const _8g8g4LiVMhFTXskuDEqx4ascxUr = [];
24624
23809
  const _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
24625
- for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array == null
24626
- ? []
24627
- : _8g8g4LiVMhFTXskuDEqx4ascxUr__array.length === 1 &&
24628
- "@list" in _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]
24629
- ? _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]["@list"]
24630
- : _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
23810
+ for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array ?? []) {
24631
23811
  if (v == null)
24632
23812
  continue;
24633
23813
  _8g8g4LiVMhFTXskuDEqx4ascxUr.push(dntShim.Temporal.Instant.from(v["@value"]));