@fedify/fedify 1.1.0-dev.444 → 1.1.0-dev.446

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3882,7 +3882,9 @@ export class Object {
3882
3882
  continue;
3883
3883
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
3884
3884
  globalThis.Object.keys(v).length === 1) {
3885
- _49BipA5dq9eoH8LX8xdsVumveTca_attachment.push(new URL(v["@id"]));
3885
+ _49BipA5dq9eoH8LX8xdsVumveTca_attachment.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
3886
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
3887
+ : new URL(v["@id"]));
3886
3888
  continue;
3887
3889
  }
3888
3890
  const decoded = typeof v === "object" && "@type" in v &&
@@ -3976,7 +3978,9 @@ export class Object {
3976
3978
  continue;
3977
3979
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
3978
3980
  globalThis.Object.keys(v).length === 1) {
3979
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.push(new URL(v["@id"]));
3981
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
3982
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
3983
+ : new URL(v["@id"]));
3980
3984
  continue;
3981
3985
  }
3982
3986
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4018,7 +4022,9 @@ export class Object {
4018
4022
  continue;
4019
4023
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4020
4024
  globalThis.Object.keys(v).length === 1) {
4021
- _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(new URL(v["@id"]));
4025
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4026
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4027
+ : new URL(v["@id"]));
4022
4028
  continue;
4023
4029
  }
4024
4030
  _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(await _a.fromJsonLd(v, options));
@@ -4061,7 +4067,9 @@ export class Object {
4061
4067
  continue;
4062
4068
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4063
4069
  globalThis.Object.keys(v).length === 1) {
4064
- _3mhZzGXSpQ431mBSz2kvych22v4e_context.push(new URL(v["@id"]));
4070
+ _3mhZzGXSpQ431mBSz2kvych22v4e_context.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4071
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4072
+ : new URL(v["@id"]));
4065
4073
  continue;
4066
4074
  }
4067
4075
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4189,7 +4197,9 @@ export class Object {
4189
4197
  continue;
4190
4198
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4191
4199
  globalThis.Object.keys(v).length === 1) {
4192
- _86xFhmgBapoMvYqjbjRuDPayTrS_generator.push(new URL(v["@id"]));
4200
+ _86xFhmgBapoMvYqjbjRuDPayTrS_generator.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4201
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4202
+ : new URL(v["@id"]));
4193
4203
  continue;
4194
4204
  }
4195
4205
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4279,7 +4289,9 @@ export class Object {
4279
4289
  continue;
4280
4290
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4281
4291
  globalThis.Object.keys(v).length === 1) {
4282
- _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(new URL(v["@id"]));
4292
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4293
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4294
+ : new URL(v["@id"]));
4283
4295
  continue;
4284
4296
  }
4285
4297
  _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(await Image.fromJsonLd(v, options));
@@ -4298,7 +4310,9 @@ export class Object {
4298
4310
  continue;
4299
4311
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4300
4312
  globalThis.Object.keys(v).length === 1) {
4301
- _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(new URL(v["@id"]));
4313
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4314
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4315
+ : new URL(v["@id"]));
4302
4316
  continue;
4303
4317
  }
4304
4318
  _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(await Image.fromJsonLd(v, options));
@@ -4317,7 +4331,9 @@ export class Object {
4317
4331
  continue;
4318
4332
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4319
4333
  globalThis.Object.keys(v).length === 1) {
4320
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.push(new URL(v["@id"]));
4334
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4335
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4336
+ : new URL(v["@id"]));
4321
4337
  continue;
4322
4338
  }
4323
4339
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4407,7 +4423,9 @@ export class Object {
4407
4423
  continue;
4408
4424
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4409
4425
  globalThis.Object.keys(v).length === 1) {
4410
- _31k5MUZJsnsPNg8dQQJieWaXTFnR_location.push(new URL(v["@id"]));
4426
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR_location.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4427
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4428
+ : new URL(v["@id"]));
4411
4429
  continue;
4412
4430
  }
4413
4431
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4497,7 +4515,9 @@ export class Object {
4497
4515
  continue;
4498
4516
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4499
4517
  globalThis.Object.keys(v).length === 1) {
4500
- _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(new URL(v["@id"]));
4518
+ _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4519
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4520
+ : new URL(v["@id"]));
4501
4521
  continue;
4502
4522
  }
4503
4523
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4601,7 +4621,9 @@ export class Object {
4601
4621
  continue;
4602
4622
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4603
4623
  globalThis.Object.keys(v).length === 1) {
4604
- _7UpwM3JWcXhADcscukEehBorf6k_replies.push(new URL(v["@id"]));
4624
+ _7UpwM3JWcXhADcscukEehBorf6k_replies.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4625
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4626
+ : new URL(v["@id"]));
4605
4627
  continue;
4606
4628
  }
4607
4629
  _7UpwM3JWcXhADcscukEehBorf6k_replies.push(await Collection.fromJsonLd(v, options));
@@ -4658,7 +4680,9 @@ export class Object {
4658
4680
  continue;
4659
4681
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4660
4682
  globalThis.Object.keys(v).length === 1) {
4661
- _5chuqj6s95p5gg2sk1HntGfarRf_tag.push(new URL(v["@id"]));
4683
+ _5chuqj6s95p5gg2sk1HntGfarRf_tag.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4684
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4685
+ : new URL(v["@id"]));
4662
4686
  continue;
