@ghostlytools/sdk 1.10.1 → 1.10.2

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.
@@ -1021,6 +1021,22 @@ var isChatWatch = (who) => who.watch && isChat(who);
1021
1021
  * So may its reads of a member that was live when this app last ran, until one is answered (`resume`): its offer waits on them.
1022
1022
  */
1023
1023
  var isGroupSignal = (who) => who.group && !who.background && (who.signal || isWatch(who) || who.watchWrite || who.resume);
1024
+ /** A group edge's read for the signal it waits for, the answer to its offer (`signal`): first on the floor (`ANSWER_READ_FIRST_MS`). */
1025
+ var isGroupAnswerRead = (who) => isGroupSignal(who) && who.signal && !who.write;
1026
+ /** Such a read, as the budget weighs it (`ANSWER_READ_FIRST_MS`). */
1027
+ var ANSWER_READER = {
1028
+ background: false,
1029
+ group: true,
1030
+ urgent: true,
1031
+ door: false,
1032
+ write: false,
1033
+ signal: true,
1034
+ watch: false,
1035
+ watchWrite: false,
1036
+ departed: false,
1037
+ resume: false,
1038
+ back: false
1039
+ };
1024
1040
  /** A community member's way back to its group while it has no edge up: it may use its own allowance (`WAY_BACK_SHARE`). */
1025
1041
  var isWayBack = (who) => who.back && who.group && !who.background;
1026
1042
  /** Watch reads that the same other limits hold take turns together: urgent or not, background or not; the chats' on their own. */
@@ -1225,15 +1241,45 @@ var GROUP_SIGNALING_ALLOWANCE_SHARE = 2 / 15;
1225
1241
  * in the first minute on the default relays: a reading of each beacon, and a read and a write in a hub's lobby (a write
1226
1242
  * goes to every relay). A member asks it only while it has no edge up in that community.
1227
1243
  *
1228
- * At worst a relay then sees, in one minute, its limit, the chats' allowance past it, the edges' and this one: 46 on a
1229
- * relay of 30 (pkarr.pubky.org allows 50 an address, `x-ratelimit-limit`), 92 on pkarr.pubky.app's 60 (it allows 1000)
1230
- * and 7 on a relay of 5 (relay.pkarr.org and pkarr.miguelmedeiros.dev allow 10). A share raised past those limits gets
1231
- * 429s (docs/TRANSPORTS.md, "The default list").
1244
+ * At worst a relay then sees, in one minute, its limit, the chats' allowance past it, the edges', this one and the edges'
1245
+ * answer reads' (`ANSWER_READ_ALLOWANCE`): 49 on a relay of 30 (pkarr.pubky.org allows 50 an address,
1246
+ * `x-ratelimit-limit`), 95 on pkarr.pubky.app's 60 (it allows 1000) and 7 on a relay of 5 (relay.pkarr.org and
1247
+ * pkarr.miguelmedeiros.dev allow 10). A share raised past those limits gets 429s (docs/TRANSPORTS.md, "The default list").
1232
1248
  */
1233
1249
  var WAY_BACK_SHARE = 1 / 5;
1234
1250
  /** Past the limit, a group's reads within its allowance go no more often than this on a relay. */
1235
1251
  var GROUP_OVER_PACE_MS = 5e3;
1236
1252
  /**
1253
+ * A group edge's read for the answer to its offer (`signal`) that the budget refused on a relay goes first there among
1254
+ * the groups' signaling (`GROUP_SIGNALING_ALLOWANCE_SHARE`): the edges' offers and answers, their reads back after a
1255
+ * restart (`resume`) and their watch reads wait this long after the refusal, while it is not read, for what it could
1256
+ * take then. It waits for no group write the budget refused (`WRITE_FIRST_MS`), nor for the turn of a group's key that
1257
+ * is not read for an answer (`GROUP_RATION_WINDOW_MS`), and the groups' other urgent reads do not spend its burst
1258
+ * (`GROUP_BURST_MS`): it has one of its own. Of everything on the floor it is the closest to a member back: the
1259
+ * offer is out, and the member has often answered already. A daemon back after a restart had its edges' offers and
1260
+ * reads back spend the floor in its first seconds, and read the answers to offers it had out at 0.4 s only once the
1261
+ * minute freed: 66 to 97 s on, and an answer read that late often found the member's attempt over (agents#971, CLI lab,
1262
+ * 2026-11-03).
1263
+ */
1264
+ var ANSWER_READ_FIRST_MS = 5e3;
1265
+ /**
1266
+ * A group edge's read for the answer to its offer (`signal`) that everything else holds back (the limit, the groups'
1267
+ * allowance, the chats' reserve, a write the budget refused) goes within an allowance of its own on that relay: this
1268
+ * many in a minute, never more than the groups' allowance there (`GROUP_SIGNALING_ALLOWANCE_SHARE`: none on a relay of
1269
+ * 5), one at a time (`ANSWER_READ_SPACING_MS`). What it takes counts there alone, as a way back's (`WAY_BACK_SHARE`),
1270
+ * so it shortens no one else's minute. Going first on the floor (`ANSWER_READ_FIRST_MS`) was not enough: a daemon back
1271
+ * after a restart had its edges' reads back and offers spend its whole minute on each relay 6 s on, before any member
1272
+ * had answered (7 to 19 s on), and read the answers when the minute freed: from an answer going out to the hub
1273
+ * reading it, 60 to 66 s at the median in each of four runs. With this allowance, 2 to 60 s (14 s over the four runs,
1274
+ * against 63 s), and all 18 members were back 77 to 108 s on, against 102 to 153 s (agents#971, CLI lab, 2026-11-05).
1275
+ *
1276
+ * At worst it adds 3 to a relay's minute: 49 on a relay of 30 (pkarr.pubky.org allows 50), 95 on pkarr.pubky.app's 60,
1277
+ * and nothing on a relay of 5.
1278
+ */
1279
+ var ANSWER_READ_ALLOWANCE = 3;
1280
+ /** Within that allowance, an edge's read for its answer goes no more often than this on a relay (`ANSWER_READ_ALLOWANCE`). */
1281
+ var ANSWER_READ_SPACING_MS = 2e4;
1282
+ /**
1237
1283
  * Groups' urgent reads (their edges looking fast for a signal) take at most a quarter of a relay's minute in any this
1238
1284
  * long, so that they never spend it in a burst. An app back after a restart has every edge offering and looking fast at
1239
1285
  * once; the members at the other end answer only once they notice its old sessions went (about 20 s with
@@ -1471,8 +1517,9 @@ var RelayTransport = class {
1471
1517
  spentBackground = /* @__PURE__ */ new Map();
1472
1518
  /** Background writes on each relay in the last minute (`BACKGROUND_WRITES_SHARE`). */
1473
1519
  spentBackgroundWrites = /* @__PURE__ */ new Map();
1474
- /** Groups' urgent reads on each relay in the last `GROUP_BURST_MS`. */
1520
+ /** Groups' urgent reads on each relay in the last `GROUP_BURST_MS`: edges' reads for an answer apart (`ANSWER_READ_FIRST_MS`). */
1475
1521
  spentGroupUrgent = /* @__PURE__ */ new Map();
1522
+ spentAnswerUrgent = /* @__PURE__ */ new Map();
1476
1523
  /** Watch reads on each relay in the last `GROUP_RATION_WINDOW_MS` (`WATCH_SHARE`). */
1477
1524
  spentWatch = /* @__PURE__ */ new Map();
1478
1525
  /** 1:1 chats' watch reads on each relay in the last `GROUP_RATION_WINDOW_MS` (`CHAT_WATCH_SHARE`). */
@@ -1483,6 +1530,8 @@ var RelayTransport = class {
1483
1530
  spentGroupSignal = /* @__PURE__ */ new Map();
1484
1531
  /** Community members' ways back on each relay in the last minute: their allowance (`WAY_BACK_SHARE`). */
1485
1532
  spentWayBack = /* @__PURE__ */ new Map();
1533
+ /** Edges' reads for an answer that only their own allowance let through, on each relay in the last minute (`ANSWER_READ_ALLOWANCE`). */
1534
+ spentAnswerAllowance = /* @__PURE__ */ new Map();
1486
1535
  /** Per contact, its departed reads past the limit in the last minute, every relay together (`DEPARTED_READS`). */
1487
1536
  departedOver = /* @__PURE__ */ new Map();
1488
1537
  /**
@@ -1501,6 +1550,8 @@ var RelayTransport = class {
1501
1550
  groupsFullAt = /* @__PURE__ */ new Map();
1502
1551
  /** When a link's write was last refused on each relay (`chat <relay>`, `group <relay>`), while it waits for the budget. */
1503
1552
  writeWaiting = /* @__PURE__ */ new Map();
1553
+ /** Per relay, the keys whose edges' reads for an answer it last refused, and when, until one is read (`ANSWER_READ_FIRST_MS`). */
1554
+ answerReadWaiting = /* @__PURE__ */ new Map();
1504
1555
  /**
1505
1556
  * Per key a 1:1 chat asks for: when it last read urgently (for the next minute, groups leave it `CHAT_RESERVE` on
1506
1557
  * every relay) and when the budget last refused it on each relay (the same, on that relay). A read of the key at a
@@ -2279,9 +2330,14 @@ var RelayTransport = class {
2279
2330
  if (isGroupRead(who) && (this.spent.get(relay)?.length ?? 0) >= this.limitOf(relay)) this.groupsFullAt.set(relay, now);
2280
2331
  if (isChat(who)) this.chatNeed(key, now, relay);
2281
2332
  if (writer) this.writeWaiting.set(`${writer} ${relay}`, now);
2333
+ if (isGroupAnswerRead(who)) {
2334
+ const waiting = this.answerReadWaiting.get(relay) ?? /* @__PURE__ */ new Map();
2335
+ this.answerReadWaiting.set(relay, waiting.set(key, now));
2336
+ }
2282
2337
  return false;
2283
2338
  }
2284
2339
  if (writer) this.writeWaiting.delete(`${writer} ${relay}`);
