@fedify/fedify 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3879,7 +3879,9 @@ export class Object {
3879
3879
  continue;
3880
3880
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
3881
3881
  globalThis.Object.keys(v).length === 1) {
3882
- _49BipA5dq9eoH8LX8xdsVumveTca_attachment.push(new URL(v["@id"]));
3882
+ _49BipA5dq9eoH8LX8xdsVumveTca_attachment.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
3883
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
3884
+ : new URL(v["@id"]));
3883
3885
  continue;
3884
3886
  }
3885
3887
  const decoded = typeof v === "object" && "@type" in v &&
@@ -3972,7 +3974,9 @@ export class Object {
3972
3974
  continue;
3973
3975
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
3974
3976
  globalThis.Object.keys(v).length === 1) {
3975
- _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.push(new URL(v["@id"]));
3977
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
3978
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
3979
+ : new URL(v["@id"]));
3976
3980
  continue;
3977
3981
  }
3978
3982
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4014,7 +4018,9 @@ export class Object {
4014
4018
  continue;
4015
4019
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4016
4020
  globalThis.Object.keys(v).length === 1) {
4017
- _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(new URL(v["@id"]));
4021
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4022
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4023
+ : new URL(v["@id"]));
4018
4024
  continue;
4019
4025
  }
4020
4026
  _3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.push(await _a.fromJsonLd(v, options));
@@ -4057,7 +4063,9 @@ export class Object {
4057
4063
  continue;
4058
4064
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4059
4065
  globalThis.Object.keys(v).length === 1) {
4060
- _3mhZzGXSpQ431mBSz2kvych22v4e_context.push(new URL(v["@id"]));
4066
+ _3mhZzGXSpQ431mBSz2kvych22v4e_context.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4067
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4068
+ : new URL(v["@id"]));
4061
4069
  continue;
4062
4070
  }
4063
4071
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4184,7 +4192,9 @@ export class Object {
4184
4192
  continue;
4185
4193
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4186
4194
  globalThis.Object.keys(v).length === 1) {
4187
- _86xFhmgBapoMvYqjbjRuDPayTrS_generator.push(new URL(v["@id"]));
4195
+ _86xFhmgBapoMvYqjbjRuDPayTrS_generator.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4196
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4197
+ : new URL(v["@id"]));
4188
4198
  continue;
4189
4199
  }
4190
4200
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4273,7 +4283,9 @@ export class Object {
4273
4283
  continue;
4274
4284
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4275
4285
  globalThis.Object.keys(v).length === 1) {
4276
- _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(new URL(v["@id"]));
4286
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4287
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4288
+ : new URL(v["@id"]));
4277
4289
  continue;
4278
4290
  }
4279
4291
  _33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.push(await Image.fromJsonLd(v, options));
@@ -4292,7 +4304,9 @@ export class Object {
4292
4304
  continue;
4293
4305
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4294
4306
  globalThis.Object.keys(v).length === 1) {
4295
- _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(new URL(v["@id"]));
4307
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4308
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4309
+ : new URL(v["@id"]));
4296
4310
  continue;
4297
4311
  }
4298
4312
  _3dXrUdkARxwyJLtJcYi1AJ92H41U_image.push(await Image.fromJsonLd(v, options));
@@ -4311,7 +4325,9 @@ export class Object {
4311
4325
  continue;
4312
4326
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4313
4327
  globalThis.Object.keys(v).length === 1) {
4314
- _3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.push(new URL(v["@id"]));
4328
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4329
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4330
+ : new URL(v["@id"]));
4315
4331
  continue;
4316
4332
  }
4317
4333
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4400,7 +4416,9 @@ export class Object {
4400
4416
  continue;
4401
4417
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4402
4418
  globalThis.Object.keys(v).length === 1) {
4403
- _31k5MUZJsnsPNg8dQQJieWaXTFnR_location.push(new URL(v["@id"]));
4419
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR_location.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4420
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4421
+ : new URL(v["@id"]));
4404
4422
  continue;
4405
4423
  }
4406
4424
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4489,7 +4507,9 @@ export class Object {
4489
4507
  continue;
4490
4508
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4491
4509
  globalThis.Object.keys(v).length === 1) {
4492
- _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(new URL(v["@id"]));
4510
+ _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4511
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4512
+ : new URL(v["@id"]));
4493
4513
  continue;
4494
4514
  }
4495
4515
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4592,7 +4612,9 @@ export class Object {
4592
4612
  continue;
4593
4613
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4594
4614
  globalThis.Object.keys(v).length === 1) {
4595
- _7UpwM3JWcXhADcscukEehBorf6k_replies.push(new URL(v["@id"]));
4615
+ _7UpwM3JWcXhADcscukEehBorf6k_replies.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4616
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4617
+ : new URL(v["@id"]));
4596
4618
  continue;
4597
4619
  }
4598
4620
  _7UpwM3JWcXhADcscukEehBorf6k_replies.push(await Collection.fromJsonLd(v, options));
@@ -4649,7 +4671,9 @@ export class Object {
4649
4671
  continue;
4650
4672
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4651
4673
  globalThis.Object.keys(v).length === 1) {
4652
- _5chuqj6s95p5gg2sk1HntGfarRf_tag.push(new URL(v["@id"]));
4674
+ _5chuqj6s95p5gg2sk1HntGfarRf_tag.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4675
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4676
+ : new URL(v["@id"]));
4653
4677
  continue;
