@fedify/fedify 1.1.10 → 1.1.12

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.
Files changed (87) hide show
  1. package/CHANGES.md +74 -0
  2. package/esm/deps/jsr.io/@std/async/{1.0.9 → 1.0.10}/delay.js +1 -1
  3. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
  4. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
  5. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.js +1 -1
  6. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.js +1 -1
  7. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.js +1 -1
  8. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.js +1 -1
  9. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.js +1 -1
  10. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.js +1 -1
  11. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.js +1 -1
  12. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/repeat.js +1 -1
  13. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.js +1 -1
  14. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
  15. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
  16. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
  17. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.js +1 -1
  18. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.js +1 -1
  19. package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.js +1 -1
  20. package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.js +1 -1
  21. package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.js +1 -1
  22. package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.js +1 -1
  23. package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.js +1 -1
  24. package/esm/federation/collection.js +1 -1
  25. package/esm/federation/handler.js +1 -1
  26. package/esm/runtime/key.js +4 -4
  27. package/esm/runtime/url.js +7 -1
  28. package/esm/sig/http.js +2 -2
  29. package/esm/sig/ld.js +2 -2
  30. package/esm/vocab/lookup.js +1 -1
  31. package/esm/vocab/vocab.js +408 -264
  32. package/esm/webfinger/lookup.js +21 -1
  33. package/package.json +1 -1
  34. package/types/deps/jsr.io/@std/async/1.0.10/delay.d.ts.map +1 -0
  35. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
  36. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  37. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.d.ts +3 -1
  38. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  39. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.d.ts.map +1 -1
  41. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.d.ts.map +1 -1
  42. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/repeat.d.ts +3 -1
  47. package/types/deps/jsr.io/@std/bytes/1.0.5/repeat.d.ts.map +1 -0
  48. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
  50. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
  51. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
  52. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
  53. package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
  54. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.d.ts +3 -1
  55. package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +1 -0
  56. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.d.ts +3 -1
  57. package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
  58. package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.d.ts.map +1 -1
  59. package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.d.ts.map +1 -1
  60. package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.d.ts.map +1 -1
  61. package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.d.ts.map +1 -1
  62. package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.d.ts.map +1 -1
  63. package/types/runtime/url.d.ts.map +1 -1
  64. package/types/vocab/vocab.d.ts +18 -38
  65. package/types/vocab/vocab.d.ts.map +1 -1
  66. package/types/webfinger/lookup.d.ts.map +1 -1
  67. package/types/deps/jsr.io/@std/async/1.0.9/delay.d.ts.map +0 -1
  68. package/types/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  69. package/types/deps/jsr.io/@std/bytes/1.0.4/repeat.d.ts.map +0 -1
  70. package/types/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  71. package/types/deps/jsr.io/@std/encoding/1.0.6/base64url.d.ts.map +0 -1
  72. package/types/deps/jsr.io/@std/encoding/1.0.6/hex.d.ts.map +0 -1
  73. /package/types/deps/jsr.io/@std/async/{1.0.9 → 1.0.10}/delay.d.ts +0 -0
  74. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.d.ts +0 -0
  75. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.d.ts +0 -0
  76. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.d.ts +0 -0
  77. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.d.ts +0 -0
  78. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.d.ts +0 -0
  79. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.d.ts +0 -0
  80. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.d.ts +0 -0
  81. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.d.ts +0 -0
  82. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  83. /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.d.ts +0 -0
  84. /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.d.ts +0 -0
  85. /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.d.ts +0 -0
  86. /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.d.ts +0 -0
  87. /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.d.ts +0 -0