4663
4687
  }
4664
4688
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4791,7 +4815,9 @@ export class Object {
4791
4815
  continue;
4792
4816
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4793
4817
  globalThis.Object.keys(v).length === 1) {
4794
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(new URL(v["@id"]));
4818
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4819
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4820
+ : new URL(v["@id"]));
4795
4821
  continue;
4796
4822
  }
4797
4823
  _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(await _a.fromJsonLd(v, options));
@@ -4810,7 +4836,9 @@ export class Object {
4810
4836
  continue;
4811
4837
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4812
4838
  globalThis.Object.keys(v).length === 1) {
4813
- _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(new URL(v["@id"]));
4839
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4840
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4841
+ : new URL(v["@id"]));
4814
4842
  continue;
4815
4843
  }
4816
4844
  _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(await _a.fromJsonLd(v, options));
@@ -4829,7 +4857,9 @@ export class Object {
4829
4857
  continue;
4830
4858
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4831
4859
  globalThis.Object.keys(v).length === 1) {
4832
- _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(new URL(v["@id"]));
4860
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4861
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4862
+ : new URL(v["@id"]));
4833
4863
  continue;
4834
4864
  }
4835
4865
  _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(await _a.fromJsonLd(v, options));
@@ -4848,7 +4878,9 @@ export class Object {
4848
4878
  continue;
4849
4879
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4850
4880
  globalThis.Object.keys(v).length === 1) {
4851
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(new URL(v["@id"]));
4881
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4882
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4883
+ : new URL(v["@id"]));
4852
4884
  continue;
4853
4885
  }
4854
4886
  _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(await _a.fromJsonLd(v, options));
@@ -4923,7 +4955,9 @@ export class Object {
4923
4955
  continue;
4924
4956
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4925
4957
  globalThis.Object.keys(v).length === 1) {
4926
- _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(new URL(v["@id"]));
4958
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4959
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4960
+ : new URL(v["@id"]));
4927
4961
  continue;
4928
4962
  }
4929
4963
  _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(await DataIntegrityProof.fromJsonLd(v, options));
@@ -7073,7 +7107,9 @@ export class Activity extends Object {
7073
7107
  continue;
7074
7108
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7075
7109
  globalThis.Object.keys(v).length === 1) {
7076
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.push(new URL(v["@id"]));
7110
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7111
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7112
+ : new URL(v["@id"]));
7077
7113
  continue;
7078
7114
  }
7079
7115
  const decoded = typeof v === "object" && "@type" in v &&
@@ -7115,7 +7151,9 @@ export class Activity extends Object {
7115
7151
  continue;
7116
7152
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7117
7153
  globalThis.Object.keys(v).length === 1) {
7118
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(new URL(v["@id"]));
7154
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7155
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7156
+ : new URL(v["@id"]));
7119
7157
  continue;
7120
7158
  }
7121
7159
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(await Object.fromJsonLd(v, options));
@@ -7134,7 +7172,9 @@ export class Activity extends Object {
7134
7172
  continue;
7135
7173
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7136
7174
  globalThis.Object.keys(v).length === 1) {
7137
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(new URL(v["@id"]));
7175
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7176
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7177
+ : new URL(v["@id"]));
7138
7178
  continue;
7139
7179
  }
7140
7180
  _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(await Object.fromJsonLd(v, options));
@@ -7153,7 +7193,9 @@ export class Activity extends Object {
7153
7193
  continue;
7154
7194
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7155
7195
  globalThis.Object.keys(v).length === 1) {
7156
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(new URL(v["@id"]));
7196
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7197
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7198
+ : new URL(v["@id"]));
7157
7199
  continue;
7158
7200
  }
7159
7201
  _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(await Object.fromJsonLd(v, options));
@@ -7172,7 +7214,9 @@ export class Activity extends Object {
7172
7214
  continue;
7173
7215
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7174
7216
  globalThis.Object.keys(v).length === 1) {
7175
- _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(new URL(v["@id"]));
7217
+ _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7218
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7219
+ : new URL(v["@id"]));
7176
7220
  continue;
7177
7221
  }
7178
7222
  _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(await Object.fromJsonLd(v, options));
@@ -7191,7 +7235,9 @@ export class Activity extends Object {
7191
7235
  continue;
7192
7236
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7193
7237
  globalThis.Object.keys(v).length === 1) {
7194
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(new URL(v["@id"]));
7238
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7239
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7240
+ : new URL(v["@id"]));
7195
7241
  continue;
7196
7242
  }
7197
7243
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(await Object.fromJsonLd(v, options));
@@ -8704,7 +8750,9 @@ export class DataIntegrityProof {
8704
8750
  continue;
8705
8751
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
8706
8752
  globalThis.Object.keys(v).length === 1) {
8707
- _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(new URL(v["@id"]));
8753
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
8754
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
8755
+ : new URL(v["@id"]));
8708
8756
  continue;
8709
8757
  }
8710
8758
  _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(await Multikey.fromJsonLd(v, options));