4654
4678
  }
4655
4679
  const decoded = typeof v === "object" && "@type" in v &&
@@ -4781,7 +4805,9 @@ export class Object {
4781
4805
  continue;
4782
4806
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4783
4807
  globalThis.Object.keys(v).length === 1) {
4784
- _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(new URL(v["@id"]));
4808
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4809
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4810
+ : new URL(v["@id"]));
4785
4811
  continue;
4786
4812
  }
4787
4813
  _3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.push(await _a.fromJsonLd(v, options));
@@ -4800,7 +4826,9 @@ export class Object {
4800
4826
  continue;
4801
4827
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4802
4828
  globalThis.Object.keys(v).length === 1) {
4803
- _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(new URL(v["@id"]));
4829
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4830
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4831
+ : new URL(v["@id"]));
4804
4832
  continue;
4805
4833
  }
4806
4834
  _aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.push(await _a.fromJsonLd(v, options));
@@ -4819,7 +4847,9 @@ export class Object {
4819
4847
  continue;
4820
4848
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4821
4849
  globalThis.Object.keys(v).length === 1) {
4822
- _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(new URL(v["@id"]));
4850
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4851
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4852
+ : new URL(v["@id"]));
4823
4853
  continue;
4824
4854
  }
4825
4855
  _42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.push(await _a.fromJsonLd(v, options));
@@ -4838,7 +4868,9 @@ export class Object {
4838
4868
  continue;
4839
4869
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4840
4870
  globalThis.Object.keys(v).length === 1) {
4841
- _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(new URL(v["@id"]));
4871
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4872
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4873
+ : new URL(v["@id"]));
4842
4874
  continue;
4843
4875
  }
4844
4876
  _3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.push(await _a.fromJsonLd(v, options));
@@ -4913,7 +4945,9 @@ export class Object {
4913
4945
  continue;
4914
4946
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
4915
4947
  globalThis.Object.keys(v).length === 1) {
4916
- _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(new URL(v["@id"]));
4948
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
4949
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
4950
+ : new URL(v["@id"]));
4917
4951
  continue;
4918
4952
  }
4919
4953
  _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.push(await DataIntegrityProof.fromJsonLd(v, options));
@@ -6662,7 +6696,9 @@ export class DataIntegrityProof {
6662
6696
  continue;
6663
6697
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
6664
6698
  globalThis.Object.keys(v).length === 1) {
6665
- _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(new URL(v["@id"]));
6699
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
6700
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
6701
+ : new URL(v["@id"]));
6666
6702
  continue;
6667
6703
  }
6668
6704
  _2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.push(await Multikey.fromJsonLd(v, options));
@@ -7179,7 +7215,9 @@ export class CryptographicKey {
7179
7215
  continue;
7180
7216
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7181
7217
  globalThis.Object.keys(v).length === 1) {
7182
- _5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.push(new URL(v["@id"]));
7218
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7219
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7220
+ : new URL(v["@id"]));
7183
7221
  continue;
7184
7222
  }
7185
7223
  const decoded = typeof v === "object" && "@type" in v &&
@@ -7671,7 +7709,9 @@ export class Multikey {
7671
7709
  continue;
7672
7710
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
7673
7711
  globalThis.Object.keys(v).length === 1) {
7674
- _2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.push(new URL(v["@id"]));
7712
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
7713
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
7714
+ : new URL(v["@id"]));
7675
7715
  continue;
7676
7716
  }
7677
7717
  const decoded = typeof v === "object" && "@type" in v &&
@@ -8968,7 +9008,9 @@ export class Activity extends Object {
8968
9008
  continue;
8969
9009
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
8970
9010
  globalThis.Object.keys(v).length === 1) {
8971
- _2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.push(new URL(v["@id"]));
9011
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9012
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9013
+ : new URL(v["@id"]));
8972
9014
  continue;
8973
9015
  }
8974
9016
  const decoded = typeof v === "object" && "@type" in v &&
@@ -9010,7 +9052,9 @@ export class Activity extends Object {
9010
9052
  continue;
9011
9053
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9012
9054
  globalThis.Object.keys(v).length === 1) {
9013
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(new URL(v["@id"]));
9055
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9056
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9057
+ : new URL(v["@id"]));
9014
9058
  continue;
9015
9059
  }
9016
9060
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(await Object.fromJsonLd(v, options));
@@ -9029,7 +9073,9 @@ export class Activity extends Object {
9029
9073
  continue;
9030
9074
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9031
9075
  globalThis.Object.keys(v).length === 1) {
9032
- _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(new URL(v["@id"]));
9076
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9077
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9078
+ : new URL(v["@id"]));
9033
9079
  continue;
9034
9080
  }
9035
9081
  _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.push(await Object.fromJsonLd(v, options));
@@ -9048,7 +9094,9 @@ export class Activity extends Object {
9048
9094
  continue;
9049
9095
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9050
9096
  globalThis.Object.keys(v).length === 1) {
9051
- _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(new URL(v["@id"]));
9097
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9098
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9099
+ : new URL(v["@id"]));
9052
9100
  continue;