@@ -18,6 +18,7 @@ import { LanguageString } from "../runtime/langstr.js";
18
18
  export class Object {
19
19
  #documentLoader;
20
20
  #contextLoader;
21
+ #cachedJsonLd;
21
22
  id;
22
23
  get _documentLoader() {
23
24
  return this.#documentLoader;
@@ -25,7 +26,12 @@ export class Object {
25
26
  get _contextLoader() {
26
27
  return this.#contextLoader;
27
28
  }
28
- #cachedJsonLd;
29
+ get _cachedJsonLd() {
30
+ return this.#cachedJsonLd;
31
+ }
32
+ set _cachedJsonLd(value) {
33
+ this.#cachedJsonLd = value;
34
+ }
29
35
  /**
30
36
  * The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
31
37
  */
@@ -1341,6 +1347,7 @@ export class Object {
1341
1347
  if (fetched == null)
1342
1348
  continue;
1343
1349
  vs[i] = fetched;
1350
+ this._cachedJsonLd = undefined;
1344
1351
  yield fetched;
1345
1352
  continue;
1346
1353
  }
@@ -1436,6 +1443,7 @@ export class Object {
1436
1443
  if (fetched == null)
1437
1444
  return null;
1438
1445
  this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo[0] = fetched;
1446
+ this._cachedJsonLd = undefined;
1439
1447
  return fetched;
1440
1448
  }
1441
1449
  return v;
@@ -1461,6 +1469,7 @@ export class Object {
1461
1469
  if (fetched == null)
1462
1470
  continue;
1463
1471
  vs[i] = fetched;
1472
+ this._cachedJsonLd = undefined;
1464
1473
  yield fetched;
1465
1474
  continue;
1466
1475
  }
@@ -1519,6 +1528,7 @@ export class Object {
1519
1528
  if (fetched == null)
1520
1529
  return null;
1521
1530
  this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience[0] = fetched;
1531
+ this._cachedJsonLd = undefined;
1522
1532
  return fetched;
1523
1533
  }
1524
1534
  return v;
@@ -1543,6 +1553,7 @@ export class Object {
1543
1553
  if (fetched == null)
1544
1554
  continue;
1545
1555
  vs[i] = fetched;
1556
+ this._cachedJsonLd = undefined;
1546
1557
  yield fetched;
1547
1558
  continue;
1548
1559
  }
@@ -1631,6 +1642,7 @@ export class Object {
1631
1642
  if (fetched == null)
1632
1643
  continue;
1633
1644
  vs[i] = fetched;
1645
+ this._cachedJsonLd = undefined;
1634
1646
  yield fetched;
1635
1647
  continue;
1636
1648
  }
@@ -1719,6 +1731,7 @@ export class Object {
1719
1731
  if (fetched == null)
1720
1732
  continue;
1721
1733
  vs[i] = fetched;
1734
+ this._cachedJsonLd = undefined;
1722
1735
  yield fetched;
1723
1736
  continue;
1724
1737
  }
@@ -1778,6 +1791,7 @@ export class Object {
1778
1791
  if (fetched == null)
1779
1792
  return null;
1780
1793
  this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon[0] = fetched;
1794
+ this._cachedJsonLd = undefined;
1781
1795
  return fetched;
1782
1796
  }
1783
1797
  return v;
@@ -1803,6 +1817,7 @@ export class Object {
1803
1817
  if (fetched == null)
1804
1818
  continue;
1805
1819
  vs[i] = fetched;
1820
+ this._cachedJsonLd = undefined;
1806
1821
  yield fetched;
1807
1822
  continue;
1808
1823
  }
@@ -1862,6 +1877,7 @@ export class Object {
1862
1877
  if (fetched == null)
1863
1878
  return null;
1864
1879
  this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image[0] = fetched;
1880
+ this._cachedJsonLd = undefined;
1865
1881
  return fetched;
1866
1882
  }
1867
1883
  return v;
@@ -1887,6 +1903,7 @@ export class Object {
1887
1903
  if (fetched == null)
1888
1904
  continue;
1889
1905
  vs[i] = fetched;
1906
+ this._cachedJsonLd = undefined;
1890
1907
  yield fetched;
1891
1908
  continue;
1892
1909
  }
@@ -1955,6 +1972,7 @@ export class Object {
1955
1972
  if (fetched == null)
1956
1973
  return null;
1957
1974
  this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo[0] = fetched;
1975
+ this._cachedJsonLd = undefined;
1958
1976
  return fetched;
1959
1977
  }
1960
1978
  return v;
@@ -1979,6 +1997,7 @@ export class Object {
1979
1997
  if (fetched == null)
1980
1998
  continue;
1981
1999
  vs[i] = fetched;
2000
+ this._cachedJsonLd = undefined;
1982
2001
  yield fetched;
1983
2002
  continue;
1984
2003
  }
@@ -2047,6 +2066,7 @@ export class Object {
2047
2066
  if (fetched == null)
2048
2067
  return null;
2049
2068
  this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location[0] = fetched;
2069
+ this._cachedJsonLd = undefined;
2050
2070
  return fetched;
2051
2071
  }
2052
2072
  return v;
@@ -2071,6 +2091,7 @@ export class Object {
2071
2091
  if (fetched == null)
2072
2092
  continue;
2073
2093
  vs[i] = fetched;
2094
+ this._cachedJsonLd = undefined;
2074
2095
  yield fetched;
2075
2096
  continue;
2076
2097
  }
@@ -2138,6 +2159,7 @@ export class Object {
2138
2159
  if (fetched == null)
2139
2160
  return null;
2140
2161
  this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview[0] = fetched;
2162
+ this._cachedJsonLd = undefined;
2141
2163
  return fetched;
2142
2164
  }
2143
2165
  return v;
@@ -2161,6 +2183,7 @@ export class Object {
2161
2183
  if (fetched == null)
2162
2184
  continue;
2163
2185
  vs[i] = fetched;
2186
+ this._cachedJsonLd = undefined;
2164
2187
  yield fetched;
2165
2188
  continue;
2166
2189
  }
@@ -2226,6 +2249,7 @@ export class Object {
2226
2249
  if (fetched == null)
2227
2250
  return null;
2228
2251
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies[0] = fetched;
2252
+ this._cachedJsonLd = undefined;
2229
2253
  return fetched;
2230
2254
  }
2231
2255
  return v;
@@ -2313,6 +2337,7 @@ export class Object {
2313
2337
  if (fetched == null)
2314
2338
  continue;
2315
2339
  vs[i] = fetched;
2340
+ this._cachedJsonLd = undefined;
2316
2341
  yield fetched;
2317
2342
  continue;
2318
2343
  }
@@ -2390,6 +2415,7 @@ export class Object {
2390
2415
  if (fetched == null)
2391
2416
  return null;
2392
2417
  this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to[0] = fetched;
2418
+ this._cachedJsonLd = undefined;
2393
2419
  return fetched;
2394
2420
  }
2395
2421
  return v;
@@ -2414,6 +2440,7 @@ export class Object {
2414
2440
  if (fetched == null)
2415
2441
  continue;
2416
2442
  vs[i] = fetched;
2443
+ this._cachedJsonLd = undefined;
2417
2444
  yield fetched;
2418
2445
  continue;
2419
2446
  }
@@ -2472,6 +2499,7 @@ export class Object {
2472
2499
  if (fetched == null)
2473
2500
  return null;
2474
2501
  this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto[0] = fetched;
2502
+ this._cachedJsonLd = undefined;
2475
2503
  return fetched;
2476
2504
  }
2477
2505
  return v;
@@ -2496,6 +2524,7 @@ export class Object {
2496
2524
  if (fetched == null)
2497
2525
  continue;
2498
2526
  vs[i] = fetched;
2527
+ this._cachedJsonLd = undefined;
2499
2528
  yield fetched;
2500
2529
  continue;
2501
2530
  }
@@ -2554,6 +2583,7 @@ export class Object {
2554
2583
  if (fetched == null)
2555
2584
  return null;
2556
2585
  this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc[0] = fetched;
2586
+ this._cachedJsonLd = undefined;
2557
2587
  return fetched;
2558
2588
  }
2559
2589
  return v;
@@ -2578,6 +2608,7 @@ export class Object {
2578
2608
  if (fetched == null)
2579
2609
  continue;
2580
2610
  vs[i] = fetched;
2611
+ this._cachedJsonLd = undefined;
2581
2612
  yield fetched;
2582
2613
  continue;
2583
2614
  }
@@ -2636,6 +2667,7 @@ export class Object {
2636
2667
  if (fetched == null)
2637
2668
  return null;
2638
2669
  this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc[0] = fetched;
2670
+ this._cachedJsonLd = undefined;
2639
2671
  return fetched;
2640
2672
  }
2641
2673
  return v;
@@ -2660,6 +2692,7 @@ export class Object {
2660
2692
  if (fetched == null)
2661
2693
  continue;
2662
2694
  vs[i] = fetched;
2695
+ this._cachedJsonLd = undefined;
2663
2696
  yield fetched;
2664
2697
  continue;
2665
2698
  }
@@ -2754,6 +2787,7 @@ export class Object {
2754
2787
  if (fetched == null)
2755
2788
  return null;
2756
2789
  this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof[0] = fetched;
2790
+ this._cachedJsonLd = undefined;
2757
2791
  return fetched;
2758
2792
  }
2759
2793
  return v;
@@ -2777,6 +2811,7 @@ export class Object {
2777
2811
  if (fetched == null)
2778
2812
  continue;
2779
2813
  vs[i] = fetched;
2814
+ this._cachedJsonLd = undefined;
2780
2815
  yield fetched;
2781
2816
  continue;
2782
2817
  }
@@ -2794,8 +2829,8 @@ export class Object {
2794
2829
  * @returns The JSON-LD representation of this object.
2795
2830
  */
2796
2831
  async toJsonLd(options = {}) {
2797
- if (options.format == null && this.#cachedJsonLd != null) {
2798
- return this.#cachedJsonLd;
2832
+ if (options.format == null && this._cachedJsonLd != null) {
2833
+ return this._cachedJsonLd;
2799
2834
  }
2800
2835
  if (options.format !== "compact" && options.context != null) {
2801
2836
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -4966,7 +5001,7 @@ export class Object {
4966
5001
  _42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;
4967
5002
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
4968
5003
  try {
4969
- instance.#cachedJsonLd = structuredClone(json);
5004
+ instance._cachedJsonLd = structuredClone(json);
4970
5005
  }
4971
5006
  catch {
4972
5007
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -5433,7 +5468,6 @@ _a = Object;
5433
5468
  /** Represents a custom emoji.
5434
5469
  */
5435
5470
  export class Emoji extends Object {
5436
- #cachedJsonLd;
5437
5471
  /**
5438
5472
  * The type URI of {@link Emoji}: `http://joinmastodon.org/ns#Emoji`.
5439
5473
  */
@@ -5469,8 +5503,8 @@ export class Emoji extends Object {
5469
5503
  * @returns The JSON-LD representation of this object.
5470
5504
  */
5471
5505
  async toJsonLd(options = {}) {
5472
- if (options.format == null && this.#cachedJsonLd != null) {
5473
- return this.#cachedJsonLd;
5506
+ if (options.format == null && this._cachedJsonLd != null) {
5507
+ return this._cachedJsonLd;
5474
5508
  }
5475
5509
  if (options.format !== "compact" && options.context != null) {
5476
5510
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -5584,7 +5618,7 @@ export class Emoji extends Object {
5584
5618
  }
5585
5619
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
5586
5620
  try {
5587
- instance.#cachedJsonLd = structuredClone(json);
5621
+ instance._cachedJsonLd = structuredClone(json);
5588
5622
  }
5589
5623
  catch {
5590
5624
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -5612,7 +5646,6 @@ export class Emoji extends Object {
5612
5646
  * a {@link Create} activity.
5613
5647
  */
5614
5648
  export class ChatMessage extends Object {
5615
- #cachedJsonLd;
5616
5649
  /**
5617
5650
  * The type URI of {@link ChatMessage}: `http://litepub.social/ns#ChatMessage`.
5618
5651
  */
@@ -5687,8 +5720,8 @@ export class ChatMessage extends Object {
5687
5720
  * @returns The JSON-LD representation of this object.
5688
5721
  */
5689
5722
  async toJsonLd(options = {}) {
5690
- if (options.format == null && this.#cachedJsonLd != null) {
5691
- return this.#cachedJsonLd;
5723
+ if (options.format == null && this._cachedJsonLd != null) {
5724
+ return this._cachedJsonLd;
5692
5725
  }
5693
5726
  if (options.format !== "compact" && options.context != null) {
5694
5727
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -5873,7 +5906,7 @@ export class ChatMessage extends Object {
5873
5906
  _K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
5874
5907
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
5875
5908
  try {
5876
- instance.#cachedJsonLd = structuredClone(json);
5909
+ instance._cachedJsonLd = structuredClone(json);
5877
5910
  }
5878
5911
  catch {
5879
5912
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -5913,7 +5946,6 @@ export class ChatMessage extends Object {
5913
5946
  * does not carry any specific semantics about the kind of action being taken.
5914
5947
  */
5915
5948
  export class Activity extends Object {
5916
- #cachedJsonLd;
5917
5949
  /**
5918
5950
  * The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`.
5919
5951
  */
@@ -6365,6 +6397,7 @@ export class Activity extends Object {
6365
6397
  if (fetched == null)
6366
6398
  return null;
6367
6399
  this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor[0] = fetched;
6400
+ this._cachedJsonLd = undefined;
6368
6401
  return fetched;
6369
6402
  }
6370
6403
  return v;
@@ -6390,6 +6423,7 @@ export class Activity extends Object {
6390
6423
  if (fetched == null)
6391
6424
  continue;
6392
6425
  vs[i] = fetched;
6426
+ this._cachedJsonLd = undefined;
6393
6427
  yield fetched;
6394
6428
  continue;
6395
6429
  }
@@ -6449,6 +6483,7 @@ export class Activity extends Object {
6449
6483
  if (fetched == null)
6450
6484
  return null;
6451
6485
  this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object[0] = fetched;
6486
+ this._cachedJsonLd = undefined;
6452
6487
  return fetched;
6453
6488
  }
6454
6489
  return v;
@@ -6474,6 +6509,7 @@ export class Activity extends Object {
6474
6509
  if (fetched == null)
6475
6510
  continue;
6476
6511
  vs[i] = fetched;
6512
+ this._cachedJsonLd = undefined;
6477
6513
  yield fetched;
6478
6514
  continue;
6479
6515
  }
@@ -6536,6 +6572,7 @@ export class Activity extends Object {
6536
6572
  if (fetched == null)
6537
6573
  return null;
6538
6574
  this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target[0] = fetched;
6575
+ this._cachedJsonLd = undefined;
6539
6576
  return fetched;
6540
6577
  }
6541
6578
  return v;
@@ -6564,6 +6601,7 @@ export class Activity extends Object {
6564
6601
  if (fetched == null)
6565
6602
  continue;
6566
6603
  vs[i] = fetched;
6604
+ this._cachedJsonLd = undefined;
6567
6605
  yield fetched;
6568
6606
  continue;
6569
6607
  }
@@ -6623,6 +6661,7 @@ export class Activity extends Object {
6623
6661
  if (fetched == null)
6624
6662
  return null;
6625
6663
  this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result[0] = fetched;
6664
+ this._cachedJsonLd = undefined;
6626
6665
  return fetched;
6627
6666
  }
6628
6667
  return v;
@@ -6648,6 +6687,7 @@ export class Activity extends Object {
6648
6687
  if (fetched == null)
6649
6688
  continue;
6650
6689
  vs[i] = fetched;
6690
+ this._cachedJsonLd = undefined;
6651
6691
  yield fetched;
6652
6692
  continue;
6653
6693
  }
@@ -6708,6 +6748,7 @@ export class Activity extends Object {
6708
6748
  if (fetched == null)
6709
6749
  return null;
6710
6750
  this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin[0] = fetched;
6751
+ this._cachedJsonLd = undefined;
6711
6752
  return fetched;
6712
6753
  }
6713
6754
  return v;
@@ -6734,6 +6775,7 @@ export class Activity extends Object {
6734
6775
  if (fetched == null)
6735
6776
  continue;
6736
6777
  vs[i] = fetched;
6778
+ this._cachedJsonLd = undefined;
6737
6779
  yield fetched;
6738
6780
  continue;
6739
6781
  }
@@ -6792,6 +6834,7 @@ export class Activity extends Object {
6792
6834
  if (fetched == null)
6793
6835
  return null;
6794
6836
  this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument[0] = fetched;
6837
+ this._cachedJsonLd = undefined;
6795
6838
  return fetched;
6796
6839
  }
6797
6840
  return v;
@@ -6816,6 +6859,7 @@ export class Activity extends Object {
6816
6859
  if (fetched == null)
6817
6860
  continue;
6818
6861
  vs[i] = fetched;
6862
+ this._cachedJsonLd = undefined;
6819
6863
  yield fetched;
6820
6864
  continue;
6821
6865
  }
@@ -6833,8 +6877,8 @@ export class Activity extends Object {
6833
6877
  * @returns The JSON-LD representation of this object.
6834
6878
  */
6835
6879
  async toJsonLd(options = {}) {
6836
- if (options.format == null && this.#cachedJsonLd != null) {
6837
- return this.#cachedJsonLd;
6880
+ if (options.format == null && this._cachedJsonLd != null) {
6881
+ return this._cachedJsonLd;
6838
6882
  }
6839
6883
  if (options.format !== "compact" && options.context != null) {
6840
6884
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -7246,7 +7290,7 @@ export class Activity extends Object {
7246
7290
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;
7247
7291
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
7248
7292
  try {
7249
- instance.#cachedJsonLd = structuredClone(json);
7293
+ instance._cachedJsonLd = structuredClone(json);
7250
7294
  }
7251
7295
  catch {
7252
7296
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -7372,7 +7416,6 @@ export class Activity extends Object {
7372
7416
  /** Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
7373
7417
  */
7374
7418
  export class EmojiReact extends Activity {
7375
- #cachedJsonLd;
7376
7419
  /**
7377
7420
  * The type URI of {@link EmojiReact}: `http://litepub.social/ns#EmojiReact`.
7378
7421
  */
@@ -7408,8 +7451,8 @@ export class EmojiReact extends Activity {
7408
7451
  * @returns The JSON-LD representation of this object.
7409
7452
  */
7410
7453
  async toJsonLd(options = {}) {
7411
- if (options.format == null && this.#cachedJsonLd != null) {
7412
- return this.#cachedJsonLd;
7454
+ if (options.format == null && this._cachedJsonLd != null) {
7455
+ return this._cachedJsonLd;
7413
7456
  }
7414
7457
  if (options.format !== "compact" && options.context != null) {
7415
7458
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -7513,7 +7556,7 @@ export class EmojiReact extends Activity {
7513
7556
  }
7514
7557
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
7515
7558
  try {
7516
- instance.#cachedJsonLd = structuredClone(json);
7559
+ instance._cachedJsonLd = structuredClone(json);
7517
7560
  }
7518
7561
  catch {
7519
7562
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -7539,6 +7582,7 @@ export class EmojiReact extends Activity {
7539
7582
  export class PropertyValue {
7540
7583
  #documentLoader;
7541
7584
  #contextLoader;
7585
+ #cachedJsonLd;
7542
7586
  id;
7543
7587
  get _documentLoader() {
7544
7588
  return this.#documentLoader;
@@ -7546,7 +7590,12 @@ export class PropertyValue {
7546
7590
  get _contextLoader() {
7547
7591
  return this.#contextLoader;
7548
7592
  }
7549
- #cachedJsonLd;
7593
+ get _cachedJsonLd() {
7594
+ return this.#cachedJsonLd;
7595
+ }
7596
+ set _cachedJsonLd(value) {
7597
+ this.#cachedJsonLd = value;
7598
+ }
7550
7599
  /**
7551
7600
  * The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
7552
7601
  */
@@ -7652,8 +7701,8 @@ export class PropertyValue {
7652
7701
  * @returns The JSON-LD representation of this object.
7653
7702
  */
7654
7703
  async toJsonLd(options = {}) {
7655
- if (options.format == null && this.#cachedJsonLd != null) {
7656
- return this.#cachedJsonLd;
7704
+ if (options.format == null && this._cachedJsonLd != null) {
7705
+ return this._cachedJsonLd;
7657
7706
  }
7658
7707
  if (options.format !== "compact" && options.context != null) {
7659
7708
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -7845,7 +7894,7 @@ export class PropertyValue {
7845
7894
  _2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
7846
7895
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
7847
7896
  try {
7848
- instance.#cachedJsonLd = structuredClone(json);
7897
+ instance._cachedJsonLd = structuredClone(json);
7849
7898
  }
7850
7899
  catch {
7851
7900
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -7904,6 +7953,7 @@ export class PropertyValue {
7904
7953
  export class DidService {
7905
7954
  #documentLoader;
7906
7955
  #contextLoader;
7956
+ #cachedJsonLd;
7907
7957
  id;
7908
7958
  get _documentLoader() {
7909
7959
  return this.#documentLoader;
@@ -7911,7 +7961,12 @@ export class DidService {
7911
7961
  get _contextLoader() {
7912
7962
  return this.#contextLoader;
7913
7963
  }
7914
- #cachedJsonLd;
7964
+ get _cachedJsonLd() {
7965
+ return this.#cachedJsonLd;
7966
+ }
7967
+ set _cachedJsonLd(value) {
7968
+ this.#cachedJsonLd = value;
7969
+ }
7915
7970
  /**
7916
7971
  * The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
7917
7972
  */
@@ -8027,8 +8082,8 @@ export class DidService {
8027
8082
  * @returns The JSON-LD representation of this object.
8028
8083
  */
8029
8084
  async toJsonLd(options = {}) {
8030
- if (options.format == null && this.#cachedJsonLd != null) {
8031
- return this.#cachedJsonLd;
8085
+ if (options.format == null && this._cachedJsonLd != null) {
8086
+ return this._cachedJsonLd;
8032
8087
  }
8033
8088
  if (options.format !== "compact" && options.context != null) {
8034
8089
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -8124,7 +8179,7 @@ export class DidService {
8124
8179
  _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
8125
8180
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
8126
8181
  try {
8127
- instance.#cachedJsonLd = structuredClone(json);
8182
+ instance._cachedJsonLd = structuredClone(json);
8128
8183
  }
8129
8184
  catch {
8130
8185
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -8171,7 +8226,6 @@ export class DidService {
8171
8226
  /** "Export Actor" service.
8172
8227
  */
8173
8228
  export class Export extends DidService {
8174
- #cachedJsonLd;
8175
8229
  /**
8176
8230
  * The type URI of {@link Export}: `https://w3id.org/fep/9091#Export`.
8177
8231
  */
@@ -8207,8 +8261,8 @@ export class Export extends DidService {
8207
8261
  * @returns The JSON-LD representation of this object.
8208
8262
  */
8209
8263
  async toJsonLd(options = {}) {
8210
- if (options.format == null && this.#cachedJsonLd != null) {
8211
- return this.#cachedJsonLd;
8264
+ if (options.format == null && this._cachedJsonLd != null) {
8265
+ return this._cachedJsonLd;
8212
8266
  }
8213
8267
  if (options.format !== "compact" && options.context != null) {
8214
8268
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -8291,7 +8345,7 @@ export class Export extends DidService {
8291
8345
  }
8292
8346
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
8293
8347
  try {
8294
- instance.#cachedJsonLd = structuredClone(json);
8348
+ instance._cachedJsonLd = structuredClone(json);
8295
8349
  }
8296
8350
  catch {
8297
8351
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -8318,6 +8372,7 @@ export class Export extends DidService {
8318
8372
  export class DataIntegrityProof {
8319
8373
  #documentLoader;
8320
8374
  #contextLoader;
8375
+ #cachedJsonLd;
8321
8376
  id;
8322
8377
  get _documentLoader() {
8323
8378
  return this.#documentLoader;
@@ -8325,7 +8380,12 @@ export class DataIntegrityProof {
8325
8380
  get _contextLoader() {
8326
8381
  return this.#contextLoader;
8327
8382
  }
8328
- #cachedJsonLd;
8383
+ get _cachedJsonLd() {
8384
+ return this.#cachedJsonLd;
8385
+ }
8386
+ set _cachedJsonLd(value) {
8387
+ this.#cachedJsonLd = value;
8388
+ }
8329
8389
  /**
8330
8390
  * The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
8331
8391
  */
@@ -8555,6 +8615,7 @@ export class DataIntegrityProof {
8555
8615
  if (fetched == null)
8556
8616
  return null;
8557
8617
  this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod[0] = fetched;
8618
+ this._cachedJsonLd = undefined;
8558
8619
  return fetched;
8559
8620
  }
8560
8621
  return v;
@@ -8598,8 +8659,8 @@ export class DataIntegrityProof {
8598
8659
  * @returns The JSON-LD representation of this object.
8599
8660
  */
8600
8661
  async toJsonLd(options = {}) {
8601
- if (options.format == null && this.#cachedJsonLd != null) {
8602
- return this.#cachedJsonLd;
8662
+ if (options.format == null && this._cachedJsonLd != null) {
8663
+ return this._cachedJsonLd;
8603
8664
  }
8604
8665
  if (options.format !== "compact" && options.context != null) {
8605
8666
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -8802,7 +8863,7 @@ export class DataIntegrityProof {
8802
8863
  instance.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = _3qzP3ukEZoUziK5FEiA1RhU4aqac;
8803
8864
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
8804
8865
  try {
8805
- instance.#cachedJsonLd = structuredClone(json);
8866
+ instance._cachedJsonLd = structuredClone(json);
8806
8867
  }
8807
8868
  catch {
8808
8869
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -8894,6 +8955,7 @@ export class DataIntegrityProof {
8894
8955
  export class CryptographicKey {
8895
8956
  #documentLoader;
8896
8957
  #contextLoader;
8958
+ #cachedJsonLd;
8897
8959
  id;
8898
8960
  get _documentLoader() {
8899
8961
  return this.#documentLoader;
@@ -8901,7 +8963,12 @@ export class CryptographicKey {
8901
8963
  get _contextLoader() {
8902
8964
  return this.#contextLoader;
8903
8965
  }
8904
- #cachedJsonLd;
8966
+ get _cachedJsonLd() {
8967
+ return this.#cachedJsonLd;
8968
+ }
8969
+ set _cachedJsonLd(value) {
8970
+ this.#cachedJsonLd = value;
8971
+ }
8905
8972
  /**
8906
8973
  * The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
8907
8974
  */
@@ -9077,6 +9144,7 @@ export class CryptographicKey {
9077
9144
  if (fetched == null)
9078
9145
  return null;
9079
9146
  this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner[0] = fetched;
9147
+ this._cachedJsonLd = undefined;
9080
9148
  return fetched;
9081
9149
  }
9082
9150
  return v;
@@ -9100,8 +9168,8 @@ export class CryptographicKey {
9100
9168
  * @returns The JSON-LD representation of this object.
9101
9169
  */
9102
9170
  async toJsonLd(options = {}) {
9103
- if (options.format == null && this.#cachedJsonLd != null) {
9104
- return this.#cachedJsonLd;
9171
+ if (options.format == null && this._cachedJsonLd != null) {
9172
+ return this._cachedJsonLd;
9105
9173
  }
9106
9174
  if (options.format !== "compact" && options.context != null) {
9107
9175
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -9317,7 +9385,7 @@ export class CryptographicKey {
9317
9385
  _2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
9318
9386
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
9319
9387
  try {
9320
- instance.#cachedJsonLd = structuredClone(json);
9388
+ instance._cachedJsonLd = structuredClone(json);
9321
9389
  }
9322
9390
  catch {
9323
9391
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -9376,6 +9444,7 @@ export class CryptographicKey {
9376
9444
  export class Multikey {
9377
9445
  #documentLoader;
9378
9446
  #contextLoader;
9447
+ #cachedJsonLd;
9379
9448
  id;
9380
9449
  get _documentLoader() {
9381
9450
  return this.#documentLoader;
@@ -9383,7 +9452,12 @@ export class Multikey {
9383
9452
  get _contextLoader() {
9384
9453
  return this.#contextLoader;
9385
9454
  }
9386
- #cachedJsonLd;
9455
+ get _cachedJsonLd() {
9456
+ return this.#cachedJsonLd;
9457
+ }
9458
+ set _cachedJsonLd(value) {
9459
+ this.#cachedJsonLd = value;
9460
+ }
9387
9461
  /**
9388
9462
  * The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
9389
9463
  */
@@ -9565,6 +9639,7 @@ export class Multikey {
9565
9639
  if (fetched == null)
9566
9640
  return null;
9567
9641
  this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller[0] = fetched;
9642
+ this._cachedJsonLd = undefined;
9568
9643
  return fetched;
9569
9644
  }
9570
9645
  return v;
@@ -9591,8 +9666,8 @@ export class Multikey {
9591
9666
  * @returns The JSON-LD representation of this object.
9592
9667
  */
9593
9668
  async toJsonLd(options = {}) {
9594
- if (options.format == null && this.#cachedJsonLd != null) {
9595
- return this.#cachedJsonLd;
9669
+ if (options.format == null && this._cachedJsonLd != null) {
9670
+ return this._cachedJsonLd;
9596
9671
  }
9597
9672
  if (options.format !== "compact" && options.context != null) {
9598
9673
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -9813,7 +9888,7 @@ export class Multikey {
9813
9888
  _4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
9814
9889
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
9815
9890
  try {
9816
- instance.#cachedJsonLd = structuredClone(json);
9891
+ instance._cachedJsonLd = structuredClone(json);
9817
9892
  }
9818
9893
  catch {
9819
9894
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -9869,7 +9944,6 @@ export class Multikey {
9869
9944
  * has been accepted.
9870
9945
  */
9871
9946
  export class Accept extends Activity {
9872
- #cachedJsonLd;
9873
9947
  /**
9874
9948
  * The type URI of {@link Accept}: `https://www.w3.org/ns/activitystreams#Accept`.
9875
9949
  */
@@ -9905,8 +9979,8 @@ export class Accept extends Activity {
9905
9979
  * @returns The JSON-LD representation of this object.
9906
9980
  */
9907
9981
  async toJsonLd(options = {}) {
9908
- if (options.format == null && this.#cachedJsonLd != null) {
9909
- return this.#cachedJsonLd;
9982
+ if (options.format == null && this._cachedJsonLd != null) {
9983
+ return this._cachedJsonLd;
9910
9984
  }
9911
9985
  if (options.format !== "compact" && options.context != null) {
9912
9986
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -10007,7 +10081,7 @@ export class Accept extends Activity {
10007
10081
  }
10008
10082
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
10009
10083
  try {
10010
- instance.#cachedJsonLd = structuredClone(json);
10084
+ instance._cachedJsonLd = structuredClone(json);
10011
10085
  }
10012
10086
  catch {
10013
10087
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -10034,7 +10108,6 @@ export class Accept extends Activity {
10034
10108
  * the context from which the `object` originated.
10035
10109
  */
10036
10110
  export class Add extends Activity {
10037
- #cachedJsonLd;
10038
10111
  /**
10039
10112
  * The type URI of {@link Add}: `https://www.w3.org/ns/activitystreams#Add`.
10040
10113
  */
@@ -10070,8 +10143,8 @@ export class Add extends Activity {
10070
10143
  * @returns The JSON-LD representation of this object.
10071
10144
  */
10072
10145
  async toJsonLd(options = {}) {
10073
- if (options.format == null && this.#cachedJsonLd != null) {
10074
- return this.#cachedJsonLd;
10146
+ if (options.format == null && this._cachedJsonLd != null) {
10147
+ return this._cachedJsonLd;
10075
10148
  }
10076
10149
  if (options.format !== "compact" && options.context != null) {
10077
10150
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -10169,7 +10242,7 @@ export class Add extends Activity {
10169
10242
  }
10170
10243
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
10171
10244
  try {
10172
- instance.#cachedJsonLd = structuredClone(json);
10245
+ instance._cachedJsonLd = structuredClone(json);
10173
10246
  }
10174
10247
  catch {
10175
10248
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -10195,7 +10268,6 @@ export class Add extends Activity {
10195
10268
  * The `origin` typically has no defined meaning.
10196
10269
  */
10197
10270
  export class Announce extends Activity {
10198
- #cachedJsonLd;
10199
10271
  /**
10200
10272
  * The type URI of {@link Announce}: `https://www.w3.org/ns/activitystreams#Announce`.
10201
10273
  */
@@ -10231,8 +10303,8 @@ export class Announce extends Activity {
10231
10303
  * @returns The JSON-LD representation of this object.
10232
10304
  */
10233
10305
  async toJsonLd(options = {}) {
10234
- if (options.format == null && this.#cachedJsonLd != null) {
10235
- return this.#cachedJsonLd;
10306
+ if (options.format == null && this._cachedJsonLd != null) {
10307
+ return this._cachedJsonLd;
10236
10308
  }
10237
10309
  if (options.format !== "compact" && options.context != null) {
10238
10310
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -10342,7 +10414,7 @@ export class Announce extends Activity {
10342
10414
  }
10343
10415
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
10344
10416
  try {
10345
- instance.#cachedJsonLd = structuredClone(json);
10417
+ instance._cachedJsonLd = structuredClone(json);
10346
10418
  }
10347
10419
  catch {
10348
10420
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -10366,7 +10438,6 @@ export class Announce extends Activity {
10366
10438
  /** Describes a software application.
10367
10439
  */
10368
10440
  export class Application extends Object {
10369
- #cachedJsonLd;
10370
10441
  /**
10371
10442
  * The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`.
10372
10443
  */
@@ -11164,6 +11235,7 @@ export class Application extends Object {
11164
11235
  if (fetched == null)
11165
11236
  return null;
11166
11237
  this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey[0] = fetched;
11238
+ this._cachedJsonLd = undefined;
11167
11239
  return fetched;
11168
11240
  }
11169
11241
  return v;
@@ -11187,6 +11259,7 @@ export class Application extends Object {
11187
11259
  if (fetched == null)
11188
11260
  continue;
11189
11261
  vs[i] = fetched;
11262
+ this._cachedJsonLd = undefined;
11190
11263
  yield fetched;
11191
11264
  continue;
11192
11265
  }
@@ -11249,6 +11322,7 @@ export class Application extends Object {
11249
11322
  if (fetched == null)
11250
11323
  return null;
11251
11324
  this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod[0] = fetched;
11325
+ this._cachedJsonLd = undefined;
11252
11326
  return fetched;
11253
11327
  }
11254
11328
  return v;
@@ -11275,6 +11349,7 @@ export class Application extends Object {
11275
11349
  if (fetched == null)
11276
11350
  continue;
11277
11351
  vs[i] = fetched;
11352
+ this._cachedJsonLd = undefined;
11278
11353
  yield fetched;
11279
11354
  continue;
11280
11355
  }
@@ -11366,6 +11441,7 @@ export class Application extends Object {
11366
11441
  if (fetched == null)
11367
11442
  return null;
11368
11443
  this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox[0] = fetched;
11444
+ this._cachedJsonLd = undefined;
11369
11445
  return fetched;
11370
11446
  }
11371
11447
  return v;
@@ -11440,6 +11516,7 @@ export class Application extends Object {
11440
11516
  if (fetched == null)
11441
11517
  return null;
11442
11518
  this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox[0] = fetched;
11519
+ this._cachedJsonLd = undefined;
11443
11520
  return fetched;
11444
11521
  }
11445
11522
  return v;
@@ -11499,6 +11576,7 @@ export class Application extends Object {
11499
11576
  if (fetched == null)
11500
11577
  return null;
11501
11578
  this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following[0] = fetched;
11579
+ this._cachedJsonLd = undefined;
11502
11580
  return fetched;
11503
11581
  }
11504
11582
  return v;
@@ -11561,6 +11639,7 @@ export class Application extends Object {
11561
11639
  if (fetched == null)
11562
11640
  return null;
11563
11641
  this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers[0] = fetched;
11642
+ this._cachedJsonLd = undefined;
11564
11643
  return fetched;
11565
11644
  }
11566
11645
  return v;
@@ -11621,6 +11700,7 @@ export class Application extends Object {
11621
11700
  if (fetched == null)
11622
11701
  return null;
11623
11702
  this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked[0] = fetched;
11703
+ this._cachedJsonLd = undefined;
11624
11704
  return fetched;
11625
11705
  }
11626
11706
  return v;
@@ -11679,6 +11759,7 @@ export class Application extends Object {
11679
11759
  if (fetched == null)
11680
11760
  return null;
11681
11761
  this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured[0] = fetched;
11762
+ this._cachedJsonLd = undefined;
11682
11763
  return fetched;
11683
11764
  }
11684
11765
  return v;
@@ -11739,6 +11820,7 @@ export class Application extends Object {
11739
11820
  if (fetched == null)
11740
11821
  return null;
11741
11822
  this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags[0] = fetched;
11823
+ this._cachedJsonLd = undefined;
11742
11824
  return fetched;
11743
11825
  }
11744
11826
  return v;
@@ -11789,6 +11871,7 @@ export class Application extends Object {
11789
11871
  if (fetched == null)
11790
11872
  continue;
11791
11873
  vs[i] = fetched;
11874
+ this._cachedJsonLd = undefined;
11792
11875
  yield fetched;
11793
11876
  continue;
11794
11877
  }
@@ -11922,6 +12005,7 @@ export class Application extends Object {
11922
12005
  if (fetched == null)
11923
12006
  return null;
11924
12007
  this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo[0] = fetched;
12008
+ this._cachedJsonLd = undefined;
11925
12009
  return fetched;
11926
12010
  }
11927
12011
  return v;
@@ -12014,6 +12098,7 @@ export class Application extends Object {
12014
12098
  if (fetched == null)
12015
12099
  return null;
12016
12100
  this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs[0] = fetched;
12101
+ this._cachedJsonLd = undefined;
12017
12102
  return fetched;
12018
12103
  }
12019
12104
  return v;
@@ -12040,6 +12125,7 @@ export class Application extends Object {
12040
12125
  if (fetched == null)
12041
12126
  continue;
12042
12127
  vs[i] = fetched;
12128
+ this._cachedJsonLd = undefined;
12043
12129
  yield fetched;
12044
12130
  continue;
12045
12131
  }
@@ -12100,6 +12186,7 @@ export class Application extends Object {
12100
12186
  if (fetched == null)
12101
12187
  return null;
12102
12188
  this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service[0] = fetched;
12189
+ this._cachedJsonLd = undefined;
12103
12190
  return fetched;
12104
12191
  }
12105
12192
  return v;
@@ -12126,6 +12213,7 @@ export class Application extends Object {
12126
12213
  if (fetched == null)
12127
12214
  continue;
12128
12215
  vs[i] = fetched;
12216
+ this._cachedJsonLd = undefined;
12129
12217
  yield fetched;
12130
12218
  continue;
12131
12219
  }
@@ -12153,8 +12241,8 @@ export class Application extends Object {
12153
12241
  * @returns The JSON-LD representation of this object.
12154
12242
  */
12155
12243
  async toJsonLd(options = {}) {
12156
- if (options.format == null && this.#cachedJsonLd != null) {
12157
- return this.#cachedJsonLd;
12244
+ if (options.format == null && this._cachedJsonLd != null) {
12245
+ return this._cachedJsonLd;
12158
12246
  }
12159
12247
  if (options.format !== "compact" && options.context != null) {
12160
12248
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -13355,7 +13443,7 @@ export class Application extends Object {
13355
13443
  _2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
13356
13444
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
13357
13445
  try {
13358
- instance.#cachedJsonLd = structuredClone(json);
13446
+ instance._cachedJsonLd = structuredClone(json);
13359
13447
  }
13360
13448
  catch {
13361
13449
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -13664,7 +13752,6 @@ _b = Application;
13664
13752
  * inappropriate for these activities.
13665
13753
  */
13666
13754
  export class IntransitiveActivity extends Activity {
13667
- #cachedJsonLd;
13668
13755
  /**
13669
13756
  * The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
13670
13757
  */
@@ -13700,8 +13787,8 @@ export class IntransitiveActivity extends Activity {
13700
13787
  * @returns The JSON-LD representation of this object.
13701
13788
  */
13702
13789
  async toJsonLd(options = {}) {
13703
- if (options.format == null && this.#cachedJsonLd != null) {
13704
- return this.#cachedJsonLd;
13790
+ if (options.format == null && this._cachedJsonLd != null) {
13791
+ return this._cachedJsonLd;
13705
13792
  }
13706
13793
  if (options.format !== "compact" && options.context != null) {
13707
13794
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -13810,7 +13897,7 @@ export class IntransitiveActivity extends Activity {
13810
13897
  }
13811
13898
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
13812
13899
  try {
13813
- instance.#cachedJsonLd = structuredClone(json);
13900
+ instance._cachedJsonLd = structuredClone(json);
13814
13901
  }
13815
13902
  catch {
13816
13903
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -13836,7 +13923,6 @@ export class IntransitiveActivity extends Activity {
13836
13923
  * The `target` typically has no defined meaning.
13837
13924
  */
13838
13925
  export class Arrive extends IntransitiveActivity {
13839
- #cachedJsonLd;
13840
13926
  /**
13841
13927
  * The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`.
13842
13928
  */
@@ -13872,8 +13958,8 @@ export class Arrive extends IntransitiveActivity {
13872
13958
  * @returns The JSON-LD representation of this object.
13873
13959
  */
13874
13960
  async toJsonLd(options = {}) {
13875
- if (options.format == null && this.#cachedJsonLd != null) {
13876
- return this.#cachedJsonLd;
13961
+ if (options.format == null && this._cachedJsonLd != null) {
13962
+ return this._cachedJsonLd;
13877
13963
  }
13878
13964
  if (options.format !== "compact" && options.context != null) {
13879
13965
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -13971,7 +14057,7 @@ export class Arrive extends IntransitiveActivity {
13971
14057
  }
13972
14058
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
13973
14059
  try {
13974
- instance.#cachedJsonLd = structuredClone(json);
14060
+ instance._cachedJsonLd = structuredClone(json);
13975
14061
  }
13976
14062
  catch {
13977
14063
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -13995,7 +14081,6 @@ export class Arrive extends IntransitiveActivity {
13995
14081
  /** Represents any kind of multi-paragraph written work.
13996
14082
  */
13997
14083
  export class Article extends Object {
13998
- #cachedJsonLd;
13999
14084
  /**
14000
14085
  * The type URI of {@link Article}: `https://www.w3.org/ns/activitystreams#Article`.
14001
14086
  */
@@ -14070,8 +14155,8 @@ export class Article extends Object {
14070
14155
  * @returns The JSON-LD representation of this object.
14071
14156
  */
14072
14157
  async toJsonLd(options = {}) {
14073
- if (options.format == null && this.#cachedJsonLd != null) {
14074
- return this.#cachedJsonLd;
14158
+ if (options.format == null && this._cachedJsonLd != null) {
14159
+ return this._cachedJsonLd;
14075
14160
  }
14076
14161
  if (options.format !== "compact" && options.context != null) {
14077
14162
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -14258,7 +14343,7 @@ export class Article extends Object {
14258
14343
  _K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
14259
14344
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
14260
14345
  try {
14261
- instance.#cachedJsonLd = structuredClone(json);
14346
+ instance._cachedJsonLd = structuredClone(json);
14262
14347
  }
14263
14348
  catch {
14264
14349
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -14294,7 +14379,6 @@ export class Article extends Object {
14294
14379
  /** Represents a document of any kind.
14295
14380
  */
14296
14381
  export class Document extends Object {
14297
- #cachedJsonLd;
14298
14382
  /**
14299
14383
  * The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`.
14300
14384
  */
@@ -14396,8 +14480,8 @@ export class Document extends Object {
14396
14480
  * @returns The JSON-LD representation of this object.
14397
14481
  */
14398
14482
  async toJsonLd(options = {}) {
14399
- if (options.format == null && this.#cachedJsonLd != null) {
14400
- return this.#cachedJsonLd;
14483
+ if (options.format == null && this._cachedJsonLd != null) {
14484
+ return this._cachedJsonLd;
14401
14485
  }
14402
14486
  if (options.format !== "compact" && options.context != null) {
14403
14487
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -14595,7 +14679,7 @@ export class Document extends Object {
14595
14679
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
14596
14680
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
14597
14681
  try {
14598
- instance.#cachedJsonLd = structuredClone(json);
14682
+ instance._cachedJsonLd = structuredClone(json);
14599
14683
  }
14600
14684
  catch {
14601
14685
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -14643,7 +14727,6 @@ export class Document extends Object {
14643
14727
  /** Represents an audio document of any kind.
14644
14728
  */
14645
14729
  export class Audio extends Document {
14646
- #cachedJsonLd;
14647
14730
  /**
14648
14731
  * The type URI of {@link Audio}: `https://www.w3.org/ns/activitystreams#Audio`.
14649
14732
  */
@@ -14679,8 +14762,8 @@ export class Audio extends Document {
14679
14762
  * @returns The JSON-LD representation of this object.
14680
14763
  */
14681
14764
  async toJsonLd(options = {}) {
14682
- if (options.format == null && this.#cachedJsonLd != null) {
14683
- return this.#cachedJsonLd;
14765
+ if (options.format == null && this._cachedJsonLd != null) {
14766
+ return this._cachedJsonLd;
14684
14767
  }
14685
14768
  if (options.format !== "compact" && options.context != null) {
14686
14769
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -14794,7 +14877,7 @@ export class Audio extends Document {
14794
14877
  }
14795
14878
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
14796
14879
  try {
14797
- instance.#cachedJsonLd = structuredClone(json);
14880
+ instance._cachedJsonLd = structuredClone(json);
14798
14881
  }
14799
14882
  catch {
14800
14883
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -14819,7 +14902,6 @@ export class Audio extends Document {
14819
14902
  * `origin` typically have no defined meaning.
14820
14903
  */
14821
14904
  export class Ignore extends Activity {
14822
- #cachedJsonLd;
14823
14905
  /**
14824
14906
  * The type URI of {@link Ignore}: `https://www.w3.org/ns/activitystreams#Ignore`.
14825
14907
  */
@@ -14855,8 +14937,8 @@ export class Ignore extends Activity {
14855
14937
  * @returns The JSON-LD representation of this object.
14856
14938
  */
14857
14939
  async toJsonLd(options = {}) {
14858
- if (options.format == null && this.#cachedJsonLd != null) {
14859
- return this.#cachedJsonLd;
14940
+ if (options.format == null && this._cachedJsonLd != null) {
14941
+ return this._cachedJsonLd;
14860
14942
  }
14861
14943
  if (options.format !== "compact" && options.context != null) {
14862
14944
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -14957,7 +15039,7 @@ export class Ignore extends Activity {
14957
15039
  }
14958
15040
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
14959
15041
  try {
14960
- instance.#cachedJsonLd = structuredClone(json);
15042
+ instance._cachedJsonLd = structuredClone(json);
14961
15043
  }
14962
15044
  catch {
14963
15045
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -14984,7 +15066,6 @@ export class Ignore extends Activity {
14984
15066
  * and `origin` typically have no defined meaning.
14985
15067
  */
14986
15068
  export class Block extends Ignore {
14987
- #cachedJsonLd;
14988
15069
  /**
14989
15070
  * The type URI of {@link Block}: `https://www.w3.org/ns/activitystreams#Block`.
14990
15071
  */
@@ -15020,8 +15101,8 @@ export class Block extends Ignore {
15020
15101
  * @returns The JSON-LD representation of this object.
15021
15102
  */
15022
15103
  async toJsonLd(options = {}) {
15023
- if (options.format == null && this.#cachedJsonLd != null) {
15024
- return this.#cachedJsonLd;
15104
+ if (options.format == null && this._cachedJsonLd != null) {
15105
+ return this._cachedJsonLd;
15025
15106
  }
15026
15107
  if (options.format !== "compact" && options.context != null) {
15027
15108
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -15119,7 +15200,7 @@ export class Block extends Ignore {
15119
15200
  }
15120
15201
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
15121
15202
  try {
15122
- instance.#cachedJsonLd = structuredClone(json);
15203
+ instance._cachedJsonLd = structuredClone(json);
15123
15204
  }
15124
15205
  catch {
15125
15206
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -15147,7 +15228,6 @@ export class Block extends Ignore {
15147
15228
  * description of the Collection type.
15148
15229
  */
15149
15230
  export class Collection extends Object {
15150
- #cachedJsonLd;
15151
15231
  /**
15152
15232
  * The type URI of {@link Collection}: `https://www.w3.org/ns/activitystreams#Collection`.
15153
15233
  */
@@ -15354,6 +15434,7 @@ export class Collection extends Object {
15354
15434
  if (fetched == null)
15355
15435
  return null;
15356
15436
  this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current[0] = fetched;
15437
+ this._cachedJsonLd = undefined;
15357
15438
  return fetched;
15358
15439
  }
15359
15440
  return v;
@@ -15410,6 +15491,7 @@ export class Collection extends Object {
15410
15491
  if (fetched == null)
15411
15492
  return null;
15412
15493
  this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first[0] = fetched;
15494
+ this._cachedJsonLd = undefined;
15413
15495
  return fetched;
15414
15496
  }
15415
15497
  return v;
@@ -15466,6 +15548,7 @@ export class Collection extends Object {
15466
15548
  if (fetched == null)
15467
15549
  return null;
15468
15550
  this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last[0] = fetched;
15551
+ this._cachedJsonLd = undefined;
15469
15552
  return fetched;
15470
15553
  }
15471
15554
  return v;
@@ -15527,6 +15610,7 @@ export class Collection extends Object {
15527
15610
  if (fetched == null)
15528
15611
  continue;
15529
15612
  vs[i] = fetched;
15613
+ this._cachedJsonLd = undefined;
15530
15614
  yield fetched;
15531
15615
  continue;
15532
15616
  }
@@ -15544,8 +15628,8 @@ export class Collection extends Object {
15544
15628
  * @returns The JSON-LD representation of this object.
15545
15629
  */
15546
15630
  async toJsonLd(options = {}) {
15547
- if (options.format == null && this.#cachedJsonLd != null) {
15548
- return this.#cachedJsonLd;
15631
+ if (options.format == null && this._cachedJsonLd != null) {
15632
+ return this._cachedJsonLd;
15549
15633
  }
15550
15634
  if (options.format !== "compact" && options.context != null) {
15551
15635
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -15981,7 +16065,7 @@ export class Collection extends Object {
15981
16065
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
15982
16066
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
15983
16067
  try {
15984
- instance.#cachedJsonLd = structuredClone(json);
16068
+ instance._cachedJsonLd = structuredClone(json);
15985
16069
  }
15986
16070
  catch {
15987
16071
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -16069,7 +16153,6 @@ export class Collection extends Object {
16069
16153
  * the `CollectionPage` object.
16070
16154
  */
16071
16155
  export class CollectionPage extends Collection {
16072
- #cachedJsonLd;
16073
16156
  /**
16074
16157
  * The type URI of {@link CollectionPage}: `https://www.w3.org/ns/activitystreams#CollectionPage`.
16075
16158
  */
@@ -16215,6 +16298,7 @@ export class CollectionPage extends Collection {
16215
16298
  if (fetched == null)
16216
16299
  return null;
16217
16300
  this.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf[0] = fetched;
16301
+ this._cachedJsonLd = undefined;
16218
16302
  return fetched;
16219
16303
  }
16220
16304
  return v;
@@ -16270,6 +16354,7 @@ export class CollectionPage extends Collection {
16270
16354
  if (fetched == null)
16271
16355
  return null;
16272
16356
  this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next[0] = fetched;
16357
+ this._cachedJsonLd = undefined;
16273
16358
  return fetched;
16274
16359
  }
16275
16360
  return v;
@@ -16325,6 +16410,7 @@ export class CollectionPage extends Collection {
16325
16410
  if (fetched == null)
16326
16411
  return null;
16327
16412
  this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev[0] = fetched;
16413
+ this._cachedJsonLd = undefined;
16328
16414
  return fetched;
16329
16415
  }
16330
16416
  return v;
@@ -16340,8 +16426,8 @@ export class CollectionPage extends Collection {
16340
16426
  * @returns The JSON-LD representation of this object.
16341
16427
  */
16342
16428
  async toJsonLd(options = {}) {
16343
- if (options.format == null && this.#cachedJsonLd != null) {
16344
- return this.#cachedJsonLd;
16429
+ if (options.format == null && this._cachedJsonLd != null) {
16430
+ return this._cachedJsonLd;
16345
16431
  }
16346
16432
  if (options.format !== "compact" && options.context != null) {
16347
16433
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -16608,7 +16694,7 @@ export class CollectionPage extends Collection {
16608
16694
  _3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;
16609
16695
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
16610
16696
  try {
16611
- instance.#cachedJsonLd = structuredClone(json);
16697
+ instance._cachedJsonLd = structuredClone(json);
16612
16698
  }
16613
16699
  catch {
16614
16700
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -16669,7 +16755,6 @@ _c = CollectionPage;
16669
16755
  /** Indicates that the `actor` has created the `object`.
16670
16756
  */
16671
16757
  export class Create extends Activity {
16672
- #cachedJsonLd;
16673
16758
  /**
16674
16759
  * The type URI of {@link Create}: `https://www.w3.org/ns/activitystreams#Create`.
16675
16760
  */
@@ -16705,8 +16790,8 @@ export class Create extends Activity {
16705
16790
  * @returns The JSON-LD representation of this object.
16706
16791
  */
16707
16792
  async toJsonLd(options = {}) {
16708
- if (options.format == null && this.#cachedJsonLd != null) {
16709
- return this.#cachedJsonLd;
16793
+ if (options.format == null && this._cachedJsonLd != null) {
16794
+ return this._cachedJsonLd;
16710
16795
  }
16711
16796
  if (options.format !== "compact" && options.context != null) {
16712
16797
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -16817,7 +16902,7 @@ export class Create extends Activity {
16817
16902
  }
16818
16903
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
16819
16904
  try {
16820
- instance.#cachedJsonLd = structuredClone(json);
16905
+ instance._cachedJsonLd = structuredClone(json);
16821
16906
  }
16822
16907
  catch {
16823
16908
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -16842,7 +16927,6 @@ export class Create extends Activity {
16842
16927
  * the `origin` indicates the context from which the `object` was deleted.
16843
16928
  */
16844
16929
  export class Delete extends Activity {
16845
- #cachedJsonLd;
16846
16930
  /**
16847
16931
  * The type URI of {@link Delete}: `https://www.w3.org/ns/activitystreams#Delete`.
16848
16932
  */
@@ -16878,8 +16962,8 @@ export class Delete extends Activity {
16878
16962
  * @returns The JSON-LD representation of this object.
16879
16963
  */
16880
16964
  async toJsonLd(options = {}) {
16881
- if (options.format == null && this.#cachedJsonLd != null) {
16882
- return this.#cachedJsonLd;
16965
+ if (options.format == null && this._cachedJsonLd != null) {
16966
+ return this._cachedJsonLd;
16883
16967
  }
16884
16968
  if (options.format !== "compact" && options.context != null) {
16885
16969
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -16990,7 +17074,7 @@ export class Delete extends Activity {
16990
17074
  }
16991
17075
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
16992
17076
  try {
16993
- instance.#cachedJsonLd = structuredClone(json);
17077
+ instance._cachedJsonLd = structuredClone(json);
16994
17078
  }
16995
17079
  catch {
16996
17080
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -17014,7 +17098,6 @@ export class Delete extends Activity {
17014
17098
  /** Indicates that the `actor` dislikes the `object`.
17015
17099
  */
17016
17100
  export class Dislike extends Activity {
17017
- #cachedJsonLd;
17018
17101
  /**
17019
17102
  * The type URI of {@link Dislike}: `https://www.w3.org/ns/activitystreams#Dislike`.
17020
17103
  */
@@ -17050,8 +17133,8 @@ export class Dislike extends Activity {
17050
17133
  * @returns The JSON-LD representation of this object.
17051
17134
  */
17052
17135
  async toJsonLd(options = {}) {
17053
- if (options.format == null && this.#cachedJsonLd != null) {
17054
- return this.#cachedJsonLd;
17136
+ if (options.format == null && this._cachedJsonLd != null) {
17137
+ return this._cachedJsonLd;
17055
17138
  }
17056
17139
  if (options.format !== "compact" && options.context != null) {
17057
17140
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -17150,7 +17233,7 @@ export class Dislike extends Activity {
17150
17233
  }
17151
17234
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
17152
17235
  try {
17153
- instance.#cachedJsonLd = structuredClone(json);
17236
+ instance._cachedJsonLd = structuredClone(json);
17154
17237
  }
17155
17238
  catch {
17156
17239
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -17176,6 +17259,7 @@ export class Dislike extends Activity {
17176
17259
  export class Endpoints {
17177
17260
  #documentLoader;
17178
17261
  #contextLoader;
17262
+ #cachedJsonLd;
17179
17263
  id;
17180
17264
  get _documentLoader() {
17181
17265
  return this.#documentLoader;
@@ -17183,7 +17267,12 @@ export class Endpoints {
17183
17267
  get _contextLoader() {
17184
17268
  return this.#contextLoader;
17185
17269
  }
17186
- #cachedJsonLd;
17270
+ get _cachedJsonLd() {
17271
+ return this.#cachedJsonLd;
17272
+ }
17273
+ set _cachedJsonLd(value) {
17274
+ this.#cachedJsonLd = value;
17275
+ }
17187
17276
  /**
17188
17277
  * The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
17189
17278
  */
@@ -17451,8 +17540,8 @@ export class Endpoints {
17451
17540
  * @returns The JSON-LD representation of this object.
17452
17541
  */
17453
17542
  async toJsonLd(options = {}) {
17454
- if (options.format == null && this.#cachedJsonLd != null) {
17455
- return this.#cachedJsonLd;
17543
+ if (options.format == null && this._cachedJsonLd != null) {
17544
+ return this._cachedJsonLd;
17456
17545
  }
17457
17546
  if (options.format !== "compact" && options.context != null) {
17458
17547
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -17736,7 +17825,7 @@ export class Endpoints {
17736
17825
  _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
17737
17826
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
17738
17827
  try {
17739
- instance.#cachedJsonLd = structuredClone(json);
17828
+ instance._cachedJsonLd = structuredClone(json);
17740
17829
  }
17741
17830
  catch {
17742
17831
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -17840,7 +17929,6 @@ export class Endpoints {
17840
17929
  /** Represents any kind of event.
17841
17930
  */
17842
17931
  export class Event extends Object {
17843
- #cachedJsonLd;
17844
17932
  /**
17845
17933
  * The type URI of {@link Event}: `https://www.w3.org/ns/activitystreams#Event`.
17846
17934
  */
@@ -17876,8 +17964,8 @@ export class Event extends Object {
17876
17964
  * @returns The JSON-LD representation of this object.
17877
17965
  */
17878
17966
  async toJsonLd(options = {}) {
17879
- if (options.format == null && this.#cachedJsonLd != null) {
17880
- return this.#cachedJsonLd;
17967
+ if (options.format == null && this._cachedJsonLd != null) {
17968
+ return this._cachedJsonLd;
17881
17969
  }
17882
17970
  if (options.format !== "compact" && options.context != null) {
17883
17971
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -17991,7 +18079,7 @@ export class Event extends Object {
17991
18079
  }
17992
18080
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
17993
18081
  try {
17994
- instance.#cachedJsonLd = structuredClone(json);
18082
+ instance._cachedJsonLd = structuredClone(json);
17995
18083
  }
17996
18084
  catch {
17997
18085
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -18017,7 +18105,6 @@ export class Event extends Object {
18017
18105
  * inappropriate for any number of reasons.
18018
18106
  */
18019
18107
  export class Flag extends Activity {
18020
- #cachedJsonLd;
18021
18108
  /**
18022
18109
  * The type URI of {@link Flag}: `https://www.w3.org/ns/activitystreams#Flag`.
18023
18110
  */
@@ -18053,8 +18140,8 @@ export class Flag extends Activity {
18053
18140
  * @returns The JSON-LD representation of this object.
18054
18141
  */
18055
18142
  async toJsonLd(options = {}) {
18056
- if (options.format == null && this.#cachedJsonLd != null) {
18057
- return this.#cachedJsonLd;
18143
+ if (options.format == null && this._cachedJsonLd != null) {
18144
+ return this._cachedJsonLd;
18058
18145
  }
18059
18146
  if (options.format !== "compact" && options.context != null) {
18060
18147
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -18152,7 +18239,7 @@ export class Flag extends Activity {
18152
18239
  }
18153
18240
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
18154
18241
  try {
18155
- instance.#cachedJsonLd = structuredClone(json);
18242
+ instance._cachedJsonLd = structuredClone(json);
18156
18243
  }
18157
18244
  catch {
18158
18245
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -18179,7 +18266,6 @@ export class Flag extends Activity {
18179
18266
  * `origin` typically have no defined meaning.
18180
18267
  */
18181
18268
  export class Follow extends Activity {
18182
- #cachedJsonLd;
18183
18269
  /**
18184
18270
  * The type URI of {@link Follow}: `https://www.w3.org/ns/activitystreams#Follow`.
18185
18271
  */
@@ -18215,8 +18301,8 @@ export class Follow extends Activity {
18215
18301
  * @returns The JSON-LD representation of this object.
18216
18302
  */
18217
18303
  async toJsonLd(options = {}) {
18218
- if (options.format == null && this.#cachedJsonLd != null) {
18219
- return this.#cachedJsonLd;
18304
+ if (options.format == null && this._cachedJsonLd != null) {
18305
+ return this._cachedJsonLd;
18220
18306
  }
18221
18307
  if (options.format !== "compact" && options.context != null) {
18222
18308
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -18314,7 +18400,7 @@ export class Follow extends Activity {
18314
18400
  }
18315
18401
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
18316
18402
  try {
18317
- instance.#cachedJsonLd = structuredClone(json);
18403
+ instance._cachedJsonLd = structuredClone(json);
18318
18404
  }
18319
18405
  catch {
18320
18406
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -18338,7 +18424,6 @@ export class Follow extends Activity {
18338
18424
  /** Represents a formal or informal collective of Actors.
18339
18425
  */
18340
18426
  export class Group extends Object {
18341
- #cachedJsonLd;
18342
18427
  /**
18343
18428
  * The type URI of {@link Group}: `https://www.w3.org/ns/activitystreams#Group`.
18344
18429
  */
@@ -19136,6 +19221,7 @@ export class Group extends Object {
19136
19221
  if (fetched == null)
19137
19222
  return null;
19138
19223
  this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey[0] = fetched;
19224
+ this._cachedJsonLd = undefined;
19139
19225
  return fetched;
19140
19226
  }
19141
19227
  return v;
@@ -19159,6 +19245,7 @@ export class Group extends Object {
19159
19245
  if (fetched == null)
19160
19246
  continue;
19161
19247
  vs[i] = fetched;
19248
+ this._cachedJsonLd = undefined;
19162
19249
  yield fetched;
19163
19250
  continue;
19164
19251
  }
@@ -19221,6 +19308,7 @@ export class Group extends Object {
19221
19308
  if (fetched == null)
19222
19309
  return null;
19223
19310
  this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod[0] = fetched;
19311
+ this._cachedJsonLd = undefined;
19224
19312
  return fetched;
19225
19313
  }
19226
19314
  return v;
@@ -19247,6 +19335,7 @@ export class Group extends Object {
19247
19335
  if (fetched == null)
19248
19336
  continue;
19249
19337
  vs[i] = fetched;
19338
+ this._cachedJsonLd = undefined;
19250
19339
  yield fetched;
19251
19340
  continue;
19252
19341
  }
@@ -19338,6 +19427,7 @@ export class Group extends Object {
19338
19427
  if (fetched == null)
19339
19428
  return null;
19340
19429
  this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox[0] = fetched;
19430
+ this._cachedJsonLd = undefined;
19341
19431
  return fetched;
19342
19432
  }
19343
19433
  return v;
@@ -19412,6 +19502,7 @@ export class Group extends Object {
19412
19502
  if (fetched == null)
19413
19503
  return null;
19414
19504
  this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox[0] = fetched;
19505
+ this._cachedJsonLd = undefined;
19415
19506
  return fetched;
19416
19507
  }
19417
19508
  return v;
@@ -19471,6 +19562,7 @@ export class Group extends Object {
19471
19562
  if (fetched == null)
19472
19563
  return null;
19473
19564
  this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following[0] = fetched;
19565
+ this._cachedJsonLd = undefined;
19474
19566
  return fetched;
19475
19567
  }
19476
19568
  return v;
@@ -19533,6 +19625,7 @@ export class Group extends Object {
19533
19625
  if (fetched == null)
19534
19626
  return null;
19535
19627
  this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers[0] = fetched;
19628
+ this._cachedJsonLd = undefined;
19536
19629
  return fetched;
19537
19630
  }
19538
19631
  return v;
@@ -19593,6 +19686,7 @@ export class Group extends Object {
19593
19686
  if (fetched == null)
19594
19687
  return null;
19595
19688
  this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked[0] = fetched;
19689
+ this._cachedJsonLd = undefined;
19596
19690
  return fetched;
19597
19691
  }
19598
19692
  return v;
@@ -19651,6 +19745,7 @@ export class Group extends Object {
19651
19745
  if (fetched == null)
19652
19746
  return null;
19653
19747
  this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured[0] = fetched;
19748
+ this._cachedJsonLd = undefined;
19654
19749
  return fetched;
19655
19750
  }
19656
19751
  return v;
@@ -19711,6 +19806,7 @@ export class Group extends Object {
19711
19806
  if (fetched == null)
19712
19807
  return null;
19713
19808
  this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags[0] = fetched;
19809
+ this._cachedJsonLd = undefined;
19714
19810
  return fetched;
19715
19811
  }
19716
19812
  return v;
@@ -19761,6 +19857,7 @@ export class Group extends Object {
19761
19857
  if (fetched == null)
19762
19858
  continue;
19763
19859
  vs[i] = fetched;
19860
+ this._cachedJsonLd = undefined;
19764
19861
  yield fetched;
19765
19862
  continue;
19766
19863
  }
@@ -19894,6 +19991,7 @@ export class Group extends Object {
19894
19991
  if (fetched == null)
19895
19992
  return null;
19896
19993
  this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo[0] = fetched;
19994
+ this._cachedJsonLd = undefined;
19897
19995
  return fetched;
19898
19996
  }
19899
19997
  return v;
@@ -19986,6 +20084,7 @@ export class Group extends Object {
19986
20084
  if (fetched == null)
19987
20085
  return null;
19988
20086
  this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs[0] = fetched;
20087
+ this._cachedJsonLd = undefined;
19989
20088
  return fetched;
19990
20089
  }
19991
20090
  return v;
@@ -20012,6 +20111,7 @@ export class Group extends Object {
20012
20111
  if (fetched == null)
20013
20112
  continue;
20014
20113
  vs[i] = fetched;
20114
+ this._cachedJsonLd = undefined;
20015
20115
  yield fetched;
20016
20116
  continue;
20017
20117
  }
@@ -20072,6 +20172,7 @@ export class Group extends Object {
20072
20172
  if (fetched == null)
20073
20173
  return null;
20074
20174
  this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service[0] = fetched;
20175
+ this._cachedJsonLd = undefined;
20075
20176
  return fetched;
20076
20177
  }
20077
20178
  return v;
@@ -20098,6 +20199,7 @@ export class Group extends Object {
20098
20199
  if (fetched == null)
20099
20200
  continue;
20100
20201
  vs[i] = fetched;
20202
+ this._cachedJsonLd = undefined;
20101
20203
  yield fetched;
20102
20204
  continue;
20103
20205
  }
@@ -20125,8 +20227,8 @@ export class Group extends Object {
20125
20227
  * @returns The JSON-LD representation of this object.
20126
20228
  */
20127
20229
  async toJsonLd(options = {}) {
20128
- if (options.format == null && this.#cachedJsonLd != null) {
20129
- return this.#cachedJsonLd;
20230
+ if (options.format == null && this._cachedJsonLd != null) {
20231
+ return this._cachedJsonLd;
20130
20232
  }
20131
20233
  if (options.format !== "compact" && options.context != null) {
20132
20234
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -21327,7 +21429,7 @@ export class Group extends Object {
21327
21429
  _2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
21328
21430
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
21329
21431
  try {
21330
- instance.#cachedJsonLd = structuredClone(json);
21432
+ instance._cachedJsonLd = structuredClone(json);
21331
21433
  }
21332
21434
  catch {
21333
21435
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -21643,6 +21745,7 @@ _d = Group;
21643
21745
  export class Link {
21644
21746
  #documentLoader;
21645
21747
  #contextLoader;
21748
+ #cachedJsonLd;
21646
21749
  id;
21647
21750
  get _documentLoader() {
21648
21751
  return this.#documentLoader;
@@ -21650,7 +21753,12 @@ export class Link {
21650
21753
  get _contextLoader() {
21651
21754
  return this.#contextLoader;
21652
21755
  }
21653
- #cachedJsonLd;
21756
+ get _cachedJsonLd() {
21757
+ return this.#cachedJsonLd;
21758
+ }
21759
+ set _cachedJsonLd(value) {
21760
+ this.#cachedJsonLd = value;
21761
+ }
21654
21762
  /**
21655
21763
  * The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
21656
21764
  */
@@ -22070,6 +22178,7 @@ export class Link {
22070
22178
  if (fetched == null)
22071
22179
  continue;
22072
22180
  vs[i] = fetched;
22181
+ this._cachedJsonLd = undefined;
22073
22182
  yield fetched;
22074
22183
  continue;
22075
22184
  }
@@ -22087,8 +22196,8 @@ export class Link {
22087
22196
  * @returns The JSON-LD representation of this object.
22088
22197
  */
22089
22198
  async toJsonLd(options = {}) {
22090
- if (options.format == null && this.#cachedJsonLd != null) {
22091
- return this.#cachedJsonLd;
22199
+ if (options.format == null && this._cachedJsonLd != null) {
22200
+ return this._cachedJsonLd;
22092
22201
  }
22093
22202
  if (options.format !== "compact" && options.context != null) {
22094
22203
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -22557,7 +22666,7 @@ export class Link {
22557
22666
  _gCVTegXxWWCw6wWRxa1QF65zusg_preview;
22558
22667
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
22559
22668
  try {
22560
- instance.#cachedJsonLd = structuredClone(json);
22669
+ instance._cachedJsonLd = structuredClone(json);
22561
22670
  }
22562
22671
  catch {
22563
22672
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -22698,7 +22807,6 @@ _e = Link;
22698
22807
  * See also <https://swicg.github.io/miscellany/#Hashtag>.
22699
22808
  */
22700
22809
  export class Hashtag extends Link {
22701
- #cachedJsonLd;
22702
22810
  /**
22703
22811
  * The type URI of {@link Hashtag}: `https://www.w3.org/ns/activitystreams#Hashtag`.
22704
22812
  */
@@ -22734,8 +22842,8 @@ export class Hashtag extends Link {
22734
22842
  * @returns The JSON-LD representation of this object.
22735
22843
  */
22736
22844
  async toJsonLd(options = {}) {
22737
- if (options.format == null && this.#cachedJsonLd != null) {
22738
- return this.#cachedJsonLd;
22845
+ if (options.format == null && this._cachedJsonLd != null) {
22846
+ return this._cachedJsonLd;
22739
22847
  }
22740
22848
  if (options.format !== "compact" && options.context != null) {
22741
22849
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -22834,7 +22942,7 @@ export class Hashtag extends Link {
22834
22942
  }
22835
22943
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
22836
22944
  try {
22837
- instance.#cachedJsonLd = structuredClone(json);
22945
+ instance._cachedJsonLd = structuredClone(json);
22838
22946
  }
22839
22947
  catch {
22840
22948
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -22858,7 +22966,6 @@ export class Hashtag extends Link {
22858
22966
  /** An image document of any kind.
22859
22967
  */
22860
22968
  export class Image extends Document {
22861
- #cachedJsonLd;
22862
22969
  /**
22863
22970
  * The type URI of {@link Image}: `https://www.w3.org/ns/activitystreams#Image`.
22864
22971
  */
@@ -22894,8 +23001,8 @@ export class Image extends Document {
22894
23001
  * @returns The JSON-LD representation of this object.
22895
23002
  */
22896
23003
  async toJsonLd(options = {}) {
22897
- if (options.format == null && this.#cachedJsonLd != null) {
22898
- return this.#cachedJsonLd;
23004
+ if (options.format == null && this._cachedJsonLd != null) {
23005
+ return this._cachedJsonLd;
22899
23006
  }
22900
23007
  if (options.format !== "compact" && options.context != null) {
22901
23008
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23003,7 +23110,7 @@ export class Image extends Document {
23003
23110
  }
23004
23111
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23005
23112
  try {
23006
- instance.#cachedJsonLd = structuredClone(json);
23113
+ instance._cachedJsonLd = structuredClone(json);
23007
23114
  }
23008
23115
  catch {
23009
23116
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23029,7 +23136,6 @@ export class Image extends Document {
23029
23136
  * the object is being offered.
23030
23137
  */
23031
23138
  export class Offer extends Activity {
23032
- #cachedJsonLd;
23033
23139
  /**
23034
23140
  * The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
23035
23141
  */
@@ -23065,8 +23171,8 @@ export class Offer extends Activity {
23065
23171
  * @returns The JSON-LD representation of this object.
23066
23172
  */
23067
23173
  async toJsonLd(options = {}) {
23068
- if (options.format == null && this.#cachedJsonLd != null) {
23069
- return this.#cachedJsonLd;
23174
+ if (options.format == null && this._cachedJsonLd != null) {
23175
+ return this._cachedJsonLd;
23070
23176
  }
23071
23177
  if (options.format !== "compact" && options.context != null) {
23072
23178
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23167,7 +23273,7 @@ export class Offer extends Activity {
23167
23273
  }
23168
23274
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23169
23275
  try {
23170
- instance.#cachedJsonLd = structuredClone(json);
23276
+ instance._cachedJsonLd = structuredClone(json);
23171
23277
  }
23172
23278
  catch {
23173
23279
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23192,7 +23298,6 @@ export class Offer extends Activity {
23192
23298
  * for the `object` to the `target`.
23193
23299
  */
23194
23300
  export class Invite extends Offer {
23195
- #cachedJsonLd;
23196
23301
  /**
23197
23302
  * The type URI of {@link Invite}: `https://www.w3.org/ns/activitystreams#Invite`.
23198
23303
  */
@@ -23228,8 +23333,8 @@ export class Invite extends Offer {
23228
23333
  * @returns The JSON-LD representation of this object.
23229
23334
  */
23230
23335
  async toJsonLd(options = {}) {
23231
- if (options.format == null && this.#cachedJsonLd != null) {
23232
- return this.#cachedJsonLd;
23336
+ if (options.format == null && this._cachedJsonLd != null) {
23337
+ return this._cachedJsonLd;
23233
23338
  }
23234
23339
  if (options.format !== "compact" && options.context != null) {
23235
23340
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23327,7 +23432,7 @@ export class Invite extends Offer {
23327
23432
  }
23328
23433
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23329
23434
  try {
23330
- instance.#cachedJsonLd = structuredClone(json);
23435
+ instance._cachedJsonLd = structuredClone(json);
23331
23436
  }
23332
23437
  catch {
23333
23438
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23352,7 +23457,6 @@ export class Invite extends Offer {
23352
23457
  * The `target` and `origin` typically have no defined meaning.
23353
23458
  */
23354
23459
  export class Join extends Activity {
23355
- #cachedJsonLd;
23356
23460
  /**
23357
23461
  * The type URI of {@link Join}: `https://www.w3.org/ns/activitystreams#Join`.
23358
23462
  */
@@ -23388,8 +23492,8 @@ export class Join extends Activity {
23388
23492
  * @returns The JSON-LD representation of this object.
23389
23493
  */
23390
23494
  async toJsonLd(options = {}) {
23391
- if (options.format == null && this.#cachedJsonLd != null) {
23392
- return this.#cachedJsonLd;
23495
+ if (options.format == null && this._cachedJsonLd != null) {
23496
+ return this._cachedJsonLd;
23393
23497
  }
23394
23498
  if (options.format !== "compact" && options.context != null) {
23395
23499
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23487,7 +23591,7 @@ export class Join extends Activity {
23487
23591
  }
23488
23592
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23489
23593
  try {
23490
- instance.#cachedJsonLd = structuredClone(json);
23594
+ instance._cachedJsonLd = structuredClone(json);
23491
23595
  }
23492
23596
  catch {
23493
23597
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23512,7 +23616,6 @@ export class Join extends Activity {
23512
23616
  * The `target` and `origin` typically have no meaning.
23513
23617
  */
23514
23618
  export class Leave extends Activity {
23515
- #cachedJsonLd;
23516
23619
  /**
23517
23620
  * The type URI of {@link Leave}: `https://www.w3.org/ns/activitystreams#Leave`.
23518
23621
  */
@@ -23548,8 +23651,8 @@ export class Leave extends Activity {
23548
23651
  * @returns The JSON-LD representation of this object.
23549
23652
  */
23550
23653
  async toJsonLd(options = {}) {
23551
- if (options.format == null && this.#cachedJsonLd != null) {
23552
- return this.#cachedJsonLd;
23654
+ if (options.format == null && this._cachedJsonLd != null) {
23655
+ return this._cachedJsonLd;
23553
23656
  }
23554
23657
  if (options.format !== "compact" && options.context != null) {
23555
23658
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23647,7 +23750,7 @@ export class Leave extends Activity {
23647
23750
  }
23648
23751
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23649
23752
  try {
23650
- instance.#cachedJsonLd = structuredClone(json);
23753
+ instance._cachedJsonLd = structuredClone(json);
23651
23754
  }
23652
23755
  catch {
23653
23756
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23672,7 +23775,6 @@ export class Leave extends Activity {
23672
23775
  * The `target` and `origin` typically have no defined meaning.
23673
23776
  */
23674
23777
  export class Like extends Activity {
23675
- #cachedJsonLd;
23676
23778
  /**
23677
23779
  * The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
23678
23780
  */
@@ -23708,8 +23810,8 @@ export class Like extends Activity {
23708
23810
  * @returns The JSON-LD representation of this object.
23709
23811
  */
23710
23812
  async toJsonLd(options = {}) {
23711
- if (options.format == null && this.#cachedJsonLd != null) {
23712
- return this.#cachedJsonLd;
23813
+ if (options.format == null && this._cachedJsonLd != null) {
23814
+ return this._cachedJsonLd;
23713
23815
  }
23714
23816
  if (options.format !== "compact" && options.context != null) {
23715
23817
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23808,7 +23910,7 @@ export class Like extends Activity {
23808
23910
  }
23809
23911
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23810
23912
  try {
23811
- instance.#cachedJsonLd = structuredClone(json);
23913
+ instance._cachedJsonLd = structuredClone(json);
23812
23914
  }
23813
23915
  catch {
23814
23916
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23832,7 +23934,6 @@ export class Like extends Activity {
23832
23934
  /** Indicates that the `actor` has listened to the `object`.
23833
23935
  */
23834
23936
  export class Listen extends Activity {
23835
- #cachedJsonLd;
23836
23937
  /**
23837
23938
  * The type URI of {@link Listen}: `https://www.w3.org/ns/activitystreams#Listen`.
23838
23939
  */
@@ -23868,8 +23969,8 @@ export class Listen extends Activity {
23868
23969
  * @returns The JSON-LD representation of this object.
23869
23970
  */
23870
23971
  async toJsonLd(options = {}) {
23871
- if (options.format == null && this.#cachedJsonLd != null) {
23872
- return this.#cachedJsonLd;
23972
+ if (options.format == null && this._cachedJsonLd != null) {
23973
+ return this._cachedJsonLd;
23873
23974
  }
23874
23975
  if (options.format !== "compact" && options.context != null) {
23875
23976
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -23967,7 +24068,7 @@ export class Listen extends Activity {
23967
24068
  }
23968
24069
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
23969
24070
  try {
23970
- instance.#cachedJsonLd = structuredClone(json);
24071
+ instance._cachedJsonLd = structuredClone(json);
23971
24072
  }
23972
24073
  catch {
23973
24074
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -23991,7 +24092,6 @@ export class Listen extends Activity {
23991
24092
  /** A specialized {@link Link} that represents an @mention.
23992
24093
  */
23993
24094
  export class Mention extends Link {
23994
- #cachedJsonLd;
23995
24095
  /**
23996
24096
  * The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
23997
24097
  */
@@ -24027,8 +24127,8 @@ export class Mention extends Link {
24027
24127
  * @returns The JSON-LD representation of this object.
24028
24128
  */
24029
24129
  async toJsonLd(options = {}) {
24030
- if (options.format == null && this.#cachedJsonLd != null) {
24031
- return this.#cachedJsonLd;
24130
+ if (options.format == null && this._cachedJsonLd != null) {
24131
+ return this._cachedJsonLd;
24032
24132
  }
24033
24133
  if (options.format !== "compact" && options.context != null) {
24034
24134
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -24125,7 +24225,7 @@ export class Mention extends Link {
24125
24225
  }
24126
24226
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
24127
24227
  try {
24128
- instance.#cachedJsonLd = structuredClone(json);
24228
+ instance._cachedJsonLd = structuredClone(json);
24129
24229
  }
24130
24230
  catch {
24131
24231
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -24151,7 +24251,6 @@ export class Mention extends Link {
24151
24251
  * either can be determined by context.
24152
24252
  */
24153
24253
  export class Move extends Activity {
24154
- #cachedJsonLd;
24155
24254
  /**
24156
24255
  * The type URI of {@link Move}: `https://www.w3.org/ns/activitystreams#Move`.
24157
24256
  */
@@ -24187,8 +24286,8 @@ export class Move extends Activity {
24187
24286
  * @returns The JSON-LD representation of this object.
24188
24287
  */
24189
24288
  async toJsonLd(options = {}) {
24190
- if (options.format == null && this.#cachedJsonLd != null) {
24191
- return this.#cachedJsonLd;
24289
+ if (options.format == null && this._cachedJsonLd != null) {
24290
+ return this._cachedJsonLd;
24192
24291
  }
24193
24292
  if (options.format !== "compact" && options.context != null) {
24194
24293
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -24286,7 +24385,7 @@ export class Move extends Activity {
24286
24385
  }
24287
24386
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
24288
24387
  try {
24289
- instance.#cachedJsonLd = structuredClone(json);
24388
+ instance._cachedJsonLd = structuredClone(json);
24290
24389
  }
24291
24390
  catch {
24292
24391
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -24311,7 +24410,6 @@ export class Move extends Activity {
24311
24410
  * length.
24312
24411
  */
24313
24412
  export class Note extends Object {
24314
- #cachedJsonLd;
24315
24413
  /**
24316
24414
  * The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
24317
24415
  */
@@ -24386,8 +24484,8 @@ export class Note extends Object {
24386
24484
  * @returns The JSON-LD representation of this object.
24387
24485
  */
24388
24486
  async toJsonLd(options = {}) {
24389
- if (options.format == null && this.#cachedJsonLd != null) {
24390
- return this.#cachedJsonLd;
24487
+ if (options.format == null && this._cachedJsonLd != null) {
24488
+ return this._cachedJsonLd;
24391
24489
  }
24392
24490
  if (options.format !== "compact" && options.context != null) {
24393
24491
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -24574,7 +24672,7 @@ export class Note extends Object {
24574
24672
  _K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
24575
24673
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
24576
24674
  try {
24577
- instance.#cachedJsonLd = structuredClone(json);
24675
+ instance._cachedJsonLd = structuredClone(json);
24578
24676
  }
24579
24677
  catch {
24580
24678
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -24611,7 +24709,6 @@ export class Note extends Object {
24611
24709
  * are assumed to always be strictly ordered.
24612
24710
  */
24613
24711
  export class OrderedCollection extends Collection {
24614
- #cachedJsonLd;
24615
24712
  /**
24616
24713
  * The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
24617
24714
  */
@@ -24718,6 +24815,7 @@ export class OrderedCollection extends Collection {
24718
24815
  if (fetched == null)
24719
24816
  continue;
24720
24817
  vs[i] = fetched;
24818
+ this._cachedJsonLd = undefined;
24721
24819
  yield fetched;
24722
24820
  continue;
24723
24821
  }
@@ -24735,8 +24833,8 @@ export class OrderedCollection extends Collection {
24735
24833
  * @returns The JSON-LD representation of this object.
24736
24834
  */
24737
24835
  async toJsonLd(options = {}) {
24738
- if (options.format == null && this.#cachedJsonLd != null) {
24739
- return this.#cachedJsonLd;
24836
+ if (options.format == null && this._cachedJsonLd != null) {
24837
+ return this._cachedJsonLd;
24740
24838
  }
24741
24839
  if (options.format !== "compact" && options.context != null) {
24742
24840
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -24990,7 +25088,7 @@ export class OrderedCollection extends Collection {
24990
25088
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
24991
25089
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
24992
25090
  try {
24993
- instance.#cachedJsonLd = structuredClone(json);
25091
+ instance._cachedJsonLd = structuredClone(json);
24994
25092
  }
24995
25093
  catch {
24996
25094
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -25030,7 +25128,6 @@ export class OrderedCollection extends Collection {
25030
25128
  * the `OrderedCollectionPage` object.
25031
25129
  */
25032
25130
  export class OrderedCollectionPage extends CollectionPage {
25033
- #cachedJsonLd;
25034
25131
  /**
25035
25132
  * The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
25036
25133
  */
@@ -25162,6 +25259,7 @@ export class OrderedCollectionPage extends CollectionPage {
25162
25259
  if (fetched == null)
25163
25260
  continue;
25164
25261
  vs[i] = fetched;
25262
+ this._cachedJsonLd = undefined;
25165
25263
  yield fetched;
25166
25264
  continue;
25167
25265
  }
@@ -25187,8 +25285,8 @@ export class OrderedCollectionPage extends CollectionPage {
25187
25285
  * @returns The JSON-LD representation of this object.
25188
25286
  */
25189
25287
  async toJsonLd(options = {}) {
25190
- if (options.format == null && this.#cachedJsonLd != null) {
25191
- return this.#cachedJsonLd;
25288
+ if (options.format == null && this._cachedJsonLd != null) {
25289
+ return this._cachedJsonLd;
25192
25290
  }
25193
25291
  if (options.format !== "compact" && options.context != null) {
25194
25292
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -25478,7 +25576,7 @@ export class OrderedCollectionPage extends CollectionPage {
25478
25576
  _2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
25479
25577
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
25480
25578
  try {
25481
- instance.#cachedJsonLd = structuredClone(json);
25579
+ instance._cachedJsonLd = structuredClone(json);
25482
25580
  }
25483
25581
  catch {
25484
25582
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -25528,7 +25626,6 @@ export class OrderedCollectionPage extends CollectionPage {
25528
25626
  /** Represents an organization.
25529
25627
  */
25530
25628
  export class Organization extends Object {
25531
- #cachedJsonLd;
25532
25629
  /**
25533
25630
  * The type URI of {@link Organization}: `https://www.w3.org/ns/activitystreams#Organization`.
25534
25631
  */
@@ -26326,6 +26423,7 @@ export class Organization extends Object {
26326
26423
  if (fetched == null)
26327
26424
  return null;
26328
26425
  this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey[0] = fetched;
26426
+ this._cachedJsonLd = undefined;
26329
26427
  return fetched;
26330
26428
  }
26331
26429
  return v;
@@ -26349,6 +26447,7 @@ export class Organization extends Object {
26349
26447
  if (fetched == null)
26350
26448
  continue;
26351
26449
  vs[i] = fetched;
26450
+ this._cachedJsonLd = undefined;
26352
26451
  yield fetched;
26353
26452
  continue;
26354
26453
  }
@@ -26411,6 +26510,7 @@ export class Organization extends Object {
26411
26510
  if (fetched == null)
26412
26511
  return null;
26413
26512
  this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod[0] = fetched;
26513
+ this._cachedJsonLd = undefined;
26414
26514
  return fetched;
26415
26515
  }
26416
26516
  return v;
@@ -26437,6 +26537,7 @@ export class Organization extends Object {
26437
26537
  if (fetched == null)
26438
26538
  continue;
26439
26539
  vs[i] = fetched;
26540
+ this._cachedJsonLd = undefined;
26440
26541
  yield fetched;
26441
26542
  continue;
26442
26543
  }
@@ -26528,6 +26629,7 @@ export class Organization extends Object {
26528
26629
  if (fetched == null)
26529
26630
  return null;
26530
26631
  this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox[0] = fetched;
26632
+ this._cachedJsonLd = undefined;
26531
26633
  return fetched;
26532
26634
  }
26533
26635
  return v;
@@ -26602,6 +26704,7 @@ export class Organization extends Object {
26602
26704
  if (fetched == null)
26603
26705
  return null;
26604
26706
  this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox[0] = fetched;
26707
+ this._cachedJsonLd = undefined;
26605
26708
  return fetched;
26606
26709
  }
26607
26710
  return v;
@@ -26661,6 +26764,7 @@ export class Organization extends Object {
26661
26764
  if (fetched == null)
26662
26765
  return null;
26663
26766
  this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following[0] = fetched;
26767
+ this._cachedJsonLd = undefined;
26664
26768
  return fetched;
26665
26769
  }
26666
26770
  return v;
@@ -26723,6 +26827,7 @@ export class Organization extends Object {
26723
26827
  if (fetched == null)
26724
26828
  return null;
26725
26829
  this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers[0] = fetched;
26830
+ this._cachedJsonLd = undefined;
26726
26831
  return fetched;
26727
26832
  }
26728
26833
  return v;
@@ -26783,6 +26888,7 @@ export class Organization extends Object {
26783
26888
  if (fetched == null)
26784
26889
  return null;
26785
26890
  this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked[0] = fetched;
26891
+ this._cachedJsonLd = undefined;
26786
26892
  return fetched;
26787
26893
  }
26788
26894
  return v;
@@ -26841,6 +26947,7 @@ export class Organization extends Object {
26841
26947
  if (fetched == null)
26842
26948
  return null;
26843
26949
  this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured[0] = fetched;
26950
+ this._cachedJsonLd = undefined;
26844
26951
  return fetched;
26845
26952
  }
26846
26953
  return v;
@@ -26901,6 +27008,7 @@ export class Organization extends Object {
26901
27008
  if (fetched == null)
26902
27009
  return null;
26903
27010
  this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags[0] = fetched;
27011
+ this._cachedJsonLd = undefined;
26904
27012
  return fetched;
26905
27013
  }
26906
27014
  return v;
@@ -26951,6 +27059,7 @@ export class Organization extends Object {
26951
27059
  if (fetched == null)
26952
27060
  continue;
26953
27061
  vs[i] = fetched;
27062
+ this._cachedJsonLd = undefined;
26954
27063
  yield fetched;
26955
27064
  continue;
26956
27065
  }
@@ -27084,6 +27193,7 @@ export class Organization extends Object {
27084
27193
  if (fetched == null)
27085
27194
  return null;
27086
27195
  this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo[0] = fetched;
27196
+ this._cachedJsonLd = undefined;
27087
27197
  return fetched;
27088
27198
  }
27089
27199
  return v;
@@ -27176,6 +27286,7 @@ export class Organization extends Object {
27176
27286
  if (fetched == null)
27177
27287
  return null;
27178
27288
  this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs[0] = fetched;
27289
+ this._cachedJsonLd = undefined;
27179
27290
  return fetched;
27180
27291
  }
27181
27292
  return v;
@@ -27202,6 +27313,7 @@ export class Organization extends Object {
27202
27313
  if (fetched == null)
27203
27314
  continue;
27204
27315
  vs[i] = fetched;
27316
+ this._cachedJsonLd = undefined;
27205
27317
  yield fetched;
27206
27318
  continue;
27207
27319
  }
@@ -27262,6 +27374,7 @@ export class Organization extends Object {
27262
27374
  if (fetched == null)
27263
27375
  return null;
27264
27376
  this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service[0] = fetched;
27377
+ this._cachedJsonLd = undefined;
27265
27378
  return fetched;
27266
27379
  }
27267
27380
  return v;
@@ -27288,6 +27401,7 @@ export class Organization extends Object {
27288
27401
  if (fetched == null)
27289
27402
  continue;
27290
27403
  vs[i] = fetched;
27404
+ this._cachedJsonLd = undefined;
27291
27405
  yield fetched;
27292
27406
  continue;
27293
27407
  }
@@ -27315,8 +27429,8 @@ export class Organization extends Object {
27315
27429
  * @returns The JSON-LD representation of this object.
27316
27430
  */
27317
27431
  async toJsonLd(options = {}) {
27318
- if (options.format == null && this.#cachedJsonLd != null) {
27319
- return this.#cachedJsonLd;
27432
+ if (options.format == null && this._cachedJsonLd != null) {
27433
+ return this._cachedJsonLd;
27320
27434
  }
27321
27435
  if (options.format !== "compact" && options.context != null) {
27322
27436
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -28517,7 +28631,7 @@ export class Organization extends Object {
28517
28631
  _2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
28518
28632
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
28519
28633
  try {
28520
- instance.#cachedJsonLd = structuredClone(json);
28634
+ instance._cachedJsonLd = structuredClone(json);
28521
28635
  }
28522
28636
  catch {
28523
28637
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -28824,7 +28938,6 @@ _f = Organization;
28824
28938
  /** Represents a Web Page.
28825
28939
  */
28826
28940
  export class Page extends Document {
28827
- #cachedJsonLd;
28828
28941
  /**
28829
28942
  * The type URI of {@link Page}: `https://www.w3.org/ns/activitystreams#Page`.
28830
28943
  */
@@ -28860,8 +28973,8 @@ export class Page extends Document {
28860
28973
  * @returns The JSON-LD representation of this object.
28861
28974
  */
28862
28975
  async toJsonLd(options = {}) {
28863
- if (options.format == null && this.#cachedJsonLd != null) {
28864
- return this.#cachedJsonLd;
28976
+ if (options.format == null && this._cachedJsonLd != null) {
28977
+ return this._cachedJsonLd;
28865
28978
  }
28866
28979
  if (options.format !== "compact" && options.context != null) {
28867
28980
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -28975,7 +29088,7 @@ export class Page extends Document {
28975
29088
  }
28976
29089
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
28977
29090
  try {
28978
- instance.#cachedJsonLd = structuredClone(json);
29091
+ instance._cachedJsonLd = structuredClone(json);
28979
29092
  }
28980
29093
  catch {
28981
29094
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -28999,7 +29112,6 @@ export class Page extends Document {
28999
29112
  /** Represents an individual person.
29000
29113
  */
29001
29114
  export class Person extends Object {
29002
- #cachedJsonLd;
29003
29115
  /**
29004
29116
  * The type URI of {@link Person}: `https://www.w3.org/ns/activitystreams#Person`.
29005
29117
  */
@@ -29797,6 +29909,7 @@ export class Person extends Object {
29797
29909
  if (fetched == null)
29798
29910
  return null;
29799
29911
  this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey[0] = fetched;
29912
+ this._cachedJsonLd = undefined;
29800
29913
  return fetched;
29801
29914
  }
29802
29915
  return v;
@@ -29820,6 +29933,7 @@ export class Person extends Object {
29820
29933
  if (fetched == null)
29821
29934
  continue;
29822
29935
  vs[i] = fetched;
29936
+ this._cachedJsonLd = undefined;
29823
29937
  yield fetched;
29824
29938
  continue;
29825
29939
  }
@@ -29882,6 +29996,7 @@ export class Person extends Object {
29882
29996
  if (fetched == null)
29883
29997
  return null;
29884
29998
  this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod[0] = fetched;
29999
+ this._cachedJsonLd = undefined;
29885
30000
  return fetched;
29886
30001
  }
29887
30002
  return v;
@@ -29908,6 +30023,7 @@ export class Person extends Object {
29908
30023
  if (fetched == null)
29909
30024
  continue;
29910
30025
  vs[i] = fetched;
30026
+ this._cachedJsonLd = undefined;
29911
30027
  yield fetched;
29912
30028
  continue;
29913
30029
  }
@@ -29999,6 +30115,7 @@ export class Person extends Object {
29999
30115
  if (fetched == null)
30000
30116
  return null;
30001
30117
  this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox[0] = fetched;
30118
+ this._cachedJsonLd = undefined;
30002
30119
  return fetched;
30003
30120
  }
30004
30121
  return v;
@@ -30073,6 +30190,7 @@ export class Person extends Object {
30073
30190
  if (fetched == null)
30074
30191
  return null;
30075
30192
  this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox[0] = fetched;
30193
+ this._cachedJsonLd = undefined;
30076
30194
  return fetched;
30077
30195
  }
30078
30196
  return v;
@@ -30132,6 +30250,7 @@ export class Person extends Object {
30132
30250
  if (fetched == null)
30133
30251
  return null;
30134
30252
  this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following[0] = fetched;
30253
+ this._cachedJsonLd = undefined;
30135
30254
  return fetched;
30136
30255
  }
30137
30256
  return v;
@@ -30194,6 +30313,7 @@ export class Person extends Object {
30194
30313
  if (fetched == null)
30195
30314
  return null;
30196
30315
  this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers[0] = fetched;
30316
+ this._cachedJsonLd = undefined;
30197
30317
  return fetched;
30198
30318
  }
30199
30319
  return v;
@@ -30254,6 +30374,7 @@ export class Person extends Object {
30254
30374
  if (fetched == null)
30255
30375
  return null;
30256
30376
  this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked[0] = fetched;
30377
+ this._cachedJsonLd = undefined;
30257
30378
  return fetched;
30258
30379
  }
30259
30380
  return v;
@@ -30312,6 +30433,7 @@ export class Person extends Object {
30312
30433
  if (fetched == null)
30313
30434
  return null;
30314
30435
  this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured[0] = fetched;
30436
+ this._cachedJsonLd = undefined;
30315
30437
  return fetched;
30316
30438
  }
30317
30439
  return v;
@@ -30372,6 +30494,7 @@ export class Person extends Object {
30372
30494
  if (fetched == null)
30373
30495
  return null;
30374
30496
  this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags[0] = fetched;
30497
+ this._cachedJsonLd = undefined;
30375
30498
  return fetched;
30376
30499
  }
30377
30500
  return v;
@@ -30422,6 +30545,7 @@ export class Person extends Object {
30422
30545
  if (fetched == null)
30423
30546
  continue;
30424
30547
  vs[i] = fetched;
30548
+ this._cachedJsonLd = undefined;
30425
30549
  yield fetched;
30426
30550
  continue;
30427
30551
  }
@@ -30555,6 +30679,7 @@ export class Person extends Object {
30555
30679
  if (fetched == null)
30556
30680
  return null;
30557
30681
  this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo[0] = fetched;
30682
+ this._cachedJsonLd = undefined;
30558
30683
  return fetched;
30559
30684
  }
30560
30685
  return v;
@@ -30647,6 +30772,7 @@ export class Person extends Object {
30647
30772
  if (fetched == null)
30648
30773
  return null;
30649
30774
  this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs[0] = fetched;
30775
+ this._cachedJsonLd = undefined;
30650
30776
  return fetched;
30651
30777
  }
30652
30778
  return v;
@@ -30673,6 +30799,7 @@ export class Person extends Object {
30673
30799
  if (fetched == null)
30674
30800
  continue;
30675
30801
  vs[i] = fetched;
30802
+ this._cachedJsonLd = undefined;
30676
30803
  yield fetched;
30677
30804
  continue;
30678
30805
  }
@@ -30733,6 +30860,7 @@ export class Person extends Object {
30733
30860
  if (fetched == null)
30734
30861
  return null;
30735
30862
  this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service[0] = fetched;
30863
+ this._cachedJsonLd = undefined;
30736
30864
  return fetched;
30737
30865
  }
30738
30866
  return v;
@@ -30759,6 +30887,7 @@ export class Person extends Object {
30759
30887
  if (fetched == null)
30760
30888
  continue;
30761
30889
  vs[i] = fetched;
30890
+ this._cachedJsonLd = undefined;
30762
30891
  yield fetched;
30763
30892
  continue;
30764
30893
  }
@@ -30786,8 +30915,8 @@ export class Person extends Object {
30786
30915
  * @returns The JSON-LD representation of this object.
30787
30916
  */
30788
30917
  async toJsonLd(options = {}) {
30789
- if (options.format == null && this.#cachedJsonLd != null) {
30790
- return this.#cachedJsonLd;
30918
+ if (options.format == null && this._cachedJsonLd != null) {
30919
+ return this._cachedJsonLd;
30791
30920
  }
30792
30921
  if (options.format !== "compact" && options.context != null) {
30793
30922
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -31988,7 +32117,7 @@ export class Person extends Object {
31988
32117
  _2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
31989
32118
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
31990
32119
  try {
31991
- instance.#cachedJsonLd = structuredClone(json);
32120
+ instance._cachedJsonLd = structuredClone(json);
31992
32121
  }
31993
32122
  catch {
31994
32123
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -32297,7 +32426,6 @@ _g = Person;
32297
32426
  * for additional information.
32298
32427
  */
32299
32428
  export class Place extends Object {
32300
- #cachedJsonLd;
32301
32429
  /**
32302
32430
  * The type URI of {@link Place}: `https://www.w3.org/ns/activitystreams#Place`.
32303
32431
  */
@@ -32527,8 +32655,8 @@ export class Place extends Object {
32527
32655
  * @returns The JSON-LD representation of this object.
32528
32656
  */
32529
32657
  async toJsonLd(options = {}) {
32530
- if (options.format == null && this.#cachedJsonLd != null) {
32531
- return this.#cachedJsonLd;
32658
+ if (options.format == null && this._cachedJsonLd != null) {
32659
+ return this._cachedJsonLd;
32532
32660
  }
32533
32661
  if (options.format !== "compact" && options.context != null) {
32534
32662
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -32873,7 +33001,7 @@ export class Place extends Object {
32873
33001
  _oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
32874
33002
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
32875
33003
  try {
32876
- instance.#cachedJsonLd = structuredClone(json);
33004
+ instance._cachedJsonLd = structuredClone(json);
32877
33005
  }
32878
33006
  catch {
32879
33007
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -32973,7 +33101,6 @@ export class Place extends Object {
32973
33101
  * described by the profile.
32974
33102
  */
32975
33103
  export class Profile extends Object {
32976
- #cachedJsonLd;
32977
33104
  /**
32978
33105
  * The type URI of {@link Profile}: `https://www.w3.org/ns/activitystreams#Profile`.
32979
33106
  */
@@ -33073,6 +33200,7 @@ export class Profile extends Object {
33073
33200
  if (fetched == null)
33074
33201
  return null;
33075
33202
  this.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes[0] = fetched;
33203
+ this._cachedJsonLd = undefined;
33076
33204
  return fetched;
33077
33205
  }
33078
33206
  return v;
@@ -33088,8 +33216,8 @@ export class Profile extends Object {
33088
33216
  * @returns The JSON-LD representation of this object.
33089
33217
  */
33090
33218
  async toJsonLd(options = {}) {
33091
- if (options.format == null && this.#cachedJsonLd != null) {
33092
- return this.#cachedJsonLd;
33219
+ if (options.format == null && this._cachedJsonLd != null) {
33220
+ return this._cachedJsonLd;
33093
33221
  }
33094
33222
  if (options.format !== "compact" && options.context != null) {
33095
33223
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -33249,7 +33377,7 @@ export class Profile extends Object {
33249
33377
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes;
33250
33378
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
33251
33379
  try {
33252
- instance.#cachedJsonLd = structuredClone(json);
33380
+ instance._cachedJsonLd = structuredClone(json);
33253
33381
  }
33254
33382
  catch {
33255
33383
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -33292,7 +33420,6 @@ export class Profile extends Object {
33292
33420
  * properties.
33293
33421
  */
33294
33422
  export class Question extends IntransitiveActivity {
33295
- #cachedJsonLd;
33296
33423
  /**
33297
33424
  * The type URI of {@link Question}: `https://www.w3.org/ns/activitystreams#Question`.
33298
33425
  */
@@ -33488,6 +33615,7 @@ export class Question extends IntransitiveActivity {
33488
33615
  if (fetched == null)
33489
33616
  continue;
33490
33617
  vs[i] = fetched;
33618
+ this._cachedJsonLd = undefined;
33491
33619
  yield fetched;
33492
33620
  continue;
33493
33621
  }
@@ -33542,6 +33670,7 @@ export class Question extends IntransitiveActivity {
33542
33670
  if (fetched == null)
33543
33671
  continue;
33544
33672
  vs[i] = fetched;
33673
+ this._cachedJsonLd = undefined;
33545
33674
  yield fetched;
33546
33675
  continue;
33547
33676
  }
@@ -33591,8 +33720,8 @@ export class Question extends IntransitiveActivity {
33591
33720
  * @returns The JSON-LD representation of this object.
33592
33721
  */
33593
33722
  async toJsonLd(options = {}) {
33594
- if (options.format == null && this.#cachedJsonLd != null) {
33595
- return this.#cachedJsonLd;
33723
+ if (options.format == null && this._cachedJsonLd != null) {
33724
+ return this._cachedJsonLd;
33596
33725
  }
33597
33726
  if (options.format !== "compact" && options.context != null) {
33598
33727
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -33865,7 +33994,7 @@ export class Question extends IntransitiveActivity {
33865
33994
  _K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
33866
33995
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
33867
33996
  try {
33868
- instance.#cachedJsonLd = structuredClone(json);
33997
+ instance._cachedJsonLd = structuredClone(json);
33869
33998
  }
33870
33999
  catch {
33871
34000
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -33953,7 +34082,6 @@ export class Question extends IntransitiveActivity {
33953
34082
  /** Indicates that the `actor` has read the `object`.
33954
34083
  */
33955
34084
  export class Read extends Activity {
33956
- #cachedJsonLd;
33957
34085
  /**
33958
34086
  * The type URI of {@link Read}: `https://www.w3.org/ns/activitystreams#Read`.
33959
34087
  */
@@ -33989,8 +34117,8 @@ export class Read extends Activity {
33989
34117
  * @returns The JSON-LD representation of this object.
33990
34118
  */
33991
34119
  async toJsonLd(options = {}) {
33992
- if (options.format == null && this.#cachedJsonLd != null) {
33993
- return this.#cachedJsonLd;
34120
+ if (options.format == null && this._cachedJsonLd != null) {
34121
+ return this._cachedJsonLd;
33994
34122
  }
33995
34123
  if (options.format !== "compact" && options.context != null) {
33996
34124
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -34088,7 +34216,7 @@ export class Read extends Activity {
34088
34216
  }
34089
34217
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
34090
34218
  try {
34091
- instance.#cachedJsonLd = structuredClone(json);
34219
+ instance._cachedJsonLd = structuredClone(json);
34092
34220
  }
34093
34221
  catch {
34094
34222
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -34113,7 +34241,6 @@ export class Read extends Activity {
34113
34241
  * `origin` typically have no defined meaning.
34114
34242
  */
34115
34243
  export class Reject extends Activity {
34116
- #cachedJsonLd;
34117
34244
  /**
34118
34245
  * The type URI of {@link Reject}: `https://www.w3.org/ns/activitystreams#Reject`.
34119
34246
  */
@@ -34149,8 +34276,8 @@ export class Reject extends Activity {
34149
34276
  * @returns The JSON-LD representation of this object.
34150
34277
  */
34151
34278
  async toJsonLd(options = {}) {
34152
- if (options.format == null && this.#cachedJsonLd != null) {
34153
- return this.#cachedJsonLd;
34279
+ if (options.format == null && this._cachedJsonLd != null) {
34280
+ return this._cachedJsonLd;
34154
34281
  }
34155
34282
  if (options.format !== "compact" && options.context != null) {
34156
34283
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -34251,7 +34378,7 @@ export class Reject extends Activity {
34251
34378
  }
34252
34379
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
34253
34380
  try {
34254
- instance.#cachedJsonLd = structuredClone(json);
34381
+ instance._cachedJsonLd = structuredClone(json);
34255
34382
  }
34256
34383
  catch {
34257
34384
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -34281,7 +34408,6 @@ export class Reject extends Activity {
34281
34408
  * for additional information.
34282
34409
  */
34283
34410
  export class Relationship extends Object {
34284
- #cachedJsonLd;
34285
34411
  /**
34286
34412
  * The type URI of {@link Relationship}: `https://www.w3.org/ns/activitystreams#Relationship`.
34287
34413
  */
@@ -34500,6 +34626,7 @@ export class Relationship extends Object {
34500
34626
  if (fetched == null)
34501
34627
  return null;
34502
34628
  this.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject[0] = fetched;
34629
+ this._cachedJsonLd = undefined;
34503
34630
  return fetched;
34504
34631
  }
34505
34632
  return v;
@@ -34555,6 +34682,7 @@ export class Relationship extends Object {
34555
34682
  if (fetched == null)
34556
34683
  return null;
34557
34684
  this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object[0] = fetched;
34685
+ this._cachedJsonLd = undefined;
34558
34686
  return fetched;
34559
34687
  }
34560
34688
  return v;
@@ -34578,6 +34706,7 @@ export class Relationship extends Object {
34578
34706
  if (fetched == null)
34579
34707
  continue;
34580
34708
  vs[i] = fetched;
34709
+ this._cachedJsonLd = undefined;
34581
34710
  yield fetched;
34582
34711
  continue;
34583
34712
  }
@@ -34639,6 +34768,7 @@ export class Relationship extends Object {
34639
34768
  if (fetched == null)
34640
34769
  return null;
34641
34770
  this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship[0] = fetched;
34771
+ this._cachedJsonLd = undefined;
34642
34772
  return fetched;
34643
34773
  }
34644
34774
  return v;
@@ -34664,6 +34794,7 @@ export class Relationship extends Object {
34664
34794
  if (fetched == null)
34665
34795
  continue;
34666
34796
  vs[i] = fetched;
34797
+ this._cachedJsonLd = undefined;
34667
34798
  yield fetched;
34668
34799
  continue;
34669
34800
  }
@@ -34681,8 +34812,8 @@ export class Relationship extends Object {
34681
34812
  * @returns The JSON-LD representation of this object.
34682
34813
  */
34683
34814
  async toJsonLd(options = {}) {
34684
- if (options.format == null && this.#cachedJsonLd != null) {
34685
- return this.#cachedJsonLd;
34815
+ if (options.format == null && this._cachedJsonLd != null) {
34816
+ return this._cachedJsonLd;
34686
34817
  }
34687
34818
  if (options.format !== "compact" && options.context != null) {
34688
34819
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -34934,7 +35065,7 @@ export class Relationship extends Object {
34934
35065
  _4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;
34935
35066
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
34936
35067
  try {
34937
- instance.#cachedJsonLd = structuredClone(json);
35068
+ instance._cachedJsonLd = structuredClone(json);
34938
35069
  }
34939
35070
  catch {
34940
35071
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -35005,7 +35136,6 @@ export class Relationship extends Object {
35005
35136
  * the `origin` indicates the context from which the `object` is being removed.
35006
35137
  */
35007
35138
  export class Remove extends Activity {
35008
- #cachedJsonLd;
35009
35139
  /**
35010
35140
  * The type URI of {@link Remove}: `https://www.w3.org/ns/activitystreams#Remove`.
35011
35141
  */
@@ -35041,8 +35171,8 @@ export class Remove extends Activity {
35041
35171
  * @returns The JSON-LD representation of this object.
35042
35172
  */
35043
35173
  async toJsonLd(options = {}) {
35044
- if (options.format == null && this.#cachedJsonLd != null) {
35045
- return this.#cachedJsonLd;
35174
+ if (options.format == null && this._cachedJsonLd != null) {
35175
+ return this._cachedJsonLd;
35046
35176
  }
35047
35177
  if (options.format !== "compact" && options.context != null) {
35048
35178
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -35140,7 +35270,7 @@ export class Remove extends Activity {
35140
35270
  }
35141
35271
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
35142
35272
  try {
35143
- instance.#cachedJsonLd = structuredClone(json);
35273
+ instance._cachedJsonLd = structuredClone(json);
35144
35274
  }
35145
35275
  catch {
35146
35276
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -35164,7 +35294,6 @@ export class Remove extends Activity {
35164
35294
  /** Represents a service of any kind.
35165
35295
  */
35166
35296
  export class Service extends Object {
35167
- #cachedJsonLd;
35168
35297
  /**
35169
35298
  * The type URI of {@link Service}: `https://www.w3.org/ns/activitystreams#Service`.
35170
35299
  */
@@ -35962,6 +36091,7 @@ export class Service extends Object {
35962
36091
  if (fetched == null)
35963
36092
  return null;
35964
36093
  this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey[0] = fetched;
36094
+ this._cachedJsonLd = undefined;
35965
36095
  return fetched;
35966
36096
  }
35967
36097
  return v;
@@ -35985,6 +36115,7 @@ export class Service extends Object {
35985
36115
  if (fetched == null)
35986
36116
  continue;
35987
36117
  vs[i] = fetched;
36118
+ this._cachedJsonLd = undefined;
35988
36119
  yield fetched;
35989
36120
  continue;
35990
36121
  }
@@ -36047,6 +36178,7 @@ export class Service extends Object {
36047
36178
  if (fetched == null)
36048
36179
  return null;
36049
36180
  this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod[0] = fetched;
36181
+ this._cachedJsonLd = undefined;
36050
36182
  return fetched;
36051
36183
  }
36052
36184
  return v;
@@ -36073,6 +36205,7 @@ export class Service extends Object {
36073
36205
  if (fetched == null)
36074
36206
  continue;
36075
36207
  vs[i] = fetched;
36208
+ this._cachedJsonLd = undefined;
36076
36209
  yield fetched;
36077
36210
  continue;
36078
36211
  }
@@ -36164,6 +36297,7 @@ export class Service extends Object {
36164
36297
  if (fetched == null)
36165
36298
  return null;
36166
36299
  this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox[0] = fetched;
36300
+ this._cachedJsonLd = undefined;
36167
36301
  return fetched;
36168
36302
  }
36169
36303
  return v;
@@ -36238,6 +36372,7 @@ export class Service extends Object {
36238
36372
  if (fetched == null)
36239
36373
  return null;
36240
36374
  this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox[0] = fetched;
36375
+ this._cachedJsonLd = undefined;
36241
36376
  return fetched;
36242
36377
  }
36243
36378
  return v;
@@ -36297,6 +36432,7 @@ export class Service extends Object {
36297
36432
  if (fetched == null)
36298
36433
  return null;
36299
36434
  this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following[0] = fetched;
36435
+ this._cachedJsonLd = undefined;
36300
36436
  return fetched;
36301
36437
  }
36302
36438
  return v;
@@ -36359,6 +36495,7 @@ export class Service extends Object {
36359
36495
  if (fetched == null)
36360
36496
  return null;
36361
36497
  this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers[0] = fetched;
36498
+ this._cachedJsonLd = undefined;
36362
36499
  return fetched;
36363
36500
  }
36364
36501
  return v;
@@ -36419,6 +36556,7 @@ export class Service extends Object {
36419
36556
  if (fetched == null)
36420
36557
  return null;
36421
36558
  this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked[0] = fetched;
36559
+ this._cachedJsonLd = undefined;
36422
36560
  return fetched;
36423
36561
  }
36424
36562
  return v;
@@ -36477,6 +36615,7 @@ export class Service extends Object {
36477
36615
  if (fetched == null)
36478
36616
  return null;
36479
36617
  this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured[0] = fetched;
36618
+ this._cachedJsonLd = undefined;
36480
36619
  return fetched;
36481
36620
  }
36482
36621
  return v;
@@ -36537,6 +36676,7 @@ export class Service extends Object {
36537
36676
  if (fetched == null)
36538
36677
  return null;
36539
36678
  this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags[0] = fetched;
36679
+ this._cachedJsonLd = undefined;
36540
36680
  return fetched;
36541
36681
  }
36542
36682
  return v;
@@ -36587,6 +36727,7 @@ export class Service extends Object {
36587
36727
  if (fetched == null)
36588
36728
  continue;
36589
36729
  vs[i] = fetched;
36730
+ this._cachedJsonLd = undefined;
36590
36731
  yield fetched;
36591
36732
  continue;
36592
36733
  }
@@ -36720,6 +36861,7 @@ export class Service extends Object {
36720
36861
  if (fetched == null)
36721
36862
  return null;
36722
36863
  this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo[0] = fetched;
36864
+ this._cachedJsonLd = undefined;
36723
36865
  return fetched;
36724
36866
  }
36725
36867
  return v;
@@ -36812,6 +36954,7 @@ export class Service extends Object {
36812
36954
  if (fetched == null)
36813
36955
  return null;
36814
36956
  this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs[0] = fetched;
36957
+ this._cachedJsonLd = undefined;
36815
36958
  return fetched;
36816
36959
  }
36817
36960
  return v;
@@ -36838,6 +36981,7 @@ export class Service extends Object {
36838
36981
  if (fetched == null)
36839
36982
  continue;
36840
36983
  vs[i] = fetched;
36984
+ this._cachedJsonLd = undefined;
36841
36985
  yield fetched;
36842
36986
  continue;
36843
36987
  }
@@ -36898,6 +37042,7 @@ export class Service extends Object {
36898
37042
  if (fetched == null)
36899
37043
  return null;
36900
37044
  this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service[0] = fetched;
37045
+ this._cachedJsonLd = undefined;
36901
37046
  return fetched;
36902
37047
  }
36903
37048
  return v;
@@ -36924,6 +37069,7 @@ export class Service extends Object {
36924
37069
  if (fetched == null)
36925
37070
  continue;
36926
37071
  vs[i] = fetched;
37072
+ this._cachedJsonLd = undefined;
36927
37073
  yield fetched;
36928
37074
  continue;
36929
37075
  }
@@ -36951,8 +37097,8 @@ export class Service extends Object {
36951
37097
  * @returns The JSON-LD representation of this object.
36952
37098
  */
36953
37099
  async toJsonLd(options = {}) {
36954
- if (options.format == null && this.#cachedJsonLd != null) {
36955
- return this.#cachedJsonLd;
37100
+ if (options.format == null && this._cachedJsonLd != null) {
37101
+ return this._cachedJsonLd;
36956
37102
  }
36957
37103
  if (options.format !== "compact" && options.context != null) {
36958
37104
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -38153,7 +38299,7 @@ export class Service extends Object {
38153
38299
  _2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
38154
38300
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
38155
38301
  try {
38156
- instance.#cachedJsonLd = structuredClone(json);
38302
+ instance._cachedJsonLd = structuredClone(json);
38157
38303
  }
38158
38304
  catch {
38159
38305
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -38462,6 +38608,7 @@ _h = Service;
38462
38608
  export class Source {
38463
38609
  #documentLoader;
38464
38610
  #contextLoader;
38611
+ #cachedJsonLd;
38465
38612
  id;
38466
38613
  get _documentLoader() {
38467
38614
  return this.#documentLoader;
@@ -38469,7 +38616,12 @@ export class Source {
38469
38616
  get _contextLoader() {
38470
38617
  return this.#contextLoader;
38471
38618
  }
38472
- #cachedJsonLd;
38619
+ get _cachedJsonLd() {
38620
+ return this.#cachedJsonLd;
38621
+ }
38622
+ set _cachedJsonLd(value) {
38623
+ this.#cachedJsonLd = value;
38624
+ }
38473
38625
  /**
38474
38626
  * The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
38475
38627
  */
@@ -38612,8 +38764,8 @@ export class Source {
38612
38764
  * @returns The JSON-LD representation of this object.
38613
38765
  */
38614
38766
  async toJsonLd(options = {}) {
38615
- if (options.format == null && this.#cachedJsonLd != null) {
38616
- return this.#cachedJsonLd;
38767
+ if (options.format == null && this._cachedJsonLd != null) {
38768
+ return this._cachedJsonLd;
38617
38769
  }
38618
38770
  if (options.format !== "compact" && options.context != null) {
38619
38771
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -38778,7 +38930,7 @@ export class Source {
38778
38930
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
38779
38931
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
38780
38932
  try {
38781
- instance.#cachedJsonLd = structuredClone(json);
38933
+ instance._cachedJsonLd = structuredClone(json);
38782
38934
  }
38783
38935
  catch {
38784
38936
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -38838,7 +38990,6 @@ export class Source {
38838
38990
  * the acceptance is tentative.
38839
38991
  */
38840
38992
  export class TentativeAccept extends Accept {
38841
- #cachedJsonLd;
38842
38993
  /**
38843
38994
  * The type URI of {@link TentativeAccept}: `https://www.w3.org/ns/activitystreams#TentativeAccept`.
38844
38995
  */
@@ -38874,8 +39025,8 @@ export class TentativeAccept extends Accept {
38874
39025
  * @returns The JSON-LD representation of this object.
38875
39026
  */
38876
39027
  async toJsonLd(options = {}) {
38877
- if (options.format == null && this.#cachedJsonLd != null) {
38878
- return this.#cachedJsonLd;
39028
+ if (options.format == null && this._cachedJsonLd != null) {
39029
+ return this._cachedJsonLd;
38879
39030
  }
38880
39031
  if (options.format !== "compact" && options.context != null) {
38881
39032
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -38973,7 +39124,7 @@ export class TentativeAccept extends Accept {
38973
39124
  }
38974
39125
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
38975
39126
  try {
38976
- instance.#cachedJsonLd = structuredClone(json);
39127
+ instance._cachedJsonLd = structuredClone(json);
38977
39128
  }
38978
39129
  catch {
38979
39130
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -38998,7 +39149,6 @@ export class TentativeAccept extends Accept {
38998
39149
  * the rejection is considered tentative.
38999
39150
  */
39000
39151
  export class TentativeReject extends Reject {
39001
- #cachedJsonLd;
39002
39152
  /**
39003
39153
  * The type URI of {@link TentativeReject}: `https://www.w3.org/ns/activitystreams#TentativeReject`.
39004
39154
  */
@@ -39034,8 +39184,8 @@ export class TentativeReject extends Reject {
39034
39184
  * @returns The JSON-LD representation of this object.
39035
39185
  */
39036
39186
  async toJsonLd(options = {}) {
39037
- if (options.format == null && this.#cachedJsonLd != null) {
39038
- return this.#cachedJsonLd;
39187
+ if (options.format == null && this._cachedJsonLd != null) {
39188
+ return this._cachedJsonLd;
39039
39189
  }
39040
39190
  if (options.format !== "compact" && options.context != null) {
39041
39191
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -39133,7 +39283,7 @@ export class TentativeReject extends Reject {
39133
39283
  }
39134
39284
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
39135
39285
  try {
39136
- instance.#cachedJsonLd = structuredClone(json);
39286
+ instance._cachedJsonLd = structuredClone(json);
39137
39287
  }
39138
39288
  catch {
39139
39289
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -39159,7 +39309,6 @@ export class TentativeReject extends Reject {
39159
39309
  * an object at this position, but it has been deleted.
39160
39310
  */
39161
39311
  export class Tombstone extends Object {
39162
- #cachedJsonLd;
39163
39312
  /**
39164
39313
  * The type URI of {@link Tombstone}: `https://www.w3.org/ns/activitystreams#Tombstone`.
39165
39314
  */
@@ -39226,8 +39375,8 @@ export class Tombstone extends Object {
39226
39375
  * @returns The JSON-LD representation of this object.
39227
39376
  */
39228
39377
  async toJsonLd(options = {}) {
39229
- if (options.format == null && this.#cachedJsonLd != null) {
39230
- return this.#cachedJsonLd;
39378
+ if (options.format == null && this._cachedJsonLd != null) {
39379
+ return this._cachedJsonLd;
39231
39380
  }
39232
39381
  if (options.format !== "compact" && options.context != null) {
39233
39382
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -39377,7 +39526,7 @@ export class Tombstone extends Object {
39377
39526
  _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
39378
39527
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
39379
39528
  try {
39380
- instance.#cachedJsonLd = structuredClone(json);
39529
+ instance._cachedJsonLd = structuredClone(json);
39381
39530
  }
39382
39531
  catch {
39383
39532
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -39416,7 +39565,6 @@ export class Tombstone extends Object {
39416
39565
  * either can be determined by context.
39417
39566
  */
39418
39567
  export class Travel extends IntransitiveActivity {
39419
- #cachedJsonLd;
39420
39568
  /**
39421
39569
  * The type URI of {@link Travel}: `https://www.w3.org/ns/activitystreams#Travel`.
39422
39570
  */
@@ -39452,8 +39600,8 @@ export class Travel extends IntransitiveActivity {
39452
39600
  * @returns The JSON-LD representation of this object.
39453
39601
  */
39454
39602
  async toJsonLd(options = {}) {
39455
- if (options.format == null && this.#cachedJsonLd != null) {
39456
- return this.#cachedJsonLd;
39603
+ if (options.format == null && this._cachedJsonLd != null) {
39604
+ return this._cachedJsonLd;
39457
39605
  }
39458
39606
  if (options.format !== "compact" && options.context != null) {
39459
39607
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -39551,7 +39699,7 @@ export class Travel extends IntransitiveActivity {
39551
39699
  }
39552
39700
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
39553
39701
  try {
39554
- instance.#cachedJsonLd = structuredClone(json);
39702
+ instance._cachedJsonLd = structuredClone(json);
39555
39703
  }
39556
39704
  catch {
39557
39705
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -39581,7 +39729,6 @@ export class Travel extends IntransitiveActivity {
39581
39729
  * The `target` and `origin` typically have no defined meaning.
39582
39730
  */
39583
39731
  export class Undo extends Activity {
39584
- #cachedJsonLd;
39585
39732
  /**
39586
39733
  * The type URI of {@link Undo}: `https://www.w3.org/ns/activitystreams#Undo`.
39587
39734
  */
@@ -39617,8 +39764,8 @@ export class Undo extends Activity {
39617
39764
  * @returns The JSON-LD representation of this object.
39618
39765
  */
39619
39766
  async toJsonLd(options = {}) {
39620
- if (options.format == null && this.#cachedJsonLd != null) {
39621
- return this.#cachedJsonLd;
39767
+ if (options.format == null && this._cachedJsonLd != null) {
39768
+ return this._cachedJsonLd;
39622
39769
  }
39623
39770
  if (options.format !== "compact" && options.context != null) {
39624
39771
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -39716,7 +39863,7 @@ export class Undo extends Activity {
39716
39863
  }
39717
39864
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
39718
39865
  try {
39719
- instance.#cachedJsonLd = structuredClone(json);
39866
+ instance._cachedJsonLd = structuredClone(json);
39720
39867
  }
39721
39868
  catch {
39722
39869
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -39744,7 +39891,6 @@ export class Undo extends Activity {
39744
39891
  * The `target` and `origin` typically have no defined meaning.
39745
39892
  */
39746
39893
  export class Update extends Activity {
39747
- #cachedJsonLd;
39748
39894
  /**
39749
39895
  * The type URI of {@link Update}: `https://www.w3.org/ns/activitystreams#Update`.
39750
39896
  */
@@ -39780,8 +39926,8 @@ export class Update extends Activity {
39780
39926
  * @returns The JSON-LD representation of this object.
39781
39927
  */
39782
39928
  async toJsonLd(options = {}) {
39783
- if (options.format == null && this.#cachedJsonLd != null) {
39784
- return this.#cachedJsonLd;
39929
+ if (options.format == null && this._cachedJsonLd != null) {
39930
+ return this._cachedJsonLd;
39785
39931
  }
39786
39932
  if (options.format !== "compact" && options.context != null) {
39787
39933
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -39902,7 +40048,7 @@ export class Update extends Activity {
39902
40048
  }
39903
40049
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
39904
40050
  try {
39905
- instance.#cachedJsonLd = structuredClone(json);
40051
+ instance._cachedJsonLd = structuredClone(json);
39906
40052
  }
39907
40053
  catch {
39908
40054
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -39926,7 +40072,6 @@ export class Update extends Activity {
39926
40072
  /** Represents a video document of any kind.
39927
40073
  */
39928
40074
  export class Video extends Document {
39929
- #cachedJsonLd;
39930
40075
  /**
39931
40076
  * The type URI of {@link Video}: `https://www.w3.org/ns/activitystreams#Video`.
39932
40077
  */
@@ -39962,8 +40107,8 @@ export class Video extends Document {
39962
40107
  * @returns The JSON-LD representation of this object.
39963
40108
  */
39964
40109
  async toJsonLd(options = {}) {
39965
- if (options.format == null && this.#cachedJsonLd != null) {
39966
- return this.#cachedJsonLd;
40110
+ if (options.format == null && this._cachedJsonLd != null) {
40111
+ return this._cachedJsonLd;
39967
40112
  }
39968
40113
  if (options.format !== "compact" && options.context != null) {
39969
40114
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -40077,7 +40222,7 @@ export class Video extends Document {
40077
40222
  }
40078
40223
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
40079
40224
  try {
40080
- instance.#cachedJsonLd = structuredClone(json);
40225
+ instance._cachedJsonLd = structuredClone(json);
40081
40226
  }
40082
40227
  catch {
40083
40228
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });
@@ -40101,7 +40246,6 @@ export class Video extends Document {
40101
40246
  /** Indicates that the `actor` has viewed the object.
40102
40247
  */
40103
40248
  export class View extends Activity {
40104
- #cachedJsonLd;
40105
40249
  /**
40106
40250
  * The type URI of {@link View}: `https://www.w3.org/ns/activitystreams#View`.
40107
40251
  */
@@ -40137,8 +40281,8 @@ export class View extends Activity {
40137
40281
  * @returns The JSON-LD representation of this object.
40138
40282
  */
40139
40283
  async toJsonLd(options = {}) {
40140
- if (options.format == null && this.#cachedJsonLd != null) {
40141
- return this.#cachedJsonLd;
40284
+ if (options.format == null && this._cachedJsonLd != null) {
40285
+ return this._cachedJsonLd;
40142
40286
  }
40143
40287
  if (options.format !== "compact" && options.context != null) {
40144
40288
  throw new TypeError("The context option can only be used when the format option is set " +
@@ -40236,7 +40380,7 @@ export class View extends Activity {
40236
40380
  }
40237
40381
  if (!("_fromSubclass" in options) || !options._fromSubclass) {
40238
40382
  try {
40239
- instance.#cachedJsonLd = structuredClone(json);
40383
+ instance._cachedJsonLd = structuredClone(json);
40240
40384
  }
40241
40385
  catch {
40242
40386
  getLogger(["fedify", "vocab"]).warn("Failed to cache JSON-LD: {json}", { json });