@@ -9221,7 +9269,9 @@ export class CryptographicKey {
9221
9269
  continue;
9222
9270
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9223
9271
  globalThis.Object.keys(v).length === 1) {
9224
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.push(new URL(v["@id"]));
9272
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9273
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9274
+ : new URL(v["@id"]));
9225
9275
  continue;
9226
9276
  }
9227
9277
  const decoded = typeof v === "object" && "@type" in v &&
@@ -9713,7 +9763,9 @@ export class Multikey {
9713
9763
  continue;
9714
9764
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9715
9765
  globalThis.Object.keys(v).length === 1) {
9716
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.push(new URL(v["@id"]));
9766
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9767
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9768
+ : new URL(v["@id"]));
9717
9769
  continue;
9718
9770
  }
9719
9771
  const decoded = typeof v === "object" && "@type" in v &&
@@ -12265,6 +12317,7 @@ export class Application extends Object {
12265
12317
  "https://www.w3.org/ns/did/v1",
12266
12318
  "https://w3id.org/security/multikey/v1",
12267
12319
  {
12320
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
12268
12321
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
12269
12322
  "toot": "http://joinmastodon.org/ns#",
12270
12323
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -12520,6 +12573,7 @@ export class Application extends Object {
12520
12573
  "https://www.w3.org/ns/did/v1",
12521
12574
  "https://w3id.org/security/multikey/v1",
12522
12575
  {
12576
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
12523
12577
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
12524
12578
  "toot": "http://joinmastodon.org/ns#",
12525
12579
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -12643,7 +12697,9 @@ export class Application extends Object {
12643
12697
  continue;
12644
12698
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12645
12699
  globalThis.Object.keys(v).length === 1) {
12646
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
12700
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12701
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12702
+ : new URL(v["@id"]));
12647
12703
  continue;
12648
12704
  }
12649
12705
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -12662,7 +12718,9 @@ export class Application extends Object {
12662
12718
  continue;
12663
12719
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12664
12720
  globalThis.Object.keys(v).length === 1) {
12665
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
12721
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12722
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12723
+ : new URL(v["@id"]));
12666
12724
  continue;
12667
12725
  }
12668
12726
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -12697,7 +12755,9 @@ export class Application extends Object {
12697
12755
  continue;
12698
12756
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12699
12757
  globalThis.Object.keys(v).length === 1) {
12700
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
12758
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12759
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12760
+ : new URL(v["@id"]));
12701
12761
  continue;
12702
12762
  }
12703
12763
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -12716,7 +12776,9 @@ export class Application extends Object {
12716
12776
  continue;
12717
12777
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12718
12778
  globalThis.Object.keys(v).length === 1) {
12719
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
12779
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12780
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12781
+ : new URL(v["@id"]));
12720
12782
  continue;
12721
12783
  }
12722
12784
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -12735,7 +12797,9 @@ export class Application extends Object {
12735
12797
  continue;
12736
12798
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12737
12799
  globalThis.Object.keys(v).length === 1) {
12738
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
12800
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12801
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12802
+ : new URL(v["@id"]));
12739
12803
  continue;
12740
12804
  }
12741
12805
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -12754,7 +12818,9 @@ export class Application extends Object {
12754
12818
  continue;
12755
12819
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12756
12820
  globalThis.Object.keys(v).length === 1) {
12757
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
12821
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12822
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12823
+ : new URL(v["@id"]));
12758
12824
  continue;
12759
12825
  }
12760
12826
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -12773,7 +12839,9 @@ export class Application extends Object {
12773
12839
  continue;
12774
12840
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12775
12841
  globalThis.Object.keys(v).length === 1) {
12776
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
12842
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12843
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12844
+ : new URL(v["@id"]));
12777
12845
  continue;
12778
12846
  }
12779
12847
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -12792,7 +12860,9 @@ export class Application extends Object {
12792
12860
  continue;
12793
12861
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12794
12862
  globalThis.Object.keys(v).length === 1) {
12795
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
12863
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12864
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12865
+ : new URL(v["@id"]));
12796
12866
  continue;
12797
12867
  }
12798
12868
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -12811,7 +12881,9 @@ export class Application extends Object {
12811
12881
  continue;
12812
12882
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12813
12883
  globalThis.Object.keys(v).length === 1) {
12814
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
12884
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12885
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12886
+ : new URL(v["@id"]));
12815
12887
  continue;
12816
12888
  }
12817
12889
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -12830,7 +12902,9 @@ export class Application extends Object {
12830
12902
  continue;
12831
12903
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12832
12904
  globalThis.Object.keys(v).length === 1) {
12833
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
12905
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12906
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12907
+ : new URL(v["@id"]));
12834
12908
  continue;
12835
12909
  }
12836
12910
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -12919,7 +12993,9 @@ export class Application extends Object {
12919
12993
  continue;
12920
12994
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12921
12995
  globalThis.Object.keys(v).length === 1) {
12922
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
12996
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12997
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12998
+ : new URL(v["@id"]));
12923
12999
  continue;
12924
13000
  }
12925
13001
  const decoded = typeof v === "object" && "@type" in v &&