9053
9101
  }
9054
9102
  _u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.push(await Object.fromJsonLd(v, options));
@@ -9067,7 +9115,9 @@ export class Activity extends Object {
9067
9115
  continue;
9068
9116
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9069
9117
  globalThis.Object.keys(v).length === 1) {
9070
- _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(new URL(v["@id"]));
9118
+ _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9119
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9120
+ : new URL(v["@id"]));
9071
9121
  continue;
9072
9122
  }
9073
9123
  _25zu2s3VxVujgEKqrDycjE284XQR_origin.push(await Object.fromJsonLd(v, options));
@@ -9086,7 +9136,9 @@ export class Activity extends Object {
9086
9136
  continue;
9087
9137
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
9088
9138
  globalThis.Object.keys(v).length === 1) {
9089
- _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(new URL(v["@id"]));
9139
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
9140
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
9141
+ : new URL(v["@id"]));
9090
9142
  continue;
9091
9143
  }
9092
9144
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.push(await Object.fromJsonLd(v, options));
@@ -11516,6 +11568,7 @@ export class Application extends Object {
11516
11568
  "https://www.w3.org/ns/did/v1",
11517
11569
  "https://w3id.org/security/multikey/v1",
11518
11570
  {
11571
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
11519
11572
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
11520
11573
  "toot": "http://joinmastodon.org/ns#",
11521
11574
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -11760,6 +11813,7 @@ export class Application extends Object {
11760
11813
  "https://www.w3.org/ns/did/v1",
11761
11814
  "https://w3id.org/security/multikey/v1",
11762
11815
  {
11816
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
11763
11817
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
11764
11818
  "toot": "http://joinmastodon.org/ns#",
11765
11819
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -11880,7 +11934,9 @@ export class Application extends Object {
11880
11934
  continue;
11881
11935
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11882
11936
  globalThis.Object.keys(v).length === 1) {
11883
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
11937
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
11938
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
11939
+ : new URL(v["@id"]));
11884
11940
  continue;
11885
11941
  }
11886
11942
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -11899,7 +11955,9 @@ export class Application extends Object {
11899
11955
  continue;
11900
11956
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11901
11957
  globalThis.Object.keys(v).length === 1) {
11902
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
11958
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
11959
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
11960
+ : new URL(v["@id"]));
11903
11961
  continue;
11904
11962
  }
11905
11963
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -11934,7 +11992,9 @@ export class Application extends Object {
11934
11992
  continue;
11935
11993
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11936
11994
  globalThis.Object.keys(v).length === 1) {
11937
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
11995
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
11996
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
11997
+ : new URL(v["@id"]));
11938
11998
  continue;
11939
11999
  }
11940
12000
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -11953,7 +12013,9 @@ export class Application extends Object {
11953
12013
  continue;
11954
12014
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11955
12015
  globalThis.Object.keys(v).length === 1) {
11956
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
12016
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12017
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12018
+ : new URL(v["@id"]));
11957
12019
  continue;
11958
12020
  }
11959
12021
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -11972,7 +12034,9 @@ export class Application extends Object {
11972
12034
  continue;
11973
12035
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11974
12036
  globalThis.Object.keys(v).length === 1) {
11975
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
12037
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12038
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12039
+ : new URL(v["@id"]));
11976
12040
  continue;
11977
12041
  }
11978
12042
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -11991,7 +12055,9 @@ export class Application extends Object {
11991
12055
  continue;
11992
12056
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
11993
12057
  globalThis.Object.keys(v).length === 1) {
11994
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
12058
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12059
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12060
+ : new URL(v["@id"]));
11995
12061
  continue;
11996
12062
  }
11997
12063
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -12010,7 +12076,9 @@ export class Application extends Object {
12010
12076
  continue;
12011
12077
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12012
12078
  globalThis.Object.keys(v).length === 1) {
12013
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
12079
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12080
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12081
+ : new URL(v["@id"]));
12014
12082
  continue;
12015
12083
  }
12016
12084
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -12029,7 +12097,9 @@ export class Application extends Object {
12029
12097
  continue;
12030
12098
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12031
12099
  globalThis.Object.keys(v).length === 1) {
12032
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
12100
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12101
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12102
+ : new URL(v["@id"]));
12033
12103
  continue;
12034
12104
  }
12035
12105
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -12048,7 +12118,9 @@ export class Application extends Object {
12048
12118
  continue;
12049
12119
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12050
12120
  globalThis.Object.keys(v).length === 1) {
12051
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
12121
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12122
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12123
+ : new URL(v["@id"]));
12052
12124
  continue;
12053
12125
  }
12054
12126
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -12067,7 +12139,9 @@ export class Application extends Object {
12067
12139
  continue;
12068
12140
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12069
12141
  globalThis.Object.keys(v).length === 1) {
12070
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
12142
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12143
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12144
+ : new URL(v["@id"]));
12071
12145
  continue;
12072
12146
  }
12073
12147
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -12156,7 +12230,9 @@ export class Application extends Object {
12156
12230
  continue;
12157
12231
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
12158
12232
  globalThis.Object.keys(v).length === 1) {
12159
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
12233
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
12234
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
12235
+ : new URL(v["@id"]));
12160
12236
  continue;
