@ghostlytools/sdk 1.7.4 → 1.8.1
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.
- package/dist/core.js +593 -2
- package/dist/core.js.map +1 -1
- package/dist/{fakes-ClE16ouz.js → fakes-Cyfc_vXC.js} +2 -2
- package/dist/fakes-Cyfc_vXC.js.map +1 -0
- package/dist/fakes.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{keet-identity-key-BRKv78jp.js → keet-identity-key-uq3scTiE.js} +2 -2
- package/dist/{keet-identity-key-BRKv78jp.js.map → keet-identity-key-uq3scTiE.js.map} +1 -1
- package/dist/{src-B5uLojgn.js → src-DytzSJB6.js} +1133 -182
- package/dist/src-DytzSJB6.js.map +1 -0
- package/dist/testing.js +3 -3
- package/dist/types/browser/src/shared/features.d.ts +5 -0
- package/dist/types/browser/src/shared/mints.d.ts +6 -0
- package/dist/types/core/src/chatFiles.d.ts +34 -1
- package/dist/types/core/src/dhtDelivery.d.ts +51 -0
- package/dist/types/core/src/domainProofs.d.ts +3 -2
- package/dist/types/core/src/engineErrors.d.ts +5 -1
- package/dist/types/core/src/ghostlink.d.ts +18 -0
- package/dist/types/core/src/groupCommunity.d.ts +44 -4
- package/dist/types/core/src/groupSession.d.ts +19 -21
- package/dist/types/core/src/groupSignals.d.ts +4 -0
- package/dist/types/core/src/image.d.ts +2 -0
- package/dist/types/core/src/index.d.ts +2 -0
- package/dist/types/core/src/link.d.ts +13 -0
- package/dist/types/core/src/pairedTransports.d.ts +14 -3
- package/dist/types/core/src/pictureMetadata.d.ts +25 -0
- package/dist/types/core/src/ratchet.d.ts +201 -0
- package/dist/types/core/src/relay.d.ts +15 -0
- package/dist/types/core/src/statusCards.d.ts +5 -0
- package/dist/types/core/src/storeForward.d.ts +32 -11
- package/dist/{verify-yJe2Uqod.js → verify-BC1Eu1lE.js} +2 -2
- package/dist/{verify-yJe2Uqod.js.map → verify-BC1Eu1lE.js.map} +1 -1
- package/package.json +1 -1
- package/dist/fakes-ClE16ouz.js.map +0 -1
- package/dist/src-B5uLojgn.js.map +0 -1
package/dist/core.js
CHANGED
|
@@ -1,4 +1,595 @@
|
|
|
1
|
-
import { $ as COMMUNITY_LIMITS, $C as bytesEqual, $S as WRITE_FIRST_MS, $_ as newHandoffId, $a as LIVENESS_PING_MS, $b as INVITE_LINK_ORIGIN, $c as isServeId, $d as emptyDhtDeliveryState, $f as LINK_PREVIEW_LIMITS, $g as HANDOFF_ATTEMPTS, $h as decodeChunk, $i as sparkAddressKind, $l as DOMAIN_FILE_MAX_BYTES, $m as ANSWER_REFUSED_REDIALS, $n as bip322MessageHash, $o as meshHubs, $p as cardEditNumber, $r as checkDidJws, $s as GROUP_PIN_FRAME, $t as carryMentions, $u as identityRevocationValue, $v as inboxRecord, $x as TURN_SEALED_BYTES, $y as isAppPath, A as readX401ProofResponseHeader, AC as IDENTITY_MEMO_SIZE, AS as CHAT_WATCH_SHARE, A_ as handoffBusyFrame, Aa as ENDPOINT, Ab as imageSize, Ac as wakeRequest, Ad as ringAuthorization, Af as isPlayableVideoType, Ag as sdpHasCandidates, Ah as TRANSPORTS_GONE_MS, Ai as openDidDhtPayload, Al as SERVICES_CAPABILITY, Am as expectedRoster, An as parseGroupMetaFrame, Ao as fetchesByItself, Ap as wireReaction, Ar as shortAtprotoDid, As as FileUplink, At as mergeKnocks, Au as dialDescriptors, Av as ENROLL_GRANT, Ax as devicePingFrame, Ay as openRequest, B as APP_STORE_KINDS, BC as sealedLength, BS as HEDGE_MS, B_ as handoffHaveFrames, Ba as CROSSED_FRESH_MS, Bb as createContactLink, Bc as APP_RANGE_DATA_KIND, Bd as irohDescriptor, Bf as MAX_EDITS_PER_MESSAGE, Bg as HTTP_SERVICE_PROTO, Bh as formatLocalTarget, Bi as USDT_PUBLIC_RPC, Bl as PairedSession, Bm as GROUP_PROFILE, Bn as SshSigError, Bo as GROUP_VERSION_SIGNALS, Bp as BUTTON_ID, Br as parseAtprotoVerificationKey, Bs as TYPING_REFRESH_MS, Bt as mentionedMembers, Bu as IDENTITY_MAX_FRAME, Bv as enrollProofFrame, Bx as TURN_VISIBLE_MS, By as APP_CLIENT_NAME, C as buildX401TokenObject, CC as parseRelayPayload, CS as turnStatedVerifier, C_ as NO_ATTEMPTS, Ca as parseLightningDestination, Cb as setAppSignatureFastPath, Cc as newWakeToken, Cd as storageProof, Cf as voiceFileName, Cg as decompressSdp, Ch as OFFER_LOOK_MS, Ci as didDhtDocument, Cl as CALLS_CAPABILITY, Cm as MAX_GROUP_CHAIN, Cn as groupMetaTag, Co as parseEngineError, Cp as reactedFrame, Cr as atprotoDidMethod, Cs as PAIRED_CALL_FRAME, Ct as MAX_KNOCKS, Cu as CAPS_PUBLISH_SPACING_MS, Cv as setUpdateMessage, Cx as deviceFrameCapability, Cy as knockSlotIdentity, D as readX401ProofRequest, DC as decodeTxtPacket, DS as CHAT_RESERVE, D_ as handoffAttemptAllowed, Da as BOLT11_PATTERN, Db as verifyAppSignature, Dc as relayRequest, Dd as verifyNostrProof, Df as PLAYABLE_VIDEO, Dg as keepsToRelays, Dh as RELAY_POLL_INTERVALS, Di as encodeDidDhtDeactivated, Dl as KNOWN_SESSION_CAPABILITIES, Dm as SAID_AGAIN, Dn as nextGroupMetaRevision, Do as GROUP_VERSION_FILES, Dp as readDhtReactions, Dr as isAtprotoDid, Ds as FILE_DATA_KIND, Dt as groupEntryUrl, Du as CapsRefusedError, Dv as ENROLL_CANCEL, Dx as deviceLinkRendezvousSeed, Dy as makeStamp, E as isX401Protocol, EC as decodeDnsAnswers, ES as BACKGROUND_WHILE_SIGNALING, E_ as handoffAckFrame, Ea as resolveLightningDestination, Eb as verifyAppRevocation, Ec as readWakePayload, Ed as validExternalKey, Ef as voicePeaksOf, Eg as isGlobalIpv4Host, Eh as PRESENCE_WINDOW, Ei as didDhtRecords, El as FILES_CAPABILITY, Em as OWN_FRAME_LIMIT, En as keepPastGroupMeta, Eo as GROUP_HAVE_FRAME, Ep as reactionIsNewer, Er as checkAtprotoProofRecord, Es as ChatFiles, Et as entryParams, Eu as CapsKeys, Ev as DEVICE_KINDS, Ex as deviceLinkParams, Ey as linkRecords, F as appRevocationFor, FC as sign, FS as GROUP_BURST_ONE_LINK, F_ as handoffDigest, Fa as parseCashuRequestPayload, Fb as canonicalJson, Fc as encryptPushPayload, Fd as verifyRingEvidence, Ff as EDIT_BUFFER_MS, Fg as RECORD_TTL, Fh as presenceSeenAt, Fi as ONCHAIN_PROVIDER, Fl as UPGRADE_CAPABILITY, Fm as signCommit, Fn as wrapGroupMeta, Fo as readGroupWant, Fp as pairedReplyAuthor, Fr as decodeDagCbor, Fs as transferStalled, Ft as GROUP_WAKE_MEMBER_INTERVAL_MS, Fu as IDENTITY_CHECK_UNAVAILABLE, Fv as enrollDigits, Fx as seedSigner, Fy as seenEntry, G as readAppStore, GC as sanitizeAvatar, GS as RelaysFailedError, G_ as handoffReleaseFrame, Ga as DHT_PIN_GRACE_MS, Gb as DEVICE_INVITE_OWN_DEVICE, Gc as appRangeCancelFrame, Gd as ACTIVE_DHT_POLL_MS, Gf as editFrame, Gg as encodeServices, Gh as sanitizeResponseHeaders, Gi as formatPaymentAmount, Gl as HOLD_LIMITS, Gm as encryptText, Gn as sshKeyDigestHex, Go as SIGNAL_PROVEN_MS, Gp as PR_STATES, Gr as DID_DOCUMENT_MAX_BYTES, Gs as TypingSender, Gt as GroupSession, Gu as IDENTITY_REVOCATION_LABEL, Gv as FLOOD_PER_DAY, Gx as TOMBSTONE_TURN, Gy as APP_VIEWS, H as checkAppListing, HC as MAX_AVATAR_LENGTH, HS as RELAY_REQUESTS_PER_MINUTE, H_ as handoffManifestFrames, Ha as CROSSED_WAIT_MS, Hb as readContactLink, Hc as APP_RANGE_FRAMES, Hd as rankTransports, Hf as REMOVED_TEXT, Hg as MAX_SERVICES, Hh as relativizeLocation, Hi as arkAddressPrefix, Hl as SESSION_RECEIVE_PENDING, Hm as confirmationTag, Hn as parseSshSignature, Ho as SIGNAL_CARRIERS, Hp as CRON_LINE, Hr as unsignedCommitBytes, Hs as TYPING_STATUS_MAX, Ht as GROUP_LIMITS, Hu as IDENTITY_MAX_VALIDITY, Hv as readEnrollGrant, Hx as keptAtEqualSequence, Hy as APP_ICON_PATH, I as appStoreDecision, IC as verify, IS as GROUP_OVER_PACE_MS, I_ as handoffDoneFrame, Ia as parseFedimintRequestPayload, Ib as canonicalJsonBytes, Ic as generateVapidKeys, Id as RELAY_URL, If as EDIT_FRAME, Ig as buildLinkRecords, Ih as unusedInviteWait, Ii as PaymentPreflightError, Il as WAKE_SESSION_CAPABILITY, Im as sortRoster, In as SSHSIG_MAX_ARMOR, Io as readGroupWantNo, Ip as readReply, Ir as encodeDagCbor, Is as TYPING_FRAME, It as GROUP_WAKE_RECEIVE_LIMIT, Iu as IDENTITY_CLOCK_SKEW, Iv as enrollDoneFrame, Ix as webCryptoSigner, Iy as stampHolds, J as GROUP_TYPING_FRAME, JC as sanitizeDisplayText, JS as SLOW_DEMOTE_MS, J_ as handoffStreamKey, Ja as GhostLink, Jb as deviceInviteJoinerParams, Jc as appRangeEndFrame, Jd as DHT_MESSAGE_TTL, Jf as parseEditedFrame, Jg as serviceIdFromName, Jh as CHUNK_FLAG_END, Ji as validatePaymentTarget, Jl as isHoldUrl, Jm as openPair, Jn as isLegacySignature, Jo as readGroupSignal, Jp as RUN_RESULTS, Jr as DID_JWS_ALGS, Js as sanitizeTypingStatus, Jt as frameBytes, Ju as IdentityCheckUnavailable, Jv as MAX_WAITING, Jx as TURN_LAST_SEQUENCE, Jy as assembleAppBundle, K as readAppStoreSteps, KC as MAX_NICK_LENGTH, KS as SIGNALING_ALLOWANCE_SHARE, K_ as handoffRequestFrame, Ka as EARLY_DIAL_JOIN_MS, Kb as createDeviceInvite, Kc as appRangeChunk, Kd as DHT_FILE_REFUSED, Kf as editedFrame, Kg as isValidServiceId, Kh as viewerResponseHeaders, Ki as isWalletNetwork, Kl as HoldKeys, Km as epochKeys, Kn as sshSignCommand, Ko as SIGNAL_REPLY_MS, Kp as REMOVABLE_KINDS, Kr as DID_FILE_MAX_BYTES, Ks as parseTypingActivity, Kt as asWritten, Ku as IDENTITY_STATEMENT_PREFIX, Kv as MAX_DONE, Kx as TURN_BODY_BYTES, Ky as appDigest, L as appUpdateDecision, LC as decrypt, LS as GROUP_RATION_WINDOW_MS, L_ as handoffEphemeral, La as ANSWERS_REFUSED_PAUSES, Lb as readCanonicalJson, Lc as pushRequest, Ld as TRANSPORTS, Lf as EDIT_RATE_WINDOW_MS, Lg as emptyLinkRecords, Lh as GhostlyHttpError, Li as SEPOLIA_TEST_USDT, Ll as parseSessionCapabilities, Lm as verifyChain, Ln as SSHSIG_NAMESPACE, Lo as CARRIED_DEFER_MS, Lp as replySnippet, Lr as findInMst, Ls as TYPING_KINDS, Lt as GroupWakeLimiter, Lu as IDENTITY_FRAME_LIMIT, Lv as enrollGrantFrame, Lx as TURN_PUT_WINDOW_MS, Ly as APP_BUNDLE_LIMITS, M as readX401ProofResultHeader, MC as identityFromSeed, MS as DEPARTED_READS, M_ as handoffContext, Ma as fedimintRequestPayload, Mb as parseImageMeta, Mc as WebPushError, Md as ringEvidence, Mf as parseVideoMeta, Mg as waitForIceGathering, Mh as UNUSED_INVITE_WAIT_MAX_MS, Mi as signDidDhtPacket, Ml as STATUS_CARD_CAPABILITY, Mm as rememberAlone, Mn as parseGroupMetaTag, Mo as isGroupMessageId, Mp as REPLY_ID, Mr as AtprotoProofError, Ms as encodeFileData, Mt as GROUP_WAKE_FRAME, Mu as encodePacketTransports, Mv as ENROLL_PROOF, Mx as signDeviceTransports, My as readLinkRecord, N as x401AnswerableRequests, NC as identityFromSeedB64, NS as FRESH_READ_MS, N_ as handoffContextProof, Na as findEndpoint, Nb as previewable, Nc as checkPushEndpoint, Nd as validRingKey, Nf as EDITED_FRAME, Ng as LABEL, Nh as WATCH_PEER_MS, Ni as ETHEREUM_USDT, Nl as SessionCapabilities, Nm as rosterAdmin, Nn as signGroupMeta, No as readGroupFileMeta, Np as REPLY_LIMITS, Nr as atprotoCidFor, Ns as refusalText, Nt as GROUP_WAKE_GROUP_LIMIT, Nu as parsePacketTransports, Nv as enrollCancelFrame, Nx as unsignedDeviceTransports, Ny as requestPlaintextBytes, O as readX401ProofRequestHeader, OC as encodeTxtPacket, OS as CHAT_RESERVE_MOST_SHARE, O_ as handoffAttemptFailed, Oa as decodeBolt11, Ob as verifyAppStatementBytes, Oc as wakeFrame, Od as verifyPeerProof, Of as VIDEO_LIMITS, Og as parseCallSignal, Oh as SIGNAL_OUT_READS, Oi as encodeDidDhtPacket, Ol as PIN_CAPABILITY, Om as commitHash, On as openGroupMeta, Oo as GROUP_WANT_FRAME, Op as readReaction, Or as normalizeAtprotoHandle, Os as FILE_FRAMES, Ot as knockIdentity, Ou as DHT_TEXT_CAPABILITY, Ov as ENROLL_CANCEL_REASONS, Ox as deviceLinkSealKey, Oy as makeStampPaced, P as addedAppPermissions, PC as publicKeyFromZ32, PS as GROUP_BURST_MS, P_ as handoffDataFrame, Pa as isFederationId, Pb as readImageMeta, Pc as decryptPushPayload, Pd as verifyRingAuthorization, Pf as EDIT_BUFFER_MAX, Pg as MAX_MSGS_PAYLOAD_B64, Ph as countUnusedInvite, Pi as EVM_TEST_CHAINS, Pl as TYPING_CAPABILITY, Pm as rosterHas, Pn as verifyGroupMetaSignature, Po as readGroupHave, Pp as groupReplyAuthor, Pr as decodeAtprotoCommit, Ps as transferEnded, Pt as GROUP_WAKE_GROUP_WINDOW_MS, Pu as IDENTITY_CHALLENGE_WINDOW, Pv as enrollCancelReason, Px as verifyDeviceTransports, Py as requestRecords, Q as sealGroupTyping, QC as unwrapPasted, QS as WAY_BACK_SHARE, Q_ as isHandoffPartName, Qa as LIVENESS_MISSED_PINGS, Qb as INVITE_HRP, Qc as encodeAppRangeData, Qd as LIVE_POLL_MS, Qf as LINK_MAX_CHARS, Qg as HANDOFF_ACK, Qh as PROTOCOL_VERSION, Qi as isSparkAddress, Ql as DNS_TYPE, Qm as sha256Hex, Qn as MessageRefusal, Qo as mayBeHub, Qp as buttonLabelClash, Qr as DidError, Qs as COMMUNITY_PIN_FRAME, Qt as GROUP_EDIT_TEXT_BYTES, Qu as identityPresentationBytes, Qv as endedRequests, Qx as TURN_REV_LIMIT, Qy as isAppLicense, R as checkAppBeforeRun, RC as encrypt, RS as GROUP_SIGNALING_ALLOWANCE_SHARE, R_ as handoffFileMissingFrame, Ra as ANSWERS_REFUSED_PAUSE_MS, Rb as CONTACT_LINK_BYTES, Rc as vapidAuthorization, Rd as automaticTransport, Rf as EDIT_RECEIVE_LIMIT, Rg as isEmptyLinkPacket, Rh as HttpClient, Ri as SEPOLIA_TEST_USDT_FAUCET, Rl as sessionCapabilitiesFrame, Rm as verifyCommit, Rn as SSH_KEY_TYPES, Ro as CarriedTransport, Rp as wireReply, Rr as parseAtprotoCar, Rs as TYPING_RATE_LIMIT, Rt as groupWakeFrame, Ru as IDENTITY_FRAME_WINDOW_MS, Rv as enrollHelloFrame, Rx as TURN_RAISE_READ_TIMEOUT_MS, Ry as APP_BUNDLE_MAGIC, S as buildX401ResultArtifact, SC as openRelayPayload, SS as turnSignedMessage, S_ as HANDOFF_WINDOW, Sa as parseInvoiceCallback, Sb as readAppSignature, Sc as deviceWakeRequest, Sd as proofStatement, Sf as voiceDownloadName, Sg as contactRtcConfig, Sh as OFFER_FAST_MS, Si as decodeDidDhtPacket, Sl as BUTTONS_CAPABILITY, Sm as LEGACY_GROUP_MEMBERS, Sn as groupMetaPicture, So as engineText, Sp as queueReaction, Sr as ATPROTO_PROOF_SCOPE, Ss as MAX_PAIRED_CALL_SIGNAL, St as KNOCK_TTL_MS, Su as CAPS_LIMITS, Sv as setUpdateFrame, Sx as deviceEchoNonce, Sy as knockHolds, T as encodeX401Header, TC as signRelayPayload, TS as BACKGROUND_REQUESTS_PER_MINUTE, T_ as filePartName, Ta as requestLnurlInvoice, Tb as signAppRevocation, Tc as readWake, Td as storageProofPath, Tf as voiceLevelsOf, Tg as heardCallSignal, Th as PRESENCE_HEARTBEAT, Ti as didDhtKey, Tl as FILES_BINARY_CAPABILITY, Tm as MEMBER_KEY, Tn as groupName, To as GROUP_FILE_LIMITS, Tp as reactionFrame, Tr as atprotoProofRkey, Ts as parsePairedCallFrame, Tt as encodeGroupEntryLink, Tu as CapsExchange, Tv as verifySetUpdate, Tx as deviceLinkPairing, Ty as knockSlotRecords, U as checkAppStoreIndex, UC as MAX_AVATAR_SIDE, US as REQUESTS_PER_MINUTE, U_ as handoffOfferFrame, Ua as DEMOTE_AFTER_FAILURES, Ub as DEVICE_INVITE_BYTES, Uc as APP_RANGE_LIMITS, Ud as relayedTransports, Uf as RateWindow, Ug as SERVICES_VERSION, Uh as resolveTargetUrl, Ui as assertTokenUnits, Ul as HOLD_CAPABILITY, Um as decryptText, Un as sameSshKey, Uo as SIGNAL_FRESH_MS, Up as ITEM_STATES, Ur as verifyAtprotoRecordProof, Us as TYPING_TIMEOUT_MS, Ut as GROUP_REACTED_FRAME, Uu as IDENTITY_PROOF_CAPABILITY, Uv as readEnrollHello, Ux as turnPutSummary, Uy as APP_PERMISSIONS, V as APP_STORE_LIMITS, VC as tryDecrypt, VS as PREVIOUS_DEFAULT_RELAYS, V_ as handoffHelloFrame, Va as CROSSED_PROBE_MS, Vb as encodeContactLink, Vc as APP_RANGE_ERRORS, Vd as irohRelayUrl, Vf as MAX_REMOVAL_NUMBER, Vg as LEGACY_SERVICES, Vh as parseLocalTarget, Vi as WALLET_NETWORKS, Vl as SESSION_FRAME_MAX, Vm as confirmationMatches, Vn as parseSshPublicKey, Vo as SIGNALS_PER_MINUTE, Vp as BUTTON_STYLES, Vr as readAtprotoCid, Vs as TYPING_SEND_LIMIT, Vt as parseGroupWakeFrame, Vu as IDENTITY_MAX_RECEIVED, Vv as formatEnrollDigits, Vx as classifyTurnRead, Vy as APP_FORBIDDEN_KEYS, W as readAppListing, WC as jpegSize, WS as RelayTransport, W_ as handoffPakeFrame, Wa as DEMOTE_MS, Wb as DEVICE_INVITE_LIFETIME_S, Wc as AppRanges, Wd as transportOrder, Wf as dhtEditId, Wg as decodeServices, Wh as sanitizeRequestHeaders, Wi as assertWholeSats, Wl as HOLD_DATED_BACK_MS, Wm as edgeParams, Wn as sshFingerprint, Wo as SIGNAL_HOLD_MS, Wp as PR_CHECKS, Wr as verifyAtprotoSignature, Ws as TypingReceiver, Wt as GROUP_READ_NOTE, Wu as IDENTITY_PROVIDER_ID, Wv as verifyEnrollProof, Wx as TOMBSTONE_SEQUENCE, Wy as APP_SCREENSHOTS_DIR, X as groupTypingEpoch, XC as stripHidden, XS as TURN_SOURCE_TIMEOUT_MS, X_ as handoffVerifiedMessage, Xa as INVITER_DIAL_GRACE_MS, Xb as readDeviceInvite, Xc as appRangeGetFrame, Xd as DHT_TEXT_REFUSED, Xf as validEditNumber, Xg as servicesToWire, Xh as LIMITS, Xi as SPARK_NETWORKS, Xl as readManifest, Xm as sealPair, Xn as verifyBitcoinMessage, Xo as MESH_HUBS, Xp as TASK_STATUSES, Xr as DID_MAX_LENGTH, Xs as typingFrame, Xt as COMMUNITY_EDIT_FRAME, Xu as boundVerifiedIdentity, Xv as REOPEN_BELOW, Xx as TURN_NAME_BYTES, Xy as checkAppManifest, Y as GroupTypingBoard, YC as sanitizeNick, YS as SLOW_MS, Y_ as handoffVerifiedFrame, Ya as HANDLED_WAIT_MS, Yb as encodeDeviceInvite, Yc as appRangeErrorFrame, Yd as DHT_TEXT_BYTES, Yf as validEditMessage, Yg as servicesFromWire, Yh as CHUNK_KIND, Yi as walletNetworkOf, Yl as newMailbox, Ym as openSecret, Yn as legacyMessageHash, Yo as GROUP_VERSION_HUBS, Yp as STATUS_CARD_LIMITS, Yr as DID_JWS_MAX_LENGTH, Ys as typingActivity, Yt as groupMessageId, Yu as IdentityExchange, Yv as NEW_PER_HOUR, Yx as TURN_MAX, Yy as buildAppBundle, Z as openGroupTyping, ZC as trimEndOf, ZS as WATCH_SHARE, Z_ as handoffVersions, Za as INVITE_TAKEN, Zb as DEVICE_INVITE_VERSION, Zc as decodeAppRangeData, Zd as DhtDelivery, Zf as validRemovalNumber, Zg as viewerTag, Zh as MAX_CHUNK_PAYLOAD_BYTES, Zi as SPARK_PROVIDER, Zl as DNS_LABEL, Zm as sealSecret, Zn as BIP322_REVISION, Zo as NO_HUB_POLICY, Zp as appCardId, Zr as DID_METHODS, Zs as typingKindOf, Zt as GROUP_EDIT_FRAME, Zu as emptyIdentityLedger, Zv as clearMissed, Zx as TURN_NO_ACTIVE, Zy as findAppForbiddenKey, _ as X401_PROTOCOLS, _C as PacketTooLargeError, _S as turnName, __ as HANDOFF_RELEASE, _a as LIGHTNING_DESTINATION_PATTERN, _b as isAppRef, _c as WAKE_FRAME, _d as importedProof, _f as fileMessageText, _g as answersOffer, _h as EXPECT_PEER_MS, _i as DID_DHT_MAX_PAYLOAD, _l as isChatAppId, _m as shownTime, _n as encodeGroupMetaBody, _o as parsePaymentNetworks, _p as REACTION_LIMITS, _r as u64, _s as readBeacon, _t as shortHash, _u as txtValue, _v as SET_ACK, _x as DEVICE_ECHO_FRAME, _y as REQUEST_TEXT_BYTES, a as X401_DCQL_LIMITS, aC as BREAKER_ALL_DOWN_PROBE_MS, aS as encodeTurnFields, a_ as HANDOFF_DONE, aa as PUBKY_PROOF_ROOT, ab as yieldThread, ac as nextPinNumber, ad as revokesIdentity, af as FileTransfers, ag as DATA_CHANNEL_ID, ah as OFFER_HOST_GATHER_MS, ai as didWebFile, al as APP_RATE_LIMIT, am as readStatusCard, an as MENTION_EVERYONE, ao as RACE_ANSWERED_MS, ap as parseLinkPreview, ar as ByteReader, as as beaconKeys, at as communityHasFrame, au as decodeDnsResponse, av as readHandoffDone, aw as randomBytes, ax as decodeInviteCode, ay as CONTACT_RECORD_TTL, b as buildX401ProofRequest, bC as measureRecords, bS as turnReleaseMessage, b_ as HANDOFF_VERIFIED, ba as findLightningDestination, bb as readAppRevocationShape, bc as WAKE_TTL_SECONDS, bd as proofCapability, bf as parseVoiceMeta, bg as callSignalHeardAt, bh as LinkSession, bi as DID_DHT_VERSION, bl as APPS_CAPABILITY, bm as GROUP_MEMBER_CAP, bn as groupMetaChange, bo as EngineError, bp as parseReactedFrame, br as ATPROTO_FULL_SCOPE, bs as shouldBeHub, bt as verifyCommunityCommit, bu as CAPS_ISSUED_BACK_MS, bv as readSetUpdate, bx as HANDOFF_CAPABILITY, by as STAMP_BITS_MIN, c as readX401DcqlQuery, cC as BREAKER_THRESHOLD, cS as openTurnValue, c_ as HANDOFF_HAVE, ca as newPubkyProofFolder, cb as APP_STATEMENT_LIMITS, cc as pinFrame, cd as IDENTITY_TIMELINE_MAX, cf as safeBlobType, cg as RTC_SIGNAL_MAX_AGE_MS, ch as DIRECT_EVIDENCE_MS, ci as didWebHost, cl as APP_SEND_LIMIT, cm as statusCardBytes, cn as mentionsMember, co as REDESCRIBED_GRACE_MS, cp as FORWARD_LIMITS, cr as decodeBitcoinAddress, cs as freshHubs, ct as communityUntaggedHash, cu as domainWellKnownFile, cv as readHandoffHello, cw as toZ32, cx as inviteLink, cy as KNOCK_SLOT_LABEL, d as newX401HolderKey, dC as budgetRetryMs, dS as sealTurnBody, d_ as HANDOFF_LIST_PER_FRAME, da as pubkyProofFile, db as appRefPublisher, dc as pinnedFrame, dd as PROOF_ADAPTERS, df as PLAYABLE_AUDIO, dg as offerIsFresh, dh as DirectPathWatch, di as parseDidDocument, dl as appCloseFrame, dm as usageLeft, dn as GROUP_META_PAST, do as SWITCH_RETIRE_MS, dp as readForwarded, dr as encodeTx, ds as lobbyRecords, dt as encodeCommunityLink, du as nip05RootKey, dv as readHandoffRelease, dx as inviteQrText, dy as MAX_SLOT_KNOCKS, eC as currentRelays, eS as TURN_SIGNED_BYTES, e_ as HANDOFF_BUSY, ea as sparkInvoiceDetails, eb as isAppUrl, ec as PINNED_FRAME, ed as identityStatement, ef as peekDhtMailbox, eg as decodeControl, eh as CONNECT_TIMEOUT_MS, ei as checkDidSignature, el as parseAppRangeFrame, em as cardLine, en as communityEditFrame, eo as MAX_PAIRED_MESSAGE_FRAME, ep as LINK_TRAILING, er as bip322ToSign, es as meshRendezvous, et as COMMUNITY_PROFILE, eu as DOMAIN_MAX_RECORDS, ev as openHandoffPiece, ew as concatBytes, ex as INVITE_MAX_LENGTH, ey as newInbox, f as readX401SdJwtVc, fC as heldBackError, fS as signTurnBody, f_ as HANDOFF_MANIFEST, fa as pubkyProofPath, fb as appRevocationId, fc as readPin, fd as PROOF_CAPABILITY, ff as RECORDING_TYPES, fg as parseRtcSignal, fh as directBlocked, fi as parseDidJws, fl as appDataBytes, fm as MESSAGE_CLOCK_SKEW_MS, fn as GROUP_META_PAST_CHARS, fo as UNPROVEN_AUTH_MS, fp as COMMUNITY_REACTION_FRAME, fr as encodeWitness, fs as mergeBeacon, ft as leaveStands, fu as normalizeDomain, fv as readHandoffTurnFrame, fx as ownInviteRefusal, fy as REQUEST_CLOCK_SKEW_MS, g as X401_LIMITS, gC as PKARR_FUTURE_SKEW_MS, gS as turnKeys, g_ as HANDOFF_PIECE_OVERHEAD, ga as pubkyHomeserverOf, gb as isAppKey, gc as WAKE_CALL_WAIT_MS, gd as emptyProofLedger, gf as downsamplePeaks, gg as RTC_CONFIG, gh as DHT_POLL_INTERVALS, gi as strictBase64Url, gl as isAppVersion, gm as receivedTimestamp, gn as MAX_GROUP_PICTURE_LENGTH, go as pairedMessageFrame, gp as REACTION_FRAME, gr as u32, gs as rankHubs, gt as rosterHash, gu as recordsName, gv as sortParts, gx as DEVICE_CAPABILITIES, gy as REQUEST_PACKET_BYTES, h as X401_HEADERS, hC as MAX_DNS_PACKET_BYTES, hS as turnInstance, h_ as HANDOFF_PIECE_BYTES, ha as homeserverWebEndpoint, hb as isAppHash, hc as WAKE_CALL_TTL_SECONDS, hd as STORAGE_ROOT, hf as baseMime, hg as PAIRED_CALL_CANDIDATES, hh as DEPARTED_READ_MS, hi as staticDidDocument, hl as chatAppId, hm as heardTime, hn as MAX_GROUP_NAME_LENGTH, ho as pairedMessageFits, hp as REACTED_FRAME, hr as txHash, hs as pickHubs, ht as leftStatement, hu as recordsFromWellKnown, hv as sealHandoffPiece, hx as DEVICES_CAPABILITY, hy as REQUEST_NAME_UNITS, i as x401ApprovalDigest, iC as traceLink, iS as TurnRecordError, i_ as HANDOFF_DATA, ia as PUBKY_PROOF_MAX_BYTES, ib as sha256Paced, ic as mayPin, id as receivedIdentityStatus, if as readDhtFile, ig as wrapDataChannel, ih as GATHER_STALL_MS, ii as didWebDocumentUrl, il as APP_PEER_OPEN_MAX, im as checkStatusCard, in as validEditText, io as PONG_WAIT_MS, ip as linksIn, ir as BitcoinAddressError, is as COMMUNITY_TOPOLOGY, it as communityGroupId, iu as WELL_KNOWN_PATH, iv as readHandoffData, iw as isZ32Key, ix as createLink, iy as turnOff, j as readX401ProofResult, jC as createIdentity, jS as DEFAULT_RELAYS, j_ as handoffCancelFrame, ja as cashuRequestPayload, jb as isImageMime, jc as PUSH_SERVICE_HOSTS, jd as ringClaims, jf as isVideoMime, jg as signalHasVideo, jh as UNUSED_INVITE_READS_PER_MINUTE, ji as resolveDidDht, jl as SESSION_CAPABILITIES_FRAME, jm as parseGroupCommit, jn as parseGroupMetaStatement, jo as groupFileFallback, jp as PAIRED_REPLY_AUTHORS, jr as AtprotoCid, js as decodeFileData, jt as readKnocks, ju as emptyCapsState, jv as ENROLL_HELLO, jx as newDeviceSetSecret, jy as readKnockSlot, k as readX401ProofResponse, kC as readDnsName, kS as CHAT_RESERVE_PER_CHAT, k_ as handoffAttemptSucceeded, ka as findBolt11, kb as IMAGE_LIMITS, kc as wakePayload, kd as RING_LIFETIME, kf as formatVideoDuration, kg as pickCallCandidates, kh as STALLED_LOOK_MS, ki as jwkThumbprint, kl as REACTIONS_CAPABILITY, km as commitUntaggedHash, kn as parseGroupMetaBody, ko as GROUP_WANT_NO_FRAME, kp as validReactionNumber, kr as parseAtprotoDidDocument, ks as FILE_LIMITS, kt as knockRecords, ku as capsDescriptors, kv as ENROLL_DONE, kx as deviceLinkSecret, ky as mergeContactKnocks, l as x401VpToken, lC as RelayBreaker, lS as readTurnBody, l_ as HANDOFF_HELLO, la as normalizePubkyKey, lb as appFingerprint, lc as pinIsNewer, ld as applyIdentityEvent, lf as sanitizeFileName, lg as buildDataSdp, lh as DIRECT_OWN_ATTEMPTS, li as normalizeDid, ll as APP_VERSION_MAX, lm as statusCardText, ln as validMentions, lo as RESUME_WAIT_MS, lp as forwardedAgain, lr as decodeTx, ls as hubRank, lt as decodeCommunityLink, lu as encodeDnsQuery, lv as readHandoffManifest, lw as utf8Decode, lx as inviteOwnership, ly as LINK_RECORD_LABEL, m as x401HolderJwk, mC as withRequestOptions, mS as signTurnRelease, m_ as HANDOFF_PAKE, ma as encodeSvcbPacket, mb as checkAppRevokeStatement, mc as WAKE_CALL_INTERVAL_MS, md as STORAGE_LIFETIME, mf as VOICE_METER, mg as CALL_SIGNAL_MAX_AGE_MS, mh as AWAITING_PEER_MS, mi as signingKeys, ml as appOpenFrame, mm as claimedTime, mn as MAX_GROUP_NAME_BYTES, mo as WAKE_LOST_MS, mp as QUICK_REACTIONS, mr as sha256d, ms as newerHead, mt as leaveStatement3, mu as recordsFromTxt, mv as sameDigest, mx as readInviteCode, my as REQUEST_LIFETIME_MS, n as X401_RESPONSE_MODES, nC as readRelayBody, nS as TURN_TTL, n_ as HANDOFF_CANCEL, na as BITCOIN_NETWORKS, nb as readAppBundle, nc as PIN_FRAME, nd as isIdentityBinding, nf as dhtFileElements, ng as encodeControl, nh as DataLink, ni as didJwsAlg, nl as APP_DATA_MAX_BYTES, nm as cardTimeUtc, nn as meshMessageRef, no as PAIRING_ATTEMPT_MS, np as linkEnd, nr as decodeBase64, ns as pickMeshHubs, nt as GROUP_READ_NOTE_COMMUNITY, nu as DOMAIN_TXT_MAX_BYTES, nv as readHandoffBusy, nw as fromBase64Url, nx as OwnInviteError, ny as settleRequest, o as matchX401Dcql, oC as BREAKER_BASE_MS, oS as firstDeviceSetSecret, o_ as HANDOFF_FILE_MISSING, oa as isPubkyKey, ob as APP_NAME, oc as parsePinFrame, od as signIdentityPresentation, of as PREVIEWABLE_IMAGE, og as DATA_CHANNEL_LABEL, oh as REANSWERS, oi as didWebFileNames, ol as APP_RATE_WINDOW_MS, om as removedCardText, on as MENTION_LIMITS, oo as RACE_DIRECT_MS, op as previewImageSize, or as compactSize, os as beaconRecords, ot as communityMessageId, ou as dnsProofName, ov as readHandoffFileFrame, ow as toBase64, ox as encodeGhostlyInvite, oy as ContactRequestError, p as sameX401HolderJwk, pC as isDiscoveryBudgetError, pS as signTurnPacket, p_ as HANDOFF_OFFER, pa as decodeSvcbRecords, pb as appSignedBytes, pc as DEVICE_WAKE_TTL_SECONDS, pd as PeerProofs, pf as VOICE_LIMITS, pg as CALL_SIGNAL_FUTURE_MS, ph as symmetricNat, pi as parseDidSignaturePaste, pl as appDataFrame, pm as arrivalKey, pn as MAX_GROUP_META_BODY, po as WAKE_ANSWER_GRACE_MS, pp as GROUP_REACTION_FRAME, pr as hash160, ps as mergeLobby, pt as leaveStatement, pu as parseDomainTxt, pv as readHandoffVerified, px as pastedAgain, py as REQUEST_LABEL, q as signAppStore, qC as hasVisible, qS as SIGNALING_WINDOW_MS, q_ as handoffRetryAfter, qa as FIRST_PAIRING_PACE_MS, qb as deviceInviteJoinerKeyZ32, qc as appRangeDataFrame, qd as DHT_FILE_TOO_LARGE, qf as parseEditFrame, qg as isViewerTag, qh as webLocalFetch, qi as parsePaymentAmount, ql as HoldRefusedError, qm as newEpochSecret, qn as verifySshSignature, qo as groupSignalFrame, qp as ROUTINE_STATES, qr as DID_GHOSTLY_SERVICE, qs as parseTypingFrame, qt as chainPieces, qu as IDENTITY_SUBJECT, qv as MAX_MISSED, qx as TURN_LABEL, qy as appViewOf, r as readX401OpenId4VpRequest, rC as setLinkTraceSink, rS as TURN_VERSION, r_ as HANDOFF_CANCEL_REASONS, ra as isBitcoinAddress, rb as readAppBundleAsync, rc as PIN_LIMITS, rd as newIdentityBinding, rf as dhtFileId, rg as sendBody, rh as GATHER_ATTEMPTS, ri as didSignedMessages, rl as APP_FRAME, rm as cardUrl, rn as parseCommunityEdit, ro as PAIRING_RETRY_MS, rp as linkStop, rr as verifyBip322, rs as wireHubPolicy, rt as communityCommitHash, ru as NIP05_PATH, rv as readHandoffCancel, rw as fromZ32, rx as createChatInvite, ry as takeRequest, s as presentX401SdJwtVc, sC as BREAKER_MAX_MS, sS as nextTurnPosition, s_ as HANDOFF_FILE_REQUEST, sa as isPubkyProofFolder, sb as APP_PREFIXES, sc as parsePinnedFrame, sd as verifyIdentityPresentation, sf as formatFileSize, sg as RTC_SIGNAL_FUTURE_MS, sh as STALLED_EVIDENCE_MS, si as didWebFileUrl, sl as APP_RESUME_GRACE_MS, sm as sameButtonText, sn as mentionsBytes, so as RACE_RELAYED_MS, sp as sanitizePreviewImage, sr as decodeAnyBitcoinAddress, ss as doorHubs, st as communityRoster, su as domainTxtRecord, sv as readHandoffHave, sw as toBase64Url, sx as encodeInviteCode, sy as KNOCK_SLOTS, t as X401_REQUEST_LIMITS, tC as normalizeRelayUrl, tS as TURN_SLOTS, t_ as HANDOFF_BUSY_REASONS, ta as sparkNetworkOf, tb as pacer, tc as PIN_CLOCK_SKEW_MS, td as identityStatementText, tf as DHT_FILE_CAPABILITY, tg as encodeChunk, th as DATA_SETTLE_MS, ti as didGhostlyServiceEntry, tl as readAppRangeFrame, tm as cardLinkHost, tn as communityMessageAuthor, to as PAIRED_FRAME_TOO_LARGE, tp as canonicalUrl, tr as bip322ToSpend, ts as parseHubPolicy, tt as CommunitySession, tu as DOMAIN_METHODS, tv as readHandoffAck, tw as fromBase64, tx as INVITE_VERSION, ty as planKnocks, u as X401_CREDENTIAL_LIMITS, uC as DiscoveryBudgetError, uS as readTurnPacket, u_ as HANDOFF_LATER_BYTES, ua as pubkyProofCapability, ub as appRef, uc as pinNumberHolds, ud as lastSharedWithMe, uf as sanitizeMime, ug as extractRtcParams, uh as DIRECT_PEERS, ui as parseDid, ul as AppSessions, um as taskProgress, un as wireMentions, uo as RTC_UNSTARTED_MS, up as forwardedMany, ur as decodeWitness, us as lobbyKeys, ut as derivedSecret, uu as isPublicAddress, uv as readHandoffPake, uw as utf8Encode, ux as inviteQrSegments, uy as MAX_SEEN, v as X401_SCHEME, vC as RELAY_PAYLOAD_MAX_BYTES, vS as turnPacket, v_ as HANDOFF_REQUEST, va as LNURL_LIMITS, vb as isAppSignature, vc as WAKE_INTERVAL_MS, vd as isProofAdapter, vf as formatVoiceDuration, vg as buildSdpFromSignal, vh as FIRST_PUBLISH_MAX_MS, vi as DID_DHT_PREFIX, vl as parseAppFrame, vm as GROUP_ADMIN_OFF_ERROR, vn as groupDisplayName, vo as publishFailure, vp as ReactionWindow, vr as varBytes, vs as readBeaconHead, vt as signCommunity, vu as validDomainRecord, vv as SET_UPDATE, vx as DEVICE_PING_FRAME, vy as STAMP_BITS_DEFAULT, w as decodeX401Header, wC as readOwnRelayPayload, wS as turnVerifierMark, w_ as filePartDigest, wa as parsePayParams, wb as signAppObject, wc as parseWakeFrame, wd as storageProofBody, wf as voiceLevel, wg as extractParamsFromSdp, wh as OFFER_STEP_MAX, wi as didDhtFromPublicKey, wl as EDIT_CAPABILITY, wm as MAX_GROUP_MEMBERS, wn as groupMetaToHand, wo as PairingTracker, wp as reactionEmoji, wr as atprotoProofRecord, ws as PairedCalls, wt as decodeGroupEntryLink, wu as CAPS_REFRESH_MS, wv as signTombstone, wx as deviceKeyZ32, wy as knockSlotOf, x as buildX401ProofResult, xC as newerPacket, xS as turnSequence, x_ as HANDOFF_VERSION, xa as invoiceCallbackUrl, xb as readAppRevocations, xc as WakeLimiter, xd as proofHash, xf as recordingMime, xg as compressSdp, xh as MAX_DHT_TEXT_BYTES, xi as DidDhtError, xl as APP_RANGES_CAPABILITY, xm as GROUP_VERSION_LARGE, xn as groupMetaNewer, xo as engineError, xp as parseReactionFrame, xr as ATPROTO_PROOF_COLLECTION, xs as validHead, xt as GROUP_ENTRY_PROFILE, xu as CAPS_LABEL, xv as setAckFrame, xx as deviceEchoFrame, xy as contactDay, y as X401_VERSION, yC as createRelayPayload, yS as turnPayloadSequence, y_ as HANDOFF_TIMINGS, ya as fetchLnurlJson, yb as readAppRevocation, yc as WAKE_SUBJECT, yd as nostrProofTemplate, yf as isPlayableAudioType, yg as callRtcConfig, yh as IDLE_THRESHOLD, yi as DID_DHT_TTL, yl as readAppFrame, ym as GROUP_ID, yn as groupMetaBody, yo as ENGINE_ERRORS, yp as nextReactionNumber, yr as ATPROTO_DECLARED_SCOPE, ys as readLobby, yt as verifyCommunityChain, yu as wellKnownUrl, yv as encodeSetSlots, yx as ENROLL_CAPABILITY, yy as STAMP_BITS_MAX, z as planAppUpdate, zC as generateEncryptionKey, zS as HEDGE_MISSING_MS, z_ as handoffFileRequestFrame, za as BLOCKED_DIAL_WAIT_MS, zb as CONTACT_LINK_VERSION, zc as vapidKeysMatch, zd as checkedDescriptors, zf as EDIT_SEND_LIMIT, zg as parseLinkRecords, zh as HttpHost, zi as TEST_USDT_FAUCET_AMOUNT, zl as PAIRED_PROFILE, zm as verifyCommitSignature, zn as SSH_PUBLIC_KEY_MAX, zo as GROUP_SIGNAL_FRAME, zp as ACTIVE_TASK_STATUSES, zr as parseAtprotoDidKey, zs as TYPING_RATE_WINDOW_MS, zt as groupWakes, zu as IDENTITY_MAX_EVIDENCE, zv as enrollMessage, zx as TURN_SETTLE_MS, zy as APP_CLIENTS } from "./src-B5uLojgn.js";
|
|
1
|
+
import { $ as COMMUNITY_LIMITS, $C as decodeTxtPacket, $S as CHAT_RESERVE_MOST_SHARE, $_ as handoffBusyFrame, $a as LIVENESS_MISSED_PINGS, $b as exifOrientation, $c as decodeAppRangeData, $d as DHT_TEXT_BYTES, $f as validEditMessage, $g as sdpHasCandidates, $h as UNUSED_INVITE_READS_PER_MINUTE, $i as isSparkAddress, $l as DNS_LABEL, $m as openPair, $n as MessageRefusal, $o as mayBeHub, $p as STATUS_CARD_LIMITS, $r as DidError, $s as typingKindOf, $t as GROUP_EDIT_TEXT_BYTES, $u as emptyIdentityLedger, $v as ENROLL_GRANT, $x as deviceLinkSecret, $y as openRequest, A as readX401ProofResponseHeader, AC as traceLink, AS as firstDeviceSetSecret, A_ as HANDOFF_FILE_REQUEST, Aa as findBolt11, Ab as APP_PREFIXES, Ac as wakeFrame, Ad as verifyPeerProof, Af as voicePeaksOf, Ag as RTC_SIGNAL_FUTURE_MS, Ah as DIRECT_EVIDENCE_MS, Ai as jwkThumbprint, Al as PIN_CAPABILITY, Am as MEMBER_KEY, An as parseGroupMetaBody, Ao as GROUP_WANT_NO_FRAME, Ap as reactionIsNewer, Ar as parseAtprotoDidDocument, As as FILE_LIMITS, At as knockRecords, Au as DHT_TEXT_CAPABILITY, Av as readHandoffHave, Aw as isZ32Key, Ax as encodeGhostlyInvite, Ay as KNOCK_SLOTS, B as APP_STORE_KINDS, BC as withRequestOptions, BS as turnKeys, B_ as HANDOFF_RELEASE, Ba as BLOCKED_DIAL_WAIT_MS, Bb as isAppRef, Bc as vapidAuthorization, Bd as TRANSPORTS, Bf as EDIT_FRAME, Bg as answersOffer, Bh as FIRST_PUBLISH_MAX_MS, Bi as TEST_USDT_FAUCET_AMOUNT, Bl as sessionCapabilitiesFrame, Bm as signCommit, Bn as SSH_PUBLIC_KEY_MAX, Bo as GROUP_SIGNAL_FRAME, Bp as readReply, Br as parseAtprotoDidKey, Bs as TYPING_RATE_LIMIT, Bt as groupWakes, Bu as IDENTITY_FRAME_WINDOW_MS, Bv as SET_ACK, Bx as DEVICE_CAPABILITIES, By as REQUEST_TEXT_BYTES, C as buildX401TokenObject, CC as WAY_BACK_SHARE, CS as TURN_SEALED_BYTES, C_ as HANDOFF_BUSY, Ca as parseInvoiceCallback, Cb as isAppUrl, Cc as WakeLimiter, Cd as proofHash, Cf as isPlayableAudioType, Cg as decodeControl, Ch as DATA_SETTLE_MS, Ci as decodeDidDhtPacket, Cl as APP_RANGES_CAPABILITY, Cm as GROUP_ADMIN_OFF_ERROR, Cn as groupMetaPicture, Co as engineText, Cp as nextReactionNumber, Cr as ATPROTO_PROOF_SCOPE, Cs as MAX_PAIRED_CALL_SIGNAL, Ct as KNOCK_TTL_MS, Cu as CAPS_LABEL, Cv as openHandoffPiece, Cw as trimEndOf, Cx as INVITE_LINK_ORIGIN, Cy as newInbox, D as readX401ProofRequest, DC as readRelayBody, DS as TURN_VERSION, D_ as HANDOFF_DATA, Da as resolveLightningDestination, Db as sha256Paced, Dc as readWake, Dd as storageProofPath, Df as voiceFileName, Dg as wrapDataChannel, Dh as OFFER_HOST_GATHER_MS, Di as didDhtRecords, Dl as FILES_BINARY_CAPABILITY, Dm as LEGACY_GROUP_MEMBERS, Dn as keepPastGroupMeta, Do as GROUP_HAVE_FRAME, Dp as reactedFrame, Dr as checkAtprotoProofRecord, Ds as ChatFiles, Dt as entryParams, Du as CapsExchange, Dv as readHandoffData, Dw as fromBase64, Dx as createChatInvite, Dy as turnOff, E as isX401Protocol, EC as normalizeRelayUrl, ES as TURN_TTL, E_ as HANDOFF_CANCEL_REASONS, Ea as requestLnurlInvoice, Eb as readAppBundleAsync, Ec as parseWakeFrame, Ed as storageProofBody, Ef as voiceDownloadName, Eg as sendBody, Eh as GATHER_STALL_MS, Ei as didDhtKey, El as EDIT_CAPABILITY, Em as GROUP_VERSION_LARGE, En as groupName, Eo as GROUP_FILE_LIMITS, Ep as queueReaction, Er as atprotoProofRkey, Es as parsePairedCallFrame, Et as encodeGroupEntryLink, Eu as CAPS_REFRESH_MS, Ev as readHandoffCancel, Ew as concatBytes, Ex as OwnInviteError, Ey as takeRequest, F as appRevocationFor, FC as RelayBreaker, FS as sealTurnBody, F_ as HANDOFF_MANIFEST, Fa as isFederationId, Fb as appRevocationId, Fc as checkPushEndpoint, Fd as validRingKey, Ff as isVideoMime, Fg as parseRtcSignal, Fh as symmetricNat, Fi as EVM_TEST_CHAINS, Fl as SessionCapabilities, Fm as expectedRoster, Fn as verifyGroupMetaSignature, Fo as readGroupHave, Fp as PAIRED_REPLY_AUTHORS, Fr as decodeAtprotoCommit, Fs as sentWhole, Ft as GROUP_WAKE_GROUP_WINDOW_MS, Fu as parsePacketTransports, Fv as readHandoffTurnFrame, Fw as utf8Decode, Fx as inviteQrText, Fy as REQUEST_CLOCK_SKEW_MS, G as readAppStore, GC as createRelayPayload, GS as turnSequence, G_ as HANDOFF_WINDOW, Ga as DEMOTE_MS, Gb as readAppSignature, Gc as APP_RANGE_LIMITS, Gd as rankTransports, Gf as MAX_REMOVAL_NUMBER, Gg as contactRtcConfig, Gh as OFFER_LOOK_MS, Gi as assertWholeSats, Gl as HOLD_CAPABILITY, Gm as GROUP_PROFILE, Gn as sshFingerprint, Go as SIGNAL_HOLD_MS, Gp as BUTTON_STYLES, Gr as verifyAtprotoSignature, Gs as TYPING_TIMEOUT_MS, Gt as GROUP_READ_NOTE, Gu as IDENTITY_PROOF_CAPABILITY, Gv as setUpdateFrame, Gx as deviceEchoFrame, Gy as knockHolds, H as checkAppListing, HC as PKARR_FUTURE_SKEW_MS, HS as turnPacket, H_ as HANDOFF_TIMINGS, Ha as CROSSED_PROBE_MS, Hb as readAppRevocation, Hc as APP_RANGE_DATA_KIND, Hd as checkedDescriptors, Hf as EDIT_RECEIVE_LIMIT, Hg as callRtcConfig, Hh as LinkSession, Hi as WALLET_NETWORKS, Hl as PairedSession, Hm as verifyChain, Hn as parseSshPublicKey, Ho as SIGNALS_PER_MINUTE, Hp as wireReply, Hr as readAtprotoCid, Hs as TYPING_REFRESH_MS, Ht as parseGroupWakeFrame, Hu as IDENTITY_MAX_FRAME, Hv as encodeSetSlots, Hx as DEVICE_PING_FRAME, Hy as STAMP_BITS_MAX, I as appStoreDecision, IC as DiscoveryBudgetError, IS as signTurnBody, I_ as HANDOFF_OFFER, Ia as parseCashuRequestPayload, Ib as appSignedBytes, Ic as decryptPushPayload, Id as verifyRingAuthorization, If as parseVideoMeta, Ig as CALL_SIGNAL_FUTURE_MS, Ih as AWAITING_PEER_MS, Ii as ONCHAIN_PROVIDER, Il as TYPING_CAPABILITY, Im as parseGroupCommit, In as wrapGroupMeta, Io as readGroupWant, Ip as REPLY_ID, Ir as decodeDagCbor, Is as transferEnded, It as GROUP_WAKE_MEMBER_INTERVAL_MS, Iu as IDENTITY_CHALLENGE_WINDOW, Iv as readHandoffVerified, Iw as utf8Encode, Ix as ownInviteRefusal, Iy as REQUEST_LABEL, J as GROUP_TYPING_FRAME, JC as openRelayPayload, JS as turnVerifierMark, J_ as filePartName, Ja as FIRST_PAIRING_PACE_MS, Jb as signAppRevocation, Jc as appRangeChunk, Jd as transportOrder, Jf as dhtEditId, Jg as heardCallSignal, Jh as PRESENCE_WINDOW, Ji as parsePaymentAmount, Jl as HoldKeys, Jm as decryptText, Jn as verifySshSignature, Jo as groupSignalFrame, Jp as PR_CHECKS, Jr as DID_GHOSTLY_SERVICE, Js as parseTypingActivity, Jt as chainPieces, Ju as IDENTITY_STATEMENT_PREFIX, Jv as verifySetUpdate, Jx as deviceKeyZ32, Jy as knockSlotRecords, K as readAppStoreSteps, KC as measureRecords, KS as turnSignedMessage, K_ as NO_ATTEMPTS, Ka as DHT_PIN_GRACE_MS, Kb as setAppSignatureFastPath, Kc as AppRanges, Kd as relayUrl, Kf as REMOVED_TEXT, Kg as decompressSdp, Kh as OFFER_STEP_MAX, Ki as formatPaymentAmount, Kl as HOLD_DATED_BACK_MS, Km as confirmationMatches, Kn as sshKeyDigestHex, Ko as SIGNAL_PROVEN_MS, Kp as CRON_LINE, Kr as DID_DOCUMENT_MAX_BYTES, Ks as TypingReceiver, Kt as GroupSession, Ku as IDENTITY_PROVIDER_ID, Kv as setUpdateMessage, Kx as deviceEchoNonce, Ky as knockSlotIdentity, L as appUpdateDecision, LC as budgetRetryMs, LS as signTurnPacket, L_ as HANDOFF_PAKE, La as parseFedimintRequestPayload, Lb as checkAppRevokeStatement, Lc as encryptPushPayload, Ld as verifyRingEvidence, Lf as EDITED_FRAME, Lg as CALL_SIGNAL_MAX_AGE_MS, Lh as DEPARTED_READ_MS, Li as PaymentPreflightError, Ll as UPGRADE_CAPABILITY, Lm as rememberAlone, Ln as SSHSIG_MAX_ARMOR, Lo as readGroupWantNo, Lp as REPLY_LIMITS, Lr as encodeDagCbor, Ls as transferStalled, Lt as GROUP_WAKE_RECEIVE_LIMIT, Lu as IDENTITY_CHECK_UNAVAILABLE, Lv as sameDigest, Lx as pastedAgain, Ly as REQUEST_LIFETIME_MS, M as readX401ProofResultHeader, MC as BREAKER_BASE_MS, MS as openTurnValue, M_ as HANDOFF_HELLO, Ma as cashuRequestPayload, Mb as appFingerprint, Mc as wakeRequest, Md as ringAuthorization, Mf as VIDEO_LIMITS, Mg as buildDataSdp, Mh as DIRECT_PEERS, Mi as resolveDidDht, Ml as SERVICES_CAPABILITY, Mm as SAID_AGAIN, Mn as parseGroupMetaStatement, Mo as groupFileFallback, Mp as readReaction, Mr as AtprotoCid, Ms as decodeFileData, Mt as readKnocks, Mu as dialDescriptors, Mv as readHandoffManifest, Mw as toBase64, Mx as inviteLink, My as LINK_RECORD_LABEL, N as x401AnswerableRequests, NC as BREAKER_MAX_MS, NS as readTurnBody, N_ as HANDOFF_LATER_BYTES, Na as fedimintRequestPayload, Nb as appRef, Nc as PUSH_SERVICE_HOSTS, Nd as ringClaims, Nf as formatVideoDuration, Ng as extractRtcParams, Nh as DirectPathWatch, Ni as signDidDhtPacket, Nl as SESSION_CAPABILITIES_FRAME, Nm as commitHash, Nn as parseGroupMetaTag, No as isGroupMessageId, Np as validReactionNumber, Nr as AtprotoProofError, Ns as encodeFileData, Nt as GROUP_WAKE_FRAME, Nu as emptyCapsState, Nv as readHandoffPake, Nw as toBase64Url, Nx as inviteOwnership, Ny as MAX_SEEN, O as readX401ProofRequestHeader, OC as relayUrlProblem, OS as TurnRecordError, O_ as HANDOFF_DONE, Oa as BOLT11_PATTERN, Ob as yieldThread, Oc as readWakePayload, Od as validExternalKey, Of as voiceLevel, Og as DATA_CHANNEL_ID, Oh as REANSWERS, Oi as encodeDidDhtDeactivated, Ol as FILES_CAPABILITY, Om as MAX_GROUP_CHAIN, On as nextGroupMetaRevision, Oo as GROUP_VERSION_FILES, Op as reactionEmoji, Or as isAtprotoDid, Os as FILE_DATA_KIND, Ot as groupEntryUrl, Ou as CapsKeys, Ov as readHandoffDone, Ow as fromBase64Url, Ox as createLink, Oy as CONTACT_RECORD_TTL, P as addedAppPermissions, PC as BREAKER_THRESHOLD, PS as readTurnPacket, P_ as HANDOFF_LIST_PER_FRAME, Pa as findEndpoint, Pb as appRefPublisher, Pc as WebPushError, Pd as ringEvidence, Pf as isPlayableVideoType, Pg as offerIsFresh, Ph as directBlocked, Pi as ETHEREUM_USDT, Pl as STATUS_CARD_CAPABILITY, Pm as commitUntaggedHash, Pn as signGroupMeta, Po as readGroupFileMeta, Pp as wireReaction, Pr as atprotoCidFor, Ps as refusalText, Pt as GROUP_WAKE_GROUP_LIMIT, Pu as encodePacketTransports, Pv as readHandoffRelease, Pw as toZ32, Px as inviteQrSegments, Py as MAX_SLOT_KNOCKS, Q as sealGroupTyping, QC as decodeDnsAnswers, QS as CHAT_RESERVE, Q_ as handoffAttemptSucceeded, Qa as INVITE_TAKEN, Qb as IMAGE_LIMITS, Qc as appRangeGetFrame, Qd as DHT_MESSAGE_TTL, Qf as parseEditedFrame, Qg as pickCallCandidates, Qh as TRANSPORTS_GONE_MS, Qi as SPARK_PROVIDER, Ql as readManifest, Qm as newEpochSecret, Qn as BIP322_REVISION, Qo as NO_HUB_POLICY, Qp as RUN_RESULTS, Qr as DID_METHODS, Qs as typingFrame, Qt as GROUP_EDIT_FRAME, Qu as boundVerifiedIdentity, Qv as ENROLL_DONE, Qx as deviceLinkSealKey, Qy as mergeContactKnocks, R as checkAppBeforeRun, RC as heldBackError, RS as signTurnRelease, R_ as HANDOFF_PIECE_BYTES, Ra as ANSWERS_REFUSED_PAUSES, Rb as isAppHash, Rc as generateVapidKeys, Rd as RELAY_URL, Rf as EDIT_BUFFER_MAX, Rg as PAIRED_CALL_CANDIDATES, Rh as DHT_POLL_INTERVALS, Ri as SEPOLIA_TEST_USDT, Rl as WAKE_SESSION_CAPABILITY, Rm as rosterAdmin, Rn as SSHSIG_NAMESPACE, Ro as CARRIED_DEFER_MS, Rp as groupReplyAuthor, Rr as findInMst, Rs as TYPING_FRAME, Rt as GroupWakeLimiter, Ru as IDENTITY_CLOCK_SKEW, Rv as sealHandoffPiece, Rx as readInviteCode, Ry as REQUEST_NAME_UNITS, S as buildX401ResultArtifact, SC as WATCH_SHARE, SS as TURN_REV_LIMIT, S_ as HANDOFF_ATTEMPTS, Sa as invoiceCallbackUrl, Sb as isAppPath, Sc as WAKE_TTL_SECONDS, Sd as proofCapability, Sf as formatVoiceDuration, Sg as decodeChunk, Sh as CONNECT_TIMEOUT_MS, Si as DidDhtError, Sl as APPS_CAPABILITY, Sm as shownTime, Sn as groupMetaNewer, So as engineError, Sp as ReactionWindow, Sr as ATPROTO_PROOF_COLLECTION, Ss as validHead, St as GROUP_ENTRY_PROFILE, Su as CAPS_ISSUED_BACK_MS, Sv as newHandoffId, Sw as stripHidden, Sx as INVITE_HRP, Sy as inboxRecord, T as encodeX401Header, TC as currentRelays, TS as TURN_SLOTS, T_ as HANDOFF_CANCEL, Ta as parsePayParams, Tb as readAppBundle, Tc as newWakeToken, Td as storageProof, Tf as recordingMime, Tg as encodeControl, Th as GATHER_ATTEMPTS, Ti as didDhtFromPublicKey, Tl as CALLS_CAPABILITY, Tm as GROUP_MEMBER_CAP, Tn as groupMetaToHand, To as PairingTracker, Tp as parseReactionFrame, Tr as atprotoProofRecord, Ts as PairedCalls, Tt as decodeGroupEntryLink, Tu as CAPS_PUBLISH_SPACING_MS, Tv as readHandoffBusy, Tw as bytesEqual, Tx as INVITE_VERSION, Ty as settleRequest, U as checkAppStoreIndex, UC as PacketTooLargeError, US as turnPayloadSequence, U_ as HANDOFF_VERIFIED, Ua as CROSSED_WAIT_MS, Ub as readAppRevocationShape, Uc as APP_RANGE_ERRORS, Ud as irohDescriptor, Uf as EDIT_SEND_LIMIT, Ug as callSignalHeardAt, Uh as MAX_DHT_TEXT_BYTES, Ui as arkAddressPrefix, Ul as SESSION_FRAME_MAX, Um as verifyCommit, Un as parseSshSignature, Uo as SIGNAL_CARRIERS, Up as ACTIVE_TASK_STATUSES, Ur as unsignedCommitBytes, Us as TYPING_SEND_LIMIT, Ut as GROUP_LIMITS, Uu as IDENTITY_MAX_RECEIVED, Uv as readSetUpdate, Ux as ENROLL_CAPABILITY, Uy as STAMP_BITS_MIN, V as APP_STORE_LIMITS, VC as MAX_DNS_PACKET_BYTES, VS as turnName, V_ as HANDOFF_REQUEST, Va as CROSSED_FRESH_MS, Vb as isAppSignature, Vc as vapidKeysMatch, Vd as automaticTransport, Vf as EDIT_RATE_WINDOW_MS, Vg as buildSdpFromSignal, Vh as IDLE_THRESHOLD, Vi as USDT_PUBLIC_RPC, Vl as PAIRED_PROFILE, Vm as sortRoster, Vn as SshSigError, Vo as GROUP_VERSION_SIGNALS, Vp as replySnippet, Vr as parseAtprotoVerificationKey, Vs as TYPING_RATE_WINDOW_MS, Vt as mentionedMembers, Vu as IDENTITY_MAX_EVIDENCE, Vv as SET_UPDATE, Vx as DEVICE_ECHO_FRAME, Vy as STAMP_BITS_DEFAULT, W as readAppListing, WC as RELAY_PAYLOAD_MAX_BYTES, WS as turnReleaseMessage, W_ as HANDOFF_VERSION, Wa as DEMOTE_AFTER_FAILURES, Wb as readAppRevocations, Wc as APP_RANGE_FRAMES, Wd as irohRelayUrl, Wf as MAX_EDITS_PER_MESSAGE, Wg as compressSdp, Wh as OFFER_FAST_MS, Wi as assertTokenUnits, Wl as SESSION_RECEIVE_PENDING, Wm as verifyCommitSignature, Wn as sameSshKey, Wo as SIGNAL_FRESH_MS, Wp as BUTTON_ID, Wr as verifyAtprotoRecordProof, Ws as TYPING_STATUS_MAX, Wt as GROUP_REACTED_FRAME, Wu as IDENTITY_MAX_VALIDITY, Wv as setAckFrame, Wx as HANDOFF_CAPABILITY, Wy as contactDay, X as groupTypingEpoch, XC as readOwnRelayPayload, XS as BACKGROUND_WHILE_SIGNALING, X_ as handoffAttemptAllowed, Xa as HANDLED_WAIT_MS, Xb as verifyAppSignature, Xc as appRangeEndFrame, Xd as DHT_FILE_REFUSED, Xf as editedFrame, Xg as keepsToRelays, Xh as SIGNAL_OUT_READS, Xi as walletNetworkOf, Xl as isHoldUrl, Xm as encryptText, Xn as legacyMessageHash, Xo as GROUP_VERSION_HUBS, Xp as REMOVABLE_KINDS, Xr as DID_JWS_MAX_LENGTH, Xs as sanitizeTypingStatus, Xt as groupMessageId, Xu as IdentityCheckUnavailable, Xv as ENROLL_CANCEL, Xx as deviceLinkParams, Xy as makeStamp, Y as GroupTypingBoard, YC as parseRelayPayload, YS as BACKGROUND_REQUESTS_PER_MINUTE, Y_ as handoffAckFrame, Ya as GhostLink, Yb as verifyAppRevocation, Yc as appRangeDataFrame, Yd as ACTIVE_DHT_POLL_MS, Yf as editFrame, Yg as isGlobalIpv4Host, Yh as RELAY_POLL_INTERVALS, Yi as validatePaymentTarget, Yl as HoldRefusedError, Ym as edgeParams, Yn as isLegacySignature, Yo as readGroupSignal, Yp as PR_STATES, Yr as DID_JWS_ALGS, Ys as parseTypingFrame, Yt as frameBytes, Yu as IDENTITY_SUBJECT, Yv as DEVICE_KINDS, Yx as deviceLinkPairing, Yy as linkRecords, Z as openGroupTyping, ZC as signRelayPayload, ZS as BACKGROUND_WRITES_SHARE, Z_ as handoffAttemptFailed, Za as INVITER_DIAL_GRACE_MS, Zb as verifyAppStatementBytes, Zc as appRangeErrorFrame, Zd as DHT_FILE_TOO_LARGE, Zf as parseEditFrame, Zg as parseCallSignal, Zh as STALLED_LOOK_MS, Zi as SPARK_NETWORKS, Zl as newMailbox, Zm as epochKeys, Zn as verifyBitcoinMessage, Zo as MESH_HUBS, Zp as ROUTINE_STATES, Zr as DID_MAX_LENGTH, Zs as typingActivity, Zt as COMMUNITY_EDIT_FRAME, Zu as IdentityExchange, Zv as ENROLL_CANCEL_REASONS, Zx as deviceLinkRendezvousSeed, Zy as makeStampPaced, _ as X401_PROTOCOLS, _C as SIGNALING_ALLOWANCE_SHARE, _S as TURN_LABEL, __ as serviceIdFromName, _a as pubkyHomeserverOf, _b as assembleAppBundle, _c as WAKE_CALL_TTL_SECONDS, _d as STORAGE_ROOT, _f as VOICE_LIMITS, _g as CHUNK_FLAG_END, _h as ratchetRoot, _i as strictBase64Url, _l as chatAppId, _m as MESSAGE_CLOCK_SKEW_MS, _n as MAX_GROUP_PICTURE_LENGTH, _o as pairedMessageFrame, _p as GROUP_REACTION_FRAME, _r as u32, _s as rankHubs, _t as shortHash, _u as recordsFromWellKnown, _v as handoffStreamKey, _w as sanitizeAvatar, _x as deviceInviteJoinerKeyZ32, _y as MAX_WAITING, a as X401_DCQL_LIMITS, aC as GROUP_BURST_MS, aS as seedSigner, a_ as buildLinkRecords, aa as PUBKY_PROOF_MAX_BYTES, ab as stampHolds, ac as PIN_LIMITS, ad as newIdentityBinding, af as DHT_FILE_CAPABILITY, ag as unusedInviteWait, ah as MAX_SKIP, ai as didWebDocumentUrl, al as APP_FRAME, am as cardLine, an as validEditText, ao as PONG_WAIT_MS, ap as canonicalUrl, ar as BitcoinAddressError, as as COMMUNITY_TOPOLOGY, at as communityHasFrame, au as NIP05_PATH, av as handoffDoneFrame, aw as identityFromSeedB64, ax as canonicalJson, ay as enrollDoneFrame, b as buildX401ProofRequest, bC as SLOW_MS, bS as TURN_NAME_BYTES, b_ as viewerTag, ba as fetchLnurlJson, bb as findAppForbiddenKey, bc as WAKE_INTERVAL_MS, bd as isProofAdapter, bf as downsamplePeaks, bg as MAX_CHUNK_PAYLOAD_BYTES, bh as ratchetUnknownSession, bi as DID_DHT_TTL, bl as parseAppFrame, bm as heardTime, bn as groupMetaBody, bo as ENGINE_ERRORS, bp as REACTION_FRAME, br as ATPROTO_DECLARED_SCOPE, bs as readLobby, bt as verifyCommunityChainPaced, bu as validDomainRecord, bv as handoffVersions, bw as sanitizeDisplayText, bx as readDeviceInvite, by as clearMissed, c as readX401DcqlQuery, cC as GROUP_RATION_WINDOW_MS, cS as TURN_RAISE_READ_TIMEOUT_MS, c_ as parseLinkRecords, ca as isPubkyProofFolder, cb as APP_CLIENTS, cc as parsePinFrame, cd as signIdentityPresentation, cf as readDhtFile, cg as HttpHost, ch as RATCHET_HEADER_BYTES, ci as didWebFileUrl, cl as APP_RATE_WINDOW_MS, cm as cardUrl, cn as mentionsBytes, co as RACE_RELAYED_MS, cp as linksIn, cr as decodeAnyBitcoinAddress, cs as doorHubs, ct as communityUntaggedHash, cu as dnsProofName, cv as handoffFileRequestFrame, cw as verify, cx as CONTACT_LINK_BYTES, cy as enrollMessage, d as newX401HolderKey, dC as HEDGE_MS, dS as classifyTurnRead, d_ as MAX_SERVICES, da as pubkyProofCapability, db as APP_ICON_PATH, dc as pinIsNewer, dd as applyIdentityEvent, df as formatFileSize, dg as relativizeLocation, dh as RatchetBox, di as parseDid, dl as APP_VERSION_MAX, dm as removedCardText, dn as wireMentions, do as RTC_UNSTARTED_MS, dp as sanitizePreviewImage, dr as decodeWitness, ds as lobbyKeys, dt as encodeCommunityLink, du as encodeDnsQuery, dv as handoffManifestFrames, dw as generateEncryptionKey, dx as encodeContactLink, dy as readEnrollGrant, eC as CHAT_RESERVE_PER_CHAT, eS as devicePingFrame, e_ as signalHasVideo, ea as sparkAddressKind, eb as readKnockSlot, ec as COMMUNITY_PIN_FRAME, ed as identityPresentationBytes, ef as DHT_TEXT_REFUSED, eg as UNUSED_INVITE_UPKEEP_MS, eh as openSecret, ei as checkDidJws, el as encodeAppRangeData, em as TASK_STATUSES, en as carryMentions, eo as LIVENESS_PING_MS, ep as validEditNumber, er as bip322MessageHash, es as meshHubs, et as COMMUNITY_PROFILE, eu as DNS_TYPE, ev as handoffCancelFrame, ew as encodeTxtPacket, ex as imageSize, ey as ENROLL_HELLO, f as readX401SdJwtVc, fC as PREVIOUS_DEFAULT_RELAYS, fS as keptAtEqualSequence, f_ as SERVICES_VERSION, fa as pubkyProofFile, fb as APP_PERMISSIONS, fc as pinNumberHolds, fd as lastSharedWithMe, ff as safeBlobType, fg as resolveTargetUrl, fh as emptyRatchetState, fi as parseDidDocument, fl as AppSessions, fm as sameButtonText, fn as GROUP_META_PAST, fo as SWITCH_RETIRE_MS, fp as FORWARD_LIMITS, fr as encodeTx, fs as lobbyRecords, ft as leaveStands, fu as isPublicAddress, fv as handoffOfferFrame, fw as sealedLength, fx as readContactLink, fy as readEnrollHello, g as X401_LIMITS, gC as RelaysFailedError, gS as TURN_BODY_BYTES, g_ as isViewerTag, ga as homeserverWebEndpoint, gb as appViewOf, gc as WAKE_CALL_INTERVAL_MS, gd as STORAGE_LIFETIME, gf as RECORDING_TYPES, gg as webLocalFetch, gh as ratchetOpen, gi as staticDidDocument, gl as appOpenFrame, gm as usageLeft, gn as MAX_GROUP_NAME_LENGTH, go as pairedMessageFits, gp as COMMUNITY_REACTION_FRAME, gr as txHash, gs as pickHubs, gt as rosterHash, gu as recordsFromTxt, gv as handoffRetryAfter, gw as jpegSize, gx as createDeviceInvite, gy as MAX_MISSED, h as X401_HEADERS, hC as RelayTransport, hS as TOMBSTONE_TURN, h_ as isValidServiceId, ha as encodeSvcbPacket, hb as appDigest, hc as DEVICE_WAKE_TTL_SECONDS, hd as PeerProofs, hf as PLAYABLE_AUDIO, hg as viewerResponseHeaders, hh as ratchetOn, hi as signingKeys, hl as appDataFrame, hm as taskProgress, hn as MAX_GROUP_NAME_BYTES, ho as WAKE_LOST_MS, hp as readForwarded, hr as sha256d, hs as newerHead, ht as leftStatement, hu as parseDomainTxt, hv as handoffRequestFrame, hw as MAX_AVATAR_SIDE, hx as DEVICE_INVITE_OWN_DEVICE, hy as MAX_DONE, i as x401ApprovalDigest, iC as FRESH_READ_MS, iS as verifyDeviceTransports, i_ as RECORD_TTL, ia as isBitcoinAddress, ib as seenEntry, ic as PIN_FRAME, id as isIdentityBinding, if as peekDhtMailbox, ig as presenceSeenAt, ih as FOLLOW_MS, ii as didSignedMessages, il as APP_DATA_MAX_BYTES, im as cardEditNumber, in as parseCommunityEdit, io as PAIRING_RETRY_MS, ip as LINK_TRAILING, ir as verifyBip322, is as wireHubPolicy, it as communityGroupId, iu as DOMAIN_TXT_MAX_BYTES, iv as handoffDigest, iw as identityFromSeed, ix as readImageMeta, iy as enrollDigits, j as readX401ProofResult, jC as BREAKER_ALL_DOWN_PROBE_MS, jS as nextTurnPosition, j_ as HANDOFF_HAVE, ja as ENDPOINT, jb as APP_STATEMENT_LIMITS, jc as wakePayload, jd as RING_LIFETIME, jf as PLAYABLE_VIDEO, jg as RTC_SIGNAL_MAX_AGE_MS, jh as DIRECT_OWN_ATTEMPTS, ji as openDidDhtPayload, jl as REACTIONS_CAPABILITY, jm as OWN_FRAME_LIMIT, jn as parseGroupMetaFrame, jo as fetchesByItself, jp as readDhtReactions, jr as shortAtprotoDid, js as FileUplink, jt as mergeKnocks, ju as capsDescriptors, jv as readHandoffHello, jw as randomBytes, jx as encodeInviteCode, jy as KNOCK_SLOT_LABEL, k as readX401ProofResponse, kC as setLinkTraceSink, kS as encodeTurnFields, k_ as HANDOFF_FILE_MISSING, ka as decodeBolt11, kb as APP_NAME, kc as relayRequest, kd as verifyNostrProof, kf as voiceLevelsOf, kg as DATA_CHANNEL_LABEL, kh as STALLED_EVIDENCE_MS, ki as encodeDidDhtPacket, kl as KNOWN_SESSION_CAPABILITIES, km as MAX_GROUP_MEMBERS, kn as openGroupMeta, ko as GROUP_WANT_FRAME, kp as reactionFrame, kr as normalizeAtprotoHandle, ks as FILE_FRAMES, kt as knockIdentity, ku as CapsRefusedError, kv as readHandoffFileFrame, kw as fromZ32, kx as decodeInviteCode, ky as ContactRequestError, l as x401VpToken, lC as GROUP_SIGNALING_ALLOWANCE_SHARE, lS as TURN_SETTLE_MS, l_ as HTTP_SERVICE_PROTO, la as newPubkyProofFolder, lb as APP_CLIENT_NAME, lc as parsePinnedFrame, ld as verifyIdentityPresentation, lf as FileTransfers, lg as formatLocalTarget, lh as RATCHET_KEEP_MS, li as didWebHost, ll as APP_RESUME_GRACE_MS, lm as checkStatusCard, ln as mentionsMember, lo as REDESCRIBED_GRACE_MS, lp as parseLinkPreview, lr as decodeBitcoinAddress, ls as freshHubs, lt as decodeCommunityLink, lu as domainTxtRecord, lv as handoffHaveFrames, lw as decrypt, lx as CONTACT_LINK_VERSION, ly as enrollProofFrame, m as x401HolderJwk, mC as REQUESTS_PER_MINUTE, mS as TOMBSTONE_SEQUENCE, m_ as encodeServices, ma as decodeSvcbRecords, mb as APP_VIEWS, mc as readPin, md as PROOF_CAPABILITY, mf as sanitizeMime, mg as sanitizeResponseHeaders, mh as ratchetHeard, mi as parseDidSignaturePaste, ml as appDataBytes, mm as statusCardText, mn as MAX_GROUP_META_BODY, mo as WAKE_ANSWER_GRACE_MS, mp as forwardedMany, mr as hash160, ms as mergeLobby, mt as leaveStatement3, mu as normalizeDomain, mv as handoffReleaseFrame, mw as MAX_AVATAR_LENGTH, mx as DEVICE_INVITE_LIFETIME_S, my as FLOOD_PER_DAY, n as X401_RESPONSE_MODES, nC as DEFAULT_RELAYS, nS as signDeviceTransports, n_ as LABEL, na as sparkNetworkOf, nb as requestPlaintextBytes, nc as PINNED_FRAME, nd as identityStatement, nf as LIVE_POLL_MS, ng as WATCH_PEER_MS, nh as sealSecret, ni as didGhostlyServiceEntry, nl as parseAppRangeFrame, nm as appCardUrl, nn as communityMessageAuthor, no as PAIRED_FRAME_TOO_LARGE, np as LINK_MAX_CHARS, nr as bip322ToSpend, ns as parseHubPolicy, nt as GROUP_READ_NOTE_COMMUNITY, nu as DOMAIN_MAX_RECORDS, nv as handoffContextProof, nw as IDENTITY_MEMO_SIZE, nx as parseImageMeta, ny as enrollCancelFrame, o as matchX401Dcql, oC as GROUP_BURST_ONE_LINK, oS as webCryptoSigner, o_ as emptyLinkRecords, oa as PUBKY_PROOF_ROOT, ob as APP_BUNDLE_LIMITS, oc as mayPin, od as receivedIdentityStatus, of as dhtFileElements, og as GhostlyHttpError, oh as MAX_SKIPPED_KEYS, oi as didWebFile, ol as APP_PEER_OPEN_MAX, om as cardLinkHost, on as MENTION_EVERYONE, oo as RACE_ANSWERED_MS, op as linkEnd, or as ByteReader, os as beaconKeys, ot as communityMessageId, ou as WELL_KNOWN_PATH, ov as handoffEphemeral, ow as publicKeyFromZ32, ox as canonicalJsonBytes, oy as enrollGrantFrame, p as sameX401HolderJwk, pC as RELAY_REQUESTS_PER_MINUTE, pS as turnPutSummary, p_ as decodeServices, pa as pubkyProofPath, pb as APP_SCREENSHOTS_DIR, pc as pinnedFrame, pd as PROOF_ADAPTERS, pf as sanitizeFileName, pg as sanitizeRequestHeaders, ph as isRatcheted, pi as parseDidJws, pl as appCloseFrame, pm as statusCardBytes, pn as GROUP_META_PAST_CHARS, po as UNPROVEN_AUTH_MS, pp as forwardedAgain, pr as encodeWitness, ps as mergeBeacon, pt as leaveStatement, pu as nip05RootKey, pv as handoffPakeFrame, pw as tryDecrypt, px as DEVICE_INVITE_BYTES, py as verifyEnrollProof, q as signAppStore, qC as newerPacket, qS as turnStatedVerifier, q_ as filePartDigest, qa as EARLY_DIAL_JOIN_MS, qb as signAppObject, qc as appRangeCancelFrame, qd as relayedTransports, qf as RateWindow, qg as extractParamsFromSdp, qh as PRESENCE_HEARTBEAT, qi as isWalletNetwork, ql as HOLD_LIMITS, qm as confirmationTag, qn as sshSignCommand, qo as SIGNAL_REPLY_MS, qp as ITEM_STATES, qr as DID_FILE_MAX_BYTES, qs as TypingSender, qt as asWritten, qu as IDENTITY_REVOCATION_LABEL, qv as signTombstone, qx as deviceFrameCapability, qy as knockSlotOf, r as readX401OpenId4VpRequest, rC as DEPARTED_READS, rS as unsignedDeviceTransports, r_ as MAX_MSGS_PAYLOAD_B64, ra as BITCOIN_NETWORKS, rb as requestRecords, rc as PIN_CLOCK_SKEW_MS, rd as identityStatementText, rf as emptyDhtDeliveryState, rg as countUnusedInvite, rh as sha256Hex, ri as didJwsAlg, rl as readAppRangeFrame, rm as buttonLabelClash, rn as meshMessageRef, ro as PAIRING_ATTEMPT_MS, rp as LINK_PREVIEW_LIMITS, rr as decodeBase64, rs as pickMeshHubs, rt as communityCommitHash, ru as DOMAIN_METHODS, rv as handoffDataFrame, rw as createIdentity, rx as previewable, ry as enrollCancelReason, s as presentX401SdJwtVc, sC as GROUP_OVER_PACE_MS, sS as TURN_PUT_WINDOW_MS, s_ as isEmptyLinkPacket, sa as isPubkyKey, sb as APP_BUNDLE_MAGIC, sc as nextPinNumber, sd as revokesIdentity, sf as dhtFileId, sg as HttpClient, sh as RATCHET_CAPABILITY, si as didWebFileNames, sl as APP_RATE_LIMIT, sm as cardTimeUtc, sn as MENTION_LIMITS, so as RACE_DIRECT_MS, sp as linkStop, sr as compactSize, ss as beaconRecords, st as communityRoster, su as decodeDnsResponse, sv as handoffFileMissingFrame, sw as sign, sx as readCanonicalJson, sy as enrollHelloFrame, t as X401_REQUEST_LIMITS, tC as CHAT_WATCH_SHARE, tS as newDeviceSetSecret, t_ as waitForIceGathering, ta as sparkInvoiceDetails, tb as readLinkRecord, tc as GROUP_PIN_FRAME, td as identityRevocationValue, tf as DhtDelivery, tg as UNUSED_INVITE_WAIT_MAX_MS, th as sealPair, ti as checkDidSignature, tl as isServeId, tm as appCardId, tn as communityEditFrame, to as MAX_PAIRED_MESSAGE_FRAME, tp as validRemovalNumber, tr as bip322ToSign, ts as meshRendezvous, tt as CommunitySession, tu as DOMAIN_FILE_MAX_BYTES, tv as handoffContext, tw as readDnsName, tx as isImageMime, ty as ENROLL_PROOF, u as X401_CREDENTIAL_LIMITS, uC as HEDGE_MISSING_MS, uS as TURN_VISIBLE_MS, u_ as LEGACY_SERVICES, ua as normalizePubkyKey, ub as APP_FORBIDDEN_KEYS, uc as pinFrame, ud as IDENTITY_TIMELINE_MAX, uf as PREVIEWABLE_IMAGE, ug as parseLocalTarget, uh as RATCHET_OVERHEAD, ui as normalizeDid, ul as APP_SEND_LIMIT, um as readStatusCard, un as validMentions, uo as RESUME_WAIT_MS, up as previewImageSize, ur as decodeTx, us as hubRank, ut as derivedSecret, uu as domainWellKnownFile, uv as handoffHelloFrame, uw as encrypt, ux as createContactLink, uy as formatEnrollDigits, v as X401_SCHEME, vC as SIGNALING_WINDOW_MS, vS as TURN_LAST_SEQUENCE, v_ as servicesFromWire, va as LIGHTNING_DESTINATION_PATTERN, vb as buildAppBundle, vc as WAKE_CALL_WAIT_MS, vd as emptyProofLedger, vf as VOICE_METER, vg as CHUNK_KIND, vh as ratchetSeal, vi as DID_DHT_MAX_PAYLOAD, vl as isAppVersion, vm as arrivalKey, vn as encodeGroupMetaBody, vo as parsePaymentNetworks, vp as QUICK_REACTIONS, vr as u64, vs as readBeacon, vt as signCommunity, vu as recordsName, vv as handoffVerifiedFrame, vw as MAX_NICK_LENGTH, vx as deviceInviteJoinerParams, vy as NEW_PER_HOUR, w as decodeX401Header, wC as WRITE_FIRST_MS, wS as TURN_SIGNED_BYTES, w_ as HANDOFF_BUSY_REASONS, wa as parseLightningDestination, wb as pacer, wc as deviceWakeRequest, wd as proofStatement, wf as parseVoiceMeta, wg as encodeChunk, wh as DataLink, wi as didDhtDocument, wl as BUTTONS_CAPABILITY, wm as GROUP_ID, wn as groupMetaTag, wo as parseEngineError, wp as parseReactedFrame, wr as atprotoDidMethod, ws as PAIRED_CALL_FRAME, wt as MAX_KNOCKS, wu as CAPS_LIMITS, wv as readHandoffAck, ww as unwrapPasted, wx as INVITE_MAX_LENGTH, wy as planKnocks, x as buildX401ProofResult, xC as TURN_SOURCE_TIMEOUT_MS, xS as TURN_NO_ACTIVE, x_ as HANDOFF_ACK, xa as findLightningDestination, xb as isAppLicense, xc as WAKE_SUBJECT, xd as nostrProofTemplate, xf as fileMessageText, xg as PROTOCOL_VERSION, xh as ANSWER_REFUSED_REDIALS, xi as DID_DHT_VERSION, xl as readAppFrame, xm as receivedTimestamp, xn as groupMetaChange, xo as EngineError, xp as REACTION_LIMITS, xr as ATPROTO_FULL_SCOPE, xs as shouldBeHub, xt as verifyCommunityCommit, xu as wellKnownUrl, xv as isHandoffPartName, xw as sanitizeNick, xx as DEVICE_INVITE_VERSION, xy as endedRequests, y as X401_VERSION, yC as SLOW_DEMOTE_MS, yS as TURN_MAX, y_ as servicesToWire, ya as LNURL_LIMITS, yb as checkAppManifest, yc as WAKE_FRAME, yd as importedProof, yf as baseMime, yg as LIMITS, yh as ratchetSessionOf, yi as DID_DHT_PREFIX, yl as isChatAppId, ym as claimedTime, yn as groupDisplayName, yo as publishFailure, yp as REACTED_FRAME, yr as varBytes, ys as readBeaconHead, yt as verifyCommunityChain, yu as txtValue, yv as handoffVerifiedMessage, yw as hasVisible, yx as encodeDeviceInvite, yy as REOPEN_BELOW, z as planAppUpdate, zC as isDiscoveryBudgetError, zS as turnInstance, z_ as HANDOFF_PIECE_OVERHEAD, za as ANSWERS_REFUSED_PAUSE_MS, zb as isAppKey, zc as pushRequest, zd as RELAY_WITH_SECRETS, zf as EDIT_BUFFER_MS, zg as RTC_CONFIG, zh as EXPECT_PEER_MS, zi as SEPOLIA_TEST_USDT_FAUCET, zl as parseSessionCapabilities, zm as rosterHas, zn as SSH_KEY_TYPES, zo as CarriedTransport, zp as pairedReplyAuthor, zr as parseAtprotoCar, zs as TYPING_KINDS, zt as groupWakeFrame, zu as IDENTITY_FRAME_LIMIT, zv as sortParts, zx as DEVICES_CAPABILITY, zy as REQUEST_PACKET_BYTES } from "./src-DytzSJB6.js";
|
|
2
|
+
//#region ../core/src/pictureMetadata.ts
|
|
3
|
+
/**
|
|
4
|
+
* What a picture leaves with. A photo's file says more than its pixels: its Exif and XMP hold where it was taken, the
|
|
5
|
+
* device, the time, often a thumbnail of the uncropped original. The sender removes them before the file is stored and
|
|
6
|
+
* its digest computed, so what the contact (or anyone in a community) receives is the picture alone: JPEG, PNG, WebP
|
|
7
|
+
* and HEIF (HEIC, AVIF), without decoding or re-encoding a pixel.
|
|
8
|
+
*
|
|
9
|
+
* Fail-closed: a file that is one of these pictures, by its bytes or by its type, and whose metadata cannot be removed
|
|
10
|
+
* (truncated, malformed, a part this does not know) is refused with `NO_PICTURE_METADATA`, never sent as it was. Any
|
|
11
|
+
* other file goes as it is.
|
|
12
|
+
*/
|
|
13
|
+
var PICTURE_METADATA_LIMITS = {
|
|
14
|
+
/** The largest picture read whole to remove its metadata: past this it is refused. */
|
|
15
|
+
maxBytes: 268435456,
|
|
16
|
+
/** Bytes read first to tell a picture from another file. */
|
|
17
|
+
headBytes: 64
|
|
18
|
+
};
|
|
19
|
+
/** Why a picture is refused: its metadata could not be removed, so it does not go at all. */
|
|
20
|
+
var NO_PICTURE_METADATA = "This picture cannot be sent: Ghostly could not remove the details saved in it, like where it was taken";
|
|
21
|
+
/** The types of the pictures stripped here: a file of one of them whose bytes are not that picture is refused. */
|
|
22
|
+
var STRIPPED_TYPES = /* @__PURE__ */ new Set([
|
|
23
|
+
"image/jpeg",
|
|
24
|
+
"image/jpg",
|
|
25
|
+
"image/pjpeg",
|
|
26
|
+
"image/png",
|
|
27
|
+
"image/apng",
|
|
28
|
+
"image/webp",
|
|
29
|
+
"image/heic",
|
|
30
|
+
"image/heif",
|
|
31
|
+
"image/heic-sequence",
|
|
32
|
+
"image/heif-sequence",
|
|
33
|
+
"image/avif",
|
|
34
|
+
"image/gif",
|
|
35
|
+
"image/tiff",
|
|
36
|
+
"image/tiff-fx"
|
|
37
|
+
]);
|
|
38
|
+
/** HEIF brands (HEIC, AVIF, the generic `mif1`): an MP4 video's `ftyp` names none of them. */
|
|
39
|
+
var HEIF_BRANDS = /* @__PURE__ */ new Set([
|
|
40
|
+
"heic",
|
|
41
|
+
"heix",
|
|
42
|
+
"heim",
|
|
43
|
+
"heis",
|
|
44
|
+
"hevc",
|
|
45
|
+
"hevx",
|
|
46
|
+
"mif1",
|
|
47
|
+
"mif2",
|
|
48
|
+
"msf1",
|
|
49
|
+
"avif",
|
|
50
|
+
"avis"
|
|
51
|
+
]);
|
|
52
|
+
var u16be = (b, at) => b[at] << 8 | b[at + 1];
|
|
53
|
+
var u32be = (b, at) => (b[at] << 24 >>> 0) + (b[at + 1] << 16) + (b[at + 2] << 8) + b[at + 3];
|
|
54
|
+
var u32le = (b, at) => (b[at] | b[at + 1] << 8 | b[at + 2] << 16 | b[at + 3] << 24) >>> 0;
|
|
55
|
+
var text = (b, at, length) => String.fromCharCode(...b.subarray(at, at + length));
|
|
56
|
+
var starts = (b, at, prefix) => at + prefix.length <= b.length && text(b, at, prefix.length) === prefix;
|
|
57
|
+
/** A picture this strips, by its first bytes. */
|
|
58
|
+
function kindOf(b) {
|
|
59
|
+
if (b.length >= 3 && b[0] === 255 && b[1] === 216 && b[2] === 255) return "jpeg";
|
|
60
|
+
if (b.length >= 8 && b[0] === 137 && starts(b, 1, "PNG\r\n\n")) return "png";
|
|
61
|
+
if (b.length >= 12 && starts(b, 0, "RIFF") && starts(b, 8, "WEBP")) return "webp";
|
|
62
|
+
if (starts(b, 0, "GIF87a") || starts(b, 0, "GIF89a")) return "gif";
|
|
63
|
+
if (starts(b, 0, "II*\0") || starts(b, 0, "MM\0*") || starts(b, 0, "II+\0") || starts(b, 0, "MM\0+")) return "tiff";
|
|
64
|
+
if (b.length >= 16 && starts(b, 4, "ftyp")) {
|
|
65
|
+
const end = Math.min(b.length, u32be(b, 0));
|
|
66
|
+
for (let at = 8; at + 4 <= end; at += 4) if (at !== 12 && HEIF_BRANDS.has(text(b, at, 4))) return "heif";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/** Refuses the picture where its bytes are not what this expects. */
|
|
70
|
+
function check(ok) {
|
|
71
|
+
if (!ok) throw new Error(NO_PICTURE_METADATA);
|
|
72
|
+
}
|
|
73
|
+
/** SOFn markers: every frame type but DHT (C4), JPG (C8) and DAC (CC). */
|
|
74
|
+
var JPEG_FRAME = /* @__PURE__ */ new Set([
|
|
75
|
+
192,
|
|
76
|
+
193,
|
|
77
|
+
194,
|
|
78
|
+
195,
|
|
79
|
+
197,
|
|
80
|
+
198,
|
|
81
|
+
199,
|
|
82
|
+
201,
|
|
83
|
+
202,
|
|
84
|
+
203,
|
|
85
|
+
205,
|
|
86
|
+
206,
|
|
87
|
+
207
|
|
88
|
+
]);
|
|
89
|
+
function jpegKeeps(marker, b, payload) {
|
|
90
|
+
if (marker >= 192 && marker <= 207 || marker >= 218 && marker <= 223) return true;
|
|
91
|
+
if (marker === 224) return starts(b, payload, "JFIF\0");
|
|
92
|
+
if (marker === 226) return starts(b, payload, "ICC_PROFILE\0");
|
|
93
|
+
if (marker === 238) return starts(b, payload, "Adobe");
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
/** An APP1 Exif, big-endian, whose IFD0 holds `orientation` alone. */
|
|
97
|
+
var orientationOnly = (orientation) => Uint8Array.of(255, 225, 0, 34, 69, 120, 105, 102, 0, 0, 77, 77, 0, 42, 0, 0, 0, 8, 0, 1, 1, 18, 0, 3, 0, 0, 0, 1, 0, orientation, 0, 0, 0, 0, 0, 0);
|
|
98
|
+
function stripJpeg(b) {
|
|
99
|
+
const parts = [b.subarray(0, 2)];
|
|
100
|
+
let at = 2, framed = false, scanned = false, exif = false;
|
|
101
|
+
for (;;) {
|
|
102
|
+
check(at < b.length && b[at] === 255);
|
|
103
|
+
while (at < b.length && b[at] === 255) at++;
|
|
104
|
+
check(at < b.length);
|
|
105
|
+
const marker = b[at++];
|
|
106
|
+
if (marker === 217) {
|
|
107
|
+
check(framed && scanned);
|
|
108
|
+
parts.push(Uint8Array.of(255, 217));
|
|
109
|
+
return parts;
|
|
110
|
+
}
|
|
111
|
+
if (marker === 1 || marker >= 208 && marker <= 215) {
|
|
112
|
+
parts.push(Uint8Array.of(255, marker));
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
check(marker !== 0 && marker !== 216 && at + 2 <= b.length);
|
|
116
|
+
const length = u16be(b, at);
|
|
117
|
+
check(length >= 2 && at + length <= b.length);
|
|
118
|
+
if (jpegKeeps(marker, b, at + 2)) {
|
|
119
|
+
parts.push(Uint8Array.of(255, marker), b.subarray(at, at + length));
|
|
120
|
+
if (JPEG_FRAME.has(marker)) framed = true;
|
|
121
|
+
} else if (marker === 225 && !scanned && !exif && starts(b, at + 2, "Exif\0\0")) {
|
|
122
|
+
exif = true;
|
|
123
|
+
const orientation = exifOrientation(b, at + 8, at + length);
|
|
124
|
+
if (orientation >= 2) parts.push(orientationOnly(orientation));
|
|
125
|
+
}
|
|
126
|
+
at += length;
|
|
127
|
+
if (marker !== 218) continue;
|
|
128
|
+
check(framed);
|
|
129
|
+
scanned = true;
|
|
130
|
+
let end = at;
|
|
131
|
+
for (;;) {
|
|
132
|
+
end = b.indexOf(255, end);
|
|
133
|
+
check(end >= 0);
|
|
134
|
+
let next = end + 1;
|
|
135
|
+
while (next < b.length && b[next] === 255) next++;
|
|
136
|
+
check(next < b.length);
|
|
137
|
+
if (b[next] !== 0 && !(b[next] >= 208 && b[next] <= 215)) break;
|
|
138
|
+
end = next + 1;
|
|
139
|
+
}
|
|
140
|
+
parts.push(b.subarray(at, end));
|
|
141
|
+
at = end;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
var PNG_CRITICAL = /* @__PURE__ */ new Set([
|
|
145
|
+
"IHDR",
|
|
146
|
+
"PLTE",
|
|
147
|
+
"IDAT",
|
|
148
|
+
"IEND"
|
|
149
|
+
]);
|
|
150
|
+
var PNG_DRAWS = /* @__PURE__ */ new Set([
|
|
151
|
+
"tRNS",
|
|
152
|
+
"gAMA",
|
|
153
|
+
"cHRM",
|
|
154
|
+
"sRGB",
|
|
155
|
+
"iCCP",
|
|
156
|
+
"sBIT",
|
|
157
|
+
"bKGD",
|
|
158
|
+
"pHYs",
|
|
159
|
+
"cICP",
|
|
160
|
+
"mDCV",
|
|
161
|
+
"cLLI",
|
|
162
|
+
"acTL",
|
|
163
|
+
"fcTL",
|
|
164
|
+
"fdAT"
|
|
165
|
+
]);
|
|
166
|
+
function stripPng(b) {
|
|
167
|
+
const parts = [b.subarray(0, 8)];
|
|
168
|
+
let at = 8;
|
|
169
|
+
for (;;) {
|
|
170
|
+
check(at + 12 <= b.length);
|
|
171
|
+
const length = u32be(b, at), type = text(b, at + 4, 4);
|
|
172
|
+
check(at + 12 + length <= b.length && (at > 8 || type === "IHDR"));
|
|
173
|
+
const critical = (b[at + 4] & 32) === 0;
|
|
174
|
+
check(!critical || PNG_CRITICAL.has(type));
|
|
175
|
+
if (critical || PNG_DRAWS.has(type)) parts.push(b.subarray(at, at + 12 + length));
|
|
176
|
+
at += 12 + length;
|
|
177
|
+
if (type === "IEND") return parts;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
var WEBP_KEEPS = /* @__PURE__ */ new Set([
|
|
181
|
+
"VP8 ",
|
|
182
|
+
"VP8L",
|
|
183
|
+
"VP8X",
|
|
184
|
+
"ALPH",
|
|
185
|
+
"ANIM",
|
|
186
|
+
"ANMF",
|
|
187
|
+
"ICCP"
|
|
188
|
+
]);
|
|
189
|
+
function stripWebp(b) {
|
|
190
|
+
check(b.length >= 20);
|
|
191
|
+
const riffEnd = 8 + u32le(b, 4);
|
|
192
|
+
check(riffEnd <= b.length && riffEnd % 2 === 0);
|
|
193
|
+
const parts = [];
|
|
194
|
+
let at = 12, size = 4, drawn = false;
|
|
195
|
+
while (at < riffEnd) {
|
|
196
|
+
check(at + 8 <= riffEnd);
|
|
197
|
+
const type = text(b, at, 4), length = u32le(b, at + 4), end = at + 8 + length + (length & 1);
|
|
198
|
+
check(end <= riffEnd && (at > 12 || type === "VP8 " || type === "VP8L" || type === "VP8X"));
|
|
199
|
+
if (WEBP_KEEPS.has(type)) {
|
|
200
|
+
let chunk = b.subarray(at, end);
|
|
201
|
+
if (type === "VP8X") {
|
|
202
|
+
check(length >= 10);
|
|
203
|
+
chunk = chunk.slice();
|
|
204
|
+
chunk[8] = chunk[8] & -13;
|
|
205
|
+
}
|
|
206
|
+
if (type === "VP8 " || type === "VP8L" || type === "ANMF") drawn = true;
|
|
207
|
+
parts.push(chunk);
|
|
208
|
+
size += chunk.length;
|
|
209
|
+
}
|
|
210
|
+
at = end;
|
|
211
|
+
}
|
|
212
|
+
check(drawn);
|
|
213
|
+
const header = /* @__PURE__ */ new Uint8Array(12);
|
|
214
|
+
header.set(b.subarray(0, 12));
|
|
215
|
+
new DataView(header.buffer).setUint32(4, size, true);
|
|
216
|
+
return [header, ...parts];
|
|
217
|
+
}
|
|
218
|
+
var HEIF_TOP = /* @__PURE__ */ new Set([
|
|
219
|
+
"ftyp",
|
|
220
|
+
"meta",
|
|
221
|
+
"mdat",
|
|
222
|
+
"free",
|
|
223
|
+
"skip"
|
|
224
|
+
]);
|
|
225
|
+
var HEIF_META = /* @__PURE__ */ new Set([
|
|
226
|
+
"hdlr",
|
|
227
|
+
"dinf",
|
|
228
|
+
"pitm",
|
|
229
|
+
"iloc",
|
|
230
|
+
"iinf",
|
|
231
|
+
"iref",
|
|
232
|
+
"iprp",
|
|
233
|
+
"idat",
|
|
234
|
+
"grpl",
|
|
235
|
+
"free",
|
|
236
|
+
"skip"
|
|
237
|
+
]);
|
|
238
|
+
/** Items that hold metadata: Exif, and XMP (or any other document) as a MIME item. */
|
|
239
|
+
var HEIF_METADATA_ITEMS = /* @__PURE__ */ new Set([
|
|
240
|
+
"Exif",
|
|
241
|
+
"mime",
|
|
242
|
+
"uri "
|
|
243
|
+
]);
|
|
244
|
+
function boxes(b, start, end) {
|
|
245
|
+
const found = [];
|
|
246
|
+
for (let at = start; at < end;) {
|
|
247
|
+
check(at + 8 <= end);
|
|
248
|
+
let size = u32be(b, at), body = at + 8;
|
|
249
|
+
const type = text(b, at + 4, 4);
|
|
250
|
+
if (size === 1) {
|
|
251
|
+
check(at + 16 <= end);
|
|
252
|
+
size = u32be(b, at + 8) * 2 ** 32 + u32be(b, at + 12);
|
|
253
|
+
body = at + 16;
|
|
254
|
+
} else if (size === 0) size = end - at;
|
|
255
|
+
if (type === "uuid") body += 16;
|
|
256
|
+
check(size >= body - at && at + size <= end);
|
|
257
|
+
found.push({
|
|
258
|
+
type,
|
|
259
|
+
start: at,
|
|
260
|
+
body,
|
|
261
|
+
end: at + size
|
|
262
|
+
});
|
|
263
|
+
at += size;
|
|
264
|
+
}
|
|
265
|
+
return found;
|
|
266
|
+
}
|
|
267
|
+
function stripHeif(b) {
|
|
268
|
+
const top = boxes(b, 0, b.length);
|
|
269
|
+
check(top[0]?.type === "ftyp" && top.every((box) => HEIF_TOP.has(box.type)));
|
|
270
|
+
const metas = top.filter((box) => box.type === "meta");
|
|
271
|
+
check(metas.length === 1);
|
|
272
|
+
const meta = metas[0];
|
|
273
|
+
const children = boxes(b, meta.body + 4, meta.end);
|
|
274
|
+
check(children.every((box) => HEIF_META.has(box.type)));
|
|
275
|
+
const one = (type) => {
|
|
276
|
+
const of = children.filter((box) => box.type === type);
|
|
277
|
+
check(of.length <= 1);
|
|
278
|
+
return of[0];
|
|
279
|
+
};
|
|
280
|
+
const iinf = one("iinf"), iloc = one("iloc"), idat = one("idat");
|
|
281
|
+
check(!!iinf && !!iloc);
|
|
282
|
+
const metadata = /* @__PURE__ */ new Set();
|
|
283
|
+
const infeVersion = b[iinf.body];
|
|
284
|
+
const entries = boxes(b, iinf.body + 4 + (infeVersion === 0 ? 2 : 4), iinf.end);
|
|
285
|
+
for (const infe of entries) {
|
|
286
|
+
check(infe.type === "infe" && infe.body + 4 <= infe.end);
|
|
287
|
+
const version = b[infe.body];
|
|
288
|
+
check(version === 2 || version === 3);
|
|
289
|
+
let at = infe.body + 4;
|
|
290
|
+
const id = version === 2 ? u16be(b, at) : u32be(b, at);
|
|
291
|
+
at += version === 2 ? 2 : 4;
|
|
292
|
+
check(at + 6 <= infe.end);
|
|
293
|
+
if (HEIF_METADATA_ITEMS.has(text(b, at + 2, 4))) metadata.add(id);
|
|
294
|
+
}
|
|
295
|
+
const out = b.slice();
|
|
296
|
+
const version = b[iloc.body];
|
|
297
|
+
check(version <= 2);
|
|
298
|
+
let at = iloc.body + 4;
|
|
299
|
+
/** The next field of `size` bytes (0, 2, 4 or 8), big-endian. */
|
|
300
|
+
const read = (size) => {
|
|
301
|
+
check(at + size <= iloc.end);
|
|
302
|
+
const value = size === 0 ? 0 : size === 2 ? u16be(b, at) : size === 4 ? u32be(b, at) : size === 8 ? u32be(b, at) * 2 ** 32 + u32be(b, at + 4) : NaN;
|
|
303
|
+
check(Number.isSafeInteger(value));
|
|
304
|
+
at += size;
|
|
305
|
+
return value;
|
|
306
|
+
};
|
|
307
|
+
const read2 = () => read(2);
|
|
308
|
+
check(at + 2 <= iloc.end);
|
|
309
|
+
const offsetSize = b[at] >> 4, lengthSize = b[at] & 15, baseSize = b[at + 1] >> 4, indexSize = version > 0 ? b[at + 1] & 15 : 0;
|
|
310
|
+
check([
|
|
311
|
+
offsetSize,
|
|
312
|
+
lengthSize,
|
|
313
|
+
baseSize,
|
|
314
|
+
indexSize
|
|
315
|
+
].every((size) => size === 0 || size === 4 || size === 8));
|
|
316
|
+
at += 2;
|
|
317
|
+
const count = read(version < 2 ? 2 : 4);
|
|
318
|
+
for (let i = 0; i < count; i++) {
|
|
319
|
+
const id = version < 2 ? read2() : read(4);
|
|
320
|
+
const method = version > 0 ? read2() & 15 : 0;
|
|
321
|
+
const reference = read2();
|
|
322
|
+
const base = read(baseSize);
|
|
323
|
+
const extents = read2();
|
|
324
|
+
for (let e = 0; e < extents; e++) {
|
|
325
|
+
if (indexSize) read(indexSize);
|
|
326
|
+
const offset = read(offsetSize), length = read(lengthSize);
|
|
327
|
+
if (!metadata.has(id)) continue;
|
|
328
|
+
check(reference === 0 && length > 0 && (method === 0 || method === 1 && !!idat));
|
|
329
|
+
const start = (method === 1 ? idat.body : 0) + base + offset, limit = method === 1 ? idat.end : b.length;
|
|
330
|
+
check(start + length <= limit);
|
|
331
|
+
out.fill(0, start, start + length);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return [out];
|
|
335
|
+
}
|
|
336
|
+
var GIF_APPS_KEPT = /* @__PURE__ */ new Set([
|
|
337
|
+
"NETSCAPE2.0",
|
|
338
|
+
"ANIMEXTS1.0",
|
|
339
|
+
"ICCRGBG1012"
|
|
340
|
+
]);
|
|
341
|
+
function stripGif(b) {
|
|
342
|
+
check(b.length >= 13);
|
|
343
|
+
/** A colour table's bytes, from the flags that say it is there and its size. */
|
|
344
|
+
const table = (flags) => flags & 128 ? 3 << (flags & 7) + 1 : 0;
|
|
345
|
+
/** The end of the data sub-blocks at `at`, past their empty block. */
|
|
346
|
+
const blocks = (at) => {
|
|
347
|
+
for (;;) {
|
|
348
|
+
check(at < b.length);
|
|
349
|
+
const length = b[at];
|
|
350
|
+
at += 1 + length;
|
|
351
|
+
if (!length) return at;
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
let at = 13 + table(b[10]), framed = false;
|
|
355
|
+
check(at <= b.length);
|
|
356
|
+
const parts = [b.subarray(0, at)];
|
|
357
|
+
for (;;) {
|
|
358
|
+
check(at < b.length);
|
|
359
|
+
const introducer = b[at];
|
|
360
|
+
if (introducer === 59) {
|
|
361
|
+
check(framed);
|
|
362
|
+
parts.push(Uint8Array.of(59));
|
|
363
|
+
return parts;
|
|
364
|
+
}
|
|
365
|
+
if (introducer === 44) {
|
|
366
|
+
check(at + 10 <= b.length);
|
|
367
|
+
const data = at + 10 + table(b[at + 9]);
|
|
368
|
+
check(data < b.length);
|
|
369
|
+
const end = blocks(data + 1);
|
|
370
|
+
parts.push(b.subarray(at, end));
|
|
371
|
+
framed = true;
|
|
372
|
+
at = end;
|
|
373
|
+
continue;
|
|
374
|
+
}
|
|
375
|
+
check(introducer === 33 && at + 2 < b.length);
|
|
376
|
+
const label = b[at + 1], end = blocks(at + 2);
|
|
377
|
+
const app = label === 255 && b[at + 2] === 11 && GIF_APPS_KEPT.has(text(b, at + 3, 11));
|
|
378
|
+
if (label === 249 || label === 1 || app) parts.push(b.subarray(at, end));
|
|
379
|
+
else check(label === 254 || label === 255);
|
|
380
|
+
at = end;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
var TIFF_DRAWS = /* @__PURE__ */ new Set([
|
|
384
|
+
254,
|
|
385
|
+
255,
|
|
386
|
+
256,
|
|
387
|
+
257,
|
|
388
|
+
258,
|
|
389
|
+
259,
|
|
390
|
+
262,
|
|
391
|
+
263,
|
|
392
|
+
264,
|
|
393
|
+
265,
|
|
394
|
+
266,
|
|
395
|
+
273,
|
|
396
|
+
274,
|
|
397
|
+
277,
|
|
398
|
+
278,
|
|
399
|
+
279,
|
|
400
|
+
280,
|
|
401
|
+
281,
|
|
402
|
+
282,
|
|
403
|
+
283,
|
|
404
|
+
284,
|
|
405
|
+
286,
|
|
406
|
+
287,
|
|
407
|
+
290,
|
|
408
|
+
291,
|
|
409
|
+
292,
|
|
410
|
+
293,
|
|
411
|
+
296,
|
|
412
|
+
297,
|
|
413
|
+
301,
|
|
414
|
+
317,
|
|
415
|
+
318,
|
|
416
|
+
319,
|
|
417
|
+
320,
|
|
418
|
+
321,
|
|
419
|
+
322,
|
|
420
|
+
323,
|
|
421
|
+
324,
|
|
422
|
+
325,
|
|
423
|
+
332,
|
|
424
|
+
334,
|
|
425
|
+
336,
|
|
426
|
+
338,
|
|
427
|
+
339,
|
|
428
|
+
340,
|
|
429
|
+
341,
|
|
430
|
+
529,
|
|
431
|
+
530,
|
|
432
|
+
531,
|
|
433
|
+
532,
|
|
434
|
+
34675
|
|
435
|
+
]);
|
|
436
|
+
/** Text and documents about the picture: DocumentName to HostComputer, InkNames, XMP, Copyright, IPTC, Photoshop, Windows' XP tags, PrintIM. */
|
|
437
|
+
var TIFF_METADATA = /* @__PURE__ */ new Set([
|
|
438
|
+
269,
|
|
439
|
+
270,
|
|
440
|
+
271,
|
|
441
|
+
272,
|
|
442
|
+
285,
|
|
443
|
+
305,
|
|
444
|
+
306,
|
|
445
|
+
315,
|
|
446
|
+
316,
|
|
447
|
+
333,
|
|
448
|
+
700,
|
|
449
|
+
33432,
|
|
450
|
+
33723,
|
|
451
|
+
34377,
|
|
452
|
+
18246,
|
|
453
|
+
18249,
|
|
454
|
+
40091,
|
|
455
|
+
40092,
|
|
456
|
+
40093,
|
|
457
|
+
40094,
|
|
458
|
+
40095,
|
|
459
|
+
50341
|
|
460
|
+
]);
|
|
461
|
+
/** The IFDs of Exif, GPS and interoperability, emptied whole. */
|
|
462
|
+
var TIFF_METADATA_IFDS = /* @__PURE__ */ new Set([
|
|
463
|
+
34665,
|
|
464
|
+
34853,
|
|
465
|
+
40965
|
|
466
|
+
]);
|
|
467
|
+
/** Compression without JPEG: none, CCITT, LZW, Deflate, PackBits. */
|
|
468
|
+
var TIFF_COMPRESSION = /* @__PURE__ */ new Set([
|
|
469
|
+
1,
|
|
470
|
+
2,
|
|
471
|
+
3,
|
|
472
|
+
4,
|
|
473
|
+
5,
|
|
474
|
+
8,
|
|
475
|
+
32773,
|
|
476
|
+
32946
|
|
477
|
+
]);
|
|
478
|
+
/** Bytes per value of each field type. */
|
|
479
|
+
var TIFF_TYPE_BYTES = [
|
|
480
|
+
0,
|
|
481
|
+
1,
|
|
482
|
+
1,
|
|
483
|
+
2,
|
|
484
|
+
4,
|
|
485
|
+
8,
|
|
486
|
+
1,
|
|
487
|
+
1,
|
|
488
|
+
2,
|
|
489
|
+
4,
|
|
490
|
+
8,
|
|
491
|
+
4,
|
|
492
|
+
8,
|
|
493
|
+
4
|
|
494
|
+
];
|
|
495
|
+
function stripTiff(b) {
|
|
496
|
+
const little = b[0] === 73;
|
|
497
|
+
const u16 = (at) => {
|
|
498
|
+
check(at + 2 <= b.length);
|
|
499
|
+
return little ? b[at] | b[at + 1] << 8 : u16be(b, at);
|
|
500
|
+
};
|
|
501
|
+
const u32 = (at) => {
|
|
502
|
+
check(at + 4 <= b.length);
|
|
503
|
+
return little ? u32le(b, at) : u32be(b, at);
|
|
504
|
+
};
|
|
505
|
+
check(b.length >= 8 && u16(2) === 42);
|
|
506
|
+
const out = b.slice(), seen = /* @__PURE__ */ new Set();
|
|
507
|
+
/** An IFD's entries: tag, type, the value's first byte (in the entry or where it points) and its bytes. */
|
|
508
|
+
const entries = (ifd) => {
|
|
509
|
+
check(ifd >= 8 && !seen.has(ifd) && seen.size < 1024);
|
|
510
|
+
seen.add(ifd);
|
|
511
|
+
const count = u16(ifd), next = ifd + 2 + count * 12;
|
|
512
|
+
u32(next);
|
|
513
|
+
return {
|
|
514
|
+
next,
|
|
515
|
+
list: Array.from({ length: count }, (_, i) => {
|
|
516
|
+
const at = ifd + 2 + i * 12, tag = u16(at), type = u16(at + 2);
|
|
517
|
+
check(type >= 1 && type < TIFF_TYPE_BYTES.length);
|
|
518
|
+
const bytes = TIFF_TYPE_BYTES[type] * u32(at + 4);
|
|
519
|
+
const value = bytes <= 4 ? at + 8 : u32(at + 8);
|
|
520
|
+
check(Number.isSafeInteger(bytes) && value + bytes <= b.length);
|
|
521
|
+
return {
|
|
522
|
+
at,
|
|
523
|
+
tag,
|
|
524
|
+
type,
|
|
525
|
+
value,
|
|
526
|
+
bytes
|
|
527
|
+
};
|
|
528
|
+
})
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
/** An Exif, GPS or interoperability IFD: every value zeroed, then the IFD itself, so it holds no entry. */
|
|
532
|
+
const empty = (ifd) => {
|
|
533
|
+
const { next, list } = entries(ifd);
|
|
534
|
+
for (const entry of list) {
|
|
535
|
+
check(entry.tag !== 37500);
|
|
536
|
+
if (TIFF_METADATA_IFDS.has(entry.tag)) empty(u32(entry.value));
|
|
537
|
+
out.fill(0, entry.value, entry.value + entry.bytes);
|
|
538
|
+
}
|
|
539
|
+
out.fill(0, ifd, next + 4);
|
|
540
|
+
};
|
|
541
|
+
for (let ifd = u32(4); ifd;) {
|
|
542
|
+
const { next, list } = entries(ifd);
|
|
543
|
+
for (const { tag, value, bytes } of list) {
|
|
544
|
+
if (tag === 259) check(TIFF_COMPRESSION.has(u16(value)));
|
|
545
|
+
if (TIFF_METADATA_IFDS.has(tag)) empty(u32(value));
|
|
546
|
+
else if (TIFF_METADATA.has(tag)) out.fill(0, value, value + bytes);
|
|
547
|
+
else check(TIFF_DRAWS.has(tag));
|
|
548
|
+
}
|
|
549
|
+
ifd = u32(next);
|
|
550
|
+
}
|
|
551
|
+
return [out];
|
|
552
|
+
}
|
|
553
|
+
var STRIP = {
|
|
554
|
+
jpeg: stripJpeg,
|
|
555
|
+
png: stripPng,
|
|
556
|
+
webp: stripWebp,
|
|
557
|
+
heif: stripHeif,
|
|
558
|
+
gif: stripGif,
|
|
559
|
+
tiff: stripTiff
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* A picture's bytes without its metadata, as parts to put in a Blob; undefined when the file is not a picture this
|
|
563
|
+
* strips (by its bytes and its type), so it goes as it is. Throws `NO_PICTURE_METADATA` when it is one but its
|
|
564
|
+
* metadata cannot be removed.
|
|
565
|
+
*/
|
|
566
|
+
function stripPictureMetadata(bytes, mime) {
|
|
567
|
+
const kind = kindOf(bytes);
|
|
568
|
+
if (!kind) {
|
|
569
|
+
if (STRIPPED_TYPES.has(mime.split(";")[0].trim().toLowerCase())) throw new Error(NO_PICTURE_METADATA);
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
return STRIP[kind](bytes);
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Whether a file is a picture whose metadata goes before it is sent, by its first `PICTURE_METADATA_LIMITS.headBytes`
|
|
576
|
+
* bytes or by its type: then it is read whole and stripped (`stripPictureMetadata`), else it goes as it is.
|
|
577
|
+
*/
|
|
578
|
+
function isStrippedPicture(head, mime) {
|
|
579
|
+
return !!kindOf(head) || STRIPPED_TYPES.has(mime.split(";")[0].trim().toLowerCase());
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* `source` as it is sent: without its metadata when it is a picture (`stripPictureMetadata`), or undefined when it is
|
|
583
|
+
* not one and goes as it is. Only its first bytes are read for any other file. Throws `NO_PICTURE_METADATA` for a
|
|
584
|
+
* picture that cannot be stripped or is past `PICTURE_METADATA_LIMITS.maxBytes`; an error reading `source` as it is.
|
|
585
|
+
*/
|
|
586
|
+
async function withoutPictureMetadata(source, mime) {
|
|
587
|
+
if (!isStrippedPicture(new Uint8Array(await source.slice(0, PICTURE_METADATA_LIMITS.headBytes).arrayBuffer()), mime)) return void 0;
|
|
588
|
+
if (source.size > PICTURE_METADATA_LIMITS.maxBytes) throw new Error(NO_PICTURE_METADATA);
|
|
589
|
+
const parts = stripPictureMetadata(new Uint8Array(await source.arrayBuffer()), mime);
|
|
590
|
+
return parts && new Blob(parts, { type: mime });
|
|
591
|
+
}
|
|
592
|
+
//#endregion
|
|
2
593
|
//#region ../core/src/paymentUri.ts
|
|
3
594
|
/** Whole sats as the decimal BTC amount BIP 21 wants (`21` → `0.00000021`), never in exponent form. */
|
|
4
595
|
function satsToBtc(sats) {
|
|
@@ -202,6 +793,6 @@ var ClockWatch = class {
|
|
|
202
793
|
}
|
|
203
794
|
};
|
|
204
795
|
//#endregion
|
|
205
|
-
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_REVOCATION_LABEL, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_HUB_POLICY, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, QUICK_REACTIONS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_UNSTARTED_MS, RUN_RESULTS, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, answersOffer, appCardId, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAtprotoDid, isBitcoinAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isServeId, isSparkAddress, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linksIn, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayedTransports, rememberAlone, removedCardText, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, safeBlobType, sameButtonText, sameDigest, sameSshKey, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, viewerResponseHeaders, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
796
|
+
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BACKGROUND_WRITES_SHARE, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FOLLOW_MS, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_REVOCATION_LABEL, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SKIP, MAX_SKIPPED_KEYS, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_HUB_POLICY, NO_PICTURE_METADATA, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PICTURE_METADATA_LIMITS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, QUICK_REACTIONS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, RATCHET_CAPABILITY, RATCHET_HEADER_BYTES, RATCHET_KEEP_MS, RATCHET_OVERHEAD, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, RELAY_WITH_SECRETS, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_UNSTARTED_MS, RUN_RESULTS, RatchetBox, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_UPKEEP_MS, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, answersOffer, appCardId, appCardUrl, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, emptyRatchetState, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, exifOrientation, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAtprotoDid, isBitcoinAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isRatcheted, isServeId, isSparkAddress, isStrippedPicture, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linksIn, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, ratchetHeard, ratchetOn, ratchetOpen, ratchetRoot, ratchetSeal, ratchetSessionOf, ratchetUnknownSession, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayUrl, relayUrlProblem, relayedTransports, rememberAlone, removedCardText, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, safeBlobType, sameButtonText, sameDigest, sameSshKey, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, sentWhole, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, stripPictureMetadata, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityChainPaced, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, viewerResponseHeaders, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, withoutPictureMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
206
797
|
|
|
207
798
|
//# sourceMappingURL=core.js.map
|