@@ -12961,7 +13037,9 @@ export class Application extends Object {
12961
13037
  continue;
12962
13038
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12963
13039
  globalThis.Object.keys(v).length === 1) {
12964
- _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(new URL(v["@id"]));
13040
+ _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
13041
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
13042
+ : new URL(v["@id"]));
12965
13043
  continue;
12966
13044
  }
12967
13045
  _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(await DidService.fromJsonLd(v, options));
@@ -15453,7 +15531,9 @@ export class Collection extends Object {
15453
15531
  continue;
15454
15532
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15455
15533
  globalThis.Object.keys(v).length === 1) {
15456
- _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(new URL(v["@id"]));
15534
+ _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15535
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15536
+ : new URL(v["@id"]));
15457
15537
  continue;
15458
15538
  }
15459
15539
  _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(await CollectionPage.fromJsonLd(v, options));
@@ -15472,7 +15552,9 @@ export class Collection extends Object {
15472
15552
  continue;
15473
15553
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15474
15554
  globalThis.Object.keys(v).length === 1) {
15475
- _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(new URL(v["@id"]));
15555
+ _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15556
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15557
+ : new URL(v["@id"]));
15476
15558
  continue;
15477
15559
  }
15478
15560
  _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(await CollectionPage.fromJsonLd(v, options));
@@ -15491,7 +15573,9 @@ export class Collection extends Object {
15491
15573
  continue;
15492
15574
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15493
15575
  globalThis.Object.keys(v).length === 1) {
15494
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(new URL(v["@id"]));
15576
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15577
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15578
+ : new URL(v["@id"]));
15495
15579
  continue;
15496
15580
  }
15497
15581
  _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(await CollectionPage.fromJsonLd(v, options));
@@ -15510,7 +15594,9 @@ export class Collection extends Object {
15510
15594
  continue;
15511
15595
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15512
15596
  globalThis.Object.keys(v).length === 1) {
15513
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
15597
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15598
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15599
+ : new URL(v["@id"]));
15514
15600
  continue;
15515
15601
  }
15516
15602
  const decoded = typeof v === "object" && "@type" in v &&
@@ -16164,7 +16250,9 @@ export class CollectionPage extends Collection {
16164
16250
  continue;
16165
16251
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
16166
16252
  globalThis.Object.keys(v).length === 1) {
16167
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(new URL(v["@id"]));
16253
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
16254
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
16255
+ : new URL(v["@id"]));
16168
16256
  continue;
16169
16257
  }
16170
16258
  _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(await Collection.fromJsonLd(v, options));
@@ -16183,7 +16271,9 @@ export class CollectionPage extends Collection {
16183
16271
  continue;
16184
16272
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
16185
16273
  globalThis.Object.keys(v).length === 1) {
16186
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(new URL(v["@id"]));
16274
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
16275
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
16276
+ : new URL(v["@id"]));
16187
16277
  continue;
16188
16278
  }
16189
16279
  _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(await _c.fromJsonLd(v, options));
@@ -16202,7 +16292,9 @@ export class CollectionPage extends Collection {
16202
16292
  continue;
16203
16293
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
16204
16294
  globalThis.Object.keys(v).length === 1) {
16205
- _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(new URL(v["@id"]));
16295
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
16296
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
16297
+ : new URL(v["@id"]));
16206
16298
  continue;
16207
16299
  }
16208
16300
  _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(await _c.fromJsonLd(v, options));
@@ -19892,6 +19984,7 @@ export class Group extends Object {
19892
19984
  "https://www.w3.org/ns/did/v1",
19893
19985
  "https://w3id.org/security/multikey/v1",
19894
19986
  {
19987
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
19895
19988
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
19896
19989
  "toot": "http://joinmastodon.org/ns#",
19897
19990
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -20147,6 +20240,7 @@ export class Group extends Object {
20147
20240
  "https://www.w3.org/ns/did/v1",
20148
20241
  "https://w3id.org/security/multikey/v1",
20149
20242
  {
20243
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
20150
20244
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
20151
20245
  "toot": "http://joinmastodon.org/ns#",
20152
20246
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -20270,7 +20364,9 @@ export class Group extends Object {
20270
20364
  continue;
20271
20365
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20272
20366
  globalThis.Object.keys(v).length === 1) {
20273
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
20367
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20368
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20369
+ : new URL(v["@id"]));
20274
20370
  continue;
20275
20371
  }
20276
20372
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -20289,7 +20385,9 @@ export class Group extends Object {
20289
20385
  continue;
20290
20386
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20291
20387
  globalThis.Object.keys(v).length === 1) {
20292
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
20388
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20389
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20390
+ : new URL(v["@id"]));
20293
20391
  continue;
20294
20392
  }
20295
20393
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -20324,7 +20422,9 @@ export class Group extends Object {
20324
20422
  continue;
20325
20423
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20326
20424
  globalThis.Object.keys(v).length === 1) {
20327
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
20425
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20426
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20427
+ : new URL(v["@id"]));
20328
20428
  continue;
20329
20429
  }
20330
20430
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -20343,7 +20443,9 @@ export class Group extends Object {
20343
20443
  continue;
20344
20444
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20345
20445
  globalThis.Object.keys(v).length === 1) {
20346
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
20446
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20447
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20448
+ : new URL(v["@id"]));
20347
20449
  continue;
20348
20450
  }