12161
12237
  }
12162
12238
  const decoded = typeof v === "object" && "@type" in v &&
@@ -14654,7 +14730,9 @@ export class Collection extends Object {
14654
14730
  continue;
14655
14731
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
14656
14732
  globalThis.Object.keys(v).length === 1) {
14657
- _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(new URL(v["@id"]));
14733
+ _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
14734
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
14735
+ : new URL(v["@id"]));
14658
14736
  continue;
14659
14737
  }
14660
14738
  _3UyUdxnyn6cDn53QKrh4MBiearma_current.push(await CollectionPage.fromJsonLd(v, options));
@@ -14673,7 +14751,9 @@ export class Collection extends Object {
14673
14751
  continue;
14674
14752
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
14675
14753
  globalThis.Object.keys(v).length === 1) {
14676
- _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(new URL(v["@id"]));
14754
+ _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
14755
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
14756
+ : new URL(v["@id"]));
14677
14757
  continue;
14678
14758
  }
14679
14759
  _J52RqweMe6hhv7RnLJMC8BExTE5_first.push(await CollectionPage.fromJsonLd(v, options));
@@ -14692,7 +14772,9 @@ export class Collection extends Object {
14692
14772
  continue;
14693
14773
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
14694
14774
  globalThis.Object.keys(v).length === 1) {
14695
- _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(new URL(v["@id"]));
14775
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
14776
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
14777
+ : new URL(v["@id"]));
14696
14778
  continue;
14697
14779
  }
14698
14780
  _gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.push(await CollectionPage.fromJsonLd(v, options));
@@ -14711,7 +14793,9 @@ export class Collection extends Object {
14711
14793
  continue;
14712
14794
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
14713
14795
  globalThis.Object.keys(v).length === 1) {
14714
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
14796
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
14797
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
14798
+ : new URL(v["@id"]));
14715
14799
  continue;
14716
14800
  }
14717
14801
  const decoded = typeof v === "object" && "@type" in v &&
@@ -15364,7 +15448,9 @@ export class CollectionPage extends Collection {
15364
15448
  continue;
15365
15449
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15366
15450
  globalThis.Object.keys(v).length === 1) {
15367
- _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(new URL(v["@id"]));
15451
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15452
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15453
+ : new URL(v["@id"]));
15368
15454
  continue;
15369
15455
  }
15370
15456
  _2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.push(await Collection.fromJsonLd(v, options));
@@ -15383,7 +15469,9 @@ export class CollectionPage extends Collection {
15383
15469
  continue;
15384
15470
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15385
15471
  globalThis.Object.keys(v).length === 1) {
15386
- _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(new URL(v["@id"]));
15472
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15473
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15474
+ : new URL(v["@id"]));
15387
15475
  continue;
15388
15476
  }
15389
15477
  _3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.push(await _c.fromJsonLd(v, options));
@@ -15402,7 +15490,9 @@ export class CollectionPage extends Collection {
15402
15490
  continue;
15403
15491
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
15404
15492
  globalThis.Object.keys(v).length === 1) {
15405
- _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(new URL(v["@id"]));
15493
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
15494
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
15495
+ : new URL(v["@id"]));
15406
15496
  continue;
15407
15497
  }
15408
15498
  _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.push(await _c.fromJsonLd(v, options));
@@ -18936,6 +19026,7 @@ export class Group extends Object {
18936
19026
  "https://www.w3.org/ns/did/v1",
18937
19027
  "https://w3id.org/security/multikey/v1",
18938
19028
  {
19029
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
18939
19030
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
18940
19031
  "toot": "http://joinmastodon.org/ns#",
18941
19032
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -19180,6 +19271,7 @@ export class Group extends Object {
19180
19271
  "https://www.w3.org/ns/did/v1",
19181
19272
  "https://w3id.org/security/multikey/v1",
19182
19273
  {
19274
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
19183
19275
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
19184
19276
  "toot": "http://joinmastodon.org/ns#",
19185
19277
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -19300,7 +19392,9 @@ export class Group extends Object {
19300
19392
  continue;
19301
19393
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19302
19394
  globalThis.Object.keys(v).length === 1) {
19303
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
19395
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19396
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19397
+ : new URL(v["@id"]));
19304
19398
  continue;
19305
19399
  }
19306
19400
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -19319,7 +19413,9 @@ export class Group extends Object {
19319
19413
  continue;
19320
19414
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19321
19415
  globalThis.Object.keys(v).length === 1) {
19322
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
19416
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19417
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19418
+ : new URL(v["@id"]));
19323
19419
  continue;
19324
19420
  }
19325
19421
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -19354,7 +19450,9 @@ export class Group extends Object {
19354
19450
  continue;
19355
19451
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19356
19452
  globalThis.Object.keys(v).length === 1) {
19357
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
19453
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19454
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19455
+ : new URL(v["@id"]));
19358
19456
  continue;
19359
19457
  }
19360
19458
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -19373,7 +19471,9 @@ export class Group extends Object {
19373
19471
  continue;
19374
19472
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19375
19473
  globalThis.Object.keys(v).length === 1) {
19376
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
19474
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19475
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19476
+ : new URL(v["@id"]));
19377
19477
  continue;
19378
19478
  }
