@ghostlytools/cli 1.12.0 → 1.13.0

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 (76) hide show
  1. package/README.md +5 -5
  2. package/dist/assets/{api-DYMKyb1k.js → api-CVtg7MpI.js} +2 -2
  3. package/dist/assets/{api-DLzCtePC.js → api-CjOaoG-v.js} +53 -27
  4. package/dist/assets/api-CjOaoG-v.js.map +1 -0
  5. package/dist/assets/{apiKit-CVaEzKWQ.js → apiKit-BAGvlQtm.js} +2 -2
  6. package/dist/assets/{apiKit-CVaEzKWQ.js.map → apiKit-BAGvlQtm.js.map} +1 -1
  7. package/dist/assets/{appFetch-D56GsYuq.js → appFetch-BwJd-kNq.js} +2 -2
  8. package/dist/assets/{appFetch-D56GsYuq.js.map → appFetch-BwJd-kNq.js.map} +1 -1
  9. package/dist/assets/{apps-XnZ8VEuj.js → apps-Cuk45sz5.js} +6 -6
  10. package/dist/assets/{apps-XnZ8VEuj.js.map → apps-Cuk45sz5.js.map} +1 -1
  11. package/dist/assets/{apps-BPFW19Wc.js → apps-DjY095Af.js} +1 -1
  12. package/dist/assets/{backup-COX6j1_W.js → backup-B56sQqoQ.js} +1 -1
  13. package/dist/assets/{backup-DpyvT9Z6.js → backup-DekVCDWv.js} +47 -8
  14. package/dist/assets/backup-DekVCDWv.js.map +1 -0
  15. package/dist/assets/bark_ffi_wasm_bg-CcafsJla.js.map +1 -1
  16. package/dist/assets/{bitcoind-DTsrd7TF.js → bitcoind-B2bbVSzh.js} +2 -2
  17. package/dist/assets/{bitcoind-DTsrd7TF.js.map → bitcoind-B2bbVSzh.js.map} +1 -1
  18. package/dist/assets/bitcoindevkit_bg-BWQHx7vd.js.map +1 -1
  19. package/dist/assets/{buttons-BvWqHJeh.js → buttons-BGxzOtrq.js} +27 -6
  20. package/dist/assets/buttons-BGxzOtrq.js.map +1 -0
  21. package/dist/assets/buttons-CsN2WJOf.js +1 -0
  22. package/dist/assets/{client-kGZ3ZdUW.js → client-DcQAfc3h.js} +2 -2
  23. package/dist/assets/{client-kGZ3ZdUW.js.map → client-DcQAfc3h.js.map} +1 -1
  24. package/dist/assets/{endpoint-B0vE5ojY.js → endpoint-Cvu-taMs.js} +42 -5
  25. package/dist/assets/{endpoint-B0vE5ojY.js.map → endpoint-Cvu-taMs.js.map} +1 -1
  26. package/dist/assets/{fixedHosts-CPSsGOI2.js → fixedHosts-C3hBliM9.js} +2 -2
  27. package/dist/assets/{fixedHosts-CPSsGOI2.js.map → fixedHosts-C3hBliM9.js.map} +1 -1
  28. package/dist/assets/{groupMeta-DTQAJG50.js → groupMeta-goASqzOt.js} +135 -37
  29. package/dist/assets/groupMeta-goASqzOt.js.map +1 -0
  30. package/dist/assets/{host-z0FAHP9Z.js → host-C2WRKj3g.js} +105 -32
  31. package/dist/assets/host-C2WRKj3g.js.map +1 -0
  32. package/dist/assets/{hyperdhtRelay-CvsAfQRQ.js → hyperdhtRelay-DLUiwfnt.js} +32 -4
  33. package/dist/assets/hyperdhtRelay-DLUiwfnt.js.map +1 -0
  34. package/dist/assets/{irohWeb-CLBx5MIv.js → irohWeb-NfthOL98.js} +178 -9
  35. package/dist/assets/irohWeb-NfthOL98.js.map +1 -0
  36. package/dist/assets/{main-CVqkvuIo.js → main-Dh7fePd8.js} +49 -32
  37. package/dist/assets/main-Dh7fePd8.js.map +1 -0
  38. package/dist/assets/{mainline-CVrd0C1n.js → mainline-DY95WbuK.js} +2 -2
  39. package/dist/assets/{mainline-CVrd0C1n.js.map → mainline-DY95WbuK.js.map} +1 -1
  40. package/dist/assets/{ownDid-DY3rYqDI.js → ownDid-BErplN7N.js} +2 -2
  41. package/dist/assets/{ownDid-DY3rYqDI.js.map → ownDid-BErplN7N.js.map} +1 -1
  42. package/dist/assets/{ownStatus-DMEhrpkd.js → ownStatus-ClrFjd7h.js} +5 -3
  43. package/dist/assets/ownStatus-ClrFjd7h.js.map +1 -0
  44. package/dist/assets/{profiles-BFSGqDFC.js → profiles-B8xO8-oj.js} +2 -2
  45. package/dist/assets/{profiles-BFSGqDFC.js.map → profiles-B8xO8-oj.js.map} +1 -1
  46. package/dist/assets/{registry-B15Yg_1C.js → registry--Rg2YvOH.js} +1 -1
  47. package/dist/assets/{registry-rXgaZeNn.js → registry-CU8PevhI.js} +38 -30
  48. package/dist/assets/registry-CU8PevhI.js.map +1 -0
  49. package/dist/assets/{relay-Cjfmdec0.js → relay-CHWg5hpZ.js} +73 -11
  50. package/dist/assets/relay-CHWg5hpZ.js.map +1 -0
  51. package/dist/assets/{resolve-CIc3KZMV.js → resolve-B1upovPM.js} +2 -2
  52. package/dist/assets/{resolve-CIc3KZMV.js.map → resolve-B1upovPM.js.map} +1 -1
  53. package/dist/assets/secretGuard-Bm6nci0I.js +1 -0
  54. package/dist/assets/{secretGuard-B4-LlMjv.js → secretGuard-BrATm_gl.js} +33 -9
  55. package/dist/assets/{secretGuard-B4-LlMjv.js.map → secretGuard-BrATm_gl.js.map} +1 -1
  56. package/dist/assets/{server-CQR7NLCz.js → server-Dgxx_DaN.js} +473 -60
  57. package/dist/assets/server-Dgxx_DaN.js.map +1 -0
  58. package/dist/assets/{waitNotice-BGM0QOS2.js → waitNotice-ylU3XwjO.js} +2 -2
  59. package/dist/assets/{waitNotice-BGM0QOS2.js.map → waitNotice-ylU3XwjO.js.map} +1 -1
  60. package/dist/ghostly.mjs +1 -1
  61. package/npm-shrinkwrap.json +2 -2
  62. package/package.json +1 -1
  63. package/dist/assets/api-DLzCtePC.js.map +0 -1
  64. package/dist/assets/backup-DpyvT9Z6.js.map +0 -1
  65. package/dist/assets/buttons-Bq7pTXqF.js +0 -1
  66. package/dist/assets/buttons-BvWqHJeh.js.map +0 -1
  67. package/dist/assets/groupMeta-DTQAJG50.js.map +0 -1
  68. package/dist/assets/host-z0FAHP9Z.js.map +0 -1
  69. package/dist/assets/hyperdhtRelay-CvsAfQRQ.js.map +0 -1
  70. package/dist/assets/irohWeb-CLBx5MIv.js.map +0 -1
  71. package/dist/assets/main-CVqkvuIo.js.map +0 -1
  72. package/dist/assets/ownStatus-DMEhrpkd.js.map +0 -1
  73. package/dist/assets/registry-rXgaZeNn.js.map +0 -1
  74. package/dist/assets/relay-Cjfmdec0.js.map +0 -1
  75. package/dist/assets/secretGuard-BmmnEbYf.js +0 -1
  76. package/dist/assets/server-CQR7NLCz.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { n as plcDirectory, o as DOH_RESOLVERS, p as pkarrRelays } from "./resolve-CIc3KZMV.js";