20349
20451
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -20362,7 +20464,9 @@ export class Group extends Object {
20362
20464
  continue;
20363
20465
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20364
20466
  globalThis.Object.keys(v).length === 1) {
20365
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
20467
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20468
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20469
+ : new URL(v["@id"]));
20366
20470
  continue;
20367
20471
  }
20368
20472
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -20381,7 +20485,9 @@ export class Group extends Object {
20381
20485
  continue;
20382
20486
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20383
20487
  globalThis.Object.keys(v).length === 1) {
20384
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
20488
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20489
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20490
+ : new URL(v["@id"]));
20385
20491
  continue;
20386
20492
  }
20387
20493
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -20400,7 +20506,9 @@ export class Group extends Object {
20400
20506
  continue;
20401
20507
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20402
20508
  globalThis.Object.keys(v).length === 1) {
20403
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
20509
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20510
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20511
+ : new URL(v["@id"]));
20404
20512
  continue;
20405
20513
  }
20406
20514
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -20419,7 +20527,9 @@ export class Group extends Object {
20419
20527
  continue;
20420
20528
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20421
20529
  globalThis.Object.keys(v).length === 1) {
20422
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
20530
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20531
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20532
+ : new URL(v["@id"]));
20423
20533
  continue;
20424
20534
  }
20425
20535
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -20438,7 +20548,9 @@ export class Group extends Object {
20438
20548
  continue;
20439
20549
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20440
20550
  globalThis.Object.keys(v).length === 1) {
20441
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
20551
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20552
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20553
+ : new URL(v["@id"]));
20442
20554
  continue;
20443
20555
  }
20444
20556
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -20457,7 +20569,9 @@ export class Group extends Object {
20457
20569
  continue;
20458
20570
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20459
20571
  globalThis.Object.keys(v).length === 1) {
20460
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
20572
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20573
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20574
+ : new URL(v["@id"]));
20461
20575
  continue;
20462
20576
  }
20463
20577
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -20546,7 +20660,9 @@ export class Group extends Object {
20546
20660
  continue;
20547
20661
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20548
20662
  globalThis.Object.keys(v).length === 1) {
20549
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
20663
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20664
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20665
+ : new URL(v["@id"]));
20550
20666
  continue;
20551
20667
  }
20552
20668
  const decoded = typeof v === "object" && "@type" in v &&
@@ -20588,7 +20704,9 @@ export class Group extends Object {
20588
20704
  continue;
20589
20705
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20590
20706
  globalThis.Object.keys(v).length === 1) {
20591
- _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(new URL(v["@id"]));
20707
+ _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20708
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20709
+ : new URL(v["@id"]));
20592
20710
  continue;
20593
20711
  }
20594
20712
  _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(await DidService.fromJsonLd(v, options));
@@ -21747,7 +21865,9 @@ export class Link {
21747
21865
  continue;
21748
21866
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
21749
21867
  globalThis.Object.keys(v).length === 1) {
21750
- _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(new URL(v["@id"]));
21868
+ _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
21869
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
21870
+ : new URL(v["@id"]));
21751
21871
  continue;
21752
21872
  }
21753
21873
  const decoded = typeof v === "object" && "@type" in v &&
@@ -24178,7 +24298,9 @@ export class OrderedCollection extends Collection {
24178
24298
  continue;
24179
24299
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
24180
24300
  globalThis.Object.keys(v).length === 1) {
24181
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
24301
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
24302
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
24303
+ : new URL(v["@id"]));
24182
24304
  continue;
24183
24305
  }
24184
24306
  const decoded = typeof v === "object" && "@type" in v &&
@@ -24650,7 +24772,9 @@ export class OrderedCollectionPage extends CollectionPage {
24650
24772
  continue;
24651
24773
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
24652
24774
  globalThis.Object.keys(v).length === 1) {
24653
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
24775
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
24776
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
24777
+ : new URL(v["@id"]));
24654
24778
  continue;
24655
24779
  }
24656
24780
  const decoded = typeof v === "object" && "@type" in v &&
@@ -26745,6 +26869,7 @@ export class Organization extends Object {
26745
26869
  "https://www.w3.org/ns/did/v1",
26746
26870
  "https://w3id.org/security/multikey/v1",
26747
26871
  {
26872
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
26748
26873
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
26749
26874
  "toot": "http://joinmastodon.org/ns#",
26750
26875
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -27000,6 +27125,7 @@ export class Organization extends Object {
27000
27125
  "https://www.w3.org/ns/did/v1",
27001
27126
  "https://w3id.org/security/multikey/v1",
27002
27127
  {
27128
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
27003
27129
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
27004
27130
  "toot": "http://joinmastodon.org/ns#",
27005
27131
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -27123,7 +27249,9 @@ export class Organization extends Object {
27123
27249
  continue;
27124
27250
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27125
27251
  globalThis.Object.keys(v).length === 1) {
27126
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
27252
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27253
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27254
+ : new URL(v["@id"]));
27127
27255
  continue;
27128
27256
  }
27129
27257
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -27142,7 +27270,9 @@ export class Organization extends Object {
27142
27270
  continue;
27143
27271
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27144
27272
  globalThis.Object.keys(v).length === 1) {
27145
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
27273
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27274
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27275
+ : new URL(v["@id"]));
27146
27276
  continue;
27147
27277
  }
27148
27278
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -27177,7 +27307,9 @@ export class Organization extends Object {
27177
27307
  continue;
27178
27308
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27179
27309
  globalThis.Object.keys(v).length === 1) {
27180
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
27310
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27311
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27312
+ : new URL(v["@id"]));
27181
27313
  continue;
27182
27314
  }
27183
27315
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -27196,7 +27328,9 @@ export class Organization extends Object {
27196
27328
  continue;
27197
27329
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27198
27330
  globalThis.Object.keys(v).length === 1) {
27199
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
27331
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27332
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27333
+ : new URL(v["@id"]));
27200
27334
  continue;
27201
27335
  }