19379
19479
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -19392,7 +19492,9 @@ export class Group extends Object {
19392
19492
  continue;
19393
19493
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19394
19494
  globalThis.Object.keys(v).length === 1) {
19395
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
19495
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19496
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19497
+ : new URL(v["@id"]));
19396
19498
  continue;
19397
19499
  }
19398
19500
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -19411,7 +19513,9 @@ export class Group extends Object {
19411
19513
  continue;
19412
19514
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19413
19515
  globalThis.Object.keys(v).length === 1) {
19414
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
19516
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19517
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19518
+ : new URL(v["@id"]));
19415
19519
  continue;
19416
19520
  }
19417
19521
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -19430,7 +19534,9 @@ export class Group extends Object {
19430
19534
  continue;
19431
19535
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19432
19536
  globalThis.Object.keys(v).length === 1) {
19433
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
19537
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19538
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19539
+ : new URL(v["@id"]));
19434
19540
  continue;
19435
19541
  }
19436
19542
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -19449,7 +19555,9 @@ export class Group extends Object {
19449
19555
  continue;
19450
19556
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19451
19557
  globalThis.Object.keys(v).length === 1) {
19452
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
19558
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19559
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19560
+ : new URL(v["@id"]));
19453
19561
  continue;
19454
19562
  }
19455
19563
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -19468,7 +19576,9 @@ export class Group extends Object {
19468
19576
  continue;
19469
19577
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19470
19578
  globalThis.Object.keys(v).length === 1) {
19471
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
19579
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19580
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19581
+ : new URL(v["@id"]));
19472
19582
  continue;
19473
19583
  }
19474
19584
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -19487,7 +19597,9 @@ export class Group extends Object {
19487
19597
  continue;
19488
19598
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19489
19599
  globalThis.Object.keys(v).length === 1) {
19490
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
19600
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19601
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19602
+ : new URL(v["@id"]));
19491
19603
  continue;
19492
19604
  }
19493
19605
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -19576,7 +19688,9 @@ export class Group extends Object {
19576
19688
  continue;
19577
19689
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
19578
19690
  globalThis.Object.keys(v).length === 1) {
19579
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
19691
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
19692
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
19693
+ : new URL(v["@id"]));
19580
19694
  continue;
19581
19695
  }
19582
19696
  const decoded = typeof v === "object" && "@type" in v &&
@@ -20741,7 +20855,9 @@ export class Link {
20741
20855
  continue;
20742
20856
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
20743
20857
  globalThis.Object.keys(v).length === 1) {
20744
- _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(new URL(v["@id"]));
20858
+ _gCVTegXxWWCw6wWRxa1QF65zusg_preview.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
20859
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
20860
+ : new URL(v["@id"]));
20745
20861
  continue;
20746
20862
  }
20747
20863
  const decoded = typeof v === "object" && "@type" in v &&
@@ -23170,7 +23286,9 @@ export class OrderedCollection extends Collection {
23170
23286
  continue;
23171
23287
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
23172
23288
  globalThis.Object.keys(v).length === 1) {
23173
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
23289
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
23290
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
23291
+ : new URL(v["@id"]));
23174
23292
  continue;
23175
23293
  }
23176
23294
  const decoded = typeof v === "object" && "@type" in v &&
@@ -23641,7 +23759,9 @@ export class OrderedCollectionPage extends CollectionPage {
23641
23759
  continue;
23642
23760
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
23643
23761
  globalThis.Object.keys(v).length === 1) {
23644
- _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(new URL(v["@id"]));
23762
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
23763
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
23764
+ : new URL(v["@id"]));
23645
23765
  continue;
23646
23766
  }
23647
23767
  const decoded = typeof v === "object" && "@type" in v &&
@@ -25580,6 +25700,7 @@ export class Organization extends Object {
25580
25700
  "https://www.w3.org/ns/did/v1",
25581
25701
  "https://w3id.org/security/multikey/v1",
25582
25702
  {
25703
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
25583
25704
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
25584
25705
  "toot": "http://joinmastodon.org/ns#",
25585
25706
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -25824,6 +25945,7 @@ export class Organization extends Object {
25824
25945
  "https://www.w3.org/ns/did/v1",
25825
25946
  "https://w3id.org/security/multikey/v1",
25826
25947
  {
25948
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
25827
25949
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
25828
25950
  "toot": "http://joinmastodon.org/ns#",
25829
25951
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -25944,7 +26066,9 @@ export class Organization extends Object {
25944
26066
  continue;
25945
26067
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
25946
26068
  globalThis.Object.keys(v).length === 1) {
25947
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
26069
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26070
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26071
+ : new URL(v["@id"]));
25948
26072
  continue;
25949
26073
  }
25950
26074
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -25963,7 +26087,9 @@ export class Organization extends Object {
25963
26087
  continue;
25964
26088
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
25965
26089
  globalThis.Object.keys(v).length === 1) {
25966
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
26090
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26091
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26092
+ : new URL(v["@id"]));
25967
26093
  continue;
25968
26094
  }
25969
26095
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -25998,7 +26124,9 @@ export class Organization extends Object {
25998
26124
  continue;
25999
26125
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26000
26126
  globalThis.Object.keys(v).length === 1) {
26001
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
26127
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26128
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26129
+ : new URL(v["@id"]));
26002
26130
  continue;
26003
26131
  }
26004
26132
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -26017,7 +26145,9 @@ export class Organization extends Object {
26017
26145
  continue;
26018
26146
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26019
26147
  globalThis.Object.keys(v).length === 1) {
26020
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
26148
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26149
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26150
+ : new URL(v["@id"]));
26021
26151
  continue;
26022
26152
  }