1
+ import { n as plcDirectory, o as DOH_RESOLVERS, p as pkarrRelays } from "./resolve-B1upovPM.js";
2
2
  import { a as PUBKY_RELAYS, t as SSH_FORGE_HOST, u as oidcProviders } from "./sshForges-BnvwmNj-.js";
3
3
  // ../browser/src/proofs/fixedHosts.ts
4
4
  /**
@@ -19,4 +19,4 @@ function fixedIdentityHosts() {
19
19
  }
20
20
  export { fixedIdentityHosts };
21
21
 
22
- //# sourceMappingURL=fixedHosts-CPSsGOI2.js.map
22
+ //# sourceMappingURL=fixedHosts-C3hBliM9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fixedHosts-CPSsGOI2.js","names":[],"sources":["../../../browser/src/proofs/fixedHosts.ts"],"sourcesContent":["import { plcDirectory } from \"./atproto/resolve\";\nimport { DOH_RESOLVERS } from \"./domain\";\nimport { oidcProviders } from \"./oidc/providers\";\nimport { pkarrRelays } from \"./pkarrRelays\";\nimport { PUBKY_RELAYS } from \"./pubkyRelays\";\nimport { SSH_FORGE_HOST } from \"./sshForges\";\n\n/**\n * The hosts a contact's proof may be checked on while \"Hide my IP from contacts\" is on: the ones this app names\n * (DNS-over-HTTPS resolvers, the PLC directory, Pubky's Pkarr relays and the profile's own, the OpenID providers' keys,\n * the forges' APIs), never one the contact's evidence names (a did:web or a domain's own web server, an AT Protocol\n * server, a Pubky homeserver), which would see this device's IP address.\n */\nexport function fixedIdentityHosts(): ReadonlySet<string> {\n const urls = [...DOH_RESOLVERS.map(r => r.url), plcDirectory(), ...PUBKY_RELAYS, ...pkarrRelays(), ...oidcProviders().map(p => p.jwksUri)];\n return new Set([...urls.map(u => new URL(u).host), ...Object.values(SSH_FORGE_HOST)]);\n}\n"],"mappings":";;;;;;;;;AAaA,SAAgB,qBAA0C;CACxD,MAAM,OAAO;EAAC,GAAG,cAAc,KAAI,MAAK,EAAE,GAAG;EAAG,aAAa;EAAG,GAAG;EAAc,GAAG,YAAY;EAAG,GAAG,cAAc,CAAC,CAAC,KAAI,MAAK,EAAE,OAAO;CAAC;CACzI,uBAAO,IAAI,IAAI,CAAC,GAAG,KAAK,KAAI,MAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,OAAO,OAAO,cAAc,CAAC,CAAC;AACtF"}
1
+ {"version":3,"file":"fixedHosts-C3hBliM9.js","names":[],"sources":["../../../browser/src/proofs/fixedHosts.ts"],"sourcesContent":["import { plcDirectory } from \"./atproto/resolve\";\nimport { DOH_RESOLVERS } from \"./domain\";\nimport { oidcProviders } from \"./oidc/providers\";\nimport { pkarrRelays } from \"./pkarrRelays\";\nimport { PUBKY_RELAYS } from \"./pubkyRelays\";\nimport { SSH_FORGE_HOST } from \"./sshForges\";\n\n/**\n * The hosts a contact's proof may be checked on while \"Hide my IP from contacts\" is on: the ones this app names\n * (DNS-over-HTTPS resolvers, the PLC directory, Pubky's Pkarr relays and the profile's own, the OpenID providers' keys,\n * the forges' APIs), never one the contact's evidence names (a did:web or a domain's own web server, an AT Protocol\n * server, a Pubky homeserver), which would see this device's IP address.\n */\nexport function fixedIdentityHosts(): ReadonlySet<string> {\n const urls = [...DOH_RESOLVERS.map(r => r.url), plcDirectory(), ...PUBKY_RELAYS, ...pkarrRelays(), ...oidcProviders().map(p => p.jwksUri)];\n return new Set([...urls.map(u => new URL(u).host), ...Object.values(SSH_FORGE_HOST)]);\n}\n"],"mappings":";;;;;;;;;AAaA,SAAgB,qBAA0C;CACxD,MAAM,OAAO;EAAC,GAAG,cAAc,KAAI,MAAK,EAAE,GAAG;EAAG,aAAa;EAAG,GAAG;EAAc,GAAG,YAAY;EAAG,GAAG,cAAc,CAAC,CAAC,KAAI,MAAK,EAAE,OAAO;CAAC;CACzI,uBAAO,IAAI,IAAI,CAAC,GAAG,KAAK,KAAI,MAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,OAAO,OAAO,cAAc,CAAC,CAAC;AACtF"}
@@ -3,7 +3,7 @@ import { a as stripHidden, i as sanitizeNick, n as hasVisible, o as trimEndOf, r
3
3
  import { i as parseLinkPreview, o as sanitizeAvatar } from "./linkPreview-DdMf-YAc.js";
4
4
  import { C as generateEncryptionKey, S as encrypt, T as tryDecrypt, a as checkedDescriptors, c as irohRelayUrl, f as relayedTransports, i as automaticTransport, l as rankTransports, m as HOLD_CAPABILITY, n as RELAY_WITH_SECRETS, p as transportOrder, r as TRANSPORTS, t as RELAY_URL, u as relayUrl, w as sealedLength } from "./pairedTransports-BKmvlKz1.js";
5
5
  import { S as verify, _ as identityFromSeed, a as createRelayPayload, g as createIdentity, i as RELAY_PAYLOAD_MAX_BYTES, l as parseRelayPayload, n as PKARR_FUTURE_SKEW_MS, o as measureRecords, s as newerPacket, t as MAX_DNS_PACKET_BYTES, v as identityFromSeedB64, x as sign, y as publicKeyFromZ32 } from "./pkarr-BQo4PcCg.js";
6
- import { a as RelaysFailedError, d as traceLink, h as publishedNowhere, m as isDiscoveryBudgetError, p as budgetRetryMs } from "./relay-Cjfmdec0.js";
6
+ import { a as RelaysFailedError, d as traceLink, h as publishedNowhere, m as isDiscoveryBudgetError, p as budgetRetryMs } from "./relay-CHWg5hpZ.js";
7
7
  import { a as IDENTITY_PROOF_CAPABILITY, t as IDENTITY_FRAME_WINDOW_MS } from "./identityProofs-Cksc_K7_.js";
8
8
  import { n as engineError } from "./engineErrors--9hfgKlK.js";
9
9
  import b4a from "b4a";
@@ -3329,7 +3329,14 @@ function sanitizeResponseHeaders(headers, target, from) {
3329
3329
  }
3330
3330
  return out;
3331
3331
  }