27202
27336
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -27215,7 +27349,9 @@ export class Organization extends Object {
27215
27349
  continue;
27216
27350
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27217
27351
  globalThis.Object.keys(v).length === 1) {
27218
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
27352
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27353
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27354
+ : new URL(v["@id"]));
27219
27355
  continue;
27220
27356
  }
27221
27357
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -27234,7 +27370,9 @@ export class Organization extends Object {
27234
27370
  continue;
27235
27371
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27236
27372
  globalThis.Object.keys(v).length === 1) {
27237
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
27373
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27374
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27375
+ : new URL(v["@id"]));
27238
27376
  continue;
27239
27377
  }
27240
27378
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -27253,7 +27391,9 @@ export class Organization extends Object {
27253
27391
  continue;
27254
27392
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27255
27393
  globalThis.Object.keys(v).length === 1) {
27256
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
27394
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27395
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27396
+ : new URL(v["@id"]));
27257
27397
  continue;
27258
27398
  }
27259
27399
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -27272,7 +27412,9 @@ export class Organization extends Object {
27272
27412
  continue;
27273
27413
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27274
27414
  globalThis.Object.keys(v).length === 1) {
27275
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
27415
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27416
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27417
+ : new URL(v["@id"]));
27276
27418
  continue;
27277
27419
  }
27278
27420
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -27291,7 +27433,9 @@ export class Organization extends Object {
27291
27433
  continue;
27292
27434
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27293
27435
  globalThis.Object.keys(v).length === 1) {
27294
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
27436
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27437
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27438
+ : new URL(v["@id"]));
27295
27439
  continue;
27296
27440
  }
27297
27441
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -27310,7 +27454,9 @@ export class Organization extends Object {
27310
27454
  continue;
27311
27455
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27312
27456
  globalThis.Object.keys(v).length === 1) {
27313
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
27457
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27458
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27459
+ : new URL(v["@id"]));
27314
27460
  continue;
27315
27461
  }
27316
27462
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -27399,7 +27545,9 @@ export class Organization extends Object {
27399
27545
  continue;
27400
27546
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27401
27547
  globalThis.Object.keys(v).length === 1) {
27402
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
27548
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27549
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27550
+ : new URL(v["@id"]));
27403
27551
  continue;
27404
27552
  }
27405
27553
  const decoded = typeof v === "object" && "@type" in v &&
@@ -27441,7 +27589,9 @@ export class Organization extends Object {
27441
27589
  continue;
27442
27590
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
27443
27591
  globalThis.Object.keys(v).length === 1) {
27444
- _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(new URL(v["@id"]));
27592
+ _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
27593
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
27594
+ : new URL(v["@id"]));
27445
27595
  continue;
27446
27596
  }
27447
27597
  _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(await DidService.fromJsonLd(v, options));
@@ -29885,6 +30035,7 @@ export class Person extends Object {
29885
30035
  "https://www.w3.org/ns/did/v1",
29886
30036
  "https://w3id.org/security/multikey/v1",
29887
30037
  {
30038
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
29888
30039
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
29889
30040
  "toot": "http://joinmastodon.org/ns#",
29890
30041
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -30140,6 +30291,7 @@ export class Person extends Object {
30140
30291
  "https://www.w3.org/ns/did/v1",
30141
30292
  "https://w3id.org/security/multikey/v1",
30142
30293
  {
30294
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
30143
30295
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
30144
30296
  "toot": "http://joinmastodon.org/ns#",
30145
30297
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -30263,7 +30415,9 @@ export class Person extends Object {
30263
30415
  continue;
30264
30416
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30265
30417
  globalThis.Object.keys(v).length === 1) {
30266
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
30418
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30419
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30420
+ : new URL(v["@id"]));
30267
30421
  continue;
30268
30422
  }
30269
30423
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -30282,7 +30436,9 @@ export class Person extends Object {
30282
30436
  continue;
30283
30437
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30284
30438
  globalThis.Object.keys(v).length === 1) {
30285
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
30439
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30440
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30441
+ : new URL(v["@id"]));
30286
30442
  continue;
30287
30443
  }
30288
30444
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -30317,7 +30473,9 @@ export class Person extends Object {
30317
30473
  continue;
30318
30474
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30319
30475
  globalThis.Object.keys(v).length === 1) {
30320
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
30476
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30477
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30478
+ : new URL(v["@id"]));
30321
30479
  continue;
30322
30480
  }
30323
30481
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -30336,7 +30494,9 @@ export class Person extends Object {
30336
30494
  continue;
30337
30495
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30338
30496
  globalThis.Object.keys(v).length === 1) {
30339
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
30497
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30498
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30499
+ : new URL(v["@id"]));
30340
30500
  continue;
30341
30501
  }