26023
26153
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -26036,7 +26166,9 @@ export class Organization extends Object {
26036
26166
  continue;
26037
26167
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26038
26168
  globalThis.Object.keys(v).length === 1) {
26039
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
26169
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26170
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26171
+ : new URL(v["@id"]));
26040
26172
  continue;
26041
26173
  }
26042
26174
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -26055,7 +26187,9 @@ export class Organization extends Object {
26055
26187
  continue;
26056
26188
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26057
26189
  globalThis.Object.keys(v).length === 1) {
26058
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
26190
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26191
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26192
+ : new URL(v["@id"]));
26059
26193
  continue;
26060
26194
  }
26061
26195
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -26074,7 +26208,9 @@ export class Organization extends Object {
26074
26208
  continue;
26075
26209
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26076
26210
  globalThis.Object.keys(v).length === 1) {
26077
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
26211
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26212
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26213
+ : new URL(v["@id"]));
26078
26214
  continue;
26079
26215
  }
26080
26216
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -26093,7 +26229,9 @@ export class Organization extends Object {
26093
26229
  continue;
26094
26230
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26095
26231
  globalThis.Object.keys(v).length === 1) {
26096
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
26232
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26233
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26234
+ : new URL(v["@id"]));
26097
26235
  continue;
26098
26236
  }
26099
26237
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -26112,7 +26250,9 @@ export class Organization extends Object {
26112
26250
  continue;
26113
26251
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26114
26252
  globalThis.Object.keys(v).length === 1) {
26115
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
26253
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26254
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26255
+ : new URL(v["@id"]));
26116
26256
  continue;
26117
26257
  }
26118
26258
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -26131,7 +26271,9 @@ export class Organization extends Object {
26131
26271
  continue;
26132
26272
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26133
26273
  globalThis.Object.keys(v).length === 1) {
26134
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
26274
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26275
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26276
+ : new URL(v["@id"]));
26135
26277
  continue;
26136
26278
  }
26137
26279
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -26220,7 +26362,9 @@ export class Organization extends Object {
26220
26362
  continue;
26221
26363
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
26222
26364
  globalThis.Object.keys(v).length === 1) {
26223
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
26365
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
26366
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
26367
+ : new URL(v["@id"]));
26224
26368
  continue;
26225
26369
  }
26226
26370
  const decoded = typeof v === "object" && "@type" in v &&
@@ -28515,6 +28659,7 @@ export class Person extends Object {
28515
28659
  "https://www.w3.org/ns/did/v1",
28516
28660
  "https://w3id.org/security/multikey/v1",
28517
28661
  {
28662
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
28518
28663
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
28519
28664
  "toot": "http://joinmastodon.org/ns#",
28520
28665
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -28759,6 +28904,7 @@ export class Person extends Object {
28759
28904
  "https://www.w3.org/ns/did/v1",
28760
28905
  "https://w3id.org/security/multikey/v1",
28761
28906
  {
28907
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
28762
28908
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
28763
28909
  "toot": "http://joinmastodon.org/ns#",
28764
28910
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -28879,7 +29025,9 @@ export class Person extends Object {
28879
29025
  continue;
28880
29026
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28881
29027
  globalThis.Object.keys(v).length === 1) {
28882
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
29028
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29029
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29030
+ : new URL(v["@id"]));
28883
29031
  continue;
28884
29032
  }
28885
29033
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -28898,7 +29046,9 @@ export class Person extends Object {
28898
29046
  continue;
28899
29047
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28900
29048
  globalThis.Object.keys(v).length === 1) {
28901
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
29049
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29050
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29051
+ : new URL(v["@id"]));
28902
29052
  continue;
28903
29053
  }
28904
29054
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -28933,7 +29083,9 @@ export class Person extends Object {
28933
29083
  continue;
28934
29084
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28935
29085
  globalThis.Object.keys(v).length === 1) {
28936
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
29086
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29087
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29088
+ : new URL(v["@id"]));
28937
29089
  continue;
28938
29090
  }
28939
29091
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -28952,7 +29104,9 @@ export class Person extends Object {
28952
29104
  continue;
28953
29105
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28954
29106
  globalThis.Object.keys(v).length === 1) {
28955
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
29107
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29108
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29109
+ : new URL(v["@id"]));
28956
29110
  continue;
28957
29111
  }
28958
29112
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -28971,7 +29125,9 @@ export class Person extends Object {
28971
29125
  continue;
28972
29126
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28973
29127
  globalThis.Object.keys(v).length === 1) {
28974
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
29128
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29129
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29130
+ : new URL(v["@id"]));
28975
29131
  continue;