3332
- [
3332
+ /**
3333
+ * The browser features a contact's app in the extension's viewer tab may not use. Its tab is a site of its own, so
3334
+ * what the person granted it (camera, microphone, location, a device) would be a site setting of the browser's, which
3335
+ * no Delete chat, Clear all data or Delete profile reaches; denied here, the browser never asks and ignores a grant
3336
+ * made before. The web app's view is a frame of another site, which gets none of them, and Desktop's window grants none
3337
+ * and is served the same value (`PERMISSIONS_POLICY` in `apps/desktop/src/viewer.rs`).
3338
+ */
3339
+ var VIEWER_PERMISSIONS_POLICY = [
3333
3340
  "camera",
3334
3341
  "microphone",
3335
3342
  "display-capture",
@@ -7860,6 +7867,14 @@ var DhtDelivery = class DhtDelivery {
7860
7867
  announceTimer = null;
7861
7868
  chain = Promise.resolve();
7862
7869
  lastPublish = 0;
7870
+ /**
7871
+ * A withdrawn text's envelope may still be on the relays, and the one to replace it has not gone (`withdraw`): it is
7872
+ * tried again with a text's backoff, `MAX_ATTEMPTS` times at most, until `until` (when no reader takes the withdrawn
7873
+ * one any more), not at the next keep-alive four minutes on. Any envelope that goes out replaces it.
7874
+ */
7875
+ withdrawal;
7876
+ /** When the last withdrawal's envelope went (its `lastPublish`), for `withdrawalWaits`. */
7877
+ withdrewAt = -1;
7863
7878
  /** The sequence of the last envelope of the contact that was past its expiry (traced once). */
7864
7879
  expiredSeen = 0;
7865
7880
  controlDue = 0;
@@ -7901,6 +7916,8 @@ var DhtDelivery = class DhtDelivery {
7901
7916
  namedRev;
7902
7917
  /** A reaction of this side waits to ride on an envelope, or the contact's reactions wait to be said taken. */
7903
7918
  reactionsDue = false;
7919
+ /** The text on the floor whose envelope left the reactions no room (its id): they wait for the ones its backoff publishes. */
7920
+ crowdedBy;
7904
7921
  constructor(options) {
7905
7922
  this.options = options;
7906
7923
  const { peerRejected: _peerRejected, ...state } = structuredClone(options.state ?? emptyDhtDeliveryState());
@@ -8301,6 +8318,11 @@ var DhtDelivery = class DhtDelivery {
8301
8318
  };
8302
8319
  this.peerNewAt = bounded(this.peerNewAt, now);
8303
8320
  this.lastPublish = bounded(this.lastPublish, now);
8321
+ if (this.withdrawal) this.withdrawal = {
8322
+ ...this.withdrawal,
8323
+ until: bounded(this.withdrawal.until, now, DHT_MESSAGE_TTL + DHT_EXPIRY_SKEW_MS),
8324
+ next: bounded(this.withdrawal.next, now, BACKOFF_MAX_MS)
8325
+ };
8304
8326
  this.networkBackAt = bounded(this.networkBackAt, now);
8305
8327
  this.pinnedProbeAt = bounded(this.pinnedProbeAt, now);
8306
8328
  this.controlDue = bounded(this.controlDue, now, Math.max(24e4, UNUSED_INVITE_UPKEEP_MS, this.options.firstControlAfterMs ?? 0));
@@ -8315,23 +8337,25 @@ var DhtDelivery = class DhtDelivery {
8315
8337
  if (edit !== void 0 && (reply !== void 0 || !ID$2.test(edit[0]) || !validEditNumber(edit[1]))) return "Invalid message.";
8316
8338
  if (utf8Encode(text).length > 256) return DHT_TEXT_TOO_LONG;
8317
8339
  if (/cashu[AB][A-Za-z0-9_-]+/i.test(text)) return "Payment tokens cannot be sent through DHT delivery.";
8318
- const now = this.clock(), pending = this.state.pending;
8319
- if (pending && pending.expires > now && pending.message[0] !== id) return "One DHT text can await a receipt at a time. Wait for its receipt or expiry before sending another.";
8320
- if (pending?.message[0] === id && pending.expires > now && pending.attempts >= MAX_ATTEMPTS) return "DHT retry budget exhausted. Wait for expiry before retrying this message.";
8321
- const next = pending?.message[0] === id && pending.expires > now ? pending : {
8340
+ const now = this.clock(), pending = this.state.pending, mine = pending?.message[0] === id && pending.expires > now ? pending : void 0;
8341
+ const next = mine ?? {
8322
8342
  message: [
8323
8343
  id,
8324
8344
  timestamp,
8325
8345
  text
8326
8346
  ],
8327
- expires: now + DHT_MESSAGE_TTL,
8347
+ expires: now + 3e5,
8328
8348
  attempts: 0,
8329
8349
  next: now,
8330
8350
  ...reply && { reply },
8331
8351
  ...edit && { edit }
8332
8352
  };
8333
8353
  const error = this.packetError(next.message, next.expires, next.reply, next.edit);
8334
- return error && next.reply ? this.packetError(next.message, next.expires) : error;
8354
+ const tooBig = error && next.reply ? this.packetError(next.message, next.expires) : error;
8355
+ if (tooBig) return tooBig;
8356
+ if (pending && pending.expires > now && !mine) return "One DHT text can await a receipt at a time. Wait for its receipt or expiry before sending another.";
8357
+ if (mine && mine.attempts >= MAX_ATTEMPTS) return "DHT retry budget exhausted. Wait for expiry before retrying this message.";
8358
+ return null;
8335
8359
  }
8336
8360
  /**
8337
8361
  * Measured, not built (`bodyFits`): the outbox asks it of every waiting text at each look, and a text that waits as no
@@ -8384,6 +8408,10 @@ var DhtDelivery = class DhtDelivery {
8384
8408
  pending: next
8385
8409
  });
8386
8410
  this.changed();
8411
+ if (this.withdrawalWaits()) {
8412
+ this.schedule();
8413
+ return null;
8414
+ }
8387
8415
  try {
8388
8416
  await this.publish(true);
8389
8417
  this.schedule();
@@ -8487,6 +8515,10 @@ var DhtDelivery = class DhtDelivery {
8487
8515
  pending: next
8488
8516
  });
8489
8517
  this.changed();
8518
+ if (this.withdrawalWaits()) {
8519
+ this.schedule();
8520
+ return null;
8521
+ }
8490
8522
  try {
8491
8523
  await this.publish(true);
8492
8524
  } catch (error) {
@@ -8508,25 +8540,44 @@ var DhtDelivery = class DhtDelivery {
8508
8540
  * A text of mine (or an edit of it) deleted here while it waits on the floor leaves it: the state no longer holds it
8509
8541
  * (nor as `confirmed`: no receipt came), and, while its envelope was still in effect, a new one without it takes that
8510
8542
  * one's place on the relays, so a contact who looks later finds no text. Resolves once the state without it is saved;
8511
- * the new envelope goes after.
8543
+ * the new envelope goes after. One that does not go (no relay reachable) is tried again within seconds (`withdrawal`):
8544
+ * a reader takes the withdrawn envelope until its expiry and the clock skew allowed past it (`DHT_EXPIRY_SKEW_MS`).
8545
+ * It goes at once, spacing or not: the deleted text is out of reach from then on. The text that takes the floor next
8546
+ * waits out the spacing instead (`withdrawalWaits`).
8512
8547
  */
8513
8548
  async withdraw(wireId) {
8514
- if (await this.serialize(async () => {
8549
+ const expires = await this.serialize(async () => {
8515
8550
  const pending = this.state.pending;
8516
- if (!pending || pending.message[0] !== wireId && pending.edit?.[0] !== wireId) return false;
8551
+ if (!pending || pending.message[0] !== wireId && pending.edit?.[0] !== wireId) return 0;
8517
8552
  await this.persist({
8518
8553
  ...this.state,
8519
8554
  pending: void 0
8520
8555
  });
8521
8556
  this.changed();
8522
- return pending.attempts > 0 && pending.expires > this.clock();
8523
- })) this.serialize(async () => {
8557
+ return pending.attempts > 0 && pending.expires > this.clock() ? pending.expires : 0;
8558
+ });
8559
+ if (expires) this.serialize(async () => {
8560
+ this.withdrawal = {
8561
+ until: expires + DHT_EXPIRY_SKEW_MS,
8562
+ attempts: 0,
8563
+ next: 0
8564
+ };
8524
8565
  try {
8525
8566
  await this.publish(true);
8526
8567
  } catch {}
8568
+ this.withdrewAt = this.lastPublish;
8527
8569
  this.schedule();
8528
8570
  });
8529
8571
  }
8572
+ /**
8573
+ * The last envelope was a withdrawal's, inside the publication spacing: the text that takes the floor now goes once
8574
+ * the spacing allows (`schedule`), not in an envelope of its own at once. Deleted then, it never went, so it costs
8575
+ * no withdrawal: deleting 10 texts queued for an away contact one after the other, each one's withdrawal and the next
8576
+ * text's envelope put 10 envelopes on every relay in under 2 s, each replaced a moment later (bug hunt, 2026-11-15).
8577
+ */
8578
+ withdrawalWaits() {
8579
+ return this.withdrewAt === this.lastPublish && this.clock() - this.lastPublish < 4e3;
8580
+ }
8530
8581
  /** The id of what awaits its receipt on the floor now, if anything does. */
8531
8582
  get pendingId() {
8532
8583
  const now = this.clock(), pending = this.state.pending;
@@ -8561,6 +8612,7 @@ var DhtDelivery = class DhtDelivery {
8561
8612
  async announceReactions() {
8562
8613
  if (!this.options.reactions?.().length) return;
8563
8614
  this.reactionsDue = true;
8615
+ this.crowdedBy = void 0;
8564
8616
  await this.serialize(async () => {
8565
8617
  try {
8566
8618
  await this.publish();
@@ -8642,7 +8694,9 @@ var DhtDelivery = class DhtDelivery {
8642
8694
  const receipt = this.state.receipt && this.state.receipt.expires > now && this.state.receipt.attempts < MAX_ATTEMPTS ? this.state.receipt : void 0;
8643
8695
  const receiptDue = !!receipt && !receipt.settled && (receipt.next ?? 0) <= now;
8644
8696
  const reseal = this.resealDue;
8645
- const keepAlive = !force && (!pending || pending.next > now) && !receiptDue && !this.reactionsDue && !reseal;
8697
+ const withdrawal = this.withdrawal && this.withdrawal.until > now && this.withdrawal.attempts < MAX_ATTEMPTS ? this.withdrawal : void 0;
8698
+ if (!withdrawal) this.withdrawal = void 0;
8699
+ const keepAlive = !force && (!pending || pending.next > now) && !receiptDue && !this.reactionsPress && !reseal && !(withdrawal && withdrawal.next <= now);
8646
8700
  if (keepAlive && (this.controlDue > now || this.state.inviteTaken)) return;
8647
8701
  const expires = pending?.expires ?? now - 12e4 + CONTROL_TTL;
8648
8702
  const issued = Math.min(now, Math.max(now - DHT_ISSUED_BACK_MS, expires - (pending ? DHT_MESSAGE_TTL : CONTROL_TTL), (pending?.message[1] ?? 0) - 3e4));
@@ -8657,10 +8711,16 @@ var DhtDelivery = class DhtDelivery {
8657
8711
  }, void 0, void 0);
8658
8712
  throw held;
8659
8713
  }
8714
+ if (withdrawal) this.withdrawal = {
8715
+ ...withdrawal,
8716
+ attempts: withdrawal.attempts + 1,
8717
+ next: now + backoff(withdrawal.attempts)
8718
+ };
8660
8719
  const fittedEnvelope = this.fitted(this.sequence + 1, issued, expires, pending?.message ?? null, receipt?.id ?? null, pending?.reply, pending?.edit, pending?.forwarded, pending?.file);
8661
8720
  const { body, reactions } = fittedEnvelope;
8662
8721
  const reactionsWereDue = this.reactionsDue;
8663
8722
  this.reactionsDue = !reactions && !!this.options.reactions?.().length;
8723
+ this.crowdedBy = this.reactionsDue && pending ? pending.message[0] : void 0;
8664
8724
  const sequence = body[1];
8665
8725
  await this.persist({
8666
8726
  ...this.state,
@@ -8696,9 +8756,13 @@ var DhtDelivery = class DhtDelivery {
8696
8756
  await this.options.transport.publish(identity, records, options);
8697
8757
  } catch (error) {
8698
8758
  this.reactionsDue ||= reactionsWereDue;
8699
- if (isDiscoveryBudgetError(error)) await this.heldBack(error, now, before, pending, receipt);
8759
+ if (isDiscoveryBudgetError(error)) {
8760
+ if (withdrawal) this.withdrawal = withdrawal;
8761
+ await this.heldBack(error, now, before, pending, receipt);
8762
+ }
8700
8763
  throw error;
8701
8764
  }
8765
+ this.withdrawal = void 0;
8702
8766
  this.namedRev = body[8] ?? void 0;
8703
8767
  if (options?.signal) this.leavingOut = false;
8704
8768
  if (identity === this.identity) this.unsealedOut = !this.options.credentials.peerKey;
@@ -8710,6 +8774,14 @@ var DhtDelivery = class DhtDelivery {
8710
8774
  return this.unsealedOut && !!this.options.credentials.peerKey;
8711
8775
  }
8712
8776
  /**
8777
+ * Reactions due (`reactionsDue`) that force an envelope of their own: not while the text that left them no room
8778
+ * (`crowdedBy`) is still retried, or each publication spends one of its attempts 4 s apart instead of at its backoff.
8779
+ */
8780
+ get reactionsPress() {
8781
+ const pending = this.state.pending, now = Date.now();
8782
+ return this.reactionsDue && !(pending && pending.message[0] === this.crowdedBy && pending.expires > now && pending.attempts < MAX_ATTEMPTS);
8783
+ }
8784
+ /**
8713
8785
  * The relays' request budget held the envelope back: nothing went out, so it was no attempt (a text keeps its eight),
8714
8786
  * and what it carried (a text, a receipt, a new mode) goes the moment the budget frees a request: the text and the
8715
8787
  * receipt as they were before, and no publication before then (`budgetUntil`) but a forced one.
@@ -8947,7 +9019,10 @@ var DhtDelivery = class DhtDelivery {
8947
9019
  const theirs = this.options.reaction ? readDhtReactions(reactions) : [];
8948
9020
  for (const reaction of theirs) await this.options.reaction?.(reaction);
8949
9021
  const newest = theirs.reduce((max, r) => Math.max(max, r.n), 0);
8950
- if (theirs.length) this.reactionsDue = true;
9022
+ if (theirs.length) {
9023
+ this.reactionsDue = true;
9024
+ this.crowdedBy = void 0;
9025
+ }
8951
9026
  const confirmed = receipt && this.state.pending?.message[0] === receipt ? receipt : this.state.confirmed;
8952
9027
  if (mode !== this.state.peerMode) traceLink(this.from, "dht-peer-mode", { peerMode: mode });
8953
9028
  if (peerPinned !== this.state.peerPinned) traceLink(this.from, "dht-peer-pinned", { peerPinned });
@@ -9167,9 +9242,13 @@ var DhtDelivery = class DhtDelivery {
9167
9242
  if (!this.running || this.ticking) return;
9168
9243
  if (this.timer) clearTimeout(this.timer);
9169
9244
  const held = this.budgetUntil - this.clock();
9170
- const due = this.reactionsDue || this.resealDue && !this.errors.publish ? Math.max(0, this.lastPublish + 4e3 - Date.now(), held) : Infinity;
9245
+ const due = this.reactionsPress || this.resealDue && !this.errors.publish ? Math.max(0, this.lastPublish + 4e3 - Date.now(), held) : Infinity;
9246
+ const withdrawal = this.withdrawal, now = Date.now();
9247
+ const retry = withdrawal && withdrawal.until > now && withdrawal.attempts < MAX_ATTEMPTS ? Math.max(0, withdrawal.next - now, this.lastPublish + 4e3 - now, held) : Infinity;
9248
+ const pending = this.state.pending;
9249
+ const waiting = pending && pending.attempts === 0 && pending.expires > now ? Math.max(0, this.lastPublish + 4e3 - now, held) : Infinity;
9171
9250
  const readHeld = this.readHeldUntil > 0 ? Math.max(1e3, this.readHeldUntil - Date.now()) : Infinity;
9172
- this.timer = setTimeout(() => void this.tick(), Math.min(held > 0 ? Math.min(this.pollMs, held) : this.pollMs, due, readHeld));
9251
+ this.timer = setTimeout(() => void this.tick(), Math.min(held > 0 ? Math.min(this.pollMs, held) : this.pollMs, due, retry, waiting, readHeld));
9173
9252
  }
9174
9253
  };
9175
9254
  var DHT_TEXT_REFUSED = "Your contact's app does not accept text over the DHT. It is sent when you are live.";
@@ -13534,6 +13613,11 @@ var ChatFiles = class {
13534
13613
  /** Files that stopped sending for the chat's window alone: they go on once another's bytes are confirmed. */
13535
13614
  held = /* @__PURE__ */ new Set();
13536
13615
  /**
13616
+ * The entries not ended (`track`): what is still to come or under way is read from these, not from every file the
13617
+ * chat ever had, which it keeps for good. An offer read all of them, in every chat, at 100,000 files about 10 ms each.
13618
+ */
13619
+ unended = /* @__PURE__ */ new Set();
13620
+ /**
13537
13621
  * Files this side cancelled while no session carried the cancel (`pf-abort`), said on the next one. The session also
13538
13622
  * goes for a moment when a move swaps it (its capabilities are agreed again): unsaid, the receiver showed the file
13539
13623
  * moving, its bytes kept, until its idle nudge asked 30 s later.
@@ -13585,7 +13669,10 @@ var ChatFiles = class {
13585
13669
  checkpointed: record.confirmed,
13586
13670
  writing: Promise.resolve()
13587
13671
  };
13672
+ const replaced = this.entries.get(key(record.direction, record.id));
13673
+ if (replaced) this.unended.delete(replaced);
13588
13674
  this.entries.set(key(record.direction, record.id), entry);
13675
+ this.track(entry);
13589
13676
  }
13590
13677
  }
13591
13678
  get live() {
@@ -13598,6 +13685,23 @@ var ChatFiles = class {
13598
13685
  records() {
13599
13686
  return [...this.entries.values()].map((e) => ({ ...e.record }));
13600
13687
  }
13688
+ /** Bytes still to come of the files taken here, not ended (one still asked about is not taken yet). */
13689
+ stillToCome() {
13690
+ let due = 0;
13691
+ for (const { record } of this.unended) if (record.direction === "in" && record.state !== "asking" && !transferEnded(record)) due += Math.max(0, record.file.size - record.confirmed);
13692
+ return due;
13693
+ }
13694
+ /** A transfer under way: offered, moving, or being checked. */
13695
+ underWay() {
13696
+ for (const { record } of this.unended) if (record.state === "offered" || record.state === "active" || record.state === "verifying") return true;
13697
+ return false;
13698
+ }
13699
+ /** Bytes of the files received here that were taken without asking and are kept (or on their way). */
13700
+ takenUnasked() {
13701
+ let taken = 0;
13702
+ for (const { record } of this.entries.values()) if (record.direction === "in" && !record.consented && record.state !== "asking" && record.state !== "failed" && record.state !== "declined" && record.state !== "cancelled") taken += record.file.size;
13703
+ return taken;
13704
+ }
13601
13705
  get(direction, id) {
13602
13706
  const record = this.entries.get(key(direction, id))?.record;
13603
13707
  return record && { ...record };
@@ -13615,8 +13719,17 @@ var ChatFiles = class {
13615
13719
  return entry.in && !transferEnded(entry.record) ? Math.max(entry.in.stored, entry.record.confirmed) : entry.record.confirmed;
13616
13720
  }
13617
13721
  changed(entry, progress = false) {
13722
+ this.track(entry);
13618
13723
  this.host.changed({ ...entry.record }, this.moved(entry), progress);
13619
13724
  }
13725
+ /**
13726
+ * Keeps `unended` to the entries of this chat not ended. Each change of a record's state is reported (`changed`),
13727
+ * so that is where a file that ended leaves it, and one taken or sent again comes back.
13728
+ */
13729
+ track(entry) {
13730
+ if (!transferEnded(entry.record) && this.entries.get(key(entry.record.direction, entry.record.id)) === entry) this.unended.add(entry);
13731
+ else this.unended.delete(entry);
13732
+ }
13620
13733
  send(frame) {
13621
13734
  return this.attached && this.host.send(frame);
13622
13735
  }
@@ -14602,6 +14715,7 @@ var ChatFiles = class {
14602
14715
  const entry = this.entries.get(key("in", id));
14603
14716
  if (!entry || transferEnded(entry.record)) return;
14604
14717
  this.entries.delete(key("in", id));
14718
+ this.unended.delete(entry);
14605
14719
  const incoming = entry.in;
14606
14720
  entry.record.state = "failed";
14607
14721
  clearTimeout(incoming.timer);
@@ -14738,6 +14852,7 @@ var ChatFiles = class {
14738
14852
  if (!entry) return;
14739
14853
  if (!transferEnded(entry.record)) this.cancel(direction, id);
14740
14854
  this.entries.delete(key(direction, id));
14855
+ this.unended.delete(entry);
14741
14856
  }
14742
14857
  };
14743
14858
  // ../core/src/pairedCalls.ts
@@ -16084,8 +16199,6 @@ var QUIET_FRAMES = /* @__PURE__ */ new Set([
16084
16199
  "paired-payments",
16085
16200
  "paired-groups",
16086
16201
  "paired-services",
16087
- "paired-reconnect",
16088
- "paired-reconnect-ack",
16089
16202
  CONTACT_ASKER_FRAME
16090
16203
  ]);
16091
16204
  /**
@@ -16295,8 +16408,6 @@ var GhostLink = class {
16295
16408
  nativeFailures = /* @__PURE__ */ new Map();
16296
16409
  demotedUntil = /* @__PURE__ */ new Map();
16297
16410
  connectionEpoch = 0;
16298
- switchAllowedUntil = 0;
16299
- switchAck = null;
16300
16411
  switcher;
16301
16412
  /** `plan`: a switch both sides agreed; without one, a replacement the contact dialled (`attachReplacement`). */
16302
16413
  candidate = null;
@@ -17936,10 +18047,6 @@ var GhostLink = class {
17936
18047
  this.attachCandidate(channel, binding, plan).catch(() => {});
17937
18048
  return;
17938
18049
  }
17939
- if (this.channel && Date.now() < this.switchAllowedUntil) {
17940
- this.switchAllowedUntil = 0;
17941
- this.disconnect();
17942
- }
17943
18050
  if (this.stopped || this.leaving || this.yielding || !this.transportOffer().includes(binding.transport)) {
17944
18051
  channel.close();
17945
18052
  return;
@@ -20892,15 +20999,6 @@ var GhostLink = class {
20892
20999
  });
20893
21000
  return;
20894
21001
  }
20895
- if (frame?.t === "paired-reconnect") {
20896
- this.switchAllowedUntil = Date.now() + 3e4;
20897
- channel.send(JSON.stringify({ t: "paired-reconnect-ack" }));
20898
- return;
20899
- }
20900
- if (frame?.t === "paired-reconnect-ack") {
20901
- this.switchAck?.();
20902
- return;
20903
- }
20904
21002
  if (frame?.t === "paired-adapters") {
20905
21003
  if (!frame.descriptors || typeof frame.descriptors !== "object" || JSON.stringify(frame.descriptors).length > 4096) return;
20906
21004
  const descriptors = checkedDescriptors(frame.descriptors);
@@ -21793,6 +21891,6 @@ function groupMetaChange(before, after, first) {
21793
21891
  if (a.pic !== b.pic) change.picture = b.pic ?? null;
21794
21892
  return "name" in change || "picture" in change ? change : null;
21795
21893
  }
21796
- export { beaconRecords as $, INVITE_MAX_LENGTH as $a, contactAskerFrame as $i, readReaction as $n, verifyCommitSignature as $r, APP_RANGE_LIMITS as $t, GROUP_WANT_NO_FRAME as A, appRef as Aa, webLocalFetch as Ai, fileMessageText as An, arrivalKey as Ar, sanitizeTypingStatus as At, SIGNAL_FRESH_MS as B, readAppSignature as Ba, callRtcConfig as Bi, dhtEditId as Bn, OWN_FRAME_LIMIT as Br, WAKE_INTERVAL_MS as Bt, PAIRED_FRAME_TOO_LARGE as C, pacer as Ca, PRESENCE_WINDOW as Ci, sanitizeFileName as Cn, cardUrl as Cr, personStatus as Ct, GROUP_FILE_LIMITS as D, APP_PREFIXES as Da, GhostlyHttpError as Di, VOICE_METER as Dn, statusCardBytes as Dr, TYPING_REFRESH_MS as Dt, pairedMessageFrame as E, sha256Paced as Ea, presenceSeenAt as Ei, VOICE_LIMITS as En, sameButtonText as Er, TYPING_KINDS as Et, readGroupHave as F, isAppLine as Fa, CALL_SIGNAL_MAX_AGE_MS as Fi, EDIT_BUFFER_MS as Fn, GROUP_ADMIN_OFF_ERROR as Fr, nextPinNumber as Ft, MESH_HUBS as G, verifyAppSignature as Ga, signalHasVideo as Gi, COMMUNITY_REACTION_FRAME as Gn, parseGroupCommit as Gr, deviceWakeRequest as Gt, SIGNAL_REPLY_MS as H, signAppObject as Ha, contactRtcConfig as Hi, validRemovalNumber as Hn, commitHash as Hr, WAKE_ONLINE_DELAY_MS as Ht, readGroupWant as I, isAppRef as Ia, QUICK_REDIAL_MS as Ii, EDIT_RATE_WINDOW_MS as In, GROUP_ID as Ir, pinIsNewer as It, meshHubs as J, readImageMeta as Ja, LEGACY_SERVICES as Ji, ReactionWindow as Jn, rosterHas as Jr, relayRequest as Jt, NO_HUB_POLICY as K, exifOrientation as Ka, emptyLinkRecords as Ki, GROUP_REACTION_FRAME as Kn, rememberAlone as Kr, newWakeToken as Kt, readGroupWantNo as L, readAppRevocation as La, RTC_CONFIG as Li, MAX_REMOVAL_NUMBER as Ln, GROUP_MEMBER_CAP as Lr, pinNumberHolds as Lt, groupFileFallback as M, checkAppRevokeStatement as Ma, decodeControl as Mi, voiceDownloadName as Mn, heardTime as Mr, GROUP_PIN_FRAME as Mt, isGroupMessageId as N, isAppHash as Na, encodeControl as Ni, voiceLevel as Nn, receivedTimestamp as Nr, PIN_LIMITS as Nt, GROUP_HAVE_FRAME as O, APP_STATEMENT_LIMITS as Oa, formatLocalTarget as Oi, baseMime as On, statusCardText as Or, TypingReceiver as Ot, readGroupFileMeta as P, isAppKey as Pa, BURST_RING_MS as Pi, parseVideoMeta as Pn, shownTime as Pr, mayPin as Pt, beaconKeys as Q, INVITE_HRP as Qa, REQUEST_LIFETIME_MS as Qi, reactionIsNewer as Qn, verifyCommit as Qr, vapidKeysMatch as Qt, CarriedTransport as R, readAppRevocationShape as Ra, answersOffer as Ri, REMOVED_TEXT as Rn, MAX_GROUP_CHAIN as Rr, readPin as Rt, LIVENESS_PING_MS as S, isAppUrl as Sa, EXPECT_PEER_MS as Si, formatFileSize as Sn, cardLine as Sr, liveStatus as St, pairedMessageFits as T, readAppBundleAsync as Ta, WATCH_PEER_MS as Ti, PLAYABLE_AUDIO as Tn, readStatusCard as Tr, TYPING_FRAME as Tt, groupSignalFrame as U, signAppRevocation as Ua, extractParamsFromSdp as Ui, forwardedAgain as Un, commitUntaggedHash as Ur, WAKE_ONLINE_INTERVAL_MS as Ut, SIGNAL_HOLD_MS as V, setAppSignatureFastPath as Va, callSignalHeardAt as Vi, validEditNumber as Vn, SAID_AGAIN as Vr, WAKE_ONLINE_BATCH_MS as Vt, readGroupSignal as W, verifyAppRevocation as Wa, parseCallSignal as Wi, readForwarded as Wn, expectedRoster as Wr, WakeLimiter as Wt, pickMeshHubs as X, canonicalJsonBytes as Xa, serviceIdFromName as Xi, queueReaction as Xn, sortRoster as Xr, wakeRequest as Xt, meshRendezvous as Y, canonicalJson as Ya, MAX_SHARED_APPS as Yi, nextReactionNumber as Yn, signCommit as Yr, wakeFrame as Yt, COMMUNITY_TOPOLOGY as Z, readCanonicalJson as Za, ContactRequestError as Zi, reactionEmoji as Zn, verifyChain as Zr, checkPushEndpoint as Zt, signGroupMeta as _, appDigest as _a, ratchetSessionOf as _i, DHT_FILE_TOO_LARGE as _n, TASK_STATUSES as _r, sentWhole as _t, groupMetaChange as a, knockSlotRecords as aa, encryptText as ai, BUTTONS_CAPABILITY as an, inviteOwnership as ao, readReply as ar, mergeBeacon as at, GhostLink as b, checkAppManifest as ba, DAEMON_WATCH_PEER_IDLE_MS as bi, DHT_FILE_CAPABILITY as bn, buttonLabelClash as br, STATUS_AVAILABILITIES as bt, groupMetaTag as c, mergeContactKnocks as ca, newEpochSecret as ci, UPGRADE_CAPABILITY as cn, DEVICES_CAPABILITY as co, BUTTON_ID as cr, pickHubs as ct, keepPastGroupMeta as d, readLinkRecord as da, sealPair as di, capsDescriptors as dn, deviceEchoFrame as do, ITEM_STATES as dr, readBeaconHead as dt, contactAskerHolds as ea, GROUP_PROFILE as ei, isServeId as en, OwnInviteError as eo, validReactionNumber as er, doorHubs as et, nextGroupMetaRevision as f, requestRecords as fa, sealSecret as fi, dialDescriptors as fn, deviceEchoNonce as fo, PR_CHECKS as fr, readLobby as ft, parseGroupMetaTag as g, APP_ICON_PATH as ga, emptyRatchetState as gi, ACTIVE_DHT_POLL_MS as gn, newDeviceSetSecret as go, STATUS_CARD_LIMITS as gr, FileUplink as gt, parseGroupMetaFrame as h, APP_BUNDLE_MAGIC as ha, RatchetBox as hi, validExternalKey as hn, devicePingFrame as ho, RUN_RESULTS as hr, FILE_LIMITS as ht, groupMetaBody as i, knockSlotOf as ia, edgeParams as ii, APPS_CAPABILITY as in, inviteLink as io, pairedReplyAuthor as ir, lobbyRecords as it, fetchesByItself as j, appRefPublisher as ja, LIMITS as ji, parseVoiceMeta as jn, claimedTime as jr, typingActivity as jt, GROUP_WANT_FRAME as k, appFingerprint as ka, parseLocalTarget as ki, downsamplePeaks as kn, MESSAGE_CLOCK_SKEW_MS as kr, TypingSender as kt, groupMetaToHand as l, openRequest as la, openPair as li, CapsExchange as ln, ENROLL_CAPABILITY as lo, BUTTON_STYLES as lr, rankHubs as lt, parseGroupMetaBody as m, APP_BUNDLE_LIMITS as ma, RATCHET_CAPABILITY as mi, emptyProofLedger as mn, deviceLinkPairing as mo, ROUTINE_STATES as mr, ChatFiles as mt, groupCallSfu as n, knockHolds as na, confirmationTag as ni, chatAppId as nn, decodeInviteCode as no, REPLY_LIMITS as nr, hubRank as nt, groupMetaNewer as o, linkRecords as oa, epochKeys as oi, EDIT_CAPABILITY as on, ownInviteRefusal as oo, replySnippet as or, mergeLobby as ot, openGroupMeta as p, seenEntry as pa, sha256Hex as pi, PeerProofs as pn, deviceKeyZ32 as po, PR_STATES as pr, shouldBeHub as pt, mayBeHub as q, parseImageMeta as qa, HTTP_SERVICE_PROTO as qi, REACTION_LIMITS as qn, rosterAdmin as qr, parseWakeFrame as qt, groupDisplayName as r, knockSlotIdentity as ra, decryptText as ri, isAppVersion as rn, encodeInviteCode as ro, groupReplyAuthor as rr, lobbyKeys as rt, groupMetaPicture as s, makeStampPaced as sa, groupCallKey as si, STATUS_CARD_CAPABILITY as sn, pastedAgain as so, wireReply as sr, newerHead as st, encodeGroupMetaBody as t, contactDay as ta, confirmationMatches as ti, APP_DATA_MAX_BYTES as tn, createChatInvite as to, wireReaction as tr, freshHubs as tt, groupName as u, readKnockSlot as ua, openSecret as ui, DHT_TEXT_CAPABILITY as un, HANDOFF_CAPABILITY as uo, CRON_LINE as ur, readBeacon as ut, verifyGroupMetaSignature as v, appViewOf as va, DirectPathWatch as vi, DHT_MESSAGE_TTL as vn, appCardId as vr, transferEnded as vt, pairedEditFits as w, readAppBundle as wa, RELAY_POLL_INTERVALS as wi, sanitizeMime as wn, checkStatusCard as wr, sanitizeStatusText as wt, INVITE_TAKEN as x, findAppForbiddenKey as xa, DHT_POLL_INTERVALS as xi, dhtFileId as xn, cardEditNumber as xr, STATUS_IDLE_AFTER_MS as xt, wrapGroupMeta as y, assembleAppBundle as ya, AWAITING_PEER_MS as yi, peekDhtMailbox as yn, appCardUrl as yr, transferStalled as yt, GROUP_SIGNAL_FRAME as z, readAppRevocations as za, buildSdpFromSignal as zi, RateWindow as zn, MEMBER_KEY as zr, WAKE_CALL_INTERVAL_MS as zt };
21894
+ export { beaconRecords as $, INVITE_HRP as $a, REQUEST_LIFETIME_MS as $i, readReaction as $n, verifyCommitSignature as $r, APP_RANGE_LIMITS as $t, GROUP_WANT_NO_FRAME as A, appFingerprint as Aa, parseLocalTarget as Ai, fileMessageText as An, arrivalKey as Ar, sanitizeTypingStatus as At, SIGNAL_FRESH_MS as B, readAppRevocations as Ba, buildSdpFromSignal as Bi, dhtEditId as Bn, OWN_FRAME_LIMIT as Br, WAKE_INTERVAL_MS as Bt, PAIRED_FRAME_TOO_LARGE as C, isAppUrl as Ca, PRESENCE_WINDOW as Ci, sanitizeFileName as Cn, cardUrl as Cr, personStatus as Ct, GROUP_FILE_LIMITS as D, sha256Paced as Da, GhostlyHttpError as Di, VOICE_METER as Dn, statusCardBytes as Dr, TYPING_REFRESH_MS as Dt, pairedMessageFrame as E, readAppBundleAsync as Ea, presenceSeenAt as Ei, VOICE_LIMITS as En, sameButtonText as Er, TYPING_KINDS as Et, readGroupHave as F, isAppKey as Fa, BURST_RING_MS as Fi, EDIT_BUFFER_MS as Fn, GROUP_ADMIN_OFF_ERROR as Fr, nextPinNumber as Ft, MESH_HUBS as G, verifyAppRevocation as Ga, parseCallSignal as Gi, COMMUNITY_REACTION_FRAME as Gn, parseGroupCommit as Gr, deviceWakeRequest as Gt, SIGNAL_REPLY_MS as H, setAppSignatureFastPath as Ha, callSignalHeardAt as Hi, validRemovalNumber as Hn, commitHash as Hr, WAKE_ONLINE_DELAY_MS as Ht, readGroupWant as I, isAppLine as Ia, CALL_SIGNAL_MAX_AGE_MS as Ii, EDIT_RATE_WINDOW_MS as In, GROUP_ID as Ir, pinIsNewer as It, meshHubs as J, parseImageMeta as Ja, HTTP_SERVICE_PROTO as Ji, ReactionWindow as Jn, rosterHas as Jr, relayRequest as Jt, NO_HUB_POLICY as K, verifyAppSignature as Ka, signalHasVideo as Ki, GROUP_REACTION_FRAME as Kn, rememberAlone as Kr, newWakeToken as Kt, readGroupWantNo as L, isAppRef as La, QUICK_REDIAL_MS as Li, MAX_REMOVAL_NUMBER as Ln, GROUP_MEMBER_CAP as Lr, pinNumberHolds as Lt, groupFileFallback as M, appRefPublisher as Ma, LIMITS as Mi, voiceDownloadName as Mn, heardTime as Mr, GROUP_PIN_FRAME as Mt, isGroupMessageId as N, checkAppRevokeStatement as Na, decodeControl as Ni, voiceLevel as Nn, receivedTimestamp as Nr, PIN_LIMITS as Nt, GROUP_HAVE_FRAME as O, APP_PREFIXES as Oa, VIEWER_PERMISSIONS_POLICY as Oi, baseMime as On, statusCardText as Or, TypingReceiver as Ot, readGroupFileMeta as P, isAppHash as Pa, encodeControl as Pi, parseVideoMeta as Pn, shownTime as Pr, mayPin as Pt, beaconKeys as Q, readCanonicalJson as Qa, ContactRequestError as Qi, reactionIsNewer as Qn, verifyCommit as Qr, vapidKeysMatch as Qt, CarriedTransport as R, readAppRevocation as Ra, RTC_CONFIG as Ri, REMOVED_TEXT as Rn, MAX_GROUP_CHAIN as Rr, readPin as Rt, LIVENESS_PING_MS as S, findAppForbiddenKey as Sa, EXPECT_PEER_MS as Si, formatFileSize as Sn, cardLine as Sr, liveStatus as St, pairedMessageFits as T, readAppBundle as Ta, WATCH_PEER_MS as Ti, PLAYABLE_AUDIO as Tn, readStatusCard as Tr, TYPING_FRAME as Tt, groupSignalFrame as U, signAppObject as Ua, contactRtcConfig as Ui, forwardedAgain as Un, commitUntaggedHash as Ur, WAKE_ONLINE_INTERVAL_MS as Ut, SIGNAL_HOLD_MS as V, readAppSignature as Va, callRtcConfig as Vi, validEditNumber as Vn, SAID_AGAIN as Vr, WAKE_ONLINE_BATCH_MS as Vt, readGroupSignal as W, signAppRevocation as Wa, extractParamsFromSdp as Wi, readForwarded as Wn, expectedRoster as Wr, WakeLimiter as Wt, pickMeshHubs as X, canonicalJson as Xa, MAX_SHARED_APPS as Xi, queueReaction as Xn, sortRoster as Xr, wakeRequest as Xt, meshRendezvous as Y, readImageMeta as Ya, LEGACY_SERVICES as Yi, nextReactionNumber as Yn, signCommit as Yr, wakeFrame as Yt, COMMUNITY_TOPOLOGY as Z, canonicalJsonBytes as Za, serviceIdFromName as Zi, reactionEmoji as Zn, verifyChain as Zr, checkPushEndpoint as Zt, signGroupMeta as _, APP_ICON_PATH as _a, ratchetSessionOf as _i, DHT_FILE_TOO_LARGE as _n, newDeviceSetSecret as _o, TASK_STATUSES as _r, sentWhole as _t, groupMetaChange as a, knockSlotOf as aa, encryptText as ai, BUTTONS_CAPABILITY as an, inviteLink as ao, readReply as ar, mergeBeacon as at, GhostLink as b, assembleAppBundle as ba, DAEMON_WATCH_PEER_IDLE_MS as bi, DHT_FILE_CAPABILITY as bn, buttonLabelClash as br, STATUS_AVAILABILITIES as bt, groupMetaTag as c, makeStampPaced as ca, newEpochSecret as ci, UPGRADE_CAPABILITY as cn, pastedAgain as co, BUTTON_ID as cr, pickHubs as ct, keepPastGroupMeta as d, readKnockSlot as da, sealPair as di, capsDescriptors as dn, HANDOFF_CAPABILITY as do, ITEM_STATES as dr, readBeaconHead as dt, contactAskerFrame as ea, GROUP_PROFILE as ei, isServeId as en, INVITE_MAX_LENGTH as eo, validReactionNumber as er, doorHubs as et, nextGroupMetaRevision as f, readLinkRecord as fa, sealSecret as fi, dialDescriptors as fn, deviceEchoFrame as fo, PR_CHECKS as fr, readLobby as ft, parseGroupMetaTag as g, APP_BUNDLE_MAGIC as ga, emptyRatchetState as gi, ACTIVE_DHT_POLL_MS as gn, devicePingFrame as go, STATUS_CARD_LIMITS as gr, FileUplink as gt, parseGroupMetaFrame as h, APP_BUNDLE_LIMITS as ha, RatchetBox as hi, validExternalKey as hn, deviceLinkPairing as ho, RUN_RESULTS as hr, FILE_LIMITS as ht, groupMetaBody as i, knockSlotIdentity as ia, edgeParams as ii, APPS_CAPABILITY as in, encodeInviteCode as io, pairedReplyAuthor as ir, lobbyRecords as it, fetchesByItself as j, appRef as ja, webLocalFetch as ji, parseVoiceMeta as jn, claimedTime as jr, typingActivity as jt, GROUP_WANT_FRAME as k, APP_STATEMENT_LIMITS as ka, formatLocalTarget as ki, downsamplePeaks as kn, MESSAGE_CLOCK_SKEW_MS as kr, TypingSender as kt, groupMetaToHand as l, mergeContactKnocks as la, openPair as li, CapsExchange as ln, DEVICES_CAPABILITY as lo, BUTTON_STYLES as lr, rankHubs as lt, parseGroupMetaBody as m, seenEntry as ma, RATCHET_CAPABILITY as mi, emptyProofLedger as mn, deviceKeyZ32 as mo, ROUTINE_STATES as mr, ChatFiles as mt, groupCallSfu as n, contactDay as na, confirmationTag as ni, chatAppId as nn, createChatInvite as no, REPLY_LIMITS as nr, hubRank as nt, groupMetaNewer as o, knockSlotRecords as oa, epochKeys as oi, EDIT_CAPABILITY as on, inviteOwnership as oo, replySnippet as or, mergeLobby as ot, openGroupMeta as p, requestRecords as pa, sha256Hex as pi, PeerProofs as pn, deviceEchoNonce as po, PR_STATES as pr, shouldBeHub as pt, mayBeHub as q, exifOrientation as qa, emptyLinkRecords as qi, REACTION_LIMITS as qn, rosterAdmin as qr, parseWakeFrame as qt, groupDisplayName as r, knockHolds as ra, decryptText as ri, isAppVersion as rn, decodeInviteCode as ro, groupReplyAuthor as rr, lobbyKeys as rt, groupMetaPicture as s, linkRecords as sa, groupCallKey as si, STATUS_CARD_CAPABILITY as sn, ownInviteRefusal as so, wireReply as sr, newerHead as st, encodeGroupMetaBody as t, contactAskerHolds as ta, confirmationMatches as ti, APP_DATA_MAX_BYTES as tn, OwnInviteError as to, wireReaction as tr, freshHubs as tt, groupName as u, openRequest as ua, openSecret as ui, DHT_TEXT_CAPABILITY as un, ENROLL_CAPABILITY as uo, CRON_LINE as ur, readBeacon as ut, verifyGroupMetaSignature as v, appDigest as va, DirectPathWatch as vi, DHT_MESSAGE_TTL as vn, appCardId as vr, transferEnded as vt, pairedEditFits as w, pacer as wa, RELAY_POLL_INTERVALS as wi, sanitizeMime as wn, checkStatusCard as wr, sanitizeStatusText as wt, INVITE_TAKEN as x, checkAppManifest as xa, DHT_POLL_INTERVALS as xi, dhtFileId as xn, cardEditNumber as xr, STATUS_IDLE_AFTER_MS as xt, wrapGroupMeta as y, appViewOf as ya, AWAITING_PEER_MS as yi, peekDhtMailbox as yn, appCardUrl as yr, transferStalled as yt, GROUP_SIGNAL_FRAME as z, readAppRevocationShape as za, answersOffer as zi, RateWindow as zn, MEMBER_KEY as zr, WAKE_CALL_INTERVAL_MS as zt };
21797
21895
 
21798
- //# sourceMappingURL=groupMeta-DTQAJG50.js.map
21896
+ //# sourceMappingURL=groupMeta-goASqzOt.js.map