30342
30502
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -30355,7 +30515,9 @@ export class Person extends Object {
30355
30515
  continue;
30356
30516
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30357
30517
  globalThis.Object.keys(v).length === 1) {
30358
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
30518
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30519
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30520
+ : new URL(v["@id"]));
30359
30521
  continue;
30360
30522
  }
30361
30523
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -30374,7 +30536,9 @@ export class Person extends Object {
30374
30536
  continue;
30375
30537
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30376
30538
  globalThis.Object.keys(v).length === 1) {
30377
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
30539
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30540
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30541
+ : new URL(v["@id"]));
30378
30542
  continue;
30379
30543
  }
30380
30544
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -30393,7 +30557,9 @@ export class Person extends Object {
30393
30557
  continue;
30394
30558
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30395
30559
  globalThis.Object.keys(v).length === 1) {
30396
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
30560
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30561
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30562
+ : new URL(v["@id"]));
30397
30563
  continue;
30398
30564
  }
30399
30565
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -30412,7 +30578,9 @@ export class Person extends Object {
30412
30578
  continue;
30413
30579
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30414
30580
  globalThis.Object.keys(v).length === 1) {
30415
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
30581
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30582
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30583
+ : new URL(v["@id"]));
30416
30584
  continue;
30417
30585
  }
30418
30586
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -30431,7 +30599,9 @@ export class Person extends Object {
30431
30599
  continue;
30432
30600
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30433
30601
  globalThis.Object.keys(v).length === 1) {
30434
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
30602
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30603
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30604
+ : new URL(v["@id"]));
30435
30605
  continue;
30436
30606
  }
30437
30607
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -30450,7 +30620,9 @@ export class Person extends Object {
30450
30620
  continue;
30451
30621
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30452
30622
  globalThis.Object.keys(v).length === 1) {
30453
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
30623
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30624
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30625
+ : new URL(v["@id"]));
30454
30626
  continue;
30455
30627
  }
30456
30628
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -30539,7 +30711,9 @@ export class Person extends Object {
30539
30711
  continue;
30540
30712
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30541
30713
  globalThis.Object.keys(v).length === 1) {
30542
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
30714
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30715
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30716
+ : new URL(v["@id"]));
30543
30717
  continue;
30544
30718
  }
30545
30719
  const decoded = typeof v === "object" && "@type" in v &&
@@ -30581,7 +30755,9 @@ export class Person extends Object {
30581
30755
  continue;
30582
30756
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30583
30757
  globalThis.Object.keys(v).length === 1) {
30584
- _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(new URL(v["@id"]));
30758
+ _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30759
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30760
+ : new URL(v["@id"]));
30585
30761
  continue;
30586
30762
  }
30587
30763
  _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(await DidService.fromJsonLd(v, options));
@@ -31842,7 +32018,9 @@ export class Profile extends Object {
31842
32018
  continue;
31843
32019
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
31844
32020
  globalThis.Object.keys(v).length === 1) {
31845
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(new URL(v["@id"]));
32021
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32022
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32023
+ : new URL(v["@id"]));
31846
32024
  continue;
31847
32025
  }
31848
32026
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(await Object.fromJsonLd(v, options));
@@ -32373,7 +32551,9 @@ export class Question extends IntransitiveActivity {
32373
32551
  continue;
32374
32552
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
32375
32553
  globalThis.Object.keys(v).length === 1) {
32376
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(new URL(v["@id"]));
32554
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32555
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32556
+ : new URL(v["@id"]));
32377
32557
  continue;
32378
32558
  }
32379
32559
  _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(await Object.fromJsonLd(v, options));
@@ -32392,7 +32572,9 @@ export class Question extends IntransitiveActivity {
32392
32572
  continue;
32393
32573
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
32394
32574
  globalThis.Object.keys(v).length === 1) {
32395
- _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(new URL(v["@id"]));
32575
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32576
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32577
+ : new URL(v["@id"]));
32396
32578
  continue;
32397
32579
  }
32398
32580
  _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(await Object.fromJsonLd(v, options));
@@ -33479,7 +33661,9 @@ export class Relationship extends Object {
33479
33661
  continue;
33480
33662
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
33481
33663
  globalThis.Object.keys(v).length === 1) {
33482
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(new URL(v["@id"]));
33664
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
33665
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
33666
+ : new URL(v["@id"]));
33483
33667
  continue;
33484
33668
  }
33485
33669
  _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(await Object.fromJsonLd(v, options));
@@ -33498,7 +33682,9 @@ export class Relationship extends Object {
33498
33682
  continue;
33499
33683
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
33500
33684
  globalThis.Object.keys(v).length === 1) {
33501
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(new URL(v["@id"]));
33685
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
33686
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
33687
+ : new URL(v["@id"]));
33502
33688
  continue;
33503
33689
  }