28976
29132
  }
28977
29133
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -28990,7 +29146,9 @@ export class Person extends Object {
28990
29146
  continue;
28991
29147
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
28992
29148
  globalThis.Object.keys(v).length === 1) {
28993
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
29149
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29150
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29151
+ : new URL(v["@id"]));
28994
29152
  continue;
28995
29153
  }
28996
29154
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -29009,7 +29167,9 @@ export class Person extends Object {
29009
29167
  continue;
29010
29168
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
29011
29169
  globalThis.Object.keys(v).length === 1) {
29012
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
29170
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29171
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29172
+ : new URL(v["@id"]));
29013
29173
  continue;
29014
29174
  }
29015
29175
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -29028,7 +29188,9 @@ export class Person extends Object {
29028
29188
  continue;
29029
29189
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
29030
29190
  globalThis.Object.keys(v).length === 1) {
29031
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
29191
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29192
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29193
+ : new URL(v["@id"]));
29032
29194
  continue;
29033
29195
  }
29034
29196
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -29047,7 +29209,9 @@ export class Person extends Object {
29047
29209
  continue;
29048
29210
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
29049
29211
  globalThis.Object.keys(v).length === 1) {
29050
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
29212
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29213
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29214
+ : new URL(v["@id"]));
29051
29215
  continue;
29052
29216
  }
29053
29217
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -29066,7 +29230,9 @@ export class Person extends Object {
29066
29230
  continue;
29067
29231
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
29068
29232
  globalThis.Object.keys(v).length === 1) {
29069
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
29233
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29234
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29235
+ : new URL(v["@id"]));
29070
29236
  continue;
29071
29237
  }
29072
29238
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -29155,7 +29321,9 @@ export class Person extends Object {
29155
29321
  continue;
29156
29322
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
29157
29323
  globalThis.Object.keys(v).length === 1) {
29158
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
29324
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
29325
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
29326
+ : new URL(v["@id"]));
29159
29327
  continue;
29160
29328
  }
29161
29329
  const decoded = typeof v === "object" && "@type" in v &&
@@ -30422,7 +30590,9 @@ export class Profile extends Object {
30422
30590
  continue;
30423
30591
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30424
30592
  globalThis.Object.keys(v).length === 1) {
30425
- _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(new URL(v["@id"]));
30593
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
30594
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
30595
+ : new URL(v["@id"]));
30426
30596
  continue;
30427
30597
  }
30428
30598
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.push(await Object.fromJsonLd(v, options));
@@ -30953,7 +31123,9 @@ export class Question extends IntransitiveActivity {
30953
31123
  continue;
30954
31124
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30955
31125
  globalThis.Object.keys(v).length === 1) {
30956
- _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(new URL(v["@id"]));
31126
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
31127
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
31128
+ : new URL(v["@id"]));
30957
31129
  continue;
30958
31130
  }
30959
31131
  _2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.push(await Object.fromJsonLd(v, options));
@@ -30972,7 +31144,9 @@ export class Question extends IntransitiveActivity {
30972
31144
  continue;
30973
31145
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
30974
31146
  globalThis.Object.keys(v).length === 1) {
30975
- _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(new URL(v["@id"]));
31147
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
31148
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
31149
+ : new URL(v["@id"]));
30976
31150
  continue;
30977
31151
  }
30978
31152
  _2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.push(await Object.fromJsonLd(v, options));
@@ -32059,7 +32233,9 @@ export class Relationship extends Object {
32059
32233
  continue;
32060
32234
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
32061
32235
  globalThis.Object.keys(v).length === 1) {
32062
- _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(new URL(v["@id"]));
32236
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32237
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32238
+ : new URL(v["@id"]));
32063
32239
  continue;
32064
32240
  }
32065
32241
  _2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.push(await Object.fromJsonLd(v, options));
@@ -32078,7 +32254,9 @@ export class Relationship extends Object {
32078
32254
  continue;
32079
32255
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
32080
32256
  globalThis.Object.keys(v).length === 1) {
32081
- _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(new URL(v["@id"]));
32257
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32258
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32259
+ : new URL(v["@id"]));
32082
32260
  continue;
32083
32261
  }
32084
32262
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.push(await Object.fromJsonLd(v, options));
@@ -32097,7 +32275,9 @@ export class Relationship extends Object {
32097
32275
  continue;
32098
32276
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
32099
32277
  globalThis.Object.keys(v).length === 1) {
32100
- _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(new URL(v["@id"]));
32278
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
32279
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
32280
+ : new URL(v["@id"]));
32101
32281
  continue;
32102
32282
  }
32103
32283
  _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.push(await Object.fromJsonLd(v, options));