2340
+ if (isGroupAnswerRead(who)) this.answerReadWaiting.get(relay)?.delete(key);
2285
2341
  if (isWayBack(who) && this.heldFor(relay, {
2286
2342
  ...who,
2287
2343
  back: false
@@ -2296,6 +2352,18 @@ var RelayTransport = class {
2296
2352
  });
2297
2353
  return true;
2298
2354
  }
2355
+ if (isGroupAnswerRead(who) && this.heldFor(relay, who, now, key, false, false) > 0) {
2356
+ this.spentAnswerAllowance.set(relay, [...this.spentAnswerAllowance.get(relay) ?? [], now]);
2357
+ this.readTurns.set(key, {
2358
+ servedAt: now,
2359
+ askedAt: now,
2360
+ waiting: false,
2361
+ watch: false,
2362
+ lane: watchLane(who),
2363
+ answer: true
2364
+ });
2365
+ return true;
2366
+ }
2299
2367
  if (isGroupSignal(who) && !who.write && this.spent.get(relay).length >= this.limitOf(relay)) this.spentGroupOver.get(relay).push(now);
2300
2368
  if (isGroupSignal(who)) this.spentGroupSignal.get(relay).push(now);
2301
2369
  const departedOver = isDepartedRead(who) && this.spent.get(relay).length >= this.limitOf(relay);
@@ -2303,7 +2371,8 @@ var RelayTransport = class {
2303
2371
  this.spent.get(relay).push(now);
2304
2372
  if (who.background) this.spentBackground.get(relay).push(now);
2305
2373
  if (who.background && who.write) this.spentBackgroundWrites.get(relay).push(now);
2306
- if (isGroupUrgentRead(who)) this.spentGroupUrgent.get(relay).push(now);
2374
+ if (isGroupUrgentRead(who) && isGroupAnswerRead(who)) this.spentAnswerUrgent.set(relay, [...this.spentAnswerUrgent.get(relay) ?? [], now]);
2375
+ else if (isGroupUrgentRead(who)) this.spentGroupUrgent.get(relay).push(now);
2307
2376
  if (isWatch(who)) this.spentWatch.get(relay).push(now);
2308
2377
  if (isChatWatch(who) && !departedOver) this.spentChatWatch.get(relay).push(now);
2309
2378
  if (isGroupRead(who)) this.spentGroupReads.get(relay).push(now);
@@ -2329,9 +2398,10 @@ var RelayTransport = class {
2329
2398
  * Who goes first: a chat's refused write holds back everything but chat writes; a group's refused write holds back
2330
2399
  * group reads and background requests, never a chat's. Background requests yield to a link that signals. A chat's
2331
2400
  * signaling goes over the limit by its allowance (`SIGNALING_ALLOWANCE_SHARE`), and so do a few of its reads of a
2332
- * contact that just went away (`DEPARTED_READS`).
2401
+ * contact that just went away (`DEPARTED_READS`). `ownAllowance` false: what holds an edge's read for its answer
2402
+ * without its own allowance (`ANSWER_READ_ALLOWANCE`).
2333
2403
  */
2334
- heldFor(relay, who, now = Date.now(), key, turns = true) {
2404
+ heldFor(relay, who, now = Date.now(), key, turns = true, ownAllowance = true) {
2335
2405
  const recent = (this.spent.get(relay) ?? []).filter((at) => now - at < 6e4);
2336
2406
  const recentBackground = (this.spentBackground.get(relay) ?? []).filter((at) => now - at < 6e4);
2337
2407
  this.spent.set(relay, recent);
@@ -2360,9 +2430,12 @@ var RelayTransport = class {
2360
2430
  }
2361
2431
  const burst = (this.spentGroupUrgent.get(relay) ?? []).filter((at) => now - at < GROUP_BURST_MS);
2362
2432
  this.spentGroupUrgent.set(relay, burst);
2433
+ const answerBurst = (this.spentAnswerUrgent.get(relay) ?? []).filter((at) => now - at < GROUP_BURST_MS);
2434
+ this.spentAnswerUrgent.set(relay, answerBurst);
2363
2435
  if (isGroupUrgentRead(who)) {
2364
2436
  const most = Math.max(8, Math.floor(limit * GROUP_BURST_MS / 6e4));
2365
- if (burst.length >= most) wait = Math.max(wait, burst[burst.length - most] + GROUP_BURST_MS - now);
2437
+ const spent = isGroupAnswerRead(who) ? answerBurst : burst;
2438
+ if (spent.length >= most) wait = Math.max(wait, spent[spent.length - most] + GROUP_BURST_MS - now);
2366
2439
  }
2367
2440
  const watched = (this.spentWatch.get(relay) ?? []).filter((at) => now - at < GROUP_RATION_WINDOW_MS);
2368
2441
  this.spentWatch.set(relay, watched);
@@ -2385,7 +2458,7 @@ var RelayTransport = class {
2385
2458
  if (isGroupRead(who) && !pastLimit && now - (this.groupsFullAt.get(relay) ?? -Infinity) < GROUP_RATION_MS) {
2386
2459
  const most = Math.max(1, Math.ceil(limit * GROUP_RATION_WINDOW_MS / 6e4));
2387
2460
  if (rationed.length >= most) wait = Math.max(wait, rationed[rationed.length - most] + GROUP_RATION_WINDOW_MS - now);
2388
- if (this.readsAhead(key, now) > 0) turn = TURN_WAIT_MS;
2461
+ if (this.readsAhead(key, now, void 0, isGroupAnswerRead(who)) > 0) turn = TURN_WAIT_MS;
2389
2462
  }
2390
2463
  if (who.group && !groupFloor || who.background) {
2391
2464
  const reserved = this.chatReservedFor(relay, now);
@@ -2397,11 +2470,44 @@ var RelayTransport = class {
2397
2470
  return at !== void 0 && now - at < 5e3 ? at + WRITE_FIRST_MS - now : 0;
2398
2471
  };
2399
2472
  if (writer !== "chat" && !departed && !starved) wait = Math.max(wait, waiting("chat"));
2400
- if ((writer === null && who.group && !pastLimit || who.background) && !starved) wait = Math.max(wait, waiting("group"));
2473
+ if ((writer === null && who.group && !pastLimit && !isGroupAnswerRead(who) || who.background) && !starved) wait = Math.max(wait, waiting("group"));
2474
+ if (isGroupSignal(who) && !isGroupAnswerRead(who)) {
2475
+ const ahead = this.answerReadAhead(relay, now);
2476
+ if (ahead && this.heldFor(relay, ANSWER_READER, now, ahead.key, false, false) <= 0) wait = Math.max(wait, ahead.ms);
2477
+ }
2401
2478
  if (turns && wait <= 0 && isTurnRead(who) && this.turnAhead(relay, key, who, now)) turn = TURN_WAIT_MS;
2402
2479
  if (wait > 0 && isWayBack(who) && this.wayBackLeft(relay, who, now) > 0) return 0;
2480
+ if (wait > 0 && ownAllowance && isGroupAnswerRead(who) && this.answerAllowanceFree(relay, now)) return 0;
2403
2481
  return Math.max(wait, turn, 0);
2404
2482
  }
2483
+ /**
2484
+ * The edges' reads for their answers may take their own allowance on this relay now (`ANSWER_READ_ALLOWANCE`): fewer
2485
+ * than it in the last minute, and none within `ANSWER_READ_SPACING_MS`. None where the groups have no allowance.
2486
+ */
2487
+ answerAllowanceFree(relay, now) {
2488
+ const spent = (this.spentAnswerAllowance.get(relay) ?? []).filter((at) => now - at < 6e4);
2489
+ this.spentAnswerAllowance.set(relay, spent);
2490
+ const most = Math.min(3, Math.floor(this.limitOf(relay) * GROUP_SIGNALING_ALLOWANCE_SHARE));
2491
+ return spent.length < most && (spent.length === 0 || now - spent[spent.length - 1] >= 2e4);
2492
+ }
2493
+ /**
2494
+ * The edges' reads for their answers the budget refused on this relay within `ANSWER_READ_FIRST_MS`, still not read:
2495
+ * the key refused last, and how long the groups' other signaling waits for them there. Undefined when there is none.
2496
+ */
2497
+ answerReadAhead(relay, now) {
2498
+ const waiting = this.answerReadWaiting.get(relay);
2499
+ if (!waiting) return void 0;
2500
+ let last;
2501
+ for (const [key, at] of waiting) if (now - at >= 5e3) waiting.delete(key);
2502
+ else if (!last || at > last.at) last = {
2503
+ key,
2504
+ at
2505
+ };
2506
+ return last && {
2507
+ key: last.key,
2508
+ ms: last.at + 5e3 - now
2509
+ };
2510
+ }
2405
2511
  /** What is left of the community members' way back allowance on this relay (`WAY_BACK_SHARE`); its reads leave a write the last of it. */
2406
2512
  wayBackLeft(relay, who, now) {
2407
2513
  const spent = (this.spentWayBack.get(relay) ?? []).filter((at) => now - at < 6e4);
@@ -2417,20 +2523,23 @@ var RelayTransport = class {
2417
2523
  askedAt: now,
2418
2524
  waiting: true,
2419
2525
  watch: isWatch(who) || isChatWatch(who),
2420
- lane: watchLane(who)
2526
+ lane: watchLane(who),
2527
+ answer: isGroupAnswerRead(who)
2421
2528
  });
2422
2529
  }
2423
2530
  /**
2424
2531
  * Keys a group reads, still asking (within `WATCH_TURN_MS`), that were read longer ago than `key`: a share keeps a
2425
2532
  * request for each. With `watchLane`, only watched keys the same other limits hold: one the groups' burst holds back
2426
- * would keep a turn it cannot take. The chats' watched keys only in their own lane (`CHAT_WATCH_SHARE`).
2533
+ * would keep a turn it cannot take. The chats' watched keys only in their own lane (`CHAT_WATCH_SHARE`). `answer`: an
2534
+ * edge's read for its answer, which waits only for the others' (`ANSWER_READ_FIRST_MS`).
2427
2535
  */
2428
- readsAhead(key, now, watchLane) {
2536
+ readsAhead(key, now, watchLane, answer = false) {
2429
2537
  const mine = key === void 0 ? -Infinity : this.readTurns.get(key)?.servedAt ?? -Infinity;
2430
2538
  let ahead = 0;
2431
2539
  for (const [other, turn] of this.readTurns) {
2432
2540
  if (other === key || !turn.waiting || now - turn.askedAt >= WATCH_TURN_MS) continue;
2433
2541
  if (watchLane !== void 0 ? !turn.watch || turn.lane !== watchLane : turn.lane === "chat") continue;
2542
+ if (answer && !turn.answer) continue;
2434
2543
  if (turn.servedAt < mine) ahead++;
2435
2544
  }
2436
2545
  return ahead;
@@ -7050,6 +7159,8 @@ var ICE_UFRAG = /^[A-Za-z0-9+/]{4,256}$/;
7050
7159
  var ICE_PWD = /^[A-Za-z0-9+/]{22,256}$/;
7051
7160
  var ICE_FOUNDATION = /^[A-Za-z0-9+/]{1,32}$/;
7052
7161
  var CANDIDATE_ADDRESS = /^[A-Za-z0-9.:-]{1,64}$/;
7162
+ var IPV4 = /^(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}$/;
7163
+ var MDNS_NAME = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\.local$/;
7053
7164
  var CANDIDATE_TYPES$1 = /* @__PURE__ */ new Set([
7054
7165
  "host",
7055
7166
  "srflx",
@@ -7059,6 +7170,24 @@ var CANDIDATE_TYPES$1 = /* @__PURE__ */ new Set([
7059
7170
  var EXTENSION_TOKEN = /^[A-Za-z0-9+/._-]{1,64}$/;
7060
7171
  var DIGITS = /^\d{1,10}$/;
7061
7172
  var MAX_CANDIDATES = 8;
7173
+ function isIpv6(text) {
7174
+ const halves = text.split("::");
7175
+ if (halves.length > 2) return false;
7176
+ const groups = halves.flatMap((half) => half ? half.split(":") : []);
7177
+ const v4 = groups.length > 0 && IPV4.test(groups[groups.length - 1]);
7178
+ if (v4) groups.pop();
7179
+ if (!groups.every((group) => /^[0-9a-fA-F]{1,4}$/.test(group))) return false;
7180
+ const count = groups.length + (v4 ? 2 : 0);
7181
+ return halves.length === 2 ? count < 8 : count === 8;
7182
+ }
7183
+ /**
7184
+ * Whether a contact's candidate address may go into this device's remote description: an IPv4 or IPv6 literal, or the
7185
+ * `<uuid>.local` name a browser gives its host candidate. Any other name would have this side's ICE agent look it up in
7186
+ * DNS, a request the contact chose, whatever the relay policy says.
7187
+ */
7188
+ function isCandidateAddress(address) {
7189
+ return IPV4.test(address) || MDNS_NAME.test(address) || address.includes(":") && isIpv6(address);
7190
+ }
7062
7191
  function uint(value, max) {
7063
7192
  if (!DIGITS.test(value)) return null;
7064
7193
  const n = Number(value);
@@ -7068,7 +7197,8 @@ function uint(value, max) {
7068
7197
  * Parses the part of an `a=candidate:` line that the signal carries
7069
7198
  * (`foundation component transport priority address port typ type [raddr a rport p] [ext value]...`)
7070
7199
  * and serializes it again from the validated parts. Returns `undefined` for a
7071
- * well-formed candidate that is not UDP (skipped) and `null` for anything malformed.
7200
+ * well-formed candidate that is not UDP or not on an address (`isCandidateAddress`), skipped, and `null` for anything
7201
+ * malformed.
7072
7202
  */
7073
7203
  function normalizeCandidate(candidate) {
7074
7204
  if (typeof candidate !== "string" || candidate.length > 512) return null;
@@ -7097,6 +7227,7 @@ function normalizeCandidate(candidate) {
7097
7227
  } else if (!EXTENSION_TOKEN.test(value)) return null;
7098
7228
  }
7099
7229
  if (transport.toLowerCase() !== "udp") return void 0;
7230
+ if (!isCandidateAddress(address) || raddr !== null && !isCandidateAddress(raddr)) return void 0;
7100
7231
  let line = `${foundation} ${component} udp ${priority} ${address} ${port} typ ${type}`;
7101
7232
  if (raddr !== null && rport !== null) line += ` raddr ${raddr} rport ${rport}`;
7102
7233
  return line;
@@ -7542,6 +7673,7 @@ function parseRtcSignal(json) {
7542
7673
  const [type, address, port] = c.split(",");
7543
7674
  if (!CANDIDATE_TYPE_NAME[type] || !SAFE_ADDRESS.test(address ?? "") || !/^\d{1,5}$/.test(port ?? "")) return null;
7544
7675
  }
7676
+ const c = raw.c.filter((candidate) => isCandidateAddress(candidate.split(",")[1]));
7545
7677
  return {
7546
7678
  t: raw.t,
7547
7679
  ts: raw.ts,
@@ -7550,7 +7682,7 @@ function parseRtcSignal(json) {
7550
7682
  p: raw.p,
7551
7683
  f: raw.f,
7552
7684
  s: raw.s,
7553
- c: raw.c
7685
+ c
7554
7686
  };
7555
7687
  }
7556
7688
  function buildDataSdp(signal) {
@@ -8541,6 +8673,14 @@ var OFFER_LOOK_MS = 9e4;
8541
8673
  */
8542
8674
  var SIGNAL_OUT_READS = 3;
8543
8675
  /**
8676
+ * The first fast reads once the contact's offer is due now (`expectPeer(…, true)`: the chat just left DHT only, on
8677
+ * both sides) are signaling too, as many as after an answer, until one finds a new signal of the contact's. As plain
8678
+ * reads, an extension whose relay minute was spent read its contact once as it came back from DHT only, and the next
8679
+ * read waited 41 s: the offer out since then was never read, and the matrix's chat stayed "On DHT · retrying live" for
8680
+ * 45 s (E2E full, 2026-11-05).
8681
+ */
8682
+ var SIGNAL_DUE_READS = 3;
8683
+ /**
8544
8684
  * How long a link looks fast when its peer, or the peer's offer, is due any moment. The peer that
8545
8685
  * dials does so as soon as it sees the other one here, and its offer lands in its packet a moment
8546
8686
  * after its presence did: without this the side that answers left the offer to a background poll
@@ -8665,6 +8805,10 @@ var LinkSession = class {
8665
8805
  lastCallSignalIn = null;
8666
8806
  /** The `_rtc` signal the last packet that went out carried. */
8667
8807
  rtcSignalOut = null;
8808
+ /** Counts the signals taken back (`setRtcSignal(null)`): each ends an attempt. */
8809
+ rtcAttempt = 0;
8810
+ /** A publish that went out carried a signal of this attempt (since the last take-back). */
8811
+ rtcAttemptOut = false;
8668
8812
  lastRtcSignalIn = null;
8669
8813
  /** The `_rtc` signal the peer's packet carried as last read (null: none), whether or not it was new. */
8670
8814
  peerRtcSignal = null;
@@ -8674,6 +8818,8 @@ var LinkSession = class {
8674
8818
  /** When a read first found the peer's packet advertising with no `_tr` (0: the last packet that said carried one). */
8675
8819
  transportsAbsentSince = 0;
8676
8820
  transportsGone = false;
8821
+ /** The peer's packet carried a `_tr` and the last read found none (`onPeerTransportsUnsaid`). */
8822
+ transportsUnsaid = false;
8677
8823
  running = false;
8678
8824
  /** Stopped without a last packet (`stop(false)`): nothing more goes out. */
8679
8825
  silent = false;
@@ -8702,6 +8848,8 @@ var LinkSession = class {
8702
8848
  fastStepsAfter = 0;
8703
8849
  /** Fast reads still signaling since this side's last new offer or answer went out (`SIGNAL_OUT_READS`). */
8704
8850
  signalReadsLeft = 0;
8851
+ /** Fast reads still signaling while the contact's offer is due (`SIGNAL_DUE_READS`). */
8852
+ dueSignalReadsLeft = 0;
8705
8853
  /** When the last `expectPeer` window ends (or ended): the pace slows down from there step by step. */
8706
8854
  expectUntil = 0;
8707
8855
  /**
@@ -8771,6 +8919,13 @@ var LinkSession = class {
8771
8919
  get peerPresence() {
8772
8920
  return this.presence;
8773
8921
  }
8922
+ /**
8923
+ * The relays took a WebRTC signal of this attempt: its answer, or an earlier one of it. Not an earlier attempt's still
8924
+ * in the packet out: its take-back, a background write, is the first the relays' budget holds back.
8925
+ */
8926
+ get rtcSignalPublished() {
8927
+ return this.rtcAttemptOut;
8928
+ }
8774
8929
  /** The `_rtc` signal the peer's packet carries, as last read: null when it carries none. */
8775
8930
  get peerSignal() {
8776
8931
  return this.peerRtcSignal;
@@ -8857,21 +9012,24 @@ var LinkSession = class {
8857
9012
  setFastPoll(fast, offer = false) {
8858
9013
  this.fastPollUntil = fast ? Date.now() + (offer ? OFFER_LOOK_MS : FAST_POLL_MAX_MS) : 0;
8859
9014
  this.fastStepsAfter = fast && offer ? Date.now() + OFFER_FAST_MS : 0;
8860
- this.signalReadsLeft = 0;
9015
+ this.signalReadsLeft = this.dueSignalReadsLeft = 0;
8861
9016
  if (fast) this.pollNow();
8862
9017
  }
8863
9018
  /**
8864
9019
  * The peer, or its offer, is due any moment: poll fast for `EXPECT_PEER_MS` (never cutting a longer fast window short),
8865
- * then slow down step by step (`nextInterval`) rather than at once.
9020
+ * then slow down step by step (`nextInterval`) rather than at once. `signal`: its offer is due now (it may be out
9021
+ * already): a read goes at once, even inside a window already looking fast, and the first reads that look for it are
9022
+ * signaling (`SIGNAL_DUE_READS`).
8866
9023
  */
8867
- expectPeer(awaited = false) {
9024
+ expectPeer(awaited = false, signal = false) {
8868
9025
  const until = Date.now() + EXPECT_PEER_MS;
8869
9026
  this.expectUntil = Math.max(this.expectUntil, until);
8870
9027
  if (awaited) this.awaitedUntil = Math.max(this.awaitedUntil, until);
9028
+ if (signal) this.dueSignalReadsLeft = 3;
8871
9029
  const stepping = this.fastStepsAfter > 0 && Date.now() >= this.fastStepsAfter;
8872
9030
  if (this.fastStepsAfter) this.fastStepsAfter = Math.max(this.fastStepsAfter, until);
8873
9031
  if (until <= this.fastPollUntil) {
8874
- if (stepping) this.pollNow();
9032
+ if (stepping || signal) this.pollNow();
8875
9033
  return;
8876
9034
  }
8877
9035
  this.fastPollUntil = until;
@@ -8896,7 +9054,7 @@ var LinkSession = class {
8896
9054
  */
8897
9055
  calm() {
8898
9056
  if (this.rtcSignal !== null) return;
8899
- this.fastPollUntil = this.fastStepsAfter = this.expectUntil = this.watchUntil = this.lingerUntil = 0;
9057
+ this.fastPollUntil = this.fastStepsAfter = this.expectUntil = this.watchUntil = this.lingerUntil = this.dueSignalReadsLeft = 0;
8900
9058
  }
8901
9059
  /** The data link carries chat and services while it is up. */
8902
9060
  setDataLinkOpen(open) {
@@ -8954,6 +9112,10 @@ var LinkSession = class {
8954
9112
  async setRtcSignal(signal, reportFailure = false) {
8955
9113
  if (this.rtcSignal === signal) return;
8956
9114
  this.rtcSignal = signal;
9115
+ if (signal === null) {
9116
+ this.rtcAttempt++;
9117
+ this.rtcAttemptOut = false;
9118
+ }
8957
9119
  if (reportFailure) await this.publish(signal === null);
8958
9120
  else await this.publish(signal === null).catch(() => {});
8959
9121
  if (signal) this.pollNow();
@@ -9103,6 +9265,7 @@ var LinkSession = class {
9103
9265
  }
9104
9266
  async publishOnce(advertise, upkeep = false) {
9105
9267
  const rtcSignal = advertise ? this.rtcSignal : null;
9268
+ const attempt = this.rtcAttempt;
9106
9269
  const started = Date.now();
9107
9270
  let keptMessages;
9108
9271
  try {
@@ -9156,6 +9319,7 @@ var LinkSession = class {
9156
9319
  if (lapsed) this.pollNow();
9157
9320
  }
9158
9321
  this.rtcSignalOut = rtcSignal;
9322
+ if (rtcSignal && attempt === this.rtcAttempt) this.rtcAttemptOut = true;
9159
9323
  traceLink(this.identity.pubKeyZ32, "publish", {
9160
9324
  ms,
9161
9325
  rtc: !!rtcSignal,
@@ -9191,14 +9355,23 @@ var LinkSession = class {
9191
9355
  });
9192
9356
  const started = Date.now();
9193
9357
  let heldBackMs;
9358
+ /** This read is one of `SIGNAL_DUE_READS`: one the budget held back asked nothing of the relays, and is not counted. */
9359
+ let dueRead = false;
9194
9360
  try {
9195
9361
  const pace = this.pace();
9196
- const signal = pace === "fast" && this.rtcSignalOut !== null && (this.fastStepsAfter > 0 || this.signalReadsLeft > 0);
9197
- if (signal && !this.fastStepsAfter) this.signalReadsLeft--;
9362
+ const signalOut = pace === "fast" && this.rtcSignalOut !== null && (this.fastStepsAfter > 0 || this.signalReadsLeft > 0);
9363
+ const signal = signalOut || pace === "fast" && this.dueSignalReadsLeft > 0;
9364
+ if (signalOut) {
9365
+ if (!this.fastStepsAfter) this.signalReadsLeft--;
9366
+ } else if (signal) {
9367
+ this.dueSignalReadsLeft--;
9368
+ dueRead = true;
9369
+ }
9198
9370
  const watch = !signal && this.watching();
9199
9371
  const departed = !signal && Date.now() < this.departedUntil;
9200
9372
  const background = pace === "background" || pace === "connected" || pace === "idle" && !this.active;
9201
9373
  const resume = !signal && !watch && (this.resumeReads || Date.now() < this.awaitedUntil);
9374
+ let unread;
9202
9375
  const packet = await this.transport.resolve(this.peerPubKeyZ32, {
9203
9376
  background,
9204
9377
  urgent: pace === "fast",
@@ -9206,9 +9379,13 @@ var LinkSession = class {
9206
9379
  ...watch && { watch },
9207
9380
  ...departed && { departed },
9208
9381
  ...resume && { resume }
9382
+ }, false).catch((error) => {
9383
+ if (!(error instanceof RelaysFailedError)) throw error;
9384
+ unread = error;
9385
+ return error.kept;
9209
9386
  });
9210
9387
  if (!this.running) return;
9211
- this.discoveryResult("read");
9388
+ this.discoveryResult("read", unread);
9212
9389
  const ms = Date.now() - started;
9213
9390
  const wasOnline = this.presence.online, wasSeen = this.presence.lastPacketAt;
9214
9391
  const readBefore = this.lastReadAt, peerPacketBefore = this.peerPacketAt;
@@ -9257,8 +9434,16 @@ var LinkSession = class {
9257
9434
  this.lastTransportsIn = batch.transports;
9258
9435
  this.events.onPeerTransports?.(batch.transports);
9259
9436
  }
9437
+ if (this.transportsUnsaid) {
9438
+ this.transportsUnsaid = false;
9439
+ this.events.onPeerTransportsUnsaid?.(false);
9440
+ }
9260
9441
  } else if (batch.services !== null && !this.transportsGone) {
9261
9442
  this.transportsAbsentSince ||= Date.now();
9443
+ if (!this.transportsUnsaid && this.lastTransportsIn !== null) {
9444
+ this.transportsUnsaid = true;
9445
+ this.events.onPeerTransportsUnsaid?.(true);
9446
+ }
9262
9447
  if (Date.now() - this.transportsAbsentSince >= 12e4) {
9263
9448
  this.transportsGone = true;
9264
9449
  this.lastTransportsIn = null;
@@ -9283,6 +9468,7 @@ var LinkSession = class {
9283
9468
  first: wasSeen === 0
9284
9469
  });
9285
9470
  if (newSignal) {
9471
+ this.dueSignalReadsLeft = 0;
9286
9472
  this.lastRtcSignalIn = batch.rtcSignal;
9287
9473
  this.events.onRtcSignal?.(batch.rtcSignal, readBefore ? {
9288
9474
  since: readBefore,
@@ -9319,6 +9505,7 @@ var LinkSession = class {
9319
9505
  }
9320
9506
  } finally {
9321
9507
  this.polling = false;
9508
+ if (dueRead && heldBackMs !== void 0) this.dueSignalReadsLeft++;
9322
9509
  if (this.running && this.pollAgain) {
9323
9510
  this.pollAgain = false;
9324
9511
  if (this.pollTimer) clearTimeout(this.pollTimer);
@@ -9484,6 +9671,17 @@ var ANSWER_REFUSED_AFTER_MS = 1e3;
9484
9671
  /** An offer this close to the end of the offerer's attempt is not answered again: the new answer would come too late. */
9485
9672
  var REANSWER_MARGIN_MS = 15e3;
9486
9673
  /**
9674
+ * An answer to this side's offer that comes this long or more after the offer reached the relays was read late (the
9675
+ * relays' request budget held the read back, a restart's first minute), and an attempt that ends after this side made
9676
+ * its answer again (`REANSWERS`) this long after it took an offer that still stands answered one the offerer has not
9677
+ * read yet. Neither says anything about direct connections (`DirectEvidence`): the answering side's ICE gives up about
9678
+ * 30 s after its answer with no reply, so the answer that went in late found nobody there, and the offerer gives up on
9679
+ * the attempt and offers again. Taken for a network that lets nothing through, a group's edge went native on both
9680
+ * sides, and past the native slots members stayed unreachable for the rest of a restart lab (agents#971, 2026-11-03):
9681
+ * of 38 answers read 60 s or more after their offer, 13 connected nothing; of 78 read within 20 s, none failed.
9682
+ */
9683
+ var LATE_ANSWER_MS = 2e4;
9684
+ /**
9487
9685
  * Traces the candidate pair an opened data link uses, by type only (host, srflx, prflx, relay; never an address): two
9488
9686
  * devices on one network should meet host to host. A connection without stats (a test's fake) traces nothing.
9489
9687
  */
@@ -9513,6 +9711,10 @@ var DataLink = class {
9513
9711
  /** Each connection's listeners, and its data channel's (`wrapDataChannel`), dropped once it is closed. */
9514
9712
  ends = /* @__PURE__ */ new WeakMap();
9515
9713
  myOfferTs = 0;
9714
+ /** When this side's offer reached the relays, as far as this link knows (`signalWentOut`). */
9715
+ myOfferOutAt = 0;
9716
+ /** The answer to this side's offer came `LATE_ANSWER_MS` or more after the offer went out. */
9717
+ answerCameLate = false;
9516
9718
  /**
9517
9719
  * An offer or answer of this side's that went without a public candidate came to nothing (both descriptions were
9518
9720
  * exchanged, and no path connected): the next one waits for its STUN servers as long as it takes
@@ -9565,7 +9767,8 @@ var DataLink = class {
9565
9767
  this.setState("offering");
9566
9768
  this.options.setFastPoll(true, true);
9567
9769
  }
9568
- this.myOfferTs = Date.now();
9770
+ this.myOfferTs = this.myOfferOutAt = Date.now();
9771
+ this.answerCameLate = false;
9569
9772
  this.sentLacksPublic = !PUBLIC_CANDIDATE.test(pc.localDescription?.sdp ?? "");
9570
9773
  const signal = {
9571
9774
  t: "o",
@@ -9632,6 +9835,9 @@ var DataLink = class {
9632
9835
  } else if (this.state === "offering" && signal.o === this.myOfferTs && this.pc) {
9633
9836
  this.lastSignalTs = signal.ts;
9634
9837
  const pc = this.pc;
9838
+ const sinceOffer = Date.now() - this.myOfferOutAt;
9839
+ this.answerCameLate = sinceOffer >= LATE_ANSWER_MS;
9840
+ if (this.answerCameLate) traceLink(this.options.myPubKeyZ32, "answer-late", { ms: sinceOffer });
9635
9841
  try {
9636
9842
  this.remoteSdp = buildDataSdp(signal);
9637
9843
  await pc.setRemoteDescription({
@@ -9664,6 +9870,28 @@ var DataLink = class {
9664
9870
  return null;
9665
9871
  }
9666
9872
  }
9873
+ /**
9874
+ * The answer this side's offer is connecting on came `LATE_ANSWER_MS` or more after the offer went out: if it connects
9875
+ * nothing, that says nothing about direct connections, and the link offers again (`GhostLink`'s stall of a group link).
9876
+ */
9877
+ get answerLate() {
9878
+ return this.state === "connecting" && !!this.myOfferTs && this.answerCameLate;
9879
+ }
9880
+ /**
9881
+ * This side answered, and no answer of its went out in this attempt (`signalOut`: the relays' budget held every one
9882
+ * back): the offerer never had one to try (agents#1637). The answering side's twin of `answerLate`.
9883
+ */
9884
+ get answerNotOut() {
9885
+ return this.state === "connecting" && !this.myOfferTs && this.options.signalOut?.() === false;
9886
+ }
9887
+ /**
9888
+ * This attempt, if it ends now without opening, says nothing about direct connections: the answer to this side's offer
9889
+ * was read late (`answerLate`), or this side's answer never went out (`answerNotOut`). An answer made again and still
9890
+ * unread `LATE_ANSWER_MS` on (`failed`) is the same case, seen from the offer that still stands.
9891
+ */
9892
+ get saysNothing() {
9893
+ return this.answerLate || this.answerNotOut;
9894
+ }
9667
9895
  /** The peer connection this link holds now (null when idle): a later one is another attempt. */
9668
9896
  get connection() {
9669
9897
  return this.pc;
@@ -9689,7 +9917,7 @@ var DataLink = class {
9689
9917
  * nothing: the next offer or answer gathers for as long as it takes.
9690
9918
  */
9691
9919
  noteNoPublic(ended) {
9692
- if (ended && (this.myOfferTs || this.answered) && this.sentLacksPublic && this.state === "connecting") this.fullGather = true;
9920
+ if (ended && !this.saysNothing && (this.myOfferTs || this.answered) && this.sentLacksPublic && this.state === "connecting") this.fullGather = true;
9693
9921
  }
9694
9922
  /**
9695
9923
  * What this attempt says about direct connections if it ends now without opening: nothing unless both descriptions
@@ -9697,7 +9925,7 @@ var DataLink = class {
9697
9925
  * candidate, a public port per STUN server, or (for the side that offered) candidates that read as reachable.
9698
9926
  */
9699
9927
  directEvidence() {
9700
- if (this.state !== "connecting" || !this.pc) return null;
9928
+ if (this.state !== "connecting" || !this.pc || this.saysNothing) return null;
9701
9929
  const local = this.pc.localDescription?.sdp ?? "";
9702
9930
  return !PUBLIC_CANDIDATE.test(local) ? "no-public" : symmetricNat(local) ? "symmetric" : this.myOfferTs ? "no-path" : null;
9703
9931
  }
@@ -9718,8 +9946,13 @@ var DataLink = class {
9718
9946
  const answered = this.state === "connecting" ? this.answered : null;
9719
9947
  const left = answered ? CONNECT_TIMEOUT_MS - (Date.now() - answered.at) : 0;
9720
9948
  const givenUp = !!answered && this.options.offerStanding?.(answered.offer.ts) === false;
9721
- const evidence = givenUp ? null : this.directEvidence();
9722
- this.noteNoPublic(!givenUp);
9949
+ const unread = !!answered && answered.again > 0 && Date.now() - answered.at >= 2e4 && this.options.offerStanding?.(answered.offer.ts) === true;
9950
+ if (unread) traceLink(this.options.myPubKeyZ32, "answer-unread", {
9951
+ again: answered.again,
9952
+ sinceMs: Date.now() - answered.at
9953
+ });
9954
+ const evidence = givenUp || unread ? null : this.directEvidence();
9955
+ this.noteNoPublic(!givenUp && !unread);
9723
9956
  if (answered && answered.again < 2 && left > REANSWER_MARGIN_MS && this.options.offerStanding?.(answered.offer.ts)) {
9724
9957
  answered.again++;
9725
9958
  traceLink(this.options.myPubKeyZ32, "reanswer", {
@@ -9875,6 +10108,7 @@ var DataLink = class {
9875
10108
  * counts from here, so the other side has as long to read it as if it had gone out at once.
9876
10109
  */
9877
10110
  signalWentOut() {
10111
+ if (this.state === "offering" && this.myOfferTs) this.myOfferOutAt = Date.now();
9878
10112
  if (this.pc && this.connectTimer && this.state !== "open" && this.state !== "idle") this.startAttemptTimer(this.pc);
9879
10113
  }
9880
10114
  clearTimers() {
@@ -9886,7 +10120,8 @@ var DataLink = class {
9886
10120
  this.clearTimers();
9887
10121
  const pc = this.pc;
9888
10122
  this.pc = null;
9889
- this.myOfferTs = 0;
10123
+ this.myOfferTs = this.myOfferOutAt = 0;
10124
+ this.answerCameLate = false;
9890
10125
  this.remoteSdp = null;
9891
10126
  if (!pc) return false;
9892
10127
  this.closeConnection(pc);
@@ -12956,6 +13191,7 @@ var DhtDelivery = class DhtDelivery {
12956
13191
  this.lastPublish = 0;
12957
13192
  this.leavingUntil = mode === "stream" ? Date.now() + LEAVING_DHT_FAST_MS : 0;
12958
13193
  if (mode === "dht") this.signalReads = 0;
13194
+ else if (this.state.peerMode === "dht") this.signalReads = 3;
12959
13195
  this.changed();
12960
13196
  });
12961
13197
  this.tick();
@@ -13755,6 +13991,7 @@ var DhtDelivery = class DhtDelivery {
13755
13991
  if (isDiscoveryBudgetError(error)) this.readHeld(error.retryInMs);
13756
13992
  else if (readAt >= this.networkBackAt) this.errors.read = `Could not read DHT delivery: ${error instanceof Error ? error.message : String(error)}`;
13757
13993
  }
13994
+ if (signal && this.readHeldUntil > 0) this.signalReads++;
13758
13995
  if (this.state.peerMode !== "dht") this.signalReads = 0;
13759
13996
  await this.publishOnTick();
13760
13997
  this.changed();
@@ -15600,7 +15837,7 @@ async function verifyPeerProof(event, c, readStorage) {
15600
15837
  if (sig.length !== 64 || !verify(sig, data, fromZ32(c.externalKey))) throw new Error("Invalid Pubky signature");
15601
15838
  } else if (c.adapter === "keet-import") {
15602
15839
  if (sig.length !== 107 || sig[0] !== 1 || sig[41] !== 0 || sig[42] !== 1) throw new Error("Unsupported Keet attestation");
15603
- const { default: IdentityKey } = await import("./keet-identity-key-DyvuvnRO.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
15840
+ const { default: IdentityKey } = await import("./keet-identity-key-BgbqG2dL.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
15604
15841
  if (!IdentityKey.verify(b4a.from(sig), b4a.from(data), { expectedIdentity: b4a.from(unhex(c.externalKey)) })) throw new Error("Invalid Keet attestation");
15605
15842
  } else throw new Error("Unsupported proof adapter");
15606
15843
  }
@@ -16120,6 +16357,24 @@ var IdentityCheckUnavailable = class extends Error {
16120
16357
  var IDENTITY_CHECK_UNAVAILABLE = "Your contact's app could not check it. Try again later.";
16121
16358
  var TOO_MANY_RECEIVED = "Your contact keeps too many identities from you already";
16122
16359
  var peerError = (e) => e instanceof IdentityCheckUnavailable ? IDENTITY_CHECK_UNAVAILABLE : shortError(e);
16360
+ var UNSUPPORTED_KIND = "Your contact's app cannot verify this kind of identity yet";
16361
+ var NOT_IN_PROFILE = "That identity is no longer in your profile";
16362
+ var CONTACT_REFUSED = "Your contact could not verify it";
16363
+ var EXPIRED = "The proof has expired";
16364
+ /** The refusals a contact's app writes itself (onRequest, onPresent): the only words of its `idp-result` kept as they came. */
16365
+ var CONTACT_REFUSALS = /* @__PURE__ */ new Set([
16366
+ UNSUPPORTED_KIND,
16367
+ IDENTITY_CHECK_UNAVAILABLE,
16368
+ TOO_MANY_RECEIVED,
16369
+ REVOKED,
16370
+ EXPIRED
16371
+ ]);
16372
+ /**
16373
+ * Why a share of mine was not accepted, as this app may say it under my identity: one of the refusals above or my own
16374
+ * app's line; else nothing past "not verified". Any other words came from the contact (a ledger kept before this check)
16375
+ * and would read as this app's own notice.
16376
+ */
16377
+ var identityRefusal = (error) => typeof error === "string" && (CONTACT_REFUSALS.has(error) || error === NOT_IN_PROFILE) ? error : void 0;
16123
16378
  /**
16124
16379
  * The `idp-*` exchange of one conversation. Frames (all JSON, additive, over the paired channel,
16125
16380
  * only when both offers carry `identity-proof/1`):
@@ -16135,6 +16390,8 @@ var IdentityExchange = class {
16135
16390
  options;
16136
16391
  peerProviders;
16137
16392
  requested = /* @__PURE__ */ new Set();
16393
+ /** The nonces of the presentations in their provider's check now. */
16394
+ checking = /* @__PURE__ */ new Set();
16138
16395
  constructor(options) {
16139
16396
  this.options = options;
16140
16397
  }
@@ -16224,19 +16481,24 @@ var IdentityExchange = class {
16224
16481
  }
16225
16482
  /** Stop sharing here. The contact is told (now or on reconnect); a copy it kept cannot be erased. */
16226
16483
  async withdraw(id, connected) {
16227
- const s = this.shared(id);
16484
+ let s = this.shared(id);
16228
16485
  if (!s || s.status === "withdrawn") return;
16229
16486
  this.requested.delete(id);
16230
16487
  if (s.status === "queued") {
16231
- await this.options.storage.update((l) => this.log({
16232
- ...l,
16233
- shared: l.shared.filter((x) => x.id !== id)
16234
- }, {
16235
- type: "unsent",
16236
- side: "mine",
16237
- proof: id
16238
- }));
16239
- return;
16488
+ let answered;
16489
+ await this.options.storage.update((l) => {
16490
+ answered = l.shared.find((x) => x.id === id && x.status === "pending");
16491
+ return answered ? l : this.log({
16492
+ ...l,
16493
+ shared: l.shared.filter((x) => x.id !== id)
16494
+ }, {
16495
+ type: "unsent",
16496
+ side: "mine",
16497
+ proof: id
16498
+ });
16499
+ });
16500
+ if (!answered) return;
16501
+ s = answered;
16240
16502
  }
16241
16503
  await this.setShared({
16242
16504
  ...s,
@@ -16334,12 +16596,21 @@ var IdentityExchange = class {
16334
16596
  return;
16335
16597
  case "idp-request": return await this.onRequest(id, frame.provider);
16336
16598
  case "idp-challenge": return await this.onChallenge(id, frame.nonce, frame.issuedAt);
16337
- case "idp-present": return await this.onPresent(frame);
16599
+ case "idp-present": {
16600
+ const nonce = typeof frame.nonce === "string" ? frame.nonce : "";
16601
+ if (this.checking.has(nonce)) throw new Error("Unknown or reused identity challenge");
16602
+ this.checking.add(nonce);
16603
+ try {
16604
+ return await this.onPresent(frame);
16605
+ } finally {
16606
+ this.checking.delete(nonce);
16607
+ }
16608
+ }
16338
16609
  case "idp-result": {
16339
16610
  const s = id ? this.shared(id) : void 0;
16340
16611
  if (!s || s.status !== "pending") return;
16341
16612
  const ok = frame.ok === true;
16342
- const error = ok ? void 0 : clean$1(frame.error, ERROR_MAX) ?? "Your contact could not verify it";
16613
+ const error = ok ? void 0 : typeof frame.error === "string" && CONTACT_REFUSALS.has(frame.error) ? frame.error : CONTACT_REFUSED;
16343
16614
  const entry = {
16344
16615
  ...s,
16345
16616
  status: ok ? "accepted" : "rejected",
@@ -16347,7 +16618,14 @@ var IdentityExchange = class {
16347
16618
  error
16348
16619
  };
16349
16620
  const replaced = (x) => ok && x.status === "accepted" && x.provider === s.provider && x.subject === s.subject;
16350
- await this.options.storage.update((l) => this.log({
16621
+ await this.options.storage.update((l) => l.shared.filter((x) => x.id !== s.id && replaced(x)).reduce((out, x) => this.log(out, {
16622
+ type: "stopped",
16623
+ side: "mine",
16624
+ proof: x.id,
16625
+ provider: x.provider,
16626
+ subject: x.subject,
16627
+ reason: "withdrawn"
16628
+ }), this.log({
16351
16629
  ...l,
16352
16630
  shared: [...l.shared.filter((x) => x.id !== s.id).map((x) => replaced(x) ? {
16353
16631
  ...x,
@@ -16360,7 +16638,7 @@ var IdentityExchange = class {
16360
16638
  proof: s.id,
16361
16639
  ok,
16362
16640
  error
16363
- }));
16641
+ })));
16364
16642
  return;
16365
16643
  }
16366
16644
  case "idp-withdraw": {
@@ -16410,11 +16688,12 @@ var IdentityExchange = class {
16410
16688
  async onRequest(id, provider) {
16411
16689
  if (!id) return;
16412
16690
  if (typeof provider !== "string" || !this.options.providers().includes(provider)) {
16691
+ const error = UNSUPPORTED_KIND;
16413
16692
  this.send({
16414
16693
  t: "idp-result",
16415
16694
  id,
16416
16695
  ok: false,
16417
- error: "Your contact's app cannot verify this kind of identity yet"
16696
+ error
16418
16697
  });
16419
16698
  return;
16420
16699
  }
@@ -16453,7 +16732,7 @@ var IdentityExchange = class {
16453
16732
  this.requested.delete(id);
16454
16733
  const local = await this.options.localProof(id);
16455
16734
  if (!local) {
16456
- const error = "That identity is no longer in your profile";
16735
+ const error = NOT_IN_PROFILE;
16457
16736
  await this.setShared({
16458
16737
  ...s,
16459
16738
  status: "rejected",
@@ -16470,12 +16749,24 @@ var IdentityExchange = class {
16470
16749
  }
16471
16750
  const scope = this.options.scope();
16472
16751
  const sig = signIdentityPresentation(local.seed, id, scope, nonce, issuedAt);
16473
- await this.setShared({
16474
- ...s,
16475
- status: "pending",
16476
- at: this.now(),
16477
- error: void 0
16752
+ let stopped = false;
16753
+ await this.options.storage.update((l) => {
16754
+ const x = l.shared.find((y) => y.id === id);
16755
+ if (!x || x.status !== "queued" && x.status !== "pending") {
16756
+ stopped = true;
16757
+ return l;
16758
+ }
16759
+ return {
16760
+ ...l,
16761
+ shared: [...l.shared.filter((y) => y.id !== id), {
16762
+ ...x,
16763
+ status: "pending",
16764
+ at: this.now(),
16765
+ error: void 0
16766
+ }]
16767
+ };
16478
16768
  });
16769
+ if (stopped) return;
16479
16770
  this.send({
16480
16771
  t: "idp-present",
16481
16772
  nonce,
@@ -16499,6 +16790,7 @@ var IdentityExchange = class {
16499
16790
  let error;
16500
16791
  /** The same, as this side's own timeline says it. */
16501
16792
  let reason;
16793
+ /** Its owner withdrew the proof while this check ran: no result goes out (see below). */
16502
16794
  let withdrawn = false;
16503
16795
  try {
16504
16796
  const mayReplace = (r) => r.binding.provider === binding.provider && (r.binding.subject === binding.subject || r.verified.subject === binding.subject);
@@ -16508,7 +16800,7 @@ var IdentityExchange = class {
16508
16800
  if (!verifyIdentityPresentation(binding.key, sig, id, scope, nonce, issuedAt)) throw new Error("The proof key did not sign this conversation's challenge");
16509
16801
  if (binding.issuedAt > now + 300) throw new Error("The proof is dated in the future");
16510
16802
  const result = boundVerifiedIdentity(await this.options.verify(statement, evidence));
16511
- if (Math.min(binding.expiresAt, result.expiresAt ?? Infinity) <= now) throw new Error("The proof has expired");
16803
+ if (Math.min(binding.expiresAt, result.expiresAt ?? Infinity) <= now) throw new Error(EXPIRED);
16512
16804
  if (await this.options.revoked?.(statement).catch(() => false)) throw new Error(REVOKED);
16513
16805
  verified = result;
16514
16806
  } catch (e) {
@@ -16519,6 +16811,11 @@ var IdentityExchange = class {
16519
16811
  const challenge = challengeOf(l);
16520
16812
  if (!challenge) throw new Error("Unknown or reused identity challenge");
16521
16813
  const challenges = l.challenges.filter((c) => c.nonce !== nonce);
16814
+ withdrawn = !!challenge.withdrawn;
16815
+ if (withdrawn && (challenges.some((c) => c.id === challenge.id && !c.withdrawn) || l.received.some((r) => r.id === challenge.id && r.status !== "withdrawn" && r.status !== "revoked"))) return {
16816
+ ...l,
16817
+ challenges
16818
+ };
16522
16819
  const subject = verified?.subject;
16523
16820
  if (verified && revokedHere(l.received, id)) {
16524
16821
  verified = void 0;
@@ -16543,7 +16840,6 @@ var IdentityExchange = class {
16543
16840
  ...logged,
16544
16841
  challenges
16545
16842
  };
16546
- withdrawn = !!challenge.withdrawn;
16547
16843
  const record = {
16548
16844
  id,
16549
16845
  binding,
@@ -16556,11 +16852,18 @@ var IdentityExchange = class {
16556
16852
  checkedAt: now,
16557
16853
  status: withdrawn ? "withdrawn" : "verified"
16558
16854
  };
16559
- const kept = {
16855
+ const kept = l.received.filter((r) => r.id !== id && !received.includes(r) && r.binding.provider === binding.provider && r.verified.subject === subject && r.status !== "withdrawn" && r.status !== "revoked").reduce((out, r) => this.log(out, {
16856
+ type: "stopped",
16857
+ side: "theirs",
16858
+ proof: r.id,
16859
+ provider: r.binding.provider,
16860
+ subject: r.verified.subject,
16861
+ reason: "withdrawn"
16862
+ }), {
16560
16863
  ...logged,
16561
16864
  challenges,
16562
16865
  received: [...received, record]
16563
- };
16866
+ });
16564
16867
  return withdrawn ? this.log(kept, {
16565
16868
  type: "stopped",
16566
16869
  side: "theirs",
@@ -19594,6 +19897,15 @@ function decodeFileData(message) {
19594
19897
  data: message.subarray(body)
19595
19898
  };
19596
19899
  }
19900
+ /**
19901
+ * Why a received file could not be stored, as its record says it. A storage with no room left is told by the error's
19902
+ * name, `QuotaExceededError` (IndexedDB's, the OPFS worker's, the CLI's), never by its words: each storage words it
19903
+ * its own way, and Chromium's own has no message at all. The app reads that name as "no room here" (errorText.ts).
19904
+ */
19905
+ function storeFailure(error) {
19906
+ const message = (error instanceof Error ? error.message : String(error)).trim();
19907
+ return `Could not store the file: ${error?.name === "QuotaExceededError" && !message.startsWith("QuotaExceededError") ? `QuotaExceededError${message ? `: ${message}` : ""}` : message}`;
19908
+ }
19597
19909
  /** What a refusal means to the sender's person. */
19598
19910
  function refusalText(why, room) {
19599
19911
  switch (why) {
@@ -20083,7 +20395,7 @@ var ChatFiles = class {
20083
20395
  this.armNudge(entry);
20084
20396
  }, (error) => {
20085
20397
  incoming.starting = false;
20086
- this.end(entry, "failed", `Could not store the file: ${error instanceof Error ? error.message : String(error)}`);
20398
+ this.end(entry, "failed", storeFailure(error));
20087
20399
  this.send({
20088
20400
  t: "pf-refuse",
20089
20401
  id: entry.record.id,
@@ -20377,7 +20689,7 @@ var ChatFiles = class {
20377
20689
  if (incoming.stored - incoming.checkpointed >= FILE_LIMITS.checkpointBytes) await this.checkpointNow(entry);
20378
20690
  }).catch((error) => {
20379
20691
  if (transferEnded(record)) return;
20380
- this.end(entry, "failed", `Could not store the file: ${error instanceof Error ? error.message : String(error)}`);
20692
+ this.end(entry, "failed", storeFailure(error));
20381
20693
  target.then((t) => t.discard()).catch(() => {});
20382
20694
  this.send({
20383
20695
  t: "pf-refuse",
@@ -22418,6 +22730,13 @@ function pairedMessageFits(ts, m, reply, forwarded, card) {
22418
22730
  return pairedMessageFrame("A".repeat(22), ts, m, void 0, reply, forwarded, card).length <= SESSION_FRAME_MAX;
22419
22731
  }
22420
22732
  /**
22733
+ * The `paired-edit` frame of this edit fits a session, as `pairedMessageFits` says of a text's: an edit within 16 KiB
22734
+ * can pass it the same way, and the contact's session ends on it each time it is said again.
22735
+ */
22736
+ function pairedEditFits(edit) {
22737
+ return editFrame(edit).length <= SESSION_FRAME_MAX;
22738
+ }
22739
+ /**
22421
22740
  * A native descriptor from the contact's capability record against the one known (a session's, or an older record's).
22422
22741
  * The record carries only how to dial, never an address: the Iroh endpoint id and the relay it is homed on, the
22423
22742
  * HyperDHT key and the relay a browser's goes through. For the same endpoint, a known Iroh descriptor keeps its
@@ -22745,14 +23064,20 @@ var GhostLink = class {
22745
23064
  /** A signal ready to go: on the live session during a switch to WebRTC, in this side's packet otherwise. */
22746
23065
  signalOut(signed, report) {
22747
23066
  if (this.switcher?.pending?.choices.includes("webrtc/1") && this.channel && this.paired?.state.status === "ready") {
22748
- if (signed) this.channel.send(JSON.stringify({
22749
- t: "paired-rtc",
22750
- signal: signed
22751
- }));
23067
+ if (signed) {
23068
+ this.channel.send(JSON.stringify({
23069
+ t: "paired-rtc",
23070
+ signal: signed
23071
+ }));
23072
+ this.rtcViaChannel = true;
23073
+ }
22752
23074
  return;
22753
23075
  }
23076
+ if (!signed) this.rtcViaChannel = false;
22754
23077
  this.session.setRtcSignal(signed, !!this.options.params.profile).catch(report);
22755
23078
  }
23079
+ /** A WebRTC signal of this attempt went over the authenticated channel (a migration), not the relays. */
23080
+ rtcViaChannel = false;
22756
23081
  /** This app is going away (`depart`): no more dials. */
22757
23082
  leaving = false;
22758
23083
  /** `resume` still to act on: the first dial after the start goes to it, and a native one is knocked on. */
@@ -22971,6 +23296,9 @@ var GhostLink = class {
22971
23296
  onPeerClock: (packetAt, readBefore, readAt) => events.onPeerClock?.(packetAt, readBefore, readAt),
22972
23297
  onPeerTransports: (value) => this.peerPacketTransports(value),
22973
23298
  onPeerTransportsGone: () => this.peerPacketTransportsGone(),
23299
+ onPeerTransportsUnsaid: (unsaid) => {
23300
+ if (options.packetTransports && !this.stopped) events.onPacketTransportsUnsaid?.(unsaid);
23301
+ },
22974
23302
  onDiscoveryError: (error) => events.onDiscoveryError?.(error),
22975
23303
  onStatus: (status) => events.onStatus?.(status),
22976
23304
  onPoll: (poll) => events.onPoll?.(poll)
@@ -23022,6 +23350,7 @@ var GhostLink = class {
23022
23350
  offerStanding: (ts) => !this.leaving && !this.stopped && !this.streamBlocked && this.peerOfferTs() === ts,
23023
23351
  onAnswerReplaced: () => this.redial(),
23024
23352
  onDirect: (evidence) => events.onDirectEvidence?.(evidence),
23353
+ signalOut: () => this.rtcViaChannel || this.session.rtcSignalPublished,
23025
23354
  onAnswersRefused: () => this.answersRefused(),
23026
23355
  onOpen: (channel) => {
23027
23356
  if (this.streamBlocked || this.keyStopped) {
@@ -23069,6 +23398,12 @@ var GhostLink = class {
23069
23398
  if (this.offered?.epoch === this.connectionEpoch) this.scheduleRace(this.offered.epoch, this.offered.at);
23070
23399
  if (options.packetTransports) setTimeout(() => {
23071
23400
  if (this.answeredAt !== answeredAt || this.channel || this.stopped || this.dataLink.state !== "connecting") return;
23401
+ if (this.dataLink.answerLate) {
23402
+ traceLink(this.myPubKeyZ32, "rtc-stalled", { late: true });
23403
+ this.dataLink.abandon();
23404
+ this.redial();
23405
+ return;
23406
+ }
23072
23407
  traceLink(this.myPubKeyZ32, "rtc-stalled", {});
23073
23408
  events.onRtcStalled?.();
23074
23409
  }, RACE_ANSWERED_MS);
@@ -23180,7 +23515,7 @@ var GhostLink = class {
23180
23515
  const tracker = this.tracker;
23181
23516
  if (!tracker || tracker.done) return;
23182
23517
  if (state === "answering") tracker.offerReceived();
23183
- else if (state === "connecting" && was === "offering") tracker.answerReceived();
23518
+ else if ((state === "connecting" || state === "open") && was === "offering") tracker.answerReceived();
23184
23519
  else if (state === "idle") {
23185
23520
  if (was === "offering") tracker.failed("timeout", true);
23186
23521
  else if (was === "answering" || was === "connecting") tracker.failed("transport", true);
@@ -23255,7 +23590,7 @@ var GhostLink = class {
23255
23590
  traceLink(this.myPubKeyZ32, "unblocked", { held: !!this.heldSignal });
23256
23591
  this.autoConnectFailures = 0;
23257
23592
  this.lastAutoConnectAt = 0;
23258
- this.session.expectPeer();
23593
+ this.session.expectPeer(false, true);
23259
23594
  const held = this.heldSignal;
23260
23595
  this.heldSignal = null;
23261
23596
  if (held) this.handleRtcSignal(held.signal, held.sight);
@@ -25559,6 +25894,7 @@ var GhostLink = class {
25559
25894
  if (this.channel && this.isDataLinkOpen) {
25560
25895
  if (!this.supportsEdits) return "Your contact's app does not show edits yet";
25561
25896
  if (!edit.rm && !validEditNumber(edit.e) && !(edit.sc && this.supportsStatusCards)) return "Your contact's app takes no more edits of this message";
25897
+ if (!pairedEditFits(edit)) return PAIRED_FRAME_TOO_LARGE;
25562
25898
  try {
25563
25899
  this.channel.send(editFrame(edit));
25564
25900
  return null;
@@ -27260,6 +27596,7 @@ var GhostLink = class {
27260
27596
  if (!this.candidate) {
27261
27597
  this.cancelCandidate();
27262
27598
  this.switcher.stop();
27599
+ this.transitionTarget = this.transitionError = void 0;
27263
27600
  }
27264
27601
  this.activeBinding = void 0;
27265
27602
  this.paired?.stop();
@@ -28058,7 +28395,9 @@ var VIDEO_METADATA_LIMITS = {
28058
28395
  /** The most top-level boxes walked (a fragmented MP4 has two per fragment). */
28059
28396
  maxBoxes: 1e5,
28060
28397
  /** Bytes read first to tell a video from another file. */
28061
- headBytes: 64
28398
+ headBytes: 64,
28399
+ /** Bytes read at once for a box's header or a small box, so the next headers and `moof`s are read with it. */
28400
+ readAhead: 65536
28062
28401
  };
28063
28402
  /** Why a video is refused: its metadata could not be removed, so it does not go at all. */
28064
28403
  var NO_VIDEO_METADATA = "This video cannot be sent: Ghostly could not remove the details saved in it, like where it was recorded";
@@ -28471,6 +28810,26 @@ function meets(ranges, start, end) {
28471
28810
  }
28472
28811
  return low < ranges.length && ranges[low][0] < end;
28473
28812
  }
28813
+ /**
28814
+ * `source` read a window at a time: a read that fits in `readAhead` bytes reads that many from where it starts, and
28815
+ * the reads after it within them (the next boxes' headers, a fragment's `moof`) are served from it, as copies (they
28816
+ * are changed in place). A Blob's read costs about the same whatever its size, so a fragment costs one, not three.
28817
+ */
28818
+ function readingAhead(source) {
28819
+ let start = 0, window = /* @__PURE__ */ new Uint8Array(0);
28820
+ return {
28821
+ size: source.size,
28822
+ async read(offset, length) {
28823
+ const end = start + window.length;
28824
+ if (offset < start || offset + length > end && end < source.size) {
28825
+ if (length > VIDEO_METADATA_LIMITS.readAhead) return source.read(offset, length);
28826
+ start = offset;
28827
+ window = await source.read(offset, VIDEO_METADATA_LIMITS.readAhead);
28828
+ }
28829
+ return window.slice(offset - start, offset - start + length);
28830
+ }
28831
+ };
28832
+ }
28474
28833
  /** A whole box's header in the file at `at`, read from it; undefined where none fits (bytes after the last box). */
28475
28834
  async function headerAt(source, at) {
28476
28835
  const head = await source.read(at, 16);
@@ -28525,7 +28884,8 @@ async function withoutVideoMetadata(source, mime) {
28525
28884
  * the parts replaced, in order and apart, the rest of its bytes going as they are; undefined when it goes as it is.
28526
28885
  * Throws `NO_VIDEO_METADATA` as it does.
28527
28886
  */
28528
- async function videoMetadataPatches(source, mime) {
28887
+ async function videoMetadataPatches(file, mime) {
28888
+ const source = readingAhead(file);
28529
28889
  const head = await source.read(0, VIDEO_METADATA_LIMITS.headBytes);
28530
28890
  const typed = STRIPPED_TYPES.has(mime.split(";")[0].trim().toLowerCase());
28531
28891
  const container = containerOf(head, mime);
@@ -33318,6 +33678,24 @@ var GroupSession = class {
33318
33678
  get admin() {
33319
33679
  return rosterAdmin(this.roster);
33320
33680
  }
33681
+ /**
33682
+ * The roster in the order its members were last admitted, the creator first (WISP 902 § Transports, the edge a
33683
+ * member keeps): every member holding the same chain reads the same order, and a member reads everyone admitted
33684
+ * before it from its welcome. Kept for the current top commit.
33685
+ */
33686
+ get admissionOrder() {
33687
+ const top = this.top;
33688
+ if (this.admissionCache?.top === top) return this.admissionCache.order;
33689
+ const chain = this.state.chain, at = /* @__PURE__ */ new Map();
33690
+ for (let e = 1; e < chain.length; e++) if (chain[e].k === "add" && chain[e].s) at.set(chain[e].s, e);
33691
+ const order = this.roster.map(([key]) => key).sort((a, b) => (at.get(a) ?? 0) - (at.get(b) ?? 0) || (a < b ? -1 : a > b ? 1 : 0));
33692
+ this.admissionCache = {
33693
+ top,
33694
+ order
33695
+ };
33696
+ return order;
33697
+ }
33698
+ admissionCache;
33321
33699
  get isAdmin() {
33322
33700
  return this.admin === this.myKey && this.state.status === "active";
33323
33701
  }
@@ -39719,6 +40097,6 @@ function x401ApprovalDigest(subject) {
39719
40097
  return toBase64Url(sha256(utf8Encode(canonical)));
39720
40098
  }
39721
40099
  //#endregion
39722
- export { COMMUNITY_LIMITS as $, BREAKER_MAX_MS as $C, readTurnBody as $S, HANDOFF_PAKE as $_, DEMOTE_AFTER_FAILURES as $a, appRefPublisher as $b, APP_RANGE_ERRORS as $c, parseDomainTxt as $d, EDIT_RECEIVE_LIMIT as $f, PAIRED_CALL_CANDIDATES as $g, IDLE_THRESHOLD as $h, isSparkAddress as $i, SESSION_FRAME_MAX as $l, verifyChain as $m, MessageRefusal as $n, SIGNAL_FRESH_MS as $o, wireReply as $p, DidError as $r, TYPING_STATUS_MAX as $s, GROUP_EDIT_TEXT_BYTES as $t, isProofAdapter as $u, sameDigest as $v, toBase64 as $w, inviteOwnership as $x, REQUEST_LABEL as $y, readX401ProofResponseHeader as A, HEDGE_MISSING_MS as AC, TURN_VISIBLE_MS as AS, encodeServices as A_, findBolt11 as Aa, APP_ICON_PATH as Ab, WAKE_SUBJECT as Ac, HOLD_DATED_BACK_MS as Ad, baseMime as Af, withViewerPolicy as Ag, ratchetSessionOf as Ah, jwkThumbprint as Ai, parseAppFrame as Al, claimedTime as Am, parseGroupMetaBody as An, EngineError as Ao, REACTED_FRAME as Ap, parseAtprotoDidDocument as Ar, shouldBeHub as As, knockRecords as At, IdentityExchange as Au, handoffReleaseFrame as Av, encrypt as Aw, createContactLink as Ax, FLOOD_PER_DAY as Ay, APP_STORE_KINDS as B, SLOW_MS as BC, TURN_NAME_BYTES as BS, HANDOFF_BUSY_REASONS as B_, videoMetadataPatches as Ba, isAppLicense as Bb, wakePayload as Bc, DOMAIN_MAX_RECORDS as Bd, voiceLevelsOf as Bf, sendBody as Bg, STALLED_EVIDENCE_MS as Bh, TEST_USDT_FAUCET_AMOUNT as Bi, PIN_CAPABILITY as Bl, MAX_GROUP_MEMBERS as Bm, SSH_PUBLIC_KEY_MAX as Bn, fetchesByItself as Bo, reactionFrame as Bp, parseAtprotoDidKey as Br, FileUplink as Bs, groupWakes as Bt, revokesIdentity as Bu, readHandoffAck as Bv, hasVisible as Bw, readDeviceInvite as Bx, planKnocks as By, buildX401TokenObject as C, DEPARTED_READS as CC, unsignedDeviceTransports as CS, isEmptyLinkPacket as C_, parseInvoiceCallback as Ca, seenEntry as Cb, readPin as Cc, irohDescriptor as Cd, safeBlobType as Cf, parseLocalTarget as Cg, emptyRatchetState as Ch, decodeDidDhtPacket as Ci, appCloseFrame as Cl, sameButtonText as Cm, groupMetaPicture as Cn, WAKE_ANSWER_GRACE_MS as Co, FORWARD_LIMITS as Cp, ATPROTO_PROOF_SCOPE as Cr, mergeLobby as Cs, KNOCK_TTL_MS as Ct, IDENTITY_MAX_VALIDITY as Cu, handoffFileMissingFrame as Cv, createIdentity as Cw, previewable as Cx, enrollHelloFrame as Cy, readX401ProofRequest as D, GROUP_OVER_PACE_MS as DC, TURN_PUT_WINDOW_MS as DS, MAX_SERVICES as D_, resolveLightningDestination as Da, APP_CLIENTS as Db, WAKE_CALL_WAIT_MS as Dc, relayedTransports as Dd, RECORDING_TYPES as Df, sanitizeResponseHeaders as Dg, ratchetOpen as Dh, didDhtRecords as Di, chatAppId as Dl, usageLeft as Dm, keepPastGroupMeta as Dn, parsePaymentNetworks as Do, COMMUNITY_REACTION_FRAME as Dp, checkAtprotoProofRecord as Dr, readBeacon as Ds, entryParams as Dt, IDENTITY_STATEMENT_PREFIX as Du, handoffManifestFrames as Dv, sign as Dw, readCanonicalJson as Dx, readEnrollGrant as Dy, isX401Protocol as E, GROUP_BURST_ONE_LINK as EC, webCryptoSigner as ES, LEGACY_SERVICES as E_, requestLnurlInvoice as Ea, APP_BUNDLE_MAGIC as Eb, WAKE_CALL_TTL_SECONDS as Ec, relayUrl as Ed, PLAYABLE_AUDIO as Ef, sanitizeRequestHeaders as Eg, ratchetOn as Eh, didDhtKey as Ei, appOpenFrame as El, taskProgress as Em, groupName as En, pairedMessageFrame as Eo, readForwarded as Ep, atprotoProofRkey as Er, rankHubs as Es, encodeGroupEntryLink as Et, IDENTITY_REVOCATION_LABEL as Eu, handoffHelloFrame as Ev, publicKeyFromZ32 as Ew, canonicalJsonBytes as Ex, formatEnrollDigits as Ey, appRevocationFor as F, RelayTransport as FC, TOMBSTONE_TURN as FS, servicesToWire as F_, isFederationId as Fa, appViewOf as Fb, parseWakeFrame as Fc, newMailbox as Fd, parseVoiceMeta as Ff, PROTOCOL_VERSION as Fg, DataLink as Fh, EVM_TEST_CHAINS as Fi, CALLS_CAPABILITY as Fl, GROUP_ID as Fm, verifyGroupMetaSignature as Fn, GROUP_FILE_LIMITS as Fo, parseReactedFrame as Fp, decodeAtprotoCommit as Fr, parsePairedCallFrame as Fs, GROUP_WAKE_GROUP_WINDOW_MS as Ft, identityStatement as Fu, handoffVerifiedMessage as Fv, MAX_AVATAR_SIDE as Fw, DEVICE_INVITE_OWN_DEVICE as Fx, REOPEN_BELOW as Fy, readAppStore as G, currentRelays as GC, TURN_SLOTS as GS, HANDOFF_FILE_MISSING as G_, stripPictureMetadata as Ga, readAppBundleAsync as Gb, checkPushEndpoint as Gc, decodeDnsResponse as Gd, isPlayableVideoType as Gf, RTC_SIGNAL_MAX_AGE_MS as Gg, directBlocked as Gh, assertWholeSats as Gi, SessionCapabilities as Gl, commitUntaggedHash as Gm, sshFingerprint as Gn, readGroupWant as Go, wireReaction as Gp, verifyAtprotoSignature as Gr, transferEnded as Gs, GROUP_READ_NOTE as Gt, lastSharedWithMe as Gu, readHandoffFileFrame as Gv, unwrapPasted as Gw, INVITE_VERSION as Gx, CONTACT_RECORD_TTL as Gy, checkAppListing as H, WATCH_SHARE as HC, TURN_REV_LIMIT as HS, HANDOFF_CANCEL_REASONS as H_, NO_PICTURE_METADATA as Ha, isAppUrl as Hb, PUSH_PAD_BYTES as Hc, DOMAIN_TXT_MAX_BYTES as Hd, PLAYABLE_VIDEO as Hf, DATA_CHANNEL_ID as Hg, DIRECT_OWN_ATTEMPTS as Hh, WALLET_NETWORKS as Hi, SERVICES_CAPABILITY as Hl, OWN_FRAME_LIMIT as Hm, parseSshPublicKey as Hn, isGroupMessageId as Ho, readDhtReactions as Hp, readAtprotoCid as Hr, encodeFileData as Hs, parseGroupWakeFrame as Ht, verifyIdentityPresentation as Hu, readHandoffCancel as Hv, sanitizeNick as Hw, INVITE_HRP as Hx, takeRequest as Hy, appStoreDecision as I, RelaysFailedError as IC, TURN_BODY_BYTES as IS, viewerTag as I_, parseCashuRequestPayload as Ia, assembleAppBundle as Ib, readWake as Ic, readManifest as Id, recordingMime as If, decodeChunk as Ig, GATHER_ATTEMPTS as Ih, ONCHAIN_PROVIDER as Ii, EDIT_CAPABILITY as Il, GROUP_MEMBER_CAP as Im, wrapGroupMeta as In, GROUP_HAVE_FRAME as Io, parseReactionFrame as Ip, decodeDagCbor as Ir, ChatFiles as Is, GROUP_WAKE_MEMBER_INTERVAL_MS as It, identityStatementText as Iu, handoffVersions as Iv, jpegSize$1 as Iw, createDeviceInvite as Ix, clearMissed as Iy, GROUP_TYPING_FRAME as J, relayUrlProblem as JC, TurnRecordError as JS, HANDOFF_HELLO as J_, ANSWERS_REFUSED_PAUSE_MS as Ja, APP_NAME as Jb, generateVapidKeys as Jc, domainWellKnownFile as Jd, EDITED_FRAME as Jf, offerIsFresh as Jg, DAEMON_WATCH_PEER_IDLE_MS as Jh, parsePaymentAmount as Ji, WAKE_SESSION_CAPABILITY as Jl, rememberAlone as Jm, verifySshSignature as Jn, CarriedTransport as Jo, REPLY_LIMITS as Jp, DID_GHOSTLY_SERVICE as Jr, TYPING_KINDS as Js, chainPieces as Jt, PeerProofs as Ju, readHandoffManifest as Jv, fromBase64 as Jw, createLink as Jx, KNOCK_SLOT_LABEL as Jy, readAppStoreSteps as K, normalizeRelayUrl as KC, TURN_TTL as KS, HANDOFF_FILE_REQUEST as K_, withoutPictureMetadata as Ka, sha256Paced as Kb, decryptPushPayload as Kc, dnsProofName as Kd, isVideoMime as Kf, buildDataSdp as Kg, symmetricNat as Kh, formatPaymentAmount as Ki, TYPING_CAPABILITY as Kl, expectedRoster as Km, sshKeyDigestHex as Kn, readGroupWantNo as Ko, PAIRED_REPLY_AUTHORS as Kp, DID_DOCUMENT_MAX_BYTES as Kr, transferStalled as Ks, GroupSession as Kt, PROOF_ADAPTERS as Ku, readHandoffHave as Kv, bytesEqual as Kw, OwnInviteError as Kx, ContactRequestError as Ky, appUpdateDecision as L, SIGNALING_ALLOWANCE_SHARE as LC, TURN_LABEL as LS, HANDOFF_ACK as L_, parseFedimintRequestPayload as La, buildAppBundle as Lb, readWakePayload as Lc, DNS_LABEL as Ld, voiceDownloadName as Lf, decodeControl as Lg, GATHER_STALL_MS as Lh, PaymentPreflightError as Li, FILES_BINARY_CAPABILITY as Ll, GROUP_VERSION_LARGE as Lm, SSHSIG_MAX_ARMOR as Ln, GROUP_VERSION_FILES as Lo, queueReaction as Lp, encodeDagCbor as Lr, FILE_DATA_KIND as Ls, GROUP_WAKE_RECEIVE_LIMIT as Lt, isIdentityBinding as Lu, isHandoffPartName as Lv, sanitizeAvatar as Lw, deviceInviteJoinerKeyZ32 as Lx, endedRequests as Ly, readX401ProofResultHeader as M, PREVIOUS_DEFAULT_RELAYS as MC, keptAtEqualSequence as MS, isViewerTag as M_, cashuRequestPayload as Ma, APP_SCREENSHOTS_DIR as Mb, WakeLimiter as Mc, HoldKeys as Md, fileMessageText as Mf, CHUNK_KIND as Mg, ANSWER_REFUSED_REDIALS as Mh, resolveDidDht as Mi, APPS_CAPABILITY as Ml, receivedTimestamp as Mm, parseGroupMetaStatement as Mn, engineText as Mo, REACTION_LIMITS as Mp, AtprotoCid as Mr, MAX_PAIRED_CALL_SIGNAL as Ms, readKnocks as Mt, emptyIdentityLedger as Mu, handoffRetryAfter as Mv, sealedLength as Mw, readContactLink as Mx, MAX_MISSED as My, x401AnswerableRequests as N, RELAY_REQUESTS_PER_MINUTE as NC, turnPutSummary as NS, serviceIdFromName as N_, fedimintRequestPayload as Na, APP_VIEWS as Nb, deviceWakeRequest as Nc, HoldRefusedError as Nd, formatVoiceDuration as Nf, LIMITS as Ng, CONNECT_TIMEOUT_MS as Nh, signDidDhtPacket as Ni, APP_RANGES_CAPABILITY as Nl, shownTime as Nm, parseGroupMetaTag as Nn, parseEngineError as No, ReactionWindow as Np, AtprotoProofError as Nr, PAIRED_CALL_FRAME as Ns, GROUP_WAKE_FRAME as Nt, identityPresentationBytes as Nu, handoffStreamKey as Nv, tryDecrypt as Nw, DEVICE_INVITE_BYTES as Nx, MAX_WAITING as Ny, readX401ProofRequestHeader as O, GROUP_RATION_WINDOW_MS as OC, TURN_RAISE_READ_TIMEOUT_MS as OS, SERVICES_VERSION as O_, BOLT11_PATTERN as Oa, APP_CLIENT_NAME as Ob, WAKE_FRAME as Oc, transportOrder as Od, VOICE_LIMITS as Of, viewerResponseHeaders as Og, ratchetRoot as Oh, encodeDidDhtDeactivated as Oi, isAppVersion as Ol, MESSAGE_CLOCK_SKEW_MS as Om, nextGroupMetaRevision as On, publishFailure as Oo, GROUP_REACTION_FRAME as Op, isAtprotoDid as Or, readBeaconHead as Os, groupEntryUrl as Ot, IDENTITY_SUBJECT as Ou, handoffOfferFrame as Ov, verify as Ow, CONTACT_LINK_BYTES as Ox, readEnrollHello as Oy, addedAppPermissions as P, REQUESTS_PER_MINUTE as PC, TOMBSTONE_SEQUENCE as PS, servicesFromWire as P_, findEndpoint as Pa, appDigest as Pb, newWakeToken as Pc, isHoldUrl as Pd, isPlayableAudioType as Pf, MAX_CHUNK_PAYLOAD_BYTES as Pg, DATA_SETTLE_MS as Ph, ETHEREUM_USDT as Pi, BUTTONS_CAPABILITY as Pl, GROUP_ADMIN_OFF_ERROR as Pm, signGroupMeta as Pn, PairingTracker as Po, nextReactionNumber as Pp, atprotoCidFor as Pr, PairedCalls as Ps, GROUP_WAKE_GROUP_LIMIT as Pt, identityRevocationValue as Pu, handoffVerifiedFrame as Pv, MAX_AVATAR_LENGTH as Pw, DEVICE_INVITE_LIFETIME_S as Px, NEW_PER_HOUR as Py, sealGroupTyping as Q, BREAKER_BASE_MS as QC, openTurnValue as QS, HANDOFF_OFFER as Q_, CROSSED_WAIT_MS as Qa, appRef as Qb, APP_RANGE_DATA_KIND as Qc, normalizeDomain as Qd, EDIT_RATE_WINDOW_MS as Qf, CALL_SIGNAL_MAX_AGE_MS as Qg, FIRST_PUBLISH_MAX_MS as Qh, SPARK_PROVIDER as Qi, PairedSession as Ql, sortRoster as Qm, BIP322_REVISION as Qn, SIGNAL_CARRIERS as Qo, replySnippet as Qp, DID_METHODS as Qr, TYPING_SEND_LIMIT as Qs, GROUP_EDIT_FRAME as Qt, importedProof as Qu, readHandoffVerified as Qv, randomBytes as Qw, inviteLink as Qx, REQUEST_CLOCK_SKEW_MS as Qy, checkAppBeforeRun as R, SIGNALING_WINDOW_MS as RC, TURN_LAST_SEQUENCE as RS, HANDOFF_ATTEMPTS as R_, NO_VIDEO_METADATA as Ra, checkAppManifest as Rb, relayRequest as Rc, DNS_TYPE as Rd, voiceFileName as Rf, encodeChunk as Rg, OFFER_HOST_GATHER_MS as Rh, SEPOLIA_TEST_USDT as Ri, FILES_CAPABILITY as Rl, LEGACY_GROUP_MEMBERS as Rm, SSHSIG_NAMESPACE as Rn, GROUP_WANT_FRAME as Ro, reactedFrame as Rp, findInMst as Rr, FILE_FRAMES as Rs, GroupWakeLimiter as Rt, newIdentityBinding as Ru, newHandoffId as Rv, MAX_NICK_LENGTH as Rw, deviceInviteJoinerParams as Rx, inboxRecord as Ry, buildX401ResultArtifact as S, DEFAULT_RELAYS as SC, signDeviceTransports as SS, emptyLinkRecords as S_, invoiceCallbackUrl as Sa, requestRecords as Sb, pinnedFrame as Sc, dialableIrohRelay as Sd, formatFileSize as Sf, formatLocalTarget as Sg, RatchetBox as Sh, DidDhtError as Si, AppSessions as Sl, removedCardText as Sm, groupMetaNewer as Sn, UNPROVEN_AUTH_MS as So, sanitizePreviewImage as Sp, ATPROTO_PROOF_COLLECTION as Sr, mergeBeacon as Ss, GROUP_ENTRY_PROFILE as St, IDENTITY_MAX_RECEIVED as Su, handoffEphemeral as Sv, IDENTITY_MEMO_SIZE as Sw, parseImageMeta as Sx, enrollGrantFrame as Sy, encodeX401Header as T, GROUP_BURST_MS as TC, seedSigner as TS, HTTP_SERVICE_PROTO as T_, parsePayParams as Ta, APP_BUNDLE_LIMITS as Tb, WAKE_CALL_INTERVAL_MS as Tc, rankTransports as Td, sanitizeMime as Tf, resolveTargetUrl as Tg, ratchetHeard as Th, didDhtFromPublicKey as Ti, appDataFrame as Tl, statusCardText as Tm, groupMetaToHand as Tn, pairedMessageFits as To, forwardedMany as Tp, atprotoProofRecord as Tr, pickHubs as Ts, decodeGroupEntryLink as Tt, IDENTITY_PROVIDER_ID as Tu, handoffHaveFrames as Tv, identityFromSeedB64 as Tw, canonicalJson as Tx, enrollProofFrame as Ty, checkAppStoreIndex as U, WAY_BACK_SHARE as UC, TURN_SEALED_BYTES as US, HANDOFF_DATA as U_, PICTURE_METADATA_LIMITS as Ua, pacer as Ub, PUSH_SERVICE_HOSTS as Uc, NIP05_PATH as Ud, VIDEO_LIMITS as Uf, DATA_CHANNEL_LABEL as Ug, DIRECT_PEERS as Uh, arkAddressPrefix as Ui, SESSION_CAPABILITIES_FRAME as Ul, SAID_AGAIN as Um, parseSshSignature as Un, readGroupFileMeta as Uo, readReaction as Up, unsignedCommitBytes as Ur, refusalText as Us, GROUP_LIMITS as Ut, IDENTITY_TIMELINE_MAX as Uu, readHandoffData as Uv, stripHidden as Uw, INVITE_LINK_ORIGIN as Ux, turnOff as Uy, APP_STORE_LIMITS as V, TURN_SOURCE_TIMEOUT_MS as VC, TURN_NO_ACTIVE as VS, HANDOFF_CANCEL as V_, withoutVideoMetadata as Va, isAppPath as Vb, wakeRequest as Vc, DOMAIN_METHODS as Vd, voicePeaksOf as Vf, wrapDataChannel as Vg, DIRECT_EVIDENCE_MS as Vh, USDT_PUBLIC_RPC as Vi, REACTIONS_CAPABILITY as Vl, MEMBER_KEY as Vm, SshSigError as Vn, groupFileFallback as Vo, reactionIsNewer as Vp, parseAtprotoVerificationKey as Vr, decodeFileData as Vs, mentionedMembers as Vt, signIdentityPresentation as Vu, readHandoffBusy as Vv, sanitizeDisplayText as Vw, DEVICE_INVITE_VERSION as Vx, settleRequest as Vy, readAppListing as W, WRITE_FIRST_MS as WC, TURN_SIGNED_BYTES as WS, HANDOFF_DONE as W_, isStrippedPicture as Wa, readAppBundle as Wb, WebPushError as Wc, WELL_KNOWN_PATH as Wd, formatVideoDuration as Wf, RTC_SIGNAL_FUTURE_MS as Wg, DirectPathWatch as Wh, assertTokenUnits as Wi, STATUS_CARD_CAPABILITY as Wl, commitHash as Wm, sameSshKey as Wn, readGroupHave as Wo, validReactionNumber as Wp, verifyAtprotoRecordProof as Wr, sentWhole as Ws, GROUP_REACTED_FRAME as Wt, applyIdentityEvent as Wu, readHandoffDone as Wv, trimEndOf as Ww, INVITE_MAX_LENGTH as Wx, CONTACT_ASKER_FRAME as Wy, groupTypingEpoch as X, traceLink as XC, firstDeviceSetSecret as XS, HANDOFF_LIST_PER_FRAME as X_, CROSSED_FRESH_MS as Xa, APP_STATEMENT_LIMITS as Xb, vapidAuthorization as Xc, isPublicAddress as Xd, EDIT_BUFFER_MS as Xf, BURST_RING_MS as Xg, DHT_POLL_INTERVALS as Xh, walletNetworkOf as Xi, sessionCapabilitiesFrame as Xl, rosterHas as Xm, legacyMessageHash as Xn, GROUP_VERSION_SIGNALS as Xo, pairedReplyAuthor as Xp, DID_JWS_MAX_LENGTH as Xr, TYPING_RATE_WINDOW_MS as Xs, groupMessageId as Xt, STORAGE_ROOT as Xu, readHandoffRelease as Xv, fromZ32 as Xw, encodeGhostlyInvite as Xx, MAX_SEEN as Xy, GroupTypingBoard as Y, setLinkTraceSink as YC, encodeTurnFields as YS, HANDOFF_LATER_BYTES as Y_, BLOCKED_DIAL_WAIT_MS as Ya, APP_PREFIXES as Yb, pushRequest as Yc, encodeDnsQuery as Yd, EDIT_BUFFER_MAX as Yf, parseRtcSignal as Yg, DEPARTED_READ_MS as Yh, validatePaymentTarget as Yi, parseSessionCapabilities as Yl, rosterAdmin as Ym, isLegacySignature as Yn, GROUP_SIGNAL_FRAME as Yo, groupReplyAuthor as Yp, DID_JWS_ALGS as Yr, TYPING_RATE_LIMIT as Ys, frameBytes as Yt, STORAGE_LIFETIME as Yu, readHandoffPake as Yv, fromBase64Url as Yw, decodeInviteCode as Yx, LINK_RECORD_LABEL as Yy, openGroupTyping as Z, BREAKER_ALL_DOWN_PROBE_MS as ZC, nextTurnPosition as ZS, HANDOFF_MANIFEST as Z_, CROSSED_PROBE_MS as Za, appFingerprint as Zb, vapidKeysMatch as Zc, nip05RootKey as Zd, EDIT_FRAME as Zf, CALL_SIGNAL_FUTURE_MS as Zg, EXPECT_PEER_MS as Zh, SPARK_NETWORKS as Zi, PAIRED_PROFILE as Zl, signCommit as Zm, verifyBitcoinMessage as Zn, SIGNALS_PER_MINUTE as Zo, readReply as Zp, DID_MAX_LENGTH as Zr, TYPING_REFRESH_MS as Zs, COMMUNITY_EDIT_FRAME as Zt, emptyProofLedger as Zu, readHandoffTurnFrame as Zv, isZ32Key as Zw, encodeInviteCode as Zx, MAX_SLOT_KNOCKS as Zy, X401_PROTOCOLS as _, BACKGROUND_WRITES_SHARE as _C, deviceLinkRendezvousSeed as _S, waitForIceGathering as __, pubkyHomeserverOf as _a, mergeContactKnocks as _b, parsePinFrame as _c, RELAY_URL as _d, dhtFileElements as _f, unusedInviteWait as _g, MAX_SKIPPED_KEYS as _h, strictBase64Url as _i, APP_RATE_LIMIT as _l, cardLinkHost as _m, MAX_GROUP_PICTURE_LENGTH as _n, RACE_RELAYED_MS as _o, linkEnd as _p, u32$1 as _r, doorHubs as _s, shortHash as _t, IDENTITY_CLOCK_SKEW as _u, handoffContext as _v, signRelayPayload as _w, verifyAppStatementBytes as _x, ENROLL_PROOF as _y, X401_DCQL_LIMITS as a, turnInstance as aC, DEVICES_CAPABILITY as aS, __esmMin as aT, callSignalHeardAt as a_, PUBKY_PROOF_MAX_BYTES as aa, STAMP_BITS_MAX as ab, sanitizeTypingStatus as ac, storageProofBody as ad, wellKnownUrl as af, PRESENCE_HEARTBEAT as ag, decryptText as ah, didWebDocumentUrl as ai, appRangeDataFrame as al, PR_CHECKS as am, validEditText as an, HANDLED_WAIT_MS as ao, dhtEditId as ap, BitcoinAddressError as ar, GROUP_VERSION_HUBS as as, communityHasFrame as at, CAPS_REFRESH_MS as au, HANDOFF_VERIFIED as av, isDiscoveryBudgetError as aw, isAppLine as ax, readSetUpdate as ay, buildX401ProofRequest as b, CHAT_RESERVE_PER_CHAT as bC, devicePingFrame as bS, RECORD_TTL as b_, fetchLnurlJson as ba, readLinkRecord as bb, pinIsNewer as bc, automaticTransport as bd, FileTransfers as bf, HttpHost as bg, RATCHET_KEEP_MS as bh, DID_DHT_TTL as bi, APP_SEND_LIMIT as bl, checkStatusCard as bm, groupMetaBody as bn, RTC_UNSTARTED_MS as bo, parseLinkPreview as bp, ATPROTO_DECLARED_SCOPE as br, lobbyKeys as bs, verifyCommunityChainPaced as bt, IDENTITY_MAX_EVIDENCE as bu, handoffDigest as bv, encodeTxtPacket as bw, imageSize as bx, enrollDigits as by, readX401DcqlQuery as c, turnPacket as cC, DEVICE_PING_FRAME as cS, __toCommonJS as cT, decompressSdp as c_, isPubkyProofFolder as ca, contactAskerHolds as cb, typingKindOf as cc, verifyNostrProof as cd, DHT_FILE_TOO_LARGE as cf, SIGNAL_OUT_READS as cg, epochKeys as ch, didWebFileUrl as ci, appRangeGetFrame as cl, ROUTINE_STATES as cm, mentionsBytes as cn, LIVENESS_MISSED_PINGS as co, parseEditFrame as cp, decodeAnyBitcoinAddress as cr, mayBeHub as cs, communityUntaggedHash as ct, CapsRefusedError as cu, NO_ATTEMPTS as cv, PKARR_FUTURE_SKEW_MS as cw, readAppRevocation as cx, setUpdateMessage as cy, newX401HolderKey as d, turnSequence as dC, deviceEchoFrame as dS, isGlobalIpv4Host as d_, pubkyProofCapability as da, knockSlotIdentity as db, PINNED_FRAME as dc, ringAuthorization as dd, DHT_TEXT_REFUSED as df, UNUSED_INVITE_READS_PER_MINUTE as dg, openSecret as dh, parseDid as di, isServeId as dl, TASK_STATUSES as dm, wireMentions as dn, PAIRED_FRAME_TOO_LARGE as do, validEditNumber as dp, decodeWitness as dr, parseHubPolicy as ds, encodeCommunityLink as dt, dialDescriptors as du, handoffAckFrame as dv, createRelayPayload as dw, readAppSignature as dx, DEVICE_KINDS as dy, readTurnPacket as eC, inviteQrSegments as eS, toBase64Url as eT, QUICK_REDIAL_MS as e_, sparkAddressKind as ea, REQUEST_LIFETIME_MS as eb, TYPING_TIMEOUT_MS as ec, nostrProofTemplate as ed, recordsFromTxt as ef, LinkSession as eg, verifyCommit as eh, checkDidJws as ei, APP_RANGE_FRAMES as el, ACTIVE_TASK_STATUSES as em, carryMentions as en, DEMOTE_MS as eo, EDIT_SEND_LIMIT as ep, bip322MessageHash as er, SIGNAL_HOLD_MS as es, COMMUNITY_PROFILE as et, SESSION_RECEIVE_PENDING as eu, HANDOFF_PIECE_BYTES as ev, BREAKER_THRESHOLD as ew, appRevocationId as ex, sealHandoffPiece as ey, readX401SdJwtVc as f, turnSignedMessage as fC, deviceEchoNonce as fS, keepsToRelays as f_, pubkyProofFile as fa, knockSlotOf as fb, PIN_CLOCK_SKEW_MS as fc, ringClaims as fd, DhtDelivery as ff, UNUSED_INVITE_UPKEEP_MS as fg, sealPair as fh, parseDidDocument as fi, parseAppRangeFrame as fl, appCardId as fm, GROUP_META_PAST as fn, PAIRING_ATTEMPT_MS as fo, validRemovalNumber as fp, encodeTx as fr, pickMeshHubs as fs, leaveStands as ft, emptyCapsState as fu, handoffAttemptAllowed as fv, measureRecords as fw, setAppSignatureFastPath as fx, ENROLL_CANCEL as fy, X401_LIMITS as g, BACKGROUND_WHILE_SIGNALING as gC, deviceLinkParams as gS, signalHasVideo as g_, homeserverWebEndpoint as ga, makeStampPaced as gb, nextPinNumber as gc, verifyRingEvidence as gd, DHT_FILE_CAPABILITY as gf, presenceSeenAt as gg, MAX_SKIP as gh, staticDidDocument as gi, APP_PEER_OPEN_MAX as gl, cardLine as gm, MAX_GROUP_NAME_LENGTH as gn, RACE_DIRECT_MS as go, canonicalUrl as gp, txHash as gr, beaconRecords as gs, rosterHash as gt, IDENTITY_CHECK_UNAVAILABLE as gu, handoffCancelFrame as gv, readOwnRelayPayload as gw, verifyAppSignature as gx, ENROLL_HELLO as gy, X401_HEADERS as h, BACKGROUND_REQUESTS_PER_MINUTE as hC, deviceLinkPairing as hS, sdpHasCandidates as h_, encodeSvcbPacket as ha, makeStamp as hb, mayPin as hc, verifyRingAuthorization as hd, peekDhtMailbox as hf, countUnusedInvite as hg, FOLLOW_MS as hh, signingKeys as hi, APP_FRAME as hl, cardEditNumber as hm, MAX_GROUP_NAME_BYTES as hn, RACE_ANSWERED_MS as ho, LINK_TRAILING as hp, sha256d as hr, beaconKeys as hs, leftStatement as ht, IDENTITY_CHALLENGE_WINDOW as hu, handoffBusyFrame as hv, parseRelayPayload as hw, verifyAppRevocation as hx, ENROLL_GRANT as hy, x401ApprovalDigest as i, signTurnRelease as iC, readInviteCode as iS, __commonJSMin as iT, callRtcConfig as i_, isBitcoinAddress as ia, STAMP_BITS_DEFAULT as ib, parseTypingFrame as ic, storageProof as id, validDomainRecord as if, OFFER_STEP_MAX as ig, confirmationTag as ih, didSignedMessages as ii, appRangeChunk as il, ITEM_STATES as im, parseCommunityEdit as in, GhostLink as io, RateWindow as ip, verifyBip322 as ir, readGroupSignal as is, communityGroupId as it, CAPS_PUBLISH_SPACING_MS as iu, HANDOFF_TIMINGS as iv, heldBackError as iw, isAppKey as ix, encodeSetSlots as iy, readX401ProofResult as j, HEDGE_MS as jC, classifyTurnRead as jS, isValidServiceId as j_, ENDPOINT as ja, APP_PERMISSIONS as jb, WAKE_TTL_SECONDS as jc, HOLD_LIMITS as jd, downsamplePeaks as jf, CHUNK_FLAG_END as jg, ratchetUnknownSession as jh, openDidDhtPayload as ji, readAppFrame as jl, heardTime as jm, parseGroupMetaFrame as jn, engineError as jo, REACTION_FRAME as jp, shortAtprotoDid as jr, validHead as js, mergeKnocks as jt, boundVerifiedIdentity as ju, handoffRequestFrame as jv, generateEncryptionKey as jw, encodeContactLink as jx, MAX_DONE as jy, readX401ProofResponse as k, GROUP_SIGNALING_ALLOWANCE_SHARE as kC, TURN_SETTLE_MS as kS, decodeServices as k_, decodeBolt11 as ka, APP_FORBIDDEN_KEYS as kb, WAKE_INTERVAL_MS as kc, HOLD_CAPABILITY as kd, VOICE_METER as kf, webLocalFetch as kg, ratchetSeal as kh, encodeDidDhtPacket as ki, isChatAppId as kl, arrivalKey as km, openGroupMeta as kn, ENGINE_ERRORS as ko, QUICK_REACTIONS as kp, normalizeAtprotoHandle as kr, readLobby as ks, knockIdentity as kt, IdentityCheckUnavailable as ku, handoffPakeFrame as kv, decrypt as kw, CONTACT_LINK_VERSION as kx, verifyEnrollProof as ky, x401VpToken as l, turnPayloadSequence as lC, ENROLL_CAPABILITY as lS, extractParamsFromSdp as l_, newPubkyProofFolder as la, contactDay as lb, COMMUNITY_PIN_FRAME as lc, verifyPeerProof as ld, DHT_MESSAGE_TTL as lf, STALLED_LOOK_MS as lg, newEpochSecret as lh, didWebHost as li, decodeAppRangeData as ll, RUN_RESULTS as lm, mentionsMember as ln, LIVENESS_PING_MS as lo, parseEditedFrame as lp, decodeBitcoinAddress as lr, meshHubs as ls, decodeCommunityLink as lt, DHT_TEXT_CAPABILITY as lu, filePartDigest as lv, PacketTooLargeError as lw, readAppRevocationShape as lx, signTombstone as ly, x401HolderJwk as m, turnVerifierMark as mC, deviceKeyZ32 as mS, pickCallCandidates as m_, decodeSvcbRecords as ma, linkRecords as mb, PIN_LIMITS as mc, validRingKey as md, emptyDhtDeliveryState as mf, WATCH_PEER_MS as mg, sha256Hex as mh, parseDidSignaturePaste as mi, APP_DATA_MAX_BYTES as ml, buttonLabelClash as mm, MAX_GROUP_META_BODY as mn, PONG_WAIT_MS as mo, LINK_PREVIEW_LIMITS as mp, hash160 as mr, COMMUNITY_TOPOLOGY as ms, leaveStatement3 as mt, parsePacketTransports as mu, handoffAttemptSucceeded as mv, openRelayPayload as mw, signAppRevocation as mx, ENROLL_DONE as my, X401_RESPONSE_MODES as n, signTurnBody as nC, ownInviteRefusal as nS, utf8Decode as nT, answersOffer as n_, sparkNetworkOf as na, REQUEST_PACKET_BYTES as nb, TypingSender as nc, proofHash as nd, recordsName as nf, OFFER_FAST_MS as ng, GROUP_PROFILE as nh, didGhostlyServiceEntry as ni, AppRanges as nl, BUTTON_STYLES as nm, communityMessageAuthor as nn, EARLY_DIAL_JOIN_MS as no, MAX_REMOVAL_NUMBER as np, bip322ToSpend as nr, SIGNAL_REPLY_MS as ns, GROUP_READ_NOTE_COMMUNITY as nt, CAPS_LABEL as nu, HANDOFF_RELEASE as nv, DiscoveryBudgetError as nw, checkAppRevokeStatement as nx, SET_ACK as ny, matchX401Dcql as o, turnKeys as oC, DEVICE_CAPABILITIES as oS, __exportAll as oT, compressSdp as o_, PUBKY_PROOF_ROOT as oa, STAMP_BITS_MIN as ob, typingActivity as oc, storageProofPath as od, ACTIVE_DHT_POLL_MS as of, PRESENCE_WINDOW as og, edgeParams as oh, didWebFile as oi, appRangeEndFrame as ol, PR_STATES as om, MENTION_EVERYONE as on, INVITER_DIAL_GRACE_MS as oo, editFrame as op, ByteReader as or, MESH_HUBS as os, communityMessageId as ot, CapsExchange as ou, HANDOFF_VERSION as ov, withRequestOptions as ow, isAppRef as ox, setAckFrame as oy, sameX401HolderJwk as p, turnStatedVerifier as pC, deviceFrameCapability as pS, parseCallSignal as p_, pubkyProofPath as pa, knockSlotRecords as pb, PIN_FRAME as pc, ringEvidence as pd, LIVE_POLL_MS as pf, UNUSED_INVITE_WAIT_MAX_MS as pg, sealSecret as ph, parseDidJws as pi, readAppRangeFrame as pl, appCardUrl as pm, GROUP_META_PAST_CHARS as pn, PAIRING_RETRY_MS as po, LINK_MAX_CHARS as pp, encodeWitness as pr, wireHubPolicy as ps, leaveStatement as pt, encodePacketTransports as pu, handoffAttemptFailed as pv, newerPacket as pw, signAppObject as px, ENROLL_CANCEL_REASONS as py, signAppStore as q, readRelayBody as qC, TURN_VERSION as qS, HANDOFF_HAVE as q_, ANSWERS_REFUSED_PAUSES as qa, yieldThread as qb, encryptPushPayload as qc, domainTxtRecord as qd, parseVideoMeta as qf, extractRtcParams as qg, AWAITING_PEER_MS as qh, isWalletNetwork as qi, UPGRADE_CAPABILITY as ql, parseGroupCommit as qm, sshSignCommand as qn, CARRIED_DEFER_MS as qo, REPLY_ID as qp, DID_FILE_MAX_BYTES as qr, TYPING_FRAME as qs, asWritten as qt, PROOF_CAPABILITY as qu, readHandoffHello as qv, concatBytes as qw, createChatInvite as qx, KNOCK_SLOTS as qy, readX401OpenId4VpRequest as r, signTurnPacket as rC, pastedAgain as rS, utf8Encode as rT, buildSdpFromSignal as r_, BITCOIN_NETWORKS as ra, REQUEST_TEXT_BYTES as rb, parseTypingActivity as rc, proofStatement as rd, txtValue as rf, OFFER_LOOK_MS as rg, confirmationMatches as rh, didJwsAlg as ri, appRangeCancelFrame as rl, CRON_LINE as rm, meshMessageRef as rn, FIRST_PAIRING_PACE_MS as ro, REMOVED_TEXT as rp, decodeBase64 as rr, groupSignalFrame as rs, communityCommitHash as rt, CAPS_LIMITS as ru, HANDOFF_REQUEST as rv, budgetRetryMs as rw, isAppHash as rx, SET_UPDATE as ry, presentX401SdJwtVc as s, turnName as sC, DEVICE_ECHO_FRAME as sS, __require as sT, contactRtcConfig as s_, isPubkyKey as sa, contactAskerFrame as sb, typingFrame as sc, validExternalKey as sd, DHT_FILE_REFUSED as sf, RELAY_POLL_INTERVALS as sg, encryptText as sh, didWebFileNames as si, appRangeErrorFrame as sl, REMOVABLE_KINDS as sm, MENTION_LIMITS as sn, INVITE_TAKEN as so, editedFrame as sp, compactSize as sr, NO_HUB_POLICY as ss, communityRoster as st, CapsKeys as su, HANDOFF_WINDOW as sv, MAX_DNS_PACKET_BYTES as sw, isAppSignature as sx, setUpdateFrame as sy, X401_REQUEST_LIMITS as t, sealTurnBody as tC, inviteQrText as tS, toZ32 as tT, RTC_CONFIG as t_, sparkInvoiceDetails as ta, REQUEST_NAME_UNITS as tb, TypingReceiver as tc, proofCapability as td, recordsFromWellKnown as tf, MAX_DHT_TEXT_BYTES as tg, verifyCommitSignature as th, checkDidSignature as ti, APP_RANGE_LIMITS as tl, BUTTON_ID as tm, communityEditFrame as tn, DHT_PIN_GRACE_MS as to, MAX_EDITS_PER_MESSAGE as tp, bip322ToSign as tr, SIGNAL_PROVEN_MS as ts, CommunitySession as tt, CAPS_ISSUED_BACK_MS as tu, HANDOFF_PIECE_OVERHEAD as tv, RelayBreaker as tw, appSignedBytes as tx, sortParts as ty, X401_CREDENTIAL_LIMITS as u, turnReleaseMessage as uC, HANDOFF_CAPABILITY as uS, heardCallSignal as u_, normalizePubkyKey as ua, knockHolds as ub, GROUP_PIN_FRAME as uc, RING_LIFETIME as ud, DHT_TEXT_BYTES as uf, TRANSPORTS_GONE_MS as ug, openPair as uh, normalizeDid as ui, encodeAppRangeData as ul, STATUS_CARD_LIMITS as um, validMentions as un, MAX_PAIRED_MESSAGE_FRAME as uo, validEditMessage as up, decodeTx as ur, meshRendezvous as us, derivedSecret as ut, capsDescriptors as uu, filePartName as uv, RELAY_PAYLOAD_MAX_BYTES as uw, readAppRevocations as ux, verifySetUpdate as uy, X401_SCHEME as v, CHAT_RESERVE as vC, deviceLinkSealKey as vS, LABEL$1 as v_, LIGHTNING_DESTINATION_PATTERN as va, openRequest as vb, parsePinnedFrame as vc, RELAY_WITH_SECRETS as vd, dhtFileId as vf, GhostlyHttpError as vg, RATCHET_CAPABILITY as vh, DID_DHT_MAX_PAYLOAD as vi, APP_RATE_WINDOW_MS as vl, cardTimeUtc as vm, encodeGroupMetaBody as vn, REDESCRIBED_GRACE_MS as vo, linkStop as vp, u64 as vr, freshHubs as vs, signCommunity as vt, IDENTITY_FRAME_LIMIT as vu, handoffContextProof as vv, decodeDnsAnswers as vw, IMAGE_LIMITS as vx, enrollCancelFrame as vy, decodeX401Header as w, FRESH_READ_MS as wC, verifyDeviceTransports as wS, parseLinkRecords as w_, parseLightningDestination as wa, stampHolds as wb, DEVICE_WAKE_TTL_SECONDS as wc, irohRelayUrl as wd, sanitizeFileName as wf, relativizeLocation as wg, isRatcheted as wh, didDhtDocument as wi, appDataBytes as wl, statusCardBytes as wm, groupMetaTag as wn, WAKE_LOST_MS as wo, forwardedAgain as wp, atprotoDidMethod as wr, newerHead as ws, MAX_KNOCKS as wt, IDENTITY_PROOF_CAPABILITY as wu, handoffFileRequestFrame as wv, identityFromSeed as ww, readImageMeta as wx, enrollMessage as wy, buildX401ProofResult as x, CHAT_WATCH_SHARE as xC, newDeviceSetSecret as xS, buildLinkRecords as x_, findLightningDestination as xa, requestPlaintextBytes as xb, pinNumberHolds as xc, checkedDescriptors as xd, PREVIEWABLE_IMAGE as xf, VIEWER_SERVICE_CSP as xg, RATCHET_OVERHEAD as xh, DID_DHT_VERSION as xi, APP_VERSION_MAX as xl, readStatusCard as xm, groupMetaChange as xn, SWITCH_RETIRE_MS as xo, previewImageSize as xp, ATPROTO_FULL_SCOPE as xr, lobbyRecords as xs, verifyCommunityCommit as xt, IDENTITY_MAX_FRAME as xu, handoffDoneFrame as xv, readDnsName as xw, isImageMime as xx, enrollDoneFrame as xy, X401_VERSION as y, CHAT_RESERVE_MOST_SHARE as yC, deviceLinkSecret as yS, MAX_MSGS_PAYLOAD_B64 as y_, LNURL_LIMITS as ya, readKnockSlot as yb, pinFrame as yc, TRANSPORTS as yd, readDhtFile as yf, HttpClient as yg, RATCHET_HEADER_BYTES as yh, DID_DHT_PREFIX as yi, APP_RESUME_GRACE_MS as yl, cardUrl as ym, groupDisplayName as yn, RESUME_WAIT_MS as yo, linksIn as yp, varBytes as yr, hubRank as ys, verifyCommunityChain as yt, IDENTITY_FRAME_WINDOW_MS as yu, handoffDataFrame as yv, decodeTxtPacket as yw, exifOrientation as yx, enrollCancelReason as yy, planAppUpdate as z, SLOW_DEMOTE_MS as zC, TURN_MAX as zS, HANDOFF_BUSY as z_, VIDEO_METADATA_LIMITS as za, findAppForbiddenKey as zb, wakeFrame as zc, DOMAIN_FILE_MAX_BYTES as zd, voiceLevel as zf, encodeControl as zg, REANSWERS as zh, SEPOLIA_TEST_USDT_FAUCET as zi, KNOWN_SESSION_CAPABILITIES as zl, MAX_GROUP_CHAIN as zm, SSH_KEY_TYPES as zn, GROUP_WANT_NO_FRAME as zo, reactionEmoji as zp, parseAtprotoCar as zr, FILE_LIMITS as zs, groupWakeFrame as zt, receivedIdentityStatus as zu, openHandoffPiece as zv, dropLoneJoiners as zw, encodeDeviceInvite as zx, newInbox as zy };
40100
+ export { COMMUNITY_LIMITS as $, currentRelays as $C, TurnRecordError as $S, HANDOFF_HELLO as $_, DEMOTE_AFTER_FAILURES as $a, APP_NAME as $b, APP_RANGE_DATA_KIND as $c, nip05RootKey as $d, EDIT_FRAME as $f, parseRtcSignal as $g, DHT_POLL_INTERVALS as $h, isSparkAddress as $i, PairedSession as $l, signCommit as $m, MessageRefusal as $n, SIGNAL_CARRIERS as $o, readReply as $p, DidError as $r, TYPING_SEND_LIMIT as $s, GROUP_EDIT_TEXT_BYTES as $t, emptyProofLedger as $u, readHandoffManifest as $v, unwrapPasted as $w, createLink as $x, KNOCK_SLOT_LABEL as $y, readX401ProofResponseHeader as A, DEFAULT_RELAYS as AC, seedSigner as AS, HTTP_SERVICE_PROTO as A_, findBolt11 as Aa, APP_BUNDLE_LIMITS as Ab, WAKE_INTERVAL_MS as Ac, transportOrder as Ad, VOICE_LIMITS as Af, sanitizeRequestHeaders as Ag, ratchetRoot as Ah, jwkThumbprint as Ai, isChatAppId as Al, MESSAGE_CLOCK_SKEW_MS as Am, parseGroupMetaBody as An, ENGINE_ERRORS as Ao, GROUP_REACTION_FRAME as Ap, parseAtprotoDidDocument as Ar, readLobby as As, knockRecords as At, IdentityCheckUnavailable as Au, handoffHaveFrames as Av, IDENTITY_MEMO_SIZE as Aw, canonicalJson as Ax, enrollProofFrame as Ay, APP_STORE_KINDS as B, PREVIOUS_DEFAULT_RELAYS as BC, TOMBSTONE_TURN as BS, servicesToWire as B_, videoMetadataPatches as Ba, appViewOf as Bb, wakeFrame as Bc, DNS_TYPE as Bd, voiceFileName as Bf, decodeChunk as Bg, LATE_ANSWER_MS as Bh, TEST_USDT_FAUCET_AMOUNT as Bi, KNOWN_SESSION_CAPABILITIES as Bl, LEGACY_GROUP_MEMBERS as Bm, SSH_PUBLIC_KEY_MAX as Bn, GROUP_WANT_NO_FRAME as Bo, reactedFrame as Bp, parseAtprotoDidKey as Br, FILE_LIMITS as Bs, groupWakes as Bt, newIdentityBinding as Bu, handoffVerifiedMessage as Bv, sealedLength as Bw, DEVICE_INVITE_OWN_DEVICE as Bx, REOPEN_BELOW as By, buildX401TokenObject as C, BACKGROUND_REQUESTS_PER_MINUTE as CC, deviceLinkSealKey as CS, LABEL$1 as C_, parseInvoiceCallback as Ca, openRequest as Cb, pinnedFrame as Cc, checkedDescriptors as Cd, PREVIEWABLE_IMAGE as Cf, HttpClient as Cg, RATCHET_OVERHEAD as Ch, decodeDidDhtPacket as Ci, AppSessions as Cl, readStatusCard as Cm, groupMetaPicture as Cn, WAKE_ANSWER_GRACE_MS as Co, previewImageSize as Cp, ATPROTO_PROOF_SCOPE as Cr, mergeBeacon as Cs, KNOCK_TTL_MS as Ct, IDENTITY_MAX_RECEIVED as Cu, handoffContextProof as Cv, parseRelayPayload as Cw, IMAGE_LIMITS as Cx, enrollCancelFrame as Cy, readX401ProofRequest as D, CHAT_RESERVE_MOST_SHARE as DC, signDeviceTransports as DS, emptyLinkRecords as D_, resolveLightningDestination as Da, requestRecords as Db, WAKE_CALL_TTL_SECONDS as Dc, rankTransports as Dd, sanitizeMime as Df, parseLocalTarget as Dg, ratchetHeard as Dh, didDhtRecords as Di, appOpenFrame as Dl, statusCardText as Dm, keepPastGroupMeta as Dn, pairedMessageFrame as Do, forwardedMany as Dp, checkAtprotoProofRecord as Dr, rankHubs as Ds, entryParams as Dt, IDENTITY_REVOCATION_LABEL as Du, handoffEphemeral as Dv, decodeTxtPacket as Dw, parseImageMeta as Dx, enrollGrantFrame as Dy, isX401Protocol as E, CHAT_RESERVE as EC, newDeviceSetSecret as ES, buildLinkRecords as E_, requestLnurlInvoice as Ea, requestPlaintextBytes as Eb, WAKE_CALL_INTERVAL_MS as Ec, irohRelayUrl as Ed, sanitizeFileName as Ef, formatLocalTarget as Eg, isRatcheted as Eh, didDhtKey as Ei, appDataFrame as El, statusCardBytes as Em, groupName as En, pairedMessageFits as Eo, forwardedAgain as Ep, atprotoProofRkey as Er, pickHubs as Es, encodeGroupEntryLink as Et, IDENTITY_PROVIDER_ID as Eu, handoffDoneFrame as Ev, decodeDnsAnswers as Ew, isImageMime as Ex, enrollDoneFrame as Ey, appRevocationFor as F, GROUP_OVER_PACE_MS as FC, TURN_VISIBLE_MS as FS, encodeServices as F_, isFederationId as Fa, APP_ICON_PATH as Fb, newWakeToken as Fc, HoldRefusedError as Fd, formatVoiceDuration as Ff, CHUNK_FLAG_END as Fg, CONNECT_TIMEOUT_MS as Fh, EVM_TEST_CHAINS as Fi, BUTTONS_CAPABILITY as Fl, shownTime as Fm, verifyGroupMetaSignature as Fn, PairingTracker as Fo, ReactionWindow as Fp, decodeAtprotoCommit as Fr, PairedCalls as Fs, GROUP_WAKE_GROUP_WINDOW_MS as Ft, identityRefusal as Fu, handoffReleaseFrame as Fv, sign as Fw, createContactLink as Fx, FLOOD_PER_DAY as Fy, readAppStore as G, SIGNALING_ALLOWANCE_SHARE as GC, TURN_NAME_BYTES as GS, HANDOFF_BUSY_REASONS as G_, stripPictureMetadata as Ga, isAppLicense as Gb, WebPushError as Gc, NIP05_PATH as Gd, VIDEO_LIMITS as Gf, wrapDataChannel as Gg, DIRECT_OWN_ATTEMPTS as Gh, assertWholeSats as Gi, STATUS_CARD_CAPABILITY as Gl, SAID_AGAIN as Gm, sshFingerprint as Gn, readGroupHave as Go, readReaction as Gp, verifyAtprotoSignature as Gr, sentWhole as Gs, GROUP_READ_NOTE as Gt, IDENTITY_TIMELINE_MAX as Gu, readHandoffAck as Gv, sanitizeAvatar as Gw, readDeviceInvite as Gx, planKnocks as Gy, checkAppListing as H, REQUESTS_PER_MINUTE as HC, TURN_LABEL as HS, HANDOFF_ACK as H_, NO_PICTURE_METADATA as Ha, buildAppBundle as Hb, wakeRequest as Hc, DOMAIN_MAX_RECORDS as Hd, voiceLevelsOf as Hf, encodeChunk as Hg, REANSWERS as Hh, WALLET_NETWORKS as Hi, REACTIONS_CAPABILITY as Hl, MAX_GROUP_MEMBERS as Hm, parseSshPublicKey as Hn, groupFileFallback as Ho, reactionFrame as Hp, readAtprotoCid as Hr, decodeFileData as Hs, parseGroupWakeFrame as Ht, revokesIdentity as Hu, isHandoffPartName as Hv, MAX_AVATAR_LENGTH as Hw, deviceInviteJoinerKeyZ32 as Hx, endedRequests as Hy, appStoreDecision as I, GROUP_RATION_WINDOW_MS as IC, classifyTurnRead as IS, isValidServiceId as I_, parseCashuRequestPayload as Ia, APP_PERMISSIONS as Ib, parseWakeFrame as Ic, isHoldUrl as Id, isPlayableAudioType as If, CHUNK_KIND as Ig, DATA_SETTLE_MS as Ih, ONCHAIN_PROVIDER as Ii, CALLS_CAPABILITY as Il, GROUP_ADMIN_OFF_ERROR as Im, wrapGroupMeta as In, GROUP_FILE_LIMITS as Io, nextReactionNumber as Ip, decodeDagCbor as Ir, parsePairedCallFrame as Is, GROUP_WAKE_MEMBER_INTERVAL_MS as It, identityRevocationValue as Iu, handoffRequestFrame as Iv, verify as Iw, encodeContactLink as Ix, MAX_DONE as Iy, GROUP_TYPING_FRAME as J, SLOW_MS as JC, TURN_SEALED_BYTES as JS, HANDOFF_DATA as J_, ANSWERS_REFUSED_PAUSE_MS as Ja, pacer as Jb, encryptPushPayload as Jc, dnsProofName as Jd, isVideoMime as Jf, RTC_SIGNAL_FUTURE_MS as Jg, directBlocked as Jh, parsePaymentAmount as Ji, UPGRADE_CAPABILITY as Jl, expectedRoster as Jm, verifySshSignature as Jn, CARRIED_DEFER_MS as Jo, PAIRED_REPLY_AUTHORS as Jp, DID_GHOSTLY_SERVICE as Jr, TYPING_FRAME as Js, chainPieces as Jt, PROOF_ADAPTERS as Ju, readHandoffData as Jv, hasVisible as Jw, INVITE_LINK_ORIGIN as Jx, turnOff as Jy, readAppStoreSteps as K, SIGNALING_WINDOW_MS as KC, TURN_NO_ACTIVE as KS, HANDOFF_CANCEL as K_, withoutPictureMetadata as Ka, isAppPath as Kb, checkPushEndpoint as Kc, WELL_KNOWN_PATH as Kd, formatVideoDuration as Kf, DATA_CHANNEL_ID as Kg, DIRECT_PEERS as Kh, formatPaymentAmount as Ki, SessionCapabilities as Kl, commitHash as Km, sshKeyDigestHex as Kn, readGroupWant as Ko, validReactionNumber as Kp, DID_DOCUMENT_MAX_BYTES as Kr, transferEnded as Ks, GroupSession as Kt, applyIdentityEvent as Ku, readHandoffBusy as Kv, MAX_NICK_LENGTH as Kw, DEVICE_INVITE_VERSION as Kx, settleRequest as Ky, appUpdateDecision as L, GROUP_SIGNALING_ALLOWANCE_SHARE as LC, keptAtEqualSequence as LS, isViewerTag as L_, parseFedimintRequestPayload as La, APP_SCREENSHOTS_DIR as Lb, readWake as Lc, newMailbox as Ld, parseVoiceMeta as Lf, LIMITS as Lg, DataLink as Lh, PaymentPreflightError as Li, EDIT_CAPABILITY as Ll, GROUP_ID as Lm, SSHSIG_MAX_ARMOR as Ln, GROUP_HAVE_FRAME as Lo, parseReactedFrame as Lp, encodeDagCbor as Lr, ChatFiles as Ls, GROUP_WAKE_RECEIVE_LIMIT as Lt, identityStatement as Lu, handoffRetryAfter as Lv, decrypt as Lw, readContactLink as Lx, MAX_MISSED as Ly, readX401ProofResultHeader as M, FRESH_READ_MS as MC, TURN_PUT_WINDOW_MS as MS, MAX_SERVICES as M_, cashuRequestPayload as Ma, APP_CLIENTS as Mb, WAKE_TTL_SECONDS as Mc, HOLD_DATED_BACK_MS as Md, baseMime as Mf, viewerResponseHeaders as Mg, ratchetSessionOf as Mh, resolveDidDht as Mi, readAppFrame as Ml, claimedTime as Mm, parseGroupMetaStatement as Mn, engineError as Mo, REACTED_FRAME as Mp, AtprotoCid as Mr, validHead as Ms, readKnocks as Mt, boundVerifiedIdentity as Mu, handoffManifestFrames as Mv, identityFromSeed as Mw, readCanonicalJson as Mx, readEnrollGrant as My, x401AnswerableRequests as N, GROUP_BURST_MS as NC, TURN_RAISE_READ_TIMEOUT_MS as NS, SERVICES_VERSION as N_, fedimintRequestPayload as Na, APP_CLIENT_NAME as Nb, WakeLimiter as Nc, HOLD_LIMITS as Nd, downsamplePeaks as Nf, webLocalFetch as Ng, ratchetUnknownSession as Nh, signDidDhtPacket as Ni, APPS_CAPABILITY as Nl, heardTime as Nm, parseGroupMetaTag as Nn, engineText as No, REACTION_FRAME as Np, AtprotoProofError as Nr, MAX_PAIRED_CALL_SIGNAL as Ns, GROUP_WAKE_FRAME as Nt, emptyIdentityLedger as Nu, handoffOfferFrame as Nv, identityFromSeedB64 as Nw, CONTACT_LINK_BYTES as Nx, readEnrollHello as Ny, readX401ProofRequestHeader as O, CHAT_RESERVE_PER_CHAT as OC, unsignedDeviceTransports as OS, isEmptyLinkPacket as O_, BOLT11_PATTERN as Oa, seenEntry as Ob, WAKE_CALL_WAIT_MS as Oc, relayUrl as Od, PLAYABLE_AUDIO as Of, relativizeLocation as Og, ratchetOn as Oh, encodeDidDhtDeactivated as Oi, chatAppId as Ol, taskProgress as Om, nextGroupMetaRevision as On, parsePaymentNetworks as Oo, readForwarded as Op, isAtprotoDid as Or, readBeacon as Os, groupEntryUrl as Ot, IDENTITY_STATEMENT_PREFIX as Ou, handoffFileMissingFrame as Ov, encodeTxtPacket as Ow, previewable as Ox, enrollHelloFrame as Oy, addedAppPermissions as P, GROUP_BURST_ONE_LINK as PC, TURN_SETTLE_MS as PS, decodeServices as P_, findEndpoint as Pa, APP_FORBIDDEN_KEYS as Pb, deviceWakeRequest as Pc, HoldKeys as Pd, fileMessageText as Pf, withViewerPolicy as Pg, ANSWER_REFUSED_REDIALS as Ph, ETHEREUM_USDT as Pi, APP_RANGES_CAPABILITY as Pl, receivedTimestamp as Pm, signGroupMeta as Pn, parseEngineError as Po, REACTION_LIMITS as Pp, atprotoCidFor as Pr, PAIRED_CALL_FRAME as Ps, GROUP_WAKE_GROUP_LIMIT as Pt, identityPresentationBytes as Pu, handoffPakeFrame as Pv, publicKeyFromZ32 as Pw, CONTACT_LINK_VERSION as Px, verifyEnrollProof as Py, sealGroupTyping as Q, WRITE_FIRST_MS as QC, TURN_VERSION as QS, HANDOFF_HAVE as Q_, CROSSED_WAIT_MS as Qa, yieldThread as Qb, vapidKeysMatch as Qc, isPublicAddress as Qd, EDIT_BUFFER_MS as Qf, offerIsFresh as Qg, DEPARTED_READ_MS as Qh, SPARK_PROVIDER as Qi, PAIRED_PROFILE as Ql, rosterHas as Qm, BIP322_REVISION as Qn, SIGNALS_PER_MINUTE as Qo, pairedReplyAuthor as Qp, DID_METHODS as Qr, TYPING_REFRESH_MS as Qs, GROUP_EDIT_FRAME as Qt, STORAGE_ROOT as Qu, readHandoffHello as Qv, trimEndOf as Qw, createChatInvite as Qx, KNOCK_SLOTS as Qy, checkAppBeforeRun as R, HEDGE_MISSING_MS as RC, turnPutSummary as RS, serviceIdFromName as R_, NO_VIDEO_METADATA as Ra, APP_VIEWS as Rb, readWakePayload as Rc, readManifest as Rd, recordingMime as Rf, MAX_CHUNK_PAYLOAD_BYTES as Rg, GATHER_ATTEMPTS as Rh, SEPOLIA_TEST_USDT as Ri, FILES_BINARY_CAPABILITY as Rl, GROUP_MEMBER_CAP as Rm, SSHSIG_NAMESPACE as Rn, GROUP_VERSION_FILES as Ro, parseReactionFrame as Rp, findInMst as Rr, FILE_DATA_KIND as Rs, GroupWakeLimiter as Rt, identityStatementText as Ru, handoffStreamKey as Rv, encrypt as Rw, DEVICE_INVITE_BYTES as Rx, MAX_WAITING as Ry, buildX401ResultArtifact as S, ANSWER_READ_SPACING_MS as SC, deviceLinkRendezvousSeed as SS, waitForIceGathering as S_, invoiceCallbackUrl as Sa, mergeContactKnocks as Sb, pinNumberHolds as Sc, automaticTransport as Sd, FileTransfers as Sf, GhostlyHttpError as Sg, RATCHET_KEEP_MS as Sh, DidDhtError as Si, APP_VERSION_MAX as Sl, checkStatusCard as Sm, groupMetaNewer as Sn, UNPROVEN_AUTH_MS as So, parseLinkPreview as Sp, ATPROTO_PROOF_COLLECTION as Sr, lobbyRecords as Ss, GROUP_ENTRY_PROFILE as St, IDENTITY_MAX_FRAME as Su, handoffContext as Sv, openRelayPayload as Sw, verifyAppStatementBytes as Sx, ENROLL_PROOF as Sy, encodeX401Header as T, BACKGROUND_WRITES_SHARE as TC, devicePingFrame as TS, RECORD_TTL as T_, parsePayParams as Ta, readLinkRecord as Tb, DEVICE_WAKE_TTL_SECONDS as Tc, irohDescriptor as Td, safeBlobType as Tf, VIEWER_SERVICE_CSP as Tg, emptyRatchetState as Th, didDhtFromPublicKey as Ti, appDataBytes as Tl, sameButtonText as Tm, groupMetaToHand as Tn, pairedEditFits as To, FORWARD_LIMITS as Tp, atprotoProofRecord as Tr, newerHead as Ts, decodeGroupEntryLink as Tt, IDENTITY_PROOF_CAPABILITY as Tu, handoffDigest as Tv, signRelayPayload as Tw, imageSize as Tx, enrollDigits as Ty, checkAppStoreIndex as U, RelayTransport as UC, TURN_LAST_SEQUENCE as US, HANDOFF_ATTEMPTS as U_, PICTURE_METADATA_LIMITS as Ua, checkAppManifest as Ub, PUSH_PAD_BYTES as Uc, DOMAIN_METHODS as Ud, voicePeaksOf as Uf, encodeControl as Ug, STALLED_EVIDENCE_MS as Uh, arkAddressPrefix as Ui, SERVICES_CAPABILITY as Ul, MEMBER_KEY as Um, parseSshSignature as Un, isGroupMessageId as Uo, reactionIsNewer as Up, unsignedCommitBytes as Ur, encodeFileData as Us, GROUP_LIMITS as Ut, signIdentityPresentation as Uu, newHandoffId as Uv, MAX_AVATAR_SIDE as Uw, deviceInviteJoinerParams as Ux, inboxRecord as Uy, APP_STORE_LIMITS as V, RELAY_REQUESTS_PER_MINUTE as VC, TURN_BODY_BYTES as VS, viewerTag as V_, withoutVideoMetadata as Va, assembleAppBundle as Vb, wakePayload as Vc, DOMAIN_FILE_MAX_BYTES as Vd, voiceLevel as Vf, decodeControl as Vg, OFFER_HOST_GATHER_MS as Vh, USDT_PUBLIC_RPC as Vi, PIN_CAPABILITY as Vl, MAX_GROUP_CHAIN as Vm, SshSigError as Vn, fetchesByItself as Vo, reactionEmoji as Vp, parseAtprotoVerificationKey as Vr, FileUplink as Vs, mentionedMembers as Vt, receivedIdentityStatus as Vu, handoffVersions as Vv, tryDecrypt as Vw, createDeviceInvite as Vx, clearMissed as Vy, readAppListing as W, RelaysFailedError as WC, TURN_MAX as WS, HANDOFF_BUSY as W_, isStrippedPicture as Wa, findAppForbiddenKey as Wb, PUSH_SERVICE_HOSTS as Wc, DOMAIN_TXT_MAX_BYTES as Wd, PLAYABLE_VIDEO as Wf, sendBody as Wg, DIRECT_EVIDENCE_MS as Wh, assertTokenUnits as Wi, SESSION_CAPABILITIES_FRAME as Wl, OWN_FRAME_LIMIT as Wm, sameSshKey as Wn, readGroupFileMeta as Wo, readDhtReactions as Wp, verifyAtprotoRecordProof as Wr, refusalText as Ws, GROUP_REACTED_FRAME as Wt, verifyIdentityPresentation as Wu, openHandoffPiece as Wv, jpegSize$1 as Ww, encodeDeviceInvite as Wx, newInbox as Wy, groupTypingEpoch as X, WATCH_SHARE as XC, TURN_SLOTS as XS, HANDOFF_FILE_MISSING as X_, CROSSED_FRESH_MS as Xa, readAppBundleAsync as Xb, pushRequest as Xc, domainWellKnownFile as Xd, EDITED_FRAME as Xf, buildDataSdp as Xg, AWAITING_PEER_MS as Xh, walletNetworkOf as Xi, parseSessionCapabilities as Xl, rememberAlone as Xm, legacyMessageHash as Xn, GROUP_SIGNAL_FRAME as Xo, REPLY_LIMITS as Xp, DID_JWS_MAX_LENGTH as Xr, TYPING_RATE_LIMIT as Xs, groupMessageId as Xt, PeerProofs as Xu, readHandoffFileFrame as Xv, sanitizeNick as Xw, INVITE_VERSION as Xx, CONTACT_RECORD_TTL as Xy, GroupTypingBoard as Y, TURN_SOURCE_TIMEOUT_MS as YC, TURN_SIGNED_BYTES as YS, HANDOFF_DONE as Y_, BLOCKED_DIAL_WAIT_MS as Ya, readAppBundle as Yb, generateVapidKeys as Yc, domainTxtRecord as Yd, parseVideoMeta as Yf, RTC_SIGNAL_MAX_AGE_MS as Yg, symmetricNat as Yh, validatePaymentTarget as Yi, WAKE_SESSION_CAPABILITY as Yl, parseGroupCommit as Ym, isLegacySignature as Yn, CarriedTransport as Yo, REPLY_ID as Yp, DID_JWS_ALGS as Yr, TYPING_KINDS as Ys, frameBytes as Yt, PROOF_CAPABILITY as Yu, readHandoffDone as Yv, sanitizeDisplayText as Yw, INVITE_MAX_LENGTH as Yx, CONTACT_ASKER_FRAME as Yy, openGroupTyping as Z, WAY_BACK_SHARE as ZC, TURN_TTL as ZS, HANDOFF_FILE_REQUEST as Z_, CROSSED_PROBE_MS as Za, sha256Paced as Zb, vapidAuthorization as Zc, encodeDnsQuery as Zd, EDIT_BUFFER_MAX as Zf, extractRtcParams as Zg, DAEMON_WATCH_PEER_IDLE_MS as Zh, SPARK_NETWORKS as Zi, sessionCapabilitiesFrame as Zl, rosterAdmin as Zm, verifyBitcoinMessage as Zn, GROUP_VERSION_SIGNALS as Zo, groupReplyAuthor as Zp, DID_MAX_LENGTH as Zr, TYPING_RATE_WINDOW_MS as Zs, COMMUNITY_EDIT_FRAME as Zt, STORAGE_LIFETIME as Zu, readHandoffHave as Zv, stripHidden as Zw, OwnInviteError as Zx, ContactRequestError as Zy, X401_PROTOCOLS as _, turnSignedMessage as _C, deviceEchoNonce as _S, keepsToRelays as __, pubkyHomeserverOf as _a, knockSlotOf as _b, nextPinNumber as _c, verifyRingAuthorization as _d, peekDhtMailbox as _f, UNUSED_INVITE_WAIT_MAX_MS as _g, FOLLOW_MS as _h, strictBase64Url as _i, APP_PEER_OPEN_MAX as _l, cardEditNumber as _m, MAX_GROUP_PICTURE_LENGTH as _n, RACE_RELAYED_MS as _o, LINK_TRAILING as _p, u32$1 as _r, beaconRecords as _s, shortHash as _t, IDENTITY_CHECK_UNAVAILABLE as _u, handoffAttemptAllowed as _v, PacketTooLargeError as _w, setAppSignatureFastPath as _x, ENROLL_CANCEL as _y, X401_DCQL_LIMITS as a, readTurnPacket as aC, inviteQrSegments as aS, isZ32Key as aT, RTC_CONFIG as a_, PUBKY_PROOF_MAX_BYTES as aa, REQUEST_LIFETIME_MS as ab, parseTypingFrame as ac, proofStatement as ad, txtValue as af, OFFER_FAST_MS as ag, confirmationMatches as ah, didWebDocumentUrl as ai, appRangeChunk as al, CRON_LINE as am, validEditText as an, HANDLED_WAIT_MS as ao, REMOVED_TEXT as ap, BitcoinAddressError as ar, readGroupSignal as as, communityHasFrame as at, CAPS_PUBLISH_SPACING_MS as au, HANDOFF_PIECE_BYTES as av, BREAKER_ALL_DOWN_PROBE_MS as aw, appRevocationId as ax, sealHandoffPiece as ay, buildX401ProofRequest as b, ANSWER_READ_ALLOWANCE as bC, deviceLinkPairing as bS, sdpHasCandidates as b_, fetchLnurlJson as ba, makeStamp as bb, pinFrame as bc, RELAY_WITH_SECRETS as bd, dhtFileId as bf, presenceSeenAt as bg, RATCHET_CAPABILITY as bh, DID_DHT_TTL as bi, APP_RESUME_GRACE_MS as bl, cardTimeUtc as bm, groupMetaBody as bn, RTC_UNSTARTED_MS as bo, linkStop as bp, ATPROTO_DECLARED_SCOPE as br, hubRank as bs, verifyCommunityChainPaced as bt, IDENTITY_FRAME_WINDOW_MS as bu, handoffBusyFrame as bv, measureRecords as bw, verifyAppRevocation as bx, ENROLL_GRANT as by, readX401DcqlQuery as c, signTurnPacket as cC, pastedAgain as cS, toBase64Url as cT, callRtcConfig as c_, isPubkyProofFolder as ca, REQUEST_TEXT_BYTES as cb, typingFrame as cc, storageProofPath as cd, ACTIVE_DHT_POLL_MS as cf, PRESENCE_HEARTBEAT as cg, edgeParams as ch, didWebFileUrl as ci, appRangeErrorFrame as cl, PR_STATES as cm, mentionsBytes as cn, LIVENESS_MISSED_PINGS as co, editFrame as cp, decodeAnyBitcoinAddress as cr, NO_HUB_POLICY as cs, communityUntaggedHash as ct, CapsKeys as cu, HANDOFF_REQUEST as cv, BREAKER_THRESHOLD as cw, isAppHash as cx, SET_UPDATE as cy, newX401HolderKey as d, turnKeys as dC, DEVICE_CAPABILITIES as dS, utf8Encode as dT, contactRtcConfig as d_, pubkyProofCapability as da, STAMP_BITS_MIN as db, GROUP_PIN_FRAME as dc, verifyPeerProof as dd, DHT_MESSAGE_TTL as df, SIGNAL_DUE_READS as dg, newEpochSecret as dh, parseDid as di, encodeAppRangeData as dl, RUN_RESULTS as dm, wireMentions as dn, PAIRED_FRAME_TOO_LARGE as do, parseEditedFrame as dp, decodeWitness as dr, meshRendezvous as ds, encodeCommunityLink as dt, capsDescriptors as du, HANDOFF_VERSION as dv, budgetRetryMs as dw, isAppRef as dx, setAckFrame as dy, encodeTurnFields as eC, decodeInviteCode as eS, bytesEqual as eT, BURST_RING_MS as e_, sparkAddressKind as ea, LINK_RECORD_LABEL as eb, TYPING_STATUS_MAX as ec, importedProof as ed, normalizeDomain as ef, EXPECT_PEER_MS as eg, sortRoster as eh, checkDidJws as ei, APP_RANGE_ERRORS as el, replySnippet as em, carryMentions as en, DEMOTE_MS as eo, EDIT_RATE_WINDOW_MS as ep, bip322MessageHash as er, SIGNAL_FRESH_MS as es, COMMUNITY_PROFILE as et, SESSION_FRAME_MAX as eu, HANDOFF_LATER_BYTES as ev, normalizeRelayUrl as ew, APP_PREFIXES as ex, readHandoffPake as ey, readX401SdJwtVc as f, turnName as fC, DEVICE_ECHO_FRAME as fS, __commonJSMin as fT, decompressSdp as f_, pubkyProofFile as fa, contactAskerFrame as fb, PINNED_FRAME as fc, RING_LIFETIME as fd, DHT_TEXT_BYTES as ff, SIGNAL_OUT_READS as fg, openPair as fh, parseDidDocument as fi, isServeId as fl, STATUS_CARD_LIMITS as fm, GROUP_META_PAST as fn, PAIRING_ATTEMPT_MS as fo, validEditMessage as fp, encodeTx as fr, parseHubPolicy as fs, leaveStands as ft, dialDescriptors as fu, HANDOFF_WINDOW as fv, heldBackError as fw, isAppSignature as fx, setUpdateFrame as fy, X401_LIMITS as g, turnSequence as gC, deviceEchoFrame as gS, __toCommonJS as gT, isGlobalIpv4Host as g_, homeserverWebEndpoint as ga, knockSlotIdentity as gb, mayPin as gc, validRingKey as gd, emptyDhtDeliveryState as gf, UNUSED_INVITE_UPKEEP_MS as gg, sha256Hex as gh, staticDidDocument as gi, APP_FRAME as gl, buttonLabelClash as gm, MAX_GROUP_NAME_LENGTH as gn, RACE_DIRECT_MS as go, LINK_PREVIEW_LIMITS as gp, txHash as gr, beaconKeys as gs, rosterHash as gt, IDENTITY_CHALLENGE_WINDOW as gu, handoffAckFrame as gv, PKARR_FUTURE_SKEW_MS as gw, readAppSignature as gx, DEVICE_KINDS as gy, X401_HEADERS as h, turnReleaseMessage as hC, HANDOFF_CAPABILITY as hS, __require as hT, isCandidateAddress as h_, encodeSvcbPacket as ha, knockHolds as hb, PIN_LIMITS as hc, ringEvidence as hd, LIVE_POLL_MS as hf, UNUSED_INVITE_READS_PER_MINUTE as hg, sealSecret as hh, signingKeys as hi, APP_DATA_MAX_BYTES as hl, appCardUrl as hm, MAX_GROUP_NAME_BYTES as hn, RACE_ANSWERED_MS as ho, LINK_MAX_CHARS as hp, sha256d as hr, COMMUNITY_TOPOLOGY as hs, leftStatement as ht, parsePacketTransports as hu, filePartName as hv, MAX_DNS_PACKET_BYTES as hw, readAppRevocations as hx, verifySetUpdate as hy, x401ApprovalDigest as i, readTurnBody as iC, inviteOwnership as iS, fromZ32 as iT, QUICK_REDIAL_MS as i_, isBitcoinAddress as ia, REQUEST_LABEL as ib, parseTypingActivity as ic, proofHash as id, recordsName as if, MAX_DHT_TEXT_BYTES as ig, GROUP_PROFILE as ih, didSignedMessages as ii, appRangeCancelFrame as il, BUTTON_STYLES as im, parseCommunityEdit as in, GhostLink as io, MAX_REMOVAL_NUMBER as ip, verifyBip322 as ir, groupSignalFrame as is, communityGroupId as it, CAPS_LIMITS as iu, HANDOFF_PAKE as iv, traceLink as iw, appRefPublisher as ix, sameDigest as iy, readX401ProofResult as j, DEPARTED_READS as jC, webCryptoSigner as jS, LEGACY_SERVICES as j_, ENDPOINT as ja, APP_BUNDLE_MAGIC as jb, WAKE_SUBJECT as jc, HOLD_CAPABILITY as jd, VOICE_METER as jf, sanitizeResponseHeaders as jg, ratchetSeal as jh, openDidDhtPayload as ji, parseAppFrame as jl, arrivalKey as jm, parseGroupMetaFrame as jn, EngineError as jo, QUICK_REACTIONS as jp, shortAtprotoDid as jr, shouldBeHub as js, mergeKnocks as jt, IdentityExchange as ju, handoffHelloFrame as jv, createIdentity as jw, canonicalJsonBytes as jx, formatEnrollDigits as jy, readX401ProofResponse as k, CHAT_WATCH_SHARE as kC, verifyDeviceTransports as kS, parseLinkRecords as k_, decodeBolt11 as ka, stampHolds as kb, WAKE_FRAME as kc, relayedTransports as kd, RECORDING_TYPES as kf, resolveTargetUrl as kg, ratchetOpen as kh, encodeDidDhtPacket as ki, isAppVersion as kl, usageLeft as km, openGroupMeta as kn, publishFailure as ko, COMMUNITY_REACTION_FRAME as kp, normalizeAtprotoHandle as kr, readBeaconHead as ks, knockIdentity as kt, IDENTITY_SUBJECT as ku, handoffFileRequestFrame as kv, readDnsName as kw, readImageMeta as kx, enrollMessage as ky, x401VpToken as l, signTurnRelease as lC, readInviteCode as lS, toZ32 as lT, callSignalHeardAt as l_, newPubkyProofFolder as la, STAMP_BITS_DEFAULT as lb, typingKindOf as lc, validExternalKey as ld, DHT_FILE_REFUSED as lf, PRESENCE_WINDOW as lg, encryptText as lh, didWebHost as li, appRangeGetFrame as ll, REMOVABLE_KINDS as lm, mentionsMember as ln, LIVENESS_PING_MS as lo, editedFrame as lp, decodeBitcoinAddress as lr, mayBeHub as ls, decodeCommunityLink as lt, CapsRefusedError as lu, HANDOFF_TIMINGS as lv, RelayBreaker as lw, isAppKey as lx, encodeSetSlots as ly, x401HolderJwk as m, turnPayloadSequence as mC, ENROLL_CAPABILITY as mS, __exportAll as mT, heardCallSignal as m_, decodeSvcbRecords as ma, contactDay as mb, PIN_FRAME as mc, ringClaims as md, DhtDelivery as mf, TRANSPORTS_GONE_MS as mg, sealPair as mh, parseDidSignaturePaste as mi, readAppRangeFrame as ml, appCardId as mm, MAX_GROUP_META_BODY as mn, PONG_WAIT_MS as mo, validRemovalNumber as mp, hash160 as mr, wireHubPolicy as ms, leaveStatement3 as mt, encodePacketTransports as mu, filePartDigest as mv, withRequestOptions as mw, readAppRevocationShape as mx, signTombstone as my, X401_RESPONSE_MODES as n, nextTurnPosition as nC, encodeInviteCode as nS, fromBase64 as nT, CALL_SIGNAL_MAX_AGE_MS as n_, sparkNetworkOf as na, MAX_SLOT_KNOCKS as nb, TypingReceiver as nc, nostrProofTemplate as nd, recordsFromTxt as nf, IDLE_THRESHOLD as ng, verifyCommit as nh, didGhostlyServiceEntry as ni, APP_RANGE_LIMITS as nl, ACTIVE_TASK_STATUSES as nm, communityMessageAuthor as nn, EARLY_DIAL_JOIN_MS as no, EDIT_SEND_LIMIT as np, bip322ToSpend as nr, SIGNAL_PROVEN_MS as ns, GROUP_READ_NOTE_COMMUNITY as nt, CAPS_ISSUED_BACK_MS as nu, HANDOFF_MANIFEST as nv, relayUrlProblem as nw, appFingerprint as nx, readHandoffTurnFrame as ny, matchX401Dcql as o, sealTurnBody as oC, inviteQrText as oS, randomBytes as oT, answersOffer as o_, PUBKY_PROOF_ROOT as oa, REQUEST_NAME_UNITS as ob, sanitizeTypingStatus as oc, storageProof as od, validDomainRecord as of, OFFER_LOOK_MS as og, confirmationTag as oh, didWebFile as oi, appRangeDataFrame as ol, ITEM_STATES as om, MENTION_EVERYONE as on, INVITER_DIAL_GRACE_MS as oo, RateWindow as op, ByteReader as or, GROUP_VERSION_HUBS as os, communityMessageId as ot, CAPS_REFRESH_MS as ou, HANDOFF_PIECE_OVERHEAD as ov, BREAKER_BASE_MS as ow, appSignedBytes as ox, sortParts as oy, sameX401HolderJwk as p, turnPacket as pC, DEVICE_PING_FRAME as pS, __esmMin as pT, extractParamsFromSdp as p_, pubkyProofPath as pa, contactAskerHolds as pb, PIN_CLOCK_SKEW_MS as pc, ringAuthorization as pd, DHT_TEXT_REFUSED as pf, STALLED_LOOK_MS as pg, openSecret as ph, parseDidJws as pi, parseAppRangeFrame as pl, TASK_STATUSES as pm, GROUP_META_PAST_CHARS as pn, PAIRING_RETRY_MS as po, validEditNumber as pp, encodeWitness as pr, pickMeshHubs as ps, leaveStatement as pt, emptyCapsState as pu, NO_ATTEMPTS as pv, isDiscoveryBudgetError as pw, readAppRevocation as px, setUpdateMessage as py, signAppStore as q, SLOW_DEMOTE_MS as qC, TURN_REV_LIMIT as qS, HANDOFF_CANCEL_REASONS as q_, ANSWERS_REFUSED_PAUSES as qa, isAppUrl as qb, decryptPushPayload as qc, decodeDnsResponse as qd, isPlayableVideoType as qf, DATA_CHANNEL_LABEL as qg, DirectPathWatch as qh, isWalletNetwork as qi, TYPING_CAPABILITY as ql, commitUntaggedHash as qm, sshSignCommand as qn, readGroupWantNo as qo, wireReaction as qp, DID_FILE_MAX_BYTES as qr, transferStalled as qs, asWritten as qt, lastSharedWithMe as qu, readHandoffCancel as qv, dropLoneJoiners as qw, INVITE_HRP as qx, takeRequest as qy, readX401OpenId4VpRequest as r, openTurnValue as rC, inviteLink as rS, fromBase64Url as rT, PAIRED_CALL_CANDIDATES as r_, BITCOIN_NETWORKS as ra, REQUEST_CLOCK_SKEW_MS as rb, TypingSender as rc, proofCapability as rd, recordsFromWellKnown as rf, LinkSession as rg, verifyCommitSignature as rh, didJwsAlg as ri, AppRanges as rl, BUTTON_ID as rm, meshMessageRef as rn, FIRST_PAIRING_PACE_MS as ro, MAX_EDITS_PER_MESSAGE as rp, decodeBase64 as rr, SIGNAL_REPLY_MS as rs, communityCommitHash as rt, CAPS_LABEL as ru, HANDOFF_OFFER as rv, setLinkTraceSink as rw, appRef as rx, readHandoffVerified as ry, presentX401SdJwtVc as s, signTurnBody as sC, ownInviteRefusal as sS, toBase64 as sT, buildSdpFromSignal as s_, isPubkyKey as sa, REQUEST_PACKET_BYTES as sb, typingActivity as sc, storageProofBody as sd, wellKnownUrl as sf, OFFER_STEP_MAX as sg, decryptText as sh, didWebFileNames as si, appRangeEndFrame as sl, PR_CHECKS as sm, MENTION_LIMITS as sn, INVITE_TAKEN as so, dhtEditId as sp, compactSize as sr, MESH_HUBS as ss, communityRoster as st, CapsExchange as su, HANDOFF_RELEASE as sv, BREAKER_MAX_MS as sw, checkAppRevokeStatement as sx, SET_ACK as sy, X401_REQUEST_LIMITS as t, firstDeviceSetSecret as tC, encodeGhostlyInvite as tS, concatBytes as tT, CALL_SIGNAL_FUTURE_MS as t_, sparkInvoiceDetails as ta, MAX_SEEN as tb, TYPING_TIMEOUT_MS as tc, isProofAdapter as td, parseDomainTxt as tf, FIRST_PUBLISH_MAX_MS as tg, verifyChain as th, checkDidSignature as ti, APP_RANGE_FRAMES as tl, wireReply as tm, communityEditFrame as tn, DHT_PIN_GRACE_MS as to, EDIT_RECEIVE_LIMIT as tp, bip322ToSign as tr, SIGNAL_HOLD_MS as ts, CommunitySession as tt, SESSION_RECEIVE_PENDING as tu, HANDOFF_LIST_PER_FRAME as tv, readRelayBody as tw, APP_STATEMENT_LIMITS as tx, readHandoffRelease as ty, X401_CREDENTIAL_LIMITS as u, turnInstance as uC, DEVICES_CAPABILITY as uS, utf8Decode as uT, compressSdp as u_, normalizePubkyKey as ua, STAMP_BITS_MAX as ub, COMMUNITY_PIN_FRAME as uc, verifyNostrProof as ud, DHT_FILE_TOO_LARGE as uf, RELAY_POLL_INTERVALS as ug, epochKeys as uh, normalizeDid as ui, decodeAppRangeData as ul, ROUTINE_STATES as um, validMentions as un, MAX_PAIRED_MESSAGE_FRAME as uo, parseEditFrame as up, decodeTx as ur, meshHubs as us, derivedSecret as ut, DHT_TEXT_CAPABILITY as uu, HANDOFF_VERIFIED as uv, DiscoveryBudgetError as uw, isAppLine as ux, readSetUpdate as uy, X401_SCHEME as v, turnStatedVerifier as vC, deviceFrameCapability as vS, parseCallSignal as v_, LIGHTNING_DESTINATION_PATTERN as va, knockSlotRecords as vb, parsePinFrame as vc, verifyRingEvidence as vd, DHT_FILE_CAPABILITY as vf, WATCH_PEER_MS as vg, MAX_SKIP as vh, DID_DHT_MAX_PAYLOAD as vi, APP_RATE_LIMIT as vl, cardLine as vm, encodeGroupMetaBody as vn, REDESCRIBED_GRACE_MS as vo, canonicalUrl as vp, u64 as vr, doorHubs as vs, signCommunity as vt, IDENTITY_CLOCK_SKEW as vu, handoffAttemptFailed as vv, RELAY_PAYLOAD_MAX_BYTES as vw, signAppObject as vx, ENROLL_CANCEL_REASONS as vy, decodeX401Header as w, BACKGROUND_WHILE_SIGNALING as wC, deviceLinkSecret as wS, MAX_MSGS_PAYLOAD_B64 as w_, parseLightningDestination as wa, readKnockSlot as wb, readPin as wc, dialableIrohRelay as wd, formatFileSize as wf, HttpHost as wg, RatchetBox as wh, didDhtDocument as wi, appCloseFrame as wl, removedCardText as wm, groupMetaTag as wn, WAKE_LOST_MS as wo, sanitizePreviewImage as wp, atprotoDidMethod as wr, mergeLobby as ws, MAX_KNOCKS as wt, IDENTITY_MAX_VALIDITY as wu, handoffDataFrame as wv, readOwnRelayPayload as ww, exifOrientation as wx, enrollCancelReason as wy, buildX401ProofResult as x, ANSWER_READ_FIRST_MS as xC, deviceLinkParams as xS, signalHasVideo as x_, findLightningDestination as xa, makeStampPaced as xb, pinIsNewer as xc, TRANSPORTS as xd, readDhtFile as xf, unusedInviteWait as xg, RATCHET_HEADER_BYTES as xh, DID_DHT_VERSION as xi, APP_SEND_LIMIT as xl, cardUrl as xm, groupMetaChange as xn, SWITCH_RETIRE_MS as xo, linksIn as xp, ATPROTO_FULL_SCOPE as xr, lobbyKeys as xs, verifyCommunityCommit as xt, IDENTITY_MAX_EVIDENCE as xu, handoffCancelFrame as xv, newerPacket as xw, verifyAppSignature as xx, ENROLL_HELLO as xy, X401_VERSION as y, turnVerifierMark as yC, deviceKeyZ32 as yS, pickCallCandidates as y_, LNURL_LIMITS as ya, linkRecords as yb, parsePinnedFrame as yc, RELAY_URL as yd, dhtFileElements as yf, countUnusedInvite as yg, MAX_SKIPPED_KEYS as yh, DID_DHT_PREFIX as yi, APP_RATE_WINDOW_MS as yl, cardLinkHost as ym, groupDisplayName as yn, RESUME_WAIT_MS as yo, linkEnd as yp, varBytes as yr, freshHubs as ys, verifyCommunityChain as yt, IDENTITY_FRAME_LIMIT as yu, handoffAttemptSucceeded as yv, createRelayPayload as yw, signAppRevocation as yx, ENROLL_DONE as yy, planAppUpdate as z, HEDGE_MS as zC, TOMBSTONE_SEQUENCE as zS, servicesFromWire as z_, VIDEO_METADATA_LIMITS as za, appDigest as zb, relayRequest as zc, DNS_LABEL as zd, voiceDownloadName as zf, PROTOCOL_VERSION as zg, GATHER_STALL_MS as zh, SEPOLIA_TEST_USDT_FAUCET as zi, FILES_CAPABILITY as zl, GROUP_VERSION_LARGE as zm, SSH_KEY_TYPES as zn, GROUP_WANT_FRAME as zo, queueReaction as zp, parseAtprotoCar as zr, FILE_FRAMES as zs, groupWakeFrame as zt, isIdentityBinding as zu, handoffVerifiedFrame as zv, generateEncryptionKey as zw, DEVICE_INVITE_LIFETIME_S as zx, NEW_PER_HOUR as zy };
39723
40101
 
39724
- //# sourceMappingURL=src-CEgQHzFr.js.map
40102
+ //# sourceMappingURL=src-DHR2fUGx.js.map