33504
33690
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(await Object.fromJsonLd(v, options));
@@ -33517,7 +33703,9 @@ export class Relationship extends Object {
33517
33703
  continue;
33518
33704
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
33519
33705
  globalThis.Object.keys(v).length === 1) {
33520
- _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(new URL(v["@id"]));
33706
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
33707
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
33708
+ : new URL(v["@id"]));
33521
33709
  continue;
33522
33710
  }
33523
33711
  _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(await Object.fromJsonLd(v, options));
@@ -35707,6 +35895,7 @@ export class Service extends Object {
35707
35895
  "https://www.w3.org/ns/did/v1",
35708
35896
  "https://w3id.org/security/multikey/v1",
35709
35897
  {
35898
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
35710
35899
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
35711
35900
  "toot": "http://joinmastodon.org/ns#",
35712
35901
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -35962,6 +36151,7 @@ export class Service extends Object {
35962
36151
  "https://www.w3.org/ns/did/v1",
35963
36152
  "https://w3id.org/security/multikey/v1",
35964
36153
  {
36154
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
35965
36155
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
35966
36156
  "toot": "http://joinmastodon.org/ns#",
35967
36157
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -36085,7 +36275,9 @@ export class Service extends Object {
36085
36275
  continue;
36086
36276
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36087
36277
  globalThis.Object.keys(v).length === 1) {
36088
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
36278
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36279
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36280
+ : new URL(v["@id"]));
36089
36281
  continue;
36090
36282
  }
36091
36283
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -36104,7 +36296,9 @@ export class Service extends Object {
36104
36296
  continue;
36105
36297
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36106
36298
  globalThis.Object.keys(v).length === 1) {
36107
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
36299
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36300
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36301
+ : new URL(v["@id"]));
36108
36302
  continue;
36109
36303
  }
36110
36304
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -36139,7 +36333,9 @@ export class Service extends Object {
36139
36333
  continue;
36140
36334
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36141
36335
  globalThis.Object.keys(v).length === 1) {
36142
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
36336
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36337
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36338
+ : new URL(v["@id"]));
36143
36339
  continue;
36144
36340
  }
36145
36341
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -36158,7 +36354,9 @@ export class Service extends Object {
36158
36354
  continue;
36159
36355
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36160
36356
  globalThis.Object.keys(v).length === 1) {
36161
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
36357
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36358
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36359
+ : new URL(v["@id"]));
36162
36360
  continue;
36163
36361
  }
36164
36362
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -36177,7 +36375,9 @@ export class Service extends Object {
36177
36375
  continue;
36178
36376
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36179
36377
  globalThis.Object.keys(v).length === 1) {
36180
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
36378
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36379
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36380
+ : new URL(v["@id"]));
36181
36381
  continue;
36182
36382
  }
36183
36383
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -36196,7 +36396,9 @@ export class Service extends Object {
36196
36396
  continue;
36197
36397
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36198
36398
  globalThis.Object.keys(v).length === 1) {
36199
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
36399
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36400
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36401
+ : new URL(v["@id"]));
36200
36402
  continue;
36201
36403
  }
36202
36404
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -36215,7 +36417,9 @@ export class Service extends Object {
36215
36417
  continue;
36216
36418
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36217
36419
  globalThis.Object.keys(v).length === 1) {
36218
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
36420
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36421
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36422
+ : new URL(v["@id"]));
36219
36423
  continue;
36220
36424
  }
36221
36425
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -36234,7 +36438,9 @@ export class Service extends Object {
36234
36438
  continue;
36235
36439
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36236
36440
  globalThis.Object.keys(v).length === 1) {
36237
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
36441
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36442
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36443
+ : new URL(v["@id"]));
36238
36444
  continue;
36239
36445
  }
36240
36446
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -36253,7 +36459,9 @@ export class Service extends Object {
36253
36459
  continue;
36254
36460
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36255
36461
  globalThis.Object.keys(v).length === 1) {
36256
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
36462
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36463
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36464
+ : new URL(v["@id"]));
36257
36465
  continue;
36258
36466
  }
36259
36467
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -36272,7 +36480,9 @@ export class Service extends Object {
36272
36480
  continue;
36273
36481
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36274
36482
  globalThis.Object.keys(v).length === 1) {
36275
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
36483
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36484
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36485
+ : new URL(v["@id"]));
36276
36486
  continue;
36277
36487
  }
36278
36488
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -36361,7 +36571,9 @@ export class Service extends Object {
36361
36571
  continue;
36362
36572
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36363
36573
  globalThis.Object.keys(v).length === 1) {
36364
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
36574
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36575
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36576
+ : new URL(v["@id"]));
36365
36577
  continue;
36366
36578
  }
36367
36579
  const decoded = typeof v === "object" && "@type" in v &&
@@ -36403,7 +36615,9 @@ export class Service extends Object {
36403
36615
  continue;
36404
36616
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
36405
36617
  globalThis.Object.keys(v).length === 1) {
36406
- _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(new URL(v["@id"]));
36618
+ _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
36619
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
36620
+ : new URL(v["@id"]));
36407
36621
  continue;
36408
36622
  }
36409
36623
  _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.push(await DidService.fromJsonLd(v, options));