@@ -34132,6 +34312,7 @@ export class Service extends Object {
34132
34312
  "https://www.w3.org/ns/did/v1",
34133
34313
  "https://w3id.org/security/multikey/v1",
34134
34314
  {
34315
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
34135
34316
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
34136
34317
  "toot": "http://joinmastodon.org/ns#",
34137
34318
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -34376,6 +34557,7 @@ export class Service extends Object {
34376
34557
  "https://www.w3.org/ns/did/v1",
34377
34558
  "https://w3id.org/security/multikey/v1",
34378
34559
  {
34560
+ "alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
34379
34561
  "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
34380
34562
  "toot": "http://joinmastodon.org/ns#",
34381
34563
  "featured": { "@id": "toot:featured", "@type": "@id" },
@@ -34496,7 +34678,9 @@ export class Service extends Object {
34496
34678
  continue;
34497
34679
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34498
34680
  globalThis.Object.keys(v).length === 1) {
34499
- _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(new URL(v["@id"]));
34681
+ _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34682
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34683
+ : new URL(v["@id"]));
34500
34684
  continue;
34501
34685
  }
34502
34686
  _axq166E2eZADq34V4MYUc8KMZdC_publicKey.push(await CryptographicKey.fromJsonLd(v, options));
@@ -34515,7 +34699,9 @@ export class Service extends Object {
34515
34699
  continue;
34516
34700
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34517
34701
  globalThis.Object.keys(v).length === 1) {
34518
- _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(new URL(v["@id"]));
34702
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34703
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34704
+ : new URL(v["@id"]));
34519
34705
  continue;
34520
34706
  }
34521
34707
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.push(await Multikey.fromJsonLd(v, options));
@@ -34550,7 +34736,9 @@ export class Service extends Object {
34550
34736
  continue;
34551
34737
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34552
34738
  globalThis.Object.keys(v).length === 1) {
34553
- _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(new URL(v["@id"]));
34739
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34740
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34741
+ : new URL(v["@id"]));
34554
34742
  continue;
34555
34743
  }
34556
34744
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -34569,7 +34757,9 @@ export class Service extends Object {
34569
34757
  continue;
34570
34758
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34571
34759
  globalThis.Object.keys(v).length === 1) {
34572
- _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(new URL(v["@id"]));
34760
+ _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34761
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34762
+ : new URL(v["@id"]));
34573
34763
  continue;
34574
34764
  }
34575
34765
  _41QwhqJouoLg3h8dRPKat21brynC_outbox.push(await OrderedCollection.fromJsonLd(v, options));
@@ -34588,7 +34778,9 @@ export class Service extends Object {
34588
34778
  continue;
34589
34779
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34590
34780
  globalThis.Object.keys(v).length === 1) {
34591
- _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(new URL(v["@id"]));
34781
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34782
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34783
+ : new URL(v["@id"]));
34592
34784
  continue;
34593
34785
  }
34594
34786
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.push(await Collection.fromJsonLd(v, options));
@@ -34607,7 +34799,9 @@ export class Service extends Object {
34607
34799
  continue;
34608
34800
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34609
34801
  globalThis.Object.keys(v).length === 1) {
34610
- _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(new URL(v["@id"]));
34802
+ _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34803
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34804
+ : new URL(v["@id"]));
34611
34805
  continue;
34612
34806
  }
34613
34807
  _BBCTgfphhsFzpVfKTykGSpBNwoA_followers.push(await Collection.fromJsonLd(v, options));
@@ -34626,7 +34820,9 @@ export class Service extends Object {
34626
34820
  continue;
34627
34821
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34628
34822
  globalThis.Object.keys(v).length === 1) {
34629
- _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(new URL(v["@id"]));
34823
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34824
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34825
+ : new URL(v["@id"]));
34630
34826
  continue;
34631
34827
  }
34632
34828
  _3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.push(await Collection.fromJsonLd(v, options));
@@ -34645,7 +34841,9 @@ export class Service extends Object {
34645
34841
  continue;
34646
34842
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34647
34843
  globalThis.Object.keys(v).length === 1) {
34648
- _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(new URL(v["@id"]));
34844
+ _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34845
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34846
+ : new URL(v["@id"]));
34649
34847
  continue;
34650
34848
  }
34651
34849
  _4N1vBJzXDf8NbBumeECQMFvKetja_featured.push(await Collection.fromJsonLd(v, options));
@@ -34664,7 +34862,9 @@ export class Service extends Object {
34664
34862
  continue;
34665
34863
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34666
34864
  globalThis.Object.keys(v).length === 1) {
34667
- _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(new URL(v["@id"]));
34865
+ _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34866
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34867
+ : new URL(v["@id"]));
34668
34868
  continue;
34669
34869
  }
34670
34870
  _2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.push(await Collection.fromJsonLd(v, options));
@@ -34683,7 +34883,9 @@ export class Service extends Object {
34683
34883
  continue;
34684
34884
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34685
34885
  globalThis.Object.keys(v).length === 1) {
34686
- _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(new URL(v["@id"]));
34886
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34887
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34888
+ : new URL(v["@id"]));
34687
34889
  continue;
34688
34890
  }
34689
34891
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.push(await Collection.fromJsonLd(v, options));
@@ -34772,7 +34974,9 @@ export class Service extends Object {
34772
34974
  continue;
34773
34975
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
34774
34976
  globalThis.Object.keys(v).length === 1) {
34775
- _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(new URL(v["@id"]));
34977
+ _3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://")
34978
+ ? new URL("at://" + encodeURIComponent(v["@id"].substring(5)))
34979
+ : new URL(v["@id"]));
34776
34980
  continue;
34777
34981
  }
34778
34982
  const decoded = typeof v === "object" && "@type" in v &&